yashsingh1/xdaforums huggingface dataset:
[HTC One S] show-p1984:
It complains that it doesn't know that. May be due to kernel version differences, or missing includes. (in that case, I would guess the first)

So either add the includes or give it the stuff it is asking for (patching the kernel to newer linux versions, or do it by hand).

Or just remove the line in question, but that is hacky and will most likely crash and burn. Violently.
[HTC One S] leald:
Well all the other governers and schedulers I added compile fine if I remove that one. But I'm not sure how to do any of that stuff you are talking about to try and fix it lol
[HTC One S] FlyinGrub:
It's easier with jarvis ,isnt it [MENTION=4195844]show-p1984[/MENTION] ? ;P

Envoyé depuis mon HTC One S avec Tapatalk
[HTC One S] show-p1984:
Not if he gets sassy. :p
[HTC One S] FlyinGrub:
He didn't did't wish you happy birthday ??

Like me ..

.

.

Happy birthday !! :)

And i'm almost not late x)

Envoyé depuis mon HTC One S avec Tapatalk
[HTC One S] show-p1984:
Thank you :)

Well iirc he said something like this:

"Only 20-50 more years to freedom, depending on if you want to eat that burger or not."
[HTC One S] leald:
Just incase anyone wants to try it. Here is the bricked kernel with added governers and schedulers. I will remove the link of wanted at any time.

http://db.tt/DYT02S0P
[HTC One S] show-p1984:
2 things:

1. you didn't update the modules. Some might fail to load.

2. you should post your source too, just in case someone runs to the mods and whines about you posting a binary without source. (and ofc because that's the way to do stuff in the gpl world)
[HTC One S] Microphone:
default cpu

hi everybody,

first of all, thanks to show-p1984. I really appreciate your work!!!

I wanted to test this kernel, but had already elementalx previously installed. So I made a clean install from scratch (Viper 2.1). After installing this kernel (latest stable) my oneS got very hot (yeah, yeah, I know what you are thinking :p). But the problem was that the minium CPU frequency was 918 mhz and not 384 and my oneS heated up very quickly. After changing it to 384 using setCPU, the problems seems to be gone. Anyone else had this issue?

Also I read something about minium cpu frequency of 192 mhz in the first post - but for me, the lowest cpu frequency is 384. Am I missing something?

Thank you guys! :good:
[HTC One S] disiz:
How did you flash the kernel, with TWRP ? I see it doesn't flash correctly depending on what version you have...

I'm on Viper 2.1 too and I'd like to test this kernel, but first I prefer stay for a clean answer about your question :)
[HTC One S] show-p1984:
See the second post, under mpdecision input boost: http://xdaforums.com/showpost.php?p=31534843&postcount=2

Some apps get confused by this and set the min freq = boost freq when trying to show the user the current min freq and the user is triggering an input boost at the same time. (like System tuner, for example)

That's actually not only the programmers fault but a bug in the android api, which doesn't allow to differentiate between user initiated actions and programmatically triggered action inside of the listener. In my own app, KControl (which will surface real soon now), I extended the ui classes to implement a method that allows this.

This issue does not happen on stock because the default mpdecision binary from qcom works like a bulldozer. It just sets a default min freq, no matter what it was before every time the input event times out. In order to preserve your settings that is not what my msm_mpdecision does. It always reverts back to your min freq.

To sum this up: If your min freq is = boost freq, then the app you use to control the frequency failed.
[HTC One S] FlyinGrub:
Viper kernel tweaker failed too i think cause i tried to remove kernel tuner but it stuck to boost frequency ...

Envoyé depuis mon HTC One S avec Tapatalk
[HTC One S] Microphone:
Okay, thanks for your answer!

I used TWRP 2.3.1.0 to flash the kernel - is that a problem? As I stated earlier, I did not use any app at all to manage the cpu until my device heated up.

Looking forward to KControl :)
[HTC One S] FlyinGrub:
see my post above yours :)
[HTC One S] Microphone:
I just tested this kernel for several days now...

...performance? Hell yeah!

...battery Life? Hell yeah!

...it is awesome!

Thank you, show-p1984! Keep up the good work!
[HTC One S] gelo01:
how to revert to stock kernel if i decided to stop using bricked kernel? if i restore my nandroid backup with stock rom, will the bricked kernel be replaced by the one in my nandroid backup? or should flash first the boot.img inside my nandroid backup before restoring that backup?

