[Q] Can I get SU on a stock ROM? - Android Software/Hacking General [Developers Only]

I need root access via shell. I have seen su apps out there that require a rooted phone. I don't want to muck with my ROM other than to gain root access via shell.
Are there any free packages that I can install to do this?

unrevoked 3. Follow those steps to root. Very easy. Ounce u have s-off ur rooted on stock Rom. But trust me ounce u root your gonna wanna learn more than just using SU apps.
r0cky.Da.3v0.SU

Thanks, that got me what I wanted and more. I ran the backup from the recovery boot. Where did the backup get written to?

No problem. It was written to the SD clockworkmod folder.
r0cky.Da.3v0.SU

Related

S-OFF But not rooted?

Do I need to do something else? I used Alpha what ever its called, all wen't fine, S-OFF but tried Titanium back up and am told it needs root access, tried screenshot and it wont work?
Tried the process again but it won't let me, says I already have S-OFF
You need to root the phone first using Gingerbreak.
You need to use ginger break http://forum.xda-developers.com/showthread.php?t=1044765
det66 said:
You need to use ginger break http://forum.xda-developers.com/showthread.php?t=1044765
Click to expand...
Click to collapse
It all seems very complicated
slugger09 said:
It all seems very complicated
Click to expand...
Click to collapse
Not at all mate. Just download the gingerbreak .apk file to your sd card, open it & it will install gingerbreak on your phone. Then once this is done go to the gingerbreak app and run it. It will root phone but you will need to do a manual reboot afterwards. Don't worry if it says something along the lines of things went wrong, just go ahead and reboot.
Peace
All you do is download and install it then click root in the app then reboot the device you should get an error before you do a reboot then you should see super user then go to rom manager cwm
slugger09 said:
It all seems very complicated
Click to expand...
Click to collapse
Sent from my HTC Desire S using XDA App
S-OFF allows you to obtain root access. In Linux terminology, root is a user with total permission over the machine. In terms of Android, all you need to know is that it's the Superuser app and a binary (executable file) called su, that needs to be installed in the /system partition. S-ON disallows you from touching the /system partition. So even though you turned off security, you didn't actually install su and Superuser.
FYI: Su is not an application, it's a command.
All done now. Thanks for your help.
Sent from my HTC Desire S using XDA Premium App

Need help removing Superuser

I updated my Droid X to 2.3.3 and forgot to unroot my phone and now Superuser is stuck there,I need help on how to flash it.I think that's the only way possible to bring my phone back to stock.
I'm pretty sure you can do this through adb. I think the command is...."adb shell rm (name for superuser apk). Someone please correct me if I'm wrong. This will delete the superuser apk from your phone by the way.
backup your rom and then flash an official rom

[Q] Super User not working, no CWM how to unroot??

Okay, first off, I have searched. For the last 3 hours I have searched!!
I foolishly used Razorclaws one-button root method and it worked, However everything after that point has been an utter failure. I tried to flash recovery, and nothing. I tried using CWM, and nothing. I open Super User and it just closes. I don't know what else to do. Yes, I saw post 275 in the razorclaw thread, but when I put in the command list, it tells me it doesn't recognize the command. I previously had a Nook Color and had the easy adb installed. I don't know if this is my problem. I have a B70 transformer, I just want to unroot. I tried the Super User update fixer, nothing. The Transformer is running fine, I get force closes on some apps. I just want to return to stock. Any help will be greatly appreciated.
I unrooted it. But the superuser apk remains in the app drawer. Is there any harm that can be done by having it? I would like to 'successfully' root and flash a rom, but judging from my inability to flash recovery using the one-button method I will wait. I would love to overclock this beast!
You can delete this thread, I apologize for wasting time and resources!
have you tried rebooting and then re-rooting?
how did you unroot ?
Sent from my tf101 using xda premium 1.54Ghz
To get rid of Super user app and binary
http://forum.xda-developers.com/showpost.php?p=19505946&postcount=221
Also if you want to try again and get SU working you can try this
http://forum.xda-developers.com/showthread.php?p=19555429
Thanks for the replies
I did not reboot and reroot, I did have to download the SDK in order to use the adb functions. I used the info provided by doaist to remove su permissions, I suppose. When I checked through the razorclaw app, and terminal. I was not given su access. So, I assumed I didn't have su permission.
And as soon as I try to get into the adb shell and type 'su' it says 'permission denied' , I don't know what else to do to remove it.
Thanks for your input guys, it means a lot.
Okay, so I redownloaded said apps, and I am now performing a backup. Which rom should I use? Which rom will allow me to retain stock functionality , and which OC kernal should I use. Is there a rom that has both?
When flashing recovery, does it go to the emmc or the extrernal sd???
woundedworld said:
When flashing recovery, does it go to the emmc or the extrernal sd???
Click to expand...
Click to collapse
External micro sd card

