G1 - removed sdcard - errors - G1 Q&A, Help & Troubleshooting

running cyanogen's latest rom. i removed the sd card (forced it), and then phone automatically rebooted, and when loaded, errors were filling the screen. i out the card back. rebooted. in vain. same errors (several apps reporting force closing automatically). some other apps, when i run them, they also force close.
when i run cm updater, it says checking for new roms failed.
"java socketexception, permission denied (maybe missing internet permission)"
any ideas whats happening? all that for not removing the sd card properly?

Yep, all kinds of crazy stuff can happen when u pull the SD card, especially if you're doing apps2SD.

fix_permissions

evilkorn said:
fix_permissions
Click to expand...
Click to collapse
how do i fix the permissions? (which sounds like it?)
here's an update: all apps that were downloaded, and which are internet based - bank of america, ebay, twitter, apps with banner links loaded from the internet, etc... - those apps are the ones force closing. everything else works just fine. internet based built-in apps, such as the market, are just fine as well.
any ideas?

evilkorn said:
fix_permissions
Click to expand...
Click to collapse
http://www.google.com/search?rlz=1C1CHON_enUS353US355&sourceid=chrome&ie=UTF-8&q=fix_permissions

or you can try to repair ext using Amon-Ra :U

Related

Cyanogen device thinks applications are there when they're not?

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.

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

"Application is not installed on your phone" after moving apps to SD on Froyo

"Application is not installed on your phone" after moving apps to SD on Froyo
hey guys,
first of all i searched the forum but didn't find anything like my problem
(i run Froyo on non-rooted Nexus One)
so, i moved several apps to SD using that ADB command to change default install location from internal memory to SD. everything worked and apps were running smoothly. then my battery went dead during the night and when i switched the phone on in the morning i see icons with green robot for all those apps moved to SD. and if i try running them i get "application is not installed on your phone" error message. thou apps are still on the SD. it seems that my phone erased the part of the data of those apps stored in the internal memory.. which sucks.
anyone faced such a problem so far? i wonder if it's possible to solve without reinstalling all the apps..
many thx in advance.
Cheers.
It happened on my phone too, just removed battery for few minutes.
Looks like a bug.
dpds said:
hey guys,
first of all i searched the forum but didn't find anything like my problem
(i run Froyo on non-rooted Nexus One)
so, i moved several apps to SD using that ADB command to change default install location from internal memory to SD. everything worked and apps were running smoothly. then my battery went dead during the night and when i switched the phone on in the morning i see icons with green robot for all those apps moved to SD. and if i try running them i get "application is not installed on your phone" error message. thou apps are still on the SD. it seems that my phone erased the part of the data of those apps stored in the internal memory.. which sucks.
anyone faced such a problem so far? i wonder if it's possible to solve without reinstalling all the apps..
many thx in advance.
Cheers.
Click to expand...
Click to collapse
Forcing the apps to install to SD will break them. In order for applications to be successfully moved to the SD card in Froyo, they must have an appropriate flag set on them from the developer. If the application isn't updated with this flag, it will not work by default from the SD card.
The ADB command should work fine (I think) once all apps are updated, but until then it will just cause problems like what you're seeing.
codesplice said:
Forcing the apps to install to SD will break them. In order for applications to be successfully moved to the SD card in Froyo, they must have an appropriate flag set on them from the developer. If the application isn't updated with this flag, it will not work by default from the SD card.
The ADB command should work fine (I think) once all apps are updated, but until then it will just cause problems like what you're seeing.
Click to expand...
Click to collapse
What app in the market currently supports apps 2 sd?
ram130 said:
What app in the market currently supports apps 2 sd?
Click to expand...
Click to collapse
Not sure, as I'm currently unable to access the market (being deployed will do that). There is a thread on the subject though, which is here: http://forum.xda-developers.com/showthread.php?t=687659
codesplice said:
Not sure, as I'm currently unable to access the market (being deployed will do that). There is a thread on the subject though, which is here: http://forum.xda-developers.com/showthread.php?t=687659
Click to expand...
Click to collapse
THanks man!!
I set the installation location to SD via ADB and restored my apps via Titanium Backup. Here's what I found.
Apps will occasionly seem to have dissapeared (from App page + download page from the market) seems intermittent and seems to correct itself.
If you mount the SD card via USB then obviously your phone can't access the apps, after unmounting it takes a little time for the system to correct itself (my recommendation is to turn the screen off and on again).
Keep any widget app you are going to use on the phone's storage (i.e. install app, then move it back to phone via the 'applications' menu).
Shortcuts to apps will revert to a generic green/white robot icon, but they will still work (not when the SD card is mounted via usb though obviously).
Basically any application/live wallpapers or anything else that you expect to run live (constantly) should be moved to the phones memory.
bumskins said:
I set the installation location to SD via ADB and restored my apps via Titanium Backup. Here's what I found.
Apps will occasionly seem to have dissapeared (from App page + download page from the market) seems intermittent and seems to correct itself.
If you mount the SD card via USB then obviously your phone can't access the apps, after unmounting it takes a little time for the system to correct itself (my recommendation is to turn the screen off and on again).
Keep any widget app you are going to use on the phone's storage (i.e. install app, then move it back to phone via the 'applications' menu).
Shortcuts to apps will revert to a generic green/white robot icon, but they will still work (not when the SD card is mounted via usb though obviously).
Basically any application/live wallpapers or anything else that you expect to run live (constantly) should be moved to the phones memory.
Click to expand...
Click to collapse
This is how I've been using it, also when you reboot the phone, I give it a minute to calculate the applications on the SD card and load them into the phone memory. (Notice if you go to App settings while you can't access the application, they are all there and being "calculated."

"removed sim card" crashes, and corrupts sd card need help

i have a transcend class 6 sd card
ocassionally my phone would freeze, after a reboot (end call + menu + call)
it restarts but doesnt recognize the sd card (removed sd card notification)
to get it recognized again i power off and reiinsert the sd card. it recognizes after this, but i have an issue...i run apps2sd and after this happens HALF of my apps FORCE CLOSE, while the others dont function properly, for example eBuddy says "cant connect" instantly while i have internet, other apps also cant connect...some APPS do work, but most either force close or cant see the internet...
a reinstall of these apps and they function properly...but i cant keep doing this, these crashes happen occasionally, im just wondering if theres anyway to "recover" these apps so they function properly again, i cant keep reinstalling them...all the data IS on the sd card, it just seems to get corrupted everytime this happens, maybe cause of a non proper shut down...is there anyway to fix these apps, what can possibly happen that causes them to do behave like this
im slowly getting somewhere
it seems to be a problem with the Android security permissions...
heres one app:
Error Version number: 56 Error Version name: 2.5.2 java.lang.SecurityException: ConnectivityService: Neither user 10049 nor current process has android.permission.ACCESS_NETWORK_STATE. at
Click to expand...
Click to collapse
heres another app
java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 10046 nor current process has android.permission.READ_PHONE_STATE.
Click to expand...
Click to collapse
what i did was reinstall all the apps...
cd /data/app
for app in *.apk; do pm install -r $app; done
Click to expand...
Click to collapse
i guess thats something at least

Maps & Facebook apps...

In an effort to move all my bulkiest apps to the SD card, I tried moving the maps and facebook apps. However, as I had flashed gapps on CM 6.1.0 RC, facebook/maps could not be moved - "System updates cannot be moved...".
So, I deleted the apps from /system/app, rebooted... but the apps were still available. Then, I thought they might be in /data/apps... and there they were. So, I deleted the packages from there, as well. A wipe cache/dalvik cache and reboot removed the apps from the phone, installed them from the market and voila - I could move them to the SD card.
I rebooted the phone and was trying to use the navigation, when it asked me to install the text to speech thing, installed it and maps/navigation worked fine. Facebook worked fine, too.
After a while, I was doing something and thought I should reboot the phone. When the phone came back up, maps & facebook apps were missing from the phone. I could see some default icons for those apps on my home screen, but when I tried accessing those apps it just said - App not available or something...
It's not a big deal, I reinstalled the apps and everything's up and running. I tried rebooting the phone a few times and apps are still there.
Has this happened to anyone?
andythegreenguy said:
In an effort to move all my bulkiest apps to the SD card, I tried moving the maps and facebook apps. However, as I had flashed gapps on CM 6.1.0 RC, facebook/maps could not be moved - "System updates cannot be moved...".
So, I deleted the apps from /system/app, rebooted... but the apps were still available. Then, I thought they might be in /data/apps... and there they were. So, I deleted the packages from there, as well. A wipe cache/dalvik cache and reboot removed the apps from the phone, installed them from the market and voila - I could move them to the SD card.
I rebooted the phone and was trying to use the navigation, when it asked me to install the text to speech thing, installed it and maps/navigation worked fine. Facebook worked fine, too.
After a while, I was doing something and thought I should reboot the phone. When the phone came back up, maps & facebook apps were missing from the phone. I could see some default icons for those apps on my home screen, but when I tried accessing those apps it just said - App not available or something...
It's not a big deal, I reinstalled the apps and everything's up and running. I tried rebooting the phone a few times and apps are still there.
Has this happened to anyone?
Click to expand...
Click to collapse
System apps can't be moved to the sd card
theimpaler747 said:
System apps can't be moved to the sd card
Click to expand...
Click to collapse
I have moved them now and am using them fine... . This just happened once...
What makes an app a system app? Neither maps nor facebook, if uninstalled, would break the system... Here's what I think, all apps contained within the gapps package are considered to be system apps, by the system. That's why when you try moving them to SD card via Manage applications, it does not allow the action. However, once after flashing gapps, I removed the apps that I wanted to move to the SD card - Facebook, Terminal, Maps, Google Voice and such. I installed all of those from the market and proceeded to move them to SD card. All apps, except Maps & Facebook, worked and are working fine. Now that I think about it, I can just not flash the gapps and install everything from the market - now that gmail and youtube are available on the market.
What do you think?
andythegreenguy said:
I have moved them now and am using them fine... . This just happened once...
Click to expand...
Click to collapse
Really? Did you have to make them regular apps in data first?
theimpaler747 said:
Really? Did you have to make them regular apps in data first?
Click to expand...
Click to collapse
No - I just deleted those apps from /system/app and /data/app directories, rebooted and proceeded to install from the market. Once installed, moved them to SD Card from Manage applications.
BTW, I have got a 8GB Class 6 card... which enhances the performance of the SD card apps.
andythegreenguy said:
No - I just deleted those apps from /system/app and /data/app directories, rebooted and proceeded to install from the market. Once installed, moved them to SD Card from Manage applications.
BTW, I have got a 8GB Class 6 card... which enhances the performance of the SD card apps.
Click to expand...
Click to collapse
So actually the answer is yes
theimpaler747 said:
So actually the answer is yes
Click to expand...
Click to collapse
Oh Yeah... "Long story..." .
andythegreenguy said:
Oh Yeah... "Long story..." .
Click to expand...
Click to collapse
Lol, ok ok

Categories

Resources