Hi Folks,
Is there any way with just a temp root to get adbd on the G2 to run as root?
I fiddled for a half hour or so with no success.
Thanks
Adb should work out of the box
Sent from my T-Mobile G2 using XDA App
I don't believe so.
As I understand it, adbd won't run as root in Production Builds, as the error you're seeing probably says.
Is adbd different that adb? Adb runs without root, you just need to enable development mode in the Application settings. You cannot SU in adb without root, but you can do non superuser tasks.
If adbd is different than adb, then I don't know what that is.
nolsen311 said:
I don't believe so.
As I understand it, adbd won't run as root in Production Builds, as the error you're seeing probably says.
Click to expand...
Click to collapse
There's no error, it just launches itself as the user shell no matter what.
ilikepu said:
Adb should work out of the box
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
adb does work out of the box. adbd, which is the phone side of adb is the problem.
cparekh said:
Is adbd different that adb?
Click to expand...
Click to collapse
Yes it is. It's the daemon/service that runs on the phone that enables the adb "protocol."
cparekh said:
Adb runs without root, you just need to enable development mode in the Application settings. You cannot SU in adb without root, but you can do non superuser tasks.
If adbd is different than adb, then I don't know what that is.
Click to expand...
Click to collapse
fredsanfordX said:
Yes it is. It's the daemon/service that runs on the phone that enables the adb "protocol."
Click to expand...
Click to collapse
Got it. Thanks for the information.
Related
how can this be done so i can run certain apps?
anybody? come on guys ive searched everywhere, can it be done or not?
fixxxer2008 said:
anybody? come on guys ive searched everywhere, can it be done or not?
Click to expand...
Click to collapse
What exactly are you trying to run
clules94 said:
What exactly are you trying to run
Click to expand...
Click to collapse
screenshot and a cache cleaner. i do see there's a superuser permission app on my build but when i go to the terminal it says im still not root.
well i did alot of searching today and i don't think you can unlock this as technically we don't have a g1 or hero phone. we are running an image from a sd card. i still wonder how i can get root access to run certain apps? has anybody else addressed this issue because i can't find an answer.
fixxxer2008 said:
well i did alot of searching today and i don't think you can unlock this as technically we don't have a g1 or hero phone. we are running an image from a sd card. i still wonder how i can get root access to run certain apps? has anybody else addressed this issue because i can't find an answer.
Click to expand...
Click to collapse
umm.....open the terminal and type su?
zenulator said:
umm.....open the terminal and type su?
Click to expand...
Click to collapse
i did, it says permission denied!
well i think what im looking for is to become a superuser to be able to run certain market apps such as screenshot and a cache cleaner. ive searched everywhere here and on ppcgeeks with no luck. i did see something about a script that can allow certain apps at launch to run in superuser mode, is there anything like that at all? sorry if i keep asking but it's bugging me to no end and im sorta stuck. how did you guys get apps to run in root mode? is there a command i need to enter int he terminal? i do know i tried su and it said permission denied for me?
by the way what is the superuser permissions app i see on my build of cupcake? i launch it and it does nothing?
fixxxer2008 said:
i did, it says permission denied!
Click to expand...
Click to collapse
Using adb will always give you root access, for windows you need to install the adb drivers from my site. Remember we are using a read only root filesystem so apps that modify the root fs won't work. su in the ion build will also give you root.
sorry to bring this up i have the rooted phone 2.1(droid eris) i have an app that saying super permission, i click on it and show just black screen what does this so pose to do
and how do i remove the factory apps
sorry i think its a stupid question but what should i see in superuser permission one time i only saw this +2000-2000 and something else
I was having trouble with super user too. I reverted to a working back up
ampinc said:
sorry to bring this up i have the rooted phone 2.1(droid eris) i have an app that saying super permission, i click on it and show just black screen what does this so pose to do
and how do i remove the factory apps
Click to expand...
Click to collapse
Enable USB Debugging in
Settings > Applications > Development
If you have SDK set up on your computer, do ,
adb shell
$
type SU
$ su
Wait a while, you should see on your phone, press Always Accept
#
From now on ,it should work for everything.
Framework43 said:
From now on ,it should work for everything.
Click to expand...
Click to collapse
"Always Allow" only allows connections from the same source (computer, etc) so if you load up Terminal Emulator, youll have to Always Accept for that too...etc etc
gohamstergo said:
"Always Allow" only allows connections from the same source (computer, etc) so if you load up Terminal Emulator, youll have to Always Accept for that too...etc etc
Click to expand...
Click to collapse
Yeah but if you do it via adb shell first,
it will work everytime after that.
If not, it will always force close on you.
Framework43 said:
Enable USB Debugging in
Settings > Applications > Development
If you have SDK set up on your computer, do ,
adb shell
$
type SU
$ su
Wait a while, you should see on your phone, press Always Accept
#
From now on ,it should work for everything.
Click to expand...
Click to collapse
iam sorry but i dont know where adb shell is
ampinc said:
iam sorry but i dont know where adb shell is
Click to expand...
Click to collapse
have you downloaded the Android SDK? If so, open a command prompt and navigate to the SDK's Tools folder. then do adb shell
Framework43 said:
Yeah but if you do it via adb shell first,
it will work everytime after that.
If not, it will always force close on you.
Click to expand...
Click to collapse
no, what i meant was, clicking Always Allow only allows the current process to be always allowed.
ex: if you connect via adb on a computer and Always Allow, then you still have to allow other programs like Terminal Emulator, drocap2, etc also Always Allow isn't universal, only applies to the current app that is requesting the permission.
don't remove this app
and there is no need to run this app manually
if an app requests root-rights, this app will auto popup
i dont know what i did wrong but its not working please some help thanks
jriley60 said:
I was having trouble with super user too. I reverted to a working back up
Click to expand...
Click to collapse
can you please link me to a working backup of superuser.....I am having issues too.
there isn't a fully working one. the version we are using is from another phone completely. Until the author of superuser.apk writes one for us. the only method of getting superuser.apk to work right is.
1. enable usb debugging
2. plug your usb into your phone
3. choose HTC sync and wait for it to fail to connect if not installed.
4. while in sync mode start the app that needs root access and wait for the su prompt
5. select always allow
6. enjoy your app
some root apps like wifi tether require multiple access prompts to be fully functional.
hope this helps
Will there be a one click root for this phone? Using Visionary and Terminal makes the phone lag which makes me not want to go through the process of installing Iced Glacier.
Which leads to my next question... Simply having Terminal and Visionary installed is enough to cause the phone to lag without as much as a temp root - why?
Don_Perrignon said:
Will there be a one click root for this phone? Using Visionary and Terminal makes the phone lag which makes me not want to go through the process of installing Iced Glacier.
Which leads to my next question... Simply having Terminal and Visionary installed is enough to cause the phone to lag without as much as a temp root - why?
Click to expand...
Click to collapse
Thatsa not causing your phone to lag, bloatware might be, which you can get rid of after root.
And i've been wqorking on a one click root for a while now. Its not gonna happen. To many obsticles, and the current rooting process is quite simple.
option94 said:
Thatsa not causing your phone to lag, bloatware might be, which you can get rid of after root.
And i've been wqorking on a one click root for a while now. Its not gonna happen. To many obsticles, and the current rooting process is quite simple.
Click to expand...
Click to collapse
Its not the bloatware. When I install those two on the phone it lags. When I take those programs off the phone, everything is fine.
Don_Perrignon said:
Its not the bloatware. When I install those two on the phone it lags. When I take those programs off the phone, everything is fine.
Click to expand...
Click to collapse
There are some reports of the phone lagging after running VISIONary. But alot of people have not noticed it. After you have verified that s=off and rebooted the phone. Temp root one last time, then click perma-root and reboot. Your lag should be gone. My wife is running STOCK MySense Perma Rooted with a Engineering screen and has 0 (zero) lag.
But rooting process does not cause the phone to lag.
If you're that worried about visionary, use rage. Full directions can be found at
http://wiki.cyanogenmod.com/index.php?title=TMobile_myTouch_4G:_Full_Update_Guide
download link for rage:
http://android.d3xt3r01.tk/cyanogen/common/gfree_temp-root.zip
adb push su /sdcard/su
adb push Superuser.apk /sdcard/Superuser.apk
adb push rage /data/local/tmp/rage
adb push busybox /data/local/tmp/busybox
adb push root /data/local/tmp/root
adb shell chmod 0755 /data/local/tmp/*
from terminal emulator run
/data/local/tmp/rage
Then follow directions for gfree
download from here http://android.d3xt3r01.tk/cyanogen/common/gfree_04.zip
adb push gfree /data/local
adb shell chmod 777 /data/local/gfree
from terminal emulator run
/data/local/gfree -f
sync
/data/local/tmp/root
sync
reboot, and you may have to run the rage package again to make root permanent. Not sure about this, its required with visionary, so it might be with rage as well. After reboot open term emulator and if you can get a su prompt, then your good, if not, run again.
I perm rooted with visionary and terminal on two different phones and have experienced no lag whatsoever. Just my 2¢.
Swyped on my rooted MyTouch4G
XfooYen said:
I perm rooted with visionary and terminal on two different phones and have experienced no lag whatsoever. Just my 2¢.
Swyped on my rooted MyTouch4G
Click to expand...
Click to collapse
Working one the one click, i've literally done it three time a day. No lag. Ever.
If you forget to check off the 2 items in visionary and try to redo it, it lags. Just pull the battery and start over. After root I took visionary off and have no lag.
Sent from my HTC Glacier using XDA App
OMG guys, listen: I install both of those programs. It lags. Period. I don't even have to start using them yet, simply installing them on my device cause the phone to lag. Whether or not you get lag is not the topic of this thread.
It was a yes or no question as to whether or not there was a one click root for this phone.
Don_Perrignon said:
OMG guys, listen: I install both of those programs. It lags. Period. I don't even have to start using them yet, simply installing them on my device cause the phone to lag. Whether or not you get lag is not the topic of this thread.
It was a yes or no question as to whether or not there was a one click root for this phone.
Click to expand...
Click to collapse
OK, i answered you, im working on it, it doesn't look good. Cant get the shell to stop crashing at the wrong point.
Also, gave you a root solution that doesn't need visionary. Solving your problem. No need to catch an attitude about it.
Don_Perrignon said:
OMG guys, listen: I install both of those programs. It lags. Period. I don't even have to start using them yet, simply installing them on my device cause the phone to lag. Whether or not you get lag is not the topic of this thread.
It was a yes or no question as to whether or not there was a one click root for this phone.
Click to expand...
Click to collapse
If by just installing the two programs causes your phone to crash. Then you installed two bad programs. either that or you have a [email protected]#$ ton of applications on your phone.
No need to get your panties in a bunch we are here trying to help. and remember you will get more with honey than with vinegar.
I understand that you two. But, when people keep replying with, "my phone doesn't lag comments" it gets kind of old.
I do not have a ton of apps on my phone and I keep the RAM cleared up as well.
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?
Anyone tried rooting Pixel XL and how does it works after rooting ? Reviews
Everything works fine here
Rooting generally does not and can not effect the device. What you do after may either harm or help the device.
All that rooting does is give you SU access it is what you do with the access that makes a difference.
Mind you even though in itself rooting is pretty harmless, Google will always try and detect the root and stop APPs like Android Pay from working.
AstroDigital said:
Rooting generally does not and can not effect the device. What you do after may either harm or help the device.
All that rooting does is give you SU access it is what you do with the access that makes a difference.
Mind you even though in itself rooting is pretty harmless, Google will always try and detect the root and stop APPs like Android Pay from working.
Click to expand...
Click to collapse
I mean is there any bootloop or something and how is everything working any lagging or somethjng
Huzaifaamirka said:
I mean is there any bootloop or something and how is everything working any lagging or somethjng
Click to expand...
Click to collapse
No issues here, Enable OEM unlock and unlock the device via ADB then use adb to "fastboot boot boot-to-root.img" allow it to reboot and set up again then away you go ( you might have to ADB BOOT the boot-to-root for it to stick )
Using the ad away work around now ad blocking is a go
Working fine with ElementalX kernel and root.
hutzdani said:
No issues here, Enable OEM unlock and unlock the device via ADB then use adb to "fastboot boot boot-to-root.img" allow it to reboot and set up again then away you go ( you might have to ADB BOOT the boot-to-root for it to stick )
Using the ad away work around now ad blocking is a go
Click to expand...
Click to collapse
Hi,
What is the adaway workaround?
Thank you for your help,
Bryan
trapperjohn said:
Hi,
What is the adaway workaround?
Thank you for your help,
Bryan
Click to expand...
Click to collapse
With USB Debuiing enabled open your ADB terminal and type :
"adb shell"
"su"
"mkdir /su/etc; cp /system/etc/hosts /su/etc/hosts; echo "#!/su/bin/sush\nmount -o bind /su/etc/hosts /system/etc/hosts" > /su/su.d/50adaway; chmod 0700 /su/su.d/50adaway"
After this reboot your device and apply ad blocking hosts with the latest ad away build
Thank you for the info!
I wonder if there are plans to update adaway so this procedure will not be needed..
Thanks again great detail
Bryan
Sent from my SM-N900V using XDA-Developers mobile app
Wrong sub forum.
trapperjohn said:
Hi,
What is the adaway workaround?
Thank you for your help,
Bryan
Click to expand...
Click to collapse
All you have to do is download the 3.2 Dev preview build and enable systemless mode in preferences. Works like a charm.
https://www.androidfilehost.com/?fid=312978532265366394
That's great so with version 3.2 dev no adb procedure is needed?