[Q] How to change size limit when building from source?

Alkis05

Member
Oct 23, 2013
8
3
0
(warning: english is not my native language! My grammar my cause damage to your brain.)

Hello, everyone! After a long time hammering my head against the keyboard, plus 5 hours of waiting I finally successed at building my first ROM for the old lg_p500 my dad gave me after buying his new phone. I used the device from lgics at github repo cm_lge_p500 jellybean. As I came to know, android 4.x.x + got alot bigger. and the brunch command exit with error because it exceded the max size and deleted the system.img file (the /system folder unziped is about 233Mb). I know shinobisoft made a tool to help trimming the ROM, and that is my next step

The questions are: 1) where do I change the size limit for the image. 2) do I have to build it all over again? is it going to be faster the second time? (I still have the files at ~/out) 3) what is the best way to get the system.img and the zipped ROM back?

PS: By the way, it appears that there is a small mistake (or not, how am I to say) in de README sugestion for the local_manifest.xml
https://github.com/lgics/cm_device_lge_p500/blob/jellybean/README"]https://github.com/lgics/cm_device_lge_p500/blob/jellybean/README
The common device repo is "android_device_lge_msm7x27-common". There is no "cm_device_lge_msm7x27-common" repository at lgics. (Some one as dense as me could lose a lot of time until he understands how git works :silly:)
 
Last edited: