[GUIDE][Video] How to Root Moto X4 & Install TWRP Recovery - Moto X4 Guides, News, & Discussion

Motorola Bootloader Unlock - https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Motorola drivers for Windows & Mac :- https://support.motorola.com/us/en/drivers
Setup ADB and fastboot - https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/
Moto X4 TWRP download (download image and zip file) - Moto X4 TWRP
Magisk - Magisk
Root check app - https://play.google.com/store/apps/details?id=com.jrummyapps.rootchecker&hl=en_US
Moto X4 Android 9.0 Pie Root & TWRP :- https://www.youtube.com/watch?v=Z6bZZJseEvg

munchy_cool said:
Motorola Bootloader Unlock - https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Motorola drivers for Windows & Mac :- https://support.motorola.com/us/en/drivers
Setup ADB and fastboot - https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/
Moto X4 TWRP download (download version 3.2.1-1 image and zip file) - Moto X4 TWRP
Magisk - Magisk
Root check app - https://play.google.com/store/apps/details?id=com.jrummyapps.rootchecker&hl=en_US
Moto X4 Android 9.0 Pie Root & TWRP :-
Click to expand...
Click to collapse
I tried Unlocking Moto X4 and this error showed up.
this ---> "E:\Motorola\ADB>fastboot oem get_unlock_data
(bootloader) slot-countta: not found
(bootloader) slot-suffi: not found
...
FAILED (remote: unknown command)
finished. total time: 0.002s"

SiddharthHarishkumar said:
I tried Unlocking Moto X4 and this error showed up.
this ---> "E:\Motorola\ADB>fastboot oem get_unlock_data
(bootloader) slot-countta: not found
(bootloader) slot-suffi: not found
...
FAILED (remote: unknown command)
finished. total time: 0.002s"
Click to expand...
Click to collapse
not sure whats going on ..

Will this work with Android 9 Pie?

hydrocynus said:
Will this work with Android 9 Pie?
Click to expand...
Click to collapse
only if you read the first post :highfive:

munchy_cool said:
Motorola Bootloader Unlock - https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Motorola drivers for Windows & Mac :- https://support.motorola.com/us/en/drivers
Setup ADB and fastboot - https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/
Moto X4 TWRP download (download version 3.2.1-1 image and zip file) - Moto X4 TWRP
Magisk - Magisk
Root check app - https://play.google.com/store/apps/details?id=com.jrummyapps.rootchecker&hl=en_US
Moto X4 Android 9.0 Pie Root & TWRP :- https://www.youtube.com/watch?v=Z6bZZJseEvg
Click to expand...
Click to collapse
Thanks for the directions, links, and video. All went well (i kept the moto x4 on 8.1 instead of upgrading to Pie) - the only difference was I had to enter my password to decrypt the drive first, then remover Superuser (to let the magisk built in superuser run).
Just two questions. Do you know:
1. if I should turn off the "oem unlocking" for the bootloader after everything is installed?
2. if I should turn off usb debugging after everything is installed?

nogods said:
Thanks for the directions, links, and video. All went well (i kept the moto x4 on 8.1 instead of upgrading to Pie) - the only difference was I had to enter my password to decrypt the drive first, then remover Superuser (to let the magisk built in superuser run).
Just two questions. Do you know:
1. if I should turn off the "oem unlocking" for the bootloader after everything is installed?
2. if I should turn off usb debugging after everything is installed?
Click to expand...
Click to collapse
once you unlock bootloader that option should be greyed out.
no point in disabling it
usb debugging is your wish. thats for taking logs.

munchy_cool said:
once you unlock bootloader that option should be greyed out.
no point in disabling it
usb debugging is your wish. thats for taking logs.
Click to expand...
Click to collapse
Thanks for the quick reply.
My "OEM unlocking" slider is still active - I can slide it off and back on, although I don't know if that actually does anything.

Links above say to use TWRP 3.2.1.1, but YouTube guide uses 3.2.3.1. Does it make a difference which we use?

Gaffadin said:
Links above say to use TWRP 3.2.1.1, but YouTube guide uses 3.2.3.1. Does it make a difference which we use?
Click to expand...
Click to collapse
nope..use latest

SiddharthHarishkumar said:
I tried Unlocking Moto X4 and this error showed up.
this ---> "E:\Motorola\ADB>fastboot oem get_unlock_data
(bootloader) slot-countta: not found
(bootloader) slot-suffi: not found
...
FAILED (remote: unknown command)
finished. total time: 0.002s"
Click to expand...
Click to collapse
Same thing with process on Win 7 Ultimate 64 bit, usb 2.0 port, Pie version with sercurity patch level 1/11/2018
But, when i update with sercurity patch level 1/1/2019, and change port usb 3.0, it works

Lose Apps?
Haven't unlocked a phone b4... all new to me... The Motorola Bootloader Unlock information states: "You will lose all media and content on your device and will need to reinstall all applications downloaded from Google Play"... is this true??

AutomatedGizmo said:
Haven't unlocked a phone b4... all new to me... The Motorola Bootloader Unlock information states: "You will lose all media and content on your device and will need to reinstall all applications downloaded from Google Play"... is this true??
Click to expand...
Click to collapse
Yes. This is standard when unlocking bootloader (I guess a security thing). You will want to backup.

