[RECOVERY][TF300T/ME301T] TWRP 2.8.1.x Touch Recovery! - Transformer TF300T Android Development

Only use this recovery if you are on the latest 4.2 bootloader !!!
Since the main TWRP thread has not been updated for a long time and TWRP has moved on to version 2.8.1.x, i thought it would be a good time to start a new thread.
Like CWM is part of Cya,nogenMod, TWRP is now part of OmniROM. That means that TWRP gets build when OmniROM is build.
So to make a long story short, as long as i am building for the TF300T, i will also provide updated versions of TWRP (and maintain the device part).
This recovery can be used for the TF300T and the ME301T.
Installation is very simple. Download the recovery, It is a ZIP file that can be flashed in your current recovery (CWM or TWRP).
So:
MAKE SURE YOU ARE ON THE 4.2 BOOTLOADER (10.6.1.27.x)
Download the recovery (see second post)
Put the ZIP on the internal SDCARD
Boot into recovery
Flash the recovery ZIP
Reboot into your current ROM to finish installation of the recovery
That is it.
XDA:DevDB Information
TWRP, Tool/Utility for the Asus Transformer TF300T
Contributors
scanno
Version Information
Status: Beta
Created 2014-03-23
Last Updated 2014-10-26

Reserved
DOWNLOADS:
[TWRP 2.8.1.0]
ZIP: https://www.androidfilehost.com/?fid=95784891001602443
MD5: 87b4dca3cd137d7aa66b559d5af00f21
[TWRP 2.7.0.1]
ZIP: http://www.androidfilehost.com/?fid=23329332407579270
MD5: 6047ac79392107c962d72e38d4e7ba65
[TWRP 2.7.0.0]
ZIP: http://www.androidfilehost.com/?fid=23329332407577288
MD5: a565820db48724e773622c709b372caf

Reserved
CHANGELOG:
[2.8.1.0]
All upstream changes
TrueType fonts
CPU temperature supoort
Bug fixes
[2.7.0.1]
- Support for pre kitkat roms
[2.7.0.0]
-Faster graphics rendering by disabling alpha blending on fully opaque objects thanks to Tassadar
-Allow sideloading from /tmp on encrypted devices
-Check for a crypto footer before asking for a password to prevent user confusion
-Additional checks for validity to auto generated backup names
-Text wrap in the console output
-Proper caps lock support in the keyboard
-Mouse support via USB OTG for devices with a broken digitizer
-Improve scanning of storage locations for OpenRecoveryScript
-Haptic feedback for buttons, keyboard, and vibration at the end of longer running actions thanks to Samer Diab
-Fixed ext4 wiping when no selinux contexts are defined for that partition (e.g. sd-ext)
-Update SuperSU to 1.93 and improve installation process
-Added selinux contexts restoration to fix permissions
-Load RTC offset on Qualcomm devices to fix the date/time in recovery
-USB Mass Storage fixes Add SELinux support checking
-Add Disk Usage class to better handle excluded folders (e.g. Google Music cache)
-Add 4.4 decrypt support
-Add some toolbox utilities to TWRP (namely to support SELinux functions not supported in busybox)
-Various SELinux fixes and bug fixes

So it wont work on 10.6.1.15.3 bootloader? Its 4.2 bootloader too.
Sent using TF300T - CyanogenMod 11.0/GRIMLOCK Kernel

ch3mn3y said:
So it wont work on 10.6.1.15.3 bootloader? Its 4.2 bootloader too.
Sent using TF300T - CyanogenMod 11.0/GRIMLOCK Kernel
Click to expand...
Click to collapse
You can try, but there were people having troubles with lower bootloader.
Verstuurd vanaf mijn LT30p met Tapatalk

scanno said:
You can try, but there were people having troubles with lower bootloader.
Verstuurd vanaf mijn LT30p met Tapatalk
Click to expand...
Click to collapse
That's the bootloader nvflash installs and I can verify twrp 2.7 works with it

Tested 2.7.0.1 , works well on my ME301T!
Sent from my ME301T - Beanstalk 4.4.2 - Geass Kernel - using xda app-developers app

Hi, thanks for your great job.
It's normal that don't see any files on the externalSD? in case that something goes wrong and I haven't any rom to flash on the internalSD, how I can put files on the internalSD using the recovery?

I used this recovery to update to the newest cromi-kk but I'm thinking of going back to the older version of cromi, can I still use this twrp or do I need to refresh the old one?
Sent from my HTC One using Tapatalk

robgee789 said:
I used this recovery to update to the newest cromi-kk but I'm thinking of going back to the older version of cromi, can I still use this twrp or do I need to refresh the old one?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
The 2.7.0.1 version should also support flashing pre kitkat roms
Verstuurd vanaf mijn Xperia T met Tapatalk

Cheers mate if I can't get the USB port working I'll try it in the morning mate
Sent from my HTC One using Tapatalk

everything works fine, no bugs, good job !

How do i install this trough ADB?
I have a broken Touchscreen and i am on 4.2.1 with CWM and bootloader: 10.6.1.15.3
Ah i already got it:
Install Fastboot Method:
You will need fastboot for this method. Download the above file, check the md5, rename to twrp.blob and put the file in the same directory as your fastboot.exe (unless you have /platform-tools in PATH then you can flash from anywhere). Turn off your device and boot to fastboot (power on while holding volume down, then select the usb icon and hit volume up to confirm). The device will now be in fastboot mode. Plug the device into your computer. Run the following command via the command line:
fastboot -i 0x0B05 flash recovery twrp.blob
Install ADB / Terminal method:
Download the above file. Save it to the root of your /sdcard directly (internal memory only) and rename it to twrp.blob
Launch terminal emulator or connect to your computer and open an adb shell, then type the following:
su
dd if=/sdcard/twrp.blob of=/dev/block/mmcblk0p4
Then reboot to complete installation.
Click to expand...
Click to collapse
What is the difference between the .blob file and the img file?
I used the IMG file from this topic and used the fastboot method:
fastboot -i 0x0B05 flash recovery recovery.img
i found it worked. The only problem is that i don't see my mouse on screen.
The mousepad seems to work but i cant see my mouse so i dont know where to click...
any sollutions?

