Which is the best method to root the phone(Moto G3)? - Moto G 2015 Q&A, Help & Troubleshooting

Please fill this form so that I get an idea of which method is the best.
Link to the form:
http://goo.gl/forms/GBEuLi8PEwLuSy282

adb duh..

fastboot the custom recovery and flash supersu.. all those crapy chinese things break your device

The person who had written manual, please explain yourself.

sanchith.hegde said:
Please fill this form so that I get an idea of which method is the best.
Link to the form:
http://goo.gl/forms/GBEuLi8PEwLuSy282
Click to expand...
Click to collapse
FYI... Almost every method in you list will soft brick the Moto G 2015. Do it manually, unlock bootloader, flash TWRP, flash SuperSU, reboot and your done. If you look in the general section, there is a simple tutorial.
Sent from my MotoG3 using Tapatalk

TWRP + SuperSU, hands down. You'll definitely want to use the beta packages that support systemless root. Otherwise you'll probably trip a bootloop

l3ones said:
TWRP + SuperSU, hands down. You'll definitely want to use the beta packages that support systemless root. Otherwise you'll probably trip a bootloop
Click to expand...
Click to collapse
Or else can I use 2.62-3?

There is a thread dedicated to this: http://forum.xda-developers.com/2015-moto-g/general/root-how-to-root-moto-g-2015-android-t3320113
It is simple... Download the latest TWRP and SuperSU
1) Unlock
2) Boot/flash TWRP with Fastboot
3) Go to the TWRP terminal and enter: echo SYSTEMLESS=true>>/data/.supersu
4) Flash SuperSU
5) Reboot
It is literally that simple.

acejavelin said:
There is a thread dedicated to this: http://forum.xda-developers.com/2015-moto-g/general/root-how-to-root-moto-g-2015-android-t3320113
It is simple... Download the latest TWRP and SuperSU
1) Unlock
2) Boot/flash TWRP with Fastboot
3) Go to the TWRP terminal and enter: echo SYSTEMLESS=true>>/data/.supersu
4) Flash SuperSU
5) Reboot
It is literally that simple.
Click to expand...
Click to collapse
It's actually my first phone and I am new to rooting so please help me go to the twrp terminal. And should I enter >> also ?

sanchith.hegde said:
It's actually my first phone and I am new to rooting so please help me go to the twrp terminal. And should I enter >> also ?
Click to expand...
Click to collapse
TWRP terminal is in the Advanced Menu, when TWRP started press the button marked "Advanced" then press button marked "Terminal". Enter the command EXACTLY as shown, including the >>, which means "append to" in the terminal, so what is does is append "SYSTEMLESS=true" to the file /data/.supersu and if it doesn't exist go ahead and create it with that content. When SuperSU is installed, it will check that file and act accordingly, allowing for a forced systemless install.
Sent from my MotoG3 using Tapatalk

acejavelin said:
TWRP terminal is in the Advanced Menu, when TWRP started press the button marked "Advanced" then press button marked "Terminal". Enter the command EXACTLY as shown, including the >>, which means "append to" in the terminal, so what is does is append "SYSTEMLESS=true" to the file /data/.supersu and if it doesn't exist go ahead and create it with that content. When SuperSU is installed, it will check that file and act accordingly, allowing for a forced systemless install.
Click to expand...
Click to collapse
Thank you very much

Related

[Guide][Noob Proof]How To Install Roms & Kernels

[how to] flash a custom rom & custom kernel [noob's guide]
here's just a simple guide on how to flash pretty much any rom.
Most people probably, know how to do this, but for those unaware here is a simple and easy to follow guide i put together.
Before installing a custom rom, you have to make sure your phone is rooted.
There are already guides on that so here are some links.
Click to expand...
Click to collapse
links on how to root & unlock​
[how to unlock bootloader] http://forum.xda-developers.com/showthread.php?t=1732980 by 18th.abn
one click unlock: http://forum.xda-developers.com/showthread.php?t=1672284 - kennethpenn
unlock for mac: http://forum.xda-developers.com/showthread.php?t=1694478 jnichols959
root guide: [firmware 2.20]http://forum.xda-developers.com/showthread.php?t=1952038 - drjbliss
one click root [firmware 1.85] http://forum.xda-developers.com/showthread.php?t=1709424 -designgears
note if your phone as s on then look at this guide http://forum.xda-developers.com/showthread.php?t=1962428 -xsmagical
Click to expand...
Click to collapse
mac users please read​
Click to expand...
Click to collapse
for mac..
1) no drivers needed, and
2) in general (not need for this guide) replace fastboot in the with ./fastboot-mac
Click to expand...
Click to collapse
how to install a rom​
1) install twrp custom recovery from here: http://forum.xda-developers.com/showthread.php?t=1677447
2) download rom on your phone and put in sdcard. [it should already be there, most likely in the "download" folder. Or download the rom to your computer and transfer it to your phone. Also download google apps, and place them into your sd card [ NOTE STEPS 2.5 - 6 ONLY APPLY TO HBOOT 1.14]
2.5 you need boot.img if you are on hboot 1.14
3. Open Command Prompt (To get there you click start> Type in CMD on search > and then click command Prompt.)
4. In command prompt Type in "Adb Reboot bootloader"
5. That should put your phone into boot loader.
6. Then in CMD type "Fastboot flash boot <Insert file name here>" That is boot.img you downloaded, or whatever its called.
7.) reboot your phone, and hold down on the volume rocker at the same time to get into bootloader.
8.) now go to recovery and press power to click. (in recovery you use volume rockers to go up and down and power to click)
9) *make a backup in case anything goes wrong*
10) then full wipe (cache, davlik, factory, etc)
11) go to install and find the .zip file of the rom and flash it, be patient it may take a while
12.) flash the google apps
13) reboot system and you'll be done be patient for this one too, first boot always takes a while
***note*** some rom have specific directions that may differ from this, so make sure to read them. But this guide is how you install most roms
Click to expand...
Click to collapse
how to flash a custom kernel​
1. Install twrp custom recovery from here: http://forum.xda-developers.com/showthread.php?t=1677447
2. Download the kernal and put it into your sd card [STEPS 2.5 - 6 ONLY APPLY IF YOUR IN HBOOT 1.14]
2.5 you need boot.img if you are on hboot 1.14
3. Open Command Prompt (To get there you click start> Type in CMD on search > and then click command Prompt.)
4. In command prompt Type in "Adb Reboot bootloader"
5. That should put your phone into boot loader.
6. Then in CMD type "Fastboot flash boot <Insert file name here>" That is boot.img you downloaded, or whatever its called.
7. Then go into recovery and flash the kernel you downloaded and placed into your sd card.
8. Then reboot your device and you should be done.
***note*** this method may change in the future, and some kernels may have some additional insturctions.
Click to expand...
Click to collapse
if i missed anything please tell me
hope this helped you :d. If it did, it would mean a lot for you if you hit that thanks button
Click to expand...
Click to collapse

[GUIDE] Unlock/Root/Flash for Moto X Style/Pure

[SIZE=+3]Heisenberg's How-To Guide For Beginners[/SIZE]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[SIZE=+2]Moto X Pure[/SIZE]​
[SIZE=+1]Intro[/SIZE]
This thread will serve as a location for basic how-to guides for the Moto X Pure. I'm going to start off with a couple of the more obvious ones and go from there. If anyone has any suggestions for additions please feel free to let me know.
[size=+1]Prerequisites[/size]:
You'll need a working adb/fastboot environment on your PC to get through some of these guides. Go here to download the Android SDK, which will give you most updated version of adb and fastboot. Scroll to the bottom of the page and find Other Download Options>SDK Tools Only, and grab the right version for your OS. While it's downloading create a folder in C:\ called SDK (C:\SDK). Once you've downloaded the zip you can extract it into your C:\SDK folder. Navigate to C:\SDK\android-sdk-windows and open SDK Manager.exe. In SDK Manager you need to install the following packages:
Tools> Android SDK Tools, Android SDK Platform-tools
Extras> Android Support Library
Once you have installed those, inside C:\SDK you should see some new folders, one of them will be called platform-tools, within that folder you should see fastboot.exe and adb.exe. I'll refer to this as your fastboot folder/directory or working folder/directory during this guide. To make sure adb is correctly installed, open a command prompt from within your fastboot folder (hold shift + right click, select open command prompt here) and issue this command:
Code:
adb version
If it returns a version number for Android Debug Bridge then you're good to go.
You'll find Motorla drivers here, download it and install, then reboot your PC.
You can test adb by connecting your device to your PC while booted into Android (making sure that adb/usb debugging is enabled in Settings>Developer Options) with the screen unlocked and issuing this command:
Code:
adb devices
It should return your device serial number, if so, adb is working.
You can test fastboot by connecting your device to your PC while booted into fastboot mode (power + volume down) and issuing this command:
Code:
fastboot devices
It should return your device serial number, if so, fastboot is working.
By attempting any of the processes listed this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches on fire, or turns into a hipster and claims to have been modified before it was cool.
[SIZE=+1]Index[/SIZE]
How To Unlock Your Bootloader
How To Install A Custom Recovery On Your Device
How To Make A Nandroid Backup With TWRP Recovery
How To Root Your Stock Rom
How To Install A ROM with TWRP Recovery
How To Install A Custom Kernel With TWRP Recovery
How To Make Sure You Can Pretty Much Always Recover From An Accidentally Wiped System
[SIZE=+1]1. How To Unlock Your Bootloader[/SIZE]
Go into About Phone in Settings, click on Build Number 7 or 8 times until it says you have enabled Developer Options. Go back to Settings and enter the newly opened Developer Options section, scroll and click on the Enable OEM Unlock option.
Power off your phone then boot into fastboot mode (power + volume down).
Connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here).
Check your fastboot connection by issuing this command:
Code:
fastboot devices
It should return your device serial number, if not you need to make sure your drivers are installed correctly.​
Once you've confirmed your fastboot connection issue this command:
Code:
fastboot oem get_unlock_data
It should return something like this:
Code:
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000
Copy that code (with no spaces between the characters) and paste it somewhere for safekeeping, you'll use it in a minute.
Go to the Motorola bootloader unlocking page. You'll need to create an account with Motorola if you don't already have one. Once you're signed in you can scroll down to step 6 and paste the above code into the text field and hit the “can my device be unlocked” button.
Read the terms and conditions and accept them if you agree (you can't continue unless you accept).
Click the “request unlock key” button and an email with your unlock token will be sent to the email account that you signed up with.
Once you have retrieved the token from the email you can use it within the following command to unlock your bootloader:
Code:
fastboot oem unlock xxxxxxxxxx
(Replace the xxxxxxxx with your unique unlock token)​
Your bootloader is now unlocked!
Reboot with this command:
Code:
fastboot reboot
It's now safe to disconnect your usb cable.
Please note: this will erase all user data from your device, it is best to do this before you really start using the device and installing apps or putting data on the internal storage
[SIZE=+1]2. How To Install A Custom Recovery On Your Device[/SIZE]
Prerequisites: unlocked bootloader.
Download the recovery of your choice, here's TWRP.
Make sure you check the md5 to verify its integrity (where possible).
Place the file in your fastboot folder (this is where fastboot.exe is located on your PC).
Put the phone in fastboot mode and connect it to your PC via usb cable.
Open a command prompt from within your fastboot folder (shift + right click, select open command prompt here), and enter the following commands:
Code:
fastboot flash recovery <filename>.img
(Replace <filename> with the actual filename of the recovery, the recovery filename in the command will change depending on which recovery you're flashing)
Wait for the recovery to flash, it'll only take a few seconds, you'll get a finished message in your command prompt window once it's done.
It's now safe to disconnect your usb cable.
Don't reboot the phone normally, use the volume buttons to highlight recovery and press the power button to select it. This will stop the stock OS from patching it with the stock recovery in boot. Once you've booted into TWRP like this once, you can reboot normally.
[SIZE=+1]3. How To Make A Nandroid Backup With TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
A nandroid backup is a very important thing to have before installing any custom software on your device. It's basically a backup of your stock system that you can fall back on if anything goes wrong or if you just want your stock ROM back. You can also use the backup tool to create a backup of your favourite ROM set up exactly the way you like it. The backup you create can be easily restored using the restore tool in TWRP recovery.
All you need to do is enter TWRP recovery, select the backup option from the TWRP home screen, check the system/data/boot boxes, and swipe to backup. The process will take a few minutes.
[SIZE=+1]4. How To Root Your Stock Rom[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
Please note: this method is only valid for Lollipop, do not use this method on Marshmallow. You can find a systemless root method for Marshmallow here, big thanks to @ivcarlos!
Download SuperSU to your phone.
Boot into TWRP recovery.
Select the install option from the TWRP home screen.
Navigate to where you have SuperSU stored on your sd card and select it.
Swipe to install.
Once you've installed SuperSU you'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button. That's it.
[SIZE=+1]5. How To Install A ROM with TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
Installing a ROM is a pretty straight forward and easy process. Before you install anything you should make a nandroid backup (instructions above).
Download a ROM and appropriate Gapps package and place on your device.
Boot into your custom recovery.
Perform a full wipe.
Select the wipe option from the TWRP home screen.
Select advanced wipe.
Check the system, data, cache, and dalvik cache options.
Swipe to wipe.
Install the ROM.
Select the install option from the TWRP home screen.
Navigate to where you have the ROM zip stored on your sd card and select it.
Swipe to install.
Most ROMs will run an installer script at this point but some ROMs have what is called an Aroma Installer which allow you to choose some install options before the script runs.​
You will also need to install the appropriate gapps package directly after installing the ROM.
Once you've installed all necessary zips you'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button.
[SIZE=+1]6. How To Install A Custom Kernel With TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
A custom kernel can open up a new level of control over your device, such as overclocking/underclocking, undervolting, changing governors, changing I/O schedulers, adjusting colour calibrations, adjusting sound calibrations, and many other options.
Download a kernel that is compatible with your current ROM.
Check the md5 to verify its integrity.
Enter TWRP recovery.
Select the install option from the TWRP home screen.
Navigate to the kernel and select it.
Swipe to install.
You'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button.
Once your phone has booted up you can use a kernel tuning app to change governors, I/O scheduler, clock speed, and other options. Some of the popular kernel apps are Kernel Auditor, Trickster Mod, No Frills, Kernel Tuner, and many more.
[SIZE=+1]7. How To Make Sure You Can Pretty Much Always Recover From An Accidentally Wiped System[/SIZE]
Prerequisites: unlocked bootloader, TWRP recovery.
There may come a time when you accidentally wipe your OS while trying to perform a basic cache wipe in recovery. Don't laugh, it can happen to the best of us. The best way to insure yourself against being stuck in recovery is to keep a ROM zip or a TWRP/CWM backup (a nandroid backup) on your sd card at all times.
This solution seems like common sense but apparently there are quite a few people out there who don't store a ROM or backup on their phone. You might think it's easy to just mount the OTG storage and copy a ROM across to your phone from your PC (which is definitely an option), but there's always a chance that you won't be near your HDD or sd card at the time, or it won't recognise your phone properly. Basically you need to insure yourself against Murphy's law.
Donate To Me
This will be very helpful to many thanks for taking the time to put this together!
Sent from my XT1575 using Tapatalk
Thank you so much for taking the time on the guide. There will be many who will use it in the years to come! I'm just about at the verge of needing to root so I can get some insight into my battery life woes
This is much appreciated. All I did on my LG G2 was root as I did not see any roms that interested me since the bootloader is locked. I haven't used TWRP in a couple of years, so all this will help me clear the old cobwebs in my head.
Thank you so much for this! Exactly the kind of information I need. Can I trouble you to maybe add one more section to your guide: What to do when there's an OTA update from the manufacturer (Motorola)? I have concerns like:
- Would being rooted prevent OTA updates? (Assuming stock ROM).
- Would I need to "unroot" the phone to get the update? If so, how to unroot the the phone?
- Is the process to root the phone again after the the update the same, or could it possibly change?
- Would I need to wait until root is confirmed for the new version before attempting to re-root?
You said to "Make sure you check the md5 to verify its integrity".
What does this mean and how would I do this?
Thanks again for the guide. I went through this for my own unlock and root, so added a couple of minor things that will help noobs (and me!)
1. Add info on opening developer options, enabling ADB devices, and enable OEM unlock (in options screen)
2. Move this part to the start of the OEM unlock section : )
Please note: this will erase all user data from your device, it is best to do this before you really start using the device and installing apps or putting data on the internal storage
3. Add instructions to copy SuperSU zip file to internal storage and then flash in recovery
elitemeat said:
You said to "Make sure you check the md5 to verify its integrity".
What does this mean and how would I do this?
Click to expand...
Click to collapse
You can download an MD5 checker. They give you the MD5 checksum and you can compare when you run the utility. Just do a google search for md5 checker.
Oops
emailrob said:
Thanks again for the guide. I went through this for my own unlock and root, so added a couple of minor things that will help noobs (and me!)
1. Add info on opening developer options, enabling ADB devices, and enable OEM unlock (in options screen)
2. Move this part to the start of the OEM unlock section : )
Please note: this will erase all user data from your device, it is best to do this before you really start using the device and installing apps or putting data on the internal storage
3. Add instructions to copy SuperSU zip file to internal storage and then flash in recovery
Click to expand...
Click to collapse
Thanks for your suggestions.
1. This info has been added.
2. This section is in the same place in all of my guides, I see no problem (and have had no problems) with its location. Anyone following a guide should read it first before attempting it anyway.
3. I've added inductions to download the zip directly to the phone, less mess.
emailrob said:
Thanks again for the guide. I went through this for my own unlock and root, so added a couple of minor things that will help noobs (and me!)
1. Add info on opening developer options, enabling ADB devices, and enable OEM unlock (in options screen)
2. Move this part to the start of the OEM unlock section : )
Please note: this will erase all user data from your device, it is best to do this before you really start using the device and installing apps or putting data on the internal storage
3. Add instructions to copy SuperSU zip file to internal storage and then flash in recovery
Click to expand...
Click to collapse
This is already covered here:
http://forum.xda-developers.com/moto-x-style/help/root-to-updates-t3200588
Oaklands said:
You can download an MD5 checker. They give you the MD5 checksum and you can compare when you run the utility. Just do a google search for md5 checker.
Click to expand...
Click to collapse
If you're on Windows, I highly recommend this one, I've been using it for ages: http://code.kliu.org/hashcheck/
I flashed SU and it didn't give me root, any suggestions?
mxpxboi said:
I flashed SU and it didn't give me root, any suggestions?
Click to expand...
Click to collapse
Have you enabled root for apps (and adb if you wish) in Developer Options?
Heisenberg said:
Have you enabled root for apps (and adb if you wish) in Developer Options?
Click to expand...
Click to collapse
I don't see root for apps in Developer Options.
mxpxboi said:
I don't see root for apps in Developer Options.
Click to expand...
Click to collapse
Ok. I don't have this device yet (I have to jump through a few hoops to get it in my country), hopefully one of our other helpful members can lend a hand with your problem.
Heisenberg said:
Ok. I don't have this device yet (I have to jump through a few hoops to get it in my country), hopefully one of our other helpful members can lend a hand with your problem.
Click to expand...
Click to collapse
Well thanks for your help anyway. I followed the steps to a tee, and no root. So I was a little confused.
mxpxboi said:
Well thanks for your help anyway. I followed the steps to a tee, and no root. So I was a little confused.
Click to expand...
Click to collapse
It's a bit odd because this is definitely how to root this phone. Was the SuperSU flash successful in TWRP? Have you tried a second time?
Heisenberg said:
It's a bit odd because this is definitely how to root this phone. Was the SuperSU flash successful in TWRP? Have you tried a second time?
Click to expand...
Click to collapse
It did flash successfully, I flashed the one it linked to UPDATE-SuperSU-v1.94.zip, I'm going to try the newest one BETA-SuperSU-v2.49.zip. I'll report back.
---------- Post added at 10:57 PM ---------- Previous post was at 10:44 PM ----------
That worked, I would update your post with this link BETA-SuperSU-v2.49
Now if I can figure out how to remove the bootloader unlocked boot screen.
All root apps except Titanium Backup seem to be working for me.
mxpxboi said:
It did flash successfully, I flashed the one it linked to UPDATE-SuperSU-v1.94.zip, I'm going to try the newest one BETA-SuperSU-v2.49.zip. I'll report back.
---------- Post added at 10:57 PM ---------- Previous post was at 10:44 PM ----------
That worked, I would update your post with this link BETA-SuperSU-v2.49
Now if I can figure out how to remove the bootloader unlocked boot screen.
All root apps except Titanium Backup seem to be working for me.
Click to expand...
Click to collapse
Cool, I've updated the link. There's a thread discussing how to remove that boot screen in the q&a or general section. Not sure about your Titanium problem, if you have root access it should work.

[GUIDE][STEPbySTEP] Root/unroot BLU Pure XL (and clones)

Totally new guide! Simple step by step toutorial
It took us a while to get root on our devices. Hopefully we did it! Now we can enjoy benefits of having rooted device (like Xposed Modules etc). We have working TWRP recovery which allows us to backup your phone, flash SuperSU binaries, mods and custom ROMs (actually we are working on it). First: read whole post, then download necessary files and read it again. This guide will allow you to root your BLU Pure XL/Allview X2 Soul Xtreme/Gionee Elife E8/Condor Allure A100 and other clones I don't know.
If you don't know what is 'root' & TWRP nor understand the whole idea of rooting your phone this post (or even most of the XDA community) is not for you! Read everything carefully.​
POSTING BUG REPORT/PROBLEM/ISSUE!
jaiwalla said:
HELP!!!
Where am I going wrong?!?!
Click to expand...
Click to collapse
I don't know where are you wrong...!
Maybe you say something else? Maybe give me some logcat?
I would help you if I knew the problem. As for now for me you don't have any problem. Your post is useless in this form.
You have to learn how to tell the error/problem/bug before you post anything on any forum.
If you want me to help you solving this situation send me private message or edit your post and tell the problem in the right form*, please.
Cheers,
bemolx
*Right form looks like:
What's the problem?
Did you check whole thread before posting?
If possible give me logcat/shown error
Make sure you read main post carefully
What you will need to get it working:
ADB and Fastboot drivers
SuperSU flashable zip archive
TWRP Recovery image
PC & your phone
BUT!
Code:
Your warranty is now void.
Everything you're doing with your devices is on your own!
We're not responsible for any damage on your phone!
If you don't understand what's root it's good time to STOP!
Now we're starting!
Look carefully on files you need (I've mentioned them above) and scroll down for download links. Download every file we need.
Note:
At the bottom of this post you'll find two versions of TWRP: 3.1.0-x and 2.8.6.0. Let me explain the difference:
TWRP v3.1.0-x: this version has been compiled from scratch & made by me. It is the newest available recovery version at the moment and without bugs. More info in the thread linked below.
TWRP v2.8.6.0: this version has been ported from Xiaomi Redmi Note 2 & made by @acheron1502. It's not the newest but working one. It has some little bugs. More info in the thread linked below.
I suggest you to download v3.1.0-x because it will get further support by me. But it is your choice now.
Setting up our workstation
I hope you have already downloaded everything we need.
On your Desktop create a new folder (for example "root").
Find package with ADB drivers, open it and extract to the "root" folder.
Now find TWRP image and place it also in our "root" folder. This image should look like this:
Code:
twrp-3.1.0-0-x2xtreme.img
or
Code:
BLU_PURE_XL_TWRP.img
Let's rename it like this (see below) to make our rooting process easier
Code:
twrp.img
Now we're setting up your phone
Open 'Settings' application. Scroll down to 'About phone'. Click about seven times on 'Build number'. You should see: "You are now developer".
Now find 'Developer options', then 'Enable USB Debugging' and simply enable it.
Connect your phone to the PC. On PC: find SuperSU.zip and copy it on your phone.
OMG!!! Flashing!!!
Okay... That's the most important step.
Turn off your phone. Press 'power' & 'vol +' together. This key combo should boot up your phone into stock recovery mode.
Scroll down using 'vol -' to 'Reboot bootloader' and confirm pressing 'power'. This will boot your phone into Fastboot mode.
On PC: open "root" folder. Open Command Prompt here (LShift + right mouse click -> 'open cmd here')
In the Command Prompt type:
Code:
fastboot flash recovery twrp.img
This command will flash TWRP recovery on you phone.
After flashing process is done reboot you phone into TWRP by pressing 'vol +' and 'power'. When you see bootlogo get your finger from the 'power' button. You will see TWRP logo. You can unplug USB cable now.
We're almost here!
Now you should see TWRP main page same like in the screenshots I've attached to this post.
We must flash SuperSU binaries to get rooted phone. To do this press 'Install' button.
You should see list of files/folders on your phone. Navigate to the SU.zip and choose it by clicking on it.
TWRP will ask you for permission to flash that zip package. To allow it to do so swipe to the right slider on the bottom of the screen. Now SuperSU is installing.
After installation process is done press 'Reboot system now' button. Your device will reboot into your system.
Done!!!
And there you go! Your device should be now rooted with TWRP recovery installed. Check if your phone is rooted correctly by installing ROOT Checker. To make rebooting process much easier and faster you can download Quick Reboot.
Xposed Modules
There's an option to install Xposed Modules as I mentioned at the top of this post. Not every module is working but you can try it and let us know what's working.
To get it working you need:
Xposed Installer Alpha App (allows you to download and manage modules)
Xposed SDK zip (the most important thing)
Original thread with those files is linked below.
Note:
It's important what version of SDK you are downloading. Our device has 64-bit ARM MediaTek chipset so it is arm64 and it's running lollipop 5.1 ROM which equals sdk22. By that meaning the SDK zip you should download looks pretty much the same like this:
Code:
xposed-v80-sdk22-arm64.zip
Installing
Place both files on your phone's storage and reboot to recovery. Press 'Install' and navigate to sdk.zip. Choose it, confirm installation - when it's done reboot into system. Now use any file browser and find XposedInstaller.apk and install it.
Now you can download any module you want. Further instructions in post linked below.
How to unroot
Most of you would like to flash stock OTA etc.
To do this you have to have stock recovery installed.
First open SuperSU app, then scroll down and look for 'Clear/unroot' option. Choose it and follow on-screen instructions.
Then download stock recovery image (downloads for Elife E8 and Allure A100 will be available when someone provide me a link). Place it the 'root' folder (or just in the same directory with fastboot drivers etc.). Rename downloaded file into recovery.img.
Method 1 - using Fastboot
Reboot phone into bootloader mode. Open terminal in the 'root' folder and type
Code:
fastboot flash recovery recovery.img
Now reboot into system by pressing power button for a while.
Method 2 - using TWRP
Copy downloaded recovery onto your phone's storage. Reboot phone into recovery mode. Press 'Install', then change from installing zips to installing imgs (bottom right button). Navigate to downloaded recovery file and choose it. Confirm installation. After that reboot into system.
You should be now unrooted and able to flash OTA.
Downloads:
ADB & Fastboot drivers: link
TWRP Recovery: TWRP v3.1.0-0 (recomended) or TWRP v2.8.6.0 (unofficial)
SuperSU binaries by @Chainfire: link
Stock recovery: Pure XL & X2 Xtreme (extract .zip before renaming/installing)
TWRP Materialised - Dark / Light / Play
Xposed Modules
Special thanks go to the awesome team!
@FuMMoD
@acheron1502
@dexterxx
@spit85
Thank you guys. Without you it wouldn't be possible!
ENJOY!
Hey @bemolx ,
Since your thread is more of a HOW TO root, would it be OK if you move this into GENERAL and field all the rooting process questions there?
I will start a new Dev Thread for TWRP and all TWRP related development issues.
You can then use that new thread for all your download links.
EDIT:
Please use this link for TWRP in your guide.
bemolx said:
My friends and me figured out how to get root on our phones. By the way @acheron1502 made TWRP recovery which allows us flash Super SU 2.46 (Stable). Also you can flash Xposed Modules as you want.
HOW TO INSTALL:
Connect phone to your PC
Make sure you have adb and fastboot drivers installed
Download TWRP from this post
Download Super SU
Copy SU.zip to your phone's storage
Reboot phone into fastboot/bootloader mode
Flash recovery using: fastboot flash "downloadedrecoveryfilename"
Reboot to TWRP by pressing and holding Vol+ & power buttons (still in fastboot mode!)
In TWRP flash SU.zip, then reboot
What doesn't work:
- no adb in recovery
- you tell us
And there you go! Your device should be now rooted with TWRP recovery installed. Check if your phone is rooted correctly by installing ROOT Checker.
BUT!
Everything you're doing with your devices is on your own! We're not responsible for any damage on your phone!
Special thanks go to the awesome team!
@FuMMoD
@acheron1502
@dexterxx
@spit85
Thank you guys. Without you it wouldn't be possible!
ENJOY!
Click to expand...
Click to collapse
Do I have to install a particular driver for my Blu Pure XL for adb to recognize the phone is connected? Please provide a link to the driver you used. Also, please provide a link to the adb / fastboot you recommend. Thank you and great work to you all!!
acheron1502 said:
Hey @bemolx ,
Since your thread is more of a HOW TO root, would it be OK if you move this into GENERAL and field all the rooting process questions there?
I will start a new Dev Thread for TWRP and all TWRP related development issues.
You can then use that new thread for all your download links.
Click to expand...
Click to collapse
Okay, no problem
mhajii210 said:
Do I have to install a particular driver for my Blu Pure XL for adb to recognize the phone is connected? Please provide a link to the driver you used. Also, please provide a link to the adb / fastboot you recommend. Thank you and great work to you all!!
Click to expand...
Click to collapse
Just take a look at Google's development page - there are drivers needed to get it working. Nothing else
bemolx said:
Okay, no problem
Click to expand...
Click to collapse
Once it's moved, see of you can get it PINNED to top so everyone can find it easily.
It states unknown partition 'BLU_PURE_XL_TWRP' "error: cannot determine image filename for 'BLU_PURE_XL_TWRP' what can I do? Thanks
fastboot flash recovery filename.img
@bemolx, fix it
error: cannot load 'BLU_PURE_XL_TWRP' please help. Thanks
---------- Post added at 01:12 PM ---------- Previous post was at 01:04 PM ----------
dexterxx said:
fastboot flash recovery filename.img
@bemolx, fix it
Click to expand...
Click to collapse
Got it thanks a mil
bemolx said:
My friends and me figured out how to get root on our phones. By the way @acheron1502 made TWRP recovery which allows us flash Super SU 2.46 (Stable). Also you can flash Xposed Modules as you want.
HOW TO INSTALL:
Connect phone to your PC
Make sure you have adb and fastboot drivers installed
Download TWRP from this post
Download Super SU
Copy SU.zip to your phone's storage
Reboot phone into fastboot/bootloader mode
Flash recovery using: fastboot flash "downloadedrecoveryfilename"
Reboot to TWRP by pressing and holding Vol+ & power buttons (still in fastboot mode!)
In TWRP flash SU.zip, then reboot
What doesn't work:
- no adb in recovery
- you tell us
And there you go! Your device should be now rooted with TWRP recovery installed. Check if your phone is rooted correctly by installing ROOT Checker.
BUT!
Everything you're doing with your devices is on your own! We're not responsible for any damage on your phone!
Special thanks go to the awesome team!
@FuMMoD
@acheron1502
@dexterxx
@spit85
Thank you guys. Without you it wouldn't be possible!
ENJOY!
Click to expand...
Click to collapse
What about the Ono U1? It's an inexpensive phone with high end specs thanks again http://forum-lw-3.xda-cdn.com/images/smilies/wink.gif
Swarai said:
What about the Ono U1? It's an inexpensive phone with high end specs thanks again http://forum-lw-3.xda-cdn.com/images/smilies/wink.gif
Click to expand...
Click to collapse
It *might* work based on specs I saw on u1labs.com ...
Can you post the values in your /proc/partinfo so I can compare with ours?
acheron1502 said:
It *might* work based on specs I saw on u1labs.com ...
Can you post the values in your /proc/partinfo so I can compare with ours?
Click to expand...
Click to collapse
The specs haven't been updated yet, but the phone should be released soon along with the kernel source.
Swarai said:
The specs haven't been updated yet, but the phone should be released soon along with the kernel source.
Click to expand...
Click to collapse
Let's keep the development thread about this phone (Blu Pure XL) and other phones with the exact same base maker/model (ie. Gionee E8, Allview x2 Extreme). If you are asking about gaining root for a different phone and need some Mind-share from this group of people due to the other phone having a similar SOC, the best way is to open a new thread in the Q&A Section or the General Section, but I think you should wait until the phone is released first IMHO.
bemolx said:
7. Flash recovery using: fastboot flash "downloadedrecoveryfilename"
Click to expand...
Click to collapse
This should be fastboot flash recovery BLU_PURE_XL_TWRP.img
Also ... I requested this thread be moved to General and be Pinned for easy finding for anyone that has this phone
Guys,
1) THANKS for GREAT work!
2) Please provide more CLEAR / ACCURATE details on how to do this, because NOOBs (including myself) get very confused.
a) Link to adb / fastboot drives. Saying "they are in Google development section means nothing"
b) How do I "Reboot phone into fastboot/bootloader mode"??
This would help so many people root without bricking the phone.
Thank you once again!
levchikb said:
Guys,
1) THANKS for GREAT work!
2) Please provide more CLEAR / ACCURATE details on how to do this, because NOOBs (including myself) get very confused.
a) Link to adb / fastboot drives. Saying "they are in Google development section means nothing"
b) How do I "Reboot phone into fastboot/bootloader mode"??
This would help so many people root without bricking the phone.
Thank you once again!
Click to expand...
Click to collapse
Thanks for reply! Once I get a little more time I'll re-write this "how to".
Cheers
Everything should be now clear. I've added links for drivers etc. Also i've re-wrote it for better understanding
Sent from Nexus 5
I'm having issues with fastboot. It says it's blocked for security. Is there something required that isn't normally on android phones to get the fastboot method to actually allow me to enter fastboot? At the beginning was just going to recov ery and putting reboot into fastboot.
alaiwy said:
I'm having issues with fastboot. It says it's blocked for security. Is there something required that isn't normally on android phones to get the fastboot method to actually allow me to enter fastboot? At the beginning was just going to recov ery and putting reboot into fastboot.
Click to expand...
Click to collapse
Try to reboot manually to recovery, then you should see option 'reboot bootloader'. After choosing it follow my instructions
any1 have stock rom to reflash full rom , pure xl ?

root for Xperia XZS so-03j (Japan Docomo Variant)

Hello,
I got a Xperia XZS SO-03J (Japan Docomo Variant). Anybody got any ideas to root this device and any custom roms. Already searched the forum but no avail. Thank you for your help.
Japanese cellular version usually unable to unlock bootloader.but still some phones can unlock. if you have twrp ,you can install some rooted ROMs modified from official ROM.(btw you have to find a ROM can install without unlock bootloader)
sinkoo1979 said:
Hello,
I got a Xperia XZS SO-03J (Japan Docomo Variant). Anybody got any ideas to root this device and any custom roms. Already searched the forum but no avail. Thank you for your help.
Click to expand...
Click to collapse
if you have docomo ubl yes you can patch kernel manual , because it's different from Au,Global,Softbank
I've tried with x compact docomo ubl yes
I think first of all need to check whether the bootloader is unlockable or not
if you can UNLOCK the Japanese Xzs then
you can use this TWRP
https://dl.twrp.me/kagura/twrp-3.2.3-0-kagura.img.html
there is a depate that you can cross flash XZ's Android 6 to extract DRM keys! but i am not going to go that, as soon as you UNLOCK you bootload, TA partition will be GONE..
what is your build number?
download your build from FLASHTOOL---> Xperfirm and send me KERNEL.sin and i will send you the modded kernel
rest PROCESS you can Read (carefully) at
https://forum.xda-developers.com/xperia-xz/how-to/rooted-kernels-f8332-41-3-2-588-0-t3748987
its for XZ but applies to XZs too!
YasuHamed said:
if you can UNLOCK the Japanese Xzs then
you can use this TWRP
https://dl.twrp.me/kagura/twrp-3.2.3-0-kagura.img.html
there is a depate that you can cross flash XZ's Android 6 to extract DRM keys! but i am not going to go that, as soon as you UNLOCK you bootload, TA partition will be GONE..
what is your build number?
download your build from FLASHTOOL---> Xperfirm and send me KERNEL.sin and i will send you the modded kernel
rest PROCESS you can Read (carefully) at
https://forum.xda-developers.com/xperia-xz/how-to/rooted-kernels-f8332-41-3-2-588-0-t3748987
its for XZ but applies to XZs too!
Click to expand...
Click to collapse
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Amirai17 said:
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Click to expand...
Click to collapse
requesting you please
send me also these three files
/system/vendor/etc/fstab.qcom
/system/vendor/etc/init/hw/init.qcom.rc
/system/vendor/etc/init/hw/init.target.rc
there will be system.sin in that ftf,
convert it using FLASHTOOL > tool > sineditor > selected system.sin and click extract data, it will make 6gb file SYSTEM.ext4, open it with 7zip and locate the above three file and add in the goodle drive PLZ
Amirai17 said:
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Click to expand...
Click to collapse
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
Thanks for the kernel mod, you mod it so fast that's so amazing
Anyway i will try it tomorrow, pray fo the kernel got stable
Before i use this kernel on this thread https://forum.xda-developers.com/xzs/development/root-xperia-xzs-t3726911
And i got unstable performance. Trying use kernel auditor not effect it and i decide to flash it back to normal again.
Amirai17 said:
Thanks for the kernel mod, you mod it so fast that's so amazing
Anyway i will try it tomorrow, pray fo the kernel got stable
Before i use this kernel on this thread https://forum.xda-developers.com/xzs/development/root-xperia-xzs-t3726911
And i got unstable performance. Trying use kernel auditor not effect it and i decide to flash it back to normal again.
Click to expand...
Click to collapse
I dont know about that thread
Seems like different process
Anways plz do try this and let me know
YasuHamed said:
I dont know about that thread
Seems like different process
Anways plz do try this and let me know
Click to expand...
Click to collapse
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
This is a good news! , good to know that you were able to Root it.
i am sure you will find good performance.
nighlight makes your screen TINT different (reduces blue) which makes it easier on eyes while you browsing in night or from bed. blue light hurts eyes and brain and increases sleeplessness.
a shortcut toggle button next to FLASHLIGHT will appear (if arent already in your build) and display setting will have NIGHLIGHT FEATURE ENABLED- you can control the INTENSITY of this filter according to your needs
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
I have the same phone xzs docomo so-03j on the same build, is it ok if i flash this too or will it brick my phone? thank you
---------- Post added at 05:14 PM ---------- Previous post was at 05:10 PM ----------
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
How has it been? the performance? mine heats up akot when gaming and is even slower than my Softbank xperia xz I would like to root mine as well if it is good and if it is possible
other build number
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
why with different build number?
i have build number 41.3.B.1.113
or can i flash to global rom and what the side effect?
plz tell me how you root your xz. my xz 601so with allowed yes
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
Temporary root is now possible on the Xperia so-03j, I personally tested a few minutes ago.
Check this comment for instructions. And here instructions to create a launcher.
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
can i root my Xperia XZs AU version with these files that are attached in this post, or do i need different files ?
thank you @YasuHamed
5crypt said:
can i root my Xperia XZs AU version with these files that are attached in this post, or do i need different files ?
thank you @YasuHamed
Click to expand...
Click to collapse
Those files seem appropriate for stock rom release 41.3.B.1.140., so don't try unless you're running that specific version (quite outdated if you ask me).
But first make sure your bootloader can be unlocked. If that's the case, you may want to install a recent rom with root support, or check the guides for rooting stock rom. Be aware that with unofficial roms you might lose camera quality or have no cam support at all.
If you're stuck with an unlockable bootloader (like myself) your choices are much more limited. My current approach is having latest stock, disable bloatware apps, and use temporary root when needed.
thank you @dinosaur99 for your quick response, i got the one that cannot be unlocked, so i'm using the temp root method, but do you know how to gain temp root access without using adb (laptop or computer), and can i automate the temp root every after reboot ?
again thank you for your response, and looking forward from you
5crypt said:
thank you @dinosaur99 for your quick response, i got the one that cannot be unlocked, so i'm using the temp root method, but do you know how to gain temp root access without using adb (laptop or computer), and can i automate the temp root every after reboot ?
again thank you for your response, and looking forward from you
Click to expand...
Click to collapse
Good question! I wanted to create a launcher too!
So I just followed these instructions and it works fine. First you need to perform the following commands from computer (have a copy of the exploit file in working directory):
Bash:
adb push su98-memory-kallsyms /data/local/tmp/
adb shell
# Run this from inside the shell
chmod +x /data/local/tmp/su98-memory-kallsyms
/data/local/tmp/su98-memory-kallsyms
chcon u:object_r:system_file:s0 /data/local/tmp/su98-memory-kallsyms
Now reboot the phone, and the file /data/local/tmp/su98-memory-kallsyms should still be there. On your favourite console app, create a new terminal launcher/profile/whatever it's called and name it "Root terminal", then make it so it runs this command on shell login:
Bash:
/data/local/tmp/su98-memory-kallsyms
Note there's a trailing <Enter> key at the end of the command. I use Connectbot and it was necessary.
Cheers!
Edit:
By the way, the last line would be the equivalent to "sudo bash" in a computer. That means you can write a script with the root commands to be executed upon reboot. Example launcher:
Bash:
/data/local/tmp/su98-memory-kallsyms /data/local/tmp/my-script

Step by step guide for lg v20 h918 unlocking, downgrading, rooting and twrp

STEP BY STEP GUIDE FOR LG V20 H918 UNLOCKING BOOTLOADER, DOWNGRADING, ROOTING AND INSTALLING CUSTOM ROMS (NOOB FRIENDLY)
DISCLAIMER: I'M NOT THE DEVELOPER OF ANY OF THE BELOW SOFTWARE'S AND YOU PROCEED WITH YOUR OWN RISK AS THIS INVOLVES BRICKING OR DAMAGING YOUR MOBILE IF THE PROCEDURE IS NOT FOLLOWED CORRECTLY. I'M JUST SHARING THE WHOLE PROCESS WHICH I HAVE FOLLOWED TO ROOT AND INSTALL TWRP IN MY LGV20 H918 UNLOCKED T MOBILE.
AND I HAVE TESTED THIS IN MY OWN DEVICE AND WAS ABLE TO ROOT AND ACHIEVE TWRP.
THIS IS ONLY FOR LGV20 H918 VERSION
ENSURE INTERNET IS UP AND RUNNING IN YOUR PC
EDIT: THE WHOLE PROCESS HAS NOW BEEN AUTOMATED IN TWO SIMPLE STEPS TO PREVENT ANY POTENTIAL DAMAGE TO YOUR DEVICE. THANKS TO THE LAFSPLOIT CREATOR BRIAN @runningnak3d.
JUST FOLLOW THE PROCEDURE BELOW AND YOU SHOULD HAVE YOUR DEVICE ROOTED IN NO TIME
1. BACKUP ALL YOUR IMPORTANT DATA BEFORE PROCEEDING.
2.MAKE SURE YOU HAVE CHARGED YOUR PHONE TO AT LEAST 90 PERCENT
CHECK YOUR PHONE SOFTWARE VERSION IN SETTINGS---ABOUT PHONE----SOFTWARE INFO
IF IT IS ANYTHING BETWEEN H91810P TO H91810U MEANS IT IS ARB1 (ANTI ROLL BACK 1) AND YOU NEED TO USE LAFSPLOIT METHOD TO ROOT AND INSTALL TWRP,
IF YOUR VERSION IS H91810O OR BELOW (ARB0), YOU CAN EITHER USE DIRTYCOW OR LAFSPLOIT METHOD FOR THE SAME.
IF YOU ARE ON ARB1, PLEASE FOLLOW THE METHOD BELOW,
PART 1: DOWNGRADING
IF YOUR VERSION IS H91810 (Q, R, S, T, U) YOU NEED TO DOWNGRADE TO A LOWER VERSION ( H91810P) TO EXECUTE LAFSPLOIT.
IF YOU ARE ALREADY ON H91810P, YOU STILL NEED TO RE FLASH THE H91810P KDZ AGAIN FOR THE LAFSPLOIT SCRIPT TO WORK CORRECTLY.
DOWNLOAD H91810P KDZ FILE FROM BELOW
https://androidfilehost.com/?w=files&flid=282709
DOWNLOAD AND INSTALL ALL THE FILES BELOW IN YOUR PC
UPPERCUT AND LGUP----
http://downloads.codefi.re/autoprime/LG/Flash_Tools/LGUP/
LG DRIVERS---
http://tool.cdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425
CONNECT YOUR MOBILE TO YOUR PC IN DOWNLOAD MODE (SWITCH OFF YOUR MOBILE AND CONNECT THE USB FROM PC WHILE HOLDING THE VOLUME UP BUTTON SIMULTANEOUSLY)
RUN UPPERCUT.EXE WHICH WOULD OPEN LG'S UPDATER TOOL AUTOMATICALLY.
INSIDE THE LG UPDATER TOOL, CLICK ON BIN AND SELECT THE H91810P KDZ FILE DOWNLOADED EARLIER.
NOW SELECT UPGRADE AND FLASH
ENSURE THE USB CABLE IS CONNECTED THROUGH THE FLASHING PROCESS AND WAIT FOR YOUR PHONE TO REBOOT AND THEN REMOVE THE USB CABLE.
CHECK THE SOFTWARE VERSION AND ENSURE IT IS H91810P
PART 2: UNLOCKING BOOTLOADER
HEAD TO SETTINGS---ABOUT PHONE----SOFTWARE INFO (ENSURE IT IS H91810P)
ENABLE DEVELOPER OPTION IN YOUR PHONE BY CLICKING ON THE BUILD NUMBER MULTIPLE TIMES
NOW HEAD TO SETTINGS---DEVELOPER OPTIONS
TURN ON OEM UNLOCKING, ENABLE USB DEBUGGING AND DISABLE 'VERIFY APPS OVER USB'
NOW CONNECT YOUR PHONE TO PC AND OPEN ADB COMMAND CENTER PROMPT IN YOUR PC
adb devices---->CHECK IF YOUR MOBILE IS CORRECTLY RECOGNIZED IN ADB
adb reboot bootloader--->THIS REBOOTS YOUR DEVICE IN FASTBOOT MODE
fastboot devices---->CHECK IF YOUR MOBILE IS CORRECTLY RECOGNIZED IN FASTBOOT
fastboot oem unlock---->THIS COMMAND WOULD UNLOCK YOUR BOOTLOADER AND RESET's YOUR DEVICE.
fastboot oem device-info OR fastboot getvar unlocked ----->THIS WOULD CONFIRM IF YOUR BOOTLOADER HAS BEEN UNLOCKED OR NOT.
fastboot reboot-----> THIS WOULD REBOOT YOUR DEVICE
IF THE BOOTLOADER HAS BEEN SUCCESSFULLY UNLOCKED, THE DEVICE WILL SHOW AN UNLOCKED BOOTLOADER WARNING MESSAGE WHILE BOOTING (THIS CAN BE IGNORED OF COURSE)
PART 3: CREATING A BOOTABLE LINUX USB USING FWUL
DOWNLOAD FWUL_v2.7_x86_64_15GB.zip FROM THE LINK BELOW AND EXTRACT THE IMAGE FILE SOMEWHERE IN YOUR PC.
https://androidfilehost.com/?w=files&flid=214529
DOWNLOAD RUFUS FROM BELOW AND INSTALL
https://rufus.akeo.ie/
INSERT A PEN DRIVE IN YOUR PC AND RUN RUFUS.
INSIDE RUFUS SELECT THE IMAGE FILE AND SELECT START (AFTER SELECTING START SELECT DD MODE IN THE DIALOGUE BOX) TO CREATE A BOOTABLE PEN DRIVE (WARNING: THIS WOULD FORMAT YOUR PEN DRIVE)
NOW YOU SHOULD BOOT YOUR PC FROM THE BOOTABLE USB STICK WHICH YOU HAVE JUST CREATED
THIS WOULD MAKE YOUR PC RUN LINUX OS
TYPE PASSWORD AS linux AND ENTER
PART 4: INSTALLING TWRP AND ROOTING USING LAFSPLOIT
BEFORE PROCEEDING ENSURE YOU BOOT YOUR PHONE AND DONE ALL THE BASIC SETTINGS
NOW HEAD TO THE DEVELOPER OPTIONS IN YOUR DEVICE AND ENSURE OEM UNLOCKING AND USB DEBUGGING ARE SWITCHED ON.
NOW CONNECT YOUR DEVICE TO THE PC (RUNNING LINUX OS FROM PENDRIVE) IN DOWNLOAD MODE (SWITCH OFF YOUR MOBILE AND CONNECT THE USB FROM PC WHILE HOLDING THE VOLUME UP BUTTON SIMULTANEOUSLY)
DOUBLE CLICK ON THE LG FOLDER INSIDE FWUL DESKTOP
INSIDE THAT, DOUBLE CLICK ON LGLAF(RUNNINGNAK3D) ICON WHICH WILL OPEN A TERMINAL
ENTER THE BELOW COMMANDS
git pull
git checkout h918-miscwrte
./step1.sh
THE ABOVE COMMAND FLASHES TWRP RECOVERY ONTO YOUR DEVICE.
WAIT AND PULL OUT YOUR DEVICE WHEN IT ASKS TO.
RECOMMENDED: NOW THAT TWRP HAS SUCCESSFULLY INSTALLED, YOU CAN MANUALLY FORMAT,FLASH LATEST TWRP RECOVERY AND USE ANY METHOD LIKE MAGISK OR SU FOR ROOTING.
INSIDE TWRP RECOVERY. FIRST FORMAT USING WIPE--ADVANCED FORMAT--TYPE yes AND FULL DO A FULL FORMAT, THEN FLASH MAGISK AND THE LATEST TWRP RECOVERY BELOW.
MAGISK ZIP DOWNLOAD:
https://github.com/topjohnwu/Magisk/releases/download/v16.0/Magisk-v16.0.zip
LATEST TWRP BY PHOENIX(H918):
https://forum.xda-developers.com/v20/development/recovery-twrp-3-2-1-0-t3720239
OR
IF YOU ARE UNSURE ABOUT FORMATTING AND FLASHING, JUST USE THE BELOW COMMAND TO DO ALL THE WORK AUTOMATICALLY
CONNECT YOUR DEVICE AGAIN IN DOWNLOAD MODE AND ENTER THE FOLLOWING COMMAND
./step2.sh
THE ABOVE COMMAND FORMATS YOUR DEVICE AND FLASHES MAGISK TO ACQUIRE ROOT.
TIP : IF YOU FACE ANY ENCRYPTION ERROR AFTER USING STEP2. SH, DO A ADVANCED FORMAT WITHIN TWRP AND FLASH MAGISK AND LATEST TWRP BY PHOENIX MANUALLY.
YOU ARE NOW ROOTED WITH TWRP RECOVERY INSTALLED.
REMEMBER TO BACK UP THE CURRENT ROM BEFORE FLASHING ANYTHING..... DO CHECK POST #2 FOR OTHER TWEAKS
IF YOU WISH TO UPDATE TO LATEST STOCK (10U) AND KEEP ROOT AND TWRP, JUST FOLLOW THIS LINK AND DO REMEMBER TO ROOT USING MAGISK AFTER FLASHING THE ROM BEFORE YOU BOOT.
https://forum.xda-developers.com/v20/development/rom-h91810q-stock-rom-twrp-flashable-zip-t3681312
I WOULD LIKE TO THANK ALL THE DEVOLEPERS WHO HAVE CREATED THE ABOVE SOFTWARES WITHOUT WHICH THIS ISNT POSSIBLE.
CREDITS:
@autoprime FOR HIS UPPERCUT TOOL
@steadfasterX FOR HIS FWUL TOOL
@Phoenix591 FOR HIS WORKS ON TWRP RECOVERY
AND FINALLY, @runningnak3d FOR HIS EXCELLENT WORK IN ROOTING OUR DEVICE :good:
WHAT NEXT?
NOW THAT YOU HAVE ROOTED YOUR MOBILE, I WOULD RECOMMEND DOING THE BELOW TWEAKS FOR FURTHER ENHANCED EXPERIENCE....
1.THERMAL THROTTLING
IF YOUR ARE STILL ON A STOCK BASED ROM , I WOULD STRONGLY RECOMMEND TO RECONFIGURE YOUR THERMAL FILE TO PREVENT ANY POSSIBLE LAG WHEN USING EXTENSIVELY...
FIRST DOWNLOAD THE FILE BELOW:
https://drive.google.com/file/d/0B0W3xXHgfOxvLUpKNWhrWDE0TDg/view
USE A ROOT EXPLORER (PREFERABLY ES EXPLORER) AND GO TO ROOT/SYSTEM/ETC.
YOU SHOULD HAVE A FILE NAMED thermal-engine-8996.conf
RENAME IT TO thermal-engine-8996.conf.bak (JUST FOR A BACKUP IF ANYTHING GOES WRONG)
ENSURE THE ABOVE DOWNLOADED FILE IS IN .conf FORMAT
IF IT ISN'T , RENAME TO thermal-engine-8996.conf
NOW SAVE THE FILE TO THE SAME DIRECTORY VIZ ROOT/SYSTEM/ETC
GIVE PERMISSION TO THIS FILE TO rw-r--r-- USING THE ROOT EXPLORER ( SELECT FILE--->PERMISSION--->READ WRITE, READ, READ)
FINALLY SAVE AND REBOOT.
THIS WOULD OVERWRITE THE THERMAL LINKED PERFORMANCE OF THE CPU TO AVOID ANY LAG WHEN USING EXTENSIVELY.
2. RCTD REMOVER
ALSO I WOULD STRONGLY RECOMMEND TO REMOVE THE LG'S RCTD CCMD AND TRITON MONITORS AS THESE WOULD RUN CONTINUOUSLY IN A ROOTED LG PHONE AND CONSUME LOT OF RESOURCES...
JUST INSTALL THE RCTD REMOVER APP FROM BELOW LINK:
https://labs.xda-developers.com/store/app/com.zacharee1.rctdremoverforlg
GRANT SU PERMISSION AND CHECK THE DESIRED FILES (I CHOSE ALL THREE FILES) AND CLICK ON PATCH, FLASH IMAGE AND REBOOT (THIS WOULD PATCH THE BOOT FILE, SO AGAIN IT IS ADVISABLE TO CREATE A BACKUP OF THE CURRENT BOOT IMAGE USING TWRP OR WITHIN THIS APP ITSELF)
3. SCREEN CALIBRATION:
https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
INSTALL KERNAL AUDITOR APP FROM PLAY STORE AND GRANT SU ACCESS
CHANGE THE BELOW VALUES WITHIN THIS APP (SCREEN SETTINGS)
Minimum RGB value = 35
Saturation Intensity = 27
Screen Hue = 1520
Screen Value = 112
Screen Contrast = 132
THIS WOULD SOMEWHAT REDUCE THE BLUE TINGE AND GHOST APPEARANCES OF THE SCREEN
CREDITS: @Holyman007 for his thermal tweak @Zacharee1 for his rctd remover app
I was just about to create a post asking for a step by step for dummies so thank you very much for this! Going to do this sometime tomorrow or Tuesday and will update if I succeed or not. :good:
Got a question. Does this method stop the second screen from working?
turdbait said:
I was just about to create a post asking for a step by step for dummies so thank you very much for this! Going to do this sometime tomorrow or Tuesday and will update if I succeed or not. :good:
Got a question. Does this method stop the second screen from working?
Click to expand...
Click to collapse
this would end up with a stock rooted phone with twrp recovery if all the methods are correctly followed..
......final result would be.... you would end up with a rooted stock rom with a twrp recovery....
your second screen will work perfectly.....
please let me know if you need a different thread for installing custom rom, and to reduce the lag., install sound mod to get maximum sound output and customize second screen... i will create a noob friendly thread for these as well......
Also check the original lafsploit thread @
https://forum.xda-developers.com/v20/how-to/root-lafsploit-h918-version-t3773443
kish9046 said:
Also check the original lafsploit thread @
https://forum.xda-developers.com/v20/how-to/root-lafsploit-h918-version-t3773443
Click to expand...
Click to collapse
Thank you, I've been reading up on the main lafsploit thread for awhile but I was still not sure about the whole flashing KDZ file and stuff so when you posted this thread it was a motivator to try it out. Got a day off from work tomorrow so gonna try it then so I don't got to worry about the time.
I'm interested in the max sound output and second screen customization if you got the time and its not to much to ask. If you want to wait till either someone else comes along thats interested or till I root just so you don't waste your time I shall update hopefully sometime tomorrow. Thanks again.
kish9046 said:
sha256sum h918-twrp.img ----> THIS WOULD AGAIN THROW A HASH, CHECK IF BOTH THE HASHES ARE ABSOLUTELY SIMILAR
Click to expand...
Click to collapse
Excellent. Just a friendly suggestion, however. I would change the instruction above to use the word EXACT instead of SIMILAR, otherwise people may continue erroneously. The hash numbers must be exact.
onlineaces said:
Excellent. Just a friendly suggestion, however. I would change the instruction above to use the word EXACT instead of SIMILAR, otherwise people may continue erroneously. The hash numbers must be exact.
Click to expand...
Click to collapse
Thanks for the heads up.... Changed to EXACT...
I successfully have root now, thank you! If you're still interested in doing a guide on how to do the second screen customization I'd be grateful.
turdbait said:
I successfully have root now, thank you! If you're still interested in doing a guide on how to do the second screen customization I'd be grateful.
Click to expand...
Click to collapse
great to hear that u have root now.... will post soon on other mods including a step-by-step process on removing rct soon....
All this stuff can be found already in the forums so you posting guides is redundant js
Sent from my LG-H910 using XDA Labs
cnjax said:
All this stuff can be found already in the forums so you posting guides is redundant js
Sent from my LG-H910 using XDA Labs
Click to expand...
Click to collapse
Thanks for the suggestion... but i thought this would help noobs like me to explore more about our device without doing any harm to it.....
Glad someone actually laid it out step by step.
kish9046 said:
Thanks for the suggestion... but i thought this would help noobs like me to explore more about our device without doing any harm to it.....
Click to expand...
Click to collapse
so i just wanted to say thank for for the very noobie step by step guide. im soooo use to odion and adb flash commands.
just 1 thing i had trouble with was trying to push magisk and twrp over. I rooted by pushing magisk over with otg but no twrp on recovery. then i saw it said it was on download mode. from dl mode i just flashed twrp to recovery.
BROKEN1981 said:
so i just wanted to say thank for for the very noobie step by step guide. im soooo use to odion and adb flash commands.
just 1 thing i had trouble with was trying to push magisk and twrp over. I rooted by pushing magisk over with otg but no twrp on recovery. then i saw it said it was on download mode. from dl mode i just flashed twrp to recovery.
Click to expand...
Click to collapse
So i assume you have both TWRP and root now?..... And can i ask which version r u in now....ARB0 or 1
kish9046 said:
So i assume you have both TWRP and root now?..... And can i ask which version r u in now....ARB0 or 1
Click to expand...
Click to collapse
Abr1 yes I am rooted with twrp.
As I said, the commands to push magisk and twrp to sd did not work. I used usb otg in twrp to push magisk, but forgot to put twrp to flash as well.
I forgot that twrp had replaced download mode, so I was going a bit nuts trying to figure out how to get twrp to recovery. Lolol
Now I'm on latest update with rtcd removed thanks to the op who hosted it on xda as a flashable zip.
Hi guys, sadly I'm at the last step and got stuck.
I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type
adb push Magisk...
adb push h18...
I get an error saying that Cannot stat : No such file or directory
I'm unable to figure out what I'm doing wrong
Any idea?
tenkensword said:
Hi guys, sadly I'm at the last step and got stuck.
I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type
adb push Magisk...
adb push h18...
I get an error saying that Cannot stat : No such file or directory
I'm unable to figure out what I'm doing wrong
Any idea?
Click to expand...
Click to collapse
As you are in twrp, you can manually flash magisk zip and twrp recovery.....
tenkensword said:
Hi guys, sadly I'm at the last step and got stuck.
I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type
adb push Magisk...
adb push h18...
I get an error saying that Cannot stat : No such file or directory
I'm unable to figure out what I'm doing wrong
Any idea?
Click to expand...
Click to collapse
Download magisk and twrp here https://androidfilehost.com/?fid=746010030569963731
While you are in the last step, in mount, select otg USB. You can push it to SD card and manual flash.
If you booted to system without magisk and flashing twrp, power off the phone, hold volume up, put in the USB, connect to PC. This will put you in twrp since download mode is replaced by twrp.
Now you can flash both files.
tenkensword said:
Hi guys, sadly I'm at the last step and got stuck.
I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type
adb push Magisk...
adb push h18...
I get an error saying that Cannot stat : No such file or directory
I'm unable to figure out what I'm doing wrong
Any idea?
Click to expand...
Click to collapse
Download magisk and twrp here https://androidfilehost.com/?fid=746010030569963731
While you are in the last step, in mount, select otg USB. You can push it to SD card and manual flash.
If you booted to system without magisk and flashing twrp, power off the phone, hold volume up, put in the USB, connect to PC. This will put you in twrp since download mode is replaced by twrp.
Now you can flash both files.

Categories

Resources