The current CM10 + GApps experience on Motorola Xoom is plagued by the size of the CM10 ROM -- there isn't enough space left after flashing the CM10 zip to fully flash the GApps zip. This results in gtalk force-closing while trying to video chat and some other issues.
I've been following a discussion about this on the XDA development forum for Xoom. Here's someone mentioning that he 'removed' some files from the CM10 ROM zip file to reduce it's size: http://forum.xda-developers.com/showthread.php?p=34462283#post34462283
Could someone guide me how to do this?
Is it simply unzipping the file, deleting certain files and re-zipping?
or is there more ? (like signing the file)
To remove apps from the ROM, should the .apk file simply be removed or do apps also have associated files that need to be removed as well?
In the same discussion some people talk about moving certain files from the system partition to the data partition? How could this symlinks information be stored in the ROM zip file? or are they talking about creating the symlinks after flashing the zip?
Thanks
Answer
There are multiple solutions available:
Re-Zip the Image
Advantage: You do it once, and can use the resulting image for multiple devices. That's what I did with CM7.2 for my Milestone 2. Easy enough to do:
- create a temporary (empty) folder
- unzip the zip file to it
- remove unwanted
*.apk
files from/system/apps
(be careful of what you remove, of course) - zip up the directory contents again
Using a graphical ZIP manager (like WinZip or the like), steps would be even easier:
- open the zip file with the archive manager
- remove the unwanted
.apk
files - if the ZIP manager requires it, save the manipulated zip
Manually cleanup after flashing, using the shell
This is what ce4 recommended in the comments. It requires you using a terminal emulator on your device:
- Flash the image as-is
- remove superfluous stuff from the system partition by hand (like
rm /system/big/junk/example.mp4
)
Manually cleanup after flashing, using other tools
Almost the same as the previous method, but a bit more user-friendly. Disadvantage: this won't do for superflous ringtones and the like:
- Flash the image as-is
- Use a tool like Titanium Backup or Root Uninstaller to remove unwanted system apps
No comments:
Post a Comment