Moto X4 XT1900-1 root - Moto X4 Guides, News, & Discussion

Just bought the phone today (New). Its unlocked for provider, do I have to unlock the bootloader to root the phone?
It has Android 7.1 Nougat on it. What is the best way to get this rooted on the latest Pie update? Should I start with all the OTA updates first or do it differently?
I saw files needed and a video link here, but wanted to make sure before I start anything on it: https://forum.xda-developers.com/mot...-twrp-t3806460

I received mine with 8.1
I did few times OTA in a row straight up to 9 and unlocked the bootloader
Note: it is recommended to use Linux host so fastboot can work properly
You can get adb for Linux and use
(Windows) adb devices (Linux) ./adb devices
(Windows) fastboot oem get_unlock_data (Linux) ./fastboot oem get_unlock_data
Good luck

mingkee said:
I received mine with 8.1
I did few times OTA in a row straight up to 9 and unlocked the bootloader
Note: it is recommended to use Linux host so fastboot can work properly
You can get adb for Linux and use
(Windows) adb devices (Linux) ./adb devices
(Windows) fastboot oem get_unlock_data (Linux) ./fastboot oem get_unlock_data
Good luck
Click to expand...
Click to collapse
once you updated to 9 using OTA, which process you used to root it?
I need to have the boatloader unlocked from motorola website before I can root or root can work without it?
you mean use the adb for linix fro root. Not use linix OS. I only use windows 10. Where Can I get that file?

Itachi-san said:
once you updated to 9 using OTA, which process you used to root it?
I need to have the boatloader unlocked from motorola website before I can root or root can work without it?
you mean use the adb for linix fro root. Not use linix OS. I only use windows 10. Where Can I get that file?
Click to expand...
Click to collapse
Adding root requires touching the system, which requires an unlocked bootloader.
I've rarely used Linux and, from my experience on another phone, Windows 10 is just fine.
Download the needed ADB files from here:
https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/

dougo007 said:
Adding root requires touching the system, which requires an unlocked bootloader.
I've rarely used Linux and, from my experience on another phone, Windows 10 is just fine.
Download the needed ADB files from here:
https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/
Click to expand...
Click to collapse
I didn't have luck retrieving unlocked data with three different Windows machines, but it works like a charm with Linux

dougo007 said:
https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/
Click to expand...
Click to collapse
Thank you.
Old files from the G4 unlock didn't work. I installed Android SDK and the Win msi from the Motorola site, couldn't locate the needed files (might just be me).
Going a little nuts. Downloaded, extracted, moved, worked to spec.
Thanks again.

Related

Can I use fastboot without Android SDK? If so, how?

I unlocked and rooted using motochopper and motopocalypse. Apparently my Android SDK program was deleted from the computer so instead of waiting for it to download and update for 24 hours I was wondering if there was any way to use fastboot without having Android SDK installed?
I need to put a recovery (open recovery) on the phone...
TIA
matt2k12 said:
I unlocked and rooted using motochopper and motopocalypse. Apparently my Android SDK program was deleted from the computer so instead of waiting for it to download and update for 24 hours I was wondering if there was any way to use fastboot without having Android SDK installed?
I need to put a recovery (open recovery) on the phone...
TIA
Click to expand...
Click to collapse
Seems like its possible, I found this http://www.hackmyandroid.com/use-adb-fastboot-commands-without-installing-android-sdk/2479

[Q] Rooting the H60-L02 with EMUI 3.0

Hey there,
I just received a H60-L02 shipped from Mainland China. Being on OS X, I had no trouble installing adb and unlocking the boot loader.
There is something I don't understand though : to gain root access on my phone, I need to install a modified ROM of Huawei's android upper layer ? Why is that so ? Do I need to find a ClockWordMod H60-L02 EMUI 3.0 Rom to root my H6 ?
Dariel0000 said:
Hey there,
I just received a H60-L02 shipped from Mainland China. Being on OS X, I had no trouble installing adb and unlocking the boot loader.
There is something I don't understand though : to gain root access on my phone, I need to install a modified ROM of Huawei's android upper layer ? Why is that so ? Do I need to find a ClockWordMod H60-L02 EMUI 3.0 Rom to root my H6 ?
Click to expand...
Click to collapse
i used multitool and flashed twrp, twrp asked me when i tap on restart if i want to root, thats it :good:
superpfpf said:
i used multitool and flashed twrp, twrp asked me when i tap on restart if i want to root, thats it :good:
Click to expand...
Click to collapse
Thanks, but I can't do that, insofar as I can't run .exe on OS X. Also, I'm trying to understand the basic concepts of rooting on android, in order not to **** things up by doing things I would do on other linux distribs. From what I get, rooting is installing a modified ROM in which everyone is a superuser ?
Dariel0000 said:
Thanks, but I can't do that, insofar as I can't run .exe on OS X. Also, I'm trying to understand the basic concepts of rooting on android, in order not to **** things up by doing things I would do on other linux distribs. From what I get, rooting is installing a modified ROM in which everyone is a superuser ?
Click to expand...
Click to collapse
rooting is getting superuser access to any rom, if you take a look at the batch file, there is a link where you can download twrp, put it in the same directory where fastboot and adb files are
Code:
adb kill-server
adb reboot bootloader
fastboot devices
fastboot flash recovery TWRP_2.8.0.1_h60.img
fastboot reboot
adb wait-for-device
adb reboot recovery
fastboot devices
Ok it works. From what I get, twrp is a manager that enables you, once the boot loader is unlocked, to flash whatever you want on your android system. So you flash SuperSu, and it is done.
Thanks a lot for your help and explanations !:good::good::good:

