yashsingh1/xdaforums huggingface dataset:
[AT&T HTC One (M8)] rapnel:
cm11 to stock to OTA to fw boost for lollipop : questions

Hi,

I've been on cm11 for about a year (S-ON) and now need to upgrade. My current recovery is cwm6051. I tried to flash twrp over it but it failed and just hung in "Entering recovery..." mode so I had to roll that back. After a lot of reading most help, tips or instructions were all over the place so I thought I'd land the inevitable question right here.

This is what I think I know, so far:

1. Find the correct package that I can flash either via fastboot or sdcard ( on a mac ).

2. re-lock the bootloader - (HTC docs say so too)

3. boot to bootloader with the package on sdcard root and go to hboot

4. Take the (hopefully) mostly stock package and get to an OTA that at&t has waiting for me that will push my firmware, kernel and android versions up enabling me to take other lollipop roms.

5. re-request htcDev unlock code and root again

6. flash a new recovery

7. flash a new rom

8. drink.

Do I have that about right?

The Device:

htc one m8 on att

bootloader v. 3.16.0.0000

cidnum CWS__001

vers-misc PVT SHIP S-ON

product m8_ul_ca

modelid 0P6B12000

current rom cm11

current recovery cwm

bootloader unlocked

operating platform mac

A few posts back on this thread someone asked about the same question and the answer was "No, you can't use this. You have to be S-OFF" (or something pretty close to that, enough to punctuate my confusion from the other threads I've read).

so.. True of False:

Flashing this package from this thread via the sdcard method will get me on a carrier-like stock rom enabling me to take the carrier OTA that will upgrade my firmware?

Good to go? Yeah, yeah?
[AT&T HTC One (M8)] redpoint73:
My responses below in red font.
[AT&T HTC One (M8)] rapnel:
I probably should've started drinking first...

So, I thought I'd be slightly more cautious than usual and did not place our image on sdcard root BEFORE I reset the oem bootloader lock so that I could boot normal and double-check I had everything I needed before it was wiped.

Result....

adb reboot-bootloader

fastboot oem lock

...

(bootloader) [PGFS] partition_update_pgfs: pg1fs_security

(bootloader) Lock successfully...

(bootloader) deinit_lcd

(bootloader) mipi display off

(bootloader) mdp_clock_off

(bootloader) disable_mmss_clk done

(bootloader) pll1_disable done

(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)

(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error

(bootloader) = 4

(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error

(bootloader) = 4

(bootloader) [INFO] Rebooting device

ERROR: usb_read failed with status e00002ed

FAILED (status read failed (No such file or directory))

finished. total time: 1.133s

bootloader screen reads :

*** TAMPERED ***

*** RELOCKED ***

*** Security Warning ***

the rest is normal

and now I can't get out of fastboot and I have no image that I could even try to push to it with fast boot.

One thought is to find a card reader (yes, can't find it) and pull the image onto root (it's in a subdir right now) and another thought is to try and rope in some HTCDev support. Apart from that I'm just sort of scratching my head and bemoaning my out-of-character extra caution step to try and have one more look before I committed to the image.

So.. I'm now sort of in a colorful soft-brick state. It'll be an OK flashlight in the dark but otherwise .. 100% bootloader only device.

If anyone has some other ideas while I try to track down a card reader I'm all eyes..
[AT&T HTC One (M8)] rapnel:
Re-flashed my original unlock binary - that brought it back from the land of the half-dead

Almost time for take two… I think this time I'll put the image on sdcard root BEFORE I re-lock.

…..

May have been a tiny bit overly optimistic - still on CM boot image after some 20 mins or so.. we'll see.

….

cyanogenmod circle guy boot image forever. Powered off and attempting a boot.

OK, OK - because I couldn't force a shutdown and could only reboot via power + vol UP held for 10s I had to do that and *quickly* release the power and vol UP and hit power + vol DOWN (did I mention quickly?) - that got me back into the bootloader (holy crap)

Found a card reader and moved the zip to sdcard root, rebooted fast boot after inserting card and hboot picked it up. Flashing the package now :silly:

Flashed - AT&T updates updating. Bruised and bloody .. all's well that ends well!

Thanks redpoint73 !
[AT&T HTC One (M8)] redpoint73:
You're welcome, and nice work. Its just how it goes sometimes, a step goes awry and you end up taking a

lot

more time than you planned.

Definitely time to drink!
[AT&T HTC One (M8)] mtowell01:
helllllllllp!!!!!

help its telling me "device halted due to large image update fail! I am unlocked and have s-off and cant do anything keeps going back to bootloader and asking id I want to install update and have installed about 6 times and no change please help!!! please please
[AT&T HTC One (M8)] ajmdve:
did you solve the problem? im having the same issue. i cant flash from hboot nor RUU.EXE
[AT&T HTC One (M8)] redpoint73:
Did you previously convert to GPE by RUU?

Is so, try flashing Sense firmware first, then RUU.

Also, not sure if you are aware, but this RUU is a couple generations old (KitKat). The current is software number 4.16.502.
[AT&T HTC One (M8)] pupochek:
Isn't the current one 4.28.502.2 ? :)
[AT&T HTC One (M8)] redpoint73:
Yes, that's right. I help folks with so many different carrier variants, its inevitable I get the number wrong once in a while!
[AT&T HTC One (M8)] ajmdve:
No, I was on stock sprint kit Kat and I was having trouble all around trying to flash to lollipop. I have tried with RUU's and using Rom.zip/0P6BIMG.ZIP form the sd card and always received errors like wrong image or large image device halted.. blah blah blah. I had to use twrp to flash a backup from another phone to update.

This phone is a HTC one m8 with unlocked bootloader and s-on, rooted
[AT&T HTC One (M8)] redpoint73:
"Blah blah blah" means something, and that thing is very important.

You can't run an RUU that does not match your CID and MID.

You can't run an RUU for the AT&T version to a Sprint model M8. Sprint version uses differnt partition scheme. You are lucky it failed. If it actually installed

you would have bricked the phone

.

Run a Sprint M8 RUU. You also need to relock the bootloader if you are s-on.

Further, saying "I have the same problem" in my experience almost never turns out to be the case. There are too many details and varying circumstances to justify making that statement. Saying "same problem" means close to nothing, and just plain lazy (in addition to inadequately describing your issue). In this case, the person you said "same problem" to doesn't have a Sprint M8, so not even close to the same thing. Much better to post your specific issue with

all the pertinent details

to the proper device forum location (in this case, you shouldn't posting to the AT&T forum section, or be using AT&T files on a Sprint model M8).
[AT&T HTC One (M8)] ajmdve:
I know, i was using a sprint RUU downloaded from HTC directly and that RUU I've already used it with another sprint m8. The only difference between both was one being soff and the other s-on. The latter had the bootloader relocked before trying to use the RUU and constantly gave problems of image flash after I unplugged the phone because the RUU wasn't doing nothing for long time. I don't know what's wrong. So I ended up using twrp backup from the other phone.
[AT&T HTC One (M8)] loyaltynzala:
How to unlock the boatload
[AT&T HTC One (M8)] redpoint73:
This has nothing to do with the topic of the thread (Kitkat RUU). Why did you dig up and "bump" a post that hasn't been active since 2015? Find a relevant topic to post to, or start a new one in Q&A section.
[AT&T HTC One (M8)] lexdba:
Do you have file to install Marshmallow or higher in this way?

I want to update the firmware to 3.19

unlocked and s-on

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.18.0.0000

(bootloader) version-baseband: 1.19.213311491.A22G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 2.23.502.3

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

(bootloader) serialno: XXX

(bootloader) imei: XXX

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul_ca

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: CWS__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: bde2f8d6

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

Thanks
[Nexus 5 Android Development] Hopper8:
F.A.Q.

Additional features included!

The main features are the compilation of the ROM with -03 flags, strict aliasing and Sabermod, along with the rest of the optimisations listed in the OP. These are all to increase performance and battery life. But of course, there are some additional features included:

Gesture unlock for lockscreen

Network speeds in status bar

Configure double tap status bar to sleep

Custom system animations

Integrated performance options in ROM

Soft reboot option

Mobile data disabled by default. This is to avoid extra carrier charges during ROM setup

SuperSU root management

Lockscreen Notifications

Advanced calculator with floating mode

Battery saving network mode: Automatic switch to 2G when screen is off.

Smooth scrolling (disable scrolling cache)

Confirm to reboot to bootloader/recovery

For a more comprehensive list, please see this post by Harsha Raj in the i9100 thread.

Mobile data isn't working!!

Once the ROM is booted, go to Settings -> Toggle 'Mobile networks' for data to be enabled.

It's disabled on purpose, by default. This is so when you first flash the ROM, no data is used, as some carriers charge heavily for even small data transfers.

What about theme chooser?

Next post down, look in the "Goodies" post to find flashable themes :)

Root doesn't work!

Enable 'Developer options'

Go to Settings -> About Phone

Tap on the Build Number 7 times

Go to Settings -> Developer options -> Root access

Choose 'Apps' or 'Apps and ADB'

How to change DPI?

Currently, this feature hasn't been ported... so you'll need to install Texdroider DPI from the playstore... or edit /system/build.prop and change ro.sf.lcd_density to the desired value

What is the Toolchain?

Source: http://en.wikipedia.org/wiki/Toolchain

What is SaberMod?

The term "SaberMod" is coming from:

Source: http://xdaforums.com/showthread.php?t=2158698

How to disable CellBroadcastReceiver

Go to Settings - Wireless & Networks - More - Mobile broadcasts
[Nexus 5 Android Development] Hopper8:
Goodies

Flashable themes

Please thank [MENTION=3126884]vampsoft[/MENTION] for his hard work in bringing colour to Slim without Xposed and theme chooser! He's made a heap of flashable vrthemes, some of which also include fancy transition animations. For screenshots, please search his past posts or see this post for one example. Also go here to thank him for his hard work!

For theme downloads, please go here for a central download location:

Link 1

Link 2

Make sure to thank vampsoft for his hard work!

Extra volume steps

To add extra volume steps into the ROM, we can edit build.prop. I use ES file explorer with root permissions granted. Navigate to /system/build.prop, and add these two lines, but change the number to what you desire. Stock is 15. After adding the lines, make sure to reboot. Done! Thanks fusionjack for the tip :)

ro.config.vc_call_vol_steps=30
ro.config.vc_music_vol_steps=20

Signatures by kroz

SlimSaber

SaberMod SlimRoms

Download here: http://d-h.st/users/kroz/?fld_id=25717#files
[Nexus 5 Android Development] Hopper8:
Outdated! Please see OP for latest build! :D

Since this is the first build, only a small summary. The rest of the info is in the OP and FAQ for now.

Initial Release:

SlimSaber-hammerhead-4.4.4-20140827.zip

-Synced with weekly 7.6

-All SlimSaber features included (Please see OP & FAQ)
[Nexus 5 Android Development] luisangel89:
Thank you. I will try it out!
[Nexus 5 Android Development] CRIME INC.:
Awesome!!! Will try this out asap

sent from my "Purified" Hammerhead
[Nexus 5 Android Development] Hopper8:
Good to hear, I hope you like it! Feel free to post up your impressions! :D
[Nexus 5 Android Development] Tylog:
Good Job. I am sure it's nice, trying to test it later.

Tapatalk Team SlimRoms
[Nexus 5 Android Development] letmedanz:
Nice one [MENTION=4851213]Hopper8[/MENTION] ;)

Good luck!
[Nexus 5 Android Development] fusionjack:
i'll also reserve a post here :p

[MENTION=2888538]letmedanz[/MENTION]: i'll try to take a look into your error again today. sorry i'm busy lately :(
[Nexus 5 Android Development] gippy2:
Hi [MENTION=1228651]fusionjack[/MENTION] .......:good:....and Good Luck [MENTION=4851213]Hopper8[/MENTION].....If you manage a theme engine anytime soon (doubt it )...Im on it ....Lol:good:
[Nexus 5 Android Development] fusionjack:
hi mate, long time not see you around in s2 thread :p

btw, what is theme engine? :p:D
[Nexus 5 Android Development] gippy2:
Yeah not been around the S2 thread as didnt want to offend some people lol...You know how touchy some people can get on xda....Oh quick question...You have a one plus one..?... Theme engine ?...Who mentioned that haha...Im running KlearKat theme ..Its awesome but I now need a rom with theme engine ...Im on LiquidSmooth atm.......running pretty sweet..Miss my slimsabor tho.....:crying:

Oh and [MENTION=4851213]Hopper8[/MENTION] you still got the old playstore ?
[Nexus 5 Android Development] Hopper8:
Hi mate thanks for popping in here :D

Hey, good to see you :) nope, no theme engine in the plans :p I still do have the old black play store too ;)

