yashsingh1/xdaforums huggingface dataset:
[HTC One S] basakaii:
Hi there!

I unlock the bootleader and root my device (HTC One S) to install another ROM.

I have done a full clean, so I have nothing. I installed the clockworkmod recovery.

What Can I do to install the factory rom and let my device like factory, but with the bootloader unlocked?

PD: Sorry with my english.
[HTC One S] LS.xD:
You can relock your bootloader, flash a RUU (stock firmware package), unlock the bootloader again. Or you can just flash a sense based custom rom. BUT if I was you, I would go for a Kitkat (Android 4.4.4) or Lollipop (5.0.2) custom rom, as it really improves your One S ;)
[HTC One S] basakaii:
Thanks for answering.

I prefer the second jejeje

Which rom would you recommend me? It doenst matter if it is kitkat or lollipop. I wanna use the mobile :P

I dont know if it is a S3 or S4 :S
[HTC One S] LS.xD:
Thats quite bad :P Are you familiar with using fastboot commands? Its important if its S3 or S4.
[HTC One S] basakaii:
Yes, I have installed some recoveryes using it :P

What should I do?
[HTC One S] LS.xD:
Connect phone in "fastboot" mode to your computer.

Open command line and type:

fastboot getvar all

Post the output here but remove your "IMEI" ;)
[HTC One S] basakaii:
Here u have:

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.15.0000

(bootloader) version-baseband: 1.11.50.05.28

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: SH24WW408505

(bootloader) product: vle

(bootloader) platform: HBOOT-8960

(bootloader) modelid: PJ4010000

(bootloader) cidnum: HTC__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4174mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-64bedd38

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[HTC One S] LS.xD:
HTC One S - S4 - Europe

1. step: flash actual recovery

Fastboot flash recovery openrecovery-twrp-2.8.5.0-ville.img

Once done choose your rom from HERE
[HTC One S] basakaii:
Installed.

I´ll choose this: http://xdaforums.com/htc-one-s/development/rom-resurrection-remix-lollipop-t2986405

What is the second step?
[HTC One S] LS.xD:
Download ROM - GApps - SuperSU

copy all to your sdcard. (you can connect your phone via twrp recovery: "Mount" --> "Enable MTP"

then press "Install" and select the downloaded zips.

Order: 1. Rom 2. GApps 3. SuperSU (4. Kernel)

You can optionally use a "custom kernel" e.g. Frosted Kernel which can be controlled with Trickster Mod :P
[HTC One S] basakaii:
I tried only flashing the Rom, and when I reboot, I see a black screen and the device do nothing :S

The Roms says something habout 2.15 and 2.16. Do I nothing something else?
[HTC One S] LS.xD:
Yup i forgot that your phone is S-ON. S-ON means you need to flash the kernel manually via fastboot each time you install a rom. Flash 1. 2. 3. and then connect your phone in fastboot mode to the computer.

Extract "boot.img" from the rom.zip and flash it via fastboot:

Fastboot flash boot boot.img
[HTC One S] basakaii:
You are the best!

Thank thank thank you very very much :DDD

Wow :D
[HTC One S] LS.xD:
You're happy - me too ;)
[Nexus 6  Original Android Development] old_fart:
Welcome !

Question : is encryption enforced or not enforced ?
[Nexus 6  Original Android Development] neobuddy89:
Same as CM12. Untouched.

Need to revisit that bit.
[Nexus 6  Original Android Development] Circaflex:
SWEET! Thanks for this
[Nexus 6  Original Android Development] mindfever91:
I have to try this, thanks a lot and welcome!
[Nexus 6  Original Android Development] Circaflex:
it is enforced
[Nexus 6  Original Android Development] Damon13:
Are any go the wakelocks such as sensor_ind and others disable ?
[Nexus 6  Original Android Development] Circaflex:
What?
[Nexus 6  Original Android Development] Damon13:
Lk and Franco's kernel have some of the wakelocks disable, so thats what I am referring to.
[Nexus 6  Original Android Development] neobuddy89:
Well, some upload issue with AFH. Next build is ready with no-force-encrypt. Will be posted in sometime.
[Nexus 6  Original Android Development] Circaflex:
wait are you saying not to flash what is uploaded? I know CM12 defaults to encryption, doesn't bother me im encrypted already.
[Nexus 6  Original Android Development] old_fart:
Thank you [MENTION=3795148]neobuddy89[/MENTION], choice is very cool and appreciated !
[Nexus 6  Original Android Development] wrongway213:
Came in to see the same - guessing from the question going unanswered that there is no sensor_ind fix in this kernel, at least as of now. I'm really, really hoping 5.1 fixes that horrible wakelock.
[Nexus 6  Original Android Development] shizkoff777:
Sweet.ran your kernel on my nexus 5
[Nexus 6  Original Android Development] Mervingio:
Faux Sound Support?
[Nexus 6  Original Android Development] xtzz:
Bothers the rest of us buddy, who do not wanna be encrypted in case we decide to try the kernel. You can always decide to encrypt yourself, no need to be forced to do so.
[Nexus 6  Original Android Development] pantmunu:
Awhh snap. He's here . woot !!
[Nexus 6  Original Android Development] neobuddy89:
New nightly build!

Hydra_v1.0-[02-27]-[10-23]

* Disabled forced encryption. Not tested.

* Added toggles to synapse to tweak wakeup sources / wakelocks.

* Added vibration control in Synapse

* Added Software CRC toggle control in Synapse

* Improved wake controls in Synapse

* Misc CAF updates

Cheers!! :)
[Nexus 6  Original Android Development] wrongway213:
Synapse gives me the No UCI Error on boot and it persists until I clear app cache. On Dirty Unicorns and latest nightly with set on boot applied - if you need dmesg/kmesg/logcat let me know which.
[Nexus 6  Original Android Development] hellsgod:
I haven't found the kexec patch by myself yet, so Idk if its already out for everybody.

hells
[Nexus 6  Original Android Development] wrongway213:
It's not, MultiROM developer said this yesterday to a dev asking for the kernel source on G+, "I will release the patch with stable version of MultiROM, I don't want kernel devs to merge potentially buggy versions of the patch"
[Nexus 6  Original Android Development] neobuddy89:
I confirmed for the feature addition. However, it will be merged once open-sourced.

Meanwhile, a new nightly in some time..
[Nexus 6  Original Android Development] Megaflop666:
Sorry, missed reading that I guess. Strange for me to miss something in such a short thread. My apologies Dev!
[Nexus 6  Original Android Development] neobuddy89:
New nightly build!

Hydra_v1.0-[03-09]-[23-16]

* Linux 3.10.71 update

* Crypto driver massive CAF updates

* Updated Cyanogenmod hotplug.

* NET driver updates from CAF

* Sync with CM12 changes

DL: https://www.androidfilehost.com/?fid=95916177934539110

About state notifiers v/s fb notifiers -

Some more tests require before we switch to fb notifiers.

Cheers! :cool:
[Nexus 6  Original Android Development] daleski75:
Just flashed and it looks like it's boot looping, will provide logs soon (running stock rooted with xposed alpha 2)

Edit

Zipped up the bootloop.txt and this bit below does not look good. (there are a lot of errors in it)

[ 03-09 18:48:25.480 902: 902 E/art ]

DexFile_isDexOptNeeded file '/system/framework/org.cyanogenmod.hardware.jar' does not exist

[ 03-09 18:48:25.480 902: 902 I/InstallerConnection ]

disconnecting...

[ 03-09 18:48:25.481 902: 902 E/Zygote ]

Zygote died with exception

java.lang.RuntimeException: Error starting system_server

at com.android.internal.os.ZygoteInit.performSystemServerDexOpt(ZygoteInit.java:563)

at com.android.internal.os.ZygoteInit.handleSystemServerProcess(ZygoteInit.java:509)

