[KERNEL][AOSP][LINARO-4.8-O3][N80xx][UNDER/OVERCLOCK][FAST CHARGE] MM_alpha-0.6 - Galaxy Note 10.1 Android Development

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/androi...mmit/1d75a501447e609dbb412c350d79ac1ef720a630 and https://github.com/marco9333/androi...mmit/36cf4ca9c78144f336dad4af88049b4a6bf59fac but from next release I'll try @humberos commit https://github.com/humberos/android...mmit/5f768f943d0c420860575e22756b58ff64f0c596 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 based)
Features:
An awful name (I'll try to find a better one)
Different versions for n8000 and n801x
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
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)
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
See changelog
TODO:
Add fast-charge -> I've almost finished this, I hope to post an update soon (maybe today) DONE
Add underclock (100 Mhz, see humberos commit above) Done.... version 0.2 and up See below
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)
Add more schedulers and/or governors (???)
Tell me what would you like to have and I'll think about that
Add thanks to all the developers
DIRECT DOWNLOADS Version 0.6 (LATEST):
N8000 -> https://www.androidfilehost.com/?fid=95784891001603463
N801x -> https://www.androidfilehost.com/?fid=95784891001603462
Link to version 0.5 are removed -> Some tweaks weren't included in the zip so I'm releasing a new version. See second post for changelog
Previous version 0.4:
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​

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/showpost.php?p=36693600&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/androi...mmit/b3e4981b88be28d59ab01052cf3f66d5e411c88b
Added support for ntfs and exfat filesystems https://github.com/marco9333/androi...mmit/27b3a545c6651fc89fd8a1eaf0bc801dc6222b09
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
Version 0.5
Fix for camera recording and hd video playing (waiting approval approved and merged into official omnirom -> https://gerrit.omnirom.org/#/c/9943/ and https://gerrit.omnirom.org/#/c/9944/)
Reduced hdmi out resolution to 720p and set hdmi audio to 2ch (Quite useless now since hdmi isn't working)
Introduced compiler flags from JustArchi's github and switched to linaro-4.8.4 (should give a performance boost)
Version 0.6
Enabled previous added SMT (http://en.wikipedia.org/wiki/Simultaneous_multithreading)
Patches for conservative and ondemand governors
Added zzmoove governor
Enabled more governors (interactive and adaptive)
Other small changes (check my github)
​Source: https://github.com/marco9333/android_kernel_samsung_smdk4412 and https://github.com/marco9333/android_device_samsung_n80xx-common

How to temporary enable fastcharge​You need a rooted device but since you're using a custom rom I assume that you have it
Download a terminal emulator app on google play store
Open it, write su and press enter(superuser or supersu should popup, grant root access)
Write echo 1 > /sys/kernel/fast_charge/fast_charge to enable
Write echo 0 > /sys/kernel/fast_charge/fast_charge to disable
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)​
You need root and a root browser (like https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree)
Go to /system/etc/init.d and open 99mm_alpha file (it's a plain text file)
All the settings are commented
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)
The second section is about wacom pen, choose the sampling rate you prefe: higher means more smoothness, but possible higher battery consumption
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)

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

smuvman said:
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
Click to expand...
Click to collapse
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)

I can confirm the kernel works on Carbon Rom.. Underclocking works great... I don't overclock though.. Thanks for compiling this for us!

Thanks for taking the time to create it and thanks nerdy for testing
Sent from my Note 2's big ass screen

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
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

smuvman said:
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
View attachment 2950595
Click to expand...
Click to collapse
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)

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

Ok that would make sense since I never uninstalled the dialer app. Never needed to lol I will try and report back. Thanks.
Sent from my Note 3's big ass screen

Yea! That did the trick! Thanks guys. Now to tweak!
Sent from my Note 10.1 aka my Mobile Porn Storage Unit

Way to go Marco!! Downloaded and flashed!

Unfortunately this doesn't work on CM11. Tested, and android.phone FCs. :/

Spectral1991 said:
Unfortunately this doesn't work on CM11. Tested, and android.phone FCs. :/
Click to expand...
Click to collapse
If you're using n801x check post #9 http://forum.xda-developers.com/showpost.php?p=55679855&postcount=9

marco9333 said:
If you're using n801x check post #9 http://forum.xda-developers.com/showpost.php?p=55679855&postcount=9
Click to expand...
Click to collapse
I'm using n8000. Tried flashing the related kernel file as well. Still not working on latest CM11.

Spectral1991 said:
I'm using n8000. Tried flashing the related kernel file as well. Still not working on latest CM11.
Click to expand...
Click to collapse
Have you tried to clean Dialer data??

marco9333 said:
Have you tried to clean Dialer data??
Click to expand...
Click to collapse
Couldn't even get there. The FCs happen too quickly. After closing a dialog it immediately appears.

When the message appear do not close the dialog but try to pull down the quicksettings and go to settings from there... If this won't work I'll add a script to kernel zip to clean dialer data (if possible) so you can easily flash directly without further actions
Sent from my Nexus 5 using XDA Free mobile app

Thanks for this Marco, it works great here- Omnirom on a n8013. :good:
Is there any chance you might take over the omnirom development now that iofthestorm is out of the loop? He mentioned he was up for helping someone who was willing to continue the work on it.

Related

[Kernel] CM7/MIUI Platypus (Voodoo Sound v8, Color, OC/UV, LED, & more!) [05/03/2011]