I'm trying to get custom ROM on my TF300T (4.2.1 OTA), so here's what I've done so far:
- unlocked with the Asus unlock app
- installed "minimal ADB and fastboot" and checked with "adb devices"
- downloaded the 2.7.0.1 zip here
- boot the TF300T into fastboot (power + vol-down) and connected to laptop
- ran "fastboot -i 0x0B05 recovery TWRP.blob" (renamed from the ZIP).
On the laptop things seem to have gone well. On the tablet nothing seemed to have happened. "fastboot reboot" doesn't reboot the tablet. Long-press power button did. I booted the tablet up normally, then boot into fastboot again. Pressed vol-up, the screen gets into something like "installing system updates...", then quickly turned into the android lying down with a red triangle and "Error!". I can long-press power to shutdown and reboot normally, but no TWRP. Can anyone give me pointers?

fishline said:
I'm trying to get custom ROM on my TF300T (4.2.1 OTA), so here's what I've done so far:
- unlocked with the Asus unlock app
- installed "minimal ADB and fastboot" and checked with "adb devices"
- downloaded the 2.7.0.1 zip here
- boot the TF300T into fastboot (power + vol-down) and connected to laptop
- ran "fastboot -i 0x0B05 recovery TWRP.blob" (renamed from the ZIP).
On the laptop things seem to have gone well. On the tablet nothing seemed to have happened. "fastboot reboot" doesn't reboot the tablet. Long-press power button did. I booted the tablet up normally, then boot into fastboot again. Pressed vol-up, the screen gets into something like "installing system updates...", then quickly turned into the android lying down with a red triangle and "Error!". I can long-press power to shutdown and reboot normally, but no TWRP. Can anyone give me pointers?
Click to expand...
Click to collapse
Were you able to execute the reboot command from fastboot prior to flashing the blob file? This is a good test to ensure you have a good connection between the computer and the tablet and that all of your drivers are working. Are you using the original Asus USB cable? Have you tried all of the USB ports on the computer?
~~~~~
Asus Transformer TF300T
ROM: SlimKAT 5.4
Kernel: Geass7
GApps: BaNks Minimal 05/16/14
Recovery: Philz Touch 6.25.0 (CWM 6.0.4.7)

shawnbrennan55 said:
Were you able to execute the reboot command from fastboot prior to flashing the blob file? This is a good test to ensure you have a good connection between the computer and the tablet and that all of your drivers are working. Are you using the original Asus USB cable? Have you tried all of the USB ports on the computer?
Click to expand...
Click to collapse
Switching to another USB port, and just issueing "fastboot reboot" does work. I only have the original cable. Tried flashing again and it seems to be OK (on the laptop). However, right after flashing (w/o rebooting), "fastboot devices" only returns a string of ?, and "fastboot reboot" doesn't reboot the tablet.
Some guides say I need to root first. I was following the one below and it doesn't seem to say so. (However, there seems to be a mistake in the instruction. It's supposed to be "-i 0x0B05" instead of "-i 0x05B0". Could that cause problem? I used 0x05B0 first.)
http://www.transformerforums.com/fo...nstall-roms-tf300-jelly-bean-kitkat-roms.html
So do I need to have root before flashing TWRP 2.7.0.1?

fishline said:
Switching to another USB port, and just issueing "fastboot reboot" does work. I only have the original cable. Tried flashing again and it seems to be OK (on the laptop). However, right after flashing (w/o rebooting), "fastboot devices" only returns a string of ?, and "fastboot reboot" doesn't reboot the tablet.
Some guides say I need to root first. I was following the one below and it doesn't seem to say so. (However, there seems to be a mistake in the instruction. It's supposed to be "-i 0x0B05" instead of "-i 0x05B0". Could that cause problem? I used 0x05B0 first.)
http://www.transformerforums.com/fo...nstall-roms-tf300-jelly-bean-kitkat-roms.html
So do I need to have root before flashing TWRP 2.7.0.1?
Click to expand...
Click to collapse
The correct command text is fastboot -i 0x0B05 flash recovery twrp.blob. A miss-type could definitely cause a problem. I rooted first using "Kingo Root" (PC based one-click root), but I don't believe root access matters when flashing through Fastboot as long as your bootloader is unlocked.
~~~~~
Asus Transformer TF300T
ROM: SlimKAT 5.4
Kernel: Geass7
GApps: BaNks Minimal 05/16/14
Recovery: Philz Touch 6.25.0 (CWM 6.0.4.7)

fishline said:
I'm trying to get custom ROM on my TF300T (4.2.1 OTA), so here's what I've done so far:
- unlocked with the Asus unlock app
- installed "minimal ADB and fastboot" and checked with "adb devices"
- downloaded the 2.7.0.1 zip here
- boot the TF300T into fastboot (power + vol-down) and connected to laptop
- ran "fastboot -i 0x0B05 recovery TWRP.blob" (renamed from the ZIP).
On the laptop things seem to have gone well. On the tablet nothing seemed to have happened. "fastboot reboot" doesn't reboot the tablet. Long-press power button did. I booted the tablet up normally, then boot into fastboot again. Pressed vol-up, the screen gets into something like "installing system updates...", then quickly turned into the android lying down with a red triangle and "Error!". I can long-press power to shutdown and reboot normally, but no TWRP. Can anyone give me pointers?
Click to expand...
Click to collapse
Did you extract the recovery.blob from the zip file or did you rename the zip file? You should extract the recovery.blob from the zip.
The zip file can be flashed from recovery and contains the recovery.blob.
If you flash the renamed zip with fastboot , it will never work.
So:
1. Extract the recovery.blob from the zip file
2. Flash the recovery.blob with fastboot.
Then you should have a working twrp.