at com.android.internal.os.ZygoteInit.startSystemServer(ZygoteInit.java:624)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:686)

Caused by: java.io.FileNotFoundException: /system/framework/org.cyanogenmod.hardware.jar

at dalvik.system.DexFile.isDexOptNeededInternal(Native Method)

at com.android.internal.os.ZygoteInit.performSystemServerDexOpt(ZygoteInit.java:554)

... 3 more
[Nexus 6  Original Android Development] Megaflop666:
Latest is up and running great on CM12! Thanks
[Nexus 6  Original Android Development] neobuddy89:
Thanks for the logs. CM12 sync seems issue on AOSP.

Please try below build:

Hydra_v1.0-[03-10]-[01-23]

* Try fixing CM12 mess.

DL : https://www.androidfilehost.com/?fid=95916177934539141
[Nexus 6  Original Android Development] daleski75:
Looking much better the phone now boots and thanks for fixing it so quick it's very much appreciated.
[Nexus 6  Original Android Development] freebee269:
[MENTION=3795148]neobuddy89[/MENTION]

in regards to the prefered network mode, i believe that the settings do change but the reporting by synapse doesnt. IE: i can change to gsm_auto and watch my data icon go inactive for a sec then come back with LTE but synapse still reports it as being wcdma_preferred.
[Nexus 6  Original Android Development] tundra35:
Is it just me but with the latest 3-10 update I can't get WiFi to turn on it just sits there saying WiFi turning on but never does. Went back to 3-7 build and works like a dream.
[Nexus 6  Original Android Development] jiv101:
Just connected without a problem
[Nexus 6  Original Android Development] tundra35:
Damn then I have no idea. I've tried clearing the cache and everything.
[Nexus 6  Original Android Development] jiv101:
I've done two clean flashes today, cause of my problems with Bliss, so I would first restart router then probably clean flash
[Nexus 6  Original Android Development] tundra35:
Just tried that still a no go. When you go to the WiFi settings it just sits there saying turning on. As soon as I flash back to the 3-7 build Wi-Fi turns right on. Weird:confused:
[Nexus 6  Original Android Development] freebee269:
I have the same Wi-Fi problem on the latest build. Wi-Fi just stays stuck at turning on but doesn't turn on.
[Nexus 6  Original Android Development] tundra35:
Ok so I'm not alone!
[Nexus 6  Original Android Development] papikev:
Confirm. WiFi does seem to be borked on latest build
[Nexus 6  Original Android Development] wrongway213:
I'm posting this from the latest build on WiFi.. Odd
[Nexus 6  Original Android Development] papikev:
That is weird. I did have to restore a nandroid to get the latest build up and running. I will try a clean install and go from there.
[Nexus 6  Original Android Development] papikev:
Toggled off, yet Wi-Fi turning on. Weird. Before I send any logs, let me try fresh install and see what happens.
[Nexus 6  Original Android Development] wrongway213:
Did you flash the first or second new kernel? I flashed the second (newest), no wifi issues on PAC ROM and that's still in beta lol
[Nexus 6  Original Android Development] papikev:
Initially the first, but then it got stuck booting up. Restored nandroid (with hydra kernel) and then flashed the newest.

---------- Post added at 02:31 AM ---------- Previous post was at 02:30 AM ----------

BTW, what are you guys doing to make synapse stick after reboot? I have no previous init.d scripts that need to be removed.

---------- Post added at 02:32 AM ---------- Previous post was at 02:31 AM ----------

Running chroma.
[Nexus 6  Original Android Development] tundra35:
Flashed the first one but it only bootlooped then went back to 3-7 build to download 3-10 but WiFi is borked.

Just running stock rom
[Nexus 6  Original Android Development] bleached45:
Just trying to help the Wi-Fi issues. Mine is working fine on latest BlissPop. What frequency are you using? Mine is set to auto, but my router is 2.4Ghz. Do any of you have the avoid poor connection option on if your ROM has it? Mine is off. These are in the advanced Wi-Fi option.
[Nexus 6  Original Android Development] darkfire2040:
Hail Hydra
[Nexus 6  Original Android Development] neobuddy89:
No wifi issues here as well. However, this seems to be country-specific issue.

Can one with issue please flash below nightly build and let me know if issue persist?

Hydra_v1.0-[03-10]-[09-50]

* Restore country-specific wifi DB (earlier synced with CAF).

DL: https://www.androidfilehost.com/?fid=95916177934539305
[Nexus 6  Original Android Development] wrongway213:
Country specific? Very odd.. it looks like a lot of US users had the issue, I'm right in the middle of the USA and no wifi problems here.
[Nexus 6  Original Android Development] neobuddy89:
Reverted only change related to wifi: https://github.com/neobuddy89/shamu/commit/2fc36f4bc4f026d3a2f91001bb71798d90fce2df

Let's see. No issues here with wifi.
[Nexus 6  Original Android Development] Damon13:
i am experiencing issues with wifi with either built (latest and test built), I fully wiped before switching to another ROM and install both versions and is a no go for me. I can't turn on wifi. Its stuck on turning wifi on.
[Nexus 6  Original Android Development] daleski75:
wifi is borked for me as well.
[Nexus 6  Original Android Development] neobuddy89:
Send me logs, please. Dmesg and logcat.
[Nexus 6  Original Android Development] Megaflop666:
No WiFi issues here on latest build running cm12
[Nexus 6  Original Android Development] freebee269:
your requested files wifi not turning on.
[Nexus 6  Original Android Development] tundra35:
No WiFi in that one either man..
[Nexus 6  Original Android Development] neobuddy89:
Ok, thanks.

Will get this debugged.

Last thing.. which ROM?
[Nexus 6  Original Android Development] tundra35:
Just stock rom. Haven't loaded any custom yet.
[Nexus 6  Original Android Development] neobuddy89:
Some heads up here, if you wish to try and help:

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

Use any app like Xplore and set permissions for this file -

/data/misc/wifi/wpa_supplicant.conf

Via terminal:

chown 1000.1010 /data/misc/wifi/wpa_supplicant.conf
chmod 660 /data/misc/wifi/wpa_supplicant.conf

Will get stock ROM and test.
[Nexus 6  Original Android Development] ieatacid:
No wifi issues here, using latest CM12 nightly, T-Mobile, US east coast
[Nexus 6  Original Android Development] freebee269:
I'm on stock Google rom also.
[Nexus 6  Original Android Development] Damon13:
I am on purity ROM, had to revert back to an older built since i need WIFI for work.
[Nexus 6  Original Android Development] freebee269:
Tried the permissions trick then rebooted but it didn't work.
[Nexus 6  Original Android Development] neobuddy89:
Issue confirmed with stock-based ROMs.

Will be fixed in few minutes. :)
[Nexus 6  Original Android Development] freebee269:
went back to the 03-07 build and everything is working good. so it had to be some changes you've made since that kernel build.
[Nexus 6  Original Android Development] neobuddy89:
Thanks for the patience. Here is fixed version for all. :)

Hydra_v1.0-[03-11]-[01-39]

* Fixed WiFi regression on stock-based ROMs.

* Disabled state notifier driver since FB notifiers are stable now and should theoretically contribute better battery for ambient mode users as explained before.

* Misc drivers update from CAF.

DL: https://www.androidfilehost.com/?fid=95916177934539688

Cheers!! :)
[Nexus 6  Original Android Development] Damon13:
thanks Neo, WIFI is working fine. I am going to enable ambient just to see any improvement with FB notifiers. Did you remove the N/W mode setting?
[Nexus 6  Original Android Development] neobuddy89:
Yes, feature was adapted from UKM and isn't working here. So disable it until fixed. :rolleyes:

And no ambient mode is always better than ambient mode.

However, ambient mode with fb notifier is better than ambient mode with state notifier.
[Nexus 6  Original Android Development] tundra35:
Running smooth as ever. WiFi is back up and working! Thank you so much!
[Nexus 6  Original Android Development] Circaflex:
new build doesn't seem to boot with latest CM nightly, I get to optimizing my apps and it finishes then reboots and sits on cms boot logo, stock cm kernel boots up completely

well doing a dirty flash of the nightly and letting it boot, then going into recovery and flashing hydra over top without wiping cache/dalvik cache and it boots up fine. Sorry about that.
[Nexus 6  Original Android Development] neobuddy89:
Bleh, tired of CM12 introducing incompatibilities.

Just installed temasek build and it booted fine.

Will check..
[Nexus 6  Original Android Development] Circaflex:
interesting, im going to try a clean install and see if that solves it

DONT BOTHER [MENTION=3795148]neobuddy89[/MENTION]. it does work, must have been something on my end. I dirty flashed the new nightly, let it boot then flashed hydra and did not wipe cache or dalvik cache in TWRP and it boots fine. Weird, but it is working sorry for the incorrect message earlier.
[Nexus 6  Original Android Development] neobuddy89:
Thanks. Time for hammerhead update... :)
[Nexus 6  Original Android Development] dany20mh:
[MENTION=3795148]neobuddy89[/MENTION]

So I don't know why I'm having issue with the synapse or booting process, when I boot the device , it will freeze before it reach the 2 minute and it after the one minute too , and these happen before even synapse try to set the setting , but if I open the synapse app (not to mention that I have to open and close it a few time to get into it after the boot) and click on the x mark so get the setting I want to apply and then device won't freeze any more. By freeze I mean it will keep the state it has , if it's on it will stay one and if it's off it will stay on and I won't even restart the phone so I have to hold the power button for a few second and restart the device.

Do you know how can I fix this issue ?!
[Nexus 6  Original Android Development] neobuddy89:
Before clicking X mark, scroll through each tab and check which settings were reset.

Also, which ROM?
[Nexus 6  Original Android Development] USA-RedDragon:
Yeah. I ported it for vindicator.
[Nexus 6  Original Android Development] dany20mh:
So I restart the device and were same problem (everytime) and it freeze (after 85 second) and I restart again and went to synapse app (and when I try to open it I will get toast message for it that getting root access, I won't get that messesge if I don't open it) and head to all the tab before checking the X mark and pretty everything was trying to rest to the default setting that you install the kernel (first time) so I really don't know what is wrong.

I have SinLess ROM 2.6.1

Thanks for checking.
[Nexus 6  Original Android Development] neobuddy89:
Shouldn't be any issue unless there is any mod or kernel app installed.

Try a clean flash of ROM + kernel without restoring data and see if any issue.

Working well at this end.
[Nexus 6  Original Android Development] dany20mh:
ROM is clean install and I didn't even restore any app or data on it and I don't have any kernel app except the synapse app.

It's not a big deal, I can deal with it, hope I find a solution for it in future so I can get raid of it, but thanks again for checking.

And a request : not sure you added or not , but can you check these :

- Intelliplug 4

- PowerHAL for intelliplug 4

- Power Suspend ( if it is good to have )
[Nexus 6  Original Android Development] bleached45:
Just curious if anybody else is experiencing no deep sleep on this kernel. According to wake lock detector and synapse I don't have any deep sleep. Despite that, battery seems pretty good. It doesn't really look like an app is running wild (calendar storage is a bit high). So maybe it is a false report?

On BlissPop 2.1 official build.

Hydra 3/11

Thanks.
[Nexus 6  Original Android Development] Megaflop666:
I saw that too and it drove me nuts trying to figure out what was causing it. I finally said the hell with it and set my phone down for an hour. I got back to it and checked with CPU spy and it reported that 50 minutes out of the 62 I'd left it alone, it was in deep sleep. It still does not show in synapse but my phone shows no wake locks in wld that would prevent it from sleeping. My Google app and calendar run a lot but nothing insane. On cm12
[Nexus 6  Original Android Development] Damon13:
Yesterday was a bit of an odd day, Wakelock detector showed that my phone was awake 49% in the first 45 minutes of being unplugged. Battery life seemed fine so I rebooted it the phone and now is sleeping 98% of the time.

