apk permissions - Android General

hi all, I know that for showing apk permissions I need to use aapt d permissions /path/to/com.your.package.apk
is there a way of having this command run through a folder with 100 apk files and dumping into a text file the name of the apk and its rights so one text file will give me all the apks and their rights in thant folder instead of having to check each apk separately.
john

Related

10 cycle battery mod

Here is a 10 cycle battery mod
Instructions:copy "framework-res.apk"to your PC
Rename .apk to .rar(zip) then right click"framework-res.rar"then extract it with WinRAR(WinZip)
Enter framework-res\res\drawable-hdpi and select"stat_sys_battery_0.png" to "stat_sys_battery_100.png",total 101 pictures which from your sources folder and copy all of them to the destination,replace older files like these
When you finish doing that back to find folder"framework-res",then use WinRAR to compress it to a .APK file the"archive name" is end with .apk And "Compression method" is "Store"
Modify the attribution of this apk!Its attribution is "rw-r--r--"
Modify with Root Explorer or other programs and now copy "framework-res .apk in system/app
Reboot and enjoy.
I think that there are easier ways to do this,but i'm a beginner.
Here is link:www.abcdownload.ro/lbuqftrgc938.html]circle battery mod.rar
Thank you very much, but the link it's broken. Could you repair it?
Uan_ar said:
Thank you very much, but the link it's broken. Could you repair it?
Click to expand...
Click to collapse
Here is the link:http://www.mediafire.com/?6o7r6wy2gu3bnyw
Thank you very much.
Let me tell you my experience:
I tried this method but it didn't work out in my case, i got bootloop always. After some research, it seems that i got a problem with the sign of the file, and this is what i did and worked out:
Fase 1:
a) be root;
b.) copy with root explorer (or somelike app) from system/framework the file framework-res.apk to the SD;
c) move it to the PC;
d) in the PC, you have to got all the icons you wish to change into a folder;
e) there, open with winrar or 7zip (this is wich i used) the file framework-res (don't rename, just choose 7zip to open that file), go to \res\drawable-hdpi (you browse with 7zip);
f) with Windows Explorer open the folder in wich you have the icons you want to put into framework-res, select all the files, and just drag and drope it into the window within 7zip and where you have open framework-res\res\drawable-hdpi;
g) close the window of winrar o 7zip.
Fase 2:
h) copy the file framework-res.apk from PC to SD;
i) there move it with Root Explorer to System and chane permissions to rw-, r--, r-- (you can´t change permissions in SD);
j) then move the file framework-res.apk from system to system/framework
k) reboot and done!!
Advice: altaugh the icons you copy are ready to go from 1% to 1%, it doesn't mean it will work in your device. You have to modify something else that (yet) i don't Know.
See you all.
password
umarian said:
Here is the link:http://www.mediafire.com/?6o7r6wy2gu3bnyw
Click to expand...
Click to collapse
password protected
pepooh696 said:
password protected
Click to expand...
Click to collapse
Hi! Me too!
JaviLerma said:
Hi! Me too!
Click to expand...
Click to collapse
You can download
Uan_ar said:
Thank you very much.
Let me tell you my experience:
I tried this method but it didn't work out in my case, i got bootloop always. After some research, it seems that i got a problem with the sign of the file, and this is what i did and worked out:
Fase 1:
a) be root;
b.) copy with root explorer (or somelike app) from system/framework the file framework-res.apk to the SD;
c) move it to the PC;
d) in the PC, you have to got all the icons you wish to change into a folder;
e) there, open with winrar or 7zip (this is wich i used) the file framework-res (don't rename, just choose 7zip to open that file), go to \res\drawable-hdpi (you browse with 7zip);
f) with Windows Explorer open the folder in wich you have the icons you want to put into framework-res, select all the files, and just drag and drope it into the window within 7zip and where you have open framework-res\res\drawable-hdpi;
g) close the window of winrar o 7zip.
Fase 2:
h) copy the file framework-res.apk from PC to SD;
i) there move it with Root Explorer to System and chane permissions to rw-, r--, r-- (you can´t change permissions in SD);
j) then move the file framework-res.apk from system to system/framework
k) reboot and done!!
Advice: altaugh the icons you copy are ready to go from 1% to 1%, it doesn't mean it will work in your device. You have to modify something else that (yet) i don't Know.
See you all.
Click to expand...
Click to collapse
Thanks bro, working grate
sad, that not by 1%

[Q] Simlink entire folder and giving permisions?

Hi
I want to include many applications in a rom I've created. The problem is that many of these apps wont work unless I extract the *.so files from inside the lib directory of the apk and copy those libraries to my rom (/system/lib) and give correct permissions (0-0-644).
Because these lib files are too big and taking large space from the system partition, I want to place them all in /data/data/lib directory and simlink this directory to /system/lib.
Can someone please provide the correct lines of code for the updeter-script to do that? How do I simlink entire directory? And how do I give correct permissions? Do I give permissions to the original directory (/data/data/lib) before simlinking, or do I give permissions to the virtual linked directory (/system/lib) after simlinking?
Thanks

[Q] how to fix parsing error when trying to install modified app ?

here's what I did.
I don't have a computer. I changed apk to zip and unzipped it. Then I used Axel xml/editor viewer to change things. Then saved it and compressed file to zip then changed to apk. I tried using Zip Signer from app store. I still get the same parsing error when I click app to install.
What do I do to fix it ? apk editor pro works and installs the modded app but won't load the modded app to change things again so I don't want to use that.
Anyone have an answer ?
Try this process, instead. It works famously for me.
First, copy the .apk to a safe place just in case!
1. Extract your .apk to a folder.
2. Edit what you want.
3. Open up your original .apk in an archive manager (7zip, WinRAR).
4. Navigate to the directory where your edited files will go while in the archive manager.
5. Drag-and-drop your edited files into the archiver window which has the .apk open. Click "OK" if it asks if you're sure.
6. Close that window, ADB push it to /[wherever], and install.
Done! :good:
thenookieforlife3 said:
Try this process, instead. It works famously for me.
First, copy the .apk to a safe place just in case!
1. Extract your .apk to a folder.
2. Edit what you want.
3. Open up your original .apk in an archive manager (7zip, WinRAR).
4. Navigate to the directory where your edited files will go while in the archive manager.
5. Drag-and-drop your edited files into the archiver window which has the .apk open. Click "OK" if it asks if you're sure.
6. Close that window, ADB push it to /[wherever], and install.
Done! :good:
Click to expand...
Click to collapse
I said I don't have a computer. I can't do that.
I read the problem is the apk is lot aligned. Can I run commands in a Terminal Emulator on my phone ?
1. Compress back to zip. 2 sign zip. 3 change to apk. 4 zipalign apk.
How do I zipalign ? I tried spme things I read for commands but don't know if I'm doing it right.
ryan012 said:
I said I don't have a computer. I can't do that.
I read the problem is the apk is lot aligned. Can I run commands in a Terminal Emulator on my phone ?
1. Compress back to zip. 2 sign zip. 3 change to apk. 4 zipalign apk.
How do I zipalign ? I tried spme things I read for commands but don't know if I'm doing it right.
Click to expand...
Click to collapse
Oops. Missed that part.
I have no experience with the commands you are referring to, therefore I cannot help you.
Sorry.
thenookieforlife3 said:
Oops. Missed that part.
I have no experience with the commands you are referring to, therefore I cannot help you.
Sorry.
Click to expand...
Click to collapse
It's like this, http://stackoverflow.com/questions/...apk-with-7zip-cause-error-during-installation
I don't know how to do the commands or which ones. I tried the ones shown but didn't do anything. I don't know if I did it right.
Stealthy App
Hi there i want to modify an app( Want add stealth Option in menu) please tell my how i can modify app with some easy editor softwares not complicated. Share some links.
Thanks in advance. hoping you will help me!
Scarface47 said:
Hi there i want to modify an app( Want add stealth Option in menu) please tell my how i can modify app with some easy editor softwares not complicated. Share some links.
Thanks in advance. hoping you will help me!
Click to expand...
Click to collapse
For reading all the xml files I use Axel (XML Editor / Viewer)
https://play.google.com/store/apps/...aystore&pcampaignid=APPU_pzkdVL_aBcmONsKggsgE
You have to click open as on xml and choose axel then click Save As... save it somewhere with the same name as the file name as it is.
then copy the saved file into the folder of where you got it from and overwrite it. Make sure name is same. Now open the saved xml again in Axel ans now you can modify it, then click Save before exiting it.
For changing other things like button images I haven't done that.
I changed what app says inside and what some buttons says. The Strings.XML file is where buttons are or some other things
there's one called APK Editor Pro but it only lets you change app one time. It won't load modified one.
Here, https://play.google.com/store/apps/...aystore&pcampaignid=APPU_pzkdVL_aBcmONsKggsgE
is anyone able to tell me how to fix it ? How to get the apk aligned not using a computer ?

[Completed] DELETED SYSTEM APPS [SOLUTION] (ROOT REQUIRED) no PC just Prayers :)

You need: ROOT - File Explorers (I Prefer using ES File Explorer) good heart, determination, and Pray First.
after googling the solution for this, i found the tutorials on other sites useless.
i have the situation that i deleted important system apps like android system webview, email, and exchange services.
it was a bit late when i found that those apps are responsible for your browser, messages and other internet dependent apps to run. without this systems apps you cant open your apps and they will automatically force close.
for this to be fixed you need to mount the apk files back to /system/app partition. but other ppl have the problem that their apps wont install. i found that the reason behind this are the permissions and the way you copy/cut things.
for example i have my Email.apk on sd card and cut then paste it to my system/app. u cant do it just like that because the apk will lose its icon and the apk will not install after reboot.
here's how i did it.
Open ES file explorer. configure the root permissions, mount r/w
navigate to where the apk file is then copy it to the root of your internal storage.
next you must rename it to its package name (for example i have "Email.apk" i use the properties option on ES F.Ex to know what is the package name and i got "com.android.email-1.apk"
before you can move this apk file to your /system/app. you must configure the permission of the folder for the app icon to stay
i set the permission folder of /system to rwx r-x r-x
then for /app rwx rwx rwx.
you can now paste your apk to /system/app
after that set the permission of the apk to rw- r-- r--
after that reboot your device. pray. and you will see the app back on your menu. Congrats! ))))))))
(do the same if you have encountered it with .odex files) cheers!
XDA Assist is not the place for this post.
Thread closed.

Give root permission to an app by edit system/etc permission.

I want to know about something interesting.
How can I give superuser permission to any APK by make a .Xml file to give this apk root permission.
Something like this"android.permission.ACCESS_SUPERUSER – Allows an app to access ROOT"
Inside system_root/system/etc/permissions.
And then open xml and write some script and APK name.
Kindly some tell me please.
Because I cannot put my phone.
I have used all popular apps and magisk and superuser but none of them root it.
So I need this information please.

Categories

Resources