yashsingh1/xdaforums huggingface dataset:
[HTC One S] Flippy498:
The first link isn't meant to be used for upgrading your phones. It's a system dump which can be used for making custom roms.

Sidenote in regard to radio 1.35 and the corresponding wcnss: those files are ported (I always forget from which other HTC phone) and they were only meant to be used with the liberty roms because at some point of the rom development there had been problems with the reception (mobile and Wi-Fi). And if I remember correctly Bilal said that they shouldn't be used anymore after those problems got fixed since they bring more disadvantages than advantages. (I'm too lazy to search for all the posts that I got these information from. It's been some years since those posts got written and I read them. They should be located somewhere in the 1.35 radio thread and the liberty roms thread.)
[HTC One S] Nico1544:
Can someone help me by one or two things? It´s really needed
[HTC One S] moozon:
New build CM13 from 2016/08/02 Changelog for ville
[HTC One S] The Setlaz:
08/02 not booting for me - stuck on HTC boot logo first flash, and bootlooping on HTC logo after the 2nd flash

(dirty flash on 07/22)
[HTC One S] razor26:
Same result here.
[HTC One S] jja2000:
This one doesn't boot sadly
[HTC One S] bw-man@gmx.de:
1 Week Test Report

i have 2 from the HTC One S.

We use the cm-13.0-20160727-UNOFFICIAL-ville. But with Radio 1.15.

I update from Original 4.1.1 to this Image.

First we have the same Problem with stable wifi. But since 3 days ist stable, with static IP instead of DHCP.

General it is faster and better as the original 4.1.1

But the battery consumption is now higher, e.g. 50 minutes Website Surfing are 40% battery down. With original 4.1.1 only 25% max. (nothing is in backround open)

And another Problem is, if i used the original HTK One S Headset, sometimes its in begin a call not working. If i push the softbutton free Speaker on/off, than i hear the call Partner.

But the cm13 20160727 runs nearly perfect :good::good::good:
[HTC One S] janussi:
Same result here.
[HTC One S] jja2000:
Before I forget, the camera seems to be fully working now.

[MENTION=7479668]htc-2016[/MENTION] if you can update the op now that would be grand.

Edit: Purely out of interest, is official CM13 for this device close? It seems to be more or less stable right now.
[HTC One S] The Setlaz:
Quite unlikely as it requires a non-official firmware to run. Radio still has SELinux permission issues and Flashlight still buggy.
[HTC One S] SADR4:
New build CM 13.0.1 | 2016/8/4

i tested cm-13.0-20160802 and cm-13.0.1-20160804

both of them freeze at htc logo

back to cm-13.0-20160727
[HTC One S] htcones:
I have not had any issues with local builds, I did one Wednesday. which worked fine Is there something wrong with the builds [MENTION=4765686]moozon[/MENTION] has been doing recently as this is not the first time people have had issues?
[HTC One S] moozon:
New build CM13 from 2016/08/08 Changelog for ville

Not tested
[HTC One S] Winstarshl:
Not working - Boot Loop(
[HTC One S] jjankes:
after installing cm-13.0.1-20160804 i have freeze at first boot logo and can't load into bootloader nor recovery. any advice how to deal with this?

previously i was using cm-13.0-20160716 and i did just normal installation with cache wipe like before when upgrading form other cm13

edit:

It's ok now. I fully discharged the battery but shortly after that it was still not booting past htc logo. After I left if discharged for aprox 3h and gave it a try luckly I got it into bootloader :)
[HTC One S] The Setlaz:
I made a build last night that works fine. Seems [MENTION=4765686]moozon[/MENTION] has some issues with his build setup.

I'll try to upload my build tonight or tomorrow.
[HTC One S] Bad.Fish:
Make your own thread bruh

sent from my HTC One S on Marshmallow biyatch.......
[HTC One S] Lincoln99:
Any chance someone could upload a working new build they made locally since moozons are broken again? :p
[HTC One S] sorewinner:
20160808 build doesn't work, either. Stuck on htc boot logo. 3rd build since 20160727 not working... [MENTION=4765686]moozon[/MENTION]: No offense, but are you able to test your builds before uploading?

---------- Post added at 04:34 AM ---------- Previous post was at 04:34 AM ----------

20160808 build doesn't work, either. Stuck on htc boot logo. 3rd build since 20160727 not working... [MENTION=4765686]moozon[/MENTION]: No offense, but are you able to test your builds before uploading?
[HTC One S] moozon:
Not, i have broken volume down button and i can't enter to recovery(
[HTC One S] The Setlaz:
In a shell:

adb reboot recovery

That should get you there :good:
[HTC One S] sorewinner:
Yikes :( So, you could only flash once in recovery, via "Advanced reboot" in developer options, or using APM in Xposed, or ADB, but if the build fails, you wouldn't be able to get back to recovery, and have a non-booting system... Except you might be able to issue "adb reboot recovery" if the phone would register it.
[HTC One S] moozon:
I know this. I don't wont to risk if another build is not loaded and adb don't help me too
[HTC One S] The Setlaz:
Hi guys,

CM13 2016/08/08 build available

#Tested
[HTC One S] Lincoln99:
Works great!
[HTC One S] Lincoln99:
Also side note, anyone else have broken audio/video playback?
[HTC One S] The Setlaz:
Works fine for me.

I'm looking at the SELinux denials on the FM Radio... some weird stuff going on
[HTC One S] htcones:
I keep coming back to this also. Always ends in frustration. Fixing the denials using audit2allow results in some new entries for toolbox and no new denials logging, but FM Radio still only works in permissive mode.
[HTC One S] The Setlaz:
That's precisely what I'm seeing... I created the following in

device/htc/s4-common/sepolicy/toolbox.te:

#fix for avc: denied { write } for name="property_service" dev="tmpfs" ino=6722 scontext=u:r:toolbox:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
allow toolbox property_socket:sock_file write;
#fix for avc: denied { connectto } for path="/dev/socket/property_service" scontext=u:r:toolbox:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=0
allow toolbox init:unix_stream_socket connectto;

device/htc/s4-common/sepolicy/untrusted_app.te

#bs-fix for avc: denied { read } for name="/" dev="tmpfs" ino=5141 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=0
auditallow untrusted_app device:dir read;

(although this one is overly permissive because "device" is a default context for anything in /dev)

I don't get SELinux denials anymore but need to root-cause the following:

FmService: onReceive, mIsServiceInited is false
FmService: onAudioPatchListUpdate, not power up
[HTC One S] htcones:
I don't recall doing anything with untrusted app. It seems like the service trigger in init.qcom.rc just doesn't happen when the property is set.
[HTC One S] Usura666:
Hello guys ... After installing everything, I have a problem. My HTC does not connect over 3G but only on 2G .. I noticed that I no longer have the band in 2100 but I only see the 2000. What can I do? Before the update I had hboot 2.15 CM12.1 and everything worked.
[HTC One S] bixbindi:
Hi everybody,

I installed build 20160727 on f2fs partition. It boots and works, but when I flash gapps (tried with nano, micro, mini) and reboot I can't use the phone since the message "Automatic configuration procedure has stopped" appears continuosly.

Thanks in advance.

Edit:

Wiped cache, system and data a 2nd time and reflashed both rom and gapps (mini). Now working
[HTC One S] LS.xD:
I have the same problem. It seems that this problem can occur when flashing or updating hboot, even official updates may break your phone. For further information read THIS THREAD.

Some people were able to fix it by flashing rc partition manually, others had to replace the phone's mainboard.

For me the fix doesn't work.
[HTC One S] Usura666:
I read this thread, but not considered reliable because in 2013 I do not think it was even released hboot 2.16.

Have you tried to go back to 2.15?
[HTC One S] LS.xD:
Yes, I tried different firmwares, radios and even flashing rc partition manually. For other users the fix worked, so may be give it a try :)
[HTC One S] Usura666:
Excuse the stupid question . What is meant by "flashing rc partition manually" ?
[HTC One S] LS.xD:
What is stupid about the question? :) Be happy that I already read the whole thread... ;)

INSTRUCTIONS
[HTC One S] Usura666:
Ooooo .... yyesss

I solved!

I installed this Radio :

http://xdaforums.com/showthread.php?t=2709164

Set WCDMA ONLY work if I leave WCDMA preferred connects him always had this problem on 2G but prefer the 2G to 3G .
[HTC One S] The Setlaz:
Well, after adding some debug line, I found that in ./hardware/qcom/fm/libfm_jni/FmIoctlsInterface.cpp:start_fm_patch_dl, where property_get(FM_INIT_PROP, prop_value, NULL) never returns "1" as strcmp expect at this specifc part:

init_success=0
[...]
for(int i = 0; i < INIT_LOOP_CNT; i++) {
property_get(FM_INIT_PROP, prop_value, NULL);
if (strcmp(prop_value, "1") == 0) {
init_success = 1;
break;
}else {
usleep(INIT_WAIT_TIMEOUT);
}
}
[...]
if(!init_success) {
property_set(SCRIPT_STOP_PROP, SOC_PATCH_DL_SCRPT);
ALOGD("set SCRIPT_STOP_PROP done for non init_success - returning FM_FAILURE now"); <<< That is what I see in my logcat
return FM_FAILURE;
}else {
return FM_SUCCESS;
}

This FmIoctlsInterface:start_fm_patch_dl is called by ./hardware/qcom/fm/libfm_jni/FmRadioController.cpp during FmRadioController ::Pwr_Up(int freq)

if (cur_fm_state == FM_OFF) {
ALOGD("%s: cur_fm_state = %d\n", __func__, cur_fm_state);
if (strcmp(value, "rome") != 0) {
ret = FmIoctlsInterface::start_fm_patch_dl(fd_driver);
if (ret != FM_SUCCESS) {
ALOGE("FM patch downloader failed: %d\n", ret); <<< This appear in my logcat
close_dev();
set_fm_state(FM_OFF);
return FM_FAILURE;
}

Of course, when SELinux is set to permissive, radio works fine... Gotta find out why SELinux causes the property not being setin FmIoctlsInterface.
[HTC One S] :
Hello,

So I upgraded to hboot 2.16, updated my recovery to 'twrp-3.0.M5-0-ville.img', formated /cache as f2fs, and seemingly installed this rom (cm-13.0-20160808) + gapps with no problems.

However, after I wipe the cache and reboot to system, the phone is stuck on the bootloader screen. I can force poweroff the phone, and boot to bootloader and access the recovery, but that is it...

Any ideas? My CID is HTC__101 (also tried HTC__203) if that would make a difference. I also added the `fastboot getvar all` output

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.16.0000

(bootloader) version-baseband: 1.20.50.05.16

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.05.401.1

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: -redacted-

(bootloader) imei: -redacted-

(bootloader) product: vle

(bootloader) platform: HBOOT-8960

(bootloader) modelid: PJ4011000

(bootloader) cidnum: HTC__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4155mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-4958290506

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.061s

UPDATE: using [MENTION=2268315]The Setlaz[/MENTION] 's build seems to let the device boot android.
[HTC One S] pavel.bosco:
after flashing, phone works fine for about 1 day, then I put it on charge, then disconnect, and some time later, it shows "google play services error, closing", and then everything started to crash and phone works like a smelly **** - unresponsive, laggy, apps crashing and so on.

what's the heck is going on here? is it a hardware or software?

reboots don't help, apps still crashing after them and phone is unresponsive from time to time even on Power button
[HTC One S] The Setlaz:
Unfortunately, Moozon last few builds have not been working for anyone here.

Good question. Is there anyone else affected by that?

I am not. Let's wait for other people feedback :good:
[HTC One S] The Setlaz:
CM13 2016/08/19 build available

#Tested
[HTC One S] ElektroDancer:
Works great.

I have no issues :good:

But have you only compile the Kernel?
[HTC One S] pavel.bosco:
goot to know this is not a general problem, so it's solvable.

will try to get more dmesg on that

right now I only see a lot of

[83722.860725] init: Starting service 'drm'...
[83724.089902] init: Service 'drm' (pid 29396) killed by signal 11
[83724.090269] init: Service 'drm' (pid 29396) killing any children in process group
[83728.096769] init: Starting service 'drm'...
[83728.958909] init: Service 'drm' (pid 29408) killed by signal 11
[83728.959062] init: Service 'drm' (pid 29408) killing any children in process group
[83732.964647] init: Starting service 'drm'...
[83734.210702] init: Service 'drm' (pid 29421) killed by signal 11
[83734.211068] init: Service 'drm' (pid 29421) killing any children in process group
[83738.217661] init: Starting service 'drm'...
[83739.049860] init: Service 'drm' (pid 29432) killed by signal 11
[83739.050012] init: Service 'drm' (pid 29432) killing any children in process group

[85279.881723] [TP] Total finger count: 0
[85281.628800] [TP] Total finger count: 0
[85282.142489] [TP] Total finger count: 0

so that is drm and is it normal for it to start and shut down forcefully such an often?

---------- Post added at 09:04 AM ---------- Previous post was at 09:02 AM ----------

could you please help,

I need to put some command into boot sequence,

echo "0x50530a64 0xd0f0a64" > /sys/devices/virtual/optical_sensors/proximity/ps_kadc

because my sensor setting is resetting on each reboot

maybe there is a simplier way, how to save such setting for ever?
[HTC One S] htcones:
I have the same issue with DRM, worked in cm12.1 not in 13.0. Haven't found anything it impacts yet. I have tried stltools from 12.1 and that cures the dumps but DRM is still not functional. On my list to try and solve after the FM radio is resolved.
[HTC One S] Endless Dark:
i installed this Rom and everything works fine so far... But every time when the Display goes off, after 30-45 minutes the WiFi will be disconnect. I don't get anymore WhatsApp or G-Mail Notifications. My Routers says the Phone just disconnects from WiFi. My LG G4 and Lenovo Tab are working fine. I tried Apps like Wake Lock or Keep Wifi Alive. But both not working. When the Display goes off, the WiFi will disconnects after some time.

Does anyone can Help me with that Problem??
[HTC One S] aeQuitas90:
I was having same problems but after a full reset of phone and flash again ROM+gapps now it's working good
[HTC One S] bw-man@gmx.de:
Where is the changelog form the last Releases ?
[HTC One S] The Setlaz:
Same place as usual:

https://www.cmxlog.com/13/#

You may also want to check that post.
[HTC One S] :
I can go a few days (and several charge cycles) without any such errors. Mostly using Relay for Reddit, Google Chrome, Google Maps, Google Hangouts, and Slack. I do seem to drain power faster than 12.1. Maybe I've not noticed before, but Chrome takes a lot of RAM
[HTC One S] pavel.bosco:
I'm now supposing this fails could be due to not the FW in general, but due to app installed. In particular I uninstalled Proximity sensor calibrating app, which seemed push a lot of messages into log, and phone become much more responsive, while still have some pauses during start of chrome.

This may also be linked with my environment: I travel by subway to the office, to signal is often dissapear, then back again, both wifi and gsm. But the signal 11 to kill DRM service is still seems suspicious to me.

My running apps set is quite limited, chrome (a lot), then gmail, hangouts and occasionally I use navigator app, from yandex. which in fact have some services running in backgroud as I can see. Will make a try to uninstall this app and see that happen. I use it only in the car, usually during weekends.
[HTC One S] Progl:
Don't everebody know why this mod is very slow on this phone? I installed it, tried to use about 2 weeks, but had to go back to the CM12 because it's to very slow calls, reading sms. About getting calls - I see that someone calls but I can't answer to gim about 10-15 seconds. Anybody got this problem too?
[HTC One S] ElektroDancer:
no i have make some test calls.

have you insatall the latest version from 19.08.2016? i had this whit a old version too.
[HTC One S] coma_white:
same to me here...
[HTC One S] The Setlaz:
Sorry, forgot to do some cleaning!

Here's the new 28/08 build available.

#Tested
[HTC One S] moozon:
New build CM13 from 2016/08/31 Changelog for ville

# Tested
[HTC One S] Bad.Fish:
Anyone having a no cellular data issue let me know I have a fix
[HTC One S] SADR4:
sometimes, and use airplane mode for 1sec solved it for me every time.
[HTC One S] sorewinner:
Flashlight still FC. Is there any work being done on that, or FM Radio?
[HTC One S] htcones:
setlaz and I have both looked at the FMRadio issue. It is obviously a permission issue but neither of us have managed to establish exactly what privileges are missing. If the FMRadio is real important to you, running in permissive mode is the only current option if you want to stay on Marshmallow. I have never experienced an issue with the flashlight functionality, but then I don't use it that much either.
[HTC One S] kudonaomijp:
http://xdaforums.com/showpost.php?p=65085653&postcount=264

flash it in recovery
[HTC One S] ElektroDancer:
Works great thanks ;)
[HTC One S] thxhyf:
Will you continue to develop CM14 for One S?

Will you continue to develop CM14 for One S?
[HTC One S] pavel.bosco:
works fine for now

some version of 08.08.2016 was incorrecly sending russian chars in sms as spaces, this one works fine.
[HTC One S] The Setlaz:
Hi guys,

I made an attempt at fixing the flashlight bug. I basically used this piece of code which modifies the flashlight controller to support legacy devices.

So far so good for me, so waiting on your feedback!

New build 15/09 available here

#Tested
[HTC One S] matu89:
hey , thanks for that , im in the middle of installing and im came across this line in the guide in first page :

".... 5. Wipe everything and format partition to F2FS

Boot to TWRP and wipe/format

If you do not format, you may encounter "Unable to mount /cache" error ......."

is it must to format the partition to F2FS?

and if is it a yes , should i do that in twrp ?

thanks .
[HTC One S] The Setlaz:
Nope, it'll work fine with EXT4 but F2FS is an improved file-system for Flash memory that is a bit faster than EXT4 especially for the /cache partition.

Yeah, you would do that in TWRP in the Format Partition -> Change File-system.

Flashlight is still doing well. It's a bit of a dirty hack but will keep it for future builds.
[HTC One S] sorewinner:
[MENTION=2268315]The Setlaz[/MENTION] : TYVM for fixing the FC on flashlight! You don't need the flashlight, until you do! Latest build works well!
[HTC One S] matu89:
thanks.

i have installed the rom , so far so good , flashlight works well , had one reboot until now ( less than 24 hours since installing the rom) .

battery life is draining fast while using basics using like browsing , youtube etc... and it occoured to me also with all the LP roms that i had on my device , i guess its too much for a almost 5 years phone.

keep testing it , good work :good:
[HTC One S] The Setlaz:
I haven't had random reboot in ages. Watch out for apps that would starve the RAM. As an example, I know some newer version of Opera Mobile browser would cause reboot has the device runs out of memory.

Without much usage through the day, my battery drops by about 50% from 9am to 7pm. So that's still pretty decent! (I don't use any optimization apps, although I carefully set-up apps on boot and access restriction etc.). It runs smoother than CM12.1 for me. :good:
[HTC One S] matu89:
actually , the reboot happened when the phone was at rest i just turned the screen on and than it dived into it .

i hope it was just a glitch ;)

about ut battery life , its very good , is that the original battery ?

something else that also i came across , the sound during phone calls and on speaker in very LOW and this problem has occoured in all other Aosp LP roms that i had .

But , there is a solution for that and i wanted to share with u guys

follow EXACTLY this instructions in the link here :

http://xdaforums.com/showpost.php?p=59525935&postcount=99

i must give the credit for the member that modified this file [MENTION=1045770]Rapier[/MENTION] thank u .
[HTC One S] The Setlaz:
Yes, original battery. But beware of battery hungry app (FB and such), Google sync, web browser on Facebook page, etc... I don't run that many apps either though and I rarely close them. (I consider kernel can handle the RAM and close application much better than me or any dedicated apps running in background...)

Seen many people affected by that but I seem not to be. Most of the time a good cleaning on those tiny little holes that fill up with dust brings sound back!
[HTC One S] Rapier:
Hi hi, it might prove to be useful for someone even after that much time. How's the old One S doing, still alive? Mine is staying "dead" on a shelf for more than an year and it still has my latest build of BrokenROM
[HTC One S] matu89:
Well , that's surprise me either .

Cm 13 runs pretty smooth on it except a random reboot in a 2 days in average , and the camera is working ( which in LP ROMs it didn't )

It seems that a 5 years old phone is alive and kicking [emoji2] .
[HTC One S] amirhosseinakb:
after about 1 month using cm 13 , the most problems that i faced are draining battery(i change my battery recently with new original one) and week searching for wireless network .other specification are appropriate.my launcher is google now based on stock pachage of gapps , downloaded from opengapps.

thanks of all
[HTC One S] Bad.Fish:
My battery has been decent. Better than the lollipop roms
[HTC One S] Lincoln99:
My WiFi keeps disconnecting during sleep, even though I have "Keep WiFi on during sleep" set to Always. Any fix for this? It's particularly annoying when streaming music.
[HTC One S] moozon:
New build CM13 from 2016/09/22 Changelog for ville

# Tested

Flashlight fixed
[HTC One S] SADR4:
how to calibrate battery on this rom? i wanna know best way.

i changed battery with a htc one x battery, and only decreased charging time.

also is it possible to change battery capacity in rom, from 1650mAh to 1800mAh?
[HTC One S] moozon:
Delete batterystats-checkin.bin and batterystats.bin files from /data/system directory and then reboot device
[HTC One S] Hoschi75:
Hi, i flashed the latest nightly and had problems with the google video player. Couldn`t open videos out of whatsapp or galerie. So i went back to build from 31.08. wich works really nice for me.

Anyone else with this problem or did i something wrong?
[HTC One S] :
Playback of mp3 audio, and mp4 video are broken in this build. Tested with stock music player, and ES File Explorer's player.
[HTC One S] Bad.Fish:
Mp3 works for me but not the video
[HTC One S] raupe:
Hi Folks,

i've installed thee latest build and had massive problems with gps - device got no gps fix within 45 minutes outdoor.

My test-location: Hamburg/Germany/Europe

Have you faced similar issues?