[Q]Maual Rooting - Galaxy S III Q&A, Help & Troubleshooting

Hi All,
In my quest to learn a little more about my device, I've decided that I want to know how rooting is actually done manually. Where it stands, my device is currently rooted using a CF Autoroot Odin flashable (recovery?).
I saw that Super SU provides a CWM flashable zip but I suspect that it's the same as sideloading the application or installing it from the store and that won't be enough to get rooted. Or is it?

Bumping my thread :laugh:

oreo27 said:
Hi All,
In my quest to learn a little more about my device, I've decided that I want to know how rooting is actually done manually. Where it stands, my device is currently rooted using a CF Autoroot Odin flashable (recovery?).
I saw that Super SU provides a CWM flashable zip but I suspect that it's the same as sideloading the application or installing it from the store and that won't be enough to get rooted. Or is it?
Click to expand...
Click to collapse
(1) please read the FAQ and stickies to understand what rooting is and why CF autoroot has nothing to do with recovery
(2) cf autoroot, if I am not wrong, but I might be, injects files that will enable you to have full access to the device, after that for instance you can flash a new recovery, use apps that need root etc. super user is the app to control which apps you allow to obtain root.

chrismast said:
(1) please read the FAQ and stickies to understand what rooting is and why CF autoroot has nothing to do with recovery
(2) cf autoroot, if I am not wrong, but I might be, injects files that will enable you to have full access to the device, after that for instance you can flash a new recovery, use apps that need root etc. super user is the app to control which apps you allow to obtain root.
Click to expand...
Click to collapse
I've read and followed the procedure for rooting ang flashing with a custom recovery previously but I've followed your suggestion and re-read it anyway, in case I missed something or my memory loss kicked in again.
Perhaps you are correct. I was a little confused since I flashed it with Odin as well but come to think of it; it's like an upgrade package that, as you mentioned, uploads files to the device that give Superuser Access.
after that for instance you can flash a new recovery
Click to expand...
Click to collapse
I've flashed a custom recovery before rooting but I suppose that only applies to some devices. Samsung is great because it has Odin!
Alright, so SuperSU only allows me to control what applications require root access (something like User Account Control for Windows).
Thanks for clearing that up!
As for my original question, the manual rooting process and what's required to gain root access seems undocumented since there are a ton of methods to accomplish it automatically. I hope someone can point me to the right place to understand what CF Autoroot or other apps actually do to gain root.

Related

[Q] No superuser permission after following root procedure

