Related
pikachu01 said:
News
Updated ThunderBolt! to v2.3.2 with governor tweaks and bugfixes.
Introduction
ThunderBolt! is a script package by me, pikachu01 that combines a few notable tweaks shamelessly modified to the max as well as hacks and scripts that I came up on my own(and added tonnes of things over the months of development and testing). Without further delay, please read the rest of the OP
Features
Zach's modified system_tweak (I/O Sched, Readahead, VM, TCP, 3G, BFS/CFS tweaks)
Zach's modified screenstate_scaling script - VM Scaling
Darky's Zipalign script that actually works (modified it a bit to get it actually working. It was broken as is before this.)
Patched libsqlite that disables the need to fsync. Extremely fast database writes.
app_process from Fugutweaks and system_server from Honeycomb 3.2
Quasi-charged! - Only using Supercharger's script but with ThunderBolt!'s own LMK/ADJ/OOM. Supercharger Update9 RC3.2.
zipalign binary
sqlite3 binary
remount script - Included in /sdcard/bolt_scripts/
sqlite_optimize script - Included in /sdcard/bolt_scripts/
Benefits
Better performance, better battery life through Linux kernel tweaks catered for Android OS and flash memory.
Better battery life and performance through usage of screenstate_scaling whereby it switches governors/thresholds/VM depending on your screen state.
Better performance and battery life for database writes as fsync is not utilized anymore.
Better network throughput from TCP tweaks and 3G tweaks
Less RAM usage through zipalign. I found that market apps like Viber and PlantsVsZombies aren't zipaligned. Oh and Swype too. Surprised? Me too.
Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access through defragmentization of sqlite db files (a lot of apps use Database to store data like Swype dictionaries, Game saves etc)
Faster disk access through remount script (noatime, disable barrier etc)
Less lags through Quasi-charger, with mutltasking (e.g. NFS shift + Opera mobile with 5 tabs fully opened and no lags)
Requirements
Android Gingerbread 2.3.x
At least 2MB free on /system (Delete unused ringtones or useless apps like Aldiko/Allshare etc).
Root
Kernel that supports init.d
Ext4 lagfix if you want to use the remount script
Downloads and changelogs are in the:
Original ThunderBolt! thread
Any support for Galaxy S SLC must be placed here rather than the original thread.
A few Galaxy SLC owners kindly asked me to post here so that the goodness of ThunderBolt! is shared to the masses.
Note: Some addons are device specific (labelled with i9000 for example). You can try using it, but it is not guaranteed to work. Something like 3G for i9000 should ring some bells as i9000 supports a lower speed compared to Galaxy SL.
Click to expand...
Click to collapse
Here is the EXACT Qutoe from pikachu01. Some Tweaks for our phone!
I saw it posted everywhere and not here!
Credits to Him!
Shamelessly copied xD
Just FLASH THESE!
http://forum.xda-developers.com/attachment.php?attachmentid=836362&d=1325312674
Add-ons are not for our phone. They are device-specific
MAKE A NANDROID BACKUP BEFORE FLASHING.
This looks useful... But the original thread is very long and confusing, and it has many many files..didn't see the specific file for i9003. Can you please post link to the exact file with simplified instructions.
Thanks
Sent from my GT-I9003 using Tapatalk
that's not for i9003!
only for i9001 .i9000.i9100
it will work on i9003 also
mustali said:
This looks useful... But the original thread is very long and confusing, and it has many many files..didn't see the specific file for i9003. Can you please post link to the exact file with simplified instructions.
Thanks
Sent from my GT-I9003 using Tapatalk
Click to expand...
Click to collapse
+1
For noobs like me, i dont understand how to use the script but want to use it. Maybe a simple instruction and single link to download the script is helpful.
Thanks in advanced for those who willing to help and sharing information.
kkrraazzyy said:
it will work on i9003 also
Click to expand...
Click to collapse
as-is and already tested and confirmed working? or needs to be modified to work on our phone?
after spending some times reading the original thread...
the first post I still can understand how it works.
There are many files attached in the first post, those with "restore" is to revert back to original if you already tweaks it. But none of them is for i9003.
the files "ThunderBolt-CWM v2.3.2.zip" is the main files for thunderbolt tweaks. Flashing instructions already included in the first post.
So, the second post...stuck at half way reading...confuse and confuse...
basically doesn't understand what will each script doing...
Why post a thread like this thats has been copied from the original op.you can just post the link..this could lead the adventurerous mind of sl user as per script is diffrent depending on the phone..copy pasting is a not good manner as the op did a hard job on making it..
Sent from my GT-I9003 using Tapatalk
Rohan has given all cedits to original developer so no problem in posting thread. I just want to ask that which files we should use or we have to modify as per our phone??? Also what is meaning of addon??? Rohan I think u should describe OP just a little bit.
Please send us the links(only) which we are going to download... i might get the wrong one and ruin my phone....
Wahaha123 said:
Please send us the links(only) which we are going to download... i might get the wrong one and ruin my phone....
Click to expand...
Click to collapse
Just FLASH THESE!
http://forum.xda-developers.com/attachment.php?attachmentid=836362&d=1325312674
Add-ons are not for our phone. They are device-specific
some tweaks ARE device specific
example-mount partitions
sakindia123 said:
some tweaks ARE device specific
example-mount partitions
Click to expand...
Click to collapse
Dude,
Flashed the above zip on
-> I9000 - Worked fine
-> HTC Desire HD - Worked Fine
-> HTC Evo Shift - Worked Fine
-> Galaxy S2 - Worked Fine
-> Galaxy Note - Fine.
-> iPhone 4S - Yeaah! I joked
Whats the reason to flash it?
Sent from my GT-I9003 using XDA App
HeathenMan said:
Whats the reason to flash it?
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Please READ the link in the OP (The Quote)!!
Can you link the page btw the script version of the original post so we can update if new versions are released?
Sent from my GT-I9003 using XDA App
HeathenMan said:
Can you link the page btw the script version of the original post so we can update if new versions are released?
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Uhhh? I have done it looong back? :/
anyone tried?
Does it has any conflict with UC kernel?
KPQ, UC-Kernel v7 non-oc - i dont notice any change? But its successfully flashed
Edit: since flashing my sd speed increase value is changing to 265 instead of 2048
Sent from my GT-I9003 using XDA App
Flashed ,Sd card read speeds have reduced but write speed increased.
RCMix / XxXPachaXxX
This is a flashable pack created for the setup of all sense 4 roms for a perfect user friendly experience. It works on speed/smoothness/touch-resposiveness improvements and will give you a more "touchable" touch interface and general phone.
See the content of the pack before flash!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Content:
Ken's Kernel (klquicksall RCMix v5.5)
init.d script for sheduler, RAM and kernel setup
TakeCONTROL MOD, special version for this pack!
Qualcomm Init scripts for boot setups (tnx codeaurora)
EGL Libs with correct configuration (tnx codeaurora)
Cy8c touchscreen driver settings
General synaptic driver settings perfectly fitted to sensation touch panel
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Notes:
The major parts of the code are copyright of CodeAurora - 2010/2011/2012
Standards touch calibration values are derived from empirical measurements to fit standars; Calibration values for pyramid are derived from personal work on physical measurements with a raw width field of 1 unit corresponding physically to 17mm of linear size on the touchscreen.
To grant a more userfriendly touch experiance i changed the normal pressure scale values. The purpose is to generate a valid touch signal also on a light touch. The result is the perception of a lighter and soft touch in the general phone use.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Pack DOWNLOAD (Dev-Host) : LINK
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Remember: W the community!
Thx )
Sent from my HTC Sensation using xda premium
give a try tomorrow
THX XxXPachaXxX ..
To download, testing,,,
thanks .. now download and give it a try
Maybe it would be good to write in the OP, that ppl that already flashed a current version of bricked kernel have to put mpdecision and thermald back in place, else they would not have any core and thermal management (the compatibility.sh adresses only renamed binaries ...).
Additionally i noticed that in your "init.qcom.mdm_links.sh" there is a line: "mount -t ext4 -o remount,ro,barrier=0 /dev/block/mmcblk0p12 /system". In this situation it won´t get applied but the system partition on pyramid is mmcblk0p22 (not 12), only as information.
I would like to know which changes are meant by "boot setup" and which exact version of EGL libs are included here.
But the reason i actually looked at the package is because of the touch screen configuration, in which file exactly the values are included? I really would like to change them by myself!
In my understanding it doesn't do sweep to wake?
hlenforcer said:
Maybe it would be good to write in the OP, that ppl that already flashed a current version of bricked kernel have to put mpdecision and thermald back in place, else they would not have any core and thermal management (the compatibility.sh adresses only renamed binaries ...).
Additionally i noticed that in your "init.qcom.mdm_links.sh" there is a line: "mount -t ext4 -o remount,ro,barrier=0 /dev/block/mmcblk0p12 /system". In this situation it won´t get applied but the system partition on pyramid is mmcblk0p22 (not 12), only as information.
I would like to know which changes are meant by "boot setup" and which exact version of EGL libs are included here.
But the reason i actually looked at the package is because of the touch screen configuration, in which file exactly the values are included? I really would like to change them by myself!
Click to expand...
Click to collapse
1) the pack automatically restore the mpdecision and thermald daemons
2) the qcom mdm don't refers to system partition!
3) for the EGL version, it's different in the files, you can use opengl extension app in the market to check the version of the lib that u are talking
4) all the touch and iput settings files are in the usr directory
calyxim said:
In my understanding it doesn't do sweep to wake?
Click to expand...
Click to collapse
s2w is included in rcmix kernel
Let's improve our Sensation.
Thx bro
Downloading now
Sent from my HTC Sensation 4G using xda premium
Testing now!
Flashed it after a clean installation of Pkmn
Feedback later
MarciWoi said:
Testing now!
Flashed it after a clean installation of Pkmn
Feedback later
Click to expand...
Click to collapse
Do you have s2w by default or is this using Aroma and you can choose?
XxXPachaXxX said:
1) the pack automatically restore the mpdecision and thermald daemons
Click to expand...
Click to collapse
ah ok that was my fault, i thought the bricked installer script would delete them totally instead of renaming them, they are missing completely only on aosp roms ...
2) the qcom mdm don't refers to system partition!
Click to expand...
Click to collapse
yeah but somehow irritating that it gets mounted to a directory named system ...
3) for the EGL version, it's different in the files, you can use opengl extension app in the market to check the version of the lib that u are talking
Click to expand...
Click to collapse
i know but i thought you could tell me by heart if it is 213, 218 or something newer
4) all the touch and iput settings files are in the usr directory
Click to expand...
Click to collapse
ah cool, did not look into the file cause i thought it would be binaries hehe
so thx for your fast response! :cyclops:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
dwcasey said:
Do you have s2w by default or is this using Aroma and you can choose?
Click to expand...
Click to collapse
I think it´s default :good:
hlenforcer said:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
Click to expand...
Click to collapse
+1
So little information. As I can understand from the first line - there is a whole kernel in this package? Where I can find information on this kernel? What is the battery consumption after this package installation?
hlenforcer said:
ah ok that was my fault, i thought the bricked installer script would delete them totally instead of renaming them, they are missing completely only on aosp roms ...
yeah but somehow irritating that it gets mounted to a directory named system ...
i know but i thought you could tell me by heart if it is 213, 218 or something newer
ah cool, did not look into the file cause i thought it would be binaries hehe
so thx for your fast response! :cyclops:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
Click to expand...
Click to collapse
No problem with kernel because it's the ken's rcmix kernel v5.5
MarciWoi said:
I think it´s default :good:
Click to expand...
Click to collapse
yes, default
Zer0r said:
+1
So little information. As I can understand from the first line - there is a whole kernel in this package? Where I can find information on this kernel? What is the battery consumption after this package installation?
Click to expand...
Click to collapse
The kernel is RCMix v5.5, for more information you can refer to my thread on xda or the klquicksall's thread on acsyndicate
+1 sounds good and all...really thanks OP for your contribution....but I do not want to go thru renaming mpdecision and thermald as I have NO clue how to do so...MOD sounds AWESOME..I however lack the knowledge to use it limits me
Sent from my HTC Sensation 4G using xda premium
Any feedback? i'm doing other tests and if i will get better results i will update the pack
Would flashing the newest Faux kernel after installing this defeat the porpuse of this mod ?
I would rather not have S2W.
Thanks.
Trickster MOD app is a tweaking tool to change various settings included in your kernel and other tweaks to your phone. It was made by me and my friend.
Screenshots and more information at links below.
Links
Google Play Store
AndroidPIT
Donate
WebsiteIf you like the app please rate it 5 stars and if you can, please donate.
Feature requests
Please post & vote features on our feedback site. So we can keep track of them
Question
If you have question specific to your device or kernel, please state your device config: e.g. device, kernel, settings you used,...
Bug Report
Please read the FAQ at our website before reporting any problem
If the FAQ does not help, use the Bug Report feature in our app & reference your ID here (the number in the mail subject).
Credits:
- Google
- Our great kernel devs
- grilledbacon for your beautiful icon
- Beta testers and translators for your contributions
- Anyone that helped us in some way
Disclaimer: This is provided with NO GUARANTY whatsoever. Use your common sense.
nice.. a lot easier than editing scripts
tested with trinity:good:
thanks
Biggie .. maybe dumb question... but just to make sure;
to use the app i need to flash the trickster mod right??
can i flash this over JB Bugless Beast without any problem?
thnx in advance!!
Yes u need Trickster MOD script. I’m using BB myself, all is good.
This is really working well B.! Using it with trinity kernel now...
Is it possible to use this app/mod sidebyside with SetCPU? Because the only feature i miss in your app is the governor control
Verstuurd van mijn Galaxy Nexus met Tapatalk
odin13 said:
Is it possible to use this app/mod sidebyside with SetCPU? Because the only feature i miss in your app is the governor control
Click to expand...
Click to collapse
Yes, you could. No problem. Just don't use SetCPU again to set settings you have set in Trickster MOD, as that might lead to unexpected final state for that tweak (e.g. governor, CPU speed). Governor control is a planned feature for Trickster MOD, though. Don't know when but I will implement it, read the changelog.
You're the man!!!
In the future, the apk without script possible?
It's fantastic, thanks man.
daskalos.healing said:
You're the man!!!
In the future, the apk without script possible?
Click to expand...
Click to collapse
I plan to do that. That's why it will need root in the future.
Not working on Team EOS JB 4.1.1. Crashing by start
jenzy1985 said:
Not working on Team EOS JB 4.1.1. Crashing by start
Click to expand...
Click to collapse
That's particularly helpful, at least provide a logcat next time or it didn't happen . Have you installed Trickster MOD script? Listed in requirements section in OP.
bigeyes0x0 said:
...This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app...
Click to expand...
Click to collapse
Great!
nexus.prime said:
Great!
Click to expand...
Click to collapse
Yeah this is my followed up to that statement :highfive:.
bigeyes0x0 said:
Yeah this is my followed up to that statement :highfive:.
Click to expand...
Click to collapse
Add the words to the thread title : Kernel Setting or Control etc
Edit : Eek, you've already done that.
bigeyes0x0 said:
Yes, you could. No problem. Just don't use SetCPU again to set settings you have set in Trickster MOD, as that might lead to unexpected final state for that tweak (e.g. governor, CPU speed). Governor control is a planned feature for Trickster MOD, though. Don't know when but I will implement it, read the changelog.
Click to expand...
Click to collapse
Awesome dude! Will keep an eye on it...
Verstuurd van mijn Galaxy Nexus met Tapatalk
New CWM zip posted in OP. Majority of the code changes was done from the previous release till now, but as there are a problem popped up recently on rzw, I rushed out this release so no changelog yet, will do it later. Nothing major changes for user side, just bug fixes, zipalign change and some strings changes that you will see in the app. You don't need to update the app, as it gets string from tricks script includes in the CWM zip.
Posted changelog of the updated CWM zip I made a few hours ago.
Version 20120716
CWM zip
- Include the new busybox with both inotifyd and cpio thanks to stericson
tricks script
- Screen state toggle does not need reboot to take effect anymore
- Do not zipalign apk under /system/app to avoid further navbar and status bar loss for good
- Change ZIPALIGN and SCREENSTATE defaults to disabled so not to cause conflict which users’ configs
- Some changes to app strings
- More changes to accommodate Trickster MOD app in the future
- Some other small refactorings, changes and fixes
CWM6 kicked me in the nuts. Fixing it.
EDIT: Thread title changed so no one die unless they don't read.
Posted new CWM zip that works well with CWM6
Version 20120716
CWM zip
- Update SuperSU app to latest version (chainfire)
tricks script
- Fix install argument to work well with CWM6 which uses a ramdisk based on JB one
- Fix Trinity kernel detection
bigeyes0x0 said:
Posted new CWM zip that works well with CWM6
Version 20120716
CWM zip
- Update SuperSU app to latest version (chainfire)
tricks script
- Fix install argument to work well with CWM6 which uses a ramdisk based on JB one
- Fix Trinity kernel detection
Click to expand...
Click to collapse
Working nicely here :good:
I'm wondering, do you plan to eliminate the use of scripts in the future and use boot receivers like SetCPU? Then you could put it on the market (and make some money )
Hello Guys, I would like to present you my first SGY kernel which I have compiled from source. This is only for Stock or Stock based ROMs.
Features :
1) Loads of governors like userspace,ondemand,powerspace,conservative etc. so that users will not get biased towards only one configuration
2) I/O schedulers like noop and cfq with cfq as a default scheduler
3) Max frquency 832 Mhz and min frequency 312 which I found the best in terms of battery and performance because Overclocking decreases the life of Phone.
I am currently lookoing forward to add Extra I/O Schedulers although cfq is best out there with Conservative governors in my opinion. CPU underclocking will be in my roadmap as well. I hope you guys will appreciate me.
Steps for Installing/Flashing :
1) First reboot into recovery and flash any CWM recovery(Note: don't flash it through stock recovery directly)
2) Go to mounts/Storage and mount everything system,cache,sd-card
3) Now flash the Zip I have provided
4) Now Wipe cache partition from Main menu
5) from Advanced option-> wipe dalvik cache and reboot
I have tested it myself.Please report in case you guys run into any issues.
Credits :
To me Of course
@google
@samsung for providing kernel source
GitHub :
https://github.com/lokesh3440/Galaxy_Y_Stock_Kernel
Kernel Sources :
https://github.com/lokesh3440/Galaxy_Y_Kernel_Source
Changelog:
V2 Build execution is in Progress.......I just checked. V1 works pretty well with Hyperion V9.
Initial Build
Here are few Screenshots :
Don't forget to submit logcats in case you run into any issues.
Testing now...
Sent from my GT-S5360 using Tapatalk 2
İ will test it
Sent from my GT-S5360 using xda app-developers app
Initial impressions
1)Performance seems decent.
2)No support for amarulzz a2sd
3)No CWM integrated
4)Deepsleep not working.
Cant talk about battery so soon.
Sent from my GT-S5360 using Tapatalk 2
Souroking said:
Initial impressions
1)Performance seems decent.
2)No support for amarulzz a2sd
3)No CWM integrated
4)Deepsleep not working.
Cant talk about battery so soon.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I will add amarullz a2Sd support and integrated CWM recovery very soon. I still need to check why deep sleep isn't working. Thanks for feedback.
lokesh.3440 said:
I will add amarullz a2Sd support and integrated CWM recovery very soon. I still need to check why deep sleep isn't working. Thanks for feedback.
Click to expand...
Click to collapse
İ'm waiting for CWM
Sent from my GT-S5360 using xda app-developers app
Hello,
According to XDA Rule on GPL and Apache Compilence
For kernel developers: You must provide FULL source code, not just the edits you made (reference here). Your source code must also be up-to-date with any binary releases. If in doubt, update your github first, then release the binary, NOT the other way round.
Click to expand...
Click to collapse
the stuff you have provided on your github is only the kernel.
You have to upload the whole source code you've used while compiling this kernel.Do it ASAP if you didnt knew it.Or your thread will be closed soon.
Take this as a suggestion :good:
Regards.
DC07 said:
Hello,
According to XDA Rule on GPL and Apache Compilence
the stuff you have provided on your github is only the kernel.
You have to upload the whole source code you've used while compiling this kernel.Do it ASAP if you didnt knew it.Or your thread will be closed soon.
Take this as a suggestion :good:
Regards.
Click to expand...
Click to collapse
Thanks for your suggestion brother. This is my first contribution,that's why i wasn't aware of it. Do you mean the Samsung open source update which i have used to compile it ?
can you guide me how exactly i need to update it ?
deep sleep is present in stock kernel too.
only states files is not enabled/present.
if cpu spy is displaying freq. usage and deepsleep is notshowing up then there is some problem.
else by default its enabled in stock kernel.
Nitzz said:
deep sleep is present in stock kernel too.
only states files is not enabled/present.
if cpu spy is displaying freq. usage and deepsleep is notshowing up then there is some problem.
else by default its enabled in stock kernel.
Click to expand...
Click to collapse
But CPU spy says "kernel is not compatible".......
lokesh.3440 said:
Thanks for your suggestion brother. This is my first contribution,that's why i wasn't aware of it. Do you mean the Samsung open source update which i have used to compile it ?
can you guide me how exactly i need to update it ?
Click to expand...
Click to collapse
in simple words,upload your whole directory i.e common and modules of your modified samsungopensource folder :good:
DC07 said:
in simple words,upload your whole directory i.e common and modules of your modified samsungopensource folder :good:
Click to expand...
Click to collapse
Thanks, I will upload it on my github in the evening.
Well anybody tried compiling the kernel on Ubuntu 14.04? Gonna try it today! xD
lokesh.3440 said:
But CPU spy says "kernel is not compatible".......
Click to expand...
Click to collapse
check again.
its says- states file not found.
kernel is not compatible with that app cz freq. states file is disabled by default.
but deepsleep is enabled in kernel.
also the kernel u build is having old source.
latest kernel from samsung in update like dxmj is best n having many changes.
just add init.d support in it and compare the battry life with ur kernel.
and that stock one is far more stable than urs.
no offense
but untill and unless u add some more features in it, stock kernel will still be my preferred choice.
add more featrs into it to make it better than stock one.
aniket.lamba said:
Well anybody tried compiling the kernel on Ubuntu 14.04? Gonna try it today! xD
Click to expand...
Click to collapse
I have built it on ubuntu 14 only
Sent from my GT-I9505 using Tapatalk
lokesh.3440 said:
I have built it on ubuntu 14 only
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
You serious?
That's good.Gonna try soon!
Good one... :good:
the problem is it seems to have update2 source.... :-/
can run newer firmwares (ddmd,dxmj, etc).
Looking forward to this one. Please use update3 in the next one. Best of luck
P.S. As @Nitzz Said, Deep sleep is pre-included. if u have used the defconfig command, it is included in the kernel. try adding cpu_stats file...
Nachiket.Namjoshi said:
Good one... :good:
the problem is it seems to have update2 source.... :-/
can run newer firmwares (ddmd,dxmj, etc).
Looking forward to this one. Please use update3 in the next one. Best of luck
P.S. As @Nitzz Said, Deep sleep is pre-included. if u have used the defconfig command, it is included in the kernel. try adding cpu_stats file...
Click to expand...
Click to collapse
@nachiket,,,I have used Update 3 only,,,,but i forgot to add cpu stats file i guess.......It will be included in the next build. Thanks for your suggestion
lokesh.3440 said:
@nachiket,,,I have used Update 3 only,,,,but i forgot to add cpu stats file i guess.......It will be included in the next build. Thanks for your suggestion
Click to expand...
Click to collapse
see..
told ya.
u can ask anyone of us(senior membrs of sgy section) or anyother kernel dev for help or any doubt if u want.
༼ つ ◕_◕ ༽つIn the name of our great lord Helix!༼ つ ◕_◕ ༽つ
Welcome to the first custom CM12 kernel for the Z3 Compact
Kernel12
We're going on an adventure!
AMAZING FEATURES:
They happen to change so often that you're better off checking the changelog, but if you're stubborn, here's the core ones:
Additional CPU and GPU steps
Faux123's Intelli_plug and Intelli_thermal
adreno_idler
Memory fixes up the arse
Countless battery life and overall performance optimizations
A reason for Myself5 to, as he says, compete
Custom installer that combines both the permissive and enforcing image in one tiny zip
Obviously there's more so go ahead and check my Github!
DOWNLOADS:
http://j.mp/kernel12-1
Generously hosted by Androidfilehost.com
Note that the newest old (stable or not) builds (CM 12.0) are still available on the original site for now: http://bit.ly/kernel12
HOW-TO:
* Use TWRP
* Flash zip
* Read what the zip tells you
SERIOUS DISCLAIMER!
Code:
I guarantee nothing except for squids taking over our planet by the year 3027. #squidmasterrace
I'd also like to point out that the kernel developers for this device are different people with different lives, schedules and priorities, which shows in many differences in their work. We are not enemies or competitors but rather friends and colleagues, but we each support what we do as we are able to and as we deem is best.
Kernel sources: https://github.com/someone755/android_kernel_sony_msm8974 (cm12.x)
https://github.com/someone755/android_kernel_sony_msm8974-1 (cm14/lineageos 14)
༼ つ ◕_◕ ༽つPRAISE HELIX༼ つ ◕_◕ ༽つ
XDA:DevDB Information
Kernel12, Kernel for the Sony Xperia Z3 Compact
Contributors
someone755
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r_12
Stable Release Date: 2017-10-30
Created 2015-02-22
Last Updated 2017-10-30
A quick FAQ that you'd better read before posting.
1. What was up with the nonsense naming scheme before 12.1?
A: Back then I believed people would actually test the unstable builds I pushed out very often, but I found out only a minority did so. With 12.1, I've decided to turn a new leaf and try to merge the two -- the builds won't be as extensively tested as the stable ones were before, but they will be released faster.
For now, all you need to know is that rperm means permissive and renf means enforcing builds.
2. How do I flash this?
A: Flash through recovery and read what the recovery tells you.
3. My bootloader is locked, HALP! OR I'm on stock/AOSP/CM7.
A: Then you don't get to install this kernel. Pretty simple but still, tough luck.
4.. What app do you recommend for dealing with CPU settings?
A: TricksterMod and Kernel Auditor work for me. Go around the internet, try different apps and see what works for you, then keep it.
5. Touch Control doesn't work in rXXX release, you suckas, fix plixe! OR My phone exploded, HALP!
A: Go away. I do not respond to bug reports without a proper description and log.
6. I have a bug to report!
A: Great! Unlike the guy in #5, you may submit the error either to DevDB or in the thread (just tag me if you're posting into the thread). Make sure your description of the error is detailed, and that you have a log (located in /proc/last_kmsg). It'd be best to upload the log via pastie.org If possible, please also list the way in which the error was triggered.
7. I want to support you and your work!
A: Awesome! Click thanks and/or share the thread with other guinea pigs who would like to participate!
8. OP is arrogant, I'm gonna call the Internet Police? OR Why are you such a derp and asshole
A: Indeed I am. Deal with it.
9. Where may I find the discussion thread?
A: This thread serves as both the development and discussion thread. Please to not litter (GTFO with "thanks" and "+1" posts), and try to keep to the topic. That said, if you're reporting a bug or requesting a new feature, you may use either DevDB or the thread, but please tag me should you opt for the latter. Just remember, reviews go in the "Reviews" tab!
Special shoutouts to (in no particular order, all help is equal help):
AndroPlus
funiewski
Myself5
sm4tik
nelvinchi
franciscofranco
Freexperia and jerpelea
faux123
Google, Sony and HTC
All Nozomi developers!
EXTREME CHANGELOG:
Releases since r_08: http://bit.ly/changelog12-1 (Nougat/Android 7.0)
Releases r_05 to r_07: http://bit.ly/changelog12 (Lollipop/Android 5.x)
Releases pre-r_05:
Code:
for a more detailed changelog, check my GitHub (although you're probably better off not doing that)
for STABLE BUILDS
[*] r_05 ### 16/8/2015 ***UPDATE***
-merge upstream CM commits (more WiFi commits)
-enable adreno_idler to reduce GPU frequency spikes
-even more fixes to the installer
[*] r_04 ### 30/7/2015 ***UPDATE***
-enable screen color control
-downgrade powersuspend to a version that Kernel Adiutor supports
-more memory tweaks
-fix a bug that caused the CPU to spike after thermal throttling kicked in
-enable a 2.5 GHz CPU step
-introduce some fixes to the new installer (code is _still_ dirty -- I'll be working on it)
[*] r_03 ### 29/7/2015 ***UPDATE***
-enable F2FS
-fix the 268 MHz and 2419 MHz steps and allow voltage control
-use the already-existing ramdisk instead of using our own
-merge the permissive and enforcing image into a single zip -- let the user choose what to do on install
[*] r_02 ### 18/7/2015 ***UPDATE***
-merge upstream CM commits (wifi updates)
-upgrade intelli_plug to 4.0
-improve GPU driver and allow apps to use more RAM
-introduce 268 MHz and 2419 MHz CPU frequencies
-disable mpdecision and enable intelli_plug in its place
-enable intelli_thermal by default, set throttling point to ~80°C and poll time to 3 seconds
[*] r_01 ### 18/7/2015 ***UPDATE***
-merge upstream CM commits, update the whole thing to better work with lp-mr1
-downgrade intelli_plug to 3.9 as 4.0 was causing issues -- future TODO!
-bring kexec support to stable builds (multirom is finally supported)
-move to a new download host (androidfilehost)
-go back to CM ramdisk
[*] O3 ### 15/4/2015 ***UPDATE***
-update intelli_plug
-disable Qualcomm's MP-Decision and enable intelli_plug by default
-merged CM upstream commits (including a LOT of wifi fixes)
-power (powersuspend) and fs tweaks
[*] O2 ### 12/3/2015 ***UPDATE***
-Motorola memutils
-upstream CM commits
-faux123's snake charmer
-intelliactive CPU governor
-kexec_hardboot
-removed recovery from the ramdisk; we're using the FOTA partition as recovery, and we save 3MB on size
[*] O1b ### 10/3/2015 ***UPDATE***
-LZ4 kernel compression
O1b ### 7/3/2015 ***UPDATE***
-upstream CM commits
-asynchronous file sync (reduces IO latency by as much as 34%)
-screen color calibration (KCAL)
[*] O1 ### 25/2/2015 ***UPDATE***
-GPU OC to 657 MHz, added 100 MHz step
-GPU idle set to 27 MHz
-KSM
-FSYNC
-intelli_plug
-intelli_thermal
-voltage control
I hope you like the colors.
Sorry for having 3 OPs, but I'd rather have more than 1 long one.
First off, thank you so much! There's been a massive lack of kernels for our device. Now for my real question, is there any chance you could make a Selinux Permissive variant so we can get xposed working? I'm only asking because you seem to be the only one with a CM12 kernel out :good:
EDIT: Never saw the tabs for feature requests in a thread before, so this should probably go there, my mistake.
C2fifield said:
First off, thank you so much! There's been a massive lack of kernels for our device. Now for my second question, is there any chance you could make a Selinux Permissive variant so we can get xposed working? I'm only asking because you seem to be the only one with a CM12 kernel out :good:
Click to expand...
Click to collapse
Hello yes I would like to science please.
I'll see what I can do, the layout of a boot image has changed drastically since 2012. xD
EDIT: @C2fifield: No biggie, I don't mind feature requests in the thread. To be honest I don't mind anything as long as it's about this kernel/thread.
EDIT2: I've spent two hours trying to set SELinux to Permissive. What I managed to create were a handful of ramdisks that were supposed to change it to permissive (but didn't) and a zImage that completely disables SELinux.
If anyone knows what in the world I have to do for permissive, please let me know. So far everything I've found on the internet about this is how to type "setenforce 0" in a su shell.
EDIT3: I am an idiot. Continue with your lives, the Permissive image will be up in a few minutes.
C2fifield said:
First off, thank you so much! There's been a massive lack of kernels for our device. Now for my real question, is there any chance you could make a Selinux Permissive variant so we can get xposed working? I'm only asking because you seem to be the only one with a CM12 kernel out :good:
EDIT: Never saw the tabs for feature requests in a thread before, so this should probably go there, my mistake.
Click to expand...
Click to collapse
You can use this method.
http://forum.xda-developers.com/showpost.php?p=58887725&postcount=230
was12 said:
You can use this method.
http://forum.xda-developers.com/showpost.php?p=58887725&postcount=230
Click to expand...
Click to collapse
It's alright, I already figured it out. What C2 wanted, if I understood correctly, was for init and onwards to be permissive. If I read that correctly, your proposal only turns SELinux into permissive on Android boot.
I don't know if this makes sense and it may or not be wrong.
EDIT: Also tried your suggested way, didn't work for me.
someone755 said:
It's alright, I already figured it out. What C2 wanted, if I understood correctly, was for init and onwards to be permissive. If I read that correctly, your proposal only turns SELinux into permissive on Android boot.
I don't know if this makes sense and it may or not be wrong.
EDIT: Also tried your suggested way, didn't work for me.
Click to expand...
Click to collapse
Try this. Create su.d folder in /system/ and create a text file that permissive.sh and insert code in permissive.sh and give permissions 755 to both folder and file.
Code:
#!/system/bin/sh
setenforce 0
He wanted to get xposed working. This way makes system permissive on boot and lets xposed framework working properly. This way works for him.
And also thanks for your kernel. Do you consider adding more features to your kernel such as OC,KSM,etc. ??
was12 said:
Try this. Create su.d folder in /system/ and create a text file that permissive.sh and insert code in permissive.sh and give permissions 755 to both folder and file.
Code:
#!/system/bin/sh
setenforce 0
He wanted to get xposed working. This way makes system permissive on boot and lets xposed framework working properly. This way works for him.
And also thanks for your kernel. Do you consider adding more features to your kernel such as OC,KSM,etc. ??
Click to expand...
Click to collapse
That sounds more like it! Still though, I've found it's only one line when putting the boot.img together:
Code:
androidboot.selinux=permissive
Ofc I intend to add more, you didn't think I'd open a thread for just two cherry picks? xD
Looking into a lot of things, my GitHub isn't even half of what I decide to push. KSM is literally just one push of a button in the config, and I just need to cherry-pick others and get them to work (the latter is really where most of the work is at, there's a lot of trial and error).
@someone755 thanks for your kernel!
As the script method with permissive.sh causes some serious issues with dialer and settings (FC) on my device (CM12 02/22) and this is only a not so clean workaround it would be very nice of you if you could consider a permissive variant of your kernel. Thanks in advance!
Zwulf said:
@someone755 thanks for your kernel!
As the script method with permissive.sh causes some serious issues with dialer and settings (FC) on my device (CM12 02/22) and this is only a not so clean workaround it would be very nice of you if you could consider a permissive variant of your kernel. Thanks in advance!
Click to expand...
Click to collapse
Have you tried version ZX1? It works for me but YMMV (which is also why I'm still labeling everything as beta).
someone755 said:
Have you tried version ZX1? It works for me but YMMV (which is also why I'm still labeling everything as beta).
Click to expand...
Click to collapse
Permissive! Gr8, thanks a lot!
someone755 said:
Hello yes I would like to science please.
I'll see what I can do, the layout of a boot image has changed drastically since 2012. xD
EDIT: @C2fifield: No biggie, I don't mind feature requests in the thread. To be honest I don't mind anything as long as it's about this kernel/thread.
EDIT2: I've spent two hours trying to set SELinux to Permissive. What I managed to create were a handful of ramdisks that were supposed to change it to permissive (but didn't) and a zImage that completely disables SELinux.
If anyone knows what in the world I have to do for permissive, please let me know. So far everything I've found on the internet about this is how to type "setenforce 0" in a su shell.
EDIT3: I am an idiot. Continue with your lives, the Permissive image will be up in a few minutes.
Click to expand...
Click to collapse
Thanks so much! I've been hoping for a permissive LP kernel for our device!
@someone755
Oh, I agree that was a fool question
Ok now, I'm waiting your next works. I hope you to add new features and create a good kernel for our device.
Maybe this is a stupid question but what kernel is this based on? The unified kernel? Or is it built from scratch?
@someone755 thx for your work. How about kexec? I know there is no multi rom for z3c yet but maybe it will come soon.
smorgar said:
Maybe this is a stupid question but what kernel is this based on? The unified kernel? Or is it built from scratch?
Click to expand...
Click to collapse
What do you mean, from scratch? o.o
It's based off the CM msm8974 repo's cm-12.0 branch. The branch unifies all Sony msm8974 devices' CM12 kernels, so I guess it's kinda unified.
funiewski said:
someone755 thx for your work. How about kexec? I know there is no multi rom for z3c yet but maybe it will come soon.
Click to expand...
Click to collapse
I'll worry about MultiROM when it gets here. Of course, if it gets here.
someone755 said:
What do you mean, from scratch? o.o
It's based off the CM msm8974 repo's cm-12.0 branch. The branch unifies all Sony msm8974 devices' CM12 kernels, so I guess it's kinda unified.
Click to expand...
Click to collapse
That answers my question perfecly. The 1:st post does not say wich kernel its based on so i just wanted to make sure
Edit: By "from scratch" i ment if you built it on your own based on nothing. It could be the case sinse you dont state wich/what kernel you based your kernel on.
smorgar said:
That answers my question perfecly. The 1:st post does not say wich kernel its based on so i just wanted to make sure
Edit: By "from scratch" i ment if you built it on your own based on nothing. It could be the case sinse you dont state wich/what kernel you based your kernel on.
Click to expand...
Click to collapse
But ... you have the sources right there... Says "forked from Cyanogenmod/android_kernel_sony_msm8974".
There really is only one source I could build something that boots into a CyanogenMod ROM, and it's from CyanogenMod sources.
I still don't understand what you mean by "from scratch" -- starting from either the base Linux kernel or the stock Sony ones is madness.
someone755 said:
But ... you have the sources right there... Says "forked from Cyanogenmod/android_kernel_sony_msm8974".
There really is only one source I could build something that boots into a CyanogenMod ROM, and it's from CyanogenMod sources.
I still don't understand what you mean by "from scratch" -- starting from either the base Linux kernel or the stock Sony ones is madness.
Click to expand...
Click to collapse
Sorry to confuse you. Maybe i did not read the post as i should have... My bad.
My thaught was like you say: madness to build from linux kernel or stock sony but i had to ask to be sure what this was since i did not read the post well enough as it seems
Gonna try this kernel ASAP. Thank you and keep up the work!