Just a question... - Sony Xperia S, Acro S, Ion

what's the different between |system\app and \data\app.
Under \system\app there's bunch of apk ****.apk
Under \data\app there's com.***.***.apk
Thanks

System/app are system apps. Data/app are user apps.
The apks on data are like that because that's the name that they were compiled (or something like that).

So do we need both for out to run?
Sent from my LT28at using xda premium

You need system apps so system can work. Data apps are the ones you download and install.
Sent from my LT26i using Tapatalk

System/app contains all the apks that come with the rom. For android these are system apps which cannot be uninstalled without root permission.
Data/app contains the apks of the apps you as a user have installed. These can be uninstalled normally at without any special root app.
Data/data contains the data of both system and user apps. Each folder in it corresponds to an app.
Data/dalvik-cache contains the dalvik cache created by the phone for user and system apps both. For system apps it is created the first time you start the phone after flashing. That is the reason first boot takes time. For user apps I think dalvik cache is created when it is installed.
HIT THANKS IF I HELPED
Sent from my LT26i using xda premium

Related

[Q] Save APK file from Android Market ?

Hi,
I have some applications I want to save, I mean the APK file.
But I find them only on the android market, and doesn't see how to save the .apk file on my disk (for future use for example).
Do you know if the apk file is stored somewhere in the phone ?
Thanks
Is your phone rooted? It makes a difference. If not rooted you can use mybackup from the market to backup the apps. Never tried it and I am guessing it won't backup paid apps and only free versions. But it might.
If your phone is rooted you can find your apps in the data/app/ folder.
Once you have installed the App, look in /cache/download. Most apks will be in there.
You don't need rooted phone to save (backup) apk's. Just use MyPhoneExplorer which has the function to backup all installed programs (apk's) to computer (also backups SMSes, contacts, etc)
D>
yes, the phone is rooted.
I checked with Estrong explorer in the folders data and cache and there's nothing ...
The idea is to keep the apk files somewhere when they are not directly available on the net, only using the android market.
Back them up on titanium backup then when you want them again just restore them using titanium again, you can restore them fresh or with your old settings, hasn't failed me yet
ponk2k said:
Back them up on titanium backup then when you want them again just restore them using titanium again, you can restore them fresh or with your old settings, hasn't failed me yet
Click to expand...
Click to collapse
Works for me too.
jean019 said:
yes, the phone is rooted.
I checked with Estrong explorer in the folders data and cache and there's nothing ...
The idea is to keep the apk files somewhere when they are not directly available on the net, only using the android market.
Click to expand...
Click to collapse
Look in data/app as I said. This is the location of all user installed apks. Unless you are using a ROM that uses a different location. Only familiar with sense builds myself. Or use a program that can backup apps. There were 3 mentioned in this thread.
apk with a manager go to system / app. they should be, and extract and save hello
Data/app or system/app?
Confused.
Sent from my HTC Desire HD using xda premium
dinosaurrudy said:
Data/app or system/app?
Confused.
Sent from my HTC Desire HD using xda premium
Click to expand...
Click to collapse
Either or, depending on what you're after. Apps you've installed (e.g. from the market) will be in /data/app, system apps (e.g Sense and the apps bundled with it) will be in /system/app.
//sent from my Desire HD using Tapatalk; all errors entirely intentional.
If the directories/files are not there then check that ES file explorer is configured to show hidden files.
Jon
For unrooted devices, using ES File Explorer:
1. Open ES File Explorer
2. Press Menu >> Manager >> App Manager
3. Long press the application and then press Backup
4. .apk file will be saved to /sdcard/backups/app/

system app space

maybe a daft question but what is the benefit from deleting system apps,wallpapers etc.
does it speed up things , create more space?
anybody no
Speed up things? Not really, it is a linux based device, not windows But depending on what you delete (e.g. running unnecessary apps).
Removing factory stuff will create more space.
And what to remove? It depends on the ROM what you use. If it is a HTC Sense based ROM, then there is a list over at Leedroid's site what can be remove.
cheers, what will it create more space for tho? can u say obtain apk files of apps from the market and install then as system apps therefore creating more space for downloaded apps on internal memory?
Just cut and paste apks from /data/app into /system/app, preferably large apps that rarely get updated and your unlikely to uninstall.
Or
Use titanium backups "convert to system app" feature.
Don't forget they will disappear when updating your rom.
Sent from my HTC Desire using XDA App
i can convert to system apps in titanium, then backup the rom , extract the boot and system image and run it thru disxda kitchen and that will create a rom with the titanium backups in system apps .wont it??????
Not all apps convert well as system apps in titanium. Also I think you'd need to be s-off to do that.
Why not just run your rom.zip through dsixda, then drop the .apk's you want into the system/app directory and pack it up again?
sounds like a plan dan!
rootSU said:
Not all apps convert well as system apps in titanium. Also I think you'd need to be s-off to do that.
Why not just run your rom.zip through dsixda, then drop the .apk's you want into the system/app directory and pack it up again?
Click to expand...
Click to collapse
i used this method time ago and it works...

Pre-load apps with rom flash

Hey guys, I was wondering if there is a way to pre-load some applications into the rom so that they load upon 1st flash.
I have had success only with 2-3 apps out of 30+. This is what I have done.
Open the ROM Zip file with winrar and navigate to system\app directory. I have deleted unwanted bloat (swype, TW launcher, camera.apk, TW camera) and added about 30+ apk files that I would like to have preloaded. I flashed the ROM and after the load screen I begin to get error messages, "unfortunately this application has stopped" (or something along those lines.) A few apps did load, Nova launcher, Jelly Bean style Camera, but programs like Gmail, Maps, gallaxy wallpaper, setcpu, and a few games do not laod.
Now I have started from scratch, and removed the preloaded apps I had moved to the system\app directory. I did remove the bloat listed above. The rom loads fine and I have to spend 30 minutes manually installing each individual app. This is why I would like for it to automatically install all the applications upon 1st boot.
I think it may have to do with the fact that while installing the apps manually I must 1st allow installation of non-market apps under setting/security.
Is there a workaround for this, so that I can load all my apps on 1st flash.
Thanks,
I've heard that there's an app called app2zip which you can backup apps and put into a zip file. Then right before leaving recovery flash the zip and when you're booted you'll have all your apps loaded up
Sent from my SGH-T989 using xda app-developers app
Most apps won't run as system apps. Instead of putting them in system/app Should put your apps in /data/app If the rom you're using already has a data folder you should be good. If it doesn't you'll have to edit the update_script within /META-INF/com/google/android
Sent from my SGH-T989 using xda premium
Tnallen said:
Most apps won't run as system apps. Instead of putting them in system/app Should put your apps in /data/app If the rom you're using already has a data folder you should be good. If it doesn't you'll have to edit the update_script within /META-INF/com/google/android
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Beat me too it. There are a lot of apps that end up in data/app such as gmail, games, and other apps. Think of it this way, most of the apps in the system area were initially intended to be there. The ones in data/app are like add-ons. normally the ones in system are hard coded in the actual boot code, so unless you can manipulate that area, try the data/app area like Tnallen stated

[GUIDE] Merging updated system apps with old one, GET MORE FREE MEMORY!!

(Preface for noobs : /system and /data are two different partitions. Freeying up /system won't get you more intrenal memory, but /data does. Old apks rest in /system and updated versions placed in /data. You can replace the old apks using newer versions)
I heared Titanium Backup PRO does something like, but you can do this with any File Explorer with ROOT access. Its works 100% for Android Gingerbread 2.3.x , try on other versions.
### Do it on your own risk, I am not responsible for anything ###
1. Update the desired app to the latest version from Google Play Store
2. Open File Manager, Enable ROOT_ACCESS, remount /System as writable
3. Goto /system/app and backup the desired apk to sdcard
4. Goto /data/app and copy updated apk
5. Paste into /System/app
6. Note down the filename of old apk and delete the old apk
7. Rename the new apk into the old filename
8. You may encounter a FORCE CLOSE if the app was running in background
9. The updated apk in /data/app will be removed automatically
10.Restart your device, Done!
I replaced Playstore, Maps, Google Search ect..
Example: For PlayStore, updated apk will be com.android.vending-1.apk, and old apk is vending.apk
Hit thanks it it works, Thanks
Update title with "not noobproof", this is complicated and dangerous for people who don't know what they're doing.
Bazinga
Or download systemcleanup from market and have it done automatically
Sent from my HTC Wildfire S A510e using xda app-developers app
if you use Link2SD there is option 'integrate update into system' at every updated app
baluuu said:
Or download systemcleanup from market and have it done automatically
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
441Excelsior said:
if you use Link2SD there is option 'integrate update into system' at every updated app
Click to expand...
Click to collapse
Totally agree. those apps are very very simple and clean.
Sent from MARVEL JellyScream
After reading this:
Or download systemcleanup from market and have it done automatically
Click to expand...
Click to collapse
i have downloading the app and i must say it works perfectly :good:
RiesVLD said:
After reading this:
i have downloading the app and i must say it works perfectly :good:
Click to expand...
Click to collapse
Yeah, you can create full backup also (app+app data)
Very useful and free app
Sent from MARVEL JellyScream
you can also move apps to system partition to save space on data partition
just select 'convert into system app' in link2sd and then reboot

Converting apps with lib files to system

I've had quite a few apps that would never convert to system apps. I've found these all to have lib files.
To convert them do the following:
1. Determine lib file location using link2sd.
2. Navigate there in Root Explorer.
3. Move lib files to system/lib
4. Convert to system app using link2sd.
5. Reboot.
Hope this helps somebody out.
Sent from my GT-S5830 using xda app-developers app
Update.
If you get an update to an app, check the update in Link2sd for new lib files.
If none listed integrate update into system and reboot.
If listed move new lib files to system/lib overwriting the old ones. Now integrate update into system and reboot.
Sent from my GT-S5830

Categories

Resources