Page 1 of 3

CM10 Repackage CT's of 20120902

PostPosted: September 2nd, 2012, 1:20 pm
by shaun2029
I have repackaged Christian Troy's CM10
Found here: http://www.slatedroid.com/topic/37048-rom-cyanogenmod-10/

CM10 20120902 Download http://www.mediafire.com/?nxf533poc7wrwb3

This repackage fixes:
1. The corrupt file in the original upload (system/app/RomManager.apk).
2. Fixes the low memory killer issue.

Fix 2 should improve tablet behaviour after a lot of use.

Details:

I have solved this problem with a hack that does the job.
Change contect of the file:
/system/etc/init.d/03kernel

Code: Select all
#!/system/bin/sh
#
   
echo "3" > /proc/sys/vm/drop_caches
echo "20" > /proc/sys/vm/swappiness
echo "15" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/vfs_cache_pressure
echo "3000" > /proc/sys/vm/dirty_expire_centisecs
echo "500" > /proc/sys/vm/dirty_writeback_centisecs
echo "3" > /proc/sys/vm/dirty_background_ratio

# allow changes
chmod 0664 /sys/module/lowmemorykiller/parameters/minfree

# these are aggressive settings which seem to improve things
echo "2048,4096,8192,65536,73728,81920" > /sys/module/lowmemorykiller/parameters/minfree
# original settings
# echo "2048,4096,51200,56320,61440,70400" > /sys/module/lowmemorykiller/parameters/minfree

# prevent changes
chmod 0444 /sys/module/lowmemorykiller/parameters/minfree

echo "done Virtual Memory Parameter Tweaks"


This works by changing the permissions on the minfree parameter to read only preventing further changes.

Nasty, perhaps, but it does work.

Instructions
From Christian's post

* !!! IMPORTANT !!! You need a /system partition of at least 300 MB or you have to avoid flashing gapps !!! IMPORTANT !!!
* Upload zips to MicroSD or internal memory.
* Boot into CWM keeping pressed VOL- (MENU) and POWER for 3 secs, than release POWER and after another sec release VOL- (or use Novo7 tools if it doesn't work for your device)
* Select "wipe data/factory reset"
* Select "install zip from sdcard" -> "choose zip from sdcard" (or "choose zip from internal sdcard" if your files are into internal memory) and flash, in this order, rom / gapps / compatibility zip
* Now go back, and select "Reboot system now"
* Enjoy cm10

Note: when you update to a newer build you don't need to do a full wipe, you just have to wipe cache and dalvik cache

Re: CM10 Repackage CT's of 20120902

PostPosted: September 2nd, 2012, 3:53 pm
by fregrin
does this require full wipe or can i wipe cache and dalvik cache thingy?? :ugeek:

Re: CM10 Repackage CT's of 20120902

PostPosted: September 2nd, 2012, 4:00 pm
by shaun2029
From Christian's post

Instructions

* !!! IMPORTANT !!! You need a /system partition of at least 300 MB or you have to avoid flashing gapps !!! IMPORTANT !!!
* Upload zips to MicroSD or internal memory.
* Boot into CWM keeping pressed VOL- (MENU) and POWER for 3 secs, than release POWER and after another sec release VOL- (or use Novo7 tools if it doesn't work for your device)
* Select "wipe data/factory reset"
* Select "install zip from sdcard" -> "choose zip from sdcard" (or "choose zip from internal sdcard" if your files are into internal memory) and flash, in this order, rom / gapps / compatibility zip
* Now go back, and select "Reboot system now"
* Enjoy cm10

Note: when you update to a newer build you don't need to do a full wipe, you just have to wipe cache and dalvik cache

Re: CM10 Repackage CT's of 20120902

PostPosted: September 2nd, 2012, 5:14 pm
by suggsy89
Why dont you guys just modify where GAPPS gets installed to. Try the data partiton rather than system. Maybe worth a try.

Sent from my GT-I9300 using Tapatalk 2

Re: CM10 Repackage CT's of 20120902

PostPosted: September 2nd, 2012, 5:26 pm
by stubaldock
I can verify that what Suggsy89 posted about this

400mb partition

Code: Select all
;------------------------------>nandd, android real rootfs
[partition3]
class_name = DISK
name = system
size_hi = 0
;size_lo = 262144
;size_lo = 307200
size_lo =409600
user_type = 2
ro = 0


actually works, I thought it didn't at first as when i checked 'df' in terminal emulator after loading the altered .img file it only gave the 256mb partition. Once you then upload a new rom the larger partition miraculously appears lol...... i wish i'd tried it earlier as me and livesuit almost know each other intimately; i've used it so much :shock:

Re: CM10 Repackage CT's of 20120902

PostPosted: September 2nd, 2012, 6:31 pm
by fregrin
well wish me luck it is installed lol..

anyone now good app make screen stay alive when web browsing?

slightly off topic i now but i was cooking tonight and kept having take tablet out standby look at recipes on browser.

Re: CM10 Repackage CT's of 20120902

PostPosted: September 2nd, 2012, 8:10 pm
by stubaldock
fregrin wrote:well wish me luck it is installed lol..

anyone now good app make screen stay alive when web browsing?

slightly off topic i now but i was cooking tonight and kept having take tablet out standby look at recipes on browser.


I'm sure there may be an app for it but i just use Setting/Display/Sleep and set to 30 minutes, thats usually enough time for me to read or browse the net before it goes to sleep.

Re: CM10 Repackage CT's of 20120902

PostPosted: September 3rd, 2012, 6:29 pm
by fregrin
no sure how many apps installed wouldnt say vast quantity but seem be running out space very very fast....

Re: CM10 Repackage CT's of 20120902

PostPosted: September 3rd, 2012, 7:05 pm
by stubaldock
fregrin wrote:no sure how many apps installed wouldnt say vast quantity but seem be running out space very very fast....


Hi fregrin,

Did you do the increased partition fix? What is 'df' reporting in terminal emulator?

Re: CM10 Repackage CT's of 20120902

PostPosted: September 3rd, 2012, 7:44 pm
by fregrin
What is increased partition fix, I did thing with livesuite

Sent from my MP907C using Tapatalk 2