Related
Have downloaded magisk APK and zip file but it's not working please help how to deal with this issue .
Anank54 said:
Have downloaded magisk APK and zip file but it's not working please help how to deal with this issue .
Click to expand...
Click to collapse
Common, search.
You need twrp if you want flash something.
Anank54 said:
Have downloaded magisk APK and zip file but it's not working please help how to deal with this issue .
Click to expand...
Click to collapse
Along with TWRP, you're best to get the bootloader unlocked from Xiaomi. I did this with my mi max, Xiaomi approved and I unlocked with their tool. Basically, miui may screw up with OTAs and TWRP in the future, so best to move from miui if you can.
From that point on, you're free to use the tools you wish. I'd recommend nigel's 7.1 unofficial ROM.
So the sequence would be :
1. Unlock bootloader with Xiaomi.
2. Download nigel's / other ROM and modem firmware, Gapps, and Magisk to the SD card.
3. Reboot to fastboot mode
4. Install TWRP with adb recovery command from your computer
5. Restart in bootloader / TWRP mode.
6. Wipe everything but the SD card.
7. Install the ROM, the firmware and gapps
8. Restart into regular system and setup the new ROM
9. Restart in bootloader / TWRP mode
10. Install Magisk
Boom...you now get regular OTA, have Magisk and substratum can be installed as well.
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??
I had this device for two days now, one of the first things that I tried was to install a custom ROM and I was surprised of how hard it was to do, so after a lot of trial and error I managed to install those two ROMs so I wanted to share how I did it so nobody has to suffer like I
Okay so I have tried two methods, one worked for Pixel Experience and the other for Lineage OS, there are probably better ways to do this so be sure to reply to this thread if you find another ways to accomplish this!
IMPORTANT!:
1. I did the two of this methods with the stock ROM with a minimal setup (skipping wifi, no google login, no fingerprint, etc).
2.You need to have the bootloader unlocked.
3. Im not responsable if you brick your phone or lose your data, do the following steps if you know what you're doing and always back-up your data!!!
Files used:
TWRP link (Download both the img and the zip)
Pixel Experience link
LineageOS link
Gapps link
Magisk 20.1 link
Encryption patch (patch_no_fde10) link
Method 1 (Tested succesfully with Pixel Experience):
Thanks to ElSuperFullHD for creating an awesome guide in how to install Pixel Experience!
How to install Pixel Experience in Xiaomi mi a3 (Spanish guide)
1. Start your phone in fastboot mode.
2. use fastboot getvar current-slot (Check if phone is in slot a, if it isnt change it to a using fastboot set_active a)
3. Flash custom recovery (in this case I used TWRP) with fastboot flash boot twrp.img
4. reboot using 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).
5. When TWRP starts, move and flash TWRP zip (This will make the recovery to stay) and reboot into recovery again (Long press Vol + when the device starts until you boot into recovery).
6. Go to advanced wipe Dalvic cache, Data and System.
7. Install Pixel Experience ROM and TWRP zip again and restart to system.
8. You're done, enjoy!
Method 2 (Tested succesfully with LineageOS):
Thanks to suschmania for your extremely helpful comment, I wouldnt have figured how to install LineageOS without him!
1. Start your phone in fastboot mode.
2. use fastboot getvar current-slot (Check if phone is in slot a, if it isnt change it to a using fastboot set_active a)
3. Flash custom recovery (in this case I used TWRP) with fastboot flash boot twrp.img
4. reboot using 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).
5. Once in TWRP copy TWRP recovery zip into the phone and wipe Dalvic cache, Data, Vendor and System.
6. Install the ROM and TWRP recovery zip (This will make the recovery to stay).
7. Reboot into recovery (twrp shows the warning no os installed, continue anyway).
8. The filesystem will be decrypted (All folders corrupted) dont worries, just go to advanced wipe and wipe internal data, once that's done copy Gapps, magisk and the encryption patch into the phone).
9. Flash Gapps, magisk (Optional) and encryption patch.
10. Reboot to system (It may take up to 10 minutes to start so give it time, if more than 10 minutes passes see step 11).
11. In case of bootlop boot back into recovery and format data (its the one where you need to write yes to format), after its done reboot to system again.
12. You're done, enjoy!
I hope this guide was helpful to you, good luck!
thanks so much for this! Been flashing since andriod 1.6 but couldnt wrap my dumb head around these dual partitions.
And is the same for miui.eu ?
raphae34 said:
And is the same for miui.eu ?
Click to expand...
Click to collapse
No. Follow the instructions in the OP there. They work.
Kaissner said:
I had this device for two days now, one of the first things that I tried was to install a custom ROM and I was surprised of how hard it was to do, so after a lot of trial and error I managed to install those two ROMs so I wanted to share how I did it so nobody has to suffer like I
Okay so I have tried two methods, one worked for Pixel Experience and the other for Lineage OS, there are probably better ways to do this so be sure to reply to this thread if you find another ways to accomplish this!
IMPORTANT!:
1. I did the two of this methods with the stock ROM with a minimal setup (skipping wifi, no google login, no fingerprint, etc).
2.You need to have the bootloader unlocked.
3. Im not responsable if you brick your phone or lose your data, do the following steps if you know what you're doing and always back-up your data!!!
Files used:
TWRP link (Download both the img and the zip)
Pixel Experience link
LineageOS link
Gapps link
Magisk 20.1 link
Encryption patch (patch_no_fde10) link
Method 1 (Tested succesfully with Pixel Experience):
Thanks to ElSuperFullHD for creating an awesome guide in how to install Pixel Experience!
How to install Pixel Experience in Xiaomi mi a3 (Spanish guide)
1. Start your phone in fastboot mode.
2. use fastboot getvar current-slot (Check if phone is in slot a, if it isnt change it to a using fastboot set_active a)
3. Flash custom recovery (in this case I used TWRP) with fastboot flash boot twrp.img
4. reboot using 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).
5. When TWRP starts, move and flash TWRP zip (This will make the recovery to stay) and reboot into recovery again (Long press Vol + when the device starts until you boot into recovery).
6. Go to advanced wipe Dalvic cache, Data and System.
7. Install Pixel Experience ROM and TWRP zip again and restart to system.
8. You're done, enjoy!
Method 2 (Tested succesfully with LineageOS):
Thanks to suschmania for your extremely helpful comment, I wouldnt have figured how to install LineageOS without him!
1. Start your phone in fastboot mode.
2. use fastboot getvar current-slot (Check if phone is in slot a, if it isnt change it to a using fastboot set_active a)
3. Flash custom recovery (in this case I used TWRP) with fastboot flash boot twrp.img
4. reboot using 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).
5. Once in TWRP copy TWRP recovery zip into the phone and wipe Dalvic cache, Data, Vendor and System.
6. Install the ROM and TWRP recovery zip (This will make the recovery to stay).
7. Reboot into recovery (twrp shows the warning no os installed, continue anyway).
8. The filesystem will be decrypted (All folders corrupted) dont worries, just go to advanced wipe and wipe internal data, once that's done copy Gapps, magisk and the encryption patch into the phone).
9. Flash Gapps, magisk (Optional) and encryption patch.
10. Reboot to system (It may take up to 10 minutes to start so give it time, if more than 10 minutes passes see step 11).
11. In case of bootlop boot back into recovery and format data (its the one where you need to write yes to format), after its done reboot to system again.
12. You're done, enjoy!
I hope this guide was helpful to you, good luck!
Click to expand...
Click to collapse
The 1st method for Pixel Experience does not work for me, after following all the steps carefully, if i boot into system it boots me to fastboot everytime, or if I dont reboot to system (in TWRP after flashing everything) it only says no OS installed are you sure you want to continue, so any help?
Snjeky said:
The 1st method for Pixel Experience does not work for me, after following all the steps carefully, if i boot into system it boots me to fastboot everytime, or if I dont reboot to system (in TWRP after flashing everything) it only says no OS installed are you sure you want to continue, so any help?
Click to expand...
Click to collapse
the "no os installed" is normal, dont worries.
The installation method for pixel experience worked when I installed the old version, it was updated multiple times so probably the process changed, I will update the thread later
This dual slot fuking my mind up.
TWRP asking for password to decrypt data. while first boot in recovery.
also *unable to decrypt FBE device* error while formating data.
"couldnt able to flash Any ROM "unable to partition path/cache" error.
ps. flashed in slot a.
When I install twrp on fastboot it stuck there, I have Android 10 stock, is anything that I can do ? I try like 3 times and always the same
ManuMan99 said:
When I install twrp on fastboot it stuck there, I have Android 10 stock, is anything that I can do ? I try like 3 times and always the same
Click to expand...
Click to collapse
downgrade to android 9. apparently android 10 got some issues.
pradie said:
downgrade to android 9. apparently android 10 got some issues.
Click to expand...
Click to collapse
Don't tell him to downgrade. If you downgrade you will lose the use of all sensors or proximity sensor, compass etc and to fix this you need to flash persist.img which will cause you to lose widevine L1 so say goodbye to hd streaming and the like.
Be careful what information you give people if it will cause massive issues.
Its not that straightforward to just downgrade
garylawwd said:
Don't tell him to downgrade. If you downgrade you will lose the use of all sensors or proximity sensor, compass etc and to fix this you need to flash persist.img which will cause you to lose widevine L1 so say goodbye to hd streaming and the like.
Be careful what information you give people if it will cause massive issues.
Its not that straightforward to just downgrade
Click to expand...
Click to collapse
I apologize for not being precise. i had the same issue. downloaded and flashed android 9 Stock global ROM with mi flash tool. now it's booted correctly.
---------- Post added at 12:37 PM ---------- Previous post was at 12:37 PM ----------
garylawwd said:
Don't tell him to downgrade. If you downgrade you will lose the use of all sensors or proximity sensor, compass etc and to fix this you need to flash persist.img which will cause you to lose widevine L1 so say goodbye to hd streaming and the like.
Be careful what information you give people if it will cause massive issues.
Its not that straightforward to just downgrade
Click to expand...
Click to collapse
I apologize for not being precise. i had the same issue. downloaded and flashed android 9 Stock global ROM with mi flash tool. now it booted correctly.
Sapper Morton said:
Indeed, it's not as straight forward, but it's possible without losing Widevine L1 security level; read my experience here, I explained the steps I took ; so far, I came back to v11.0.8.0 QFQMIXM from v10.3.17.0 PFQEUXM after the downgrade, with no issues whatsoever (no format/wipe data); my DRM Keys and sensors remains intact.
Click to expand...
Click to collapse
Thank you I wouldn't have guessed that would work it seems too easy to be a fix but that's good news.
Thanks for that info
garylawwd said:
Don't tell him to downgrade. If you downgrade you will lose the use of all sensors or proximity sensor, compass etc and to fix this you need to flash persist.img which will cause you to lose widevine L1 so say goodbye to hd streaming and the like.
Be careful what information you give people if it will cause massive issues.
Its not that straightforward to just downgrade
Click to expand...
Click to collapse
Then what to do? I downgraded from Android 10 Stock to Android 9 Stock 3.13.0.PFQMIXM because I soft-bricked my phone. I Flashed the stock ROM using Mi Flash tool. It flashed OK but my MI A3 sensors are not working. Someone said Flash persist.img via TWRP but when I try to flash it asked me in which partition to flash.
Partitions available are:
bluetooth
modem
System Image
Dtbo
Vendor Image
splash
Boot
Install Recovery Ramdisk
I am confused where to flash. If this method isnt suitable as you said then guide me what to do. I have Global Fastboot ROM for Android 9 Version 3.16.0.PFQMIXM for Mi A3 available. Should I flash this using Mi Flash tool? Does it solve sensor issues or not? Please help.
vjrx88 said:
Then what to do? I downgraded from Android 10 Stock to Android 9 Stock 3.13.0.PFQMIXM because I soft-bricked my phone. I Flashed the stock ROM using Mi Flash tool. It flashed OK but my MI A3 sensors are not working. Someone said Flash persist.img via TWRP but when I try to flash it asked me in which partition to flash.
Partitions available are:
bluetooth
modem
System Image
Dtbo
Vendor Image
splash
Boot
Install Recovery Ramdisk
I am confused where to flash. If this method isnt suitable as you said then guide me what to do. I have Global Fastboot ROM for Android 9 Version 3.16.0.PFQMIXM for Mi A3 available. Should I flash this using Mi Flash tool? Does it solve sensor issues or not? Please help.
Click to expand...
Click to collapse
If you are on stock android 9 now then flash an android 10 custom rom and then downgrade to android 9 like you did. Downgrading from stock 10 to stock 9 causes big issues like you are having.
If you did flash persist.IMG you would have caused stuff in your device to break forever without any way of fixing it don't do it!!
garylawwd said:
If you are on stock android 9 now then flash an android 10 custom rom and then downgrade to android 9 like you did. Downgrading from stock 10 to stock 9 causes big issues like you are having.
If you did flash persist.IMG you would have caused stuff in your device to break forever without any way of fixing it don't do it!!
Click to expand...
Click to collapse
I updated it to Stock Android 10 OTA update using TWRP Recovery and re-flashed TWRP and Magisk ZIP using TWRP and now sensors and phone is working fine. I know Android 10 for Mi A3 have some bugs but I decided to live with it until Stable Android 10 update made available by Xiaomi. Flashing Custom Android 10 ROMs have mixed reviews and have bugs so I decided to stay on Stock.
I tried flashing persist.img by mounting Persist partition using TWRP before doing this but nothing happens and sensors didn't worked. Now they are working.
garylawwd said:
Don't tell him to downgrade. If you downgrade you will lose the use of all sensors or proximity sensor, compass etc and to fix this you need to flash persist.img which will cause you to lose widevine L1 so say goodbye to hd streaming and the like.
Be careful what information you give people if it will cause massive issues.
Its not that straightforward to just downgrade
Click to expand...
Click to collapse
No problem in downgrade ,, i Already downgraded. No bugs facing!
---------- Post added at 06:34 AM ---------- Previous post was at 06:32 AM ----------
vjrx88 said:
I updated it to Stock Android 10 OTA update using TWRP Recovery and re-flashed TWRP and Magisk ZIP using TWRP and now sensors and phone is working fine. I know Android 10 for Mi A3 have some bugs but I decided to live with it until Stable Android 10 update made available by Xiaomi. Flashing Custom Android 10 ROMs have mixed reviews and have bugs so I decided to stay on Stock.
I tried flashing persist.img by mounting Persist partition using TWRP before doing this but nothing happens and sensors didn't worked. Now they are working.
Click to expand...
Click to collapse
Lol i came back to 9 ,, untill stable comes or i will use pixel rom ?
Kaissner said:
I had this device for two days now, one of the first things that I tried was to install a custom ROM and I was surprised of how hard it was to do, so after a lot of trial and error I managed to install those two ROMs so I wanted to share how I did it so nobody has to suffer like I
Okay so I have tried two methods, one worked for Pixel Experience and the other for Lineage OS, there are probably better ways to do this so be sure to reply to this thread if you find another ways to accomplish this!
IMPORTANT!:
1. I did the two of this methods with the stock ROM with a minimal setup (skipping wifi, no google login, no fingerprint, etc).
2.You need to have the bootloader unlocked.
3. Im not responsable if you brick your phone or lose your data, do the following steps if you know what you're doing and always back-up your data!!!
Files used:
TWRP link (Download both the img and the zip)
Pixel Experience link
LineageOS link
Gapps link
Magisk 20.1 link
Encryption patch (patch_no_fde10) link
Method 1 (Tested succesfully with Pixel Experience):
Thanks to ElSuperFullHD for creating an awesome guide in how to install Pixel Experience!
How to install Pixel Experience in Xiaomi mi a3 (Spanish guide)
1. Start your phone in fastboot mode.
2. use fastboot getvar current-slot (Check if phone is in slot a, if it isnt change it to a using fastboot set_active a)
3. Flash custom recovery (in this case I used TWRP) with fastboot flash boot twrp.img
4. reboot using 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).
5. When TWRP starts, move and flash TWRP zip (This will make the recovery to stay) and reboot into recovery again (Long press Vol + when the device starts until you boot into recovery).
6. Go to advanced wipe Dalvic cache, Data and System.
7. Install Pixel Experience ROM and TWRP zip again and restart to system.
8. You're done, enjoy!
Method 2 (Tested succesfully with LineageOS):
Thanks to suschmania for your extremely helpful comment, I wouldnt have figured how to install LineageOS without him!
1. Start your phone in fastboot mode.
2. use fastboot getvar current-slot (Check if phone is in slot a, if it isnt change it to a using fastboot set_active a)
3. Flash custom recovery (in this case I used TWRP) with fastboot flash boot twrp.img
4. reboot using 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).
5. Once in TWRP copy TWRP recovery zip into the phone and wipe Dalvic cache, Data, Vendor and System.
6. Install the ROM and TWRP recovery zip (This will make the recovery to stay).
7. Reboot into recovery (twrp shows the warning no os installed, continue anyway).
8. The filesystem will be decrypted (All folders corrupted) dont worries, just go to advanced wipe and wipe internal data, once that's done copy Gapps, magisk and the encryption patch into the phone).
9. Flash Gapps, magisk (Optional) and encryption patch.
10. Reboot to system (It may take up to 10 minutes to start so give it time, if more than 10 minutes passes see step 11).
11. In case of bootlop boot back into recovery and format data (its the one where you need to write yes to format), after its done reboot to system again.
12. You're done, enjoy!
I hope this guide was helpful to you, good luck!
Click to expand...
Click to collapse
EDIT: Solved it by flashing this inofficial TWRP: https://forum.xda-developers.com/mi-a3/development/recovery-twrp-3-4-0-0-patched-boot-img-t4123287
I have a problem. I am stuck on fastboot. I followed the tutorial unto step 4:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot twrp.img
target reported max download size of 803475456 bytes
sending 'boot_a' (39892 KB)...
OKAY [ 0.910s]
writing 'boot_a'...
OKAY [ 0.197s]
finished. total time: 1.111s
But after this the phone always reboots to fastboot, I can't boot into TWRP or the system. Plz help.
spring_roll said:
EDIT: Solved it by flashing this inofficial TWRP: https://forum.xda-developers.com/mi-a3/development/recovery-twrp-3-4-0-0-patched-boot-img-t4123287
I have a problem. I am stuck on fastboot. I followed the tutorial unto step 4:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot twrp.img
target reported max download size of 803475456 bytes
sending 'boot_a' (39892 KB)...
OKAY [ 0.910s]
writing 'boot_a'...
OKAY [ 0.197s]
finished. total time: 1.111s
But after this the phone always reboots to fastboot, I can't boot into TWRP or the system. Plz help.
Click to expand...
Click to collapse
I know you solved it but the reason the other twrp wasn't working for you is because it is built only for Android pie and I'm assuming you have Android 10. That's why you always booted to fastboot. The installer.zip will work with any Android version but the twrp.img files are built using kernels of a specific Android version
garylawwd said:
I know you solved it but the reason the other twrp wasn't working for you is because it is built only for Android pie and I'm assuming you have Android 10. That's why you always booted to fastboot. The installer.zip will work with any Android version but the twrp.img files are built using kernels of a specific Android version
Click to expand...
Click to collapse
Ok thx for the info.
Another question. I didn't understand step 5:
"5. When TWRP starts, move and flash TWRP zip (This will make the recovery to stay)"
Where do I have to move and flash the ZIP? I just skipped this step and now I have the ROM installed which I wanted (PE Plus).
Do I have to do something now or is TWRP installed properly now? Can I fetch this step later?
spring_roll said:
Ok thx for the info.
Another question. I didn't understand step 5:
"5. When TWRP starts, move and flash TWRP zip (This will make the recovery to stay)"
Where do I have to move and flash the ZIP? I just skipped this step and now I have the ROM installed which I wanted (PE Plus).
Do I have to do something now or is TWRP installed properly now? Can I fetch this step later?
Click to expand...
Click to collapse
For you I don't think twrp is installed now. Some ROMs have twrp built in but if not then you have to manually flash twrp every time you flash a ROM or it gets overwritten with stock recovery.
When you flash the twrp.img and boot twrp it isn't actually installed, you are running it in ram and when you reboot it goes out of ram and your left with an un-bootable slot due to your boot slot being messed up from flashing the twrp.img and twrp won't stay installed.
For it to be installed properly you need to flash twrp.zip which will patch your boot.img with twrp and install it.
But as I said everytime you flash a ROM this will overwrite twrp and it will be gone unless the twrp.zip is flashed in twrp before rebooting.
Not as easy as it used to be by just installing twrp once and it is there forever. The new era of Android
I building TWRP on minimal sources omni and worked tree of milankragujevic
How to install:
1. Download and unpack recovery MEGA (recovery-omni.img, vbmeta.img, Magisk-v20.1.zip)
2.Shutdown phone and press Power+Volume- to fastboot mode
3. Flashing files into fastboot
-fastboot flash recovery recovery-omni.img
-fastboot flash vbmeta vbmeta.img
-fastboot reboot
4. Attantion!!!after the "fastboot reboot" command immediately hold down the volume +
5. In apply flash file Magisk-v20.1.zip and you can boot into the system
Recovery Installed!
New updated recovery:
****Update 2019/12/15****
recovery.img
Code:
*Adding support Truly touchscreen
*Adding boot verify
*Change configuration path to /data
Please use Google translate for view post in link
Download: recovery.img SaR and Treble
POST IS CLOSED
AVAILABLE OFFICIAL TWRP SUPPORT
https://twrp.me/xiaomi/xiaomiredmi8.html
Working on non tianma display ?
I updated post and add new recovery img
Non tianma touch support
Flash new recovery img
Отправлено с моего Redmi 8 через Tapatalk
What if I dont flash magisk? (Because I need to use ibanking)
Will my rm8 boot on?
Yes
If you install twrp with bo magisk please flash in twrp this path for turn off force encryptable with booting
"Use translate from this post"
4pda path decrypt
Отправлено с моего Redmi 8 через Tapatalk
100% working. With MTP I successfuly installed Mi-Globe and Xiaomi.eu (they seem not to support fingerprint at this moment)
treble?
Apher said:
treble?
Click to expand...
Click to collapse
Temporary not turned in BoardConfig
I Today add and test this feature with my r8
Отправлено с моего Redmi 8 через Tapatalk
pulka103 said:
100% working. With MTP I successfuly installed Mi-Globe and Xiaomi.eu (they seem not to support fingerprint at this moment)
Click to expand...
Click to collapse
I installed EU 11.0.4.0 yesterday, fingerprint have worked.
One problem with my rm8 is the magisk v20.1, it only shown the root promt for 1st app after reboot, then 2nd app made magisk freeze, I flashed back to v20 and now it works fine.
If you have not install magisk please use patched magisk.img from this post
How to install magisk
Отправлено с моего Redmi 8 через Tapatalk
altsec said:
If you have not install magisk please use patched magisk.img from this post
How to install magisk
Отправлено с моего Redmi 8 через Tapatalk
Click to expand...
Click to collapse
thank you, I installed magisk in TWRP, now it works
good afternoon, this twrp this worked on redmi 8 olive, if it worked I will for now, obg and thank you already.: D
could somebody tell us a neat way to root redmi 8?i'm getting really confiused...
Sent from my Redmi 8 using Tapatalk
sazmanhad said:
could somebody tell us a neat way to root redmi 8?i'm getting really confiused...
Sent from my Redmi 8 using Tapatalk
Click to expand...
Click to collapse
Did you installed twrp in this thread?
- If yes: then down load magisk v20 (in my exp, v20.1 made my phone stucked at root promt)
-> go in twrp
-> format data (if you never done it before) - WARNING: all your data on the phone will be lost
-> connect your phone to PC then copy the magisk v20 zip to the phone or sd
-> then go back to home, select Install
-> head to the magisk v20 zip
-> swipe to install
-> reboot
- If no: install twrp as steps in #1 and say yes...
thanphong said:
Did you installed twrp in this thread?
- If yes: then down load magisk v20 (in my exp, v20.1 made my phone stucked at root promt)
-> go in twrp
-> format data (if you never done it before) - WARNING: all your data on the phone will be lost
-> connect your phone to PC then copy the magisk v20 zip to the phone or sd
-> then go back to home, select Install
-> head to the magisk v20 zip
-> swipe to install
-> reboot
- If no: install twrp as steps in #1 and say yes...
Click to expand...
Click to collapse
thanks man.
i did not yet.and the reason was the hope that maybe i wouldn't need twrp (plus being confused and mislead by posts about rm8).i'll do it tonight and give the feedback sooner or later.
Sent from my Redmi 8 using Tapatalk
altsec said:
I building TWRP on minimal sources omni and worked tree of milankragujevic
How to install:
1. Download and unpack recovery MEGA (recovery-omni.img, vbmeta.img, Magisk-v20.1.zip)
2.Shutdown phone and press Power+Volume- to fastboot mode
3. Flashing files into fastboot
-fastboot flash recovery recovery-omni.img
-fastboot flash vbmeta vbmeta.img
-fastboot reboot
4. Attantion!!!after the "fastboot reboot" command immediately hold down the volume +
5. In apply flash file Magisk-v20.1.zip and you can boot into the system
Recovery Installed!
New updated recovery:
****Update 2019/12/15****
recovery.img
Code:
*Adding support Truly touchscreen
*Adding boot verify
*Change configuration path to /data
Click to expand...
Click to collapse
well this will fix novatek touch https://github.com/SeproDE/android_device_xiaomi_olive/pull/2
Yes U Can Open/start iBanking !!!
thanphong said:
What if I dont flash magisk? (Because I need to use ibanking)
Will my rm8 boot on?
Click to expand...
Click to collapse
You Can Use Your ibanking After Flashing Magisk By Using The New Feature Of Magisk, The Magisk Hide
Had anyone installed TWRP successfully on novatek LCD?
I am trying to get Magisk to work on my Xiaomi Redmi Note 8T with Lineage OS, but the step where I am patching the boot.img is failing. I am using LOS recovery, and I followed the instructions provided by topjohnwu [1]: because the 8T doesn't appear to have ramdisk (I don't know what that means btw), I need to patch an image (my recovery image?) with the magisk app - this is what I did:
1. Install Magisk App and check status: "Ramdisk: No"
2. Download Lineage recovery image [2] and patch in Magisk
3. Install patched recovery image using fastbook [3]
4. Wipe device and Install LOS + GApps
5. Reboot to system => still says "Ramdisk: No"
What am I doing wrong? How did everyone else root their Note 8T?
[1] https://topjohnwu.github.io/Magisk/install.html
[2] https://download.lineageos.org/ginkgo
[3] https://wiki.lineageos.org/devices/ginkgo/install#installing-a-custom-recovery-using-fastboot
---
EDIT: I just found this: https://github.com/topjohnwu/Magisk/issues/3239 - does that mean it worked? Doesn't look it did...I don't think I have root
lueromat said:
I am trying to get Magisk to work on my Xiaomi Redmi Note 8T with Lineage OS, but the step where I am patching the boot.img is failing. I am using LOS recovery, and I followed the instructions provided by topjohnwu [1]: because the 8T doesn't appear to have ramdisk (I don't know what that means btw), I need to patch an image (my recovery image?) with the magisk app - this is what I did:
1. Install Magisk App and check status: "Ramdisk: No"
2. Download Lineage recovery image [2] and patch in Magisk
3. Install patched recovery image using fastbook [3]
4. Wipe device and Install LOS + GApps
5. Reboot to system => still says "Ramdisk: No"
What am I doing wrong? How did everyone else root their Note 8T?
[1] https://topjohnwu.github.io/Magisk/install.html
[2] https://download.lineageos.org/ginkgo
[3] https://wiki.lineageos.org/devices/ginkgo/install#installing-a-custom-recovery-using-fastboot
---
EDIT: I just found this: https://github.com/topjohnwu/Magisk/issues/3239 - does that mean it worked? Doesn't look it did...I don't think I have root
Click to expand...
Click to collapse
install OrangeFox recovery
rename Magisk22.APK to Magisk22.ZIP
install it like any zip in recovery
reboot
(i suggest you do a clean flash to avoid problems)
(yess, RN8 have ramdisk but that's not required for root to work)
After clean flashing the official LOS 17.1, I re-tried to install Magisk giving it every request permission and following steps detailed above by loopypalm but (as before) I'm still seeing "Requires Additional Setup" followed by a "Setup failed" message...
I unlocked the phone recently, set up the latest OrangeFox recovery and flashed new RN8 global firmware v12.0.4.0, Lineage v17.1 nightly 20210405 and pico OpenGapps 20210406. The phone isn't even encrypted (i.e., I've set no fingerprint, pin or pattern).
I tried removing Magisk v22 with the official uninstaller and downgrading to v21.4 with the same result. Then I used the Manager facilities to upgrade both Manager and the underlying Magisk, but still no dice.
I'm scratching my head here about what else to try. Something I noticed that may or may not be related is, while it was working alright before I started setting up Magisk, advanced reboot became really sluggish and failed to reboot to recovery after this (only buttons work).
I'll keep searching and will maybe try a different ROM but this is a real bummer.
loopypalm said:
install OrangeFox recovery
rename Magisk22.APK to Magisk22.ZIP
install it like any zip in recovery
reboot
(i suggest you do a clean flash to avoid problems)
(yess, RN8 have ramdisk but that's not required for root to work)
Click to expand...
Click to collapse
after installing LOS, GApps and Magisk in OrangeFox, and then booting to system, the phone is stuck at the sim PIN entry - I can enter it, but it doesn't advance afterwards. this is what I did:
1. Install TWRP
2. Use TWRP to install OF
3. in OF, wipe everything except usbstorage and sdcard
4. create installation queue with latest LOS, GApps, and Magisk, and install
5. boot to system => stuck at sim PIN entry
any suggestions?
i have the same with the latest LOS 17.1 tried also 21.4 both not working, I flashed again without Magisk so far
cali.s said:
i have the same with the latest LOS 17.1 tried also 21.4 both not working, I flashed again without Magisk so far
Click to expand...
Click to collapse
I hit "Emergency", went back to the PIN mask, and then it would accept my SIM pin. So far so good...
pnin said:
After ...
Click to expand...
Click to collapse
please follow instruction and do not add/remove a step
-flash OFox (if you already have it = no need)
-reboot to recovery
-flash latest A10 stable FW RN8 Ginkgo / RN8T Willow
-format data (not wipe) (this will erase internal storage!)
-reboot to recovery
-wipe 5 (cache/dalvik/system/vendor/data)
-flash the rom you want
-flash kernel (if you have any)
-flash DFE
-format data again
-reboot to recovery
-reboot to system
-reboot to recovery and flash magisk
done
lueromat said:
after installing LOS, GApps and Magisk in OrangeFox, and then booting to system, the phone is stuck at the sim PIN entry - I can enter it, but it doesn't advance afterwards. this is what I did:
1. Install TWRP
2. Use TWRP to install OF
3. in OF, wipe everything except usbstorage and sdcard
4. create installation queue with latest LOS, GApps, and Magisk, and install
5. boot to system => stuck at sim PIN entry
any suggestions?
Click to expand...
Click to collapse
i heard about that bug
remove the pin from the sim in another phone
loopypalm said:
-flash the rom you want
-flash kernel
-flash DFE
Click to expand...
Click to collapse
The ROM I want is the official Lineage -- I'm no hardcore flasher, just want to take it easy with a tried and tested custom ROM. But the kernel and DFE got me stumped: do I really need them? Which ones?
pnin said:
The ROM I want is the official Lineage -- I'm no hardcore flasher, just want to take it easy with a tried and tested custom ROM. But the kernel and DFE got me stumped: do I really need them? Which ones?
Click to expand...
Click to collapse
i think you should try RRos (it's based on LOS and updated)
i said kernel, so if you have one in mind, that's the step (correct order) you flash it in
(people use "sixteen" for battery,or default "quicksilver" ,or ryzen or ...)
DFE is "Disables dm-verity, forced encryption"
lueromat said:
after installing LOS, GApps and Magisk in OrangeFox, and then booting to system, the phone is stuck at the sim PIN entry - I can enter it, but it doesn't advance afterwards. this is what I did:
1. Install TWRP
2. Use TWRP to install OF
3. in OF, wipe everything except usbstorage and sdcard
4. create installation queue with latest LOS, GApps, and Magisk, and install
5. boot to system => stuck at sim PIN entry
Click to expand...
Click to collapse
lueromat said:
I hit "Emergency", went back to the PIN mask, and then it would accept my SIM pin. So far so good...
Click to expand...
Click to collapse
so in the end this worked, LOS + root, and no complaints so far.
other users were also successful with not sticking to the official magisk installation instruction, but just flashing the zip in recovery: https://github.com/topjohnwu/Magisk/issues/3239#issuecomment-816164610
guess this is the way to go for willow
loopypalm said:
please follow instruction and do not add/remove a step
-flash OFox (if you already have it = no need)
-reboot to recovery
-flash latest A10 stable FW RN8 Ginkgo RN8T Willow
-format data (not wipe) (this will erase internal storage!)
-reboot to recovery
-wipe 5 (cache/dalvik/system/vendor/data)
-flash the rom you want
-flash kernel (if you have any)
-flash DFE
-format data again
-reboot to recovery
-reboot to system
-reboot to recovery and flash magisk
done
Click to expand...
Click to collapse
Hi loopypalm, only for curiosity: is there a reason why to wipe /data "again" in step 6 after having formatted /data already in step 4? And furthermore why to format /data for a second time in step 10? What happens to /data after the first formatting that makes these steps recommendable? Thx if you find a minute to explain...
HI , this is what devs been recommending since the beginning (on ginkgo)
Uluru25 said:
is there a reason why to wipe /data "again" in step 6 after having formatted /data already in step 4?
Click to expand...
Click to collapse
no
Uluru25 said:
And furthermore why to format /data for a second time in step 10? What happens to /data after the first formatting that makes these steps recommendable?
Click to expand...
Click to collapse
me personally i don't think formatting data a 2nd time is necessary
but as for what i think could be the reason is after formatting data you will get a "raw" file system , so the OS will choose the situable file system for it "EXT2" or "EXT4" or ...
that's why sometimes the system wont boot even if you flash DFE
(which (i think) is the case on all ports like ONEUI or OOS ...)
loopypalm said:
please follow instruction and do not add/remove a step
-flash OFox (if you already have it = no need)
-reboot to recovery
-flash latest A10 stable FW RN8 Ginkgo / RN8T Willow
-format data (not wipe) (this will erase internal storage!)
-reboot to recovery
-wipe 5 (cache/dalvik/system/vendor/data)
-flash the rom you want
-flash kernel (if you have any)
-flash DFE
-format data again
-reboot to recovery
-reboot to system
-reboot to recovery and flash magisk
done
Click to expand...
Click to collapse
loopypalm,
- Orange Fox, should "Allow modifications" be enabled OR "keep read-only"?
- will latest A11 (anrdoid 11) stable FW (Firmware) also be ok, or is this guide specifically for A10?
Other notes of mine:
- OrangeFox requires device to be unlocked with MiFlash unlocking software first. (It's a type A device it seems, NOT a/b)
jddcef said:
- Orange Fox, should "Allow modifications" be enabled OR "keep read-only"?
Click to expand...
Click to collapse
allow Read & write
jddcef said:
- will latest A11 (anrdoid 11) stable FW (Firmware) also be ok, or is this guide specifically for A10?
Click to expand...
Click to collapse
this guide is for all rom, if you are using A11 then use A11 FW
jddcef said:
- OrangeFox requires device to be unlocked with MiFlash unlocking software first. (It's a type A device it seems, NOT a/b)
Click to expand...
Click to collapse
The Ofox i linked is for Ginkgo/Willow if you have this device + unlocked BL = just flash