Kernel based on 3.4.10-gd597c14 sources from HTC. Every single commit was carefully cherry-picked from @flar2 repos
Kernel for rooted Stock Sense 6.0 ROM and MaximusHD 13. Aroma scripts where tested in TWRP 2.7.0.1
This is my first custom kernel project) Thanks to open xda community for a lot of materials, tutorials and open source code.
Main features
Wake Gestures. Configure using Sense 6 Toolbox
S2W, S2S, DT2W. Configured in Aroma menu
exFat support
Memory optimizations
Overall performance optimizations
Undervolting. Default - stock settings
Linaro gcc 4.9.1 arm-cortex_a15-linux-gnueabihf
Bugs
exFat sd card not visible
If you need exFat, please, add this to /system/etc/init.d/99falter before exit 0 line (last line):
Code:
insmod /system/lib/modules/exfat.ko
Link updated with fixed version, new users are not affected by this bug.
Falter-v1.1 Kernel
Source: GitHub
Compiler: Linaro GCC 4.9.1
Kernel Version: 3.4.10
defconfig: dlxp_ul_defconfig
Download Falter 1.1 release from GitHub
XDA:DevDB Information
Falter for Android 4.4.2, Kernel for the HTC Butterfly S
Contributors
Matri}{
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2014-07-22
Created 2014-07-15
Last Updated 2014-09-10
Wake gestures seem to work properly.
But internal µSD (64G exFAT) and USB OTG (USB key 16G FAT32) not work.
Not bad for a first release
Works flawlessly especially d2w and s2w.thanks Matrix to bring bs alive. Appreciated.
Edit: tested on insert coins 2.5 ROM.
Sent from my HTC Butterfly S using XDA Premium 4 mobile app
migascalp said:
Wake gestures seem to work properly.
But internal µSD (64G exFAT) and USB OTG (USB key 16G FAT32) not work.
Not bad for a first release
Click to expand...
Click to collapse
That's most likely because the 4.10 series of the stock ROM uses a 3.4.10-g6650ca5 kernel while the 3.4.10-gd597c14 used as a base for this kernel is from the previous, 3.06 series, i.e. Android 4.4.2, Sense 5.5. And the functionality (exFAT, OTG) requires loadable modules which will only work with the matching version of the kernel.
A possible solution would be if @Matri}{ modified the config and made all drivers builtin instead of modules, but I'm not sure this is possible. (For instance, I'm not sure the texfat driver is open-source… It doesn't appear to be present in the source tree.) Maybe some extra scripting with the initramdisk and bundling the binary modules there might be possible, but I've never done this with Android.
Other than that, we can only wait until HTC releases the sources for the 3.4.10-g6650ca5 version of the kernel.
thank you for your explanations.
It only remains to wait for the kernel sources for Wake on Gesture.
Or wait for the next Butterfly
migascalp said:
thank you for your explanations.
It only remains to wait for the kernel sources for Wake on Gesture.
Or wait for the next Butterfly
Click to expand...
Click to collapse
thank you for this...how do i revert back to stock kernel?
It is possible to add exFAT support. Not sure about OTG
pkalltheway2000 said:
thank you for this...how do i revert back to stock kernel?
Click to expand...
Click to collapse
Do you nandroid backup before flash the kernel, if yes you can restore back the rom.
If not you need to reflash your current rom without wipe anything.
pkalltheway2000 said:
thank you for this...how do i revert back to stock kernel?
Click to expand...
Click to collapse
dioooi said:
Do you nandroid backup before flash the kernel, if yes you can restore back the rom.
If not you need to reflash your current rom without wipe anything.
Click to expand...
Click to collapse
Or just take the boot.img from the matching OTA package (from here, for example) and use fastboot to flash it.
@Matri}{
To use internal μSD is already a good thing. OTG is less useful in this case.
Just a thought: would it be possible to bundle all loadable modules in the initramfs and then get a custom script to execute at startup, which would mount a tmpfs over /system/lib/modules and copy all bundled .ko files in there? If the script was executed sufficiently early on, I believe it should solve the issues. (I don't have the time right now to look at Android's /init and check if this is possible or not…)
Storage-wise, the boot partition should be large enough to accommodate the extra ~5 MB of modules.
koniiiik said:
Or just take the boot.img from the matching OTA package (from here, for example) and use fastboot to flash it.
Click to expand...
Click to collapse
Thank you!
Would you happen to know how to edit double tap to wake frequency? Eg. i find that i cannot double tap too fast or too slow to wake up the screen. any ways to change that?
Thanks!
any improvements in the battery life who have installed it ? or same as stock , if same as stock I am happy to flash it as i badly need tap to wake
@Matri}{ i did install and everything seems smooth so far i did install the gama control thingy during the aroma , what app do i use to control or tweak the gama , i tried using Faux it doesnt work
installed the kernel and the battery is mostly on par....it doesn't drain per se but it is using a bit more battery.....also, i find it that the phone state wakes up my phone a bit more than stock kernel....other than, all is good...the kernel is stable...double tap to wake or sweep 2 wake works 95% of the time...once you are used to the tapping frequency....
i just one question, how do i edit the value in sys\android_touch...i wanna enable sweep to sleep and i tried changing the value and save, but it doesn't save....anyway to make the file to save?
pkalltheway2000 said:
Thank you!
Would you happen to know how to edit double tap to wake frequency? Eg. i find that i cannot double tap too fast or too slow to wake up the screen. any ways to change that?
Thanks!
Click to expand...
Click to collapse
It is possible, but I think, that is not a key of the problem. There was a bug, when device goes to deepsleep and the only fix for now - reset touchscreen during IRQs. As a side effect - lags of dt2w. Try to do this to better understand is it because of timeouts or i2c bus resets:
1. Connect your device to usb/ac. In this state i2c bus is not suspended while screen off
2. Turnoff screen.
3. Double tap to wake. If lags then I need to fix resets during dt2w
Will make changes to dt2w to fix few usecases but anyway - gestures are more reliable for now
anirudhks said:
any improvements in the battery life who have installed it ? or same as stock , if same as stock I am happy to flash it as i badly need tap to wake
@Matri}{ i did install and everything seems smooth so far i did install the gama control thingy during the aroma , what app do i use to control or tweak the gama , i tried using Faux it doesnt work
Click to expand...
Click to collapse
I'm using Trickster MOD and I found that there is no gamma and white balance, only color modifications. I can implement full interface in case someone need it.
pkalltheway2000 said:
i just one question, how do i edit the value in sys\android_touch...i wanna enable sweep to sleep and i tried changing the value and save, but it doesn't save....anyway to make the file to save?
Click to expand...
Click to collapse
Please, edit /etc/falter.conf to change such settings. FYI, s2s is not working on most of our devices. Trying to fix that now.
Matri}{ said:
Please, edit /etc/falter.conf to change such settings. FYI, s2s is not working on most of our devices. Trying to fix that now.
Click to expand...
Click to collapse
thank you very much.... i tried that....s2s works on my bs, but then again, when i tried to disable it by editing the value to 0 in falter and restart, the s2s still works if i have the screen on....
the only way it seems to disable s2s is by turning off wake gestures completely in sense 6...however that also render s2w non-functional too...
also s2s only works from right to left (on the buttons) no matter if i changed to disable or left to right....it seems in aroma installer, it works on the default setting no matter which you you ticked....
thank you and it's nice to know that fixes are coming....thank you very much for your time and effort on porting it to our beloved bs....
i Found my device cannot mount SD card after install this KERNEL
i Found my device cannot mount SD card after install this KERNEL, thanks
xiaoyuer5 said:
i Found my device cannot mount SD card after install this KERNEL, thanks
Click to expand...
Click to collapse
Please, provide more details about your sd card. exFat? 32 or 64 Gb? Thanks
Thanks! Or as you guys would say, спасибі Hope to see more from you
Related
On user demand I brought Experimental kernel to Arc/S. I know emwno's kernel has until now some of my changes merged (he asked me first) but this one will continue to test changes for "power users" to see if we can improve it even more, and after that any kernel builder can merge/cherry pick commits from my github.
I don't own an Xperia Arc so bugs that I'm not aware of may appear.
Please only experienced users should test this kernel!
After the previous changes were integrated in the main kernel I started again with some experimental changes this time. Here they are, and please remember to thank Garwedgess&FXP first
Code:
Changes
[B]Experimental#2[/B]
[COLOR="Red"]WARNING[/COLOR]: redownload and reflash modules!
-Update to new ALS configuration
-Remove some unused governors and I/O schedulers
-Add dm-cache (check [URL="http://visa.cs.fiu.edu/tiki/dm-cache"]here[/URL])
-Remove some more debug and disable frame_pointer and arm_unwind
-Mutex to use generic xchg-based implementation for ARMv6+
-new opt flags
-Binder fixes and updates (check [URL="https://github.com/paul678/semc-kernel-msm7x30/commits/experimental2"]github[/URL])
-compiled for CM10.1 also (needs testing)
-maybe more
[B]Experimental#1[/B]
-More RAM (386 total)
-Enable support for unaligned access
-Optimize LMK
-Armv7 optimizations
-Updated KGSL drivers - part of changes below:
*KGSL-change:
add tracepoints
cleaned power states
Create a separate pool for mapping kgsl allocations
Store process mem entries in a rbtree
Allocate physical pages instead of using vmalloc
disable early suspend and late resume for 2d cores.
moved some gpu registers
and many many more...to much code!
*Other
-Patch LMK to not kill the same pid over and over
-We got [FONT="Comic Sans MS"]touch boost[/FONT] on Interactive governor
-Add frandom
--Undervolted a bit and change high freq voltages, 1.6ghz may be stable now(use it carefully!)
-Changes from CM10
-remove bits of debugging
-disable KSM: better this way, was doing a lot of useless work => wasting cpu cycles
-removed useless I/O schedulers
-removed many governors->use interactive
-Hopefully increased WiFi sensibility
-Increased readahead
-backported part of framebuffer from 3.0.x
- use only non-blocking Urandom
-&some other stuff I can't recall now
Downloads
-Kernel CM10
-Kernel CM10.1(Not booting atm)
-WiFi modules
-Usb-Otg modules
Warning:
-this build contains experimental changes and reboots may appear. It's recommended to wipe caches after you flash and please return with feedback regarding anything.
-Prototype kernel to test ideas so every developer is welcomed to propose changes.
-Any kernel developer can feel free to merge/cherry-pick my commits but let me know first as some o them may not be stable
-use Lupus as a stable kernel.
-I'm not responsible for anything that can happen to your phone.
Code:
Up next:
-Working on Experimental#4 (Neo/V build)
My Github
Thanks:
Garwedgess: Base Source
Mechmetal: Help
FXP: CM10
Code Aurora: Patches
So you finally brought it over. Great job with the kenrel btw. And their shouldn't be any new bugs for arc/s users as the 2011 devices only have minor differences in source.
you forget to update op title
so this 3.0?
darkevilmagic said:
so this 3.0?
Click to expand...
Click to collapse
no still 2.6.32.9
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
I attached latest CM10.1 Kernel for arc.
om22 said:
no still 2.6.32.9
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
I attached latest CM10.1 Kernel for arc.
Click to expand...
Click to collapse
Where did you take the 10.1 kernel from?
zandm7 said:
Where did you take the 10.1 kernel from?
Click to expand...
Click to collapse
from latest build it´s included in zip: http://forum.xda-developers.com/showthread.php?t=2147958
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
My scores eith this kernel and last cm 10 with bestt addon
Sent from my Xperia Arc S using xda app-developers app
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
More
Sent from my Xperia Arc S using xda app-developers app
emwno said:
So you finally brought it over. Great job with the kenrel btw. And their shouldn't be any new bugs for arc/s users as the 2011 devices only have minor differences in source.
Click to expand...
Click to collapse
Thanks, and yes I know but I put it on first post just to be sure I don't get complaints :laugh:
om22 said:
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
Click to expand...
Click to collapse
Maybe I'll do it, will take a look when I have free time
n1kolaa said:
My scores eith this kernel and last cm 10 with bestt addon
Click to expand...
Click to collapse
Which bestt addon?
Also can someone turn on Pointer Location from Developer options an tell me what is the lowest recorded touch PRS(upper right corner you will see PRS and Size) but remember touch not swipe. Thanks
n1kolaa said:
My scores eith this kernel and last cm 10 with bestt addon
Sent from my Xperia Arc S using xda app-developers app
Click to expand...
Click to collapse
how about battery drain?
i really want to try paul's kernel, and finally it's here.
thanks so much! :highfive:
These modules are big as they are uploading for several hours
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
Im using oc....its ok...i was used 1.2 oc now and Also 1.4 but ...i recomend 1.2
Sent from my Xperia Arc S using xda app-developers app
n1kolaa said:
Im using oc....its ok...i was used 1.2 oc now and Also 1.4 but ...i recomend 1.2
Sent from my Xperia Arc S using xda app-developers app
Click to expand...
Click to collapse
If you are running an arc S, why would you downclock the processor from 1.4 to 1.2GHz?
---------- Post added at 11:00 AM ---------- Previous post was at 11:00 AM ----------
Still waiting for the WiFi modules...
paul678 said:
Thanks, and yes I know but I put it on first post just to be sure I don't get complaints :laugh:
Maybe I'll do it, will take a look when I have free time
Which bestt addon?
Also can someone turn on Pointer Location from Developer options an tell me what is the lowest recorded touch PRS(upper right corner you will see PRS and Size) but remember touch not swipe. Thanks
Click to expand...
Click to collapse
besttt said:
replace superuser with supersu with workinkg update subinary
fix apolo and dsp apk no crash any more no fc
fm radio now plays and with out earphones just plug any cable for antena
add panorama apk
fix video hd camera quality
add adreno latest drivers
add appolo from 4.2.2
add new camera jb working style with gallery now you have ics and jb style camera
added separate atachment for mass storage fix
reboot to recovery works at english language for other language choose the third choise
works only with fusion 4.3 and 4.5 720hd version kernel and fxp kernels
does not work with lupus kernel and does not work with new fusion 4.4 kernel
link for fixes http://www.mediafire.com/?0bzjsqey02m5dq5
flash the atachment 213.zip (mass storage fix) but not at first boot flash first the rom after fixes and gapps reboot to open the phone one time,,,, then reboot again and flash the atachment to get mass storage fix,,, and after flash the atachment reboot and do this For Mass Storage mode - Go to settings/ storage/RIGHT button/ click/usb conection/press at usb conection/set mass storage and enjoy
added disabler buck light enabler buck light
Click to expand...
Click to collapse
THIS
LukynZ said:
These modules are big as they are uploading for several hours
Click to expand...
Click to collapse
When you have to go to University, make a game in c++ and work on updates on this kernel then you can make a comment like this...ever thought that maybe I didn't have time to put them on mediafire ?
(modules will be up today)
Anyway anyone on that Pointer Location thing as I want to test something for the touchscreen this night
paul678 said:
When you have to go to University, make a game in c++ and work on updates on this kernel then you can make a comment like this...ever thought that maybe I didn't have time to put them on mediafire ?
(modules will be up today)
Anyway anyone on that Pointer Location thing as I want to test something for the touchscreen this night
Click to expand...
Click to collapse
i also have to slove some problems using C on my school
im dont know it enoth like you to make games
XPro version ???
kemoba said:
XPro version ???
Click to expand...
Click to collapse
Don't know, will see about it in the future
Modules are up, sorry for delay!
On the other hand 56 downloads and 0 people answered my simple question about some touch events, I guess (if it proves to work) you don't want it on your device.
Have a great day, Paul.
paul678 said:
Don't know, will see about it in the future
Modules are up, sorry for delay!
On the other hand 56 downloads and 0 people answered my simple question about some touch events, I guess (if it proves to work) you don't want it on your device.
Have a great day, Paul.
Click to expand...
Click to collapse
prs 0.03 and size 0.05
I ported DoubleTap2Wake features to Sense kernel.
Features:
- DoubleTap2Wake
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the screen. It is possible to disable dt2w only in the upper part of the screen for avoiding the touch with the face/ear when talking.
/sys/android_touch/doubletap2wake
0=disabled
1=enable doubletap2wake (default)
2=enable doubletap2wake but disabled in the upper 1/2 part
3=enable doubletap2wake but disabled in the upper 1/3 part
4=enable doubletap2wake but disabled in the upper 1/4 part
Credits and Thanks:
All credits and thanks go to the original author: @flar2.
Disclaimer:
I am not responsible if you "brick" your device or in anyway damage it or void your warranty.
Proceed at your own risk.
Installation:
1. Make sure that your are on the stock sense rom: Android 4.4.2 and Sense 6.
2. Flash the boot-memul-dt2w-version.img.
# fastboot flash boot boot-memul-dt2w-version.img
Source:
The attached dt2w-memul-3.4.0-g3ea4692.patch is a patch to the 2.16.401.5 (memul-3.4.0-g3ea4692.zip) kernel source.
The kernel source can be downloaded from HTCDev (Device: One mini 2).
Download:
https://www.androidfilehost.com/?w=files&flid=24404
Enjoy!
XDA:DevDB Information
DoubleTap2Wake Kernel for Sense, Kernel for the HTC One Mini 2
Contributors
kyasu
Kernel Special Features:
Version Information
Status: Stable
Created 2014-11-01
Last Updated 2015-02-08
Ahahaha thank u so much dude.. now when my one mine 2 will be here i will make my own rom .
And with ur permission. Use ur kernel .
In the "/sys/android_touch/" instead of the file "doubletap2wake" is "tap_to_wake".
This is what this phone needs! I'm kinda new to adding custom roms etc. Is this compatible with the HTC One Remix (Verizon)? If so, where can I find the needed files and instructions?
Thanks!
cotsiames said:
In the "/sys/android_touch/" instead of the file "doubletap2wake" is "tap_to_wake".
Click to expand...
Click to collapse
You are correct. I modified the opening message.
Ok got my One mini 2 . Rooted, unlocked and flashed with your kernel.. i've noticed one thing.. it seem that we cannot write on ext sdcard and also on the system.
Btw your kernel is just perfect
Cheers mate
how to root and how to flash?
Hi!!
I have no idea how to root my phone.
To flash i think i can use Universal Kernel flash app from the play store.
I have tried towlroot but root checker said that:"Root access - no access" and also "SU - not found".
I have checked google for answers but only got ****ty videos...
Hope i get some help here.
Thank you in advance.
Traian
Will972 said:
Ok got my One mini 2 . Rooted, unlocked and flashed with your kernel.. i've noticed one thing.. it seem that we cannot write on ext sdcard and also on the system.
Btw your kernel is just perfect
Cheers mate
Click to expand...
Click to collapse
I tested boot-memul-1.16.709.1-dt2w.img with my mini 2 which is 1.16.709.1 asia version. I can write on the system but cannot write on ext sdcard (KitKat restriction). This is same as the original stock kernel.
Does installing this mod lead to battery drain ?
vista_66 said:
Does installing this mod lead to battery drain ?
Click to expand...
Click to collapse
Not for me. I used it on sense and on cm 11 and didn't experience any drain.
Is there any kernel which has no write protection.
I'm really new in the android business - just got this phone after about 5 years with the diamond2.
Is it a must to root the device in order to add this small but important feature ? - can't it be implemented as an app ?
Diviner said:
I'm really new in the android business - just got this phone after about 5 years with the diamond2.
Is it a must to root the device in order to add this small but important feature ? - can't it be implemented as an app ?
Click to expand...
Click to collapse
Unfortunately yes.
Instruction
Do you give me a instruction of root and ulock and install this kernel HTC one mini 2?
I sorry my english no good because i am from CZ..
Thanks
hi
i just flashed File boot-memul-2.16.401.1-dt2w.img
one bug i found
when i use root explorer and pick a file to send through bluetooth, the option ""BLUETOOTH"" is ---way-- off in resolution.
What about 2.18.401.3? DoubleTap2Wake is not possible yet?
Vz-yarosh said:
What about 2.18.401.3? DoubleTap2Wake is not possible yet?
Click to expand...
Click to collapse
I use 2.16.401.1 dt2w with 2.18.401.3 update and it works great.
Hi @ all
I got a question I have updatet my Mini 2 to 2.19.401.1 installed the TWRP Bootloader is Unlocked is it possible to install the DT2W Kernel?
Greetings Luke
Any chance to get UCI support for synapse use ?
@kyasu
Thank you for your kernel! May I make a request?
I am missing write access to SD card.
Before your kernel I was on liberty kernel and there I was able to delete all of the bloat apps from system, but could not install apps on extSD. Therefore i went for your kernel, but now I am not able to delete stuff from intSD.
Can this be fixed?
Regards
Sent from my GT-I9300 using XDA Free mobile app
Introduction
Hello dear developers and android hackers,
On this thread, I will share with you a project I am developing as I am learning kernel programming / hacking. This kernel is based on Sony kernel sources with some enhancements for battery saving and performance.
Click to expand...
Click to collapse
Features
Based on Sony 23.5.A.0.570 kernel sources
Compiled with linaro GCC 4.9.1 toolchain, -O3
Governors : interactive, ondemand, performance, conservative, smartassV2, intellidemand2 and intelliactive.
Fast hotplug
CPU overclock up to 2.8 GHz Thank's to Faux123 and DooMLoRD
Changed GPU frequency table to 27 - 657 MHz Thank's to Myself5
Sony RIC disabled
Undervolt
TWRP recovery included, fota partition support
Breathing notification light thank's to glocklee
Force Fast Charge
KCAL Advanced color control Thank's to savoca
Click to expand...
Click to collapse
Installation instructions
Code:
Use this kernel at you own risk !
I am not responsible for any damage or problem.
Flash the zip via recovery
Reboot
Click to expand...
Click to collapse
Download
Please read FAQ and second post if you have any issue
Recovery flashable zip :
Abricot kernel v8.1.zip
mirror
Kernel Source :
Kernel
Ramdisk
Click to expand...
Click to collapse
Changelog
Abricot kernel v8.1 : 12.05.16
Disable RIC at kernel level (Fixes partition mounting in recovery)
Add KCAL Advanced color control Thank's to savoca
Abricot kernel v8 : 10.05.16
Based on Sony sources 23.5.A.0.570
Updated TWRP to version 3.0.2-0
Abricot kernel v7 : 01.04.15
Updated to Lollipop kernel sources 23.1.A.0.690
Update TWRP to 2.8.5.0
Add Force Fast Charge
Removed splash screen
Abricot kernel v6 : 24.12.14
Fix default freq not applying for all cores at boot
Fix -O3 compiler optimization
Fast hotplug : plug in cores in descending order
Abricot kernel v5 : 15.12.14
Increase voltage of higher frequency for better stability
Add support for displaying the number of tasks running
Add VR, SIO and FIFO schedulers
Add lagfree governor
Update TWRP to 2.8.1.0
Fix scaling_max_freq permissions
Set default frequency to 2.3GHz
Abricot kernel v4 : 11.12.14
Add CPU overclock up to 2.8 GHz (Thank's to Faux123 and DooMLoRD)
Change GPU frequency table to 27 - 657 MHz (Thank's to Myself5)
Disable Sony RIC
Remove msm_mpdecision
Set qcom mpdecision as default
Abricot kernel v3 : 07.12.14
First public release
Check my github to see all the changes.
Click to expand...
Click to collapse
FAQ
Q : With what ROM can I use this kernel ?
A : With any ROM based on Sony stock Marshmallow
Q : Your kernel isn't working / My phone isn't booting anymore
A : Read this whole post once more, search for your problem in thread and report it if you haven't found a solution.
Q : Can I install this kernel on locked bootloader ?
A : No ! This kernel is only for unlocked bootloader.
Q : Does this kernel include recovery ?
A : Yes ! You can access by pressing buttons when the led is lighting. Volume down to go to TWRP and Volume up to load recovery from FOTA..
Q : What are mpdecision and fast hotplug ?
A : This is what manage your cpu cores and decide which core will be online. Fast hotplug is a brand new hotplug that I wrote. See next post for more information
Click to expand...
Click to collapse
Thanks To/Credits
* Sony for their sources and device
* @DooMLoRD
* @thewadegeek for his Tutorial
* @show-p1984 for his mpdecision
* @glocklee for his breating notification mod
* @Envious_Data for his help and links
* @dssmex
* @Androguide.fr for Pimp my Z1
* bbedward
* Erasmux
* faux123
* The xda community for making me discover android and for answering so many of my questions
* Google for kernel sources and its search engine
* Apple for making expensive phone so that I never bought one of theirs
Click to expand...
Click to collapse
Please let me know per pm if there is any mistake or misspelled word in this thread. Automatic correction does a great job but since english isn't my mother thongue I'm pretty sure I made mistakes.
XDA:DevDB Information
Abricot kernel, Kernel for the Sony Xperia Z2
Contributors
pec0ra
Source Code: https://github.com/pec0ra/abricot
Kernel Special Features:
Version Information
Status: Testing
Created 2014-12-07
Last Updated 2016-05-20
About Fast hotplug
Motivation
I wasn't convinced by show-p's msm_mpdecision nor faux123's intelli_plug ( I don't even talk about qcom mpdecision ). I also wanted to start working on a bigger programming project to learn more about kernel developing so I decided to write my own hotplug.
Main features
I tried to make fast hotplug the lightest possible, so that it consumes the less resources possible when it is not needed (mainly at idle). One of the second goals was to make it customizable.
How to use
Deactivate qcom mpdecision (Pimp my Z1 will do this automatically when you choose fast hotplug)
Activate fast_hotplug
Code:
adb shell "echo 1 > /sys/module/fast_hotplug/parameters/fast_hotplug_enabled"
Tune it to your liking
How to configure
Unfortunately, there isn't yet any user friendly application to configure fast hotplug. The only way to configure it is to manually edit the module files with adb or a file editor.
I modified Pimp my Z1 to be compatible with fast hotplug. You can find the modified version at post 12
You can also find all the parameters at
Code:
/sys/module/fast_hotplug/parameters/
and edit them with adb command
Code:
adb shell "echo [COLOR="Navy"]<value>[/COLOR] > /sys/module/fast_hotplug/parameters/[COLOR="Navy"]<variable_name>[/COLOR]"
You can configure the following parameters :
fast_hotplug_enabled : 0 for disabled, 1 for enabled
boost_duration : Duration of boost in ms when screen is touched
threshold_to_boost : Instead of automatically pluging in cores on touch, fast hotplug checks that the load is above this threshold. This avoid cores coming online when reading file or website.
max_cpu_on : Maximum number of online cpu when screen is on
min_cpu_on : Minimum number of online cpu when screen is on
idle_threshold : Threshold under which fast_hotplug will remain almost idle and won't perform any check. This applies when only 1 core is online
plug_in_core_X_threshold : with X between 1 and 3. This is the threshold to plug in coreX.
plug_in_core_X_delay : This is the number of fast_hotplug cycles (see refresh_rate) to skip before pluging in coreX.
plug_out_core_X_threshold : Like plug_in_core_X_threshold but to plug out.
plug_out_core_X_delay
refresh_rate : Time in ms between fast hotplugs checks
screen_off_singlecore : 1 for activated, 0 for deactivated; Allows only one core to be online when screen is off.
If you are using linux, you can easily change the configuration with this small program : https://github.com/pec0ra/fast_hotplug_controller
You will probably want to create init.d script to make your configuration stay after reboot. If enough users want it, I can create an example of script.
Bugs / stability
Due to some conflicts with qcom mpdecision, it is possible that you encounter some bugs / reboots when both are enabled.
Configuration doesn't stick after reboots
Help needed
If you are a java developer (or want to learn ) and want to help in developing an app (or editing an already existing one) to control the hotplug, please send me a pm
Please tell me your impression, your custom configuration and / or your recommendation so that I can make it better in future releases.
Good luck.
Will try as soon as I can. :good:
Welcome! :good:
pec0ra said:
Help needed
If you are a java developer (or want to learn ) and want to help in developing an app (or editing an already existing one) to control the hotplug, please send me a pm
Click to expand...
Click to collapse
Regarding this, there is already an app out there that is FOSS, licensed under the GPLv2 license, looks sexy and should be easy to modify. It's called Pimp My Z1, I think it offers pretty much everything you want.
Other than that, cool that you're developing something new, I'll give it a shot!
Edit:
You may want to disable Sony's RIC it prevents you from writing to /system. This should help you.
I can't seen to get notification breath effect,i didn't do the mpdecision step,so could this make the diference?
Is this kernel compatible with franco kernel apps?
Sent from my D6503 using XDA Free mobile app
B1nny said:
Regarding this, there is already an app out there that is FOSS, licensed under the GPLv2 license, looks sexy and should be easy to modify. It's called Pimp My Z1, I think it offers pretty much everything you want.
Other than that, cool that you're developing something new, I'll give it a shot!
Edit:
You may want to disable Sony's RIC it prevents you from writing to /system. This should help you.
Click to expand...
Click to collapse
Thank you for the link
I'll see if I can do something with this app when I have more time (I've never made any android app).
Disabling ric is a good idea I'll do this for next version.
FrosteezBR said:
I can't seen to get notification breath effect,i didn't do the mpdecision step,so could this make the diference?
Click to expand...
Click to collapse
No, mpdecision won't affect it. Have you tried it on YadliKernel ? Did it work for all the notifications ? It seems like on abricot kernel they work for most of the notifications but not for sms.
vendetta718 said:
Is this kernel compatible with franco kernel apps?
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
It is probably compatible (I didn't tried it) but you will probably not be able to change most of the configurations since they are not implemented in my kernel. Some configuration from my kernel (like fast hotplug) are also not implemented in the app so you can't change them from there.
pec0ra said:
Thank you for the link
I'll see if I can do something with this app when I have more time (I've never made any android app).
Disabling ric is a good idea I'll do this for next version.
No, mpdecision won't affect it. Have you tried it on YadliKernel ? Did it work for all the notifications ? It seems like on abricot kernel they work for most of the notifications but not for sms.
It is probably compatible (I didn't tried it) but you will probably not be able to change most of the configurations since they are not implemented in my kernel. Some configuration from my kernel (like fast hotplug) are also not implemented in the app so you can't change them from there.
Click to expand...
Click to collapse
i try with facebook,whatsapp,messaging and gmail
with a led tester its the same blink as stock
would i send you a dsmeg or anything?
FrosteezBR said:
i try with facebook,whatsapp,messaging and gmail
with a led tester its the same blink as stock
would i send you a dsmeg or anything?
Click to expand...
Click to collapse
There's no printing in the mod I think so dmesg would be useless. I'll try again with WhatsApp. Have you tried it on other kernels? Was it working ?
Edit : ok, maybe there is an error... In this case dmesg could be useful. If you have time you can send it, yes.
And I reconfirm that it works for telegram
Hey, can someone show us the notification mod?
Pimp my Z1
As @B1nny suggested, I tried editing Pimp my Z1 to add fast hotplug support. Everything seems to work and I even added some tweaks for a better support for our Z2 ( some default values were not really compatible with our device ). There are probably bugs for configurations other than fast hotplug. If I have time, I will fix them but for now, please use another app to set your frequencies / governors / voltage or live with the bugs. If you have questions about the app, you could also take a look at the official thread to see if it is already there or maybe just to give the dev a thanks.
I'll probably make a pull request to @Androguide.fr with the changes but until then you can use my own build linked to this post. If you already have the app installed, you will have to uninstall it first because signature is different.
You can see the full source and the changes on my github : https://github.com/pec0ra/Pimp_my_Z1
Special thanks to @Androguide.fr for his great app and to @B1nny for his link
@pec0ra
Good news to have a new kernel dev for our beloved Z2 !
However, I've tried to flash your kernel, the flashing process seems to work correctly but actually I stay stuck to the last doomlord advanced stock kernel. Any suggestion ?
nreuge said:
@pec0ra
Good news to have a new kernel dev for our beloved Z2 !
However, I've tried to flash your kernel, the flashing process seems to work correctly but actually I stay stuck to the last doomlord advanced stock kernel. Any suggestion ?
Click to expand...
Click to collapse
You should try to extract the .elf from the zip and flash it via fastboot
Code:
fastboot flash boot <name>.elf
Anyone else experiencing the same issue ? Maybe I did something wrong in my zip.
pec0ra said:
You should try to extract the .elf from the zip and flash it via fastboot
Code:
fastboot flash boot <name>.elf
Anyone else experiencing the same issue ? Maybe I did something wrong in my zip.
Click to expand...
Click to collapse
I think you mean the .img file instead of .elf.
Other than that, the kernel works fine for me. I did manually flash it via fastboot. (because I prefer to flash it via fastboot)
I took a quick look at your updater-script and compared it to Doomlord's updater-script and this is what I found:
Your script tries to write the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/Kernel
While Doomlord's script writes the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/boot
Maybe that's the culprit?
B1nny said:
I took a quick look at your updater-script and compared it to Doomlord's updater-script and this is what I found:
Your script tries to write the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/Kernel
While Doomlord's script writes the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/boot
Maybe that's the culprit?
Click to expand...
Click to collapse
I was going to post the same thing
Waiting for confirmation...
B1nny said:
I think you mean the .img file instead of .elf.
Other than that, the kernel works fine for me. I did manually flash it via fastboot. (because I prefer to flash it via fastboot)
I took a quick look at your updater-script and compared it to Doomlord's updater-script and this is what I found:
Your script tries to write the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/Kernel
While Doomlord's script writes the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/boot
Maybe that's the culprit?
Click to expand...
Click to collapse
Thank you
Yes, I meant .img. It seems like it'll take some time to get used to this new device. The kernel destination you pointed out is probably the issue, yes. And that's probably the notification problem too. Seems like the kernel never got flashed so it's logical that notification mod doesn't work...
I'll change this tomorrow morning
Maybe someone can test it until then.
pec0ra said:
Thank you
Yes, I meant .img. It seems like it'll take some time to get used to this new device. The kernel destination you pointed out is probably the issue, yes. And that's probably the notification problem too. Seems like the kernel never got flashed so it's logical that notification mod doesn't work...
I'll change this tomorrow morning
Maybe someone can test it until then.
Click to expand...
Click to collapse
Yes, this was indeed the issue, I've just succesfully flashed your kernel changing "Kernel" to "boot" in the script.
Now testing
I can't rename mpdecision.. I tried with root explorer and root browser
sh4d1t0 said:
I can't rename mpdecision.. I tried with root explorer and root browser
Click to expand...
Click to collapse
That's due to Sony's RIC being enabled by default. If you look at my previous post where I mention it there is a command you can run in ADB to temporarily disable it, not ideal but it will help you rename the file.
Code:
***WARNING***
-READ CAREFULLY!!
YOU FLASH THIS KERNEL AT YOUR OWN RISK.I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT MAY OCCUR DUE TO THE FLASHING OF THIS IMAGE.
I WILL NOT BE RESPONSIBLE FOR LOST DATA,BRICKED PHONE,OR ANYTHING OF THE SUCH.(PHONE EXPOLDES,OVERHEATS ETC)
THIS KERNEL IS ONLY FOR THE S5 MINI SM-G8OOF (Exynos) DO NOT FLASH THIS ON ANY OTHER DEVICE!
EOL (End of Life)
I will be creating a new thread for my N kernel - Stay tuned!
UPDATED Linux kernel to 3.4.113 on 27-10-2016UPDATED to v2.5 on 13-10-2016
Code:
Changes in version 2.5
*Unlocked CPU frequencies 1500,300 and 200MHZ
*Switched to self built Linaro/Sabermod toolchain
*Added many more optimization flags
*Added DriveDroid support
Features
-Now supports Many different ROMS for the G800F
-Compiled with self built optimized Linaro/SaberMod toolchain ("LinaroMod")
-Unlocked CPU frequencies: 1500MHZ,200MHZ and 300MHZ
-Updated Linux kernel from 3.4.39 to the latest 3.4.113
-Added many optimizations (You can see all of the optimization flags in the makefile on the kernel source page)
-enabled graphite
-Added Drivedroid Support - http://softwarebakery.com/projects/drivedroid
-Fading LED's
-Added I/O schedulers
-zen
-sio
-fifo
-fiops
-tripndroid
-vr
-Added CPU governors
-zzmoove
-hyper
-alucard
-darkness
-nightmare
-wheatley
-smartassv2
-dancedance
-pegasusq
Click to expand...
Click to collapse
You will need Kernel Adiutor (free from the play store) or similar app capable of allowing you to switch I/O schedulers and
CPU governors in order to be able to change and set those.
I can recommend this.
http://forum.xda-developers.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
Click to expand...
Click to collapse
Known Issues
Let me know and I will try to fix them
Click to expand...
Click to collapse
Installation
I HIGHLY recommend that you do a full backup before flashing this kernel.I am not responsible if you lose any or all of your data.BACKUP!!
1.Download the "Spookcity_Kernel-MM"
2.Place the zip onto your phones storage
3.Reboot into recovery (Volume-Up + Home + Power button)
4.Select install
5.Flash the downloaded kernel
6.Go back a few times in TWRP.Select wipe -> Advanced wipe and wipe Dalvic/Art cache and the cache partition
If you do not do this you are very likely to experience strange issues.You have been warned.Do not report problems if you did not do this.
7.Reboot and hopefully enjoy.
Click to expand...
Click to collapse
Downloads
Spookcity_Kernel-MM
Click to expand...
Click to collapse
Sources
Toolchain - https://github.com/Spookcity/Android-Toolchains
Kernel - https://github.com/Spookcity/android_kernel_samsung_kminilte
Click to expand...
Click to collapse
Code:
CHANGELOG
[U]18-06-2017[/U]
-Switched to anykernel2
[U]31-10-2016[/U]
-Added zip for Bliss Rom
[U]13-10-2016[/U]
-Unlocked CPU freq 1500,200,300MHZ
-Switched to my self built toolchain
-Added many more optimization flags to the build
-Added DriveDroid support
-Added zip for Zephyr-OS
[U]24-07-2016[/U]
- Added zips to support more custom ROMS
[U]V2 - 23-07-2016[/U]
-Fixed RAMDISK to make it compatible and actually work with newer builds of CM13
-Changed SELinux from disabled to permissive to be in line with the "stock" CM kernel
-Added I/O schedulers
-fiops
-tripndroid
-vr
-Added CPU governors
-pegasusq
[U]V1 - Initial Release[/U]
Thanks to
-hennymcc and CTXz for bringing CM13 to our device! I used their kernel sources to build this.Without them I never would have been able to attemp this.
-DJ_Steve for his custom kernel.Without being able to look at his sources and cherry-pick some things I would also not have been able to do this.
-CurtisMJ Ditto same thing here.His kernel build and sources were very helpful to me.
-frap129 for his amazing toolchains!
-ArchiDroid
Anyone I may have left out sorry.I appreciate you all!
Click to expand...
Click to collapse
I hope you enjoy and please say thanks if you find this at all useful
XDA:DevDB Information
Spookcity_Kernel, Kernel for the Samsung Galaxy S5 Mini
Contributors
spookcity138
Kernel Special Features:
Version Information
Status: Beta
Created 2016-05-26
Last Updated 2017-06-18
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
zaworka said:
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
Click to expand...
Click to collapse
Thanks for trying out the kernel. That's weird about the WiFi. I have never had that happen in the bunch of times I have flashed it. I will def look into it.I'll have a look at the log, although at this point I'm also not that great at interpreting those, so it may not help. I'll see what I can do though
Sent from my SM-G800F using Tapatalk
can you tell me someone what is kernel?
br3acker said:
can you tell me someone what is kernel?
Click to expand...
Click to collapse
http://www.makeuseof.com/tag/linux-kernel-explanation-laymans-terms/
zaworka said:
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
Click to expand...
Click to collapse
OK,well after looking at the log and trying to decipher it and then thinking a bit I have only come up with one possibility.Maybe somehow your wpa_supplicant.conf file located in /data/misc/wifi/wpa_supplicant.conf has the wrong permissions for some reason.If you want you could try to check and possibly change the permissions.If you decide to try this I would backup the file because you never know.
The permissions should be: Owner - wifi Group - wifi...
Owner read and write/Group read and write/ others none.
If your permissions are correct on that file the only other thing I could possibly think of to do if you wanted would be to delete that file,wpa_supplicant.conf.Only after you back it up it though because you will lose all of your passwords,and reboot.It should recreate it.Do that at your own risk though.This is all I have come up with because I have never had that problem,so it's a bit difficult.
I am sorry, I think the error was my fault and not a bug of the kernel. I think the build that I am running at the moment is one I build myself and used sabermod toolchain. I remembered that I had the same problem using DMPKernel on that build. I thought I was using one of hennymmc's builds by now - so, sorry for reporting but thanks for looking into anyways.
Unfortunately I tried both and didnt solve the issue ,the permissions were set correctly btw.
I just installed the CM13 on another partition but - unless I have a flashable zip file - I can not install your kernel on that one. Would it be possible to provide the kernel as .zip?
zaworka said:
I am sorry, I think the error was my fault and not a bug of the kernel. I think the build that I am running at the moment is one I build myself and used sabermod toolchain. I remembered that I had the same problem using DMPKernel on that build. I thought I was using one of hennymmc's builds by now - so, sorry for reporting but thanks for looking into anyways.
Unfortunately I tried both and didnt solve the issue ,the permissions were set correctly btw.
I just installed the CM13 on another partition but - unless I have a flashable zip file - I can not install your kernel on that one. Would it be possible to provide the kernel as .zip?
Click to expand...
Click to collapse
Sure thing.I updated the download section above and added a flashable zip.I think it'll work.
spookcity138 said:
Sure thing.I updated the download section above and added a flashable zip.I think it'll work.
Click to expand...
Click to collapse
Nice, that worked! Thanks for the effort :good:
Will test it over the next few days :fingers-crossed:
zaworka said:
Nice, that worked! Thanks for the effort :good:
Will test it over the next few days :fingers-crossed:
Click to expand...
Click to collapse
Good,I'm glad that worked.You thoughts and feedback are most welcomed.
Any chance this kernel hits the G800H for cm 13 too ?
I can be your tester
sasukesama said:
Any chance this kernel hits the G800H for cm 13 too ?
I can be your tester
Click to expand...
Click to collapse
Hey, I appreciate the offer. That is something I can look into at some point. No promises. In still trying to learn all of this stuff.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Hey, I appreciate the offer. That is something I can look into at some point. No promises. In still trying to learn all of this stuff.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Sounds good
I think you can do the same (using the cm13 kernel and DJ_Steve kernel stuff) as he has a G800H version of his kernel
I use your kernel , you can repair the wifi ?
Abde77 said:
I use your kernel , you can repair the wifi ?
Click to expand...
Click to collapse
What's the problem with the WiFi exactly? I need to update this anyway. I will at some point.I've had no WiFi probs though.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
What's the problem with the WiFi exactly? I need to update this anyway. I will at some point.I've had no WiFi probs though.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Conducted any work on the development of the kernel? About sound problems and headphones like DJ_Steve , initially had no problems, and then there., maybe it depends on kernel version? Is there a chance to make all the improvements in version 3.4.39 ? (Google translation)
Oleggluk said:
Conducted any work on the development of the kernel? About sound problems and headphones like DJ_Steve , initially had no problems, and then there., maybe it depends on kernel version? Is there a chance to make all the improvements in version 3.4.39 ? (Google translation)
Click to expand...
Click to collapse
I actually haven't touched this recently at all.I've been spending too much time on the mess that is my AOSP build [emoji2]
I give up on that for now though.It's giving me a headache.
I will try to get back to this soon,as I don't even think it works with any of my builds.I don't know.I'm not even using this right now.
I never actually had any real audio issues with this however and I did use if for awhile,so that's strange.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I actually haven't touched this recently at all.I've been spending too much time on the mess that is my AOSP build [emoji2]
I give up on that for now though.It's giving me a headache.
I will try to get back to this soon,as I don't even think it works with any of my builds.I don't know.I'm not even using this right now.
I never actually had any real audio issues with this however and I did use if for awhile,so that's strange.
Click to expand...
Click to collapse
Also does not have wi-fi access in the new Assembly СМ13 from ayke with this kernel. I took apart your kernel and replace the ramdisk from the new build, wifi now works. (Google translation)
Oleggluk said:
Also does not have wi-fi access in the new Assembly СМ13 from ayke with this kernel. I took apart your kernel and replace the ramdisk from the new build, wifi now works. (Google translation)
Click to expand...
Click to collapse
I kinda remember this issue as well.Good to know about the ramdisk.
Its such a strange thing how only some experience the robotic voice...and you have no microphone problems with ayke's build either? Like it stops working after a phone call?
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I kinda remember this issue as well.Good to know about the ramdisk.
Its such a strange thing how only some experience the robotic voice...and you have no microphone problems with ayke's build either? Like it stops working after a phone call?
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Robot voice I have never had. And mute has the same problem that error camera. If you kill the mediaserver, the microphone performance is restored. You can use the long-known app Mediaserver Killer. (Google translation)
Thunderoar Kernel For SM-T113
(Tab 3 Lite 7.0 Wifi)
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards, corrupted partition, nuclear disasters
* Please do some research before using this mod!
* YOU are choosing to make these modifications,
* If you point the finger at me for messing up your device, I will laugh at you.
Features:
Overclocked
Deferred Timer for KSM
USB Fast Charge
Arch Power
Frandom
Powersuspend for battery life/saving
QuickWakeup for battery life/saving
Dynamic Sync Control
Fsync control on/off
Voltage Tweak
NVS hibernate driver
Multicore Power Saving
Schedule workqueues on awake CPUs to save power
CPU Boost
Adaptive Low Memory Killer
Software CRC control toggle
Gentle Fair Sleepers toggle
and so on...
CPU Hotplug:
AutoSMP
Added CPU governors:
Sprdemand
Conservative
Ondemand
Userspace
Powersave
Interactive
Performance
and so on...
Planned Update
-nothing i guess (but u can suggest somethin to me that possible)
Bugs(s)
-No MORE BUG!
Custom kernel Installation:
Download the kernel from here
Choose the tar.md5 if flashing from odin
Choose the zip files if flashing from custom recovery
Choose the latest version
Odin Instruction:
Open any version of odin
Choose your tar.md5 file from AP Tab
And Start
Custom Recovery Instruction:
Reboot into recovery if usin zip files (recommended to make a nandroid)
Flash the kernel zip
Reboot and enjoy!
Stock kernel Installation:
Download the stock kernel from here
Enter recovery mode, choose install, choose install image,
and then go to the directory of your downloaded stock kernel
choose it and then check mark on the boot circle.
And then flash it
Notes:
20/12/2107
Kernel Update!!
Thunderoar-Kernel 5.0 Codenamed "Angel Beats!"
Fix all issues regarding MTP not working
and random reboot, is this a comeback? xD, i don't know xD
It appears that my kernel uses a lot more memory than i expected,
Possibily some problem with memory patch in the kernel source
The workaround for this problem is you have to increase your disksize
In the kernel adiutor, if it stays at 300mb, it will not enough and cause a problem
Which is stuck or complete crash of device. Recommended size is 500mb or more if
you encountered it again and set swappiness into 60
XDAevDB Information
Thunderoar Kernel, Kernel for the Samsung Galaxy Tab 3 7.0
Contributors
@Thunderoar
Credits:
@Osm0sis-For the Anykernel2
@stathis95194-For the stock kernel
Github:
Kernel source
Version Information
Status: Stable
Current Stable Version: Angel Beats! || 5.0
Stable Release Date: 2017-12-24
Created 2016-12-26
Last Updated 2017-12-24
Press the "Thanks" button if you appreciate my work or if i helped you
Changelog:
V5.0 Codenamed "Angel Beats!" (2017-12-24)
+Kernel upstream version 3.10.17->3.10.108
+Gpu update
+Fix MTP
+CPU Frequency change 200MHz upto 1.5GHz
+Entropy Update
+Multicore Power Saving
+CPU Boost
+Arch Power
+Power Suspend
+Quickwakeup
+Read-ahead set to 512kB
+Adaptive Low Memory Killer
+Software CRC control
+Gentle Fair Sleepers
+Fsync On/Off
+Built from scratch and fixed random reboot
+Dynamic Fsync
-Removed Obselete Cpu Governor
-Removed Obselete I/O Scheduler
-Removed UKSM and use normal KSM
V4.1.1 update (2017-7-5)
+Fix some devices not booting
+New CPU Hotplug: AutoSMP
V4.1 update (2017-7-3)
+Just another update for stability
V4.0 update (2017-7-3)
+No more Reboot or similar effect - Tested
+Linux kernel downgraded into 3.10.32 temporarily because rebuilt from scratch
+Auto cpu boost on input without predefined frequency
+UKSM(Ultra Kernel Samepage Merging)
+LZ4 Z-RAM - Faster Memory
+Asynchronous Fsync -Faster storage management
+USB Fast Charge are back
-Removed cpu governor: OndemandX, Zzmoove, Scary *Temporary*
V3.4 update (2017-6-22)
+The most stable kernel that i've ever built
+Linux Kernel 3.10.44
+No more frequent reboot or similar effect
+Bug fixes
V3.3 update (2017-6-17)
+Linux Kernel 3.10.40
+Properly fix the bug that mentioned on the v3.2 update and lower the risk of instability
+A bunch of cpu governor
*Hotplug
*Lionheart
*Reworked version of intelliactive
*Ondemandplus
*OndemandX
*Hyper
*Zzmoove
*Nightmare
*Wheatley
*Badass
*Scary
*All of them are properly functioning and tuned for compatibility
and if you want the hotplug features, use the hotplug governor provided
+Bug Fixes
-Adaptive cpu governor removed parmanently
V3.2 update (2017-6-8)
+Update: Linux Kernel 3.10.37
+Update: Using the latest Anykernel2 zip
+Update: Minimum frequency change into 254MHz and also voltage change for nice battery lasting
+Update: cpu-boost set to 765MHz and running for 3 seconds when touch detected
+Update: Set CFQ as default scheduler
+Fix: Bug that cause long running app either in the background or foreground to freeze/lagging/reboot etc.
+Fix: Bug that cause the device to reboot randomly
+Fix: Bug that cause the graphic being not working/properly lagging or some sort
+Fix: Bug that cause the device to reboot or freeze when standby
+Fix: Bug that causing the kernel to working improperly/lagging/rebooting/unstable after a while
+Bug fixes
V3.1 update (2017-5-7)
+CPU Frequency minimum change -> 384MHz
+Fix Frequency bug stuck at 768MHz
+Faster charging
V3.0 update (2017-5-7)
+Kernel version updated from 3.10.22 - > 3.10.26
+Using updated Anykernel zip
+Frequency: changed into 1600Mhz and minimum is 386Mhz
+GPU: function updated
+Deferred Timer working as it is
+LZ4 compression
+"Schedule workqueues on awake CPUs to save power" are back
+Remove conflict between Samsung touch booster and my CPU-Boost so you can actually set the amount you want
for boost
+Sync threshold for cpu-boost are not set
+I/O scheduler default to deadline
+Fsync are on by default
+TCP Congestion Algorithm set default to Westwood which is the fastest for network usage
+Additional TCP Congestion Algorithm are added
+Additional tweak to make the kernel faster
+Camera Fix!!!
+MTP Function (unconfirmed)
+A whole lot of bug fixes
-sprdemand governor
-Fastcharge (for now)
V2.8 update (2017-1-31)
+Frequency: changed into 1660Mhz and minimum is 580Mhz
+Cpu-boost: defined stable values
+Less OS tearing
+Fastcharge updated
+Audio functionality improved
+Voltage: change for low-power use
+Many bug fixes
+Selinux: updated
-Automatic Cpu Hotplug: removed for better stability but with little to no battery drainage but you still can deactivate the cores through Kernel Adiutor
-Sprdemand: removed
V2.6.1-MR1 update (2017-1-1)
*Note:This is maintenance release therefore some features may temporarily unavailable
Add: cpu-boost currently disabled but provided as an option
Add: voltage change
Add: frequency change from 386Mhz to 1600Mhz for more stable
FIx: serious bug that causing switching off mobile data make it freeze/crash
Fix: bug that causing the device freezing/crash throughout all my kernel update release
V2.6 (2016/12/27)
+Initial release
After flashing all apps start to crash.
Jimbus369 said:
After flashing all apps start to crash.
Click to expand...
Click to collapse
Quick note on the crashing apps.
T113XXU0APE2: Does not have this issue
T113XXU0APH5: When I use this ROM, than indeed everything goes bananas after booting up the tablet.
Before flashing the kernel I advice to disable all unnecessary services and with that I mean everything with Samsung in the name and also all of the google apps you don't use. It seems that com.google.process.gapps is causing a crash chain reaction so do disable this services as first. I'm using lucky Patcher for disabling services and for those who are unfamiliar with this my advice is to not uninstall an app but first disable it and later when you are satisfied you than may safely uninstall the unwanted app/service.
Bugs
Camera doesn't working
My apps continue to crash in the latest version Also after a Dalvik wipe.
Build: T113XXU0APH5
Jimbus369 said:
My apps continue to crash in the latest version Also after a Dalvik wipe.
Build: T113XXU0APH5
Click to expand...
Click to collapse
All the app?
Thunderoar said:
All the app?
Click to expand...
Click to collapse
Yes, all apps.
This is extremely exciting and can't wait to try it out!
Build T113XXU0APA5
Will let you know how it goes....
Wanted to ask (not that it's a huge deal) is there init.d support in this kernel?
If so do I need to do anything special to enable it?
Going to go ahead with it anyway and see what happens!
Thunderoar said:
* If you point the finger at me for messing up your device, I will laugh at you.
Click to expand...
Click to collapse
Better start laughing, 'cause my finger's pointing directly at you! And also twitching slightly out of frustration!
....Nah, it's all good. :highfive: I screwed things up all on my own by getting flash-happy. :crying:
On the plus side: It worked GREAT! :highfive: Thanks so much for putting this together for us tiny-tab users, you did a great job.
Not only did Byron (my T113's name) run smoother and faster than I've seen yet (yay!), but suddenly Mounts2SD had no issues whatsoever. Up till now it's been a supreme struggle to get /sd-ext to mount properly, to be used properly, etc. etc. - but after flashing this kernel, on first boot boom, everything just worked. Without changing anything I'd already done.
Should have just left it the way it was, eh? But noooo, I had to go "try something else" and made a stupid mistake somewhere, and now no combination of ROM / kernel / nandroid backup (meticulously organized and annotated) is booting up. I even lost TWRP for a little bit.... As penance for my sin of wanting "more", I've gotta dig up Odin, go back to stock, and start from scratch.
SO! QUESTION FOR YOU! (OR ANYBODY REALLY....)
When I fire up Odin and restore the official stock ROM (eg from Sammobile or Samsung), does that include the stock kernel too?
If the stock kernel IS a separate file, where should I look? (Your OP for the T116 kernel includes a link for that model, but not OP in here. I'm sure I can find it on my own but right now I'm just whiny.)
Not going to wait for an answer/s before moving ahead, but any response here will serve as documentation for myself and others in future!
(How don't we have a smiley for "pointing finger"? There's at least TWO in Unicode but I'm too lazy to go get it right now....)
PushyPhoenix said:
When I fire up Odin and restore the official stock ROM (eg from Sammobile or Samsung), does that include the stock kernel too?
Click to expand...
Click to collapse
Yes, it will revert itself to its normal condition such as stock rom, stock kernel and everything
PushyPhoenix said:
If the stock kernel IS a separate file, where should I look? (Your OP for the T116 kernel includes a link for that model, but not OP in here. I'm sure I can find it on my own but right now I'm just whiny.)
Click to expand...
Click to collapse
The kernel is in the md5 file or in the zip file, named boot.img
That's awesome to know, and came to the same conclusion when stock setup started asking personal questions and wanted a wifi password. Rooting it this very moment, though if I'd waited *just* a little longer I wouldn't have to. Wow you're fast!
That boot.img file info will come in handy when I screw up on any ROM, thanks! This one is going ASAP into a safe and accessible place for "just in case"....
Hey, I've always wondered and maybe you can tell me:
When flashing this type of file in recovery or adb, does the filename matter? If I rename it "T113-[build]-boot.img" for example, will anything go wrong?
Feel free to point me elsewhere to learn more about how these things work, I've followed a lot of guides but want to understand the "why" as well.
Sent from my SM-G900W8 using XDA Labs
PushyPhoenix said:
That's awesome to know, and came to the same conclusion when stock setup started asking personal questions and wanted a wifi password. Rooting it this very moment, though if I'd waited *just* a little longer I wouldn't have to. Wow you're fast!
That boot.img file info will come in handy when I screw up on any ROM, thanks! This one is going ASAP into a safe and accessible place for "just in case"....
Hey, I've always wondered and maybe you can tell me:
When flashing this type of file in recovery or adb, does the filename matter? If I rename it "T113-[build]-boot.img" for example, will anything go wrong?
Feel free to point me elsewhere to learn more about how these things work, I've followed a lot of guides but want to understand the "why" as well.
Click to expand...
Click to collapse
I do believe that when flashing a boot.img through TWRP with the image flasher, the file needs to say boot.img I may be wrong but I had issues before when I changed the name of the file to keep track of which one it was....lol... I have since started putting the boot.img files in their own folders with the appropriate name on the folder.
By the way, great to see development on this tablet. I am going to be testing this kernel in a personal build and see if I can squeeze as much out of it as I can get. So thank you dev.. Awesome work and greatly appreciated. : )
glockman4519 said:
I do believe that when flashing a boot.img through TWRP with the image flasher, the file needs to say boot.img I may be wrong but I had issues before when I changed the name of the file to keep track of which one it was....lol... I have since started putting the boot.img files in their own folders with the appropriate name on the folder.
Click to expand...
Click to collapse
That's a great idea... Ugh, adding another folder to the folder full of folders on my computer frightens me. But if that's what it takes!
Sent from my SM-G900W8 using XDA Labs
---------- Post added at 11:28 PM ---------- Previous post was at 11:23 PM ----------
Thunderoar said:
Yes, it will revert itself to its normal condition such as stock rom, stock kernel and everything
Click to expand...
Click to collapse
So I've run into a bit of a problem. Tried outFyrestone ROM and i love it, but it's based on PH5 firmware and doesn't play nice with your wonderful kernel. Which means my sd-ext is broken...
I know you're very busy (and I haven't a clue what kind of work is required), but wondered if you know when we can expect to see an update?
Thanks so much for all your hard work!
Sent from my SM-G900W8 using XDA Labs
PushyPhoenix said:
That's a great idea... Ugh, adding another folder to the folder full of folders on my computer frightens me. But if that's what it takes!
Sent from my SM-G900W8 using XDA Labs
---------- Post added at 11:28 PM ---------- Previous post was at 11:23 PM ----------
I get it, it clutters things s bit. But I am one who like an organized setup anyways so adding more folders is common for me. It may not be everyone's cup of tea so to speak.
But on my PC and in my external SD , on my tablet, I have a folder named tab "what ever", then inside there are folders named mods, ROMs, kernels and then gaops. In the kernel folder I have sub folders for just this reason and those folders will have the kernel name on it and then inside will be the standard "boot.img"..
It works for me and above all, works for TWRP.
Click to expand...
Click to collapse
First of all, sincere thanks for replying; this advice may help others as well
glockman4519 said:
PushyPhoenix said:
Ugh, adding another folder to the folder full of folders on my computer frightens me.
Click to expand...
Click to collapse
I get it, it clutters things s bit.
Click to expand...
Click to collapse
My apologies for not being more clear on what exactly 'frightens' me about this idea. There have been times when I've backed things up this way and couldn't get into them again because of the number of characters in the path and file name - they were just too long!
Mind you, this was tens of years ago on WinXP and it never occurred to me to try finding a fix.
But on my PC and in my external SD , on my tablet, I have a folder named tab "what ever", then inside there are folders named mods, ROMs, kernels and then gaops. In the kernel folder I have sub folders for just this reason and those folders will have the kernel name on it and then inside will be the standard "boot.img"..
Click to expand...
Click to collapse
That's a fantastic system, very similar to the one I'm now using, and will add new folders as you've suggested. Hopefully reading this will benefit those who are new to this world so they don't wind up with folders full of mysterious files and untagged backups for various devices, that made perfect sense at the time. (Like the one folder for my first few devices, which now looks like gobbledygook....)
Lollipop ROM for T113 (Samsung Tab 3 lite "7 wifi-only)
Topic:
Lollipop ROM for T113 (Samsung Tab 3 lite "7 wifi-only)
Is there any lollipop/marsmallow/Nougat ä ROM that works in my T113 (Samsung tab 3 lite "7)? This device runs natively Android 4.4.4, but I Really need Android 5 or higher! Lollipop would do just fine.. I took a look at most popular custom roms to this device, but most were 4.x.x.. And nothing for t113! And all of those were to T221 or so, in the list they're were few supporting T110/T111, but now T113. Does those work in this T113? Isn't it just same device?
Please tell me if you have any idea of rom with Android 5 or newer that works in this T113!
It would be awesome to have Lollipop-Slimrom or Resurrection remix with Android 5/6/7..
Even Stock Lollipop would be adequate, android 4 lacks important features...
There's many roms to this device, but they are for T2XX or T110/T111... Does any of those run in t113?
I have already rooted this tablet and installed TWRP.
Thank you so much for help in advance! Any information that gets me closer to have Lollipop or newer is very very much appreciated!
Sincerely,
tatu-o aka. mlc
PushyPhoenix;[email protected] said:
SO! QUESTION FOR YOU! (OR ANYBODY REALLY....)
When I fire up Odin and restore the official stock ROM (eg from Sammobile or Samsung), does that include the stock kernel too?
If the stock kernel IS a separate file, where should I look? (Your OP for the T116 kernel includes a link for that model, but not OP in here. I'm sure I can find it on my own but right now I'm just whiny.)
Click to expand...
Click to collapse
1.Yep
2.The stock kernel is in the md5 file which is boot.img, the md5 file I mentioned is in the stock rom
I guess I double answered this question, my bad :silly:
PushyPhoenix said:
Hey, I've always wondered and maybe you can tell me:
When flashing this type of file in recovery or adb, does the filename matter? If I rename it "T113-[build]-boot.img" for example, will anything go wrong?
Click to expand...
Click to collapse
It varies, sometimes when flashing thing through adb or recovery with filename had a space in it, it would not detect it cuz the name is spaced and separated and it didn't recognize it as a file cuz the file extension doesn't connected to the name cuz it separated/spaced.
Thunderoar said:
I guess I double answered this question, my bad :silly:
Click to expand...
Click to collapse
Hahaa, thought it sounded familiar! No problem, better to get the answer multiple times than not get an answer at all.
---------- Post added 01-29-2017 at 12:01 AM ---------- Previous post was 01-28-2017 at 11:59 PM ----------
Thunderoar said:
It varies, sometimes when flashing thing through adb or recovery with filename had a space in it, it would not detect it cuz the name is spaced and separated and it didn't recognize it as a file cuz the file extension doesn't connected to the name cuz it separated/spaced.
Click to expand...
Click to collapse
Good to know! I've had so many issues over the years, with spaces in filenames, that any renames for files like this get an underscore or dash instead of spaces. Helps in lots of other ways, too.