Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[KERNEL][F2FS/EXT4][GEE/GEEB/STOCK] jolla-kernel_AIO_Gen2-v1.2 2015-01-10 (KK/LP)

OP ruddnr951

18th August 2014, 07:11 PM   |  #1  
OP Senior Member
Flag Busan, South Korea
Thanks Meter: 91
 
104 posts
Join Date:Joined: Feb 2014
More
[Center]
Code:
 *
 * Your warranty is now void.
 *
 * This kernel is not built by me. 
 * It is built by my firend Jollaman999 in Korea android forum.
 * But he doesn't have XDA Forum ID.
 * So I got a request to upload his kernel instead of him.
 * If you wanna contact with him, e-mail to admin@jollaman999.com
--------------------------------------------------------------------------------------------------
 * Me and Jollaman999 are not responsible for bricked devices.
 *

Kernel Info

Builder : jollaman999

Intro : Added some features from other kernel sources based on CM kernel. And added some I/O schedulers, Governers, Overclock and Battery optimization.

====Features====
- Dynamic Thermal Control: This function automatically adjust throttling settings when CPU clock changed.
- Use Android device as USB keyboard/mouse support (Required app included) (Please refer to the youtube links at the bottom.)
- Power fixed based on Gproj!! (Battery standby time greatly improved!!)
- GHOST TOUCH FIXED!!
- Configurable DoubleTap2Wake's touch counts!!
- Random hot reboot fixed.
- f2fs: Latest Linux patches applied.
- random: Latest Linux patches applied.
- Stock's LED driver ported.
- Used a kernel value which is optimized to battery life and performance balance. So you can use without specific settings.
- Built with latest Linaro 4.9.2
- Used a Linux 3.4.105 kernel
- Used a XZ kernel extraction to decrease kernel loading time.
- F2FS file system support.
- Kexec Hardboot multi-boot support.
[/COLOR][/B]- Knock On available
- Gamma control feature
- Fast Charge available
- Intelli-Plug hotplug applied for battery life
- Dynamic FSYNC used.
- Advance sound control available.
- Voltage Controls
- CPU Downclock & Overclock (Supported clock : 81~1890MHz)
- GPU Overclock (Supported clock : 607.5/533/400/320/200/128MHz)
- Default Minimum/Maximum CPU clock : 270MHz / 1134MHz for battery life
- 'Smartmax' CPU Governer used as default for battery life
- 'Simple' GPU governer used as a default
- Westwood TCP Congestion used as a default
- Available TCP Congestion : westwood, reno, bic, cubic, highspeed, hybla, htcp, vegas, veno, scalable, lp. yeah, illinois
- Available CPU Governer : dancedance, smartassV2, lazy, wheatly, asswax, intellidemand, interactive, conservative, ondemand, smartmax, abyssplugv2, lionheart, lulzactive, uberdemand, slim, nightmare, pegasusq, performance
- Available I/O Scheduler : row, cfq, fiops, sio, fifo, vr, zen




====Changelog (Gen2-v1.2)====
- LP/KK: smartmax: Added sampling_rate_screen_off parameter - Thanks to gu5t3r
(When screen on, smartmax will increase clock based on sampling_rate.
And when screen off, smartmax will increase clock slowly based on sampling_rate_screen_off.)

- LP: mm: Set VM_MAX_READAHEAD to 512
- LP: msm: vidc: Get the current performance level
- LP: Fix some of sources for compatibility with cm12 build. (Kernels's functions are not changed.)
- aroma-installer: Fix logic of LP kernel and KK kernel installation.
- aroma-installer: Fix logic of LP kernel modules installation.
- aroma-installer: Fix logic of finding init.d support - Thanks to gu5t3r.

This patch only applied for AOSP based Kikat & Lollipop kernel.


====Changelog (Gen2-v1.1)====
- dynamic_thermal_control: Prevent dynamic_thermal call when device is hot and go to ideal state
(When device is hot and go to ideal state 'dynamic_thermal' called and change the msm_thermal settings.
So
the original max frequency get lower clock step by step when device is hot.
This patch fix this bug.
)



This patch only applied for AOSP based Kikat & Lollipop kernel.


====Changelog (Gen2-v1.0)====
- No more update for Kitkat and Stock.
- Restart with Clean Code!!
(Rebuild with Google mako source. Applied latest Linux patches with some of fixes for joll-kernel directly. So all of sources and kernel performance are stable.)

- Applied patches from Linux 3.4.1 to 3.4.105 one by one. (So sources and performance are stable.)
- Dynamic Thermal Control: Automatically adjust throttling settings when CPU clock changed. (Own making!!)
(Solve the existing problem coming back to 1134Mhz despite you change the CPU clock!!)

- Greatly improved battery life due to the source stabilization. (Light user can be used up to a day or more to use.)
- gpu: Fixed to use minimum gpu frequency when sleep. (Improved battery life) (Own making!!)
- Added jolla-kernel logo
- random: Applied all of latest Linux patches
- f2fs: Applied all of latest Linux patches
- Faux Sound: Applied faux123's latest sources
- Faux Gamma Control: Applied faux123's latest sources
- Intelli-plug: Applied faux123's latest sources
- GPU simple governor: Applied faux123's latest sources
- MTP: Applied Google latest sources
- TCP Congestion: Added cubic, highspeed, hybla, htcp, vegas, veno, scalable, lp. yeah, illinois.
- io-scheduler: Added fifo, vr, zen.
- cpufreq: smartmax: Fix some of default values of smartmax governor. (Improved battery life)
- LZ4 compression format support.
- And applied more patches.

[v17_Final - Only for AOSP based Kitkat kernel]
- Dynamic Thermal Control: Automatically adjust throttling settings when CPU clock changed. (Own making!!)
(Solve the existing problem coming back to 1134Mhz despite you change the CPU clock!!)

- gpu: Fixed to use minimum gpu frequency when sleep. (Improved battery life) (Own making!!)
- Added jolla-kernel logo
- io-scheduler: Added fifo, vr, zen.
- cpufreq: smartmax: Fix some of default values of smartmax governor. (Improved battery life)
- MTP: Applied Google latest sources
- futex optimization
- Applied some of cpufreq patches


====Dynamic Thermal Control====
- This function automatically adjust throttling settings when CPU clock changed.
So when you want to change thermal settings directly, you should turn off this function.
You can turn off this function by patching 'Dynamic_thermal_Off' in my server folder. (Not recommended.)




====USB Keyboard/Mouse Working Video====
http://youtu.be/_PZmWDqw6bA


====Configurable Knock On Touch Counts====
0 : Off
1~9 : Wake by n+1 taps. (n = Your setting)

Example)
0 : Doubletap2wake will not working.
1 : Wake by double taps.
2 : Wake by triple taps.
9 : Wake by 10 taps.

Recognizing Time : 100ms * 'touch counts'
(So when you set to 9, you can wake your device by 10 taps in 1 second. )





Known Issues
- When 'Nightmare' governer is selected, cpu cloks are not showing properly.
- USB Keyboard/Mouse driver is not loaded with Stock Kernel



Changelogs
[v16]

- Use Android device as USB keyboard/mouse support (Required app included)
- L-kernel: Applied latest Cyanogenmod patches with 'seccomp'
- f2fs: Latest linux kernel tree patches applied
(Until Dec 9, 2014 f2fs: avoid to ra unneeded blocks in recover flow)
- f2fs: New 'inline_dentry' mount option applied
- L-kernel: makocam kernel added
- Support Stock camera diriver selection mode for L-kernel
- Support mod/nonmod kernel selection for L-kernel
- Recovery-twrp: Update kernel to jolla-kernel_v16
- Recovery-philz: Update kernel to jolla-kernel_v16

[v15]
- Only provided with my cm-12.0 UNOFFICIAL roms.
- Linux 3.4.105 applied.
- Latest mako's lollipop kernel patches applied.
- Makefile Optimization
v0xE

- L-kernel related fixes.
- Power: Applied gproj based power sources. (Battery standby time greatly improved!!)
- doubletap2wake: Fixed 3 taps issue when phone is suspended!!
- doubletap2wake: You can wake your device by 10 taps in a second!!: eek: (Configurable tap counts!!)
0 : Off
1~9 : Wake by n+1 taps. (n = Your setting)

Example)
0 : Doubletap2wake will not working.
1 : Wake by double taps.
2 : Wake by triple taps.
9 : Wake by 10 taps.

Recognizing Time : 100ms * 'touch counts'
(So when you set to 9, you can wake your device by 10 taps in 1 second. )

