[Q] Quickest way to check if phone is still rooted? - G2 and Desire Z General

I rooted yesterday, flashed a GB rom, and going to use the ShootMe app it's saying I'm not rooted and won't connect. Does flashing unroot the phone?

Unless you flash a stock update then flashing will not unroot your phone. All custom ROMs are rooted unless otherwise noted.
The easiest way to see if your still rooted is by opening up terminal and typing "su" without the quotes. It should change to a pound sign - if it say access denied then something went awry.
Code:
$su [ENTER]
#
That's how it should look.

Says Terminal Emulater was grandted superuser permissions but shootme still says it's not rooted. Signs that during the restore of the app something went wrong?

Check superuser to see if the app is being granted permission
Sent from my HTC Vision using XDA App

^ that worked. Thanks. I have another small issue and dont want to make another thread so hopefully someone can help with this as well... How do I take apps that are installed on the sd card and move them back to the phone itself?

settings>applications>manage applications
go to the app you wanna move, tap on it and then tap on move to phone

Related

Getting control of my Desire HD

Hi folks,
I want to be able to uninstall all the bloatware that my DHD came with so I guess I need to root it. However in this regard I don't need a perm root? As I don't need to change the UI etc, just remove a bunch of unecessary apps.
I've tried using the rooting guide here but as an anroid newb the instuctions are too vague for me to follow and my attempts to infer what the authors mean have resulted in failure (no brick tho! ).
So, I have visionary and supersuer both installed and I tried the temp root and perm root function in visionary (which is granted supersuer permissions from the superuser app in the process) but when I go back to "manage applications" the uninstall button for all the bloatware apps is still greyed out.
Any ideas?
EDIT: Typing "su" in terminal emulator results in "#" so that appears to be working correctly. But still no go on uninstalling the apps. I don't care about not getting updates over the air as I value having greater control over my device more. Besides, I can always flash it manually.
dccxviii said:
Hi folks,
I want to be able to uninstall all the bloatware that my DHD came with so I guess I need to root it. However in this regard I don't need a perm root? As I don't need to change the UI etc, just remove a bunch of unecessary apps.
Click to expand...
Click to collapse
Hello 718 ,
I've read something about uninstall unwanted applications
in the adb description "Using ADB.pdf" and "How to install adb.pdf".
Hope it helps you, I'm in the searching and reading phase of owning
the HTC DHD (some weeks ago - and android newbee) -
it's a jungle of information here on xda-developers
WBR peschi
Use titanium backup or root explorer.
sent from my dhd
Thanks for the replies.
So far i've started using titanium backup as it seems easier to use then having to install adb shell. Although I installed that as well and start learning some basic commands.
For now, titanium seems to be the answer to my issue as it allowing me to uninstall a whole heap of useless apps. But I think in the next few days of tinkering i'm gonna come to the conclusion that I want even greater control. Which seems to indicate falshing an entirely defferent rom to HTC sense. Although the keyboard on the sense UI is second to none IMO but smoething tells me that there's a .apk file out there with that in it
So, I've rooted my Desire HD with VISIONary+ and mounted /system as r/w using that "Mount system r/w" app from market, to move some of the stock apps from the Desire HD (and to hopefully solve that Facebook for Android problem I described in another thread). I used Root Explorer to move the apps to a folder on the SD card, turned the phone off and back on, and the apps were back?
Is this because I haven't done that "S-Off" thing, does the quick boot option need to be disabled (even though I turned the phone off entirely) or something else, in order to keep the apps that I moved, from respawning in /system/app?
Thanks in advance (and sorry for borrowing your thread, OP).
I don't think i've got s-off (whatever that means lol) and I was able to uninstall the crapware using titanium backup. My process was somewhat convoluted but I guess it boiled down to 2 things. Visionary and Superuser apps.
Now I don't think my phone is completely rooted because when I go to the default "manage applications" list in the stock UI the uninstall button for the crapware system apps is still greyed out. But for when I run titanium backup, it gets granted superuser acces from the superuser app and is then able to uninstall all the bloatware.
I would like to know of a sure fire way whether my phone is completely rooted or not though. Namely because I think I want to start using completely different roms.
I temprooted using visionary+ then opened titanium back up to uninstall unwanted apps. But which are safe to remove? I want to get rid of Facebook, Friendstream and a few others but Titanium warns me they are system components and my phone may not work after uninstalling them....
Sent from my Desire HD using XDA App
I got rid of all of that (twitter, myspace etc rubbish). Even some native htc ones that I know are ancilliary. You just have to use a bit of logic as to what might require what. Crap like friend stream or whatever wuold most likey rely on such apps. But since I uninstalled that too... you get the idea
I was gonna get rid of sound hound as well but it's actually kinda useful. One of the few apps I left on it from the factory.
EDIT: I've also been using titanium to backup more usefull HTC system apps so that when I do eventually move to a new rom, i can just install them later. Things like the HTC clock, office apps, calender, messaging etc are superior to stock android equivalents.
WTF...
I had to remove my sim card for something and when I reinserted it and turned on the phone all the apps I 'removed' were back as if nothing ever happened!
Did I miss something because I don't remember reading anywhere that that would happen if you rebooted your phone!
Agrrrr...I need some help >.<
If your DHD does not have S-OFF after every reboot it will restore everything you removed.
Ahh, thnaks for that. I've used the S-off radio tool to disable the security now. Hopefully those rubbish apps will stay away (tested with reboot and it seems so). However, now that i've rooted my phone and switched to S-off I am still curious as to why system apps are still unable to be uninstalled through the in-built android app manager.
Also, I attempted to use the clockworkrecovery mod to install new ROMS and so wanted to backup my current ROM install before trying new ones but the phone just goes to a black screen with a pic of a mobile phone with a red exclamation point in a triangle.
...unless of course after all this it STILL isn't rooted. In which case I think I might start looking seriously at the Nexus. *sigh*
The built-in app manager will not let you remove system apps regardless of being rooted. Install Titanium Backup from the market. This will remove it.
Download ROM Manager from the market, and "Flash Recovery" again, some users have issues with it working first time.
That did the trick! Thanks very much
One last question then, if I flash a new ROM e.g. cyanogenMOD, will that completely replace HTC sense and thus allow me to use the built in app manager to remove apps because...there won't be anymore 'system' apps?
andyharney said:
If your DHD does not have S-OFF after every reboot it will restore everything you removed.
Click to expand...
Click to collapse
I have root + Radio S-Off but every restart the phone causes my default Smart Keyboard deactive. Do you have any idea about that, is it spesific for an app or a general problem?
I am asking because I did not do ENG S-Off I have done only Radio S-Off.
With S-ON every reboot will result in ANY change to the system being restored, You make system changes permanent you need S-OFF.
As for your keyboard being disabled, not sure about that. Installing & using an additional keyboard shouldn't make any system changes.
dccxviii said:
That did the trick! Thanks very much
One last question then, if I flash a new ROM e.g. cyanogenMOD, will that completely replace HTC sense and thus allow me to use the built in app manager to remove apps because...there won't be anymore 'system' apps?
Click to expand...
Click to collapse
Even on CM system apps cannot be uninstalled through the Android App Manager. It's the way its designed, why would the system allow you to remove the "Android System" or "Dialer". Imagine the chaos if you uninstalled something you actually needed and Android let you do it.
You need to use 3rd Party apps (Titanium Backup) to do this, or ADB
still scared
so after rooting my HD what ARE the apps which are safe to remove?
Mat Buenaluz said:
so after rooting my HD what ARE the apps which are safe to remove?
Click to expand...
Click to collapse
If you ever want to make use of ota updates (eg to improve camera performance) then none of the 'bloatware' apps are safe to remove as removing them will prevent the ota update installing.
Sent from my HTC HD so may contain typos, bugs and, if the battery lasts, pearls of....(battery 0%)
As the tittle says getting control over your DHD, so this might be the right thread, allthough might be off topic to op's post...
Anyway my last device was a N900 and that was fully rooted with no permission limits. I've learned that the rooted DHD has some limits and i've run into one. On the N900 i used the terminal for allmost anything, flashing, copying, installing, removing etc. and would like to do so here on the DHD. My problem is that i'm trying to flash the kernel/zImage through terminal emulater but get this error - failed with error: -1. -
Any help would be great
Sorry to go off topic...
You cannot flash a kernel using terminal emulator. If you want to flash manually, get android sdk and use fastboot.exe in platform-tools to flash.
1. Reboot your device while holding vol-, it will go to bootloader
2. Select fastboot in bootloader
3. In your PC, type: "fastboot.exe flash zimage c:\any_folder\zImage"
4. Type: "fastboot.exe reboot"
After that you have to remount your DHD's system to rw state: "mount -o remount,rw /dev/block/mmcblk0p25 /system", and manually push wifi module to /system/lib/modules/ using adb. If you do not do that, your wifi does not work. You need ENG S-OFF.

