NEED HELP urgent - P8 Lite (2017) Discussion

how can i restore the erecovery partition in android O?

@Fr0nK @haky86 @dil3mm4.dev i'm struggling
EVEN IF IT'S possible to revert to the android 7 partition scheme.

SOLVED: RESTORED WITH dd if=/external_sd/ERECOVERY_VENDO.img (in update.zip of emui 8) of=/dev/block/mmcblk0p29 bs=1048576. THE ERECOVERY PARTITION WAS UNTOUCHED.

Related

Mounting System and all partitions over USB

Hi guys,
Now that we have unlocked bootloader and proper custom recovery I am wondering is it would be possible to boot in recovery and boot system partition and all other partitions.
On my old Android phone we used to be able to boot the phone in recovery and once plugged with a LINUX machine (that could recognize EXT3 / EXT4 it would mount all the partitions making it very easy to do a full system backup and modify system files from the computer.
Would something like this be possible on this phone?
Thanks.

TWRP shows 0mb at Interal Storage

Hello, I have managed to get TWRP running on my Huawei P9 (EVA-AL10) with Emui 5.0. Unfortunately it shows me at Internal Storge 0 mb, if I want to flash something. I've searched the Internet for a solution and there was that you should change the partiton. I changed it from ext4 to FAT, but then Emui says when I boot again that my data is damaged and I have to reset my smartphone. Then I had no choice but to use Huawei eRecovery to reinstall everything. I found nothing specific for my device, so I hope you can help me.​

Huawei p9 format Data from ext4 to f2fs fail

hi
i have a problem with formatting Data in twrp recovery on huawei P9 eva-L09C432B182
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_174811.jpg
ive tried this ROM:
https://forum.xda-developers.com/p9/development/rom-huawei-p9-newworld-7-tecalote-t3543296
and it installs, but i get message after boot:
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_180017.jpg
i can actually see navi bar for a sec and volume buttons still work(can set alarm and sound loudness)
and here is install image of Rom:
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_175844.jpg
only error is mount: failed to mount /dev/block/dm-0 at /dat: No such file or directory
so i can only use twrp recovery and fastboot to fix this.
mkfs.f2fs -t 0 /dev/block/mmcblk0p42 process ended with error: 255
unable to wipe Data.
error changing file system.
every other is good for format(System and Cache) to f2fs and ext4 just Data folder has problem with format but wipe works :crying:
Are you using the last version of TWRP? Twrp 3.0.3.0
henryco11 said:
Are you using the last version of TWRP? Twrp 3.0.3.0
Click to expand...
Click to collapse
no i use 3.0.2.0
i think 3.0.3.0 is only for updated huwei with nougat and EMUI5?
Why you decrypted it?
It should work normal after you reset it.
dkionline said:
Why you decrypted it?
It should work normal after you reset it.
Click to expand...
Click to collapse
reset what excatly? factory reset works but Data is in ext4 format. i can wipe it but cant format it.
what if i erase this mmblck0p42 file and then flash twrp in fastboot will the file be reinstalled or will it be after i flash ROM in recovery again?
i made a mistake by formatting it in first place from f2fs to ext4 but before even factory reset didnt work, now it works and only think is left is this encryption error.
jure482 said:
hi
i have a problem with formatting Data in twrp recovery on huawei P9 eva-L09C432B182
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_174811.jpg
ive tried this ROM:
https://forum.xda-developers.com/p9/development/rom-huawei-p9-newworld-7-tecalote-t3543296
and it installs, but i get message after boot:
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_180017.jpg
i can actually see navi bar for a sec and volume buttons still work(can set alarm and sound loudness)
and here is install image of Rom:
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_175844.jpg
only error is mount: failed to mount /dev/block/dm-0 at /dat: No such file or directory
so i can only use twrp recovery and fastboot to fix this.
mkfs.f2fs -t 0 /dev/block/mmcblk0p42 process ended with error: 255
unable to wipe Data.
error changing file system.
every other is good for format(System and Cache) to f2fs and ext4 just Data folder has problem with format but wipe works :crying:
Click to expand...
Click to collapse
Why is your data partition ext4?
Normally it is on each p9 device f2fs.
This can only occur if you were on Nougat between and had installed the TWRP-n which has no Decryption Support and if you had by yourself formated data with this TWRP to ext4.
To install NewWorld Rom you must be on Marshmallow Firmware (because of Android 6 Bootloader) and your data partition must be f2fs.
In the meantime there's a new TWRP for Android 7, which has already Decryption Support.
But you cannot use this TWRP for installing NewWorld. You must have the one, which I have linked in my OP.
On which Firmware or Rom have you been, before you tried to install NewWorld?
If you were on Nougat, NewWorld could not flashed, cause you must be on Marshmallow.
Please answer my questions that I can realize in which situation you are.
i have Marshmallow Firmware and yes i formatted data to ext4 myself
the problem occured when i wanted to get nougat but OTA update failed but it booted back into 6.0 normally just root didnt work so i went in TWRP and flashed supersu 2.79 which i had before, then i was stuck in bootloop, manged to get to fastboot but Hisuite says no update packeg for this phone. i flashed back stock recovery and tryed to factory reset but didnt work, flashed twrp back and factory reset then it said data format error so i went and changed it to ext4 after factory reset worked but i cant put it back to f2fs.
aldo i wiped all cache, dalvik/ARTcache, Data, internal storage and system
jure482 said:
i have Marshmallow Firmware and yes i formatted data to ext4 myself
the problem occured when i wanted to get nougat but OTA update failed but it booted back into 6.0 normally just root didnt work so i went in TWRP and flashed supersu 2.79 which i had before, then i was stuck in bootloop, manged to get to fastboot but Hisuite says no update packeg for this phone. i flashed back stock recovery and tryed to factory reset but didnt work, flashed twrp back and factory reset then it said data format error so i went and changed it to ext4 after factory reset worked but i cant put it back to f2fs.
aldo i wiped all cache, dalvik/ARTcache, Data, internal storage and system
Click to expand...
Click to collapse
Okay, you are now on Stock Marshmallow (which version?) and you maked factory reset after formatting data to ext4
Which phone EVA model to you have?
It is recommended to flash Stock Recovery with adb and flash latest official Marshmallow Full Firmware once again (downloaded and unzipped) with 3 Button (Force Update) from the folder dload on your phone (update.app and if present meta-inf must be in this folder only) Force Upgrade to Marshmallow Firmware should solve your problem (Bootloader get closed, data should be formatted to f2fs automatically)
Tecalote said:
Okay, you are now on Stock Marshmallow (which version?) and you maked factory reset after formatting data to ext4
Which phone EVA model to you have?
It is recommended to flash Stock Recovery with adb and flash latest official Marshmallow Full Firmware once again (downloaded and unzipped) with 3 Button (Force Update) from the folder dload on your phone (update.app and if present meta-inf must be in this folder only) Force Upgrade to Marshmallow Firmware should solve your problem (Bootloader get closed, data should be formatted to f2fs automatically)
Click to expand...
Click to collapse
thanks soo much i did what you said on pm. went to bootloader and flashed your twrp then wiped again arpcache, cache, system, data, reboot to twrp then installed your ROM which still said that mount dev-0 error but i still rebotted and bam it booted longer with this very nice animation you have and showed emui and now im at select language page!
Flashing your twrp in bootloader fix the problem and formatted Data to f2fs thank you again.
also i used command recovery --wipe_data --set_filesystem_encryption=off before all above to make sure ecryption is off not broken.
im now on home screen it looks nice just 3 navigation buttons on bottom look smaller then i had before, thanks again.

Full Brick/Full Stock TWRP Backup?

Hey guys,
I need a full backup for my Huawei P9 (includeing /vendor, /system, /data...), is anybody able to send a backup?
TWRP 3.1.1-1 is installed...
I didnt pasted a backup of my phone to my computer before formating /data...
Thank you!

Updated to OOS 9.0.4 from Oreo on Encrypted Rooted 3T :| , hoping to save SD Data

Hello guys,
I did a foolish update today without reading the forums first and updated to OOS 9.0.4 (Pie) from my previous stable OOS Oreo without removing encryption and backing up the Internal Storage data. I did take a backup of Boot, Data(excl storage) and System Image using TWRP 3.3.1 and copied it to my computer.
After the update, the OS refuses to decrypt the partition (Error: Decryption unsuccessful. The password you entered is correct, but unfortunately your data is corrupt. To resume, you need to factory reset the phone.) and TWRP fails to decrypt (Error: Decrypt took too long. Killing process, failed to decrypt data).
What else I tried:
1.) ADB restore the backup from the PC (as I can't transfer anything to the phones encrypted storage), but the TWRP backup is a bunch of files in a folder and ADB expects a single file in its command.
2.) Flash an older version of TWRP (3.2.3) and try decrypting (Error: Failed to decrypt data)
Is there any way I can restore the backed up files to get the phone back before the update and save my internal storage? (without a time stone or a quantum jump). I am thinking along the lines that I can somehow restore the backed up files into the respective partitions and make the decryption work, is it possible?
Worst case is there some way for me to backup the internal storage data with the encryption then go about downgrading the phone and restoring it and decrypting it back?
Any pointers would be helpful and appreciated. Thanks.
Gi__an said:
The password you entered is correct, but unfortunately your data is corrupt.
[...]
Is there any way I can restore the backed up files to get the phone back before the update and save my internal storage?
Click to expand...
Click to collapse
The only thing you might try is to flash OOS 9.0.4 firmware with 5.0.8 bootloader + keymaster.
If it still says the same, then sorry, but your data got corrupted and it's gone.

Categories

Resources