Sent from my Nexu5
[Nexus 5 Android Development] SteveMurphy:
Great to see SlimSaber here, [MENTION=4851213]Hopper8[/MENTION]. Always loved [MENTION=1228651]fusionjack[/MENTION]'s work on the i9100/i777 (the latter by way of [MENTION=5294352]cyril279[/MENTION]), so a big thank you for building this for us.
[Nexus 5 Android Development] Hopper8:
Thanks mate, I hope you enjoy just as much for N5 as well :D

Sent from my Nexu5
[Nexus 5 Android Development] Royal King:
All I want in this is now a theme engine! Can you manage to add it, please? :D
[Nexus 5 Android Development] gippy2:
I've asked.... Not likely... [emoji26]
[Nexus 5 Android Development] Hopper8:
Woah.. 3 posts above yours I say, no plans for theme engine :o I didn't change my mind overnight :p

Sent from my Nexu5
[Nexus 5 Android Development] Shanks:
I agree with this guy, I've been looking for slim rom with theme engine
[Nexus 5 Android Development] Konsumhaus:
I recognized that sometimes when I push the power-button, the N5 didn´t turn on the display.

I´ve heard that from some users with other unofficial Slim-Builds (like that from Minux31 or RobbieL811) too.

Is that a known bug?

Is there a solution for this problem?
[Nexus 5 Android Development] Hopper8:
I've never seen or heard of that personally. I haven't experienced it myself either. So no, it's not a known bug. The only thing I can think of is that your power button is faulty? Maybe enable volume button wake for a day to test whether your wake up is ok with another button?
[Nexus 5 Android Development] Konsumhaus:
...I`ll try. THX
[Nexus 5 Android Development] derboedi:
I can confirm this. Over the last few days I've been using different builds of SlimKat by RobbieL811, Minux31 and Ezio84 and I have noticed this bug a couple of times.
[Nexus 5 Android Development] hellsgod:
I can confirm this, too. I've heard from a friend he has this problem with slim stock kernel and custom and I've experienced this behavior once in the past till now.

hells
[Nexus 5 Android Development] Phazmos:
Hmm, I've tried about every custom slim build. While none except this was to my liking, never noticed this.

I do use an old version of uber kernel on everything though.
[Nexus 5 Android Development] Hopper8:
Hmmmm.. This is the first I've heard of this whatsoever :( I can't take a look at it because I can't make my device do it at all. As soon as your device has done it, please open slim centre and create a bug report and attach it here.

Sent from my Nexu5
[Nexus 5 Android Development] fusionjack:
don't push your power button too much work...double tap on status bar to make the screen off :p

anyway...this also happens on i9100 soon after boot

Sent from my One A0001
[Nexus 5 Android Development] Flamehell:
Guys is possible to change the color of the heads up notifications?Tnx a lot!:good:
[Nexus 5 Android Development] Konsumhaus:
I´d took a deeper look into the problem:

Mostly it occurs when a Message (Whatsapp, Mail, Hangouts) comes in. I get a Notification (Sound+LED),

when I push the power button, sometimes nothing happens: Display stays black. After 1-2 Seconds it shows the homescreen!

It´s unlocked by itself :confused:
[Nexus 5 Android Development] NuLLV01D:
Fantastic ROM Hopper8! Am Using Linaro Kernel With this ROM and its Just Fantastic on Performance. Got 173 Apps (ART Runtime) and Absolutely No Lag. Has Just the Features I Want. Throughly Appreciate Your Efforts for Compiling this for hammerhead. And Of Course, A Big Thanks to fusionjack for His Work!
[Nexus 5 Android Development] Hopper8:
Uploading a build as we speak :D There are more changes than just this in the build though... You'll have to wait for it to finish uploading though. Internet is being super slow, only at 40% uploaded so far and it's been over 10 minutes already :(

Hmm. This is weird indeed. Like I said, I've never seen this before. Could you grab a bug report from slim centre directly after it happens please?

Thanks for the feedback! Glad to hear you're loving it :)
[Nexus 5 Android Development] Flamehell:
[MENTION=4851213]Hopper8[/MENTION] you start to be my hero!!!!:D So in one hour we will have a new build?Great!!!!Changelog?Tnx mare,really ;)
[Nexus 5 Android Development] Konsumhaus:
O.K. I´ll do so if it happens!
[Nexus 5 Android Development] Hopper8:
As long as the upload keeps chugging away. Just at 57% uploaded now ;) when it's uploaded of course I'll post the summary and changelog like always.

Sent from a galaxy far, far away
[Nexus 5 Android Development] Flamehell:
Tnx mate.....for all the work and passion that you put inside that....:D
[Nexus 5 Android Development] Hopper8:
OK! Time for a new build! :D

Note that in build number it's still 7.8.1... but we have more changes that are not included in weekly 7.9 already. Sorry for the inconvenience, but don't worry, you're not missing out on anything :p

SlimSaber-hammerhead-4.4.4-20140911.zip

Changes:

-Lockscreen wallpaper is separate from home screen wallpaper! Settings-display-wallpaper-lockscreen. Fusionjack also modified this to be more robust, it had caused a couple of FC's before his modifications.

-Lockscreen blur! Also Settings-display-wallpaper-lockscreen

-See through lockscreen! Settings-security-see through

-Configure heads up colour and transparency

-Heads up settings are now under settings-interface

-Re add Slim dashclock to build so that TRDS for dashclock is included

See the full changelog for the full changes.

Enjoy! :D

Edit: This build is not on basketbuild yet due to my low bandwith. That'll have to wait until tomorrow. For those who used basketbuild mirror, what did you think in terms of the download speed of this mirror? Is it any good?
[Nexus 5 Android Development] Flamehell:
Tnx MAAAAANN!!!!!!:good:

---------- Post added at 02:29 PM ---------- Previous post was at 01:51 PM ----------

@Hopper8 Basketbuil is as fast as the other one for me.....one question mate,what exactly do blur effect in lockscreen?Tnx:good:
[Nexus 5 Android Development] Hopper8:
Hmm ok, for now I'll keep using both mirrors once I get to more bandwith.

Blur effect does exactly that, it will blur the picture you have on the lockscreen. It looks pretty cool. You can also set the radius of the blur, which basically will give a little or small amount of blurring. Looks pretty cool :)
[Nexus 5 Android Development] zulu888:
This has been my DD for 2 weeks now. Another quality build that keeps getting better and better. Thanks much!
[Nexus 5 Android Development] nikhilgavit:
Hopper it seems you forgot to add lockscreen blur and lockscreen wallpaper in the 09/11 build. Coz i see no 'wallpaper' tile in settings.
[Nexus 5 Android Development] Hopper8:
Wrong :p it's in there, go to settings - display-wallpaper-lock screen. Then choose a wallpaper and blur it if you wish :) did you read the release notes I posted? I wrote the exact same thing there..

Edit : my bad! No I didn't write the same thing, I made a mistake. Fixed now :)
[Nexus 5 Android Development] Konsumhaus:
A feature I know from other roms like Carbon and LiquidSmooth is in Sonds / Advanced Settings that you can coose the number of volume-steps. So you can for example better regulate the headset-volume...In my mind it´s a useful feature.

Is this a feature that´s interesting for you to put into SlimSaber?

If not, it´s o.k. because of: "stay slim - stay fast" :good::cowboy:
[Nexus 5 Android Development] Flamehell:
It's there guys....it took me some minutes too to find the right direction :D But i have to say that i love this rom,is great!! [MENTION=4851213]Hopper8[/MENTION] are you using the stock kernel?Because i would like to know if is better than code blue.....:good:
[Nexus 5 Android Development] Jax Teller:
That's why he was confused.;)
[Nexus 5 Android Development] Hopper8:
Hmm I will take a look :) this is something that I also like myself. I'm not sure if I'll get the user configurable number of steps or if it will be to change the number of volume steps by default. [MENTION=1228651]fusionjack[/MENTION] what do you think?

Of course I use stock kernel ;) if I build it, I run it. Code blue is my favourite custom kernel though. It's like everything with phone modifications, some may like it and another won't. Test stock kernel and see :) but performance and battery are a great mix for stock kernel.

Thanks, I missed that [emoji33] edited the post now.

Sent from my Nexu5
[Nexus 5 Android Development] fusionjack:
yes, it is configurable, but for now only through build.prop. i can't remember the build prop name...

if i have spare time this weekend, i could try to make it configurable via sound settings. such a feature doesn't hurt performance :)

---------- Post added at 12:57 PM ---------- Previous post was at 12:48 PM ----------

oh, concerning the blurriness of the latest lockscreen changes, there are two new lockscreen features which cannot be enabled together:

lockscreen see through

i called this blurred see through since the blur is automatically applied. the blur radius is not configurable like other rom. too many options will confuse user :p

this option is available in settings - security - see through

lockscreen wallpaper

by setting a wallpaper for lockscreen, there is a button to set the blur radius. otherwise, the wallpaper is applied as it is...

this option is available through settings - display - wallpaper - lock screen or in any launcher when you set the wallpaper
[Nexus 5 Android Development] Flamehell:
Tnx a lot [MENTION=1228651]fusionjack[/MENTION] for this amazing rom....is getting better and better!!!:good:
[Nexus 5 Android Development] Hopper8:
Oh nice, I didn't know that :D except I can't find the name of the build.prop edit that works either :p

If you do have a look on the weekend, this could be a help:

https://github.com/LiquidSmooth/and...mmit/f8a2349a80e69a79dd8f733dbc6a285cadc2daad

https://github.com/LiquidSmooth/and...mmit/f38a5ace541598b5e1fea6cd2ca7579931396b7d

Liquid smooth is able to change the maximum number of volume steps from settings. I think this is the commits for it :)