[How to Dual Recovery] Huawei PRA (prague) - Android 7 - P8 Lite (2017) Discussion

How to Dual Recovery] Huawei PRA (prague) - Android 7
Content removed. The dual recovery is too dangerous and can lead to bricks.
​

valerio32 said:
So if I wanted to do the root, can I receive all OTA updates? . And if OTA updates included an eRecovery update. Is it updated or bootloop?
Click to expand...
Click to collapse
Ota updates always go. If twrp is on the recovery1 partition, the update aborts during installation. If twrp is on the recovery2 (eRecovery) partition, it works fine. The eRecovery is always overwritten without checking. The recovery only after checking if a stock exists.

ChinHon said:
[How to Dual Recovery] Huawei PRA (prague) - Android 7​​
The firmware should be updated, a full version to be flashed, we need to install a flashable zip , other flash operations are on, or we want to install Linage OS.
Then we need a fully functional TWRP recovery.
Would not it be convenient if you do not always flash it, but simply "switch" could?
That's what we do in the future, because we are now aligning a dual recovery.
Thats is quite easy:
Requirements:
OEM and FRP unlocked
Huawei PRA
Preparation:
ADB set up and flash knowledge available.
We both flash recoveries in the correct order:
fastboot flash recovery recovery.img
fastboot flash recovery2 twrp.img
That never needed stock Recovery2 (eRecovery) is overwritten.
Now both recoveries are present on the device and can be called anytime.
In the stock we come as usual with key combination Volup + Power, in the TWRP same, but with USB connection. (PC or charger)
When OS updating, the Recovery2 is overwritten with the eRecovery and must
are then replaced with TWRP.
The advantages for the future
- Direct exchange of TWRP in stock and vice versa, without rebooting,
- during updates, no unrooting and no Factory Reset (automatically if necessary)
- for flash operations, or Wipes per stock, immediately switched to TWRP
- in normal operation that "thinks" EMUI "all original".
*****important*****
To Lineage OS installation:
factory reset in stock recovery
factory reset in TWRP
wipe: System and Data in TWRP
flash: Vendor in TWRP Terminal
flash: * Lineage * .zip in TWRP
now make full backup in TWRP
To install the Rescue Rom:
factory reset in stock recovery
factory reset in TWRP
wipe data in TWRP
restore rescue backup
now make full backup in TWRP
In the future, the TWRP recovery now works with all functions.
After some reboots, the following has been shown:
The datapartition is mountable in TWRP,
but is not reliably secured or restored.
Therefore, never delete the internal memory and data partition,
or a factory reset. I have had the experience that too
other partition backups will never be restored as they are
were created. A perfect restoring is not possible.
Please do not use TWRP for backup and restoring operations.
Use a factory reset only in stock recovery.
The current TWRP is very dangerous. See my notes in the root thread. I have the Dualrecovery with me always. But I can fix any brick quickly. The normal user but not.
​
Thanks to: Team Win Recovery Project
and Huawei Technologies Co., Ltd. 华为 技术 有限公司
NOTE: Despite careful preparation I can not guarantee that through the implementation of this Guidance does not create damage to the device or operating system, and therefore assume no liability for ensuing damage and malfunction of hardware and software! If you are still unsure, follow these steps: Only perform the procedure if any mentioned conditions (model number, Android version, etc.) apply to you or your device. Read the instructions carefully and completely up unfamiliar terms. check downloaded files for viruses. A backup of important settings and data make. The instructions do not perform if you do not know what you're doing.​
Click to expand...
Click to collapse
I've flashed TWRP recovery to the phone, replacing stock recovery. I didn't replaced erecovery. Then I made factory reset in TWRP. Now I have only a black screen with soft buttons in Android. Could you help me please, what do I do now? (Erecovery can't find any downloads to restore phone.)

paraNo said:
I've flashed TWRP recovery to the phone, replacing stock recovery. I didn't replaced erecovery. Then I made factory reset in TWRP. Now I have only a black screen with soft buttons in Android. Could you help me please, what do I do now? (Erecovery can't find any downloads to restore phone.)
Click to expand...
Click to collapse
You can try to flash twrp in recovery2 via adb, wipe in stock recovery and twrp, and restore the twrp backup.
Enviado desde mi PRA-LX1 mediante Tapatalk

paraNo said:
I've flashed TWRP recovery to the phone, replacing stock recovery. I didn't replaced erecovery. Then I made factory reset in TWRP. Now I have only a black screen with soft buttons in Android. Could you help me please, what do I do now? (Erecovery can't find any downloads to restore phone.)
Click to expand...
Click to collapse
All you need is here:
https://forum.xda-developers.com/p8...-to-root-huawei-p8-lite-2017-android-t3582179

ChinHon said:
All you need is here:
https://forum.xda-developers.com/p8...-to-root-huawei-p8-lite-2017-android-t3582179
Click to expand...
Click to collapse
Thanks to both of you!
I've flashed stock recovery, made factory reset, and phone is working again.
But I've lost some of the apps (mainly games from the original ROM, magazine unlock is stopped working, lost themes, wallpapers etc. :crying
I've tried to download the pre-rooted B182 ROM but the archive is broken. (Both the zip in Mediafire, and the rar in MEGA)
I have ROM version B172, but System update cannot find updates. Thats why I'm not sure, if I can use the rescue rom. Maybe It won't upgrade.

Create a backup for security and try the rescue rom. It won't hurt. In the future, use the huawei backup app from the system so that you don't lose your apps and settings again.

ChinHon said:
Create a backup for security and try the rescue rom. It won't hurt. In the future, use the huawei backup app from the system so that you don't lose your apps and settings again.
Click to expand...
Click to collapse
Thank you, I will try!
The apps, and things that I've lost was in the original ROM. I think, I can't save ROM apps with huawei backup. (And I thought, I can't lose anything from ROM )

Related

[HOW TO]Restoring TWRP Backup L10...B135/B136 ROM after other ROMs installation

Using TWRP some people have a problems with B135/B136 ROM backup restoration after custom rom installation (f.e.MIUI). In this case TWRP can't restore DATA partition of backup. This situation occurs because some ROMs are developed for other model P7. MIUI is based on the B124 ROM for P7-L07.. But not for P7-L10.
My solution:
Boot yours current ROM.
Backup important data from internal card ! (it will be erased by forced installation).
Download B135 ROM and save file update.apk to dload folder on SD card (dload\update.apk)
Restore stock recovery.img and boot.img by Flashify or Fastboot
Charge battery min 50% and unplug USB cable.
Reboot to Recovery mode (press power and vol+ buttons) and wipe data and cache.
Reboot to Install mode (press power and vol+ and vol- buttons). ROM will be automatically installed.
Reboot and minimal configure system (minimal because it will be replaced by backup).
Root phone by RootGenius and delete set_immutable.list by phone console or by ADB.
Flash TWRP 2.8.1.0 recovery by Flashify or Fastboot (similar to pt 4)
Reboot to Recovery mode and restore DATA partition (or if you wish SYSTEM and DATA) from TWRP backup.
Anyway You have to delete set_immutable.list to have full root.
Other way is installing My-RoM which is full rooted and configured for smooth using.
On my device this procedure restored backup properly. I have tried it many times !
Ziółek said:
Using TWRP (2.8.0.0) some people have a problem with B135 ROM backup restoration after MIUI custom rom installation. In this case TWRP can't restore DATA partition of backup copy.
I suggest to solve this problem:
1. Backup important files from internal card !!!
2. Restore stock recovery.img and boot.img by Flashify or Minimal ADB and Fastboot
3. Install clean B135 ROM
4. Root by RootGenius
5. Flash TWRP recovery.
6. Restore DATA partition from backup by TWRP or first delete set_immutable.list file and restore SYSTEM and DATA partition.
Anyway You have to delete set_immutable.list to properly using TWRP and another adds in the future.
On my device this procedure restored backup properly.
Click to expand...
Click to collapse
Thanks so much for the tutorial , but :
After flashing recovery.img and boot.img can not install ROM B135 , each time immediately at the beginning of the installation will pop up - FAIL
jkmaxfli said:
Thanks so much for the tutorial , but :
After flashing recovery.img and boot.img can not install ROM B135 , each time immediately at the beginning of the installation will pop up - FAIL
Click to expand...
Click to collapse
Did You wipe everything in recovery first and install ROM by reboot (SD card...dload\update.apk)?
Ziółek said:
Did You wipe everything in recovery first and install ROM by reboot (SD card...dload\update.apk)?
Click to expand...
Click to collapse
After flash your posted recovery to get into the system will not boot at all and also to get into recovery, I could do a full install rom wipe. If I installed B135 immediately jumps to the beginning of the message fail. For flashing Iuse the method of the three buttons, because I dont get into the system and even there I do not have the possibility of local updates. I downgrade out of emui 3.0, which was for the L07 version of the phone and I have the L10.
After trying the emui 3.0 and difficult downgrade to emui 2.3 a have this problems with installing any rom.
jkmaxfli said:
After flash your posted recovery to get into the system will not boot at all and also to get into recovery, I could do a full install rom wipe. If I installed B135 immediately jumps to the beginning of the message fail. For flashing Iuse the method of the three buttons, because I dont get into the system and even there I do not have the possibility of local updates. I downgrade out of emui 3.0, which was for the L07 version of the phone and I have the L10.
After trying the emui 3.0 and difficult downgrade to emui 2.3 a have this problems with installing any rom.
Click to expand...
Click to collapse
I have never install Huawei EMUI 3.0 ! and this tuto is working for me.
Upgrade from MyROM v1.2 to MyROM v3.2
Hi there,
First of all, thank you for your work! I've used your MyROM v1.2 (running b135?) and loved it.
Now it's time to upgrade to MyROM v3.2, and I'm having some trouble doing it right, since I'm quite new to this!
I've searched all over this forum, and I nailed it down to this:
1) Flash recovery.img of b135
2) Put update.app of b133sp01 on sdcard/dload
3) Open update.app and do a local update
4) When b133 is "installed", upgrade to b602/b609 and flash its recovery, and do a reset.
5) Install CWM recovery and SuperSU v2.4
6) ... follow your instructions on forum.xda-developers.com/ascend-p7/development/rom-rom-v3-1-emui-3-0-t2977409
Am I right? I already ****ed it up a couple of times, and I want to make sure I do it right.
Again, thanks to all of you who contribute to customization of the lovely P7.
ner0s said:
...
6) ... follow your instructions on forum.xda-developers.com/ascend-p7/development/rom-rom-v3-1-emui-3-0-t2977409
Am I right? I already ****ed it up a couple of times, and I want to make sure I do it right...
Click to expand...
Click to collapse
Exactly. Be sure that you carffuly follow instruction for installation v3.2 especially wiping factory data by stock recovery.
Sent from my HUAWEI P7-L10
It worked. Thanks a lot, you rock
Sent from my HUAWEI P7-L10 using XDA Free mobile app

