I know there has to be a way, I just can not find it.
What I want to do is with the terminal find a way to create a list of only the .apk files in a folder, would also be nice to know how to list other different file extensions.
My goal is to create a text file with a list of all the apks in my /system/app folder, and other folders as needed.
Thanks
Don't know if this works on Android, but in a standard Linux shell you can cd to the directory (which would be /system/app in your case) and then type ls > file.txt (file can be named anything).
Related
In Windows, you can give this command:
Code:
Dir c:\ /s>dir.txt
and it will create a directory listing of the entire file system and write the results to a file named dir.txt.
Is there a way to accomplish the same thing on an Android device?
Hey, i have recently been working on my own theming system, im not that good with .apk files yet, i know XML and am learning smali, but i am clueless with building..
so basically this is how my theming system works, i have a directory called /system/etc/SPRtools containing an ORS(openrecoveryscript) and a flashable .zip file called theme.zip, at the moment to start the theming system i have made a bin file that executes the following
#!/system/bin/sh
cp /system/etc/ORS /cache/recovery/openrecoveryscript
cp /system/etc/theme.zip /sdcard/
reboot recovery
now how would i go about making a .apk file that you click on and does this?
or even give me a hand on integrating it in SecSettings.apk??
oh and i also have an init.d script that deletes the copied theme.zip for the sdcard!
thanks guys!!
I unzipped the file which I was created through this commend 'adb backup'. But I couldn't find two directories which I want.
Code:
/data/data/com.android.providers.telephony
/data/data/com.android.providers.contacts
or
apps/com.android.providers.contacts
apps/com.android.providers.telephony
As the commends, I couldn't find two directories.
HELP ME..
As the title says, I need a terminal emulator script to quickly delete some folders from the data/data/*appname* partition.
All these folders are named "temp" but they are all subfolders of subfolders of subfolders.
Is there a terminal emulator command to identify all the "temp" subfolders (or subsubsubfolders) in a directory and delete them or do I have to type the location of every single one of them (like -rm data/data/app/sub/sub/temp ?)
Thanks in advance for your help.
I'm looking for a script that I can lauch from my media box to copy a folder from a and paste it to b. Is there anything like that about?