- doubletap2wake: Adjusted recognizing time.
- io-sched: Remove bfq io-scheduler that eat more batery. Back to fiops as default io-scheduler.
- Remove TDMB driver that not compatible with jolla-kernel.

v0xD

- f2fs: Applied latest updates until Linux 3.17.4
- random: Applied latest updates until Linux 3.17.4
- CM, L : Latest kgsl driver updated based on Lollipop kernel
- CM, L : Wifi updated based on Lollipop kernel
- L : cm-12.0 Ready (Know issue: Random screen flicking)
- GEEB camera fixed
- Stock: GEEB sdcard ramdisk lines added
- block: bfq io-scheduler added and set to default
- cpufreq: dancedance, smartassV2 new governors added
- leds: re-ported based on Stock KK only for duty cycles
- codel net-scheduler applied
- tcp: Some of optimized and TCP Small Queues applied
- ext4 optimized based on new random driver and FIDTRIM support
- zlib: clean up some dead code
- sound: Some of fixed with pop noise fix
- TDMB driver added (only for GEE and not tested)
- Some of mako to GEE related fixes based on Stock KK
- And more..

v12

- GHOST TOUCH FIXED!!
- Stock Wifi driver ported (Version 3.2.3.13 -> 3.2.7.27) (Speed up)
- Stock LED driver ported (LED duration fixed)
- Android L Kernel support

v11.1

- GUI AROMA INSTALLER Applied and multirom supported. (AIO)
- Built with Linaro 2014.09 gcc 4.9.2 latest toolchain.
- CM : Installation method changed to zlmage installation from boot.img installation. (increase compatibility.)
- CM : Built with latest CM source.
- CM : OTG function added. (experimental, now for test.)
- SPARSEMEM kernel option modified.
- Coretex-A15 memcopy optimization.
- memutils: memcpy, memmove, copy_page optimization.
- lge_touch_core: i2c error fixed when you upgrade your firmware.
- ext4: WB_SYNC_ALL pass called from sync(2) Speed up.
- Latest CM kernel patch applied.

v11

- Stock : Kerenel logo driver modified and jolla-kernel logo added.
- Linux 3.4.104 kernel applied.
- Modified to show jolla-kernel version. (On settings - About phone)
- Faux Sound updated to v3.6
- Stock : OTG Function added (USB can be recognized but not works.)
- GEEB : SDCard supported.
- WQ_POWER_EFFICIENT_DEFAULT power save patch applied.
- Kernel MOD NEON supported.
- msdos, ntfs filesystem is compatible.
- Stock : Backlight level kernel log deactivated.

v10_Stock

- Ported Stock Features : GPU, Video, Wifi, LED, Vibrator, IOMMU, Stock Camera
- Random hotreboot optimized.
- Only ext4 filesystem supported currently.
- Another Changelogs are same with CM/AOSP based jolla-kernel.

v10

- Stock Camera ported.
- Random Hotreboot optimization (When we reboot phone first when flash the rom and kernel or when using, there was random hot reboot. So we found the error at the binder which is the linking system between Android and Kernel. So we compare with Gproj kernel source and fixed it. Now you can use ART runtime as well.)
- Minimum clock increased. (81MHz -> 270MHz
- Throttling temperature limit decreased and fixed bug you can't set again to 1134MHz. (We think the last version's temperature limit is to high, so decreased and When you process Throttling, it has locked into 1134MHz. So we fixed.)
- 384MHZ L2 Cache voltage optimized.
- Android Logging (logcat) optimization and deactivated. (Don't use it commonly.)
- F2FS : Linux 3.16.2 version update proceeded.
- Few kernel settings have errors. Fixed.
- Extra minor patch proceeded.
- OMNI Kernel supported. (OMNI ROM)

v9_Refresh

- Kernel stablize : Applied Linux 3.4.103 patch and fix the bugs and errors on the source.
- mod/normal kernel both supported.
- User can personalize throttling option (You can personalize temperature and clock per level at the TricksterMod application.)
(※ You can use temperature limit option at the TricksterMod application, 'Temperature control'.)



Checked Compatible ROMs
Mod : CM12 (GEEHRC Unofficial), CM11 (GEE Unofficial), AxxionKat, Carbon
Normal (non-mod) : Dirty Unicorns, DayDream (This is Korean ROM ), Liquidsmooth
Stock : ARTMOD, Sling, Miui (you have to flash stock_miui)
G3 : GEE3
We always hearing your feedbacks. If there is a problem with specific ROMs, Error report into this thread.



Code:
---About Multi ROM---

jolla-TWRP is GEE based recovery.
So when you going to flash Gproj based ROM or Stock based ROM,  it can occur status 7 error.
In this case, extract the ROM file, and delete 'assert' sentence structure at 
'META-INF/com/google/android/updater-script' and re-extract the ROM file. Then flash!

After you flash MultiROM zip, you can see 'MultiROM Fail' error message.
In this case, Go to 'Advanced - Multirom - ListROM - Your second rom - Flash zip'
and flash compatible kernel for your secondary ROM.


Download Link
http://buf.jollaman999.com/jolla-kernel_AIO-gee/




If you wanna use F2FS partition, you must back up your all userdata! It Uses /data/media to foramt into F2FS.

Flashing guide

>>EXT4 kernel : flash kernel - wipe cache and dalvik cache

>>F2FS kernel

Code:
1- Connect your phone with computer and paste all things except fix_flicking.zip and fix_flicking-retore.zip.
2- Flash philz_touch_6.23.3-e975.zip in recovery mode.
3- Reboot recovery
4- Advanced->Sdcard target: /data/media/0 (change with touch)
5- Reboot recovery
6- Backup and Restore->Backup to /sdcard
7- Reboot system
8- Connect your phone with computer and backup all userdata which you want.
9- Copy clockworkmod/backup Folder into your computer.
10- Open the backup which you did and open nandroid.md5 file with notepad.
11- Change all data.ext to data.f2fs and save.
12- Change the real filename same. (.ext -> .f2fs)
13- Reboot recovery
14- Flash jolla-recovery_v4_f2fs.zip in recovery mode.
15- Reboot recovery.
16- Flash jolla-kernel_v8_f2fs_cm-gee.zip in recovery mode.
17- Tap ◁ button and go to main menu.
18- Wipe and Format Options->Custom Format Options->toggle f2fs  ext4 migration.
19- format /cache->f2fs->Yes (It will format cache partition as F2FS)
20- format /data and /data/media->f2fs->Yes (It will format your /data partition to F2FS and erase all files in /data/media)
21- Reboot system
22- Your phone is now factory reseted. Skip all settings.
23- Connect your phone with computer and create 'clockworkmod' foler in sdcard.
24- Copy your 'backup' foler which you did at 9-12 into clockworkmod foler.
25- Restore all of your userdata which you backup.
26- Reboot recovery
27- Advanced->Sdcard target: /data/media/0 (you can change by touching)
28- Reboot recovery
29- Backup and Restore->Custom Restore from /sdcard
30- Restore data (x) -> Start Custom Retore job (You need only data restore.)
31- END! reboot system and enjoy F2FS KERNEL!
>> If you have flicking display
- Copy fix_flicking.zip and fix_flicking-retore.zip into your SD card.
- Flash fix_flicking.zip.
- If you have problem with flicking fix patch, flash fix_flicking-retore.zip and report me.

Do not be afraid when you flash F2FS kernel! F2FS has more longer first boot time than EXT4 Filesystem!!!

Battery Life : 10~12 hours in my phone

Jolla-kernel's all features only fully-working at TricksterMod application. There could be some features which are not working at other kernel controll apps.


We are trying to make better kernel everytime. Please understand us effort.
Jolla kernel is released with a lots of test in other testphones.
But if it has a bug, Report plz.
And I'm Korean so sorry for my English...

Code:
CREDIT!

[jolla-kernel source]
https://github.com/jollaman999

[Referenced sources]
The Linux Kernel Archives : https://www.kernel.org/
cm-11.0 : https://github.com/CyanogenMod
Loller79 Solid_Kernel-Cyano : https://github.com/Loller79/Solid_Kernel-Cyano
faust93 f93_kernel : https://github.com/faust93/f93_kernel
Docker-J Sail_GPROJ : https://github.com/Docker-J/Sail_GPROJ
faux123 mako : https://github.com/faux123/mako
MikeEx kernel_msm : https://github.com/MikeEx/kernel_msm
flar2 ElementalX-m7-4.0 : https://github.com/flar2/ElementalX-m7-4.0
justin0406 AK-xGenesis : https://github.com/justin0406/AK-xGenesis
Porting kexec hardboot : https://github.com/Tasssadar/multiro...kexec-hardboot
544MHz GPU Overclock : http://forum.xda-developers.com/show....php?t=2307086
jaeguek's F2FS filesystem : https://kernel.googlesource.com/pub/...uk/f2fs-tools/
Last edited by ruddnr951; 10th January 2015 at 12:19 PM. Reason: jolla-kernel_Gen2-v1.2 Released
The Following 34 Users Say Thank You to ruddnr951 For This Useful Post: [ View ]
18th August 2014, 07:23 PM   |  #2  
Kevinjoa's Avatar
Recognized Contributor
Flag Lüdenscheid
Thanks Meter: 2,335
 
1,792 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Download link doesn't work
18th August 2014, 07:26 PM   |  #3  
FPSRocketeer's Avatar
Senior Member
Flag Kretinga
Thanks Meter: 32
 
241 posts
Join Date:Joined: Sep 2012
More
Nicee, thank you!
18th August 2014, 07:28 PM   |  #4  
OP Senior Member
Flag Busan, South Korea
Thanks Meter: 91
 
104 posts
Join Date:Joined: Feb 2014
More
Sorry
I've just fixed. If you are downloading with your phone, try Chrome. Chrome supports FTP client
Last edited by ruddnr951; 18th August 2014 at 07:31 PM.
The Following User Says Thank You to ruddnr951 For This Useful Post: [ View ]
18th August 2014, 07:52 PM   |  #5  
Senior Member
Thanks Meter: 866
 
328 posts
Join Date:Joined: Jun 2009
More
Downloading right now, will report about the stability and performance after trying it a while. A stock kernel with kexec hard boot would be really helpful. (I would build myself but sadly do not have time these days)
18th August 2014, 08:03 PM   |  #6  
OP Senior Member
Flag Busan, South Korea
Thanks Meter: 91
 
104 posts
Join Date:Joined: Feb 2014
More
Oh... I think my friend will read every replies in this Thread and fix it daily and release more stable kernel.

Sent from my LG-E975 using XDA Free mobile app
The Following User Says Thank You to ruddnr951 For This Useful Post: [ View ]
18th August 2014, 09:12 PM   |  #7  
fjsferreira's Avatar
Senior Member
Flag Ponta Delgada
Thanks Meter: 1,494
 
2,308 posts
Join Date:Joined: Nov 2009
More
Quote:
Originally Posted by ruddnr951

Oh... I think my friend will read every replies in this Thread and fix it daily and release more stable kernel.

Sent from my LG-E975 using XDA Free mobile app

Somehow this didn't work on my Carbon gee ROM. I mean, it works, but no matter what governor, voltages, etc in trickstermod, cpu always stays on 81mhz to around 150mhz, bringing the phone to a crawl. Maybe it's because I didn't wipe dalvik, I don't know.
18th August 2014, 09:39 PM   |  #8  
OP Senior Member
Flag Busan, South Korea
Thanks Meter: 91
 
104 posts
Join Date:Joined: Feb 2014
More
Hmmm... I checked that this kernel is working at Axxionkat, Carbon, GEE Cyanogenmod Roms which are compaitable with MOD kernel.... how about wipe cache, dalvik cache or Flashing rom again...? I think that's not kernel problem

Sent from my LG-E975 using XDA Free mobile app
The Following User Says Thank You to ruddnr951 For This Useful Post: [ View ]
19th August 2014, 04:25 AM   |  #9  
AdrianSC's Avatar
Member
Thanks Meter: 8
 
70 posts
Join Date:Joined: Jul 2013
I try use this kernel on CyanogenMod 11 Nightly, and doesn't work. I installed zip and wipe cache and dalvik, but when I reboot the phone, have a blackscreen.
19th August 2014, 04:27 AM   |  #10  
OP Senior Member
Flag Busan, South Korea
Thanks Meter: 91
 
104 posts
Join Date:Joined: Feb 2014
More
This kernel is for GEE ROMs. Official CM (E975) is for Gproj. Gproj ROMs are not compaitable with this kernel.

Sent from my LG-E975 using XDA Free mobile app

The Following User Says Thank You to ruddnr951 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes