[Q] Cant install apk, installation fails - Milestone XT720 General

Hi, I installed an application on my XT720, but I think the installation hanged so I took out the battery to reset the phone. Now it wont install.
I've encountered this problem before by deleting the temp files using root explorer, but I can't seem to find the temp files on this one. Does anyone know where I can find temp files from installations?
thx

if it's rooted already, just use any of the clear cache apps in market, to clean the temps out
also the Dalvik cache

that almost no one reported problem and almost nobody knows how to fix it, I can say that there are caches market or anything like that, the problem is that there are duplicates in a folder on the SD card, and you have to delete the folder is hidden and not visible on the phone and can not erase, deves do it on the pc, and appears as olcuto file in linux and mac, but you can delete it just by putting "view hidden files" Fortunately, it is easy to fix

AllGamer said:
if it's rooted already, just use any of the clear cache apps in market, to clean the temps out
also the Dalvik cache
Click to expand...
Click to collapse
I have encountered the same problem, but after i cleaned the caches by Cache Cleaner, the problem didn't solve.
When I tried to install the apk file, the device returns the message 'application not installed'.
Can anyone help?
Thanks

I doubt this is your problem, but maybe check the permissions and ownership of your /cache directory. I borked mine once while experimenting and the market was very silently unhappy.
ls -l should give:
drwxrwx--x system cache 2011-03-28 23:13 cache
If it's not owned by the cache group or if the group doesn't have write permission, downloads just go poof. That doesn't sound like your problem, though.
I've had some situations (going all the way back to 2.1) where Market apps wouldn't install the first couple of times I ask, but if I'm persistent and repeatedly keep installing, eventually it will start installing.
Another trick I've found is if the download completes and then the install never starts, try leaving the Market page for the app and come back. Sometimes that kicks the install into gear.

Mioze7Ae said:
I doubt this is your problem, but maybe check the permissions and ownership of your /cache directory. I borked mine once while experimenting and the market was very silently unhappy.
ls -l should give:
drwxrwx--x system cache 2011-03-28 23:13 cache
If it's not owned by the cache group or if the group doesn't have write permission, downloads just go poof. That doesn't sound like your problem, though.
I've had some situations (going all the way back to 2.1) where Market apps wouldn't install the first couple of times I ask, but if I'm persistent and repeatedly keep installing, eventually it will start installing.
Another trick I've found is if the download completes and then the install never starts, try leaving the Market page for the app and come back. Sometimes that kicks the install into gear.
Click to expand...
Click to collapse
My problem seldom associate with the market apps, but rather the apk files that i backed up before. when i pressed install, the installation bar would load for a while, about 1 second, and then it said application not installed.
This happens when I first try to install angry birds few days ago, the application hanged up with no response, just showing the installation bar. After that i removed the battery and try to install, the apk can't be installed and the above situation happened.
I can still install some of the other apk files, but some cannot. I tried to wipe all the caches as well as factory reset by the openrecovery, but the apk still cannot be installed.
Anyone got the same problem?

gn01222116 said:
My problem seldom associate with the market apps, but rather the apk files that i backed up before. when i pressed install, the installation bar would load for a while, about 1 second, and then it said application not installed.
This happens when I first try to install angry birds few days ago, the application hanged up with no response, just showing the installation bar. After that i removed the battery and try to install, the apk can't be installed and the above situation happened.
I can still install some of the other apk files, but some cannot. I tried to wipe all the caches as well as factory reset by the openrecovery, but the apk still cannot be installed.
Anyone got the same problem?
Click to expand...
Click to collapse
Are you on froyo? IIRC Angry Birds tries to install to the SD card using native froyo App 2 SD. Perhaps that's what's not working on your phone. Since not all apps do that it could seem random. See if you can Move to SD any downloaded apps (Settings > Applications > Manage applications > Downloaded > pick one > Move to SD). If you can't there's probably something wrong with your FAT partition on the SD card (e.g. it may need to be reformatted).

