Je me suis amusé avec mon téléphone (Huawei P10 VTR-L29) et je l'ai malheureusement cassé.
ce qui s'est passé
Pour vous donner toute l'histoire, j'ai essayé de le Rooter, mais pendant le processus de Root, j'ai découvert que l'appareil est crypté et j'ai dû faire un "rollback". Cela a bien fonctionné et mon téléphone fonctionnait bien avec un problème - je n'étais pas en mesure de mettre à jour le firmware via les mises à jour régulières du système. Je voyais la mise à jour, mais je n'arrivais pas à la télécharger et à l'installer - cela se terminait toujours par une erreur.
Cela m'a décidé à réinstaller le firmware depuis le début. J'ai suivi les étapes générales mais oui, j'ai foiré.
statut actuel
La seule chose que je peux voir maintenant est
Lorsque je clique sur télécharger la dernière version et la récupération
Mais au bout d'un moment, il échoue :
Et je suis bloqué :( Je ne peux pas aller plus loin J'ai essayé de me connecter via ADB (mais comme je ne peux pas entrer dans le téléphone pour activer le débogage USB (ce qui pourrait être le problème) je suis incapable de me connecter (ni ADB ni FASTBOOT ne peuvent voir le périphérique).
J'ai essayé de créer ce fichier :
/etc/udev/rules.d/51-android.rules
Mais quand je cours
sudo adb kill-server
sudo adb start-server
adb devices
Il est toujours vide ... Je n'arrive même pas à accéder au "FACTORY RESET" en appuyant sur POWER + VOL:DOWN pendant un certain temps ; cela me ramène toujours au Huawei eRecovery.
Vous avez une idée de la façon de résoudre ce problème ?
Ou ce téléphone est-il mort pour de bon ?
Je ne me soucie pas des données à l'intérieur J'aimerais seulement le faire fonctionner à nouveau.
EDIT
avec l'aide de alecxs j'ai réussi à passer en mode fastboot&rescue
Cependant, cette
sudo fastboot boot [img]
se retrouve avec
downloading 'boot.img'...
OKAY [ 1.052s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 1.056s
similaire pour
sudo fastboot flash recovery [img]
se retrouve avec
target reported max download size of 471859200 bytes
sending 'recovery' (32040 KB)...
OKAY [ 0.995s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.001s
EDIT2 :
J'ai demandé à un de mes amis et nous avons avancé un peu plus ...
J'ai essayé de déverrouiller le bootloader
sudo fastboot oem unlock [unlock_code]
Puis j'ai eu cet écran :
J'ai choisi l'option (2) et cela m'a amené au premier écran mentionné dans cet article "Huawei eRecovery".
mais quand j'ai répété l'astuce VOL:DOWN + USB:CABLE:PLUG :) J'ai obtenu ceci
J'ai essayé un TWRP différent (pour le P10 spécifiquement) à partir de ce lien : XDA Devs - P10 TWRP
Le flashage a bien fonctionné :
sudo fastboot flash recovery_ramdisk twrp_p10_0.1.img
J'ai eu :
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (24954 KB)...
OKAY [ 0.771s]
writing 'recovery_ramdisk'...
OKAY [ 0.232s]
finished. total time: 1.003s
après
sudo fastboot reboot
juste après cette commande, je dois débrancher le câble USB et maintenir VOLUME:UP pour pouvoir accéder à TWRP (swipe.d pour permettre les modifications) ... y suis déjà
maintenant je cherche n'importe quelle ROM pour mon P10 pour le flasher. Je veux essayer celle-ci : TheUpgradeGuide.com - L'expérience Pixel
J'ai téléchargé les gApps et la ROM ... je les ai téléchargés dans le "Stockage interne" du téléphone (il y avait un dossier TWRP donc je l'ai mis à côté de celui-ci)
.
..
/TWRP
rom.7z
gapps.zip
Je suis allé sur l'essuyage -> WIPE -> ADVANCED -> vérifié ceux-ci
- Cache Dalvik
- Système
- Cache
- Données
J'ai essayé d'effacer (USB débranché) mais j'ai eu cette erreur :
Updating partition details ...
Failed to mount '/odm' (Invalid argument)
...done
Failed to unmount '/system' (Device or resource busy)
Full SELinux support is present
MTP Enabled
Failed to unmount '/system' (Device or resource busy)
Wiping Dalvik Cache Directories...
--Dalvik Cache Directories Wipe Complete!
Formatting Cache using make-ext4fs...
Wiping data without wiping /data/media ...
Done.
Failed to unmount '/system' (Device or resource busy)
Unable to wipe /system.
Updating partition details...
Failed to mount '/odm' (Invalid argument)
...done
EDIT 3
dans le adb shell
~ # mount
rootfs on / type rootfs (rw,seclabel,size=1457112k,nr_inodes=364278)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
none on /config type configfs (rw,relatime)
/dev/block/bootdevice/by-name/secure_storage on /sec_storage type ext4 (rw,context=u:object_r:teecd_data_file:s0,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
hdb on /dev/usb-ffs/hdb type functionfs (rw,relatime)
/dev/block/bootdevice/by-name/system on /system type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/bootdevice/by-name/vendor on /vendor type ext4 (ro,seclabel,relatime,data=ordered)
tmpfs on /storage type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
/dev/block/sdd46 on /data type f2fs (rw,seclabel,relatime,background_gc=on,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,verify_encrypt,active_logs=6)
/dev/block/sdd46 on /sdcard type f2fs (rw,seclabel,relatime,background_gc=on,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,verify_encrypt,active_logs=6)
/dev/block/sdd13 on /cache type ext4 (rw,seclabel,relatime,data=ordered)
plus la sortie ls
~ # ls -ld $(find /dev/block -name by-name)/*
drwxr-xr-x 2 root root 1020 Jan 4 18:02 /dev/block/bootdevice/by-name
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/boot_a -> /dev/block/sdd32
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/bootfail_info -> /dev/block/sdd14
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/cache -> /dev/block/sdd13
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/cust_a -> /dev/block/sdd43
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/dfx -> /dev/block/sdd19
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/dts_a -> /dev/block/sdd34
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/fastboot_a -> /dev/block/sdd24
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/frp -> /dev/block/sdc1
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/fw_hifi_a -> /dev/block/sdd28
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/fw_lpm3_a -> /dev/block/sdd21
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/hisee_fs -> /dev/block/sdd18
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/hisee_img_a -> /dev/block/sdd23
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/isp_boot_a -> /dev/block/sdd26
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/isp_firmware_a -> /dev/block/sdd27
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/misc -> /dev/block/sdd15
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modem_fw_a -> /dev/block/sdd36
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modem_om -> /dev/block/sdd7
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modem_secure -> /dev/block/sdd3
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_backup -> /dev/block/sdd9
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_factory -> /dev/block/sdd8
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_img -> /dev/block/sdd10
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_system -> /dev/block/sdd11
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/modemnvm_update_a -> /dev/block/sdd38
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/nvme -> /dev/block/sdd4
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/oeminfo -> /dev/block/sdd5
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/patch_a -> /dev/block/sdd39
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/persist -> /dev/block/sdc2
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/product_a -> /dev/block/sdd42
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/recovery2_a -> /dev/block/sdd30
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/recovery_a -> /dev/block/sdd33
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved1 -> /dev/block/sdc3
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved10 -> /dev/block/sdd17
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved2 -> /dev/block/sdd16
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved3_a -> /dev/block/sdd22
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved4_a -> /dev/block/sdd37
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/reserved5 -> /dev/block/sdd45
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/rrecord -> /dev/block/sdd20
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/secure_storage -> /dev/block/sdd6
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/sensorhub_a -> /dev/block/sdd31
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/splash2 -> /dev/block/sdd12
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/system_a -> /dev/block/sdd44
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/teeos_a -> /dev/block/sdd29
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/trustfirmware_a -> /dev/block/sdd35
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/userdata -> /dev/block/sdd46
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/vector_a -> /dev/block/sdd25
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/vendor_a -> /dev/block/sdd41
lrwxrwxrwx 1 root root 16 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/version_a -> /dev/block/sdd40
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/vrl -> /dev/block/sdd1
lrwxrwxrwx 1 root root 15 Jan 4 18:02 /dev/block/platform/ff3b0000.ufs/by-name/vrl_backup -> /dev/block/sdd2
Ok, avec l'aide de alecxs j'ai réussi à aller un peu plus loin (voir le chat) mais il semble que le TWRP soit défectueux (celui du lien ci-dessus -> XDA) néanmoins, tout autre TWRP ne fonctionne pas du tout et j'atterris sur cet écran à la place :(
EDIT 4 :
sortie de fastboot getvar all
est ici :
getvar:all FAILED (remote: Command not allowed)
EDIT 5 :
voir la sortie des commandes fastboot demandées dans le chat
#sudo fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.006s]
finished. total time: 0.006s
$ sudo fastboot getvar vendorcountry
vendorcountry: hw/eu
finished. total time: 0.007s
$ sudo fastboot oem get-build-number
...
(bootloader) :VTR-L29C432B151
OKAY [ 0.007s]
finished. total time: 0.007s
$ sudo fastboot oem oeminforead-SYSTEM_VERSION
...
(bootloader) :VTR-L29C432B151
OKAY [ 0.008s]
finished. total time: 0.008s
SOLVED
Finalement, j'ai réussi et le téléphone est opérationnel :)
J'ai téléchargé Huru Updated (v0.3) et ces fichiers https://huaweidl.com/download/huawei-p10/vtr-l29/b151/
J'ai suivi ces étapes : https://www.getdroidtips.com/hurupdater-tool/
et yaaaay, ça marche :) après des mois de jeu ... big thx à alecxs pour son immense aide ! !! ce gars est un génie ! !!
la seule question maintenant est de passer d'Android 7 (le stock que j'ai flashé) à 9.1 (la plus mise à jour fournie au p10) ... car la mise à jour native du système ne me propose pas de mise à jour :D mais c'est mineur ...
EDIT : ok, en suivant ce manuel xda-developers - Jannomag J'ai pu mettre à jour vers 8.0 (avec un petit problème - j'ai dû le redémarrer manuellement plusieurs fois) et ensuite vers 9.0 (sans problème cette fois) et juste après 9.0, il m'a proposé (via la mise à jour du système) automatiquement la dernière version 9.1.0.263.
0 votes
Laissez-nous poursuivre cette discussion dans le chat .