where do apps install to? - EVO 4G Q&A, Help & Troubleshooting

hello, I'm rooted and I wanted to change a few of my icons so they are changed in the app drawer. on my ipod touch I used iFile to find the app's folder and overwrite the icon.png, I tried to use Root Explorer to do this but I can't figure out where the apps install to. Could anyone give me a hint? thanks in advance.

12gage said:
hello, I'm rooted and I wanted to change a few of my icons so they are changed in the app drawer. on my ipod touch I used iFile to find the app's folder and overwrite the icon.png, I tried to use Root Explorer to do this but I can't figure out where the apps install to. Could anyone give me a hint? thanks in advance.
Click to expand...
Click to collapse
System apps would be /system/app
User apps would be /data/app

thank you, sorry for the ignorant reply but all I found were apk's. the apps don't unpack files into a directory when installed? they stay and run from an apk on your phone?

12gage said:
thank you, sorry for the ignorant reply but all I found were apk's. the apps don't unpack files into a directory when installed? they stay and run from an apk on your phone?
Click to expand...
Click to collapse
Yes, and the data from them is stored in /data/data/

freeza said:
Yes, and the data from them is stored in /data/data/
Click to expand...
Click to collapse
thank you, so if I don't see the icon files in data/data then I'm screwed as far as being able to change it?

Iirc here are the general steps.
Search to get the exact syntax.
Make a copy of the apk.
Rename the copy suffix to .zip from . apk
Extract the image stuff and replace it.
Repack the zip.
Rename it to apk

/system/app/ or sometimes /data/app/ if you modify an app you have to sign it again or the phone won't recognize it
EDIT: Use ninjamorph and just drag and drop the pings in there and here is myn's method of signing
myn's post
ninjamorph thread

Related

Livewallpaper on Bonsai

Hi All,
I was wondering if I could put out a request for some APKs. I would like to have live wallpapers on Bonsai and have tried putting livewallpaper.apk and the picker into my Epic but I don't have Root Explorer and I can't seem to change the permissions on those files. Right now all of the APKs I found have Read Yes Write Yes and the other one No. All of the APKs in my app directory have Read Yes Write No and other one No. Could someone post those APKs with permissions set like that? I don't know if that is my exact problem or if it is worth it to buy RE for only that purpose.
TIA,
DD
I believe its been mentioned before that ES File Explorer brings most of the Root Explorer functionality for free. I could be wrong though since ive never tried it myself. Worth a shot though if its just a permissions issue.
doggiedog said:
Hi All,
I was wondering if I could put out a request for some APKs. I would like to have live wallpapers on Bonsai and have tried putting livewallpaper.apk and the picker into my Epic but I don't have Root Explorer and I can't seem to change the permissions on those files. Right now all of the APKs I found have Read Yes Write Yes and the other one No. All of the APKs in my app directory have Read Yes Write No and other one No. Could someone post those APKs with permissions set like that? I don't know if that is my exact problem or if it is worth it to buy RE for only that purpose.
TIA,
DD
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
U can also use sdx stock app removal app, just put the apk in the adx folder on the SD card and go Into the app then to manage backups and got restore
Set From My 3.0.1 Bonsai Epic 4g
Thanks. I have tried everything. I could not change the permissions using sdx or ES File manager. All I could do with those programs was access the system directories. Unless I am doing something wrong, I will either need to get Root Explorer and change the permissions or get altered livewallpaper apks.
I think the frankenstine rom thread has a flashable zip for live wallpapers
Sent from my SPH-D700 using XDA Premium App
doggiedog said:
Thanks. I have tried everything. I could not change the permissions using sdx or ES File manager. All I could do with those programs was access the system directories. Unless I am doing something wrong, I will either need to get Root Explorer and change the permissions or get altered livewallpaper apks.
Click to expand...
Click to collapse
U don't need to change permissions in the sdx app removal app...
Set From My 3.0.1 Bonsai Epic 4g
OK. I think I may be confusing some people.
I would like to have Live Wallpapers in Bonsai since it's been removed. I did some research and found that you need to install the livewallpaper apks into the system/app directory. I did that using ES File Manager and rebooted. It didn't work. I did some more research and a few people had the same issue. The solution was to make sure the permissions in the livewallpaper apks was exactly the same as the permissions as the other apks in the apps directory. The apks in the directory all have Read Yes, Write No and Hidden No. All of the livewallpaper apks I found had permissions set up as Read Yes, Write Yes and Hidden No. I figure if I change the Write from Yes to No, it might work. I'm not 100% positive which is why I don't know if it's worth it to buy Root Explorer just to experiment. I'm hoping someone can provide me with the livewallpaper and livewallpaperspicker apks with altered permissions that have those settings.
Estewa_619, I will try that ROM. Thanks!
Tried the Frankenstein ROM livewallpaper apks and it still didn't work. The permissions are still set up as Read Yes, Write Yes and Hidden No.
doggiedog said:
OK. I think I may be confusing some people.
I would like to have Live Wallpapers in Bonsai since it's been removed. I did some research and found that you need to install the livewallpaper apks into the system/app directory. I did that using ES File Manager and rebooted. It didn't work. I did some more research and a few people had the same issue. The solution was to make sure the permissions in the livewallpaper apks was exactly the same as the permissions as the other apks in the apps directory. The apks in the directory all have Read Yes, Write No and Hidden No. All of the livewallpaper apks I found had permissions set up as Read Yes, Write Yes and Hidden No. I figure if I change the Write from Yes to No, it might work. I'm not 100% positive which is why I don't know if it's worth it to buy Root Explorer just to experiment. I'm hoping someone can provide me with the livewallpaper and livewallpaperspicker apks with altered permissions that have those settings.
Estewa_619, I will try that ROM. Thanks!
Click to expand...
Click to collapse
This is very easy to solve. Go to midnight rom and download it to computer. Open up the midnight extras folder and you will find lots of zip files in there that are all flashable in CWM. Just extract the folder, then copy the live wallpaper zips you want onto your sd card, then flash in CWM.
Alternatively, what I normally do is download the rom you want to flash (Bonsai). Open it up on your pc. Navigate to system/apps. Paste the livewallper apks into that directory. Then flash normally. This will include any files you want in the system/app folder.
davidrules7778 said:
U can also use sdx stock app removal app, just put the apk in the adx folder on the SD card and go Into the app then to manage backups and got restore
Set From My 3.0.1 Bonsai Epic 4g
Click to expand...
Click to collapse
Just used this method on bonsai 3.0.1 , worked just fine. Thanks!
Sent from my SPH-D700 using XDA App
All I did was download the flashable zip from frankenstine post and I flashed it in cwm and it worked for me
Sent from my SPH-D700 using XDA Premium App
mis3 said:
This is very easy to solve. Go to midnight rom and download it to computer. Open up the midnight extras folder and you will find lots of zip files in there that are all flashable in CWM. Just extract the folder, then copy the live wallpaper zips you want onto your sd card, then flash in CWM.
Alternatively, what I normally do is download the rom you want to flash (Bonsai). Open it up on your pc. Navigate to system/apps. Paste the livewallper apks into that directory. Then flash normally. This will include any files you want in the system/app folder.
Click to expand...
Click to collapse
7zip (windows) is what u want to use 2 open the zip but DO NOT EXTRACT it!!! Well in 7zip paste the apks u want into system/apps. Then close 7zip. Move the rom 2 ur sdcard and flash as u would normaly. U can also replace the boot/shutdown animation and a few other parts of the rom that you can add or subtract stuff from. I hope this help as not to sound offensive but u seem a bit newbish and 7zip isa great tool for viewing zip files w/o extracting them took me a good deal of time 2 find this handy tool, hope this helps ya out...
Sent from my Epic4G isn't that enough? *disclaimer* I may not know what I'm talikin bout, plz take w/ a grain of salt or sheen style it "I was banging 7 gram rocks and finishing em... because I'm me" -if thats winning I'm losing....
If any of u have the Android sdk installed, this is a 10 second push using adb - fwiw
Sent from my SPH-D700 using Tapatalk
I tried all of the cut and pasting techniques. None of them worked. I came across this online:
Code:
adb push LiveWallpapersPicker.apk /sdcard/
adb shell
Code:
su
remount rw
cat /sdcard/LiveWallpapersPicker.apk > /system/app/LiveWallpapersPicker.apk
exit
exit
I went into the dos shell and sure enough it worked!
Thanks for all the suggestions!
http://forum.xda-developers.com/showpost.php?p=12014836&postcount=13
<smacksforehead>
Here are the .zips from the midNIGHT ROM extras folder... Flash one of these, should work.
But the adb method works just as well... Maybe even faster.
Moved to Q&A.

Request for Data Dump folder

Hi, i thought to post my thread here since everyone's posting their problems here. I need someone to post his/her data folder because mine is corrupted :/
Please don't go basaltic at me all at once. I know there are threads in which people dump their system folder and all but i haven't found any data folder. I've been searching for 5 days of research and downloading :/
My brother have accidently deleted a file from his data folder and keep getting FC in his apps...
Much appreciated for help in advance
AceofSpades90 said:
Hi, i thought to post my thread here since everyone's posting their problems here. I need someone to post his/her data folder because mine is corrupted :/
Please don't go basaltic at me all at once. I know there are threads in which people dump their system folder and all but i haven't found any data folder. I've been searching for 5 days of research and downloading :/
My brother have accidently deleted a file from his data folder and keep getting FC in his apps...
Much appreciated for help in advance
Click to expand...
Click to collapse
The data folder contains the downloaded/installed apps? I have mine though, consists of the downloaded apps from the android market.
zangetsu2188 said:
The data folder contains the downloaded/installed apps? I have mine though, consists of the downloaded apps from the android market.
Click to expand...
Click to collapse
OMG! first of all. Thanks for the quick reply and all i need is some specific files and thats all... he has some of his apps FC because while he was customizing something.. he accidently deleted some files and all i need to do is find those files. I really really appreciate the reply
and data folder dont have the installed apps but only data of some built-in and other apps that help run your apps. system/app has the installed apps
AceofSpades90 said:
OMG! first of all. Thanks for the quick reply and all i need is some specific files and thats all... he has some of his apps FC because while he was customizing something.. he accidently deleted some files and all i need to do is find those files. I really really appreciate the reply
and data folder dont have the installed apps but only data of some built-in and other apps that help run your apps. system/app has the installed apps
Click to expand...
Click to collapse
/system/app contains the pre-installed apps (the ones that you cannot delete normally)
/data/app contains the user installed apps
Anyways what files are you looking for? Im pretty sure your phone has root access, as user level access cannot view whats inside the /data folder.
zangetsu2188 said:
/system/app contains the pre-installed apps (the ones that you cannot delete normally)
/data/app contains the user installed apps
Anyways what files are you looking for? Im pretty sure your phone has root access, as user level access cannot view whats inside the /data folder.
Click to expand...
Click to collapse
yeah that lol. ok so theres this one called /data/data/com.sonyericsson.widget.text2action and /data/app/com.sonyericsson.widget.text2action-2.apk. and /data/data/com.sonyericcson.timescape.ui. i think this will at least fix SE search widget thanks again
AceofSpades90 said:
yeah that lol. ok so theres this one called /data/data/com.sonyericsson.widget.text2action and /data/app/com.sonyericsson.widget.text2action-2.apk. and /data/data/com.sonyericcson.timescape.ui. i think this will at least fix SE search widget thanks again
Click to expand...
Click to collapse
Buddy, just get the TFT file of your firmware version and do a quick flash using flashtool without wiping the data. That should solve all your problems

[Q] Adding own apps into cm7?