Mioze7Ae said:
Are you on froyo? IIRC Angry Birds tries to install to the SD card using native froyo App 2 SD. Perhaps that's what's not working on your phone. Since not all apps do that it could seem random. See if you can Move to SD any downloaded apps (Settings > Applications > Manage applications > Downloaded > pick one > Move to SD). If you can't there's probably something wrong with your FAT partition on the SD card (e.g. it may need to be reformatted).
Click to expand...
Click to collapse
i tried your method, and my apps could move to SD.
So what will be the possible reasons for my problem?

Related

Angry birds pigs wont die after 1.4.2 update and data restore??

So I have had issue after issue getting the new version to even INSTALL.. but finally got it after totally deleting the older 1.3.5 version and wiping cache, restart etc.. new install of 1.4.2.. everything works fine....
BUT....
After using titanium backup to restore data there is some kind of bug that makes the birds virtually worthless. I get the data back (levels etc) but when I go try to beat an old level the birds litterally bounce off the pigs without causing ANY damage.
Ive done this 3 different time now, totally removing the game, reinstalling, verified to work "normal" before data restore... and again, not working after the data is refreshed.
PLEASE HELP!
EVO
Myn RLS3
Nets 4.2.1 CFS more
Let me answer my own thread after I finally find the answer minutes after posting this...
Thanks to anuwyn in this thread:
http://forum.xda-developers.com/showthread.php?t=820725
anuwyn said:
Fix for "Application not installed message" and "Installation unsuccessful" on Rooted HTC Hero with FroydVillain 1.5.
I couldn't install Angry Birds and some other applications on the Market after installing
FroydVillain 1.5 and after some debugging I found out why. There seems to be a problem related to
the file "/mnt/secure/asec/smd12tmp1.asec".
Solution: Delete the corrupt file with a terminal app and also delete the market data to be sure.
1. Get "Terminal Emulator" or another terminal app from the Market.
2. Run the "Terminal Emulator".
3. Write:
su (ENTER)
rm /mnt/secure/asec/smd12tmp1.asec (ENTER)
rm /data/data/com.android.vending/cache/* (ENTER)
4. Exit the emulator, reboot and try to install the failing application again.
5. If the above doesn't solve your problem try the following:
- Wiping cache
- Wiping dalvik cache
6. If this doesn't fix your problem just wipe the phone and reinstall everything
Click to expand...
Click to collapse
It SEEMS to have worked!
I know this is kind of an obscure problem that no one else will probably ever have, but figured Id update it just the same.
same thing happened to me, I just restored the older version with the data and then updated the app over the market..worked fine after that
i could never get it to update over the market for some reason... always had to unmount the SD to get it to work.. but couldnt install from the market or save to phone without SD in.
I ended up saving to sd and using root explorer to move it onto the phone, unmount sd, do a cache wipe, install from phone, remount sd. whew!
its updated now and i have successfully done a titanium backup several times. (Thank God)
I have similar issues with fruit ninja attempting to update but just gave up on that one.

Some things I learned from personal experience

I received my G Tab yesterday and within 4-5 hours last night I had installed 4 different ROMs, installed multiple kernels, and tested a ton of apps on each. I even got in to a boot loop, couldn't get the standard market fix to work, when installing at one point it FCd and then said it couldn't install more, etc, but I worked them all out. A few things that I learned that may help people (All instructions are with TNT 4.4 but work with other ROMs in different directories)
Market fix:
The standard market fix that is floating around is not always sufficient. To be sure that it will work, you need Titanium Backup installed.
Steps
1. Settings->Applications->System applications->Market then Clear Cache (if any) then Force Stop
2. Go back one and then Google Services Framework then clear data then Force Stop
3. Go to home and open Titanium Backup
4. Select Backup/Restore tab
5. Select Google Services Framework
6. Select Wipe Data
7. Go to home and open market (it will error and close)
8. Reboot your tablet
9. Open Market and you will have full market (I can't find anything I don't have)
----------------------------
For me, my boot loop came after installing 4 ROMS and on TNT 4.4 it crashed while using an app and went in to a loop. I had cleared everything in between all the installs but something must have been left over. I needed to repartition my sd card in CW. It worked great, but remember, select 2048, and for the second option select 0 or it won't work http://forum.xda-developers.com/showthread.php?t=865245
Also, remember to back up the titanium backup folder and anything else to your computer before doing this. It will wipe everything.
-----------------------------
The last issue was when I was installing a few apps the market FCd and then when I went back in it wouldn't let me install the apps that were going to install. I tried all the regular things like wiping data and cache but it didn't work. What worked was removing the corresponding asec files within the .android_secure folder at root.
-----------------------------
Almost every single app I have installed works great. The only major problem so far? The Grooveshark app. TinyShark works though.
I just got my Gtab too. I installed VEGAn and the kernel to go with it with the latest ClockWorkMod. When I installed Titanium I got an error saying 'ROM is not rooted' or something similar to this.

[Q] how to stop "ongoing" marketplace download??

Today when i was trying to update skype and download some other applications in the market, this below thing happened to me.
On my drag down task bar there are 17 "ongoing" downloads from android market. even though i cancelled everything, tried also to stop/remove market from app manager, stop google talk (i don't have this installed but i see it in running services?!), rebooting the phone, software repair (failed),... that thing is still there and never goes away.
i'm running out of ideas. anyone can help?
sony ericsson x10i 2.1 update-1
Try deleting the market cache/data. Go to settings > applications > manage applications, then the "all" tab. Find the market & force stop it. Then clear the data & the cache. If the notification is still there, reboot & it should go away.
if in MIUI rom there is a Downloads application to manage download.
duno where to get the apps
plainjane said:
Try deleting the market cache/data. Go to settings > applications > manage applications, then the "all" tab. Find the market & force stop it. Then clear the data & the cache. If the notification is still there, reboot & it should go away.
Click to expand...
Click to collapse
i already tried deleting android market and re-installing and force stop/ clear cache. the prob still there
hpl912 said:
i already tried deleting android market and re-installing and force stop/ clear cache. the prob still there
Click to expand...
Click to collapse
So the problem is that your status bar is stuck showing downloads, not necessarily the app itself.
Since you said you uninstalled & reinstalled the market, I'm assuming you're rooted. If this is the case, there's an app on the forums that kills your status bar then restarts it, but I'm not sure if it would work in your situation. It was made with the CM7 theme chooser in mind, so it may only work on 2.3. I'm not sure though, as I've never used it. You could also try booting into recovery & wiping your cache & dalvik cache. If you have a root level file explorer, try going to /cache and deleting any downloadfile.apk files you may see. They may be in /cache/download if that path exists.
If none of that works, you could try reflashing your rom over itself. Just wipe cache/dalvik, not data, and everything should remain as it was unless you've made changes to any system files. And if that doesn't work, I'm all out of ideas.
I am assuming that you've rebooted, but if for some reason you haven't, try that first.
em... now i can't download anything from the market anymore. everytime i choose to download something, it just adds up in the task bar and the downloading never ends. now i have accumulated 18 ongoing downloads even though they are not really downloading anything.
i have a rooted x10 but i cannot find any folder named /cache when browsing using astro file manager.
i don't know how to get into recovery mode to wipe off the cache as you said.
and yes, rebooting was the very first thing i did but it doesn't work...
hpl912 said:
em... now i can't download anything from the market anymore. everytime i choose to download something, it just adds up in the task bar and the downloading never ends. now i have accumulated 18 ongoing downloads even though they are not really downloading anything.
i have a rooted x10 but i cannot find any folder named /cache when browsing using astro file manager.
i don't know how to get into recovery mode to wipe off the cache as you said.
and yes, rebooting was the very first thing i did but it doesn't work...
Click to expand...
Click to collapse
I'm not sure how to get into recovery on your phone, but I'm sure a quick Google search would yield the answer. You can also try using a cache cleaner app, but it may not solve the problem. If you can get into recovery (again, I'm assuming you're rooted) then go to the "wipe" menu... it may say something else but the word wipe should be there. From there choose to wipe cache & dalvik cache. I think in ClockworkMod that wiping dalvik cache is under "advanced", but I'm not sure if that's your recovery version or if it's even available for your phone.
The only other option would be a factory reset.
Oh, and the /cache directory is on internal memory, not the SD card. Astro is not a root level explorer, so you would need Root Explorer or ES File Explorer.
hi,
i am experiencing the same issues and my phone is not rooted.
i've done the clear cache thing and still the issue persists. the phone also freezes up whereby it does not even register my touch and the screen just blanks out.
any other advice on this please for non-rooted phones??
Hi,
I've just seen this problem on a X10 mini upgraded to android 2.1 update 1.
The solution was to "clear data" and "force stop" for "Download Manager".
IE: go to settings/applications/manage applications, press menu key, select filter and set All, scroll until you find the "Download Manager" entry, select it and then click "clear data" and "force stop"
You can now go to the market and start again any install/upgrade that might have been stuck in the queue before.
Hope it works for you too!
Stupid xperia 10
Okay WTF!, this is the only thread online I found that deals with this problem. Is Sony really that incompetent?.
I've had this problem for a week, I am now upto 35 ongoing downloads. I only had 8 ongoing 3 days ago. I cannot download or install or download and install anything!. This is complete B.S.
I have done everything in this thread and nothing works. Sony still has not e-mailed me back. I am FURIOUS!, WTF is happening!. Why can't I remove these ongoing downloads/updates.
I've done the whole "application manager" B.S. but it won't let me force close my market. I've disabled wi-fi. I am losing my effing mind!.
HAS ANYONE ACTUALLY DEALT WITH AND CORRECTED THIS PROBLEM?. I will give you $5. This is getting retarded.
Oh and FYI "Download manager" does not appear in my list of apps what so ever, and there is no such thing as a "all" tab in my "manage applications" directory.
... Oh great!, I've uninstalled my market but my Icon still appears... Oh look at that the program works "ING! AWESOME!" considering IT DOESN'T EXIST ON MY PHONE ANYMORE! INCLUDING APPLICATION MANAGER! WTF!
Hastecaster said:
Okay WTF!, this is the only thread online I found that deals with this problem. Is Sony really that incompetent?.
I've had this problem for a week, I am now upto 35 ongoing downloads. I only had 8 ongoing 3 days ago. I cannot download or install or download and install anything!. This is complete B.S.
I have done everything in this thread and nothing works. Sony still has not e-mailed me back. I am FURIOUS!, WTF is happening!. Why can't I remove these ongoing downloads/updates.
I've done the whole "application manager" B.S. but it won't let me force close my market. I've disabled wi-fi. I am losing my effing mind!.
HAS ANYONE ACTUALLY DEALT WITH AND CORRECTED THIS PROBLEM?. I will give you $5. This is getting retarded.
Click to expand...
Click to collapse
Is your phone rooted / what ROM are you using?
Hastecaster said:
Okay WTF!, this is the only thread online I found that deals with this problem. Is Sony really that incompetent?.
I've had this problem for a week, I am now upto 35 ongoing downloads. I only had 8 ongoing 3 days ago. I cannot download or install or download and install anything!. This is complete B.S.
I have done everything in this thread and nothing works. Sony still has not e-mailed me back. I am FURIOUS!, WTF is happening!. Why can't I remove these ongoing downloads/updates.
I've done the whole "application manager" B.S. but it won't let me force close my market. I've disabled wi-fi. I am losing my effing mind!.
HAS ANYONE ACTUALLY DEALT WITH AND CORRECTED THIS PROBLEM?. I will give you $5. This is getting retarded.
Click to expand...
Click to collapse
just go to manage applications, go to market force stop it and clear data, then go to download manager force stop and clear data. then do a reboot then it will be fixed. and where is my $5.
plainjane said:
Try deleting the market cache/data. Go to settings > applications > manage applications, then the "all" tab. Find the market & force stop it. Then clear the data & the cache. If the notification is still there, reboot & it should go away.
Click to expand...
Click to collapse
Just a correction.. Under All Tabs, find Download manager instead of market place.. Under Download manager, just force stop it. that's it..
im dealing with this same problem,im gonna try to restore my phone
stoppppp ur under process downloading
so in notification section and click on downloading item for a while,
a new window''ll open check ur download which u want to stop and click cancil
u r done
super sunny ur a genius...10x dude
thanks man,i had the same downloading problem but after clearing data and force stop download manager now its alright!!!!!
plainjane said:
Try deleting the market cache/data. Go to settings > applications > manage applications, then the "all" tab. Find the market & force stop it. Then clear the data & the cache. If the notification is still there, reboot & it should go away.
Click to expand...
Click to collapse
THANK YOU! Add me to the list of grateful users as this also worked for me!
I was unable to stop the 'Download Manager' nor 'Downloads' apps, but I cleared cache & data for both, + all of the above for the Google Play Store; removed downloadfile.apk and 2-files from dalvik cache. Notifications stopped !
Then I rebooted. GP-Store (which was already current) indicated they were updating and required my acceptance. Then the store opened normally; I manually download ONE app.
I only download via Wi-fi so Wifi is my emergency panic button.
Thanks again!
thank me if. I helped u guys please im a newbie here
Hey dudes just do as I say during the force download goto settings>applications>manage applications then press menu > filter > all and search for download manager and tap it and force stop it , PROBLEM SOLVED KEEP SMILING , Any way I say xperia always rocks , mail me regarding any doubts

[Q] Why can't I install this app? TwoDots, error -506

I've just moved from 4.4.2 to 5.0 on my Nexus 5 and used Ti to restore all my apps. It kept hanging on restoring TwoDots so I skipped it and installed everything else. Now I can't restore TwoDots from Ti and I can't install it from the Play Store (error -506).
I'm thinking I must have some kind of corrupt partial restore of the app but I don't know how to go about solving that. Have wiped cache/dalvik to no avail.
Having the same issue with Google Keep.
Came from 4.4.4 and onto 5.0 on my Moto G LTE. Restoring via Titanium Backup gives me the insufficient space error which is weird, because I have a lot of space for apps. Tried via Play Store and it returned a rare 506 error. Still looking for a solution.
Edit: Just solved this from my side by deleting the data folder of said application. In my case, it was com.google.android.keep which I got rid of via an app called System Cleanup. Hope this helps.
Zyquil said:
Having the same issue with Google Keep.
Came from 4.4.4 and onto 5.0 on my Moto G LTE. Restoring via Titanium Backup gives me the insufficient space error which is weird, because I have a lot of space for apps. Tried via Play Store and it returned a rare 506 error. Still looking for a solution.
Edit: Just solved this from my side by deleting the data folder of said application. In my case, it was com.google.android.keep which I got rid of via an app called System Cleanup. Hope this helps.
Click to expand...
Click to collapse
Hey Zyquil. I still have this problem n cant delete com.instagram.android while using System Cleanup. Any ideas how I can solve this?
Error 506
Same problem. I have tried all the above suggestions, including reboots, to no avail. It's happening for Titanium, GoSMS, Roboform & FxExplorer, while others of similar sizes install ok. All of them have been installed and working previously. Sometimes Play Store just crashes with these, or I get 'insufficient storage, manage apps to free space' when sideloading.
Go figure!
Error 506
sytauro said:
Same problem. I have tried all the above suggestions, including reboots, to no avail. It's happening for Titanium, GoSMS, Roboform & FxExplorer, while others of similar sizes install ok. All of them have been installed and working previously. Sometimes Play Store just crashes with these, or I get 'insufficient storage, manage apps to free space' when sideloading.
Go figure!
Click to expand...
Click to collapse
I reckon my problems were caused by using the Link2Sd app. I moved too many apps to sdcard. A factory reset and reflashing my ROM sorted the problem. Link2Sd is still an excellent app manager app and allows (amongst other things) linking phone storage apps to the sdcard to save memory space. Just use it cautiously.
If you use a root explorer, goto data/data, there are dead files in there under google music, or talk, delete them , then try to reinstall from play store, worked perfectly for me and killed the 506 error, these are from past error installs and Android thinks the app is still installed. I personally use root explorer and within all the actual blue file folders under data/data, the corrupt ones showed as white unknown files, if I helped hit thanks.... These are actually like leftover residual file fragments from a prior intall, that for some reason Android 5.0+ doesn't clean out, tombstones
thankz ...working (data/data/ com.whatsapp - deleted)
Thunder Droid said:
If you use a root explorer, goto data/data, there are dead files in there under google music, or talk, delete them , then try to reinstall from play store, worked perfectly for me and killed the 506 error, these are from past error installs and Android thinks the app is still installed. I personally use root explorer and within all the actual blue file folders under data/data, the corrupt ones showed as white unknown files, if I helped hit thanks.... These are actually like leftover residual file fragments from a prior intall, that for some reason Android 5.0+ doesn't clean out, tombstones
Click to expand...
Click to collapse
Thunder Droid said:
If you use a root explorer, goto data/data, there are dead files in there under google music, or talk, delete them , then try to reinstall from play store, worked perfectly for me and killed the 506 error, these are from past error installs and Android thinks the app is still installed. I personally use root explorer and within all the actual blue file folders under data/data, the corrupt ones showed as white unknown files, if I helped hit thanks.... These are actually like leftover residual file fragments from a prior intall, that for some reason Android 5.0+ doesn't clean out, tombstones
Click to expand...
Click to collapse
You sir, deserves a medal !
It worked
Thunder Droid said:
If you use a root explorer, goto data/data, there are dead files in there under google music, or talk, delete them , then try to reinstall from play store, worked perfectly for me and killed the 506 error, these are from past error installs and Android thinks the app is still installed. I personally use root explorer and within all the actual blue file folders under data/data, the corrupt ones showed as white unknown files, if I helped hit thanks.... These are actually like leftover residual file fragments from a prior intall, that for some reason Android 5.0+ doesn't clean out, tombstones
Click to expand...
Click to collapse
Simply funciounou me, just having to delete files corrupted by Link2SD worth it
I fixed it with sd maid, running the corps cleaner. I'm on lolipop.
I used this fix and it worked perfectly.
I too use link2sd and after a crash I could not reinstall several of my Apps.
I used root explorer as described and when I deleted the non-blue files in data\data folder I could install all my apps.
Thanks to Thunder Droid
Wayne
Thank you but...
rahmannek said:
Click to expand...
Click to collapse
It works for me to reinstall the app, but now I can't move this apps to SD Card, do you know how to solve it, please?
And when I try to move the app to SD card with Link2SD card I got the following error:
"[INSTALL_FAILED-DEXOPT] "
Can you help me, please?
great
Aventura5 said:
I fixed it with sd maid, running the corps cleaner. I'm on lolipop.
Click to expand...
Click to collapse
Thank you so much. This really saved me from resetting my phone!!! I spent the whole damn night last night ;(
Update: Some apps are still nasty and come up with the same error like: CF.lumen, Google Gesture, Tangram.
sytauro said:
I reckon my problems were caused by using the Link2Sd app. I moved too many apps to sdcard. A factory reset and reflashing my ROM sorted the problem. Link2Sd is still an excellent app manager app and allows (amongst other things) linking phone storage apps to the sdcard to save memory space. Just use it cautiously.
Click to expand...
Click to collapse
Exactly that!
I had Link2SD installed and had moved a lot of apps to the ext4 partition of my SGS4 with CM12.1. Now I changed my SD-card from 64 GB to 128 GB. I had backuped all these apps with Titanium, well, but I didnt delete all those links.
Effect was that restore with Titanium was not possible (forever the MsgBox "....blabla restore...". With Google Play I had this Error Code -506, which is nowhere described I guess.
After I deleted all those dead symlinks I could reinstall or restore the apps, only thing now: Titanium did the restore not to the internal system but to the external sd-card, at least told me so. Now I could move them through the systems app management to the internal system but I think this was not the most elegant way to manage.
same problem for me with few apps.
here my exprerience:
system cleanup do nothing
root explorer free edition can't browse data folder; pro version not buyed
es file explorer free edition has a root explorer but show an empty folder when browsing data
sd maid work great!
thanks @Aventura5
Thank you brother.
Thunder Droid said:
If you use a root explorer, goto data/data, there are dead files in there under google music, or talk, delete them , then try to reinstall from play store, worked perfectly for me and killed the 506 error, these are from past error installs and Android thinks the app is still installed. I personally use root explorer and within all the actual blue file folders under data/data, the corrupt ones showed as white unknown files, if I helped hit thanks.... These are actually like leftover residual file fragments from a prior intall, that for some reason Android 5.0+ doesn't clean out, tombstones
Click to expand...
Click to collapse
Thank you! After trying multiple solutions this is what finally worked.
Thunder Droid said:
If you use a root explorer, goto data/data, there are dead files in there under google music, or talk, delete them , then try to reinstall from play store, worked perfectly for me and killed the 506 error, these are from past error installs and Android thinks the app is still installed. I personally use root explorer and within all the actual blue file folders under data/data, the corrupt ones showed as white unknown files, if I helped hit thanks.... These are actually like leftover residual file fragments from a prior intall, that for some reason Android 5.0+ doesn't clean out, tombstones
Click to expand...
Click to collapse
Wow! It worked like a charm! Thaaaaaank you! ??
FIXED. Got the same problem here. Trying to install new apps but it kept saying error 506. I'm a link2sd user and i was guessing that the problem came from this app. Just go to the settings>install location>select internal. It worked for me.
I found an easier way to fix this issue. If you have titanium backup installed, run batch mode and remove orphan data.
After that, install from playstore was a breeze.
Hit thanks if this helped you.
Sent from my SM-G900P using XDA Free mobile app

Galaxy S7 SM-G930F (6.0.1) - System Partition Size

Hi All
I am hoping someone can help... I have the Galaxy S7 (SM-G930F / 6.0.1 / UK / EE) and have come up with an issue.
I use Cerberus Apps in case my phone is lost - you are able to install this into the system to avoid someone wiping the phone and removing the software. To do this the phone must be rooted and then I usually use Link2SD to transfer the app to make it a system app. This has always worked on my old phones - but alas not this time.
The problem is that the system partition (4Gb) is full!! I have deleted all the language packs to try and clear some space - but it is still full! Strangely enough I also uninstalled an "Amazon" app which was listed as being a system app and quite large (from memory I think it was just under 100Mb)... but when I removed it and rebooted the system partition free space remained unchanged! It's possible that Amazon was a user app and I mis-read it... but anyway - I thought that the only way to clear some space was to resize the system partition - so I installed TWRP (3.0.2), have done a complete backup (system/efs/etc) apart from \data as this showed 0Mb and "failed to mount" when I tried to back it up originally.
So, my question is - can anyone help me to free some space from the system partition to allow Cerberus App to be stored there? I did think about uninstalling the VR Gear files as I dont have a VR device and assumed I could re-load these from Google Play if needed - but I do have the Galaxy Gear watch - so decided not to remove these files in case it screwed this up. Not sure which Google Apps I can remove and re-install if needed... so if anyone knows this, then that would be a help too
I thought you could resize the partition in TWRP but cant find any clear details on how to do this, so thought I'd ask here before I screw the phone up :silly:
Any ideas/help greatly received.
TWRP doesn't support encryption so that's likely why /data won't mount. Resizing partitions is typically done via Odin with PIT files, but it's very dangerous, so I wouldn't recommend it.
Luxembourg ROMs have around 130mb free system space, so there must be a ton of carrier bloat in yours. This doesn't sound right though, it's required that there is some space for expansion. Could you run the following command in a root terminal and post the results please?
df -k | grep system
CurtisMJ said:
df -k | grep system
Click to expand...
Click to collapse
Thanks Curtis - I left my phone at home today, so will try this tonight and post results. After deleting all the unwanted language files I have about 40Mb space free, but this still doesnt seem to be enough as when I run Link2SD and reboot the phone, Cerberus has vanished and has to be re-installed... although when it re-installs it shows it as an "update" which would indicate that it is installed already - just 'lost' ???
Will update tonight when I get a moment.
Thanks
That's interesting actually. It seems to be indicative of permission issues. The app was successfully moved to the system, but the permissions on its files were wrong and the system refuses to load it(Link2SD's fault, essentially) . It's still acknowledged by the app manager though, which is why it can be "updated". Can you try move it with something apart from Link2SD? I recommend titanium backup.
CurtisMJ said:
Can you try move it with something apart from Link2SD? I recommend titanium backup.
Click to expand...
Click to collapse
Thanks Curtis - I have Titanium Backup (free version) installed already so can give it a go - I have only used it for backups (a long while ago) and have never used it to relocate an app... is it fairly self explanatory how to do it?
Will look tonight when I get in
Thanks
Just tried with titanium myself and it fails in a similar manner. Seems Marshmallow is a little fiddly and Link2SD puts out a generic message when it has issues. Titanium just freezes. You'll have to do it manually
First you'll need to clear the system of failed attempts. Look in the /system/app and /system/priv-app with a root Explorer for Cerberus apks or folders. Next, look in the /data/app folder and find the Cerberus folder. Take note of this path.
Next, fire up a root terminal and enter the following commands. In my case I was moving Greenify.
mount -o remount,rw /system
cp - a /data/app/com.oasisfeng.greenify-1 /system/app/Greenify
Replace the data folder with your noted path. The system path can be anything.
Then reboot and the app should be system.
Hi Curtis
Thanks for spending so much time on this.
OK, I skipped straight to the manual relocation method that you said. Whilst the app is Cerberus the APK etc is called System Framework as I have installed the 'hidden' version rather than the one which shows as Cerberus on the phone. However using OI File Manager, when I look in /system/app and /system/priv-app folders there is nothing called Cerberus or System Framework... so I am assuming that there are no orphaned APKs or other files.
But, this is where the strange thing starts, when I look in the /data/app folder, it is empty... so I am guessing I am looking in the wrong place as there are loads of apps! I am looking from home then selecting data, etc... any thoughts?
Oh, I have checked that hidden files are shown too!
Thanks again
i used to install the same app on my S7
please follow this guide & let me know the result.
1- uninstall Cerberus App, Link2SD, TTb, etc. and reboot
2- install SystemCleanup.
3- from the app SystemCleanup swip to tab apps and remove some bloatware like Google books, music, games, google TTS.
4- Reboot & install Cerberus App, do not run it.
5- from the app SystemCleanup go to apps tab and move Cerberus App to system/app & reboot again.
6- That's all.
Click to expand...
Click to collapse
Hi Abuzar
Thanks for the help... I tried using System Cleanup and initially it didn't work... it didn't show System Framework after cleaning up which made me think it was uninstalled properly. But when I tried to re-install it I got a message asking if I wanted to update the the built in application... so I said yes and re-checked in System Cleanup and it was visible, so I tried uninstalling it and after a couple of attempts it succeeded.
Then I re-installed and it installed it as a new app and it was visible in System Cleanup as installed in /data. So, I moved it to /system and configured it. It now lists in System Cleanup as being installed @auto system+data... so I am assuming it has installed properly... but not 100% sure as it lists some of it in data - so not sure if after a reset it will wipe the user profile from Cerberus or not.
I took a backup in TWRP and thought I would do a factory reset and test it... but on the S7 using factory reset in O/S it asks for my samsung password etc so looks like it may delete my Samsung/Google account's so didn't proceed as I didn't want to delete any online info. So... I tried factory wipe in TWRP but it just said failed "could not mount /data and unable to find crypto footer" and a few more "failed to mount /data" errors... so I gave up and will have to assume its installed properly as a system app
Thanks for all your help.
Just as a final note, the system+data combo sounds normal. Under regular conditions, the system partition is read only, so in order to install any updates to system apps, Android actually installs them as data apps, but cross-references them to system apps and gives them the relevant permissions. You can remove the data part by selecting "Uninstall Updates" in the app info page.

Categories

Resources