Oneplus 3 Boot Issue - OnePlus 3 Questions & Answers

Well, Long story short, I flashed Freedom OS on my Oneplus 3 and things went poorly. I set up a passcode and when my device booted, the passcode was somehow changed to one other than what I had put. Not only that, I seem to have no recovery on my device either. Basically I can boot into my lockscreen where I'm basically screwed, and I can mess with fastboot but I'm unable to flash a rom, twrp wont flash either. Please help, will do anything.

bparisi15 said:
Well, Long story short, I flashed Freedom OS on my Oneplus 3 and things went poorly. I set up a passcode and when my device booted, the passcode was somehow changed to one other than what I had put. Not only that, I seem to have no recovery on my device either. Basically I can boot into my lockscreen where I'm basically screwed, and I can mess with fastboot but I'm unable to flash a rom, twrp wont flash either. Please help, will do anything.
Click to expand...
Click to collapse
Did you try the mega unbrick guide ? http://forum.xda-developers.com/oneplus-3/how-to/guide-mega-unbrick-guide-hard-bricked-t3405700

bparisi15 said:
Well, Long story short, I flashed Freedom OS on my Oneplus 3 and things went poorly. I set up a passcode and when my device booted, the passcode was somehow changed to one other than what I had put. Not only that, I seem to have no recovery on my device either. Basically I can boot into my lockscreen where I'm basically screwed, and I can mess with fastboot but I'm unable to flash a rom, twrp wont flash either. Please help, will do anything.
Click to expand...
Click to collapse
Recovery:
I assume you are on FreedomOS CE, have you flash the recovery who's recommended for the CE version?
If no, read the op: http://forum.xda-developers.com/oneplus-3/development/rom-freedomos-ce-1-7-t3470660
and use this command in fastboot:
Code:
fastboot flash recovery twrp-3.0.2-19-oneplus3.img
Lockscreen / data:
Because you have set a passcode at the booting time (not the basic lockscreen).
You can't restore all your data, because all the partition is now encrypted, the only way to access to that is to use the passcode.
The only way to fix that is to format your data partition in fastboot (not twrp).
Code:
fastboot format userdata

NevaX1 said:
Recovery:
I assume you are on FreedomOS CE, have you flash the recovery who's recommended for the CE version?
If no, read the op: http://forum.xda-developers.com/oneplus-3/development/rom-freedomos-ce-1-7-t3470660
and use this command in fastboot:
Code:
fastboot flash recovery twrp-3.0.2-19-oneplus3.img
Lockscreen / data:
Because you have set a passcode at the booting time (not the basic lockscreen).
You can't restore all your data, because all the partition is now encrypted, the only way to access to that is to use the passcode.
The only way to fix that is to format your data partition in fastboot (not twrp).
Code:
fastboot format userdata
Click to expand...
Click to collapse
THANK YOU SO MUCH! The data format completely fixed it for me, thank you so much!

I have rooted my OP3 and manually updated to 3.2.6 O2 os,but unfortunately device get unrooted and no custom recovery is there.But now i want to root and install custom recovery but Facing problem with ADB Interface Device can't be detected in Fastboot mode????please help me out.

Related

Stuck on splash screen "Your device has been unlocked and can't be trusted."