hi guys, just switched to cm7.1, its a good rom, i was wondering if its possible to add your own apps into the rom and then flashing it? what i mean is to add your own essential apps into the rom and then to zip it so it uses up more rom space and leaves more internal space. if there is a method, can some one please give some idea on it. thanks
Of course it is. Just copy the app's apk from /data/app in the /system/app folder of the zip file.
Thanks but can you explain abit more in detail please, like if i put the apks in that folder, will the apps automaically be installed? and as for the rom zip file, will that need to be zipped up back in a special way? also will the apk's need to be signed with a special program? a small accurate guid would be sweet. thanks
There are two ways, either manually open the zip (no need to extract it) then just drag and drop your apk files to the System/app folder or data/app folder then close the window. Sometimes it doesnt work it depends I think on how the files was compiled or something.
Or use ROM manager. Look it up in the forums.
Edit: Its Rom Editor if my memory recalls it correctly.
kuljit55 said:
Thanks but can you explain abit more in detail please, like if i put the apks in that folder, will the apps automaically be installed? and as for the rom zip file, will that need to be zipped up back in a special way? also will the apk's need to be signed with a special program? a small accurate guid would be sweet. thanks
Click to expand...
Click to collapse
No, just open the zip and stick the apk's in that directory. Then when you go to flash just disable signature verification..
I'm not sure as to how this will go about saving space though.. it's the same as installing apps AFAIK
bortak said:
I'm not sure as to how this will go about saving space though.. it's the same as installing apps AFAIK
Click to expand...
Click to collapse
In a way it does save space. I remove some apps that I don't need from the CM zip like ROM Manager, live wall paper etc and then add my apk files on system instead of it being saved in data folder.
Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.
kuljit55 said:
Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.
Click to expand...
Click to collapse
with root explorer yes, but I don't think they'll actually be installed just by putting them there..
kuljit55 said:
Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.
Click to expand...
Click to collapse
Yes you can manually install apks to the system/app using root explorer. But you have to modify the permission of the apk file upon transferring. It is best that you first copy the apk from the data/app folder to sd. Then uninstall the app. Then use root explorer to transfer the app from sd to system/app. Update the permission then reboot.
Take note that not all apps will work with this method. Some apps just needed to be on the data/app folder based on my experience.
Sent from HTC Desire via XDA App
Or use titanium backups "Covert to system app" functionaility
rootSU said:
Or use titanium backups "Covert to system app" functionaility
Click to expand...
Click to collapse
Yup. I forgot about that. Yeah damn easy too.

"Extract" 3rd party notification sounds

Hi!
i downloaded/installed 'Sync.ME' (from the Play Store)
this app has tones that i want to use as custom notifications.
ive tried searching in my root folder(s), for some system folder with the sounds, but have been unsuccessful... :/
anyone can help me out?
Most likely inside the apk itself in the "raw" folder
CNexus said:
Most likely inside the apk itself in the "raw" folder
Click to expand...
Click to collapse
Thank you! u helped me in finding what i needed
"PROBLEM SOLVED" - under root folder "data/app/", i found the Sync.ME apk.. sent over to computer. renamed the APK to ZIP. then i extracted the file and DONE!! all the files of the APK right in front of me

Need Samsung Email APK

