yashsingh1/xdaforums huggingface dataset:
[HTC One S] pirlano:
Yes, it will be official :D

Zoe is not included but we can get it work with a simple mod: http://xdaforums.com/showthread.php?t=2436347
[HTC One S] rustykwak:
No Zoe!
[HTC One S] usaff22:
HTC Sense launcher works fine, and all touch related issues are fixed. WiFi (including hotspot), earpiece audio and all sensors are left. At the moment no sensors work but I think I might have a solution (for at least the orientation sensor).

[MENTION=2351000]pirlano[/MENTION]:

Is it possible WiFi was broken during the initial fixing? All files seem fine on the ROM side, I believe the issue is somewhere in the kernel: the One XL has the same WiFi module as us (think it is BCM4329)

Edit - screenshots!:

Sent from my HTC One S
[HTC One S] arsenalfreak:
Looks great, keep on the good work :D

Gesendet von meinem HTC One S mit Tapatalk 4
[HTC One S] salutcemoi:
Is this real life ?

4.2.2 Sense ?

:fingers-crossed:
[HTC One S] marco1530:
send the beta or alpha version plz :(
[HTC One S] Flashalot:
Nice man I got audio but its fcinn on me and most of every thing you just posted

Did you replace the file I mentioned above and sensors is some libs or permissions
[HTC One S] usaff22:
I'll upload the build tomorrow and PM the link to you. Nothing FCs at the moment. I got a logcat for WiFi, which is good news. The bad news is that replacing sensors.ville.so doesn't help the orientation sensor. Did you try deodexing apps? Deodexing might be the issue, but I managed to get around that.

A couple of other things: default language is set to german unless you change it in Setup. After, you have to choose QWERTY, not QWERTZ in Settings > Language and Input. The default is QWERTZ. The boot animation is horribly resized, and T-Mobile branded amongst other things but I should be getting there one step at a time. Blinkfeed is also turned off by default. Of course we'll have a better build soon, direct from HTC but nevermind :)

[ 09-14 19:38:28.969 782: 6609 E/WifiStateMachine ]

Failed to load driver!

[ 09-14 19:38:28.979 1296: 1296 I/QuickSettingWifi ]

onReceive.wifiState:WIFI_STATE_ENABLING allowChangeStae:false

[ 09-14 19:38:28.979 782: 1191 E/WifiStateMachine ]

DriverFailedState

[ 09-14 19:38:28.979 782: 1191 D/WifiStateMachine ]

WifiApState:11 WifiState:4 isSupportApSta:true mIsSupplicantReset:false

[ 09-14 19:38:28.979 782: 1191 D/WifiStateMachine ]

Ignore msg of 'start supplicant' [MENTION=262606]Soft[/MENTION]ApStartedState

[ 09-14 19:38:28.979 1296: 1296 I/QuickSettingWifi ]

onReceive.wifiState:WIFI_STATE_NONE allowChangeStae:true

[ 09-14 19:38:28.979 782: 803 D/WirelessDisplayService ]

WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1

[ 09-14 19:38:28.979 1296: 1296 D/WIFI_ICON ]

updateWifiState: action=android.net.wifi.WIFI_STATE_CHANGED enabled=false
[HTC One S] marco1530:
soon our device will have a good rom. thank you :D
[HTC One S] Flashalot:
For the logcat you replaced the files I said above if so then its the modules of not try that

OK any time you can I deodex the app and framework

Default lang can be fixed easy I know where it is

and I fixed the boot up to

OK things I got now

Ported boot up the to

Fcing audio

Ported the build.propt for our phone

Touchkeys

I'll port the customize folder next after I'm done making my modpack for my new nexus7(flo)
[HTC One S] usaff22:
Don't worry - finished customize folder ;)

I will try fixing WiFi with the suggestions you mentioned - think it might be a kernel issue though, since it works fine on the XL and we have the same chipset.

Edit: Libwpasupplicant.so seems unchanged from 4.1 to 4.2, and nothing in modules looks like it might affect wifi except for reset_modem.ko which has a huge file size change.
[HTC One S] sandman303:
So do we flash a rom from onexl thread and then flash ur kenel?
[HTC One S] tivofool:
lol patience grasshopper. Don't go flashing other phones roms on our device, you will brick it. They are openly working on this kernel.
[HTC One S] usaff22:
If you do that your phone will be so horribly resized that it will be unusable. Don't do that - have patience. I will be uploading a build today then [MENTION=4678269]Flashalot[/MENTION] and I can be on the same page.
[HTC One S] sepsep 21:
Hi. Can you upload it some where else not mega. Because i Cannot download it from mega. Tnx in advance. Sry for bad english.
[HTC One S] usaff22:
Already started uploading - might be able to create a mirror later.

Sent from my HTC One S
[HTC One S] marco1530:
i wait you thx ! :D
[HTC One S] usaff22:
fixed some sensors - rotation now works and so does the panasonic 3-axis acceleration sensor.

sensor based games might work at the moment. magnetic field sensor and compass do not work, but GPS does.
[HTC One S] pirlano:
nice!

i may have an idea to fix wifi, testing now :) (kernel side)

