[Q] Evo 3D Rooting... - HTC EVO 3D

I tried to perform the Windows How To in page http://forum.xda-developers.com/showthread.php?t=1158400. How do I know I have super user access?

mcabrera1965 said:
I tried to perform the Windows How To in page http://forum.xda-developers.com/showthread.php?t=1158400. How do I know I have super user access?
Click to expand...
Click to collapse
open up an app that requires SU access and it will tell you it has been granted or that you dont have root access. also in adb after running the commands you can type "adb shell" and you should see a #

steal25 said:
open up an app that requires SU access and it will tell you it has been granted or that you dont have root access. also in adb after running the commands you can type "adb shell" and you should see a #
Click to expand...
Click to collapse
Yeah. What he said.

Related

problem after root

hey guys i'm having problem in adb when i put the remount command
it gives this message : opreation remount not prometted
why is that??? i'm rooted on ba023 and a lot of programs that use su is working correctly
h.boushi1987 said:
hey guys i'm having problem in adb when i put the remount command
it gives this message : opreation remount not prometted
why is that??? i'm rooted on ba023 and a lot of programs that use su is working correctly
Click to expand...
Click to collapse
Try typing 'su' (without inverted commas) before that command, when using your phone, and on a PC, do 'adb shell su' or 'adb shell' then 'su'. The command should now work.
You have to do this, if you followed the 'secure root' instructions before.
thanks man it works!!!!!
Sent from my X10i using the XDA mobile application powered by Tapatalk

[Q] adb shell

hi ,
when i tap adb shell in my terminal to access to my emulator in shell mode , i get # in order of $ !! and i don't want to have root access , what should i do and what does that mean ?
It means you should stop whatever you are doing ^^
blue. said:
hi ,
when i tap adb shell in my terminal to access to my emulator in shell mode , i get # in order of $ !! and i don't want to have root access , what should i do and what does that mean ?
Click to expand...
Click to collapse
Some roms enable root by default.
Sent from my Galaxy Nexus using xda premium
The shell IS the root of the phone, it makes client connection which runs commands in the bin folder of the phone, which is in the..."root" of the system...Root means you access the roots (huh, weird) of your phone system, aka those parts which normally aren't accessible from phone sw, and that's what the shell is about, it launches cmds which are "root" oriented, from removing stuff to rebooting the phone...
blue. said:
hi ,
when i tap adb shell in my terminal to access to my emulator in shell mode , i get # in order of $ !! and i don't want to have root access , what should i do and what does that mean ?
Click to expand...
Click to collapse
The emulator got ro.secure=0 by default, hence granting you root access. What's the problem with that? You are using the emulator developing, and root is more useful. If you really want to disable it, edit the emulators /default.prop and set ro.secure=1.

Device rooted but no access to /data folder

I just used Odin3 v3.04 and CF-Root-SGS3-v6.4 to root my Samsung Galaxy S III. It seems root worked because CWM was installed and as i tried to execute it, i had to grant root rights to this app. But i can't execute adb root since its telling me "adbd cannot run as root in production builds". I can't access /data through ES Explorer on my phone either. Does anyone have a solution?
Djablos said:
I just used Odin3 v3.04 and CF-Root-SGS3-v6.4 to root my Samsung Galaxy S III. It seems root worked because CWM was installed and as i tried to execute it, i had to grant root rights to this app. But i can't execute adb root since its telling me "adbd cannot run as root in production builds". I can't access /data through ES Explorer on my phone. Does anyone have a solution?
Click to expand...
Click to collapse
Try by flashing this zip file from CWM: http://download.chainfire.eu/370/SuperSU/UPDATE-SuperSU-v1.80.zip
That may fix your issue..
EDIT: this wont flash any new app to your SGS3, it will flash updated su script.
suyash1629 said:
Try by flashing this zip file from CWM: http://download.chainfire.eu/370/SuperSU/UPDATE-SuperSU-v1.80.zip
That may fix your issue..
EDIT: this wont flash any new app to your SGS3, it will flash updated su script.
Click to expand...
Click to collapse
I get the following message when i start CWM:
After that i cant see any possibility to flash something (or i dont really know what else do you mean by "flash from cwm")
Djablos said:
I get the following message when i start CWM:
After that i cant see any possibility to flash something.
Click to expand...
Click to collapse
just press ok and then press reboot in recovery mode and flash it through there.. else press the combination of Volume up + Power + Home button to enter the recovery.. you nneed to flash it through there
suyash1629 said:
just press ok and then press reboot in recovery mode and flash it through there.. else press the combination of Volume up + Power + Home button to enter the recovery.. you nneed to flash it through there
Click to expand...
Click to collapse
Unfortunately It didn't fix my issue. It don't get any message for "adb root" and device is getting disconnected after that.
Code:
>adb devices
List of devices attached
4df1ec9f1b844f57 device
>adb root
>adb devices
List of devices attached
Still no luck for access to the folder from the phone.
Djablos said:
Unfortunately It didn't fix my issue. It don't get any message for "adb root" and device is getting disconnected after that.
Code:
>adb devices
List of devices attached
4df1ec9f1b844f57 device
>adb root
>adb devices
List of devices attached
Still no luck for access to the folder from the phone.
Click to expand...
Click to collapse
Go to developer options and enable root access to both apps and adb, this may fix that problem..
suyash1629 said:
Go to developer options and enable root access to both apps and adb, this may fix that problem..
Click to expand...
Click to collapse
Do you mean developer options of the phone? I can't find any options there regarding root access. I checked SuperSU app, but there is also only list of apps with root access and no possibilities to add apps.
Djablos said:
Do you mean developer options of the phone? I can't find any options there regarding root access. I checked SuperSU app, but there is also only list of apps with root access and no possibilities to add apps.
Click to expand...
Click to collapse
yes it should be in developer options of the phone, m not sure if its in stock firmware.. if there is no such option than first try adb shell and then su, than it will prompt to give root access to shell. have you tried doing that?
suyash1629 said:
yes it should be in developer options of the phone, m not sure if its in stock firmware.. if there is no such option than first try adb shell and then adb su, than it will prompt to give root access to shell. have you tried doing that?
Click to expand...
Click to collapse
Well now we're talking! I didn't know there is a possibility to gain root that way. Thank you for your help!
Djablos said:
Well now we're talking! I didn't know there is a possibility to gain root that way. Thank you for your help!
Click to expand...
Click to collapse
well thats nothing, but why do you want to do by using adb?
suyash1629 said:
well thats nothing, but what do you want to do by using adb?
Click to expand...
Click to collapse
I want to pull some apps to my PC to decompile them. I'm preparing myself for a seminar on my uni.
Djablos said:
I want to pull some apps to my PC to decompile them. I'm preparing myself for a seminar on my uni.
Click to expand...
Click to collapse
oh.. and as i said above to use adb shell and then adb su, that might too work but simply use su after adb shell, i dont know how i entered adb su.
suyash1629 said:
oh.. and as i said above to use adb shell and then adb su, that might too work but simply use su after adb shell, i dont know how i entered adb su.
Click to expand...
Click to collapse
Well, since i logged once with adb as root, the phone seems to give now permanently root access to adb. So i just used "adb pull /data/app/com...." with no problem.
Djablos said:
Well, since i logged once with adb as root, the phone seems to give now permanently root access to adb. So i just used "adb pull /data/app/com...." with no problem.
Click to expand...
Click to collapse
thats fine but next time you can also use su to be root user over adb.. maybe next time also adb root wont work and you have to use adb shell asnd su to be root user..
suyash1629 said:
thats fine but next time you can also use su to be root user over adb.. maybe next time also adb root wont work and you have to use adb shell asnd su to be root user..
Click to expand...
Click to collapse
Well to be precise, "adb root" still doesnt work, so i can gain root access only over shell->su. But it is completely sufficient for my purposes.
Djablos said:
Well to be precise, "adb root" still doesnt work, so i can gain root access only over shell->su. But it is completely sufficient for my purposes.
Click to expand...
Click to collapse
adb root is not working because root access to adb is not available from developers option, so thats only way to gain root access. And also best of luck for seminar..
suyash1629 said:
And also best of luck for seminar..
Click to expand...
Click to collapse
Thanks, I will definitely need some luck
Real Root
Real root is odin root!

[Q] ADB Shell And Super SU Issue

