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.
Related
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 )
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.
i accidentally deleted the whole system and every other files on the device and i haven't made a backup i can only get twrp working and had tried to install various ozip files from twrp which ended up with error 7.
If you still have twrp just install the stock rom then get back to stock recovery and wipe data to format the rest of the storage and you will be back to stock.
acyg said:
If you still have twrp just install the stock rom then get back to stock recovery and wipe data to format the rest of the storage and you will be back to stock.
Click to expand...
Click to collapse
Tried installing that already but it shows up error 7 msg
Also converted the ozip to zip and changed the file to remove device names
Still doesn’t work
Did you use the chinese twrp from this thread:
https://forum.xda-developers.com/realme-x2-pro/how-to/guide-unlocking-bootloader-to-getting-t4010189
I was able to install the stock ozip just fine with it.
acyg said:
Did you use the chinese twrp from this thread:
https://forum.xda-developers.com/realme-x2-pro/how-to/guide-unlocking-bootloader-to-getting-t4010189
I was able to install the stock ozip just fine with it.
Click to expand...
Click to collapse
Worked finally
But itried locking bootloader and it caused a bootloop and now i cannot access bootloader and the device isn’t showing up in fastboot.
Why would you try to re lock the bootloader while you were trying to unbrick it. I think you seriously need to read more about what can brick the phone and plan out each step if it isn't already too late.
Locked bootloader
Stuck in the same situation at the moment, if you find a way to unbrick please let us know.
Hi Dear
i want instal official firmware wihout pc , my device usb port has damaged and not recognized with pc ,,
Can i install offucial rom with custom recovery ???
tnx alot ...
k.pax said:
Hi Dear
i want instal official firmware wihout pc , my device usb port has damaged and not recognized with pc ,,
Can i install offucial rom with custom recovery ???
tnx alot ...
Click to expand...
Click to collapse
If the device boots and you can download a factory OTA to the device, you should be able to install it like any other ROM in TWRP. Going back to stock will remove TWRP and restore the stock recovery.
ktmom said:
If the device boots and you can download a factory OTA to the device, you should be able to install it like any other ROM in TWRP. Going back to stock will remove TWRP and restore the stock recovery.
Click to expand...
Click to collapse
tnx for answer :good:
yes phone now boot up and i have Nitrogen custom rom ,,
but ota rom just install whit pc , is there official rom with custom recovery capability??
k.pax said:
tnx for answer :good:
yes phone now boot up and i have Nitrogen custom rom ,,
but ota rom just install whit pc , is there official rom with custom recovery capability??
Click to expand...
Click to collapse
I saw your post in the other thread, but it's off topic there, so I'm responding here.
I'm not sure why you want to revert to stock. There is the Pure Nexus ROM which is closer to stock with some nice improvements. The last release was July 2017 ( last stock October 2017).
There's a couple of ways to get stock on the N6 while keeping TWRP without needing a USB port.
One is to do what I described above, and flash the full factory OTA file in TWRP. To save TWRP, you would need to do a backup of the recovery partition, then restore it before leaving TWRP. There's also the issue of encryption, but if your device is decrypted, a no force encrypt zip can be used. What I'm not sure about is, if your device is encrypted, will that affect TWRP on the next reboot. There have been some glitches. One thing I would definitely do is remove all screen locks, boot passwords, nothing but swipe to unlock.
I actually dusted off my N6 and tested this several times today successfully. I could provide you with exact instructions.
The second method is to create a TWRP flashable ROM using the stock system and boot images. What bootloader are you on? What was the last stock version installed? If you're not sure, reboot to the bootloader and grab the information from the screen. The line starting with "BL moto-".
If you are on the final bootloader, then I have a zip that you could use. If your bootloader is older than mine, I can't test a ROM that I make though.
So this happened, first time unlocking my phone, installed TWRP and everything good, now I wiped all of the phone and I can't flash any ROMs since TWRP can't decrypt the phone either I can't find a way to revert recovery and system to the original state.
Tried Flashing various versions of TWRP, none seem to work.
Tried the vbmeta-patcher
Formated the whole device.
Tried both MiToolUnlock and Tool All in One
Also, after flashing any version of TWRP and booting, it always goes back to the previous version (unofficial 3.3.1-25 by Mauronofrio)
I don't know what else to do. Any help?
fverdeja said:
So this happened, first time unlocking my phone, installed TWRP and everything good, now I wiped all of the phone and I can't flash any ROMs since TWRP can't decrypt the phone either I can't find a way to revert recovery and system to the original state.
Tried Flashing various versions of TWRP, none seem to work.
Tried the vbmeta-patcher
Formated the whole device.
Tried both MiToolUnlock and Tool All in One
Also, after flashing any version of TWRP and booting, it always goes back to the previous version (unofficial 3.3.1-25 by Mauronofrio)
I don't know what else to do. Any help?
Click to expand...
Click to collapse
Try flashing the correct fastboot ROM for your phone, using the Mi Flash Tool.
Then don't wipe everything in future. Stick with wiping just cache, dalvik and data. It's very rare you will need to wipe anything else.
Try this tool to erase and decrypt your internal storage
https://forum.xda-developers.com/android/software/tool-tool-one-driversunlocktwrpfactory-t3358711
Than install rom using usb otg.