Priv-app vs Su privileges - SuperSU

As we're loosing the root/safetynet battle with Google I have been wondering about how to live without root. If I place an app in the priv-app folder I suddenly give the app permission to the system, how is this different from just giving it root privileges? If they are the same, what would I lose if I move all of my root required apps to priv-app folder and then un-root?

just tried moving Sixaxis Controller as system app, then unroot, it failed to load driver
So, yeah. it's totally different ball game

ZzzzzxXxzzzzZ said:
just tried moving Sixaxis Controller as system app, then unroot, it failed to load driver
So, yeah. it's totally different ball game
Click to expand...
Click to collapse
Yeah, IDK why though. Some apps like adaway and FlyGPS are perfectly fine with it and even tell you to put them there for root privileges, but titanium backup and root explorer won't work without su.
Would love to get rid of root on my phone as Ive managed to get away from xposed.
EDIT:Spoke with Colin from Speed Software (Root Explorer) and he linked me to this permission breakdown: https://developer.android.com/reference/android/Manifest.permission.html

Related

[Q] Can't delete s_volt_scheduler from /etc/init.d

I've moved to SuckerPunch's 1.4ghz OC/UV kernel, and I need to remove the old s_volt_scheduler from /etc/init.d in order to stop Xan's app and SetCPU from FCing all the time.
Any ideas on how to do this? I've tried Astro and it gives a permission denied, and when I mount the phone thru USB I can't even seem to find the appropriate directory in Windows Explorer.
Thanks for any help or ideas you could provide on how to remove these files, or grant permission to them so I can remove them. I am rooted, running Phoenix 4.5.
Root Explorer app?
And SGS Tools allows you to grant permissions I believe.
SGS Tools was a no-go. Got the .apk for Root Explorer, sideloaded, worked like a charm. The issue was that the filesystem was loaded as readonly, root explorer allows you to mount as read/write.
Thanks.
root explorer is the first application i install everytime i reflash my rom.
mengbo said:
root explorer is the first application i install everytime i reflash my rom.
Click to expand...
Click to collapse
Definitely keeping it on the "must have" apps for each time I reflash. Completely annihilates Astro.
Thanks again, guys.

Permission Denied Error

