Galaxy s4 adb shell error - Galaxy S 4 Q&A, Help & Troubleshooting

Hey iwant to use adb shell to grant permission for morelocal2 and when I put the command it says error adb closed isearched online and I couldn't find any thing can help any solutions?
Sent from my GT-I9505 using xda app-developers app

Thezombiet said:
Hey iwant to use adb shell to grant permission for morelocal2 and when I put the command it says error adb closed isearched online and I couldn't find any thing can help any solutions?
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
in developer options set "root access" as "Apps and ADB"
and use adb shell as su

Related

How do i give my app SU permission?

im writing an app and it requires root permissions, can anyone help me out?
Normally you execute "sh" to open a shell and then you keep streaming commands to it.
The only difference is that you need to use "su" instead of "sh"
See http://code.google.com/p/netmeterle...statusled/utilclasses/ChargingLEDLib.java#295 for an example
Thank you so much!
Sent from my Nexus One using XDA App

[Q] Permission denied in Terminal after root running "free"

ok so i have my phone rooted
I have ADB working right
I go to the terminal in the phone and type "su" and it takes me to the # just fine, also works in ADB (after adb shell).
When i type "free" to see the memory it says "permission denied" on the phone, and in ADB. In ADB, I have tried it from the # which gives me "not found", and then tried it at the $ and that says "permission denied".
I can reboot my phone from ADB, but not in terminal on the phone.
I'm not real sure why i get "permission denied" if my phone is rooted right
any ideas and help would be great thanks
Similar issue Kinda
when I type in 'free' after 'su', I get:
free: not found
It worked just fine for me.
Sent from my HTC Glacier using XDA App
dustrho said:
It worked just fine for me.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
when you rooted your phone .. did you use the visonary temp way .. or the new way thru ADB?
Also those who are or are not having the permission denied...was your root done pre or post update? Mine was post and do you have a recovery flashed?
Sent from my HTC Glacier using XDA App

How does one get su in ADB?

I am rooted with S-OFF on the phone. But, unlike the Vibrant, adb denies me su access when I enter "su" at the $ prompt. Anyone else see this?
Once you enter ADB through the SDK tools if I remember right, just start out with the 'su' command- I just caught it a couple days ago in one of the mt4g rom threads under the android development section- maybe a search for 'su' in those threads- I can't take the time to look right now- I'm @ work
Some roms connect by default as Su over adb... if you see a $ your regular user, # is root prompt...
If you have a $ and you get denied still, go to your Su app and confirm that adb has Su permission or at least isn't denied...
Sent from my Desire HD using XDA App
ESKIMOn00b said:
Some roms connect by default as Su over adb... if you see a $ your regular user, # is root prompt...
If you have a $ and you get denied still, go to your Su app and confirm that adb has Su permission or at least isn't denied...
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Thanks for the replies so far. ADB is not listed in the su app. How do I add that? Wouldn't it be the daemon that needs root access?
EDIT: Got it. Duh! It would help if I look at the phone while requesting root access. Thanks!
yes it should.... i was wanting you to check that it was not in there with specific permission to deny...
youll need to hit allow on the phone just like any SU call BTW...
Editing my post while you posted. Thanks!
Confused me too the first time.... I got it figured out pretty quick tho....
Give a look at wireless adb its super sweet! Market wireless adb...
Sent from my Desire HD using XDA App

ADB on Mac Operation not permitted

I have installed the SDK and I'm able to run ADB
But when I try to run "adb remount"
it returns remount failed: Operation not permitted, even if I run it as su
as a note I'm running Snow Leopard, newest SDK
And VillainROM 1.0 KE2 on a Galaxy S 2
On my mac i have to enter ./adb remount....
Are u entering the ./ at the beginning of the command?
Sent from my HTC Evo
The ./ is cause the path to your adb isn't set in your shell.
From something awesome
Yes, I am. Otherwise it would have said command not found
I can do adb shell, but not remount
Sent from my GT-I9100 using XDA Premium App

Find out android version without touchscreen?

I have a note 3 and a galaxy mega. Both screens broken. How can I Find out the android version without using the touchscreen?
Sent from my SM-N900V using XDA Free mobile app
Plug it in to the computer and type: "adb shell getprop ro.build.version.sdk" into the command prompt.
Baconer said:
Plug it in to the computer and type: "adb shell getprop ro.build.version.sdk" into the command prompt.
Click to expand...
Click to collapse
Ok.thanks. You guys know.all.the commands
Sent from my SM-N900V using XDA Free mobile app

Categories

Resources