[KERNEL][Jun24]Bulletproof-m7wl-1.2 | S2W | L2W | DT2W | L2M | BLN | UV | BT calls

Status
Not open for further replies.
Search This thread

flar2

Recognized Developer
Jun 11, 2012
18,894
87,865
Southwestern Ontario
elementalx.org
Bulletproof Kernel
for Sense-based ROMs



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:

  • based on HTC source code
  • Aroma installer
  • sweep2wake
  • doubletap2wake
  • logo2menu
  • logo2wake
  • pocket detection
  • optimized for battery life
  • button light notification
  • /system writable
  • NTFS r/w support
  • faux123 sound control support
  • CIFS support
  • /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



DOWNLOAD


Bulletproof-m7wl-1.2



WARNING: I international HTC One, not the Sprint version.



Previous versions:
Bulletproof-m7wl-1.1
Bulletproof-m7wl-1.0



Credits and Thanks:

tbalden: logo2menu and bln



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 Recovery
2. Reboot!

Note: As far as I know, you don't need to use dumlock. I've never used dumlock, I just install from recovery like normal and it always installs.




NOTES


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




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


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:

June 24, 2013 - Bulletproof-1.2
-update dt2w, pocket detection
-increase capacitive button sensitivity
-fix earpiece sound routing issues
-revert previous earpiece fix
-update modules
-fix ups from international One kernel


May 25, 2013 - Bulletproof-1.1
-make camera fix optional
-revert arm rwsem algorithm
-adjustments and fixes to sweep/wake options


May 15, 2013 - Bulletproof-1.0
-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
-suppress accidental wakes with s2w and dt2w
-fix dt2w setting not sticking
-add button light notification (tbalden)
-add DoubleTap2Wake
-update faux sound control support
-add option to disable menubar
-add vibration to logo2wake
-fix hsic wakelock
-faux123 sound control
-optimized arm rwsem algorithm
-optimized AES and SHA1 routines
-disable usb whitelist
-add logo2wake
-add logo2menu (tbalden)
-adjust sweep2wake
-voltage control
-added /dev/frandom
-glibc memcpy
-new implementation of sweep2wake
-CIFS
-fix moc_crypto module loading
-fix earpiece sound (tbalden)
-added all modules
-force fastcharge
-adjust boot.img
-add sweep2wake
-arm cpu topology
-update cpu_power according to cpu load
-mhl change to 1280x720@60Hz
-add FIOPS and SIO i/o schedulers
-update ramdisk
-disable /system write protection
-linaro 4.7.3 -o3 optimization
-ntfs r/w
-fast rcu nohz
-readahead set to 2048
-intellidemand governor



Source:
Bulletproof-m7wl
 
Last edited:

enik_fox

Senior Member
Apr 4, 2011
607
56
Dahlonega, Ga
Well the aroma installer is FUBAR. Its booting up now. Will report back when/if it does

Sent from my SCH-I605 using Tapatalk 2

---------- Post added at 01:24 AM ---------- Previous post was at 01:22 AM ----------

Well it didn't boot. Worth a try though! Can't wait to see where this goes

Sent from my SCH-I605 using Tapatalk 2
 

wranglerray

Senior Member
Jan 9, 2011
325
219
Fort Myers Fl
I haven't tested anything, I don't have the Sprint version of this phone. I wouldn't be surprised if HTC left something out of the source.


I'm waiting for feedback.

sweep2wake, sweep2sleep, logo2menu all work fine.

Bluetooth mic still borked.

Bluetooth audio in call, and media work fine.

Aroma is touchy with the touch screen but hardware buttons work fine.
 

flar2

Recognized Developer
Jun 11, 2012
18,894
87,865
Southwestern Ontario
elementalx.org
sweep2wake, sweep2sleep, logo2menu all work fine.

Bluetooth mic still borked.

Bluetooth audio in call, and media work fine.

Aroma is touchy with the touch screen but hardware buttons work fine.

So it does boot up, thanks (out of thanks for the day)

Could you do me a favour and open the terminal and type:

lsmod


Let me know what modules are loaded?

Also, is the camera working?
 

flar2

Recognized Developer
Jun 11, 2012
18,894
87,865
Southwestern Ontario
elementalx.org

neles86

Senior Member
Dec 11, 2006
92
15
So i tried flashing but it doesn't boot. I've tried various combinations in AROMA. --on viperROM.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    Bulletproof Kernel
    for Sense-based ROMs



    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:

    • based on HTC source code
    • Aroma installer
    • sweep2wake
    • doubletap2wake
    • logo2menu
    • logo2wake
    • pocket detection
    • optimized for battery life
    • button light notification
    • /system writable
    • NTFS r/w support
    • faux123 sound control support
    • CIFS support
    • /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



    DOWNLOAD


    Bulletproof-m7wl-1.2



    WARNING: I international HTC One, not the Sprint version.



    Previous versions:
    Bulletproof-m7wl-1.1
    Bulletproof-m7wl-1.0



    Credits and Thanks:

    tbalden: logo2menu and bln



    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 Recovery
    2. Reboot!

    Note: As far as I know, you don't need to use dumlock. I've never used dumlock, I just install from recovery like normal and it always installs.




    NOTES


    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




    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


    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:

    June 24, 2013 - Bulletproof-1.2
    -update dt2w, pocket detection
    -increase capacitive button sensitivity
    -fix earpiece sound routing issues
    -revert previous earpiece fix
    -update modules
    -fix ups from international One kernel


    May 25, 2013 - Bulletproof-1.1
    -make camera fix optional
    -revert arm rwsem algorithm
    -adjustments and fixes to sweep/wake options


    May 15, 2013 - Bulletproof-1.0
    -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
    -suppress accidental wakes with s2w and dt2w
    -fix dt2w setting not sticking
    -add button light notification (tbalden)
    -add DoubleTap2Wake
    -update faux sound control support
    -add option to disable menubar
    -add vibration to logo2wake
    -fix hsic wakelock
    -faux123 sound control
    -optimized arm rwsem algorithm
    -optimized AES and SHA1 routines
    -disable usb whitelist
    -add logo2wake
    -add logo2menu (tbalden)
    -adjust sweep2wake
    -voltage control
    -added /dev/frandom
    -glibc memcpy
    -new implementation of sweep2wake
    -CIFS
    -fix moc_crypto module loading
    -fix earpiece sound (tbalden)
    -added all modules
    -force fastcharge
    -adjust boot.img
    -add sweep2wake
    -arm cpu topology
    -update cpu_power according to cpu load
    -mhl change to 1280x720@60Hz
    -add FIOPS and SIO i/o schedulers
    -update ramdisk
    -disable /system write protection
    -linaro 4.7.3 -o3 optimization
    -ntfs r/w
    -fast rcu nohz
    -readahead set to 2048
    -intellidemand governor



    Source:
    Bulletproof-m7wl
    6
    Could someone please test this?

    Need to know the installer is working correctly.

    And of course if the kernel is working, everything needs to be tested (eg: phonecalls, wifi, bluetooth, etc)



    Download:
    Bulletproof-m7wls-2.0 *BETA*




    Changes:
    -update to 1.29.651.10 source
    -adjust build options
    -sweep2wake fixes
    -doubletap2wake adjustments
    -update installer
    -add fastcharge option
    -new logo (thanks deagleone)
    -linaro 4.8 toolchain
    -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
    -fix touchscreen registering input during calls
    -fix fastcharge (thanks tbalden)
    -add sysfs config for sleep/wake vibration strength
    -fix for app-mounted directories (thanks @mkasick)
    6
    Wait a second, so the kernel now has the HTC update of capacitive button working? So I can use my screen protector now?

    Yes.

    In the latest version, everything should be working.

    Bluetooth mic is fixed, no more hacks to get earpiece audio in phone calls, button sensitivity increased, and improvements to doubletap2wake and pocket detection to prevent accidental wakes.
    6
    I need someone to test this out

    It should have better button sensitivity, adjustments to dt2w and pocket detection and bluetooth mic sound in calls.




    Download:
    Bulletproof-m7wl-1.2.zip



    Changes:
    -update dt2w, pocket detection
    -increase capacitive button sensitivity
    -fix earpiece sound routing issues
    -revert previous earpiece fix
    -update modules
    -fix ups from international One kernel
    5
    Update: added the camera fix, fix bluetooth streaming (but not sure about during calls), adjustments to sleep/wake options.

    Let me know if the camera fix works, I'm just guessing at this.

    Download:

    Bulletproof-m7wl-1.1



    Changes:
    -make camera fix optional
    -revert arm rwsem algorithm
    -adjustments and fixes to sleep/wake options