yashsingh1/xdaforums huggingface dataset:
[HTC One S] Zarboz:
kernel source for One XL is out so i should be able to get one s working off that if hTC doesnt release source

idk how long itll be though.. pretty hard with no phone
[HTC One S] Evil-Monkey:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

I just started working yesterday after a couple of months of being without luck. We should all start a "i got five on it" PayPal to help you out. I know I'd be down, this community needs ya!

echo en Android
[HTC One S] Zarboz:
let me talk to a friend to see if he is still willing to get rid of his one s cheap. he was saying he had a spair or something

i mean. i am not going to ask for donations but xda has donated a device to me in the past and i still develop for it :D (evo lte ) in fact im working on it right now
[HTC One S] Evil-Monkey:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

I know you wouldn't but we need you back bro! So if we need to make a push, I feel this community could help and would :D

Paying it forward ya know!

echo en Android
[HTC One S] dr_rick13:
+1, mate.
[HTC One S] Zarboz:
thats up to you guys ii wont turn down another One S to work on it was my favorite of the One Series :D

i liked the black and red :D
[HTC One S] cannondale0815:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Please let me know how I can donate. You've done an awesome job with your kernel, it's rock solid and the main reason I'm still on ICS.

Even if you never write another line of code for the One S, you deserve my monetary appreciation.
[HTC One S] justthefacts:
That's the only reason I am still on ics also. I Keep coming back to it.
[HTC One S] Zarboz:
thanks man :D

i am just sitting around waiting for something new to play with
[HTC One S] adolfo778:
you can port that rom newts workin on :D
[HTC One S] uvt_novice:
HTC released JB kernel source code!

Good news though - HTC released JB kernel source code! :good:

Zarboz, hope you can look into this! :D
[HTC One S] cannondale0815:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Yes please, Zarboz! I am still on ICS, waiting to switch to JB with a new kernel of yours! :)
[HTC One S] Zarboz:
ill see what i can do guys but i have no one s anymore :(
[HTC One S] uvt_novice:
Thanks! And that sucks you have no One S anymore.

But we may help as testers though :cowboy:
[HTC One S] Zarboz:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Showp has my other one s
[HTC One S] Zarboz:
and so it begins https://github.com/Team-Blackout/Blackout_Ville_plus
[HTC One S] phoenixita:
I will be again running viper one s with your kernel :) when i was on ics your kernel was the only thing that prevented me from switching to aosp :) hope to see soon a new release :)
[HTC One S] O_G:
Thread Cleaned​

Sorry guys, selling goods is forbidden on XDA, as is raising donations up front. I know the intentions are good, but we cant break the rules. So please no more about this.​
[HTC One S] show-p1984:
*coughs*

And so it begins:

https://github.com/showp1984/bricked-ville-3.4/commits/master

(Note: forked by Zarboz :p, and he deleted the fork just because he has read this, sneaky :p)

gcc4.7 fixed

linaro fixed

-o3 fixed (full -o3, no files are excluded from that optimization level, as you will see it on other kernels)

snapdragon and linaro optimizations

That is something one can work on, not that hTC downloaded source crap :P
[HTC One S] Rampage:
AW: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

So do you both now have a one s??

Sent from Space
[HTC One S] Zarboz:
no ... cant talk about that here
[HTC One S] show-p1984:
Btw, why bother with code optimizations and fixes?

Stock:

https://dl.dropbox.com/u/44206202/pics/ones_antutu/stock.png

Bricked:

https://dl.dropbox.com/u/44206202/pics/ones_antutu/bricked.png

Rom: Blackout_Ville_plus_1.5

Just so you know, there is absolutely no OC done on Bricked so far. Neither is my msm_mpdecision active yet. It's basically stock + optimizations/fixes and a few backports.

I also did only run Antutu once for each kernel. Both had a fair chance to settle for 5 minutes or so.

Ah btw, ever wondered which cpu version you got?

# cat /sys/kernel/debug/krait_variant
Your cpu is:
[ ] Krait Version 1
[X] Krait Version 2
Your krait chip uses table:
[X] SLOW
[ ] NOMINAL
[ ] FAST
[ ] FASTER

Mine is slow =(
[HTC One S] Zarboz:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Ok man I'm passing the torch to you since you revived that one s :-p
[HTC One S] Zarboz:
Alright Show-P

I can't wait till they see what you are making for them :D
[HTC One S] NQNH:
I'm so excited !
[HTC One S] eterno13:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Im a briked kernel fan since sensation 4g....im waiting for your wonderfull kernel for one s
[HTC One S] eterno13:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

So... No development on this kernel anymore?
[HTC One S] Darknites:
What's is it with people thinking stuff is dead because it not been updated or what ever?
[HTC One S] Zarboz:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Omgs I updated a xml and two lines of code ...

Time to update!

Just cause no update was posted doesn't mean it's dead
[HTC One S] Darknites:
But I must have them 2 lines lol.
[HTC One S] Evil-Monkey:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Will those line edits come in a zip? Hahaha jk

echó en Android
[HTC One S] Zarboz:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Packed twice daily
[HTC One S] fantasist:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

This is huge! I had a dream about it several days ago and now it's come true!!! Change the subject!!
[HTC One S] RichardW1992:
Never new different versions existed. Please explain more about this, I am really intrigued? What are these different versions and 'speed tables'? Anyway us normal users can find out what version we have? Or will we have to wait until you have something together for us? :fingers-crossed:
[HTC One S] Darknites:
Ya this lol.
[HTC One S] show-p1984:
Version 1: max. 918Mhz (stock)

Version 2: max. 1512Mhz (stock)

CPU tables:

Mainly those differ in voltage. SLOW cpus require more voltage for the same clock than a NOMINAL or FAST cpu would. Therefore they are also the worst to overclock.

Those settings will be readable on my kernel, eta: soon(tm), with this command:

cat /sys/kernel/debug/krait_variant
[HTC One S] ozzie1p:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Nice, seriously looking forward to this!
[HTC One S] Evil-Monkey:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Yeah me too. lol.

echó en Android
[HTC One S] flar2:
Didn't we go through this already (or was it in the evo lte thread?). The oc module I made ouputs this info. It's just the voltage requirements for specific chips as determined by testing at manufacture. All One S are the 1.5GHz chips, some need more voltage than others. In practice it doesn't seem to make much difference, plenty of people with the slow chips were able to over clock to the max. HTC disregards the PVS bins anyway, and sets everything to a minimum of 1150 for stock. I think they do this less for stability than to ensure that there is no bluetooth sound distortion, as some people report this when undervolting less than 900 minimum (fast chips are rated to have a min voltage of 850).
[HTC One S] verysick:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

I'm confused :confused: is zlimage the same as bootimg? :confused:
[HTC One S] Darknites:
No but does contain most of it I think but you have to flash the zip with no fastbooting or using an app.
[HTC One S] verysick:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

This one? :confused:
[HTC One S] Rampage:
AW: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

As darknites said, just flash the zip.

Sent from Space
[HTC One S] Arijum:
Any positive news so far? I'm so excited about your coming update :)
[HTC One S] show-p1984:
I will be releasing the full package. That means a fully fixed, updated and optimized kernel with all features currently being developed by myself.

That takes a bit longer than providing iterations, but it will be less work for me :)

So patience my far too young Padawan.
[HTC One S] eterno13:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Awesome waiting for this...
[HTC One S] Evil-Monkey:
Re: [Kernel][S4 ICS][10 DEC][SENSE] Beastmode BRICKED Ville [Linaro -O3][3.0.56]

Yup!

echó en Android
[HTC One S] nor-ric:
The upcoming release is going to be based on the JB kernel, isn't it? Any chances it will work on a ics rom (stock 4.0.4)?

Thanks.
[HTC One S] Mr.Nigma...:
Nope onluy JB! The ics version is very complete so no need to update
[HTC One S] Evil-Monkey:
There's always room for improvement :)

Ideally I would love to see a ICS "perfected" release

And..

A JB release of bricked.

But I'm a day dreamer. lol

Either way, I'm still using this kernel and maybe the JB versions release will make me stick to Viper 2.2 longer than a couple of days.

In a world where its raining jelly beans I'm still on my couch eating ice cream sandwiches :)

echó en Android
[HTC One S] nor-ric:
Same here... Let's hope the devs are so kind to update the ics kernel! :fingers-crossed:
[HTC One S] Rampage:
Show-P is dope!

Sent from Space
[HTC One S] show-p1984:
Santa is coming to town early this year :p

Currently preparing my build server for the one s, things will move much quicker once I have finished the restructuring of the build process and updated the homepage:

Stable:

http://bricked.de/index.php?action=download&device=ville&release=stable&type=sense

Beta:

http://bricked.de/index.php?action=download&device=ville&release=beta&type=sense

