help rooting my phone - Galaxy S 5 Q&A, Help & Troubleshooting

help rooting my phone
I'm new to android and try to rooted my phone (Samsung galaxy s5 sm-g900f)
i used all the different manuals and rooted my phone with "CF-Auto-Root-klte-kltexx-smg900f".
so now i can open shell and enter su command.
however that wasn't enough i needed to run "adb root" command,
but that gave me the error "adbd cannot run as root in production builds"
so i used another manual and changed default.prop file in boot.img.
i changed ro.secure = 0
and ro.debuggable = 1
now when i run "adb root" it returns "restarting adbd as root" but nothing happens!
after i open the shell im not rooted until i enter the su command.
so i'm assume that "adb root" is not working properly.
does anyone have any advise?
Thanks very much for the helpers

..

Thanks for your reply
I will try to be more clear because my English is not the best.
what i need is the adb to run as root. because i need to use "adb remount".
when i send "adb root" i get the reply "restarting adbd as root"
when i send "adb remount" i get "remount failed: Permission denied"
when i'm using the adb with the "su" command i have root access and everything is working properly.
I cant use a work around with the "su" command because im using a pc program that sends "adb root" and "adb remount" and it fails because "adb remount" failed on permissions

Related

[Q]

Ok, following the instrucions of Darkonions Easier 1-2-3 Droid Root, I am finding it a little compicated at step 6a, I entered ./data/local/tmp/rageagainstthecage-arm5.bin just like it says, it starts it's process, installed my drivers, and then it booted me out, I waited for awhile, but nothing happened, It says to "To check if rageagainstthecage worked it's magic, enter the shell with adb shell. You should see a # sign. If you don't, you need to run rageagainstthecage again by entering the command from step six.
how do I check the adb shell? .. I apologize for the noob questions, but coming from an iPhone, this is all greek to me.
hi,
to enter adb shell first make sure you are in your tools directory ex (cd c:\android-sdk-windows\tools) once your in the directory just enter adb shell on a command line. if your get the # you have root. I would also suggest looking at doroot the droid2 one click rooting method which works perfectly for me. Its a quick script install that basically runs all the commands for you. hope that helps.
If you get a "$" prompt, type in "su" and hit enter to see if you have root. You will see SU permission popup on your dx which you should allow. If prompt changes to "#" then you have root.

adb push, adb remount and adb shell

So i am modding my own widgetlocker for the first time and would like to push it back into my device.
See screenshot first.
and i am using clockworkmod recovery 2.5.0.1.
Problem, as you can see, i think i've successfully push it right? but when i reboot why i still cant see the app?
and for adb shell, when i entered that, yes it passed, then when i entered "su" , it says not found. why is it?
i tried installing but got the error as you see in screens.
adb remount, failed? why?
You are using adb wrong!
For pushing you have to use this template:
"adb push *file* *directory*"
e.g.: (without quotes)
"adb push com.teslacoilsw.widgetlocker-1.apk system/app/"
not:
"adb push com.teslacoilsw.widgetlocker-1.apk /system/app/com.teslacoilsw.widgetlocker-1.apk"
Also make sure, that your SDK is installed correctly, because you used "adb install" correctly, but it gives you an error.
I hope it can help you, had got the same issues..
Hi mate, thanks for the reply. I got it working just before you posted.
this is what i did.
1) adb remount (i did it first and it succeeded! yay!)
2) adb push (still using the same template as i did)
but still very much thanks for replying. will keep your info in mind!
yay my first adb!
cool that you figured it out!

Amazon Kindle Fire 6.2.2 Rooting on a Mac

I've been primarily following the instructions available at http://forum.xda-developers.com/showthread.php?t=1443071, however I've run into some basic issues.
When I run BurritoRoot3 (verified off the big red 3 in the app), the app does not give me a "root" option and immediately opens a dialog box requesting me to "run /data/local/tmp/BurritoRoot3.bin --root" through adb to start the process?"
I have the kindle device listing in "adb devices" as "7A7C002600000001 device"
I try to run the command listed and get an error that the bin file does not exist.
"adb reboot" does reboot the device
"adb root" gives me "adbd cannot run as root in production builds"
the one automatic script for mac & 6.2.2 keeps giving me "error: device not found" errors.
-----
Everything I can find to test the computers install of ADB seems to verify that its working correctly and my forum searching + google search skills are failing me: anyone know some forum threads that cover this?
- the app does not give you a root option - it only guides you what to do
- have you followed all steps ?
adb shell chmod 777 /data/local/tmp
adb install BurritoRoot3.apk
<go open the app now>
adb shell /data/local/tmp/BurritoRoot3.bin --root
adb shell /data/local/tmp/BurritoRoot3.bin --install
maybe you have to do the adb commands with ./ in front (eg ./adb whatever)
t4nn3d1n said:
I've been primarily following the instructions available at http://forum.xda-developers.com/showthread.php?t=1443071, however I've run into some basic issues.
When I run BurritoRoot3 (verified off the big red 3 in the app), the app does not give me a "root" option and immediately opens a dialog box requesting me to "run /data/local/tmp/BurritoRoot3.bin --root" through adb to start the process?"
I have the kindle device listing in "adb devices" as "7A7C002600000001 device"
I try to run the command listed and get an error that the bin file does not exist.
"adb reboot" does reboot the device
"adb root" gives me "adbd cannot run as root in production builds"
the one automatic script for mac & 6.2.2 keeps giving me "error: device not found" errors.
-----
Everything I can find to test the computers install of ADB seems to verify that its working correctly and my forum searching + google search skills are failing me: anyone know some forum threads that cover this?
Click to expand...
Click to collapse
You have to make sure that you do this command:
adb shell chmod 777 /data/local/tmp
Otherwise it will not make a "BurritoRoot3.bin" file, which means no root.
Install the BurritoRoot3.apk on your kindle, and go into the app.
After that is finished, input:
adb shell /data/local/tmp/BurritoRoot3.bin --root
Then:
adb shell /data/local/tmp/BurritoRoot3.bin --install
I found http://forum.xda-developers.com/showthread.php?t=1410223 which has that chmod command in it. Naturally I found that thread 10 minutes after I posted and was so dumbstruck with myself that I didn't post a reply to my own post.
The device is rooted now and I installed the Alpha Release of MIUI 4.0.? and naturally a few things don't work. Trying again with MIUI's 2.3 stable release (don't know the version number off the top of my head)
Thanks for the quick reply and looking out

[Q] After entering "adb shell", it returns "sh-4.1$" instead only "$"

[Q] After entering "adb shell", it returns "sh-4.1$" instead only "$"
After entering "adb shell", it returns "sh-4.1$" instead only "$".
What does this mean?
And when I type "mount -o rw, remount /system", it returns "sh: mount: command not found".
When I type "su", it returns "sh: su: command not found"
I am running on ...0089_ROW and I lose root after update
What does this **** means?
I could be wrong, but pretty sure it's a strong reminder you don't have root. I'm not well-versed, but I thought you needed root to use adb.
Yes, I don't have root.
I've tried to update with temp unroot via Rootkeeper and now i cannot take my root back.
I have su-backup in /system, but OTA Rootkeeper just say "su backup restored".
But root isn't restored.
That's while I try to take my root back via adb.
Đžbviously I must wait for ICS, I don't know.
Addition, my DHCP server doesn't work and when I what to connect to WiFi I must enter manually everythink (IP,DNS etc)
I cannot find any solution to my problems in the most popular forums.
Sorry I can't help. I'm lucky to have root through the efforts of others.
Which Rom are you on now?
I'm now on A400_03_0069_0121_ROW
Sorry for the late answer!
There's no hope for me

[Q] How do I get full root

Hi, my i9505 is rooted ok but it doesn't seem to be fully rooted (don't know a better wording).
I can't "adb remount" to get system mounted rw and
"adb shell" doesn't default into an su prompt (su command in shell works though)
What needs to be done to fix this?

Categories

Resources