[Q] root access - Android Q&A, Help & Troubleshooting

I have a locked samsung galaxy s5..I have it rooted with usb debugging enableled. I cant remember the PIN as its an old phone. So I dont have access to install anything on the phone.
I use adb ...type SU and I get the prompt. Whats the command line if I want to remove the locksettings.db to a folder called droid on my C: drive.
I also used android commander and root explorer. I cant get get root access on either program. I dont have access to the phone to install insecure adb or busy box.

Related

Root info

I have used the instantroot method of rooting my fone (hero)
How do i know if it has worked ?
is there a new app or terminal window installed lets me control apps and settings etc
The easiest way to test if the device is rooted is to open another command prompt in the tools dir and type
adb root
If it returns that adb is already running in root, then you're all set.
Try google next time.

[Q]My Files.apk root access

Hey Guys,
Would it be possible to give Samsung's stock app "My Files" root access through su or perhaps modifying the code? I purchased root explorer but to be completely honest like the feel of the original app.
No.
Ability to access root must be built into the application. There are only a few that have it. Root Explorer is by far the most popular and most used.
Isn't android based on linux, and don't applications run like programs? So in theory couldn't you use a sudo or su like command that would give the program full rights?
I know it's got to be possible given the environment that it's running in and I feel like it would be relatively rudimentary.
With root access you can use android terminal emulator and the su command to get root access. Or you can use Android Debug Bridge (adb) from a Windows, Mac or linux computer. Since you are new to android, perhaps you should do some searching and reading so you can gain some general knowledge. In the guides linked in my signature you can find some directions for using adb and terminal emulator.
But still, installed applications will only function the way they are programed, and MyFiles does not have root access.
Thanks for your help, i'll look into adb. Inevitably I want to start developing on the kernel level but thought this would be a good place to start.
Have you tried ES File Explorer? It is free and has root access (must be enabled within app settings).
I also was not a fan of Root Explorer.

[Q] Access USB via ADB

Hey guys,
is it possible to access the internal storage via adb, without having a display?
My Galaxy SII Display is broken, but the rest should work.
usually i have to lock in with the security points that have to be connected (i dont know how that is called in english),
to allow access via usb.
now that the display does not work, i can not go that way.
so is it possible to access the internal storage via adb?
or do you have another way for me to get my data back?
i am not going to buy a new galaxy s2 and replacing the motherboard,
because its not worth it.
i have cm10.1 installed with dorimanx kernel, and root is allowed for adb and apps.
i never used adb, so i dont know how to start my search.
i also have the problem that i dont know how to look for that thing,
because im not english.
it would be nice if you can give me a start,
or another way to access the internal storage.
i also thougt about accessing via recovery.
i think i can go into recovery, and by pressing volume and power keys,
i can naviagte to mount data.
but im not sure about the steps,
so if anyone have a dorimanx 7.xx kernel,
can you please write the steps down for me?
thank you.
Grandtheftman said:
Hey guys,
is it possible to access the internal storage via adb, without having a display?
My Galaxy SII Display is broken, but the rest should work.
usually i have to lock in with the security points that have to be connected (i dont know how that is called in english),
to allow access via usb.
now that the display does not work, i can not go that way.
so is it possible to access the internal storage via adb?
or do you have another way for me to get my data back?
i am not going to buy a new galaxy s2 and replacing the motherboard,
because its not worth it.
i have cm10.1 installed with dorimanx kernel, and root is allowed for adb and apps.
i never used adb, so i dont know how to start my search.
i also have the problem that i dont know how to look for that thing,
because im not english.
it would be nice if you can give me a start,
or another way to access the internal storage.
i also thougt about accessing via recovery.
i think i can go into recovery, and by pressing volume and power keys,
i can naviagte to mount data.
but im not sure about the steps,
so if anyone have a dorimanx 7.xx kernel,
can you please write the steps down for me?
thank you.
Click to expand...
Click to collapse
if you can mount in recovery then mount everything in recovery,connect your device to PC and the open command prompt and navaigate to folder where you have set up android sdk.
now do the following
1) adb shell
2) now type ls -it'll list all folder and files.
3) now navigate to your sd-card (can't tell exact name for internal sd card) by typing cd <directory name>
4) you can list all files by using ls command.
5) Once you find the exact directory name of sd card and files to be recovered then type exit
6) now type adb pull /path/to/your/folder/filename.File will be saved in working directory...
i don't have s2,just helping you with some common adb stuffs.
btw you can use adb file managers which provides GUI.Like this one http://forum.xda-developers.com/showthread.php?t=1821601
adb
Connect the phone to system, Open terminal and do adb remount then adb shell.
Now do ls, you will be able to see all the folder and everything. Go to Sd-card folder and there you should have all your data.
There is and app ADBExplorer. I have never used this tool, but you can check it is GUI.
Thanks,
The ADBFileexplorer worked very well for me.
Just booted in recovery and started the explorer.jar in the adb folder.
Thank you for the tips.
This can be closed now

[Q] How to use ADB to install Odin to my phone?

I downloaded a standalone version of ADB from this website (no SDK) and the Odin files (loki_flash and recovery.lok). I put the Odin files in my data/local/tmp folder using Root Explorer on my phone. Now I'm trying to use the ADB shell command to install them. However, when I try to run it, it says "error: device offline" even though it's plugged into the USB port. How do I get ADB to detect my phone?
Thank you.
silverfang77 said:
I downloaded a standalone version of ADB from this website (no SDK) and the Odin files (loki_flash and recovery.lok). I put the Odin files in my data/local/tmp folder using Root Explorer on my phone. Now I'm trying to use the ADB shell command to install them. However, when I try to run it, it says "error: device offline" even though it's plugged into the USB port. How do I get ADB to detect my phone?
Thank you.
Click to expand...
Click to collapse
Your have to authorize ADB from your phone, a message should pop up if it doesn't then first make sure you have the latest usb drivers, and that you have enabled usb debugging on the phone try and to use adb again and see if that works. If all else fails it never hurts to download the SDK, and make sure both java/jre and ADB are in your system path variable.

Can't get ADB root access - What else could I try?

Hi there
I fiddle largely with MTK based phones and when I tweak a phone, I normally only need ADB root access. So my general process has been to:
1. OEM Unlock the device
2. unpack the boot.img and change the default.prop values (ro.adb.secure etc) to allow ADB root access.
3. Use ADB to get temporary write access using adb Root, then ADB remount Rw. Then you can pull and push files.
However I have an MT8735b, Android 7.0, Alps based device that will simply not give me ADB root access. so when I run "adb remount rw" or any of the equivalent shell scripts you can use instead, it just won't give me write access.
So I heard that newer phones based on these chipsets and also ones like 6737M are locking the device up in other ways.
My question is, does anyone have any ideas or knows anything I could try to get root access?
Any help is much appreciated.

Categories

Resources