Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on May 26, 2013
@Alucard24 Alucard24 Changed awake_normal parameters in cortex! 00de976
@voku voku + full sync ... c269fee
@voku voku Merge remote-tracking branch 'dorimanx/master' 5757d1f
@voku voku Merge remote-tracking branch 'dorimanx/master' e7b9462
Commits on May 27, 2013
@dorimanx dorimanx Color Tuning after adding CM colors. now we have more WHITE. :) 2cc3234
@dorimanx dorimanx With CM High white color, no need to have +5 user_gamma_adjust
In performance profiles, set to 0 as default.
3fca852
@dorimanx dorimanx Tuned sys_vfs_cache,dirty_background_ratio,dirty_ratio to reduce lags
Using Free RAM, get ready for more apps killed on heavy usage to free
RAM.

But android defaults are higher, so will be OK.
db1ebdf
@dorimanx dorimanx Ths Should Fix high white in recovery console. 0e1755f
Commits on May 28, 2013
@StefanescuCristian StefanescuCristian Fixed kernel_check
Right now, the script failed with an "expr: syntax error" and exited the if echoing that no new version is available.
The OLD_VERSION was read incorrectly, and expr compared versions from the site with " *X.YZ*-JB-CM-AOKP-SGII-PWR-CORE (root@dorimanx-virtual-machine) (gcc version 4.7.3 20130328 (prerelease) (Linaro GCC 4.7-2013.04) ) #1 SMP PREEMPT Sat May 25 17:55:03 IDT 2013"

I modified that line to compare only X.YZ with X.YZ from the site.
I tested this with 9.23.
afc1be9
@dorimanx dorimanx Small Cleanup, best not add comments in loops, waste of work time :)
and it's works good now.
e326ef1
@StefanescuCristian StefanescuCristian Update kernel_check 67f7a88
@dorimanx dorimanx Fix Recovery color. 32d02fb
@dorimanx dorimanx Revert "Color Tuning after adding CM colors. now we have more WHITE. :)"
This reverts commit 2cc3234.
f8e3644
@dorimanx dorimanx Resolved small bug in junk clean, and fixed broken sec storage >>
In SAMMY based ROMS, Apps cant find the secondary storage to put
there data in!

Now OK.
bdaf22d
@dorimanx dorimanx CleanUp! there is not settings for sdcard1 in SAMMY ROM. 6a378b3
@dorimanx dorimanx Fixed Gov change on event of screen OFF and then ON without sleep.
So we will not loose all gov tuning till next real sleep!

this fixes a lot!
442cd71
Commits on May 29, 2013
@dorimanx dorimanx Added New Log Report to BUG REPORT tab: Last Kernel Massages before r…
…eboot!

Can be used to detect bugs and resolve SODS! Thanks to @voku for idea!
132408d
@dorimanx dorimanx LAST_KMEG description fix. TNX Voku. b172047
@dorimanx dorimanx Added Button to check CPU Voltage Group type, and do something about it!
Users that have CPU type 1 or 2 will always get SODS and bugs!
They must FEED the CPU with more voltage! and some only reduce and cry!
That the have SODS! and kernel is broken!

No people! you got your self crap CPU type. sorry.
b35a21d
@dorimanx dorimanx After i have fixed the Slide2wake mod, we now can use it in perf prof…
…iles!

No more hangsup in the middle of the call. :)
f7349ef
@dorimanx dorimanx Fixed the Cpu voltage group test, now user can check it any time!
Group will never change! only if checked on other device.
6092245
Commits on May 30, 2013
@dorimanx dorimanx Upgraded the Voltage Interface in STweaks to reflect voltage per group!
Now every user will see his DEFAULT CPU voltage per CPU voltage Group!

And then if he want to UV then it's done from his DEFAULTS!
Set in Kernel CPU freq driver.
a8ba3b3
@dorimanx dorimanx Added Slide2Wake turn off when screen is OFF and we on CALL.
This will stop slide2wake to register touch when on call.

last patch to kernel didnt work well... this is 100% fix.
3c64faa
@voku voku Merge remote-tracking branch 'dorimanx/master' 0ce44c4
Commits on May 31, 2013
@dorimanx dorimanx CPU Voltage for Group 4 is now = group 3, removed not used config.
Group 3 voltage set by default.
860fca2
Commits on Jun 01, 2013
@dorimanx dorimanx Set dirty_background_ratio and dirty_ratio to 15 to prevent LAGS!
When we use all the RAM, system LAGS to release big amount of RAM
in one push. to give full range on new CACHE RAM.

Prevent this action by setting reasonable tuning.
1c8b48c
@voku voku Merge remote-tracking branch 'dorimanx/master' ff11322
@voku voku Merge remote-tracking branch 'dorimanx/master' 3d5dd1b
@dorimanx dorimanx When using data_writeback, we not need to set commit timeout. it's no…
…t used.

data_writeback commit on it's own timers.
c2a0506
Commits on Jun 02, 2013
@dorimanx dorimanx Added +25mv to CPU Voltage Group 5, to get stable OC. b441c8b
@dorimanx dorimanx Updated SuperSu 1.30 from ChainFire!. 28ebb22
Commits on Jun 03, 2013
@dorimanx dorimanx Set GPU voltage for 108Mhz to 900mV it's stable. 0b6e59c
@dorimanx dorimanx Tuned RAM system, removed SCHED tuning. + small things ea88442
@dorimanx dorimanx CM-KERNEL not using oom_kill_allocating_task, and after tests, OK!
Better not waste power on cleaning task all the time.

when low ram, they cleaned any way by lowmemkill code.
and now system apps/services protected!
6a27142
@dorimanx dorimanx To speed up the system we must set dirty_background_ratio=15 9c192e2
Commits on Jun 04, 2013
@Alucard24 Alucard24 Added two new parameters for nightmare governor! b58d884
@Alucard24 Alucard24 Removed a space:) 2b9b4db
@dorimanx dorimanx Fixed SWAPPINESS set to 60 on boot, and system try to use SWAP. c04d877
@Alucard24 Alucard24 Removed all ' character into customconfig! efad754
@Alucard24 Alucard24 Removed space between unit=""! 0568ec8
@dorimanx dorimanx Tuned init dirty write/expire and protected uci.sh + rootbox bug fix. 9e4d84d
@dorimanx dorimanx Fixed Low Mem Kill tuning! here was critical mistake!
Every value that was set here is not the real ram size to be free for each group!

it's value * 4 = real MB limit! as it's set in lowmemorykiller.c

so when i say 2048 it's 2048 * 4 = 8MB RAM limit!

and so on! now all will work as should! and no more OOM dead phone.(SOD)
9a65104
@dorimanx dorimanx Tuned also LOWMEMKILL at screen off! b2836c0
@dorimanx dorimanx Fixed LOWMEMKILL, Tuning, was too LOW. nothing killed, now OK + MORE
Tuned Overcommit tuning, and set more min free.
19667f4
Commits on Jun 05, 2013
@dorimanx dorimanx Added ZRAM to performance profiles, to support HIGH ram needs!
can be disabled any time.
ced09b9
@voku voku Merge remote-tracking branch 'dorimanx/master' d64ffa0
@dorimanx dorimanx fix /proc/sys/kernel/sysrq set it to 2, we had 1,
	When running a kernel with SysRq compiled in,
	/proc/sys/kernel/sysrq controls the functions allowed to be invoked via
	the SysRq key. By default the file contains 1 which means that every
	possible SysRq request is allowed (in older versions SysRq was disabled
	by default, and you were required to specifically enable it at run-time
	but this is not the case any more). Here is the list of possible values
	in /proc/sys/kernel/sysrq:
	   0 - disable sysrq completely
	   1 - enable all functions of sysrq
	  >1 - bitmask of allowed sysrq functions (see below for detailed function
	       description):
	          2 - enable control of console logging level
	          4 - enable control of keyboard (SAK, unraw)
	          8 - enable debugging dumps of processes etc.
	         16 - enable sync command
	         32 - enable remount read-only
	         64 - enable signalling of processes (term, kill, oom-kill)
	        128 - allow reboot/poweroff
	        256 - allow nicing of all RT tasks

	You can set the value in the file by the following command:
	    echo "number" >/proc/sys/kernel/sysrq

	Note that the value of /proc/sys/kernel/sysrq influences only the invocation
	via a keyboard. Invocation of any operation via /proc/sysrq-trigger is always
	allowed (by a user with admin privileges).
ea43442
Commits on Jun 06, 2013
@dorimanx dorimanx LMK best lag free config is stat killing apps when below 130MB cached…
… RAM.
6c67bff
Commits on Jun 07, 2013
@dorimanx dorimanx Many Tuning/Bug fixing + Cleaning junk and new OOM tweak. 33588ac
@dorimanx dorimanx UKSM: restored max sleep_millisecs, max is 1000! + comment. 52ee381
Commits on Jun 08, 2013
@dorimanx dorimanx Set Swappiness=40 for performance profiles that use ZRAM.
We dont need more that that. LMK will handle the rest.
dbb94fb
@dorimanx dorimanx Retuned ZRAM to use one SWAP partition, reduced initramfs size to fix…
… WIFI

Fixed clean_ram_cache black box without info.

after checks, using 3 ZRAM driver and using same priority, is actually
more CPU cycles to burn to maintain 3 drives, so best to use one.
c97f856
Commits on Jun 09, 2013
@dorimanx dorimanx Fixed Auto OOM profiles and Auto OOM switch. 1718f20
@voku voku + full sync 23cb7c8
@voku voku Merge remote-tracking branch 'dorimanx/master' 4ca2d6b
@voku voku + only rename "sleeprun" => "WAS_IN_SLEEP_MODE" ad5d7fd
@voku voku + "cortexbrain-tune.sh": fixes [need some testing] 6212bf5
@voku voku + "cortexbrain-tune.sh": move to init ... ebcad0b
@voku voku + "cortexbrain-tune.sh": fix my fix ;P 2e353a2
Commits on Jun 10, 2013
@dorimanx dorimanx Major Rework off many STweaks XML scripts and cortex, OOM profiles FI…
…XED!

I have removed useless brakets and corrected very old bug, and fixed
missing code for some profiles, and cleaned not needed junk.

Voku, please do not mess with adding not needed brakets in every line.

All devs please follow the line of cod when adding new functions.
3020381
@voku voku + true/false didn't work with "busybox" :P b740cb1
@dorimanx dorimanx Corrected all NUMBER check functions from == to -eq and others
more PRO and correct. we need == only for CHAR checks.
5c2bc6b
@dorimanx dorimanx New Vibrate power interface in kernel, so tuned XML and Profiles.
To use ROM settings! set the power in STweaks to -1
413c403
@dorimanx dorimanx tiny fix for vibrate description 2bc42fb
@dorimanx dorimanx CORTEX: Merged All Voku's new modds, need to test all AGAIN.. TNX VOKU!
Nice job, now we need to kill the bugs if exist. (killed some already)
3531840
@dorimanx dorimanx CORTEX: Rework all BUGS and now all working great, tested all functions.
Dear VOKU, cut the bug scripting, you are doing good job, but PLEASE!

So it in small portions and TEST every function you change.

Thanks.
cada821
@voku voku Merge remote-tracking branch 'dorimanx/master'
Conflicts:
	sbin/ext/cortexbrain-tune.sh
59240db
@dorimanx dorimanx Updated init boot + adbd + charger from Latest CM-KERNEL
Removed CARBON uniq support, no need, will work with CM boot.
if not, then bummer, ROM dev should keep up. i have no room for this.
2a56c13
Commits on Jun 11, 2013
@dorimanx dorimanx Fixed failed symlink to /mnt/sdcard for all ROMS. 68b0992
@dorimanx dorimanx CORTEX: MORE BUGS FIXING! now CPU GOV TWEAKS, are SET, + more functions. 9f9de0c
@dorimanx dorimanx CORTEX: Reconstruction of WAKE and SLEEP functions, now MORE SMART!
+ descriptions
and missing FREQ boost set! yes i want full CPU power till delay boost finish.
17dbe94
@dorimanx dorimanx CORTEX: AWAKE Function fix, some things need to set no matter what! 649556e
Commits on Jun 12, 2013
@voku voku Merge remote-tracking branch 'dorimanx/master' 64f49e7
@voku voku + "*.sh": update ... 0e8ef14
Commits on Jun 13, 2013
@dorimanx dorimanx SuperSU 1.32 by ChainFire e0fa7ed
@dorimanx dorimanx Tuned All profiles with logical values + ZRAM increase for performance. 98ceb3f
@voku voku Merge remote-tracking branch 'dorimanx/master' 2ab6226
@voku voku + "customconfig.xml": added -> "Depends on CortexBrain-Background-Pro…
…cess"-text
1514931
@voku voku + need more work :P 8857872
@voku voku + STweaks: added "touch-booster config" 69e7b2e
@voku voku + fix ... c5fee81
@voku voku + sometimes less is more and not sass ;) 7a05862
Commits on Jun 14, 2013
@voku voku Revert "+ sometimes less is more and not sass ;)"
This reverts commit 7a05862.
9b0796b
@voku voku increase "sampling rate" for testing ... and get more battery by the …
…way ...

"The sampling rate is limited by the HW transition latency:
transition_latency * 100
Or by kernel restrictions:
If CONFIG_NO_HZ is set, the limit is 10ms fixed.
If CONFIG_NO_HZ is not set or no_hz=off boot parameter is used, the
limits depend on the CONFIG_HZ option:
HZ=1000: min=20000us  (20ms)
HZ=250:  min=80000us  (80ms)
HZ=100:  min=200000us (200ms)"
66df78f
@dorimanx dorimanx Restore Vibrate fix script + fix profiles and xml. 0e28308
@voku voku + code-style fix ... fb97236
@dorimanx dorimanx Fix vibrate also for recovery mode. 3da304e
@dorimanx dorimanx Merged Voku changes to Cortex. no bugs added. not this time. :) 0ac466a
Commits on Jun 15, 2013
@voku voku Merge remote-tracking branch 'dorimanx/master'
Conflicts:
	sbin/ext/cortexbrain-tune.sh
4b9ebce
alucard24 Removed two nightmare parameters, set hotplug_enable = 1 for all prof…
…iles!
5679f1a
@dorimanx dorimanx Removed sampling_rate tuning, as it's make music shatters when gov sw…
…itch.
33109e9
@dorimanx dorimanx STweaks XML Descriptions fix by VOKU. bac34d1
@dorimanx dorimanx Now it's safe to use update-images-optimization.sh, recovery OK.
Optimized all png files.
e5970e7
@dorimanx dorimanx CORTEX: added DEBUG mode to see full SLEEP state when connected via USB.
Removed more BUGS! that i missed from past updates.
41e70f4
@dorimanx dorimanx RESTORE "Removed sampling_rate tuning, as it's make music shatters wh…
…en gov switch."

This reverts commit 33109e9.

+ small changes to GOV wakeup BOOST function.
8f1dc9a
@dorimanx dorimanx Adding EXFAT-FS modules, for now no auto load, need to fix kernel. 21c9e0d
alucard24 Added two parameters of nightmare governor! 357a690
Commits on Jun 16, 2013
@voku voku Merge remote-tracking branch 'dorimanx/master'
Conflicts:
	sbin/ext/cortexbrain-tune.sh
	update-images-optimization.sh
66d3051
@voku voku + full sync ... 1ae5806
@voku voku Revert "+ full sync ..."
This reverts commit 1ae5806.
3f1881f
@dorimanx dorimanx Clean Dalvik in case data was fixed. many errors are stick to dalvik …
…folder.
0cf0846
alucard24 Removed a nightmare parameter, changed some descriptions, updated pro…
…files and cortex script!
e92eb8b
alucard24 Changed boost parm into delayer_rate ! 6afffed
alucard24 Fixed a descriptions and extra performance profile! 9c7df53
alucard24 Removed delayer_rate parameter! 9b4a0a6
@dorimanx dorimanx Added small script to fix DATA partition manually via RECOVERY! using…
… ADB.

Now Advanced Users and DEVS including me, can easy fix the broken data
partition.

Please DO DATA backup before, this can kill some DATA files if they broken
and cant be fixed.
f76e8ee
Commits on Jun 17, 2013
@voku voku + "cortexbrain-tune.sh": little refactoring bb57796
@voku voku Merge remote-tracking branch 'dorimanx/master' cc126a1
Commits on Jun 18, 2013
@voku voku + "cortexbrain-tune.sh": little refactoring b46c5c3
@voku voku + fix: touchbooster
for some reason on boot we can't echo to /sys/devices/virtual/sec/ ... we we have 800MHz by default ... so for now fix it here ?!
729be89
Commits on Jun 19, 2013
@dorimanx dorimanx Fixed OOM profiles, fixed Dalvik build Crash, fixed ZRAM full and dead. 80f6385
@dorimanx dorimanx Rised GPU 108MHz voltage to 950mV to fix lags for some devices. +MORE
and allowed to set min 800mv to gpu freq 1 anf 850 to gpu freq 2