As of this morning, my kindle fire HD 7" was reset back vanilla launcher and un-rooted.
I have re-rooted but keep getting the error "com.estrong..fs.FileSystemException: Permission Denied" whenever I attempt to move my launcher files to system/app
My file explorer has root privileges and I do have my device rooted but it just kind of stumped me.
Does anyone know of a way around this; Has this happened to anyone else within the last 24 hours?
P.S:
My System Version is 7.4.3
File Explorer: ES File Explorer (With all root options selected)
Anyone have any idea?
I still have no idea what's causing the issue.
evildread said:
Anyone have any idea?
I still have no idea what's causing the issue.
Click to expand...
Click to collapse
which method did you used to root kfhd !??
try to root your kf again if the problem is still unresolved !!
first root with restore and after that root with qemu. it's been my way of doing it trough all the amazon updates. it NEVER failed
if you have problems with superSU, just uninstall it and install superuser from market.
phonexpert_alex said:
first root with restore and after that root with qemu. it's been my way of doing it trough all the amazon updates. it NEVER failed
if you have problems with superSU, just uninstall it and install superuser from market.
Click to expand...
Click to collapse
I feel like such an idiot..
It turned out the system folders weren't mounted.. So I was getting denied root access..
I had gotten the new version of ES File Explorer (Which I'm not used too), which was giving me the problems.. So I Downloaded FX File Explorer and saw that it wasn't mounted and just NOW finally found how to mount with ES...
Sorry for the post, I feel so freaking stupid.. =/

[Q] Problems with CM 10.1 superuser

I have a plain vanilla CM10.1 on my HD+. The included CM File Manager runs fine with root privilege. I've also installed a newer version of Jackpal's Term (terminal emulator) which runs fine as well with root.
However, the current version of ES File Manager will not run with root privilege. When I try to activate this, I just get the message "Sorry, test failed." Interestingly, the app is visible in Settings>Superuser as "allowed", but it still fails to acquire root. (I already uninstalled and reinstalled ES File Manager a couple of times with no success.)
Additionally, another app I tried to install (SambaDroid) gets denied root by the CM Superuser app without me even being able to say yes or no.
So something is not working as it should be...?
Have you tried installing supersu from the market?
Sent from my PG86100 using xda app-developers app
jpisini said:
Have you tried installing supersu from the market?
Click to expand...
Click to collapse
No. I'm not sure whether installing multiple superuser apps is a good idea... I may end up with a system where the two apps slug it out and
I am left without root access. (OK, I do have backups so that wouldn't be a catastrophe.)
Having said that, I would have tried installing another SU if I could get rid of the CM SU in the first place, but these days this thing is baked into the Settings app and I've found no information as to whether (and if so, how) this can be disabled.
Hints anyone?
Seems I am the only one with that specific problem.
The solution (well, not really but probably better than mucking with the CM superuser app): I've removed ES File Manager and installed X-plore File Manager instead. The interface of the latter is not that great but it seems to do most (or all?) of what ES can do (plus it does open password-protected RAR files, a big plus for me). And of course it supports root...
Still I do not understand why ES would not work with the CM superuser but there you go.

rooted. now what? how to remove bloatware?

Hi,
I have the lg optimus l90.
I used the towelroot app to root the phone. i used a terminal app to verify that i do have root. when the app opened, it displayed a $ sign but when i typed "su" and pressed enter it gave me a "#" prompt. so am i rooted?
also i was told to install the superSU app. why do i need this? can't i just uninstall the bloatware right now since i am rooted?
I installed the superSU app but it was not able to install the su binary because i did not reboot the phone after using towelroot. I uninstalled the SuperSU app. anyhow, what do I need to do now to remove those bloatware apps. there is no option to uninstall in the apps section of the android settings application.
finally, I read somewhere that i should use nobloat app to uninstall the bloatware but it is not uninstalling the bloatware. I uninstalled it.
so what do I do now?
any help would be much appreciated.
thanks.
Superuser is needed for apps to have root rights to your phone. Install superuser. Reboot phone and open app. Reboot again if needed. Rooting is useless without superuser installed
Sent from my LG-D410 using Tapatalk
helix3000 said:
Hi,
I have the lg optimus l90.
I used the towelroot app to root the phone. i used a terminal app to verify that i do have root. when the app opened, it displayed a $ sign but when i typed "su" and pressed enter it gave me a "#" prompt. so am i rooted?
also i was told to install the superSU app. why do i need this? can't i just uninstall the bloatware right now since i am rooted?
I installed the superSU app but it was not able to install the su binary because i did not reboot the phone after using towelroot. I uninstalled the SuperSU app. anyhow, what do I need to do now to remove those bloatware apps. there is no option to uninstall in the apps section of the android settings application.
finally, I read somewhere that i should use nobloat app to uninstall the bloatware but it is not uninstalling the bloatware. I uninstalled it.
so what do I do now?
any help would be much appreciated.
thanks.
Click to expand...
Click to collapse
Along with root and SuperSU, you will also need a root App manager or root file manager. I personally prefer to use ES File Explorer as it is both an application manager ( user and system ) as well as an awesome file manager.
There is no list of acceptable system apps to remove. So be very careful as to what you uninstall or you may endup with a soft bricked phone or one that spazzes out whenever it feels like it. I would recommend making backups of any app you want to remove before uninstalling it. At least you might be able to restore them if something goes wrong.
shinobisoft said:
Along with root and SuperSU, you will also need a root App manager or root file manager. I personally prefer to use ES File Explorer as it is both an application manager ( user and system ) as well as an awesome file manager.
There is no list of acceptable system apps to remove. So be very careful as to what you uninstall or you may endup with a soft bricked phone or one that spazzes out whenever it feels like it. I would recommend making backups of any app you want to remove before uninstalling it. At least you might be able to restore them if something goes wrong.
Click to expand...
Click to collapse
thank you both for the replies.
so what exactly is SuperSU for? when I opened it up I saw nothing in the apps list and I did not see anything else in the other lists within the app. also, I did not restart the phone before trying to update the su files and when I did restart the phone nothing updated. So, do I use something like ES file explorer to remove bloatware?
by the way, when I tried to surf the web after installing superSU app, the web browser was extremely slow. the webpages loaded very slowly but when after I uninstalled the superSU app, it was loading the pages fast again as normal. what's up with that?
thanks.
helix3000 said:
thank you both for the replies.
so what exactly is SuperSU for? when I opened it up I saw nothing in the apps list and I did not see anything else in the other lists within the app. also, I did not restart the phone before trying to update the su files and when I did restart the phone nothing updated. So, do I use something like ES file explorer to remove bloatware?
Click to expand...
Click to collapse
SuperSU is a binary executable that grants or denies superuser requests. Without it root is worthless.
You won't see anything in SuperSU permission list until an app asks for superuser permissions. When first opening the SuperSU app you should get prompted to update/install the su binary. Allow that action to happen.
helix3000 said:
by the way, when I tried to surf the web after installing superSU app, the web browser was extremely slow. the webpages loaded very slowly but when after I uninstalled the superSU app, it was loading the pages fast again as normal. what's up with that?
thanks.
Click to expand...
Click to collapse
That's because the su binary was never updated.
shinobisoft said:
SuperSU is a binary executable that grants or denies superuser requests. Without it root is worthless.
Click to expand...
Click to collapse
so in order to run something like the nobloat app I need to grant it permission to be a superuser? I never had to do anything like that when I ran the nobloat app and It actually worked. It still does not make sense to me what supersu is used for.
That's because the su binary was never updated.
Click to expand...
Click to collapse
I ran the towelroot app and it was successful. However, I did not reboot the phone before attempting to update the su binary and the superSU app said i should restart before updating. I restarted the phone but it never updated the su binary when I ran the superSU app again. What do I do now?
thanks.

use ROOT apps with unrooted Android 6

Hello I would like to know if it is posible.
I want to use some apps like titanium on my unrooted android 6
I have installed TWRP
so I think flashing the aps from zip in TWRP, setting root permission to the apps and placed on system apps, they are going to work like root?
Please help me, thanks!
??
publi0147 said:
Hello I would like to know if it is posible.
I want to use some apps like titanium on my unrooted android 6
I have installed TWRP
so I think flashing the aps from zip in TWRP, setting root permission to the apps and placed on system apps, they are going to work like root?
Please help me, thanks!
Click to expand...
Click to collapse
No, that isn't how that works, sorry. There is no such thing as "setting root permission". Simply moving the apps to /system won't allow them to get root, because you aren't rooted.
npjohnson said:
No, that isn't how that works, sorry. There is no such thing as "setting root permission". Simply moving the apps to /system won't allow them to get root, because you aren't rooted.
Click to expand...
Click to collapse
and why other preinstalled apps can work as root?
publi0147 said:
and why other preinstalled apps can work as root?
Click to expand...
Click to collapse
They don't... Because root doesn't exist on stock devices.
They do run as the system user, but that isn't enough for any root apps to function alone, as root apps rely on writing to non-user writable directories, which the system user cannot do.

Categories

Resources