scanno said:
Did you extract the recovery.blob from the zip file or did you rename the zip file? You should extract the recovery.blob from the zip.
The zip file can be flashed from recovery and contains the recovery.blob.
If you flash the renamed zip with fastboot , it will never work.
So:
1. Extract the recovery.blob from the zip file
2. Flash the recovery.blob with fastboot.
Then you should have a working twrp.
Click to expand...
Click to collapse
Sorry it took a while to report back. Was out of town a couple of days.
That's exactly the problem! I extracted the zip file, flash the recovery.img using fastboot, and now I've got TWRP! Also got it rooted using Kingo, so thanks a ton to both of you! Now on to flashing rom...

@scanno: has someone try this recovery on TF300TG? Any info about it?
Thanks for your support

Related

[Root]Wileyfox Swift

Hi all,
found out how to root this device!
Here the steps:
Make sure you have fastboot installed on your computer: https://wiki.cyanogenmod.org/w/Fastboot
download supersu zip from here
https://download.chainfire.eu/696/supersu/
save it to your external sdcard
enable developer options (settings - about - click mutliple times on the build number).
enable OEM unlock in the developer options settings on the device.
reboot Wileyfox Swift into fastboot mode: with the device powered down, hold the Volume Up and connect USB
to unlock the boot loader, WARNING!!! This wipes your user data!!!
on your computer type
Code:
fastboot oem unlock
fastboot -i 0x2970 oem unlock-go
fastboot oem unlock-go
download latest recovery image from here
http://download.cyanogenmod.org/?device=crackling
to boot the custom recovery, on your computer type
Code:
fastboot boot <name_of_recovery>.img
OR
install recovery
Code:
fastboot flash recovery <name_of_recovery>.img
and reboot into recovery manually (remove and reinstall battery, hold volume down and power buttons.
install supersu update zip from recovery menu (choose zip from extenal SD)
reboot and enjoy root access
Thanks
I went a step forward and installed the CM nightly.
mermigas said:
Thanks
I went a step forward and installed the CM nightly.
Click to expand...
Click to collapse
Does the camera work? I tried one of the first nightlies but the camera crashed, so this was no option for me.
olli_o said:
Does the camera work? I tried one of the first nightlies but the camera crashed, so this was no option for me.
Click to expand...
Click to collapse
No problem with camera for me.
All works fine and smooth
No bugs nored
olli_o said:
4) reboot directly into recovery. Normal system boot reinstalls stock recovery.
5) install supersu update zip from recovery menu
Click to expand...
Click to collapse
When in recovery I press apply update and sd card, before i've even selected supersu, which returns:
Install failed
Installation aborted
Installation aborted
any ideas?
monethys said:
When in recovery I press apply update and sd card, before i've even selected supersu, which returns:
Install failed
Installation aborted
Installation aborted
any ideas?
Click to expand...
Click to collapse
This is stange. I modified the instructions a little, does it also happen if you follow these steps?
OTA?
Will I be able to update my phone (ota?) after the root?
I'm fine with having to reroot
rebane2001 said:
Will I be able to update my phone (ota?) after the root?
I'm fine with having to reroot
Click to expand...
Click to collapse
Incremental auto-update won't work rooted. But you can manually update. See here
Followed instructions and now have a rooted wileyfox swift thank you
olli_o said:
Hi all,
found out how to root this device!
Here the steps:
download supersu zip from here
save it to your external sdcard
enable developer options (settings - about - click mutliple times on the build number).
enable OEM unlock in the developer options settings on the device.
reboot Wileyfox Swift into fastboot mode: with the device powered down, hold the Volume Up and connect USB
to unlock the boot loader, WARNING!!! This wipes your user data!!!
on your computer type
Code:
fastboot oem unlock
fastboot -i 0x2970 oem unlock-go
fastboot oem unlock-go
download latest recovery image from here
to boot the custom recovery, on your computer type
Code:
fastboot boot <name_of_recovery>.img
install supersu update zip from recovery menu (choose zip from extenal SD)
reboot and enjoy root access
Click to expand...
Click to collapse
In case anyone has a similar issue:
I could unlock. I could install the recovery. But SuperSU was coming up with signature errors and wouldn't install. I discovered that this was because the recovery was being overwritten (I flashed it to the device because "fastboot boot..." was not working).
I could not get the device to flash the recovery then reboot to recovery without it going into normal boot first and rewriting the recovery so that I would not be able to install SU.
The solution I found for this was to take the back of the phone off.
Flash the recovery: fastboot flash recovery "recovery file name".img
Then just pull the battery.
Hold the volume down when you put the battery back in and launch the device still holding volume down.
Remember to release the power button once you see fox logo or you'll reboot again.
Now I installed SuperSU without a hitch and all is good.
Hope that helps anyone who is stuck.
Links removed from quote so as not to trigger spam bot.
Help
olli_o said:
Hi all,
found out how to root this device!
[*]download latest recovery image from here
/download.cyanogenmod.org/?device=crackling[/
[/LIST]
Click to expand...
Click to collapse
All the list from here is a nightly build. Can you give the stable mod? I'm noob so can follow it. it is very hard for me to make it work I'm still working to install the fast boot for mac. I found this:
bash <(curl -s htps:/raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)
It seems to work when i check this command:
adb devices
BUT NOT SURE if this is safe.
Please provide link for recovery or rom which i can follow using your guide. There are many in the link above but which one is stable and i can use that all the of the system functioning.
Thank you in advance.
I hope this will help someone figure things out w/ what i did... LOL
Thanks ALL. Basically the post above helped to root my phone but its been hard for me and as mentioned in my previous post, I'm noob. So here is what i did after the fastboot issue and continue on even though i didn't know if the install is safe since my OS X was able to detect the device/phone as mentioned above.
1. On fastboot, i just use "fastboot devices" to verify my phone is connected. This command did not work "fastboot -i 0x2970 devices"
2. Then use, "fastboot oem unlock-go" and i waited about 20sec as the terminal returned that message and then it was confirmed unlocked. These commands did not work "fastboot oem unlock, fastboot -i 0x2970 oem unlock-go" my terminal just froze and did nothing.
3. Then i use this to check if it is unlocked "fastboot oem device-info"
4. Using the link on downloading the recovery, i just click all of upper part with the picture and found the .img file see below:
Swift
Wileyfox - crackling
Download Latest Nightly (this is .zip file)
Download Latest Nightly Recovery (this is the .img file which i used)
Device Wiki 2016-01-07
5. update: i did erase recovery "fastboot erase recovery"
i use two commands and both works "fastboot flash recovery cm-12.1-20160107-NIGHTLY-crackling-recovery.img"
(here is the terminal msg: target reported max download size of 268435456 bytes
sending 'recovery' (23110 KB)...
OKAY [ 0.727s]
writing 'recovery'...
OKAY [ 0.387s]
finished. total time: 1.114s)
and this "fastboot boot cm-12.1-20160107-NIGHTLY-crackling-recovery.img"
(here is the terminal msg:downloading 'boot.img'...
OKAY [ 0.727s]
booting...
OKAY [ 0.186s]
finished. total time: 0.913s)
(I LEARNED THE HARD WAY THE .img file must be IN THE SAME DIRECTORY of the fastboot - but PLEASE ASK THE EXPERTS and don't copy if i did something wrong)
6. Next should be the auto reboot that suppose to happen but it didn't. So i took " k_web9000" advice and just pull the battery off (i didn't have any choice its not doing anything... heheh).
6. To boot in Recovery - i followed this :With the device powered down, hold the Volume Down and Power buttons.
7. Next should install the SuperSU.zip file (Please make sure to use chrome since my Safari auto unzip the file and wasted so much of my time troubleshooting... i mean hours retracing my steps ...funny) Just update it and locate the sdcard and look for the .zip file
8. Then it just rebooted after the install and on the boot screen i saw 4 files that where updated.
9. Finally, i checked for the root by downloading root checker and it was verified rooted.
Now you have been noobified
A SYSTEM UPDATE POP-UP 12.1 YOG7DAS2FI Incremental about 48MB BUT DIDNT TOUCH IT, What do i need do? Can i update?
PLEASE LET ME KNOW HOW TO UPDATE TO THE LATEST ONE WITHOUT LOSING MY ROOT.
OR HOW TO INSTALL CYANOGENMOD easy way please . i can see CYANOGEN OS 12.1-YOG4PAS33J on my device
PLEASE HELP. THANKS
You cannot update whilst you are rooted.
If you want to have the latest then CM Nightly is your best option.
How to
https://wiki.cyanogenmod.org/w/Install_CM_for_crackling
How?
mermigas said:
You cannot update whilst you are rooted.
If you want to have the latest then CM Nightly is your best option.
How to
]https://wiki.cyanogenmod.org/w/Install_CM_for_crackling]
Click to expand...
Click to collapse
Thanks for the info and link!! Awesome!
" 4. In ClockworkMod Recovery, use the physical volume buttons to move up and down. On most devices, the power button is used to confirm a menu selection, but for some devices a physical home key acts as a selector. Some devices have touch enabled ClockworkMod Recovery, in which case you may be able to swipe to, or touch, menu selections.
5. Optional (Recommended): Select backup and restore to create a backup."
In the link you gave, how did they get the clockworkmod recovery? I downloaded & installed it in the google store but it say can not use due to the device not listed. All icons are grayed and i also tried TWRP same issue.
The link also pointed to the nightly build, is there a stable release, doesn't need much update, i can use daily and without the hiccups.
Lastly, if there is no clockworkmod, how do you get it backup as recommended in the link you gave and as quoted above.
Many thanks in advance.
There is only official CM recovery and back up is not possible. Use Titaniumfor back up. You can also use twrp recovery posted in general section. Nightlies are more than stable.
Something is not right...
mermigas said:
You cannot update whilst you are rooted.
If you want to have the latest then CM Nightly is your best option.
How to
https://wiki.cyanogenmod.org/w/Install_CM_for_crackling
Click to expand...
Click to collapse
i was afraid of updating coz my data might be deleted but it seems the OTA update didn't delete my data. My version now is 13.0-20160127-NIGHTLY-crackling but the downside is the google play is not present anymore. i will try install the gapp again.
i don't know if i did it right, some say you need TWRP but it works just fine w/o TWRP in updating via OTA. I also try to install TWRP but i can't get it to work, so i can backup my phone. Last option is what you suggested the titanium backup.
Please let me know if i did right and the gapp if this always going to be installed again. i will be using the same gapp file and report what happen. thanks
Report:
i tried to install gapp file but i didn't use the previous gappfile since the it needs for 6.0 android and i used arm64 but gave error:70 which is the space issue via emulated option. So i go to cyangenmod recovery>apply update> from sdcard1 and "install failed - installation aborted". I can't even see the files on my sdcard. How do you now fix this?
Also can i have the right TWRP file and instruction for Wileyfox Swift PLEASE? thanks
Something went wrong! Please help
I can't to get the gapp to installed.
I wipe everything using the cm recovery and i also was able to install TWRP recovery and it does always hangs when installing the gapp -arm64-aroma (i can choose what to install). I also reinstall 12.1 and 13 but failed again when installing any gapp even in nano version (please note that i wipe everything). in my last attempt i wipe: dalvik, system, cache, data, internal storage & android secure but nothing works to install the gapp. Btw, when i wipe from the 1st time i always get this error "e: unable to find partition size for '/recovery"
PLEASE HELP
I had a few problems doing this from Ubuntu 15.10.
1. ADB did not see the device although it worked fine on my Nexus 4 showing that adb/fastboot were configured correctly. I had to go to /home/.android and create the document 'adb_usb.ini' (right click, new document) which contains the text '0x2970'.
Once this was done I had to run the following commands
adb kill-server
adb start-server
This allowed ADB to see the device but it said that it was offline.
2. I had to create the file /etc/udev/rules.d/51-android.rules (type into terminal 'sudo nano /etc/udev/rules.d/51-android.rules') and paste in the following line, save it (ctrl+x, y, enter).
SUBSYSTEM=="usb", ATTR{idVendor}=="2970", ATTR{idProduct}=="2282", MODE="0666"
sudo service udev restart
After this ADB and fastboot recognized the device and allowed me to follow the directions posted above or on the cyanogenmod wiki.
Hope that is of some use to someone!!!
Also the Cyanogen Recovery was both unpleasant to use and caused problems trying to install GApps, I had to switch to using the unofficial TWRP recovery which worked first time and is a much better interface.
Hey do we need to unlock a bootloader before installing the custom recovery on this device? Thanks.

