I would like to know how to find permissions a given application has. Each app is run as a certain user, so wouldn't finding the file permissions of an app be the same as finding the file permissions of a user? On Linux/Unix there is the find command but I don't know of any alternative command that is available on android. I am running KitKat 4.4.2 kernal 3.40-gadb2201. An answer or direction to the answer is greatly appreciated.
Download root explorer and click on /data/app/nameofapp
For the most part all apps are rw-r--r--
Sent from my Nexus 7 using XDA Premium 4 mobile app
demkantor said:
Download root explorer and click on /data/app/nameofapp
For the most part all apps are rw-r--r--
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thank you for the information. I should have been more specific, is there a way to do this through the shell using adb without installing any additional apps.
ls -l /data/app/nameofapp.apk
Or /system/app or whatever
Then use chmod to change permissions if needed
Sent from my Nexus 7 using XDA Premium 4 mobile app
Related
I can not find busybox on my phone however i was rooted via aio before ota 2.3.5. Have tried everything. Can anyone help me with finding and removing whatever is leftover from aio root.
draggingknee said:
I can not find busybox on my phone however i was rooted via aio before ota 2.3.5. Have tried everything. Can anyone help me with finding and removing whatever is leftover from aio root.
Click to expand...
Click to collapse
Are you rooted now? What did the script say before busybox detected? su binary detected? Superuser detected?
Download BusyBox Installer it will tell you if a busybox is installed and what version it is.
Not rooted now, no root apps working. it detected super user, was going to overwrite everything except busybox.
Sent from my MB855 using xda app-developers app
draggingknee said:
Not rooted now, no root apps working. it detected super user, was going to overwrite everything except busybox.
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
Did it detect the su binary?
Yes
Sent from my MB855 using xda app-developers app
draggingknee said:
Yes
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
alright lets take a manual look download root explorer lite it will work for the purposes that we need it for.
go into root explorer lite and navigate to /system/xbin and see if there is a file named busybox there (and also alot of other files like ] ]]) then navigate to /system/bin and see if the file su is there and finally navigate to /system/app and look for Superuser.apk.
did you try any other methods of root since the update?
retried aio, droid 3, and torpedo thru terminal. Ok, thanks for help.
Sent from my MB855 using xda app-developers app
They are all there
Sent from my MB855 using xda app-developers app
draggingknee said:
They are all there
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
your phone for all purposes should be rooted. unless one or more of the files are corrupted. did you try to uninstall the busybox using the busybox installer?
W will try t tomorrow. Thanks,
Sent from my MB855 using xda app-developers app
Can't get busybox to uninstall, tried busybox installer and explorer.
Sent from my MB855 using xda app-developers app
I'm going to have to adjust the script a little. One more favor go into root explorer lite and navigate to /system/bin/su and then long press on the su file and select permissions and please let me know what its set at.
All nine permission boxes checked. No special permissions. Rwxrwxrwx 0777
Sent from my MB855 using xda app-developers app
OK thanks. Give me a little bit as I'm away from my Dev computer I'll adjust the script to handle this issue. The file must be corrupted.
Hey thanks,
Sent from my MB855 using xda app-developers app
Lets see if this works download ver 1.1 and run the root cleaner and then run the root function and you should be good to go.
This is the exact issue I am having and it happens with 1.1
Sent from my Nexus 7 using Tapatalk 2
Ok ill try today after work, was out with kids all night last night. I appreciate your efforts.
Sent from my MB855 using xda app-developers app
Can I remove busybox with terminal emulator? If so, what would be the commands?
Sent from my MB855 using xda app-developers app
draggingknee said:
Can I remove busybox with terminal emulator? If so, what would be the commands?
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
It can be done but the process is a little involved. removing symlinks and such. the script will remove it all for you.
I got the apk file of whatsapp, and I renamed to .zip to extract the contents to change the icons by replacing them in the drawable-hdpi folder. Now the problem is that I zipped all the contents and renamed it to apk again but after this the file isn't getting installed (I have uninstalled whatsapp on my phone because we cannot replace it). Any suggestions??
Sent from my Micromax A87 . Ninja 4.0 using xda premium
You didn't really need to zip it, if you have a root browser, you can actually extract the apk, do what you wanted to do, and then compress it and change the file name from .zip to .apk.
Sent from my Nexus 4 using Tapatalk 4 Beta
firered365 said:
You didn't really need to zip it, if you have a root browser, you can actually extract the apk, do what you wanted to do, and then compress it and change the file name from .zip to .apk.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I tried but it is still not working. On what compression method should I keep? Store or normal or best???
Sent from my Project Dark Micromax a87 using xda premium
RazaVakil7995 said:
I tried but it is still not working. On what compression method should I keep? Store or normal or best???
Sent from my Project Dark Micromax a87 using xda premium
Click to expand...
Click to collapse
What root browser are you using? If you are using root browser or root explorer, it shouldn't matter.
Sent from my Nexus 4 using Tapatalk 4 Beta
firered365 said:
What root browser are you using? If you are using root browser or root explorer, it shouldn't matter.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I'm using root explorer, but to no avail!
Sent from my Project Dark Micromax a87 using xda premium
RazaVakil7995 said:
I'm using root explorer, but to no avail!
Sent from my Project Dark Micromax a87 using xda premium
Click to expand...
Click to collapse
OK, extract it as APK, then go to the folder the apk was extracted, change the images or image, then compress, and change file extension (zip to apk). If not, you will have to use apktool.
Sent from my Nexus 4 using Tapatalk 4 Beta
firered365 said:
OK, extract it as APK, then go to the folder the apk was extracted, change the images or image, then compress, and change file extension (zip to apk). If not, you will have to use apktool.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Didn't work that way as well. Where can I download apktool??
Sent from my Project Dark Micromax a87 using xda premium
http://forum.xda-developers.com/showthread.php?t=1755243
Here it is.
Sent from my Nexus 4 using Tapatalk 4 Beta
Well, I figure that there are some people here like me with a locked bootloader I may as well share what I have. I'd like to thank elpuertorro for getting me interested in using adb commands and everyone that has contributed to the development of the L9!!!
Use this at your own risk, blah, blah, blah. If you use this with any previous kdz and nuke your phone..... ....not my fault. You've been warned, ok? Use only with a fresh install of T-Mobile 20H kdz.
Here we go.....first, make sure you are rooted with Busybox. Then, copy contents of L9.zip to the root of your EXTERNAL sd card. Make sure usb debugging is on and plug in your phone to the computer. Then, run these commands.....
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/external_sd/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/external_sd/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
You're going to get an error with LGKeyboard and Hangouts. I have uploaded TouchPal Keyboard and a working Hangouts at the end of this post called L9Apps.zip. Just use a root file explorer to paste the Hangouts to system/app and make sure the permissions match the other apps in there! Install and activate TouchPal....you can use a root uninstaller to remove LGKeyboard.
20H Deodexed and Zipaligned
L9 Apps
I want to thank the following for making our lives with the L9 much easier and interesting:
cmahendra, Lelus, kevev, carloswii5, captaincrook, elpuertorro, artas182x, kuma82, omgbossis21, mateo1111, Ilxaot....I'm sorry if I missed anyone. I'm sleepy....lol.
Might be a better way than this, perhaps a flashable zip that uses the dd command? Reason is it got through copying about half the apps and then said out of storage for the rest. Now most my settings are gone. I got a backup so no biggie.
Hmmm.... or how about I recommend this on a fresh install of 20h?
Sent from my LG-P769 using XDA Premium 4 mobile app
There. Updated my post.
Sent from my LG-P769 using XDA Premium 4 mobile app
LaDY Vengeance said:
Hmmm.... or how about I recommend this on a fresh install of 20h?
Sent from my LG-P769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
When I upload my tweaked 10D, I'm just upload it as a CWM backup, lol.
kuma82 said:
When I upload my tweaked 10D, I'm just upload it as a CWM backup, lol.
Click to expand...
Click to collapse
I'm not as smart as you.... lol.
Sent from my LG-P769 using XDA Premium 4 mobile app
Awe don't say that, you helped me deodex my rom
Sent from my LGMS769 using XDA Premium 4 mobile app
Is it possible to use a terminal emulator to run the commands?
Sent from my LG-P769 using XDA Premium 4 mobile app
DarksiderzSK4G said:
Is it possible to use a terminal emulator to run the commands?
Sent from my LG-P769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I think you could but it's best to do it through adb or from the recovery.
Sent from my LGMS769 using XDA Premium 4 mobile app
LaDY Vengeance said:
There. Updated my post.
Sent from my LG-P769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Do you still have the original L9 keyboard apk ? My sis does not like that black google keyboard in 20H
Ok, updated my phone to the first nightly build on cm11, everything is working fine except for the fact that I cant modify system apps or files although im rooted.
Eg. I cant replace bootanimation.zip
Eg.2 I cant uninstall a system app
Is this a problem with the rom or what?!
Reminder: I AM ROOTED!!
Yousef8001 said:
Ok, updated my phone to the first nightly build on cm11, everything is working fine except for the fact that I cant modify system apps or files although im rooted.
Eg. I cant replace bootanimation.zip
Eg.2 I cant uninstall a system app
Is this a problem with the rom or what?!
Reminder: I AM ROOTED!!
Click to expand...
Click to collapse
REMINDER
http://forum.xda-developers.com/showthread.php?t=1704138
What are you using to remove apps ???and how .
Are you just trying to remove the apk in a root explorer? If so does /system have the correct permissions?
Sent from my GT-I9300 using Tapatalk
I tried to use the following apps from the play store:
1.Root app delete
2.Clean master
Both failed to work as root app delete says that I am not rooted, and clean master fails to uninstall a system app although I granted it root permission.
Sent from my GT-I9300 using xda app-developers app
And also I forgot to mention that root browser does not let me delete system apps despite the fact that I granted it root permission. I tried solving this issue by reinstalling busy box but that did not work either.
Sorry if I'm posting this on the wrong form, I'm new here
Sent from my GT-I9300 using xda app-developers app
Rom toolbox also fails to remove system apps - however simply deleting them with root explorer works fine (after which, I use SD maid to clear up any corpses).
Sent from my GT-I9300 using xda premium
I told you, I tried using a root file manager app but it just fails.
Sent from my GT-I9300 using xda app-developers app
Yousef8001 said:
I told you, I tried using a root file manager app but it just fails.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I don't care what you told me (or not). I was simply stating my findings.
You won't learn much if you're not prepared to listen.
Sent from my GT-I9300 using xda premium
OK, I'm sorry for mistreating you, I will try to use Root Explorer to see if it works and then let you know.
Sent from my GT-I9300 using xda app-developers app
Yousef8001 said:
OK, I'm sorry for mistreating you, I will try to use Root Explorer to see if it works and then let you know.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I don't want to know if it works. It worked for me.
Sent from my GT-I9300 using xda premium
Hello! For some reason I can't run this app on my device. Is it only my problem or somebody else has it too? My device is rooted by CF-Auto root.
Sent from my SM-N900P using XDA Premium 4 mobile app
No help on that one for you, but I can say I have used root explorer a bunch to zip and extract files with no issues. Maybe try a different app?