Guest Lew247 Posted June 15, 2011 Report Posted June 15, 2011 Anyone got any ideas how to do this? I cant download some apps from the market, they start downloading for a second and then stop I had this problem before when I was on FLB rom and that was resolved by changing the cache size as noted in this thread http://android.modaco.com/content/zte-blad...show-live-2011/ But unfortunately there doesn't seem to be a init.qcom.post_boot.sh file in CM7 to edit Anyone got any ideas how to change the size? At the moment its only 2MB and needs to be a lot bigger and ideally on the sd card.
Guest Mushroom_Lord Posted June 15, 2011 Report Posted June 15, 2011 Anyone got any ideas how to do this? I cant download some apps from the market, they start downloading for a second and then stop I had this problem before when I was on FLB rom and that was resolved by changing the cache size as noted in this thread http://android.modaco.com/content/zte-blad...show-live-2011/ But unfortunately there doesn't seem to be a init.qcom.post_boot.sh file in CM7 to edit Anyone got any ideas how to change the size? At the moment its only 2MB and needs to be a lot bigger and ideally on the sd card. I thought that its because Swedish Spring and Cm7 redirect the market downloads somewhere else, and so there only needs to be a small cache size. So if you updated to Gen2 with Wbaws method you only have a small cache size because "originally" the only two gen2 Roms (ss and cm7) didn't need a large cache due to this redirecting he just made a small one. So I thought the problem would only occur on other gen2 Rom's if you have a small cache size. (the problem with gen2 flb) But you are saying you have this issue on Cm7? - Well I'm stumped...
Guest KonstaT Posted June 15, 2011 Report Posted June 15, 2011 CM7 loads scripts from /system/etc/init.d/. There is 06mountdl that directs cache to /data. #!/system/bin/sh # # bind mount /data/local/download to /cache/download if cache # partition is too small # CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2) if [ $CACHESIZE -lt 20000 ] then mount -o bind /data/local/download /cache/download fi rm /cache/download/downloadfile*.apk exit 0 [/codebox] It should work without problems. Only thing that could couse problems is, if you're trying to download app bigger than you have space left in /data. So maybe moving some apps to sdcard might help?
Guest unrandomsam Posted June 15, 2011 Report Posted June 15, 2011 I think your problem is likely to be something else. Try getting rid of from recovery /data/dalvik-cache and then if that doesn't work try a wipe.
Guest flshg Posted June 15, 2011 Report Posted June 15, 2011 Are there any error messages when it fails? I dont know if market download error messages also show up in logcat, but perhaps it may give some clues. Also you could try unmounting your sdcard, try the download, then remount. You'll need to make sure you have enough space on data partition of course.
Guest Lew247 Posted June 16, 2011 Report Posted June 16, 2011 Thanks for that, I tried all the above and it made no difference I then restored a backup I made a couple of weeks ago and it now works, Wierd! No idea what the difference is, and altering the cache size made no difference either. But the good news is it now works ;) btw I was actually trying to download and install Lookout Mobile Security
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now