[KERNEL] [April 21] Bulletproof
Bulletproof Kernel
for Google Play Edition and Sense-based ROMs
This version works on every HTC One variant except Sprint and Verizon
The Sprint HTC One version is here: http://xdaforums.com/showthread.php?t=2280576
Source:
Bulletproof-m7 (Android 4.2.2)
Bulletproof-m7 (GPE Android 4.3)
Bulletproof-m7 (Sense 5.5 Android 4.3)
Bulletproof-m7 (GPE Android 4.4)
XDA:DevDB Information
Bulletproof | S2W | L2M | DT2W | BLN , a Kernel for the HTC One
Contributors
flar2
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 14.2
Stable Release Date: 2014-04-21
Created 2013-07-30
Last Updated 2014-04-22
Bulletproof Kernel
for Google Play Edition and Sense-based ROMs
This version works on every HTC One variant except Sprint and Verizon
The Sprint HTC One version is here: http://xdaforums.com/showthread.php?t=2280576
Bulletproof is an enhanced stock kernel for those who depend on their phone and need 100% stability. It is highly optimized for smooth performance and extended battery life. Enhancements include several sleep/wake options (S2W, DT2W, L2W), pocket detection to prevent accidental wakes, full compatibility with paid apps, button light notification, 60Hz refresh rate for HDMI, HTC logo as menu button, support for many gamepads and more.
Code:
* Standard disclaimer:
* Your warranty is now void. Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems!
FEATURES:
- Aroma installer
- sweep2wake
- doubletap2wake
- logo2menu
- logo2wake
- pocket detection
- optimized for battery life
- button light notification
- /system writable
- NTFS r/w support
- exFAT support
- faux123 sound control support
- CIFS support
- USB forece fastcharge
- /dev/frandom
- voltage control
- intellidemand governor
- FIOPS and SIO i/o schedulers
- fix MHL refresh rate
- maintains compatibility with all paid apps
- support more game controllers
- optimized -O3 Linaro 4.7.3
Please hit the Thanks button if you download this
If you really like it, please consider a donation to encourage continued developement
Thanks to those who have donated!
DOWNLOAD
HTC Sense 5.5 & Sense 6 Android 4.4.2
Bulletproof-m7-14.2
Google Play Edition Android 4.4.2
Bulletproof-m7-11.0
HTC Sense 5.5 Android 4.4
Bulletproof-m7-10.3
Google Play Edition Android 4.4
Bulletproof-m7-9.1
HTC Sense 5.5 Android 4.3
Bulletproof-m7-8.1
HTC Sense 5 Android 4.3
Bulletproof-m7-6.2
Google Play Edition Android 4.3
Bulletproof-m7-5.3
HTC Sense 5 or Google Play Edition Android 4.2.2
Bulletproof-m7-4.4
HTC Sense 5 Android 4.1.2
Bulletproof-m7-2.1
For more options and tweaking, try my other kernel: ElementalX
INSTALLATION
1. Install zip from Recovery
2. Reboot!
For installation, it seems a lot of people have finicky phones when it comes to flashing stuff with aroma.
If the installer gets stuck at 0% then you need to reboot to bootloader and do fastboot erase cache
If the installer reboots at 10%, you need to do a nandroid backup of /system partition and restore it. I think a dirty flash would also work.
After you install it, if you get a black screen or stuck at the HTC logo, no need to worry. Just hold down the power button untill the capacitive buttons start flashing and the phone restarts. The kernel installed correctly.
Previous releases:
Bulletproof-m7-14.1
Bulletproof-m7-13.0
Bulletproof-m7-9.0.3-GPE
Bulletproof-m7-10.2
Bulletproof-m7-10.1
Bulletproof-m7-10.0
Bulletproof-m7-8.0
Bulletproof-m7-7.0.1
Bulletproof-m7-7.0
Bulletproof-m7-6.1
Bulletproof-m7-6.0
Bulletproof-m7-4.3
Bulletproof-m7-4.2
Bulletproof-m7-4.1
Bulletproof-m7-4.0
Bulletproof-m7-3.4
Bulletproof-m7-3.2
Bulletproof-m7-3.1
Bulletproof-m7-2.0
Bulletproof-m7-1.10
Bulletproof-m7-1.9
Bulletproof-m7-1.8
Bulletproof-m7-1.7.1
Bulletproof-m7-1.6
Bulletproof-m7-1.5
Bulletproof-m7-1.4
Bulletproof-m7-1.3
Bulletproof-m7-1.2
Bulletproof-m7-1.1
Bulletproof-m7-1.0
Bulletproof-m7-0.5
Bulletproof-m7-0.4
Bulletproof-m7-0.3.1
Bulletproof-m7-0.2
Bulletproof-m7-0.1
Credits and Thanks:
@tbalden: logo2menu, bln, camera fix on sense 4.3
@mkasick: Fix for empty app-mounted directories
@deagleone: awesome bulletproof logo
NOTES
Kernel Tuner/TricksterMod/Venom Tweaks, etc
You don't need these apps because the Bulletproof installer sets everything up automatically, but if you want to check or change settings, you can use these apps. Just be aware that some of them (e.g. Kernel Tuner) are set by default to apply settings on boot, which can interfere with the settings you chose in the Bulletproof installer.
init.d script template
The installer automatically adds an init.d script template so you can apply settings automatically at boot. It is not needed and does nothing by default, but you can use it to fine tune some settings if you like.
The script is named /etc/init.d/99bulletproof. This is where you would set the button_timeout if you don't like the default settings. There are other example settings in the file related to sweep2wake, doubletap2wake, logo2wake, pocket detection, logo2menu, button light notification, USB fastcharge, HTC color enhancement
To make settings apply automatically at boot, remove the # in front of the desired setting and change the setting, eg: removing the # in front of echo 0 > /sys/android_touch/button_timeout would disable that setting
If you edit the file, make sure it has execute permissions, or it won't apply. You can do this with ES File Explorer or other similar apps
Sweep2Wake
Sweep2wake (S2W) allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep). The options are: sweep2wake/sweep2sleep, sweep2sleep only, and disabled. If you use apps such as Kernel Tuner, the sweep2sleep only option can be selected by choosing "On with backlight".
/sys/android_touch/sweep2wake
0=disabled
1=enable sweep2wake + sweep2sleep
2=enable sweep2sleep only
Sweep2wake button timeout
In earlier versions, sweeping to sleep brought you back to the homescreen. Starting in version 4.3, if you swipe fast enough, it will not register a home button press in the sweep, and your last app will be there when you unlock the phone again. Depending on how quick your fingers are, double tapping home could put the phone to sleep instead of opening recent apps. I've made the default button_timeout such that it is almost impossible for this to happen in normal use (button_timeout = 6). If you find that it happens too often, you can set button_timeout to a lower number, or disable it completely by setting it to 0.
/sys/android_touch/button_timeout
Accepted values are 0 to 15. 0 disables button timeout
• Higher values make it more likely that your last app will be open after you sweep to sleep, but there is a higher risk of accidentally putting the device to sleep when double tapping home.
• Lower values make it less likely that your last app will be open after you sweep to sleep, but reduces the chance of a double tap of home being mistaken for a sweep2sleep.
• Setting button_timeout to 0 disables this feature completely
The setting can be changed after installation in /etc/init.d/99bulletproof
DoubleTap2Wake
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping in the bottom inch or so of the screen, above the capacitive buttons.
/sys/android_touch/doubletap2wake
0=disabled
1=enable doubletap2wake
Logo2Wake
Logo2Wake (L2W) allows you to sleep or wake the device by long pressing the HTC logo. You have to press just slightly above the HTC logo. The screen will automatically turn on or off with a long press.
/sys/android_touch/logo2wake
0=disabled
1=enable logo2wake
Pocket Detection
Pocket detection protects against accidental wakes while S2W, DT2W or L2W are enabled and the phone is in your pocket. Pocket detection uses the proximity sensor. A few people have a problem with their proximity sensor that makes DT2W not work, so I've made an option to disable pocket detection.
/sys/android_touch/pocket_detect
0=disabled
1=enable pocket detection
Logo2Menu
Enabling Logot2Menu (L2M) allows you to use the HTC logo as a menu button. You must press just slightly above the HTC logo.
/sys/android_touch/logo2menu
0=disabled
1=enable logo2menu
Button Light Notification
With Button Light Notification (BLN), the capacitive buttons will blink on and off when you have a new notification. As soon as the screen comes on, BLN is canceled and the lights will no longer blink until you have another notification. Please note that if you have your screen set to turn on when a message arrives, you will not see the buttons blinking because once the screen comes on, the button light notification is canceled.
/sys/class/leds/button-backlight/blink_buttons
0 = disabled
1 = BLN enabled
CPU voltages
CPU voltages are fully customisable with apps such Kernel Tuner or Trickster Mod. Be careful, lowering voltages can cause instability. Generally, having reboots while the phone is asleep is a sign that your minimum voltage is too low. The minimum voltage allowed is 700mV.
Be careful with undervolting. If you have bluetooth or sound issues, try increasing the minimum voltage.
Camera
On 4.2.2 ROMs, using HDR mode in low light with automatic flash may freeze the camera app.
NTFS support
This is for anyone who wants to use OTG to connect a USB stick or portable harddrive formatted with Microsoft's NTFS filesystem. You will need Stickmount or a similar app, HTC Sense does not automatically detect NTFS filesystem.
Paid Apps
All the cryptographic modules load properly, so you shouldn't have an issues with paid apps.
Other stuff
This kernel supports many game pads and controllers, including PS3 controllers and some X-Box controllers. It has full OTG support. A refresh rate of 60Hz for HDMI output allows you to play games on the big screen without choppiness. CIFS support is built into the kernel. Faux sound control is also supported.
CHANGELOG:
December 15, 2013 - Bulletproof-11.0
-update for Google Play Edition Android 4.4.2
-add multiboot support
-remove 3-dot menubar option
December 14, 2013 - Bulletproof-10.3
-restrict doubletap2wake to bottom half of screen
-update installer
December 14, 2013 - Bulletproof-9.1
-restrict doubletap2wake to bottom half of screen
-update installer
-battery saving tweaks
December 7, 2013 - Bulletproof-10.2
-remove doubletap2sleep
-battery saving tweaks
December 4, 2013 - Bulletproof-10.1
-fix bln setting
-add doubletap2sleep
-restrict doubletap2wake to bottom half of screen
December 1, 2013 - Bulletproof-10.0
-update for Sense 5.5 Android 4.4
December 1, 2013 - Bulletproof-9.0.3
-remove "remove 3-dot menubar" option
November 27, 2013 - Bulletproof-9.0.2
-fix module installation
November 27, 2013 - Bulletproof-9.0.1
-remove "restore 3-dot menubar" option
November 26, 2013 - Bulletproof-9.0
-update with HTC Google Play Edition source code
November 24, 2013 - Bulletproof-8.1
-fix pocket detection
-fiops is default scheduler
November 23, 2013 - Bulletproof-8.0
-update with HTC source code
-adjust touch wake functions
-restore stock camera app and libs
October 21, 2013 - Bulletproof-7.0.1
-update camera apk
October 14, 2013 - Bulletproof-7.0
-fix camera (thanks tbalden)
-update ramdisk for Sense 5.5
September 14, 2013 - Bulletproof-6.2
-free up more RAM
-camera fix for 3.17 base (thanks @tbalden)
-updated ramdisk to 3.17 version
September 9, 2013 - Bulletproof-6.1
-AIO: Don't plug the I/O queue in do_io_submit()
-fsync switch (on by default)
-update installer
September 8, 2013 - Bulletproof-6.0
-support sense android 4.3
September 3, 2013 - Bulletproof-4.4
-update with 4.2.2 Sense source
-update modules
-adjust Makefiles
-fix logo2wake bug
-add exfat support
August 12, 2013 - Bulletproof-5.3
-adjust build options
-fix logo2wake active after finger leaves logo area
August 10, 2013 - Bulletproof-5.2
-adjust build options
August 10, 2013 - Bulletproof-5.1
-remove log spam
August 9, 2013 - Bulletproof-5.0
-update to GE 4.3 source
-update installer
July 25, 2013 - Bulletproof-4.3
sweep2wake fixes
-doubletap2wake adjustments
-Makefile optimizations
-install-recovery.sh command added to ramdisk
-updated modules
-updated installer
-add init.d script template
July 22, 2013 - Bulletproof-4.2
-add option to enable fastcharge automatically
-fix sweep2wake bugs
July 21, 2013 - Bulletproof-4.1
-installer fixes
-new logo (thanks @deagleone)
-linaro 4.8.1 O3 build
July 20, 2013 - Bulletproof-4.0
-use Google Android toolchain 4.6
-update installer options
-fix sweep2wake bugs
-fix for home button options (if not using logo2menu)
-add ability to restore 3-dot menu
-fix capacitive buttons sometimes still active while screen off
July 11, 2013 - Bulletproof-3.4
-fix touchscreen registering input during calls
-add TCP congestion algorithm options
-fix fastcharge (@tbalden)
-vibration feedback for s2w
-add sysfs config for sleep/wake vibration strength
-change lower voltage limit to 700mV
June 30, 2013 - Bulletproof-3.2
-fix BLN setting not applied
-update BLN
-fix for app-mounted directories (thanks @mkasick)
June 29, 2013 - Bulletproof-3.1
-add support for Android 4.2.2
-update aroma installer
June 23, 2013 - Bulletproof-2.1
-adjust doubletap2wake
-tweak hsic
June 20, 2013 - Bulletproof-2.0
-update to latest HTC sources (still 4.1.2!)
-updated camera (works with .16 base ROMs)
-updated capacitive button sensitivity
-revert earpiece audio patch
-remove camera fix
-adjust doubletap2wake sensitivity
-pocket detection only active when screen off
May 22, 2013 - Bulletproof-1.10
-make camera fix optional
-wifi as module
-revert arm rwsem algorithm
-adjustments and fixes to sweep/wake options
May 14, 2013 - Bulletproof-1.9
-add option to disable pocket detection
-add new settings schema for sleep/wake functions
-fix bug dt2w not working when s2w disabled
-change l2w to automatically sleep/wake after pressed for a certain time
May 12, 2013 - Bulletproof-1.8
-suppress accidental wakes with s2w and dt2w
-fix dt2w setting not sticking
-add button light notification @tbalden)
May 10, 2013 - Bulletproof-1.7.1
-fix for camera on .16 based ROMs (thanks to he_stheone64)
May 5, 2013 - Bulletproof-1.7
-add DoubleTap2Wake
-update faux sound control support
-add option to disable menubar
-minor fixes
May 1, 2013 - Bulletproof-1.6
-add vibration to logo2wake (tbalden)
-fix hsic wakelock
-faux123 sound control (faux123)
-update to latest HTC sources
-optimized arm rwsem algorithm
-optimized AES and SHA1 routines
-disable usb whitelist
-fix fastcharge
April 28, 2013 - Bulletproof-1.5
-add logo2wake
April 26, 2013 - Bulletproof-1.4
-add logo2menu (thanks tbalden)
-adjust sweep2wake
-add aroma options
April 25, 2013 - Bulletproof-1.3
-voltage control
-camera fix included
-added /dev/frandom
-glibc memcpy
April 22, 2013 - Bulletproof-1.2
-new implementation of sweep2wake
-CIFS fix (thanks tbalden)
April 21, 2013 - Bulletproof-1.1
-Fixed moc_crypto loading (kernel name is same as stock: 3.4.10-g42e6c45)
April 21, 2013 - Bulletproof-1.0
-fix earpiece sound in calls (many thanks to tbalden!)
April 16, 2013 - Bulletproof-0.5
-adjust sweep2wake
-force fastcharge (untested: use at your own risk)
-re-enable perflock
April 16, 2013 - Bulletproof-0.4
-adjust sweep2wake
April 16, 2013 - Bulletproof-0.3.1
-adjust boot.img
April 16, 2013 - Bulletproof-0.3
-add sweep2wake
-wifi driver built-in
April 15, 2013 - Bulletproof-0.2
-disable perflock
-arm cpu topology
-update cpu_power according to cpu load
-mhl change to 1280x720@60Hz
-add CIFS support
-add FIOPS and SIO i/o schedulers
-update ramdisk
April 13, 2013 - Bulletproof-0.1
-compiled -O3 with Linaro 4.7.3
-aroma installer
-based on HTC source code 1.28
-intellidemand governor
-init.d support
-ntfs r/w support
-xz kernel compression
-disable system write protection
-adjust readahead to 2048
-fast rcu nohz
Source:
Bulletproof-m7 (Android 4.2.2)
Bulletproof-m7 (GPE Android 4.3)
Bulletproof-m7 (Sense 5.5 Android 4.3)
Bulletproof-m7 (GPE Android 4.4)
XDA:DevDB Information
Bulletproof | S2W | L2M | DT2W | BLN , a Kernel for the HTC One
Contributors
flar2
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 14.2
Stable Release Date: 2014-04-21
Created 2013-07-30
Last Updated 2014-04-22
Last edited: