Cyanogen device thinks applications are there when they're not? - G1 Q&A, Help & Troubleshooting

I recently upgraded from Cyanogen 4.0 to 4.1.99, and in doing so I used the "Backup from Root" application from the market.
It did a fantastic job restoring all of my applications, but a couple seem screwed up.
Twidroid Pro, eBuddy, and a couple others don't appear in my application drawer, but the shortcuts are broken on my phone's desktop.
I can't uninstall them via the market, but when I go to the twidroid page in the market for example, both the "Open" and "Uinstall" buttons are greyed out.
Any ideas?

sounds like the apps2sd got screwed up somewhere. reformat your sd card.

livejamie said:
I recently upgraded from Cyanogen 4.0 to 4.1.99, and in doing so I used the "Backup from Root" application from the market.
It did a fantastic job restoring all of my applications, but a couple seem screwed up.
Twidroid Pro, eBuddy, and a couple others don't appear in my application drawer, but the shortcuts are broken on my phone's desktop.
I can't uninstall them via the market, but when I go to the twidroid page in the market for example, both the "Open" and "Uinstall" buttons are greyed out.
Any ideas?
Click to expand...
Click to collapse
all is fine you uid's are screwed get the latest amon-ra recovery or in console type i think
Code:
fix permissions
should sort the problem also in the amon-ra ver its the fix uid mismatches
hope this helps

Thanks so much for your replies you two!
Neither of those methods seemed to have fix my problem.
I tried formatting the SD card, and typing "su fix_permissions" in the virtual console.
Interestingly enough when I went into the SD card to investigate the data that was backed up I noticed that all the applications that were having this problem are stored as .ZIP files, whereas all of the working ones are .APK files.
I tried renaming the .ZIPs to .APKs, but no dice.
Any other ideas?

livejamie said:
Thanks so much for your replies you two!
Neither of those methods seemed to have fix my problem.
I tried formatting the SD card, and typing "su fix_permissions" in the virtual console.
Interestingly enough when I went into the SD card to investigate the data that was backed up I noticed that all the applications that were having this problem are stored as .ZIP files, whereas all of the working ones are .APK files.
I tried renaming the .ZIPs to .APKs, but no dice.
Any other ideas?
Click to expand...
Click to collapse
its because they are private/protected apps...
im pretty sure youll have to reinstall them. you can find the apk's online and install them, then upgrade from the market
or you can try deleting them and see if market will allow you to install them again

B-man007 said:
its because they are private/protected apps...
im pretty sure youll have to reinstall them. you can find the apk's online and install them, then upgrade from the market
or you can try deleting them and see if market will allow you to install them again
Click to expand...
Click to collapse
How do I delete them?

livejamie said:
How do I delete them?
Click to expand...
Click to collapse
find the name of the app
then find where its located
for apps2sd
Code:
ls /system/sd/app
if you see it there
rm -rf /system/sd/app/<filename of the app incl extension>
if not
ls /system/sd/app_private
rm -rf /system/sd/app_private/<filename of the app incl extension>
for non apps2sd
instead of /system/sd
use /data/

I'm having the same problem with Pandora but can't find it anywhere using ls (both on SD and on phone). It's not installed and I couldn't back it up because it's protected and after wiping my EXT3 partition it is listed as installed on the market with options grayed out so I can't uninstall it or install it. Any solutions?

***UPDATE*** below didn't work....
al74 said:
I'm having the same problem with Pandora but can't find it anywhere using ls (both on SD and on phone). It's not installed and I couldn't back it up because it's protected and after wiping my EXT3 partition it is listed as installed on the market with options grayed out so I can't uninstall it or install it. Any solutions?
Click to expand...
Click to collapse
yeah i'm having the same issue trying to see if i can find teh Pandora apk somewhere that would make life easier as in doing
Code:
fix_permissions
it reported:
Code:
/data/app-private/com.pandora.android.apk does not exist. Reinstall.
I am doing it using ADB so idk if that will make a difference or not... but i'll let you know..

I am having this same problem and none of the solutions offered so far worked for me either. I see app shortcuts on my home screen, when I tap them I am told the application is not installed on my phone. However, when I go to Settings > Applications > Manage Applications, or to the Market, I can't open, uninstall, or update these apps.
At this point I'd be fine with just wiping out all data on my installed apps and just starting over from scratch, re-installing everything from APKs or the Market, but I don't know how to wipe that data out. I've done a wipe from the recovery image and reinstalled the ROM (Cyan 4.11.1), nothing helps.

