yashsingh1/xdaforums huggingface dataset:
[HTC One S] pavel.bosco:
GPS works, can confirm, camera is also fixed now, both front and back are working fine ;)

I'll post a new image with camera fixed in an hour, need to test a bit.

will add more tips to the post later on

I used TWRP 3.0.M5, same as for CM13, by Matt Mower

https://android.cmphys.com/twrp-ville/

upd:

uploaded new version

camera fixed, works
[HTC One S] Fear of Oneself:
I plan on testing this tomorrow. Will post back with my findings

EDIT: Flashed it today, no major issues. However you can't enable root for applications via the dev settings? It only supports adb or 'none'. I would attach a screenshot but I can't from the xda app. Jan 19 build. (will likely be updated though)
[HTC One S] modal11:
Will this work with hboot 2.15 or is 2.16 required?

Thanks!
[HTC One S] Flippy498:
Please re-read the Thread title. Thanks! ;)

[MENTION=6095106]pavel.bosco[/MENTION]: Can you maybe add a link to one of the guides* which explain how to install the latest 4.x firmware on your One S to the OP? Otherwise many users might only flash hboot 2.16 (which is only one file) and not the whole firmware. These users will probably face a lot of bugs and lags due to their phone's firmware not being completely updated and you'll therefore receive bug reports that have nothing to do with your rom.

* This one's probably the easiest one since an unofficial RUU gets used.
[HTC One S] The Setlaz:
I've managed to successfully build it as well last night :good: Install went smoothly, I haven't run into any issue so far. ROM is super-smooth and everything seems to work (except FM but Matt is on the case)

A few customization settings still missing - or haven't found them yet - such as Lockscreen customization or screen color correction but that will come later in the year.

Overall experience is very good. Not planning on going back to 6.0.1 at the moment. :good:
[HTC One S] pavel.bosco:
good news is that all changes are merged now, so I build again to test them

fm probably will works too

there are also some last minute changes in permissions, basing on yesterday test I did on the device, they are merged too

I personally misses themes support ,but it's not ville specific, it's still not merged from CM13

phone works, no reboots or something, all good.

as per guides [MENTION=5872674]Flippy498[/MENTION], I will refer to CM 13.1 thread, there is no difference, and fullfill everything later on, as before today it was more or less experimental version and I epxected the people who didn't know how to do it, will not do it, now all is merged, it's easy to 'open it wider'
[HTC One S] pavel.bosco:
# posted new build

lineage-14.1-20170120-UNOFFICIAL-ville.zip

+ no cherry peeks, all merged now

+ radio fm working

+ su app included

- there still some seLinux denials exists, required to fix, but overall seems working fine
[HTC One S] modal11:
Oh no, I can't believe I missed that! Thanks Flippy!

Can I delete my post now? :o

*edit: thanks for the update link too.
[HTC One S] matu89:
Wow , cant believe that the ville got android 7 .

How is the battery life ?
[HTC One S] The Setlaz:
We've come a long way since CM9 days :laugh:

Battery looks good to me, although it's hard to judge on 1 day! I'd say on par with CM13 , which was already pretty good for me.
[HTC One S] Flippy498:
This is exactly what I wanted to prevent with my last post. :p Flashing only one of these hboots won't completely update the firmware of the One S. The firmware consists of many more files than the hboot and it's not enough to only flash that sinlge file. ;) If the hboot is updated to 2.16 but the rest of the firmware is still on version 3.x users will face many lags and bugs while they're using this rom since firmware 3.x isn't compatible with it. It's a general problem here in the One S forum that people are only looking at the hboot version of the phone and not at the whole firmware. Some time ago, I mentioned these facts in the CM13 thread, as well. C.f.: The discussion that begins (more or less) with this post.

[MENTION=2268315]The Setlaz[/MENTION] & [MENTION=5706239]matu89[/MENTION]: I'd actually say that my battery lasts a bit longer since I changed from CM13 to Lineage. :p
[HTC One S] pavel.bosco:
agree, I know that you mean. actually the part which is missed, I believe, is re-partitioning the device. I suppose it will not be even possible to run the hboot 2.16 w/o changes in partitions. Long time ago I migrated to 2.16 using full leaked RUU, which make a factory reset (it's inevitable, for re-partitioning), I believe there is a post about it somethere in the forum

Don't you think that switching from 2.15 to 2.16 deserves a separate full fledged topic? ;)
[HTC One S] Flippy498:
It is possible to run hboot 2.16 while the rest of the firmware is still on version 3.x. That's actually the whole problem. With S-OFF you can simply change single files of the installed firmware without needing to update/downgrade the whole firmware.

I agree with you that updating to firmware 4.x shouldn't be the main topic of this thread. I guess simply deleting the link to that post which only contains the hboots is more than sufficent since you refer to the update guide in the CM13 thread further down in the opening post. Sorry, for all the off-topic. It was only meant to prevent you from having to deal with bug reports that have nothing to do with the rom itself. ;)
[HTC One S] The Setlaz:
It does and it exists right there: https://xdaforums.com/htc-one-s/general/guide-how-to-install-hboot-2-16-time-t2898605

OP link to firmware zip file is dead but see post #22 for the ZIP file: https://xdaforums.com/showpost.php?p=63384790&postcount=22

The CM13 OP contains an install guide just under the homescreen that could be copy / pasted in this thread. It explains how I got SuperCID, S-OFF, 2.16, TWRP, F2FS..
[HTC One S] KuGeSch:
I appreciate very much that you can't leave it, but maybe the sensor really has a physical defect?

It didn't work, last_kmsg attached.

Another point related to firmware, I flashed the 4.06.401.1 firmware posted by LlabTooFeR (https://xdaforums.com/showthread.php?t=2449584)

it doesn't work either, but I noticed when I flashed the modded hboot 2.16 (https://xdaforums.com/showthread.php?p=39216236#post39216236)

on top, the var version-main shows 4.05.401.1 instead of 4.06.401.1

I think this is not of relevance for "my" sensor issue but I would like to know if it is just a different text in the file 'android-info.txt' or if the firmware version is changed by the modded hboot
[HTC One S] Flippy498:
It's due to the android-Info.txt. Your version-main always states the versions of the latest android-info.txt that got flashed. The modded hboot is probably based on the RUU's hboot. However, there shouldn't be any differences between those hboot files. If you want check that by yourself you only need to decrypt the RUU with the universal decryption tool unzip the RUU and compare the hboot file with the one of Llabtoofer's firmware pack via an Hex editor like HxD.

Edit: My bad. Since it's an unofficial RUU it's not encrypted. You should be able to unzip it without problems. :silly:
[HTC One S] pavel.bosco:
I'm not convinced it's dying, but, you also didn't show us a last_kmsg after successfull start (need to boot successfully, then restart and then take last_kmsg), I would be surprised to see that even in your successful boot your PS is also fails.
[HTC One S] KuGeSch:
I was quite sure that you would ask for it :good: :)
[HTC One S] pavel.bosco:
oh, wow, it indeed fails. hw gone? ok, the last_kmsg is of starting the recovery, not the lineageos.

I see PS sensor fails, but all other devices seems to be almost the same and ok in both versions of your last_kmsg: fail and success, at least that I can see for now.

and we already, I think, proved, that this is not kernel, and not an init scripts.

the most notable change in LineageOS itself was "CAF rebase", which likely occured between 12 and 18 of Feb.

see http://lineageos.org/Last-Week-in-LineageOS-2/

so maybe it was something linked with this update. but I even don't know how technically it was done. It defenetely didn't touch our kernel, I see no changes there. and all other projects are mostly unknown area for me.
[HTC One S] KuGeSch:
It could really be that hw is gone. My device is one with the power button problem.

I am running it with a removed power button, just switching on and off the display.

When I need a 'hardware bootloader reset' I insert the power button wrapped with a foil.

Maybe the removal or the foil is the cause off the hw damage, because as I noticed the proximity

sensor is located almost right between the power button and the display.

Sorry that I probably have wasted your time with this issue!!

Amendment: what I stated could not be the reason. In recovery mode the proximity sensor works!
[HTC One S] pavel.bosco:
not a problem, I learnt more about i2c bus, it may help someday.

how do you notice the proximity sensor works?

you can run something like "sensors test" app, your sensor most probably always will return "far".

and probaly light sensor also will fail, as they work in pair - simply will show same value all the time.
[HTC One S] KuGeSch:
I think it's even working when the phone is in normal mode.

When I put my thumb over the area where the sensor is said to be located, the display does not respond to any software button touch (is blocked), which I think should be the function of the proximity sensor.

I just testing some calibration apps...
[HTC One S] pavel.bosco:
sensor test app is an easy answer: works or not

my phone only reacts on PS sensor during the call - it turn-off display and turn it back on. On lock screen and on normal mode, PS sensor is not preventing any operation on my phone, display respond the same with or without thumb over PS.
[HTC One S] KuGeSch:
sensor test apps show both sensors (light and proximity) don't work
[HTC One S] pavel.bosco:
# new build

lineage-14.1-20170307-UNOFFICIAL-ville.zip

security patch of 5-Mar

see LineageOs.org for update brief.

android 7.1.1 release 25

https://review.lineageos.org/#/c/164636/

btw, for those who missed - su is included, you don't need to worry or setup addon-su, it's just for official releases, there it's disabled.
[HTC One S] pavel.bosco:
[deleted]
[HTC One S] arepo:
This ROM looses mobile internet very often, need to switch on\off airplane mode to let it work

And GPS navigation application (Yandex navigator) looses satellites very often too :(
[HTC One S] Fulvio Liatti:
Hi! The Rom works very fine in my device: wifi, SIM, Camera and all the features are ok.

The only thing I can't do is download the apps from the Play Store, there's something wrong with the Google Play Services: Error Code 495.

Cleaned the cache but no results...
[HTC One S] KuGeSch:
https://productforums.google.com/forum/#!topic/play/luALUZiNGXk ;)
[HTC One S] hawst:
I dont think that will help, suggest you goto by link in first post in Cons section (Gmail SSL issue) - by fact that is not just Gmail SSL issue, that is overall system SSL issue, for me not only GPlay cannot install any app, but Contacts also cannot sync, and Exchange email acc cannot sync, so any SSL related apps are not work. Bug already reported to developers of LOS 14.1, but it is reported at 30 Jan and so far no solution. Strange thing that not all users face it. But for me - i tried reinstall like 3-4 times and still no luck :(.

PS. By fact for the moment i found only CM12.1 is stable enough for daily usage. CM13 for me getting persistent Wifi disconnect and can only resolve by turn on Airplane mode -> switch on Wifif -> turn off Airplane mode... but issue happen to frequently, so CM13 not usable at all for me...
[HTC One S] Fulvio Liatti:
Thank you for the answer! The One S that I'm modding is just a "test device" and not my every day use device, so never sync the contacts for now. I am curious to see if the 7.1.1 LAOS 14.1 can fix the old issue named "helicoptering" :D Thank you again!
[HTC One S] hawst:
I suggest everyone who interested in this ROM, goto https://jira.lineageos.org/browse/BUGBASH-21 and Vote for the bug.
[HTC One S] Fear of Oneself:
Using the march 7 build with no issues. Running without gapps and using fdroid as a substitute
[HTC One S] esquantum:
Got issues with BTLE, phone cant find devices (wifi off, reboot etc not helps)

Second issue is video output stucks when TV is connected via MHL cable (eurosportplayer).
[HTC One S] SADR4:
Hi

thanks for this work.

first issue: Video player not play any video and shown "Can't play this video". also not play any video in Instagram or Telegram.

some times plays first sec audio of videos in Telegram.

but Mxplayer and ES media player works like a charm.

_____________________________________________

fixed after clear data Gallery, Telegram and Instagram, and reboot.
[HTC One S] arepo:
Hi

Amazing thing :)

Anybody have instruction how to build own kernel for this rom? i want smartass\smartmax governor (and others, i want to choose the best one for me)
[HTC One S] SADR4:
i like have more options for tiles.

tiles for screenshot, power menu, network type, screen timeout, compass and blue light filter.

screenshot and power menu is important, because most of devices has depreciated power button.

and network type fast switching for reduce battery usage when we don't need cellural data.

thanks again.
[HTC One S] Fear of Oneself:
Most of those items are currently configurable. What is a blue light filter for?
[HTC One S] damienMTL:
thanks to [MENTION=2268315]The Setlaz[/MENTION] I installed LineageOS14.1 on my phone and after 2 days I can say it's a really stable release. everything is working fine for me, I can't see any trouble so far. ANDROID 7.1 vs my previous stock ANDROID4.1 is day and night.

thanks for the amazing work!

!! Ask me if you need help to install it on a HTC ONE S rogers/fido canada.!!!

---------- Post added at 06:43 PM ---------- Previous post was at 06:31 PM ----------

I installed GAPPS pack mini and I want to add only PIXEL LAUNCHER ICONS and PIXEL WALLPAPERS, they are not in the GAPPS MINI PACK and they are not available in the PLAY STORE.

Do you know how can I add them over my current install? I don't want to flash a new GAPPS pack like AROMA, all the options it gives are too complicated for me :)
[HTC One S] The Setlaz:
Hi guys,

Just uploaded a new build from April 9th (so no YOLO / Br0zip) lineage-14.1-20170409-UNOFFICIAL-ville

Hopefully the next one will be Android 7.1.2!

I switched to HTC 10, loving it! Just hope it'll last as long as our beloved ville :good:
[HTC One S] pavel.bosco:
congrats!

but it costs in my local currency about x10 of new HTC One S (from aliexpress or something, you still can buy it), and as *2 of HTC One S when it initially started to sell there.

so price dropped by 5 times from 2012. this is that prevents me from buying new. I even still have Desire HD, lays somewere in a shelf, it was not such elegant as HTC One S, and also suffered from battery problems at the end.

main problem with HTC One S is it was stopped to support just in 1 year from shipping. it's a shame for HTC, I can't trust them.
[HTC One S] NamenIos:
Warning this is all untested. Don't use if you care about your phone or the data on it. At the end of the week I report if this works.

I build Lineage OS 14.1 for ville with the following modifications:

substratum theme engine pulled in via this script https://github.com/LineageOMS/merge_script

used snapdragon llvm 3.8 toolchain, some closed source optimized by qualcomm llvm version, still standard gcc for kernel and legacy stuff

cherrypicked 162577 so that compilation will not fail with sd toolchain on my slow dualcore, sometimes it still fails, just brunch again

modified the nav bar size, but this should make no difference to ville, i just had it in as a leftover from another device

2e59fd59f554a4354ccb1ed78456f528 http://www.share-online.biz/dl/TZ55P9OO15Q

another build with extended wifi logging and a modified db.txt (if the firmware does not limit the transmit power it is set to 500mW in germany and unknown countries (possibly illegal, check your country laws)) in addition to the former mentioned

321da3ddc6513b07f30e828c48a79aa8 http://www.share-online.biz/dl/3GCCP9OOH9J

and in addition to both former changes i pulled in the 5 now abandoned ssl fixes from the boringssl-update-from-master topic , probably this broke more than it does good i recommend don't it. edit: I tested the changes on another phone and nothing broke, I did encounter the SSL bug only once though.

686d9ccf0b5ba9fff987516900842b20 http://www.share-online.biz/dl/OJ2YR9OOEWH9

Sorry for posting so soon after setlaz farewell gift, but I needed the build on easter. Thanks The Setlaz for caring for this device so long!
[HTC One S] The Setlaz:
Hi guys,

Here's the all fresh Android 7.1.2 for Ville: lineage-14.1-20170414-UNOFFICIAL-ville.zip

#Tested
[HTC One S] pavel.bosco:
uploaded version of April 14

lineage-14.1-20170414-UNOFFICIAL-ville.zip

Android 7.1.2

I was intended to build it anyway, was awaiting of 7.1.2 too, and then decided to upload it, although I don't think it's differ from one of Setlaz.

cheers!
[HTC One S] NamenIos:
Well apparently all people are rebuilding on the easter weekend, me too. If you don't need the (untested) substratum support the builds from The Setlaz or pavel.bosco are probably a better choice, there wasn't any device relevant commit since 7.1.2 and the time I build. This will probably be my last build for a longer time unless something big happens in the repos.

Build with sdclang and cherrypicked 162577 for proper building with it. Substratum OMS theme support with a modified db.txt (if the firmware does not limit the transmit power it is set to 500mW in germany and unknown countries (possibly illegal, check your country laws)) the additional tx power does not seem to have a noticeable effect, its probably limited by the firmware. This time tested, everything seemed to be fine in the short time. OMS/substratum support is untested though.

https://www.androidfilehost.com/?w=files&flid=171870

Thanks to hauk92 for uploading it to afh.
[HTC One S] tmm68:
I am so happy that all of you keeping this phone alive.

Since some month i have a problem with my data connection, wireless and mobile connection.

I don't know what a have done. I have this problem with all images.

WLan Icon is crossed out, if i a switch to mobile connection, then this icon is crossed out.

The weird thing, during registration on google, the dataflow works. I can browse the playstore but no download is possible.

The webbrowser works. So it seems it has to do with the playstore. But i have flashed different images with different gapps, always with the same result.

I would like to run this image with full functionality. Suggestion are appreciated, even the problem doesn't really fit the topic.

Happy Eastern.

TMM
[HTC One S] hawst:
First I appreciate all you guys keep updating LOS for this phone!

Just wonder if changes are merged into Ville codes - https://jira.lineageos.org/browse/BUGBASH-6 (that one is replaces the https://jira.lineageos.org/browse/BUGBASH-21 from first post as duplicate) ?
[HTC One S] KuGeSch:
substratum support works smooth

Thanks for building this ROM. It works fine on my device including the substratum support.

After a dirty flash I just had to de- and reinstall substratum and the themes I had installed.
[HTC One S] NamenIos:
Obviously not, the changes are not public and they are still bisecting. On my build before I merged the boringssl topic, as noted.
[HTC One S] um.z:
Can this rom be dirty flashed over Lineage OS 13, and is it stable enough to be a daily driver?
[HTC One S] pavel.bosco:
1. no, I don't recommend this

2. yes, lot of people downloaded it, some versions were downloaded more than 200 times. actually the one of March was downloaded 697 times, which is huge for me :)

I myself use it for almost 3 months now.
[HTC One S] htcones:
Looks like they might finally have a fix for the ssl issue. Seems like it was a flaw in the early snapdragon S4 chips and the workaround didn't work due to a bug. Should see availability of a patch at the weekend or soon after.
[HTC One S] pavel.bosco:
they seems just blacklisting such a CPU from some of SSL features

/* has_broken_neon returns one if |in| matches a CPU known to have a broken
* NEON unit. See https://crbug.com/341598. */
static int has_broken_neon(const STRING_PIECE *cpuinfo) {
return cpuinfo_field_equals(cpuinfo, "CPU implementer", "0x51") &&
cpuinfo_field_equals(cpuinfo, "CPU architecture", "7") &&
cpuinfo_field_equals(cpuinfo, "CPU variant", "0x1") &&
cpuinfo_field_equals(cpuinfo, "CPU part", "0x04d") &&
cpuinfo_field_equals(cpuinfo, "CPU revision", "0");
}

but this is exactly my CPU, and it works just fine.

so I'm in doubt now.

Features	: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer	: 0x51
CPU architecture: 7
CPU variant	: 0x1
CPU part	: 0x04d
CPU revision	: 0

Hardware	: ville
Revision	: 0080
Serial	: 0000000000000000
[HTC One S] htcones:
I would love to cherrypick these changes to try them out. But I don't understand the repo and git system well enough to know what to change in my build. Any advice in that area would be most welcome.
[HTC One S] htcones:
I edited cpu-arm.c and made it so Neon functionality was disabled, Nougat now works for me. Yahoooo!!
[HTC One S] pavel.bosco:
glad you solved your problem. changes already merged, so next build will include them for all

I am going onto business trip, so can't make it quickly this time.
[HTC One S] htcones:
I did a clean flash of a new build of the 7.1.2 based Lineage 14.1 and everything seems pretty good accept battery life is not exactly spectacular compared to Lineage 13. The odd thing is the Battery Usage information, nothing is showing more than 1% of usage for a total of about 7% yet the phone has used for than 50% of its capacity. Anyone else seen this type of behavior?

I am going to check logcat to see if anything is failing.
[HTC One S] pavel.bosco:
yeah, the battery api was changed and not yet adopted, also, phone probably eat more power than on Lineage 13, due to, I suspect, changed suspend api, which require existence of Significant Motion Sensor. But I'm not an expert there, Doze API was introduced in Android 6, (Lineage 13??) so I'm not sure that was changed.

also kernel missed some battery statistics callbacks.

mb also something was changed after adjusting power-profile.xml, I feel that is recorded much less power consumption for data transmission and screen, i.e. if you don't touch phone, battery statistic shows more or less correct numbers, but then you turn on screen, then battery drain on more percents, than it is counted by battery stats.

also mb there are some changes in google play services between android 6 & 7 versions, so this is nothing to do with kernel itself, need to test on clean phone, w/o google apps, but I never did that.
[HTC One S] pavel.bosco:
lineage-14.1-20170501-UNOFFICIAL-ville.zip

all merged commits to date.
[HTC One S] sorewinner:
[MENTION=6095106]pavel.bosco[/MENTION]: Does your build include the 2017 May security patches that were also put out today?
[HTC One S] pavel.bosco:
actually our kernel is not maintained on regular basis, so we only get security patches if they are covered/related by/to android part of the code, common for all devices.

if you point me out the merged commit from https://review.lineageos.org containing security patches you mentioned, then I can tell you is it included or not.

I believe they likely not yet even merged to Lineage.
[HTC One S] disiz:
Thanks for this rom, it looks good, I'll maybe try this, so everything is working, and for now there is a little problem with battery life but that's all ? It's already smooth ? :)

And any way to get double tap to wake, because no more flar kernel I guess for nougat here ? Thanks.
[HTC One S] Nomeji:
It is still discuss to make this ROM official? It seems quiet stable and well maintained to me. Is it in review by Lineage?
[HTC One S] pavel.bosco:
lineage-14.1-20170504-UNOFFICIAL-ville.zip

new version: android-7.1.2_r8