FORUMS
Remove All Ads from XDA

[KERNEL][920P/R4] UniKernel v9 120615

612 posts
Thanks Meter: 736
 
By djvoleur, Senior Member on 27th July 2015, 11:44 AM
Post Reply Email Thread
Features
  • Interactive governor as default
  • CFQ I/O scheduler as default
  • bic TCP congestion scheduler
  • Full init.d scripting support
  • SE Linux set to permissive (will prevent private mode from working)
  • Fully working Auto-Root for all 5.1.1 roms

Thanks to the S6 Overload, @g.lewarne, we have a unified dtb for 920/925 P and R4 devices...since he's such a busy person, I will be maintaining on this side....and update as appropriate on the changes @g.lewarne makes...

v9 initial - 120615
No longer beta! Yay!...
Disabled selinux and auditd...
Ramdisk being compressed using lzma from gzip...
Reverted to UniKernel v8 Interactive and VM settings...helpfully this fixes the lockscreen issue...testers have not seen this issue...

v9 beta - 112915
Removed "Add lz4 compressor and crypto modules" commit and added "Compressor: Add lz4 modules, Speedup lz0" commit

v9 beta - 1110815
Based on COI6
Added ROW scheduler
lz4/lz4hc fixes
block: Make CFQ default to IOPS mode on SSDs

v9 beta - 100815
Implementation of /system/unikernel.prop (more about this, below, in the second post)
selinux: Do not allow mode changes [HACK]
sd: Avoid sending medium write commands if device is write protected
binfmt_elf.c: use get_random_int() to fix entropy depleting
arm64: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS
Revert "staging: binder: Change binder mutex to rtmutex."
Usb: Gadget: Add DriveDroid support
Add lz4 compressor and crypto modules
GPU: Mali: Rework Throttling and DVFS control
Block: Add BFQ and FIOPS Schedulers, Optimize Deadline
cpufreq: exynos-mp-cpufreq: Add calibrated power coefficients
Squash of AndreiLux's power efficiency patch set
cfq-iosched: fix the setting of IOPS mode on SSDs
writeback: Fix occasional slow sync(1)
fs/sync: Make sync() satisfy many requests with one invocation.
block: Reserve only one queue tag for sync IO if only 3 tags are available
block_dev: implement readpages() to optimize sequential read
jiffies conversions: Use compile time constants when possible
readahead: make context readahead more conservative
sync: don't block the flusher thread waiting on IO
writeback: fix writeback cache thrashing

Make sure you have OEM Unlocking enabled in Developer Options before flashing kernel...
No, seriously...go to Settings > Developer Options > OEM Unlocking...On? Good...continue...
Downloads

Source
https://github.com/djvoleur/G92XP-R4_COI9
The Following 31 Users Say Thank You to djvoleur For This Useful Post: [ View ] Gift djvoleur Ad-Free
 
 
27th July 2015, 11:44 AM |#2  
djvoleur's Avatar
OP Senior Member
Purgatory, AZ
Thanks Meter: 736
 
More
/system/unikernel.prop
Below are the lines added to unikernel.prop and their default settings...

kernel.turbo=false (default) or true
kernel.interactive=battery (default) performance
kernel.scheduler=cfq (default) noop deadline fiops bfq
kernel.vm=tuned (default) or stock
kernel.gapps=true (default) or false
kernel.initd=true (default) or false

If you want to what they exactly do, click here

For now, you will need a file explorer (with root access) to make changes to the file...just make sure that it keeps the permssions rw-r--r-- (or 644) and you will have to reboot for the changes to take effect...

Project
Here is what I have so far with the app...
Click image for larger version

Name:	unikernelscreen.png
Views:	2956
Size:	15.1 KB
ID:	3501428
It will be able to apply the settings dynamically without having to reboot the phone and save the settings to the unikernel.prop file...I'll let everyone know once this has been completed...
The Following 9 Users Say Thank You to djvoleur For This Useful Post: [ View ] Gift djvoleur Ad-Free
27th July 2015, 03:00 PM |#3  
Senior Member
Northern NJ
Thanks Meter: 807
 