[Q] What gives you root?

What part of rooting a phone gives you root?
Does installing CWM recovery enable root access?
Or does installing the superuser.zip file give it?
In other words, what is preventing you in a stock system from obtaining root?
daystrom said:
What part of rooting a phone gives you root?
Does installing CWM recovery enable root access?
Or does installing the superuser.zip file give it?
Just trying to have a basic understanding of the process and how it works.
Click to expand...
Click to collapse
CWM is just recovery, it is NOT root
rooting is simple. people think of it as some voodoo, but its not.
when you root, you are adding 2 files to your /system
/system/app/Superuser.apk
and
/system/bin/su
su is the binary that allows Superuser.apk to grant root permissions to you the user, or to an app that is requesting it (assuming you grant the permission when prompted)
rooting isnt some magical process, it actually has nothing to do with anything OUTSIDE of the OS.
if you use CWM to flash a rooted rom, then you have root in that rom.
if you use CWM to flash a non-rooted rom, then you will not have root, plain and simple. you will still have CWM, but no root.
the 2 items (cwm and superuser/root) are NOT equivalent
Great info!
What is stopping you however from adding those files to a stock system? CWM recovery has to be installed first to install the su files. Why?
daystrom said:
Great info!
What is stopping you however from adding those files to a stock system? CWM recovery has to be installed first to install the su files. Why?
Click to expand...
Click to collapse
if you are booted into CWM you have read/write access to /system which allows you to add the necessary files for you to gain root access.
if you are booted into the OS, /system is mounted as read-only and you would have to rely on an actual exploit of the OS in order to 'temp-root' so that the rooting tool can gain the read/write access it needs to inject the root files. since 2.3.6 fixed all the current exploits CWM is required for rooting, until someone finds an exploit in 2.3.6 that allows them to gain that temp access .
you can completely add those files to a stock system, assuming you install CWM or are on an android version < 2.3.6
on 2.3.5 you could use the zergrush exploit to get permanent root without having to flash anything in ODIN to gain CWM...in fact, on 2.3.5 you can root your stock system and never even install CWM or go any farther than rooting it.
Awesome, I appreciate your knowledge!
Pirateghost said:
if you are booted into CWM you have read/write access to /system which allows you to add the necessary files for you to gain root access.
if you are booted into the OS, /system is mounted as read-only and you would have to rely on an actual exploit of the OS in order to 'temp-root' so that the rooting tool can gain the read/write access it needs to inject the root files. since 2.3.6 fixed all the current exploits CWM is required for rooting, until someone finds an exploit in 2.3.6 that allows them to gain that temp access .
you can completely add those files to a stock system, assuming you install CWM or are on an android version < 2.3.6
on 2.3.5 you could use the zergrush exploit to get permanent root without having to flash anything in ODIN to gain CWM...in fact, on 2.3.5 you can root your stock system and never even install CWM or go any farther than rooting it.
Click to expand...
Click to collapse
OK sorry just to clarify if we used a oneclick method to root that utilizes the zergrush exploit on 2.3.5 then we will be able to get the ICS OTA update when it comes next year?
All I did was follow the instructions provided on this link:
http://www.addictivetips.com/mobile...s-ii-skyrocket-on-gingerbread-with-one-click/
which says that the root method i used is: "This is why, Shabbypenguin and the team at Android Creative Syndicate have brought us the Easy Root for the Skyrocket. The script, uses the brilliant zegrush exploit and will have your device rooted in no time."
After rooting I used bloat freezer to "freeze" bloatware because i've read elsewhere that completely uninstalling could prevent you from getting OTAs correctly.
Sorry I'm such a noob at this...
You need stock recovery and bloatware can be frozen but not deleted
---------- Post added at 03:36 PM ---------- Previous post was at 03:33 PM ----------
Thats all. You dont have to use the oneclick to be able to get an ota. You . can use the odin method then flash the stock recovery.tar. its so simple. You can root use cwm recovery then if theres an ota just odin the stock tar. And u can take the ota

