Ok so after so much pain placing the binaries ( su and busybox ) and the Superuser.apk and chmod them correctly i have an error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For those who couldnt see it properly, I am gonna type the whole thing again
Code:
[email protected]:/$ su
\java.lang.SecurityException: Permission Denial: broadcast asks to run as user -1 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USER_FULL or android.permission.INTERACT_ACROSS_USER at android.os.Parcel.readException(Parcel.java:1425)
at android.os.Parcel.readException(Parcel.java:1379)
at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2158)
at com.android.commands.amAm.sendBroadcast(Am.java:616)
at com.android.commands.am.Am.run(Am.java:121)
at com.android.commands.am.Am.main(Am.java:82)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:306)
at dalvik.system.NativeStart.main(Native Method)
Permission Denied
Well i know this is a signature problem, and i need a solution.
Things I can do :
I have FULL ACCESS TO THE WHOLE SYSTEM. ( Its a dual os tab (triple os becoz i live boot linux for chmod))
And that means read/write access to everything on the system itself.
I need to remove this permission if possible.
Android OS : 4.2.2 Jelly Bean
Busybox runs without any problems.
Well it shows all the info on busybox(before it shows permission denied instead), but if i try mount it says mount : operation not permitted.
#I did make 2 posts before about rooting my tab which didn't get even replied once so pls reply ASAP.
A dedicated SuperSU support thread is available for you here
http://forum.xda-developers.com/apps/supersu/support-update-failures-t2907365
Browse the thread to see if others have faced the same problem and how/if they solved it.
And you can ask for support/help there.
Good luck
Related
Hi
Last time I root my sony xperia e3 (4.4.4) witch locked bootloader, way i simply so let's start
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First you must downolad king root.apk and instal like normal app
Now run this app and click "Try to root" wait about ~5 minutes and Done ! You have root acces
but... super user is china app and we wont SUPER SU !! so download mrw.zim and extract in main folder in external storage
Now download terminal emulator form google play and type
HTML:
su
grant root acces
HTML:
sh /storage/emulated/0/mrw/root.sh
and enter script don't work perfect (should remove china app but you can remove it manualy) wait until you see super su (don't instal it)
Now reboot and remove china app (super su should works normal)
Sorry for my bad english
Nice guide , will try it to my little brother E3
not work for me
Worked <3
Will be this worked on E4(e2105) with andandroid4.4.4?
Works beautifully, my friend. Though, might I point out that the script for Terminal Emulator is pointing Android towards the internal storage, not the external.
My D2203 with 4.4.2 on build 18.4.C.2.12 is now rooted. Many thanks.
Very Nice
Hi. I have Xouch A2 LTE . I just rooted this device somedays ago with kingroot. But some apps don't work with it. Like Titanium Backup says, "your su version is valid but this might not work reliably." And some apps like LiveBoot. don't work at all.
It's maybe because the su version is too low. The apps recommends to use SuperSu.
So, I googled and found a way to remove KingUser and install SuperSu. From this page http://techstarnayem.blogspot.com/2015/07/how-to-replace-kinguser-kingroot-with.html?m=1 and saw their video tutorial. I did exactly what they did and Terminal Emulator did the same.
When I run the command below.
Code:
su
sh /sdcard/mrw/root.sh
And the KingUser was removed I could realize by a message from Es File Explorer and at the end of it SuperSu was installed and it launched. It told to update su binary and I hit continue and then chose normal way. In the tutorial the guy chose normal way too and it was installed successfully but it didn't work for me. Supersu told to reboot and try again. When I reboot Supersu was installed into the system and when I run SuperSu it says, "There's no su binary installed and SuperSu can't install it. This is a problem. If you just updgaded to Android 4.3, you need to re-root manually-consult the relevant forums for your device!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What should I do to gain the root back (Withou flashing the firmware)?
Hello,
There is no forum for your device. Try posting your question in the forum linked below.
http://forum.xda-developers.com/android/help
The experts there may be able to help. Good luck.
Preface: I am trying to attain root, on a un-rooted device, Samsung xCover3, (Note: Root is able to be achieved on kit-kat, and marshmallow, not on Lollipop, which is the current device I'm working on. My XDA thread incease someone say's "follow this", Becuse I created that thread) implementing chainfires systemless root by hand (No working TWRP for lollipop, plus we have an uncommon boot.img which chainfires SuperSu.zip probably couldn't handle).
Prep-work:
- Created a su.img with relevant files inside (Needed for Systemless root to work). Note: This is the file that needs to be pushed to /data.
- Modified the Ramdisk to launch daemonsu (needed to mount su.img for systemless root) as well as changed the defult.prop to
Code:
ro.secure=0
ro.debuggable=1
ro.adb.secure=0
to allow for ADB to be able to be run as root.
- I then also patched the sepolicy file with the default patches as done by chainfires SuperSu.zip
- I then recompiled the kernel so Samsung's Anti-root features and TIMA aren't enabled.
Problem: When typing `adb root` my id does not change to root (0) instead it stays the same, as before hand.
Note: In the below image, daemonsu service should also be running, but I believe what ever is stopping ADB root, working is also probably what stops that service.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reason/Questions, why??
- Maybe the sepolicy doesn't allow it? If so how would I patch to allow adb root to work
- Am I missing something Obvious?
So what is needed to be done to allow for "ADB root" to work?
My question is also on Android Stackexchange
Can someone please help me out i cant figure out which app or mod i have installed is causing my settings app to crash whenever i try to uninstall an app or go through my apps in settings. I know its not the roms fault because it happens on all stock roms i tried as well. I used the xposed module scoop to get the error log and i will post it here. Hope you can tell me whats going on as its driving me nuts!!!!
I am running the latest build from this thread:
https://forum.xda-developers.com/on...tinuing-cm12-1-builds-patches-t3288460/page32
Error log:
java.lang.OutOfMemoryError: Failed to allocate a 82956 byte allocation with 68868 free bytes and 67KB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeAsset(N ative Method)
at android.graphics.BitmapFactory.decodeStream(Bitmap Factory.java:608)
at android.graphics.BitmapFactory.decodeResourceStrea m(BitmapFactory.java:444)
at android.graphics.drawable.Drawable.createFromResou rceStream(Drawable.java:988)
at android.content.res.Resources.loadDrawableForCooki e(Resources.java:2621)
at android.content.res.Resources.loadDrawable(Resourc es.java:2528)
at android.content.res.Resources.getDrawable(Resource s.java:823)
at android.content.res.XResources.getDrawable(XResour ces.java:815)
at android.content.res.Resources.getDrawable(Resource s.java:799)
at android.content.res.XResources.getDrawable(XResour ces.java:789)
at android.content.res.Resources.getDrawable(Resource s.java:774)
at android.content.res.XResources.getDrawable(XResour ces.java:763)
at android.app.ApplicationPackageManager.getDrawable( ApplicationPackageManager.java:744)
at android.app.ApplicationPackageManager.loadUnbadged ItemIcon(ApplicationPackageManager.java:1753)
at android.app.ApplicationPackageManager.loadItemIcon (ApplicationPackageManager.java:1733)
at android.content.pm.PackageItemInfo.loadIcon(Packag eItemInfo.java:163)
at com.android.settings.applications.ApplicationsStat e$AppEntry.ensureIconLocked(ApplicationsState.java :143)
at com.android.settings.applications.ApplicationsStat e$BackgroundHandler.handleMessage(ApplicationsStat e.java:995)
at android.os.Handler.dispatchMessage(Handler.java:10 2)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61 )
Also my stock cm file manager isnt showing any files or folders and when i click on internal sorage it says not found which is really wierd could it be an app causing this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I want to enable a special permission for an app using ADB Shell. My phone is non-rooted & locked bootloader & Device name: Xiaomi MI A3, Code name: laurel_sprout. Apk name: Pokemod Espresso.
I've used this code but failed:
Code:
adb shell pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES
ADB Shell says this is an unknown code. I found the permission name on another third party permission checker app from Google play store. Here's the photo where I found the permission name.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please help me as soon as possible. Thanks in advance, May Allah bless you .
Always enquote the command that adb shell should perform
Code:
adb shell "pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES"
jwoegerbauer said:
Always enquote the command that adb shell should perform
Code:
adb shell "pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES"
Click to expand...
Click to collapse
Still now it says error.
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.QUERY_ALL_PACKAGES
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:2109)
at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:122)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.grantRuntimePermission(PermissionManagerService.java:3058)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:6075)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1955)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:230)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22273)
at android.os.Binder.shellCommand(Binder.java:881)
at android.os.Binder.onTransact(Binder.java:765)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4860)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4339)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
Do you know how to fix it ?
You were told the reason why it failed
Code:
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.QUERY_ALL_PACKAGES
THE PERMISSON YOU WANT TO GRANT DOESN'T EXIST IN THE APP.
Contact app's developer.