Okay... So Here Is Whats Up... The Digitizer On My Lg Optimus L9 Is Broken, Cant Touch The Screen Or Anything... But I Would Still Like To Use My Phone, I Can Can View My Screen But Thats All I Can Do,I Wish To Use The Keyboard And Mouse To Control My Screen,I Know This Is Possible Apperantly The Only Way To Do This Is To Access The ADB Shell, Okay,But What The Problem? Well When I Attempt To Gain Access To The ADB Shell... Super SU Gets In The Way, I Cant Grant Access To The ADB Shell Because I Cant Touch The Screen Do To The Broken Digitizer, And I Cant Click It When It Appears On The Display Because I Dont Have Super SU Permision To Use The Controlls Do To Being Denied Access Of The ADB Shell, If You Under Stand My Cicumstances Please Assist Me In Any Way, The Only Stipulation, No Factory Reset! Please And Thank You!
savagemessiah97 said:
Okay... So Here Is Whats Up... The Digitizer On My Lg Optimus L9 Is Broken, Cant Touch The Screen Or Anything... But I Would Still Like To Use My Phone, I Can Can View My Screen But Thats All I Can Do,I Wish To Use The Keyboard And Mouse To Control My Screen,I Know This Is Possible Apperantly The Only Way To Do This Is To Access The ADB Shell, Okay,But What The Problem? Well When I Attempt To Gain Access To The ADB Shell... Super SU Gets In The Way, I Cant Grant Access To The ADB Shell Because I Cant Touch The Screen Do To The Broken Digitizer, And I Cant Click It When It Appears On The Display Because I Dont Have Super SU Permision To Use The Controlls Do To Being Denied Access Of The ADB Shell, If You Under Stand My Cicumstances Please Assist Me In Any Way, The Only Stipulation, No Factory Reset! Please And Thank You!
Click to expand...
Click to collapse
You should still be able to access adb shell at the shell level, what is likely happening is that you are dropping into a root shell and this is causing SuperSU to prompt if you want to allow adb shell to have root access. What are the exact steps you are taking when you go to use adb shell?
shimp208 said:
You should still be able to access adb shell at the shell level, what is likely happening is that you are dropping into a root shell and this is causing SuperSU to prompt if you want to allow adb shell to have root access. What are the exact steps you are taking when you go to use adb shell?
Click to expand...
Click to collapse
I Use Android Screencast Plus Android SDK, Then I Use Command Prompt
.Adb Shell
.Su
At That Point Super Su Is Prompted
savagemessiah97 said:
I Use Android Screencast Plus Android SDK, Then I Use Command Prompt
.Adb Shell
.Su
At That Point Super Su Is Prompted
Click to expand...
Click to collapse
I would recommend try starting adb shell (adb shell command) and not dropping into a root shell then skip the su command. So just do
Code:
adb shell
To start adb shell, and then skip the su command.
shimp208 said:
I would recommend try starting adb shell (adb shell command) and not dropping into a root shell then skip the su command. So just do
Code:
adb shell
To start adb shell, and then skip the su command.
Click to expand...
Click to collapse
If I Skip su The cmd Says Not Permited
Code:
•adb shell
•su
•chmod 777 /data/dalvik-cache
•cd /data/dalvik-cache
•chmod 777 ./
This Is My Attempt, Is There An Alternative
savagemessiah97 said:
If I Skip su The cmd Says Not Permited
Code:
•adb shell
•su
•chmod 777 /data/dalvik-cache
•cd /data/dalvik-cache
•chmod 777 ./
This Is My Attempt, Is There An Alternative
Click to expand...
Click to collapse
Trying using adb shell from the command line, instead of Android Screencast. Also what are you trying to do with the device extract your personnel information?
Any progress with this? I'm in the same situation

question about adb shell vs terminal on device.

hi,
quick question..
i put "setprop service.adb.tcp.port 5555" in file.txt, and save this to /sdcard.
if i run "sh /sdcard/file.txt" from adb shell, on pc, then it works and getprop confirms.
if i run "sh /sdcard/file.txt" from terminal emulator, on phone, it says "could not set property".
can someone explain this behaviour? tahnk you.
in addition, where should you save shell scripts on your phone?
do you guys use shell scripts? can you give examples of what you use them for?
MrPresident said:
hi,
quick question..
i put "setprop service.adb.tcp.port 5555" in file.txt, and save this to /sdcard.
if i run "sh /sdcard/file.txt" from adb shell, on pc, then it works and getprop confirms.
if i run "sh /sdcard/file.txt" from terminal emulator, on phone, it says "could not set property".
can someone explain this behaviour? tahnk you.
in addition, where should you save shell scripts on your phone?
do you guys use shell scripts? can you give examples of what you use them for?
Click to expand...
Click to collapse
Try "su" command first and grant root access to terminal app
minimale_ldz said:
Try "su" command first and grant root access to terminal app
Click to expand...
Click to collapse
thanks for the reply, minimale.
okay. so, as you suggested, it works when i do it as root from the terminal app.
but couple of things.
1) Why can i run it from adbshell without 'su' command. through adb shell it still works as "[email protected]:/ $" instead of "[email protected]:/ #"
2) how come, without 'su', I can access "/sdcard" (as "[email protected]: / $"). but, as root, I have to go through "/data/media/0"
MrPresident said:
thanks for the reply, minimale.
okay. so, as you suggested, it works when i do it as root from the terminal app.
but couple of things.
1) Why can i run it from adbshell without 'su' command. through adb shell it still works as "[email protected]:/ $" instead of "[email protected]:/ #"
2) how come, without 'su', I can access "/sdcard" (as "[email protected]: / $"). but, as root, I have to go through "/data/media/0"
Click to expand...
Click to collapse
I'm glad I helped, but have no idea where the differences between ADB and terminal emulator come from. It's beyond my current knowledge.
minimale_ldz said:
I'm glad I helped, but have no idea where the differences between ADB and terminal emulator come from. It's beyond my current knowledge.
Click to expand...
Click to collapse
no worries. i got what i need.

Categories

Resources