• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.

[KERNEL] [May26] Bulletproof-EVO-1.4 | Optimized stock with BLN/S2W/DT2W/UV

flar2

Recognized Developer
Jun 11, 2012
18,421
87,114
113
Southwestern Ontario
elementalx.org
Bulletproof Kernel
for Sense-based Jelly Bean ROMs


This is a stockish kernel optimized for speed, stability and battery life with
a few added features like sweep2wake, NTFS, and higher refresh rate for HDMI output.
There is no overclocking, no scripts running at boot and no
installer options. It should just work.



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:

  • based on HTC Jelly Bean source code 3.16
  • Aroma installer
  • optimized for extended battery life
  • sweep2wake
  • doubletap2wake [NEW!]
  • pocket detection to prevent accidental wakes [NEW!]
  • button light notification [NEW!]
  • /system writable
  • NTFS r/w support
  • intellidemand default governor
  • ROW default i/o scheduler
  • increased refresh rate for HDMI output via MHL adapter
  • user voltage control
  • optimized -O3 Linaro 4.7.3
  • fastcharge

DOWNLOAD

Bulletproof-EVO-v1.4


NOTE: If you downloaded this before 9pm EDT on May 26, please redownload and reinstall the file!


Add-ons:
disable sweep2wake (flashable zip)


Previous releases:
Bulletproof-EVO-v1.2
Bulletproof-EVO-v1.1
Bulletproof-EVO-v1.0


Please hit the Thanks button if you download this

If you really like it, please consider buying me a beer


Actually, I won't spend it on beer. I'm saving it all up to buy my next device :D

Thanks to those who have donated!




INSTALLATION

1. Install zip from TWRP Recovery
2. Reboot!


S-OFF recommended for easy installation



later hboot and S-ON:
The installer includes a method to flash the boot.img for S-ON devices using hboot 1.14 or higher;
however, some people still have difficulties. If it doesn't work:

1. extract boot.img from the zip, reboot to bootloader and do:

fastboot flash boot boot.img

2. If you had previously installed ElementalX, be sure to run the installer to get the correct wifi module.



First boot will take a while. Let it load all the way, then let it settle in for a few minutes, then reboot again.



NOTES

Voltage Control
Bulletproof uses HTC default voltages for guaranteed stability. For the adventurous, you can use apps like Kernel Tuner or Venom Tweaks to adjust your voltages manually. Warning: lowering your voltages can result in instability. Please don't report problems if you are undervolting.


Sweep2wake
Sweep2wake can be enabled/disabled using Kernel Tuner, or by typing in terminal:

to enable:
echo 1 > /sys/android_touch/sweep2wake

to disable:
echo 0 > /sys/android_touch/sweep2wake


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


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


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/bln

0 = disabled
1 = BLN enabled


Special thanks:
zarboz and Sbryan12144 for porting S2W
backfromthestorm for fstrim
xHausx and amarullz for installer stuff
tbalden for bln






CHANGELOG:

May 26, 2013 - Bulletproof-1.4
-fix fm radio
-revert autogroup: group by current UID
-add DoubleTap2Wake
-pocket detection (prevent accidental wakes with s2w and dt2w)
-add button light notification
-arm/crypto: Add optimized AES and SHA1 routines


April 13, 2013 - Bulletproof-1.2
-force fastcharge
-force ac for unknown chargers
-ROW (default scheduler)
-enable automatic process group scheduling
-switch do_fsync() to fget_light()
-use glibc string
-use glibc memcpy
-WiFi module fix (thanks thicklizard)
-various patches from ElementalX


March 23, 2013 - Bulletproof-1.1
-user voltage control
-compiled -O3 with Linaro 4.7.3


March 7, 2013 - Bulletproof-1.0
-based on HTC source code 3.16
-intellidemand default governor
-fiops default scheduler
-add sweep2wake
-init.d support
-ntfs r/w support
-fix HDMI refresh rate
-xz kernel compression
-add fix for crash when wp_mod.ko loaded
-update cpupower according to cpu load
-cpu alignment
-arm topology
-adjust readahead to 2048


Source:
Bulletproof-EVO
 
Last edited:

rpenrod23

New member
Jan 6, 2009
847
425
0
Midwest
Re: [KERNEL] Bulletproof-1.0 | stockish with S2W and extended battery life

Downloading now, thx!

Edit: Works like a champ and DAMN is it good to have sweep functions again, TYVM!

Sent from my EVO using Tapatalk 2
 
Last edited:
  • Like
Reactions: Tigerstown

js417

New member
Apr 30, 2010
464
98
0
Indiana
Re: [KERNEL] Bulletproof-1.0 | stockish with S2W and extended battery life

About to try it out too thanks!

Sent from my EVO using xda app-developers app
 

Sean8172

New member
Jan 2, 2012
185
133
0
Re: [KERNEL] Bulletproof-1.0 | stockish with S2W and extended battery life

After installing, my touch screen was unresponsive, as well as the power button. Had to SimPull and install a different kernel.

I'm on Viper 3.1.4, hw 0003, S-Off, hboot 1.12.111, latest firmware sans touch panel drivers.
 

bigdee1974

New member
Jan 26, 2011
226
88
0
I think so.

Can anyone confirm?
I am going to try right now. I found the stock kernel. I will keep you posted.

Edit: Can you post the md5 before I give a try.

Edit2: I installed thicklizard's kernel and it does work, so, I would imagine it will also work with this one.
 
Last edited:

Los Altos

New member
Sep 13, 2010
454
69
0
Re: [KERNEL] [Mar7] Bulletproof-1.0 | stockish with S2W and extended battery life