[Q] How do I temporarily "unroot" device?

Hello,
I need to unroot by ICS ROM temporarily so I can install and run certain application, how do I do that with minimum amount of work?
Thanks,
G
Questions belong in Q&A. Moved
artisticcheese said:
Hello,
I need to unroot by ICS ROM temporarily so I can install and run certain application, how do I do that with minimum amount of work?
Thanks,
G
Click to expand...
Click to collapse
i cant c y u would have to unroot, it shouldnt matter as apps dont care if it is rooted or unrooted, correction some apps u have to b rooted to work properly.
do u actually get an error message when trying to install an app
the only way is to restore back to stock, or if u just rooted ur stock firmware, meaning u didnt flash a rom, u can try flashing the system.img file, that might work but i never heard of any1 doing that
Yes, application refuses to work telling me that "rooted" phones are not supported. So basically it installs, checks if phone is rooted and refuses to proceed. I hoped I can flash something in CMW to temporarely unroot, then run application, let it do it one time thing (I need to run this application only once successfully) and then I root back in CWM again.
artisticcheese said:
Yes, application refuses to work telling me that "rooted" phones are not supported. So basically it installs, checks if phone is rooted and refuses to proceed. I hoped I can flash something in CMW to temporarely unroot, then run application, let it do it one time thing (I need to run this application only once successfully) and then I root back in CWM again.
Click to expand...
Click to collapse
dont think there is a temporary unroot method, going back to stock was the true method to unrooting, which app were u trying to install.
u can trying going back to stock, installing app, let it do its thing, backup with tibu or some other backup, reroot and then restore backup of app.....maybe wont work as restoring a backup is actually reinstalling the app
edit: try this i havent so try at ur own risk http://www.thespicygadgematics.com/2012/06/how-to-easily-unroot-any-android-phone.html it seems easy enough, i didnt think it was possible but it seems to b
artisticcheese said:
Hello,
I need to unroot by ICS ROM temporarily so I can install and run certain application, how do I do that with minimum amount of work?
Thanks,
G
Click to expand...
Click to collapse
Using root explorer or ES File Explorer, mount system as r/w, delete /system/app/Superuser.apk, /system/bin/su or /system/xbin/su (it will be in one of those two places), and then reboot. done.
cschmitt said:
Using root explorer or ES File Explorer, mount system as r/w, delete /system/app/Superuser.apk, /system/bin/su or /system/xbin/su (it will be in one of those two places), and then reboot. done.
Click to expand...
Click to collapse
thats deleting the app the rooted the phone, but does it actually undo the rooting process, the system files the app changed to make it rooted r still there, the way to check is if u do delete su app, c if root explorer can can mount ur system folder to r/w, or op can c if it the app does install after deleting su.
actually u need su to grant su, so that might not b a good test
cschmitt said:
Using root explorer or ES File Explorer, mount system as r/w, delete /system/app/Superuser.apk, /system/bin/su or /system/xbin/su (it will be in one of those two places), and then reboot. done.
Click to expand...
Click to collapse
Thanks,
How do I root back after that though?
vincom said:
thats deleting the app the rooted the phone, but does it actually undo the rooting process, the system files the app changed to make it rooted r still there, the way to check is if u do delete su app, c if root explorer can can mount ur system folder to r/w, or op can c if it the app does install after deleting su.
actually u need su to grant su, so that might not b a good test
Click to expand...
Click to collapse
The superuser cwm zip installs su and superuser.apk, that's it. There are no other modified apps.
You can remove busy box also if you like, but it's not much use without su.
artisticcheese said:
Thanks,
How do I root back after that though?
Click to expand...
Click to collapse
Flash superuser zip in cwm.
cschmitt said:
The superuser cwm zip installs su and superuser.apk, that's it. There are no other modified apps.
You can remove busy box also if you like, but it's not much use without su.
Click to expand...
Click to collapse
kool. i learn something everyday
There is cool app in Playstore (free) which allows rooting/unrooting with no reboots and other complicated steps
FYI
https://play.google.com/store/apps/...51bGwsMSwxLDMsImV1LmNoYWluZmlyZS5zdXBlcnN1Il0
Voodoo OTA can do a temp unroot as well. The Flixter app will not allow you to stream movis on a rooted phone. I used Voodoo to temp unroot then went back into Flixter and it started to play the movie.
I use an app called Temp root remover
It allows you to temporarly unroot and reroot in a matter of seconds

Categories

Resources