FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[ROM][KQB][ODIN] - broodROM RC5 Rev2 (RC6 in development) -

4,992 posts
Thanks Meter: 10,199
 
By broodplank1337, Inactive Recognized Developer on 17th December 2011, 12:34 PM
Post Reply Email Thread
6th August 2012, 11:19 PM |#4751  
Senior Member
Thanks Meter: 198
 
More
ram management kind of sucks...

would this still work?
 
 
6th August 2012, 11:34 PM |#4752  
broodplank1337's Avatar
OP Inactive Recognized Developer
Flag Nijmegen
Thanks Meter: 10,199
 
Donate to Me
More
Well, RC5 includes Skyhigh v1.4d which has LMK60mb built in, so you can use it if you change the kernel.
The Following User Says Thank You to broodplank1337 For This Useful Post: [ View ] Gift broodplank1337 Ad-Free
6th August 2012, 11:45 PM |#4753  
Senior Member
Thanks Meter: 198
 
More
this is bad... skyhigh is good regarding everything else...
7th August 2012, 02:36 AM |#4754  
broodplank1337's Avatar
OP Inactive Recognized Developer
Flag Nijmegen
Thanks Meter: 10,199
 
Donate to Me
More
Quote:
Originally Posted by dr.wtf

this is bad... skyhigh is good regarding everything else...

well, its only an easy change in the ramdisks init.rc file
7th August 2012, 03:06 AM |#4755  
Senior Member
Thanks Meter: 198
 
More
did i forget something?

Code:
# Define the memory thresholds at which the above process classes will
# be killed.  These numbers are in pages (4k).
# BEGIN OOM_MEM_Settings
    setprop ro.FOREGROUND_APP_MEM 1280
    setprop ro.VISIBLE_APP_MEM 2560
    setprop ro.PERCEPTIBLE_APP_MEM 3840
    setprop ro.HEAVY_WEIGHT_APP_MEM 6400
    setprop ro.SECONDARY_SERVER_MEM 7680
    setprop ro.BACKUP_APP_MEM 8960
    setprop ro.HOME_APP_MEM 5120
    setprop ro.HIDDEN_APP_MEM 12800
    setprop ro.CONTENT_PROVIDER_MEM 15360
    setprop ro.EMPTY_APP_MEM 20480
# END OOM_MEM_Settings
# End of V6 SuperCharged Entries

    # permissions for MTP device node
    chmod 0660 /dev/usb_mtp_gadget
    chown system system /dev/usb_mtp_gadget

# Write value must be consistent with the above properties.
# Note that the driver only supports 6 slots, so we have combined some of
# the classes into the same memory level; the associated processes of higher
# classes will still be killed first.
    write /sys/module/lowmemorykiller/parameters/adj 0,1,3,5,7,15

    write /proc/sys/vm/overcommit_memory 1
    write /proc/sys/vm/min_free_order_shift 4
    write /sys/module/lowmemorykiller/parameters/minfree 1280,2560,5120,7680,12800,20480
7th August 2012, 04:28 AM |#4756  
broodplank1337's Avatar
OP Inactive Recognized Developer
Flag Nijmegen
Thanks Meter: 10,199
 
Donate to Me
More
Quote:
Originally Posted by dr.wtf

did i forget something?

Code:
# Define the memory thresholds at which the above process classes will
# be killed.  These numbers are in pages (4k).
# BEGIN OOM_MEM_Settings
    setprop ro.FOREGROUND_APP_MEM 1280
    setprop ro.VISIBLE_APP_MEM 2560
    setprop ro.PERCEPTIBLE_APP_MEM 3840
    setprop ro.HEAVY_WEIGHT_APP_MEM 6400
    setprop ro.SECONDARY_SERVER_MEM 7680
    setprop ro.BACKUP_APP_MEM 8960
    setprop ro.HOME_APP_MEM 5120
    setprop ro.HIDDEN_APP_MEM 12800
    setprop ro.CONTENT_PROVIDER_MEM 15360
    setprop ro.EMPTY_APP_MEM 20480
# END OOM_MEM_Settings
# End of V6 SuperCharged Entries

    # permissions for MTP device node
    chmod 0660 /dev/usb_mtp_gadget
    chown system system /dev/usb_mtp_gadget

# Write value must be consistent with the above properties.
# Note that the driver only supports 6 slots, so we have combined some of
# the classes into the same memory level; the associated processes of higher
# classes will still be killed first.
    write /sys/module/lowmemorykiller/parameters/adj 0,1,3,5,7,15

    write /proc/sys/vm/overcommit_memory 1
    write /proc/sys/vm/min_free_order_shift 4
    write /sys/module/lowmemorykiller/parameters/minfree 1280,2560,5120,7680,12800,20480

I think that should cover it, does it work good?
7th August 2012, 08:54 AM |#4757  
edruig's Avatar
Senior Member
Flag Kaunas
Thanks Meter: 3
 
Donate to Me
More
Quote:
Originally Posted by OmarPlus

Format system, wipe data, cache and Dalvik cache then flash the ROM and wipe again

Sent from my GT-I9001 using xda premium

but i have twrp recovery.
So use the same method?
7th August 2012, 04:22 PM |#4758  
Senior Member
Thanks Meter: 198
 
More
Quote:
Originally Posted by broodplank1337

I think that should cover it, does it work good?

well its working... we'll see if it starts lagging again after a while
7th August 2012, 06:00 PM |#4759  
OmarPlus's Avatar
Senior Member
Flag Cairo
Thanks Meter: 73
 
More
Quote:
Originally Posted by edruig

but i have twrp recovery.
So use the same method?

Yes, I guess
But I recommend you to change your default recovery into CWM 6 touch

Sent from my S+ using XDA premium
7th August 2012, 07:42 PM |#4760  
shubham412302's Avatar
Senior Member
Thanks Meter: 134
 
More
Quote:
Originally Posted by OmarPlus

Yes, I guess
But I recommend you to change your default recovery into CWM 6 touch

Sent from my S+ using XDA premium

no no need at all

Sent from my GT-I9001 using xda premium
8th August 2012, 02:53 AM |#4761  
Senior Member
Thanks Meter: 198
 
More
shouldn't i also change /sys/module/lowmemorykiller/parameters/minfree to

1280,2560,5120,7680,12800,20480

?
Post Reply Subscribe to Thread

Tags
android, broodplank1337, broodrom rc, criempie, custom rom, easy install - fast - clean, fastest rom, gingerbread, gsg+ configurator, i9001, odin one package, pedobear, penthouse, pussy, wet nijmegen girls

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes