xiaomi Mi8 boot to twrp instead of ROM - Android Q&A, Help & Troubleshooting

hi all,
i wanted to install the miui on my xiaomi mi8 phone.
i already had installed the twrp software. i folowed these steps:
Select ‘Wipe‘ from the TWRP main menu and do a ‘wipe to Factory Reset’ on the bottom of the screen.
└ Note: This will factory reset your device. Skip this step if you don’t want to factory reset your device, that is, if you are already on MIUI 10 update.
Tap on the Wipe button again, and now tab on Format data button. Type yes on the next screen and then hit the enter key to confirm and format the data partition.
On the TWRP main menu, tap on ‘Install‘ and select the MIUI 10 update file that you transferred to your device above. After selecting the .zip file, do ‘Swipe to Confirm Flash’ on the bottom of the screen to begin the custom ROM installation process. This may take some time.
Once your ROM is successfully flashed, you’ll see ‘Wipe cache/dalvik‘ option, select it and then do ‘Swipe to wipe’ on the bottom of the screen.
Install lazyflasher file too the same way.
Tap on the ‘Reboot System’ button to restart the device. Done!
found here
https://www.theandroidsoul.com/download-miui-10/
but when I do this I end up booting it back to the twrp instead of miui. what am i doing wrong ?
thx
Bauke

Related

Wrote a guide for Rooting and Flashing CM on LG G2 running 4.4.2

Hello.
I made a quick write up of the process I followed last night to root my new Tmobile LG G2 on 4.4.2 software version D80120A because I could not find one. so I had to piece together my own plan of attach based on a few threads.
I wanted to add it to the CM wiki but apparently making changes to a wiki is not as simple as it seems. With that said I would like to post it here but I don't know how to do it in a politically correct manner to give everyone appropriate credit and not break any rules. I am posting my steps below, if someone knows how to quickly convert this into a standard that complies with forum rules and can either help me or post it in the correct section I would really appreciate it.
Also, Please double check my guide. I need a fresh set of eyes to critique the procedure in case I missed something.
Thank You
Ensure that you have LG G2 drivers installed before you get started.
1. Enable Developer Options on the device
1. Go to Settings
2. Go to About Phone
3. Tap Build Number 5 times.
4. Enable USB Debugging on the device
2. Enable USB Debugging
1. Go to Development Settings
2. Check USB Debugging
3. Enable Unknown Applications
1. Go to Setting
2. Go to Security
3. Check Unknown Sources
4. Root the phone
1. Go to https://towelroot.com/ and download the .apk.
2. Find and run TR.APK
3. Click "Make It Rain"
4. Reboot the device
5. Download the D801 CM11 M8 image and GAPPS
1. Plug your phone into the computer copy both to your phones emulated SD Card through MTP mode.
6. Install Recovery
1. Download AutoRec to your computer, in this case for the "D801". It can be found here: http://forum.xda-developers.com/showpost.php?p=51857807&postcount=1
2. Copy AutoRec to your phone and run it
3. If you see three check marks hit flash
7. Prepare to install Cyanogenmod
1. Reboot into Recovery and Make a backup of the current Rom
2. Hit backup and swipe to take a nandroid of the current ROM
3. Press back to get to the main screen
4. Wipe the device
5. Hit wipe then hit advanced
6. Select Dalvik Cache, System, Data, Cache
• DO NOT, DO NOT CHECK INTERNAL STORAGE
7. Swipe to Wipe
8. Press back to return to the main screen
8. Install CM 11M8
1. Press install and find the location of the CM11 M8 zip file
2. Swipe to install
3. Press back to return to the main screen
9. Install GAPPS
1. Press install and find the location of the GAPPS zip file
2. Swipe to install
3. Press back to return to the main screen
10. Press Reboot -> System
11. You should now see Cyanogenmod Boot up.
If the system gets stuck at the Cyanogenmod boot screen for longer than 10 minutes you will need to go back to recovery and wipe Dalvik and Cache. To do this you need to shut off the phone. Hold the power button until the phone turns off but don’t let go right away, the phone will first reboot and the LG logo will appear. You need to keep holding the power button past this point until the phone powers off.
Once the phone is off hold the power and down arrow until you see the LG logo then quickly release and re-press power and down. If you did this right you will be taken to “Factory Hard Reset”. Don’t worry. Hit power three times and then confirm. You will be taken to TWRP where you can wipe the cache and dalvik.
my software version is D80120e. will that make any difference in the Autorec department. I've rooted with towel root and its great, but I'm deathly afraid of bricking my phone via installing custom recovery. I have the tmobile variant and did you have any trouble whatsoever with autorec?
let me know. I want to install stock aosp rom on my g2
brandonnathaniel said:
my software version is D80120e. will that make any difference in the Autorec department. I've rooted with towel root and its great, but I'm deathly afraid of bricking my phone via installing custom recovery. I have the tmobile variant and did you have any trouble whatsoever with autorec?
let me know. I want to install stock aosp rom on my g2
Click to expand...
Click to collapse
I have had no issues with Autorec. From my understanding the application has some checks in place to ensure you don't install it on the wrong device. But also, make sure to download the right one as there are several one for each variant.

CWM Stuck on logo sk17i (mango, CM11)

Hi, today i decided to bring back the phone ROM from CM13 to CM11 so i started to flash the boot.img.
After that i tried to access the recovery menu to install GAPPs but i was not able to to that.
I'm stuck in cwm logo where it says
"CWM-base Recovery v6.0.5.1
Swipe up/down to change selections.
Swipe to the right for enter.
Swipe to the left for back."
The only thing i can do is to unplug the battery, to reset the phone.
It's a bit strange because is not the first time that i change a rom.
The rom i have downloaded is the CM11 from the XperiaLegacy site, i have installed the same version just one or two month ago!
I also tried with the latest one. Nothing changed.
This is what i have done to flash kernel and install the rom
1. I've connect phone to usb while pressing vol. up (fastboot)
2. I've opened Flashtool and I've clicked the bolt icon (driver already installed).
3. I've clicked on fastboot mode
4. on the right, I've clicked "select flash kernel" button
5. I've selected the boot.img previously extracted from the rom.zip
6. I've unpluged usb, and while continuously pressing vol. down key, I've powered it on.
So my question is, why today my phone decided to stop working? I think the steps are correct, aren't they?
What i can do to fix it?

The Easiest Way to ROOT and Installing TWRP on A320Y (DS)

ok guys, this is the easiest method for u guys who own a320y (ds) , maybe works with a320f version.
i have read many threads here according to gaining root for this device, but i got problem with twrp after flashing rom with odin. twrp cant mount /data
okay, here is the solution for u guys who dont have external sd card.
(READ IT CAREFULLY)
1. Download stock firmware related to your device (in this case, a320y/DS. but i think i t will working fine for a320f version)
2. Download Latest odin version from here https://odindownload.com/, and intall on your pc
3. Make sure u have adb installed on your pc, and also have samsung usb driver installed too. u can find it here
4. connect your device to pc on download mode (hold volume down , home, and power button until you see blue screen and press volume up button to go to download mode)
5. extract your firmware you download wherever you want.
6. open odin and you will see your device there. (something like 0:[com6])
7. choose the file you extracted (AP - AP , CSC - HOME CSC , BL - BL , CP - CP) , then un-tick the auto-reboot.
8. press start.
----------------------------------
9. when its done, disconnect your device, and connect it again.
10. press reset on odin
11. press ap button and select twrp file (.tar) = u can download twrp for our device here
12. untick auto reboot option again
13. press start.
---------------------------------
14.. when its done, force restart your device by pressing and hold vol down , home , power button until the screen is gone black. and the device will reboot to system.
---------------------------------
15. finish the setup for the first time, and enable the developer setting (go to about phone, software information and press build number 5-10 times)
16. press back button 2 times, and u will see developer option on the lowest screen.
17. go to developer option and enable OEM UNLOCK, disable auto update system, ENABLE USB DEBUGGING. see your phone screen, it will asking for usb debugging authorization. press yes
18. now go back to TWRP turning off your device, after the screen goes off, hold volume up, home button, and power button until u get inside twrp again.
19. download magisk zip here
20. press advanced button, and press sideload and enable it.
21. disconnect and reconnect your device to pc.
22. open CMD (win + R , and type CMD), now in command screen, type this
adb sideload yourdownloaddirectory/magisk-v16.0.zip
Click to expand...
Click to collapse
23. after the progress done, u can reboot your phone.
24. download magisk manager here and install on your phone, give permission to install the .apk file.
25. now your device is ROOTED, WITHOUT ANY LAG ON LOCKSCREEN, AND WITHOUT ANY PROBLEM WITH TWRP RECOVERY.
==i make this tutorial because i myself had facing the problem when installing twrp. after flashing the firmware and straight reboot to twrp, the /data folder is still mounted, but after reboot to system and back to twrp, it cant mount the /data anymore. so i need to wipe the data again and again. but after installing twrp and flashing the magisk.zip file , the problem with /data is gone. i dont need to wipe /data anymore :victory: and some people are facing the lag while unlocking screen with secured lockscreen (pattern/password) after rooting using chainfire.zip . but with magisk.zip , the lagg is gone forever ==
sorry for my english, but i think u guys can understand it.
Feel Free to ask me if u guys facing problem with this tutorial, i will help!
because many people here are helped me a lot for every problem i had, so i think this time is my time to helping others too
Is this guide for Nougat or Oreo?
AK2H said:
Is this guide for Nougat or Oreo?
Click to expand...
Click to collapse
ah yeah sorry, this tutorial is for Nougat version.
have not try oreo because still not released for my country.
Can I still use fingerprint to unlock the screen when rooting this way?
leo31 said:
ok guys, this is the easiest method for u guys who own a320y (ds) , maybe works with a320f version.
i have read many threads here according to gaining root for this device, but i got problem with twrp after flashing rom with odin. twrp cant mount /data
okay, here is the solution for u guys who dont have external sd card.
(READ IT CAREFULLY)
1. Download stock firmware related to your device (in this case, a320y/DS. but i think i t will working fine for a320f version)
2. Download Latest odin version from here https://odindownload.com/, and intall on your pc
3. Make sure u have adb installed on your pc, and also have samsung usb driver installed too. u can find it here
4. connect your device to pc on download mode (hold volume down , home, and power button until you see blue screen and press volume up button to go to download mode)
5. extract your firmware you download wherever you want.
6. open odin and you will see your device there. (something like 0:[com6])
7. choose the file you extracted (AP - AP , CSC - HOME CSC , BL - BL , CP - CP) , then un-tick the auto-reboot.
8. press start.
----------------------------------
9. when its done, disconnect your device, and connect it again.
10. press reset on odin
11. press ap button and select twrp file (.tar) = u can download twrp for our device here
12. untick auto reboot option again
13. press start.
---------------------------------
14.. when its done, force restart your device by pressing and hold vol down , home , power button until the screen is gone black. and the device will reboot to system.
---------------------------------
15. finish the setup for the first time, and enable the developer setting (go to about phone, software information and press build number 5-10 times)
16. press back button 2 times, and u will see developer option on the lowest screen.
17. go to developer option and enable OEM UNLOCK, disable auto update system, ENABLE USB DEBUGGING. see your phone screen, it will asking for usb debugging authorization. press yes
18. now go back to TWRP turning off your device, after the screen goes off, hold volume up, home button, and power button until u get inside twrp again.
19. download magisk zip here
20. press advanced button, and press sideload and enable it.
21. disconnect and reconnect your device to pc.
22. open CMD (win + R , and type CMD), now in command screen, type this
23. after the progress done, u can reboot your phone.
24. download magisk manager here and install on your phone, give permission to install the .apk file.
25. now your device is ROOTED, WITHOUT ANY LAG ON LOCKSCREEN, AND WITHOUT ANY PROBLEM WITH TWRP RECOVERY.
==i make this tutorial because i myself had facing the problem when installing twrp. after flashing the firmware and straight reboot to twrp, the /data folder is still mounted, but after reboot to system and back to twrp, it cant mount the /data anymore. so i need to wipe the data again and again. but after installing twrp and flashing the magisk.zip file , the problem with /data is gone. i dont need to wipe /data anymore :victory: and some people are facing the lag while unlocking screen with secured lockscreen (pattern/password) after rooting using chainfire.zip . but with magisk.zip , the lagg is gone forever ==
sorry for my english, but i think u guys can understand it.
Feel Free to ask me if u guys facing problem with this tutorial, i will help!
because many people here are helped me a lot for every problem i had, so i think this time is my time to helping others too
Click to expand...
Click to collapse
Do I have to perform steps 1-8 if I'm already in Nougat?
Has someone tried this on an SM-A320FL with Android 8.0 and SD card inserted?
simple_s said:
Has someone tried this on an SM-A320FL with Android 8.0 and SD card inserted?
Click to expand...
Click to collapse
It's works fine.

[GUIDE] LineageOS 17.1 ROM for Galaxy M30s Android 10 Q

The phone must be installed TWRP Recovery. Use at your own risk, I'm not responsible for bricking your device.
Installation Instructions:
1. Enter TWRP Recovery Mode: Turn power off; Press and hold Volume Up key + Power key, when samsung logo appears release power key only, keep pressing volume up until TWRP recovery appears
2. Select Wipe - Format Data - type "yes" and confirm
3. Copy GSI ROM to your phone
4. Install - Install Image - select lineage-17.1-20200413-UNOFFICIAL-treble_arm64_bvN.img - select System Image and Confirm to flash.
5. Select Reboot - System ( boot without magisk )
6. Setup the Phone
7. INSTALL GAPPS: Enter TWRP Recovery Mode
8. Copy GAPPS zip file from PC to Phone
9. Select Wipe - Advanced Wipe - select "System" - Repair or Change File System - Resize File System - Confirm to Resize.
10. Select Install - select open_gapps-arm64-10.0-nano-20200408.zip and Confirm Flash
11. Reboot - System
12. ROOTING: Enter TWRP Recovery Mode
13. Copy magisk manager apk from pc to phone
14. Reboot to Recovery ( boot with magisk )
15. Connect the phone to internet
16. Install magisk manager
Done!
Download:
LineageOS 17.1 ROM
Open Gapps
WATCH VIDEO HOW TO INSTALL IT: https://youtu.be/3l7Hck1aLYY
Is it working on SM-M307FN ??
hm, tested older version, but worked ok
momomago said:
Is it working on SM-M307FN ??
Click to expand...
Click to collapse
hm, few weeks ago i tested an older version (lineage-17.1-20200309-UNOFFICIAL-treble_arm64_bvN), which worked (i mean it booted, can be set), but auto brightness didn't work, dual SIM card support was missing, MTP didn't worked and after that i went to original sammy ROM... if you are willing to try this one, report here please if any of my findings were corrected (dual SIM card support is crucial for me, so if this one correctly recognizes and uses both of them a will give this one a shot again), thanks....
Work with china version sm m3070zcu2asl2 ?

[UNOFFICIAL][TWRP][Recovery] TWRP 3.3.1-0

This process will wipe your entire data make sure to backup (use lg bridg )
Detailed video:-
1. Unlock BootLoader And Root (https://forum.xda-developers.com/t/how-to-unlock-bootloader-and-root-lg-g8x-video-guide.4198267/)
2. Download the required files
TWRP : https://www.mediafire.com/file/oxqeugznv0z1pyb/Twrp%28g8x%29.zip/file​ Magisk :https://www.mediafire.com/file/feb5paddqj5lmun/Magisk-v20.4.zip/file​ Disable Dm-Verity : https://www.mediafire.com/file/j6b6mik4opn5iib/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip/file​
3.Install the TWRP flash module in Magisk Manager, remember "Don't press restart" . , install Magisk.zip again via Magisk manager
4. install Magisk.zip again via Magisk manager
5. Power off the device => press and hold vol Down and Power when YOu feel the vibration Leave the Power =>at the time when you see
the LG G8x logo press the power Button 2 or 3 times(you should not leave the vol down button while this process)
OR wacth this if You didnt understand (wtach the Video)
Note: You may thing to use "adb reboot recovery" but This is LG (We make things Harder)( touch will not work so Use Button combination)
6. You will be in Reset menu press "yes" (it will boot into Twrp)
7. It will ask Pin to decrypt data (press cancel => Wipe =>Formate Data and also make a factory reset)
8.Copy the Disable Dm-Verity.zip to internal storage and Go to Install => select the Disable Dm-Verity.zip and reboot the system
9. Twrp installed successfully..
Ultra noob ? Don't worry Watch this ;-
[email protected] said:
This process will wipe your entire data make sure to backup (use lg bridg )
Detailed video:-
1. Unlock BootLoader And Root (https://forum.xda-developers.com/t/how-to-unlock-bootloader-and-root-lg-g8x-video-guide.4198267/)
2. Download the required files
TWRP : https://www.mediafire.com/file/oxqeugznv0z1pyb/Twrp%28g8x%29.zip/file​ Magisk :https://www.mediafire.com/file/feb5paddqj5lmun/Magisk-v20.4.zip/file​ Disable Dm-Verity : https://www.mediafire.com/file/j6b6mik4opn5iib/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip/file​
3.Install the TWRP flash module in Magisk Manager, remember "Don't press restart" . , install Magisk.zip again via Magisk manager
4. install Magisk.zip again via Magisk manager
5. Power off the device => press and hold vol Down and Power when YOu feel the vibration Leave the Power =>at the time when you see
the LG G8x logo press the power Button 2 or 3 times(you should not leave the vol down button while this process)
OR wacth this if You didnt understand (wtach the Video)
Note: You may thing to use "adb reboot recovery" but This is LG (We make things Harder)( touch will not work so Use Button combination)
6. You will be in Reset menu press "yes" (it will boot into Twrp)
7. It will ask Pin to decrypt data (press cancel => Wipe =>Formate Data and also make a factory reset)
8.Copy the Disable Dm-Verity.zip to internal storage and Go to Install => select the Disable Dm-Verity.zip and reboot the system
9. Twrp installed successfully..
Ultra noob ? Don't worry Watch this ;-
Click to expand...
Click to collapse
Ultra noob
lol!
can't work.
my g8x is Unlock BootLoader And Root with 20e ca op
@[email protected]
Could you use like Mega GDrive to mirror TWTP because MediaFire link is dead.
There is a fixed version by mr zhu on telegram v50 group. Search the notes.
siulmagic said:
There is a fixed version by mr zhu on telegram v50 group. Search the notes.
Click to expand...
Click to collapse
Which one is it? Twrpg8 or korean beta
Search channel for twrp-installer-v3.3.1-g8x-ab
siulmagic said:
Search channel for twrp-installer-v3.3.1-g8x-ab
Click to expand...
Click to collapse
AFter format data and factory reset and flashing dm verity it bootloops
Awesomeslayerg said:
AFter format data and factory reset and flashing dm verity it bootloops
Click to expand...
Click to collapse
you have to flash twrp with magisk manager while in android, then magisk again while in android without rebooting, then you boot to twrp and flash disable dm verity, else you will have a broken boot.img
Ive done that still bootloops USA Version.
@[email protected], can you please compile OrangeFox recovery for LG G8x?
[email protected] said:
This process will wipe your entire data make sure to backup (use lg bridg )
Detailed video:-
1. Unlock BootLoader And Root (https://forum.xda-developers.com/t/how-to-unlock-bootloader-and-root-lg-g8x-video-guide.4198267/)
2. Download the required files
TWRP : https://www.mediafire.com/file/oxqeugznv0z1pyb/Twrp%28g8x%29.zip/file​ Magisk :https://www.mediafire.com/file/feb5paddqj5lmun/Magisk-v20.4.zip/file​ Disable Dm-Verity : https://www.mediafire.com/file/j6b6mik4opn5iib/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip/file​
3.Install the TWRP flash module in Magisk Manager, remember "Don't press restart" . , install Magisk.zip again via Magisk manager
4. install Magisk.zip again via Magisk manager
5. Power off the device => press and hold vol Down and Power when YOu feel the vibration Leave the Power =>at the time when you see
the LG G8x logo press the power Button 2 or 3 times(you should not leave the vol down button while this process)
OR wacth this if You didnt understand (wtach the Video)
Note: You may thing to use "adb reboot recovery" but This is LG (We make things Harder)( touch will not work so Use Button combination)
6. You will be in Reset menu press "yes" (it will boot into Twrp)
7. It will ask Pin to decrypt data (press cancel => Wipe =>Formate Data and also make a factory reset)
8.Copy the Disable Dm-Verity.zip to internal storage and Go to Install => select the Disable Dm-Verity.zip and reboot the system
9. Twrp installed successfully..
Ultra noob ? Don't worry Watch this ;-
Click to expand...
Click to collapse
Twrp file has been removed please i want link to download twrp anyone help me i want link to download twrp for lg g8x
Cyrus05 said:
Twrp file has been removed please i want link to download twrp anyone help me i want link to download twrp for lg g8x
Click to expand...
Click to collapse
Purposely removed since expected perfection is not yet attained with that. Be in touch with the telegram group so that you may be updated regarding the development of the bl unlock, rooting and further custom ROM for the LG G8X...
LG Mobiles India 🇮🇳
Political Discussion, Obscene material/words, Selling, Fraudulent link posting will lead to Ban SHARING COPYRIGHT CONTENT & PIRACY NOT ALLOWED, it leads to REPORT & BLOCK Photography Group: @lgg8xphotography OT Group: @LG_G8X_OffTopic
t.me
Join the party
Can someone provide me with their LG G8X G850UM dump because my device is in a kernal panic and tells me to enter sahara mode?
Can't get to fastboot or recovery.
[email protected] said:
This process will wipe your entire data make sure to backup (use lg bridg )
Detailed video:-
1. Unlock BootLoader And Root (https://forum.xda-developers.com/t/how-to-unlock-bootloader-and-root-lg-g8x-video-guide.4198267/)
2. Download the required files
TWRP : https://www.mediafire.com/file/oxqeugznv0z1pyb/Twrp%28g8x%29.zip/file​ Magisk :https://www.mediafire.com/file/feb5paddqj5lmun/Magisk-v20.4.zip/file​ Disable Dm-Verity : https://www.mediafire.com/file/j6b6mik4opn5iib/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip/file​
3.Install the TWRP flash module in Magisk Manager, remember "Don't press restart" . , install Magisk.zip again via Magisk manager
4. install Magisk.zip again via Magisk manager
5. Power off the device => press and hold vol Down and Power when YOu feel the vibration Leave the Power =>at the time when you see
the LG G8x logo press the power Button 2 or 3 times(you should not leave the vol down button while this process)
OR wacth this if You didnt understand (wtach the Video)
Note: You may thing to use "adb reboot recovery" but This is LG (We make things Harder)( touch will not work so Use Button combination)
6. You will be in Reset menu press "yes" (it will boot into Twrp)
7. It will ask Pin to decrypt data (press cancel => Wipe =>Formate Data and also make a factory reset)
8.Copy the Disable Dm-Verity.zip to internal storage and Go to Install => select the Disable Dm-Verity.zip and reboot the system
9. Twrp installed successfully..
Ultra noob ? Don't worry Watch this ;-
Click to expand...
Click to collapse
twrp works great on my g8x except I have no touch screen capabilities in twrp recovery....i have been using a wireless mouse to man the buttons. Anything i can do to regain touch features?
#Rooty_Mikes# said:
twrp works great on my g8x except I have no touch screen capabilities in twrp recovery....i have been using a wireless mouse to man the buttons. Anything i can do to regain touch features?
Click to expand...
Click to collapse
U need to use button combo to enter the recovery. And touch will work
[email protected] said:
U need to use button combo to enter the recovery. And touch will work
Click to expand...
Click to collapse
I tried for an hour to get the button combo right and couldn't figure it out. Im coming from Samsung and varients and Lg is a new world to me. Whats the bu
[email protected] said:
U need to use button combo to enter the recovery. And touch will work
Click to expand...
Click to collapse
Was alittle trickie with the factory reset screen but i figured it out, thank you very much
Any update?
Reupload files please.
LexxiHI said:
Any update?
Reupload files please.
Click to expand...
Click to collapse
What do you need?
Latest working TRWP for LG G8X

Categories

Resources