Unlock bootloader without wiping - Xiaomi Mi A2 / 6X Questions & Answers

Hello everyone, I was wondering if this method for unlocking Mi A1's bootloader without wiping data would also work on Mi A2.
Is there anybody willing to try and let me know? Thank you!

I have the same question

Someone has already tried and posted on that same thread. https://forum.xda-developers.com/showpost.php?p=77645758&postcount=68
It doesn't seem like a good method anyway because the wipe command remains pending and will be executed if you boot into recovery (stock or TWRP). So if you unlock by doing this and some time later decide to go into recovery, you will lose all your data without warning.

Related

Rashr app help

Hello my friends i just want to ask you about an application that i just install to my HTC One m7.It's called Rasrh.
I'm thinking about to flash from this app TWRP touch recovery.
Should i do it?
If i do it i will lose all my data from my phone?
I don't want to use pc to flash custom recovery and I'm trying to find another solution.
Sorry for bad English.
I don't want to advertise anything.
Thanks for every help.
I use flashify, and it works great
Will it erase everything in my device of i install custom recovery with this program? Also I'm S-ON will i have a problem?
Flashing a custom recovery doesn't wipe any data, unlocking the bootloader will. Is your bootloader unlocked? It must be unlocked to flash a custom recovery, even if flashing from an app.
Oh i understand now.Now my bootloader is Tampered-Relocked so i will have to unlock it and erase everything.Thanks my friend.

Nexus 6 Bootloop after updating to Nougat

