yashsingh1/xdaforums huggingface dataset:
[HTC One S] Rapier:
No, you're wrong. A clean flash means exactly what it's name suggests...a CLEAN flash. That mean you're supposed to wipe all of them: system, data and cache. Every other wipe is NOT a clean flash and could induce problems (not always of course but you know..).

The "system" settings, how you call them, are stored in data. System is read only and no apps or settings goes there unless there is a program that requests root access to do that on purpose...which majority of apps don't do cause they're supposed to work on all kind of devices, rooted or not.

Now, you can wipe just system and leave data but that's useless if you want to do a clean flash (it's obvious why). On the other hand, on Lollipop at least, 99% of the ROMs will wipe system anyway while the ROM is flashed. Thats because there is a image of the system in that ROM zip, image thats written to the system partition. So it's like an .img written on a DVD. Only if there's a ROM zip made in old way (like the KitKat ones or those that support multirom...which is not the case for our device), there is no image and files are copied to system. Even in that case tho, system is formatted by the script before copying.

So as you can see, you could either wipe everything or just caches...there's no reason to do otherwise. Hope this explain more and make things clear for you

Sent from nowhere over the air...
[HTC One S] EssCee:
Thank you, Rapier.

I understand about the only real clean flash is total wipe, and that if any abnormalities become apparent, then a clean flash it must be.

When I say 'system settings', I mean the options I choose when I set up the phone - Homescreen configuration, manually-configured APNs, accounts, etc.

Can I do this: wipe the cache+dalvik, format /system, leave /data alone, and flash my ROM and GApps?

Or is it a waste of time - I should just clean-flash it.

I want to keep updating, it's just a bit of a pain having to set the phone up each time I do.

Cheers,

Stuart
[HTC One S] Rapier:
A clean flash is totally recommended when you change ROMs or a ROM changes it's base (like from CM to Slim). On regular updates of the same ROM you could just wipe caches, if it is not explicitly stated otherwise.

Now as I've explained in my previous post, a wipe of system is useless because it is done anyway when you flash the ROM. So regardless of how you decide to wipe, system is wiped anyway. If you want to also wipe it before it's your call, I just told you why it's not necessary.

Now back to those settings...parts of them are stored in data but other parts are stored on sdcard. So yes, you could leave data and not wipe it between updates (I do the same), but that's the same as wiping just cache/dalvik cause system will be wiped at flash time anyway

Sent from nowhere over the air...
[HTC One S] frantisek.nesveda:
Well, there's a difference between wiping and not wiping /system when you update. When you wipe it, you lose gapps (and some other stuff) , and need to install it again after updating. Otherwise it's backed up by the scripts in /system/addon.d/. So it's easier not to wipe /system when updating, I'd say.
[HTC One S] Rapier:
Yes I know that, but not all ROMs have those backup scripts, in fact more and more don't have it lately as I've noticed, so I've got used with flashing GAPPS every time. That's why I didn't mentioned them.

Sent from nowhere over the air...
[HTC One S] EssCee:
/system is wiped whatever - got it.

Thanks.
[HTC One S] vic_111:
Tried flash via TWRP and CWM and no luck, keep give me error when flashing zip, gave me once (Status 7)

Any ideas ?

Edit: Yeah i done the Factory Reset before
[HTC One S] Rapier:
If you want help, post the complete exact error not something vague...

Also state your hboot version and TWRP/CWM version you used for flashing

Sent from nowhere over the air...
[HTC One S] vic_111:
Hboot 2.15.0000

S-On

It´s all i have now, i will try again and post the full log later
[HTC One S] -=W1S3=-:
Update from ViperOneS to CM12.1

Hello everybody!

My brother has an HTC One S (S4) with Viper One S ROM.

I've tried to put on it latest CM11 some months ago but all I got was a bootloop so, since he doesn't know a lot about modding, we decided to put Viper One S ROM back on his phone.

Since he now wants to try Lollipop (he saw my brand new N5 lol ), how can I upgrade his phone to this official CM12.1 with no other bootloops?

Here some infos about the versions of kernel, baseband, hboot and so on.

*** TAMPERED ***

*** UNLOCKED ***

VLE PVT SHIP S-ON RL

HBOOT-1.13.0000

RADIO-0.16-31501S.17_02

OpenDSP-v25.1.0.32.0405

eMMC-boot

Apr 20 2012, 15:14:18

Android version

4.1.1

HTC Sense version

4+

Software number

ViperOneS 2.1.0

HTC API SDK Level

4.63

HTC extension version

HTCExtension_Sense45_2

Kernel version

3.4.10-gae8b65e root@abm016#1 SMP PREEMPT

Baseband version

0.16.31501S.17_2_10.23.31501S.10L

Build number

3.16.401.8 CL128506 release-keys

Browser version

WebKit/534.30

I know some of these things might be useless but... nevermind! :D

In attachments you can find the screenshots from where I got all of these numbers.

Thanks for your help! :D
[HTC One S] Rapier:
All recent ROMs requires hboot 2.13.0000, 2.15.0000 or 2.15.4444. To flash CM12.1 or any other LP ROM you would need (just basic steps, you cand find details about how to do that searching on the forum):

1. having Viper on your phone, first you need to acquire S-Off. This is needed for upgrading your firmware/hboot to 2.15. You can try and use rumrunner, moonshine or any other method for that

2. having S-Off, you should upgrade the firmware to 2.15. You can find details and the necessary files in THIS thread.

3. After or before that, you need to update/flash to latest recovery available. I would recommend you latest TWRP. You can find that on TeamWin official page.

4. Download and flash your ROM of choice...not much to tell you here
[HTC One S] :
This question might be slightly off topic, but I thought, as it still has to do with getting things to work on CM12 on this device, I’d still give it a try here:

I’ve downloaded HTC’s camera app from apkmirror lately. To my surprise, it actually started up on CM12 and also seemed to work okay otherwise. Yet for some reason you can’t take any pictures, that is, it simply won’t save anything to the internal storage. Does anyone know if there’s a way to solve this? Would be great if there’d be a way to have HTC’s camera on Cyanogenmod.
[HTC One S] F-L-Y-E-R:
New build

#Added 25/06

#Tested
[HTC One S] kwaazaar:
Installing now. Btw: there's no MD5 on Google-drive.
[HTC One S] Antsu:
Download the zip 2 times and compare. If they match, downloading most propably went well.
[HTC One S] fax11:
Hi, I'm not shure that you must s-off your phone, you simply have to flash boot.img after installing cm12.1, this boot.img is in the cm12.1 zip file that you installled. if you don't flash it you will get bootloop...

be sure to have a compatible recovery (I use CWM 6.0.4.8 which works great)
[HTC One S] -=W1S3=-:
Thanks for the suggestions! But what about HBOOT? I'm on a very old 1.13.0000 version: how do I upgrade and to which version?
[HTC One S] Rapier:
He has to be S-Off to upgrade the firmware from 1.13 to 2.15/2.16. An alternative would be to find a RUU with 2.15 firmware for his CID and flash that one to upgrade the firmware...but I don't know if such RUU exists.

For flashing the ROM, right, he doesn't need to be S-Off.

Or, he can open the ROM zip, edit the updater-script to take out the firmware check (the assert line at the beginning) and flash it this way. But flashing it on a non recommend firmware will void any support

Sent from nowhere over the air...
[HTC One S] fax11:
sorry I didn't read well, in this case I guess Rapier's method is right. you need to s-off the phone before upgrading hboot to 2.15, then install CM12.1...
[HTC One S] thangbk236:
battery problem
[HTC One S] stormyb:
After a long time using Magiorom i switched to CM12. Nice rom.

Had to flash it three times, but it seems to be stable now. There is a thing: I have more connection problems with this rom compared to the magiorom., as well as wifi and data. Radio is the same. (1.20)

Battery life is a little better then previous rom.

First rom for me without sense. So i have a couple of questions:

Power and home button used to create a screenshot, it doesn work anymore? Or was that a typically Sense feature? I got the tip to use power and volume down, it doesn't work either.

And what is wrong with the camera? No advanced settings at all? No panorama, burstmode, or effects? Do you use a third party camera app? And what camera app is recommended?
[HTC One S] F-L-Y-E-R:
You can use Google Camera from play store, and to take a screenshot: go to buttons in settings, click power button and tick screenshot option - you will be able to take a screenshot by long pressing the power button.
[HTC One S] thangbk236:
I notice cell standby and it get 55% battery usage when screen get 6%. Any one can fix this problem
[HTC One S] F-L-Y-E-R:
New build

#Added 07/07

#Tested
[HTC One S] H2Oxide:
I'm on the 5/7 build. Flashed it over a previous version. All seems to be working fine. However the status bar clock keeps showing up even though I set it on hidden. It might be hidden for a while, bit then it reappears. Any solutions to this?
[HTC One S] kwaazaar:
On every reboot it starts optimizing all apps. What can be the reason for that?
[HTC One S] pavel.bosco:
I came there to report the same problem. I noticed it every time the phone is turned on by battery drain, then I charged it and power it on, it starts to optimize apps from scratch
[HTC One S] mkoev:
I don't have such problem. Version 07/07 hboot 2.16.
[HTC One S] CUSXDA:
Same here!, been running flawlessly!! :D

...The ones suffering Optimizing apps on boot, did you clean install?....or maybe its an issue with the version of Gapps you're using? ...im using this one (Open GApps arm 5.1 Nano)

http://xdaforums.com/android/software/pa-gapps-continuation-t3098071
[HTC One S] Ollaz:
I downgraded a way back from 2.16 to 2.15 to get the OTA updates.. but since I've pretty much stopped upgrading my rom (there is no need), I want to upgrade to 2.16 again, to get the larger system partition. How big is it exactly?
[HTC One S] pavel.bosco:
not sure why you asking about system partition, I believe in 2.16 everything is on the same partition, this is a main difference.

and for user app and data the phone shows me 12Gb in total which makes it quite useful for lot of additional years..
[HTC One S] Rapier:
You make a confusion here... SYSTEM partition is not touched... Data partition is the one being the same with sdcard. Migrating to 2.16 won't give you a bigger system partition

Sent from nowhere over the air...
[HTC One S] Alegis:
Flashed it, seems to run great so far. Thanks for providing hboot 2.16 versions!
[HTC One S] F-L-Y-E-R:
New build

#Added 12/07 (Google drive only)

#Tested
[HTC One S] kudykam:
Anyone knows if bloetooth car audio problem is fixed already?
[HTC One S] Rapier:
Which one? I had a BT car audio problem in the past but was solved some time ago in CM. Now depends on what your problem was

Sent from nowhere over the air...
[HTC One S] kudykam:
Music app crashed when trying to play music in car audio. Last version I tired was in April.

Btw I alse experienced a 2-3 phone restart in single day and more battery drain. Is it better now?
[HTC One S] Rapier:
Cannot tell, I'm no longer using BT in car. Regarding reboots it depends on device, kernel and usage...I had no reboot for a long time

Sent from nowhere over the air...
[HTC One S] :
Are you on the stock kernel?
[HTC One S] phoenixita:
Sorry for OT but i'm looking for testers for my ROM. 2.16 hboot is required ;)
[HTC One S] Rapier:
I'm not using CM as my daily driver but when I've tested it yes, I was using the stock kernel

Sent from nowhere over the air...
[HTC One S] kudykam:
I tired the latest build cm12.1 but now my camera doenst work (cannot connect) and my gallery shows no photos (even though I have them on sd card)

Is there a way to fix it?

Also when I connect to pc via MTP I see only few folders, not all of them....

I tried to format the internal card but no change. When I use ES file explorer in mobile I see all files and folders...

UPDATE: restart seems to fix all the issues... for now...
[HTC One S] Alegis:
I have flashed the 07/07 version, but my battery is leaking faster than I expect (even in airplane mode), and the battery stats indicate the device is awake all the time. What is the best practice procedure here?
[HTC One S] kudykam:
I am missing a lot of widgets in widget list I should have with installed apps.. Anyone knows why?

UPDATE: It seems working after reinstalling certain app...
[HTC One S] knokkels:
Hiya,

This afternoon, I had some issues with Talkback, which apparently had been switched on after installing 360 Security. I tried everything in the book, even while my TalkBack and every setting in that menu had been turned off, it still would say every single letter I typed. Hugely annoying.

I am using TWRP recovery, so I went into recovery and wanted to clear the cache. By mistake I did a full wipe, rendering my phone useless.

Then I copied the latest CM12.1 nightly (cm-12.1-20150713-NIGHTLY and the corresponding Gapps.) I thought I'd be done with it. Then wiped and flashed.

Alas, nothing like that. For the last half hour plus, My HTC One S (Ville) has been stuck on the (cute, but steadily getting really annoying) splashscreen. It just won't switch to the main screen, so effectively rendering my phone useless.

Could someone assist me in this problem?

Greetings,

knokkels

(if this is in a wrong subforum, feel free to move)
[HTC One S] kwaazaar:
Gallery crashes sometimes.

Gallery sometimes crashes. Logcat attached. It says InflateException.

Btw: why are so MANY errors written to the log? Even perfectly working apps report a lot of errors.
[HTC One S] knokkels:
Edit: Yeah, Booting without a boot.img present doesn't really work :')

Fixed
[HTC One S] mvdss:
Updated today to CM 04714 Nightly, but none of the apps that use the camera work. Anyone else have this problem? How do you fix it? or just wait for another update?
[HTC One S] Inferi0r:
[MENTION=231896]dev[/MENTION]: can you remove the 'Clock' from further builds? It is a Google App from playstore since recently. The included version is just an old version of the one in the Playstore.
[HTC One S] F-L-Y-E-R:
Not really, but if you use TK gapps they will replace CM/AOSP apps with google apps from the play store.
[HTC One S] Elightos:
I've been running into problems when trying to install this new CM 12.1 version.

I've been very inactive in flashing my phone in the past year or so and i'm currently still on CM 10.2. The issue I'm having is that I get a status 7 error, with more specific reports on /system failed to unmount (no such volume) and failures on mounting /dev/block/platform/msm_sdcc.1/by-name/userdata (no such device). I've been looking around a bit and it seems that you cannot install this new version using clockwork recovery? If this is the case, do I need to get TWRP?

I have HBOOT version 2.15.0000 and my computer seems to have issues with recognizing my phone in fastboot... But those are more windows 8.1 problems then mod problems i guess!

If you guys have any advice on this I would sincerely appreciate it, otherwise I'll have to try and find a way to install TWRP before i can check out this new Nightly!

Thanks!
[HTC One S] Rapier:
I didn't checked the latest CM builds but the "unable to unmount..." error is because of supersu flashing script not being able to unmount system after flashing. It doesn't do any harm and it's happening on other ROMs that have supersu included as well. You can just ignore it.

It is adviced you use TWRP, I never had error 7 with it while flashing latest ROM versions. It could happen if you're using an older CWM version too...if you said you haven't flashed ROMs in the past year, I presume the same goes for recovery. And a 1 year old recovery is not good for flashing the newer ROMs.

As you already said, your fastboot issues are due to your windows 8.1 and or USB 3.0 and are not related to the ROM

Sent from nowhere over the air...
[HTC One S] Elightos:
Awesome! I found a win 7 PC to flash TWRP with and i was able to write the zip without any errors popping up this time!

I should be able to just flash the daily nightly updates straight over my current install, without having to do any wipes correct?
[HTC One S] F-L-Y-E-R:
I am not sure, you said you're on CM10.2, I think you can only update to Lollipop from KitKat but I might be wrong.
[HTC One S] Elightos:
Oh sorry for the confusion, I have succesfully been able to install cm12.1 now :)
[HTC One S] Rapier:
Then yes, you should be able to flash nigtlies dirty just wipe caches. As a rule of thumb tho, if you have any issues, you know the drill... flash clean

Sent from nowhere over the air...
[HTC One S] djsubtronic:
Hey guys, I have come back to this phone as I had an accident with my One M9 rendering it useless. Upgraded my One S to this ROM, but I seem to have a weird issue when making calls - I can only hear any audio through the earpiece (or loudspeaker) intermittently, usually for a split second, then 4-5 seconds of silence, then a split second of sound again, and so on. Basically impossible to make any calls. I'm not sure the other party can hear me either. Is this a known bug, any workaround?

Thanks

Edit: dialler is also quite unresponsive during call.

Edit: HBOOT 2.16, 12 July nightly, dirty flash
[HTC One S] Ollaz:
Yeah, messed that bit up, sorry. By system I was thinking of the "internal" partition where everything outside the SD resides. Is this bigger and if yes, by how much?
[HTC One S] Rapier:
On 2.16 firmware, there's only one 12GB data/sdcard partition. On 2.15 there's a 10 Gb sdcard and 2Gb data. So if you want to know how much space you'll have for installing apps and so...you'll have 12 Gb instead of 2 Gb
[HTC One S] djsubtronic:
Nobody has this issue or a workaround? I'm kinda desperate at the moment...
[HTC One S] Rapier:
Have you tried other ROM to check if it has the same symptoms? I would not take out the possibility of physical damage of the device, especially of the speaker
[HTC One S] CUSXDA:
Sounds like something is conflicting badly If calls are stuttering and dialler is lagging. Time to do a CLEAN flash! ;) , this ROM is running fantastic here.
[HTC One S] djsubtronic:
It was working perfectly when I last used it on CM11 before upgrading my phone. The issue happens on both earpiece and loudspeaker mode, so it's not speaker damage for sure.

Been reluctant to do this as this current setup of apps is the only hope I have of recovering my apps/data when I get my One M9 back from RMA... but I'll try it out when I can find enough time to create full backups onto my PC.
[HTC One S] CUSXDA:
The only other thing I can suggest is to update Google apps...If you were on Cyanogen 10, that's probably a Jellybean version of GAPPS which wont help AT ALL!! :D

I'm not sure if this will make any difference at all to the particuar problems you're having, but definatly worth trying

The one I use with this ROM is this one:

http://opengapps.org/

Details of the different packages here

http://xdaforums.com/android/software/pa-gapps-continuation-t3098071

I use ARM / 5.1 / Nano, but you're probably best getting the whole thing just to make sure ;)
[HTC One S] Rapier:
Oh, I've missed the part in which you said you've done a dirty flash over CM11...As a rule of thumb, FIRST THING to do in case of issues is to flash clean. Especially if your'e going from one Android version to another and if the GAPPS package changed also. There were major changes between KitKat and Lollipop so even if CM says "you could" do an upgrade by flashing dirty, you should do a clean flash (at least the first time you put a CM12/12.1 on your phone)
[HTC One S] djsubtronic:
When I upgraded the One S to CM12.1, I also updated to the latest dynamic gapps by Banks. Never had an issue with Banks on any of my devices.

However I just realised I am complete idiot.

I have gotten into such a routine of flashing with the Nexus 5, that I accidentally also flashed a Viper4Android zip designed for the N5 lol... wiped system and reflashed the ROM/Gapps/etc, calls work fine now.

Sorry guys!
[HTC One S] CUSXDA:
AWESOME! hehe :D, glad you got it sorted buddy! :good:
[HTC One S] Ollaz:
That is exactly what I had in mind. Thank you.
[HTC One S] Rapier:
Just don't forget that if you still want Viper4Android (an install the proper version for the phone) it'll need "permissive" selinux to properly work. That means you have to install that selinux changer app also

Sent from nowhere over the air...
[HTC One S] qd42:
Can I use CM builded in system update option if my phone is S-ON?
[HTC One S] kdd998:
You may but the kernel won't be updated. If there was a big change in the way the kernel and system talk to each other, you'll have a bootloop. I'd say it's too risky.
[HTC One S] Ollaz:
So I decided to upgrade back to 2.16, but apparently I screwed something up. I can no longer access recovery (the phone just reboots). Tried TWRP and also CWM. Running on 4.0.3 (HTC rom), S-Off and the bootloader is unlocked. Any ideas?
[HTC One S] F-L-Y-E-R:
Maybe you haven't properly installed it? Or try the one that's in the first page.
[HTC One S] Ollaz:
>fastboot flash recovery twrp-2.8.1.1-ville.img
sending 'recovery' (10 312 KB)...
OKAY [ 1.141s]
writing 'recovery'...
OKAY [ 2.285s]
finished. total time: 3.426s

Tried that, same thing. It installs properly, when I flash the stock recovery, it works (but of course I can't install anything).

I used an old RUU, that had hboot 1.13. Then I used a zip to get to 2.16 (which wasn't a good idea now that I think about it), and tried to use a later RUU, but it gives me an error so it doesn't work.

/edit: got an older version of CWM working somehow, so I now have recovery.. but how do I upgrade hboot now? The zip I used earlier does no longer flash (or do I have to fastboot flash it somehow?).

//finally after some flashing and formatting, adb sideload saved my ass. Everything works like a charm.

///wifi will not work after clean flashing the latest rom in this thread.
[HTC One S] qd42:
I have a problem with compass on my phone with this firmware, almost any app which uses compass causes phone reboot. It seems like crash occurs when system disconnects from compass, i.e. when I'm exit compass app on when I'm finish to take panorama with Google Camera.

I thought it may be hardware problem (my phone have some other ones) but I'm tried on other firmwares - on stock and on CM 10.1 and everything was fine. On CM 10.1 compass sometimes shows crazy stuff but phone reboots never happened.
[HTC One S] Ollaz:
Okay, clean flashing 12.1 (no matter what date) and with whatever radio combo makes BT and Wifi unusable (just says that "turning on.." and thats that), so I'm looking for a CM12 (not 12.1) rom for 2.16 hboot.. The older files seem to be gone. Thanks in advance.

/edit: seems that something went horribly wrong during flashing (as changing between different roms/kernels did not help at all) something and will try this tomorrow: http://xdaforums.com/showthread.php?t=2769977
[HTC One S] H2Oxide:
Running the 24/7 build, but can't connect to camera. No camera app works.
[HTC One S] Ollaz:
Got my wifi working again.

Does anyone have a guide how to flash recovery, upgrade hboot to 2.16 from some earlier one (1.xx for example) and finally install this rom? I've been messing with it for days now and can't seem to get it to work properly (errors with data partitions for example).

Thanks.
[HTC One S] Rapier:
There are several threads with instructions. Search them in this section or in Q&A

Sent from nowhere over the air...
[HTC One S] kudykam:
I have problem with mobile data. It works only for few apps.

In Badoo or FB Messenger for example, other like chrome dolphin or any other browser, youtube, facebook, etc I cannot connect to internet.

EDIT: Solved by choosing correct APN