When I download and install an app (from the play store for example), I assume it comes down as an APK file which (I assume again) gets deleted.
Is there a way to recreate a .APK file from the installed app so I can save them all somewhere? Some tool maybe?
thanks
Alan
Just look in /data/app you'll find all your user installed apps as apks.
Sent from my Nexus 10 using XDA Premium HD app
vogonpoetlaureate said:
Just look in /data/app you'll find all your user installed apps as apks.
Sent from my Nexus 10 using XDA Premium HD app
Click to expand...
Click to collapse
Thanks - do I need to be rooted to access /data /app? when I look in /data with ES File Explorer, it tells me the directory is empty.
Alan
alan sh said:
Thanks - do I need to be rooted to access /data /app? when I look in /data with ES File Explorer, it tells me the directory is empty.
Alan
Click to expand...
Click to collapse
Yes /data and subdirectories are only readable by root/system user.
Sent from my Nexus 10 using XDA Premium HD app
Related
Anyone knows where can the backup folder be? I searched on CWM folder but it's not there. I'm trying to move the backup files to my computer.
Sent from my Nexus 4 using xda app-developers app
theedon323 said:
Anyone knows where can the backup folder be? I searched on CWM folder but it's not there. I'm trying to move the backup files to my computer.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
/data/media/clockworkmod/backup
Sent from my Nexus 4 using xda premium
nbeebe24 said:
/data/media/clockworkmod/backup
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Not there either. I've searched every folder. It's only shows when I go into recovery.
Sent from my Nexus 4 using xda app-developers app
theedon323 said:
Anyone knows where can the backup folder be? I searched on CWM folder but it's not there. I'm trying to move the backup files to my computer.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Mount>shell>emulated>cwm>backup
nbeebe24 said:
/data/media/clockworkmod/backup
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
my data folder on root is empty
heat361 said:
Mount>shell>emulated>cwm>backup
Click to expand...
Click to collapse
Mnt>shell is empty on my stock ROM
I had cwm made many backups and just changed to twrp but my internal storage is all filled up and I cannot field the previous backups to delete... Any help?
I am having this same problem too and am searching for solution... I have asked all over the forum and also googled but to no avail. Help please....
Need to search harder...
http://forum.xda-developers.com/showpost.php?p=38857026&postcount=18
But my /data folder is empty. I use root explorer and couldn't find anything in /data folder. Was previously looking for WPA_supplicant for my ap list also....
I am currently using root explorer and es explorer v3. ES explorer v3 doesn't have the root settings. I'll download the stable version from play store and try.
Update : I've got it working. This means only es explorer can see CWM backup and wpa_supplicant
EddyOS said:
Need to search harder...
http://forum.xda-developers.com/showpost.php?p=38857026&postcount=18
Click to expand...
Click to collapse
Yes it does as I'm using it! Seriously, follow EVERY instruction on my post and look at the pictures
I did some testing on my own. Root explorer works too. Just need to toggle r/w from root location. Data folder populated after that. As for the latest es explorer v3, toggling root explorer will enable data folder contents to be viewed.
Sent from Mako
recently noticed i am unable to open the device storage setting on my rooted kfhd7. initially thought it was a bug with go launcher ex as it has a few issues with menu settings in its new update but since trying other launchers including stock i am still unable to select storage settings. anyone else had this issue?
thanks
Sent from my KFTT using xda app-developers app
rhodri11 said:
recently noticed i am unable to open the device storage setting on my rooted kfhd7.
Click to expand...
Click to collapse
Make sure you still have /system/app/MediaProvider.apk, that it is not corrupted, and that you have not frozen or disabled "Media Storage" using Titanium Backup or a similar app.
thanks. mediaprovider.apk is still in /system/app and mediastorage looks ok in tit backup. unsure if either are corrupted but size of the apk is 22kb.
Sent from my KFTT using xda app-developers app
You can copy it and rename the apk to .zip then open it... if it opens it is probably not corrupt
Sent from my GT-P3110 using xda app-developers app
was just about to copy it to my computer and can see another file in system/app called mediaprovider.odex.
would this be the cause of the problem? this other file
is 120kb
Sent from my KFTT using xda app-developers app
Where can I find then files for Netflix app? I've looked around using a file browser and can't find it.
Sent from my Nexus 7 using xda app-developers app
The .apk file for Netflix is in /data/app.
Groid said:
The .apk file for Netflix is in /data/app.
Click to expand...
Click to collapse
i can't find a Data/app. can you give me the full directions? I mean i go from android/data but then there's nothing in there...
served24 said:
i can't find a Data/app. can you give me the full directions? I mean i go from android/data but then there's nothing in there...
Click to expand...
Click to collapse
Do you have root access? If you do download file explorer that will ask for root access and that will give you deeper access into the system files. Try root explorer or es explorer. For es explorer, obtain root access in the app's setting menu.
Sent from my Nexus 4 using Tapatalk 2
As mentioned by scream4cheese, you must have root access to even see anything in /data or /system, etc.
How do I go about changing permissions on system files to write (rwxr--r--)... would like to try Nbsss 's ram script... Thanks for any reply...
Sent from my Nexus 7 using xda premium
clintono316 said:
How do I go about changing permissions on system files to write (rwxr--r--)... would like to try Nbsss 's ram script... Thanks for any reply...
Click to expand...
Click to collapse
First, you have to be rooted. Second, you need a root file manager installed such as Root Explorer (paid app worth every penny) or ES File Explorer (free, but I never used it) and there are others. Navigate to the system file you want to change permissions on, allow read/write access, long-press the file, choose permissions. rwx, means to put checkmarks in read, write, execute for Owner, and check Read for Group and Others.
Thanks for the info...
Sent from my Nexus 7 using xda premium
Install a transparent notification bar, forgot to keep a copy of the original sysmui. Now i have no status bar and a black baground. If anyone can copy it from their phone, i really appreciated. Im on a active with mf3. Thanks
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
Could you go into a little detail on what happened and what you have done to try to fix it? I don't understand what your saying.
I think he wants the systemUI.apk for the active because he fubar'd his.
jd1639 said:
I think he wants the systemUI.apk for the active because he fubar'd his.
Click to expand...
Click to collapse
Any ideas where to get that? I don't even think that will install without flashing, but can't flash on MF3 yet.
Sent from miPhone using XDA Premium HD app
agent929 said:
Any ideas where to get that? I don't even think that will install without flashing, but can't flash on MF3 yet.
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
You can copy the file from root explorer without flashing. I was able to get a copy of the systemui and place it into the sys/app folder. Now everything is back to normal.
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
Sweet nice job. Will remember that for the future
Where did you get it from?
Sent from miPhone using XDA Premium HD app
agent929 said:
Sweet nice job. Will remember that for the future
Where did you get it from?
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
Got it from a friend who just picked up a s4 active.
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
So you just copied the apk off his phone I'm assuming? I'm also assuming it's the same apk as the regular S4? (I'm just trying to get better knowledge so I can help somebody in the future.)
agent929 said:
So you just copied the apk off his phone I'm assuming? I'm also assuming it's the same apk as the regular S4? (I'm just trying to get better knowledge so I can help somebody in the future.)
Click to expand...
Click to collapse
As the other person replied - with root access, you can download ES File Explorer, or Root Browser, give the app root access via SuperSU, navigate to the System > apps folder, find the file(s) you want, copy/move them where you need.
FourPointedFreak said:
As the other person replied - with root access, you can download ES File Explorer, or Root Browser, give the app root access via SuperSU, navigate to the System > apps folder, find the file(s) you want, copy/move them where you need.
Click to expand...
Click to collapse
Yeah I'm well aware you can do that but I didn't know that apk would actually function like an apk if you did that. Just thought it was more to it than that.
Sent from miPhone using XDA Premium HD app
agent929 said:
Yeah I'm well aware you can do that but I didn't know that apk would actually function like an apk if you did that. Just thought it was more to it than that.
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
As long as you have the appropriate odex file along with it and you know how to do it - it should be fine. You have to know how an APK file works, Applications are basically glorified ZIP archives. The java code is stored in a file called classes.dex and this file is parsed by the Dalvik JVM and a cache of the processed classes.dex file is stored in the phone's Dalvik cache.
An odex is basically a pre-processed version of an application's classes.dex that is execution-ready for Dalvik. When an application is odexed, the classes.dex is removed from the APK archive and it does not write anything to the Dalvik cache. An application that is not odexed ends up with 2 copies of the classes.dex file--the packaged one in the APK, and the processed one in the Dalvik cache. It also takes a little longer to launch the first time since Dalvik has to extract and process the classes.dex file.
If you are building a custom ROM, it's a really good idea to odex both your framework JAR files and the stock apps in order to maximize the internal storage space for user-installed apps. If you want to theme, then simply deodex -> apply your theme -> reodex -> release.