Hey guys, I updated my mom's Nexus 6 OTA to 7 point something and it was working at first but after a month, idk what happened but the phone is in a bootloop now. The Nexus Root Toolkit doesn't work as it requires the bootloader to be unlocked and this was a completely stock phone. HALP
xida1125 said:
Hey guys, I updated my mom's Nexus 6 OTA to 7 point something and it was working at first but after a month, idk what happened but the phone is in a bootloop now. The Nexus Root Toolkit doesn't work as it requires the bootloader to be unlocked and this was a completely stock phone. HALP
Click to expand...
Click to collapse
Wipe cashes in the recovery, if it doesn't help flash latest factory image without userdata
https://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
xida1125 said:
Hey guys, I updated my mom's Nexus 6 OTA to 7 point something and it was working at first but after a month, idk what happened but the phone is in a bootloop now. The Nexus Root Toolkit doesn't work as it requires the bootloader to be unlocked and this was a completely stock phone. HALP
Click to expand...
Click to collapse
In my experience with bootloops is that when you you update to an new ROM sometimes the kernel gets affected in the process. It's happened to me a few times but my phone is rooted so I do a lot more flashing and updating.
It's an easy fix tho, use the Toolkit and open the Launch screen look at the top middle and there should be a tab for flashing the boot.img, in your case since your on stock ROM just restore the image file for the build number that is currently running. So if you just updated to Android N, the build number will start with an N. The toolkit will install the correct file to restore the phone back to normal working order.
His bootloader is locked, thus he can't use the toolkit or fastboot.
@xida1125: Enter into the recovery and wipe the cache. That may fix the bootloop. If it doesn't, download the latest OTA and sideload it. Be prepared for the possibility of having to factory reset the device if nothing else works.
Strephon Alkhalikoi said:
His bootloader is locked, thus he can't use the toolkit or fastboot.
@xida1125: Enter into the recovery and wipe the cache. That may fix the bootloop. If it doesn't, download the latest OTA and sideload it. Be prepared for the possibility of having to factory reset the device if nothing else works.
Click to expand...
Click to collapse
I'm gonna try that tonight, not sure how to sideload it but I'm sure I'll figure it out. I already gave my mom my Nexus 6P to use and she likes it because it has a better camera. I tried factory reset in bootloader but it didn't do anything. Forgot to try and go into recovery menu.
If you've switched devices with your Mom, you can probably factory reset in recovery without issue. Sideloading an OTA is reasonably easy. Download the OTA, move it to internal storage, and from recovery there should be a menu option to sideload the OTA.
Once you've gotten everything fixed, dig into the developer options and enable oem unlocking in both the N6 and the N6P. Doing so will not unlock the bootloader, but will give you the opportunity to unlock the bootloader if the need or want arises in the future.
Strephon Alkhalikoi said:
If you've switched devices with your Mom, you can probably factory reset in recovery without issue. Sideloading an OTA is reasonably easy. Download the OTA, move it to internal storage, and from recovery there should be a menu option to sideload the OTA.
Once you've gotten everything fixed, dig into the developer options and enable oem unlocking in both the N6 and the N6P. Doing so will not unlock the bootloader, but will give you the opportunity to unlock the bootloader if the need or want arises in the future.
Click to expand...
Click to collapse
-Tried going into recovery via bootloader, just bootlooped
-Tried factory reset in boatloader, doesn't do anything
I don't think I can sideload can I? I can't even get to recovery menu...
Based upon your descriptions, it's sounding more and more likely that you have a dead emmc chip. In other words, hardware failure.
xida1125 said:
-Tried going into recovery via bootloader, just bootlooped
-Tried factory reset in boatloader, doesn't do anything
I don't think I can sideload can I? I can't even get to recovery menu...
Click to expand...
Click to collapse
May you try the steps without a inserted simcard, otherwise I hope for you it's not the hardware
xida1125 said:
-Tried going into recovery via bootloader, just bootlooped
-Tried factory reset in boatloader, doesn't do anything
I don't think I can sideload can I? I can't even get to recovery menu...
Click to expand...
Click to collapse
OK... Here we go...
You have fastboot and adb on your computer?
Boot to fastboot... On your phone
Use fastboot to wipe userdata and cache... (I forget the commands... Google is your friend)
Try and boot... Be patient... It's gotta rebuild ART... Will take some time
If no boot...
I THINK... THINK (repeated because I don't know for sure) you can flash the factory images without unlocking the bootloader... Because they are signed by Google...
FWIW... It's something on your data partition... Or in cache...
It sounds like the phone shutdown while writing to disk...
As long as you haven't done something really dumb... Like wiping boot, aboot, system, etc... You should be able to bring it back...
Also... There is a fastboot command that will tell you partitions on the device... Not sure if the N6 has the command... That would give you more information...
This... Is a textbook example of why you shouldn't use toolkits... You're stuck... And haven't read enough or experimented enough to know how to fix your device...

Help! S-off, root, bootloader relocked and stuck at white screen

Hi, something went wrong when installing Xposed. Now the phone can only boot into stock recovery and therefore in fastboot mode. However, the bootloader was already relocked before this happened, and because of this I can't install twrp to remove xposed. Can anyone help me solve this, please? And preferably without losing all the data because no back-up has been made obviously :crying:
Thanks in advance!
https://forum.xda-developers.com/showthread.php?t=2499926

OTA update over Magisk? What's gonna happen?

If I have a P9 on Nougat B391, I receive an OTA, am currently rooted on Magisk v14. If I install the OTA anyway? What will happen? I know I will lose root, but will my bootloader be relocked? Am I going to lose any data?
Would like to know what will happen next as I am thinking of installing it. thanks!
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Arnys said:
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Click to expand...
Click to collapse
IMO, (2) is most possible utcome. (3) may happen if you force DLOAD and other manual methods.
Better:
1) unroot by Magisk Uninstaller, find the download link in the post https://forum.xda-developers.com/showpost.php?p=74913863&postcount=1
2) flash from TWRP original stock boot img
3) wipe Dalwik and Cache from TWRP
3) flash from fastboot original stock recovery
4) let it make OTA update but select in the System Update settings to use Full (not differential) update - it will not delete your apps and settings
Of course, you will loose root and TWRP but bootloader will remain unlocked and you will not risk bricking the phone.
Arnys said:
there are 2 posible outcomes, maybe 3.
1. update will be successfull and you will lose root, twrp, bootloader can be locked too, but on fastboot it will shown as unlocked, if you cant instal twrp, then you need to unlock bootloader even if there is tuped unlocked.
2. update will fail and you will be back on same build you was.
3. never hapened to me, but are possible, that phone got bricked!
Click to expand...
Click to collapse
thanks, this roughly gives me an idea on what would happen and the risks it contains! thanks a lot!
zgfg said:
IMO, (2) is most possible utcome. (3) may happen if you force DLOAD and other manual methods.
Better:
1) unroot by Magisk Uninstaller, find the download link in the post https://forum.xda-developers.com/showpost.php?p=74913863&postcount=1
2) flash from TWRP original stock boot img
3) wipe Dalwik and Cache from TWRP
3) flash from fastboot original stock recovery
4) let it make OTA update but select in the System Update settings to use Full (not differential) update - it will not delete your apps and settings
Of course, you will loose root and TWRP but bootloader will remain unlocked and you will not risk bricking the phone.
Click to expand...
Click to collapse
thanks a lot! it's useful to know how to unroot my phone as there isn't any particular guide for this phone model haha. anyway, is there a way to unroot and lock my bootloader without wiping my phone?
roottree said:
thanks a lot! it's useful to know how to unroot my phone as there isn't any particular guide for this phone model haha. anyway, is there a way to unroot and lock my bootloader without wiping my phone?
Click to expand...
Click to collapse
Magisk Uninstaller does not wipe your phone.
However, unlocking or relocking Bootloader (from Fastboot) triggers Factory restore

