Lack of space for gapps.
I use Nova launcher (~3MB) instead Trebuchet (~12MB). This saved me more than 30MB and Gapps installed properly. I still have some spare space left (around 20-25MB)
The only thing that really annoys me is the rotation issue. I use Rotation Locker for now, but it's annoying to keep that app running for it to lock the rotation.
su
mount -o remount,rw /system
cp /sdcard/esfileexplorer.apk /system/app/esfileexplorer.apk
chmod 0644 /system/app/esfileexplorer.apk
mount -o remount,ro /system
sync
reboot
For a stripped version of GAPPS(with basic ones and some crap removed),Try THESE!!!!!!
This will probably give more space than flashing the regular GAPPS
For a stripped version of GAPPS(with basic ones and some crap removed),Try THESE!!!!!!
This will probably give more space than flashing the regular GAPPS
Here's how I saved a bunch of space and also got the benefits of installing gapps:
.....
That's a really good recipe for freeing up memory and getting gapps on.
Is it possible to remove APKs from the shell? If so, I could try to make a script which automates everything you do. On the one hand I would love to do it all myself and see just how good this build of JB is, but I don't want to have to do it all again later, when the camera etc is more reliable.
I also have no experience with prepping zips for installation, but I wonder if the gapps and CM10 zip files could have files deleted from them before we flash, to make it even better. Or are there hashes in the zips too somewhere, which are hard to regenerate?
I put my money where my mouth is, and have quickly thrown together a script which might transform the CM zip and the gapps zip into smaller zip files. Passing in the two files in the first post, it brings the 153mb CM file down to 96mb and the gapps from 84mb down to 70mb. It does this by following Kronflux's suggestions, more or less: deleting lots of APKs (couldn't find ThinkFree or Microbes so skipped them), some larger audio and video files and all the TTS files except for the one specified on line 6 of the script.
The script is here. Running ubuntu linux here, but as long as you have bash you should be fine. Just pass in the CM zip file's location as the first argument and the gapps as the second.
Important: I have not tried to install these zips yet, and I don't really understand what I'm doing. From what I quickly googled it sounds like I can just delete the files in META-INF, but maybe that's incorrect information. I might not have the time to test the script until tomorrow but I wanted to share it with you now, as we're all impatient to get JB working on our ChaChas!!
Important: As it stands, this script is not working. I need to understand the META-INF stuff a bit better, so don't try using it just yet. I might not have the time to get the script working until tomorrow but I wanted to share it with you now, as we're all impatient to get JB working on our ChaChas!!
Filesystem Size Used Free Blksize
...
/system 269M 190M [COLOR="Red"][B]78M[/B][/COLOR] 4096
/data 150M 116M [COLOR="red"][B]33M[/B][/COLOR] 4096
/cache 35M 1M 33M 4096
...
Thanks Nicois
I did similar reduction in /system memory. Have installed my most used apps into /system memory as below
- From ROM: Apollo, Talk, Torch
- BatteryFu (helps to control sync patterns, thus battery)
- ES File Manager
- Gmail
- GTasks
- Link2SD
- Google Maps
- Nova Launcher (removed Trebuchet.apk and reclaimed about 10Mb)
- SMS Popup
- TeamBHP (forum reader)
- Terminal Emulator
- Voice Recorder
- XDA premium
With above apps, this is how my system/ and /data folder looks like
Code:Filesystem Size Used Free Blksize ... /system 269M 190M [COLOR="Red"][B]78M[/B][/COLOR] 4096 /data 150M 116M [COLOR="red"][B]33M[/B][/COLOR] 4096 /cache 35M 1M 33M 4096 ...
I removed following parts from system/
- removed some big fonts. Just kept Roboto* and DroidSans* fonts. Folder size reduced from 19.5Mb --> 2.2Mb
- removed almost all files from /system/media/audio and /system/media/video and just kept two files one for working ringtone and one for notification sound. (video files are useless anyways. Audio files you can copy to Sdcard, and android will still use them allow you to set them as ringtones etc). Folder size reduced from 20.4Mb --> 2.4Mb.
- removed the boot animation system\media\bootanimation.zip. Saved 1.4Mb
- removed following apps from system\app
LatinIME.apk , gained 24Mb ! So far I don't see any issues because of removing it.CMWallpapers.apk, VideoEditor.apk, Email.apk and other small unwanted apks. Saved about 15Mb
As you see, overall I could reclaim about 75Mb from /system easily.
I like philosophy of
you may say personal taste, but I like additional benefit we get of ability to do Factory-Reset anytime and have a clean start with all apps intact!
- keeping apps in /system
- and avoid app2sd or using ext partition as much
So far so good. Now /system is fine but problems are with /data. As I installed many apps (as above), Hardly 33Mb left! Almost 75Mb going to Dalvik-cache and about 40Mb to /data/data. Thinking on how to solve this problem... Have two options :
- Making /system writable and moving/linking Dalvik-cache to /system. Hmm...Risky?
- moving/linking apps/data/dalvik to SDcard. But this is against my preference of no-SDcard-usage
Thanks Nicois
btw, our chacha have 512Mb of ROM, out of which /system takes 269M. How much other sections take, any chance of using/re-sizing other sections?
You can also do it with Titanium Backup. TB will also allow you to "move" some dalvik-cache files to /system IIRC, maybe you want to try that (I have never tried that).
Moving dalvik-cache *partially* to other section is possible. Say we have un-used /cache section of 35Mb. We may write script to move some dalvic-cache to /cache and add s-link to original place. We may do this till /cache is full upto 30Mb.
But there is flaw here. Say we wish to delete all dalvik and start all over. When we clean /data or /data/dalvik-cache, the s-links also are deleted. So the init process by default will try to populate /data/dalvik-cache to fullest (this is well before we can run our script to move out partial dalvik-cache out). And threre is a chance now that init will fail because dalvik-cache can not get enough space.
So if dalvik-cache is moved, we have to move *FULL* /dalvik-cache folder.
Or, avoid using CWM to clean /data/dalvik-cache and instead have one more script for it, which will delete everything else except s-links. But what happens when we un-install some app whose dalvik is moved out? hmm...becomes complex enough...
Version 4.6.4 [PRO] Added the ability to integrate Dalvik cache system elements into ROM (as odex files) which can save a lot of internal data storage space.
- Trim CM10 of not so useful apks and install Google Apps Lite, by Atrix4g18
- lgCamera, free from the Market work! (pictures & videos). Only back camera
- Install Google Now on this Rom by ethancottier
- Wifi-Tethering, by ethancottier
- Help to avoid lost wifi connections: Use the WiFix-Manager to set the correct country (tip by Flexmaen)
- Int2Ext+ works great:
http://xdaforums.com/showthread.php?t=1716124- Some apps still have orientation issues (Apollo...), try the app named Ultimate Rotation Control v 4.8.2 (works fine for Apollo for example), Tip by GragonV
- ASN/Modpunk from the Wildfire S development, as I massively kanged his JB sources as a starting point and I xalso use his msm-7x27 common sources.
- Recognized Contributor Alex C. for this official thread OP maintenance
- CyanogenMod and all the people contributing to it for the main sources
- SuperTeam for their help
- Linux Kernel (GPL): https://github.com/adumont/htc-kernel-msm7227/
- Device tree: https://github.com/adumont/android_device_htc_chacha/
- Vendor tree: https://github.com/adumont/android_vendor_htc_chacha/
Lack of space for gapps.
I use Nova launcher (~3MB) instead Trebuchet (~12MB). This saved me more than 30MB and Gapps installed properly. I still have some spare space left (around 20-25MB)
The only thing that really annoys me is the rotation issue. I use Rotation Locker for now, but it's annoying to keep that app running for it to lock the rotation.
su
mount -o remount,rw /system
cp /sdcard/esfileexplorer.apk /system/app/esfileexplorer.apk
chmod 0644 /system/app/esfileexplorer.apk
mount -o remount,ro /system
sync
reboot