Donate to Me
More
Thanks a bunch for this. For those of us keeping track of the main thread, can you confirm which version 5 this is? The latest release was .0004, but I think .0003 and .0004 were test versions, weren't they? Thanks again for bringing unikernel to the 920p, my phone just isn't the same without it.
27th July 2015, 03:39 PM |#4  
djvoleur's Avatar
OP Senior Member
Purgatory, AZ
Thanks Meter: 736
 
More
Quote:
Originally Posted by fachadick

Thanks a bunch for this. For those of us keeping track of the main thread, can you confirm which version 5 this is? The latest release was .0004, but I think .0003 and .0004 were test versions, weren't they? Thanks again for bringing unikernel to the 920p, my phone just isn't the same without it.

Ours is probably gonna be a tad but different than the main thread...if there is an important change, I will build/update as needed...
The Following 6 Users Say Thank You to djvoleur For This Useful Post: [ View ] Gift djvoleur Ad-Free
27th July 2015, 04:03 PM |#5  
Senior Member
Thanks Meter: 40
 
More
Thank you for the hard work
27th July 2015, 05:05 PM |#6  
JoeFCaputo113's Avatar
Senior Member
Flag New York
Thanks Meter: 2,829
 
Donate to Me
More
@djvoleur what's the difference between Unikernel v5 from 7/23 and Unikernel v5 from 7/27 (today), also why is there 2 download folders/links?? Thanks!
28th July 2015, 12:16 AM |#7  
djvoleur's Avatar
OP Senior Member
Purgatory, AZ
Thanks Meter: 736
 
More
Quote:
Originally Posted by JoeFCaputo113

@djvoleur what's the difference between Unikernel v5 from 7/23 and Unikernel v5 from 7/27 (today), also why is there 2 download folders/links?? Thanks!

Unified dtb...interactive changes...that's it...
I would say read what's infront of the download links...
The Following 2 Users Say Thank You to djvoleur For This Useful Post: [ View ] Gift djvoleur Ad-Free
28th July 2015, 05:33 PM |#8  
JoeFCaputo113's Avatar
Senior Member
Flag New York
Thanks Meter: 2,829
 
Donate to Me
More
Quote:
Originally Posted by djvoleur

Unified dtb...interactive changes...that's it...
I would say read what's infront of the download links...

I'm confused though lol.. So can us 920P users not use the 920R4 version, or....??
28th July 2015, 06:27 PM |#9  
datajosh's Avatar
Recognized Contributor
Flag Gwinnett, GA
Thanks Meter: 764
 
Donate to Me
More
Quote:
Originally Posted by JoeFCaputo113

I'm confused though lol.. So can us 920P users not use the 920R4 version, or....??

No, if I remember correctly, the R4 is the US Cellular model.
The Following 2 Users Say Thank You to datajosh For This Useful Post: [ View ] Gift datajosh Ad-Free
29th July 2015, 09:02 AM |#10  
djvoleur's Avatar
OP Senior Member
Purgatory, AZ
Thanks Meter: 736
 
More
Updated to v6
Quote:
Originally Posted by JoeFCaputo113

I'm confused though lol.. So can us 920P users not use the 920R4 version, or....??

Oh you can use it...but the u won't have any data
The Following 6 Users Say Thank You to djvoleur For This Useful Post: [ View ] Gift djvoleur Ad-Free
30th July 2015, 05:45 PM |#11  
JoeFCaputo113's Avatar
Senior Member
Flag New York
Thanks Meter: 2,829
 
Donate to Me
More
@djvoleur do you happen to use Unikernel in conjunction with Kernel Adiutor? If so, what settings do you recommend/use? Like Max/min freq, Governor, Tunables, etc. Thanks
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes