Related
I rooted my phone. Deleted some of the stock programs that I didn't want.
One of them being the Amazonmp3.
I deleted both files and then rebooted..
I was checking out the Manage Applications under settings and see that there is com.amazon.mp3
All other programs I deleted are not in there. This is the only one that I can't understand why it's not gone from the manage applications?
I mounted the file system again but do not see the com.amazon.mp3 under the /system/app
When I click on com.amazon.mp3 under manage applications I get a force close msg.
Thanks,
-Nigel
I have the same problem...
I think that if you clear the Dalvik cache, it might fix this problem, but don't quote me on that...
the enrties on /data/data are still there probably. Dig through that directory and see.
I'm currently running cmylxgo stock desire rom http://forum.xda-developers.com/showthread.php?t=901576 and am loving it but have one issue. Lately I've been getting alerts that my phine is low on space. I delete any unused apps but pretty soon ill have to delete ones I use. Is there a way to be able to download as many apps as I want or delete any of the stick apps ill never use like facebbok, twitter etc.....or does anyone know if any of his other roms allow for more space?
Lots of different apps in the market for this mate do a search.
jonny68 said:
Lots of different apps in the market for this mate do a search.
Click to expand...
Click to collapse
I've tried that. Searched freespace, apps, phone memory. Any other suggestions?
bx10r said:
I've tried that. Searched freespace, apps, phone memory. Any other suggestions?
Click to expand...
Click to collapse
Search for 'move to SD'.
Search the Market for App 2 SD
App to sd opened up about 25% more memory. Thanks guys
You can also try Darktremor a2sd script. It should allow you to move not only apps that can be moved to SD card but every apps along with the dolvik cache and user data files.
I haven't tried it on my HD2 yet and I know its still in beta, so I can't guarantee you whether it will work or not. But at least it worth a try. If u wanna try it do a nandroid backup first, just in case it mess something...
Segnale007 said:
You can also try Darktremor a2sd script. It should allow you to move not only apps that can be moved to SD card but every apps along with the dolvik cache and user data files.
I haven't tried it on my HD2 yet and I know its still in beta, so I can't guarantee you whether it will work or not. But at least it worth a try. Do a nandroid backup and try it if u want, just in case it mess something...
Click to expand...
Click to collapse
Thanks, i wish there was a way to delete unused stock apps. For example...i dont use facebook or twitter so y have it. That would free up room too.....i'll ride with app2sd for now til something else pops up later.
bx10r said:
Thanks, i wish there was a way to delete unused stock apps. For example...i dont use facebook or twitter so y have it. That would free up room too.....i'll ride with app2sd for now til something else pops up later.
Click to expand...
Click to collapse
My rom doesn't come with facebook or twitter pre installed. Anyways, u can delete those from /system/app
bx10r said:
Thanks, i wish there was a way to delete unused stock apps. For example...i dont use facebook or twitter so y have it. That would free up room too.....i'll ride with app2sd for now til something else pops up later.
Click to expand...
Click to collapse
You can delete unused stock apps by purchasing an app called 'Root Explorer' from the market (or install any root-enabled file explorer really, i just like root explorer the best lol) and delete the .apk file of whatever app you don't want from /system/app directory of your phone. If your rom loads the system to ram memory, you also will have to delete the .apk from /system/ram/app directory or it will re-appear
-HD2 Android-
huggs said:
You can delete unused stock apps by purchasing an app called 'Root Explorer' from the market (or install any root-enabled file explorer really, i just like root explorer the best lol) and delete the .apk file of whatever app you don't want from /system/app directory of your phone. If your rom loads the system to ram memory, you also will have to delete the .apk from /system/ram/app directory or it will re-appear
-HD2 Android-
Click to expand...
Click to collapse
I got root explore and did the following. clicked on root explorer then went into sysytem then app and deleted the facebook and twitter apk. They still appear in my apps though. Is there something elseim supposed to do?
Still no instructions on how to delete stock apps via root explorer? I found this on the thread to my rom but dont know how to install it. I got it on my desktop but now what?Can anyone help?
If you wish to gain an additional 27MB for apps in /data/ you can install the my new partition layout MAX[Build.v1.1.7]. This is NOT required and you can use any of my other partition layouts with build v1.1.7. However if MAX[v1.1.7] partition layout is used with older builds your Phone will not boot. YOU HAVE BEEN WARNED!
Does anyone know where those installed-apps getting stored on the Nook?
I thought they stored in /system/app but when browsing there, it only seems having those built-in apps such calendar, email, market, ...., and not those that manually downloaded and installed such google earth, astro, ...
Thanks
votinh said:
Does anyone know where those installed-apps getting stored on the Nook?
I thought they stored in /system/app but when browsing there, it only seems having those built-in apps such calendar, email, market, ...., and not those that manually downloaded and installed such google earth, astro, ...
Thanks
Click to expand...
Click to collapse
If you have a SD card installed, it depends on the app. There is a setting in CM settings for applications to by default it set to automatic. In that case, the app chooses where it wants to install. You can change it to card or internal. I believe there is also an internal partition that mimics SD so they may be going there. I don't have mine with me to look right now. Perhaps someone can provide more detail.
If you're just looking for the apk, I usually get the path via package manager in terminal.
Open terminal (or adb shell) then enter the following command
pm list packages
This will show a list of packages for the system installed. They are usually named com.android.application.name (that an example) or similar, so its easy to find which one you want. After you find the appropriate package you can use the following command to find where it is location
pm path com.android.application.name
It should spit out the path and you can find it via file manager or anything else.
I'm sure there is an easier way to do it, but that usually works for me.
Big thanks to both patruns and biohazrd for your quick response.
@patruns,
I tend to use my NC w/o an uSD card, so no, I don't have it installed.
Yes, I am aware of the "application" setting and I did set it to "internal" from the default "automatic".
I keep thinking they were stored under /system/app but apparently not.
If you do have time, pls help with the answer. TIA
@bio,
Never think of that way. I'll definitely try it out, hopefully I can learn something new.
Thanks, m8
votinh said:
Does anyone know where those installed-apps getting stored on the Nook?
I thought they stored in /system/app but when browsing there, it only seems having those built-in apps such calendar, email, market, ...., and not those that manually downloaded and installed such google earth, astro, ...
Thanks
Click to expand...
Click to collapse
If you're looking for the .apk files for stuff for installed apps, they're in /data/app.
Downloaded apps (like a beta linked from a webpage) land in /sdcard/download (at least with the default browser), but the .apk in /data/app gets overwritten when you install.
At least, that's what the sizes and mod times on the files would indicate, and the only obvious jarfiles I can find are from Apparatus (in /sdcard/Apparatus) and in /system/framework.
If you're looking for app config info and minor storage, that's in /data/data, in a stylized tree that (I suspect) lets the app manager find and clear an app's data and cache when you tell it to, and in /sdcard for some apps.
I'm having a hard time making things put their data in /emmc, but the default music player finds .mp3 files in /emmc/My Files/Music automagically.
The app framework hides much of this inside abstracted APIs, so the app itself may not actually know where its files are. Try getting a filename out of the Music app...
stolenmoment said:
If you're looking for the .apk files for stuff for installed apps, they're in /data/app.
Downloaded apps (like a beta linked from a webpage) land in /sdcard/download (at least with the default browser), but the .apk in /data/app gets overwritten when you install.
Click to expand...
Click to collapse
.apk files are what I am looking for. I'll look into the /data/app folder.
You meant, I won't be able to get those .apk files from the /data/app folder after installed since they gets over-written?
Thanks stolenmoment
I found .apk files in 2 locations:
mnt/asec & system/app
stolenmoment said:
If you're looking for the .apk files for stuff for installed apps, they're in /data/app.
Downloaded apps (like a beta linked from a webpage) land in /sdcard/download (at least with the default browser), but the .apk in /data/app gets overwritten when you install.
At least, that's what the sizes and mod times on the files would indicate, and the only obvious jarfiles I can find are from Apparatus (in /sdcard/Apparatus) and in /system/framework.
If you're looking for app config info and minor storage, that's in /data/data, in a stylized tree that (I suspect) lets the app manager find and clear an app's data and cache when you tell it to, and in /sdcard for some apps.
I'm having a hard time making things put their data in /emmc, but the default music player finds .mp3 files in /emmc/My Files/Music automagically.
The app framework hides much of this inside abstracted APIs, so the app itself may not actually know where its files are. Try getting a filename out of the Music app...
Click to expand...
Click to collapse
/data folder is empty. Nothing in there.
/sdcard/download. I don't have an external uSD installed so /sdcard is empty.
I don't even know where those downloaded apps stored.
patruns said:
I found .apk files in 2 locations:
mnt/asec & system/app
Click to expand...
Click to collapse
/mnt/asec is empty and nothing in there.
/system/app has a lot of .apk files but all of them are the built-in apps, not the manually downloaded apps.
Maybe stolen was right as they got over-written after installed.
I did what biohazrd instructed and sure enough, all the .apk files (packages actually) are indicated storing under /data/app, which exactly what stolen has said earlier.
How come I see NOTHING there. I'm sure I am not blind as I tried both Astro Manager and built-in File Manager.
Are you sure you gave the file manager root permissions? You can usually find this in settings.
---
- Sent from my LG Optimus V using Tapatalk
votinh said:
I did what biohazrd instructed and sure enough, all the .apk files (packages actually) are indicated storing under /data/app, which exactly what stolen has said earlier.
How come I see NOTHING there. I'm sure I am not blind as I tried both Astro Manager and built-in File Manager.
Click to expand...
Click to collapse
Astro doesn't do root access. For the best filesystem digging, buy Root Explorer. Yes, it's a paid app, but it was the first app I bought; this is why.
Astro claims that /data is empty for me too, but Root Explorer shows me everything.
Sent from my NookColor using XDA Premium App
votinh said:
/data folder is empty. Nothing in there.
/sdcard/download. I don't have an external uSD installed so /sdcard is empty.
I don't even know where those downloaded apps stored.
Click to expand...
Click to collapse
Look in /emmc/download; that's the /media NC partition and is supposed to be treated like an SD card.
If you get Root Explorer, do a find for apk and see what turns up. The .dex files are dalvik "object" files, but they contain the apk filename they were compiled from, so they'll show up in the search results.
Sent from my NookColor using XDA Premium App
stolenmoment said:
Astro doesn't do root access. For the best filesystem digging, buy Root Explorer. Yes, it's a paid app, but it was the first app I bought; this is why.
Astro claims that /data is empty for me too, but Root Explorer shows me everything.
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
That may be it.
Will do
Thanks m8
stolenmoment said:
Look in /emmc/download; that's the /media NC partition and is supposed to be treated like an SD card.
If you get Root Explorer, do a find for apk and see what turns up. The .dex files are dalvik "object" files, but they contain the apk filename they were compiled from, so they'll show up in the search results.
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
I don't have my NC with me now but I swear to Buddha that I don't have "download" folder under eMMC. Only .LOST (directory?) and some of my own self-created folders.
Anyway, will take a look at it again.
Until I get the Root app, I rest my case here.
Big thanks to all
votinh said:
Until I get the Root app, I rest my case here.
Big thanks to all
Click to expand...
Click to collapse
I'm going to assume you want to pull the apks off the device?
biohazrd51 said:
I'm going to assume you want to pull the apks off the device?
Click to expand...
Click to collapse
Yes, m8, that's what I intend to do.
In some case, when I boot off the uSD (both CM7 and Honeycomb), some apps were not available on Market for some reason, so I try to get those apk files that currently installed on my NC eMMC for sideloading them later on the uSD boot-off.
votinh said:
Yes, m8, that's what I intend to do.
In some case, when I boot off the uSD (both CM7 and Honeycomb), some apps were not available on Market for some reason, so I try to get those apk files that currently installed on my NC eMMC for sideloading them later on the uSD boot-off.
Click to expand...
Click to collapse
Well, there are a few ways to get around that.
1) Use adb to copy the .apk off the device.
adb pull /data/app/nameofapplication.apk c:\locationyouwanttocopyto
Use the push command to send it to it/another device.
http://developer.android.com/guide/developing/tools/adb.html
2) Another way to get around the new market device restrictions is to uninstall the Market updates OR find an old gapps zip file and sideload vending.apk. Either one of these will revert the market back to old where devices restrictions weren't there.
I know either of these methods will work in CM7. I haven't touched HC so I'm not sure.
Thanks again, bio
Will definitely try it out.
votinh said:
I don't have my NC with me now but I swear to Buddha that I don't have "download" folder under eMMC.
Click to expand...
Click to collapse
I humbly apologize for being wrong. I don't have one, either...
Do you have the Downloads app? Does it show any files? You can download things w/o the SD in, right?
I took out my SD and it remembers the downloads, but can't find them.. I'm gonna reboot and play around.
Sent from my NookColor using XDA Premium App
Need some help here:
I need to delete some of the backups I made with CWM recovery. I already have them backed up onto my PC, but need to delete them to make some room. For some reason I cant.
Ive tried root explorer, es file explorer, and my PC. Im unable to change the permissions of the files, and if you look at the pics I attached youll see they have some strange permissions, but I cant change them.
I am able to move the files anywhere else in the sd card folder, rename them, but no matter what I cant delete them. And when I try from my PC it shows them disappear, but they are actually still there.
If there is a way to format the sd card folder I will, but thats not an option in the settings, or CWM. Can someone please help me out here? This is really frustrating me. Thanks
No issues here when I delete backups using ROM Toolbox.
UnknownFearNG said:
No issues here when I delete backups using ROM Toolbox.
Click to expand...
Click to collapse
I tried through ROM Toolbox and still couldnt delete them.
Gam3r 4 Life said:
I tried through ROM Toolbox and still couldnt delete them.
Click to expand...
Click to collapse
Same, tried with multiple apps too.
I posted this in the other thread, but figured I would do so here in case other people needed the "fix".
Ok, so some good news and some bad news.
The good news is, I was able to put together a flashable zip that WILL DELETE the entire CWM backup directory from the sdcard. It is available here:
http://core.routed.com/CWM_Backup_Wipe.zip
You simply need to flash it via CWM. Easy peasy. I confirmed that the directory/files were all removed, AND the storage space is now available for other files (I checked df before and after).
The bad news is, before attempting to delete the directory, I first tried changing the permissions (recursively) to see if that was a better "fix" for this problem. Unfortunately, even with the directory 777 and the files 666, I still could not manually delete them through the system. Which means, whatever bug is causing this problem is much more severe than a file/directory permission thing.
In any case, until the CWM developer can figure out a way to fix this bug, at least we have a way to manually remove the backups and get our storage space back.
The script in the zip is very simple. It just does a recursive delete on /sdcard/clockworkmod/backup.
Enjoy!
phonic said:
I posted this in the other thread, but figured I would do so here in case other people needed the "fix".
Ok, so some good news and some bad news.
The good news is, I was able to put together a flashable zip that WILL DELETE the entire CWM backup directory from the sdcard. It is available here:
http://core.routed.com/CWM_Backup_Wipe.zip
You simply need to flash it via CWM. Easy peasy. I confirmed that the directory/files were all removed, AND the storage space is now available for other files (I checked df before and after).
The bad news is, before attempting to delete the directory, I first tried changing the permissions (recursively) to see if that was a better "fix" for this problem. Unfortunately, even with the directory 777 and the files 666, I still could not manually delete them through the system. Which means, whatever bug is causing this problem is much more severe than a file/directory permission thing.
In any case, until the CWM developer can figure out a way to fix this bug, at least we have a way to manually remove the backups and get our storage space back.
The script in the zip is very simple. It just does a recursive delete on /sdcard/clockworkmod/backup.
Enjoy!
Click to expand...
Click to collapse
Just saying thanks for this, I hope they figure a fix out soon. Flash worked perfectly, for some storage space back. :good:
I'm trying to find a way to move an app from /data/app to /system/priv-app correctly. I'm on Oreo 8.1.0 with January 5, 2018 security patches. I'm rooted with Magisk v16.0.
I've tried using ES File Explorer to move it manually and apply correct permissions. I've tried using Lucky Patcher and Titanium Backup Pro to move it. With the manual move and Lucky Patcher, the app disappears (icon/shortcut is shaded out and doesn't work). With Titanium Backup, it starts the processing and sits with "Processing" forever.
Does anyone know of a way to move the app to system correctly?
What app are you trying to do it for? The most efficient way that I've found is to...
1. Install the app normally.
2. Find the app within /data/app/ and copy the folder to your internal storage
3. Uninstall the app
4. Copy and paste the folder either into /system/app/ or /system/priv-app/
5. Reboot and see if it works
---------- Post added at 05:32 PM ---------- Previous post was at 05:32 PM ----------
What app are you trying to do it for? The most efficient way that I've found is to...
1. Install the app normally.
2. Find the app within /data/app/ and copy the folder to your internal storage
3. Uninstall the app
4. Copy and paste the folder either into /system/app/ or /system/priv-app/
5. Reboot and see if it works
Edit: It would seem that XDA is lagging for me. Excuse the double post, lol.
jvnat said:
I'm trying to find a way to move an app from /data/app to /system/priv-app correctly. I'm on Oreo 8.1.0 with January 5, 2018 security patches. I'm rooted with Magisk v16.0.
I've tried using ES File Explorer to move it manually and apply correct permissions. I've tried using Lucky Patcher and Titanium Backup Pro to move it. With the manual move and Lucky Patcher, the app disappears (icon/shortcut is shaded out and doesn't work). With Titanium Backup, it starts the processing and sits with "Processing" forever.
Does anyone know of a way to move the app to system correctly?
Click to expand...
Click to collapse
If you mount system in TWRP, you can use file explorer in advance setting to move any file anywhere. No need to set any permissions. Just reboot. Been doing that for while now. No problems at all.
I use root explorer,install app normal .got to data/app.copy to system/privapp.then go back to data/app delete the app,then reboot.
Thanks for all the suggestions. I'll give those methods a go.
I am trying to install an app in /system/priv-app and the app is not showing up in Settings -> Apps even with "Show system" selected.
This is on Google HTC Nexus 9 (flounder) Android 7.1.1 Security patch level October 5, 2017. I used TWRP to remount the root filesytem rw and move the app. I am trying to install com.incorporateapp.fakegps_route-1.
I installed the app from the Google Play store and copied it from
/data/app/com.incorporateapp.fakegps_route-1
to
/system/priv-app/com.incorporateapp.fakegps_route-1
The directory and all files and subdirectories are owner and group root.root. The permissions on the directory and files and subdirectories look correct. The com.incorporateapp.fakegps_route-1 directory is 755.
The directory and files are look to be correctly placed on the file system under /system/app-priv. I've checked multiple times. The app does not show up in System -> Apps even if "Show system" is selected. I understand that Android is supposed to find the new app in priv-app on boot and install it. That does not seem to be happening. Any other suggestions? Are there log files on boot I can check for error messages? Any help is appreciated.
TIA.
I have the same issue. When I move the fakegps app from data/app to system/priv-app then I have no icon to select the application from the home screen.
even after a reboot.
anybody knows how to get back the fakegps icon to be able to start the application?
If you guys are using Magisk root, I've found a module called App Systemizer which through a simple command line interface is able to convert apps you pick and choose from a list of installed ones on your phone to convert into system apps. Then when updates occur I use titanium backup's "integrate system dalvik into app" feature (it hangs so you have to force close it but it does the job) reboot and it's done.
The raw copy/paste way which has been described here has messed up my phone once or twice, and gave me a message on boot that "My phone has been corrupted or something along those lines and to contact the manufacturer".
TaZeR369 said:
If you guys are using Magisk root, I've found a module called App Systemizer which through a simple command line interface is able to convert apps you pick and choose from a list of installed ones on your phone to convert into system apps. Then when updates occur I use titanium backup's "integrate system dalvik into app" feature (it hangs so you have to force close it but it does the job) reboot and it's done.
The raw copy/paste way which has been described here has messed up my phone once or twice, and gave me a message on boot that "My phone has been corrupted or something along those lines and to contact the manufacturer".
Click to expand...
Click to collapse
App systemizer just grants the app the status "system app"(likely through linking and granting permissions). It in no way moves it to the system partition.
Ive come to the same realization after running into some questionable free space on my /system Hehe. I copy the APK using TWRP now seems to do the trick.
TaZeR369 said:
Ive come to the same realization after running into some questionable free space on my /system Hehe. I copy the APK using TWRP now seems to do the trick.
Click to expand...
Click to collapse
what version of android can you get, I'm not getting on android 10 can you help me?
Above method didn't worked for me. Below worked perfectly and is safe:
1. Install the app as usual.
2. Copy the app folder from /data/app to internal storage
3. Uninstall the app and reboot to recovery
4. Copy the app folder from internal storage to /system/priv-app folder (If you don't see system folder then you need to mount "system" partition in recovery first)
5. Give permissions to app folder (for all 9 checkboxes), reboot. Enjoy
Anyone else unable to see the folder with the app they moved after a reboot? I want to de-systemize, but I can't now.
I took the folder for the app I want to systemize and moved it from data/app to system/priv-app. Then rebooted. The app is now systemized (can't uninstall it, only disable) But the folder no longer exists under PRIV-APP.
I've done this many times with other apps and I've never seen this problem. Is it because I moved the entire folder and didn't rename it?
After reboot the folder can no longer be found under system/priv-app OR data/app. The app is still installed as a system app. Where is the folder with the app?
Running Android 9. Pixel 3.
I have come across a very strange phenomena on Galaxy M12. When I install an app as user it exists in /data/app forder in a weird way. The folders in /data/app are like ~~h8DR1aXXIZfV_DXfqwYf3g== (see attachment) and in these folders there is another folder with the app package name. On regular devices I hvae seen app package folder in /data/app itself.
When I copy the app package folder from /data/app/~~h8DR1aXXIZfV_DXfqwYf3g== to /system/app it does not work. I can see the app folder after reboot or even reset but app in not installed on the system. I have confirmed by running the activity using 'am' and tried listing with 'pm'. I have also given same permissions as other app folders in /system/app. I have also tried /system/app~~h8DR1aXXIZfV_DXfqwYf3g==.
Edit: As it turns out when I am copying to /system/app the base.apk is not copied properly. I have tried it multiple time, the system is mounted. Whatever I do it is either 0 kb or 100 kb exactl and the file is ~6mb. Still strange behaviour.