FORUMS
Remove All Ads from XDA

[Kernel][4.4.2] Falter v1.1 (ElementalX port)

111 posts
Thanks Meter: 148
 
Post Reply Subscribe to Thread Email Thread
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
Attached Thumbnails
Click image for larger version

Name:	2014-07-15 18.57.35.png
Views:	1146
Size:	208.8 KB
ID:	2853338   Click image for larger version

Name:	2014-07-15 19.05.37.jpg
Views:	1117
Size:	123.9 KB
ID:	2853339  
The Following 23 Users Say Thank You to Matri}{ For This Useful Post: [ View ] Gift Matri}{ Ad-Free
 
 
15th July 2014, 10:13 PM |#2  
migascalp's Avatar
Senior Member
Flag Créteil
Thanks Meter: 289
 
More
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
The Following User Says Thank You to migascalp For This Useful Post: [ View ] Gift migascalp Ad-Free
15th July 2014, 10:59 PM |#3  
dioooi's Avatar
Senior Member
Flag Georgetown, Penang
Thanks Meter: 53
 
More
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
Last edited by dioooi; 15th July 2014 at 11:02 PM.
The Following User Says Thank You to dioooi For This Useful Post: [ View ] Gift dioooi Ad-Free
16th July 2014, 01:10 AM |#4  
koniiiik's Avatar
Senior Member
Flag Göteborg
Thanks Meter: 132
 
Donate to Me
More
Quote:
Originally Posted by migascalp

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

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.
The Following User Says Thank You to koniiiik For This Useful Post: [ View ] Gift koniiiik Ad-Free
16th July 2014, 02:15 AM |#5  
migascalp's Avatar
Senior Member
Flag Créteil
Thanks Meter: 289
 
More
thank you for your explanations.
It only remains to wait for the kernel sources for Wake on Gesture.
Or wait for the next Butterfly
16th July 2014, 05:30 AM |#6  
Senior Member
Thanks Meter: 22
 
More
Quote:
Originally Posted by migascalp

thank you for your explanations.
It only remains to wait for the kernel sources for Wake on Gesture.
Or wait for the next Butterfly

thank you for this...how do i revert back to stock kernel?
16th July 2014, 07:25 AM |#7  
Matri}{'s Avatar
OP Senior Member
Flag Kyiv
Thanks Meter: 148
 
More
It is possible to add exFAT support. Not sure about OTG
16th July 2014, 09:45 AM |#8  
dioooi's Avatar
Senior Member
Flag Georgetown, Penang
Thanks Meter: 53
 
More
Quote:
Originally Posted by pkalltheway2000

thank you for this...how do i revert back to stock kernel?

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.
The Following User Says Thank You to dioooi For This Useful Post: [ View ] Gift dioooi Ad-Free
16th July 2014, 10:01 AM |#9  
koniiiik's Avatar
Senior Member
Flag Göteborg
Thanks Meter: 132
 
Donate to Me
More
Quote:
Originally Posted by pkalltheway2000

thank you for this...how do i revert back to stock kernel?

Quote:
Originally Posted by dioooi

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.

Or just take the boot.img from the matching OTA package (from here, for example) and use fastboot to flash it.
The Following User Says Thank You to koniiiik For This Useful Post: [ View ] Gift koniiiik Ad-Free
16th July 2014, 11:58 AM |#10  
migascalp's Avatar
Senior Member
Flag Créteil
Thanks Meter: 289
 
More
@Matri}{
To use internal μSD is already a good thing. OTG is less useful in this case.
16th July 2014, 04:33 PM |#11  
koniiiik's Avatar
Senior Member
Flag Göteborg
Thanks Meter: 132
 
Donate to Me
More
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.
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes