[Guide] Update Rooted (Magisk) Motorola Device - Upgrading, Modifying and Unlocking

[Guide] Update Rooted (Magisk) Motorola Device​
This is a General Motorola Guide
If you need more help Please create a thread in your device's forum.
Mention me by Posting "@sd_shadow" I'll help you as much as I can...
Required
Android SDK Platform Tools (ADB,Fastboot.exe)
Stock Motorola Firmware A good source is https://t.me/MotoUpdatesTracker
PC
Download the stock firmware for your device.
unzip find the servicefile.xml open it with a Text editor, Like Notepad++
Copy the code, and paste @ https://kfhost.net/flashfile
you get a list of flash commands.
Android SDK
I usually just copy the files from platform-tools folder to the firmware folder
Windows
I also place a copy of cmd.exe in the firmware folder
Minor Update
With Minor updates, the old boot.img is the same as the new one.
Skip or remove these commands (you may not have a recovery.img)
Code:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
Major Update
With big updates the boot.img will need to be repatched
Run all the Flash commands
Reroot using the method used before.
or see Magisk Non-Twrp root Method
also see
[Guide] Using Fastboot.exe with Motorola devices
Guide: Using Fastboot.exe with Motorola Devices If your device has its own section please post in that section. You can ping me with @sd_shadow MediaTek or Qualcomm Chip? Do I have a MediaTek Device? see post #26 Info: If you have a MediaTek...
forum.xda-developers.com

also see
How to Install OTA Updates on Rooted Android Devices using Magisk [Without Losing Root]
An OTA update has arrived, but you cannot install it because your Android device is rooted? Well, that's a known downside of rooting Android. In this guide, you will learn how to install OTA updates…
www.thecustomdroid.com

sd_shadow said:
also see
How to Install OTA Updates on Rooted Android Devices using Magisk [Without Losing Root]
An OTA update has arrived, but you cannot install it because your Android device is rooted? Well, that's a known downside of rooting Android. In this guide, you will learn how to install OTA updates…
www.thecustomdroid.com
Click to expand...
Click to collapse
Does this still work? on Android 11

Kuntitled said:
Does this still work? on Android 11
Click to expand...
Click to collapse
Yes, for most Qualcomm devices, that do not have a separate recovery partition.

Safetynet fix (21 March 2022)
Download and install Safetynet fix https://github.com/kdrag0n/safetynet-fix

sd_shadow said:
also see
How to Install OTA Updates on Rooted Android Devices using Magisk [Without Losing Root]
An OTA update has arrived, but you cannot install it because your Android device is rooted? Well, that's a known downside of rooting Android. In this guide, you will learn how to install OTA updates…
www.thecustomdroid.com
Click to expand...
Click to collapse
Kuntitled said:
Does this still work? on Android 11
Click to expand...
Click to collapse
sd_shadow said:
Yes, for most Qualcomm devices, that do not have a separate recovery partition.
Click to expand...
Click to collapse
Worked for me with Motorola Edge 20 Pro/Android 11. What about Android 12, still should work?

https://www.thecustomdroid.com/install-ota-update-rooted-android-device-guide/
Hi @sd_shadow ,
Does this still work on Android 12?

saccet said:
https://www.thecustomdroid.com/install-ota-update-rooted-android-device-guide/
Hi @sd_shadow ,
Does this still work on Android 12?
Click to expand...
Click to collapse
I tried it myself and it works. I went from Android 11 to Android 12 on Motorola Edge 20 Pro.

Related

Upgrade rooted 2015 16gb Shield TV (non Pro)