After installing, my touch screen was unresponsive, as well as the power button. Had to SimPull and install a different kernel.

I'm on Viper 3.1.4, hw 0003, S-Off, hboot 1.12.111, latest firmware sans touch panel drivers.
I'm on Viper s-off 1.12.111 as well. Froze at boot screen multiple times, had to simpull.

Sent from my EVO using Tapatalk 2
 

flar2

Recognized Developer
Jun 11, 2012
18,421
87,114
113
Southwestern Ontario
elementalx.org
I will add MD5 sums when I get a chance, maybe tonight.


I'm on Viper s-off 1.12.111 as well. Froze at boot screen multiple times, had to simpull.

Sent from my EVO using Tapatalk 2
Has anyone got this to work on Viper?

Viper has a lot of scripts that run at boot. I'm guessing something is conflicting. Can anyone post dmesg output, or a logcat, or /proc/last_kmsg

Or have a look at the scripts in /etc/init.d/ and try to figure out if any of those are causing the conflict.


Bulletproof has no scripts of its own and is very close to stock, other than the addition of the few things noted in the OP.
 
Last edited:

kucluko

New member
Feb 19, 2011
78
7
0
Re: [KERNEL] [Mar7] Bulletproof-1.0 | stockish with S2W and extended battery life

I'm on Viper s-off 1.12.111 as well. Froze at boot screen multiple times, had to simpull.

Sent from my EVO using Tapatalk 2
Iam success install kernel its Flar..
If you chose not in touch your screen,but you touch in home as choose your next,and if your agree confirm as touch checkbox and touch home as next,next finish., if you problem in process optimize app, your reboot one again. success :thumbup:
But i have problem in use sweep2wake.
I use rom venom 3.1.4, soff,hboot 2.09 dirty,
Sent from my EVO using Tapatalk 2
 
  • Like
Reactions: flar2

drlzanej

New member
Feb 23, 2011
2,655
2,100
0
Re: [KERNEL] [Mar7] Bulletproof-1.0 | stockish with S2W and extended battery life

Running this on HatkaLTE atm, Really smooth. Nice work. Have to give it a while to see how battery is. Thanks

Sent from my Htc EVO 4g LTE, because I threw that f***in iPhone out the window on the freeway
 
  • Like
Reactions: flar2

kucluko

New member
Feb 19, 2011
78
7
0
Re: [KERNEL] [Mar7] Bulletproof-1.0 | stockish with S2W and extended battery life

Iam success install kernel its Flar..
If you chose not in touch your screen,but you touch in home as choose your next,and if your agree confirm as touch checkbox and touch home as next,next finish., if you problem in process optimize app, your reboot one again. success :thumbup:
But i have problem in use sweep2wake.
I use rom venom 3.1.4, soff,hboot 2.09 dirty,
Sent from my EVO using Tapatalk 2
LoL i know enable swep2wake in rom venom 3.1.4 goto venom tweaks and choose lockscreen and you scrool down.. swep2wake and enable:D

Sent from my EVO using Tapatalk 2
 

flar2

Recognized Developer
Jun 11, 2012
18,421
87,114
113
Southwestern Ontario
elementalx.org
Iam success install kernel its Flar..
If you chose not in touch your screen,but you touch in home as choose your next,and if your agree confirm as touch checkbox and touch home as next,next finish., if you problem in process optimize app, your reboot one again. success :thumbup:
But i have problem in use sweep2wake.
I use rom venom 3.1.4, soff,hboot 2.09 dirty,
Sent from my EVO using Tapatalk 2
Venom Tweaks has sweep2wake settings, it might be disabled there. You can also use Kernel Tuner to enable/disable sweep2wake.


Also note that I have a different sweep2wake than ThickLizard and Zarboz.

The location of the setting is:

/sys/android_touch/sweep2wake


1 = enable sweep2wake and sweep2sleep
2 = enable sweep2sleep and disable sweep2wake
3 = disable

With setting 2 (sweep2sleep only), you can put the phone to sleep by swiping from right to left, but you cannot wake the phone with a left to right sweep while the screen is off. This setting is for people who have problems with the screen coming on by accident when it's in a damp pocket or something like that.
 

kucluko

New member
Feb 19, 2011
78
7
0
Re: [KERNEL] [Mar7] Bulletproof-1.0 | stockish with S2W and extended battery life

Venom Tweaks has sweep2wake settings, it might be disabled there. You can also use Kernel Tuner to enable/disable sweep2wake.


Also note that I have a different sweep2wake than ThickLizard and Zarboz.

The location of the setting is:

/sys/android_touch/sweep2wake


1 = enable sweep2wake and sweep2sleep
2 = enable sweep2sleep and disable sweep2wake
3 = disable

With setting 2 (sweep2sleep only), you can put the phone to sleep by swiping from right to left, but you cannot wake the phone with a left to right sweep while the screen is off. This setting is for people who have problems with the screen coming on by accident when it's in a damp pocket or something like that.

Oke flar.. and now iam fell battery my lte drain, and what to do after flash your kernel if my battry no drain:confused:
Sent from my EVO using Tapatalk 2
 

genaro12543

New member
Dec 2, 2010
544
157
0
Re: [KERNEL] [Mar7] Bulletproof-1.0 | stockish with S2W and extended battery life

The aroma installer is going reaaalllyyy slow I'm trying to install

Edit: nvm I thought it was touchscreen I'm running on stock w/goodies I'll report in a bit

Edit:running really great its really fast I'm gonna keep an eye on battery now thanks flar
Sent from my LG-LS970 using xda app-developers app
 
Last edited:
Our Apps
Get our official app! (coming soon)
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone