Hi guys, I just bought RN8 and I updated miui to the latest version ( miui 11 global stable ) , so if I want to install twrp and root my device (after unlocking bootloader) I assume the steps are :
1) flash TWRP
2) do a factory reset
3) flash magisk
and DONE ??
I saw on some sites and forums that I need to flash dm-verity-forceencrypt before flashing the magisk.... and on other ones that I need to flash the magisk and lastly the dm zip ???? (ffs) is it a necessary step in order to gain (permanent) root access to flash this dm zip or are the previously mentioned steps enough to gain it ? and btw for what purpose do I assume that I need to flash the ( dm zip ) ???
another question : if I format data after flashing twrp(which removes decryption) ,will I lose the ability to set new password and fingerprint for my device ? and which recovery is better twrp or Orangefox , and is there an orangefox version for redmi note 8 ?
ps 1: I had to sumbit here cause I couldn't submit in the development section I hope my post doesn't get deleted : /
ps 2: Sorry if I asked alot but my last phone was running android 5 and I had it for many years so I was living in the wild (wasn't rly interested in phones till now)
after unlock bootloader i have boot the twrp recovery (not flashed) and install magisk
thats all.
After this miui 11 arrived as updated and flash failed, reboot phone download full rom update and flash are ok
reboot twrp and reflash magisk.
No lose any data file and have phone update.
Flash twrp only when more modded rom for me.
Sorry for my english bye
zach009 said:
Hi guys, I just bought RN8 and I updated miui to the latest version ( miui 11 global stable ) , so if I want to install twrp and root my device (after unlocking bootloader) I assume the steps are :
1) flash TWRP
2) do a factory reset
3) flash magisk
and DONE ??
I saw on some sites and forums that I need to flash dm-verity-forceencrypt before flashing the magisk.... and on other ones that I need to flash the magisk and lastly the dm zip ???? (ffs) is it a necessary step in order to gain (permanent) root access to flash this dm zip or are the previously mentioned steps enough to gain it ? and btw for what purpose do I assume that I need to flash the ( dm zip ) ???
another question : if I format data after flashing twrp(which removes decryption) ,will I lose the ability to set new password and fingerprint for my device ? and which recovery is better twrp or Orangefox , and is there an orangefox version for redmi note 8 ?
ps 1: I had to sumbit here cause I couldn't submit in the development section I hope my post doesn't get deleted : /
ps 2: Sorry if I asked alot but my last phone was running android 5 and I had it for many years so I was living in the wild (wasn't rly interested in phones till now)
Click to expand...
Click to collapse
Check out this thread which explains unlocking bootloader,flashing twrp and rooting properly.
Related
hello
i am new to this forums and my phone
is unlocking bootloader is same after anti rollback update in V9.1.6.0
i want to root my device for titanium backup and use miui for now
i watch video relating anti roll back update but still confused as how i am gonna to install custom rom in future
and rollback to miui without bricking my device
Thanks
Regards
I know, its confusing to many. You can start by checking these threads:
https://forum.xda-developers.com/redmi-note-5-pro/how-to/faq-questions-answered-t3816185
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
I am on 9.5.19, unlocked, rooted, TWRP installed and have received update notice for 9.6.3.0, but do not want to update via OTA because will lose root, recovery (and maybe unlock?)
I believe after rooting, unlocking, and TWRP install, you need to download a version of the MIUI ROM you want without the included firmware. see here:
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-redmi-note-5-pro-miui-roms-t3816343
They dont have 9.6.3 listed so need to ask about that. Also not sure which version of ARB your phone has so you need to ask in above threads or if you have ADB installed can enter fastboot command: fastboot getvar anti
I've updated to 9.6.3 and don't see any relevant change in daily use. The bootloader is still unlocked but I've lost the changes in build prop for gcam installation. I was unrooted with no twrp (or rwrp) recovery installed
Here is firmware-less 9.6.3 version download: https://mirror.akhilnarang.me/MIUI/Global/Stable/
Taken from this post in the fw-less ROMs thread: https://forum.xda-developers.com/showpost.php?p=77390404&postcount=266
taco9 said:
I know, its confusing to many. You can start by checking these threads:
https://forum.xda-developers.com/redmi-note-5-pro/how-to/faq-questions-answered-t3816185
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
I am on 9.5.19, unlocked, rooted, TWRP installed and have received update notice for 9.6.3.0, but do not want to update via OTA because will lose root, recovery (and maybe unlock?)
I believe after rooting, unlocking, and TWRP install, you need to download a version of the MIUI ROM you want without the included firmware. see here:
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-redmi-note-5-pro-miui-roms-t3816343
They dont have 9.6.3 listed so need to ask about that. Also not sure which version of ARB your phone has so you need to ask in above threads or if you have ADB installed can enter fastboot command: fastboot getvar anti
Click to expand...
Click to collapse
My RN5 Pro is unlocked, with twrp, magisk (rooted), and running MIUI 9.5.19. Xiaomi gave me 9.6.3 last night, and although I wasn't able to install the delta update that they gave me (twrp didn't do anything with it), after the reboot, it downloaded the full 9.6.3 ROM. I then told it to do the update and twrp successfully installed it. At that point, I ONLY lost twrp and I assume magisk. The bootloader was unaffected by the MIUI upgrade.
Easy enough to fix - boot to fastboot, and used 'fastboot boot twrp.img' to get the phone started in twrp recovery mode. Then I was able to use twrp to install itself permanently/properly into the recovery partition, install lazyflasher, flash magisk, reboot normal. Phone's back to rooting state using magisk, but now with MIUI 9.6.3. 5 minutes and done.
taco9 said:
I know, its confusing to many. You can start by checking these threads:
https://forum.xda-developers.com/redmi-note-5-pro/how-to/faq-questions-answered-t3816185
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
I am on 9.5.19, unlocked, rooted, TWRP installed and have received update notice for 9.6.3.0, but do not want to update via OTA because will lose root, recovery (and maybe unlock?)
I believe after rooting, unlocking, and TWRP install, you need to download a version of the MIUI ROM you want without the included firmware. see here:
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-redmi-note-5-pro-miui-roms-t3816343
They dont have 9.6.3 listed so need to ask about that. Also not sure which version of ARB your phone has so you need to ask in above threads or if you have ADB installed can enter fastboot command: fastboot getvar anti
Click to expand...
Click to collapse
ok thanks for helping
tajima69 said:
I've updated to 9.6.3 and don't see any relevant change in daily use. The bootloader is still unlocked but I've lost the changes in build prop for gcam installation. I was unrooted with no twrp (or rwrp) recovery installed
Click to expand...
Click to collapse
sorry what did you meant by build prop for gcam installation
tajima69 said:
I've updated to 9.6.3 and don't see any relevant change in daily use. The bootloader is still unlocked but I've lost the changes in build prop for gcam installation. I was unrooted with no twrp (or rwrp) recovery installed
Click to expand...
Click to collapse
No change ?? Let me listout some changes for you
1. New VoLTE icon
2. In lockscreen time and date displays in centre
3. Messaging app suggest new plan offer and etc (AI reply)
4. Updated security patch
5. Imporved Battery life
6. New Ringtone and notification sounds
Cannot boot twtp.img
After Installing update gcam was not workig so i was in fastboot and i put command fastboot boot twtp.img but it is stucked in downloading boot.img
tajima69 said:
I've updated to 9.6.3 and don't see any relevant change in daily use. The bootloader is still unlocked but I've lost the changes in build prop for gcam installation. I was unrooted with no twrp (or rwrp) recovery installed
Click to expand...
Click to collapse
Battery draining fast in this update
SunilSuni said:
No change ?? Let me listout some changes for you
1. New VoLTE icon
2. In lockscreen time and date displays in centre
3. Messaging app suggest new plan offer and etc (AI reply)
4. Updated security patch
5. Imporved Battery life
6. New Ringtone and notification sounds
Click to expand...
Click to collapse
you sayin improved battery backup??? other people complaining about battery backup getting lowers by updates ..??? sach kya hai
Sent from my Redmi Note 5 Pro using Tapatalk
I have a OnePlus 5T locked and unrooted phone having OxygenOS 5.1.7 installed. I am new to rooting and related kinds of stuff. Can someone help me to give some instructions to install Magisk in my device? I know the below steps, but at the same time, I am having some questions in my mind.
1. Unlock bootloader - I saw some commands here to unlock bootloader - https://forum.xda-developers.com/showpost.php?p=74504347&postcount=4 - looks like these are outdated, last updated on Dec 2017. Are those work today also?
2. Install TWRP recovery - I heard that, OxygenOS 5.1.7 is having Project Treble supported. Can I use the same TWRP recovery mentioned in the above link?
3. Root using Magisk or SuperSU. What is the difference? What is systemless root? Anyway, I need to install Magisk Manager finally - Please suggest a way.
4. And the last one, How do I unroot my device if something goes wrong? Or is that possible?
5. I don't want to install any custom ROMs, I am fine with OOS.
https://www.youtube.com/watch?v=bTpxvmwBruQ&t=193s
Most of your questions have been answered on xda, youtube, and reddit before. Please try searching before posting.
sarathsnair said:
I have a OnePlus 5T locked and unrooted phone having OxygenOS 5.1.7 installed. I am new to rooting and related kinds of stuff. Can someone help me to give some instructions to install Magisk in my device? I know the below steps, but at the same time, I am having some questions in my mind.
1. Unlock bootloader - I saw some commands here to unlock bootloader - https://forum.xda-developers.com/showpost.php?p=74504347&postcount=4 - looks like these are outdated, last updated on Dec 2017. Are those work today also?
2. Install TWRP recovery - I heard that, OxygenOS 5.1.7 is having Project Treble supported. Can I use the same TWRP recovery mentioned in the above link?
3. Root using Magisk or SuperSU. What is the difference? What is systemless root? Anyway, I need to install Magisk Manager finally - Please suggest a way.
4. And the last one, How do I unroot my device if something goes wrong? Or is that possible?
5. I don't want to install any custom ROMs, I am fine with OOS.
Click to expand...
Click to collapse
1. Yes the unlock commands remain the same till date.
2. Use the latest bluspark twrp which has the treble support, link mentioned is fine and if you need the direct link, its here
3. Use the latest Magisk as SU is a dead project now.
4. Whenever you want to unroot just dirty remove/uninstall all the mods, dirty flash the latest stock rom > Factory reset in recovery and lock the bootloader. I did a post here for the 6T and it should work the same way on 5T.
5. You can stay rooted on OOS no need of custom roms any more :good:
Let me know if you want to know anything else, Thanks.
PS: Thread moved to Q&A Section
Funk Wizard said:
4. Whenever you want to unroot just dirty remove/uninstall all the mods, dirty flash the latest stock rom > Factory reset in recovery and lock the bootloader. I did a post here for the 6T and it should work the same way on 5T.
Click to expand...
Click to collapse
What happens to the installed twrp recovery if I unroot?
sarathsnair said:
What happens to the installed twrp recovery if I unroot?
Click to expand...
Click to collapse
Its replaced by stock recovery :good:
I got some more question too.
1.will I get official update from oneplus after my magisk root??
2.can I root my 5t with beta room ?
3.can I switch from beta to official and from official to beta once I rooted my device.
4.can I use confidential app like banking app.???
alisrovi said:
I got some more question too.
1.will I get official update from oneplus after my magisk root??
2.can I root my 5t with beta room ?
3.can I switch from beta to official and from official to beta once I rooted my device.
4.can I use confidential app like banking app.???
Click to expand...
Click to collapse
1. Yes, but your phone will download the whole firmware at each update instead of the ota.
2. Yes
3. Yep you can.
4. Yes of course, but some apps will detect root. So you will have to use Magisk Hide (inside the Magisk Manager) to hide root from these apps.
Note : I didn't use OOS anymore but it seems to me that OOS overwrites root everytime you update, so keep in mind that you will have to reflash it everytime
alisrovi said:
I got some more question too.
1.will I get official update from oneplus after my magisk root??
2.can I root my 5t with beta room ?
3.can I switch from beta to official and from official to beta once I rooted my device.
4.can I use confidential app like banking app.???
Click to expand...
Click to collapse
1- Yes, but you will recieve full sized zip (1.5+)GB automatically in rooted OOS. Incremental small sized ota won't work in case of root, and don't bother with it.
The downside of updating full whole zip is that you will loose root & twrp recovery after the update. So keep in mind, you will re-install both of them later.
2- I haven't tried beta, but i am sure yes
3- any switch between those requires clean flash in TWRP (wiping dalvik cache, cache, data, vendor and system). So, make sure to have backup in safe place.
4- yes, as long as you passed the safety net in Magisk. Magisk has a feature to hide root on certain apps of your choice, so you can use banking apps later
All my magisk installed whether in oos stable or custom roms, passed the safety net out of the box. So I haven't faced issues there.
Hi
Anyone tried rooting latest Pie builds with Magisk or SuperSU? Cannot manage to make it working. I'm on ZRKN from this topic (https://forum.xda-developers.com/ga...f-sm-g965f-t3867627/post78170460#post78170460). Please share some tutorial. Thanks.
4timepi said:
Hi
Anyone tried rooting latest Pie builds with Magisk or SuperSU? Cannot manage to make it working. I'm on ZRKN from this topic (https://forum.xda-developers.com/ga...f-sm-g965f-t3867627/post78170460#post78170460). Please share some tutorial. Thanks.
Click to expand...
Click to collapse
You must flash the oreo Bootloader BRJ6 (only Bootloader BL!) with Odin, restart into system. After that go into Downloader modus and flash the TWRP Image with Odin.
Works everytime on my S9.
Oel said:
You must flash the oreo Bootloader BRJ6 (only Bootloader BL!) with Odin, restart into system. After that go into Downloader modus and flash the TWRP Image with Odin.
Works everytime on my S9.
Click to expand...
Click to collapse
Thanks for suggestion. Please tell me, do I need to flash dm-verify disabler, antyroot etc.? Or BRJ6 Bootloader, TWRP and Magisk only?
4timepi said:
Thanks for suggestion. Please tell me, do I need to flash dm-verify disabler, antyroot etc.? Or BRJ6 Bootloader, TWRP and Magisk only?
Click to expand...
Click to collapse
Im pretty sure you will need dm-verify still then twrp then magisk
Is here anybody who rooted pie build? Please share with us files you use to complete this task with some short tutorial. Now I'm waiting 7 days to unlock option appear again. As markyc25 said:
1. downgrade bootloader to Oreo BRJ6
2. unlock bootloader & go straight (without full reboot) to download mode
3. flash TWRP (twrp-3.2.3-0-starlte ?) with ODIN & go straight (without full reboot) to recovery mode
4. do not allow modification ?
5. wipe data
6. flash No Verify Encrypt zip ? (which version ?)
7. flash RMM Bypass zip ? (which version ?)
8. flash Magisk (latest 18.0 build ?)
Could somebody answer my question marks and post working files? I don't want to wait 7 days more
I'll appreciate your help.
after 14 days someone did anything? a guide to root pie with attached files???
Wrap-Up ROM (firmware) Update ROOTED MOTOROLA ONE ACTION DEVICE
This is my personal Q/A notes
QUESTION #1:
What are the Prerequisites for Automatic OTA (Over-The-Air) Update
ANSWER #1
Prerequisites
- Stock Firmware
- Stock Recovery
- UnRooted device
- Locked or Unlocled Bootloader, doesn't mater
Ref @binary**#: Bootloader Locking/Unlocking has nothing to do while receiving OTAs
https://forum.xda-developers.com/on...-bootloader-leads-to-integrity-t4010813/page2
QUESTION #2: What are the Prerequisites for Manual Flash firmware Update
ANSWER #2
Prerequisites
- Of course Firmware files
- Fastboot installed on your PC or other flashing tool...
- Unlocked bootloader is requires only if you want to downgrade security patch level firmware
Reférence from @ arsradu: https://forum.xda-developers.com/showpost.php?p=81945853&postcount=15
QUESTION #3:
Can I FLASH for upgrade security patch without losing my ROOT and DATA !
ANSWER 3a, Yes from tys0n's guide and post
https://forum.xda-developers.com/showpost.php?p=82476605&postcount=166
ANSWER #3b, Yes, If you're not able to boot “TWRP-3.3.1_Motorola_One_Vision.img” on this phone, you can also try " twrp-3.3.1-test2.img" and the method describe below. This file “twrp-3.3.1-test2.img’ was built by @Stricted and all credit is for him ! The file can be download here https://images.stricted.net/test/troika/twrp-3.3.1-test2.img
I tested with success another variant inspired by ANSWER #3a @tys0n and @sfoot13 at post #3 of thread "[TWRP + MAGISK] Root your Motorola One Action".
I used method in answer #3a as it, but in fastboot I also flashed the latest stock boot.img and the twrp-3.3.1-test2.img instead of the “TWRP-3.3.1_Motorola_One_Vision.img” and in TWRP I flashed the Magisk-v20.4.zip instead of the magisk_patched.img.
Method tested with succes for Updating, rooting, and keep your data intact.
Process was performed XT2014-4 from QSBS30.62-17-2 to QSBS30.62-17-4
1) Download Magisk-v20.4.zip to phone's SDcard. You'll have to flash it later through TWRP to avoid the fastboot flash error.
2) Remove vbmeta.img from your adb/fastboot folder. (You already have the patched vbmeta flashed and we don't wanna flash stock vbmeta.)
3) Make sure that your "flash.bat" doesn't have any wipe commands in it, and also no reboot system command at the end.
4) Boot to fastboot and flash the update. Don't mind the errors about vbmeta.
5) When flash is finished, boot TWRP. The file "twrp-3.3.1-test2.img" can be downloaded here. Code: fastboot boot twrp-3.3.1-test2.img
6) Once TWRP is booted, flash Magisk-v20.4.zip again because the phone was unrooted boot.img was flashed (step2), and last flash the "Disable_Dm-Verity_ForceEncrypt.zip" so that you don't boot to system with these things enabled. If you do, you will have to reset.
Now boot to system. Updated, rooted, and with your data intact !
QUESTION #4:
Are the vbmeta and vbmeta_patched files are related to Android Version (9.0 Pie ,8.0 Oreo, 7.0 Nougat ect …) or to the market or even the secury patch, are they comptible in betwen all moto one variant, such as Moto One... Vision, Power, Action ?
ANSWER #4:
So far vbmeta is compatible on Android 9 and 10 on variant xt2013-1, xt2013-2 xt2013-3 but NOT ON xt2013-4 on both Android version.
QUESTION #5:
If I do not want an automatic OTA update, should I only desactivate “automatic system update” under developer options ? Will it be enough ?
ANSWER #5a for a ROOTED Device:
If you are ROOTED or on a non-stock ROM, you will not receive OTA.
ANSWER #5b for a STOCK firmware/ROM:
In the case of you're on a STOCK firmware/ROM ... probaly yes, but I will let somebody confirm it.
PS: I will edit the original post with answers as far as they coming.
Thanks for your questions, answers and knownlege sharing !
Hello!
so I read all the threads regarding android 10 and mi a2 lite but i didn't find a proper solution or guide for the following problem:
I am on Stock Android 9 with unlocked bootloader, TWRP and Magisk Root.
Now i want to update to the v.11.0.4.0 Android 10 Update, but i want to keep root working!
Is there a way to do this?
If yes, please tell me how (i'm not a pro in flashing, so please explain in detail )
EDIT: i dont mind if i loose TWRP, i just want to keep root and android 10 working
thanks in advance!
stay safe and stay home
Alex
Also interested in a guide for this.
Alibabara said:
I am on Stock Android 9 with unlocked bootloader, TWRP and Magisk Root.
Now i want to update to the v.11.0.4.0 Android 10 Update, but i want to keep root working!
Is there a way to do this?
Click to expand...
Click to collapse
Yes. It's complex because of TWRP.
https://forum.xda-developers.com/mi-a2-lite/how-to/10-0-4-0-to-10-0-7-0-ota-keeping-magisk-t3916863
Thanks for the answer, i already saw this thread but as I already said I'm not a big Expert in this topic, so that guide in the thread is too complex and short for me (and for other most likely too...)
Maybe you can explain it more precisly to us?
I would be very greatful for this!
Or if you know a way too archieve what i want but loose twrp and data... I wouldn't mind. I dont Need twrp and my Phone is New... So
Thanks in advance!
Best Regards
Alex
Alibabara said:
Maybe you can explain it more precisly to us?
Click to expand...
Click to collapse
You can't do it simpler. Mostly because you've got to get back to stock for the OTA.
You can do it different. Get the fastboot. Flash that (don't erase userdata). Then install Magisk and TWRP again.
Not every release gets a fastboot but 11.0.4.0 did so you have this option.
Can you explain this more for me pls?
- What exact files do I need?
- what exactly should i do with these files? (flash with terminal, TWRP, Slot A, Slot B, etc.....)
- is it relevant which version of Android 9 i have?
you would help me alot, if you explain it in detail so that i can do it.
I already tried in android 10 unlocking bootloader and flashed the "disable force encryption" but got stuck on booting screen.
Pls tell me how exactly i should do what, and i will post my results
Thanks !
Best Regards,
Alex
Recomendations
Hello,
I just updated from Android 9 stock ROM, to Android 10 with a custom ROM.
I followed this two YouTube guides from the same user:
How to root and install TWRP:
https://www.youtube.com/watch?v=wy9Z_NN_7Tg&list=LLm7cWm_1QXORlLa5XeTETUw&index=12&t=365s
How to install custom ROM(In my case I installed Evolution X with Android 10 following these steps):
https://www.youtube.com/watch?v=S0pcmA_ew-Y&list=LLm7cWm_1QXORlLa5XeTETUw&index=13&t=173s
**Advise**
- Use the same files and versions that he uses, If you use/do something different, you are going to have some problems.
What I'm currently running on my Mi A2 Lite:
- Evolution X ROM(Android 10) -> https://forum.xda-developers.com/mi-a2-lite/development/rom-evolution-x-3-3-t4014685
- Nitrogen Kernel r3 -> https://forum.xda-developers.com/mi-a2-lite/development/r1-nitrogen-kernel-mi-a2-lite-t4011019
Everything has been very stable at the moment(1 week and lots of gaming and restarts and tests), so I feel fine sharing this.
Best,
delokt
Alibabara said:
Can you explain this more for me pls?
- What exact files do I need?
- what exactly should i do with these files? (flash with terminal, TWRP, Slot A, Slot B, etc.....)
Click to expand...
Click to collapse
Fastboot image from here.
https://forum.xda-developers.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871
Install instructions in that thread. TL;DR Run the flash_all_keeping_userdata script to upgrade to the version you downloaded. 11.0.4.0 is what you want.
You have Magisk and TWRP. Install them the same way you did before. Go read their threads if you forgot or use the last part of my guide.
Hello Friends, i have good news, i successfully updated my Phone to android 10 and keep TWRP and magisk!
I did the following steps:
- clean install of fastbood v.11.0.4. Android 10 via Mi-Flashtool
- powershell adb: fastboot boot twrp-3.3.1-dees_troy-daisy.img
- TWRP should open on Mi a2 lite. go to advanced and activate adb sideload
- powershell: adb sideload twrp-installer-3.3.1-dees_troy-daisy.zip
TWRP should now be installed.
Then i tried a reboot system and got into the welcome screen, so it booted.
What i did next is, the magisk v20.4 zip file move to sd card or internal storage of the device and flash it trough TWRP.
DONE!
now your phone should reboot to system. It now has Android 10 and magisk installed and working!
Hope i can help someone else with this.
Files are on my google drive: https://drive.google.com/open?id=19eg3N9bSliVh40T8atnp4rJiIKPjob0j
Best Regards
Alex
a1291762 said:
Fastboot image from here.
https://forum.xda-developers.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871
Install instructions in that thread. TL;DR Run the flash_all_keeping_userdata script to upgrade to the version you downloaded. 11.0.4.0 is what you want.
You have Magisk and TWRP. Install them the same way you did before. Go read their threads if you forgot or use the last part of my guide.
Click to expand...
Click to collapse
thx for the help! i did it!