How can I get root access on the stock recovery mode? - Android Q&A, Help & Troubleshooting

Hi~
I have been trying to gain root privileges on the Samsung Note4 stock recovery mode.
I want to do several things to adb commands. But I can not gain root permission.
e.g, adb shell mount ...
I had to enter the adb shell su command, confirmed that normally are handled.
But when I enter a command that requires root privileges, permission denied message was output.
Is there any other way in the recovery mode to obtain root privileges?
I'll wait for answers.

Related

[Q] [Help/Q] Rooted, but adb is not recognizing su priviledges

Okay, my Atrix is rooted and USB Debugging is on, but when I try to remount adb, it says "remount failed: Operation not permitted". Since I can't get adb shell to the # to come up, I type "adb shell su" and I get a Permission denied. I originally rooted with SuperOneClick and enabled sideloading with it and today I rerooted, unrooted, then used DesignGears' new root script to reroot and clean up SuperOneClick's root. Still no adb root access. I have TitaniumBackup, Superuser, and RootExplorer installed and even downloaded Root Checker to check if i really had root. I've spent almost all day looking this up and the closest I've found is the thread that talks about adb showing the device offline with the fix of copying over another adbd to the sbin folder(which I also tried) and adb still doesn't seem to recognize my root. The only time I can get the # prompt is when I do a shell root with SuperOneClick, but that is just a temporary root. Is anyone else experiencing this?
Edit: forgot to mention that adb works fine when I connect my NexusOne, so it's probably not the computer.

[Q] Disable ADB root login (cyanogenmod)

Now my phone is rooted, engineering boot ROM, with Cyanogenmod installed.
I'm wondering from a security standpoint, if someone happens to take my phone, and I happen to forget to disable USB Debugging, how can I make it harder to use ADB to reformat the phone?
By default, an ADB shell gives root access to the phone. How can you set the ADB shell to default to an unprivileged user that will have to 'su' in order to gain root access?
matkam said:
I'm wondering from a security standpoint, [...] How can you set the ADB shell to default to an unprivileged user that will have to 'su' in order to gain root access?
Click to expand...
Click to collapse
I'd really like to know this, too. :b

[Q] ADB Permission Denied

Hey Guys, So I'll Start off By Saying That Im Still Pretty New to Android, and I May not Understand Whatever You Are Trying to Tell Me, So Guide Me along The Way Yeaaaa? Pardon My Noob-ness...
Anyway, So I Just Tried Editting My Systemui.apk File, So Now I'm Trying to Use ADB to Push it back to My Phone. So I Go to ADB and Type the ADB Command " ADB Push systemui.apk /system/app " And It Says Permission Denied...
- It Seems Like I Need to Grant ADB root Permissions, So How Do I That? Some su Command Right ? What Exactly Is It
- My Phone Is Rooted, and im Using Super SU
So, I wanna Ask, How do i bypass this permission denied thing? Help Would Be Appreciated
Sup
AW: [Q] ADB Permission Denied
Under developer options you have to grant superuser rights to adb. Under root access you have to choose adb and apps.
Then you should be able to type in terminal adb su. And then your command.
sent from a slim bean with max memory
Thank You For The Reply Haha
Anyways,There isnt Such An Option in My Super SU App, So Where is it Found?
Lol Okay... i got it working already... I Managed to Grant ADB superuser rights now. Thanks Haha:laugh:
Now Im In # After Typing su... However, When I Use ADB Push Command, Its Says ADB not found, So I Still Cant Use The Push Command.. How Do I Use It in # mode ?
Im using Lyf wind 7s LS5016 im try to root many times and many methods but no on cannot root my device and im try to install su binary using adb but it says permission denied and
antes de usa el comando adb root para dar root a tu ADB xD
any solution to similar problem for unrooted device?

ADB running as Root on Production Builds...

Hey all,
Found the pieces all around the internet, but I am am working on a ROM, and though I would share my steps to enable ADB running as Root, allowing us to adb push/pull /system/app.
1. Download adbd insecure from the Google Play Store, open and select run on Boot and the "insecure" checkbox.
2. Run adb kill-server on your computer.
3. Run adb root on your computer
4. Profit
You can now push/pull/chmod/mkdir in system directories! (However on /system for example, you still need to remount it RW through adb shell first.

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