Post Reply

[KERNEL][AOSP][LINARO-O3][N8000/N801x][UNDER/OVERCLOCK][FAST CHARGE] MM_alpha-0.4

OP marco9333

23rd September 2014, 10:11 PM   |  #1  
OP Senior Member
Flag Turin
Thanks Meter: 94
 
155 posts
Join Date:Joined: Feb 2009
More
Hi guys,
since we haven't got any kernel for our omni roms I've decided to make one. For now it's just an alpha but to me seems pretty stable I'm releasing here as a test. Please report what do you think. It's based on "stock" omni kernel with overclock (for now I'm using this commits https://github.com/marco9333/android...79ac1ef720a630 and https://github.com/marco9333/android...049b4a6bf59fac but from next release I'll try @humberos commit https://github.com/humberos/android_...6b58ff64f0c596 as he suggested See changelog below).

I've tested on Omnirom and @nerdyblonde reported it is working on Carbon, feel free to try on any AOSP based rom (not Samsung or Samsung based)

Features:
  1. An awful name (I'll try to find a better one)
  2. Different versions for n8000 and n801x
  3. Overclock up to 1600Mhz (booting max freq is 1400Mhz) and underclock to 100 Mhz (booting min freq is 200 Mhz) -> version 0.2 and newer
  4. I've added a (temporary) my commit https://gerrit.omnirom.org/#/c/9555/2 to force cpu frequency range to stock values (I'll decide about merging this in omni rom official builds)
  5. Version 0.1 built with different flags and toolchains but from the next one I'll use only linaro (maybe I'll try sabermod too) See below
  6. See changelog

TODO:
  1. Add fast-charge -> I've almost finished this, I hope to post an update soon (maybe today) DONE
  2. Add underclock (100 Mhz, see humberos commit above) Done.... version 0.2 and up See below
  3. Change installing script to solve possible dialer problems with some roms (unpack modify and repack original boot.img I'll use https://github.com/ModdingMyMind/boot_manipulation but I'll need some time)
  4. Add more schedulers and/or governors (???)
  5. Tell me what would you like to have and I'll think about that
  6. Add thanks to all the developers

DIRECT DOWNLOADS Version 0.4 (latest):
N8000 -> https://www.androidfilehost.com/?fid=95747613655041727
N801x -> https://www.androidfilehost.com/?fid=95747613655041728

DOWNLOADS FOLDER: https://www.androidfilehost.com/?w=files&flid=19342

HOW TO INSTALL
(*optional) Make a backup (or just keep the original rom zip so you can reflash that to go back to stock omni without losing data)
(*not optional) Use this at your own risk I don't take responsibility for any crash, excessive heat, forced reboot, and whichever problem you could have
Flash the zip in recovery, no need to wipe anything, reboot


Thanks to:
* Omnirom team
* @iofthestorm (is the one who ported and made our devices official with omni)
* @humberos (underclock)
* @Lord Boeffla (overclock)
* @Christopher83 (I'm using his toolchains)
* See my sources on github
Last edited by marco9333; 12th October 2014 at 09:57 AM. Reason: Update
The Following 8 Users Say Thank You to marco9333 For This Useful Post: [ View ]
23rd September 2014, 10:11 PM   |  #2  
OP Senior Member
Flag Turin
Thanks Meter: 94
 
155 posts
Join Date:Joined: Feb 2009
More
CHANGELOG


Version 0.1
Initial release

Version 0.2
Added frandom(See https://github.com/Ryuinferno/frandom-android for reference)
Added underclock down to 100Mhz (Thanks to @humberos)
Added more build flags (Check http://forum.xda-developers.com/show...00&postcount=9 for reference)

Version 0.3
Added fastcharge support in kernel drivers(need some testing to check the best currents) -> Disabled by default but can be enabled anytime without reboot(Maybe an entry in Advanced settings??? See next post)
https://github.com/marco9333/android...3f66d5e411c88b
Added support for ntfs and exfat filesystems https://github.com/marco9333/android...bc801dc6222b09
Now powerkey should switch the screen on faster (no lag between pressing and screen on) All credits to https://github.com/dsc-team/dsc-team-kernel-project Not working
Added some patches from linaro, they should give more battery juice-> got about +400 points with antutu if you believe in benchmarks... I don't

Version 0.4
Changed mounts flags for system,data,cache and preload (with antutu I had about 300 for storage I/O now is around 980-989 with cfq, got better result with row, test it if you find some improvements)
Added some patches from linaro (see my github)
Increased i2c speed with wacom digitilizer(I'll test this tomorrow)
Increased sampling rate of wacom digitalizer (S-PEN should beis smoother (IMHO))
Added init.d script editable by user to set cpu frequency,fast charge and s-pen tweaks(for now)
Fixed Broken charging animation when the tablet is off (I will merge this into official omnirom after some testing, maybe I'll release here before as a preview, if you're curious https://gerrit.omnirom.org/#/c/9658/) Merged into omnirom, if you're using omnirom now this fix is present "by default", if you have another rom the fix is still installed with the kernel (Report if not working)
Backported xpad driver (xbox, xbox 360 and xbox one controller support) from linux 3.17 (Needs testing)
Backported ps2, ps3, ps4 driver from linux 3.17 (Needs testing)
Other minor changes

Source: https://github.com/marco9333/android...msung_smdk4412 and https://github.com/marco9333/android...g_n80xx-common
Last edited by marco9333; 12th October 2014 at 09:40 AM. Reason: Update
The Following 2 Users Say Thank You to marco9333 For This Useful Post: [ View ]
25th September 2014, 06:05 PM   |  #3  
OP Senior Member
Flag Turin
Thanks Meter: 94
 
155 posts
Join Date:Joined: Feb 2009
More
How to temporary enable fastcharge

You need a rooted device but since you're using a custom rom I assume that you have it
  1. Download a terminal emulator app on google play store
  2. Open it, write su and press enter(superuser or supersu should popup, grant root access)
  3. Write echo 1 > /sys/kernel/fast_charge/fast_charge to enable
  4. Write echo 0 > /sys/kernel/fast_charge/fast_charge to disable
  5. Done

This settings will be reset on startup, if someone is interested I can write a init.d script to set fast_charge on boot just let me know DONE. See below

Stock charging settings AC -> 1800 mAh USB -> 600 mAh
Fast charging settings AC ->1900 mAh USB -> 1500 mAh

How to set kernel parameter on boot (Version 0.4 and up)
  1. You need root and a root browser (like https://play.google.com/store/apps/d...ot.browserfree)
  2. Go to /system/etc/init.d and open 99mm_alpha file (it's a plain text file)
  3. All the settings are commented
  4. First section is for cpu frequency set on boot (by default max freq is the stock one so no overclock, try to set it with a kernel app, if everything is alright you can after modify this file)
  5. The second section is about wacom pen, choose the sampling rate you prefe: higher means more smoothness, but possible higher battery consumption
  6. Last section is for fast charge change the 0 in the last line with a 1 to get fast charge enabled at each boot (you should have echo 1 > /sys/kernel/fast_charge/fast_charge)
Last edited by marco9333; 12th October 2014 at 09:34 AM.
25th September 2014, 11:36 PM   |  #4  
smuvman's Avatar
Senior Member
Flag Manchester
Thanks Meter: 79
 
741 posts
Join Date:Joined: Dec 2007
More
This is just for omni Rom correct? I rub carbon rom but I'd like to try it.

Sent from my Note 3's big ass screen
Last edited by smuvman; 25th September 2014 at 11:38 PM.
26th September 2014, 12:24 AM   |  #5  
OP Senior Member
Flag Turin
Thanks Meter: 94
 
155 posts
Join Date:Joined: Feb 2009
More
Quote:
Originally Posted by smuvman

This is just for omni Rom correct? I rub carbon rom but I'd like to try it.

Sent from my Note 3's big ass screen

I haven't got time to try on other roms but should work with every AOSP based (like Carbon). You can always try it just flash in recovery: if the boot is ok then it's working, if you got a bootloop you can go to recovery and reflash the whole rom without wiping so you won't lose your data (I think doing a backup is better, just in case)
26th September 2014, 02:14 AM   |  #6  
nerdyblonde's Avatar
Senior Member
Flag Virginia
Thanks Meter: 222
 
298 posts
Join Date:Joined: Mar 2013
More
I can confirm the kernel works on Carbon Rom.. Underclocking works great... I don't overclock though.. Thanks for compiling this for us!
The Following User Says Thank You to nerdyblonde For This Useful Post: [ View ]
26th September 2014, 02:43 AM   |  #7  
smuvman's Avatar
Senior Member
Flag Manchester
Thanks Meter: 79
 
741 posts
Join Date:Joined: Dec 2007
More
Thanks for taking the time to create it and thanks nerdy for testing

Sent from my Note 2's big ass screen
26th September 2014, 05:49 AM   |  #8  
smuvman's Avatar
Senior Member
Flag Manchester
Thanks Meter: 79
 
741 posts
Join Date:Joined: Dec 2007
More
Unfortunately can't get it to run. Keep getting this fc error.
Running latest carbon rom. I'll wait for the next version. Thanks though. Btw I have the N8013
Sent from my Note 3's big ass screen
Name:  uploadfromtaptalk1411706904740.jpg
Views: 818
Size:  53.1 KB
26th September 2014, 10:14 AM   |  #9  
OP Senior Member
Flag Turin
Thanks Meter: 94
 
155 posts
Join Date:Joined: Feb 2009
More
Quote:
Originally Posted by smuvman

Unfortunately can't get it to run. Keep getting this fc error.
Running latest carbon rom. I'll wait for the next version. Thanks though. Btw I have the N8013
Sent from my Note 3's big ass screen
Attachment 2950595

Phone fc is quite strange since you are using a n8013 which don't have a modem. In n801x version of the kernel isn't included the modem driver, so this is the cause of that force close IMHO. You can try two things:
Go to settings-> apps-> all-> dialer-> disable -> reboot and check (now phone app is disabled so it shouldn't crash since is not running)
Or download and flash n8000 kernel. (with the modem drivers so the process can't complain anymore)
26th September 2014, 11:18 AM   |  #10  
nerdyblonde's Avatar
Senior Member
Flag Virginia
Thanks Meter: 222
 
298 posts
Join Date:Joined: Mar 2013
More
I have a N8013 as well.. I didn't get any force closes.. I uninstall all system apps I don't use, the dialer being one of them.. I flashed thru TWRP.. Hope you get it working

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy Note 10.1 Android Development by ThreadRank