Get here MI 8 Lite Stock Recovery if you need it! TWRP to! - Xiaomi Mi 8 Lite Guides, News, & Discussion

Hi!
I let you here the MI 8 Lite Stock Recovery if you need it!
Stock Recovery
This is a version from TWRP that i found here and it seems very good to use it:
Batik Recovery
* Suport the developer, he deserve it!
And here there is the default TWRP recovery UNOFFICIAL:
TWRP_PLATINA_UNOFFICIAL
NOTE: You DONT need to install TWRP to use it!
Copy TWRP to ADB folder then use this command (using TWRP_PLATINA_UNOFFICIAL as example):
Code:
fastboot boot TWRP_PLATINA_UNOFFICIAL.img
It will boot in TWRP WITH OUT INSTALLING IT!
I hope that this helps you in some way!
If helps you press tanks, don't cost you nothing!

Related

fail installing Magisk

I'm trying to install magisk on MiA2Lite with january update but I fail.
I've tried
- Zip installation (Magisk Manager -> download .zip) but when I reboot on TWRP i don't find zip, all folders seems empty
- upgrade boot image: the upgrade semmes works well but when I restart MiA2Lite and I open Magisk Manager I alway see "Magisk is not installed" ed if I tap on INSTALL Magisk Manager propose: "download zip or upgrade boot img"..
the option "direct install (recommended)" dosn't apear to me
IO13 said:
I'm trying to install magisk on MiA2Lite with january update but I fail.
I've tried
- Zip installation (Magisk Manager -> download .zip) but when I reboot on TWRP i don't find zip, all folders seems empty
- upgrade boot image: the upgrade semmes works well but when I restart MiA2Lite and I open Magisk Manager I alway see "Magisk is not installed" ed if I tap on INSTALL Magisk Manager propose: "download zip or upgrade boot img"..
the option "direct install (recommended)" dosn't apear to me
Click to expand...
Click to collapse
If you want to install magisk from TWRP:
-Put the magisk.zip on your fastboot folder,
-Boot to TWRP and connect the phone to your PC, then use this code :
Code:
adb push ./magisk.zip /sdcard
-Now, you will be able to see magisk.zip on the Install section of your TWRP. Make sure to rename the magisk installation zip to "magisk.zip"
If you want to install without TWRP:
-Get patched_boot.img for 10.0.3.0 here: https://forum.xda-developers.com/mi...hed-boot-img-v10-30-0-january-update-t3891331
-Put the img in your fastboot folder, shutdown your phone.
-Go into fastboot mode on your phone (hold Vol- and Power)
-Connect phone to PC and write this on ADB:
Code:
fastboot boot patched_boot.img
-Let it download the img to the phone then unplug and wait for it to boot.
-Install Magisk Manager and tap Install->Direct Install
Next time, before you open a thread, please try reading other threads. Because this is explained pretty much all over the forum. :good:
marstonpear said:
Next time, before you open a thread, please try reading other threads. Because this is explained pretty much all over the forum. :good:
Click to expand...
Click to collapse
I assure you that if I would have preferred to find the information myself rather than wait for some kind user to answer me. Unfortunately it is not so simple, there are many double posts with information missing (you imagine a new user who wants to try to install the GCam, there are several posts on the subject with redundant or sometimes opposite information, there are two posts on how to install Magisk without losing the OTA, they are almost identical but in one there is written that with Pie no longer works, in the other no ..). Look for an info here with the search function is anything but simple so thank you for answering me so exhaustively!
marstonpear said:
If you want to install magisk from TWRP:
-Put the magisk.zip on your fastboot folder,
-Boot to TWRP and connect the phone to your PC, then use this code :
Code:
adb push ./magisk.zip /sdcard
-Now, you will be able to see magisk.zip on the Install section of your TWRP. Make sure to rename the magisk installation zip to "magisk.zip"
If you want to install without TWRP:
-Get patched_boot.img for 10.0.3.0 here: https://forum.xda-developers.com/mi...hed-boot-img-v10-30-0-january-update-t3891331
-Put the img in your fastboot folder, shutdown your phone.
-Go into fastboot mode on your phone (hold Vol- and Power)
-Connect phone to PC and write this on ADB:
Code:
fastboot boot patched_boot.img
-Let it download the img to the phone then unplug and wait for it to boot.
-Install Magisk Manager and tap Install->Direct Install
Next time, before you open a thread, please try reading other threads. Because this is explained pretty much all over the forum. :good:
Click to expand...
Click to collapse
Bro.. i'd like to ask
So the diffrence/concept is , if
- with twrp we dont need patched boot.img
- without twrp (we need patched boot img)
Are we can flash stock rom via twrp? So dont need fastboot anymore? At least fastboot for emergency case only
And last why right now is so much step in order doing mod, last time i doing mod with my samsung galaxy grand 2, the key is only how to install custom recovery (cwm or twrp) , from that recovery if we want to install custom rom or root , just download zip , flash from custom recovery, enjoy.... Simple
Why in this phone not like that, especially install GSI rom ( which still im not clearly about GSI and difference with custom rom)
bla.tiga said:
Bro.. i'd like to ask
So the diffrence/concept is , if
- with twrp we dont need patched boot.img
- without twrp (we need patched boot img)
Are we can flash stock rom via twrp? So dont need fastboot anymore? At least fastboot for emergency case only
And last why right now is so much step in order doing mod, last time i doing mod with my samsung galaxy grand 2, the key is only how to install custom recovery (cwm or twrp) , from that recovery if we want to install custom rom or root , just download zip , flash from custom recovery, enjoy.... Simple
Why in this phone not like that, especially install GSI rom ( which still im not clearly about GSI and difference with custom rom)
Click to expand...
Click to collapse
You can't flash stock ROM with TWRP, unless you use a backup of your own stock ROM, then you can recover your backup to install stock. Also you're talking about 6 yr old phone. Many things have changed since then on Android lol. GSI means Generic System Image which means that these roms should be able too boot on every device with treble support. Instead of creating a rom from scratch for every device, they just make a GSI and that can be installed on every GSI supported (project treble enabled) phone. You can still install TWRP and flash what you want. But beware you might have issues and Mi A2 Lite doesn't have any custom ROMs yet, because it is project treble enabled. You can use GSIs for now but most of them lag so I stick with stock. You can try modding the stock rom with magisk etc. :good:
marstonpear said:
You can't flash stock ROM with TWRP, unless you use a backup of your own stock ROM, then you can recover your backup to install stock. Also you're talking about 6 yr old phone. Many things have changed since then on Android lol. GSI means Generic System Image which means that these roms should be able too boot on every device with treble support. Instead of creating a rom from scratch for every device, they just make a GSI and that can be installed on every GSI supported (project treble enabled) phone. You can still install TWRP and flash what you want. But beware you might have issues and Mi A2 Lite doesn't have any custom ROMs yet, because it is project treble enabled. You can use GSIs for now but most of them lag so I stick with stock. You can try modding the stock rom with magisk etc. :good:
Click to expand...
Click to collapse
Oh i see.. thanks for the explanation... Gathering information in xda is bit confusing lol
Okay one more thing to be clear, right now im on oreo august security patch V 9.6.6.0 ODLMIFF
I want to install twrp and flash magisk (do i need downgrade to 9.6.4.0?) , if i succeed install both of that, and i want upgrade rom to pie or upper version via fastbot flash, i need to remove twrp and magisk, or just directly flash with mi flash??

[RECOVERY][3.4.0-2][hotdog]Unofficial TWRP recovery for OnePlus 7T Pro Unified(Test)

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Features:
- TWRP boots;
- Fastboot boot is working;
- Decryption is working (except for Oxygen OS);
- System, Vendor and Product partitions mount is not working but it's not a big problem;
- You can flash ROMs;
- Format Data is broken;
- You can flash magisk
Install guide (Reccomended):
Acutally seems oneplus (or directly android 10) re-introduced the recovery partition so you should only flash it in recovery partition or you can try to boot it from fastboot. For now only boot it.
To flash:
Code:
fastboot flash recovery_a twrpname.img
fastboot flash recovery_b twrpname.img
To boot:
Code:
fastboot boot twrpname.img
Tips:
If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".
Download:
TWRP 3.4.0-2 Test by mauronofrio
TWRP 3.4.0-0 Test by mauronofrio
TWRP 3.3.1-43 Test by mauronofrio
TWRP 3.3.1-25 Test by mauronofrio
TWRP 3.3.1-5 Test by mauronofrio
OnePlus 7T Pro Stock Recovery
Reccomended ADB and Fastboot binaries:
Adb and Fastboot Installer
Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/mauronofrio/android_device_oneplus_hotdog_unified_TWRP
Kernel source: precompiled stock one
My Telegram TWRP Support Group:
https://t.me/twrp_Mauronofrio
Donations:
Credits:
I want to say a big thanks to the testers @houmles and @ChrisFeiveel84
Created 2019-10-23
Well this completley messed up my phone somehow. First of all, i was not able to install twrp only boot it, but only once, after the first boot i always get an error in fastboot. Secondly i wasnt able to mount /system for example. Cant recommend it right now. @dev Do you have the stock recovery image somewhere and could upload it please?
fritzcola said:
Well this completley messed up my phone somehow. First of all, i was not able to install twrp only boot it, but only once, after the first boot i always get an error in fastboot. Secondly i wasnt able to mount /system for example. Cant recommend it right now. @dev Do you have the stock recovery image somewhere and could upload it please?
Click to expand...
Click to collapse
I'm looking for a stock from where extract it, i think in the night i will be able to extract it
Thanks to Dev for starting work on a TWRP for the OP7T Pro...
Tried the -5 version (only boot from fastboot) and for me it worked fine and also didn't ruin anything on the system.
I had the hope to be able to at least access /data in the filemanager to delete a woesome Magisk extension, but sadly /Data wasn't mounted and also could not be mounted manually. Btw I'm encrypted, but normally I should at least be able to see the folder with garbled names
@dev: should you see a way how I could help in improving TWRP just let me know
Thank you developer for work on this device from this early stage
fastboot boot -> Ok
backup stock boot -> Ok
Patch boot with Magisk Manager -> Ok
Thank
i keep getting this error when trying to do it on my 1+ 7t pro mclaren (remote: Failed to load/authenticate boot image: Load Error)
speedihb2k15 said:
i keep getting this error when trying to do it on my 1+ 7t pro mclaren (remote: Failed to load/authenticate boot image: Load Error)
Click to expand...
Click to collapse
I had the same error. Try to fastboot patched img from here or stock boot img, than try this TWRP after reboot again.
Does the back function working i just want to backup my McLaren edition goodies so i am worried about that
Can mount system partición?
Enviado desde mi GM1913 mediante Tapatalk
liver20 said:
Can mount system partición?
Enviado desde mi GM1913 mediante Tapatalk
Click to expand...
Click to collapse
No. This is also stated in the first post.
Sent from my OnePlus7TPro using XDA Labs
Si I'm decrypted I'm presuming twrp will be able to mount system? cheers.
vtec303 said:
Si I'm decrypted I'm presuming twrp will be able to mount system? cheers.
Click to expand...
Click to collapse
Doesn't matter if decrypted to not, TWRP is not functional on devices launched with Android 10.
Sent from my OnePlus7TPro using XDA Labs
Can i use the boot only option on my 7t pro mclaren(rooted) to flash a new kernel? Or is this only for testing?
Goku1992 said:
Can i use the boot only option on my 7t pro mclaren(rooted) to flash a new kernel? Or is this only for testing?
Click to expand...
Click to collapse
Use ex kernel manger to flash kernels no need for twrp ?
hi this twrp work to flash magisk with the mclaren version?
izimen said:
hi this twrp work to flash magisk with the mclaren version?
Click to expand...
Click to collapse
Search the thread and you'll find your answer.
Hint: 3 posts above yours.
Sent from my OnePlus7TPro using XDA Labs
ok thank you
Hi guys, i'm looking for some testers for the TWRP, if you want to join in the test group write me on telegram, the nickname is the same
vtec303 said:
Si I'm decrypted I'm presuming twrp will be able to mount system? cheers.
Click to expand...
Click to collapse
Hi. How did you manage to decrypt this device? I cannot find a way to do it permanently. Thanks.

[RECOVERY] [UNOFFICIAL] LR.Team TWRP 3.3.1-1119 for onclite by wzsx150

Disclaimer:
HTML:
/* Your warranty is now void! I'm not responsible for bricked devices, dead SD cards or anything else that may occur to you and / or your device.
* Do it at your own risk!
This recovery was not made by me, i'm just sharing it in easier ways to download. The guy behind this is wzsx150, thank him for it.
After a lot of pain researching and trying to download from Baidu servers i finally managed to get this custom TWRP to get rid of force encryption on stock MIUI because this recovery can successfully decrypt with no need to do a format data.
Just installed magisk v20.2 on stock MIUI global 11.0.4 and it works. :good:
Info
- Based on TWRP 3.3.1
- Build date: 2019.11.19
- Model: Redmi 7, Red Rice 7
- Developer: wzsx150 (profile)
Install Instructions
Warning: unlocked bootloader needed!
Fastboot
1. Download IMG file below
2. Rename file to recovery.img and put it into your adb path (if you don't have adb check this link)
3. Reboot your device into fastboot mode by holding down vol - and power button while device is off and connect to PC
4. Open cmd in your adb path and run the following command: fastboot flash recovery recovery.img
5. Run fastboot reboot, and hold down vol + key until device enters into twrp
Custom Recovery
1. Download ZIP file below to internal storage
2. Reboot to recovery
3. Install zip
4. Reboot to recovery
Downloads
IMG: https://drive.google.com/uc?id=16zXoYeviDUeV9zsSeDjyi_P8NnQkJhLr&export=download
ZIP: https://drive.google.com/uc?id=1ZF4C5-B9rlHKJVO0GbtS_ZjT5VlX1taH&export=download
Special Thanks
- TeamWin for building TWRP for a lot of devices, including this one
- wzsx150 and LR.Team for making this mod
- Firmwarex.net for providing a free Baidu account to download from their servers
Source: https://www.weibo.com/6033736159/IgY1Ex98h?from=page_1005056033736159_profile&wvr=6&mod=weibotime
Works backups AND restore opción?
mcf7 said:
Disclaimer:
/* Your warranty is now void! I'm not responsible for bricked devices, dead SD cards or anything else that may occur to you and / or your device.* Do it at your own risk!
This recovery was not made by me, i'm just sharing it in easier ways to download. The guy behind this is wzsx150, thank him for it.
After a lot of pain researching and trying to download from Baidu servers i finally managed to get this custom TWRP to get rid of force encryption on stock MIUI because this recovery can successfully decrypt with no need to do a format data.
Just installed magisk v20.2 on stock MIUI global 11.0.4 and it works. :good:
Info
- Based on TWRP 3.3.1
- Build date: 2019.11.19
- Model: Redmi 7, Red Rice 7
- Developer: wzsx150 (profile)
Install Instructions
Warning: unlocked bootloader needed!
Fastboot
1. Download IMG file below
2. Rename file to recovery.img and put it into your adb path (if you don't have adb check this link)
3. Reboot your device into fastboot mode by holding down vol - and power button while device is off and connect to PC
4. Open cmd in your adb path and run the following command: fastboot flash recovery recovery.img
5. Run fastboot reboot, and hold down vol + key until device enters into twrp
Custom Recovery
1. Download ZIP file below to internal storage
2. Reboot to recovery
3. Install zip
4. Reboot to recovery
Downloads
IMG: https://drive.google.com/uc?id=16zXoYeviDUeV9zsSeDjyi_P8NnQkJhLr&export=download
ZIP: https://drive.google.com/uc?id=1ZF4C5-B9rlHKJVO0GbtS_ZjT5VlX1taH&export=download
Special Thanks
- TeamWin for building TWRP for a lot of devices, including this one
- wzsx150 and LR.Team for making this mod
- Firmwarex.net for providing a free Baidu account to download from their servers
Source: https://www.weibo.com/6033736159/IgY1Ex98h?from=page_1005056033736159_profile&wvr=6&mod=weibotime
Click to expand...
Click to collapse
Thanks a lot ? so this should work to install any custom rom? Like the pixel experience one?
Sent from my Xiaomi Redmi 7 using XDA Labs
Jojethegamerpro said:
Works backups AND restore opción?
Click to expand...
Click to collapse
I haven't tested but it should work
SammyInTheCity said:
Thanks a lot ? so this should work to install any custom rom? Like the pixel experience one?
Click to expand...
Click to collapse
If you're planning to install a custom rom, any custom recovery should work, including this one.
The main advantage of using this recovery is that you can bypass the stock rom (maybe stock based roms too) force encryption to access your partitions on recovery.
mcf7 said:
If you're planning to install a custom rom, any custom recovery should work, including this one.
The main advantage of using this recovery is that you can bypass the stock rom (maybe stock based roms too) force encryption to access your partitions on recovery.
Click to expand...
Click to collapse
Okay thanks, I have my bootloader locked at the moment, but when I finally am able to unlock it I'll definitely use this
Sent from my Xiaomi Redmi 7 using XDA Labs
Thank you for sharing
Ask password for decryption
But my phone isn't encrypted
Tried my lock screen password it didn't work
Tried to remove all passwords but still asks for password
hamedhd said:
Ask password for decryption
But my phone isn't encrypted
Tried my lock screen password it didn't work
Tried to remove all passwords but still asks for password
Click to expand...
Click to collapse
Which recovery did you used before this? And what's your rom?
For the first time i used LR.Team's recovery i installed recovery, did a format data(due to the password issue as you), installed miui global and magisk and the system booted properly and after that recovery didn't asked for password anymore and i've been able to mount partitions and do other stuff.
I can't flash gapps using this twrp, fix it please
Me_Only said:
I can't flash gapps using this twrp, fix it please
Click to expand...
Click to collapse
I'm not the dev behind this project, i'm just sharing wzsx150's work in an easier way to download. You can contact him on the source link at the bottom of OP.
I only tested this twrp with stock rom which doesn't need gapps and encountered no issues.
mcf7 said:
I'm not the dev behind this project, i'm just sharing wzsx150's work in an easier way to download. You can contact him on the source link at the bottom of OP.
I only tested this twrp with stock rom which doesn't need gapps and encountered no issues.
Click to expand...
Click to collapse
same here but the custom roms that doesn't include gapps sucks, that's the problem with this twrp it cant flash gapps, thanks for the response bro.

Flashing failed completly, could repair it. What do i do now?

What happend:
I bought a used Mi A2 lite with stock Android 8. Because i already used LineageOS and really love it, i want to continue to use it.
I did the flashing process a few times wrong. After the help of a very kind user i did it as it was supposed to be.
mustaphakosar said:
Let me sum up the process which will probably answer your all questions.
Once you opened the bootloader and flashed TWRP image successfully and saw TWRP screen on your phone, unplug it from PC.
IF you will install a custom rom, than
1- format data, type 'yes'. Reboot to recovery
2- advaanced wipe( everyting except sd card) (ı assume you should have put custom rom file and twrp.installer.zip to your sd card)
3- install custom rom and twrp.installer.zip(choosing to upload from your sdcard, you will be able to see them)
4- go back. Press "reboot" but don't reboot anything. From reboot menu, change slot(if you're at slot 'a', change your slot to 'b', vice versa)
5- now you can press reboot to recovery.
6- once recovery(twrp) opens, you can install gapps and magisk.
7- reboot the system.
Click to expand...
Click to collapse
Doing so cause, that my Phone didn't boot the OS anymore. I could see the Android ONE bootlogo, after that the screen turned black. Phone must be still running because PC detected a device, when i connected the phone to my PC.
If i keep pressing Louder and Start i could enter recovery, with quieter i could enter fastboot.
Thankfully i discovered this thread:
never ending boot after stock ROM install
My Mi A2 Lite had stock rom v10.0.18.0, unlocked bootloader, Magisk v20.3 and TWRP using Offain v3.3.1. I wanted to try dotOS custom ROM and followed this tutorial: https://github.com/tkchn/daisyinstall I begin with step 1 installing daisy...
forum.xda-developers.com
and fixed the Phone so i can start an OS again. Now is my question, what did go wrong? What is the best way to continue from this point to flash LineageOS on my phone? Do i have to update the OS from the thread first and try it again?
Phone is still OEM unlocked.
Thank you guys in advance!
Ok i got it now. For whoever will find this in the future:
I started at the point above and updated the Stock Android 9 to the latest version.
1. Enable USB-Debugging and open Bootloader in the settings
2. Shut down Phone and start into fastboot
3. Use command: "fastbood oem unlock"
This will cause a factory reset, be aware
4. Check settings and go into fastboot again, then use command
"fastboot boot <name of your twrp image>"
Proceed this way:
GitHub - tkchn/daisyinstall: An installation guide for custom ROMs on Xiaomi Mi A2 Lite
An installation guide for custom ROMs on Xiaomi Mi A2 Lite - GitHub - tkchn/daisyinstall: An installation guide for custom ROMs on Xiaomi Mi A2 Lite
github.com
Enjoy

Question How to flash Miui 14 for mi pad 5?

How to flash miui14 Chinese dev recovery rom in mipad 5
?
1. You download the CN Stable dev build from here
2. A. It's a recovery ROM zip, so you can only directly flash it in MIUI Updater, or MIUI Stock Recovery, if you are already on the same branch (CN Stable dev)
2. B. otherwise (you are on a different ROM variant, like Global or Stable non-dev) you have to unlock your tablet and then flash the recovery ROM zip via custom recovery (TWRP) or flash a fastboot ROM (which is not the same as the zip above) and flash it via MiFlash Tool, or adb from a computer.
Am in stable indian rom
Cant update through miui updater ?
Because last time changing China fastboot rom my device got bricked
Any other possible way ?
Twrp guide ?
underlines said:
1. You download the CN Stable dev build from here
2. A. It's a recovery ROM zip, so you can only directly flash it in MIUI Updater, or MIUI Stock Recovery, if you are already on the same branch (CN Stable dev)
2. B. otherwise (you are on a different ROM variant, like Global or Stable non-dev) you have to unlock your tablet and then flash the recovery ROM zip via custom recovery (TWRP) or flash a fastboot ROM (which is not the same as the zip above) and flash it via MiFlash Tool, or adb from a computeram i
Click to expand...
Click to collapse
drmagesh7 said:
Am in stable indian rom
Cant update through miui updater ?
Because last time changing China fastboot rom my device got bricked
Any other possible way ?
Twrp guide ?
Click to expand...
Click to collapse
WARNING: If you don't know how this stuff works, I recommend not to do it. This will install CN Stable Dev ROM, only English and Chinese will be available. Mi Flash gives an error but the Tablet reboots and MIUI 14 CN will be properly flashed without losing user-data. But to be sure, make a backup and learn how to fix a soft-bricked device BEFORE you start. If you soft-brick, don't ask questions here but google and learn through youtube tutorials.
unlock your device. Apply here
download the latest MIUI 14 chinese stable dev fastboot tgz file
extract the tgz with winRAR or 7zip into a folder
download and extract Mi Flash Tool into another folder
run XiaoMiFlash.exe inside the extracted Mi Flash Tool folder
Install the drivers when asked inside the Mi Flash Tool, if it gives an error then install the driver manually
Turn off your Mi Tab 5, then reboot it by pressing POWER + VOLUME UP until the Fastboot screen appears
Connect your Mi Tab 5 to your computer via USB.
Click the "refresh" button in Mi Flash Tool. In the table below the "select" button a new row should appear with an id and device. If not you have a USB driver problem, cable problem, your tablet is not in fastboot mode or other issue. Use google to fix your problem or watch a youtube video to learn how to do it.
in Mi Flash Tool click the "select" button and navigate to the folder where you extracted the tgz file, click OK. (Make sure you navigate and select the "nabu_images_V14.0.22.12.21.DEV_13.0" folder, and not the one inside it called "images")
At the bottom of Mi Flash Tool select "Save user data"and in the drop down next to it select "Flash all except storage"
Click the "flash" button in Mi Flash Tool and wait until it's done.

Categories

Resources