Jacquestrapp said:
I am having this same problem and none of the solutions offered so far worked for me either. I see app shortcuts on my home screen, when I tap them I am told the application is not installed on my phone. However, when I go to Settings > Applications > Manage Applications, or to the Market, I can't open, uninstall, or update these apps.
At this point I'd be fine with just wiping out all data on my installed apps and just starting over from scratch, re-installing everything from APKs or the Market, but I don't know how to wipe that data out. I've done a wipe from the recovery image and reinstalled the ROM (Cyan 4.11.1), nothing helps.
Click to expand...
Click to collapse
if you have apps2sd
Code:
mke2fs -j /dev/block/mmcblk0p2
will format the second partition, wiping all apps from your phone

B-man007 said:
if you have apps2sd
Code:
mke2fs -j /dev/block/mmcblk0p2
will format the second partition, wiping all apps from your phone
Click to expand...
Click to collapse
That what caused me the problem. I already formatted the partition and now I have the problem described above.

ok so you dont have any of the apps on the partition but your rom is showing them as installed?
You will need to wipe and reapply the rom i believe, and that should get it working

B-man007 said:
ok so you dont have any of the apps on the partition but your rom is showing them as installed?
You will need to wipe and reapply the rom i believe, and that should get it working
Click to expand...
Click to collapse
Problem happens just with protected apps. There are enough traces of them to let the Application Manger in Settings and the Market to think that they are installed but there is no way to uninstall them or open them. Can't find them in the ext partition or the internal phone using the "ls" command in terminal. I'm hoping I don't have to Wipe again.

Same problem here

well you can try and clear your dalvik cache
that should hopefully resolve the problem

I tried to do that by:
Booting in recovery - choosing console
mount data/
rm -rs data/dalvik-cache
booting took a long time so i think he rebuilt it
But that didnt solve the problem

B-man007 said:
well you can try and clear your dalvik cache
that should hopefully resolve the problem
Click to expand...
Click to collapse
Nope. No change.

I managed to get mine working...
I wiped my SD complete just down to the bare fat32
Wiped phone
Re-installed ROM
booted
re-partitioned my SD card.
rebooted
and I was able to get my apps installed...

crizznaig said:
I managed to get mine working...
I wiped my SD complete just down to the bare fat32
Click to expand...
Click to collapse
Can you clarify that? Do you mean that you deleted all the partitions on your SD card and just formatted it as one big, blank, fat32 partition? Thanks.

Related

Installation error Insufficient storage available