so users can use that, many not. no reason to block the lucky once.
9d3f82e
@dorimanx dorimanx Fixed Typo in dalvik cache clean. 4a9794e
@voku voku Merge remote-tracking branch 'dorimanx/master'
Conflicts:
	sbin/ext/cortexbrain-tune.sh
ed4d040
@dorimanx dorimanx Tuned panic timeout and fixed limmited RAM for user/admin 0 = all free! 837b689
Commits on Jun 20, 2013
@dorimanx dorimanx RAM tuning to allow max RAM usage and less SODS. disabled ZRAm by def…
…ault.

No need for it, we have good RAM Management.
b051f89
@voku voku Merge remote-tracking branch 'dorimanx/master' f595174
@voku voku Merge remote-tracking branch 'dorimanx/master' c85160f
Commits on Jun 21, 2013
@dorimanx dorimanx After reading about mmap_min_addr, set to 16MB
http://wiki.debian.org/mmap_min_addr

we dont want kernel NULL pointer dereference.

also seems to brake WIFI long connection, as it's allocated RAM is drained.
40e38a0
@voku voku Merge remote-tracking branch 'dorimanx/master' e5d171c
alucard24 Nightmare governor soft_scal parm changed into up_soft_scal and added…
… darkness governor!
7c9f37e
alucard24 Corrected profiles and corrected cortex 9e3f49b
alucard24 Fixed cortexbrain! ad548a6
Commits on Jun 22, 2013
alucard24 Fixed cortex brain to activate,deactivate intelliplug... waiting for …
…a better solution by Yuri :)
2fb0687
alucard24 Fixed cortex-brain.... hotplug_enable must be set when switching betw…
…een nightmare, darkness governors!
bd727f4
alucard24 Fixed cortex... now it is better! 6fe30b5
Commits on Jun 24, 2013
@Alucard24 Alucard24 Removed useless things regarding scaling_suspended_max and min.... Re…
…moved wake up boost for governor parameters because scaling min freq and max are the same during wake up and corrected a bug if don't use cortex cpu!
8b93af6
@Alucard24 Alucard24 Added wakeup boost -1 value in order to deactivate frequency changing…
… on wake up boosting process completely!
14fa0d6
@Alucard24 Alucard24 A little speed up for wakeup processing during awake_normal phase! eaedf37
@dorimanx dorimanx Cortex: Fixed Wrong functions. fc3377e
Commits on Jun 25, 2013
alucard24 Fixed wakeup_boost sec check, removed up_soft_scal as parameter! d706df8
@voku voku Merge remote-tracking branch 'dorimanx/master' 2231ceb
@voku voku + full sync ... 373f71b
Commits on Jun 26, 2013
@voku voku + IO_SCHEDULER: added missing "mmc0"-check ... ee76468
Commits on Jun 28, 2013
@Alucard24 Alucard24 Added the possibility to modify over 100 on up_load,down_load for nig…
…htmare and darkness! changed some descriptions!
b5819c5
@dorimanx dorimanx Check on boot if cache and data partitions needs journal recovery.
If we had SOD or power loss, journal has to be recovered to fix errors.

make it so.
2a27b3d
@dorimanx dorimanx FIX Typo that is critical. TNX VOKU. d82c9a0
Commits on Jun 30, 2013
@dorimanx dorimanx Restored BFQ I/O SCHED GOV. d6d7139
@dorimanx dorimanx SET BFQ most advanced I/O Sched GOV. as default! 18e36e4
alucard24 Removed some parameters of pegasusq from customconfig and profiles! 382f2b0
@dorimanx dorimanx SET slide2wake off in all profiles, + tuning sampling rate awake/sleep.
when sampling rate change on screen on/off we hear music shatters.
34a8e83
Commits on Jul 01, 2013
@dorimanx dorimanx Pulled CM-KERNEL INIT updates for CM/AOKP 10.1 98dab86
Commits on Jul 05, 2013
alucard24 Updated some descriptions into customconfig.xml b8d6b8a
alucard24 ZZMOOVE Parameters added into customconfig, profiles and cortex brain…
… script!
b7696db
Commits on Jul 07, 2013
@dorimanx dorimanx Fixed Min CPU UV to 800mv in STweaks, Updated SuperSu 1.41 + script fix. cb5cf4a
alucard24 Added a darkness option: CPU LOAD BIAS...... dd41bf3
Commits on Jul 14, 2013
alucard24 Removed cpu_load_bias option and added force_freqs_step! 4cda832
Commits on Jul 16, 2013
@dorimanx dorimanx Profiles tune, set nightmare as default gov and set row/bfq 534b94e
@dorimanx dorimanx Fixed vibrate step range from 10 to 5 each. b9e5352
Commits on Jul 17, 2013
@dorimanx dorimanx Fixed All bugs with RECOVERY sdcards wipes! now OK! :)
Recovery will load from now with cm10.1 init
Fixed USB driver ID for recovery and for CM10/cMIUI

tested with change backup formats from BLOB to TAR and NO WIPE!

made backup tests and all OK.
d073aad
@dorimanx dorimanx Better FIX Error in SEC ROM data/cache! baab285
@dorimanx dorimanx Fixed USB config on boot for all supported platforms.
Will be as Samsung I9100 :) not Android.
b016afa
Commits on Jul 19, 2013
@dorimanx dorimanx Fixed Broken MY Kernel install :) now OK. CM10.1 boot need more info :) 63c8c74
@dorimanx dorimanx More PERM fix for Recovery BOOT. 82fee5c
@dorimanx dorimanx Tuned Network configuration and allowed to reset to default without R…
…EBOOT.

only need to shutdown the cortex service and run it again, and TCP tweaks
apply or default if OFF or tuned from good source in linux network tuning article.

http://softpanorama.biz/Commercial_linuxes/Performance_tuning/tcp_performance_tuning.shtml
7d4f474
Commits on Jul 24, 2013
alucard24 Update some descriptions! 62b5344
@Alucard24 Alucard24 Adjusted some descriptions! 912d9a9
Commits on Jul 28, 2013
@dorimanx dorimanx Fixed Recovery mounting, and Slow I/O after FS updates! 8cc90e4
@dorimanx dorimanx Fixed Slow BOOT, no much faster. 7f738c2
Commits on Jul 29, 2013
@dorimanx dorimanx For now removed SG4 exfat close source modules that dont work for now... bb315bb
@dorimanx dorimanx Added Samsung exfat compiled modules that will work only for my kernel.!
NO source code for them! (not in my kernel any way) :)
e455649
Commits on Aug 01, 2013
@dorimanx dorimanx Load Samsung exFat modules on boot, and allow to use in recovery and …
…ROM.

exFat ccan be used for external sdcard only!

more testing and work needed! this is not full solution!
3845802
Commits on Aug 03, 2013
alucard24 Removed changing frequency limit using Nightmare and Darkness govenor…
…s! Set two new paramters instead....!
3d110e6
alucard24 Corrected empty external sdcard if we don't use a sdcard with exfat p…
…artition!
70d6ac0
Commits on Aug 05, 2013
@dorimanx dorimanx Fixed broken sdcard mount on INIT tasks. 24e6760
Commits on Aug 06, 2013
@dorimanx dorimanx Updated New SQL Lite that came from latest ROOTBOX ROM source!
This SQL is HACKED to deliver MAX speed when writing to tables!
9f3c571
@dorimanx dorimanx Moved Payload to kernel zImage, will be extracted on boot. 57c290a
Commits on Aug 07, 2013
@dorimanx dorimanx Major System updates! from latest CM/AOKP init and many fixes!
Now SEC rom will get journal! i have found that it's didnt had one all
this time! o.0 ! now OK.

good mounting flags for PRI/SEC ROMS. and some RAM tuning.
aea6f5b
@dorimanx dorimanx Removed support for usbnet_module, never tested, and was just JUNK
in my system!

wash it off :)
7c07267
@dorimanx dorimanx Speed up the preload/efs partition for ALL ROMS. a5b45d4
@dorimanx dorimanx moved STweaks and ntfs-3g to kernel ZIP ordinary install from recovery. acacc43
Commits on Aug 08, 2013
@dorimanx dorimanx Mounting flags update. 80941d4
Commits on Aug 09, 2013
@dorimanx dorimanx Update to exfat modules after heavy changes to FS from 3.10.rc5 5f06887
Commits on Aug 10, 2013
@dorimanx dorimanx Fixed Boot for JB MIUI and STOCK ROMS. + major cleanup :) 62b5f1a
@dorimanx dorimanx Fixed WIFI and module loading for all ROMS, and restored part of SQL
for SAMMY ROMS.
1fcce29
@dorimanx dorimanx Removed google backup app hack, it's was braking google backups
to fix the app, user need to wipe it's data!
GoogleBackupTransport

then reboot, and go to setting > reset/backup and select backup account.
efc00d0
alucard24 Inserted two new parameters for zzmoove governor! 117f0dd
Commits on Aug 11, 2013
@dorimanx dorimanx Updated exfat modules. c614e86
@dorimanx dorimanx Compated SQL to tar.xz and reduced size and fixed broken sql binary!
when binary is compressed its not compressed by kernel compression,
just added to image.
important binarys best to compress.
e0ffbf3
@dorimanx dorimanx Auto decompress modules on boot, this saves init space, and protect
modules from integrity bugs.
f31d812
@dorimanx dorimanx Tuned CPU voltage for all cpu groups, cleaned junk, tuned CPU/RAM de5b15d
Commits on Aug 12, 2013
@dorimanx dorimanx Reverted Payload relocation, reverted to SuperSu 0.98 as i dont have …
…room!

user can update SuperSu from market! i dont have 2MB to spare!

Fixed some scripts bugs.
f63444c
Commits on Aug 13, 2013
@dorimanx dorimanx Updated exfat modules with fix. and allowed admin to use all memory i…
…f needed.
756eddf
@dorimanx dorimanx Bug fix in sbin/ext/install.sh 8074fcb
Commits on Aug 14, 2013
@dorimanx dorimanx INIT cleanups, fix to exfat modules, scripts fixes. 4f4576d
@dorimanx dorimanx Opps! forget to remove install block after tests! 5037898
@dorimanx dorimanx Updated INIT for SAMMY ROMS, from SAMMY KERNEL. 096865a
Commits on Aug 15, 2013
@dorimanx dorimanx ExFat as single module file, TNX to @lqs 624cd97
Commits on Aug 16, 2013
@dorimanx dorimanx Set main CPU GOV HYPER and MAIN I/O GOV BFQ + cpu tunings. 6284796
@dorimanx dorimanx Now we have dunamic exfat module. + old bugs cleanup and some tuning! 8aed11f
Commits on Aug 17, 2013
@dorimanx dorimanx Added support for CM10.2 Android 4.3 :) and updated CM10.1 on the way. 4c12930
@dorimanx dorimanx small perm change to init.cm.rc 10dd438
@dorimanx dorimanx small perm change to init.superuser.rc 74f8868
@dorimanx dorimanx For now disabled the audit service as kernel not have it enabled.
I dont see any point of using it and selinux on our phone.

Maybe in time i will add and FIX the code, it's a mess in kernel :)
e87cdd9
Commits on Aug 18, 2013
@dorimanx dorimanx Added remount RW for / to partitions_scan check script. 68d385f
Commits on Aug 19, 2013
@dorimanx dorimanx Mounting system rework, cleand old junk. 29356a4
Commits on Aug 22, 2013
@dorimanx dorimanx Use new control value to stol logcat from writing logs, and save power!
on sleep by auto, and can be used also for awake, to reduce cpu use!