Hi
I have a 2015 Shield (non pro) currently running rooted 5.2.0. I am looking to update it with the latest 8.0.1 dev image to keep root. Is there any precautions or extra steps I need to take over what is in the instructions in the download centre. From what I have read I will need to ADB sideload Magisk to get full root access after installing the dev image.
you'll need to patch the boot.img in magisk canary and then flash it
https://forum.xda-developers.com/shield-tv/general/guide-root-nvidia-shield-experience-t3882254
Do I need to unroot or factory reset the rooted 5.2.0 before flashing 8.0.1. Is there any benefit in flashing the dev image rather than the factory image before flashing the patched boot.img.
You should update the firmware OTA. Because you'll flash the OTA you'll need to patch then flash the dev image or this root boot image: https://forum.xda-developers.com/shield-tv/development/kernel-overclock-kernel-2-22-ghz-t3943079
But do I need to unroot etc to do an OTA.
g1dtf said:
But do I need to unroot etc to do an OTA.
Click to expand...
Click to collapse
yes unroot will happen automatically when you install the OTA. if you know how to use adb and follow my steps it's not a big deal though you can get it back quickly
I have just unfroze system upgrade (com.nvidia.ota) and it offers experience 6.3. I guess I have to incrementally install subsequent OTA's until I get to 8.0.1 then follow your guide to re-root using your guide, I am familiar with using ADB although its been quite a while since I last used it.
g1dtf said:
I have just unfroze system upgrade (com.nvidia.ota) and it offers experience 6.3. I guess I have to incrementally install subsequent OTA's until I get to 8.0.1 then follow your guide to re-root using your guide, I am familiar with using ADB although its been quite a while since I last used it.
Click to expand...
Click to collapse
yes correct you need to do it incrementally--it's totally worth it Nvidia has done some great upgrades!
Got it up to 8.0.0 installing the OTA's. However the next OTA offered is 8.0.2 rather than 8.0.1 which as far as I know has no root options yet as the 8.0.2 images have not been released by NV.
yes but you don't need dev images to root, you can just patch this boot.img and it should give you root (as long as you install the latest Magisk canary and then upgrade through that)
https://forum.xda-developers.com/sh...l-2-22-ghz-t3943079/post81708169#post81708169
False double post please ignore.
Just a little confused as to which boot.img I need to patch. Looked at the XDA link you posted but there are quite a few different ones mentioned in that thread. I am currently running stock 8.0.2 OTA on my 2015 16gb.
g1dtf said:
Just a little confused as to which boot.img I need to patch. Looked at the XDA link you posted but there are quite a few different ones mentioned in that thread. I am currently running stock 8.0.2 OTA on my 2015 16gb.
Click to expand...
Click to collapse
Just boot into twrp using this https://drive.google.com/file/d/1934405D1S0lv52jZMqS-Zny62RIzGWSi/view
Then flash magisk canary in there, and you are done
Thanks! Flashed the latest canary and now rooted on 8.0.2.

How to successfully update from Android 9 with TWRP, Root (magisk) to Android 10?

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!

Does TWRP officially work with Moto G Power (Sofia US) ??

Just wondering. I have my bootloader for my Moto G Power (Sofia XT2041-4) unlocked and I'm trying to root my device but I can't install Magisk without it seems. So I would like to know if TWRP works with the Moto G Power (Sofia US).
FYI, you can install magisk without twrp by getting the boot image on your phone and using the magiskmanager app to patch that, then flashing it.
Twrp does work with sofia though. Just fastboot flash recovery twrp.img
You can find the latest compatible twrp image in this forum.
nero075 said:
FYI, you can install magisk without twrp by getting the boot image on your phone and using the magiskmanager app to patch that, then flashing it.
Twrp does work with sofia though. Just fastboot flash recovery twrp.img
You can find the latest compatible twrp image in this forum.
Click to expand...
Click to collapse
There needs to be a one stop shop for this sort of thing. All the help I'm getting is spread out and sources for the files we need spread out as well. This is the most frustrated I've been with Android rooting and I've been rooting for years.
nero075 said:
FYI, you can install magisk without twrp by getting the boot image on your phone and using the magiskmanager app to patch that, then flashing it.
Twrp does work with sofia though. Just fastboot flash recovery twrp.img
You can find the latest compatible twrp image in this forum.
Click to expand...
Click to collapse
Could you please point out on where could I read specific instructions (link) about how to root Moto G power sofia Android 11 (without TWRP, via Magisk) and / if flashing custom ROM on Android 11 could be successful. All I found online is instructions for Android 10. Many folks reporting that available test TWRP twrp-3.4.0-0-sofia-test9.img for sofia not working properly. Particularly, touchscreen not working. Any help would be appreciated.
Thanks.
alpheus said:
Could you please point out on where could I read specific instructions (link) about how to root Moto G power sofia Android 11 (without TWRP, via Magisk) and / if flashing custom ROM on Android 11 could be successful. All I found online is instructions for Android 10. Many folks reporting that available test TWRP twrp-3.4.0-0-sofia-test9.img for sofia not working properly. Particularly, touchscreen not working. Any help would be appreciated.
Thanks.
Click to expand...
Click to collapse
I only did android 10, sorry.

