[Q] Using root to gain system app permissions - Android Q&A, Help & Troubleshooting

Hi everyone,
Is there a way to use root or roottools to gain permissions which are only granted to apps in system/app? I am trying to use call the method disable() in StatusBarManager to disable softkeys for an app im working on. WidgetLocker achieved this with root. So I searched around and found roottools (http://code.google.com/p/roottools/) but Im not really sure how to "fake" as a system app with that. Right now if i try to call the method i get a security exception "neither and user nor the current process has permission android.permission.STATUS_BAR"
Any help would be greatly appreciated!

Related

[Q] install apk as system app

Is there a way to install an apk as a system app? I want to 'unroot' a device but still run an app that requires root access. I'm unsure of how this can be done, any advise would be very much appreciated!
Thanks
I know that the Z4 root app has an option for temp root functions which goes back to an unrooted state once you reboot.
My guess is that you can run that, place your apk in the appropriate system folder, install the apk from there & then reboot.
But again I'm not to sure if temp root functions work on our G-Tabs & if it does if it's as simple as I explained. Worth a try I guess.
Again I'm assuming that your not already in a permanent root state. If so then you'll have to unroot completely first & then try what I mentioned above.
Unless someone has an easier method?
convert user apps to system apps
nikt said:
Is there a way to install an apk as a system app? I want to 'unroot' a device but still run an app that requires root access. I'm unsure of how this can be done, any advise would be very much appreciated!
Thanks
Click to expand...
Click to collapse
Titanium Backup Pro (paid version 3.8.1 and higher) has a function that allows one to convert user apps-->system apps (as well as system app-->user app ... though this sometimes causes initial FCs, which generally disappear with reboot).
Not sure if the effect will remain after unrooting.
Just to clear up a bit, not because an app its on /system it will have root access. If you want to run an app that needs root, you need root, thats it. You cant unroot and use the app after that.
So, no you cant do that. Its 2 different things installing an app on /system than having root for an app.
pmcnano said:
Just to clear up a bit, not because an app its on /system it will have root access. If you want to run an app that needs root, you need root, thats it. You cant unroot and use the app after that.
So, no you cant do that. Its 2 different things installing an app on /system than having root for an app.
Click to expand...
Click to collapse
So then how do proprietary apps like Sprint Nascar (as an example) run on an unrooted phone?
Why would Sprint Nascar need root permision?
pmcnano said:
Why would Sprint Nascar need root permision?
Click to expand...
Click to collapse
It probably doesn't or it might I have no idea. The op never pointed out which apps he wants to use.
However & this is a big however, as I have no idea which apps require root access, one has to assume that any of the preinstalled apps that come on our G-Tabs do in fact need root access, yet they can run on an unrooted device. Again I could be wrong.
That being said, how does one go about determining which apps require root access?
Thanks for the replies guys. The issue is supporting proxy servers on unrooted devices. There are several proxy apps that require root access as well as a kernel that supports proxy. If the proxy app were installed as a system app, would this have enough rights to access the kernel as required? I don't know enough about this but was led to believe this might work if it was running as system. Same for apps that use CIFS, like mount manager. I guess I'll give it a try and see what happens...!
Like I said, being installed on System doesnt have anything to do with having root or not.
Im 95% sure about what I am saying.
edit: I confirmed it..so 100% sure, if the app needs root, you will need root no matter where the app is installed.

Rooted but says root required

Hi ppl I am running custom Rom unlocked bootloader but all apps that require root are telling me root required anyone know why
from my 3d all warmed up
You need to have superuser and busybox installed. You can get both off the market.
sent from America....F__k yeah!
geordie 34 said:
Hi ppl I am running custom Rom unlocked bootloader but all apps that require root are telling me root required anyone know why
from my 3d all warmed up
Click to expand...
Click to collapse
A common misconceptions it that unlocked=rooted. This is not true. Once the device is unlocked, root access has to be properly configured. The majority of custom ROMs properly configure root access but I'm sure some don't or there are bugs/issues with a few.
Personally, I prefer to troubleshoot root permissions issues at the lower level where I can view the specific permissions.
The easiest way in my opinion, biased of course, is to use my application, Root Checker Pro. I provide a free link to it off XDA (99 cents in the Market...).
If you could post the results up, it'll show which files have the correct/incorrect permissons and allow us to more specifically resolve the issue.
Some general approaches would be to reload Superuser apk from the market, uninstall/reinstall Superuser apk from Android/Market or install the Superuser apk file through a .zip from the custom recovery.
These method should do a mass reset/reconfigure on the permissions and resolve the majority of issues.
Hope that helps!

[Q] Dont have root access to EmotionMIUI-V2.3-AromaEN-3.5.24.zip!

Greetings have a problem on my note 2 that i can't use my root apps like superSU ect.
Im using this rom EmotionMIUI-V2.3-AromaEN-3.5.24.zip and it displays like this:
SUPERSU is trying to get system ROOT permission which is disabled by default to ensure system security, if you need to enable it, please go by settings in Permission Manager.
I really dont get it and cant find where i can change the root permission.
Please help!

New to Rooting

Hello everyone,
I am new to rooting, and recently rooted my metropcs Galaxy s3.
I see i now have a SuperSU option in my settings but dont know how it works or I am able to modify phone like thought i would be able to.
Can someone please help he in how SuperSU works in what i can and can't do?
Yeah just use an app that required root and the permission box will popup. Try root explorer, titanium backup, or any root app.
All the actual superuser app does for you is allow you to change icon and theme... As well as unroot. I always hide it in my app drawer cuz once I initially tinker with it I no longer need it
Sent from my Hammerhead

Grant root privilege to app not requesting it

Hi,
I've checked around and couldn't find anything that explains a way to give root access to an app that doesn't actually request it. I've rooted my phone with Magisk and also Magisk doesn't offer any way to grant root to any app you want.
The app does have some features that are enabled only when it has root privilege but somehow I can't make the app request the root privilege so I'm stuck on this.
Any help would be much appreciated.

Categories

Resources