need to set disable in STweaks Android Logger to gain the extra power.

but not logs to report on problem.
086132a
Commits on Aug 25, 2013
@dorimanx dorimanx Tuned CORTEX and fixed BUGS, + added new auto RW mount for all critic…
…al points.
4162744
Commits on Aug 27, 2013
@dorimanx dorimanx FIX damm profiles reset after boot. READ MORE!
For many users somehow the checksum that i check,
is changed in data partition after reboot!

And this lead to profile reset.

Now, for me, and many others all OK, but for some it's still bugged.

So i have removed the check, and now users need to READ the change log
and if i ask to reset the profile, and no one care!

Then, i dont care too.

end this shit.
428f5e0
Commits on Aug 31, 2013
@Alucard24 Alucard24 Modified for Nightmare and Darkness changes! 61fa115
@dorimanx dorimanx Tuned all profiles, set sleep gov settings equal to all. + zzmoove tune. 60badfe
Commits on Sep 05, 2013
@dorimanx dorimanx Recovery fixing! major update :) READ MORE INSIDE!
*Fixed backup/restore of .android_secure

*Added Auto Dual Mount of 2 sdcards on recovery boot!
No longer needed to mount USB to access files :)

*Added backup/restore of Preloaded Partition!!!
it's backup under sd-ext name!
So on full backup it's will backup preloaded partition.
so STOCK roms can have backup now.

*Cleaned some old JUNK.
49df00c
Commits on Sep 07, 2013
@dorimanx dorimanx Updates latest INIT updates for 4.2.x and 4.3 ROMS from CM TEAM. ed05672
Commits on Sep 08, 2013
@dorimanx dorimanx Revert for CM10.1 init.rc the mount for Dalvik mark as slave in zygotes
is still needed in CM10.1 branch. this resolve the STUCK on boot
after dalvik rebuild for many apps.
0246602
@dorimanx dorimanx Touch Key fix perms for ROMS b0389c2
@dorimanx dorimanx ROOT always ON for CM10.2 (4.3) builds. only if set OFF then OFF. b2e86ad
Commits on Sep 11, 2013
@dorimanx dorimanx Major rework to partition clean and tune Thanks to @computoncio READ …
…MORE!

Merged @computoncio commits to allow system to be cleaned!
computoncio@6da831c
computoncio@f322a42
computoncio@afefb7f

* Added check/fix and tune to system partition!
* Added check/fix and tune to preload partition! (also can be sec ROM system!)
* Fixed some logic errors in sbin/init
* Cleaned white space in script files
* Added more scary description for auto pertitions fix every boot
* Fixed script triggers
* Added missing values to all profiles for auto fix on/off

so here is what should be if all OK :)

~ # cat log-*
cat log-*
Wed Sep 11 09:07:25 GMT 2013
/res/dev/cache: clean, 17/6400 files, 1453/25600 blocks
/res/dev/cache: clean, 17/6400 files, 1453/25600 blocks
1
Wed Sep 11 09:07:25 GMT 2013
/res/dev/data: clean, 7190/131072 files, 459488/524288 blocks
/res/dev/data: clean, 7190/131072 files, 459488/524288 blocks
1
Wed Sep 11 09:07:25 GMT 2013
tune2fs 1.41.14 (22-Dec-2010)
tune2fs 1.41.14 (22-Dec-2010)
/dev/block/mmcblk0p12: clean, 1635/32768 files, 111193/131072 blocks
/dev/block/mmcblk0p12: clean, 1635/32768 files, 111193/131072 blocks
1
Wed Sep 11 12:07:29 IDT 2013
FIXING STORAGE
EXTERNAL SDCARD CHECK
** /dev/block/mmcblk1p1
** Phase 1 - Read and Compare FATs
Attempting to allocate 1907 KB for FAT
Attempting to allocate 1907 KB for FAT
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
2323 files, 3378880 free (105590 clusters)
INTERNAL SDCARD CHECK
** /dev/block/mmcblk0p11
** Phase 1 - Read and Compare FATs
Attempting to allocate 1473 KB for FAT
Attempting to allocate 1473 KB for FAT
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
12154 files, 1772928 free (55404 clusters)
DONE
Wed Sep 11 09:07:25 GMT 2013
/res/dev/system: clean, 1501/32768 files, 96615/131072 blocks
/res/dev/system: clean, 1501/32768 files, 96615/131072 blocks
1
~ #
~ # /sbin/tune2fs -l /res/dev/system
/sbin/tune2fs -l /res/dev/system
tune2fs 1.41.14 (22-Dec-2010)
Filesystem volume name:   <none>
Last mounted on:          /system
Filesystem UUID:          57f8f4bc-abf4-655f-bf67-946fc0f9f25b
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal resize_inode dir_index filetype needs_recovery extent sparse_super large_file
Filesystem flags:         unsigned_directory_hash
Default mount options:    journal_data_writeback
Filesystem state:         clean
Errors behavior:          Remount read-only
Filesystem OS type:       Linux
Inode count:              32768
Block count:              131072
Reserved block count:     0
Free blocks:              34457
Free inodes:              31267
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      31
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Last mount time:          Wed Sep 11 12:07:26 2013
Last write time:          Wed Sep 11 12:07:26 2013
Mount count:              21
Maximum mount count:      -1
Last checked:             Thu Jan  1 02:00:00 1970
Check interval:           0 (<none>)
Lifetime writes:          495 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      dd315316-1aba-11e3-8b54-811c56b6f73a
Journal backup:           inode blocks
~ #

