Related
Root. A word so simple, yet so complexed.
Every android user on XDA should know what it is, but people only know what they can do with it, not how and why.
There are already a ton of threads describing what root is, but here's something most of those threads forget:
To obtain root access, you need a 'su' binary inside /system/bin .
Also, you need an app to control apps that gain root privileges. The two you're most likely to hear about are SuperUser (SU) and SuperSuperUser (SuperSU).
So, if you have a recovery, you can flash a zip file that puts a su binary inside /system/bin , and installs the controller app (SuperUser and SuperSU). -- That way you don't need a PC to root your phone. Also, you don't lose any data and there's no risk of bricking your phone.
But, as I can see, people here aren't aware that they don't need PCs for rooting.
They flash kernels from all sorts of stock FW releases, use a billion programs, and finally, they get root after a good amount of time and flashing, usually with a lot of risk of bricks.
So, a quick step-by-step guide on how to do root like a pro:
1. You need a phone with a recovery and internet (be it WiFi or mobile data).
2. Go here: http://downloads.noshufou.netdna-cdn.com/superuser/Superuser-3.1.3-arm-signed.zip and save the file to your phone. Remember where you saved it!
3. Boot into recovery and flash the zip.
4. Reboot back into Android
Optional:
5. Realize that this process is far better than the ones that need a PC, because it's simpler. Thank me.
6. Tell it to your friends, so they don't mess around with huge downloads and flashing kernels.
someone755 said:
Root. A word so simple, yet so complexed.
Every android user on XDA should know what it is, but people only know what they can do with it, not how and why.
There are already a ton of threads describing what root is, but here's something most of those threads forget:
To obtain root access, you need a 'su' binary inside /system/bin .
Also, you need an app to control apps that gain root privileges. The two you're most likely to hear about are SuperUser (SU) and SuperSuperUser (SuperSU).
So, if you have a recovery, you can flash a zip file that puts a su binary inside /system/bin , and installs the controller app (SuperUser and SuperSU). -- That way you don't need a PC to root your phone. Also, you don't lose any data and there's no risk of bricking your phone.
But, as I can see, people here aren't aware that they don't need PCs for rooting.
They flash kernels from all sorts of stock FW releases, use a billion programs, and finally, they get root after a good amount of time and flashing, usually with a lot of risk of bricks.
So, a quick step-by-step guide on how to do root like a pro:
1. You need a phone with a recovery and internet (be it WiFi or mobile data).
2. Go here: http://downloads.noshufou.netdna-cdn.com/superuser/Superuser-3.1.3-arm-signed.zip and save the file to your phone. Remember where you saved it!
3. Boot into recovery and flash the zip.
4. Reboot back into Android
Optional:
5. Realize that this process is far better than the ones that need a PC, because it's simpler. Thank me.
6. Tell it to your friends, so they don't mess around with huge downloads and flashing kernels.
Click to expand...
Click to collapse
A Simple question, how can i get recovery, if for get it, i need first a root phone?
SteBanVe said:
A Simple question, how can i get recovery, if for get it, i need first a root phone?
Click to expand...
Click to collapse
I think u need an unlocked bootloader. U can root using bin4ry method without unlocking bootloader but it works upto 6.1.a.2.50 only.
Sent from my LT26i using xda app-developers app
bluechelsea said:
I think u need an unlocked bootloader. U can root using bin4ry method without unlocking bootloader but it works upto 6.1.a.2.50 only.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
i have Xperia S 2.55, and bin4ry method doest work. To apply this method, i repeat my question how can i get recovery, if for get it, i need first a rooted phone?
someone755 said:
1. You need a phone with a recovery...
Click to expand...
Click to collapse
How do you suppose we get a custom recovery without using different tools or unlocking bootloader?
Yes great guide, but only for UB ... for LB you need root BEFORE you install CWM...
al with .55 FW i recomend - flash any older rootable FW, root it, install CWM ... via CWM flash stockbased rom ( KA, XTX ) and thats all... or you an flash prerooted .55 FW ....
Okay, fine, schratch that!
Use goo.im manager from the play store and install the TWRP recovery!
Problem solved, but the main point is that people don't need PCs for root!!
someone755 said:
Okay, fine, schratch that!
Use goo.im manager from the play store and install the TWRP recovery!
Problem solved, but the main point is that people don't need PCs for root!!
Click to expand...
Click to collapse
I installed the app now how do i install recovery and boot into it?
Sent from my LT26i using xda app-developers app
Start by saying I'm very new about Android and smartphone in general.
Four days ago I got my first smartphone, a Xperia Play model R800i and some friends suggested me to install ICS. I searched on the internet and I have found the Xperia Play Development forum. There, I found a really interesting ROM called "New Express ICS".
I downloaded all the files and I started to follow the guide. I'm stuck at the second point (I believe this is ridiculous): I can't get into the Recovery Mode and I didn't get if I can flash the custom kernel (bootics.img) on flash tool.
I haven't rooted my phone, it's 100% virgin, yet.
Can someone explain me what to do? I'm searching answer here and on google for three days and I'm getting even more confused.
Sorry if my english is not perfect, it isn't my first language.
You need to unlock bootloader before fastboot a kernel (bootics.img)
WARNING: THIS VOIDS WARRANTY. YOU HAVE BEEN WARNED.
jeff7424 said:
You need to unlock bootloader before fastboot a kernel (bootics.img)
WARNING: THIS VOIDS WARRANTY. YOU HAVE BEEN WARNED.
Click to expand...
Click to collapse
Thank you very much, I'm going to do this. Is this a good guide?
After that what I have to do? How I will flash the rom? Sorry for all these newbie questions.
You should read all his guides.
http://forum.xda-developers.com/showthread.php?t=1836530
First read root, then unlock bootloader, then install custom roms.
Sent from my R800i
eksasol said:
You should read all his guides.
http://forum.xda-developers.com/showthread.php?t=1836530
First read root, then unlock bootloader, then install custom roms.
Sent from my R800i
Click to expand...
Click to collapse
Thanks for the link, it's very useful! Just a question: what do you mean with "read the root"? I have to root the phone?
I rooted my phone and I found the superuser app on this. Then, I unlocked the bootloader and the superuser app disappered, is it normal?
One more thing, how I flash the custom kernel and the ROM, now?
EDIT: Fail, Superuser is installed, yet, I didn't notice that
EDIT2: Why I can't get into the recovery mode?
unlock bootloader here http://www.xperiagamer.com/Beginners-Guides/unlock-the-bootloader-ramge.html
im not responsible for any damage:good:
Gianmark said:
I rooted my phone and I found the superuser app on this. Then, I unlocked the bootloader and the superuser app disappered, is it normal?
One more thing, how I flash the custom kernel and the ROM, now?
EDIT: Fail, Superuser is installed, yet, I didn't notice that
EDIT2: Why I can't get into the recovery mode?
Click to expand...
Click to collapse
I see you unlock your bootloader, good job! Place the ROM zip into your SD card first. Next, to get into recovery mode, just fastboot the kernel you want.
-Power off phone.
-Hold search button while connecting to PC via USB
-Open flashtool, click the thunderbolt icon, select fastboot
-Select kernel to flash (select your kernel bootics.img)
-Wait for 2 seconds and voila!
After that, power on your phone, when blue LED lights up with a vibration, spam volume button / back button (depends on kernel) then you'll be able to enter recovery
Gianmark said:
One more thing, how I flash the custom kernel and the ROM, now?
EDIT: Fail, Superuser is installed, yet, I didn't notice that
EDIT2: Why I can't get into the recovery mode?
Click to expand...
Click to collapse
Again, read his guide on flashing kernel and roms: http://forum.xda-developers.com/showthread.php?t=2054512
Which kernel you flash is depended on the rom you want to use it with, you need to flash a GB kernel if you want to use GB rom, ICS kernel for ICS, etc, although some kernel are compatible with both ICS and JB. Search the development section for kernels and roms. If you flash a rom and it fail to boot, it mean the kernel currently installed is not compatible with that rom.
About ClockworkMod Recovery:
If you flash a custom kernel, it will likely have ClockworkMod Recovery included. Or if you are using stock Sony firmware, use the "CWM installer version 5" from this link to install CWM. Sometimes you will get a status 7 error when you try flashing a rom, it might mean you have to use a different version of ClockworkMod to flash that rom successfully.
First of all, thank you both!
Can I flash bootics.img in the Flashtool? The fma965's tutorial speaks about a "*.zip" file besides a "*.img" file.
Also, he says to use fastboot package that I have already used to unlock the bootloader.
EDIT: I need Busybox? What is it? I didn't get it.
Gianmark said:
First of all, thank you both!
Can I flash bootics.img in the Flashtool? The fma965's tutorial speaks about a "*.zip" file besides a "*.img" file.
Also, he says to use fastboot package that I have already used to unlock the bootloader.
Click to expand...
Click to collapse
Flash boot.img in Flashtool/Fastboot as instructions above from jeff7424:good:Zip files are what you put on your sd card and flash with cwm recovery, these can be either roms, updates to roms,zip files to change appearance, performance tweaks, too many to mention.
So .img and .ftf files use in Flashtool/Fastboot and zip files use on SD card to flash with CWM recovery.
Not to complicate it too much sometimes the boot.img comes in a .zip file you need to extract this to use in flashtool/fastboot with winra/7z unzip programs
Edit; Busybox download it with Superuser app on your phone or download a app from store to update your busybox
What is it?http://en.wikipedia.org/wiki/BusyBox
But I don't need busybox to flash kernel and ROM, right?
You can get busybox from Play Store, just search Busybox installer, install it, open the app and install busybox.
jeff7424 said:
You can get busybox from Play Store, just search Busybox installer, install it, open the app and install busybox.
Click to expand...
Click to collapse
I didn't get if I need it to flash kernel and ROM.
Root your phone with zergrush, that will give you busybox too.
jeff7424 said:
Root your phone with zergrush, that will give you busybox too.
Click to expand...
Click to collapse
http://puu.sh/1VV8Q
In that case, I've already installed it.
EDIT: What I have to click? http://puu.sh/1VVgK
"Select Kernel to flash"?
EDIT2: I don't need a custom firmware?
Yeah select kernel to flash. Nope you just need an unlocked bootloader.
I DID IT.
But I'm a bit disappointed because Crash Bandicoot disappered...
Thanks everyone, by the way.
For the future update, the phone will format again?
WARNING: Do not use SEUS to update or repair your phone since you have an unlocked bootloader, if not you'll brick your phone.
jeff7424 said:
WARNING: Do not use SEUS to update or repair your phone since you have an unlocked bootloader, if not you'll brick your phone.
Click to expand...
Click to collapse
SEUS?
I'm currently trying to follow this guide
HTML:
http://forum.xda-developers.com/showthread.php?t=1631144
to install a custom rom and I am stuck on step 2 ... ( Btw I am very new to this so i have no idea what im doing) what does it mean by "flash it" does it mean to flash the rom? if so can i do this using cwm?
I have already rooted my phone and install x-parts + cwm recovery I've also backed up my files using cwm
EDIT* I accidentally skipped part 1 and 2 ... i rooted and backed up before i could flash the firmware now that i have successfully flashed the firmware when i tried to install cwm through x-parts it says phone must be rooted but when i check my phone using flashtool it says i have root access pls help!
Xperia play R800i
locked bootloader
rooted
stock rom 2.3.4
Build number xxx.42
Miixxerr said:
I'm currently trying to follow this guide
HTML:
http://forum.xda-developers.com/showthread.php?t=1631144
to install a custom rom and I am stuck on step 2 ... ( Btw I am very new to this so i have no idea what im doing) what does it mean by "flash it" does it mean to flash the rom? if so can i do this using cwm?
I have already rooted my phone and install x-parts + cwm recovery I've also backed up my files using cwm
Xperia play R800i
locked bootloader
rooted
stock rom 2.3.4
Build number xxx.42
Click to expand...
Click to collapse
On step 2 you not yet root and install x-part ??? now i'm confuse
On step 2 it's means
You flash the file you download on step 1
using application name FlashTool (find this application somewhere in this forum)
also you need to learn how to use this FlashTool application, i think there is user name fma... he is create a lot of how to guide
(nb. i'm also like you, when first rooting android, install custom kernel, install custom rom need several days learning before
i know what i need to do)
jiprudy said:
On step 2 you not yet root and install x-part ??? now i'm confuse
On step 2 it's means
You flash the file you download on step 1
using application name FlashTool (find this application somewhere in this forum)
also you need to learn how to use this FlashTool application, i think there is user name fma... he is create a lot of how to guide
(nb. i'm also like you, when first rooting android, install custom kernel, install custom rom need several days learning before
i know what i need to do)
Click to expand...
Click to collapse
I rooted the phone and backed up before i flashed now when i installed x-part after flashing the firmware it says i need root access .. but ive already rooted the phone and when i tried to root it again it doesnt work (im using superonelick to root)
Miixxerr said:
I rooted the phone and backed up before i flashed now when i installed x-part after flashing the firmware it says i need root access .. but ive already rooted the phone and when i tried to root it again it doesnt work (im using superonelick to root)
Click to expand...
Click to collapse
After flashing FTF file, your device back to normal (that's why you need to root again, unless you using custom kernel that have auto root ability)
Better using application FlashTool, you can flash FTF file and after that you can also root using this application.
jiprudy said:
After flashing FTF file, your device back to normal (that's why you need to root again, unless you using custom kernel that have auto root ability)
Better using application FlashTool, you can flash FTF file and after that you can also root using this application.
Click to expand...
Click to collapse
I have flashed the firmware and the rom and everything is working fine atm but my android version is still 2.3.4 .... is this normal?
Because you flash gb firmware..that why you get 2.3.4... no need to be worry dude... lol
Sent from my R800i using xda app-developers app
I want to swap internal-external sdcard or mount folder app so that I can play big games with large data. For this, I rooted my phone with Impactor, and tried remount reboot fix by NUT and reboot fix by Anto Kus. But till now the phone reboots on using folder mount. Also my phone reboots while using a dual partitioned sdcard to use it with Link2sd. I have tested root checker which shows phone is rooted. I am using Titanium Backup without any problems. Should I go for bootloader unlock?
My phone xperia m dual c2004, 4.2.2, build 15.2.A.2.5.
Thanks
Sri007 said:
I want to swap internal-external sdcard or mount folder app so that I can play big games with large data. For this, I rooted my phone with Impactor, and tried remount reboot fix by NUT and reboot fix by Anto Kus. But till now the phone reboots on using folder mount. Also my phone reboots while using a dual partitioned sdcard to use it with Link2sd. I have tested root checker which shows phone is rooted. I am using Titanium Backup without any problems. Should I go for bootloader unlock?
My phone xperia m dual c2004, 4.2.2, build 15.2.A.2.5.
Thanks
Click to expand...
Click to collapse
Follow this guide step by step and dont forget to install busybox read carefully this guide
to play games i suggest you to install folder mount its better than swapping gl to sd n all
http://forum.xda-developers.com/showthread.php?t=2523597
Anmol0022 said:
Follow this guide step by step and dont forget to install busybox read carefully this guide
to play games i suggest you to install folder mount its better than swapping gl to sd n all
http://forum.xda-developers.com/showthread.php?t=2523597
Click to expand...
Click to collapse
I had already installed busybox and followed the procedure shown in the thread. The busybox is supported but inspite of root access, I can't change permissions in system files as a result the reboot fix is not working. Somewhere I read unlocking bootloader will help. Is it?
yes u must unlock bootloader for use full root access like change permission etc
mahithlal said:
yes u must unlock bootloader for use full root access like change permission etc
Click to expand...
Click to collapse
No, you don't need to unlock your bootloader to get full root access. Try this updated version of the reboot fix and then you're fully rooted...
Unlocking your bootloader will give you full root access without using root tools, exploits, etc., but many proprietary Sony apps will not work anymore because your DRM keys will be wiped when you unlock the bootloader...
mahithlal said:
yes u must unlock bootloader for use full root access like change permission etc
Click to expand...
Click to collapse
I have already backed up bootloader using TA backup and got bootloader key from Sony website. But can I claim warranty, if I restore locked bootloader? Or warranty is void, not reversible.
Unlocking your bootloader will give you full root access without using root tools, exploits, etc., but many proprietary Sony apps will not work anymore because your DRM keys will be wiped when you unlock the bootloader...[/QUOTE]
Ya, I know about the cons of unlocking bootloader. Thats why I am still waiting for other ways. I have also tried the fix by NUT from the forum which u gave link but still not fully rooted as it is unable to write in system folder. But other root operations like removing bloatware is done without any problems. Thats strange. Busybox is installed by NUT which supports part of the fix but the other scripts did not work in system.
By the your xm dual c2004 was updated to build 15.2.A.2.5 or is it from out of box like mine?
What script is basically not working
Anmol0022 said:
What script is basically not working
Click to expand...
Click to collapse
The scripts in the fix tool like killswitch.sh, etc. which needs to run to avoid reboot while mounting.
Sri007 said:
The scripts in the fix tool like killswitch.sh, etc. which needs to run to avoid reboot while mounting.
Click to expand...
Click to collapse
Well have not tried that but after rooting using that guide was able to use folder mount
Anmol0022 said:
Well have not tried that but after rooting using that guide was able to use folder mount
Click to expand...
Click to collapse
Is your phone same model and build like mine? I think it is due to the build version.
Sri007 said:
Is your phone same model and build like mine? I think it is due to the build version.
Click to expand...
Click to collapse
yes its same build 15.2.A.2.5
Stock Rom
If not working then you may update it via sony update service and reset phone
then follow guide again to root
According to guide use the same busybox as mentioned open and install it
or try from beggining again
Here are steps
use injector
install super su from google play
open and use super su
and install it binaries
install busy box x as mentioned
then open it and install allow root access if asked
then use reboot fix by NUT
follow cmd guide
and allow adb when ask permission
then phone will reboot
Then its written wait to check fix
And then its done press continue
done
use folder mount have fun
then
My C2004 also have full root access with locked bootloader, just updated to 15.2.A.2.5 through Sony Update Service, used Cydia Impactor, installed SuperSU from Play Store and then ran the script I linked to you. After all I have full root access, can remount system without problems and my bootloader still locked...
Anmol0022 said:
yes its same build 15.2.A.2.5
Stock Rom
If not working then you may update it via sony update service and reset phone
then follow guide again to root
According to guide use the same busybox as mentioned open and install it
or try from beggining again
Here are steps
use injector
install super su from google play
open and use super su
and install it binaries
install busy box x as mentioned
then open it and install allow root access if asked
then use reboot fix by NUT
follow cmd guide
and allow adb when ask permission
then phone will reboot
Then its written wait to check fix
And then its done press continue
done
use folder mount have fun
then
Click to expand...
Click to collapse
I have again followed the procedure as you mentioned. Everything worked except the fix. While waiting to check the fix, the phone reboots again. I am attaching the snapshots of the terminal window from which you may know the problem.
Its seems that is problem of busy box Bcoz it should show something like this
Anmol0022 said:
Its seems that is problem of busy box Bcoz it should show something like this
Click to expand...
Click to collapse
Ya, I know I have seen in a tutorial video on youtube. So, what's the solution you think? Which version of Busybox are you using?
Sri007 said:
Ya, I know I have seen in a tutorial video on youtube. So, what's the solution you think?
Click to expand...
Click to collapse
Well after installing busy box you have to open the app then in app you have to click install something like that have you done it
Anmol0022 said:
Well after installing busy box you have to open the app then in app you have to click install something like that have you done it
Click to expand...
Click to collapse
Ya, I have installed in normal mode busybox version 1.21.0, but on using the fix, it was replaced with busybox version 1.20.2-jb which support nohup or something. Which version of Busybox have you installed?
Sri007 said:
Ya, I have installed in normal mode busybox version 1.21.0, but on using the fix, it was replaced with busybox version 1.20.2-jb which support nohup or something. Which version of Busybox have you installed?
Click to expand...
Click to collapse
The same as mentioned from google play
Busy Box X by Robert
https://play.google.com/store/apps/details?id=com.bitcubate.root.busybox.complete&hl=en
Download it again
from above link install it open it install then try fix again
Anmol0022 said:
The same as mentioned from google play
Busy Box X by Robert
https://play.google.com/store/apps/details?id=com.bitcubate.root.busybox.complete&hl=en
Download it again
from above link install it open it install then try fix again
Click to expand...
Click to collapse
I tried to download it but the play store says it is not available in your country. Can you send me the apk?
Hello, I have unlocked my bootloader and tried to root by hotbooting into the Doomlord Kernel with 6.0.4.6 CWM Recovery and installing the zip for SuperSU / Koush Superuser (tried both and the result is the same for either).
The problem is that the SuperSU/Superuser app will work fine and seems to grant access to read files in areas you normally need root for to read (eg data/data), however, if I try to delete a system app (like Facebook) with any root File Explorer after mounting system R/W it will fail to delete. I also cannot install things like Busybox using stericsson's tool as it will just fail. Other root apps like System cleanup do not delete either.
I did not have this problem in the 4.3 build (though I used the Docomo method with locked bootloader here).
Any ideas? Something to do with the SELinux??
paul5425 said:
Hello, I have unlocked my bootloader and tried to root by hotbooting into the Doomlord Kernel with CWM Recovery and installing the zip for SuperSU / Koush Superuser (tried both and the result is the same for either).
Click to expand...
Click to collapse
You need to use the kernel, not hot boot it, reverting to the stock kernel is why you're having issues.
XperienceD said:
You need to use the kernel, not hot boot it, reverting to the stock kernel is why you're having issues.
Click to expand...
Click to collapse
Thanks! That did the trick. I assume this must be a Sony-specific thing requiring some specific kernel changes? Perhaps I am mistaken, but I thought I remembered being able to hotboot Nexus devices and just root by flashing the Superuser zip.
paul5425 said:
Thanks! That did the trick. I assume this must be a Sony-specific thing requiring some specific kernel changes?
Click to expand...
Click to collapse
It is yes.
XperienceD said:
You need to use the kernel, not hot boot it, reverting to the stock kernel is why you're having issues.
Click to expand...
Click to collapse
Actually, there IS a way to hot-boot into CWM recovery with a custom kernel and then obtain root on your stock firmware/kernel. The problem is caused by Sony's RIC security feature which denies access to writing the /system partition, meaning that you only get a partial root . Solution involves running a command at every boot : http://forum.xda-developers.com/showpost.php?p=53085489&postcount=225