Stuck on splash screen "Your device has been unlocked and can't be trusted."
Hello, first I apologize for my English.
After a factory reset of my Honor 7X ((BND-L21), and a failed flashing of TWRP, my device stuck on "Your device has been unlocked and can't be trusted...Your device is booting now..." at every boot.
I tried to re-flash TWRP recovery through fastboot (PHONE Unlocked, FRP Unlock). At every time the process on the command window works but when I want to boot into TWRP, nothing appears, the device reboot and got stuck on the same splash screen.
I can't boot into eRecovery (I think I deleted it...).
I can't use dload method (I tried but when I hold both volume buttons + power, nothing happens, it reboots into the same screen as usual.
I tried to unbrick the device with Huawei Multi-Tool, the process works but nothing new on the device.
I tried to drain the battery, without results.
If you want any precisions in order to help me, don't hesitate.
Thank you all very much, any help will be really appreciated.
gabrce said:
Hello, first I apologize for my English.
After a factory reset of my Honor 7X ((BND-L21), and a failed flashing of TWRP, my device stuck on "Your device has been unlocked and can't be trusted...Your device is booting now..." at every boot.
I tried to re-flash TWRP recovery through fastboot (PHONE Unlocked, FRP Unlock). At every time the process on the command window works but when I want to boot into TWRP, nothing appears, the device reboot and got stuck on the same splash screen.
I can't boot into eRecovery (I think I deleted it...).
I can't use dload method (I tried but when I hold both volume buttons + power, nothing happens, it reboots into the same screen as usual.
I tried to unbrick the device with Huawei Multi-Tool, the process works but nothing new on the device.
I tried to drain the battery, without results.
If you want any precisions in order to help me, don't hesitate.
Thank you all very much, any help will be really appreciated.
Click to expand...
Click to collapse
There must be more to the story of what goes on to the device.
You only say factory reset and failed twrp install.
But also say the fastboot screen show successful flash of twrp.
So how did you flash it? What command?
Also say you cannot boot erecovery , think it erased. How, when?
I think maybe you flashed wrong partition, but need your input as to what command you used.
mrmazak said:
There must be more to the story of what goes on to the device.
You only say factory reset and failed twrp install.
But also say the fastboot screen show successful flash of twrp.
So how did you flash it? What command?
Also say you cannot boot erecovery , think it erased. How, when?
I think maybe you flashed wrong partition, but need your input as to what command you used.
Click to expand...
Click to collapse
Thank you for your answer.
I flashed TWRP with the command "fastboot flash recovery_ramdisk twrp_7x.img".
Yes, at the beginning I would like to install a custom rom, but it failed so I did a factory reset with twrp. After that I tried to install the original firmware and unbrick the device with Huawei Multi-Tool (by following an other thread).
Everything goes well on Huawei MT screen, but not on the device (bootloop after rebooting).
I tried to force original firmware installation using Fastboot commands (fastboot erase name of partition and fastboot flash name of the partition file.img). I flashed system.img, cust.img, product.img, vendor.img, ramdisk.img.
gabrce said:
Thank you for your answer.
I flashed TWRP with the command "fastboot flash recovery_ramdisk twrp_7x.img".
Yes, at the beginning I would like to install a custom rom, but it failed so I did a factory reset with twrp. After that I tried to install the original firmware and unbrick the device with Huawei Multi-Tool (by following an other thread).
Everything goes well on Huawei MT screen, but not on the device (bootloop after rebooting).
I tried to force original firmware installation using Fastboot commands (fastboot erase name of partition and fastboot flash name of the partition file.img). I flashed system.img, cust.img, product.img, vendor.img, ramdisk.img.
Click to expand...
Click to collapse
Oooooh. Sounds like it's possible you have mixed Oreo and nougat partitions somehow
This I have seen before when using multi tool. When not correctly setup
Try from fastboot to get the prop file.
"Fastboot get prop"
I think is correct command.
I will check in my notes, when I can to see.
Interested in seeing what build number is shown if any .
And if possible to get a partition layout, but I don't think you can from fastboot alone.
mrmazak said:
Oooooh. Sounds like it's possible you have mixed Oreo and nougat partitions somehow
This I have seen before when using multi tool. When not correctly setup
Try from fastboot to get the prop file.
"Fastboot get prop"
I think is correct command.
I will check in my notes, when I can to see.
Interested in seeing what build number is shown if any .
And if possible to get a partition layout, but I don't think you can from fastboot alone.
Click to expand...
Click to collapse
Thank you but "fastboot get prop" is not the right command. If anybody has a solution it will be awesome.
Download the latest full ota package for your device (around 2gb)
Extract the contents of the update. App using huawei firmware extractor and
Flash
kernel
Ramdisk
Recover ramdisk
System and cust images using fastboot
After that flash the correct version of twrp for your device and then install images of version and vendor(found in update. App file) partitions using twrp.
.
This method worked for me
It didn't worked for me... Do you know any other method?
I tried many TWRP versions but the phone doesn't boot into TWRP...

ROM installation failure : Encrypted file PARADOX

I have managed till installing twrp, however it seems like all the downloaded rom files and decrypt.zip are encrypted. I tried to copy 'em to the internal storage again but as I boot to twrp it again goes to encrypted mode. In Twrp, I tried to enable the MTP and copy files directly but it always fails. How do I go from here?? Please help!
Phone : MI mix 2
bootloader : unlocked
Twrp : installed
Twrp variant: Dwight twrp
Rom : Pixel Experience/ RR/ HAVOC etc
Use orange twrp
KaptanHarlock said:
Use orange twrp
Click to expand...
Click to collapse
orange twrp ? could you tell me where can I get it?
My 2 cents:
If you can still boot whatever OS you have right now, back up things you need (including internal storage), then format /data. Reboot into recovery and flash whatever you want, optionally DecScript to switch to unencrypted data after next boot. OrangeFox recovery is not necessary but its UI could be seen as intuitive to some.
AndyYan said:
My 2 cents:
If you can still boot whatever.... .
Click to expand...
Click to collapse
I can boot in Twrp and Miui10 OS too. I want to install custom rom, but the rom.zip files turns out encrypted when booting up in Twrp. while being in Twrp I tried to transfer " unencrypted rom.zip " files in my PC to internal storage to flash it but I can't transfer it even after enabling MTp in Twrp.
How do I install the rom is my problem. Shall I wipe data, cache? and then how?
xdasith said:
I can boot in Twrp and Miui10 OS too. I want to install custom rom, but the rom.zip files turns out encrypted when booting up in Twrp. while being in Twrp I tried to transfer " unencrypted rom.zip " files in my PC to internal storage to flash it but I can't transfer it even after enabling MTp in Twrp.
How do I install the rom is my problem. Shall I wipe data, cache? and then how?
Click to expand...
Click to collapse
So you're seeing the storage as encrypted (garbled content)? I never actually used encrypted data so I don't know for sure, but Wight's TWRP might not be able to decrypt MIUI's /data, so IMO you do need to format (not wipe) /data. You might also need to reboot to recovery once after that, so that the storage is recognized properly by PC.
..d properly by PC.[/QUOTE said:
Thanks. ok I will factory reset the phone reboot to twrp. Im using Mi phone for the first time, so i was scared that might locked the bootloader again. it wont relock the bootloader would it? guess im asking too many stupid questions. I never had to go thru this kinda situation on my samsung devices. Thanks for helping
Click to expand...
Click to collapse
AndyYan said:
So you'... C.
Click to expand...
Click to collapse
still not working. I wonder how people are installing Roms when you are booting in Twrp and finding everything encrypted.
xdasith said:
still not working. I wonder how people are installing Roms when you are booting in Twrp and finding everything encrypted.
Click to expand...
Click to collapse
Boot into TWRP and select Wipe and then Select the Format Data button.
Make sure you're not sliding to factory reset or advance wiping.
NOTE: This will erase all the information from the phone including internal storage. Make a backup prior this process.
After you're done, you can connect the phone to a PC while on TWRP to copy the rom zip files to internal storage and flash them. A backup from TWRP is highly recommended just in case.
xdasith said:
still not working. I wonder how people are installing Roms when you are booting in Twrp and finding everything encrypted.
Click to expand...
Click to collapse
Emphasis on "format (not wipe)"... Lester already made it clear for you.
lester0310 said:
Boot into TWRP and......
Click to expand...
Click to collapse
thanks. I'll do that as soon as I reach home. I'll let you know the progress. I hope everything works well.
AndyYan said:
Emphasis on "format (not wipe)"... Lester already made it clear for you.
Click to expand...
Click to collapse
Ok. Now I got it. I'll do that n will let you know. Thanks again. Can't wait to try the rom. I'll drop some "beer" coins in ROM's donate account soon. Hope the link works.
AndyYan said:
Emphasis on "format (not wipe)"... Lester already made it clear for you.
Click to expand...
Click to collapse
Thanks for the help. I'll drop some beer coins at your rom's Donate link soon
xdasith said:
I have managed till installing twrp..c
Click to expand...
Click to collapse
Hey! It works! I'm enjoying LOS16 on mi mix 2.
My problems :
1. Booting to Recovery Twrp :
only thru fastboot mode > fastboot boot twrp.img, Mi inbuilt recovery prevent me to boot to twrp.
Is there any way to go to twrp by just pressing buttons?
2. Flashing magisk/Universal_Decrypt.Zip Bootloops
xdasith said:
Hey! It works! I'm enjoying LOS16 on mi mix 2.
My problems :
1. Booting to Recovery Twrp :
only thru fastboot mode > fastboot boot twrp.img, Mi inbuilt recovery prevent me to boot to twrp.
Is there any way to go to twrp by just pressing buttons?
2. Flashing magisk/Universal_Decrypt.Zip Bootloops
Click to expand...
Click to collapse
Both work fine on my side so I'm assuming there's still something wrong with your setup, but on the other hand I don't really have a clue...
xdasith said:
Hey! It works! I'm enjoying LOS16 on mi mix 2.
My problems :
1. Booting to Recovery Twrp :
only thru fastboot mode > fastboot boot twrp.img, Mi inbuilt recovery prevent me to boot to twrp.
Is there any way to go to twrp by just pressing buttons?
2. Flashing magisk/Universal_Decrypt.Zip Bootloops
Click to expand...
Click to collapse
1- There are multiples ways to reboot to recovery:
Buttons combination: Turn the phone off and press Power + Volume Down and it will boot to recovery.
Apps (root required): There are multiples apps that has a option to reboot to recovery directly. Search something like advance reboot on Play Store.
adb (USB debugging required): Running the command "adb reboot recovery" from terminal will reboot the phone into recovery.
2- To flash magisk, first flash the rom and gapps and reboot to system, finish the initial setup and then reboot to recovery and flash the magisk zip file. Next reboot will take a few minutes.
Edit: The universal decrypt file is not necessary since the data partition is no longer encrypted.
lester0310 said:
1- There are multiples ways to reboot to recovery:
Buttons combination: Turn the phone off and press Power +...
Edit: The universal decrypt file is not necessary since the data partition is no longer encrypted.
Click to expand...
Click to collapse
Yes i agree. The thing is Mi has its own recovery, thats preventing me from going to twrp directly, (even though) twrp is properly installed. if i press the button combination it will go to the "Miui inbuilt recovery" Not to twrp. so i go the fastboot mode and boot to Twrp recovery thru adb command. If only I could suppress inbuilt recovery and boot to twrp recovery it would be great. Apps like "boot to recovery" only initiate booting in recovery. It fails to choose Twrp because there are two recovery inside.
In my previous devices, honor 8pro n Samsung 8+ this wasnt an issue. But with Mi phone...
Does yours boots to Twrp directly with the button combination?
xdasith said:
Yes i agree. The thing is Mi has its own recovery, thats preventing me from going to twrp directly, (even though) twrp is properly installed. if i press the button combination it will go to the "Miui inbuilt recovery" Not to twrp. so i go the fastboot mode and boot to Twrp recovery thru adb command. If only I could suppress inbuilt recovery and boot to twrp recovery it would be great. Apps like "boot to recovery" only initiate booting in recovery. It fails to choose Twrp because there are two recovery inside.
In my previous devices, honor 8pro n Samsung 8+ this wasnt an issue. But with Mi phone...
Does yours boots to Twrp directly with the button combination?
Click to expand...
Click to collapse
That's means that the TWRP recovery is not installed, there's is just one recovery partition and only one can be installed at the same time.
From fastboot mode run "fastboot flash recovery twrp.img"
That will replace the stock recovery and you will be able to boot to twrp with the button combination and any other app running the reboot recovery command.
lester0310 said:
That's means that the TWRP recovery is not installed, there's is just one recovery partition and only one can be installed at the same time.
From fastboot mode run "fastboot flash recovery twrp.img"
That will replace the stock recovery and you will be able to boot to twrp with the button combination and any other app running the reboot recovery command.
Click to expand...
Click to collapse
I installed Twrp with that command only once. After that, i have been using "fastboot boot twrp.img" only to boot in twrp.
Ok ill try reflashing twrp again with "fastboot flash recovery twrp.img"
xdasith said:
I can boot in Twrp and Miui10 OS too. I want to install custom rom, but the rom.zip files turns out encrypted when booting up in Twrp. while being in Twrp I tried to transfer " unencrypted rom.zip " files in my PC to internal storage to flash it but I can't transfer it even after enabling MTp in Twrp.
How do I install the rom is my problem. Shall I wipe data, cache? and then how?
Click to expand...
Click to collapse
Just remove lockscreen protection before rebooting into recovery. You will be fine. Do this before everytime you want something done in TWRP. You won't have to format DATA partition everytime. TWRP will decrypt with default password and you'll be good. I have moved between MIUI 10 and pie roms without trouble this way.
---------- Post added at 05:32 PM ---------- Previous post was at 05:31 PM ----------
xdasith said:
I installed Twrp with that command only once. After that, i have been using "fastboot boot twrp.img" only to boot in twrp.
Ok ill try reflashing twrp again with "fastboot flash recovery twrp.img"
Click to expand...
Click to collapse
You can just use power + volume up combo to get into TWRP recovery. You don't basically need to fastboot for recovery after it's installed.

Wiped everything using TWRP and need help restoring.

Hi.
So I was messing around with the twrp custom recovery and (without thinking much of it) wiped everything in the advanced wipe menu :crying: (System, data, EVERYTHING)
I knew I had removed my OS and that I could just use the twrp recovery to install a new rom onto my phone BUT little did I know, when I tried to boot into the custom recovery, it would just loop the screen with the redmi logo
I am still able to boot into fastboot mode, and I have tried to flash the same twrp recovery but with no avail (It still loops the redmi logo screen)
So now I'm here to ask if there is any advice that you could give me to try and fix this problem that I have gotten myself in (I am not worried about deleting any of my personal files. I would just like to get twrp to boot so that I can install another rom)
Thanks in advance to anyone who can help me with this problem :highfive:
Hi, which rom are you trying to install? for android 9 use this recovery https://forum.xda-developers.com/re...overy-unofficial-twrp-recovery-redmi-t4002397, for android 10 this one... https://forum.xda-developers.com/showpost.php?p=82062075&postcount=7...
If what nuvulet said doesn't work, in fastboot, flash the exact same stock ROM you had before, let it boot and then flash TWRP.
nuvulet said:
Hi, which rom are you trying to install? for android 9 use this recovery https://forum.xda-developers.com/re...overy-unofficial-twrp-recovery-redmi-t4002397, for android 10 this one... https://forum.xda-developers.com/showpost.php?p=82062075&postcount=7...
Click to expand...
Click to collapse
Hi, thanks for the fast reply.
The stock android I had before I wiped everything was android 9, MIUI 11. I tried againt to flash the recovery through fast boot but (like before) when I try to boot into the recovery (by holding the volume up button as it reboots), the redmi logo keeps appearing and disappearing and doesn't go to the twrp recovery. At the current moment I don't have any OS installed (since it got deleted when I wiped everything)
Any other leads I could try?
wang1chung said:
If what nuvulet said doesn't work, in fastboot, flash the exact same stock ROM you had before, let it boot and then flash TWRP.
Click to expand...
Click to collapse
I'm not sure how I can flash the stock ROM without the twrp recovery. I had the impression that you needed twrp recovery in order to install ROMs in the first place.
If there is a method to flash a ROM using fastboot, please explain since my unexperienced self has no idea how to do this. :laugh:
Thanks for the fast reply too
Sqorpz said:
I'm not sure how I can flash the stock ROM without the twrp recovery. I had the impression that you needed twrp recovery in order to install ROMs in the first place.
If there is a method to flash a ROM using fastboot, please explain since my unexperienced self has no idea how to do this. :laugh:
Thanks for the fast reply too
Click to expand...
Click to collapse
MiFlash works through fastboot mode. It's also safer to flash with MiFlash, just make sure you have the correct ROM.
I can't find the guide right now, I'm at work
Ok, do you know adb fastboot... if not, follow this guide...
https://forum.xda-developers.com/showthread.php?t=2317790
Install usb adb drivers for RN8P if you don't have, try this for w10...
https://forum.xda-developers.com/redmi-note-8-pro/help/usb-drivers-t4035617
Download twrp for android 9 or android 10 from here...
https://forum.xda-developers.com/showpost.php?p=82115341&postcount=2
Put the recovery (*.img format) into installed adb folder...
Open cmd and navigate to inside adb folder...
Put the phone into fastboot mode (press volume- and power) connect usb and type in console...
adb devices (this start adb server)
Type...
fastboot devices (this return a device number, if not, something is wrong)
Type...
fastboot flash recovery *.img (change * for the name of the recovery file)
Disconnect the phone and press volume+ and power at the same time and now you have twrp intalled...
When start if the data is encrypted, push cancel, go to wipe, go to format data, type "yes", and confirm slide...
Now connect the phone to usb (if not recognize the phone, go to mount, and enable MTP)
Copy the rom in to internal storage for your android twrp version... search here
https://forum.xda-developers.com/redmi-note-8-pro/how-to/redmi-note-8-pro-android-10-public-t4072795
You have several versions... for eu, search in my post...
And the rest, install, select, etc. etc....
nuvulet said:
Ok, do you know adb fastboot... if not, follow this guide...
https://forum.xda-developers.com/showthread.php?t=2317790
Install usb adb drivers for RN8P if you don't have, try this for w10...
https://forum.xda-developers.com/redmi-note-8-pro/help/usb-drivers-t4035617
Download twrp for android 9 or android 10 from here...
https://forum.xda-developers.com/showpost.php?p=82115341&postcount=2
Put the recovery (*.img format) into installed adb folder...
Open cmd and navigate to inside adb folder...
Put the phone into fastboot mode (press volume- and power) connect usb and type in console...
adb devices (this start adb server)
Type...
fastboot devices (this return a device number, if not, something is wrong)
Type...
fastboot flash recovery *.img (change * for the name of the recovery file)
Disconnect the phone and press volume+ and power at the same time and now you have twrp intalled...
When start if the data is encrypted, push cancel, go to wipe, go to format data, type "yes", and confirm slide...
Now connect the phone to usb (if not recognize the phone, go to mount, and enable MTP)
Copy the rom in to internal storage for your android twrp version... search here
https://forum.xda-developers.com/redmi-note-8-pro/how-to/redmi-note-8-pro-android-10-public-t4072795
You have several versions... for eu, search in my post...
And the rest, install, select, etc. etc....
Click to expand...
Click to collapse
Yes, this is the method I used to flash the twrp recovery.
My problem was that even after installing it (using this method), i would still not be able to boot into the recovery.
However, it is fixed now. I used the Mi Flash tool in order to install the stock rom and then installed twrp after that. :good:
wang1chung said:
MiFlash works through fastboot mode. It's also safer to flash with MiFlash, just make sure you have the correct ROM.
I can't find the guide right now, I'm at work
Click to expand...
Click to collapse
I tried this method and IT WORKED!!
After installing Mi flash I was able to download the stock rom and install it through the program without any errors.
I was then able to finally boot into the OS and install twrp recovery, then install the custom rom! :laugh:
Thanks for this method. I would probably still be stuck on the Redmi logo if it weren't for this

How to make a backup with LineageOs recovery?

On an older phone I used TWRP recovery. That has a brilliant option to create system backups.
How to do that in the LineageOs recovery?
I want to clone one phone to another identical phone. I hope that can be done by creating a backup on phone 1 and install it from recovery on the other. Hopefully including the OS (with all the setting that take hours of fiddling about), apps and data.
Just use twrp..?
PhotonIce said:
Just use twrp..?
Click to expand...
Click to collapse
But fom what I understand the TWRP-backup is only the system, not the apps and data.
In the install instructions for lineageOs, the lineageOs recovery is used. So I followed the instructions exactly. Just surprised there is no backup option.
carsten888 said:
But fom what I understand the TWRP-backup is only the system, not the apps and data.
In the install instructions for lineageOs, the lineageOs recovery is used. So I followed the instructions exactly. Just surprised there is no backup option.
Click to expand...
Click to collapse
Obliviously no, twrp backup include everything. I use twrp and when I have to install new lineage os update I boot lineage recovery from fastboot and keep internal recovery as twrp
carsten888 said:
But fom what I understand the TWRP-backup is only the system, not the apps and data.
In the install instructions for lineageOs, the lineageOs recovery is used. So I followed the instructions exactly. Just surprised there is no backup option.
Click to expand...
Click to collapse
Use twrp backup and select all the partitions. It'll back up everything.
Apps and settings are located in the data partition and other files/data is located in the internal storage partition. boot is the kernel, recovery is the recovery and system in the system image.
If you know what you're doing you could even install a fresh copy of lineage onto another phone and just restore the data and internal storage partitions, and still receive an exact copy of the phone you backup up from while using less space in the backup.
... An additional question. I apologize if my n00b question should be something I already know. However, I briefly had twrp on my device and then I flashed lineageOS and magisk on slot b and of course it switched to boot from slot b. Since then, I have not been able to access twrp as it is located on slot a. When I boot into recovery, it brings me automatically to lineageOS recovery. How would I access twrp once again?
Paul_Neocube said:
... An additional question. I apologize if my n00b question should be something I already know. However, I briefly had twrp on my device and then I flashed lineageOS and magisk on slot b and of course it switched to boot from slot b. Since then, I have not been able to access twrp as it is located on slot a. When I boot into recovery, it brings me automatically to lineageOS recovery. How would I access twrp once again?
Click to expand...
Click to collapse
Not sure what you mean by slot A and B, but just try flashing twrp again, it should override lineage recovery.
PhotonIce said:
Not sure what you mean by slot A and B, but just try flashing twrp again, it should override lineage recovery.
Click to expand...
Click to collapse
On my device there are two slots... A and B. Like two separate partitions that van have software installed to. When I installed my rom I first installed twrp to slot a and then my Tom to slot b which is what runs now when I power on my device. I can't install twrp to the slot my os is on as I would have issues with the os recovery that is on that slot.
Skorpion96 said:
Obliviously no, twrp backup include everything. I use twrp and when I have to install new lineage os update I boot lineage recovery from fastboot and keep internal recovery as twrp
Click to expand...
Click to collapse
Could you please explain (or link to instructions) how did you manage to have two different recoveries (TWRP and LOS) in the same phone? I would've thought that was not possible.
zogoibi said:
Could you please explain (or link to instructions) how did you manage to have two different recoveries (TWRP and LOS) in the same phone? I would've thought that was not possible.
Click to expand...
Click to collapse
It's not. He keeps LineageOS recovery on the phone, and when he wants to use TWRP, he connects the phone to his computer via USB and runs fastboot boot twrp.img from the command line. This reboots the phone and loads TWRP into memory without flashing it to the phone.
@MJPollard Wow!! That's a very intersting trick! thanks a lot. I'll take that down as it seems darn useful. Just one question: the "alternative" recovery .img file should be in my computer, or previously copied to the phone?
zogoibi said:
@MJPollard Wow!! That's a very intersting trick! thanks a lot. I'll take that down as it seems darn useful. Just one question: the "alternative" recovery .img file should be in my computer, or previously copied to the phone?
Click to expand...
Click to collapse
actually i done the reverse, i have twrp installed and when i want to run lineage recovery i boot it with fastboot boot "recovery.img"
Thanks. Yes, I've realized that. Still, my question remains unanswered: In order to boot via fastboot, should the alternative recovery's .img file reside in the computer or in the phone? I presume the former, but I'm not sure.
zogoibi said:
Thanks. Yes, I've realized that. Still, my question remains unanswered: In order to boot via fastboot, should the alternative recovery's .img file reside in the computer or in the phone? I presume the former, but I'm not sure.
Click to expand...
Click to collapse
You ever flashed TWRP via cmd (adb) on a pc? It's the same thing but you use fastboot flash rather than fastboot boot. When you flash twrp on phone, you put the recovery.img file in your adb folder, if I'm not mistaken. The same thing goes for booting an .img file (it goes in the adb directory/folder in your pc).
zogoibi said:
Thanks. Yes, I've realized that. Still, my question remains unanswered: In order to boot via fastboot, should the alternative recovery's .img file reside in the computer or in the phone? I presume the former, but I'm not sure.
Click to expand...
Click to collapse
The alternate recovery should remain on the computer. It can be in the same folder as adb and fastboot for easy access (it doesn't need to be there, it's just easier that way). That way, all you need to do is reboot the device into fastboot mode, connect it to the computer via USB, and run fastboot boot twrp.img (or whatever it's named). The original recovery will remain untouched on the phone while the alternate recovery runs in memory.
MJPollard said:
That way, all you need to do is reboot the device into fastboot mode, connect it to the computer via USB, and run fastboot boot twrp.img (or whatever it's named). The original recovery will remain untouched on the phone while the alternate recovery runs in memory.
Click to expand...
Click to collapse
Thank you. I know this question is a bit off topic, but when I try to run that command (with the phone in fastboot mode), it fails:
fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 1.611s]
booting...
FAILED (remote: Unrecognized command boot)
Do you have an idea of why is that? My device's recovery is LOS's, and the recovery I try to run from the computer is TWRP.
zogoibi said:
Thank you. I know this question is a bit off topic, but when I try to run that command (with the phone in fastboot mode), it fails:
fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 1.611s]
booting...
FAILED (remote: Unrecognized command boot)
Do you have an idea of why is that? My device's recovery is LOS's, and the recovery I try to run from the computer is TWRP.
Click to expand...
Click to collapse
Try fastboot boot recovery twrp.img. I don't normally do this so I might have misremembered it. If it works, I'll edit my post so that others don't get confused.
Nope, it didn't work. The first command you told me is the correct one (I've checked that on the fastboot manual), but it fails on my device. Maybe there is some incompatibility between LOS recovery's fastboot mode and the TWRP I am trying to run. I won't insist, as this is not the thread for such an issue. I will try to find some information somewhere else. Thank you all the same for trying to help!
zogoibi said:
Nope, it didn't work. The first command you told me is the correct one (I've checked that on the fastboot manual), but it fails on my device. Maybe there is some incompatibility between LOS recovery's fastboot mode and the TWRP I am trying to run. I won't insist, as this is not the thread for such an issue. I will try to find some information somewhere else. Thank you all the same for trying to help!
Click to expand...
Click to collapse
have you found a solution for this? I m also having same trouble lineage os 20. I wanna use TWRP to make backup of whole rom.
agamemnonn said:
have you found a solution for this? I m also having same trouble lineage os 20. I wanna use TWRP to make backup of whole rom.
Click to expand...
Click to collapse
I found out that it's not possible. LOS Recovery's fastboot mode has that command disabled.

Recovering data on a DEAD Redmi Note 8 PRO

Hello,
I hope this is the right section for this post.
I've been using a Note 8 Pro with zero issues until one week ago when I accidentally dropped the phone in the water.
After a few seconds submerged the display turned off and I felt an intense heat coming from the zone of the battery.
Having no chance to recover the phone (tried with Isopropyl Alcohol too) I decided to open it and manually dry/clean each component, having seen the situation inside gave me the phone is dead but I still want to recover some pictures/data from it.
Before opening the open Minitool was not detecting any device on my Windows Laptop, after cleaning each component Minitool is instead detecting the phone via USB, but I still can't extract any data because the "Usb debugging" option is not tuned on (and no the device is not rooted).
Is there any option to extract data from the phone? There's a way to turn on USB Debugging via ADB on a non-rooted phone?
Thanks,
Andrea.
how about trying your luck with a service ? most of the time they do have access to special programs, which have a better functionality than adb.
Thanks for the hint, but I am not happy with the idea of someone playing with my data
1. Try reboot phone to recovery
2. Connect it to your computer (download Platform-tools)
3. In the folder with Platform-tools open cmd
4. In cmd - adb shell
5. cd storage/emulated/0
6. ls
7. Now, using the commands, drag files from your phone to your PC
Thanks for your hint.
No luck so far, I think because the phone is not in recovery mode.
I can hear the phone starting up several times (hear the jingle) so I think it's in a reboot loop and I don't know how to boot it into recovery mode wo a working display (tried with power/volume up combination with no luck).
From the windows taskbar I can see that the phone is recognized for a few seconds before it restarts.
EDIT: trying to switch the phone on with the combination "power/volume down" brings to a kind of stable state and I can now see the phone in the windows taskbar recognized as a generic "android device". Still no luck when trying to access the phone as there's no device in windows and no device obtained through "adb devices" command.
EDIT1: I think that the phone is in "FASTBOOT" mode. If I type "fastboot devices" I can see it detected but still can't access it.
Any idea? Should I give up?
If it's popping up and down you need something to keep track.
You can try my UsbLog.exe (in the sig), it just sits there and shows what devices appear (if they have a driver) and disappear.
Try these to see if anything is working:
Code:
C:\>fastboot devices
C:\>fastboot getvar all
C:\>fastboot oem device-info
Yes it's popping up and down when it's booted in recovery mode whilst is stably connected when in fastboot mode but in this case I can't access the internal memory of the device.
I didn't get the purpose of logging the devices connecting to the USB as I can see the device connected for a while and correctly recognized as Redmi Note 8 pro but as it keeps popping out windows have no time to show it's folder.
As for the code you wrote: i will try asap but already tried with "fastboot devices" and I get the phone correctly listed but still can't access its memory as told.
Renate said:
If it's popping up and down you need something to keep track.
You can try my UsbLog.exe (in the sig), it just sits there and shows what devices appear (if they have a driver) and disappear.
Try these to see if anything is working:
Code:
C:\>fastboot devices
C:\>fastboot getvar all
C:\>fastboot oem device-info
Click to expand...
Click to collapse
After rebooting the phone in fastboot mode I can see it recognized as a generic android device from windows (still can't access the storage folder of the device).
fastboot devices----> I get the device listed with a series of numbers/letters
fastboot getvar all---> I get a list of information on token/token version/partition type and size/baseband/bootloader etc.
fastboot oem device-info----> FAILED (remote: unknown command)
So I think it's clear that the device is in Fastboot mode and instead is in a boot loop when started in revocery mode.
Is there a way to extract data from fastboot mode?
Thanks,
Andrea.
If you put a custom recovery on it in the first place you can try reflashing recovery from fastboot.
Fastboot doesn't allow you to read anything.
oem device-info is obviously an oem command that might not be on any device.
You've got a Mediatek processor. That has some low level equivalent to Qualcomm EDL, but I have no experience with that.
If you can get there you can download the user data partition, but it's probably encrypted. Also no experience with that.
The easiest is if you can get the system to mount/decrypt the partition.
You've tried the normal system too?
Is this A/B? Have you tried changing slots?
How much time does it stay up in recovery? Do you have ADB? Maybe try:
Code:
# stop recovery
Does that prevent it from looping?
So I should try to flash a custom recovery like TWRP for example?
What you mean with "normal system too"?
Changing slots you mean changing usb port?
It stays in recovery less than one second so I can't give any command via ADB.
EDIT: cant' flash any custom recovery because the bootloader is locked.
If I Try to unlock the bootloader via MiUnlock I get a warning saying that all data will be erased.
Any idea on how to unlock the bootloader wo wiping all the data?
Sephiroth79 said:
So I should try to flash a custom recovery like TWRP for example?
What you mean with "normal system too"?
Changing slots you mean changing usb port?
It stays in recovery less than one second so I can't give any command via ADB.
EDIT: cant' flash any custom recovery because the bootloader is locked.
If I Try to unlock the bootloader via MiUnlock I get a warning saying that all data will be erased.
Any idea on how to unlock the bootloader wo wiping all the data?
Click to expand...
Click to collapse
There is a mediatek bootloader unlocked you just have to boot in Brom mode and it'll unlock it please follow this
PS: press all buttons
MysticNoOb said:
There is a mediatek bootloader unlocked you just have to boot in Brom mode and it'll unlock it please follow this
PS: press all buttons
Click to expand...
Click to collapse
My bootloader is unlocked!
Thank you very much.
Now I am going to try to flash a custom recovery mode via fastboot in order to access the internal memory of the phone.
EDIT: I've just flashed twrp-3.6.2_9-0-begonia.img but still can't boot into recovery mode.
Any hint on how to extract data from the system now?
You really want to boot the normal system because that's the best way to get decrypted data.
I realized that you don't have ADB enabled there.
You should look at B. Kerler's https://github.com/bkerler/mtkclient/
If you can pull the boot image off your device then I might be able to fix it so that you have ADB.
You'd have to flash it back in fastboot or mtkclient.
You can also pull a copy of userdata off the device with mtkclient.
As far as booting into recovery, there's a way.
Here's how, if you don't have A/B (that is you flashed TWRP into recovery and not recovery_a or recovery_b)
then you can fastboot flash a special file into the misc partition and it wil boot into recovery next reboot.
To return things to normal you have to flash the empty file to the misc partition.
Code:
C:\>fastboot flash misc misc-rec.img
C:\>fastboot reboot
Only do this if you don't have partitions that end in _a or _b
I really don't know if I have partitions A and B as you mentioned and I think there's no way to check actually.
I confirm I don't have "USB Debugging" active on the phone.
So if I understand correctly I should do the following:
- Flash misc-reg.img via Fastboot
- Boot into recovery just rebooting the system after flashing the above file;
- use MTKclient to dump userdata or boot image to enable ADB on (I will need help with mtkclient I suppose).
Is it correct?
EDIT: flashed TWRP first and misc-rec then rebooted via Fastboot/Reboot but nothing happens.
Sephiroth79 said:
My bootloader is unlocked!
Thank you very much.
Now I am going to try to flash a custom recovery mode via fastboot in order to access the internal memory of the phone.
EDIT: I've just flashed twrp-3.6.2_9-0-begonia.img but still can't boot into recovery mode.
Any hint on how to extract data from the system now?
Click to expand...
Click to collapse
TWRP cant boot because you used wrong one. Search again in that unlock bootloader channel and use suitable one.
Kirasu2080 said:
TWRP cant boot because you used wrong one. Search again in that unlock bootloader channel and use suitable one.
Click to expand...
Click to collapse
Hmmm, I am almost sure that the TWRP I've flashed was listed under Redmi Note 8 pro page. Can you please indicate more precisely where should I sera
EDIT: I think I've downloaded and flashed the correct TWRP file.
@Renate can you please detail your method so I can try to extract data from the phone?
Sephiroth79 said:
Hmmm, I am almost sure that the TWRP I've flashed was listed under Redmi Note 8 pro page. Can you please indicate more precisely where should I sera
EDIT: I think I've downloaded and flashed the correct TWRP file.
@Renate can you please detail your method so I can try to extract data from the phone?
Click to expand...
Click to collapse
1/Yeah it's official. You "flashed correct TWRP." Downgrade to Miui Android 9 (_9 in it's name) to boot into that TWRP and lose your data.
2/In unlock bootloader video above, search other video in his channel playlist and find TWRP video suitable for your Miui version.
Kirasu2080 said:
1/Yeah it's official. You "flashed correct TWRP." Downgrade to Miui Android 9 (_9 in it's name) to boot into that TWRP and lose your data.
2/In unlock bootloader video above, search other video in his channel playlist and find TWRP video suitable for your Miui version.
Click to expand...
Click to collapse
Can't find the right video, can you kindly send me a link (I am on the latest Miui version and I am in Europe)?
In all the videos I've seen on his page he is using the device to install TWRP etc.
I think I just need the correct TWRP version for my MIUI release and then I'll flash TWRP and misc-reg.img. Is it right?
Sephiroth79 said:
Can't find the right video, can you kindly send me a link (I am on the latest Miui version and I am in Europe)?
In all the videos I've seen on his page he is using the device to install TWRP etc.
I think I just need the correct TWRP version for my MIUI release and then I'll flash TWRP and misc-reg.img. Is it right?
Click to expand...
Click to collapse
Use brp 3.5.2 v3.1 or V3.6 to decrypt Miui 12.5

Categories

Resources