Movatterモバイル変換


[0]ホーム

URL:


XDA Forums
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use analternative browser.

Unlock bootloader without losing data

Search This thread
By:
Has anyone tried this pls? I have an Redmi Note 7 and dont want to lose my data pls

update...clicking on reboot also doesn't erase memory... I've flashed a lot of custom rom on my phone...returned to stock using MIUI flash tool.......unlocked again....
probably changed something on the firmware of the phone idk.

EDIT: I think it factory resets only the first time ever you unlock the phone....can someone else confirm this?
 
Last edited:

rchh

New member
Aug 13, 2020
1
1
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.

Thx for this tips, worked very well you saved me a lot of time.
 
  • Like
Reactions:Andrea_98

rlelchev

Member
May 28, 2021
14
1
Thanks for the trick! but we can use another recovery for this method?:confused:
Yes you can
 
SubwayChamp

SubwayChamp

Senior Member
Aug 6, 2016
5,194
5
1,883
I have three Questions:
Can I just boot from the recovery?
Does This works on Redmi note 8 Pro?
If I have to flash the recovery, can I go back to stock recovery after rebooting?

Thanks in advance (Sorry for my mabey bad english i´m using a translator)
Unfortunately, I never tried on my RN8P, so I can't tell you for sure.

The problem with the first question is that sometimes, when the device is unlocked, the encryption is triggered, so you should need to flash a zip that prevent it.

All the trick reside in not to boot to OS, directly, cause the unlock process contains some script to erase completely data, I mean, you don't need to flash or boot to recovery, but I put this part only to bypass the previously mentioned.

In case you need to flash a custom recovery, you can, at any time, flash again a stock recovery.

Actually, for MediaTek devices you have this toolhttps://github.com/bkerler/mtkclient, you can back up any partition including data, prior to unlock bootloader, then, you can restore them later.
 
AndroidUser24
Apr 2, 2022
9
0
Unfortunately, I never tried on my RN8P, so I can't tell you for sure.

The problem with the first question is that sometimes, when the device is unlocked, the encryption is triggered, so you should need to flash a zip that prevent it.

All the trick reside in not to boot to OS, directly, cause the unlock process contains some script to erase completely data, I mean, you don't need to flash or boot to recovery, but I put this part only to bypass the previously mentioned.

In case you need to flash a custom recovery, you can, at any time, flash again a stock recovery.

Actually, for MediaTek devices you have this toolhttps://github.com/bkerler/mtkclient, you can back up any partition including data, prior to unlock bootloader, then, you can restore them l

Unfortunately, I never tried on my RN8P, so I can't tell you for sure.

The problem with the first question is that sometimes, when the device is unlocked, the encryption is triggered, so you should need to flash a zip that prevent it.

All the trick reside in not to boot to OS, directly, cause the unlock process contains some script to erase completely data, I mean, you don't need to flash or boot to recovery, but I put this part only to bypass the previously mentioned.

In case you need to flash a custom recovery, you can, at any time, flash again a stock recovery.

Actually, for MediaTek devices you have this toolhttps://github.com/bkerler/mtkclient, you can back up any partition including data, prior to unlock bootloader, then, you can restore them later.
Thank you for your quick reply
 
SubwayChamp

SubwayChamp

Senior Member
Aug 6, 2016
5,194
5
1,883
SOMEONE HELP ME PLEASE
I need you to clarify a doubt. My phone (redmi note 8 miui 11) is in bootloop after I change the dpi. I don't want to lose the data. The only solution I found is to unlock the bootloader to install TWRP and update the room but I didn't enable usb debugging, just developer mode. Is there nothing to do in this case? My only way out is to factory format?
Flash a ROM.
 

star_phantom

New member
Jun 25, 2022
1
0
For those who are waiting to unlock bootloader but don´t want to lose data this quick guide is intended to do so.

Usually in most of threads out there about unlocking anyone find the typical phrase "unlock bootloader erase all your data" like is advertised in the same MiFlash Unlock tool and for other devices which method to unlock it is through the same fastboot mode by command.

Really unlock bootloader doesn´t erase nothing itself, the problem is at time to reboot to system and here is the issue, if we reboot inmediately then data will gone. (some users of older devices reported that not always this happened BTW)

Steps that I did are the next (maybe some step was unnecesary and I´ll indicate which)

1 - Unlock bootloader as normally through the tool when time it´s came.
2- When it finishes exit the tool, don´t tap on "Reboot device" in the tool, just close the tool.
View attachment 4637935
3- Device stays in fastboot, check bootloader status in fastboot mode by typing
Code:
fastboot oem device-info
View attachment 4637936
4- Extract recovery image fromOrangeFox-R8.3-vince zip inside adb folder and type
Code:
fastboot flash recovery fox.img
(I renamed it fox).
5- Reboot to recovery by typing
Code:
fastboot boot fox.img
.
View attachment 4637937
6- Once in recovery don´t swipe to allow modifications, tap on Read Only.
7- Some drivers will be updated between device and pc, then copy OrangeFox-R8.3-vince zip to internal memory (or if you prefer to an ext. sdcard) if you already don´t have it in your device.
Now flash the zip, I guess that this is necessary to OrangeFox can unpack all the tools in Fox folder onto device.
8- I enabled these options in recovery and flashed magisk, you can enable some additional features.
View attachment 4637938
9 - Then Flashed No+Verity_R5Plus.zip uploaded file (I´m not sure if this step is needed so I enabled before this option and OrangeFox has in-builded this feature but just to made sure, you know..)
10- Reboot normally and you´re done.
How can i make this work for Huawei? For Android and Emui 8.0 spesifically with locked bootloader and usb debunking disabled
 
SubwayChamp

SubwayChamp

Senior Member
Aug 6, 2016
5,194
5
1,883
How can i make this work for Huawei? For Android and Emui 8.0 spesifically with locked bootloader and usb debunking disabled
Sorry mate, this is a total different approach, I mean, this is out of the scope of this thread, you say that your bootloader is locked, this is the idea, we try here to preserve data after to unlock bootloader, unlocking bootloader, in case you are asking that, is not possible (by normal means) without enabling USB debugging, in MediaTek devices there are some workarounds though, anyway, as I said you, your question deserves a new place, and personally I think, a better explanation too, about what exactly you are trying to achieve.

For example, in case your device doesn't have a specific forum, you should place your question here:https://xdaforums.com/f/general-questions-and-answers.456/
 

Andrea_98

New member
Feb 16, 2020
4
3
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
Thank you so much! This worked like a charm with my Redmi Note 4:D
 
  • Like
Reactions:sanijsnj
Zibri

Zibri

Senior Member
Dec 10, 2010
373
132
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
is this confirmed to work on MIUI 13?
I am on MIUI Global 13.0.13.0 on a Redmi Note 10 Pro
I want to unlock bootloader but without needing to wipe.
 
Atexor

Atexor

Senior Member
Jun 28, 2014
418
170
Poland
is this confirmed to work on MIUI 13?
I am on MIUI Global 13.0.13.0 on a Redmi Note 10 Pro
I want to unlock bootloader but without needing to wipe.
Confirmed on POCO F4. Phone just rebooted twice and wiped without backing to Fastboot:(
 
Zibri

Zibri

Senior Member
Dec 10, 2010
373
132
Confirmed on POCO F4. Phone just rebooted twice and wiped without backing to Fastboot:(
to avoid wipe you MUST hold volume down and follow what I wrote in my post:
 
Atexor

Atexor

Senior Member
Jun 28, 2014
418
170
Poland
to avoid wipe you MUST hold volume down and follow what I wrote in my post:

I knew about holding volume button down. I've read few quides on xda and another sites. All was similar - they always said about holding volume down key, but differences were between using adb commands or Mi Unlock application.

So, even after accesing fastboot mode I still pressed VolDown key. It looks that Xiaomi changed something in newer phones. Maybe it will work for someone on another phone, but I recommend making backups just in case.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    For those who are waiting to unlock bootloader but don´t want to lose data this quick guide is intended to do so.

    Usually in most of threads out there about unlocking anyone find the typical phrase "unlock bootloader erase all your data" like is advertised in the same MiFlash Unlock tool and for other devices which method to unlock it is through the same fastboot mode by command.

    Really unlock bootloader doesn´t erase nothing itself, the problem is at time to reboot to system and here is the issue, if we reboot inmediately then data will gone. (some users of older devices reported that not always this happened BTW)

    Steps that I did are the next (maybe some step was unnecesary and I´ll indicate which)

    1 - Unlock bootloader as normally through the tool when time it´s came.
    2- When it finishes exit the tool, don´t tap on "Reboot device" in the tool, just close the tool.
    1-unlocked.png
    3- Device stays in fastboot, check bootloader status in fastboot mode by typing
    Code:
    fastboot oem device-info
    View attachment 4637936
    4- Extract recovery image fromOrangeFox-R8.3-vince zip inside adb folder and type
    Code:
    fastboot flash recovery fox.img
    (I renamed it fox).
    5- Reboot to recovery by typing
    Code:
    fastboot boot fox.img
    .
    View attachment 4637937
    6- Once in recovery don´t swipe to allow modifications, tap on Read Only.
    7- Some drivers will be updated between device and pc, then copy OrangeFox-R8.3-vince zip to internal memory (or if you prefer to an ext. sdcard) if you already don´t have it in your device.
    Now flash the zip, I guess that this is necessary to OrangeFox can unpack all the tools in Fox folder onto device.
    8- I enabled these options in recovery and flashed magisk, you can enable some additional features.
    4-OrangeFoxDisableDM-Verity.png
    9 - Then Flashed No+Verity_R5Plus.zip uploaded file (I´m not sure if this step is needed so I enabled before this option and OrangeFox has in-builded this feature but just to made sure, you know..)
    10- Reboot normally and you´re done.
    2
    I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
    1. unlock bootloader normally
    2. unplug phone without clicking on 'Reboot' button at the end
    3. Force power off by holding power button for about 10s
    and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
    1
    Thanks for the trick! but we can use another recovery for this method?:confused:
    1
    I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
    1. unlock bootloader normally
    2. unplug phone without clicking on 'Reboot' button at the end
    3. Force power off by holding power button for about 10s
    and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.

    Thx for this tips, worked very well you saved me a lot of time.
    1
    Hey guys, i don't think this work anymore, because when mi flash finish to unlock the phone, the phone reboot automatically without click reboot phone (redmi 9)

[8]ページ先頭

©2009-2025 Movatter.jp