~ # /sbin/tune2fs -l /res/dev/data
/sbin/tune2fs -l /res/dev/data
tune2fs 1.41.14 (22-Dec-2010)
Filesystem volume name:   <none>
Last mounted on:          /data
Filesystem UUID:          57f8f4bc-abf4-655f-bf67-946fc0f9f25b
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent sparse_super large_file
Filesystem flags:         unsigned_directory_hash
Default mount options:    journal_data_writeback
Filesystem state:         clean
Errors behavior:          Remount read-only
Filesystem OS type:       Linux
Inode count:              131072
Block count:              524288
Reserved block count:     0
Free blocks:              64800
Free inodes:              123882
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      127
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Last mount time:          Wed Sep 11 12:07:28 2013
Last write time:          Wed Sep 11 12:07:28 2013
Mount count:              175
Maximum mount count:      -1
Last checked:             Sat Aug 17 21:13:18 2013
Check interval:           0 (<none>)
Lifetime writes:          2365 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      a5cb94d8-fb5a-11e2-9959-e12263214440
Journal backup:           inode blocks

~ # /sbin/tune2fs -l /res/dev/cache
/sbin/tune2fs -l /res/dev/cache
tune2fs 1.41.14 (22-Dec-2010)
Filesystem volume name:   <none>
Last mounted on:          /cache
Filesystem UUID:          57f8f4bc-abf4-655f-bf67-946fc0f9f25b
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr dir_index filetype needs_recovery extent sparse_super large_file
Filesystem flags:         unsigned_directory_hash
Default mount options:    journal_data_writeback
Filesystem state:         clean
Errors behavior:          Remount read-only
Filesystem OS type:       Linux
Inode count:              6400
Block count:              25600
Reserved block count:     0
Free blocks:              24147
Free inodes:              6383
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         6400
Inode blocks per group:   400
Last mount time:          Wed Sep 11 12:07:28 2013
Last write time:          Wed Sep 11 12:07:28 2013
Mount count:              164
Maximum mount count:      -1
Last checked:             Sat Aug 17 01:50:15 2013
Check interval:           0 (<none>)
Lifetime writes:          26 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      88958878-053d-11e3-ba52-a3292028bd74
Journal backup:           inode blocks

~ # /sbin/tune2fs -l /dev/block/mmcblk0p12
/sbin/tune2fs -l /dev/block/mmcblk0p12
tune2fs 1.41.14 (22-Dec-2010)
Filesystem volume name:   <none>
Last mounted on:          /system
Filesystem UUID:          57f8f4bc-abf4-655f-bf67-946fc0f9f25b
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent sparse_super large_file uninit_bg
Filesystem flags:         unsigned_directory_hash
Default mount options:    journal_data_writeback
Filesystem state:         clean
Errors behavior:          Remount read-only
Filesystem OS type:       Linux
Inode count:              32768
Block count:              131072
Reserved block count:     0
Free blocks:              19879
Free inodes:              31133
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      31
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Last mount time:          Wed Sep 11 12:07:26 2013
Last write time:          Wed Sep 11 12:07:26 2013
Mount count:              32
Maximum mount count:      -1
Last checked:             Thu Jan  1 02:00:00 1970
Check interval:           0 (<none>)
Lifetime writes:          579 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      93c2f598-1ac1-11e3-969b-1fba77c8bf8e
Journal backup:           inode blocks
~ #
fd88855
@dorimanx dorimanx ReEnabled discard on all EXT4 partitions! (Trimming) some how it's wa…
…s lost!

~ # mount | grep discard
mount | grep discard
/dev/block/mmcblk0p12 /preload ext4 rw,noatime,nodiratime,discard,journal_checksum,journal_async_commit,noauto_da_alloc 0 0
/res/dev/system /system ext4 rw,noatime,nodiratime,discard,journal_checksum,journal_async_commit,noauto_da_alloc 0 0
/res/dev/system /lib/modules ext4 rw,noatime,nodiratime,discard,journal_checksum,journal_async_commit,noauto_da_alloc 0 0
/res/dev/cache /cache ext4 rw,nosuid,nodev,noatime,nodiratime,discard,journal_checksum,journal_async_commit,noauto_da_alloc 0 0
/dev/block/mmcblk0p1 /efs ext4 rw,nosuid,nodev,noatime,nodiratime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/res/dev/data /data ext4 rw,nosuid,nodev,noatime,nodiratime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic 0 0
~ #

Much better now :)
cbfc9f1
Commits on Sep 13, 2013
@Alucard24 Alucard24 Modified script to support nightmare, darkness and alucard_hotplug! adebe78
@Alucard24 Alucard24 Fixed cpu_up_rate,cpu_down_rate,up_freq,down_freq,up_load,down_load f…
…or hotplugging!
43841e8
@Alucard24 Alucard24 Fixed new hotplug system! otherwise can make problem with intelli_plug! e2e84e2
Commits on Sep 14, 2013
@dorimanx dorimanx Reduced the OOM limit to 82MB free, was 130MB waste of ram. 34710d1
Commits on Sep 15, 2013
@dorimanx dorimanx Revert "ReEnabled discard on all EXT4 partitions! (Trimming) some how…
… it's was lost!"

DISCARD is not supported on new EXT4 Drivers, and not needed.

4>EXT4-fs (mmcblk0p12): mounting with "discard" option, but the device does not support discard
6>EXT4-fs (mmcblk0p12): mounted filesystem with writeback data mode. Opts: noauto_da_alloc,journal_async_commit,discard
6>EXT4-fs (mmcblk0p9): recovery complete
4>EXT4-fs (mmcblk0p9): mounting with "discard" option, but the device does not support discard
6>EXT4-fs (mmcblk0p9): mounted filesystem with writeback data mode. Opts: noauto_da_alloc,journal_async_commit,discard

