Related
I9505G [GUIDE] Install & use adb, fastboot, unlock, Root & unroot Step by Step
I9505G [GUIDE] INSTALL & USE ADB, FASTBOOT, UNLOCK, ROOT & UNROOT STEP BY STEP
This STEP BY STEP GUIDE is for anyone who would like to install the Android SDK or ADB to Unlock the Bootloader, Fastboot Flash Files, Root, and Unroot back to 100% out of the box Stock for your Google Edition Galaxy S4. If you would like to install and use ADB in the future for other devices this is a great place to start. Most if not all of the files that you need are in the I9505G[STICKY] GUIDE that is HERE but links are provided throughout the tutorial below.
Please Note [ By using this Guide you assume all the RISK associated with Customizing and Modifying your GOOGLE EDITION GALAXY S IV I9505G which Voids the Warranty. If you Brick your phone, lose your job or life as we know it ends I nor anyone on this thread or forum is responsible. If you are having trouble use the search button and review the thread, of you still cannot find the answer THEN ASK, We are here to help!
INSTALLING ADB
[ Windows 7 ] Windows 8 installation is the same however you need to install Fastboot Drivers and Disable Driver Verification so follow this YouTube Tutorial HERE after you install the Android SDK. NOW PROCEED TO STEP 1.
ADB or ( Android Debub Bridge ) allows you to send commands from your computer to your phone simply put. You will need ADB to Unlock the Bootloader, relock it, fastboot flash files to the phone like recovery. This Setup will allow you to communicate with ADB from anywhere on your PC.
STEP 1.
Download the Android SDK HERE [ all that you need is SDK Tools Only scroll to the bottom and select DOWNLOAD FOR OTHER PLATFORMS you will see Windows 32 & 64 bit then select android-sdk_r22.3-windows.zip ( r22 is the latest SDK as of the date of this guide )
STEP 2.
Download 7 ZIP file HERE if you do not have 7ZIP, WINZIP OR WINRAR on your PC if you already do then proceed to STEP 4.
STEP 3.
Now that you have both files downloaded. RUN AND INSTALL 7 ZIP.
STEP 4.
Now that 7 ZIP is installed you need to unzip android-sdk_r22.3-windows.zip to your C: Drive
STEP 5
Once this File is unzipped to your C: Drive you will see android-sdk-windows in your C: Drive go ahead and rename it to make it easier to android-sdk ( delete windows part )
STEP 6
Now Open android-sdk and look inside you will see SDK-MANAGER.exe with a little android guy next to it, CLICK ON IT, Once it opens let it load the packages, You will see a buch of check boxes. ONLY CHECK ( Tools and Android SDK Tools ) ONLY thats all you need to push and pull files or do logcats. After those are checked just CLICK INSTALL 2 PACKAGES AND SELECT ACCEPT ALL and it will take awhile to download and install the packages so be patient. Once it is done downloading OPEN UP your android-sdk folder again now you should see the Tools folder and Platform tools folder.
STEP 7
Now you need to set your path so select RIGHT CLICK COMPUTER on your computer and select PROPERTIES now select ADVANCED SYSTEM SETTINGS now select ENVIRONMENT VARIABLES, now under SYSTEM VARIABLES Scroll to PATH, now CLICK EDIT, you will see a long path scroll to the end with your arrow we are going to add your SDK path now. Copy and paste this to the end of your path ;C:/android-sdk/tools;C:/android-sdk/platform-tools Now select OK and OK again and your done now open up and command prompt and type adb and press enter, You should see a long list of adb commands scroll down the screen fast,
WINDOWS 8 USERS FOLLOW THIShttp://www.youtube.com/watch?v=yRggtyNnxtI YouTube Tutorial to disable Driver Signing HERE
CONGRATULATIONS you have installed ADB.
UNLOCKING THE BOOTLOADER
Unlocking the Bootloader allows you to Root and install Custom Recoveries on your GE S4. When you Unlock the Bootloader it is going to factory reset your phone so make sure you backup any important data or contacts before you do.
STEP 1.
Make sure you have enough Battery ( at least 50% ) and Drivers are installed on your computer, if you had your phone plugged in before and your computer recognized it your drivers are installed, if not DOWNLOAD DRIVERS HERE AND INSTALL THEM. Now power off your GE S IV.
STEP 2.
Once the phone is off Hold VOLUME DOWN & VOLUME UP + THE POWER BUTTON all at the SAME TIME until it boots into a screen the has an ARROW that says POWER OFF with a ANDROID LAYING DOWN, this is FASTBOOT MODE.
STEP 3.
Open up a command prompt now that you have ADB installed and in the command prompt type fastboot oem unlock and press ENTER. You will now see a screen on your GE S IV that asks you to confirm that you want to unlock the bootloader, USE VOLUME UP TO SELECT AND PRESS THE POWER BUTTON TO CONFIRM IT. Your phone will now reset with an unlock symbol below the Google Start screen
CONGRATULATIONS YOUR BOOTLOADER IS UNLOCKED.
ROOTING YOUR GOOGLE EDITION GALAXY S IV
STEP 1.
Now that your Bootloader is Unlocked you can root your phone.
STEP 2.
Download Chainfires CF Auto Root Package HERE
STEP 3.
Create a folder on your desktop Name it ROOT I9505G now unzip the CF AUTO ROOT FILE you just downloaded to that folder. Once you unzip it you will see a Odin3-v1.85.exe CLICK ON IT AND RUN AS ADMINISTRATOR. Now select PDA and select CF-Auto-Root-jgedlte-jgedlteue-gti9505g.tar.md5 FILE inside your ROOT I9505G folder. You do not need to check or uncheck any boxes they are already pre-checked for you in ODIN which should be Auto Reboot ONLY.
STEP 4.
Power off your phone and put it into download mode. Once off hold VOLUME DOWN, HOME BUTTON + POWER Button YOU WILL SEE A WARNING SELECT VOLUME UP to CONFIRM you want to GO to DOWNLOAD MODE.
STEP 5.
Plug in your phone and YOU SHOULD SEE A BOX LIGHT UP in the top left above ID:COM that says your connected. CLICK START.
STEP 6.
Now your phone will auto root you will see it reboot with a red android guy with an eye patch and files loading just wait your phone will reboot ROOTED.
THAT'S IT YOUR ROOTED.
( Don't forget to thank Chainfire who provided our root exploit for the I9505G )
RETURNING YOUR PHONE BACK TO STOCK 100% UNROOTED
STEP 1.
Download the Stock Firmware package of your choice HERE the latest is 4.4 I9505GUEUBMKG
STEP 2.
Download ODIN HERE
STEP 3.
Power off your phone and put it into download mode. Once off hold VOLUME DOWN, HOME BUTTON + POWER Button YOU WILL SEE A WARNING SELECT VOLUME UP to CONFIRM you want to GO to DOWNLOAD MODE.
STEP 4.
Open up ODIN and CLICK PDA now select the .TAR file from the Stock firmware package you downloaded. ( Please Note some .TAR Files are contained in a ZIP File which you will have to unzip to get your .TAR File ) Make Sure Auto Reboot and F Reset Time are checked. ( If you are on an older version of ODIN ( DO NOT CHECK RE-PARTITION ) Now Double Check everything and CONNECT YOUR PHONE THAT IS IN DOWNLOAD MODE.
STEP 5.
Wait for the .TAR File to Load it takes a few minutes to load because of the size of the File. Once the File is loaded you will see your phone connected in ID.COM Port Highlighted. CLICK START. This flash is going to take awhile so be patient. Once you see PASS you will see REMOVED in the dialogue box you can now disconnect your phone and wait for it to fully boot up.
ODIN DOES NOT OVERWRITE EVERYTHING SOMETIMES OR YOU CAN GET STUCK ON THE BOOT SCREEN. DO NOT PANIC. PULL THE BATTERY AND BOOT INTO STOCK RECOVERY WHICH IS VOLUME UP + POWER WHEN YOU SEE THE SAMSUNG LOGO KEEP HOLDING A FEW MORE SECONDS AND LET GO OF BOTH. You will now see the phone boot into stock recovery. At this point you need to use the volume button to go down and highlight WIPE DATA FACTORY RESET. Now select it by pressing POWER. After it reformats you phone Make sure Reboot is highlighted and press POWER Again. LET THE PHONE BOOT BACK UP.
STEP 6.
Unrooting and Relocking the Bootloader it critical if you want to take future OTA's or you need to return the phone to Google. Open up the SUPERSU application on the phone CLICK SETTINGS and Scroll to the bottom. NOW CLICK FULL UNROOT and Reboot the Phone. [ You may have to update the SUPERSU Application in Google Play first to FULLY UNROOT if the phone is asking you to update Root in Google Play. Once you click FULL UNROOT and Reboot you are Unrooted.
STEP 7.
To relock the Bootloader you need to Power off your GE S IV. Once the phone is off Hold VOLUME DOWN & VOLUME UP + THE POWER BUTTON all at the SAME TIME until it boots into a screen the has an ARROW that says POWER OFF with a ANDROID LAYING DOWN, this is FASTBOOT MODE. Plug in your phone to the computer and open up a command prompt and type fastboot oem lock you will see on your command terminal screen that your phone is successfully locked and the phone will reboot. THAT'S IT YOUR BACK TO 100% OUT OF THE BOX STOCK UNROOTED.
FASTBOOT FLASHING RECOVERY THROUGH ADB
STEP 1.
If for any reason you need to flash either custom or stock recovery you can do it through ADB. You need to download your STOCK or CUSTOM Recovery images at the links provided. Once you download the .IMG File you need to PLACE that .IMG File in your PLATFORM TOOLS Folder in C:\android-sdk\platform-tools [ YOU CAN RENAME THE IMAGE TO “recovery” ( without quotes ).
STEP 2.
Once that file is in your PLATFORM TOOLS folder do a SHIFT RIGHT CLICK INSIDE the PLATFORM TOOLS folder and select Open command window here.
STEP 3.
Now Put your phone into Fastboot Mode ( See Step 7 Above ) and connect your phone to the computer now type fastboot flash recovery recovery.img that's it ADB will now push the recovery image to your phone.
CONGRATULATIONS YOU HAVE FASTBOOT FLASHED RECOVERY TO YOUR PHONE.
That's pretty much it you have the basic tools and knowledge to modify your GE S4.
MJ
MJHawaii said:
I9505G [GUIDE] INSTALL & USE ADB, FASTBOOT, UNLOCK, ROOT & UNROOT STEP BY STEP
This STEP BY STEP GUIDE is for anyone who would like to install the Android SDK or ADB to Unlock the Bootloader, Fastboot Flash Files, Root, and Unroot back to 100% out of the box Stock for your Google Edition Galaxy S4. If you would like to install and use ADB in the future for other devices this is a great place to start. Most if not all of the files that you need are in the I9505G[STICKY] GUIDE that is HERE but links are provided throughout the tutorial below.
Please Note [ By using this Guide you assume all the RISK associated with Customizing and Modifying your GOOGLE EDITION GALAXY S IV I9505G which Voids the Warranty. If you Brick your phone, lose your job or life as we know it ends I nor anyone on this thread or forum is responsible. If you are having trouble use the search button and review the thread, of you still cannot find the answer THEN ASK, We are here to help!
INSTALLING ADB
[ Windows 7 ] Windows 8 installation is the same however you need to install Fastboot Drivers and Disable Driver Verification so follow this YouTube Tutorial HERE after you install the Android SDK. NOW PROCEED TO STEP 1.
ADB or ( Android Debub Bridge ) allows you to send commands from your computer to your phone simply put. You will need ADB to Unlock the Bootloader, relock it, fastboot flash files to the phone like recovery. This Setup will allow you to communicate with ADB from anywhere on your PC.
STEP 1.
Download the Android SDK HERE [ all that you need is SDK Tools Only scroll to the bottom and select DOWNLOAD FOR OTHER PLATFORMS you will see Windows 32 & 64 bit then select android-sdk_r22.3-windows.zip ( r22 is the latest SDK as of the date of this guide )
STEP 2.
Download 7 ZIP file HERE if you do not have 7ZIP, WINZIP OR WINRAR on your PC if you already do then proceed to STEP 4.
STEP 3.
Now that you have both files downloaded. RUN AND INSTALL 7 ZIP.
STEP 4.
Now that 7 ZIP is installed you need to unzip android-sdk_r22.3-windows.zip to your C: Drive
STEP 5
Once this File is unzipped to your C: Drive you will see android-sdk-windows in your C: Drive go ahead and rename it to make it easier to android-sdk ( delete windows part )
STEP 6
Now Open android-sdk and look inside you will see SDK-MANAGER.exe with a little android guy next to it, CLICK ON IT, Once it opens let it load the packages, You will see a buch of check boxes. ONLY CHECK ( Tools and Android SDK Tools ) ONLY thats all you need to push and pull files or do logcats. After those are checked just CLICK INSTALL 2 PACKAGES AND SELECT ACCEPT ALL and it will take awhile to download and install the packages so be patient. Once it is done downloading OPEN UP your android-sdk folder again now you should see the Tools folder and Platform tools folder.
STEP 7
Now you need to set your path so select RIGHT CLICK COMPUTER on your computer and select PROPERTIES now select ADVANCED SYSTEM SETTINGS now select ENVIRONMENT VARIABLES, now under SYSTEM VARIABLES Scroll to PATH, now CLICK EDIT, you will see a long path scroll to the end with your arrow we are going to add your SDK path now. Copy and paste this to the end of your path ;C:/android-sdk/tools;C:/android-sdk/platform-tools Now select OK and OK again and your done now open up and command prompt and type adb and press enter, You should see a long list of adb commands scroll down the screen fast,
WINDOWS 8 USERS FOLLOW THIShttp://www.youtube.com/watch?v=yRggtyNnxtI YouTube Tutorial to disable Driver Signing HERE
CONGRATULATIONS you have installed ADB.
UNLOCKING THE BOOTLOADER
Unlocking the Bootloader allows you to Root and install Custom Recoveries on your GE S4. When you Unlock the Bootloader it is going to factory reset your phone so make sure you backup any important data or contacts before you do.
STEP 1.
Make sure you have enough Battery ( at least 50% ) and Drivers are installed on your computer, if you had your phone plugged in before and your computer recognized it your drivers are installed, if not DOWNLOAD DRIVERS HERE AND INSTALL THEM. Now power off your GE S IV.
STEP 2.
Once the phone is off Hold VOLUME DOWN & VOLUME UP + THE POWER BUTTON all at the SAME TIME until it boots into a screen the has an ARROW that says POWER OFF with a ANDROID LAYING DOWN, this is FASTBOOT MODE.
STEP 3.
Open up a command prompt now that you have ADB installed and in the command prompt type fastboot oem unlock and press ENTER. You will now see a screen on your GE S IV that asks you to confirm that you want to unlock the bootloader, USE VOLUME UP TO SELECT AND PRESS THE POWER BUTTON TO CONFIRM IT. Your phone will now reset with an unlock symbol below the Google Start screen
CONGRATULATIONS YOUR BOOTLOADER IS UNLOCKED.
ROOTING YOUR GOOGLE EDITION GALAXY S IV
STEP 1.
Now that your Bootloader is Unlocked you can root your phone.
STEP 2.
Download Chainfires CF Auto Root Package HERE
STEP 3.
Create a folder on your desktop Name it ROOT I9505G now unzip the CF AUTO ROOT FILE you just downloaded to that folder. Once you unzip it you will see a Odin3-v1.85.exe CLICK ON IT AND RUN AS ADMINISTRATOR. Now select PDA and select CF-Auto-Root-jgedlte-jgedlteue-gti9505g.tar.md5 FILE inside your ROOT I9505G folder. You do not need to check or uncheck any boxes they are already pre-checked for you in ODIN which should be Auto Reboot ONLY.
STEP 4.
Power off your phone and put it into download mode. Once off hold VOLUME DOWN, HOME BUTTON + POWER Button YOU WILL SEE A WARNING SELECT VOLUME UP to CONFIRM you want to GO to DOWNLOAD MODE.
STEP 5.
Plug in your phone and YOU SHOULD SEE A BOX LIGHT UP in the top left above ID:COM that says your connected. CLICK START.
STEP 6.
Now your phone will auto root you will see it reboot with a red android guy with an eye patch and files loading just wait your phone will reboot ROOTED.
THAT'S IT YOUR ROOTED.
( Don't forget to thank Chainfire who provided our root exploit for the I9505G )
RETURNING YOUR PHONE BACK TO STOCK 100% UNROOTED
STEP 1.
Download the Stock Firmware package of your choice HERE the latest is 4.4 I9505GUEUBMKG
STEP 2.
Download ODIN HERE
STEP 3.
Power off your phone and put it into download mode. Once off hold VOLUME DOWN, HOME BUTTON + POWER Button YOU WILL SEE A WARNING SELECT VOLUME UP to CONFIRM you want to GO to DOWNLOAD MODE.
STEP 4.
Open up ODIN and CLICK PDA now select the .TAR file from the Stock firmware package you downloaded. ( Please Note some .TAR Files are contained in a ZIP File which you will have to unzip to get your .TAR File ) Make Sure Auto Reboot and F Reset Time are checked. ( If you are on an older version of ODIN ( DO NOT CHECK RE-PARTITION ) Now Double Check everything and CONNECT YOUR PHONE THAT IS IN DOWNLOAD MODE.
STEP 5.
Wait for the .TAR File to Load it takes a few minutes to load because of the size of the File. Once the File is loaded you will see your phone connected in ID.COM Port Highlighted. CLICK START. This flash is going to take awhile so be patient. Once you see PASS you will see REMOVED in the dialogue box you can now disconnect your phone and wait for it to fully boot up.
ODIN DOES NOT OVERWRITE EVERYTHING SOMETIMES OR YOU CAN GET STUCK ON THE BOOT SCREEN. DO NOT PANIC. PULL THE BATTERY AND BOOT INTO STOCK RECOVERY WHICH IS VOLUME UP + POWER WHEN YOU SEE THE SAMSUNG LOGO KEEP HOLDING A FEW MORE SECONDS AND LET GO OF BOTH. You will now see the phone boot into stock recovery. At this point you need to use the volume button to go down and highlight WIPE DATA FACTORY RESET. Now select it by pressing POWER. After it reformats you phone Make sure Reboot is highlighted and press POWER Again. LET THE PHONE BOOT BACK UP.
STEP 6.
Unrooting and Relocking the Bootloader it critical if you want to take future OTA's or you need to return the phone to Google. Open up the SUPERSU application on the phone CLICK SETTINGS and Scroll to the bottom. NOW CLICK FULL UNROOT and Reboot the Phone. [ You may have to update the SUPERSU Application in Google Play first to FULLY UNROOT if the phone is asking you to update Root in Google Play. Once you click FULL UNROOT and Reboot you are Unrooted.
STEP 7.
To relock the Bootloader you need to Power off your GE S IV. Once the phone is off Hold VOLUME DOWN & VOLUME UP + THE POWER BUTTON all at the SAME TIME until it boots into a screen the has an ARROW that says POWER OFF with a ANDROID LAYING DOWN, this is FASTBOOT MODE. Plug in your phone to the computer and open up a command prompt and type fastboot oem lock you will see on your command terminal screen that your phone is successfully locked and the phone will reboot. THAT'S IT YOUR BACK TO 100% OUT OF THE BOX STOCK UNROOTED.
FASTBOOT FLASHING RECOVERY THROUGH ADB
STEP 1.
If for any reason you need to flash either custom or stock recovery you can do it through ADB. You need to download your STOCK or CUSTOM Recovery images at the links provided. Once you download the .IMG File you need to PLACE that .IMG File in your PLATFORM TOOLS Folder in C:\android-sdk\platform-tools [ YOU CAN RENAME THE IMAGE TO “recovery” ( without quotes ).
STEP 2.
Once that file is in your PLATFORM TOOLS folder do a SHIFT RIGHT CLICK INSIDE the PLATFORM TOOLS folder and select Open command window here.
STEP 3.
Now Put your phone into Fastboot Mode ( See Step 7 Above ) and connect your phone to the computer now type fastboot flash recovery recovery.img that's it ADB will now push the recovery image to your phone.
CONGRATULATIONS YOU HAVE FASTBOOT FLASHED RECOVERY TO YOUR PHONE.
That's pretty much it you have the basic tools and knowledge to modify your GE S4.
MJ
Click to expand...
Click to collapse
Isn't the Bootloader already unlocked on the GPE I9505G? I was able to root and install custom recovery without going through the bootloader unlock process.
Please don't quote the whole OP. Last I checked it would be impossible to flash root or custom recovery on a locked boot loader.
Sent from my Nexus 5 using Tapatalk
MJHawaii said:
Please don't quote the whole OP. Last I checked it would be impossible to flash root or custom recovery on a locked boot loader.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So my point is why tell people who have the I9505G GPE phone they need to unlock the bootloader to root their phone?
{
"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"
}
dratsablive said:
So my point is why tell people who have the I9505G GPE phone they need to unlock the bootloader to root their phone?
Click to expand...
Click to collapse
You cannot Root a or install Custom Recovery on a Locked Boot loader.
The GE S4 could fall under the Nexus category but I don't know anyone willing to try it except you which you obviously did not do your homework and took a risk. If you did root the I9505G successfully on a locked BL then unroot relock and try it again then I will have all OP updated. You could even film it and upload it to YouTube so we can show it..
Sent from my Nexus 5 using Tapatalk
MJHawaii said:
You cannot Root a or install Custom Recovery on a Locked Boot loader.
The GE S4 could fall under the Nexus category but I don't know anyone willing to try it except you which you obviously did not do your homework and took a risk. If you did root the I9505G successfully on a locked BL then unroot relock and try it again then I will have all OP updated. You could even film it and upload it to YouTube so we can show it..
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
My point was I was able to root and install a custom recovery on my GPE I9505G without having to do the bootloader unlock. So my question is the GPE I9505G unlocked? Or was my phone an anomoly?
Not to drag this on and on, but I am 99% sure that I never unlocked bootloader on my GE either. That was one of the draws when these phones were announced while developers were struggling to unlock the ATT bootloader. Looking back in google search, it appears that the phone was to be delivered with unlocked bootloaders. I could be mistaken about this, but it is my recollection.
wilbarger said:
Not to drag this on and on, but I am 99% sure that I never unlocked bootloader on my GE either. That was one of the draws when these phones were announced while developers were struggling to unlock the ATT bootloader. Looking back in google search, it appears that the phone was to be delivered with unlocked bootloaders. I could be mistaken about this, but it is my recollection.
Click to expand...
Click to collapse
The phone shipped with a locked boot loader but falls under the Nexus category so CF Auto Root is able to flash and OEM unlock that's why when you run it on a locked BL and chainfires exploit runs when the phone reboots you see the unlocked symbol.
But to go back to the guy who's initial question. Yes you can Root without fastboot OEM unlock but only for select phones mentioned. It would BEHOOVE YOU to not look for shortcuts and Learn how to install the SDK and use fastboot FOR WHICH the guide was INTENDED. Its a MUST Have in certain situations.
Sent from my Nexus 5 using Tapatalk
MJ, thanks for the clarification. I have used SDK tools and must have unlocked my bootloader as I flash kernals, ROMS and radios without issues.
wilbarger said:
MJ, thanks for the clarification. I have used SDK tools and must have unlocked my bootloader as I flash kernals, ROMS and radios without issues.
Click to expand...
Click to collapse
This guide if used correctly and understood will help anyone when it comes to modding android phones. ADB is an absolute Must if you have an HTC phone, toolkits fail so having the Old School knowledge is a life saver and is quicker once you get used to it. My goal with this guide is bigger than one phone or tablet. It gives you the core skills. Hope it helps
Sent from my Nexus 5 using Tapatalk
In my case I didn't use Chain Fire to root my phone, I used odin to flash a rooted stock rom, and then installed TWRP Manager and installed TWRP.
I
dratsablive said:
In my case I didn't use Chain Fire to root my phone, I used odin to flash a rooted stock rom, and then installed TWRP Manager and installed TWRP.
Click to expand...
Click to collapse
That's not What you said and that's a stock pre-rooted Odin package that does the BL Unlock for you. Do me a favor drat get off my thread or be absolutely clear on what your saying instead of confusing everyone.
SO FINALLY TO BE CLEAR GO BACK AND READ!! YOU CANNOT ROOT A LOCKED BOOTLOADER except in the cases previously mentioned X, Y, Z .
CASE CLOSED
I wrote you an easy guide to use adb but you want to be lazy use Odin firmware packages and then troll this thread when you missed the Guides purposes all together
Sent from my Nexus 5 using Tapatalk
No need to be hostile. My query was that the GE , I9505G, had an unlocked bootloader to begin with, and didn't need unlocking.
dratsablive said:
No need to be hostile. My query was that the GE , I9505G, had an unlocked bootloader to begin with, and didn't need unlocking.
Click to expand...
Click to collapse
Your query was wrong! The I9505G does not have a unlocked bootloader to begin with you flashed a firmware package that does the work for you. What I am trying to do here is get you to understand how it works so you or someone else doesn't brick your phone because you think this is how everything works. The I9505G is different than other Samsung phones. If you tried to run a root exploit without Odin in this case on a locked bootloader you would brick your phone. I hope this clears things up for you. I hope that you go back re read the OP here and XDA forum rules and how important searching and reading is before posting potentially damaging comments. MJ
Sent from my Nexus 5 using Tapatalk
I don't want to throw gas on this discussion but the info is wrong. I installed TWRP and rooted long before I ever unlocked the bootloader. The ONLY reason I unlocked it at all was to help Chainfire test something, and that was about 6 weeks after I got the phone. You CAN flash custom recovery or other unsigned code without unlocking. It's quite possible. I've done it. It's one of the VERY few phones I've ever seen that allows it.
SamuriHL said:
I don't want to throw gas on this discussion but the info is wrong. I installed TWRP and rooted long before I ever unlocked the bootloader. The ONLY reason I unlocked it at all was to help Chainfire test something, and that was about 6 weeks after I got the phone. You CAN flash custom recovery or other unsigned code without unlocking. It's quite possible. I've done it. It's one of the VERY few phones I've ever seen that allows it.
Click to expand...
Click to collapse
Yeah I know I made the point a couple posts back that this phone is like the nexus but I also wanted to get a good adb guide posted here for those who would like to learn and use it.
Our phone is unique in that sense. Hope this guide helps those who want to install and use adb.
Sent from my Nexus 5 using Tapatalk
MJHawaii said:
Yeah I know I made the point a couple posts back that this phone is like the nexus but I also wanted to get a good adb guide posted here for those who would like to learn and use it.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Would be incredibly useful! Did you notice that in MKG they removed the ability to load an OTA from external sdcard? I had to sideload it this morning. Not a big deal but if you've never done it before it can be a little confusing. An ADB guide would rock!
SamuriHL said:
Would be incredibly useful! Did you notice that in MKG they removed the ability to load an OTA from external sdcard? I had to sideload it this morning. Not a big deal but if you've never done it before it can be a little confusing. An ADB guide would rock!
Click to expand...
Click to collapse
Hence your adb guide feel free to add to it or I can put in a sideload guide, system dump..etc..etc.
Sent from my Nexus 5 using Tapatalk
A good idea. The trick to sideload isn't so much the adb. It's the damn drivers. I cheat and use Koush's universal ADB driver. I use adb sideload for installing root with touchless CWM, as well. These are very useful things to know how to do.
SamuriHL said:
A good idea. The trick to sideload isn't so much the adb. It's the damn drivers. I cheat and use Koush's universal ADB driver. I use adb sideload for installing root with touchless CWM, as well. These are very useful things to know how to do.
Click to expand...
Click to collapse
Strange I never have any problems using adb to flash or side load anything but the universal driver is an excellent tool
Sent from my Nexus 5 using Tapatalk
INDEX
1. Installing Proper Fastboot and ADB drivers
2. Unlocking The Bootloader
3. Flashing A Custom Recovery (TWRP) via Fastboot
4. How To Root Your Stock or another Rom
5. Making important backups.
6. How To Make A Nandroid Backup With TWRP Recovery
7. How To Install A ROM with TWRP Recovery
8. How To Install A Custom Kernel With TWRP Recovery
9. How To Flash The Stock Kernel With Fastboot
10. How To Flash The Cyanogen OS Fastboot Images
11. Recovering from no OS installed and no ROM or Backup present on the phone.
12. Recovering from no OS installed and no access to TWRP, fastboot does work.
13. Recovering from no OS installed and no access to fastboot, TWRP does work.
14. Recovering from a Brickloop , No IMEI , Corrupt EFS
14. How to maintain your device after rooting/flashing.
{
"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"
}
INSTALLING PROPER FASTBOOT AND ADB DRIVERS
There are a lot ways to install drivers and a lot different drivers are available too,but,the ones that have always worked for me,are from PdaNet.So,here I recommend using these.
Step 1 :- Download PdaNet from here :- http://pdanet.co/bin/PdaNetA4181.exe
Step 2 :- Install them and follow the installation steps properly (Especially when to connect the phone. HINT :- Phone should not be connected in the beginning and has to be connected only when asked for.There might be a notification in your phone to allow Debugging access to your computer,accept it.)
Step 3 :- After the installation has finished,download Android Slim SDK from here :- http://fs1.d-h.st/download/00081/08w/AndroidSDKSlim.zip and extract them on the desktop. (Keep the phone connected to the PC during all this.)
Step 4 :- Open the extracted SDK folder on the desktop and open the platform-tools folder inside it.
Step 5 :- Inside the platform-tools folder,press Shift Key + Right Click and select “Open Command Window here”
Step 6 :- A command window will open.In the command window,enter the command :-
Code:
adb devices
If it shows your device,woohooo !!! Your drivers have installed !! If it doesn't,try uninstalling all earlier present USB Drivers from your PC and then again install PDANet . If that too doesn't work,tag me in the thread and I will try to help you to my best .. !!
UNLOCKING THE BOOTLOADER
Step 1 :- Make sure you have proper ADB and Fastboot Drivers installed and working.See Part 1 for details.
Step 2 :- Go to Settings -> About Phone of your device and tap on Build Number 7 times to unlock the Developer Options .
Step 3 :- Go to Settings -> Developer Options and turn on ADB Debugging .
Step 4 :- Connect the phone to PC.
Step 5 :- On your PC, inside the platform-tools folder (See Part 1),press Shift Key + Right Click and select “Open Command Window here”
Step 6 :- In the command window,enter the command :-
Code:
adb reboot bootloader
The phone should boot into the fastboot mode.
Step 7 :- In the command window,enter the command :-
Code:
fastboot -i 0x2A96 oem unlock
Step 8 :- It should show you a prompt to press volume up button on your device.Press the volume up button.
It should unlock your bootloader.
Step 9 :- In the command window,enter the command :-
Code:
fastboot -i 0x2A96 reboot
The phone will reboot and will do some processing and will finally boot up.
Woohooo You have unlocked the bootloader….Now you are open to rooting,flashing ROMs etc. !!!
FLASHING A CUSTOM RECOVERY (TWRP) VIA FASTBOOT
Step 1 :- Make sure you have proper fastboot and adb drivers installed (Part1) and bootloader unlocked (Part 2).
Step 2 :- Download TWRP Recovery from here :- https://s.basketbuild.com/devs/vishal_android_freak/yu/yuphoria/ and put it in the platform-tools folder on the Desktop (Part 1).Rename the Recovery file to recovery .
Step 3 :- On you device,in Settings -> About Device,tap on build number 7 times to unlock the Developer Options.
Step 4 :- In Settings -> Developer Options,turn on ADB Debugging and turn off Update Cyanogen Recovey.
Step 5 :- Connect your phone to PC.
Step 6 :- On your PC, inside the platform-tools folder,press Shift Key + Right Click and select “Open Command Window here”
Step 7 :- In the command window,enter the command :-
Code:
adb reboot bootloader
The phone should boot into the fastboot mode.
Step 8 :- In the command window,enter the command :-
Code:
fastboot -i 0x2A9 flash recovery recovery.img
It should flash recovery on your device.
Step 9 :- Remove the device from PC and remove the battery and put it again and power on the phone….
Woohoo …Now you have TWRP Flashed !!!
ROOTING STOCK OR ANY OTHER ROM
Step 0 :- Make sure that you have unlocked the bootloader and have flashed TWRP on your device.
Step 1 :- Download SuperSU from here :- http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip and place it in your phone.
Step 2 :- Power off the device.
Step 3 :- Boot into TWRP Recovery by pressing Power + Volume Down button.
Step 4 :- Click on "Install" button.
Step 5 :- Find the downloaded SuperSU file and select it.
Step 6 :- Swipe to flash.
Step 7 :- Reboot System.
Woohooo You have successfully rooted your phone.
MAKING EFS BACKUP
METHOD 1 :-
Step 1 :- Download Partitions Backup And Restore App from here :- https://play.google.com/store/apps/details?id=ma.wanam.partitions
Step 2 :- Open the app and in the App Settings,select backup output to .img
Step 3 :- From the list of partitions in the app,select modemst1 and modemst2 and backup those by clicking on the download like button at the bottom right .
Step 4 :- The EFS Partitions (modemst1.img and modemst2.img) will be backed up to the Internal Storage or External SD Card (as per your preference)
Step 5 :- Save these 2 files to Cloud Storage and as many places as possible as these are very important partitions.
METHOD 2 :-
Go to TWRP -> Advanced -> Terminal and type the following command :- (You must have an SD Card in the phone.If you don't have external SD Card,replace sdcard1 with sdcard0)
Code:
dd if=/dev/block/mmcblk0p12 of=/sdcard1/modemst1.bin bs=512
Press Enter
Code:
dd if=/dev/block/mmcblk0p13 of=/sdcard1/modemst2.bin bs=512
Press Enter
Go to the File Manager and save modemst1.bin and modemst2.bin to as many places as possible.
MAKING NANDROID BACKUP
Step 1 :- Go to TWRP.
Step 2 :- Click on Backup.
Step 3 :- Select all options except Cache.
Step 4 :- Swipe to Backup.
A backup of around 3-4 GB will be created in the TWRP folder in Internal or External storage (as per your preference).It is recommended to save the Nandroid of Stock ROM in other places too…You MUST take a Nandroid Backup before flashing anything so that you remain safe most of the times.You can delete the Nandroid after ensuring that what you flashed didn’t cause any issue.BUT You must keep atleast one Nandroid always with you (Preferably of Stock ROM).
Reserved 3
Reserved 4
Hey, thanks for all this info. Looking forward to the rest. Wish this was up two weeks ago. After 16 hours I finally was able to unlock my bootloader and root on my own. Little. nervous to flash but your guide makes me feel more comfortable trying.
Sent from my C6833 using Tapatalk
drod0813 said:
Hey, thanks for all this info. Looking forward to the rest. Wish this was up two weeks ago. After 16 hours I finally was able to unlock my bootloader and root on my own. Little. nervous to flash but your guide makes me feel more comfortable trying.
Sent from my C6833 using Tapatalk
Click to expand...
Click to collapse
Don't worry.Unlocking the bootloader is already major part done.Flashing is very easy.Tell me which ROM you want to flash and I will help you out.
Thanks. I will follow your guide to install twrp custom recovery. Step 9 says to remove the battery. My battery is not removeable. Is step 9 required for my z ultra? If am successful with installing twrp, I will want to install a stable build of Cyanogenmod which I believe is 10.1
Sent from my C6833 using Tapatalk
Very Nice thread..its the same steps as my moto g requires..!!
keep up the good work..looking forward for rest of the steps
Is there any software for flashing the complete firmware image (I mean flashing everything, including the bootloader) from computer? Like we have SP Flash tool for Mediatek phones.. (I'm new to Snapdragon)
GokulNC said:
Is there any software for flashing the complete firmware image (I mean flashing everything, including the bootloader) from computer? Like we have SP Flash tool for Mediatek phones.. (I'm new to Snapdragon)
Click to expand...
Click to collapse
U can try this.
Ess Arr said:
U can try this.
Click to expand...
Click to collapse
Not something of this kind..
This just flashes the images through fastboot..
What if fastboot doesn't work?
I'm looking for something like....., we flash everything from the base (including the bootloader)
Thanks BTW
consider adding relocking bootloader guide !!
A very very helpful posts. ?
Yuphoria unroot and lockbootloader.
Sir,
Yesterday i rooted and unlocked bootloader and temporarily i installed twrp recvry and flash supersu by watching JAY KAPOORS GUIDE
But after listening that official Cm12.1 is coming in few days i wanted to revert back to original position .
I want to lock my bootloader and want to unroot my YU YUPHORIA .
Sir can you please help me .
Thank you
Yuphoria User.
Yash Meet said:
Sir,
Yesterday i rooted and unlocked bootloader and temporarily i installed twrp recvry and flash supersu by watching JAY KAPOORS GUIDE
But after listening that official Cm12.1 is coming in few days i wanted to revert back to original position .
I want to lock my bootloader and want to unroot my YU YUPHORIA .
Sir can you please help me .
Thank you
Yuphoria User.
Click to expand...
Click to collapse
You have to flash stock again to relock bootloader and you will loose your personal data. Anyway for flashing the stock you can try this.
Nandroid backup help
Can I make a nandroid backup by temporaryly booting in twrp as I don't want to loose ota updates by flashing twrp recovery . I have already unlocked bootloader and rooted my phone . And booted once in twrp to root using supersu zip. Can it is possible to make nandroid by temporary booting in recovery ?? .. Thnx really great therad:good::fingers-crossed:
mukulmagotra98 said:
Can I make a nandroid backup by temporaryly booting in twrp as I don't want to loose ota updates by flashing twrp recovery . I have already unlocked bootloader and rooted my phone . And booted once in twrp to root using supersu zip. Can it is possible to make nandroid by temporary booting in recovery ??
Click to expand...
Click to collapse
You're saying you have flashed SuperSu, this means that your /system partition is modified, so you will not be able to successfully install OTA's.
However, yes, you can take a Nandroid Backup by booting TWRP and restore it whenever your want using TWRP.
locking bootloader and unroot ??
Can I lock my bootloader by this command in fastboot" fastboot -i 0x2A96 oem lock"
And can revert root by full unroot option in supersu settings ... Will this be able to give me OTA updates as I am having cyanogen stock recovery .. but only changed my bootloader stuff..... OR I have to make a Nandroid backup and flash my stock rom from it and stock recovery too .. Till now I have not flashed any custom rom and recovery ...THNX IN ADVANCE
:angel::good:
Can hotboot removes ota updates............???
IMEI: null
having yuphoria with base band unknown..
is thee any way to recover it...
phone is on factory condition...
no unlocked boot loader, no root...no custom recovery...
[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.
OnePlus 6: Unlock Bootloader | Flash TWRP | Root | Nandroid & EFS Backup !!
{
"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"
}
Before you start, OTA up to the latest System Update available.
Settings > System Updates > Download & Install the latest available
Thank You all for your support :highfive:
Never Settle :fingers-crossed:
Introduction
Rooting OnePlus 6 would give you additional benefits like you can install special apps, Flash Custom ROMs & Custom Mods, you can streamline your phone performance and many extra features. The real performance of an Android smartphone can only be unlocked once it is rooted.
Rooting this device is actually quite a simple and easy process. Before you begin, it is recommended that you at least try to understand what each part of the process will do. Although this guide will elongate each step in order to show all of the details, the method used can be broken up into 3 main steps:
1. Unlocking the Bootloader
2. Installing a Custom Recovery
3. Gaining Root Access
Each new step relies on the previous step so please follow the entire process and a basic summary of each part is described as below:
Unlocking BootloaderOpens the door to the internal memory of the device to be written on to. This allows you to flash images onto the main partitions of the phone.
Installing a Custom RecoveryA custom recovery is flashed onto the recovery partition of the device and overwrites the stock recovery that exists by default. Custom recoveries bring lots of functionality and give you the ability to perform wipes, install flashable zips, create full backups of your device (Nandroid backup), and various other features. An unlocked bootloader is needed to install a custom recovery.
Gaining Root AccessYou can gain root by either flashing via recovery a pre-rooted custom rom, or flashing a zip containing the SuperSU binaries or by Flashing Magisk Zip for a system less root. A custom recovery is necessary to do this.
After completing these steps your phone will be rooted, the phone will have a custom recovery installed and an unlocked bootloader. This, in my opinion, is the a practical and beneficial method for rooting your phone. It will give you some basic adb/fastboot knowledge, and should hopefully help you have a decent understanding of the entire process. This method will work regardless of any android version on the phone.
If you are confused by anything in this guide, I highly suggest getting it clarified being before moving on. Ask your question in this thread and I or someone else will likely answer. Also we would suggest that you read over the whole thread a few times before actually doing anything to the phone.
Setup, Preparation & Prerequisites
Basic tasks that may be referred to throughout this guide:Open Command Prompt: Press Shift + Right Click anywhere on the screen and select Open Command Window here
Enter Fastboot/Bootloader Mode: Turn the phone off. Hold volume up + power until the "fastboot" screen appears. [Alternatively, if Advanced Reboot is enabled, you can press Reboot > Bootloader from the power menu.]
Enter Recovery Mode: Turn the phone off. Hold volume down + power until the "OnePlus Logo" screen appears. [Alternatively, if Advanced Reboot is enabled, you can press Reboot -> Recovery from the power menu.]
ADB and Fastboot Drivers Installation1. Download & Update OnePlus 6 Drivers From Here
2. Download & Update Fastboot and ADB Binaries/Drivers from Here
3. Run the .exe file downloaded from above as Administrator.
4. Press 'Y' every time the installer asks for.
5. Continue Driver Installation.
Now, ADB and Fastboot have been installed on your PC and should be Working as desired.
Things To RememberShow File Extensions
Open a command prompt window and run "Control folders" (without the quotes). Go to the View tab and uncheck the "Hide extensions for known file types" option. This will help avoid confusion when renaming files.
Battery
Ensure that your phone has at least 60% battery remaining, and that your PC is plugged in and wont shut down spontaneously during the process. The procedure doesn't take very long , but its best to have enough charge in case something goes wrong.
Backup (Optional)
Unlocking the bootloader will/should completely wipe all data from the device. This includes apps, settings and even the contents of the internal sdcard (pictures, music, etc.). Copy all important files off the phone onto a PC or upload them to a cloud.
USB Debugging
On your phone go to Settings > About phone > Tap on Build number 7 times. This will enable Developer options. Now go back to Settings > Developer options > Enable USB debugging
Enable OEM Unlocking
On your phone go to Settings > Developer options. Then enable the 'OEM Unlocking' option. Also make sure that from now on, OEM unlocking option is enabled before you reboot as sometimes, it might get disabled itself.
Enable Advanced Reboot
On your phone go to Settings > Developer options. Then enable the 'Advanced Reboot' option.
Unlocking Bootloader
Turn the phone off. Then boot it into fastboot mode by holding volume up + power or select reboot to bootloader if advanced reboot is activated via developer options. The phone will display "fastboot" text indicating that it has successfully entered fastboot mode.
Plug the phone into your PC, then open a command prompt window on the desktop (Shift + Right Click -> Open Command Window here) and type:
Code:
fastboot devices
This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue you must fix your drivers so that your phone is listed under fastboot devices.
If the phone has been recognized by the command above, proceed to unlocking the bootloader with the following command:
Remember this Step will WIPE EVERYTHING off the phone so Backup all your Data
Code:
fastboot oem unlock
You would be greeted with a Unlock Bootloader Warning page, Hit the Vol button to select Yes and turn it Blue and Hit the Power Button to Execute the selection
Your device will reboot, show you a Secure boot warning, reboot into stock recovery and wipe all data. Once done, your phone will reboot into the OS.
Please continue and follow the next post to install Custom Recovery
Flashing TWRP Recovery
Downloads:
Official TWRP Image & Installer Zip
Blu_Spark TWRP
Root
Magisk
Wait until the phone has fully booted up into android, then adjust the following settings on the phone:
USB Debugging
On your phone go to Settings > About phone > Tap on Build number 7 times. This will enable Developer options. Now go back to Settings > Developer options > Enable USB debugging
Enable OEM Unlocking
On your phone go to Settings > Developer options. Then enable the 'OEM Unlocking' option and make sure that from now on, OEM unlocking option is enabled before you reboot. Sometimes, it might get disabled itself.
Enable Advanced Reboot
On your phone go to Settings > Developer options. Then enable the 'Advanced Reboot' option.
The OnePlus 6 uses the newer AB partition scheme first introduced on the Pixel 1. As such there is no recovery partition. Instead, the recovery is part of the boot image. You will temporarily boot TWRP to perform and later perform a more permanent TWRP installation.
Download all the files, place Magisk & TWRP installer zip on Device Internal Memory and TWRP img on your PC
Then boot it into fastboot/bootloader mode by holding volume up + power or selecting the reboot to bootloader via advanced reboot options.
Open a new command prompt in the same location and run the following commands:
Code:
fastboot boot twrp-3.2.2-0-enchilada.img
You will temporarily boot into TWRP
Now in TWRP, tap on Install and browse to the zip and install it (the zip will probably be in /sdcard/Downloads). TWRP will now be installed to both slots. TWRP is now installed.
PS: DO NOT BOOT IN OS JUST YET & CONTINUE TO THE ROOTING POST
Gaining Root Access
This is a continued post from the above post...
1. Boot into TWRP Recovery
2. If you want to stay systemless continue without swiping right else Swipe and enable modifications.
3. Select your preferred Language, Tap “Never show this screen on boot again,” and Swipe allow modification.
4. Navigate to Install and select Magisk to root.
5. Swipe to confirm the flash
6. Reboot System
Keep in mind that the first boot after wiping the phone may take longer than usual, as the phone will need to rebuild the dalvik cache and initialize other first boot and might reboot a few times.
* MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.
Congrats! Your Device now has an unlocked bootloader, a custom recovery installed and is rooted !!
Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery.
Enjoy :fingers-crossed:
Making a Nandroid Backup
Warning: before you make a backup with TWRP you must remove all Lockscreen Security. If you do not do this you will not be able to unlock your device after restoring your backup (entering your pin/pattern/password will result in an "incorrect pin/pattern/password" message), you'll be forced to perform a factory reset to boot into Android.
To remove lockscreen security go to
Settings > Security > Screen Lock and set it to Swipe/None.
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 Nandroid Bckup to create a backup of your favorite ROM set up exactly the way you like it. The backup you create can be easily restored using the restore tool in TWRP recovery.
To Create Nandroid Backup:
1. Boot into TWRP Recovery .
2. Go to Backup Menu and select all the listed partitions.
3. Name the Backup if needed (Optional)
4. Swipe to take Backup.
This proces should take 5 to 7 minutes depending upon the size of data.
5. Reboot System when done.
Your Nandroid will be stored in the Backup Folder inside TWRP Folder /sdcard/TWRP/BACKUPS
Restoring a Nandroid Backup
1. Boot into TWRP Recovery
2. Go to Restore Menu and select the backup you want to restore.
3. Select the partitions you want to restore.
4. Swipe to Restore. The process will take 5 to 7 minutes.
5. Reboot system once done
Note: If you happened to forget to remove lockscreen security (PIN/Pattern/Password) before creating your backup, and you cannot get into your OS after restoring, you can do the following to fix the issue.
Boot into TWRP
Use the TWRP File Manager and Navigate to /data/sytem/ and delete the following files:
locksettings.db
locksettings.db-shm
locksettings.db-wal.
gatekeeper.password.key
gatekeeper.pattern.key
You may or may not have all the above files so delete the ones you have.
Reboot the phone and (if you've set a PIN) enter it to decrypt the storage one more time. After that you can simply unlock your phone with a swipe.
Upon Boot > Go into Settings > Security > set your preferred unlock method
Android will ask you if you want to set a boot-time code too so select as per convenience.
Making an EFS BackupAll too often, we've seen folks who have a corrupted or missing EFS Partition. This results in your IMEI being lost and no cellular activity on the device at all. This can be a royal PITA to fix, and some folks haven't been able to fix it at all. You can take a precautionary measure to safeguard yourself against this by taking a couple of minutes to back up your modemst files.
Download & Open up Terminal Emulator on your phone from here
Once it's open you'll be greeted with a command line prompt, in which you can enter text commands, the first thing you need to do is enable root access by entering this line (press the enter key on your on-screen keyboard after each command to issue it):
Code:
su
If this is the first time you've used Terminal Emulator a Superuser or SuperSU popup will appear, make sure you grant root access.
Now enter these two commands:
Code:
dd if=/dev/block/sdf2 of=/sdcard/modemst1.bin bs=2048
Code:
dd if=/dev/block/sdf3 of=/sdcard/modemst2.bin bs=2048
This will place two files (modemst1.bin & modemst2.bin) on your internal storage.
Make sure you copy them to your PC and Cloud immediately so that you have a backup there to use if you need to restore it in future.
That's it !! In case you ever need to restore Nanroid or EFS Backups, please continue and follow the next post...
Restoring an EFS BackupIf by chance you end up with a corrupt EFS partition all you need to do is flash the files back to your device using fastboot.
Boot into fastboot mode (power + volume up) and connect your phone to your PC via usb cable.
Keep modemst1.bin and modemst2.bin (backed up earlier) on your desktop and open command window there.
These fastboot commands will restore the files:
Code:
fastboot flash modemst1 modemst1.bin
Code:
fastboot flash modemst2 modemst2.bin
Reboot your device.
Code:
fastboot reboot
Now disconnect phone from PC. Your IMEI should be back.
That's it for this guide, Enjoy :highfive:
Full Stock Rom:
OOS 5.1.3:
AFH
Changelog:
* Updated Android Security Patch To May
* Preloaded OnePlus Switch Application
* Added Configuration for Notch Show/Hide
* Camera - Support Super Slow Motion (720p at 480fps and 1080p at 240fps)
* Camera - Support Quick Capture in Portrait Mode
* Gallery - Support more actions for recently deleted files
Thread Opened for Users to Unlock the device for now, TWRP will be updated as soon as its available.
Thank you for your consideration.
Funk Wizard said:
2. If you want to stay systemless continue without swiping right else Swipe and enable modifications.
3. Select your preferred Language, Tap “Never show this screen on boot again,” and Swipe allow modification.
Click to expand...
Click to collapse
These two steps seem a bit conflicting when it comes to enabling system modifications in TWRP. Am I right in that if you don't allow system modifications, you can still flash Magisk and get root access but you won't be able to flash custom ROMs?
---------- Post added at 04:30 AM ---------- Previous post was at 04:28 AM ----------
Is there a difference between backing up EFS via a terminal emulator rather than just doing it via TWRP?
KnifeFed said:
These two steps seem a bit conflicting when it comes to enabling system modifications in TWRP. Am I right in that if you don't allow system modifications, you can still flash Magisk and get root access but you won't be able to flash custom ROMs?
---------- Post added at 04:30 AM ---------- Previous post was at 04:28 AM ----------
Is there a difference between backing up EFS via a terminal emulator rather than just doing it via TWRP?
Click to expand...
Click to collapse
Yes you are right, you can still flash Magisk and get root access if you don't allow modifications. Also there should be no difference between the TWRP EFS backup or the Terminal Emulator EFS backup.
I would still recommend both as backup if you mess up TWRP/OS due to encryption issues, besides that the official twrp for the 6 would still take time so for just wanted to keep both options at your disposal :good:
Funk Wizard said:
Flashing TWRP Recovery
Click to expand...
Click to collapse
Good to see you here.
Being a device with A/B partitioning, there is no separate /recovery partition as it is fused with /boot. Besides, you've to fiddle with active slots to make it installed. I know the guide is work in progress, but the current state may arise confusions.
Regarding this post, what was the OOS version of the initial build?
Titokhan said:
Good to see you here.
Being a device with A/B partitioning, there is no separate /recovery partition as it is fused with /boot. Besides, you've to fiddle with active slots to make it installed. I know the guide is work in progress, but the current state may arise confusions.
Regarding this post, what was the OOS version of the initial build?
Click to expand...
Click to collapse
The initial build was 5.1.0 which was a test build
Funk Wizard said:
The initial build was 5.1.0 which was a test build
Click to expand...
Click to collapse
Thanks for the confirming my initial speculation.
:highfive:
Funk Wizard said:
Gaining Root Access
Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery.
Click to expand...
Click to collapse
I have my device coming next week and want to get involved with Custom Roms and rooting once some of the incredible devs here develop some stable roms. I was thinking of unlocking the bootloader straight out of the box and then stopping there so that when I decide to proceed I won't need to wipe all user data. If I only unlocked the bootloader, am I still able to apply Oneplus OTA updates through the settings app as usual? This is in reference to your warning: "Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery."
Thanks for your guide Funk Wizard!
jordanlaa said:
I have my device coming next week and want to get involved with Custom Roms and rooting once some of the incredible devs here develop some stable roms. I was thinking of unlocking the bootloader straight out of the box and then stopping there so that when I decide to proceed I won't need to wipe all user data. If I only unlocked the bootloader, am I still able to apply Oneplus OTA updates through the settings app as usual? This is in reference to your warning: "Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery."
Thanks for your guide Funk Wizard!
Click to expand...
Click to collapse
You can just take the partial OTAs with unlocked bootloader..
But if you install custom recovery ( twrp) ..then you have to flash the full rom zip anytime that you want to upgrade..
jordanlaa said:
I have my device coming next week and want to get involved with Custom Roms and rooting once some of the incredible devs here develop some stable roms. I was thinking of unlocking the bootloader straight out of the box and then stopping there so that when I decide to proceed I won't need to wipe all user data. If I only unlocked the bootloader, am I still able to apply Oneplus OTA updates through the settings app as usual? This is in reference to your warning: "Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery."
Thanks for your guide Funk Wizard!
Click to expand...
Click to collapse
As and when you get the device follow the below:
1. Boot up the device and check for system updates
2. Update to the latest available 5.1.3 as of today or whatever latest at the time you have the device.
3. Unlock the bootloader
4. Continue with TWRP flash & Root (Magisk) as by next week TWRP will be available
4. Set up the device the way you want now like installing you preferred apps and setup your device.
5. There on whenever an update comes download the full zip and flash it via twrp instead of partial OTA's
I will make a separate thread for instruction on how to update just like my threads on 5T & 5, links on my signature.
Those will be self explanatory and tested instructions as I happen to have the device with me.
For anything else you are free to discuss here, I may not be available all the time due to work schedule however I will answer all your concerns once I have access to xda.
Thank you for your patience :highfive:
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