the second idea is something like sense wifi fix for sense 4+, maybe wifi partitions are related too

EDIT: i think i've centered the problem...one xl source on htcdev is not the one used for compiling the final version of One XL 4.2.2 update...and kernel source for compiling prima_wlan.ko module is missing (not even in the defconfig, so easy to figure out)

but...maybe we can port it from other kernels, zarboz already did it for one xl

Step 1: try to force module loading prima_wlan.ko for one xl (need an updated defconfig, so a new kernel)

if it doesn't work

Step 2: compile prima_wlan module from source (from codeaurora)
[HTC One S] usaff22:
https://mega.co.nz/#!kkFx3QIK!S23EKQQB8avr_7dGST_-IXaoEkFzxm36kDqTeVVxPuM

latest version with working sensors and hspa etc. I'm sure you know the buglist.
[HTC One S] Flashalot:
Did you port the build.prop
[HTC One S] usaff22:
Yes, but yours might be better. Check and see what's different. I personally haven't seen yours, but I used a couple of things from the One S build.prop.

Downanimation is not resized properly, boot is fine though. The rest of the customize folder should be fine.
[HTC One S] pirlano:
Step 1 doesn't work, we need to compile prima_wlan from source

I think today official rom and kernel source for One S will be posted on htcdev, i think they will not include prima_wlan source, if i have time, i'll try to add prima_wlan to it, it's always useful to have a complete kernel (for modding, hacks, improvements, etc, etc) :)
[HTC One S] yooouuri:
Sorry for the question. But can somebody make a list with the current bugs?
[HTC One S] rc420head:
No need bug free drops in 2hours

http://xdaforums.com/showthread.php?p=45607951

Sent from my HTC One S using Xparent Red Tapatalk 2
[HTC One S] Alex_95_Bo:
It's true that he has got the rom based on official source and "bug free", though it is interesting that it needs a firmware upgrade to work whereas this one does not (as far as I know).

He also claims that S OFF is needed for firmware upgrade and not everyone has it, so keep it up guys ;D
[HTC One S] yooouuri:
But is it safe to S-OFF? What could go wrong?
[HTC One S] Alex_95_Bo:
Let's avoid being off topic, since this is a dev thread

You can find infos HERE

Of course there may be risk
[HTC One S] pirlano:
it's much more safe to s-off before installing this type of firmware update (no signature error, never stuck during an update, you can always downgrade), but if you don't know what you're doing/flashing you can easily hard brick your phone (you can flash a wrong hboot for example) :)

btw llabtoofer just confirmed that official update + official kernel source will not be posted today (maybe never) to htcdev...

also, unofficial kernel source will not be posted (since he has closed source boot.img only)

so now i'm trying to fix wifi (kernel side), to have an open source kernel for stable 4.2.2 release too
[HTC One S] arsenalfreak:
http://www.androidfilehost.com/?fid=23134718111253140
[HTC One S] usaff22:
Please stay on-topic! This isn't related to the kernel in this thread.
[HTC One S] pirlano:
is my kernel working with semi-official update?

I had some trouble, yesterday i broke my wifi card, ad today a kid destroyed my keyboard with a coke, and i'll not be able to test/code/hack for 1/2 days...
[HTC One S] pirlano:
everything is working (sensor too) with my kernel, only wifi/wifi thethering is broken :)

tryed first attempt to make prima_wlan working, failed, but it compiled within the kernel without errors, i will check and try to fix when i have time :)
[HTC One S] yooouuri:
So i assume that you are creating a custom kernel or?
[HTC One S] pirlano:
A "stock" custom kernel, since kernel source are not available

Btw, i just fixed wifi, everything is working now, i ported prima_wlan from zarboz kernel :)

I'll update first post when i can

Let's the kernel modding begin :D
[HTC One S] yooouuri:
A sense 4.2.2 custom kernel :p.

Rom is running so fine. With a custom kernel i think it wil fly haha
[HTC One S] melo563:
Hopefully this means no need for soff or super cod I have spent most the day trying to do this but can't get the phone to accept the change from hex editor by that time it says error can't find device and when check it was the same hopefully get implemented soon in a Rom sorry for off topic won't do again had to say it though.
[HTC One S] rc420head:
Anyone have any luck with incall sound?

Sent from my HTC One S using Xparent Red Tapatalk 2
[HTC One S] pirlano:
Lol, new links are online, incall sound works with maximushd
[HTC One S] BL4zD:
can we use this kernel with maximushd rom?
[HTC One S] Flashalot:
You can always try and report back
[HTC One S] luxandroid:
Any advantage In this kernel comparing to kernel that it's included in MaximusHD 10.0.0 released yesterday?

Poslano sa mog HTC One S koristeći Tapatalk 4
[HTC One S] Flashalot:
This is a ported kernel and MaximusHD is form HTC unofficialy
[HTC One S] luxandroid:
I know but I meant is there any tweaks features in this one

Poslano sa mog HTC One S koristeći Tapatalk 4
[HTC One S] Flashalot:
No this is just for devs to make a working senss5 with out the need of HTC
[HTC One S] pirlano:
i think no :)

it should be 99% similar (wifi part is a bit different, since no kernel source from htc for prima_wlan implementation)

maybe :)

i'll try to update some sensor, and i'll try to use new rawchip code (maybe it will fix zoe zoom problem, probably not, maybe it will improve camera speed, maybe not...)

EDIT: wifi is searching without pause, have to take a look

EDIT2: this is the normal behaviour :)
[HTC One S] BL4zD:
ok I'll try it. I am confused on the fact that we need to update the firmware for maximus but not for this one. not sure if I should find a firmware to go back to before I flash this kernel and if I do need to downgrade which one should I choose. if anyone has any advice please post it.

in the meantime I'll simply flash this kernel over maximus ROM install (I've already done the firmware update trying to get that ROM to work without success)
[HTC One S] yooouuri:
I think we needed the firmware update for a newer HBOOT
[HTC One S] yooouuri:
[MENTION=2351000]pirlano[/MENTION]

Can you please list for me whats working and whats not?

And what are u gonna add and change?
[HTC One S] Flashalot:
Please stop asking questions guys this is a dev thread
[HTC One S] rc420head:
Amen, if your not a developer please stay out. I'm not trying to be rude but the title does say dev for a reason. Help us help you by not posting non development related questions.

Sent from my HTC One S using Xparent Red Tapatalk 2
[HTC One S] gelo01:
And without the need for s-off and supercid, i guess?
[HTC One S] Flashalot:
Yes running as my daily

Current bugs

In call vol ( no one calls me so ha it's my daily)

And WiFi comes and go's so you reflash kernel

Working

Everything else

Been running for awhile
[HTC One S] rc420head:
Grinder19 may have found a solution to in call sound I'll try it after work

Sent from my HTC One S using Xparent Red Tapatalk 2
[HTC One S] Flashalot:
Ok I'll be on hangouts at 4:25 pm
[HTC One S] pirlano:
since zoe zoom problem is not kernel related, if i'll be able to study/fix zoe for our phone (currently front camera is not working and zoom bug is still present), i'll start a dedicated thread :)
[HTC One S] usaff22:
Might be able to fix it this afternoon. I will have a look. Don't think I can fix zoom problem though.

Sent from my HTC One S using Android 4.2.2 with Sense 5
[HTC One S] Flashalot:
There is working zoe but it mess up your cam after you flash it or stuff start acting weird

The last major bug we have is incall if every body could work on that then where all good
[HTC One S] rc420head:
We @ Team MagioRom found the problem (I think) to in call last night. When you place a call or receive a call its constantly looking for a Bluetooth device. I don't know how to fix that. But check the hangout there's a few ideas posted there, I'll be trying again tonight. But 4 hours of sleep each night is starting to catch up with me.

Sent from my One S using Xparent Red Tapatalk 2
[HTC One S] Flashalot:
Ok I'll take a look at it on my lunch break really hope we get it working
[HTC One S] pirlano:
nice! then i'll try to focus on zoom problem, it's 99% lib related, i'll try to search the culprit, IDA will help us :p we need an hybrid lib/hex edited lib or a wrapper...

in call sound is working good for me with new sense 5 firmware...it doesn't work with old firmware only, right?
[HTC One S] usaff22:
Front camera issues are not related to the Camera.apk. They are related to libs after a bit of work

Sent from my HTC One S using Android 4.2.2 with Sense 5
[HTC One S] Flashalot:
Looked at the hangout msg looks like work I'll try it this afternoon

You got it working on new firmware are you on MaximusHD or on xl ported Rom
[HTC One S] pirlano:
MaximusHD
[HTC One S] Flashalot:
Well on xl ported roms we don't have incall
[HTC One S] aref9200:
help

Is there a kernal with S2W method for android 4.2.2 withe sense 5?
[HTC One S] Flashalot:
*facepalm*
[HTC One S] pirlano:
it's rom related and i never coocked a rom, sorry, maybe usaff22 know the solution...

maximus hd is not working without new firmware?
[HTC One S] rc420head:
No must upgrade firmware, were trying to make port so people don't have to upgrade. Zarboz gave me a few things to try,he said if your kernel has sound on maximus then problem lays ROM side

Sent from my One S using Xparent Red Tapatalk 2
[HTC One S] CazeW:
Nope, MaximusHD doesn't work without the new firmware as it's needed for the new partition layout. The thread is full of people reporting storage problems because they didn't flash it properly or for some reason it refused to flash properly.
[HTC One S] alfredino85:
i am sorry..
[HTC One S] rc420head:
With all do respect please keep this thread on topic.

Sent from my One S using Xparent Red Tapatalk 2
[HTC One S] kant1988:
Anything improve with this kernel ?
[HTC One S] pirlano:
no, it's just an open source version of stock 4.2.2 kernel

there is no tweak/feature/improvement for now, i'm currently busy trying to get ffc fixed with zoe mod
[HTC One S] Snotmann:
An idea if screen wake with vol up / down could work with this kernel ?
[HTC One S] mikronac.ns:
OK devs and other people :D One question:

Can we count on fix for data switching problem? When I using WIFI for long period and leave WIFI zone phone wont switch on mobile data. I need to reboot phone.

What we can do about this?
[HTC One S] Snotmann:
So flar2 maybe could implement sweep2wake to it ?
[HTC One S] usaff22:
Stop asking for TWEAKS!!!!

The dev has already said this will REMAIN STOCK until the bugs have been fixed. Be patient!
[HTC One S] AKToronto:
Curious, what toolchain(s) can you use to compile this kernel based on your git source?
[HTC One S] rc420head:
+1

Sent from my HTC One S using Xparent Red Tapatalk 2
[HTC One S] pirlano:
gcc 4.6 from android ndk r9

btw this information can be read with just a dmesg (sometimes is trunked), or proc/last_kmsg (for a complete log)
[HTC One S] pirlano:
using stock prima_wlan.ko may fix few little problems with wifi :) (i don't have any problem but i'm sure stock module is working better)

https://github.com/flar2/evita-bulletproof/commit/f29b0ab2b65698104fe548091e710b79de6e1aa5

i will apply/compile/try flar2 patch when i have time :)
[HTC One S] pirlano:
New kernel on first page, now we can use stock prima_wlan module, all wifi related problems should be fixed now :D
[HTC One S] Flashalot:
Nice testing now keep up the good work man
[HTC One S] rc420head:
Awesome, I keep getting random reboots every now and then not sure if it's kernel or rom side, would you like a last_kmsg?

Sent from my One S using Xparent Red Tapatalk 2
[HTC One S] pirlano:
You need a clean firmware directory (use original firmware files from MaximusHD) :)

An update from my old kernel will probably cause this issue :)
[HTC One S] :
Mirror?

I can't seem to download version 1 of this kernel from 4Shared. The download link just stays grayed out and asks me to join, I don't really want to join another site for this one file, could we maybe get a mirror? Mega is free and I have had success with it.
[HTC One S] miniAndroidian:
http://bugmenot.com/view/4shared.com

This is a site, made for sharing your passowords for free sites.

Just grab a working pw from there :)
[HTC One S] :
Flashing?

I am on the most recent version of the Maximus rom, but I am having a problem flashing this kernel. I am assuming that I need to flash this from TWRP, but is there anything else I need to do or know before I try to flash this? The flashing process seemed to stick on "extract boot img from phone", which is 50% of the flashing process.
[HTC One S] pirlano:
sometimes it happens to me too, try again, it's a twrp or update binary issue :)

i'll post an already packed boot.img when i have time

it's working good for someone?
[HTC One S] Snotmann:
So now flar2 could make a sweep2wake one :) fine fine fine
[HTC One S] kant1988:
About In-call bug? it fixed ?
[HTC One S] pirlano:
it's firmware related, but maybe a fix rom side or kernel side can help to fix this problem

i'm currently busy, so i cannot do any test
[HTC One S] Snotmann:
:D i give a sh... you think about :)
[HTC One S] Flashalot:
Its rom side or kernel side we tested the new firmware with the rims

That's nice nice next time look it says dev on the top for a reason
[HTC One S] Snotmann:
Seems thats your hobby to bully people here ... thats my problem. Not more or less
[HTC One S] Flashalot:
I guess so if you would have looked a couple of pages back your answer would be there
[HTC One S] rc420head:
[MENTION=4678269]Flashalot[/MENTION] is a dev and him along with me are working together to bring you guys two awesome sense5 roms, he trying to keep this thread clear of non dev posts. So please if you have anything else to add that's not related to the development of this kernel or roms that use this kernel take it to PM.

Sent from my One S using Xparent Red Tapatalk 2
[HTC One S] Snotmann:
Thats a comment i understand ... all clear i will shout up :good:
[HTC One S] flar2:
I used this as a base for the latest version of ElementalX kernel, many thanks for your hard work.

https://github.com/flar2/ElementalX-ville-6.0

I'm unable to test because I don't have a One S available to install Android 4.2.2 on, but my users are reporting that it works fine. If any bugs come up I'll see what I can do.
[HTC One S] pirlano:
Nice! :highfive:

Btw i just found what's causing in-call sound issue :) i'm testing [ROM] Sense 5 Beta [JB 4.2.2][Sense5] from [MENTION=4678269]Flashalot[/MENTION] and replacing system/etc/snd_soc_msm folder with MaximusHD files (2/4 files are little different) seems to fix the issue for me :) if not try other snd/sound/audio files from system/etc

I'm using new firmware but in-call was not working for me too, and now it's finally working good :)

[MENTION=5066258]rc420head[/MENTION] is interested as well :)
[HTC One S] rc420head:
Holy cow ,I'm trying now, im on old firmware so I'll report back.

Sent from my HTC One S using Xparent Red Tapatalk 2
[HTC One S] AKToronto:
WIFI Fixes

Not yet sure how useful this may be, but another potential wifi fix may be gleaned from ShowP's 4.1.1. kernel at https://github.com/showp1984/bricked-ville-3.4/commit/c1ac1ea022046a257ebb3d2037bb97dfeeac740e

Its slightly different from the flar fix... Not smart enough to really know the difference tho but may be worth looking at.
[HTC One S] flar2:
They work exactly the same.

Basically just says if the module is named prima_wlan, then don't check the CRC value. ie: load it even if it doesn't match the running kernel.
[HTC One S] CazeW:
[MENTION=2351000]pirlano[/MENTION] [MENTION=4684315]flar2[/MENTION]

I just posted an idea I had for the cause of the call quality issue me and other people have with MaximusHD (here). I now started wondering that if I'm right, would this be something that could be adjusted in the kernel or is it a firmware/radio problem?
[HTC One S] pirlano:
I have a surprise for you! :D

Uploading now a noise suppression mod :cowboy:
[HTC One S] Jeeza:
Sorry for the uneducated question, but will this fix work also on ElementalX 6.0?
[HTC One S] pirlano:
with an update, yes, but i don't know if the incall quality issue is fixed.

This is a test kernel: https://mega.co.nz/#!oVdSyJaY!LCxmKX3e6_UOYCIPUgHqJkHcM8pagVvgZTbb6nv8vrc

If the fix is working, i'll commit changes to my git, than everyone (me too, you too) will be able to compile a fixed ElementalX.

Please test and report! I need your feedback!

You can follow incall quality issue here: http://xdaforums.com/showthread.php?t=2482089&page=3

EDIT: confirmed working! first post updated!
[HTC One S] kant1988:
How can I flash Pirlano kernel v.1.1 (fix incoming call quality issue, raccommended) with s-on ?

I not see boot.img in file zip.
[HTC One S] rc420head:
You need a pc with fastboot/adb working

1. Flash zip

2.stay inrecovery

3.on pc in command prompt "adb pull /tmp/newboot.img" no quotes

4.reboot in to bootloader

5.select fastboot

6. On pc in command prompt "fastboot flash boot newboot.img" no quotes.

7.reboot your done :D

Sent from my HTC One S using Xparent Red Tapatalk 2
[HTC One S] kant1988:
Boot ok,

Can I use this tip with ElementalX6.1 ?
[HTC One S] rc420head:
You can but I think instead of newboot.img [MENTION=4684315]flar2[/MENTION] calls it boot.img

Sent from my HTC One S using Xparent Red Tapatalk 2