Guest Auxx Posted August 10, 2011 Report Posted August 10, 2011 Hi. Let me explain my problem. I've decided to put lots of eye-candy into my old but still great Liquid. The only problem now is that I've run out of RAM. My ADW EX + live wallpaper take about 60 megs of RAM and I can't do anything :) What I want to do: Decrease size of /data by 40 megs and /system by 15 megs.Add these 55 megs to /cache.Put 100 mb swap on /cache.Be happy!My apps are on sd:ext, so I don't bother making /data smaller. Dalvik cache is also there. /system currently has 35 megs free, why to waste them? /cache is currently 78 megs, if I add 55, then I can safely donate 100 megs for swap, I think. So here are the questions: How to repartition internal memory?How to put swap in /cache? I know this is possible.I would be VERY thankful for help!
Guest xdxdxdxdxdx Posted August 10, 2011 Report Posted August 10, 2011 i had find some script to turn on swap on rom.and it also can mount when boot.i will release those script if some guys need it.
Guest gnufabio Posted August 10, 2011 Report Posted August 10, 2011 It's impossible to partition internal memory on liquid..
Guest thepasto Posted August 10, 2011 Report Posted August 10, 2011 (edited) Hi. Let me explain my problem. I've decided to put lots of eye-candy into my old but still great Liquid. The only problem now is that I've run out of RAM. My ADW EX + live wallpaper take about 60 megs of RAM and I can't do anything :) What I want to do: Decrease size of /data by 40 megs and /system by 15 megs.Add these 55 megs to /cache.Put 100 mb swap on /cache.Be happy!My apps are on sd:ext, so I don't bother making /data smaller. Dalvik cache is also there. /system currently has 35 megs free, why to waste them? /cache is currently 78 megs, if I add 55, then I can safely donate 100 megs for swap, I think. So here are the questions: How to repartition internal memory?How to put swap in /cache? I know this is possible.I would be VERY thankful for help! Hi, I really like this questions :D Change partitions is not impossible.. But hard and you can damage your device :) Some qualcomm tools can do that but i really ignore how to do that :) anyway maybe i have some alternatives: this is my partitions avaible space Filesystem Size Used Available Use% Mounted on tmpfs 213.9M 32.0K 213.9M 0% /dev tmpfs 213.9M 0 213.9M 0% /mnt/asec tmpfs 213.9M 0 213.9M 0% /mnt/obb /dev/block/mtdblock4 200.0M 143.2M 56.8M 72% /system /dev/block/mtdblock3 200.0M 3.1M 196.9M 2% /data /dev/block/mtdblock5 41.9M 1.1M 40.7M 3% /cache /dev/block/mmcblk0p2 961.6M 383.8M 528.9M 42% /sd-ext /dev/block/vold/179:1 6.3G 4.7G 1.6G 74% /mnt/sdcard As you can see my data partition is pretty empty. (i have dalvik,data and apps on ext2). So you could use a swap file in /data/ instead of create it on /cache/ SIZE=whatyouneed_MB*1024 dd if=/dev/zero of=/data/swapfile bs=1024 count=$SIZE and than you can create swap fs mkswap /data/swapfile to mount it just swapon /data/swapfile i think it should work :P Edited August 10, 2011 by thepasto
Guest zorginho Posted August 10, 2011 Report Posted August 10, 2011 wow the swap in /data ? hmmm a very interesting solution
Guest Auxx Posted August 10, 2011 Report Posted August 10, 2011 Change partitions is not impossible.. But hard and you can damage your device :) Some qualcomm tools can do that but i really ignore how to do that :) As far as I remember one of the Acer updates repartitioned ROM. I also found info that it can be done somehow, but did not have time investigate. I'll reflash everything now from scratch since I already ruined everything and will see how much space I will have. If you are right, then repartitioning won't be needed, that's great! Otherwise I will try the dangerous way, if anything goes wrong I'll just buy a new device :) Thanks for your answer. Last question - when I do swapon will it autosave and work after reboot?
Guest Auxx Posted August 10, 2011 Report Posted August 10, 2011 Well, here's my report. Yep, /data is HUGE! But I can't make swap work properly. First of all you forgot to mention that swap file should be mounted to loopback: # losetup /dev/block/loop0 /data/swapfile # swapon /dev/block/loop0 Now the issues. loop0 is lost on reboot, this is sad and I'm too dumb to activate it. Second issue - now everything lags insanely (I'm using 1.7.1 with V6 tweaks from your wiki). Actually app launching lags. It took me about one minute to launch browser. After launch everything works like a breeze. Until you launch something else. Any suggestions on lags?
Guest fana.fanisa Posted August 10, 2011 Report Posted August 10, 2011 hey guys..it looks like only this thrd are alive now..haha so im asking for help bout this...>>> i flashing my liquid A1 (black sets) using acer download tool v3.1 on the proses the screen say : usb_init erasing 'setupdata' - OKAY erasing 'boot' - OKAY writing 'boot' (2539520 bytes) verify... verify... - OKAY erasing 'system' - OKAY suddenly it says "error: fastboot failed" then goes back to "process: fastboot" then "fastboot flash boot.img" and seems like loops back back to error fastboot failed. now it says: error fastboot failed with red highlight and says can remove usb cable. restoration needed.So i remove the usb and want to flash it using other ".bin" but it can't..the download tool show my phone are not connected... now when i start my liquid the screen show : USB FastBoot: V1.10.00 HW version: V0.4 AMSS version: A1-05.01.05 and etc include Serial Number and usb_init on bottom... Can some1 help me...???
Guest xdxdxdxdxdx Posted August 11, 2011 Report Posted August 11, 2011 (edited) As far as I remember one of the Acer updates repartitioned ROM. I also found info that it can be done somehow, but did not have time investigate. I'll reflash everything now from scratch since I already ruined everything and will see how much space I will have. If you are right, then repartitioning won't be needed, that's great! Otherwise I will try the dangerous way, if anything goes wrong I'll just buy a new device :) Thanks for your answer. Last question - when I do swapon will it autosave and work after reboot? you can put those script on init.d in order to mount when boot.i had confirm it 100% works. Edited August 11, 2011 by xdxdxdxdxdx
Guest Auxx Posted August 11, 2011 Report Posted August 11, 2011 Well, I've installed LN 1.6.1 - everything works now!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now