Hi all,
Something happened to my phone and I ended up having to wipe and re-flash everything. Long story short, I did have the Samsung email 5.0.0.00400 install with the new ROM but I accidentally deleted it via TI Backup. I tried re-installing a backed up version of 5.0.0.00200 but it will not install for some reason.
I've searched around and the most recent apk I could find is 3.3.something, which I have installed now, but I'd really like to get back to the newer version. I know I can re-flash the ROM, but I've done quite a bit of setup, restoring apps and widgets, etc. at this point and I'd hate to lose all that. Figured I'd ask here before going down that road.
Could someone please be kind and link me to a stock Samsung mail app apk for version 5.0 and above?
Thank you in advance!
Shuggaloaf said:
Hi all,
Something happened to my phone and I ended up having to wipe and re-flash everything. Long story short, I did have the Samsung email 5.0.0.00400 install with the new ROM but I accidentally deleted it via TI Backup. I tried re-installing a backed up version of 5.0.0.00200 but it will not install for some reason.
I've searched around and the most recent apk I could find is 3.3.something, which I have installed now, but I'd really like to get back to the newer version. I know I can re-flash the ROM, but I've done quite a bit of setup, restoring apps and widgets, etc. at this point and I'd hate to lose all that. Figured I'd ask here before going down that road.
Could someone please be kind and link me to a stock Samsung mail app apk for version 5.0 and above?
Thank you in advance!
Click to expand...
Click to collapse
Here you go, both email & exchange. They are deodex though.
aaron74 said:
Here you go, both email & exchange. They are deodex though.
Click to expand...
Click to collapse
Hey Aaron very much appreciated! :good::good:
Still a noob when it comes to some most of this stuff. In this case odex vs deodex. I see the 2 apk files as well as all the files in the lib folder. I'm assuming the apk files install as normal? What do I do with the lib files?
Thanks again for your help!
Shuggaloaf said:
Hey Aaron very much appreciated! :good::good:
Still a noob when it comes to some most of this stuff. In this case odex vs deodex. I see the 2 apk files as well as all the files in the lib folder. I'm assuming the apk files install as normal? What do I do with the lib files?
Thanks again for your help!
Click to expand...
Click to collapse
No problem.
If your rooted, you could try just copying the folders over to /system/app. The folder gets 0755 permission and the files get 0644 permission. And then they would be system files. This should work fine, as long as the permissions are set.
Or you could just try installing them regularly.
And Then if you want maybe use Ti Backup to make them system files.
Hope that helps
aaron74 said:
No problem.
If your rooted, you could try just copying the folders over to /system/app. The folder gets 0755 permission and the files get 0644 permission. And then they would be system files. This should work fine, as long as the permissions are set.
Or you could just try installing them regularly.
And Then if you want maybe use Ti Backup to make them system files.
Hope that helps
Click to expand...
Click to collapse
Yes I am rooted. So just to talk this out before I do anything... I've looked up how to set permissions for files and folders. I have ES File Explorer and understand I can change permissions with root explorer on. I've never done this before so just to make sure I have it correct...
I would copy both secEmail_K and SecExchange folders to the /system/app folder on the phone.
Using Root explorer I would set permissions as:
Folders: rwxr-xr-x
Files: rw-r--r--
Thanks again for your help and quick responses. One more question if you don't mind, just to help me understand permissions. If the files have no executable permissions for any of the 3 classes it would seem as though they wouldn't be able to run. I'm sure I'm misunderstanding however.
Shuggaloaf said:
Yes I am rooted. So just to talk this out before I do anything... I've looked up how to set permissions for files and folders. I have ES File Explorer and understand I can change permissions with root explorer on. I've never done this before so just to make sure I have it correct...
I would copy both secEmail_K and SecExchange folders to the /system/app folder on the phone.
Using Root explorer I would set permissions as:
Folders: rwxr-xr-x
Files: rw-r--r--
Thanks again for your help and quick responses. One more question if you don't mind, just to help me understand permissions. If the files have no executable permissions for any of the 3 classes it would seem as though they wouldn't be able to run. I'm sure I'm misunderstanding however.
Click to expand...
Click to collapse
I think so, attached pic. Plus make sure owner and group are root.
This is right from my phone now. So all should be good. You might not even have to change it, they might be good before.
aaron74 said:
I think so, attached pic. Plus make sure owner and group are root.
This is right from my phone now. So all should be good. You might not even have to change it, they might be good before.
Click to expand...
Click to collapse
Awesome! Thanks for your patience and help Aaaron.
Shuggaloaf said:
Awesome! Thanks for your patience and help Aaaron.
Click to expand...
Click to collapse
No problem. Let me know you got it working!

Categories

Resources