This reverts commit cbfc9f1.
d57c9ca
@dorimanx dorimanx Allow access to rfkill 4865621
Commits on Sep 18, 2013
@dorimanx dorimanx Changed CPU set to new multi cpu gov define. TNX to @Alucard24
Now CPU gov will be set on 2 cores! and not for cpu0 only.
16d4fcf
@dorimanx dorimanx Fixed ROOT set to disable for 4.3 ROMS.
if using ADB for something, need to type su in adb to get access!

that what i call CM crap.
d9cf14c
@dorimanx dorimanx Cleaned install script. 17e2d9e
Commits on Sep 19, 2013
@dorimanx dorimanx And Dori said there will be ROOT for 4.3 and others, and it was as pr…
…omissed!

In 4.3 ROM need to set ROOT to disabled in settings > developer options

Then SuperSu 1.65 will be activated on next boot!
6f3049d
@dorimanx dorimanx Run ROOT install and load early on boot + cleanups.
Disbaled use of 4.3 Build In ROOT till CM will make it usable for all.
f974da8
@dorimanx dorimanx After Reading info about admin_reserve_kbytes
admin_reserve_kbytes

The amount of free memory in the system that should be reserved for users
with the capability cap_sys_admin.

admin_reserve_kbytes defaults to min(3% of free pages, 8MB)

That should provide enough for the admin to log in and kill a process,
if necessary, under the default overcommit 'guess' mode.

Systems running under overcommit 'never' should increase this to account
for the full Virtual Memory Size of programs used to recover. Otherwise,
root may not be able to log in to recover the system.

How do you calculate a minimum useful reserve?

sshd or login + bash (or some other shell) + top (or ps, kill, etc.)

For overcommit 'guess', we can sum resident set sizes (RSS).
On x86_64 this is about 8MB.

For overcommit 'never', we can take the max of their virtual sizes (VSZ)
and add the sum of their RSS.
On x86_64 this is about 128MB.

Changing this takes effect whenever an application requests memory.

=============

we use the 'guess' overcommit, so 8mb is what we should have.
78345d0
@dorimanx dorimanx Revert "Changed CPU set to new multi cpu gov define. TNX to @Alucard24"
This reverts commit 16d4fcf.

We have found that we cant use that function, and must use the original.

Reverting to restore stability in gov change.
f29bd66
@dorimanx dorimanx Removed Scary CPU GOV from Stweaks. it's broken and old. 2b512c9
Commits on Sep 20, 2013
@dorimanx dorimanx Fixed MEM allocation for SAMMY ROMS. and Frandom perm fix. 21fda4a
@dorimanx dorimanx Improved Profiles RESET on need, and profiles change script. + small …
…restore

restored randomize_va_space 2 for SAMMY it's needed for system.

When i will update something important in scripts that needs profile
reset i will rise the MAGIC number by 1 and all that will install kernel
we have profile reset on boot for one time only!
c936380
@dorimanx dorimanx Profiles reset bug fix :) 4e4139e
Commits on Sep 21, 2013
@dorimanx dorimanx Reduced Voltage for CPU Group 1 by -25mv and fixed terrble error on l…
…ow freqs!

Voltage was too high! 12** and not 10** OPPS!
ca0ebb8
Commits on Sep 22, 2013
@dorimanx dorimanx Reworked ROOT install for 4.3 ROM that installed as SEC ROM + Cleaning. 2bb4700
Commits on Sep 28, 2013
@dorimanx dorimanx Added busfreq_up_threshold_sleep tunning to STweaks to help with wakeup. cd5d8ed
@dorimanx dorimanx Profiles Tuning and small corrections in XML to mach DEFAULT profile. 02eb3c9
@dorimanx dorimanx Force profiles reset on first boot for ONE time. PROFILES CHANGED. ed78778
Commits on Oct 02, 2013
@StanTRC StanTRC create mountpoints for storage 62d231f
Commits on Oct 03, 2013
@StanTRC StanTRC remove duplicate definition of service 'mdnsd' 58a4eb7
@StanTRC StanTRC remove invalid command 'socket'
it's service option. already created in the netd service.
d6a4526
@dorimanx dorimanx Clean dual service MDNS and clean from SEC ROM init too. 8b7e8b7
Commits on Oct 04, 2013
@StanTRC StanTRC create mountpoints for storage in recovery f4efe2f
@dorimanx dorimanx Create /storage/sdcard0 + 1 and remove symlinks 4fc6bba
Commits on Oct 08, 2013
@dorimanx dorimanx Fix Vibrate tuning via ROM controls. Thanks to @StanTrc cb26c19
Commits on Oct 12, 2013
@dorimanx dorimanx INIT mods for ROOT and CPU Group check, + 4.3.1 support as should way. eae5a26
@dorimanx dorimanx Cortex Logics mod. b579a33
@dorimanx dorimanx OOM values to default as in SAMMY Source. 3b6a915
@dorimanx dorimanx Fix DUAL MOUNT delay and mount on boot. e04659e
Commits on Oct 14, 2013
@dorimanx dorimanx Fix all problems with RO root partition. this can be major fix!
Many things can be broken if / is RO in this kernel.
cfe2056
@dorimanx dorimanx Added owner fix for critical kernel folders. ccf9bca
@dorimanx dorimanx Added Support for new PAC 4.3.x ROM. 7c63e13
Commits on Oct 15, 2013
@dorimanx dorimanx Added Hacked SQL for 4.3.x ROMS Thanks to fusionjack@xda c2a063e
Commits on Oct 17, 2013
@voku voku + full sync with dori ... 0bb9532
@voku voku Merge remote-tracking branch 'dorimanx/master' aa6ed44
Commits on Oct 18, 2013
@dorimanx dorimanx Merged all new INITRAMFS changes from CM10.2 Kernel. 6e836c8
@dorimanx dorimanx Set OOM on wake to aggressive set.
2048,4096,8192,16384,24576,32768
c688265
Commits on Oct 19, 2013
@voku voku Merge remote-tracking branch 'dorimanx/master' 07bcb79