I haven't been able to install any custom ROM, please help me! :( - P8lite Q&A, Help & Troubleshooting

I've tried to install some custom ROMS and always I have problem, both for ROMS with extension .zip (with TWRP) and for extension .img(with ADB). Anyway I always fail. Even to make backups with TWRP, also to wipe cache. For all always there an error, I don't understand why. In the past I had install Samsung ROMs without problem, but in Huawei have been an infernal experience, all is so much hard.
-When I try to wipe cache, appears an error that says
"Unable to wipe cache.
Unable to wipe /cache."
-When tryng to flash stock recovery from TWRP appears an error that says
"Size of image is larger than target device"
-When tryng to make BACKUP with TWRP appears an error saying
"Can not create '/external_sd/TWRP/BACKUPS/<<serialnumber>>/<<actuallydate>>' folder (Permission denied).
Failed to make backup folder."
-When trying to flash a .zip ROM from TWRP says
"Updater process ended with ERROR: 7
Error installing zip file 'external_sd/LineageOS15.1-Hi6250-08-18-2018.zip'
When trying to flash GSI ROM(extension .img) with ADB, after "writing 'system' 1/4..." says
"FAILED (remote: sparse flash write failure)
finished. total time: 19.889s"
Those are my problems trying to flash anything :/
My phone is Huawei P9 lite 2017 PRA-LX3 with Android 8.0
PLEASE HELP ME!

You are trying to install a P8 lite(2017) rom on your p8 Lite.

Related

Error when flashing ROMS

Hey guys:
Whenever i try flashing any ROM I keep getting this error:
"E:No space left on device
E:Error writing BOOT:
E:Failure at line 393:
write_raw_image PACKAGE:boot.img BOOT:
Installation aborted."
Now of course I have wiped data/cache before every attempt, and have also checked internal and sdcard storage and there is more then enough room. I Have reflashed with the new reflasher tool, so recovery version is 2.0.1.3. Also, I was able to successfully flash a kernel, so I am stumped. Any help with this would be greatly appreciated. Thanks!
EDIT: Just tried to use rom manager to flash, same result, but I do have the log if that may help solve the problem.

[Q] Cant get Rom Installed - img file not on device

I have an unlocked rooted nexus 10. I downloaded the rom file and google tools to the device. I restarted into recovery mode and cleared system, and all caches. Well since I'm stupid the rom img is not on the device and I'm stuck with no OS to boot into. I tried to reflash the stock Rom through my macbook from this link "nexus10root.com/nexus-10-unroot/how-to-unrootunbrick-nexus-10-factory-firmware/" and I get this error - error ERROR: usb_write failed with status e00002be FAILED (data transfer failure (No such file or directory))" when it tries to install the system. Is there anything else I can do? My guess is that it is not in USB debug mode since I tried a factory reset. Thanks in advance

Corrupted partitions?

Hello, I was trying to downgrade from N to MM and somehow i lost my system and data partition. I have the custom revolution recovery and i cant mount data or system on the mount menu, also when i try to flash any package it gives me the error "cant mout /datad/system oartition". I also tried to extract system from a original firmware and tried to flash it with fastboot, but it gives me the error "FAILED (remote: sparse flash write failure)". Is there a way to get back my partitions and reflash MM on here, or have i just won a new (very slim) paperweight? Any help would be much appreciated sice im kinda dependent on this phone.
For some reason system is able to mount now... but still nothing in the data partition , it show 0B
i have the same issue
Have you tried to flash oeminfo?

Bricked P9 Lite?

Hello,
I have a problem that I can flash TWRP wich works fine. I can go to fastboot. But however I am not able to install any ROMs. Tried Lineage 14.1 and Stock rom.
I tried to flash stock recovery and tried to flash it back by "dload" method - error "Package firmware is not compatible" and when I tried to flash Lineage 14.1, everything seemed fine until boot logo where I was stuck for half an hour before I gave up. Also I am not sure but I think I havent managed to root my phone - tested with "adb shell su" wich gives error messages.'
Even tried hisuite recovery but it said that my phone is not supported.
Tried erecovery wich said "Getting package info failed"
I also can enter stock recovery
Im also getting
Failed to mount /vendor (invalid argument) in olddroid TWRP
and when trying to flash system I get FAILED (remote: sparse flash write failure)
So basically only thing I can do is be in TWRP without root, fastboot and stock recovery.
I have european VNS-21. Used to have stock nougat with EMUI 5.0
Any ideas how to get back any kind of rom?
Edited original post instead of posting new replies. Sorry. Dont know how to delete.

How to root a S8 G950F Exynos with failed integrity verification without wipe ?

Dear all,
I tried since yesterday to root my S8 Exynos (G950F). My phone is crypted and when I try to root with magisk via TWRP, I have errors to access to datas. When the system boot, I have the error unable to restart your phone. the integrity verification has failed....
Then via TWRP and the shell, I made a copy of the userdata partition on my computer (the crypted partition), then I wiped my phone, I flashed the DM Verify Disabler and then Magisk via TWRP, until then, no problem, I was root but with an empty phone.
There, I uploaded my copy of userdata partition into my S8, I boot the system and always the same error of integrity verification failed...
Now, my phone works always good (I flash the stock ROM via ODIN) but I haven't yet the root.
Is there a way to root the S8 without lost the datas ? A kind of APK or something else ?
Kind regards,
Lau
lolo1410 said:
Dear all,
I tried since yesterday to root my S8 Exynos (G950F). My phone is crypted and when I try to root with magisk via TWRP, I have errors to access to datas. When the system boot, I have the error unable to restart your phone. the integrity verification has failed....
Then via TWRP and the shell, I made a copy of the userdata partition on my computer (the crypted partition), then I wiped my phone, I flashed the DM Verify Disabler and then Magisk via TWRP, until then, no problem, I was root but with an empty phone.
There, I uploaded my copy of userdata partition into my S8, I boot the system and always the same error of integrity verification failed...
Now, my phone works always good (I flash the stock ROM via ODIN) but I haven't yet the root.
Is there a way to root the S8 without lost the datas ? A kind of APK or something else ?
Kind regards,
Lau
Click to expand...
Click to collapse
You need to reflash twrp in odin and boot into recovery (TWRP) before the phone boots the system. Id uncheck auto reset in odin and when its done flashing twrp again boot right into it. From there you want to select to keep the system read only, and then flash the DM Verity Disabler. After thats done flashing, your phone should boot up normally without seeing the integrity failed message. Its important that you boot right into twrp (recovery) after odin flashes it, if not you need to reflash twrp in odin until you successfully get into recovery before it boots your system.
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
lolo1410 said:
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
Click to expand...
Click to collapse
You have to wipe data otherwise it won't boot, there's no way round this unfortunately
lolo1410 said:
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
Click to expand...
Click to collapse
Previous poster is correct. Wipe>Format data>yes> in twrp then you should be good to go.

Categories

Resources