[Q] Need some help with Superuser Permissions

I rooted my phone with the G2 walkthrough in the forums. It had me install Superuser Permissions, which worked at first. Now when I try to use something that required root access it just tells me I do not have root access. When I open the super user program, it just sits at a blank black screen. When I open up a new app(like the 3 different screenshot apps I downloaded) the apps open and tell me I do not have root access. I do have root access because I can get Titanium Backup to run and it also requires root access. I cannot remove/uninstall Superuser Permissions to swap it with another working super user app.
I saw this article http://forum.xda-developers.com/showthread.php?t=682828
I tried to install that app from the market and it fails to install(I assume due to the fact that I already have a super user app running). That said I cannot remove the installed app(thats not working). In that article it says to open terminal and type a "remount" command that may be different for each phone. I tried the command that they suggested(for his Nexus) but it did not seem to work on my G2.
So what do I do? Does anyone know what command I need to run from terminal to complete those directions to get a functioning Superuser app working? Does anyone know how to fix the existing "Superuser Permissions" app? Any suggestions?
try a reboot
Sent from my HTC Vision using XDA App
I already have. The Superuser Permissions app still only comes up with a black screen. No options when I hit "menu" and it does continue to stay active after I back out to the home screen as it does show up in the Task Killer list. That said, I am not getting a pop up that asks if I want to give an app superuser access. The apps that I alraedy had given permissions to(like Titanium Backup) still work fine, but no new app that require SU access will work.
Any other suggestions.
derricks2 said:
I already have. The Superuser Permissions app still only comes up with a black screen. No options when I hit "menu" and it does continue to stay active after I back out to the home screen as it does show up in the Task Killer list. That said, I am not getting a pop up that asks if I want to give an app superuser access. The apps that I alraedy had given permissions to(like Titanium Backup) still work fine, but no new app that require SU access will work.
Any other suggestions.
Click to expand...
Click to collapse
Have you tried clearing data for the Superuser app? See if that resets it to a working state.
did you do a perma root or temp root? If you did the Temp root, then the reboot caused you to lose your root. You need to re temp root then do the perma root.
brfield said:
did you do a perma root or temp root? If you did the Temp root, then the reboot caused you to lose your root. You need to re temp root then do the perma root.
Click to expand...
Click to collapse
Its perm root. I still have the temp root app on the SD card(not installed) but its perm rooted.
ianmcquinn said:
Have you tried clearing data for the Superuser app? See if that resets it to a working state.
Click to expand...
Click to collapse
Well.. not only did that not work, it made it worse. Now my titanium backup(that I have accessed daily for weeks since I rooted my phone) tells me I am not rooted after I cleared the data from the super user program...
And...
Now when I go to terminal and type su I dont get the # anymore.. it says permission denied...
AND
I tried using Visionary for a temp root, and after it trys to temp root, I still cant access SU from terminal.
I have not updated my OS to my knowledge.
Any ideas?
Anyone have any insight into this??
At this point my phone basically isnt rooted anymore. I have even tried visionary and it seems to temp root but nothing works.. I can get SU in terminal etc....
Superuser Permissions is still installed but doesnt work.
I tried using Visionary to remove root. It says my phone doesnt appear to be rooted.
Soo at this point, my phone has none of the advantages of being rooted, yet it is technically rooted(because I cant re-root it the same way using visionary and terminal).
What can I do??
Try installing a new ROM if you already have clockwork installed.

How can I tell if my atrix is properly rooted?

I'm a little confused guys.
I pretty much followed the instructions for part 1 and 2 here: http://forum.xda-developers.com/showpost.php?p=12631216&postcount=2911
I flashed my phone back to 1.2.6 then ran the before update script. Then updated, then ran the after update script. I am able to download .apk files and run them without being pestered. But I tried to run boot strap, and nothing would happen when i hit "Recovery boot". I know the gignger blur installation instructions says to make sure I'm plugged in to an AC charger so I did. Didn't work. I plugged it into my car charger. Didn't work. Tried my USB cable connected to the PC for sh*ts and giggles, but still nothing.
So I though maybe my phone isn't rooted properly? I googled a little and found this: http://androidforums.com/32282-post3.html
I installed the terminal app and ran su and it said permission denied. But I think I am able to access /data/app-private (I type in cd /data/app-private and it doesn't do anything so I assume I'm in the app-private directory, no?)
...So I guess I'm just here to ask, am I going in the right direction to check to see if my phone is rooted? Any other way of checking to see if I'm rooted correctly? I'm not exactly looking for the easy way, I'm looking for the correct way.
Any help is appreciated =)
If you are properly rooted, there will be an application called Superuser in your app tray.
Sent from my MB860 using XDA App
delmarvahockey29 said:
If you are properly rooted, there will be an application called Superuser in your app tray.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I have that app, how come when I su in terminal it denies me permission?
Open up Superuser and make sure it is in your "allow" list.
Sent from my MB860 using XDA App
delmarvahockey29 said:
Open up Superuser and make sure it is in your "allow" list.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
When I open up superuser it only says "No apps in list" under my Apps tab. And hitting the menu button (the button with the 4 squares) does nothing whenI'm in the Apps tab.
Strange... So when you type "su" in the terminal, does it give you a pop-up to allow superuser access?
Sent from my MB860 using XDA App
delmarvahockey29 said:
Strange... So when you type "su" in the terminal, does it give you a pop-up to allow superuser access?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Nope, just says "Permission denied"
Try switching usb settings from none to storage then back to none, and also uncheck usb debug and recheck it. I know when I updated my phone to restore root that is what I had to do or I would get premission denied.
-illusion
rboone18 said:
Try switching usb settings from none to storage then back to none, and also uncheck usb debug and recheck it. I know when I updated my phone to restore root that is what I had to do or I would get premission denied.
-illusion
Click to expand...
Click to collapse
Still no luck, I think I might have lost root ( http://forum.xda-developers.com/showpost.php?p=12685034&postcount=3303 )
How do you even loose root?
Yes, you don't have root. I was in a similar situation when I first tried the Mac version of aRoot. There was a bug in the script so I didn't actually get rooted, but it installed superuser anyway so I thought I was. Anything that requires root will simply fail.
maledyris said:
Yes, you don't have root. I was in a similar situation when I first tried the Mac version of aRoot. There was a bug in the script so I didn't actually get rooted, but it installed superuser anyway so I thought I was. Anything that requires root will simply fail.
Click to expand...
Click to collapse
How did you fix your problem?

Can flashing a ROM remove SU?

I still seem to have root access, in that I can continue to flash roms, use ShootMe screengrabber, and even get the "#" in Terminal Emulator when typing in SU. But when I use either one of my wireless hotspot apps, Barnacle and/or Wireless Tether, I get a "cannot launch, you may not have SU access."
Have you seen this before? I just installed Virtuous Fusion. Is there such thing as "partial rooting?"
Chicago Tony
No, there's no such thing. If apps complain that they can't get root - it means that they're either not given privileges, or they don't ask for root access in a way compatible with the SU in the specific ROM.
try uninstalling and reinstalling superuser app sometime itll not recognize it and ignore it
Just to add to the above comment. SU is just an app. Its possible for a rom to not have it (though all devs/chefs always add it before releasing the rom) and its not likely but if so, all apps that need root access will complain. So yeah just try installing SU from market and you should be good.
Sent from my HTC Glacier using XDA App

Unable to Re-Root Droid 2 after Gingerbread OTA

Here's my problem,
I had the Droid 2 with stock ROM rooted and all was well. My phone installed the Gingerbread ROM (4.5.601) when Verizon pushed it out a few days ago. Thankfully, this did not totally jack up my phone. However, I no longer have root access.
I have tried three different 1 click root methods for the Gingerbread ROM but none of them worked. I tried un-rooting and re-rooting with one clicks and that's not working. I tried manually removing the Superuser app and rooting, no joy.
The one clicks are connecting with the phone but the phone does not seem to want to allow access to change files.
Before anyone asks, YES I have the drivers installed and the connection with the PC is good. I have attempted to run the 1 click roots in "charge only" AND "PC Mode". Debugging is on and I am set to allow non-market applications.
Suggestions?
Thanks,
Tracker
Update: in trying to manually remove old superuser file with adb shell, I just can't seem to get the # prompt to execute the commands even after running Pete Souza's exploits.
suggestions?
Hope somebody comes up with an answer - same thing happened to me.
did you use the d3 root method? thats the only one that works 100% on gingerbread.
Yes. I used the "Pete's Motorola Root Tools.exe" program on Win7:
psouza4.com/droid3/#root
I also followed the "Droid X Notes" section at the bottom even though I have the D2 and I'm not able to get the "adb shell" ending with #.
SOS!!
Thank you for such a clear, concise post! I am in the same boat with no luck. I used the one click root for D3 which says it will work for a number of Android phones, including the D2 Global, but is NOT working with my D2. I have run the application two times and both times it went through the entire process, rebooted my phone three times and said success but...no success... I am sooo bummed as the only way I get internet at home is via Wireless Tether which I can no longer use because I do not have Root access!
Desperate in Cool (the name of the town I live in), I need help!!
Thanks in advance,
Jeni
Yeah, still no joy here. I've retried everything that I mentioned in the OP and still can't get the # so I can execute an un-root and/or re-root as described on Pete's website.
I've tried it on both a Win XP and a Win 7 machine.
Anyone have any suggestions? It appears the D2 Gingerbread firmware doesn't want to allow permissions to modify certain portions that were allowed before.
Success
I didn't so much fix the problem as hit it with a bat until it shattered, then rebuilt it.
My fix was to SFB the phone back to Froyo with factory defaults, activate it with Verizon (at this point I have no software added or accounts set up on it so obviously no root), apply the OTA update to GB, perform the 1-click Root which worked this time, then setup my google accounts and install Titanium Backup which I had previously used, and restored all my data from it.
At this point I'm getting some force-close errors which I'm sure are related to the Titanium restore but I was able to ADB Shell in and SU so I know I have rooted it properly and at the very least I will do another clean wipe and restore individual applications one at a time so I know which aren't working right and go from there.
Good luck everyone!
My fix was to SFB the phone back to Froyo with factory defaults, activate it with Verizon (at this point I have no software added or accounts set up on it so obviously no root), apply the OTA update to GB, perform the 1-click Root which worked this time, then setup my google accounts and install Titanium Backup which I had previously used, and restored all my data from it.
Click to expand...
Click to collapse
I kinda figured that this would work. I'm trying to avoid a full nuke of the phone, but so far it appears that this is the only work around.
Anyone else got a plan?
Only option I was going to provide was SBF to 2.3.2 with RSDlite and re-flash the OTA, then run the Droid3 exploit.
I have a D2G and I had the exact same problem. I did an OTA upgrade without un-rooting (I was earlier rooted using z4root). I had a long discussion with Pete Souza, the guy who created 1-Click root. And he agreed to help me out. He did a remote to my computer and rooted my D2G. I am going to try to reproduce all the steps here.
Situation: Was rooted using z4root. Had Superuser and su binary both on my phone but root was not recognized by titanium Backup, SetCPU, etc.
Resolution:
Run Psouza's 1-cick root http://www.psouza4.com/droid3 (ensure u have motorola drivers)
First try the Root, and if that does not work only then continue with the following steps. I got an error after step 3 which said the phone cannot be rooted (or something like that). The first two steps were a success.
Now that the root is not working, run the Temp ADB Root from the same app. In my case even that failed - but Pete said that ignore the failure message.
Now, I need to delete the su and busybox which are leftovers from the earlier root.
Open a command prompt in the support_files folder where adb is located.
Get into the shell by typing: "adb shell"
type "/system/xbin/su"
This will pop-up a prompt on your phone to allow Superuser access - just click Okay.
The $ sign will change to #
Now type "busybox mount -o remount,rw /dev/block/mtdblock3 /system"
now type "cd /system/bin" This is where your su and busybox are.
Type "rm su"
Type "rm busybox"
After this just exit out of everything and run the 1-click root again. It should work now.
======================
All credits to psouza www.psouza4.com
======================
drumster said:
I have a D2G and I had the exact same problem. I did an OTA upgrade without un-rooting (I was earlier rooted using z4root). I had a long discussion with Pete Souza, the guy who created 1-Click root. And he agreed to help me out. He did a remote to my computer and rooted my D2G. I am going to try to reproduce all the steps here.
Situation: Was rooted using z4root. Had Superuser and su binary both on my phone but root was not recognized by titanium Backup, SetCPU, etc.
Resolution:
Run Psouza's 1-cick root http://www.psouza4.com/droid3 (ensure u have motorola drivers)
First try the Root, and if that does not work only then continue with the following steps. I got an error after step 3 which said the phone cannot be rooted (or something like that). The first two steps were a success.
Now that the root is not working, run the Temp ADB Root from the same app. In my case even that failed - but Pete said that ignore the failure message.
Now, I need to delete the su and busybox which are leftovers from the earlier root.
Open a command prompt in the support_files folder where adb is located.
Get into the shell by typing: "adb shell"
type "/system/xbin/su"
This will pop-up a prompt on your phone to allow Superuser access - just click Okay.
The $ sign will change to #
Now type "busybox mount -o remount,rw /dev/block/mtdblock3 /system"
now type "cd /system/bin" This is where your su and busybox are.
Type "rm su"
Type "rm busybox"
After this just exit out of everything and run the 1-click root again. It should work now.
======================
All credits to psouza www.psouza4.com
======================
Click to expand...
Click to collapse
IMO this instruction should be stickied.
This worked perfectly on my wife's D2G. Rooted Gingerbread = a good start to the day!
Awesome! Thanks!
Just wanted to say I think i love you...this worked for me after two tries on my Droid 2.
First time I was able to remove su and busybox...then when I applied the one click root again, it said there were a bunch of errors but still succeeded. After the reboot I didn't get superuser access yet so I went through deleting su and busybox again (but busybox wasn't found)
The second time i decided to restart my phone before running the script again and when attempting to verify if su was still installed by going into adb shell...it said my phone was already rooted.
Thanks!!
Awesome!
Thanks! This worked for me as well! (after additional reboot)
Good Info but one problem for me
Since I did the OTA Gingerbread, I cannot get into debugging mode. I have uninstalled the Moto drivers & reinstalled using my administrator profile on Windows 7. I have also sbf my phone. Wipe cache. Factory reset. Activate service (NOT download or sync w/ google). OTA Gingerbread. This is on a regualr D2. Anyone have any ideas on how I can get into debugging mode. Otherwise I can't do anything.
Thank you!
I am so glad I found this post and the directions posted by drumster. I had previously used z4root and had not unrooted before allowing the Gingerbread upgrade. Pete's application fixed my Droid 2 on the first attempt; no other steps were needed.
Thanks again,
Andrew
awesome
psouzas 1 click worked for me. Droid 2. previously had rooted with deroot method until it updated by itself to gingerbread which broke root.
enabled usb debugging
in pc mode, clicked on souza's link and followed instructions
i have win 7 64 bit computer
It works
I just got it to work. I was on rooted froyo. Sbf'd back to stock froyo. Downloaded and installed OTA G bread. Then I had to run the D3 one click root method twice but the 2nd time it worked fine.

Categories

Resources