Huawei p9 bricked EVA-l19

Hi, i managed to brick my p9 eva-l19, i was having the stock rom with the latest update, bootloader unlocked, twrp, rooted and i managed to brick him by wiping all. Now all it does is entering in bootloader mode, recovery (twrp) and that's it. I downloaded the stock rom with the latest update, put the update.app on an sdcard but it doesn't work in download mode, the update is not made, error.
What i have to do to unbrick my phone? i'm sure this question has been asked a lot of times but i didn't find a good answer.
When you downloaded the stock rom you got a update.zip and a full_data.zip (or something along these lines). Just Install them via TWRP ( VERY IMPORTANT: first update.zip and then full_data.zip). after that go back and wipe chache and dalvik, then go in the main menu of twrp and klick on reboot and then on recovery. You should boot into stock recovery where you need to wipe cache and do a factory reset. You should boot into stock firmware

!!!Please Answer THIS!!!

I just came to know that unlocking my xiaomi device will erase its data !!!!
Is this true??????
this thread says this only!!! -> https://twrp.me/xiaomi/xiaomiredmi4x.html
:crying::crying:
KCstark said:
I just came to know that unlocking my xiaomi device will erase its data !!!!
Is this true??????
this thread says this only!!! -> https://twrp.me/xiaomi/xiaomiredmi4x.html
:crying::crying:
Click to expand...
Click to collapse
Unlocking bootloader always erases Data Partition. First check that yours one is unlocked or not, not most devices are come locked. Unlocking will take time as Xiaomi gives you permission to unlock by their own software.
Make a backup, get all your data off then root it. I'm not entirely sure if you can unlock without erasing, but you should never be in a position where you can't afford to reinstall your applications.
This is why it is always best to get twrp on your phone asap so you can back up it.
No, unlocking bootloader doesn't wipes data but you must backup everything just in case anything goes wrong.
it is always recommended to backup everything when flashing ROM, kernel, mod, zip, flashing rom via fastboot method and recovery. in short you should backup everything in all this cases.
shohabmsk said:
Unlocking bootloader always erases Data Partition. First check that yours one is unlocked or not, not most devices are come locked. Unlocking will take time as Xiaomi gives you permission to unlock by their own software.
Click to expand...
Click to collapse
Actually I know most part and have already done getting permission but this was just a quick question as that's my sister's device and she won't accept its data being erased still thanks for your quick answer...
And by the way that device's bootloader is locked I have checked it.
.....:good:
metelhammer said:
No, unlocking bootloader doesn't wipes data but you must backup everything just in case anything goes wrong.
it is always recommended to backup everything when flashing ROM, kernel, mod, zip, flashing rom via fastboot method and recovery. in short you should backup everything in all this cases.
Click to expand...
Click to collapse
Have u done it your self if yes did u lose any of your data. Plz let me know......
KCstark said:
Have u done it your self if yes did u lose any of your data. Plz let me know......
Click to expand...
Click to collapse
Yes i have flashed recovery and roms i always do backup important thing and i take screenshot of installed apps before making any changes and save them to pc or to cloud storage.
there was issue i had was when i flashed TWRP 3.2.1.0 via adb i do not why but it asked me for password i didn't know to password so i had to wipe everything including internal storage and data.
latest twrp is must which is TWRP 3.2.1.0 in order to flash Oreo based ROM.
i was using TWRP 3.0.2-0 before and i had no issue with this recovery i has flashed several nougat roms on this recovery even have upgraded and downgraded from miui9 to miui 8 everything worked perfectly.
i don't know why but i wasn't able to flash any marshmallow based or nougat based roms on TWRP 3.2.1.0 recovery.
yes i did lose data when upgrading from TWRP 3.0.2-0 to TWRP 3.2.1.0 but i had done backup so no issues.
i would highly recommend you to do backup if you are making any changes in your device.
metelhammer said:
Yes i have flashed recovery and roms i always do backup important thing and i take screenshot of installed apps before making any changes and save them to pc or to cloud storage.
there was issue i had was when i flashed TWRP 3.2.1.0 via adb i do not why but it asked me for password i didn't know to password so i had to wipe everything including internal storage and data.
latest twrp is must which is TWRP 3.2.1.0 in order to flash Oreo based ROM.
i was using TWRP 3.0.2-0 before and i had no issue with this recovery i has flashed several nougat roms on this recovery even have upgraded and downgraded from miui9 to miui 8 everything worked perfectly.
i don't know why but i wasn't able to flash any marshmallow based or nougat based roms on TWRP 3.2.1.0 recovery.
yes i did lose data when upgrading from TWRP 3.0.2-0 to TWRP 3.2.1.0 but i had done backup so no issues.
i would highly recommend you to do backup if you are making any changes in your device.
Click to expand...
Click to collapse
Thanks bro
you need to install stock rom after unlocking
Unlocking Xiaomi Redmi4x santoni bootloader doesn't delete the data partition, but after unlocking the bootloader your phone won't boot, you need to install the same stock rom it was on phone previously.
Download MIUI Stock ROMs (if you didn't make OTA update from MIUI, check Older versions and download the correct ROM)
You can copy the ROM image to phone before unlocking or if you have already unlocked and stuck in boot, you can copy the ROM to an USB flash drive.
You need ADB installed on your PC.
Download the TWRP for Xiaomi Redmi 4X image.
If you want to restore the existing state of your phone, you need to make a backup of the data partition.
Press Volume Down + Power until phone gets in FASTBOOT.
Connect phone to PC with USB cable.
From PC command prompt type the command: fastboot.exe boot twrp-3.2.1-0-santoni.img
TWRP will start on your phone, you can backup all of the partitions, but you need only the data partition to restore.
Now Install the stock rom (you can select USB OTG if ROM is on USB drive), then RESTORE the backed up DATA partition only.

Is it safe to do Factory Reset from system menu while TWRP in recovery + root?

I'm going to give my P9 to my wife. Before that I'd like to do factory reset all apps+data+settings. Currently I have Android 6 + unlocked bootloader + TWRP in recovery + root.
Is it safe to do Factory Reset from menu Settings -> Advanced Settings -> Backup & reset -> Factory data reset?
Will I have TWRP in recovery + root after that?
Thank you!
Rucha said:
I'm going to give my P9 to my wife. Before that I'd like to do factory reset all apps+data+settings. Currently I have Android 6 + unlocked bootloader + TWRP in recovery + root.
Is it safe to do Factory Reset from menu Settings -> Advanced Settings -> Backup & reset -> Factory data reset?
Will I have TWRP in recovery + root after that?
Thank you!
Click to expand...
Click to collapse
For Factory reset you must first go to stock ROM and stock Recovery, see HWOTA method
https://forum.xda-developers.com/showpost.php?p=75787156&postcount=3
If you want to keep TWEP and root, you can just clean Dalwik and Cache from TWRP but it is not Factory resetting
Btw, with TWRP and/or Root, phone will fail OTA upgrades
PS: Don't re-lock Boitliader (if you want) until you go back to stock and make Factory reset - peopke used to soft-brick the phones
The method you addressed to is only for Android 7. Is anywhere instruction to rollback to stock ROM and stock Recovery for Android 6?
Rucha said:
The method you addressed to is only for Android 7. Is anywhere instruction to rollback to stock ROM and stock Recovery for Android 6?
Click to expand...
Click to collapse
For MM / EMUI 4.1 you have FullOTA-MF-PV (FirmwareFinder) builds and you can install (reinstall) them through TWRP.
You can also:
- unroot directly from SuperSU
- download your existing firmware from FirmwareFinder, unzip update.zip, use PC app Huawei Update Extractor to extract Boot and eRecovery partitions from update.app
- flash Boot partition (you can do it from TWRP) and then eRecovery (again, you can do it from TWRP or you can do it from Fastboot the same way you had flashed TWRP).
Then you can flash FullOTA-MF-PV by DLOAD method.
---
You can also search among old guides and old posts (year 2016)

Bootloop after twrp restore - twrp-3.2.3-1-payton.img

Summary:
1. Flash factory image onto phone successfully
2. Install twrp and make a backup
3. Restore backup after reboot and I'm stuck in a bootloop
I have a new fi Moto x4 running Android 8.1 that I'm attempting to set up. I've reset this phone a bunch of times so here is the standards process:
1. Flash factory firmware as shown in this thread:
https://forum.xda-developers.com/moto-x4/how-to/guide-how-to-flash-official-factory-t3808348
I'm using: PAYTON_FI_OPW28.46-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
2. After flashing, start up the phone and it works fine.
3. Reboot into the bootloader and boot to twrp using: fastboot boot twrp-3.2.3-1-payton.img
4. Copy in the twrp install file using: adb push twrp-installer-payton-3.2.3-1.zip /sdcard
5. Install the zip via the twrp Install function
6. Reboot the phone into the bootloader then start recovery
7. Use the twrp Backup function to create a backup of the Boot, Data and System partitions on Internal Storage (plenty of space).
8. Reboot the phone into the bootloader then start recover
9. Use the twrp Restore function to restore the backup. Finishes fine.
10. Reboot phone to system but the load won't finish. Phone just alternates between the Android One and the Motorola splash screens. Left it for an hour at one point just to be sure. No love.
Things I have tried:
1. Using twrp via fastboot boot and a hard install
2. Making backups to the internal and external memory cards
3. Changing the partitions in the backup
4. Wiping everything except the external sim card before performing a restore
If anyone has any thoughts I would love to here them.
Thank you!
I'm having a similar problem and found this old thread. I am on stock pie rooted and made a twrp backup this morning so that I could try flashing some custom ROMs. After successfully installing a custom ROM I attempted to restore the backup and return to stock but just get bootloop. I am able to get back to to twrp and the phone will boot after a factory reset, but even if I just restore data I get bootloop. I'm wondering what I am doing wrong with restoring the backup. Any thoughts? Thanks.
I have the same problem as you are. After I finished install all applications, I made a backup with twrp-3.2.3-1-payton. Then next day I restore it from the backup, after finished backup, it goes to bootloop forever. My version is OPWS28.46.21.12, I download stock rom OPW28.46-13 but afraid to flash this rom since it is the lower version might be break the phone if not backward compatible. Then I search the web and found your message and follow this side fund a higher version of the stock rom OPWS28.46-21-14. I download it and flash it. After flashing complete and boot up, it saying new OTA update available, I don't want to update the rom since I want my phone rom version is same as the stock rom I have downloaded into my PC just in case in the future I accidentally doing something wrong I can flash back the stock rom without worrying the backward compatibility problem.
t-bob said:
I'm having a similar problem and found this old thread. I am on stock pie rooted and made a twrp backup this morning so that I could try flashing some custom ROMs. After successfully installing a custom ROM I attempted to restore the backup and return to stock but just get bootloop. I am able to get back to to twrp and the phone will boot after a factory reset, but even if I just restore data I get bootloop. I'm wondering what I am doing wrong with restoring the backup. Any thoughts? Thanks.
Click to expand...
Click to collapse
I'm a bit slow on the response - but my first thought is manually flash stock rom over your restore without wiping data
I'm able flash the latest stock rom of FI_9.0_PPWS29.69-26-4 and reinstall twrp-3.2.3-1-payton. Then I restore data only that backup from previous rom, I get bootloop again after restore the data only from TWRP. The I reflash FI_9.0_PPWS29.69-26-4 again, install twrp and root it with Magisk. Restore data from cloud google drive automatically. And this time is successfully without bootloop.

Categories

Resources