yashsingh1/xdaforums huggingface dataset:
[HTC One S] flar2:
Good catch on the bln line. The semicolons are optional in bash, I like to put them at the end of lines so I know where the end of the line is when the text is wrapped (like on a small phone screen)
[HTC One S] Cyclu:
Ok thanks i understand now, i have a little question: in the zip in folder boot i see fstrim

it's executed just one time after first boot? I have this function in the app "Android Tuner"

but i never used because for moment i don't have any lag and i don't write/delete my files frequently.
[HTC One S] flar2:
TRIM support is not working in Android versions < 4.3.

In bulletproof I just run the fstrim command at installation to discard unused blocks. It probably benefits a lot of people. It only needs to be run occasionally. I started doing it on the One XL when there were tons of complaints about lag and this solved it. ElementalX runs fstrim on /system and /data every boot.
[HTC One S] chris1ee:
When enabling pocket detection, are the changes done before flashing the zip file? I tried unzipping the zip and removing the #. But when I flash the rezipped file, recovery says failed. I used root Explorer to make the changes. Also tried changing 0 to 1 in the root sys file.

Is there a quick physical test to check if pocket detection is enabled?
[HTC One S] galerio:
It's simple: turn your screen off. Then double tap or slide to turn it on: while you do this, take a look in the middle of a line that goes from the "htc" label on the top of your screen and the front camera. If pocket detection is on, then you will see the red sensor blinking. (turning down room's lights can help you to better see the sensor)
[HTC One S] chris1ee:
Enabled pocket detection in sys/android_key/pocket_detect by changing value from 0 to 1. Guess I had enabled it before, but your check confirmed it :)
[HTC One S] katak.bali:
hy,

I'm using bulletproof 2.0,

my freq always stuck at 1ghz and 1.5ghz. it won't go to min freq at 384mhz..

this kernel is good battery life, but that freq make phone very hot..

I post this screenshot after restart the phone and not touch it for 10min.

is that just my problem or indeed all like that?

thx
[HTC One S] flar2:
That's normal. That's the way stock does it, everything to do with cpu freuqencies is completely stock on this. It is in fact idling at 384, but HTC adds some stuff that boosts the frequencies when you touch the screen.
[HTC One S] katak.bali:
how about Elementalx?

it has a same setting?

bricked can run at 384, it coolest but a bit slow..
[HTC One S] flar2:
Just to be clear, this kernel and ElementalX both idle at 384, check with cpu spy.

Bricked disables pnpmgr and mpdecision, so you won't see the min/max thing that you see on my kernels and the stock kernel.

It's nothing to worry about.
[HTC One S] kira411:
Hi [MENTION=4684315]flar2[/MENTION],

I saw llabtoofeR has released Sense 5 android 4.2.2 for HTC One S. Could you please build the custom kernel that enable Sweep2wake for this ROM?

I love your kernel so much.
[HTC One S] Flashalot:
So are you going to post in all kernel threads to update there kernels and there no source yet to
[HTC One S] akonyao:
hi,can you make a kernel for the android 4.22 with sense 5 rom?
[HTC One S] Flashalot:
Thanked on accident

But you have go to be kidding me one post one post up please guys there's no source yet available and there might never be source so please stop asking

/rant
[HTC One S] DirtySant0:
Is there a Kernel Support App for this Kernel?

Hello Everyone,

Im back on my HTC ONE S which i have missed since going to Nexus 4. I wanted to know if there is a Kernel Support App for this Kernel? The nexus 4 has an app called Trickstermod, is there something similar?
[HTC One S] Flashalot:
Kernel tuner it's on the play store
[HTC One S] DirtySant0:
Thanks for the reply. BTW, this kernel is amazing. Its just as fast as any Nexus 4 !
[HTC One S] manalotozoilo:
can i installed this kernel on my htc one s c2 version? i'm currently using bulletproof 1.2
[HTC One S] flar2:
No, this is for ville s4, not ville-c2 s3
[HTC One S] technotramp:
Download link dead :(
[HTC One S] darrin976:
I can disable BLN through the text editor but it resets every time I boot. I can't find etc/elementalx.conf to change it on boot. Anyone know of another way?? Terminal emulator?

I am on King Cobra 2.0 Rom with bulletproof 2.1, S-on
[HTC One S] a_person:
For pocket detect, edit /etc/init.d/99bulletproof instead. BLN should work the same way I'd imagine.
[HTC One S] jcubed:
Does anyone have the newest version of this still? The download link isn't working and I wasn't able to find any mirrors in quite a bit of searching.
[HTC One S] kalel77:
My mirror copy....Bulletproof-S-v2.1
[HTC One S] jcubed:
Awesome thank you so much.
[HTC One S] ahsm:
Hey guys when I edit the values to disable sweep to wake and double tap it says saved but when I go back into the files to values have returned to their origin state how can I fix this?

By I'm on 1.4
[HTC One S] Joh@n:
Same here, no matter what I do it reverts back to what it was before saving..
[HTC One S] flar2:
If you are using a file editor, you need to type the 1 or 0, then press enter after so the cursor goes to the next line.

You must of course have root permissions as well.
[HTC One S] Joh@n:
I do have root permissions :) But somehow the enter trickto create a new line worked out well. DT2W seems to be off now but BLN is still working. Happy now :laugh:
[HTC One S] BackDaws:
sorry to open an old thread but omg i cant turn off Seep2wake or DT2W, ive managed to turn off BLN though.

ive added root to file explorer i goto the value delete 1 and enter 0 press enter then click save and it jumps back to 1.
[HTC One S] Rapier:
Root is not enough. /system partition has to be mounted as writable, in order to save the file

Sent from nowhere over the air...
[HTC One S] BackDaws:
Yeah I mounted as writable first :) it still isn't working :(
[HTC One S] Rapier:
Have you tried with kernel tuner? It has option to turn s2w off for supported kernels. I do this for bubba

Sent from nowhere over the air...
[HTC One S] BackDaws:
I'll try it now thanks :)

Does bubba kernel work for sense roms? I've not tried it because it says for 4.3 and 4.4
[HTC One S] Rapier:
No, it doesn't work. For sense you have bulletproof and elementalx...and bricked if I remember correctly

Sent from nowhere over the air...
[HTC One S] BackDaws:
Ok thank you for your help mate :)
[HTC One S] sinlimites:
If i disable s2w and dt2w then bln stops working. What can be the reason?

Thanks
[HTC One S] jsusduran:
Any version work fine on S3 (C2) version? besides <1.3.1.

Thanks.
[HTC One S] kalel77:
all for Snapdragon S4, sorry

but THIS is for Snapdragon S3:laugh:
[HTC One S] THINKTANK7233:
Newbie Bricked phone....

Ok Ok So I wasn't thinking when I did this.....

I basically have Venom Viper One Rom on my M7, and I was flicking through the Kernels in the Venom settings last night and came across bulletproof, I thought ohh that sounds good and clicked install....

I installed it this morning and it said it installed successfully but now when it went for a restart it manages to load up the Viper screen and then a black screen with the "Process System isn't responding - Do you want to close it?"....

So I can basically get it to do that on a loop, i've tried booting up in recovery but it won't let me... Do I need to wait for Batt to drain or something before trying to boot up or have I ****ed the phone completely?

I am Stupid.
[HTC One S] derkleinebroicher:
You should press and hold the power button, until the phone turns off. Now hold the volume down button and push the power button again. The phone should boot into bootloader, from there you get into recovery.

Gesendet von meinem One S mit Tapatalk
[HTC One S] THINKTANK7233:
Thankssss

Thanks man, I managed to get to recovery eventually, I read some conflicting ways to access it (like both volume buttons and power, but the bottom volume and power worked instead)...

Anyways I managed to back up to stock android (as luckily I had made a backup before putting the first ROM on to it). I dunno if this is the wrong place to ask this but now there is a new update for the stock android and every time I try to update the backup software starts up when phone goes off, can't remember how to disable it... Anyone?
[HTC One S] kant1988:
Anyone have link for bullerproof 2.1? please share
[HTC One S] Winstarshl:
Take)
[HTC One S] Wel1973:
Sorry very much delayed, but the fact is that I went away to sleep.

Do my own Roms. That's why of not saying it, because the Rom that I carry, is not available in this forum. Anyway, Sense is 4.1.1 JB, and it takes supports I put you in screen capture.

I believe that there is nothing any more that to add.

Only to give thank you again for this grand work.:good:
[HTC One S] Kizi_PL:
Odp: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

This kernel will works with cm 10.1?
[HTC One S] Wel1973:
it's more tham probably not.

It is a kernel for Sense from what it puts in the OP.

Quote: "It's based on source code Kernel JB HTC 3.16"

Anyway, reads features...

Bye.
[HTC One S] myby:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

How can I disable s2w?
[HTC One S] Co5min:
It`s working great. It takes a bit of practice to make it working, though. Thanks flar2 !
[HTC One S] myby:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Nevermind. This helped:

echo "0" > sys/android_key/sweep2wake
[HTC One S] rootrider:
Nice work mate. Installer works as it should. Removes earlier config files etc. coming from elemental. S2W is working fine also. :good:

I'd also recommend adding 1,7 Ghz as Qualcomm confirms this standard for the MSM8260A.

---------- Post added at 02:43 PM ---------- Previous post was at 02:24 PM ----------

Move your finger a tad slower. ;)
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Now with the Aroma installer I can just flash via TWRP, I'm not S-Off yet but should be good to go right and I'm on Viper 2.1 ROM?

---------- Post added at 09:01 AM ---------- Previous post was at 08:47 AM ----------

Anyone?
[HTC One S] flar2:
Try it with the Aroma installer, it should work but if it doesn't do fastboot flash.
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

So if it doesn't work by flashing via TWRP than use Flash Image GUI to flash boot.img?
[HTC One S] rogervip888:
回覆: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

I tried to flash 1.1 with CWM but failed.

I am on Vipor 2.1, too.

It was ok to flash elemental kernel through CWM.

Do I have to use TWRP?

從我使用 Tapatalk 2 的 HTC One S 發送
[HTC One S] flar2:
Flash image gui will work too.

You should still run the installer though, because it cleans up files that could interfere with the kernel.

I honestly don't know if one is better than the other. I've been using TWRP.

If there are installer problems, could someone please save the install log?
[HTC One S] trungarow:
Hi, Thanks a lot for the kernel. I tried flash image, but get wifi erro. I am on viper 2.1
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

I flashed via TWRP and it loaded fine but I have no network provider signal now so I rebooted and it went into boot loop than I re-flashed Elemental and still have no network signal, what happened and now what also had to go with no kernel for now cuz even Elemental flashed fine but again no network signal??
[HTC One S] Darknites:
Use the app to flash the boot.img.
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Flash boot.img with Flash Image GUI of Bulletproof than go into TWRP and than wipe cache & davlick and flash Bulletproof kernel
[HTC One S] Darknites:
Ya that should work or just S-Off lol.
[HTC One S] fegato:
me too :crying:
[HTC One S] NQNH:
comparison

thanks for the kernel, it works great and I like the sweep2wake feature.

Installed it on stock jb rom.

Ive uploaded the quadrant benchmarks of the stock and bulletproof 1.1 kernels.

stock on the left side - bulletproof on the right side
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Still issues, look at top of screen and still can't flash Elemental either after flashing Bulletproof so don't get what's going on also I did flash boot.img of Bulletproof first using Flash Image GUI plus how and where do I find the Aroma installer
[HTC One S] Darknites:
Em have a look at your APN settings to see if its even there.
[HTC One S] flar2:
Just s-off, it takes only five minutes
[HTC One S] [Cruzer]:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Thanks..after reading this mine works.. but takes more swipes to unlock... Prolly need more practice.. and have to use my index finger to make it work... When I had many sensation..just used my thumb .. missed that feature.. thanks for the work..
[HTC One S] fegato:
I think you forgot to put modules in the new zip. i searched to move them manually but can't find them.
[HTC One S] Darknites:
Ya it never be as good as sensation because HTC changed the way the buttons work and they don't have coordinates for them.
[HTC One S] cat2115:
not sure if i get it right after flashing this kernel v1.1. I use Kernel Tuner and it show Sweep2Wake: OFF. Is this correct? Or it shold be ON?

One more odd, after flash, everything is default. I did not change anything

CPU0: min 384Mhz Max 1512Mhz

CPU1: min 1512Mhz Max 1512Mhz

Then I reboot, CPU show as

CPU0: min 384Mhz Max 1512Mhz

CPU1: min 384Mhz Max 1512Mhz

Reboot again, it show

CPU0: min 384Mhz Max 1512Mhz

CPU1: min 1512Mhz Max 1512Mhz

Then I reboot again, CPU show as

CPU0: min 384Mhz Max 1512Mhz

CPU1: min 384Mhz Max 1512Mhz

So basically, a reboot will repeat as i mention above.

I'm on ViperROM v2.1.0 and S-OFF
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Well don't get it but it's flashed now lol:confused:, seems fine and great work @Flar2:thumbup: also how do I use S2W like are there settings if so where
[HTC One S] Hopie:
s2w is after flashing ON! i do nothing.. in kernel tuner shows OFF :confused:

but, how can i disable it?
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Anyone?
[HTC One S] DrRyder:
Yeah, CPU1 keeps going back to 1512 min, 1512 max after I change it in Kernel Tuner. CPU0 keeps the right settings of 384 min, 1512 max.
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Yeah I swear by Kernel Tuner
[HTC One S] flar2:
The stock modules should work. If they don't for some reason, I'll need the dmesg output after trying to load them.

This is normal. It's exactly how the stock kernel behaves, and it's nothing to worry about.

Disable it by changing /sys/android_touchkey/sweep2wake to 0

Uuse ES File Explorer to change it, or type in terminal:

echo 0 > /sys/android_touchkey/sweep2wake

Changing it to 1 will enable sweep2wake.

Kernel Tuner doesn't control sweep2wake because it's looking for the settings in a different place. Last night I moved the sysfs entry but it caused problems with something else, so I'm just leaving it as is.
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

What does S2W do cuz in those settings mine is set to (1) but my screen doesn't turn on, I don't understand what S2W does (sorry)?:confused:
[HTC One S] flar2:
You swipe your finger across the three capacitive buttons at the bottom of the screen.

Swipe right to left to turn it on.

Swipe left to right to turn it off.

I find you have to do it at an moderate, even speed, and swipe near the top of the buttons, just under where teh LCD screen begins.
[HTC One S] cat2115:
Nice... Just test it and it works. I didn't knew that :good:
[HTC One S] Hopie:
AW: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

whats wrong?

with root explorer change to 0, but when i look in this file, there's is a 1

Sent from my HTC One S powered by ViperOneS
[HTC One S] flar2:
It should be easy as pie.

Can someone look on their phone to confirm that /sys/android_touchkey/sweep2wake is the correct location of the file?
[HTC One S] Hopie:
the file is in /sys/android_key/sweep2wake ..no issue with terminal, but reboot s2w active
[HTC One S] flar2:
Thanks for confirming location, I couldn't remember precisely

And yes, it will reset every boot.

I will make a script that disables it at boot.
[HTC One S] Hopie:
great.. after setting 0, no reboot. s2w disable..
[HTC One S] flar2:
Try this to disable sweep2wake automatically at boot. Could someone please confirm that it's working.

Download:

disable_sweep2wake: http://goo.gl/qrnBi

To install:

flash zip in recovery
[HTC One S] Wel1973:
It works perfectly, S2W its disable.

Here you have it.
[HTC One S] Rampage:
sweep2wake preview from zarboz's thread
[HTC One S] Bxrxyxaxn:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

This kernel and viper rom FTW.
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

@Flar2 this kernel is a MASTERPIECE bro, with 3 profiles set using SetCPU when on Elemental it lagged a bit going from profile to profile but using this it flows extremely smooth and snappy.:thumbup::thumbup::beer: Just a question, is the cpu supposed to stay at a higher frequency sometimes 15% of the time?
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

These are my times in state while on Bulletproof?
[HTC One S] addsfsds:
Can someone please tell us the correct way to flash the kernel on S-ON s4 devices?

Thanks :)
[HTC One S] leohdz148:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Just flash the zip and aroma starts it for you, its that easy or did you mean by fastboot

Sent from my HTC One S
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Battery life is AWESOME!!
[HTC One S] eddiemurphy:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Definetly is as confirmed by me:)
[HTC One S] NQNH:
AW: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Disable sweep2wake script doesnt work for me.

Flashed it with twrp 2.4.3.0
[HTC One S] Wel1973:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Sorry, Its working for my. I used TWRP 2.3.3 and flashed.

Them S2W was disable. For back to enable, only erase script file in etc/initD was instaled.

Greettings.

Sending from my V_S_NO_OC_2.1 using Tapatalk 2.
[HTC One S] NQNH:
the zip installed the script, I can find it in the init.d folder.

but I still can sweep2wake..
[HTC One S] Wel1973:
Well, also it is possible to put manually. Put in Terminal Emulator that: echo "0" > sys/android_key/sweep2wake

Too.....Extract the script and put it directly in the route giving the permissions with your root explorer.

Reboots phone and you must have got disable S2W at this time.

I think so, this also will work.

It is possible too, that your Recovery itsn't operative for rebooting with a menu APM (or Quick Reboot.apk). Sometimes these menus don't go in as well into Recovery. I always Trun off my phone and enter across bootloader since the update came to JB.:p

I can be wrong, but I believe that it would work.

Perhaps, anybody can he correct me??

Anyway, do a Nadroid for if it was not working...

Greettings.
[HTC One S] NQNH:
already tried that.

if I do the steps you mentioned it works, but after a reboot sweep2wake is enabled again
[HTC One S] Wel1973:
It is strange. Possibly be application that you are using to control it.

Is it possible that using Kernel Tuner, you have activated the option S2W and rebooting is activated alone again?

Because if it is not that, not who more to say to you. With the previous thing it would have to be enough..

Sorry so much, in advance...

Boss is over me, watching me and I cannot keep on answering...

Now, I have to keep on working.::angel:
[HTC One S] NQNH:
haha, but thanks for your help so far :)
[HTC One S] addsfsds:
I'm asking because i don't have S-OFF and people was talking about Flash image GUI so i don't know which is the best way to securely flash it.
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

U have both options open to you, S-Off in the long run is better for you than you have the option to do it using Flash Image GUI for the boot.img than flash the kernel afterwards
[HTC One S] flar2:
Run the installer and see what happens. THe installer uses a method that attempts to flash the boot.img even with S-ON and later hboot versions. It can take several minutes to complete. If that doesn't work, Flash image gui will work, or reboot to bootloader and do fastboot flash boot boot.img

But you must run the installer even if you flash the boot image in fastboot or with flash image gui. The installer cleans up files that may interfere with the kernel and ensures that everything you need is there.
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

I think that's the issue, no one including me understand how to use the (installer) cuz I don't know where to find it that's why I just used Flash Image GUI to flash the boot.img than flashed the kernel
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

One thing I have noticed which is not a big deal but when I use a task killer plus refresh part of the widget, I shows the frequencies go up instead of down which it went down while on Elemental kernel so that's odd? lol:confused:;)
[HTC One S] Closed Source Project:
Installer worked great for me. I did not have to fastboot anything and it worked fine with S-Off. The only thing is Sense bugs up some times and freezes temporarily (like 1-2 seconds) and I had to switch to Elemental with all the overclock. Please keep developing for Elemental :D
[HTC One S] TheCrow1372:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

I'm on a Sense ROM and Bulletproof is AWESOME with no freezes not one, it runs flawlessly smooth
[HTC One S] Wel1973:
Right!! I thing the same.

That Kernel is the bomb. To part of the refresh rate for the conector Hdmi, and S2W, look that it has consumptions ... with his permission, I add an screen shoot.

And this in the second charge since it put, therefore, fodder will go to better.

And it is very, very stable at least in my case.

I myself do not get tired of saying it, Very Good Work.:good:
[HTC One S] ryanshew:
Re: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

To use the installer, you just go to recovery and flash the zip, that starts the installer.

And by the way, boot.img and kernel are both the same thing.

HTC_One_S | Root_Box | Bubba_Kernel_2.8b | S-OFF
[HTC One S] n0j0e:
AW: [KERNEL] [Mar 6] Bulletproof-1.1 | S2W | FIOPS | Intellidemand | battery life

Really nice kernel! A little bit tricky to install on my HOS with Viper 2.1 Rom and S-On but absolutely stable and good battery life, s2w works, smooth gui. Thanks! :thumbup:

* Send with much love & Android. *
[HTC One S] yooouuri:
Thankyou for this kernel.

The UI is smoothly!!

Starting te love my phone more and more. :victory:
[HTC One S] TheEndHK:
CPU1 always stuck at max. Any way to fix it?
[HTC One S] flar2:
If you're looking at the min/max in kernel tuner, it doesn't need to be fixed. This is the behaviour of the stock kernel. It's not actually at the max all the time.