Edit: i flashed the zip in the recovery.. the installation went fine and installed properly BUT as soon as i pressed next, the phone just reboots to system, that i don't have the time to do the adb pull /temp/newboot.img, though luckily it didn't bootlooped but when i look in the settings and kernel info, it was still on stock kernel which means the bricked kernel doesn't installed correctly (?). I tried two times more but still, just after the installer finished installing bricked, it will just reboot to system even though i don't touch anything when the installer starts.. i can't get it to work. What am i missing? :(

Edit 2: btw, my recovery is CWM Philz Touch, if it matters.
[HTC One S] show-p1984:
Seems to be an issue with your recovery. Try twrp.

Revert to stock:

Flash your roms boot.img.

Flash your rom without wiping (dirty flash).

Done.
[HTC One S] gelo01:
I guess that was the main culprit.. i thought cwm is more reliable when it comes to flashing things like these.. well, it looks like i may have to read some more threads on how to change recoveries from cwm to twrp since i only gain my custom recovery via aio toolkit and i still don't know how to do it manually.. one question, can i go back to cwm after i successfully installed your kernel, since i find cwm more simpler to use..

But anyway, thanks for the info show! Can't wait to try your kernel.. :)
[HTC One S] show-p1984:
http://techerrata.com/browse/twrp2/ville

adb reboot-bootloader

fastboot flash recovery yourrecovery.img

reverting to cwm will be the same.
[HTC One S] gelo01:
Thank you! :) but btw, which version of twrp is the most stable and tested for your kernel to work?
[HTC One S] show-p1984:
There is no TWRP version most stable with my kernel. All of them are stable. My One S is on 2.6 iirc.

btw, I accidentally linked you the mako twrp, this is the correct one:

http://techerrata.com/browse/twrp2/ville
[HTC One S] gelo01:
I just want to make sure coz i've read a lot from other threads that people who have had higher versions of twrp were having problem installing and/or flashing custom roms/kernels..

But anyway, thanks again for giving the link. Though i didn't realize that the first one you gave wasn't for the ville. Hehe. Will report back later, i hope twrp will do the trick. :D
[HTC One S] gelo01:
Show-p! Finally, i managed to get it to work. So CWM is the problem.. i flashed TWRP 2.6 and then followed the steps for the S-on installing of the zip (flash newboot.img). So thanks very much! :D

As of the moment, i noticed a boost in performance but why does the cpu0/cpu1 won't stick to the lowest frequency i set it which is 384MHz. It's stuck at 918. I used kernel tuner but it still doesn't stick. I also used venom tweaks and set it to 384, but everytime i opened again either kernel tuner or venom tweaks, the lowest freq is set again at 918.. would that be bad for battery life?
[HTC One S] show-p1984:
See 2nd post under mpdecision input boost.
[HTC One S] gelo01:
Okay, got it! But i still don't want to mess with the default settings just yet since i totally don't understand all the formulas and values of mp decision and thermald..

What i can say with this kernel is it does really give a performance boost, i can say it since the micro stutters when playing real racing 3 was less to none..

About the standby time, this is really superb! I left it for 3-4 hrs idle with 0 battery consumption! But i can't comment still on screen on consumption since i'm currently using mobile data coz of out of town reasons.

Btw show-p, what is safest lowest mV on 384Mhz? I'm still scared in undervolting, but i lowered the settings for just a little. :) The lowest is 1100mV (384Mhz) and highest is 1275mV (1836Mhz). One question, is 'the less the voltage, the less battery consumption' sounds right?

Thanks for this great kernel show-p! Great battery life and performance. I hope i can learn what is the best settings and values for mp decision, thermald, and undervolting.. :)

---------- Post added at 08:52 PM ---------- Previous post was at 07:57 PM ----------

I set my undervoltage settings like this, so far no reboots nor crashes.. is this stable?
[HTC One S] show-p1984:
Nobody can tell you what voltage will still be stable for your device. I am serious, nobody. (ok, maybe god)

Every chip is different, therefore some can do no uv, while some can do some insanely low uv. You have to figure that out by yourself.
[HTC One S] gelo01:
After 3 days of using bricked kernel, all i have to say is that it's really great! Obvious performance boost, and great battery life.. i've never reached this battery stats since the ics days, i can't believe it either but i'm surprised when i saw my battery stats in gsam.. i've already downvolted, and it's true that nobody could ever tell what's the lowest value i can downvolt.. i've set it to 384Mhz=700mV, 1512Mhz=1100mV, 1836Mhz=1200mV. I could not go lower than 1100mV for 1512Mhz coz my phone freezes then suddenly rebooted but fortunately i haven't set it permanently with every boot. So i guess that was it? A sign that i could not downvolt lower than that value? But anyway, it really improved the battery life and also my phone never get as warm as it was before specially when using 3G and playing intensive games and also when charging.. is that a result of undervolting?

Once again, thank you show-p for this great kernel! Days ago, i asked how to rollback and revert to stock kernel if this kernel didn't satisfy me, but from what i experience is, i think i may never want nor look back to stock kernel. Thank you and keep up the good work! :)
[HTC One S] gelo01:
Two last questions:

1. How do you OC the GPU? It seems that it doesn't work? I'm using kernel tuner and no matter how i overclock the gpu, it doesn't stick..

2. How can i turn ON fast charge? Kernel tuner says that it is turned OFF.
[HTC One S] show-p1984:
1) See the readme at https://github.com/showp1984/kcontrol_gpu_msm - KControl will do this automagically though with a nice ui wrapped around it.

2) isn't included. Fast charge contributes to the fast demise of your battery.
[HTC One S] addsfsds:
Sorry for the very noob question. I'm trying to undervolt with SetCpu but i can't find the "Voltages" page on the app. Only way i can do it is through the Viper setting but i can't go lower than 1050 mV. Thanks and sorry again
[HTC One S] Zarboz:
Update kgsl to jb 1.4 Lol prease
[HTC One S] gelo01:
Where can i download KControl?

Oh i see.. good to know the negative effects of fast charge. Thank you! :D

---------- Post added at 11:19 AM ---------- Previous post was at 11:17 AM ----------

Use kernel tuner. :) i can go as low as 700mV, but never below 1100mV for 1512MHz..
[HTC One S] Zarboz:
Coming soon to the play store near you
[HTC One S] addsfsds:
Thanks! So it's normal i can't see the Volteges page on SetCpu?
[HTC One S] cougzzz:
Tried ur voltage settings to get that awesome battery life but phone crashed and get continuous boot loop. Guess my phone's sensitive. Had to recover back from my nandroid.
[HTC One S] show-p1984:
That's a question for the SetCPU programmer.

That's why you should never set voltages on boot, unless you are more than absolutely certain that they are 'safe'.
[HTC One S] derkleinebroicher:
You're so right! But where the hell can I deactivate the "set on boot" in kernel tuner? :confused:

Gesendet von meinem HTC One S mit Tapatalk 2
[HTC One S] gelo01:
Settings > General > click 'Restore Settings After Reboot' then choose 'Disabled'.

---------- Post added at 11:00 AM ---------- Previous post was at 10:36 AM ----------

I guess every phone has a unique threshold on how lower the undervolt they can handle.. maybe try 1200mV for 1512MHz, that's stable for me, but i decided to go lower to 1100mV and it's still stable. Just don't downvolt too much the higher voltages (1512-1836MHz) since they're the ones that are really sensitive.. maybe try 1300mV for 1836MHz. Just don't forget to disable the set on boot to prevent the boot loop.
[HTC One S] derkleinebroicher:
Thanks for your hint. Compare the two screenshots and you will see my problem. First one is last version from xda with a good visible settings icon. The second one is the actual version from play store, where this icon is almost invisible. Took me about 30 minutes, to find it. :eek:

sent from my One and only Smart phone
[HTC One S] gelo01:
Didn't know that there's an xda version of kernel tuner. Hehe. Though congrats on finding the settings button on the play store version. :D actually the previous version before the last one was better since you can choose a dark or sense 5 skin UI.. but in the latest version it was removed. :/
[HTC One S] khan.orak:
I have viper 2.2.0, flashed Bulletproof kernel first. Now when i flash Bricked kernel from recovery, out goes fine but i think it had not flashed correctly as in the ABOUT section it still says Bulletproof. Any thing that I'm missing?
[HTC One S] show-p1984:
Yes you are S-ON.

Either S-off or search this thread/board on how to s-on flash stuff.
[HTC One S] khan.orak:
Thanks. Flashing-101 is the answer. Works.
[HTC One S] light_n_roses:
I'm on S-ON and viper 2.2.0 is that possible to use this kernel? Some users on viper thread reports me that this should boost performance as at the moment I'm disappointed with the viper rom + stock kernel, it lags and stuck during multitasking and browser usage and it's laggy in general, this is something that doesn't appear on stock rom with stock kernel.
[HTC One S] khan.orak:
This will work. Good kernel with great performance.

Also, to fix lag on Viper, reapply the SKIN, from Apps then wipe data for viper tweaks, reboot.
[HTC One S] light_n_roses:
I have already done the reapply them fix...I was talking about the ROM not being fluid and takes a lot of times to navigate etc, I think that this is something related to the memory management of the viper ROM.
[HTC One S] light_n_roses:
I have just flashed the latest stable kernel and the Rom seems better now, I'll try a few days and then I'll report!!
[HTC One S] light_n_roses:
I have noted that the kernel is good but it get stuck while the phone is doing syncronizationm any help??
[HTC One S] show-p1984:
While the phone is doing what?
[HTC One S] light_n_roses:
The sync all
[HTC One S] show-p1984:
Most likely not the kernels fault. Log?

(The kernel does not care about syncing, it's just network communication with some disk access for it)
[HTC One S] light_n_roses:
how can I make a log? Sorry for being noob!:D
[HTC One S] show-p1984:
Search. Learn. Evolve.
[HTC One S] light_n_roses:
I'm searching it but there are a lot of different ways to do that. Not sure which one is the right one.
[HTC One S] NQNH:
weird issue..

i'm got stuck on htc dev screen (the htc screen before boot logo appears)

i'm s-off and flashed the latest kernel via twrp 2.3.3.0 and twrp 2.6.0.0 both without success.

installer says, it installed fine, but I didnt get my phone to boot anymore.

strange because last month I was able to flash it the same way and it worked.. (I have to revert to completly stock last week).

I already redownload the zip 3 times to be sure it isnt a bad download, but without success too..

i dont know what i did wrong here.. its not too hard to flash a kernel on a s-off device.

btw i'm on latest htc jb
[HTC One S] gelo01:
I know this isn't appropriate to ask here, but can you (or anyone here) point me to the thread where you acquire the pure black status bar? :thumbup::cool:
[HTC One S] derkleinebroicher:
I used xposed installer / xposed statusbar mods. I made the status bar transparent from there.

sent from my One and only Smart phone
[HTC One S] show-p1984:
I don't know either without a log.

But it stands to reason that this is/was your fault, as a lot of other ppl flash it regularly without an issue. :)
[HTC One S] NQNH:
Hm i will try it again after work ..

It worked for me too the last time but now..
[HTC One S] khan.orak:
What ROM do you use?
[HTC One S] NQNH:
Stock
[HTC One S] Evil-Monkey:
Try cwm recovery. Also, stock without root or stock with root?

echó en Android
[HTC One S] NQNH:
stock with root ;)
[HTC One S] Evil-Monkey:
I just had to ask lol I know you know your way around, but I would try cwm official, its done well for me. Besides that I would just make sure you're properly mounted while in recovery.

echó en Android
[HTC One S] NQNH:
Thanks for your help :)

I will try cwm after work
[HTC One S] gelo01:
So cwm can flash this kernel if you're s-off? I remember that i have to switch to twrp for this to work coz cwm can't flash this kernel properly if you're still s-on..
[HTC One S] mkoev:
I installed it via CWM without troubles. Phone seems to be working fine. I have S-off.
[HTC One S] gelo01:
I have to post again my battery stats coz i still can't believe what am i seeing.. this kernel is just great! You see, i've only chraged my phone until 77%, and still got over 5 hrs of screen time until the battery died.

Btw, i don't know if the fast charging is enabled, but i noticed that my phone charges a lot faster now.. plugged in at 9PM exactly and fully charged at 11:43PM.. i usually charge my phone not less than 3 hrs from 0-100 when i was on stock kernel.

So again, thank you and hands down to show-p for this great kernel. Keep up the good work man! We're all looking forward to KControl. :)
[HTC One S] light_n_roses:
Here's the log, hope to have taken the right one
[HTC One S] show-p1984:
That's a logcat, not a kernel log.

You HTC Sync widget seems to be confused though.
[HTC One S] joe9002:
You are using the latest stable? fast charge is not good for your battery I read here in the forum threads.
[HTC One S] light_n_roses:
I'll try searching how to do a kernel log. Anyway regarding my HTC Sync widget what do you suggest me to do? I'm on viper rom 2.2.0 and your last stable kernel ( which speed up the rom a lot and I'm happy for that ) but honestly I don't know what causes this, indeed synching is the only situation when the system is laggy.
[HTC One S] show-p1984:
You are kidding me right? Earlier you wrote that your phone gets stuck while syncing, and now it's only lagging? I'm quoting you:

Well guess what, with your sync all widget-button you took a screenshot of earlier EVERYTHING get's synced. Ofc that will make your device lag. That will make any device lag if you have enough stuff that has to be synced... We are talking massive network/database/cpu/ram/io here.

Use autosync so that the syncs will be done sequentially and only if necessary.

Additionally your HTC-Sync widget is confused = it's trying to sync 4 times instead of one time. Maybe you clicked on it 4 times rapidly, I don't know, but that is contributing to the 'lags'.

Stop wasting my time... "gets stuck" vs "lags" :mad:
[HTC One S] light_n_roses:
Well mate don't be rude, you should be know better than me that those situations are not always the same, today I got lag, yesterday instead I got a like-stuck situation so I wrote what I saw
[HTC One S] show-p1984:
I am not rude, I am angry. You sent me on a wild goose chase for a fix of a crash when there was no crash at all. You actively wasted my time.

Just btw: Those situations are

always

the same. A crash will always be a crash and a lag will always be a lag. The length of the lag may vary.
[HTC One S] light_n_roses:
exactly, try to do this:

- sync all

- go to the people widget and try to add a new action for a contact ( make a call or send a message )

and you will see the phone almost stuck, got an answear from the system after 2 minute, this is why I told you 2 days ago stuck, maybe I have used a word too strong and I apologize for that, it was a long lag but it still is a problem.
[HTC One S] gelo01:
Yep, i'm using the latest stable. Kernel tuner says fast charge is turned off though.. i don't know what happened and what's going on really.. I didn't modify any files after i flashed the kernel.. but if i may ask, how long do you actually charge your phone from 0-100? I too was surprised to see that it fully charged less than 3 hrs, yet i really don't know if it's a bad sign or a good effect of the kernel.. :thumbup::cool:
[HTC One S] show-p1984:
Viper OneS 2.1.0 & bricked_ville_20130624_170700_master-9f5c711

Works perfectly. No lag at all.
[HTC One S] joe9002:
If I use my PC USB many many hours if I use the official wall charger 4 hours or a bit less but that's from 15-20%
[HTC One S] show-p1984:
USB2.0 is limited to 500mA per specification. If a device draws more current and the USB Hub/Motherboard/etc is poorly built it may get damaged. That's why the devices only pull 500mA over USB while the wall charger can pump through up to 2A.
[HTC One S] joe9002:
Yea this is true , I did read also that HTC wall chargers speed up charging vs a competitors equivalent charger is that true? Some thing to do with the phone detecting USB lines into the socket.
[HTC One S] show-p1984:
There is just a resistor between GND and ID so that the phone knows that it's a wall charger, even if there are no data lines present.
[HTC One S] gelo01:
So guys, what's the bottomline? Is it really bad that my phone just charged faster than it is supposed to be? I'll try again to fully drain the battery and charge it till it's full, then i'll report back if it's still that fast.. maybe there was only an inconsistency, but i dunno really..

Btw, i clocked my cpu freq to 384-1134MHz if that matters. I decided to just have a costumized profile to set the governor to performance in setCPU for specific games like RR3, NFS MW and MC4 where 1134MHz max isn't enough..
[HTC One S] gelo01:
So i'm here again guys to report.. i really don't know what happened last time but i timed again my charging time from 0-100%. I plugged it at exactly 2:42PM and fully charged at 5:54PM, so i guess it's back to normal since i was always charging it for more than 3 hrs. :)
[HTC One S] pierre.grand:
I tried this method but strangely I can't see newboot.img in the folder,

here is the content:

ls

aroma busybox ramdisk

aroma-data cmdline.sh scheduler.sh

boot.img compatibility.sh sweep2wake.sh

boot.img-base createnewboot.sh unpackbootimg

boot.img-cmdline edit_ramdisk.sh updater

boot.img-pagesize mkbootimg zImage

boot.img-ramdisk.gz mkbootimg.sh
[HTC One S] gelo01:
The newboot.img isn't included in the bricked ville zip. It will only be generated as soon as you finished flashing the zip and typed the adb pull newboot.img in cmd while you're in fastboot.
[HTC One S] pierre.grand:
that's exactly what I did, but the file is no there.

I then ran adb shell

and run ls in /tmp folder,

that's the list you can see in my first post.

The old kernel extracted by aroma script is there but not the newboot...
[HTC One S] sepsep 21:
Show-p1984 your kernel is awesome smooth great battery life. But can you add gpu overclock. I need that. Tnx in advance.
[HTC One S] apg5031:
Can you use this kernel in cm 10.1?
[HTC One S] raz0rf1sh:
Sense-based ROMs only, as it says in the title.
[HTC One S] gelo01:
Will this work on sense 5 roms? Like zenrom5.
[HTC One S] sepsep 21:
Yes. I am using it currently. There is no problem.
[HTC One S] usaff22:
zenROM already has Bricked kernel by default. There's no need to flash it again, unless a newer version is available of course.