(not yet finished. there may be unicorns if you download and flash it, I haven't tested either of the two builds that came out of warmachine yet, the build log looks promising though)
[HTC One S] Rampage:
Is this for JellyBean or ICS?
[HTC One S] show-p1984:
3.4 source = JB

Why would somebody stay on ics?
[HTC One S] FlyinGrub:
When i clic on your link my tab doesn't responds anymore and your website(http://bricked.de/) doesn't appear for me ...

Chrome browser
[HTC One S] Zarboz:
checked out the webpage thats pretty bada$$ show :D

glad you can give this project life
[HTC One S] MuurHekker:
Stable version bootloops on viperrom
[HTC One S] rc420head:
Just flashed beta running tmobile jb and still shows the stock kernel under about phone? Btw I'm s-on
[HTC One S] Zarboz:
please reboot to recovery after bootloop and attempt to pull /proc/last_kmsg to help developer diagnose said issue

also what version of viperrom are you on

is it an ICS or JB release

the kernel that was posted is a JB release
[HTC One S] show-p1984:
Yeah, just saw that I didn't edit the offset for the one s, which needs moar space.

New build is up. Need to get my one s now. :)

S-ON can't flash /boot through recovery.

First thing: Get S-OFF :p

If not: Pull /tmp/newboot.img before leaving recovery and flash it.
[HTC One S] MuurHekker:
Gonna do that tomorrow if still needed.

I am on the newest version of the viper JB rom.
[HTC One S] FlyinGrub:
The wifi doesn't work for me ...

Am i damned ? :P

Envoyé depuis mon HTC One S
[HTC One S] show-p1984:
Unicorns! I knew it! :p

What did you install? (exact file name)
[HTC One S] FlyinGrub:
bricked_ville_20130429_185517_master-2e2d3b8.zip

:)

Envoyé depuis mon HTC One S
[HTC One S] Evil-Monkey:
Quick question?

Are you updating Bricked for JB only?

echó en Android
[HTC One S] AKToronto:
bricked_ville_20130430_004006_master-2e2d3b8.zip boots fine on my One S with Viper 2.2.0, S-OFF.

Gonna try it out and report back, then see about the experimental one. Thx so much for developing on this phone ShowP. I really appreciate it.

---------- Post added at 11:40 PM ---------- Previous post was at 11:10 PM ----------

Just a few preliminary tests. I also couldnt get wifi to work on either bricked_ville_20130430_004006_master-2e2d3b8.zip or bricked_ville_20130430_004615_exp-83717ec.zip. I didnt see any additional governors or undervolting or overclocking, or editable thermald settings. I was using kernel tuner.

I also had one brief issue where the exp version hung on install at the "renaming the binaries" section, where mpdecision and thermald were renamed. I flashed a stock kernel and then tried again and it flashed successfully. I had originally came from another custom kernel.

At any rate, Im not sure if undervolting, overclocking, additional governors, etc were going to be added in later builds, or if they were to be expected in this one... Didnt want to presume, just wanted to report back.
[HTC One S] nor-ric:
I'm also interested in an ICS release. Are you planning something about it?
[HTC One S] show-p1984:
No. I would have to flash the One S back and forth between Sense ICS, Sense JB and AOSP ICS, AOSP JB. I just don't have that much time atm.

The install issue is an Aroma bug (no worries).

The rest is not added yet (but on another branch waiting to be merged). Those two builds were just the initial test builds coming out of warmachine and will be updated this evening with some more stuff, they will also fix wifi :p
[HTC One S] AKToronto:
Lol there won't be any reason to stay on ICS after this kernel comes out... The only reason to have stayed on ICS this long was bc you loved the ICS beast mode bricked kernel and it looks like before long we will have a beast mode jb! And there doesn't seem to be much to update on the ice side... The ics custom kernel works great.
[HTC One S] alcatus1708:
where is the boot image.....sorry but i cannot find it anywhere in your download section.
[HTC One S] Zarboz:
read :D
[HTC One S] Evil-Monkey:
Agreed. Bricked is boss. Its the only reason I go back to my ICS backup. My phone is really sensitive to kernels but was flawless on bricked. Battery, stability and so on. I'm really glad these two devs are still around :D

echó en Android
[HTC One S] AKToronto:
BTW, Im happy to test any future builds of Sense JB if you need. PM me if you think I can help. I dont know too much about kernels, but I knew enough to port a bunch of work over to have created a 4.1.2 AOSP custom kernel for the One S.
[HTC One S] show-p1984:
Those that weren't following missed a wonderful night :)

http://bricked.de/index.php?action=kdownload&device=ville&release=beta&type=sense

#sleep 6am

EDIT:

Or not :)

Waiting for the stable build to come out of warmachine...

http://bricked.de/index.php?action=kdownload&device=ville&release=stable&type=sense
[HTC One S] AKToronto:
Rock n roll! Nice to see all those commits on github! Thermal, Mpdecision, etc... Hot off the press stuff! Will flash the latest bricked_ville_20130501_062733_exp-80c4db5.zip and Ill report back if I encounter any errors.
[HTC One S] Evil-Monkey:
Isn't latest 9a.zip?

echó en Android
[HTC One S] show-p1984:
"Latest" beta is: bricked_ville_20130501_065619_exp-cc6c47d.zip

I am not yet sleeping :)

There will be a stable release rolling out any second, but now: gn8 (7am)

EDIT:

It's done.

Linux version 3.4.10-bricked-ville-master-g3cd226a (gitlab_ci@warmachine) (gcc version 4.7.2 20120910 (prerelease) (Linaro GCC 4.7-2012.09) ) #1 SMP PREEMPT Wed May 1 07:07:32 CEST 2013
[HTC One S] Evil-Monkey:
Ahh yes. That's definitely there now, you werent joking about it taking only 6 minutes... I remember your G+ post on how to read them.

Good night bro!

echó en Android
[HTC One S] AKToronto:
lol cut and pasted wrong, I was working off of 9a, and now will switch to the latest stable.

Only one small issue, for some reason the aroma hung almost at the end when it tried to wipe my cache this time (before it hung briefly at mpdecision renaming, etc, which you know of). It was no biggie, as I reset the device and just tried flashing again and it worked. Again I was flashing overtop of ElementalX kernel at that time. Im not sure if any of it got saved in my logs, I will check if theres anything useful there. edit* lol only saved the successful log, hahah... Also was using twrp 2.3.3.0, fyi...

Kernel itself seemed to be working well so far, mpdecision and thermald are in kernel tuner, wifi works, camera, calls, etc, etc. Wll keep on testing away. Fun fun fun! This is fun guys!!!
[HTC One S] Evil-Monkey:
I'm running a back up then testing stable release.

I feel like a little kid right meow!

Thanks for this!

Edit:

stable release is stable :) lol

Aroma flashed quick. I really enjoyed the disclaimer haha. Nice touch. :D

I'm getting lower quadrant scores on on-demand on cfq. I'd like to see how intellidemand and row perform on this since my phone reacts better on those.

Also, can't wait for sleep 2 wake.

Besides that. Everything is running smooth.

echó en Android
[HTC One S] rc420head:
That bricked my phone! In a beast mode bricked kind of way. :D thanks for your tireless work! I'm s-on (yes I know just haven't done it yet) so I pulled new boot. Img and fastbooted it per your instructions from earlier post. Booted right up :thumbup:
[HTC One S] show-p1984:
I didn't have any time to find the correct values yesterday (or rather this morning). That's why mpdecision and thermald work with safe values at the moment. Mpdecision might plug too often at the moment and thermald might throttle you (while benchmarking: cat /proc/kmsg | grep 'thermal' )

Should only be a matter of finding the sweet spot :)

Btw: All benchmarks are crap, but quadrant is the least usefull. I tweaked deadline on my neighbors Evo to get 6k scores on quadrant... #fail

If you have to use one, use Antutu. That one's at least not that crappy :)

Kcontrol running on the One S: https://plus.google.com/u/1/108262968419038009038/posts/Kb6VnxDWBSy
[HTC One S] leald:
Will kcontrol be released soon?!?!
[HTC One S] Rampage:
I bet yes, but please do not ask when it will be released.

Sent from Space
[HTC One S] Evil-Monkey:
I didn't know that. But ill definately read more about it.

I guess this pops open my curiosity, what way (if any) can we, at the user level get an accurate (or closest to) reading of performance from one kernel to the next.

Cause up until now I would reboot my phone, let it boot and run quadrant, not really pay attention to the overall score but just the cpu:, and I/O: scores. Do that three times and get an average.

Also, I'm a creature of habit, so I do (dam near almost) the exact same things on my phone everyday around the same time. But this test method isn't as controlled as a benchmark and is bais based on my exp of that day.

Either way, I'd like you guys to know if I can help testing, please let me know. love your guys work and I want to do my part to contribute.

echó en Android
[HTC One S] AKToronto:
Noticed a few more updates to the exp versions today with a few changes... Show P is on fire, lol... Kcontrol in the future maybe too? Rock n rolllllll.... Im pretty sure Im already noticing some improved batterylife thanks to kernel based mpdecision even with stock two phase on demand. Cant say much yet as I havent done a full charge and drain to compare, but things look great so far!
[HTC One S] leald:
I'm sorry I forgot we can't ask about stuff like that.
[HTC One S] show-p1984:
It's not that you may not ask, it's just very hard for me to set a date. I said a week ago within a month at the most, so apply the usual valve time modifier to it and you will get something that comes close to the release date :)

Something along the lines of:

#!/bin/sh
DIGITS=2000
NUMCORES=$(zcat /proc/config.gz | grep 'CONFIG_NR_CPUS=')
CPUNUM=$(NUMCORES#CONFIG_NR_CPUS=*)

for (( c=1; c<=$CPUNUM; c++ ))
do
time echo "scale=$DIGITS; a(1)*4" | bc -l &
done

should be very effective at generating some usefull cpu benchmark output. This calculates pi to the nth digit and creates as much threads as CPUs you have. Obviously you need to have the bc binary compiled for arm, which you can get here: https://code.google.com/p/port2android/downloads/detail?name=bc.zip&can=2&q=

Just push it to /system/bin.

This will create number_of_cpu_cores (so 2 on your one s) times output similar to this: (my laptop)

[1] 14893
showp1984@jarvis:~$ 3.141592653589793238462643383279502884197169399375105820974944592307\
81640628620899862803482534211706798214808651328230664709384460955058\
22317253594081284811174502841027019385211055596446229489549303819644\
28810975665933446128475648233786783165271201909145648566923460348610\
45432664821339360726024914127372458700660631558817488152092096282925\
40917153643678925903600113305305488204665213841469519415116094330572\
70365759591953092186117381932611793105118548074462379962749567351885\
75272489122793818301194912983367336244065664308602139494639522473719\
07021798609437027705392171762931767523846748184676694051320005681271\
45263560827785771342757789609173637178721468440901224953430146549585\
37105079227968925892354201995611212902196086403441815981362977477130\
99605187072113499999983729780499510597317328160963185950244594553469\
08302642522308253344685035261931188171010003137838752886587533208381\
42061717766914730359825349042875546873115956286388235378759375195778\
18577805321712268066130019278766111959092164201988

real	0m0.353s
user	0m0.348s
sys	0m0.000s

If you add up the real values and divide them by the number of cpu cores then you will get a reliable result.

To get more reliable results you could just multiply the $CPUNUM variable by two, that would get you 2 threads per core, which is usually considered very heavy work load.

I don't even know if it works, maybe I have some tiny syntax error in there as I just wrote it here on xda xD, but the usual disclaimer applies:

/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* I am not responsible if it kills your grandmother, grows you
* a blue tail or lights up your house.
*/
[HTC One S] AKToronto:
LOL just ran this on mine using your kernel... Mine is slow too :( Thankfully I have been careful undervolting in the past, but this confirms it. Curious if anyone has fast or faster... Curious also if its a regional thing, or if its a fairly random spread.
[HTC One S] rc420head:
u0_a211@android:/ $ export PATH=/data/local/bin:$PATH

u0_a211@android:/ $ su

root@android:/ # cat /sys/kernel/debug/krait_variant

Your cpu is:

[ ] Krait Version 1

[X] Krait Version 2

Your krait chip uses table:

[X] SLOW

[ ] NOMINAL

[ ] FAST

[ ] FASTER

root@android:/ #

:mad:
[HTC One S] Arijum:
Can confirm that my CPU version is slow too but considering all replys in this thread I would say that each ville S4 user has got the slow version. Maybe One XL users got the normal, or even fast mode enabled by HTC. I believe that the way how the krait version is measured has something to do with it.
[HTC One S] FlyinGrub:
Mine is slow too, so it confirm your idea

Envoyé depuis mon HTC One S
[HTC One S] show-p1984:
Wow nice guess. And it's accurate. One of my merges went bananas and didn't include one commit. Will have to fix that.

Actually that's a merge from bryans repo, so maybe it's his fault? I will just blame him, it's common practice. :p #blamez

New beta build is running: (or already finished by the time you read this :p)

http://bricked.de/index.php?action=kdownload&device=ville&release=beta&type=sense
[HTC One S] Zarboz:
#myfault
[HTC One S] FlyinGrub:
My Cpu is still slow ....

i'm a little surprise cause i undervolt a lot and it's very stable with ElementalX