Soft locked my phone. Please help :(

Hey guys,
So I have a Mi 8 Pro, but I'm going to post here because that forum is dead.
I downloaded the latest rom from xiaomi.eu and flashed it via TWRP.... now I'm just getting the boot screen and it is stuck there. I've tried downloading other rooms and flashing, same result.
I'm thinking this may be because I forgot to remove the lock screen before flashing, but TWRP has me input it each time I load to decrypt, so I don't know if that would be the case.
Anywho, I've gone into wipe, deleted the data, cache, and system. I then flash the room and restart(i've also tried doing a system recovery after installing)
Every time I do this, I am just me with the loading screen.
I'm not sure what I did when trying to fix this, but now TWRP won't even load past it's loading screen.
Please help me out here. I now have no phone to use
I'm now trying to use MiFlash and it is telling me that it is a "missmatching image and device"
This is the Mi 8 section, not the Mi 8 pro, anyways you need to:
EDIT: If you're stuck on the loading screen of twrp i think you can just reflash it from the pc and it should work
1.TWRP>Wipe>Format data>type "yes".
2.Wipe System, data, cache and dalvik
3.Flash xiaomi.eu rom
4.profit.
viper98 said:
Hey guys,
So I have a Mi 8 Pro, but I'm going to post here because that forum is dead.
I downloaded the latest rom from xiaomi.eu and flashed it via TWRP.... now I'm just getting the boot screen and it is stuck there. I've tried downloading other rooms and flashing, same result.
I'm thinking this may be because I forgot to remove the lock screen before flashing, but TWRP has me input it each time I load to decrypt, so I don't know if that would be the case.
Anywho, I've gone into wipe, deleted the data, cache, and system. I then flash the room and restart(i've also tried doing a system recovery after installing)
Every time I do this, I am just me with the loading screen.
I'm not sure what I did when trying to fix this, but now TWRP won't even load past it's loading screen.
Please help me out here. I now have no phone to use
Click to expand...
Click to collapse
If the Mi8Pro forum is dead you should use the Miui Forums.
However, I know that your issue is simply encryption, Remove the encryption and you will no longer have issues. If your phone was properly unlocked, the device data storage needs to be wiped, to remove encrypted data.
Install correct version of TWRP, and Root. ( Maybe start with SuperSu then Move to Magisk)
Use the All in One Tool to make this easier
Use it to remove encryption. or do anything else ..its easy.
Finally use the correct base firmware for your device. For example, if you have a chinese device, only using Chinese base firmware drivers.

Categories

Resources