How can I install SuperSu on a pre-rooted Android head unit? - Android Head-Units

Hello everyone,
I am working on a pre-rooted Android head unit. I can do "adb root" or "adb shell su" using wifi adb. So there is root access and Su binary on the device. But I can't use root applications because there is no app to grant root access. I have tried installing supersu or superuser on /system/app. I made it install the apps but they say "device not rooted" when I try to run them.
So how can I make supersu see my su binary?

Related

Can not access to su with adb

Hy everybody,
I was trying to acces to su (root) using adb but it does not work:
Code:
su -
Permission Denied.
I think I have correctly root my phone using SuperOneClick, and I have the apps SuperUser installed.
Do you know
benpaka said:
Hy everybody,
I was trying to acces to su (root) using adb but it does not work:
Code:
su -
Permission Denied.
I think I have correctly root my phone using SuperOneClick, and I have the apps SuperUser installed.
Do you know
Click to expand...
Click to collapse
check the phone after typing su. Also make sure the phone is unlocked.
Okay it was a really stupid things to do, but unlocking the phone help me

[Q] How to tell if rooted correctly?

I followed the BurritoRoot method on my KF 6.2.1. I have installed the marketplace, a new launcher, and lots of other apps.
All I wanted to do was change the permission to stop the wallpaper rotation. However when i browse with ES File Explorer, I get "empty folder" if I look in /data. So I attempted to open the setting of ES File Explorer and select "Root Explorer". and it told me Sorry test failed unable to run this feature on your phone.
Finally I downloaded a program called "Root Check" and clicked Verify Root Access, its gives me "Sorry, you don't have root access."
However the fact I can install all these apps, etc leads me to believe I do have access.
One last this. I have a Nexus S 4g root, and it often prompts me to to use superuser app, I am not seeing this on the KF.
I do have GO Task manager widget, that shows the superuser icon as loaded.
I am very confused. In the end all I wanted was to stop the blasted wallpaper changer. HA!
ty!
crimsontide said:
I followed the BurritoRoot method on my KF 6.2.1. I have installed the marketplace, a new launcher, and lots of other apps.
All I wanted to do was change the permission to stop the wallpaper rotation. However when i browse with ES File Explorer, I get "empty folder" if I look in /data. So I attempted to open the setting of ES File Explorer and select "Root Explorer". and it told me Sorry test failed unable to run this feature on your phone.
Finally I downloaded a program called "Root Check" and clicked Verify Root Access, its gives me "Sorry, you don't have root access."
However the fact I can install all these apps, etc leads me to believe I do have access.
One last this. I have a Nexus S 4g root, and it often prompts me to to use superuser app, I am not seeing this on the KF.
I do have GO Task manager widget, that shows the superuser icon as loaded.
I am very confused. In the end all I wanted was to stop the blasted wallpaper changer. HA!
ty!
Click to expand...
Click to collapse
If you used BurritoRoot and you were able to successfully install the Market, then you likely have root.
Easiest and simplest way to 100% know is connect your KF to your PC. Run the following:
Code:
adb shell
su
If it says "su: Permission Denied" you don't have root (or at least it is not currently enabled). If it just gives you a prompt run:
Code:
id
If it comes back and says "uid=0(root) gid=0(root)" then you are good.
Make sure you use the superuser posted in the burritoroot post. There was one posted originally that was no good with the kindle fire but they updated to a working one.
Sent from my HD7 T9292 using XDA Windows Phone 7 App
if you want to know your kindle is rooted, use root checker, installed it on you KF and check.
http://www.mediafire.com/?jj8sx4ojvq9i198
litotamez said:
if you want to know your kindle is rooted, use root checker, installed it on you KF and check.
I tried that app and it reports, "Sorry, you don't have root access."
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac devices
List of devices attached
7766000600000001 device
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac shell
$ su
su: permission denied
$
Looks like I have some more work to do, and I am not sure where to start.
I have installed on the KF:
BurritoRoot: Kindel Fire Edition 1.0.0
version 1.0.0
SuperUser version 3.0.6
Click to expand...
Click to collapse
Ok I went back and re-ran everything. Had to uninstall SuperUser in the middle, but things seem to be working better now!!!
HTML:
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac root
adbd is already running as root
Traveler:KindleFireRootMacLinux crimsontide$ adb push su /system/xbin/su
-bash: adb: command not found
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac push su /system/xbin/su
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac shell chown 0.0 /system/xbin/su
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac shell chmod 06755 /system/xbin/su
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac install Superuser.apk
4426 KB/s (785801 bytes in 0.173s)
pkg: /data/local/tmp/Superuser.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac install Superuser.apk
2858 KB/s (785801 bytes in 0.268s)
pkg: /data/local/tmp/Superuser.apk
Success
Traveler:KindleFireRootMacLinux crimsontide$ ./adb-mac reboot

update su to SuperSU?

Hi,
I used root_de_la_vega script to replace the existing su with SuperSU. It puts SuperSu.apk in system folder. Then I was able to update SuperSU via Market.
It seems that SuperSU is actually quite smart. It will detect existing su and remove it.
Does this mean you can simply install SuperSU to replace existing SU?
Thanks

[Q] TWRP Help please

I have finally taken the plunge and rooted my LG G2.
I followed the directions manually and using FreeGee I THINK I installed TWRP. How do you verify it is installed? I looked all through my apps and can't find it anywhere.
Hope this isn't a stupid question.
Also, Root Browser never asks for SU permissions (and not listed in SuperSU logs), and all the apps I am supposed to be able to safely remove are not shown in the system/apps folder. So confused there as well.
TWRP is a custom recovery, not an app. Download Quick Boot from the play store, and you'll have the option to boot into recovery. To verify you have root, download Terminal Emulator from the play store, and type su at the android:/ $ prompt. After hitting Enter, you should be at a [email protected]:/ # prompt if rooted.
Root. Checker and terminal emulater both show me to have root access.
However root explorer doesn't show any of the apps that are supposed to be safe to remove, and it never asks for su permission like the other root apps do.
Also there is no/ system/apps folder. There is only/ system/app. Are these folders hidden somehow?
Sent from my LG-D800 using xda app-developers app

how to allow root for apps?

I have a nvidia shield tv with full android 6.
adb root and and adb remount is working, so I have root access on shell level.
Also I have /system/xbin/su which goes into root if I do not use "adb root".
But root for apps does not work. No app gets root access, RootChecker says "no".
I installed Superuser.apk but this did not help.
What is missing?
I see that this:
java.io.IOException: Error running exec(). Command: [su] Working Directory: null Environment: null
Caused by: java.io.IOException: Permission denied
I saw that RootChecker tells me "SELinux enforcing", is this the problem?
I do not want to download any ready-made root miracle and flash the whole device.
Since I have adb root, I can adb push everything.
Just flash su.zip and all will be fine.
I don't need SuperSU. I want to root my device i.e. that apps can execute su.
I have /system/xbin/su but it seems that apps cannot use it.
SuperSU is required to give root access to apps, even with full Android. You will need to flash the zip file from TWRP recovery.
How does SuperSU work?
As far as I understand, there is a /system/xbin/su which is called by apps wanting root access.
This su binary then starts the app to verify access. Right?
Not sure, but I think that su is just for adb and maybe system apps.
On my system I have "adb root" access. But apps do not have root access, I do not have supersu or su.

Categories

Resources