jhedfors said:
Yes. This is standard when unlocking bootloader (I guess a security thing). You will want to backup.
Click to expand...
Click to collapse
Thanks, Chandler... could you recommend a backup(s) that back up data as well as apps to be reloaded... think I read somewhere that the standard google backup only backs up apps, not data.

Rooted successfully on 9.0, was easy to follow guide, thanks. But not Motorola update services keeps saying update unsuccessful whenever it tries to install latest security patch. They should download like normal for me right?

Hushpuppysox said:
Rooted successfully on 9.0, was easy to follow guide, thanks. But not Motorola update services keeps saying update unsuccessful whenever it tries to install latest security patch. They should download like normal for me right?
Click to expand...
Click to collapse
not after rooting. OTA wont work on rooted.

Hushpuppysox said:
Rooted successfully on 9.0, was easy to follow guide, thanks. But not Motorola update services keeps saying update unsuccessful whenever it tries to install latest security patch. They should download like normal for me right?
Click to expand...
Click to collapse
If you flash back to stock, you should then be able to take the OTA. I do this with my unlocked XT1900-1 with every update.

munchy_cool said:
not after rooting. OTA wont work on rooted.
Click to expand...
Click to collapse
Oh yeah, I forgot about that. I haven't rooted a phone since 2010. So jhedfors mentions flashing back to stock to update via OTA but I'd flashing back to stock the only way to get it or can I get the update from Motorola's website and install that way?

Just went back to stock, and I wanted to make sure I usnderstand you all on OTA updates: do we really have to flash back to stock using the full firmware (as in the guide here: https://forum.xda-developers.com/moto-x4/how-to/guide-how-to-flash-official-factory-t3808348 ) before OTA? That seems like a lot of work. Is there a way to just temporarily disable Magisk, take the OTA, then re-install Magisk?

Your device does not qualify for bootloader unlocking.
i have amazon prime version
Is there anything I can do?

Related

[Guide][Video/Text] How to Flash Official/Factory Firmware (Moto X4)

How to Flash Factory Firmware
​
Warning
You will loose all your data. Make sure to backup. You are doing this at your own risk. Neither me nor xda is responsible for any bricked devices.
Youtube Video :- https://www.youtube.com/watch?v=eCGB-yxC09w
Text Guide
HOW TO INSTALL STOCK ROM IN MOTO X4:
Download Moto X4 Stock Firmware from below (in factory firmwares section).
Extract factory firmware to a folder.
Install Motorola Driver and ADB Fastboot Driver on your PC.
Copy all contents of ADB fastboot folder and paste it in factory firmware folder.
Download flash-all.sh(Mac & Linux) or flash-all.bat (Windows)
Place flash-all.sh/flash-all.bat file in factory firmware folder.
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Open a command prompt/terminal window, navigate to factory firmware folder.
Windows
Code:
fastboot devices
Mac & Linux
Code:
./fastboot devices
Make sure device is detected in fastboot mode.
Windows
Code:
flash-all.bat
Mac & Linux
Code:
./flash-all.sh
Once everything is flashed.
Windows
Code:
fastboot reboot
Mac & Linux
Code:
./fastboot reboot
Motorola Bootloader Unlock - https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Downloads
Motorola drivers for Windows & Mac :- https://support.motorola.com/us/en/drivers
Setup ADB and fastboot - https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/
flash-all.sh (Linux + Mac) - https://mega.nz/#!OYFiRKZC!2CjMLxpoEAqpFyB_q1Q1FncC9a1oNofh9Hjm99PwiGo
flash-all.bat (Windows) - https://mega.nz/#!DF1XwSjC!tkHhb9H9-1piNr1AbKaPJK_yLuv4rpIxw1AWicD1I94
Factory Firmwares
https://mirrors.lolinet.com/firmware/moto/payton/official/
US Retail Android 9.0 Pie :- https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Android One Android 9.0 Pie :- https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Twitter Account to Follow for latest firmware uploads
https://twitter.com/motofirmware123
you da man!
Your tutorials are very helpful .Thanks
When will you have the 28.2 firmware with the May update? Thats what version mine was on before I bricked it.
jpolster2005 said:
When will you have the 28.2 firmware with the May update? Thats what version mine was on before I bricked it.
Click to expand...
Click to collapse
you should be able to flash the latest firmware listed above as long as you can boot into fastboot.
but my locked boot loader says preflash validation failed
jpolster2005 said:
but my locked boot loader says preflash validation failed
Click to expand...
Click to collapse
unlock the bootloader.
I can't, because OEM UNLOCKING is set to off
Thanks for the simplified guide. Worked great, I was able to relock the bootloader and accept an OTA with no problem. Only issue is the device doesn't pass safety net - signature validation error, and when I boot up I get the device has been modified pop up.
michael28056 said:
Thanks for the simplified guide. Worked great, I was able to relock the bootloader and accept an OTA with no problem. Only issue is the device doesn't pass safety net - signature validation error, and when I boot up I get the device has been modified pop up.
Click to expand...
Click to collapse
rooted?
No -unrooted, stock rom from this thread, locked bootloader.
michael28056 said:
No -unrooted, stock rom from this thread, locked bootloader.
Click to expand...
Click to collapse
well, i never stay on stock long enough to check that ..sorry cant help with that.
guys PLEASE help me I have a $300 paperweight here. Best Buy wouldn't take it back so I NEED to get it fixed. I was already on the newest OTA when I bricked my phone on a locked boot loader, and when I try to flash 28.1 thru Fastboot, it says validation failed. is there anyone out there who has access to the Fastboot flashable 28.2? I need my phone back!
jpolster2005 said:
guys PLEASE help me I have a $300 paperweight here. Best Buy wouldn't take it back so I NEED to get it fixed. I was already on the newest OTA when I bricked my phone on a locked boot loader, and when I try to flash 28.1 thru Fastboot, it says validation failed. is there anyone out there who has access to the Fastboot flashable 28.2? I need my phone back!
Click to expand...
Click to collapse
What have you tried so far? There isn't a full 28.2 image yet that I know of.
Maybe this: https://forum.xda-developers.com/moto-x4/help/20-uploads-official-signed-28-2-t3810215
Neffy27 said:
What have you tried so far? There isn't a full 28.2 image yet that I know of.
Maybe this: https://forum.xda-developers.com/moto-x4/help/20-uploads-official-signed-28-2-t3810215
Click to expand...
Click to collapse
same peeps thread
aw man... well, I meant to post specifically to the last post in the thread but was on the mobile app.
:good::good: Just wanted to say thank you for this post, the links to the image files and the flash-all BAT file. This really saved my butt with a Project Fi Moto X4, which I had rooted using Magisk before checking on the availability of factory firmware images from Motorola. (of course there are not any available from Motorola ) The phone was continuously prompting for an OTA update, which would fail. I first tried the Magisk uninstaller, which ran successfully in TWRP, but the OTA update was still failing. After some digging on Google I found your post and used the Project Fi image to flash the phone, it worked perfectly! There was an OTA update available after flashing (The May 2018 security patches, "28.2") and it installed successfully. I love the Android community, the XDA community, and folks like yourself who take the time to write posts like this. Seriously, thank you!
g3m1n1 said:
I love the Android community, the XDA community, and folks like yourself who take the time to write posts like this. Seriously, thank you!
Click to expand...
Click to collapse
glad to be of help :highfive:
g3m1n1 said:
There was an OTA update available after flashing (The May 2018 security patches, "28.2") and it installed successfully.
Click to expand...
Click to collapse
Hello!
I understand you have Android One version. If that's the case, anyone catching the URL to OTA for the Android One 28.2 update? I've been looking for it for days, and the OTA link generator is not working (at least with the data I'm providing which should be correct).
Neffy27 said:
What have you tried so far? There isn't a full 28.2 image yet that I know of.
Maybe this: https://forum.xda-developers.com/moto-x4/help/20-uploads-official-signed-28-2-t3810215
Click to expand...
Click to collapse
how long before we see one. I have been relegated to using an iPhone 6 32GB! I really NEEEEEEED my phone to not be bricked. I tried to do the blank flash and boot off sd card and all that to no avail. none of it worked. meow I am getting so frustrated.

[TA-1021] How to Install/Boot TWRP 3.2.3-0 (modded) for Pie and Root it

/!\DO IT ON YOUR OWN RISK/!\
Recently, Nokia made us happy by fulfilling their promise to update our Nokia 6 to Android Pie. It's very exciting until you find out there is no way to root or even use TWRP on this device when Pie is installed.
Worry not, I've found a way to install TWRP and root our Nokia 6 using Magisk. Follow the guides below!
/!\ WARNING! This process requires you to unlock your Nokia 6 bootloader first. Bootloader unlock isn't officially available nor supported yet, so it is paid and MOST LIKELY you would have to downgrade your device first to Oreo with older security patch to unlock it (which requires more cash)
OK, if you are ready, proceed to next two threads for TWRP installations and root
=====================
Required files download:
• TWRP 3.2.3-0 patched for Nokia 6 Pie
https://drive.google.com/open?id=1zsiTSIHyA_WyH7f-z7mxQwISlVft4aNv
• Magisk Manager 6.1.0
https://mega.nz/#!EDoy1azB!l8DKdSrpZFmxOBankQIMmbID5xjylIGizA5m0rpLxZI
• Magisk v17.1
https://github.com/topjohnwu/Magisk/releases/download/v17.1/Magisk-v17.1.zip
=====================
• TWRP 3.2.3-0 install or boot guide •
> To install (replaces the stock recovery)
=======================
/!\ TWRP installs on today standards' phones are strongly discouraged by the community. To be safe, always mod your Android device when your modding companion devices - be it a PC or a laptop, are nearby and connectable to your phone. After all, it's up to you to install the TWRP or not. /!\
=======================
• Download the TWRP image from the link provided in the OP.
• Put your phone into fastboot mode
• Use the " fastboot flash recovery recovery_mod.img " command
• Done!
> To just boot (preserve stock recovery)
• Download the TWRP image from the link provided in the OP.
• Put your phone into fastboot mode
• Use the " fastboot boot recovery_mod.img " command
• Done! It should be booted to TWRP now.
/!\DO IT ON YOUR OWN RISK/!\
• Root guide (untested) •
• Download both the Magisk Manager apk and the Magisk installer zip from the link in OP. Place it into your phone's internal storage.
• Install the Magisk Manager apk (you have to install the Manager first)
• Boot into TWRP (guide on above thread) or reboot to recovery (if you flashed TWRP, again the guide is on above thread)
• Back up your boot partition first (strongly recommended, but not mandatory)
• Flash the Magisk installer zip
• Wipe dalvik and cache, if needed.
• Reboot
• Done!
/!\DO IT ON YOUR OWN RISK/!\
Not worked for me my bootloader is unlocked and i flashed this twrp on my ta- 1021 but it's not booting up on twrp
Emmykay223 said:
Not worked for me my bootloader is unlocked and i flashed this twrp on my ta- 1021 but it's not booting up on twrp
Click to expand...
Click to collapse
/!\ WARNING! This process requires you to unlock your Nokia 6 bootloader first. Bootloader unlock isn't officially available nor supported yet ...
/!\
SamuSZ said:
/!\ WARNING! This process requires you to unlock your Nokia 6 bootloader first. Bootloader unlock isn't officially available nor supported yet ...
/!\
Click to expand...
Click to collapse
Bootloader is already unlocked ..
Thanks for your contribution! This should also work on TA-1000/1003 and all the Nokia 5.
hikari_calyx said:
Thanks for your contribution! This should also work on TA-1000/1003 and all the Nokia 5.
Click to expand...
Click to collapse
It's not working for me how i can do this please reply me
Emmykay223 said:
Not worked for me my bootloader is unlocked and i flashed this twrp on my ta- 1021 but it's not booting up on twrp
Click to expand...
Click to collapse
welp, i already said it's the safest to just boot to TWRP via fastboot than flashing it into your phone, so you can test it whether if it's booting before flashing.
xaedoplay.modder.xda said:
welp, i already said it's the safest to just boot to TWRP via fastboot than flashing it into your phone, so you can test it whether if it's booting before flashing.
Click to expand...
Click to collapse
Oky so i have tried it's not Booting
Thanks for your concern ??
Emmykay223 said:
Oky so i have tried it's not Booting
Thanks for your concern ??
Click to expand...
Click to collapse
maybe you can take a look at twrp.me and look after Nokia 6
some people reported that the official TWRP works
You are my hero! :highfive:
Thank you so much! It works very fine!
xaedoplay.modder.xda said:
maybe you can take a look at twrp.me and look after Nokia 6
some people reported that the official TWRP works
Click to expand...
Click to collapse
I think i should reinstall my android pie and then i should install twrp again hope it will work for me
xaedoplay.modder.xda said:
maybe you can take a look at twrp.me and look after Nokia 6
some people reported that the official TWRP works
Click to expand...
Click to collapse
As u can see my bootloader is unlocked
Emmykay223 said:
I think i should reinstall my android pie and then i should install twrp again hope it will work for me
Click to expand...
Click to collapse
Yes but my device is showing "failed to find device partition" any idea about it?
---------- Post added at 07:18 PM ---------- Previous post was at 07:17 PM ----------
xaedoplay.modder.xda said:
/!\DO IT ON YOUR OWN RISK/!\
Recently, Nokia made us happy by fulfilling their promise to update our Nokia 6 to Android Pie. It's very exciting until you find out there is no way to root or even use TWRP on this device when Pie is installed.
Worry not, I've found a way to install TWRP and root our Nokia 6 using Magisk. Follow the guides below!
/!\ WARNING! This process requires you to unlock your Nokia 6 bootloader first. Bootloader unlock isn't officially available nor supported yet, so it is paid and MOST LIKELY you would have to downgrade your device first to Oreo with older security patch to unlock it (which requires more cash)
OK, if you are ready, proceed to next two threads for TWRP installations and root
=====================
Required files download:
• TWRP 3.2.3-0 patched for Nokia 6 Pie
https://drive.google.com/open?id=1zsiTSIHyA_WyH7f-z7mxQwISlVft4aNv
• Magisk Manager 6.1.0
https://mega.nz/#!EDoy1azB!l8DKdSrpZFmxOBankQIMmbID5xjylIGizA5m0rpLxZI
• Magisk v17.1
https://github.com/topjohnwu/Magisk/releases/download/v17.1/Magisk-v17.1.zip
=====================
Click to expand...
Click to collapse
Why my device is showing me "failed to find device partition" in my recovery menu. Any idea about it?
Will it work on my Nokia x7?
I've not seen anything about Nokia rooting on xda before this,
So, first of all thank you so much for the great effort.
Can I use this on my Nokia x7.
Help: how to unlock bootloader?
Hey Bro just guide a little bit, I know how to go back to Nougat/Oreo from Pie. after going back to Nougat can I unlock my bootloader simply by using this command 'fastboot oem unlock' or I will have to buy bootloader?
Nouman112 said:
Hey Bro just guide a little bit, I know how to go back to Nougat/Oreo from Pie. after going back to Nougat can I unlock my bootloader simply by using this command 'fastboot oem unlock' or I will have to buy bootloader?
Click to expand...
Click to collapse
Nope you can try methods to unlock bootloader but i will suggest you to buy bootloader key from techmesto .
I have purchased the key from techmesto then i unlocked my bootloader. you can run this command to unlock your phone's bootloader.
Fastboot flash unlock (key.bin)
Then fastboot oem unlock-go
Emmykay223 said:
Nope you can try methods to unlock bootloader but i will suggest you to buy bootloader key from techmesto .
I have purchased the key from techmesto then i unlocked my bootloader. you can run this command to unlock your phone's bootloader.
Fastboot flash unlock (key.bin)
Then fastboot oem unlock-go
Click to expand...
Click to collapse
I actually don't wanna buy any other suggestion?
Nouman112 said:
I actually don't wanna buy any other suggestion?
Click to expand...
Click to collapse
You can search how to unlock bootloader of nokia 6 in search options you will know how to do it

[CLOSED] Deleted

Here was a Guide. Someone said people don't care about Me or My Work so...​
Thank you
Hello,
I'm going into boot loop when I'm trying this :
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot continue
I have downloaded your img for Xperia 1
Can you help please ?
After multiple tentative your image was woking
But when I install your module in Magisk and restart, I get Pixel Launcher Stopped message (with rest pixel laucher or go to info) and I can do nothting : the message appears every time I click somewhere.
Thanks
kelly669 said:
After multiple tentative your image was woking
But when I install your module in Magisk and restart, I get Pixel Launcher Stopped message (with rest pixel laucher or go to info) and I can do nothting : the message appears every time I click somewhere.
Thanks
Click to expand...
Click to collapse
when you say "module" what you reffer? pixel launcher or boot image? it's seems that the author posted here only boot image.
Is bettwer to build your own image instead to use one build by others;
The pixel launcher problem may be from not installing proper magisk module; check download section in magisk for necessary modules and also search on forums for pixel launcher prerequisites.
kelly669 said:
After multiple tentative your image was woking
But when I install your module in Magisk and restart, I get Pixel Launcher Stopped message (with rest pixel laucher or go to info) and I can do nothting : the message appears every time I click somewhere.
Thanks
Click to expand...
Click to collapse
Thats due to the Gesture Navigation. Please enable 3 Button Navigation To fix it... :angel:
daphix said:
when you say "module" what you reffer? pixel launcher or boot image? it's seems that the author posted here only boot image.
Is bettwer to build your own image instead to use one build by others;
The pixel launcher problem may be from not installing proper magisk module; check download section in magisk for necessary modules and also search on forums for pixel launcher prerequisites.
Click to expand...
Click to collapse
It was about My Work. There are No other Modules for the Pixel Launcher...
Since My Threads got moved from the Development Section am i No longer contributing Images Myself. Thanks to XDA and the Moderators!
Guide overhauled like promised to some <3 Let Me know if i missed something
Updated the Guide
Updated the Thread again with more exactly Instructions and a typo fix
Attempting to flash the vbmeta.img I have this problem:
unknown option fastboot --disable-verity
Any idea why fastboot can't figure this command? adb version 30.0.5
Also, what exactly is the reason to flash the vbmeta.img? Is this to allow the phone to boot with the patched image..?
I was still able to boot into android but I can't confirm if the devices is rooted or not.. all programs just hang with no confirmation if root access is granted or denied...
Will this work with android 11?
I get a boot loop when trying to flash magisk img on android 11 with magisk 20.3
Miustone said:
Updated the Thread again with more exactly Instructions and a typo fix
Click to expand...
Click to collapse
jt23738 said:
I get a boot loop when trying to flash magisk img on android 11 with magisk 20.3
Click to expand...
Click to collapse
20.3 is totally outdated: https://github.com/topjohnwu/Magisk/releases
jt23738 said:
I get a boot loop when trying to flash magisk img on android 11 with magisk 20.3
Click to expand...
Click to collapse
Sorry I meant 22.1 magisk
Miustone said:
20.3 is totally outdated: https://github.com/topjohnwu/Magisk/releases
Click to expand...
Click to collapse
Any news on this ? I used the latest Magisk 23.0
My Xperia 5 is dead so i can't Test anymore... Sorry
Thank you @Miustone, your post has been a helpful reference. Some things change over time so it's good to have this guide that is current.
In your guide, I have been looking at the Flashing Firmwares and re-locking the Bootloader... section.
Miustone said:
If You want to relock Your Bootloader...
-Just go into fastboot mode any type in the command prompt (like before in this Guide):
Code:
cd\
cd platform-tools
fastboot oem lock
-Wait for Your Device and disconnect it from USB
-Download and Install the "Xperia Companion" from SONY
-Open the Xperia Companion and select Software Repair
-Select that Your Device can't get recognized (or is a Smartwatch 3 lol)
-Go to the next Page and select the Xperia Smartphone Option
-Continue and wait for the Initialization
-Press and hold Volume DOWN while connecting to USB (You will see the Green Flashmode LED again)
-Continue once Your Device gets recognized and let the Xperia Companion do his work...
Done. Your Bootloader is locked again and most of Your DRMs are restored. But please Note, that unlocking Your Bootloader erases Your unique Device Key FOREVER. That will flag Your Device as "it was unlocked". This can be checked by SONY and everyone else who has this Device in his Hands... (SONY knows it anyways).
Click to expand...
Click to collapse
Please can you advise, confirm that while rooted with Magisk (v23.0), I can relock the bootloader so as to be able to get Sony OTA updates for my Xperia 1?
I had to download firmware with XperiFirm anyway, to get the boot img for Magisk to patch. And because it is newer firmware I just went and flashed it - also because I needed to fix the broken camera/torch caused by rooting with Magisk. So now everything is working again.
So I lose root but I can just root again with Magisk. At that point can I relock the bootloader so that I can receive OTAs, and still be rooted?
OutOfSync said:
Thank you @Miustone, your post has been a helpful reference. Some things change over time so it's good to have this guide that is current.
In your guide, I have been looking at the Flashing Firmwares and re-locking the Bootloader... section.
Please can you advise, confirm that while rooted with Magisk (v23.0), I can relock the bootloader so as to be able to get Sony OTA updates for my Xperia 1?
I had to download firmware with XperiFirm anyway, to get the boot img for Magisk to patch. And because it is newer firmware I just went and flashed it - also because I needed to fix the broken camera/torch caused by rooting with Magisk. So now everything is working again.
So I lose root but I can just root again with Magisk. At that point can I relock the bootloader so that I can receive OTAs, and still be rooted?
Click to expand...
Click to collapse
You need to choose.
Unlocked = Magisk/Root, Freedom, Control
Locked = No Magisk/Root, Freedom, Control
I do also recommend to wait for Pixel Experience. It will come soon with Mainline Kernels for many Xperias... Including OTAs
Hi guys, I cannot watch Netflix after unlock bootloader my J9110, it shows error 5.8. Tried many workarounds but none of them work.
I'm on Android 12 beta 5. Please help!
Thread Updates coming soon including Android 12 GSI flashing + Magisk

P20 pro unable to flash recovery

Hello,
I have a P20 Pro with unlocked bootloader, i decided to updated the phone trought OTA by flashing original recovery and instal OTA of Android 10.
After that i wanted to get back to TWRP then root my phone, but i get surprised that the phone bootloader get locked again after update.
I need to unlock my bootloader again in order to use my phone. the command in fastboot : fastboot oem unlock **************** (i put my old unlocking code which already worked 2 years ago)
but i get as a result :
...
FAILED (remote: invalid command)
finished. total time : 0.027s
can anyone help me getting back my bootloader unlocked and twrp installed please ? i dont want loose my phone
NB : i confirm again that my code was working before on android 9 and had bootloader unlocked
Rovyo said:
Hello,
I have a P20 Pro with unlocked bootloader, i decided to updated the phone trought OTA by flashing original recovery and instal OTA of Android 10.
After that i wanted to get back to TWRP then root my phone, but i get surprised that the phone bootloader get locked again after update.
I need to unlock my bootloader again in order to use my phone. the command in fastboot : fastboot oem unlock **************** (i put my old unlocking code which already worked 2 years ago)
but i get as a result :
...
FAILED (remote: invalid command)
finished. total time : 0.027s
can anyone help me getting back my bootloader unlocked and twrp installed please ? i dont want loose my phone
NB : i confirm again that my code was working before on android 9 and had bootloader unlocked
Click to expand...
Click to collapse
You idiot EMUI 10 cannot be bootloader unlocked, downgrade to EMUI 9.0!!!
If you want android 10 or even 11 you need something called a GSI, which I can inform you about it.
jjgvv said:
You idiot EMUI 10 cannot be bootloader unlocked, downgrade to EMUI 9.0!!!
If you want android 10 or even 11 you need something called a GSI, which I can inform you about it.
Click to expand...
Click to collapse
i'm really an idiot i can confirm that, how to downgrade please ? my bootloader in locked right now
Rovyo said:
i'm really an idiot i can confirm that, how to downgrade please ? my bootloader in locked right now
Click to expand...
Click to collapse
HISUITE
jjgvv said:
HISUITE
Click to expand...
Click to collapse
You saved me mate, was really a dumb move to go thought OTA without checking this point. Didn't now Huawei become that ******
Any advice for a good custom rom based on android 10 ?
And thanks again for your precious help
Rovyo said:
You saved me mate, was really a dumb move to go thought OTA without checking this point. Didn't now Huawei become that ******
Any advice for a good custom rom based on android 10 ?
And thanks again for your precious help
Click to expand...
Click to collapse
I can get you Android 11 actually, though there are a few bugs on both 10 and 11.
jjgvv said:
I can get you Android 11 actually
Click to expand...
Click to collapse
even better if it is android 11, i will try it
also have another dumb question : if i install TWRP on the EMUI 9.1 with unlocked bootloader, can i flash the emui 10 rom thought TWRP ? or this will brick the phone ?
Rovyo said:
even better if it is android 11, i will try it
also have another dumb question : if i install TWRP on the EMUI 9.1 with unlocked bootloader, can i flash the emui 10 rom thought TWRP ? or this will brick the phone ?
Click to expand...
Click to collapse
Yes, system will be 'destroyed', as you modded the recovery.
jjgvv said:
Yes, system will be 'destroyed', as you modded the recovery.
Click to expand...
Click to collapse
that what i was thinking also, so bye Emui 10 for ever i guess.
what was the rom base on android 11 you are referring to ?
GSI Project treble rom.
The definition is https://source.android.com/setup/bu...tem image (GSI,or higher can run successfully.
Google's Offical GSI will not boot on huaweis though.
After unlock bootloader download this https://github.com/phhusson/treble_...v300.l/system-roar-arm64-aonly-vanilla.img.xz
use 7zip(https://www.7-zip.org/a/7z1900-x64.exe) to extract the file once and rename it to system.img and move to C drive WITHOUT under any folders.
Then go to recovery and factory reset, do not advance wipe, wipe>factory reset only
Then go to fastboot and
fastboot flash system C:\system.img
Failing to follow will result in rage!
Backup System, Vendor, Data and Internal storage in TWRP before doing anything will be a wise choice, in case anything is wrong.
Forgot to mention you must flash magisk in TWRP before installing rom, to disable AVB(Android Vertified Boot) so that a custom rom can be loaded.
jjgvv said:
Backup System, Vendor, Data and Internal storage in TWRP before doing anything will be a wise choice, in case anything is wrong.
Click to expand...
Click to collapse
Yeah for sur, i'm rolling back, unlocking BL then TWRP in order to get a full backup. I ll check the rom after that
A senior member refer to for EMUI 10 upgrading :
"Don't update system via OTA when phone is rooted or bootloader unlock. Flash firmware via erecovery and rooted again"
i think this is incorrect right ? he cant root again while on EMUI 10 ?
jjgvv said:
Forgot to mention you must flash magisk in TWRP before installing rom, to disable AVB(Android Vertified Boot) so that a custom rom can be loaded.
Click to expand...
Click to collapse
thanks for the proper advice
Rovyo said:
Yeah for sur, i'm rolling back, unlocking BL then TWRP in order to get a full backup. I ll check the rom after that
A senior member refer to for EMUI 10 upgrading :
"Don't update system via OTA when phone is rooted or bootloader unlock. Flash firmware via erecovery and rooted again"
i think this is incorrect right ? he cant root again while on EMUI 10 ?
Click to expand...
Click to collapse
https://github.com/SkyEmie/huawei-honor-unlock-bootloader
Read troubleshooting part, EMUI 10 cannot unlock bootloader
jjgvv said:
https://github.com/SkyEmie/huawei-honor-unlock-bootloader
Read troubleshooting part, EMUI 10 cannot unlock bootloader
Click to expand...
Click to collapse
the lasted TWRP release cant decrypt the data, trying to find a working one and the phone don't want to boot to recovery anymore even with volume up + power bouton or via command adb reboot recovery. seems a good day hahaha
Still boots fastboot? Otherwise you are screwed
jjgvv said:
Still boots fastboot? Otherwise you are screwed
Click to expand...
Click to collapse
what do you mean ? yes i still can go on fastboot and already rolled back to Emui 9.1
just want to boot on damn recovery hahaha and if it can decrypt daba will be great
jjgvv said:
Still boots fastboot? Otherwise you are screwed
Click to expand...
Click to collapse
well i'm stuck with twrp not decrypting my data
i managed to install TWRP (several version), boot on them and so nothing to do
also can get root easily and magisk as i sideload zip from crypted TWRP version (worked)
tried the version twrp_clt_0.1.img from XDA stuck on TWRP starting screen
i'm almost giving up
Extract Android 11 Gsi, rename to system.img and move to C drive , not under any folders.
Go to fastboot then
Fastboot erase data
Fastboot erase cache
Fastboot flash system C:\system.img

Moto G 5G XT-2213-3

Has anyone installed a custom rom successfully on a Moto G 5G model XT-2213-3?
The kiev build for Lineage 18.1 lists these variants as compatible:
Supported models
XT2113-2
XT2113-3
XT2113-5
This is the device's specs on GSM arena.
Moto G 5G (2022)
So apparently in moving from the 2020 kiev version to this phone, they replaced the qualcomm processor with a mediatek. Bad news for the custom rom future of it. It did easily bootloader unlock, so now I'm trying to see if root is a possibility.
Old_Mil said:
So apparently in moving from the 2020 kiev version to this phone, they replaced the qualcomm processor with a mediatek. Bad news for the custom rom future of it. It did easily bootloader unlock, so now I'm trying to see if root is a possibility.
Click to expand...
Click to collapse
Hello. Have you found any solution to root this device? I have the same model (2213-3 Austin), and unlocked the phone but could not root the device. No solution on the internet works for me.
enaykey said:
Hello. Have you found any solution to root this device? I have the same model (2213-3 Austin), and unlocked the phone but could not root the device. No solution on the internet works for me.
Click to expand...
Click to collapse
I was successfully able to root using this guide.
[Guide][Root] Magisk without TWRP on Android P
Via Magisk Manager: This method does not need root, and also does not require a custom recovery. However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot mode...
forum.xda-developers.com
I've uploaded the patched boot.img for firmware G_S1SAS32.47_77_2 so you can save some time and skip step 1 and go straight to flashing the patched boot.img hope this helps.
I gave up on this handset as with it's Mediatek innards there won't be any future Custom ROM options.
traceroute87 said:
I was successfully able to root using this guide.
[Guide][Root] Magisk without TWRP on Android P
Via Magisk Manager: This method does not need root, and also does not require a custom recovery. However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot mode...
forum.xda-developers.com
I've uploaded the patched boot.img so you can save some time and skip step 1 and go straight to flashing the patched boot.img hope this helps.
Click to expand...
Click to collapse
Oh thank you! I tried to do the same thing but i got an error each time. I'll try your boot.img
traceroute87 said:
I was successfully able to root using this guide.
[Guide][Root] Magisk without TWRP on Android P
Via Magisk Manager: This method does not need root, and also does not require a custom recovery. However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot mode...
forum.xda-developers.com
I've uploaded the patched boot.img so you can save some time and skip step 1 and go straight to flashing the patched boot.img hope this helps.
Click to expand...
Click to collapse
I still get this error on fastboot:
sending 'boot' (40960 KB)...
OKAY [ 1.187s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 1.202s
enaykey said:
I still get this error on fastboot:
sending 'boot' (40960 KB)...
OKAY [ 1.187s]
writing 'boot'...
(bootloader) Invalid partition name boot
FAILED (remote failure)
finished. total time: 1.202s
Click to expand...
Click to collapse
hmm.
try: fastboot flash boot_a boot.img
or: fastboot flash boot_b boot.img
traceroute87 said:
hmm.
try: fastboot flash boot_a boot.img
or: fastboot flash boot_b boot.img
Click to expand...
Click to collapse
Oh, it worked! Thank you so much. You saved my phone.
traceroute87 said:
I was successfully able to root using this guide.
[Guide][Root] Magisk without TWRP on Android P
Via Magisk Manager: This method does not need root, and also does not require a custom recovery. However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot mode...
forum.xda-developers.com
I've uploaded the patched boot.img so you can save some time and skip step 1 and go straight to flashing the patched boot.img hope this helps.
Click to expand...
Click to collapse
This is awesome.
Would you happen to have a stock firmware for austin RETUS? I can't find one on lolinet.
slipchicken said:
This is awesome.
Would you happen to have a stock firmware for austin RETUS? I can't find one on lolinet.
Click to expand...
Click to collapse
https://mirrors.lolinet.com/firmwar...RSU_QCOM_regulatory-DEFAULT_cid50_CFC.xml.zip
This is stock for XT2213-3
Old_Mil said:
I gave up on this handset as with it's Mediatek innards there won't be any future Custom ROM options.
Click to expand...
Click to collapse
I have a WIP lineage/aosp device tree up on github, still have a few small things to sort out on the device tree and probably another week or two away from a workable vendor tree. Motorola has released the source for the kernel along with the out of tree modules, currently trying to get them to release an aosp build readme since this is my first mediatek device and there isn't much info on porting roms to said soc, but there is always gsi's
damnthefall said:
https://mirrors.lolinet.com/firmwar...RSU_QCOM_regulatory-DEFAULT_cid50_CFC.xml.zip
This is stock for XT2213-3
Click to expand...
Click to collapse
Is this one valid for those that bought directly from Moto? It's stating subsidy for T-Mobile and not seeing a standard official release on lolinet . . .
zinjashike said:
Is this one valid for those that bought directly from Moto? It's stating subsidy for T-Mobile and not seeing a standard official release on lolinet . . .
Click to expand...
Click to collapse
This is just for the T-Mobile variant. The one bought directly from Moto has different specs IIRC
Okay, I thankfully remembered that one can get stock roms from Moto using the Rescue Smart Assistant so did that.
Now I'm just stuck waiting till Motorola tells me phone I can use the OEM Bootloader Unlock . . . so much for a fast upgrade >_<
zinjashike said:
Okay, I thankfully remembered that one can get stock roms from Moto using the Rescue Smart Assistant so did that.
Now I'm just stuck waiting till Motorola tells me phone I can use the OEM Bootloader Unlock . . . so much for a fast upgrade >_<
Click to expand...
Click to collapse
Mine only took like 24 hours before the option could be enabled. I just want to go back to a qcom soc because not having any bsp for this phone is killing me
damnthefall said:
Mine only took like 24 hours before the option could be enabled. I just want to go back to a qcom soc because not having any bsp for this phone is killing me
Click to expand...
Click to collapse
I'm not familiar, what is BSP?
Just want to make sure I'm not biting myself in the ass here keeping it. The only things I really need unlocked BL/root for is CF.Lumen, some tasker stuff, proper full backups, and call recording for work/business >_>
zinjashike said:
I'm not familiar, what is BSP?
Just want to make sure I'm not biting myself in the ass here keeping it. The only things I really need unlocked BL/root for is CF.Lumen, some tasker stuff, proper full backups, and call recording for work/business >_>
Click to expand...
Click to collapse
BSP=Board Support Package(makes custom ROM development much easier) you should be just fine doing the standard magisk root, it's what I did and I haven't had any issues with except that now whenever I reboot my phone it boots into Meta mode instead of back to system. So when I reboot I have to make sure to hold vol down to get the bootloader and then boot normally from there. I'm guessing it has something to do with verified boot because if I reflash the factory boot image it reboots normally, I tried flashing vbmeta with disable verity and verification, but after doing that the sim card reader stopped working lol
Anyone found a root for the moto g stylus 5G xt2131-1? Just purchased it factory unlocked.

Categories

Resources