So I'm in a bit of a pickle regarding the encryption on my OP2. The problem is this, I rooted and installed a custom rom which I went on to encrypt using androids native encryption. I've since this installed a new rom but the encryption is still active when booting to recovery and my lock screen pin is required to get the phone to start, even when its a fresh rom install and full data wipe? I've eve tried replacing the recovery to the latest version of twrp through adb but just get the following:
"C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (22032 KB)...
OKAY [ 0.576s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.600s"
Any thoughts?
Unlock bootloader
Sent from my ONE A2005 using Tapatalk
Related
I almost tried everything to root and install TWRP on my Xiaomi Redmi Note 4g Dual SIM... Without success... My goal is to remove current chinese remove and install either the global version or a Cyanogen rom. But first I want to install TWRP.
What I've done:
1. Download TWRP recovery image twrp-3.0.2-0-dior.img
2. Using adb (I first renamed img file to recovery.img):
Code:
adb reboot bootloader
sudo fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (13284 KB)...
OKAY [ 0.418s]
writing 'recovery'...
OKAY [ 0.592s]
finished. total time: 1.010s
sudo fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.418s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.517s
I don't know how to get rid of this FAILED message... Currently I'm trying to install manually "su", and busybox binaries but I'm unable to mount /system partition as RW.
Any advice/suggestion is welcome.
Thank you
wrong twrp img
Never download and flash any rom or recovery name with dior. our code name is gucci. u can find at miui forum. twrp.gucci.
I have a Redmi Note 1GB ram, 2 sims ( model HM NOTE 1S CT ) running ANDROID 4.4.4 MIUI 8.6.7.28 beta.
I'm trying to install TWRP onto it but keep getting the same error as shown below:
C:\Users\david\Desktop\wt86047-TWRP3.0.2-0_LP\adb>fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.078s]
finished. total time: 0.078s
C:\Users\david\Desktop\wt86047-TWRP3.0.2-0_LP\adb>fastboot flash recovery twrp.img
target reported max download size of 268435456 bytes
sending 'recovery' (13408 KB)...
OKAY [ 0.426s]
writing 'recovery'...
OKAY [ 0.563s]
finished. total time: 0.989s
C:\Users\david\Desktop\wt86047-TWRP3.0.2-0_LP\adb>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.425s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.534s
I've tried many different twrp versions but always the same error. Anyone help ?
Why you need to flash twrp.img to boot? When I did this part, it was done already.
C:\Users\david\Desktop\wt86047-TWRP3.0.2-0_LP\adb>fastboot flash recovery twrp.img
target reported max download size of 268435456 bytes
sending 'recovery' (13408 KB)...
OKAY [ 0.426s]
writing 'recovery'...
OKAY [ 0.563s]
finished. total time: 0.989s
Click to expand...
Click to collapse
That,s just to check it. It should reboot the phone into twrp, but standard recovery is still there.
Even if I try to boot into twrp using the volume down/power button, standard recovery comes up.
Can anyone help ?
blankers said:
Can anyone help ?
Click to expand...
Click to collapse
What ROM are you on? If you are on a Custom ROM already, you can try to use TWRP manager to install.
Another option would be you flash another recovery, like PhilzTouch, and then a Custom ROM, then TWRP manager...
the 2nd command should work "fastboot flash recovery twrp.img"
in my case.its always working.i already try many times
1.flash stock miui rom using MIUI flash tool
2. flash twrp using fastboot "fastboot flash recovery twrp.img"
3. reboot
note : after flashing twp you need to execute "fastboot reboot" and miui/custom rom should boot normally
then reboot to recovery
i used twrp3.0.2
I recently bought a new android phone (Moto g4 plus). I was eager to root it and take advantage of all the features.
The problem is that whenever I try to flash a recovery image, I get this error:
C:\Users\myuser\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (12496 KB)...
OKAY [ 0.400s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.197s]
finished. total time: 0.601s
Keep in mind that the bootloader IS unlocked, I even get the warning when restarting the phone. Also this does not happen with just one image file. Every single image file gets this error. I have tried many different versions of TWRP, CLW, etc and all of them get this same error. Does anyone know how to solve this?
OKAY [ 0.197s]
finished. total time: 0.601s
Click to expand...
Click to collapse
Did you try and boot recovery after doing this? The message reports success.
When you back into fastboot you then select recovery. Is it loading the stock recovery when you do this? Don't forget it boots fastboot screen then you load the recovery in the scroll down option.
I tried flashing super su 2.79SR3 and it bootloops.
Nik2424 said:
I tried flashing super su 2.79SR3 and it bootloops.
Click to expand...
Click to collapse
2.79 stable
it is working. it might be cause 2 - 3 times bootlops
I have an unlocked BL and recently upgraded to Nougat, but when I try to reinstall TWRP via fastboot flash method, it fails. I have tried two different versions of TWRP 3.0.3-1 & 3.0.4-1. This is the message I get.
PS C:\adb> fastboot flash recovery twrp-3.0.4-1-a7.img
target reported max download size of 536870912 bytes
sending 'recovery' (14472 KB)...
OKAY [ 0.332s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.363s
Any ideas?
Here, from here.
Looks like people are having success.
Hey guys,
I can't install TWRP anymore on my unlocked "P8 lite" after the last Stock ROM Update. I've done the installation many times before without problems using Minimal ADB and fastboot and even the Universal Fastboot and ADB tool. When I try to flash I get no failed command, but nothing happens on my phone. I've tried with the newest grace .img (for "P8") and with an older .img that I've used in the past successfully. Commands "adb devices" and "adb reboot bootloader" work fine.
Any solution?
thx
CMD commands:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (26226 KB)...
OKAY [ 1.437s]
writing 'recovery'...
OKAY [ 1.172s]
finished. total time: 2.625s