[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.

[Q] Help with rooting Infinix Hot 11s

Heya!
I was wondering if there are any existing tools or information about rooting Infinix Hot 11s? I've tried searching for anything related to it and I've seen a couple of threads with information about rooting old Infinix phones here, but to my understanding there isn't one related to this particular model.
It's powered by a Helio G88 processor and the operating system is a modified Android build called XOS. Full phone specs are here for anyone curious.
Any help would be greatly appreciated. Thanks!
Rooting Android means installing a ~100KB piece of software ( SU-binary ) on it.
So either push a matching SU-binary onto Android filesystem or replace the pre-installed ( restricted ) version of Toybox with a matching unrestricted one, wil say with one that has SU-cmdlet incorporated.
.
xXx yYy said:
Rooting Android means installing a ~100KB piece of software ( SU-binary ) on it.
So either push a matching SU-binary onto Android filesystem or replace the pre-installed ( restricted ) version of Toybox with a matching unrestricted one, wil say with one that has SU-cmdlet incorporated.
Click to expand...
Click to collapse
Hi, thanks for the response!
I understand, but how would I go about doing that with this particular phone? Because to my understanding, I need TWRP, I haven't found a TWRP version for my phone and I fear using a TWRP build from other phones or older Infinix phone models might brick it. If ever I have to port TWRP, is there some sort of guide for me to follow so I can try making a build of TWRP that works with this?
Thanks!
To add a suitable SU-binary to Android's filesystem TWRP in NO case is needed: you do it via ADB.
Example:
Code:
adb devices
adb push <LOCATION_OF_SUITABLE_SU_BINARY_ON_PC> /data/local/tmp/
adb shell "chmod +x /data/local/tmp/su"
I recently bought this phone and is looking for a way to root it safely as i want to remove bloatware and use some apps that need root (like screenrecording without microphone and just internal audio, i heard that needs the magisk module?)
is there a way to root it preferably without a pc and i dont want to wipe my data unless really necessary, i have also unlocked the oem bootloader from dev options as this phone uses a custom version of android 10 (xos dolphin 7.0), processor is mediatek helios something as far as i know, just for reference
xXx yYy said:
To add a suitable SU-binary to Android's filesystem TWRP in NO case is needed: you do it via ADB.
Example:
Code:
adb devices
adb push <LOCATION_OF_SUITABLE_SU_BINARY_ON_PC> /data/local/tmp/
adb shell "chmod +x /data/local/tmp/su"
Click to expand...
Click to collapse
Hey! I tried following what you said, but unfortunately it did not work. I found a thread with instructions quite similar to what you posted: https://forum.xda-developers.com/t/universal-guide-root-any-android-device-manually.2684210/
The original poster said that this method no longer works. Is this true?
olivermartin0721 said:
I recently bought this phone and is looking for a way to root it safely as i want to remove bloatware and use some apps that need root (like screenrecording without microphone and just internal audio, i heard that needs the magisk module?)
is there a way to root it preferably without a pc and i dont want to wipe my data unless really necessary, i have also unlocked the oem bootloader from dev options as this phone uses a custom version of android 10 (xos dolphin 7.0), processor is mediatek helios something as far as i know, just for reference
Click to expand...
Click to collapse
Heya! We're currently on the same boat, unfortunately there isn't one sure method of rooting this phone at the moment.
SilhouetteMirage said:
Hey! I tried following what you said, but unfortunately it did not work.
Click to expand...
Click to collapse
the 2 lines of code shown above by me always worked for me, at any Android version - at least up to Android 10, and should work on Android 11, too
also do any of you have links to the stock rom for infinix hot 11s nfc? I bricked my phone trying to install the wrong twrp for this phone. Thanks.
So, any luck in rooting Hot 11s? This xos skin is driving me nuts. Always closing background processes, and sometimes even foreground process. We desperately need a twrp for this device.
Here is how to do it
Download your phone's latest firmware (the one you are running ) extract the boot.img from it and put it in your internal storage and install magisk from github
Press install in it and it would prompt you flashing a boot.img do that
Then copy the patched img to your pc
Then in platform-tools (search for it on google) click on the address bar then type cmd
From there type in (adb reboot bootloader) make sure your usb debugging is on
Then when it reboots to fastboot
Type (fastboot flash boot *your patched boot.img*)
That's exactly how i rooted my phone and i have an infinix hot 10s
And this method is universal
I want to install custom ROM on my infinix hot 11s, PLEASE someone work on it. HELP US!
We need developer support for infinix hot 11s please someone make TWRP and custom rom for it
Me to, please anyone develop custom rom and twrp for infinix hot 11s
RadhixAwp said:
Here is how to do it
Download your phone's latest firmware (the one you are running ) extract the boot.img from it and put it in your internal storage and install magisk from github
Press install in it and it would prompt you flashing a boot.img do that
Then copy the patched img to your pc
Then in platform-tools (search for it on google) click on the address bar then type cmd
From there type in (adb reboot bootloader) make sure your usb debugging is on
Then when it reboots to fastboot
Type (fastboot flash boot *your patched boot.img*)
That's exactly how i rooted my phone and i have an infinix hot 10s
And this method is universal
Click to expand...
Click to collapse
Hey! If you successfully do that method, do you know how to fix the problem "<waiting for any devices>" in fastboot? Is it because of the driver for my device or other cases? Thank you in advance.
RadhixAwp said:
Here is how to do it
Download your phone's latest firmware (the one you are running ) extract the boot.img from it and put it in your internal storage and install magisk from github
Press install in it and it would prompt you flashing a boot.img do that
Then copy the patched img to your pc
Then in platform-tools (search for it on google) click on the address bar then type cmd
From there type in (adb reboot bootloader) make sure your usb debugging is on
Then when it reboots to fastboot
Type (fastboot flash boot *your patched boot.img*)
That's exactly how i rooted my phone and i have an infinix hot 10s
And this method is universal
Click to expand...
Click to collapse
Did you face any issues? Is everything working for you just fine?
Lurima24 said:
Hey! If you successfully do that method, do you know how to fix the problem "<waiting for any devices>" in fastboot? Is it because of the driver for my device or other cases? Thank you in advance.
Click to expand...
Click to collapse
because of drivers for your device
pointgourd said:
because of drivers for your device
Click to expand...
Click to collapse
It's fine now, everything is work for the fastboot and I just need to find the right driver for my device. But still...do I need to unlock the bootloader first to be able flashing or do some commands? And since it's hard to find the firmware for my device, how to get the boot.img out of my phone? Knowing that Infinix Hot 11s NFC is a brand new phone and as far as I know it's regional based for Indonesia's market only. CMIIW.
pointgourd said:
because of drivers for your device
Click to expand...
Click to collapse
My ID code for my device is X6812B
Lurima24 said:
My ID code for my device is X6812B
Click to expand...
Click to collapse
Lurima24 said:
It's fine now, everything is work for the fastboot and I just need to find the right driver for my device. But still...do I need to unlock the bootloader first to be able flashing or do some commands? And since it's hard to find the firmware for my device, how to get the boot.img out of my phone? Knowing that Infinix Hot 11s NFC is a brand new phone and as far as I know it's regional based for Indonesia's market only. CMIIW.
Click to expand...
Click to collapse
https://romprovider.com/infinix-x6812b-firmware-support/ check if this is the one?
and I'm not sure but I think unlocking bootloader and rooting your device is totally different things so probably not

Root Access on Wiko Life 3 (Assurance Wireless Phone)

hi, i was wondering if there is any method to obtain root access on the wiko life 3, it is on a Mediatek MT6739 Chipset. The bootloader is locked, and there is no option for oem unlocking in developer settings. i have access to a computer and ADB and fastboot obviously
This tool can unlock the bootloader on many Mediatek powered devices: https://github.com/bkerler/mtkclient
It doesn't really play nice with Windows though so I recommend you use it on a Linux distro
Wish39 said:
This tool can unlock the bootloader on many Mediatek powered devices: https://github.com/bkerler/mtkclient
It doesn't really play nice with Windows though so I recommend you use it on a Linux distro
Click to expand...
Click to collapse
thank you, i unlocked the bootloader using it on ubuntu and patched and flashed the boot img. my device is rooted
vamponthexda said:
...i unlocked the bootloader using it on ubuntu and patched and flashed the boot img. my device is rooted
Click to expand...
Click to collapse
Do you know of any more useable ROM for it... like could I flesh any T-Mobile ROM or any other ROM to use it as Unlocked Phone in any of the US networks?
hey did u make a backup of the original firmware? i bootlooped mine and need the stock rom to fix it. can u help me?

Categories

Resources