I think google play services was a bit finicky possibly due to an update to google play services and 5.1 but I could be wrong.
[Nexus 6  Original Android Development] neobuddy89:
Intelliplug 4 - next build.

PowerHAL - have to check, we have our own.

Power Suspend - No. We got much better FB notifier.

Tested below build with Sinless ROM. Zero lag.

Test below build, please and let me know if issue persist.

Hydra_v1.0-[03-12]-[23-08]

* Improve suspend routine.

* Optimized LMK - much snappy and better now.

* Updated Impulse governor.

* Tuned MSM Hotplug.
[Nexus 6  Original Android Development] neobuddy89:
Wow, google source is out! :)

Time for more fun..
[Nexus 6  Original Android Development] Damon13:
Neo I am encountering issues with screen just turning itself off. It was running fine, I got a few notifications went to check and all good then after a few minutes I went to make a call and I couldn't turn the phone on. I had to reboot it and now is working fine. Is anyone encountering the same issue?

By the way I did a clean flash yesterday. I am on purity ROM and haven't installed any apps, no Xpose and haven't modified the kernel only disable the wakeloks and Fair Sleppers.
[Nexus 6  Original Android Development] Megaflop666:
Given it a half hour and no deep sleep with latest build. It seems to like staying at 300mhz.
[Nexus 6  Original Android Development] Tikerz:
March 12 not booting on latest CM12 nightly.
[Nexus 6  Original Android Development] dany20mh:
I'm already on Android 5.1 Stock and the only thing I'm missing is your kernel and waiting for it :)
[Nexus 6  Original Android Development] neobuddy89:
Have enabled Wake Gestures? Seems issue with wake gestures.
[Nexus 6  Original Android Development] Damon13:
Nope they are all disable. all I have disable is the wakeloks and gamma
[Nexus 6  Original Android Development] neobuddy89:
Thanks. Will check, is ambient mode on?
[Nexus 6  Original Android Development] neobuddy89:
I haven't tested all wakelocks disabled. Please enable default ones, could be issue.
[Nexus 6  Original Android Development] wrongway213:
Are you referencing Hydra Kernel specifically here, or do you mean there seems to be issues with wake gestures all together in Synapse?
[Nexus 6  Original Android Development] Damon13:
sensor_id is disable by default the other two are enable, do you want me to enable them all? or just the ones that I personally turned off? thanks for all your help
[Nexus 6  Original Android Development] neobuddy89:
I am referring wake gesture update to being auto disabled on phone call.
[Nexus 6  Original Android Development] neobuddy89:
Except for sensor_id, please enable other 2. Thanks for testing.
[Nexus 6  Original Android Development] Damon13:
No problem I am not on the latest built. I am still on 3-11 [01-39]
[Nexus 6  Original Android Development] Megaflop666:
Same here. Just tried and restored back.
[Nexus 6  Original Android Development] neobuddy89:
Check the screenshot below, I had same issue as your before last build:

View attachment 3207552

Need to download latest nightly and check.
[Nexus 6  Original Android Development] Megaflop666:
Here's my phone on the latest kernel you posted.

---------- Post added at 04:41 PM ---------- Previous post was at 04:35 PM ----------

Just saw this, no, it's not.
[Nexus 6  Original Android Development] neobuddy89:
Please flash this *test* build before I can blame all on ROM and gapps:

https://www.androidfilehost.com/?fid=95916177934540601

Thanks for your inputs.

P.S.: This build also contains kernel changes from lollipop-mr1 yet only for 5.0.2.
[Nexus 6  Original Android Development] Megaflop666:
[MENTION=3795148]neobuddy89[/MENTION] - test On current setup or latest nightly?
[Nexus 6  Original Android Development] neobuddy89:
Yes!!