[Kernel] CM7/MIUI Platypus (Voodoo Sound v8, Color, OC/UV, LED, & more!) [05/03/2011]
CM7/MIUI Platypus kernel.
Sound, Color, Nodebug, and more!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Before going any further, please know this is for CM7 Gingberbread 2.3.3/MIUI ONLY.
​ DISCLAIMER: The kernel (binary) and driver modules are provided as is. If problems occur they most probably are from upstream and can be fixed with the newest version. Since I'm doing this in my free spare time as a hobby (quenching my thirst for tweaks & performance.), updates will occur irregularly as time permits and I see fit. (Most probably when new features & bug-fixes arrive.) YOU are responsible for the actions that you take (such as over- or underclocking), etc. You agree that I can not be held liable for any potential damage that arises from your actions in combination with or the usage of this kernel and other related parts.
Credits:
Google & the whole Android crew.
Linus Torvalds & the kernel hackers for upstream Linux.
Cyanogen & all the devs out there hacking on this.
Supercurio for enriching our media experience of this smartphone.
codeworkx, coolya, guiper.
laststufo & hardcore and all the other kernel hackers on the SGS forum.
zen-kernel team for inspiration to create a kernel, too.
all other contributors (devs, users, etc.) who make this possible.
Main features:
Voodoo Sound v7. - Need I say more?
Ext4 - Stability and data integrity fixes.
SLQB - For more a efficient & faster handling of files in memory.
Voodoo Color. - Again, you should know this by now.
LEDNotification. - Not "BLN" - No app required - Use CM quiet hours for scheduling. (Thanks to bilboa1)
Kernel, App, and Network Security.
Disabled kernel DEBUG. - Disabled DEBUG in kernel code.
Overclocking/Undervolting. - 1.3Ghz max.
Extra governors. - Smartass, Interactive.
Various tweaks. - JPX screen timings.
More information here: http://pastebin.com/LNUu3TM3
Changelog:
Working external SD card access & usb tethering
Working auto-rotation and sensors (check it's on; if not working: 1st boot: Power button press 10+ seconds -> forced reboot/hard reset)
CONFIG_HZ @250 USER_HZ @150 (like "rocketeer")
Almost feature-complete (like "rocketeer")
Added ported new bcm4329 (WIFI) drivers from intersectRaven's 2.6.37.6 kernel - kudos to him (Supposedly less battery consumption)
Better reception quality. (Less noise) with new WIFI drivers.
More info on changelog here; http://forum.xda-developers.com/showpost.php?p=11846546&postcount=3
Download:
Changelog:
(05/03/2011) Changes [from 05/01] for CM7_SGS_platypus-kernel_20110504_r0_quorra-r5 (needs new drivers)]
[matches with 05042011 and 05032011 update from CM7]
• AIO re-enable (whatever uses that)
• oabi-support deactivated [less overhead] (need feedback on [old !] apps breaking)
• OOM rework [better memory management & out of memory handling, need feedback]
• light sensor polling interval from 0.2 s to 1 s
• new CodeSourcery toolchain 2011.03 [better & more efficient code, less battery usage with new compiler flags]
• some more GPIO improvements from upstream (potential battery savings, probably especially for CAPTIVATE & VIBRANT) [sdcard & audience-chip related]
• FFcamera fixes from upstream [camera app still hanging while trying to take pics; better picture ?]
• WIFI fix / improvement: Clean ARP offload table on IP update
• deactivated GPU debug stuff
• doubled size of Kernel log buffer size for easier troubleshooting
• disabled Android kernel panic handler (we have last_kmsg for that)
• disabled CONFIG_DM_UEVENT [udev ?! not needed on Android], less events, less overhead, more (?) battery runtime
• enabled TRACE_UNDERRUN for s3c fb (stability)
• enabled CONFIG_SCHEDSTATS for better research on what is nagging our battery
• enabled "null" encryption key/algorithm for IPSec support
• enabled NTFS read & write support (basic)
• circumvented a compiler bug to let it compile with more optimized flags with cache size in mind [need feedback if these affect battery runtime negatively]
• fixed WIFI compile failure (2 array problems this time for good; kudos to LeeDroid for his help !)
• deactivated SYSVIPC (less overhead and we don't have it available on Android)
1) Quorra r5 [(probably) NOT compatible with MIUI (MIUI needs new sensor drivers, depending on MIUI release)]
1st mirror:
CM7_VIBRANT_platypus-kernel_20110505_r0_quorra-r5_toolchain.zip (thanks to Roland for hosting !)
2nd mirror:
XDA - post (attachment)
3rd mirror:
CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4.zip (5.16 MB)
md5sum:
e0014f786475fab7cee3cb084c656602 CM7_VIBRANT_platypus-kernel_20110505_r0_quorra-r5_toolchain.zip
1) Quorra r5 [INTERACTIVE] [(probably) NOT compatible with MIUI (MIUI needs new sensor drivers, depending on MIUI release)]
1st mirror:
CM7_VIBRANT_platypus-kernel_20110505_r0_quorra-r5_toolchain_INTERACTIVE.zip (thanks to Roland for hosting !)
2nd mirror:
XDA - post (attachment)
3rd mirror:
CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4_INTERACTIVE.zip (5.16 MB)
md5sum:
12d3a8d3204ad0053e6c447055181af6 CM7_VIBRANT_platypus-kernel_20110505_r0_quorra-r5_toolchain_INTERACTIVE.zip
FAQ:
Q: I get a black screen after first boot, after some time, only bottom buttons light up.
A: Keep power button + home + vol up pressed until it reboots and it shows samsung galaxy s logo.
Hold it for some seconds shortly before the Cyanogenmod splash appears (Timing!) [Same like getting into Recovery]
Wipe /cache & Dalvik Cache again & "reboot system" - now it should work
Q: Auto-rotation isn't working, what's wrong?
A: Check that it's enabled in settings or the notification power widget. If all else fails, press the power button down 10+ seconds until it 'hard' reboots. (Ignore appearing power menu.)
Removed post
this works for MIUI, so why does it say..
Before going any further, please know this is for CM7 Gingberbread 2.3.3 ONLY.
The post i posted at first was regaruding that lol
Sent from my SGH-T959 using Tapatalk
xriderx66 said:
this works for MIUI, so why does it say..
Before going any further, please know this is for CM7 Gingberbread 2.3.3 ONLY.
Click to expand...
Click to collapse
sTyLeSz said:
The post i posted at first was regaruding that lol
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
thanks guys !
just changed that in my main thread from
[CM7] to [CM7/MIUI]
thanks !
@theexel:
please also updated
zacharias.maladroit said:
thanks guys !
just changed that in my main thread from
[CM7] to [CM7/MIUI]
thanks !
@theexel:
please also updated
Click to expand...
Click to collapse
Done. Updated!
Very nice. Test driving conservative, feels nice.
wow! CM7 with ext4, damn. ow I'm really getting interested to CM7.
Sent from my SGH-T959 using XDA App
I had three reboots running this today. The first two occurred when I opened apps, (a game and a streaming radio app). The third time was when I took a phone call. After the third reboot I couldn't get a cell signal, even after a couple of reboots/trying to select a network manually. Ended up having to flash a different kernel to get the phone working again. Before these issues, however, it was running great, and seemed to perform better than my current kernel... not sure what got in to it. Will wipe and try it again!
iynfynity said:
wow! CM7 with ext4, damn. ow I'm really getting interested to CM7.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
it's actually fixes for ext4
and ext4 afaik is only used on /data
something to play around for you guys - the following should cut battery consumption approx. by half:
Only for experienced users (!):
Testing request (potential better idle battery runtime):
ok guys,
please test the following:
extract 89system_tweak
from the kernel update package and change following line:
from
Code:
setprop pm.sleep_mode 1;
to
Code:
setprop pm.sleep_mode 0;
(have a backup of the kernel update package)
then delete 89system_tweak in that update package and replace it with the modified one
experience in the past showed that when changing from
setprop pm.sleep_mode 1;
to
setprop pm.sleep_mode 2;
battery runtime got worse
so changing it to the highest battery saving level (0) it should improve things
for best results & if it works you can try to use JVK modem (were usable)
that gave me the best idle and overall battery runtime so far
thanks !
Click to expand...
Click to collapse
Is this kernel going to get updated with the latest cm7 nightly?
Sent from my SGH-T959 using XDA Premium App
hitman818 said:
Is this kernel going to get updated with the latest cm7 nightly?
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
I see no kernel updates at the repo
so it's already up-to-date
So if I flash the kernel the fixes will still be applied with the latest nightly?
Sent from my SGH-T959 using XDA Premium App
hitman818 said:
So if I flash the kernel the fixes will still be applied with the latest nightly?
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
well,
found the changelog in the captivate CM7 thread
Changelog:
20110415:
- Fixed potential deadlock when sharing 2 SD cards over USB.
- Updated to new wifi driver, has better noise and power characteristics.
Click to expand...
Click to collapse
the 1st should be only system-related
the 2nd is already included in my kernel
so the short answer: yes, should work
What's the difference between the two downloads you have posted here?
Sent from my SGH-T959 using XDA Premium App
OT Just 4 Fun!
Getting random reboots opening pulse and websites anyone else?
i am testing this right now, i'll let you know how this work on the vibrant, because it looks like this was made on the I9000 forums.
Just out of curiosity, what is the difference between this kernel and bilboa's CM7 kernel?

[ROM][KitKat] CM11.0 for the LG Optimus 2x (P990)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CM11 for the LG Optimus 2x (P990)
This is the final CM11 built for our beloved LG 2x.
I'm providing two builds, a bcmdhd and a bcm4329 one. The former works with the 3.1 kowalski or Firtecy alpha kernel, the latter with the 2.6.39 M1 kk (by the legendary @pengus77).
This ROM received a final update at the 3rd of July 2015 which is based on the final CM11 snapshot XNG3C
The purpose of this ROM was to provide a kitkat reference ROM close to CM11 and there are currently no plans for any additional builts.
Myself and others managed to track down various bugs in the past. I spent tons of hours on hunting bugs and can't keep this up anymore, so please do not expect any of the current bugs (HDMI, BT calls etc.) to be fixed unless someone else decides to work on it.
All of my work is completely open-sourced at Github to encourage others to continue working with the sources or use them as a reference.
You can find ready-to-build manifests here: https://github.com/p990-dev/android_manifest.​
As Cyanogenmod dropped our device quite some time ago (the last thing we had was an extremely unstable CM10.1 build) I had to add various tweaks, customizations and hacks over the year to ensure compatibility with our old (ICS) binaries and maximum performance within our low ram environment.
My modifications to stock CM11:
Implemented an automatic time fix for the new P990 and SU660 Basebands
Implemented an option to "Enforce statusbar transparency" at Settings - Performance (afaik this is a unique feature for this ROM!)
Various device specific fixes (wifi tethering, GPS, seach key, automatic brightness, bluetooth etc.)
Implemented additional hardwarekeys options
Screen off
Open power menu
Toggle last app
Toggle torch
Take screenshot
ROM adjusted for two different kernel builds:
3.1 kernel version which includes the kernel by @Firtecy (based on the 3.1 kernel by @pengus77) with dcmdhd wifi drivers
legacy 2.6 ("m1") kernel version by the great @pengus77 with bmc4329 wifi drivers
Comes with my selfcreated non-neon mini gapps package
SELinux disabled
Included BarcodeScanner and feav's signedCameraApp3_ nosound _CM101 camera
Vibration strength lowered
And of course last but not least the fixes for tegra2 (non-neon) compatibility thanks to the great @hjunii
As the P990 is quite outdated by now hardware-wise we need to tweak the build to gain a satisfactory performance, especially for our extremely low amount of free RAM.
Over the time I introduced various improvements to the ROM, most notably:
Performance improvements:
ARM modules compiled with Os (gives us a bit more free RAM)
Adjusted dalvik properties for low RAM environments
OOM (out-of-memory) and LMK (low memory killer) optimizations
Memory ADJs optimized
KSM (m1 kernel) / PKSM (3.1 kernel) tweaked and enabled by default
ROM compiled with GCC4.8
ZRAM increased
/data and /cache mountoptions optimizations
TARGET_ARCH_LOWMEM flag
Dalvik bytecode verification turned off
JIT disabled
Please note that all the information in post 3 is outdated by now, it contains some former changelogs but doesn't contain information for the final builds.
As always, donations to me are never expected or required but always appreciated.​
Download:
https://basketbuild.com/devs/tonyp/P990/CM11
Installation:
Download the ROM
Reboot ro recovery
Do a full wipe
(if you're upgrading from a previous CM11 build you can skip this, although it's still stringly recommended!)
Wipe /system
Flash the zip
Reboot
Recommended Confirguration:
Kernel Control:
CPU: Min: 120Mhz, Max: 1400Mhz
(your device might be unstable with these settings! Test it properly!)
Govenor: interactive (snappier) / dyninteractive (better battery)
Shed Power Savings: Max
ZRAM: keep default at 110MB
SDCard readaheads: 512KB (scheduler: row)
Memory Killer (OOM) Settings: I'd recommend to use the default ones, but you could try Middle / Aggressive, too
Last but not least: dynamic fsync gives the device a nice performance boost, but you're risking data corruption (aka: you might have to do a full wipe).
If you want to use it make sure the ROM runs stable and you have a backup ready before activating it.
Kowalski Manager (M1 bcm4329 version only)
Ensure "auto-hotplug" is activated in the Kowalski manager or you'll have bsods!
Enable PSP power saving mode
Enable Max Load Balance PM
General recommendation:
Settings - Wifi - Menu - Advanced:
Make sure the following options are disabled: Network Notification, Scanning always available, Avoid poor connections
Keep Wi-Fi on during sleep: only when plugged in
M1 kernel version: Ensure Wi-Fi optimization is turned off - it's incompatible with bcm4329!
Settings - Lock Screen - Clock widget - Weather panel - Disable weather (drains battery)
Do NOT use Facebook or Chrome, they're both extremely memory hungry
Known Bugs:
(affects all custom ROMs, mostly related to LG/Nvidia/Google dropping support and us using ICS (Android 4.0) binaries for an Android 4.4 ROM).
Bluetooth Calls not working due to bluedroid/kernel incompatibilities
If you need to use BT calls you have to use a Stock / CM10 ROM or one of my CM10.1 builds where I backported bluez to replace the buggy bluedroid stack
Some BT devices suffer from the A2DP Bluetooth Fast-Forward bug (again, related to the bluedroid stack in combination with our kernel)
HDMI rotation not working
(the only way to fully use HDMI will be a Stock ROM (or Android 2.3-based CM7 ROM)
Occasional mobile data drops, e.g. when disabling the flight mode -> toggling mobile data or 2g/3g or a reboot fixes the issue
Bugs in bcm4329 (m1 kernel version)
Screen off - flash on automatic brightness
Statusbar data traffic indicators not working
Wifi tethering might require a prior full wipe to work
Bugs in bcmdhd (3.1 kernel version)
Camera rotation bug (image may be upside down in preview, video recording most likely not working) (kernel issue)
Wifi tethering only working without encryption (search the thread for "tethering" for more info)
Wifi crashes for some users -> reboot fixes it (kernel issue)
Credits:
This ROM wouldn't be possible without the help of a lot of great people, including:
@hjunii for his CM11 and 3.1 kernel bringup
@pengus77 for his awesome kernels
@Firtecy and @DJNoXD for their help in development
@BS86 for providing the builds, maintaining the thread and his great overall support
@echo_21 for helping to debug various issues (most notably automatic time and GPS)
@aremcee and Cyanogenmod for their work
@spyrosk for the bootloader converter and AIO toolkit
@basketbuild for their free hosting
Introduction:
So well, here we are. The ROMs are only built from tonyp's Sources! They are not my work!
Basically, the ROMs come either in bcmdhd-wifi-compatibilty (3.1) or in bcm4329-wifi-compatibility (Kowalski M1) - look into the specific folder!
For the wise guys who flash the opposite kernel and claim that both kernels work on the same build: try wifi and see
I did a dirty flash to change from bcmdhd to bcm4329 and it went with no issues, but if you encounter issues while switching compatibilities, do a full wipe!
EDIT: wifi tethering is only working after full wipe!
They are designed for New Bootloader, but apparently, the bcm4329-one can be converted to oldbl and flashed with CWM!
Do not judge battery performance during the first 3-5 normal charge cycles! It takes some time to cool down - use better battery stats if you still have drain-issues afterwards!​Installation instruction:
First installation:
(Coming from any other ROM except CM11)
Download the ROM
Do a full wipe
Wipe /system
Wipe Cache and Dalvik Cache
Flash the zip with your recovery
reboot
Update Installation:
Download the zip
Flash zip with recovery
Reboot
You do not need to install gapps! They are included.Downloadfolder:
https://s.basketbuild.com/devs/BS86/P990/CM11%20by%20tonyp​Changelog:
starting from 20140523-build:
Code:
Changes in cm-11-20140526-UNOFFICIAL-p990.zip
- resynced to CM11-stable repository of May 26
- tonyp's zRAM patch
Changes in cm-11-20140527-UNOFFICIAL-p990.zip
- resynced to CM11-stable repository of May 27
- removed Maps due to constant force closing (install from playstore)
- tonyp's CPU default Frequency fix
Changes in cm-11-20140601-UNOFFICIAL-p990.zip
- resynced to CM11-stable repository of June 1
- back to Kowalski M1 compatibility (breaking 3.1.10-compatibility)
Changes in cm-11-20140613-UNOFFICIAL-p990-bcm4329.zip and cm-11-20140614-UNOFFICIAL-p990-bcmdhd.zip
- resynced to CM11 M7
- removed omni's Performance settings
- Performance Control preincluded
Changes in cm-11-20140713-UNOFFICIAL-p990-bcmdhd.zip and cm-11-20140716-UNOFFICIAL-p990-bcm4329.zip
- resynced to CM11 M8
- Android 4.4.4
- reverted transparent status bar
- added tonyp's memory management-optimizations
- set default zRAM-size to 110MB instead of 60MB
- removed torch app (buildbreaker)
If you encounter issues:
Provide logs (for how to create logs, see here)
and specify your ROM-version and kernel​Known bugs:
If a bug is only listed for one kernel, it only occurs there!
Bluetooth Calls not working
HDMI not working
Performance Controls settings not sticking after reboot. - Activate "use init.d script" in its app settings in addition to "set on boot"
mobile data-connection may drop, activate and deactivate airplane mode to solve that
Bugs in bcm4329
Screen off - flash on automatic brightness
No 0-percent battery level shutdown
no traffic indicators
wifi tethering only working after full wipe when changing ROM-compatibility
phone MAY BSOD when connecting charger --> set auto-hotplug to "on" in Kowalski Manager
Bugs in bcmdhd
Camera rotation bug (image may be upside down in preview, video recording most likely not working)
Wifi tethering not working
Wifi may crash and not connect any more --> reboot fixes it (kernel issue)
​
bcm4329 build booting and stable :good:
If someone has success in converting the bcm4329 build with using the converter from here and flashing the oldbl-M1 kernel, please let me know!
I do not have the oldbl on my device and therefore won't test on my own!
BS86 said:
Installation instruction:
First installation:
(Coming from any other ROM except CM11)
Download the ROM
Do a full wipe
Wipe /system
Wipe Cache and Dalvik Cache
Flash the zip with your recovery
reboot
Click to expand...
Click to collapse
I would not recommend to wipe system, because:
1. It will be wiped in the installation process anyway and
2. If I remember correctly, than the check for the right device will fail. (I think the updater-script will check the build.prop for the right device codename.)
Gesendet von meinem LG-P990 mit Tapatalk​
If you did a dirty flash to the M1 build make sure to go to:
Settings - Wi-Fi - Advanced - and uncheck "Wi-Fi optimization"
This doesn't work with bcm4329 and might have negative side effects. Use the Kowalski Manager in the M1 build for power saving options.
I'd recommend to disable "Scanning always availabe" as well as it can hold wakelocks and drain battery.
Can someone who did a full wipe please tell me if the Wi-Fi optimization option is disabled by default (full wipe only).
This commit should take care of that but I'd like some confirmation.
Edit: @Surplus confirmed it is disabled as intended :good:
@Firtecy: The advantage of wiping /system is it gets rid of some scripts which could elseways keep files in the /system partition.
This is especially crucial if someone flashed the official (neon-only) gapps package, without the wipe /system he will have leftovers which can cause FCs, e.g. in the keyboard.
So indeed, I recommend to always do a format /system after a full wipe unless you know that you don't need it (aka not the standard user hehe).
Yes, it disables (not: fails) the device check, but I cincerely hope that people know by now this is for the LG 2x P990 newbl
Nice job MASTERS ,thanks :thumbup:
Sent from my LG-P990
tonyp said:
Can someone who did a full wipe please tell me if the Wi-Fi optimization option is disabled by default (full wipe only).
This commit should take care of that but I'd like some confirmation.
Click to expand...
Click to collapse
Did a full wipe and its disabled for me.
Haven't tried m1 version but 3.1 kernel version works very fluid so far with kowalski modified kernel by firtecy...using 32mb ramhack...very good...
Sent from my LG-P990
oldbl conversion
BS86 said:
If someone has success in converting the bcm4329 build with using the converter from here and flashing the oldbl-M1 kernel, please let me know!
I do not have the oldbl on my device and therefore won't test on my own!
Click to expand...
Click to collapse
Using the ROM tool, adding oldbl-M1 kernel and making a ROM for oldbl went fine BUT
TWRP 2.6.0.0. and TWRP 2.6.3.0 both failed to install the converted ROM with the following error messages:
------------------------------------------------------------------------
symlink: some symlinks failed
Error: Error executing updater binary in zip
Updating partition details
------------------------------------------------------------------------
mrjeff said:
Using the ROM tool, adding oldbl-M1 kernel and making a ROM for oldbl went fine BUT
TWRP 2.6.0.0. and TWRP 2.6.3.0 fail to install with the following error messages:
------------------------------------------------------------------------
symlink: some symlinks failed
Error: Error executing updater binary in zip
Updating partition details
------------------------------------------------------------------------
Click to expand...
Click to collapse
Have you used oldbootloader when installing?recovery/partition?
Sent from my LG-P990
ivaneris said:
Have you used oldbootloader when installing?recovery/partition?
Sent from my LG-P990
Click to expand...
Click to collapse
Yes absolutely, I am on the oldbl.
mrjeff said:
Yes absolutely, I am on the oldbl.
Click to expand...
Click to collapse
This is for new bootloader only.
old bl
SuperSkill said:
This is for new bootloader only.
Click to expand...
Click to collapse
Please read post #10 which was in response to BS86's #4 post
mrjeff said:
Using the ROM tool, adding oldbl-M1 kernel and making a ROM for oldbl went fine BUT
TWRP 2.6.0.0. and TWRP 2.6.3.0 both failed to install the converted ROM with the following error messages:
------------------------------------------------------------------------
symlink: some symlinks failed
Error: Error executing updater binary in zip
Updating partition details
------------------------------------------------------------------------
Click to expand...
Click to collapse
did you check if it is possible to flash with CWM?
I'm on the 05/27 and i'm experiencing a bug, when i set preferences in overclock and memory settings (minfree) and tick set on reboot it will go back to default after reboot.
I got 2 logs, one right after choosing the settings and one after rebooting.
mrjeff said:
Yes absolutely, I am on the oldbl.
Click to expand...
Click to collapse
Maybe need some adjustment on updater script....
kennyFF92 said:
I'm on the 05/27 and i'm experiencing a bug, when i set preferences in overclock and memory settings (minfree) and tick set on reboot it will go back to default after reboot.
I got 2 logs, one right after choosing the settings and one after rebooting.
Click to expand...
Click to collapse
Same for me..well i'm using this performance control app and it works well...maybe omnis performance control incompatible with new rom?
This is the latest performance control app
https://mega.co.nz/#!4RZgmZyQ!clGeO0IxeJRTljpKCR9_Pfb7hKu3Q7VRkGq0QWTr0OE
Sent from my LG-P990
ivaneris said:
Maybe need some adjustment on updater script....
Click to expand...
Click to collapse
Already sent the script to tonyp but its here if you want to have a look
http://www25.zippyshare.com/v/45121314/file.html
DAYUM! Latest build with m1 is just... wow!!!! I confirm tethering works and its sooo smooth. Also now we can lower dBm from LG's stupid 32

[KERNEL][I9195][Stock JB/KK] brisK v6

brisK Kernel​
brisK is a KitKat kernel for stock-based ROMs for the Samsung Galaxy S4 mini LTE (GT-I9195).
It aims to be faster and more a bit more battery-friendly than the stock kernel, while retaining its stability.
To prevent bloat I will only apply useful features like BLN. Adding 10 random governors and schedulers is not useful in my eyes, and is also not the goal of this kernel.
Goals
Stability: The original Samsung kernel is stable, so let's not go too far away from it. This kernel doesn't need bleeding edge code - it just works(TM).
Efficiency: Less power consumption by faster computation.
Battery: A battery drain patch is included, which is not in Samsungs original code.
Speed: Minor changes, for example: Trade some screen smoothness for less kernel overhead. Should not be noticeable, though. Also lowers power consumption slightly.
Changelog
v6 (brisk_kk-stock_2015-07-28_15-07-08_64d9234.zip)
Removed more KNOX stuff (--> This fixed some random reboots!)
Finally upgraded to new toolchain: Linaro GCC 4.9.4-2015.06 (Cortex-A15)
Thanks @impactor and @SilviuMik for providing help!
v5
Revert default IO scheduler back to CFQ
Apply changes from new released kernel source (GT-I9195_EUR_KK_Opensource.zip - I9195XXUCOA2)
Apply changes from new released kernel source (GT-I9195_EUR_KK_Opensource.zip - I9195XXUCOE4)
Older versions
v4
Fixed USB-to-PC problems by re-enabling some debugging code
v3
Users reported: USB-to-PC (MTP) doesn't work? (Logfiles appreciated)
Apply changes from Samsungs GT-I9195_EUR_KK_Opensource_Update1.zip
Replace stock Wlan module with kk_2.7_rb1.43
Various kernel config changes:
Disable various unused and debugging features
Re-enable heap randomization
Enable "Optimize very unlikely/likely branches"
Set default IO scheduler to noop
Reduce preemption from "Low-latency desktop" to "Desktop"
Disable Samsungs Rooting Restriction
Added init.d support
v2
Added OTG support (UNTESTED) - Edit: NOT WORKING YET
Removed TIMA
Change to XZ compression
Add BLN support (UNTESTED) - Edit: NOT WORKING YET
v1
Added battery drain patches
Optimize kernel for speed, not size
Preparation for init.d support
Permissive SELinux
Future plans
Add proper Prima WLAN driver - Done!
Add a few more optimizations - Done!
Add init.d - Done!
JellyBean Kernel
The old JellyBean kernel is no longer maintained, but it is stable and its uptime was above 2000 hours on my device. I published it here too, in case someone is happy with their JellyBean ROM and wants this.
Features: BLN, Battery drain patches, kernel config optimized, most debugging code deactivated
Source: https://github.com/TheBootloader/android_kernel_samsung_msm8930-common/tree/jb-stock
Awesome people
@SilviuMik for helping me getting started and providing useful tips - You rock!
@Christopher83 for his toolchains
@F4k for providing source code where I can snoop around
@junkyde for his kernel and his OTG and BLN patches
@arco68 for being another great resource
Downloads & Sources
Source code is on my GitHub.
Releases are at the bottom of this post and on GitHub.
See 2nd post if you need checksums.
PLEASE MAKE FULL BACKUP (/system TOO!) BEFORE FLASHING ANYTHING. The strangest things can happen if you don't have a backup - even if it *should* work.
Downloads are ordered from oldest to newest, so the newest release is at the bottom.
Checksums
brisK JB (brisk_jb_2014-05-16_16-40-39.zip)
MD5: 0f916929e85ae1f8d7b2d1aa8c4e5e1f
SHA256: 8cb1b01358eeb6bc7fb68bbb2fd641d5cda852b78d7e22605ffb28eba6da4156
brisK KK v1 (brisk_kk_2014-08-19_17-33-50_cd36751.zip)
MD5: 8edf28d8a2d1d89d40f8a8f1863d7b57
SHA256: aed1caf0d13ada04888e7c3a020fa6b679fc0fc36ad89678e617ae9a36d637e6
brisK KK v2 (brisk_kk-stock_2014-08-21_01-04-03_765f3f6.zip)
MD5: c004e49779f21f706e76a00233f8fb80
SHA256: df57729a66d425a970d8c8ef222edf6073e4cfc562d8dccea96f12ac0eac7aef
brisK KK v3 (brisk_kk-stock_2014-12-07_00-57-00_23da34c.zip)
MD5: d64b2c7049339eaed9d14bafdc8a9ee3
SHA256: 47741a492077d3e385e120c3596bf6df63426930fffcaa7aa84c924ff43fee91
brisK KK v4 (brisk_kk-stock_2014-12-07_15-31-03_1091455.zip)
MD5: d5fb48434fe9a206a9544968081ee654
SHA256: 122189fb11068be07e6d24cbe179ed57a9872944664e028d0d288fcf804ea4d2
brisK KK v5 (brisk_kk-stock_2015-07-23_23-57-24_518a15c.zip)
MD5: 2a5086c1354e6f475d73b77b41bcfe40
SHA256: 7dce6a173c9e6ddf6f573c802cc8aea7900239a2253ca31722e651e791bb6e6e
brisK KK v6 (brisk_kk-stock_2015-07-28_15-07-08_64d9234.zip)
MD5: 567d7e6ea8762559d218bb092c4cdac4
SHA256: b5b3b41fa7ed10210e4964fa2cd98d14d4572a30b68f7b939e945a3458063a43
Samsungs stock JellyBean Kernel (samsung_jb.zip)
Description: Reverts all changes made by brisK JB by overwriting it with Samsungs original JB kernel (extracted from I9195XXUBML4).
MD5: 388336cec2e9686e258985d0dded0dc9
SHA256: 35777926edee3558208175d5359ef1c466dc3d4dbb1276e233f6727d64b83aa3
Samsungs stock KitKat Kernel (samsung_kk2.zip)
Description: Reverts all changes made by brisK KK by overwriting it with Samsungs original KK kernel and files (extracted from I9195XXUCNE6).
MD5: c71112214620a50841731f4899dd2ca2
SHA256: d2d70f212ee898cf1cedef2d84b3e6345e2388a13579a7112181a254a2c2f3de
Installing
To flash any of these zip-files, you need to install a custom recovery on your phone. (For example: http://forum.xda-developers.com/showthread.php?t=2364980 )
Put zip file on your phone or on its microSD
Boot into recovery: Hold "Volume UP", "Home Button", and "Power Button" when it is off or rebooting
MAKE A FULL BACKUP BY USING THE BACKUP-MENU
Select "Install from zip" or something similar
Navigate to your zip file, select it, and flash it
Reboot your phone
Uninstalling
If you want to go back to Samsungs stock kernel or flash another kernel, you need to install "samsung_jb.zip" or "samsung_kk.zip" first.
brisK uses custom kernel modules. When you run on brisK and then directly install another custom kernel which has no custom modules, you will probably experience issues with WLAN and other stuff. To solve this, flash "samsung_jb.zip" or "samsung_kk.zip" (which flashes the stock modules), and THEN flash whatever custom kernel you want. - Of course you do NOT need to do this if you update to a newer version of brisK.
thank !
GREAT !!!
but for governors and schedulers , i agree with you in half ... but "few" of them are very useful !
what do you think about the recent "zen" ...or "row" ( by default in all customs like cyanogenmod ) ?
for you ,what are the "best" (more adapted ) for better compromise in performance/baterry save ?
why you don't add just 1 or 2 among the best of ones ?
Now running on brisK
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Loulou-13 said:
but for governors and schedulers , i agree with you in half ... but "few" of them are very useful !
Click to expand...
Click to collapse
I agree that some governors might actually improve performance, but there isn't much information available, some people say governor A is better, some say B is best...
But also: Kernel goal nr. 1 is stability, and ondemand is well tested. That's why I probably won't add any new governor before testing them a lot.
Can you suggest any governors? And do you have proof or URLs why they are better? Thanks!
If you want more features, more governors, etc, f4k will probably release a stock kernel soon. So keep an eye out for that!
Loulou-13 said:
what do you think about the recent "zen" ...or "row" ( by default in all customs like cyanogenmod ) ?
for you ,what are the "best" (more adapted ) for better compromise in performance/baterry save ?
why you don't add just 1 or 2 among the best of ones ?
Click to expand...
Click to collapse
Zen: I don't know what this does different than other schedulers, I have to read about this first.
I considered "row" when I had an Evo 3D, but I didn't notice a difference between "noop" and "row" in normal daily usage, so I'm not sure yet if I will include it or not - needs more testing.
ladislav.heller said:
Now running on brisK
Click to expand...
Click to collapse
Awesome!
If you have any problems, please report them here. And if you don't have any problems at all, please report that here too!
TheBootloader said:
I agree that some governors might actually improve performance, but there isn't much information available, some people governor A is better, some say B is best...
But also: Kernel goal nr. 1 is stability, and ondemand is well tested. That's why I probably won't add any new governor before testing them a lot.
Can you suggest any governors? And do you have proof or URLs why they are better? Thank!
If you want more features, more governors, etc, f4k will probably release a stock kernel soon. So keep an eye out for that!
Zen: I don't know what this does different than other schedulers, I have to read about this first.
I considered "row" when I had an Evo 3D, but I didn't notice a difference between "noop" and "row" in normal daily usage, so I'm not sure yet if I will include it or not - needs more testing.
Click to expand...
Click to collapse
Same thinking as me ...
ondemand for CPU Gov / No-op for I/O sched , they work great and don`t cause problems
SilviuMik said:
Same thinking as me ...
ondemand for CPU Gov / No-op for I/O sched , they work great and don`t cause problems
Click to expand...
Click to collapse
Yes, my experience too!
Although, when I copy big files with "noop", android freezes for the duration of the copy process. That's the nature of "noop", but "row" might actually fix that. But then again: I rarely need to copy big files, so "noop" is okay for now.
TheBootloader said:
Awesome!
If you have any problems, please report them here. And if you don't have any problems at all, please report that here too!
Click to expand...
Click to collapse
No problems, everything works well.
Please add support for USB Host with additional power supply, is very necessary !!!!
killov1982 said:
Please add support for USB Host with additional power supply, is very necessary !!!!
Click to expand...
Click to collapse
+1 for USB OTG support.
Working good so far
Thanks
TheBootloader said:
Yes, my experience too!
Although, when I copy big files with "noop", android freezes for the duration of the copy process. That's the nature of "noop", but "row" might actually fix that. But then again: I rarely need to copy big files, so "noop" is okay for now.
Click to expand...
Click to collapse
NOOP hangs in general when the read/write task becomes too intensive. Consider CFQ if you're going to do a bit write operation, else ROW is better. That my two cent when I tried on my S3 with Boffela kernel.
PS. ZEN hangs even worse than NOOP.
ladislav.heller said:
+1 for USB OTG support.
Click to expand...
Click to collapse
I second that
thank for your work...
is your kernel working with old knox-free bootloaders like Silviumik's kernel?
thanks
battery life compared with carbon 4.4.4 ? PLEASE
s.goten said:
thank for your work...
is your kernel working with old knox-free bootloaders like Silviumik's kernel?
thanks
Click to expand...
Click to collapse
For now i think no, because he did not remove Knox reference from source, i could be wrong tho !
I just released a new version!
A lot people asked for OTG, so here you go! I added OTG and BLN (untested!!!), thanks to junkyDE!
The highest kernel goal is stability, but I don't have time to test these features right now - maybe I can do one quick emergency fix tomorrow if something breaks, but after that I will probably not respond for 2 weeks or more.
So, have fun and enjoy!
brisK v2
Added OTG support (UNTESTED)
Removed TIMA
Change to XZ compression
Add BLN support (UNTESTED)
-----
s.goten said:
thank for your work... is your kernel working with old knox-free bootloaders like Silviumik's kernel?
Click to expand...
Click to collapse
SilviuMik said:
For now i think no, because he did not remove Knox reference from source, i could be wrong tho !
Click to expand...
Click to collapse
I removed TIMA in brisK v2, so.... it -should- work now right?
If it doesn't boot, just restore your boot partition from a backup or re-flash your previous kernel if you had any.
-----
TNCS said:
NOOP hangs in general when the read/write task becomes too intensive. Consider CFQ if you're going to do a bit write operation, else ROW is better. That my two cent when I tried on my S3 with Boffela kernel. PS. ZEN hangs even worse than NOOP.
Click to expand...
Click to collapse
Thanks a lot for your input! Now I know I don't need to consider ZEN, and will stay with NOOP, and aim for ROW when I have time to add it.
I9192?
Sent from my GT-I9192 using XDA Premium 4 mobile app
SilviuMik made a 9192 kernel:
http://forum.xda-developers.com/showthread.php?t=2592308

[Kernel] AX7Kernel - STOCK B15 / B19

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello!
I want to introduce my first custom kernel for the ZTE Axon 7. This is based of several sources, I cherry-picked commits to make improvements to the stock LOS kernel. I'm not a developer, but i really like to port stuff over .
We'll have two kernels one based off LOS sources and will try to have updated with each and every commit that is submitted and the other one will be Stock ZTE sources based. If you want to request for specific features, let me know and i'll do my best to bring them over.
Special Features:
BLX (Battery Longevity eXtender) added, check Post#2 for instructions.
Updated to lastest LOS Stock Kernel
Added a few governors like: lionfish / despair / darkness / blu_active / wheatley / ironactive and bioshock
added a few IO Schedulers: Tripndroid / Zen / SioPlus / VR
Kcal Color Control driver
USB Fast Charge
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock
Motorola Quickwake
Extended battery charge time from 30s to 100s
and manny other small fixes (you can check the commits in the sources)
Download
Disclaimer: I am not responsible if you use this and brick your device or if your device blows up, implodes, flames start shooting from it or it kills your neighbor's dog. Flash at your own risk. I am not responsible.... It was the other guy... I swear....
Latest STOCK Release: AX7Kernel-STOCK-R9
Known issues:
02.13.2017 - CPU Freq don't always stick, known issue caused by other drivers. Phone will eventually set your frequencies, dont' panic.
Special Thanks to:
jcadduono
franciscofranco
bedalus
lord_boeffla
flar2
sultanxda
...and many others from whom i cherry pick commits... Sorry if I forgot to mention anyone!
XDA:DevDB Information
AX7Kernel, Kernel for the ZTE Axon 7
Contributors
jimbo77
Source Code: https://github.com/Jimbo77
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R9
Stable Release Date: 2017-03-16
Created 2017-03-17
Last Updated 2017-03-22
Reserved
How to Bypass SafetyNet bootloader and/or root checks
* If comming from a clean flash of ROM or GAPS only do the following:
Magisk Approach
Flash the UnSu file from HERE
Flash my latest Kernel
Flash the latest Magisk from this thread:
Donwload Magisk Manager from the Playstore
Enable Magisk Hide in Magisk Manager
Profit, SafetyNet Checks will pass, all green!
SuperSU Approach
Flash the UnSu file from HERE
Flash my latest Kernel
Flash the latest SuperSU from this thread:
Donwload RootSwitch APP from HERE
Unpack the zip and install the apk inside it
Open Root Switch and disable root
Profit! SafetyNet checks will all be green!
Battery Life Extender (BLX) feature
In order to configure the cap you'll have to navigate to:
Code:
/sys/class/misc/batterylifeextender/charging_cap_level
edit the file and put the cap you want the battery to charge to, i won't recommend setting a cap lower than 90% cause then the phone could abruptely stop a fast charging cycle and damage your battery. If you want to have your phone charging to 100% just put 100 in the file and close it. No need to reboot, just plug and unplug your charger.
On a side note, this value will be set at 97% after every boot. So you'll need to manually change it back to 100.
Reserved
AX7Kernel Changelogs:
AX7Kernel R9 - 03/22/2017
Updated Source with ZTE Changes in B19 source code.
AX7Kernel R8 - 03/17/2017
Fixed NFC issue with B19 builds.
Updated WLAN driver to LA.UM.5.5.r1-03800-8x96.0 github from CAF
Fixed the SDCard error shown in R8 version from 03.16
AX7Kernel R8 - 03/16/2017
Updated to newest B15 Source dropped by ZTE a few days ago. This is mainly a Maintenance Update. Keep in mind the Kernel works with 7.1.1 but it breaks NFC, will be fixes most likely until a new sources is dropped by ZTE.
AX7Kernel R7 - 03/16/2017
For both STOCK and LOS Based versions. Upstream Linux Kernel to 3.18.45 thanks to jcadduono patches.
AX7Kernel R6 - 03/03/2017
Cap for battery charging set back to 100% by deffault. BLX Settings, you want to change them, refer to this POST and to this POST. If you want to extend your battery's life think about adding the cap to a 95 or 97%
Fixed the issue where the phone won't go into deep sleep at all.
WQ_POWER_EFFICIENT MODE is enabled by default now.
AX7Kernel R5 - 03/01/2017
Cap for battery charging set to 97% by deffault. BLX Settings, you want to change them, refer to this POST and to this POST. Your battery won't charge beyond 97%.
Added options to manipulate thermal settings, now you can choose when the phone will throtle the CPU or when to start shutting down cores to prevent damage. My recommendation don't push it too high or your phone might get damaged due to the high temps. It's not set to 60 Celcius so i recommend lowering that to avoid damage.
Added WQ_POWER_EFFICIENT MODE ( you'll need EX Kernel manager to get this, it's paid app but it's totally worth it guys)
Enabled the option to 'disable' some wakelocks. Disable them on your own risk. Wakelocks that can be disabled are: Bluedroid, wlan_rx, wlan_ctrl, wlan, IPA_WS, wlan_extscan_wl_ws, qcom_rx_wakelock_ws - You'll also need EX Kernel manager to get this options.
AX7Kernel R4 - 02/24/2017
Renamed both the Folder and Kernel zip file to appoint to the version. Now we'll have 2 versions, LOS and Stock AX7Kernel, make sure to check the zip name correctly to avoid issues when cross flashing kernels. All LOS/RR/AOKP and other LOS Based kernels will have the word LOS in it.
Fixed BLX feature. It should now properly stop the charging process when the battery has reached the cap_level set by users. Charge will resume once the charge drops from the cap assigned.
AX7Kernel R3 - 02/21/2017
Added one more step of OC (pushed just a little bit further)
Added my own and really simple implementation of BLX (battery life extender) based on the work made by bedalus for the OP3 and OP3T
AX7Kernel R2.3 - 02/17/2017
Updated to latest LOS Stock Kernel
Disabled some debugging
fixes to ZEN ioScheduler - highly recommended now.
Disabled color inversion in Kcal - can't be used anyways.
Fixed USB Fast Charge - Should worl properly now.
GPU OverClock - 684MHZ max frequency now.
Adreno Boost added and enabled (should boost GPU a bit)
Updates to interactive governor (should work better when operation are in the background and screen is off - music streaming is an example.
Changes to the Sync
Changes to Random function for IO ops.
Updates to Zram.
AX7Kernel R1 - 02/13/2017:
Updated to latest LOS Stock Kernel
Added a few governors like: lionfish / despair / darkness / blu_active / wheatley / ironactive and bioshock
added a few IO Schedulers: Tripndroid / Zen / SioPlus / VR
Kcal Color Control driver
USB Fast Charge
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock
Motorola Quickwake
Extended battery charge time from 30s to 100s
Link will still redirect to R7 , androidfilehost is conducting a server maintenance. Once completed I'll upload R8 to the usual file location!
EDIT: STOCK R8 has been uploaded. Again, keep in mind this release is not fully compatible with 7.1.1 it breaks NFC, until we get an updated source it will remain as is.
Happy Flashing!
jimbo77 said:
Link will still redirect to R7 , androidfilehost is conducting a server maintenance. Once completed I'll upload R8 to the usual file location!
EDIT: STOCK R8 has been uploaded. Again, keep in mind this release is not fully compatible with 7.1.1 it breaks NFC, until we get an updated source it will remain as is.
Happy Flashing!
Click to expand...
Click to collapse
Sorry, no download file as of 4:49PDT
amphi66 said:
Sorry, no download file as of 4:49PDT
Click to expand...
Click to collapse
Yeah i'm sorry, i had to take it down. Forgot to add the exfat module and that breaks SDCard support. Will work on this tomorrow morning and will reupload then. For now R7 is there
So this is a kernel for the stock firmware?? I have b19 unfortunately so I can't test, 1 thing I surely want you to add on the b19 version if you make one, aside from all these cool features is f2fs support please make it happen.
Sebastian Fox said:
So this is a kernel for the stock firmware?? I have b19 unfortunately so I can't test, 1 thing I surely want you to add on the b19 version if you make one, aside from all these cool features is f2fs support please make it happen.
Click to expand...
Click to collapse
This works for the B19, only issue is that it breaks NFC. Other than that it works great
jimbo77 said:
This works for the B19, only issue is that it breaks NFC. Other than that it works great
Click to expand...
Click to collapse
I'll give it a try as well as freeza kernel, let's see about f2fs
Sebastian Fox said:
I'll give it a try as well as freeza kernel, let's see about f2fs
Click to expand...
Click to collapse
F2fs is not yet included. I'll see about it this weekend or next week
jimbo77 said:
F2fs is not yet included. I'll see about it this weekend or next week
Click to expand...
Click to collapse
Dang it >_> then freeza is my only solution for now
In case if you're interested about why I'm asking for f2fs, I am doing so to dualboot my stock b19 using @sbr method , unfortunately stock is ext4 and secondary can't be f2fs because it takes part in data, both either have to be f2fs or ext4
it's a bit complicated >_>
jimbo77 said:
F2fs is not yet included. I'll see about it this weekend or next week
Click to expand...
Click to collapse
Why is f2fs so important to people. Back in the day, yes, it was an improvement in speed. Now, with today's storage speeds, it's performance is negligible yet people still demand for it. Doesn't it just complaints things now?
Sent from my ZTE A2017U using Tapatalk
osmosizzz said:
Why is f2fs so important to people. Back in the day, yes, it was an improvement in speed. Now, with today's storage speeds, it's performance is negligible yet people still demand for it. Doesn't it just complaints things now?
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
Exactly what I was thinking too.
Feeling the same. It won't hurt to have support tough. I'll try to add it but I'm afraid it could break the anykernel aprox ah since the support needs to be added Ramdisk wise and for that I'll need to move away from the current kernel approach.
I'll take a look at the lazy flasher scripts from jcadduono to check if I can patch whatever Ramdisk user has
Finished the R8 build... It was a PITA to fix find the fix for SDCARD issue (it was kinda silly what was breaking it lol). Also updated WLAN driver to CAF LA.UM.5.5.r1-03800-8x96.0 version published yesterday and fixed the damn NFC in 7.1.1 builds (this most likely break NFC in 7.0 builds). I'm sorry if you are still in 7.0 and need NFC, move on! ..
I'll push the update once android file host is out of maintenance (around 30 mins from now).
As to F2FS i have enabled the driver in the kernel and stock ramdisk supports data as F2FS so i'm assuming it should work. Although i don't use so if it doesn't i won't fix it
EDIT: LINK IS UP!
I'm not sure if I'm just blind, but I cannot find the link anywhere
EDIT: The file is there, found it in AFH over LOS version's thread. It's here: link removed
EDIT 2: Ok apparently it's in OP and I am blind...
Borias said:
I'm not sure if I'm just blind, but I cannot find the link anywhere
EDIT: The file is there, found it in AFH over LOS version's thread. It's here: link removed
EDIT 2: Ok apparently it's in OP and I am blind...
Click to expand...
Click to collapse
LOL. That's what I was gonna say haha I'm glad you find it
sorry if this is the wrong place to ask but, where can i find the stock kernel that comes with the phone?
pookachee said:
sorry if this is the wrong place to ask but, where can i find the stock kernel that comes with the phone?
Click to expand...
Click to collapse
Download the bootstack of the firmware you have and flash it.
https://forum.xda-developers.com/ax...de-updates-to-stock-files-via-t3469484/page53
So does the stock version suffer from video playback issue like freeza's kernal?

Recompiled & Optimized Werewolf Kernel [SM-T211]

Hi!
I was looking through @laufersteppenwolf's kernel source and noticed it was compiled with -Os flag and an old toolchain. I decided to recompile it with graphite and -Ofast flags (the highest optimization level) and with a newer toolchain. Though the later failed (All builds with 4.9+ toolchains failed to boot on this device ) it still feels faster than the original build. I have also disabled some debugging options so that the kernel would fit in the boot partition in addition to some performance gain.
Features
Compiled with graphite and -Ofast flags (linaro 4.7.4)
Undervolted Wi-Fi, Vibration, LCD and Touch by 10% (Not sure if they're effective or not)
Disabled some debugging options
Added a lower charging current level (1700mA) to fast charge options (To reduce heating during charge but must be selected by user, Default is 1800)
Download
laufersteppenwolf said:
Hey guys
As you already might have read in either the CM11 dev thread or the Q&A section, I am working on a custom kernel for our T210(R) and T211. It's still in a pretty early stage, but the current build is fully stable, so I thought why not share it
As I'm pretty new to this community, a few words about myself: My (only) device I have been working on is the LG Optimus 4x HD, for which I also made a custom kernel (also named werewolf kernel, who would have thought of that ). Me and 2 other fellow RDs were able to "switch" many blobs with the ones from grouper, which fixed many, many issues we were facing in 4.4 with the stock 4.1 blobs. I am the official maintainer of namelessROM and vanir for the 4x HD, and am also compiling GummyROM, LegoROM, unofficial CM 11 (using grouper blobs) and SlimKat for the 4x HD on a nightly base. And as soon as we have a proper device tree for our tab, I'm sure I can port the Tab3 to all those ROMs
Now, enough chit chatting, let's talk about the kernel
It's based on @ketut.kumajaya's blackhawk kernel (thanks again, mate ) From v004 on we are based on official KitKat sources, with some additions such as:
Features:
Various network tweaks
Entropy tweaks
I/O speed improvements
cortex a9 and neon omtimizations
Added frandom
Tweaked vm dirty ratios
Dynamic read-ahead values
Added I/O schedulers: ROW, SIO, BFQ, FIOPS, V(R)
Optimized AES and SHA1 routines
Added CPU governors: Lionheart, Adaptive, Intellidemand, Hotplug, Hyper
Reduced RAM usage from logger
Updated lowmemkiller
Overclocked to 1.420 GHz by default
Disabled vsync for better 2D performance
Overclocked GPU up to 624MHz (default 416MHz)
Custom user voltage control (CPU)
Undervolted by default (-25mV)
S2W and DT2W (WIP)
Fast Charging
KSM
Bugs:
You tell me!
Installation:
Download the kernel from HERE
Reboot into recovery (recommended to make a nandroid)
Flash the kernel zip
Recommended to wipe /cache
Reboot and enjoy!
And remember to remove phservice if you want to change some CPU/GPU settings yourself
Notes:
See 2nd post
GPL:
Kernel sources
Kernel Modules (only for v001 - v003)
Used defconfig
Used build script
Thanks:
@ketut.kumajaya for the initial kernel base
@gr8nole for general help, info and testing
XDA:DevDB Information
Werewolf kernel SM-T210/T211, Kernel for the Samsung Galaxy Tab 3
Contributors
laufersteppenwolf
Kernel Special Features: Tuned for best possible performance
Version Information
Status: Stable
Created 2014-07-21
Last Updated 2015-05-25
Click to expand...
Click to collapse
XDA:DevDB Information
Recompiled Werewolf SM-T211, ROM for the Samsung Galaxy Tab 3 7.0
Contributors
mat1371
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2018-08-23
Last Updated 2018-08-23
Reserved
Tweaking Guide
laufersteppenwolf said:
Since v002, we have an updated lowmemorykiller. It behaves a bit snappier than the old one, also with the default minfree values. However, in case you like to tweak your device a bit to make it even more snappy (like me ), I tweaked the minfree values a bit to slightly increase the free RAM without really affecting the multitasking experience. The script can be found in the attachment. All you need to do is to extract the script and place it in your /system/etc/init.d/ folder and that's it. The values will be automatically set on boot.
UV interface
The min possible voltage is 1000mV for now, and the max one is 1400mV. If you want me to lower the min voltage, please let me know.
Also, please note, that the voltage has to be changed in 12.5mV steps. If you apply for example 1110mV, it will be rounded down to 1100mV.
Fast Charge interface
The main interface is inside /sys/kernel/fast_charge/*
/sys/kernel/fast_charge/force_fast_charge (rw)
0 - disabled (default)
1 - use custom mA configured through the sysfs interface (see below)
/sys/kernel/fast_charge/ac_charge_level (rw)
rate at which to charge when on AC (1.8A to 2.3A)
/sys/kernel/fast_charge/usb_charge_level (rw)
rate at which to charge when on USB (0.5A to 1.0A)
/sys/kernel/fast_charge/failsafe (rw)
0 - disabled - allow anything up to 2.3A to be used as AC / USB custom current (USE WITH CAUTION!)
1 - enabled - behaviour as described above (default)
/sys/kernel/fast_charge/version (ro)
display fast charge version information
New kmsg layout
From v008 onwards the kmsg looks a tiny bit different. Instead of displaying the time since boot, it logs the actual time and date.
Now, you may ask yourself: "does that any good?" Sure it does. When you encounter an issue and grab a log, you can send it my way saying "the issue happened at 15:35". It is way harder to find out the exact time (in seconds) since the device booted, right?
Click to expand...
Click to collapse
mat1371 said:
Hi!
I was looking through @laufersteppenwolf's kernel source and noticed it was compiled with -Os flag and an old toolchain. I decided to recompile it with graphite and -Ofast flags (the highest optimization level) and with a newer toolchain. Though the later failed (All builds with 4.9+ toolchains failed to boot on this device ) it still feels faster than the original build. I have also disabled some debugging options so that the kernel would fit in the boot partition in addition to some performance gain.
Features
Compiled with graphite and -Ofast flags (linaro 4.7.4)
Undervolted Wi-Fi, Vibration, LCD and Touch by 10% (Not sure if they're effective or not)
Disabled some debugging options
Added a lower charging current level (1700mA) to fast charge options (To reduce heating during charge but must be selected by user, Default is 1800)
Download
XDA:DevDB Information
Recompiled Werewolf SM-T211, ROM for the Samsung Galaxy Tab 3 7.0
Contributors
mat1371
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2018-08-23
Last Updated 2018-08-23
Click to expand...
Click to collapse
Great! Did you upload your source?
I had been working on it to compile with GCC 8, but haven't got enough time to complete the cherry picks
sscsps said:
Great! Did you upload your source?
I had been working on it to compile with GCC 8, but haven't got enough time to complete the cherry picks
Click to expand...
Click to collapse
It's on github but I didn't link to it cause it's messy. BTW There is no source code change aside from makefile and defconfig.
BTW, that link is blocked in India, can you upload it somewhere else? and also, cna you provide link to your source?
sscsps said:
BTW, that link is blocked in India, can you upload it somewhere else? and also, cna you provide link to your source?
Click to expand...
Click to collapse
Use https:// in download link.
adukale said:
Use https:// in download link.
Click to expand...
Click to collapse
Well, I've got it already, and https didn't quite help, her to use a VPN,
I'm suggesting the OP to upload somewhere else as well.
Thx alot, now it's time to download kitkat rom.
Keep it up sir ?
sscsps said:
BTW, that link is blocked in India, can you upload it somewhere else? and also, cna you provide link to your source?
Click to expand...
Click to collapse
Sorry for late reply, I'm busy with my thesis these days. I've attached the file to the post. Will send you a link to the source (GitHub) in your PV.
Great! Finally something new for T211/0. Love to see some movement here.
Tried installing on a T210 with TRWP but get an error message. Anyone any ideas?
Tried to attach the error but it won't let me... Error talks about asset failed getprop ro.product.device == lt023g etc
@Samw13
SM-T210 = lt02 wifi Tab
SM- T211 = lt02_3g Tab
So, i have deleted requirement in update-script file and kernel seems to work correctly on t210.
Here's link to edited kernel: https://www.upload.ee/files/10238882/kernel-SM-T210-werewolf-Ofast-UV.zip.html
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is it fully stable on SM-T211??. Is it the final version??
Hi,
@mat1371,
@lol28
Thank you for the kernel for T210R. Stable, overclocked to 1.42Ghz. I have an issue with the settings I make, they don't stick after reboot. I used kernel adiutor, EX kernel manager, Performance tweaker. I have busybox installed.
I've flashed Powerdaemon.disable.zip from Gr8nole, still the same.
Edit:
I've found Gr8nole's suggestion about deleting /system/bin/phservice. I deleted the file, rebooted, changed to governor to lionheart. It seemed to keep the settings.
Thanks!

Categories

Resources