Hi all,
I rooted my galaxy s 2 a few weeks back with no problems. I followed the dummy's guide on a different forum, using odin and flashing a new kernel.
But then I decided to unroot which I did with no problems either -I went into the superuser app and checking the unroot box which uninstalled superuser and removed root on the phone (it left CWM though).
Today, I've decided to reroot it like I did the first time. However, this time superuser didn't install and I don't have root access at all.
Any ideas on what I should do?
...
MistahBungle said:
Given you're using a method from a different site that people here may not have experience with, no idea. Me, I'd flash a CFRoot kernel (assuming you have an I9100 or I9100T; if you don't, do not flash one of these kernels. You might end up bricking your phone). Instructions in this thread are very clear, take your time & read the first page thoroughly & make sure you understand the process clearly before you try it. The section in bold red which says 'Help ! Which file do I use ?' has the info which will help you work out which CFRoot kernel to use.
Click to expand...
Click to collapse
Thanks for the reply MistahBungle. That's exactly the process that I followed. Didn't have any problems with the rooting process - downloaded the LP9 kernel, entered phone into download mode, and flashed the kernel using Odin. Got the yellow triangle.
I suspect the problem arose because I 'unrooted' it through the superuser app, which then got rid of the superuser app?
Today, I tried following the same process but superuser won't uninstall. I downloaded the root checker basic app which also said the galaxy s 2 doesn't have root permission even though I followed the same process.
MistahBungle said:
Given you're using a method from a different site that people here may not have experience with, no idea. Me, I'd flash a CFRoot kernel (assuming you have an I9100 or I9100T; if you don't, do not flash one of these kernels. You might end up bricking your phone). Instructions in this thread are very clear, take your time & read the first page thoroughly & make sure you understand the process clearly before you try it. The section in bold red which says 'Help ! Which file do I use ?' has the info which will help you work out which CFRoot kernel to use.
Click to expand...
Click to collapse
Thanks for the reply MistahBungle. That's exactly the process that I followed. Didn't have any problems with the rooting process - downloaded the LP9 kernel, entered phone into download mode, and flashed the kernel using Odin. Got the yellow triangle.
I suspect the problem arose because I 'unrooted' it through the superuser app, which then got rid of the superuser app?
Today, I tried following the same process but superuser won't uninstall. I downloaded the root checker basic app which also said the galaxy s 2 doesn't have root permission even though I followed the same process.
MistahBungle said:
Edit - Although first up, before you do anything else, have you tried installing Su from Google Play ?
Click to expand...
Click to collapse
Yes I have downloaded and installed the superuser app from the market, but it doesn't have any root permissions I don't think. I also tried opening up the CWM app but it says it needs SU permissions (which it doesn't have because SU is not installed and I cant seem to root it).
What to do? I'm thinking of trying another root method on xda i.e. the busybox one that doesn't require flashing an unstable kernel.
Edit - Although first up, before you do anything else, have you tried installing Su from Google Play ?[/QUOTE]
Yes I have downloaded and installed the superuser app from the market, but it doesn't have any root permissions I don't think. I also tried opening up the CWM app but it says it needs SU permissions (which it doesn't have because SU is not installed and I cant seem to root it).
What to do? I'm thinking of trying another root method on xda i.e. the busybox one that doesn't require flashing an unstable kernel.
...

[SOLVED] Root Checker shows root, but apps don't gain root access. why?

Hi, i am a complete noob.
I recently rooted my phone without flashing a new kernel using the cwm recovery mod busybox installer on this site. However, since then i have updated my firmware over kies but not a full update, just a small one. Now although root checker says i have root, my root apps can't gain root access. Would really appreciate any help oli could get on this matter.
Running XWLPI on my phone. Any more info needed i can provide but dont know what is required.
Yarun
EDIT: The link in the first reply worked, I used the unroot all file to clear everything and then the signed superuser only file to root. worked like a charm
yarun said:
Hi, i am a complete noob.
I recently rooted my phone without flashing a new kernel using the cwm recovery mod busybox installer on this site. However, since then i have updated my firmware over kies but not a full update, just a small one. Now although root checker says i have root, my root apps can't gain root access. Would really appreciate any help oli could get on this matter.
Running XWLPI on my phone. Any more info needed i can provide but dont know what is required.
Yarun
Click to expand...
Click to collapse
Check this one
http://forum.xda-developers.com/showthread.php?t=1746794
yarun said:
hi, i am a complete noob.
I recently rooted my phone without flashing a new kernel using the cwm recovery mod busybox installer on this site. However, since then i have updated my firmware over kies but not a full update, just a small one. Now although root checker says i have root, my root apps can't gain root access. Would really appreciate any help oli could get on this matter.
Running xwlpi on my phone. Any more info needed i can provide but dont know what is required.
Yarun
Click to expand...
Click to collapse
重新root一次,方便的话重新刷rom。
yarun said:
Hi, i am a complete noob.
I recently rooted my phone without flashing a new kernel using the cwm recovery mod busybox installer on this site. However, since then i have updated my firmware over kies but not a full update, just a small one. Now although root checker says i have root, my root apps can't gain root access. Would really appreciate any help oli could get on this matter.
Running XWLPI on my phone. Any more info needed i can provide but dont know what is required.
Yarun
Click to expand...
Click to collapse
Download Superuser from Play store
S2 - Powered by NeatROM
For stock ROMs SuperSU will be better.
/This http://forum.xda-developers.com/showthread.php?t=1538053

[Q] unroot but still keep custom rom

I wonder if its possible to flash a custom Rom, mod it the way you want and than "unroot" (don't have root access in android) it. recovery is ok.
I just don't want any app get root access.
is it maybe just to uninstall SuperUser app?
Thanks for your Help.
You can do as you say root flash custom rom remove root .
jje
JJEgan said:
You can do as you say root flash custom rom remove root .
jje
Click to expand...
Click to collapse
Hi, i need to do this too because my company requires MobileIron to access email and it checks for root. How exactly do you remove root after installing the custom rom? Do I just uninstall Superuser? I found a thread from another phone that said you could just rename the following to files:
/system/app/superuser
/system/bin/su
It said to append .bak to the end which I guess allows restoring it later if needed. Will this work, particularly with MobileIron? Thanks.
MIUI or CM roms?
Maybe trying to stop the service that's checking for root will be a better idea...
You can still use MIUI or CM based roms, there is an option to turn off root access.
if you use super user, just open the app. There is a button to remove root
files...
Files...
I am trying to accomplish the same thing with MobileIron. Has anybody tested this by removing root manually after flashing a custom rom?
xeni said:
I am trying to accomplish the same thing with MobileIron. Has anybody tested this by removing root manually after flashing a custom rom?
Click to expand...
Click to collapse
I installed ARHD 21. Came from pure stock. After mucking around with what I needed for root, like changing the camera shutter sound to make it silent, I then did the unroot in SuperSU's settings. Rebooted then went into MI and was able to connect to company email. FYI, I tried to connect to company email before doing the unroot and I couldn't connect. I'm hoping ARHD will give me better battery life than stock. I also installed the 23 toggles theme before unrooting but I'm not sure if you have to do it before unrooting but I figured might as well. Hope it works for you.
Oh, if your company requires encryption like mine does, if you use ARHD the encryption unlock screen when you first boot is all in Polish. You just type in your pin or password but it's a little annoying. Everything else from what I can tell on ARHD can be changed to English once you select the language. If you figure out how to change the Polish from the unlock screen, let me know. Thanks.
I found this online
Zirus69 said:
I wonder if its possible to flash a custom Rom, mod it the way you want and than "unroot" (don't have root access in android) it. recovery is ok.
I just don't want any app get root access.
is it maybe just to uninstall SuperUser app?
Thanks for your Help.
Click to expand...
Click to collapse
Well... I was searching once about a topic similar to this one and I found that you can unroot manually by deleting the following files (if found (all of them)):
/system/bin/busybox,
/system/xbin/busybox,
/system/bin/su,
/system/xbin/su,
/system/app/superuser
Then reboot and you should have unrooted your phone!
I haven't tried this yet!! But anyway here's the source:
androidtipsz/two-simple-methods-to-unroot-any-rooted-android-device. It's dot com but I can't put links
Hope this helps! I know it may be frustrating! Good luck!
For those with MobileIron.
Read up and install xposed, then read up and install rootcloak.

[Q] Rooting issue since new patch

Greetings all!
I have been a long time user, first time poster, but have rooted my phone many times with success, however after a mini update today, the rootkit I used last time kind of worked, however most of the root functionality no longer works. I assume im just using an out of date rootkit.
Model: GT-i9300
Android Version: 4.1.2
Baseband: i9300BVELK1
Build: JZO54K.i9300XXELLA
The device does say modified but the apps still function as if it isn't rooted.
I am on Orange France Telecom living in France, using the handset from Orange. Which software download do I need to get the root working correctly please? I have checked alot of the guides but all point to what I assume is an out of date rootkit.
Thank you for your response in advance.
You can try updating the binaries from within the app.
And please don't ask questions in General
Glebun said:
You can try updating the binaries from within the app.
And please don't ask questions in General
Click to expand...
Click to collapse
How do I do that please? I am concerned I will break my phone if I mess too much. Very much a beginner with rooting outside of the guides.
Go to the superuser app and do it there
Glebun said:
Go to the superuser app and do it there
Click to expand...
Click to collapse
I may have been unclear, I don't know what the phrase "updating a binary" means. Thank you for taking an interest in helping though.
Also the version of the root software was Odin 1.64 I think (working from memory as not at home right now).
Bastrion said:
I may have been unclear, I don't know what the phrase "updating a binary" means. Thank you for taking an interest in helping though.
Also the version of the root software was Odin 1.64 I think (working from memory as not at home right now).
Click to expand...
Click to collapse
Does anyone have any advice on how to fix this please? I am sitting at home now and I think I was using 1.85 Odin not 1.64. Why does my device say modified but still won't give me root access to apps etc.
Bastrion said:
Does anyone have any advice on how to fix this please? I am sitting at home now and I think I was using 1.85 Odin not 1.64. Why does my device say modified but still won't give me root access to apps etc.
Click to expand...
Click to collapse
You should root using this its ptobably the best and easiest way
http://forum.xda-developers.com/showthread.php?t=1957273
Download the zip from post 3 extract the MD5 file and flash via odin 1.85 is ok
Ok...
The problem being is that the root hasn't worked. I get through the root, but each time in the past, it does some file verifying where it says "verifying 1 of 145 files" or something similar, and then adds SUser and CWM - It doesn't do this after this root, and the phone, while saying rooted, won't work as a rooted phone. All my unlicensed apps now fail to load.
I really think that the micro update installed via KIES today needs a new rootkit. I tried the above update, and all that did was delete the Super User app too >_<
Thank you for your patience so far. This stuff is very complicated outside of the normal rooting.
Bastrion said:
The problem being is that the root hasn't worked. I get through the root, but each time in the past, it does some file verifying where it says "verifying 1 of 145 files" or something similar, and then adds SUser and CWM - It doesn't do this after this root, and the phone, while saying rooted, won't work as a rooted phone. All my unlicensed apps now fail to load.
I really think that the micro update installed via KIES today needs a new rootkit. I tried the above update, and all that did was delete the Super User app too >_<
Thank you for your patience so far. This stuff is very complicated outside of the normal rooting.
Click to expand...
Click to collapse
If you use CF Auto Root and lose SU just download SU from the market, this one
https://play.google.com/store/apps/details?id=eu.chainfire.supersu&feature=search_result#?t=W251bGwsMSwyLDEsImV1LmNoYWluZmlyZS5zdXBlcnN1Il0.
CF Auto root doesn't contain CWM you need to install that seperately or install TWRP recovery
ag4751 said:
If you use CF Auto Root and lose SU just download SU from the market, this one
https://play.google.com/store/apps/details?id=eu.chainfire.supersu&feature=search_result#?t=W251bGwsMSwyLDEsImV1LmNoYWluZmlyZS5zdXBlcnN1Il0.
CF Auto root doesn't contain CWM you need to install that seperately or install TWRP recovery
Click to expand...
Click to collapse
Ok so made a bit of progress, got the SuperSU on there again, but apps still function as unlicensed. This was all working fine until the update this morning, but at least we are progressing.
Still haven't solved it. Some apps work, some don't. I even tried Lucky Patcher, no joy.

Phone is rooted but superuse won't give root access

So I have a Starmobile Quest which is a local smartphone and I rooted it using a chinese rooting program called iroot, formerly vroot, as suggested by people using the same phone. At first the superuser app(which is a Chinese one) is working fine and I could use apps requiring root access but suddenly, something happened and now it won't give root access to any of the apps. I think, maybe root was somehow removed, and downloaded the root checker app and when I ran it, it told me that I wasn't rooted.
So I unrooted my phone using iroot and it was successful and again rooted it which was again successful. I go and run root checker again and I was surprised to see that I wasn't rooted. From there I repeated the unrooting and rooting process several times and still nothing. What I did notice was that whenever iroot was checking whether my phone was rooted, a pop up would appear on my phone which is from the superuser app asking for permission to give "shell" root access and I would always say yes.
I believe that my phone is actually rooted but the superuser app isn't promting me for root access whenever I use apps that require root, plus there is no log saved except for the "shell" one. I tried changing root access manager app to supersu and when I run it it tells me that it needs to update su binary. I click yes and use the normal method(I don't have cwm) and it tells me it's installing but after awhile I receive an error saying "installation failed. try rebooting.". I reboot my phone and try updating again and it still fails.
I tried everything the internet threw at me, reroot, factory reset, clear data, clear cache, etc and nothing's working. Can someone help me here?
Note: I can't find a stock/custom rom for my device. So flashing roms isn't an option for me.
Bump.
have you tried to flash another version of superuser?
Crom4rtie said:
have you tried to flash another version of superuser?
Click to expand...
Click to collapse
How do I do that?
black_fire21 said:
How do I do that?
Click to expand...
Click to collapse
go to your recovery and go to install zip ..choose your zip ..or just download supersu from the playstore
Crom4rtie said:
go to your recovery and go to install zip ..choose your zip ..or just download supersu from the playstore
Click to expand...
Click to collapse
Do you need a custom recovery for that? Because the model of the phone doesn't have a custom recovery yet.
Also, I tried to install supersu from the play store and it didn't work.
black_fire21 said:
Do you need a custom recovery for that? Because the model of the phone doesn't have a custom recovery yet.
Also, I tried to install supersu from the play store and it didn't work.
Click to expand...
Click to collapse
yes you need a custom recovery...but if the su from the playstore didn´t work then will this also not work
Crom4rtie said:
yes you need a custom recovery...but if the su from the playstore didn´t work then will this also not work
Click to expand...
Click to collapse
Damn it. I guess I'll have to wait till they make a stock rom which I think isn't gonna happen since it's been half a year since the phone is released and there hasn't been any development.
Last question, Is it possible to flash your phone using a computer?
black_fire21 said:
Damn it. I guess I'll have to wait till they make a stock rom which I think isn't gonna happen since it's been half a year since the phone is released and there hasn't been any development.
Last question, Is it possible to flash your phone using a computer?
Click to expand...
Click to collapse
Yes absolutely. Just note that there are no rooting apps on the Play Store. Simply downloading SuperSU or Superuser will NOT root your phone. You need to be rooted first, and if the SuperSU or Superuser app isn't automatically installed, then once you root you can install SuperSU or Superuser to manage apps that require root.
Popular methods of rooting include z4root, framaroot, MTKTools and iroot (or vroot)
Z4root and framaroot are both android applications which you will need to get from their sites or XDA (just run a search). MTKtools and iroot/vroot are computer applications and use ADB. MTKTools can also create a custom recovery for your device, though I don't remember the process too well.
Once you're rooted you will either have your Superuser app installed or you'll have to install it yourself (I personally prefer SuperSU). I also recommend installing busybox as well.
Hope that helps.
Don't forget to hit the thanks button if I helped you~
SeraphSephiroth said:
Yes absolutely. Just note that there are no rooting apps on the Play Store. Simply downloading SuperSU or Superuser will NOT root your phone. You need to be rooted first, and if the SuperSU or Superuser app isn't automatically installed, then once you root you can install SuperSU or Superuser to manage apps that require root.
Popular methods of rooting include z4root, framaroot, MTKTools and iroot (or vroot)
Z4root and framaroot are both android applications which you will need to get from their sites or XDA (just run a search). MTKtools and iroot/vroot are computer applications and use ADB. MTKTools can also create a custom recovery for your device, though I don't remember the process too well.
Once you're rooted you will either have your Superuser app installed or you'll have to install it yourself (I personally prefer SuperSU). I also recommend installing busybox as well.
Hope that helps.
Don't forget to hit the thanks button if I helped you~
Click to expand...
Click to collapse
So how do I do that?
Hello my buddy so I 've read your thread, there are many apps to do root like root master, framaroot, towel root, towelpieroot. And the way to install super su is doing again the root. And after to install it again.
These apps to do root.
YAMALILLO JR said:
These apps to do root.
Click to expand...
Click to collapse
Okay so some of those do. But not all are supported anymore.
---------- Post added at 04:47 AM ---------- Previous post was at 04:11 AM ----------
black_fire21 said:
So how do I do that?
Click to expand...
Click to collapse
So MTKTools can be found scattered all over XDA, and Framaroot has a dedicated thread (which I cannot link right now as I am on my phone). If memory serves, Jellybean and below had Dev options enabled by default. If not, go to settings -> About Device and tap on the build number several times until your dev options are enabled. Then simply enable USB debugging. When you plug in your device you may need to authenticate your PC to use the Debug bridge. Just hit accept. (I'm sure that you were aware of how to enable ADB but I felt I had to explain anyway)
I assume you have the ADB drivers for your device, but if not, there is a naked USB driver installer floating around XDA (I really would only trust XDA with stuff like this)
With ADB enabled you can use the iroot and MTKTools PC applications. Both are generally straightforward but don't hesitate to ask me if you have a question.
With the APK apps you can get from XDA and abroad, you can root the device somewhat easily.
Framaroot (last time I used it) has four options for rooting (latest version is 1.9.3) you will see all info you need on that thread.
Z4 root I do not recommend. It is somewhat outdated now, though you might want to try it as a last resort
Towelroot is fairly simple as well. Simply download and run the app and you'll either get root or you won't.
My personal recommendations are MTKTools for a pc toolkit (seeing as it can compile a custom recovery too, which it did for my Lenovo S6000)
For apk rooting, I suggest Framaroot. I've never had any problems with it thus far.
I hope that explained it enough but if not, don't hesitate to ask questions. After all, you never learn if you don't ask ^-^
Nevermind guys. I downloaded a bunch of rooting programs and tried them. Root Genius worked and now I have root access. Thanks for replying to this thread.
ReInstall SuperSU and check with Android Terminal Emulator.
Ok dudes just i share this thread, cuz i like to help other dudes that they are juniors or they're beginning .

Categories

Resources