Market Force Closing - G1 Android Development

So ive been trying to get apps2sd and i have succesfully done it by using apps2sd2 from the market to partition my card and then i followed the steps by Mailman below and it worked..all my apps were in the sd etc with 73 MB free...but when i click on market...it gives me an option that there is no connection when in fact i do and 2 seconds after it showa the force close message.. anyone have any idea how to fix this?

I had the same issue, had to do a full data wipe to fix it.

well seems that a full data wipe fixes it, but then when i input the commands in the terminal emulator
lucid app
lucid data
lucid dalvik
so i can get everything to the sd card it starts doing the same thing again..any ideas what is causing it?

I'm unfamiliar with the method you're using to get your apps on your SD card - mine are running on the SD card also, but I used the good ol' symlink method to do so...
It would appear your marketplace can't access your apps, or, is being locked out of something - perhaps a permissions issue on your sd partition? I had that issue when I first set up mine. All the apps were copied over with the same user/group and the market place freaked out.
The only way I was able to fix it was to copy all my apps off the sd partition to my computer, do a full datawipe, nuke all my apps, and reinstall them.
I set up a shell script that took the contents of ~/apps/*.apk and sent each to adb install, on its own line, and automated the whole thing. Took about 3 minutes to reinstall my 80 or so apps, and it restored all the app permissions to what they were supposed to - market didn't have a problem afterwards.

futango said:
I have found my problem. This works great. I can't have data on my SD or it will be really sluggish. I redid the flash and the commands, but left out "lucid data" and the phone has 72MB free and feels fast again.
Click to expand...
Click to collapse
Don't move the data and everything should work fine.

i see what your saying. ill have to try that out, but now it seems that after i wiped my data and pressed home+back to reboot my phone it is stuck at the T mobile G1 screen and doesnt want to do anything at all anymore...it just got worse.any way to fix this? ove tried wiping again and i formatted my dscard so no update to reinstall..what should i do?

just wait... when you wipe under the new builds, it may take 10mins to boot for the first time.
also I don't know how it is possible to do app2sd with terminal emulator. when you rm dalvik-cache or app that program should crash before the shell script or command finish

I had this happen as well.. more than once.
And each time it was a result of moving the "data" over to the SD card.
I finally learned my lesson... and my phone is now solid.

Hi,
My experience on 5.02 h is that the data move does not work correctly also.
I have moved the :
apps
apps-private
davik-cache
without any problems.
85 apps installed and 61 megs free with this method.
Browser and market cache cleared 1st.

I found this to be an issue only when I had tried to make my EXT2 partition too big (Over 2GB). Exact same error, moving data to the SD, Market crash. The problem was tied to moving the data though.

I had the same problem. It apeard after I installed TA utility.
The problem is that Market is looking for it's cache directory and can't find it. In my case it's looking for it on the SDcard and I have to make the directory myself: /sdcard/cache/market.
If you have not attempted to move the Market cache to SD you might want to see if you have a /cache/market in your internal memory, and if not create it.
It should solve your problem. (worked for me)

im having the same problem too.. the Application section doesn't work for me, but im able to still go into the Game section. i tried adding a cache folder to the SD still doesnt work

Related

Dalvik-cache

does any1 have any idea if moving the dalvik-cache to the sd card is a bad idea? i did it once and after that i did a nandroid backup and i believe it bricked my phone.
Does moving the dalvik-cache to your sdcard prevent you from doing a secure nandroid backup?
thx in advance for any helpful tips/advice
I moved it based on the instructions in the ADP1.5H Build thread, but it didn't work for me. My G1 just froze at the Tmobile G1 screen. Didn't even get to the updated ANDROID flash screen.
I had to do a wipe and reboot to get it working again.
A few people have reported getting it to work and freeing up the full 71MB of internal memory, but it didn't work for me.
Let me know if you find a solution.
kwigybo said:
I moved it based on the instructions in the ADP1.5H Build thread, but it didn't work for me. My G1 just froze at the Tmobile G1 screen. Didn't even get to the updated ANDROID flash screen.
I had to do a wipe and reboot to get it working again.
A few people have reported getting it to work and freeing up the full 71MB of internal memory, but it didn't work for me.
Let me know if you find a solution.
Click to expand...
Click to collapse
I'm in the same boat as you, I could never get it to work :/
I believe you must have a apps2sdcard build for this to work...
Yes you need an app2sd rom. I done mines on adp1h1.5
The first time I started the phone it took like 5mins so I rebooted it in the middle of the android screen then it took another 5mins then finaly booted with only using 12mb
Moving dalvik-cache works fine, I do it all the time. One thing to keep in mind is that after u moved it, nandroid backup will not back it up. So if you have multiple builds backed up like G H and adp builds and u put the dalvik cache in the same place on the sdcard you may run into problems when reverting back to other diffeeent builds. I always put them in different places on the card so I don't have problems with that.
I've been trying to movie dalvik-cache as well and I can't get past the G1 Loading screen. I was fine on 5.0.2Hr5-A2SD. I went from that to ADP1.5Hr2-A2SD last night and I couldn't get it to link with my apps on the sd. Did i have to start with r1 first or what? When i try to access my sd card from my pc while its in my phone i get a message saying prepare sd card and then it doesn't do anything it won't mount. Any suggestions?
It's strange. I have been able to move my apps to the SD card with no problem. I tried the move the dalvik-cache with the AppsToSD app and it worked..... once.
I had to wipe my phone, so I re-ran the AppsToSD app again and moved the dalvik-cache. That's when the problems started. None of my programs worked after that. I tried a reboot and it it froze at the G1 screen for about 10 minutes. I pulled the battery wiped to get it to a bootable state.
SHould i have let it continue booting longer?
Any idea on what I might be doing wrong?
Thanks!
Its probably best to cp the dalvik cache, then reboot. After it starts up again, rm the davlik cache and then ls. Then reboot again.
Doing it all in one shot seems to cause problems.
andonnguyen said:
Its probably best to cp the dalvik cache, then reboot. After it starts up again, rm the davlik cache and then ls. Then reboot again.
Doing it all in one shot seems to cause problems.
Click to expand...
Click to collapse
So this method worked for you?
I'll give it another shot when I get home tonight. Thanks for the advice.
I had /data and dalvik moved on JFvMOD and it worked great.... then I got a random reboot during downloading an app and it fried my EXT2 partition. Haven't ran apps, /data or dalvik since. I wait till the official JFvMOD 1.5 shows up.
rm * in dalvik-cache in your sd should suffice.
a better way is to mv the old dalvik-cache to a new name, so you can quickly go back to your old system. (mv only involve one inode change, much faster and safer)

Battery widget A2SD

I formatted my card for ext2 and swap and am Using A2SD with Modaco 1.1 but the battery widget no longer works. How do I move it back to internal storage?
Also the Handcent widget won't work so I have to just use a shortcut, is this something taht is known to not work from sd? is it possible to use droid explorer to move these applications to internal memory also, I'm that that good with the console.
did you uninstall them then reinstall them after the rom reboot
ap2sd works when you have and ext2 on your sd card, it creates and envronmental variable to tell android that all the user installed apps are now on the sd card.
if you installed these apps before you formated your sd card to ext2 the data for these apps... executeables etc are still located in data/app instead of /system/sd/app
blah blah... long story short, uninstall the app and reinstall it via market. There might be an additional problem with the app uninstalling because android doesn't know where to look for the original app.
in that case try turning off your phone
removing the sd
restart the phone
uninstall the app agian (the link will be restored at that point)
turn off the phone
put the sd card back in
turn phone back on,
reinstall the app you want
It seems that with Modaco's rom the apps automatically moved to the system/sd/apps at least thats where they all show up when I look for them in the console. Long story short though everything started working after enough time and a restart and they are on the sd card now. It was just odd that they wouldn't for a while when everything else was working. It works now though.
thezero4 said:
It seems that with Modaco's rom the apps automatically moved to the system/sd/apps at least thats where they all show up when I look for them in the console. Long story short though everything started working after enough time and a restart and they are on the sd card now. It was just odd that they wouldn't for a while when everything else was working. It works now though.
Click to expand...
Click to collapse
might be the boot cache that's doing it then
yeah, im using handcent and experienced the same widget problem.
It happens when you update a program that is stored on the sdcard. There's another thread in here that talks about it in more details, but you basically have to remove the contents of the boot-cache folder and restart the phone for it to rebuild all the data.
Works perfectly after this...but everytime you update you will have to do this.
You could probably just move the handcent program to the phone (i.e. off the sdcard) to fix this issue. Follow the same methods that are described in the thread that talks about fixing google maps/google voice search....its the exact same principals:
http://forum.xda-developers.com/showthread.php?t=582549

[Q] how to resolve "Installation Error - Insufficient Storage Available"

I just got my wife a new Samsung Infuse. Successfully rooted with the SuperOneClickv1.9.1. I was then able to restore some of her old apps with Titanium Backup.
My problem now is that when she goes to install a few additional apps she gets the following error:
Installation Error - Insufficient Storage Available
However the SD Card and Phone Storage pages show plenty of space!!
Available Phone Storage = 1.46GB
I realized the problem after she had installed some simple stuff like Handcent and MyFitnessPal and they just disappeared. So I went to install ES File Explorer and RomManager to do some troubleshooting and that installed successfully. But another weird thing was that those two didn't show up in the app draw. So I went back to the Market thinking I would try and install again and the market showed it was already installed. So I was able to open the ES File explorer and rommanager programs from the market with the "open" button.
does anyone recognize something like this? I can't explain it?! I'm using the stock rom.
i read something about installing more than 50 apps?
i read that i should try to wipe the dalvik cache? but i can't figure out how to get into cwm recovery to do that?!
http://forum.xda-developers.com/showthread.php?t=909213
http://forum.xda-developers.com/showthread.php?t=1091465
I found both of these and I think of my self capable of doing this stuff, but i can't figure out the exact steps to get all the way to wipe the Dalvik Cache.
i'm open to all suggestions..
Please help
SlyDogJeff77 said:
I just got my wife a new Samsung Infuse. Successfully rooted with the SuperOneClickv1.9.1. I was then able to restore some of her old apps with Titanium Backup.
My problem now is that when she goes to install a few additional apps she gets the following error:
Installation Error - Insufficient Storage Available
However the SD Card and Phone Storage pages show plenty of space!!
Available Phone Storage = 1.46GB
I realized the problem after she had installed some simple stuff like Handcent and MyFitnessPal and they just disappeared. So I went to install ES File Explorer and RomManager to do some troubleshooting and that installed
successfully. But another weird thing was that those two didn't show up in the app draw. So I went back to the Market thinking I would try and install again and the market showed it was already installed. So I was able to open the ES File explorer and rommanager programs from the market with the "open" button.
does anyone recognize something like this? I can't explain it?! I'm using the stock rom.
i read something about installing more than 50 apps?
i read that i should try to wipe the dalvik cache? but i can't figure out how to get into cwm recovery to do that?!
http://forum.xda-developers.com/showthread.php?t=909213
http://forum.xda-developers.com/showthread.php?t=1091465
I found both of these and I think of my self capable of doing this stuff, but i can't figure out the exact steps to get all the way to wipe the Dalvik Cache.
i'm open to all suggestions..
Please help
Click to expand...
Click to collapse
This phone auto-copies your apps to your microSD card (external_sd). Try going to Settings -> Applications ->Manage Applications -> On SD Card -> Click an application -> Move to Phone.
Rinse, Lather, Repeat for each application.
Thats not happening with mine. All my apps are installing to the internal sd card. Nothing seems to want to go to my 32gb external sd card except pics and videos. Game data, navionics maps and all that load onto the internal sd
I am still getting this...sometimes I get it sometimes I don't...but there are a few apps that never install because of this...any ideas?
garak0410 said:
I am still getting this...sometimes I get it sometimes I don't...but there are a few apps that never install because of this...any ideas?
Click to expand...
Click to collapse
Me too there's no fix
Sent from my SAMSUNG-SGH-I997R using XDA Premium App
I had this problem and I just kept trying to install. Did a reboot and tried again and it installed. Not sure of a real fix though.
Sent from my SAMSUNG-SGH-I997R using XDA Premium App
Try this if you have the new market with the book and movie categories. Uninstall the market update and you'll be able to download your apps using the older market. There is a bug with the new market.
Settings>Applications>Manage Applications>Downloaded>Market>Uninstall Updates
I had this problem a while back. After hours (i mean hours) of googling, I found that the Market saves the app into the /cache partition. Samsung unfortunately made this partition only 30MB in size. Now, if you rooted and installed a custom rom that has the voodoo lagfix (ext4 partitions), 5 MB will be used as a journal for the filesystem. This means that if you try to download an app thats greater than 25 MB, the market will say that you have no space available! (cue expletives!)
The easiest way to fix this is to temporarily bind the cache partition to a location on your sdcard. For example, lets say you have a folder on your sdcard called syscache.
you would bind /cache to this directory with (run this in terminal or adb. run su first)
Code:
#umount /cache
#mount -o bind /sdcard/syscache /cache
Unfortunately i can't seem to find out how to unbind the directory after i am done. Found this solution on the internet. Use at your own risk :]

Low memory

I'm running the **SMS* 3.02 by RSK team on my HTC Desire, the rom works great (I wanted the Amaze Cam) but I seem to run out of internal memory really quickly, ROM has only been on (again) for a week and I'm down to 25mb, all apps have been moved to SD.
I do have quite a few apps installed, but surely being on SD internal memory should be empty. The phone has a 16Gb SD card with a 2Gb ext partition created through recovery.
How to I get the memory back? I suspect it's going to be full in a day or 2, leading me to another full wipe
What i did to make more mem is using ''ram manager'' on the market and kill apps running in the background.
Thanks, I'm not sure how killing running apps is going to free phone storage space, though
I suspect I need to find a data2sd rom, ideally with the new cam
getting closer, I notice my Dalvik cache is ~170Mb, so taking up all that space. I installed 2 market apps to move it, the first, S2E just does nothing when IO tell it to move the cache. The second, a2sdgui, exits with the following message
"cannot start for one of these reasons
1. your phone is not rooted (it obviously is to be running custom roms?)
2. A2SD scripts could not be found o
3. No EXT partition found
Did you create a partition on your SD CARD? Does your custom rom support APP2SD (normally is natively included)?
Make sure.
Otherwise, I would suggest to try another rom to see what happen.
frosty68 said:
getting closer, I notice my Dalvik cache is ~170Mb, so taking up all that space. I installed 2 market apps to move it, the first, S2E just does nothing when IO tell it to move the cache. The second, a2sdgui, exits with the following message
"cannot start for one of these reasons
1. your phone is not rooted (it obviously is to be running custom roms?)
2. A2SD scripts could not be found o
3. No EXT partition found
Click to expand...
Click to collapse
Don't assume that because you are running a custom ROM means your phone is rooted - the 2 have absolutely nothing to do with each other. Check that you have superuser installed, and if you do run terminal emulator and type the command su. If you're rooted you should get asked if you want to allow superuser privileges to the app. If it doesn't ask then either you've allowed (and remembered) the permission before or you're not rooted.
If an app's telling you you're not rooted then it's possibly right - always good to be sure.
Thanks, phone definitely rooted, and superuser installed (and titanium backup, which I've just used)
can't see mention of apps2sd on the rom page, though I was running a pretty old version.
Decided to do a full wipe, repartition the SD card and install a later version which has dalvik-cache to sd-ext, hopefully this will solve the problem of it filling.
Showing 174MB free right now, (+8.6Gb)
I take it if the cache does fill again I can just wipe it with no ill effects?
I wipe all my cache periodically with this:
https://market.android.com/details?...sMSwxLDEwMiwiY29tLmFhYy5jYWNoZW1hdGUuZGVtbyJd
I normally free up to 20 MB.

[Q] Internal Storage Related Freezing?

I've had my TF101 since it first came out, and I've run plenty or ROMs over it and had a good ol' jolly time. Recently, when I had a movie on a USB stick and tried to move it to the external storage, the system would just sit there. ES File Explorer showed a status bar that never moved.
I tried a couple other file managers - no go.
Today I took it up and tried to move over a file via USB (it's running ICS) and the progress bar didn't move.
Okay, Recovery mode >> Factory reset / Wipe cache / Wipe Dalvik >> Boot into ICS.
Now it let me copy over files!
I installed Revolution, the latest version, onto it and used the Full Wipe which does an EXT4 format. So all is well until I start performing actions related to the internal storage.
As I was re-downloading apps, I decided to grab an offline map from Google. At the same time; all apps stopped downloading and the Google Maps download failed.
At this point, it will often tell me that the Google Play Store has stopped unexpectedly. It will also not let me resume or cancel any download. Any attempt to force stop an app or clear its cache or delete its data will simply not yield a response. I can still run around the OS and click things.
I tried this while a MicroSD was plugged in and while it wasn't. It happens when the dock is connected or disconnected. It happened on my old EOS nightly and on the current Revolution. This leads me to believe it's likely a formatting or hardware problem. Any thoughts?
Also, thank you so much for taking the time to read through this.
TL;DR? Internal storage craps out after mild use, tablet remains unfrozen.
Cheers,
Sacrosaint.
UPDATE:
I've been playing around with the device some more. After the 5 reboots or so that it took to install all my apps, I managed to save ~200MB of offline maps without an issue. Only when I then tried to install Google+ did I get an "Insufficient Storage" warning and a play store crash. Maybe this means something?
Reformat again using wipe data/factory reset 3 times. Then run superwipe.zip 12 times, to make Sure it works. Also make sure your CWM is a working version.
Make sure in storage that 'other' isn't taking up alot of space as well, logs can do this.
I have the same problem. I did try the multiple data wipes, followed by multiple SuperWipes (Full) and still no dice. It is not stable beyond 5 minutes of use. It crashes various programs and processes until it is in an unusable and unbootable state.
Help? Please?
StevieJake:crying:
This is an interesting reoccurring problem for some..
Early on we were getting some problems with this type of things and there was a fix via edited the superwipe script to allow a bit more in
one of the system partitions..will take me a little while to find the thread..might pay to have a look and see if this fixes it..
But it does bring up the question again and the need for a deep format that actually does a full wipe of everything..i was under the impression that that mike's superwipe did this..and Nvflash would do it too..i am meaning a one time run of these should do it..?
Therefore multi runs of these programs should not be needed..
***putting it out for discussion****
Sent from my Transformer TF101 using Tapatalk

Categories

Resources