Question Are the newer US ver still allowing,rooth with TWRP?

Seeing a lot of issues with Android 11 and 12 unlocking the bootloader and applying root. Is now not a good time to upgrade or should I wait for a boot image?
Not quite sure what you're referring to, but there are zero issues with unlocking the bootloader or rooting your device...
I can't speak for TWRP. I have had issues with it the last few versions so I had to make due without it. If I am mistaken about having twrp on the OP9 Pro on the newest LE2125 c61 update, I'd be interested.
Anyway, my response is mostly to address your question regarding root. Here are the steps that worked for me.
[OnePlus 9 Pro][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds
As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: This is not a support thread for issues you may have with...
forum.xda-developers.com
I have been rooted since day one on both A11 & A12. I'm running stock and haven't had a single issue.
Avoid TWRP, it's known to not work properly on A12
If you like to flash a custom ROM. Follow the instructions and you will be fine.
I am coming off the oneplus 7pro was enjoying TWRP and Magisk, with Exposed now I am hearing TWRP isn't working on anything above 10.0 ver. Guess I have to do so more research or pay Monfrio a ransom to work on TWRP.
intense21 said:
I am coming off the oneplus 7pro was enjoying TWRP and Magisk, with Exposed now I am hearing TWRP isn't working on anything above 10.0 ver. Guess I have to do so more research or pay Monfrio a ransom to work on TWRP.
Click to expand...
Click to collapse
there is no need for TWRP...
Smedslund said:
I have been rooted since day one on both A11 & A12. I'm running stock and haven't had a single issue.
Avoid TWRP, it's known to not work properly on A12
If you like to flash a custom ROM. Follow the instructions and you will be fine.
Click to expand...
Click to collapse
How do you root without twrp? or you mean to just boot twrp and not install it?
CtrlValCanc said:
How do you root without twrp? or you mean to just boot twrp and not install it?
Click to expand...
Click to collapse
Use Magisk, patch bootimg , install and reboot.
Read this usefull guide.
Smedslund said:
Use Magisk, patch bootimg , install and reboot.
Read this usefull guide.
Click to expand...
Click to collapse
thank you, i couldn't find what boot.img to download (and how), but this guide has already all!
CtrlValCanc said:
thank you, i couldn't find what boot.img to download (and how), but this guide has already all!
Click to expand...
Click to collapse
I always just sideload. (downdload magisk apk & rename to zip before)
this way you do not need the extra boot.img I think.
vincemue said:
I always just sideload. (downdload magisk apk & rename to zip before)
this way you do not need the extra boot.img I think.
Click to expand...
Click to collapse
could you explain better? I never used sideload before. What commands do you use?
CtrlValCanc said:
could you explain better? I never used sideload before. What commands do you use?
Click to expand...
Click to collapse
If you want to install any add-ons, Reboot to Recovery, then when your device reboots, click Apply Update, then Apply from ADB, then adb sideload filename.zip those packages in sequence. (GAPPS or Magisk for example)
for example for magisk:
download the newest magisk apk version
after download, rename it and instead of .apk do it .zip
go into revovery and click Apply Update, then Apply from ADB
command is : "adb sideload Magisk-v2X.X.zip"
you must exchange X for your version.
Boot images gets patched
please note that I am not an expert, that is just what I found somewhere and use since then.
if you need more information you could also check the install instructions for lineageOS to get to know some basics: https://wiki.lineageos.org/devices/lemonadep/install

Question Rooted Stock TMO LE2127_11_C.18

After the last update that screwed up my oneplus 9 pro, I decided it was time to look at unlocking the bootloader and rooting my phone so that I could get control over these damn updates. I just want to be able to root my stock OOS so that I can do some debloating and be able to do full backups etc. I have unlocked the bootloader and the SIM, but, after doing research, it seems that I cannot root my phone without a boot.img from LE2127_11_C.18 which I cannot find. TMO has the January 22 OTA for download, so that is useless to me. Does anyone have advice as to where I can get a boot.img and recovery.img for LE2127_11_C.18, or if there is some other option that I am missing? Any assistance is greatly appreciated.
Here is the boot.img and patched boot IMG for 11_C.18. Make sure to boot the patched img. Don't flash it! Then direct install in magisk. If you've never done it before. I suggest you use the forum. The recovery.img doesn't exist on this phone like other phones. It can't be pulled and flashed. You can boot twrp but on android 12 the encryption doesn't work. So I wouldn't try to install it. As far as the debloating goes , you don't need to have root privileges to debloat. Adb Appcontrol is a good app for windows that works well for that and also has other features. I'll post a link for that also.
T-Mobile_OP_9_Pro_11_C_18_boot_and_patched_imgs.zip | by Optional for OnePlus 9 Pro
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
Thank you for your response. It is greatly appreciated.
It has been years since I was a rooting/moding enthusiast, so it has been many years since I posted any requests for help on xda. Thanks to your gracious assistance and the outstanding work of the dev who wrote this post
[GUIDE] [Magisk] [Unlock / ROOT / Keep Root] OOS 13.1.0.500
Different variants of Magisk that are available for use : Magisk Variant Stable / Beta / Canary Release Official Android / OOS OOS 11 and above Maintainer topjohnwu Project Link GitHub Zygisk No...
forum.xda-developers.com
I have an unlocked and rooted TMO oneplus 9 Pro. Thank you again for your help.
binxwalker said:
Thank you for your response. It is greatly appreciated.
Click to expand...
Click to collapse
If you don't mind, could you let me know the steps taken to gain root access? I'm also on tmo LE2127_11_C.18. I had this device rooted awhile back but went thru a few hiccups to get DerpFest installed. After I heard they were no longer maintaining the rom, I switched to Nameless but the last ota soft bricked me.. I'm full stock now and want root privileges for the same reasons you do.
NameIsOptional said:
Here is the boot.img and patched boot IMG for 11_C.18. Make sure to boot the patched img. Don't flash it! Then direct install in magisk. If you've never done it before. I suggest you use the forum. The recovery.img doesn't exist on this phone like other phones. It can't be pulled and flashed. You can boot twrp but on android 12 the encryption doesn't work. So I wouldn't try to install it. As far as the debloating goes , you don't need to have root privileges to debloat. Adb Appcontrol is a good app for windows that works well for that and also has other features. I'll post a link for that also.
T-Mobile_OP_9_Pro_11_C_18_boot_and_patched_imgs.zip | by Optional for OnePlus 9 Pro
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
Click to expand...
Click to collapse
ADB app control is amazing!! I'm new to root with this device. How do I just boot the patched.img instead of flashing it? I've only flashed .img... My previous device was a Xiaomi Redmi Note 4 (which was ridiculously simple)
Fastboot boot magisk.patched.img
Not
Fastboot flash boot magisk.patched.img
NameIsOptional said:
Fastboot boot magisk.patched.img
Not
Fastboot flash boot magisk.patched.img
Click to expand...
Click to collapse
It doesn't matter. You can flash directly the boot.img to both slots.
He asked how to boot the img not flash it.
NameIsOptional said:
He asked how to boot the img not flash it.
Click to expand...
Click to collapse
And I said regardless, it doesn't matter if he boots it or patch it. He wants to root anyway.

Categories

Resources