Can't flash twrp

I have RN5 AI 6/64 with miui 9.5.22.0 CN. I tried install TWRP method 1 and 2. It won't work. How i install TWRP with this rom ?
#sorry my bad english
Kaze291 said:
I have RN5 AI 6/64 with miui 9.5.22.0 CN. I tried install TWRP method 1 and 2. It won't work. How i install TWRP with this rom ?
#sorry my bad english
Click to expand...
Click to collapse
I don't know what "method 1 and 2" refers to but usually you do it with adb/fastboot. Assuming you have a computer running windows, you need to extract this:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
- Plug your fully booted phone to your computer with the USB cable.
- From the command line, navigate to where you extracted the files and type:
adb reboot bootloader
- your phone will reboot in fastboot mode, wait for it.
- download and extract latest TWRP binary into the same folder you previously extracted the files : https://eu.dl.twrp.me/whyred/twrp-3.2.2-0-whyred.img.html
- assuming the default filename of twrp-3.2.2-0-whyred.img, type fastboot flash recovery twrp-3.2.2-0-whyred.img
- press and hold the volume up key on your phone and type fastboot reboot
- keep holding volume up until the phone reboot in TWRP.
* Note that if you fail to reboot into TWRP the first time, MIUI will overwrite TWRP with stock recovery and you will have to flash TWRP again.
You have ARP anti 4 rom!
[miui 9.5.22.0 CN.]
You have ARP anti 4 rom!
To flash TWRP you need to temporarily boot it with: -
fastboot boot <name of TWRP>.img
Then when booted, copy the image file to your device, and then install TWRP image to recovery from temp TWRP.
From TWRP, then reboot to recovery to actually use the installed version.
If your sticking with MIUI, remember to flash the script that allows the device to boot with TWRP, or use a TWRP that includes it.
WARNING: - DO NOT Flash firmware's or roms lower than the version your on, or you will brick your device.
Read: - Everything About Anti Roll-back [Whyred]
corkiejp said:
[miui 9.5.22.0 CN.]
You have ARP anti 4 rom!
To flash TWRP you need to temporarily boot it with: -
fastboot boot <name of TWRP>.img
Then when booted, copy the image file to your device, and then install TWRP image to recovery from temp TWRP.
From TWRP, then reboot to recovery to actually use the installed version.
If your sticking with MIUI, remember to flash the script that allows the device to boot with TWRP, or use a TWRP that includes it.
WARNING: - DO NOT Flash firmware's or roms lower than the version your on, or you will brick your device.
Read: - Everything About Anti Roll-back [Whyred]
Click to expand...
Click to collapse
troolie said:
I don't know what "method 1 and 2" refers to but usually you do it with adb/fastboot. Assuming you have a computer running windows, you need to extract this:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
- Plug your fully booted phone to your computer with the USB cable.
- From the command line, navigate to where you extracted the files and type:
adb reboot bootloader
- your phone will reboot in fastboot mode, wait for it.
- download and extract latest TWRP binary into the same folder you previously extracted the files : https://eu.dl.twrp.me/whyred/twrp-3.2.2-0-whyred.img.html
- assuming the default filename of twrp-3.2.2-0-whyred.img, type fastboot flash recovery twrp-3.2.2-0-whyred.img
- press and hold the volume up key on your phone and type fastboot reboot
- keep holding volume up until the phone reboot in TWRP.
* Note that if you fail to reboot into TWRP the first time, MIUI will overwrite TWRP with stock recovery and you will have to flash TWRP again.
Click to expand...
Click to collapse
I mean
Method 1: Fastboot boot tru.img (it doesnt work)
Methot 2 : Fasboot Flash Antirbpass (doesnt work too)
corkiejp said:
[miui 9.5.22.0 CN.]
You have ARP anti 4 rom!
To flash TWRP you need to temporarily boot it with: -
fastboot boot <name of TWRP>.img
Then when booted, copy the image file to your device, and then install TWRP image to recovery from temp TWRP.
From TWRP, then reboot to recovery to actually use the installed version.
If your sticking with MIUI, remember to flash the script that allows the device to boot with TWRP, or use a TWRP that includes it.
WARNING: - DO NOT Flash firmware's or roms lower than the version your on, or you will brick your device.
Read: - Everything About Anti Roll-back [Whyred]
Click to expand...
Click to collapse
I try to delete everything and then I installing again. Finally, TWRP can be installed ?

Accidentally removed OS in OP3.

Hi all,
While trying to install custom mod i accidentally deleted my original rom as well as the custom rom from my phone. I can access twrp fast boot but while trying to install zip file its missing from phone. Any way to install any custom rom at this point?
Update : Restarted my phone ( well powered off coz of low battery) . When i charged and switched it on , twrp is not there . Instead when i go to recovery mode , the original one plus recovery mode is appearing.
gamer361 said:
Hi all,
While trying to install custom mod i accidentally deleted my original rom as well as the custom rom from my phone. I can access twrp fast boot but while trying to install zip file its missing from phone. Any way to install any custom rom at this point?
Click to expand...
Click to collapse
Sideloading is the easiest option.
Boot into TWRP, find ADB Sideload mode (I think it's under "Advanced", not sure), connect phone to PC via USB cable and flash ROM directly from PC with "adb sideload rom-name" command.
This is a very short version, if you need me to explain anything in depth just say it
Sent from my OnePlus 3 using Tapatalk
Explorer23 said:
Sideloading is the easiest option.
Boot into TWRP, find ADB Sideload mode (I think it's under "Advanced", not sure), connect phone to PC via USB cable and flash ROM directly from PC with "adb sideload rom-name" command.
This is a very short version, if you need me to explain anything in depth just say it
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
if possible please tell me step by step.
gamer361 said:
if possible please tell me step by step.
Click to expand...
Click to collapse
Sorry for late reply.
So, first things first, make sure you have working adb/fastboot on your PC (you can get it >>HERE<< if you need it; select Y for all options).
- download latest TWRP recovery >>HERE<<
- download a ROM of your choice
- in case you go for a custom ROM you'll probably also need latest firmware (CLICK), Gapps (CLICK) and possibly Magisk (CLICK)
- open command prompt in folder where you've put all downloaded files - hold Shift and right click in that folder > open command window here.
- boot phone into fastboot mode and connect it to PC
- type fastboot devices in cmd to see if the phone is properly recognized (should say something like "device #serial-number" IIRC)
- flash TWRP by typing fastboot flash recovery recovery-name.img
- reboot device into recovery mode. Fastboot generally doesn't support rebooting into recovery, but our phone makes it easy with that 5 second timeout on boot. Type fastboot reboot and as soon as it displays that warning screen press a volume button and then scroll to recovery with volumpe up/down.
You should be booted into TWRP now. Let's continue to flashing a ROM.
Assuming you're going for a custom ROM, start with firmware:
- select "Advanced" in TWRP
- select "ADB Sideload"
- swipe to start sideload
- type adb devices in cmd - it should recognize that the device is in sideload mode
- type adb sideload firmware.zip and wait for it to finish
- go back to main TWRP screen and repeat the steps to get into sideload mode
- type adb sideload rom-filename.zip
- repeat to flash Gapps and Magisk
If you chose to flash stock ROM rather than custom then you can skip firmware and Gapps and flash just the ROM (and possibly magisk, that's up to you).
Done! Now you can boot into system.

NO RPMB (how to install TWRP, a new ROM and using Magisk)

Hello, I have sent my phone to warranty and after that I received a phone with NO RPMB and after many frustrations I found (with help of many users and forums) how to workaround this..
To start:
Download boot image from here
Download twrp from the official website
Change the name to boot.img and twrp.img and put it in the platform-tools folder
Open the terminal there
Download your favourite rom
Enter fastboot mode on your phone
!!!!After this you will loose all of your data!!!!
Paste this to the terminal
fastboot oem unlock
(select yes on your phone)
fastboot flash boot boot.img
fastboot flash recovery twrp.img
fastboot format userdata
fastboot format cache
Reboot to recovery (if it doesn't enter at the first time enter download mode again and restart to recovery)
After that you have twrp and can flash every rom.. yay!!!
Wipe everything.
Copy the rom zip to your phone using MTP
Install your fancy new rom
If you want to install magisk:
Install the magisk manager.
On the app select install and select patch image file. (it will create a new boot image already patched)
After that install the new image (patched_boot.img) using twrp
Do a clean instalation of your ROM (recomended) or a Factory Reset first
Reboot to twrp
Select install
Click in install image
Select patched_boot.img
Select install to boot partition
Reboot.
Install magisk manager and do the sugested setup.
You now have magisk working
Thanks to all the users that helped me!!
I had real trouble getting twrp to work the last time I tried this a few months ago. Followed the steps here and am now on pixel experience with magisk. Thanks!
Hello, im in the same situation of NO RPMB. This procedure will permanently lets have bootloader unlocked?
About Magisk, i can install it in usual way once im in the recovery? (I mean download latest stable version for Bullhead and flash via TWRP).
Thanks.
sigibian said:
Hello, im in the same situation of NO RPMB. This procedure will permanently lets have bootloader unlocked?
About Magisk, i can install it in usual way once im in the recovery? (I mean download latest stable version for Bullhead and flash via TWRP).
Thanks.
Click to expand...
Click to collapse
My bootloader is still unlocked after following this guide
For Magisk:
-Install your custom ROM and boot it up (without root)
-Then extract the boot.img from the ROM zip file and save it on your phone storage.
-Install the Magisk manager apk
-In Magisk manager, select install Magisk> choose the patch boot image option and -Select the boot.img you previously saved.
Once it's done, reboot into twrp and flash the patched boot.img. When you reboot Magisk will be working.
I've had no issues with my bootloader, even after an ota update for pixel experience.
Thank you, i will try it.
Another question. I never tried dowload mode before, as i read in other post i should Plug USB cable into pc, Hold volume up and power at the same time and plug phone into usb that's already connected to pc, right?
When in download mode i can fire up fastboot commands like im in bootloader mode?
So then after do last command fastboot format cache i can reboot to recovery from terminal using adb reboot recovery or i can / should do it from device?
About twrp it's ok to use the latest 3.2.3.0 official version or the 3.2.1 4core version from here as someone suggested from Reddit? https://forum.xda-developers.com/nexus-5x/development/recovery-twrp-3-2-1-4-core-t3796656
sigibian said:
Thank you, i will try it.
Another question. I never tried dowload mode before, as i read in other post i should Plug USB cable into pc, Hold volume up and power at the same time and plug phone into usb that's already connected to pc, right?
When in download mode i can fire up fastboot commands like im in bootloader mode?
So then after do last command fastboot format cache i can reboot to recovery from terminal using adb reboot recovery or i can / should do it from device?
About twrp it's ok to use the latest 3.2.3.0 official version or the 3.2.1 4core version from here as someone suggested from Reddit? https://forum.xda-developers.com/nexus-5x/development/recovery-twrp-3-2-1-4-core-t3796656
Click to expand...
Click to collapse
The official twrp works for fine for me, haven't tried the 4 core version but it can't hurt to try if you need it.
Power off your phone then press and hold volume - and power to enter bootloader, then connect to your pc and follow the steps in the OP
So i have to enter in bootloader mode? At point 6 of OP there is written to enter in the download mode, this makes me confusing.
Can anyone explain me latest 2 commands why they are needed?
fastboot format userdata
fastboot format cache
sigibian said:
So i have to enter in bootloader mode? At point 6 of OP there is written to enter in the download mode, this makes me confusing.
Can anyone explain me latest 2 commands why they are needed?
fastboot format userdata
fastboot format cache
Click to expand...
Click to collapse
This thread is fairly comprehensive;
https://forum.xda-developers.com/nexus-5x/general/moto-nexus-5x-sticky-roll-t3207487
Holding volume - and power takes you to fastboot mode (download mode essentially), theres also an option to reboot into recovery (selectable using the volume keys.)
Formatting user data and cache is necessary prior to installing a new rom (especially if moving from stock). You lose all data (back up first!) But a clean flash is the best place to start.
baddesthad said:
This thread is fairly comprehensive;
https://forum.xda-developers.com/nexus-5x/general/moto-nexus-5x-sticky-roll-t3207487
Holding volume - and power takes you to fastboot mode (download mode essentially), theres also an option to reboot into recovery (selectable using the volume keys.)
Formatting user data and cache is necessary prior to installing a new rom (especially if moving from stock). You lose all data (back up first!) But a clean flash is the best place to start.
Click to expand...
Click to collapse
Thanks for the explanation but for installing a new ROM usually you can do factory reset directly in TWRP, plus doing all the wipes, this should be enough.
About fastboot mode and download mode, they are completely different, fastboot mode: vol down + power, download mode for LG: Plug USB cable into pc, Hold volume up and power at the same time and plug phone into usb.
My question is what i can do in download mode? As OP says after entering download mode open terminal and use fastboot commands.
sigibian said:
Thanks for the explanation but for installing a new ROM usually you can do factory reset directly in TWRP, plus doing all the wipes, this should be enough.
About fastboot mode and download mode, they are completely different, fastboot mode: vol down + power, download mode for LG: Plug USB cable into pc, Hold volume up and power at the same time and plug phone into usb.
My question is what i can do in download mode? As OP says after entering download mode open terminal and use fastboot commands.
Click to expand...
Click to collapse
You need to use vol- and power to go into fastboot mode then connect to the pc. As for userdata and cache, if you don't clean them when coming from stock you will have issues (your data will be encrypted if you're on stock?). As I said this guide worked for me. The op was talking about fastboot mode in the 6th option (also there is much more information in the thread I linked above)
sorry for the confusing i wanted to say fastboot mode..
i knew the thread that you are saying but most people doesn't want to search so I made a little thread only with the needed parts..
I use it myself so I have a place to remember all the steps when I need to change the rom to a new one or when I make experiments and brick my phone XD
If anyone know anything else that should be in here just say, I really want to improve the post
Hi. I just went through the whole process several times (I have tried the different modified boot images from the dedicated post) and my device is still locked [emoji24] any suggestions?
fhartane said:
Hi. I just went through the whole process several times (I have tried the different modified boot images from the dedicated post) and my device is still locked [emoji24] any suggestions?
Click to expand...
Click to collapse
your device will always be locked this is a workaround to get twrp, new roms and magisk while it stays locked..
with twrp usable it won't matter if you are locked or not
PedroM.CostaAndrade said:
your device will always be locked this is a workaround to get twrp, new roms and magisk while it stays locked..
with twrp usable it won't matter if you are locked or not
Click to expand...
Click to collapse
Thanks for the answer. You mean that now I have twrp, I can flash custom Roms with my bootloader locked without any issue?
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
Yes if you have TWRP you can install custom ROMs, custom Kernel's, magisk, super su, etc..
the locked bootloader only prevents you from using fastboot commands like the one needed for installing custom recovery
Now that you have TWRP you can use it for everything
Hello everyone, I also have a nexus 5x with motherboard that has been replaced under warranty and unfortunately I can't keep the bootloader unlocked.
I tried the procedure you have indicated, but at this point there is the problem, because after inserting the boot.img and twrp.img inside the phone, then when I go to do the unlocking procedure with 'fastboot oem unlock (select yes on your phone) 'in practice the memory is deleted on the phone, so I lose the previously uploaded files, and therefore I can no longer continue with the flash procedure of boot.img and twrp.img because they are no longer present in memory.
I hope I made myself understood, maybe I am wrong, or is there a way to solve this problem?
Fabiojoker said:
Hello everyone, I also have a nexus 5x with motherboard that has been replaced under warranty and unfortunately I can't keep the bootloader unlocked.
I tried the procedure you have indicated, but at this point there is the problem, because after inserting the boot.img and twrp.img inside the phone, then when I go to do the unlocking procedure with 'fastboot oem unlock (select yes on your phone) 'in practice the memory is deleted on the phone, so I lose the previously uploaded files, and therefore I can no longer continue with the flash procedure of boot.img and twrp.img because they are no longer present in memory.
I hope I made myself understood, maybe I am wrong, or is there a way to solve this problem?
Click to expand...
Click to collapse
fastboot is for the files on your PC not your phone
you need to put the files inside of platform-tools and then open cmd inside it and use the fastboot commands
fastboot will take the files of your PC
Hello, thank you for your information, since I haven't done modding on phones for a long time, I didn't remember exactly the procedure with fastboot and therefore I didn't understand where I had to put the files, but in the end I did it.
Thank you
PedroM.CostaAndrade said:
fastboot is for the files on your PC not your phone
you need to put the files inside of platform-tools and then open cmd inside it and use the fastboot commands
fastboot will take the files of your PC
Click to expand...
Click to collapse
Why is a custom boot image needed? I don't want to root.

OUTDATED***[GUIDE] Basic guide to flash a recovery and a rom via recovery in Mi A3.

This is a basic guide to flash a rom via recovery in Mi A3 as title says.
Is created to help all those that want but can't.
Please read before act, and if you don't understand....well read again.
Mi A3 is a device with treble support, and while is not difficult to flash a rom,is a little bit tricky process.
So here are the detailed steps to do achieve that.
First things first, you've got to have your bootloader unlocked. Follow below steps to do that:
-Enable developer options by going to settings/about phone and clicking 5 times on build number.
Inside developer options:
-Find and enable OEM unlocking.
-Find and enable USB debugging.
In adb tools type:
-
Code:
adb devices
reboot to bootloader.
-
Code:
adb reboot bootloader
Unlock bootloader(you will lose all your data).
Code:
fastboot flashing unlock
When the device reboot, boot once again in fastboot by powering off then power on while pressing vol down button.
Type command to full unlock bootloader.
Code:
fastboot flashing unlock_critical
Proceed to recovery flash
Notice that you've got to have all files ready, either inside external sd or in your pc. All files are at the end of this thread as links or attachments.
Also i'm suggesting OrangeFox recovery for now because is the most stable.
-First you following the orangefox recovery installation guide:
- Download the OrangeFox zip file from here or the link at the end and copy it to your device (internal or external storage)
- Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC
- Open a cmd line and execute these commands (being on that folder, of course):
-
Code:
adb devices
(to make sure your device is detected)
-
Code:
adb reboot bootloader
(to reboot into fastboot mode)
-
Code:
fastboot getvar current-slot
(to check what's your current active slot)
-
Code:
fastboot set_active b
(if your active slot was a, if it was b then change it to a)
-
Code:
fastboot erase boot
-
Code:
fastboot flash boot recovery.img [b](OR WHATEVER NAME YOUR RECOVERY HAVE)[/b]
-
Code:
fastboot reboot
(NOTE : Before hitting "Enter", long press Vol + on your device until you see the Android One logo.
-->> By doing this your device will be forced to boot into Recovery and not into System <<--
- Install the OrangeFox zip (always install the latest build available and always keep a copy of recovery zip file in your external sd)
- Change slot to the one that was active on the beginning of these steps and reboot to Recovery (just to make sure that the slot, in fact, was changed)
After orangefox recovery is installed, you are ready to flash your rom.
You can move your rom files inside your external or internal memory(prefer external to avoid deleting them accidentally).
To do that you can either do it before the whole procedure, or after the recovery installation since you have mtp and adb available.
Copy them drag them or push them via adb(i'm not going to extend the adb push command here)
Now the flashing steps:
-Go to partition manager inside orangefox recovery and select data/format data(red button) and press format.Type YES.
-Go back and find the rom file inside your target directory(internal or external).
-Select the rom file and flash it.
-DO NOT REBOOT.
-Go back where you have the orangefox zip file, select it and flash it.
-Leave the device as is because after the installation it will reboot itself to recovery once again.
-Once the recovery starts again go to the target folder that you have the remaining files.
-Flash magiskV20.zip (if you want your device to be rooted).
-Flash Gapps if there are any or skip this step if your ROM provider have them included.
-Flash patchnofde10 zip to avoid data encryption(if you don't do that the rom will NOT boot).
-Reboot to system and enjoy.
All files are available to the links below.
Patchnofde file is attached to this post.
I'm not responsible if you cause a nuclear war or your cat or dog stop talking to you.
Credtits to:
Orangefox recovery team https://orangefox.tech/
Orangefox recovery dev for Mi A3 https://forum.xda-developers.com/mi-a3/development/official-orangefox-recovery-mi-a3-t3986177
Topjohnwu for the Magisk and Magisk manger https://******************/
XDA Forum because they exist
All devs that put some hard work for you to have a custom recovery and a custom rom and all they hear is questions about ho to do things.
Respect them and read before post a questions.
:angel::angel::angel:
Thanks for the detailed guide, always good to have it :good: :good:
my device is encrypted and if I boot a recovery it shows the data encrypted. How to remove encryption ?
drozo8o8 said:
my device is encrypted and if I boot a recovery it shows the data encrypted. How to remove encryption ?
Click to expand...
Click to collapse
Read it first then do it.
Patchnofde is for the encryption.
sotmax said:
Read it first then do it.
Patchnofde is for the encryption.
Click to expand...
Click to collapse
nvm I think I got it
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Is there support for Android backup and restore
Please tell steps for the same also
As it is not working for me
Mobile is Booting to recovery again after restoring backup
ReekyMarko said:
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Click to expand...
Click to collapse
Okay I got it to boot to Havoc OS but my wifi and gsm calls stopped working. Also videos were flashing during playback. I guess I was doing something wrong during the whole flashing process and the device ended up without the correct firmware.
I have reverted back to stock using one of the fastboot ROM flashing scripts and everything is fine, though I would like to go Android 10 without GAPPS if possible.
Thank you very much for the guide. Do you recommend any backup with orange box? If I want to revert to stock rom, do I need to know something?
How could I update the ROM?
darkjm93 said:
Thank you very much for the guide. Do you recommend any backup with orange box? If I want to revert to stock rom, do I need to know something?
Click to expand...
Click to collapse
You can go back to stock by flashing stock image with mi flashtool
ReekyMarko said:
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Click to expand...
Click to collapse
That's because you didn't follow it to the letter.
You have to flash Patchnofde to boot to rom.
vishwadeepmanu said:
Is there support for Android backup and restore
Please tell steps for the same also
As it is not working for me
Mobile is Booting to recovery again after restoring backup
Click to expand...
Click to collapse
Same as above.
If you don't flash patch for the encryption, you ll end up to recovery again. Also I recommend to read carefully the steps with the recovery flashing. You have to be sure that the slot is what it was at the beginning.
A out the Android backup, yes. You can take and restore backups freely.
Hello,
@sotmax
Thank you for your guide.
@ANyOne i have unlocked the bootloader, but after that, when i'm in fastboot mode, i'm not being detected by the adb devices command. Any idea why ?
mkpanic said:
Hello,
@sotmax
Thank you for your guide.
@ANyOne i have unlocked the bootloader, but after that, when i'm in fastboot mode, i'm not being detected by the adb devices command. Any idea why ?
Click to expand...
Click to collapse
Because ADB and fastboot are different modes and using different commands. In fastboot use "fastboot devices".
_mysiak_ said:
Because ADB and fastboot are different modes and using different commands. In fastboot use "fastboot devices".
Click to expand...
Click to collapse
Thank your for the answer.
If I only want to root the stock installing Orange, this guide works?
fastboot set_active command is not working...only fastboot options are displayed..Any solution?
sibikallikkat said:
fastboot set_active command is not working...only fastboot options are displayed..Any solution?
Click to expand...
Click to collapse
fastboot --set-active=a
fastboot --set-active=b
hi, i followed the guide to flash los17 with BiTGApps.
I also flashed the nofde patch. The phones boots normaly but i have no access to internal storage. All the folders have random numbers and letters. Any ideas?

Categories

Resources