Is anyone else having issues with Market on the ADP 1.51 (CRB43) builds?
When I attempted to download an update to an existing app (GV) it downloads but when it tried to install "Installation error Insufficient storage available"
I have apps2sd and I've removed the stock ringtones from the build giving me only 89% of used space in /system directory and I have about 600mb free on my ext2 partition. Insufficient storage my a$$!
Anyone else have issues with this "Insufficient storage" error?
Do you have the cache etc all running off the SD? Apps is only one step, where it installs the apps to the SD. However unless the cache and so is moved, its like having firefox installed on one drive, but storing your browsing stuff on your main drive still. So youll run out of room unless its all on the SD.
Mysticales said:
Do you have the cache etc all running off the SD? Apps is only one step, where it installs the apps to the SD. However unless the cache and so is moved, its like having firefox installed on one drive, but storing your browsing stuff on your main drive still. So youll run out of room unless its all on the SD.
Click to expand...
Click to collapse
Yeah. Cache is also on SD. Just to be certain, I cleared the cache. Same issue.
I'm assuming your using the app to put things on the sd. I used lucids script to do it to mine. I wonder if something did not get linked over. Tried using a file manager to see what's on the internal?
Mysticales said:
I'm assuming your using the app to put things on the sd. I used lucids script to do it to mine. I wonder if something did not get linked over. Tried using a file manager to see what's on the internal?
Click to expand...
Click to collapse
After clearing the cache and discovering that it didn't work (just for the heck of it I also cleared the cache directory on SD) I tried a wipe and everything downloads again. I fastboot flash my data.img and I'm back to the same issues. Not sure what the problem is but I'm considering a wipe. I already backed everything up by backup pro. I just loathing the fact that Market will loose all the apps that I had installed already (they will all say FREE instead of INSTALLED or UPDATE AVAILABLE). Is there a file for market that marks what has been downloaded/installed?
The tip Id recommend. Try Lucids script for moving the data and cache before doing anything. Since if your ready to wipe, cant hurt to try and see if it does it.
Next do the pre tip I did personally. I used atrackdog, Hit menu and do export, it saves to a .txt file. Open that file and you will know which apps YOU had on there vs everything in the my downloads.
I wish I could help more as far as cache and why its not working fully. Ive had my share of struggles and always lucked out.. which is why I hope the 1st option works for you.
Mysticales said:
The tip Id recommend. Try Lucids script for moving the data and cache before doing anything. Since if your ready to wipe, cant hurt to try and see if it does it.
Next do the pre tip I did personally. I used atrackdog, Hit menu and do export, it saves to a .txt file. Open that file and you will know which apps YOU had on there vs everything in the my downloads.
I wish I could help more as far as cache and why its not working fully. Ive had my share of struggles and always lucked out.. which is why I hope the 1st option works for you.
Click to expand...
Click to collapse
Here is the answer!! i have the same problem, i tried to get out the sd card, and it worked(app installs succcesfully)!!
THE PROBLEM IS: EXT2 PARTITION (android do that.. wrong) the ext partition was causing the problem in the installation
1. download minitool partition wizard(or use a working partition tool)!
2. in recovery(volume down and boot phone into recovery) a, go into usb mode(mount and storage/usb mode) (if you have old recovery, download the 4.0...... i cant remember but the newest what you can find)
you have seen 2 partition and its crap!
3. creat 1 partition FAT32 PRIMARY! and format the SD card! (with all storage) this is all you need on your droid!!!(and your music, pictures and apps too)
4. after that, take rom on the SD and install it.
AND APP INSTALLATIoN WORKS!
Not the same phone but for what it's worth this does not appear to be hardware specific. This problem for me was caused by the Google app sync. As soon as it got too many apps in the install queue, it breaks and thinks the drive is full. I was able to fix it by going into recovery and clearing the cache again on my LG P999.

Apps not working? Force close..

After having apps working fine on my phone for a while now... a lot of the apps on my g1, once started, make me force close them.. apps include: anything that uses the accelerometer [except iliter?], lock 2.0, ringers extended.. and a bunch of other ones. I dont think the apps are corrupt considering that they have worked previousally and just started not working. Could the ext2 partition on my sd be full? I set the partition to 700mb and i only have about 20 apps or less.
Maybe somebody could advise on what this might be.. thanks!
Also, every time i turn my phone on i get process com.htc.calender stopped unexpectedly and asks a force close. it asks me to f.close it like 3 times when i first turn on the phone. YES I DID WIPE BEFORE FLASHING THIS ROM. Is there a way to just get rid of this process entirely? becuase after i force close if i go to calander in the menu it works.
what rom are you currently using? what was the rom you used before flashing to your current rom? did you try deleting your dalvik-cache? what about running fix_permissions?
I know when I went from a hero rom to cupcake, I had those same issues so if that is the same problem than you are gonna have to format your ext partion and reload your files, I know if you search the forums though there is a command that you enter in the terminal to just delete the files doing it to you
if you went from a hero rom to a cupcake rom then you need to go into the recovery console and type
Code:
mount /system
rm /system/sd/app_s/*
rm /system/sd/dalvik-cache/*
if that still does not fix it then you will need to just use
Code:
mount /system
rm /system/sd/*
david1171 said:
what rom are you currently using? what was the rom you used before flashing to your current rom? did you try deleting your dalvik-cache? what about running fix_permissions?
Click to expand...
Click to collapse
Running Cyan 4.02 + 1.4 [before this was running JACHero] and no i didnt delete my dalvik-cache??? <--whats that?
It's where your system wipes anything, just type in the codes that were posted and you will be alright, hero leaves files on your ext partion that need to be removed because they do not work with the non hero framework, the code that was post will remove those files, you must type them in the recovery console and not terminal emu
gridlock32404 said:
It's where your system wipes anything, just type in the codes that were posted and you will be alright, hero leaves files on your ext partion that need to be removed because they do not work with the non hero framework, the code that was post will remove those files, you must type them in the recovery console and not terminal emu
Click to expand...
Click to collapse
Will give that a try! thx.
Is that going to delete any of my apps?
Also-- is there a way to confirm that my apps are being automatically installed on my SD?
It will not delete any of your apps just the left over hero junk. To conform just go into manage apps under settings and check the space that is free internal and see how much is used of your ext
gridlock32404 said:
It will not delete any of your apps just the left over hero junk. To conform just go into manage apps under settings and check the space that is free internal and see how much is used of your ext
Click to expand...
Click to collapse
went into manage apps in settings... how do i check the space used by the ext? Menu option only include sort & filter
ALSO i know i sound exteremly noobie.. but..
mount /system
rm /system/sd/app_s/*
rm /system/sd/dalvik-cache/*
Do i replace the *'s with something else, or am i to actually type "*"
Whoops I meant sdcard and storage, sorry bout that I have been up since 5 yesterday and is now 3 in the afternoon so on that note, nighty night. Good luck
ONe more ?
Everytime i type rm /system/sd/app_s/* it tells me cannot remove - no such file or directory.
says the same thing with the rm davvik-cahce thing.
and yes i am in console in recovery.
Try without the *.
Than it's quite possible that you might have to format your sd card, backup your files using I think using app manager and backup for root users, transfer your files onto your computer and format, be a real good time to set yourself up with a nice 96mb swap file. Don't feel bad I plan to reformat mine tomorrow just to get all the old crap off just to have a clean slate
Thank you david I must be tired I didn't notice when he asked about the * and I also said the dalvik cache wipes to your system instead of writes, just noticed that after I just reread my post

Apps 2 SD

I flashed Maxisma's v1.6.1 last night, and my apps are installing to my SD, but they're also installing to my internal memory. Right now I only have 31 MB left. Does anyone know what I can do to get them removed from my internal memory and have them only installed on my sd card.
The System apps are installed on the data partition (rosie, htc widgets, etc....)
If you really prefer them on your sd card
you can symlink /data/app_s
back to
/system/sd/app_s
I find it better that they are on the data partition because Im not gonna use the data partition that much and it makes it easier to wipe from hero to cyan
B-man007 said:
The System apps are installed on the data partition (rosie, htc widgets, etc....)
If you really prefer them on your sd card
you can symlink /data/app_s
back to
/system/sd/app_s
I find it better that they are on the data partition because Im not gonna use the data partition that much and it makes it easier to wipe from hero to cyan
Click to expand...
Click to collapse
All of my apps are installing in both system/sd/app and /data/app. It's not just the system apps. I've downloaded them from the market, and installed apks manually and they all go both places for some reason.
I don't know if this is related to the other problem or not, but it's also taking about 5 seconds for the screen to come on after pushing menu from when the phone is locked.
rp1783 said:
I don't know if this is related to the other problem or not, but it's also taking about 5 seconds for the screen to come on after pushing menu from when the phone is locked.
Click to expand...
Click to collapse
thats a rom related problem.
how do you know its installing to the data partition? can you see the files in an explorer? because when you install an app, its cache is stored on the data partition and can be as big as the app itself
well, not only does it show in the root file explorer, but it's also taking tons of internal storage. I'm at 30 MB right now. I'm just wanting to have everything installed to the SD except the system apps. When I first flashed the rom, I had 47 MB. After installing all my stuff I'm at 30.
Does anyone have any suggestions on this? I'm at 27 MB free on Maxisma's 1.7. I'm not sure what else to try I've tried removing the apps from the internal memory, and it deletes them, I've tried removing them from the SD card, which also deletes them.
rp1783 said:
Does anyone have any suggestions on this? I'm at 27 MB free on Maxisma's 1.7. I'm not sure what else to try I've tried removing the apps from the internal memory, and it deletes them, I've tried removing them from the SD card, which also deletes them.
Click to expand...
Click to collapse
have you upgraded to his latest rom?
maybe that will fix the problem (you can also nandroid and reflash the version you have)
if those dont work, you may have to symlink /data/apps to /system/sd/apps
i believe an old symlink may still be there cause it to go to both places but im not 100% sure. did you wipe before installing?
B-man007 said:
have you upgraded to his latest rom?
maybe that will fix the problem (you can also nandroid and reflash the version you have)
if those dont work, you may have to symlink /data/apps to /system/sd/apps
i believe an old symlink may still be there cause it to go to both places but im not 100% sure. did you wipe before installing?
Click to expand...
Click to collapse
Yeah, I wiped, I also just flashed 1.7.1 about 20 minutes ago, and I'm at 26MB now. How do I symlink?
Ugh. Don't worry about it. That's just your data cache taking up space on your /data/ partition. Your apps are still installing to /system/sd/app/ the reason you see them in /data/app is because /data/app/ is symlinked to /system/sd/app/ to that the system is fooled to think that everything in /system/sd/app is actually in /data/app (which is basically the entire concept behind apps2sd). The only real thing you can do to increase your internal memory is to do the same with the system apps. Go look up the tutorial to symlinking your folders via busybox. Everyone used to have to do that manually before these scripts were out so they should still work. Or you can symlink your data to /system/sd/data/ one or the other. Your choice.
h.nocturna said:
Ugh. Don't worry about it. That's just your data cache taking up space on your /data/ partition. Your apps are still installing to /system/sd/app/ the reason you see them in /data/app is because /data/app/ is symlinked to /system/sd/app/ to that the system is fooled to think that everything in /system/sd/app is actually in /data/app (which is basically the entire concept behind apps2sd). The only real thing you can do to increase your internal memory is to do the same with the system apps. Go look up the tutorial to symlinking your folders via busybox. Everyone used to have to do that manually before these scripts were out so they should still work. Or you can symlink your data to /system/sd/data/ one or the other. Your choice.
Click to expand...
Click to collapse
So....this should work...
ln -s /data /system/sd/app
??
no..... the data is already symlinked properly....
if you want more space, your gonna have to symlink /system/app to /system/sd/app_s
If you install something, it will take up space on your data partition......its the cache
wipe and reflash. youll get the space back and the apps will still be there
you can leave it the way it is though. its not gonna fill up anytime soon. have you also cleared your browser cache? that can take almost 10mb of space under normal usage
should be
ln -s /system/app /system/sd/app_s because as B-man said above, apps2sd is already done for you. This is to move system apps (nandroid before you attempt it)
Alternatively, you can try:
ln -s /data/data /system/sd/data
to move your /data/data folder to /system/sd/data with the above command, but I think there's already a script set up for this that is enabled via editing the user.conf. Its at the top "data2sd" or something like that. Try setting that to "1" before using the symlink. But make sure you already: mkdir /system/sd/data so that it has a folder to symlink to. Never actually tested this feature, so I would nandroid/switchrom before attempting this.
EDIT: Formatting/Clarity
OK, I actually did this:
cd /data/data/com.android.browser/cache
rm -R webviewCache
mkdir /sdcard/webviewCache
ln -s /sdcard/webviewCache webviewCache
Which took care of about 8 MB. So I think I should be good going forward. I saw some other things I can do too, like moving the google maps cache, I think that should help too.
Thanks so much for everything.
rp1783 said:
OK, I actually did this:
cd /data/data/com.android.browser/cache
rm -R webviewCache
mkdir /sdcard/webviewCache
ln -s /sdcard/webviewCache webviewCache
Which took care of about 8 MB. So I think I should be good going forward. I saw some other things I can do too, like moving the google maps cache, I think that should help too.
Thanks so much for everything.
Click to expand...
Click to collapse
Looks good except that I would link it to something on /system/sd/(webviewCache) so that if you decide to mount your sdcard, and use the browser at the same time (for some godforsaken reason) then your phone won't go to hell trying to figure out where to put its cache.

Market thinks apps are installed buy they are not

I formatted my sd card after installing Dwangs ROM, however I originally formatted it wrong so I got the black screen. Before I formated the SD card I had downloaded a bunch of apps.
Now that I've formatted the sd card all of my apps are gone. When I go into the Market to re-download them the market thinks I still have them installed.
I went to Manage Applications and cleared the cache of the Market App.
I then sorted for 3rd party apps and sure enough they still all show up under that filter but they are all 0.00Kb and when I click on them the phone just says App no found.
Anything else I should try beyond a whipe and re-install the Rom?
Yeah I had that happen too. I just went ahead a re-installed the rom, but I'm pretty sure if you pushed the .apks to /system/sd your phone would read them properly. They would have to be named exactly as they were before though - "com.handcent.nextsms.apk" for example, and not just "Handcent.apk."
this is happening with my lock screen widget, i try to add it it's not there i look in applications under settings and it's not listed, i go to market and in my downloads its there but i can't open or uninstall i've flashed 3 times already do i need a wipe? i have my apps on sd but i'm not trying to install them from market again
You can manually edit out the problem apps entries in /data/system/packages.xml
Nevermind i fixed it...just did a nandroid restore and then flashed cm4.2.4 then my theme and it's there and working now, strange

Installation unsuccessful !! Cyanogen mod

I really can't stand it any more
I am unable to install any app whether from the android market or as an apk file !!
I've tried everything to solve it but nothing's works !
I've tried clearing the catch for the download manager and the market
Tried wipe everything and reinstall the rom but still no luck !!
I am really getting suck of it !!this ruined my android experience entirely
I've searched a lot of android forums but nothing works
Please please help me :"(
Sent from my Nexus One using Tapatalk
More info is needed if you want help. What recovery are you using, what roms have you tried (there are many cyanogen versions so just saying that doesn't help), what radio version, rooted -- if so how, and anything else you can give. If this is the only problem you have you are in the minority.
The best way to know if this is a rom or another issue is to go back to absolute stock and see if the problem persists.
Also attach a logcat so we know exactly what error it gives. Saying something doesn't work when the majority of users have that feature work is an indication of a PEBKAC.
It also could be a SD issue as well. Have you unmounted the SD card and then installed apps from that point? And then remount the SD card afterwards?
And make sure you have enough space for user apps...
Are you using apps2sd with an ext partition? Could be your ext partition that's corrupted.
Repairing it in recovery might help.
Thanks all of you ,,
Android central just published an article talks about this exact problem and their solution works like a charm
Sent from my Nexus One using Tapatalk
Post a link for others...
Sent from my Nexus One using XDA App
There is no link in my replay !!
Sent from my Nexus One using Tapatalk
I had this problem too, for the longest time. I don't even know how it started. I thought i tried everything to fix it. My final solution was to redo my Apps2SD Dalvik-cache. I am Using Darktremor A2SD.
First I upgraded to Darktremor version 2.7.5.2 (installable zip).
Then via ADB Shell i did a "a2sd nocache" to dump the Dalvik back into the internal storage and remove the Dalvik-Cache to SD flag *Phone Reboots*
Then I did a "a2sd cachesdreset" to turn the Dalvik-Cache to SD flag back on and erase the Dalvik-cache. *another reboot*
Then i did a "su" "fix_permissions" After this, i was able to install everything without error.
denteno said:
There is no link in my replay !!
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
Perhaps a brief explanation as to how you solved it could benefit others!!
i thought its forbidden to post links to other sites
any way the aticle is on AndroidCentral.com
and btw it didnt work
now , every time i need to update an app i have to move it first to phone memory
otherwise it will show unsuccessful installation
GchildT said:
I had this problem too, for the longest time. I don't even know how it started. I thought i tried everything to fix it. My final solution was to redo my Apps2SD Dalvik-cache. I am Using Darktremor A2SD.
First I upgraded to Darktremor version 2.7.5.2 (installable zip).
Then via ADB Shell i did a "a2sd nocache" to dump the Dalvik back into the internal storage and remove the Dalvik-Cache to SD flag *Phone Reboots*
Then I did a "a2sd cachesdreset" to turn the Dalvik-Cache to SD flag back on and erase the Dalvik-cache. *another reboot*
Then i did a "su" "fix_permissions" After this, i was able to install everything without error.
Click to expand...
Click to collapse
Thanks for this, I was getting really frustrated trying to fix my android market problem. Wasn't able to install or update any apps, whether on sd or not. I have GRI40 (2.3.3) w/a2sd ext3. Unmounting/remounting sd card wasn't working, clearing market cache + data didn't work, nor did clearing all google apps caches + data + clearing dalvik cache. I tried the above and it worked great (didn't do the fix_permissions part but i did do the "a2sd fixapk" command in the terminal app).

Categories

Resources