yashsingh1/xdaforums huggingface dataset:
[HTC Desire 601] -Duir-:
You actually don't have to Unlock as that will wipe the data partition and remove a few stock apps that someone in their infinite wisdom decided to store there. Perhaps as a deterrent to unlocking?

Unlocking simply makes the process easier, but you can do everything with just S-OFF. You can make a hboot flashable zip to install a custom recovery onto your phone and then that's all you need to install custom ROMs. If the ROM includes a custom kernel, it will flash in through the recovery since you're S-OFF. If you want to flash a custom kernel by itself, you can make an hboot flashable zip for that as well.

Also, if the system partition on the phone is stock, you won't be able to S-OFF and UNLOCKED at the same time due to the "/system/bin/hcheck" file. You will need to remove it to have both S-OFF and UNLOCKED, otherwise the device will just bootloop. And since the only way to delete the file will be by rooting the device, installing a kernel without write protection, or through the file manager of a custom recovery, you'll already need to make that custom hboot flashable zip anyways since that would the preferred method as opposed to putting your device S-ON to be able to UNLOCK it and hoping you'll still be able to S-OFF again later.

As [MENTION=5839515]Child's Play[/MENTION] mentioned the RUU on my drive will work. All files in there are for/from the Virgin Mobile (ZARA_CL) variant of the Desire 601 (unless otherwise noted). Also, even though I no longer use that as my primary device, I will still be maintaining that drive and posting the KK update when it finally hits. Which, :fingers-crossed: , should be tomorrow.

EDIT: I heard some of the partitions on the device are remapped in 4.4.2, I don't know if that's true for the partition this affects, but I totally forgot there's a thread that details unlocking the bootloader without using HTCdev.com and without having to have your sh-tuff wiped (it does, of course, require S-OFF). The thread is here and I just read through it and does require root also so you'd still need to install TWRP or CWM via a hboot flashable zip, but if you want to be unlocked it would be optimal way to do it as nothing will get wiped.

Also if you need any help making the zip, I should be able to make one if you can provide the custom recovery file you want to use and some information from your device so I can make a compatible android-info file.
[HTC Desire 601] gumbyx84:
Would you recommend running the RUU to get back to a stock phone or just stick with restoring a stock backup and manually push the stock recovery and bootloader? While I have experience flashing ROMs and kernels, this will my first OTA update and I'm a little worried screwing up.
[HTC Desire 601] -Duir-:
The RUU is by far the easiest, as will restore everything for you. The only drawback RUUs have is that they wipe the device (but that's just part of the job of returning your phone stock that it does so well :) ), but if you're already talking about restoring a backup from stock that shouldn't be an issue.

Assuming you use the stock apps, use the Contacts and Messaging apps to backup that data and you can then use their updated versions afterwards and easily restore it. Then use Titanium Backup (or similar) to back up all the other apps and app data you want to save. Also, make sure you backup anything stored on the internal sdcard of the device as I'm fairly certain the RUU will return that to stock as well.
[HTC Desire 601] Kolma:
Will running the RUU also remove s-off or will that stay intact?

Currently S-off with locked loader, stock recovery, stock rom rooted.

I think all I need to do is remove root and i can update it fine and dandy, but I kind of want to start fresh anyways. just don't want to have to s-off again.

(easiest way to remove root?)
[HTC Desire 601] -Duir-:
No it won't remove S-OFF. Ran it on mine without issue. For just removing root there should be something it the app settings for that. I've never tried it so not sure how it works (could be a recovery script or something).

Here's the photo of the option in SuperSU.
[HTC Desire 601] xXminiWHOOPERxX:
Anyone get VM update yet?
[HTC Desire 601] gumbyx84:
I appreciate the quick response. I'm going to wait to do the RUU and backups until I know the OTA is live and we have a working custom recovery tested and ready to go.
[HTC Desire 601] Child's Play:
Yes it works. Ive done that
[HTC Desire 601] sickday:
Mo said on twitter the update will roll out tonight, so we've got a couple hours at least to wait.
[HTC Desire 601] Kolma:
Gonna be working tonight unfortunately but hopefully I don't run into any trouble updating or else I won't have a usable phone till I get back home D:

Can't believe it's finally coming :crying:

Unless... we get the run around again..:rolleyes:
[HTC Desire 601] Kolma:
Still no update but i feel as if I can almost taste it
[HTC Desire 601] xXminiWHOOPERxX:
10pm EST in New York and still no update!
[HTC Desire 601] gumbyx84:
I think they meant PST. Which means they still have 4 hours.
[HTC Desire 601] -Duir-:
Yeah HTC is in Washington, so they do probably mean evening in PST. Though if the update isn't here before 10pm PST, I won't be optimistic at all about it still pushing tonight.
[HTC Desire 601] sickday:
Just got the update notice! :good:
[HTC Desire 601] -Duir-:
LOL Me too.

It's Heeeeeeere!
[HTC Desire 601] xXminiWHOOPERxX:
Downloading now expect sense 6 cl users
[HTC Desire 601] -Duir-:
It's gonna take a minute too...
[HTC Desire 601] xXminiWHOOPERxX:
Mines done
[HTC Desire 601] -Duir-:
Mine can't decide how much longer is left. At the beginning it said as much as 3 hours, am 71% now and it's gone from saying anywhere between 3 minutes to an hour. :confused:

EDIT: DONE! Took 37 minutes, but it's done. Uploading it now to my Drive while it updates my phone. :)
[HTC Desire 601] chief_4rm_tha90s:
Got the update!!!!! So happy right now lol
[HTC Desire 601] Kolma:
How can I get the RUU from the update?

It doesn't want to play nice for me keeps failing during the update giving me the no recovery splash screen :(

*edit 1

Never mind!

http://www.htcdev.com/devcenter/downloads

They added 4.4.2

*edit 2

wait it says wwe...

Worldwide edition? would this be the wrong one then? this any other Virgin Mobiles get this? (I thought VM was just US and canada)
[HTC Desire 601] -Duir-:
As the update just hit, I think will be a while before a RUU is even available using the updated version let alone leaked and posted here. Best bet right now would be run the original RUU and then let it update.
[HTC Desire 601] Kolma:
any idea where i can get the original RUU then?
[HTC Desire 601] -Duir-:
Wow, so not impressed with the WiFi on this phone. Took 37 minutes to download on my phone, but 14 minutes to upload it from my PC to my Drive.

Oh well, KK OTA is up on my Drive now.

---------- Post added at 10:31 PM ---------- Previous post was at 10:30 PM ----------

On my Drive.
[HTC Desire 601] xXminiWHOOPERxX:
Can someone provide nandroid backup?
[HTC Desire 601] Kolma:
Yours also says WWE

is WWE just the USA version?

cause that's on the site too.
[HTC Desire 601] -Duir-:
Not sure we have a working recovery for KK. Rumor was the some of the partitions got remapped. I'm pulling that info now so someone with knowledge of TWRP can compare and modify if necessary.

---------- Post added at 10:37 PM ---------- Previous post was at 10:34 PM ----------

That just means it's the World Wide English version for Sprint/VM, the OTAs say it too.
[HTC Desire 601] xXminiWHOOPERxX:
nandroid baackuo of 4.4.2?

---------- Post added at 05:43 AM ---------- Previous post was at 05:41 AM ----------

twrp 2.7.1.0 supports selinux. should be fine for a nandroid if people flash firmware first manually.
[HTC Desire 601] -Duir-:
The "on my drive" was in reply to Kolma's question about the RUU.

TWRP is still based off the partition info before KK, so if they did get changed it will be incompatible because of partitions, nothing to do with SELinux.
[HTC Desire 601] xXminiWHOOPERxX:
means i cant update unless recovery is updated or i find a pure stock rooted rom
[HTC Desire 601] Kolma:
Running your RUU

Phone only says HTC in white/silver on a black background

while PC shows *view attachment*

Has taken over 10 min like this
[HTC Desire 601] -Duir-:
I can confirm the partitions are different.

After KitKat:

cat proc/emmc

dev: size erasesize name

mmcblk0p22: 000ffa00 00000200 "misc"

mmcblk0p34: 00fffe00 00000200 "recovery"

mmcblk0p33: 01000000 00000200 "boot"

mmcblk0p35: 71fffc00 00000200 "system"

mmcblk0p29: 00140200 00000200 "local"

mmcblk0p36: 0efffe00 00000200 "cache"

mmcblk0p37: 130000000 00000200 "userdata"

mmcblk0p25: 01400000 00000200 "devlog"

mmcblk0p27: 00040000 00000200 "pdata"

mmcblk0p30: 00010000 00000200 "extra"

mmcblk0p38: 01900000 00000200 "carrier"

mmcblk0p16: 02d00000 00000200 "radio"

mmcblk0p17: 00a00000 00000200 "adsp"

mmcblk0p15: 00100000 00000200 "dsps"

mmcblk0p18: 00500000 00000200 "wcnss"

mmcblk0p19: 007ffa00 00000200 "radio_config"

mmcblk0p23: 00400000 00000200 "modem_st1"

mmcblk0p24: 00400000 00000200 "modem_st2"

mmcblk0p38: 01900000 00000200 "carrier"

mmcblk0p32: 01fffc00 00000200 "reserve"

mmcblk0p28: 00004000 00000200 "control"

Before KitKat:

cat /proc/emmc

dev: size erasesize name

mmcblk0p21: 000ffa00 00000200 "misc"

mmcblk0p32: 00fffe00 00000200 "recovery"

mmcblk0p31: 01000000 00000200 "boot"

mmcblk0p33: 71fffc00 00000200 "system"

mmcblk0p28: 00140200 00000200 "local"

mmcblk0p34: 0efffe00 00000200 "cache"

mmcblk0p35: 130000000 00000200 "userdata"

mmcblk0p24: 01400000 00000200 "devlog"

mmcblk0p26: 00040000 00000200 "pdata"

mmcblk0p29: 00010000 00000200 "extra"

mmcblk0p36: 01900000 00000200 "carrier"

mmcblk0p16: 02d00000 00000200 "radio"

mmcblk0p17: 00a00000 00000200 "adsp"

mmcblk0p15: 00100000 00000200 "dsps"

mmcblk0p18: 00500000 00000200 "wcnss"

mmcblk0p19: 007ffa00 00000200 "radio_config"

mmcblk0p22: 00400000 00000200 "modem_st1"

mmcblk0p23: 00400000 00000200 "modem_st2"

mmcblk0p36: 01900000 00000200 "carrier"

mmcblk0p30: 01fffc00 00000200 "reserve"

---------- Post added at 11:05 PM ---------- Previous post was at 11:00 PM ----------

The silver on black HTC screen is part of the RUU process, but there should be a progress bar at some point. I wonder if while failing to fully update maybe your hboot or something got updated and the RUU just is taking a while to error out.
[HTC Desire 601] Kolma:
Would canceling/unplugging phone/battery mess up my phone?

There is still no progress bar or error or anything
[HTC Desire 601] -Duir-:
I honestly don't know. If it's not actually doing anything then I would think not, but I really couldn't say.

---------- Post added at 11:21 PM ---------- Previous post was at 11:14 PM ----------

Would a system dump be helpful? I can upload an updated one of those to my drive.

EDIT: Actually, gonna do that anyways in case it will benefit any other users or devs for other devices with similar specs.
[HTC Desire 601] Kolma:
well phone booted up fine.

Downloading 4.4.2 ruu from htcdev and seeing how well that works out for me...

*edit nvm... would have to build it... sigh
[HTC Desire 601] -Duir-:
Wait..what?!? I was just on there checking for kernel source, I didn't see any RUUs (or kernel source for that matter).

LOL missed your edit. :silly:
[HTC Desire 601] Kolma:
Desire

Virgin Mobile

WWE

CRC

3.4.0

v4.4.2	160 MB

1.13.652.1_R

Filter by: Carrier: Virgin Mobile
[HTC Desire 601] -Duir-:
That's the original Desire model, not the 601. Cant believe that phone got 4.4.2 before us LOL.
[HTC Desire 601] Kolma:
I dont think that phone is meant to have 4.4.2

Everywhere but on some HTC sites call it HTC Desire and not HTC Desire 601

(Virgin Mobile drops the 601 too)

*edit

There's another desire with the info

Desire

Virgin Mobile

WWE

MR

2.6.32

v2.2	81.5 MB

2.29.351.2
[HTC Desire 601] -Duir-:
I don't know, but either way it's a different software and kernel version.

When I found if before for JB it was on the 601 page. It was a different carrier though, but the kernel versions were the same.
[HTC Desire 601] xXminiWHOOPERxX:
please upload /system and /data/app
[HTC Desire 601] Kolma:
already factory reset my phone via rom, redownloading update so i can try again
[HTC Desire 601] xXminiWHOOPERxX:
My ota package keeps saying my Rom is missing files.
[HTC Desire 601] -Duir-:
[MENTION=4032323]Kolma[/MENTION] if you want, boot into your bootloader and check the hboot version. Maybe it updated those files even though the OTA failed.

Here's what mine looks like after the update:

previous hboot was 2.20.
[HTC Desire 601] Kolma:
I'll check after my update fails again (unless it passes)
[HTC Desire 601] -Duir-:
system is almost done uploading to my drive now, will grab /data/app in a bit

Sounds like something got modified/removed from it's check.

Did you make any modifications to /system?
[HTC Desire 601] xXminiWHOOPERxX:
Deleted

---------- Post added at 07:07 AM ---------- Previous post was at 07:06 AM ----------

I flashed jmz odex stock Rom.
[HTC Desire 601] -Duir-:
Then you're at the very least missing the /system/bin/hcheck file that causes it to bootloop when S-OFF and UNLOCKED.
[HTC Desire 601] xXminiWHOOPERxX:
Yeah so I need system and data/app.. also need new recovery fstab so I can make cwm
[HTC Desire 601] -Duir-:
:( I really hope it works for you this time. :fingers-crossed:
[HTC Desire 601] Kolma:
Bootloader says im on Hboot 2.22.0000

Radio-1.14.50.1002

So it gets that fat...

While updating progress bar stops and i get this logo on my screen

Except the triangle is inside the phone
[HTC Desire 601] -Duir-:
Yep, working on pulling and updating those.
[HTC Desire 601] xXminiWHOOPERxX:
Okay cause I can't flash KK without recovery
[HTC Desire 601] -Duir-:
You know, I was going through my drive files and I have a recovery that's supposed to be for KitKat. I know it was one somebody posted in this thread but I can't remember who and it's been there since March 26.

EDIT:

There don't appear to be any files in /data/app/

pull: building file list...

0 files pulled. 0 files skipped.
[HTC Desire 601] xXminiWHOOPERxX:
Well that's fine.. I need /system and files for making recovery
[HTC Desire 601] Kolma:
is there any chance the recovery will be done tonight and at least a stock rom so that I can flash it that way?
[HTC Desire 601] xXminiWHOOPERxX:
If I can get recovery files I can have recovery most likely done, stock Rom tomorrow possiblely
[HTC Desire 601] -Duir-:
System dump and recovery.fstab are on my Drive.

Also there are:

stock KK boot.img

stock KK recovery.img

stock KK hboot (v2.22.0000)

The whole KK OTA

Current known paritions (cat proc/emmc)
[HTC Desire 601] Kolma:
-Duir-

would OTA_ZARA_CL_K44_SENSE55_MR_Sprint_WWE_VM_2.15.652.3-1.10.652.9_R3_release_378339.zip be the rom file?

I can try to install it via the stock recovery (would that even work)?

The highlighted option says "apply from sd card"
[HTC Desire 601] xXminiWHOOPERxX:
CWM Recovery Builder seems to be down and not working..
[HTC Desire 601] Kolma:
Ok... attempting to run that .zip in recovery gave me an error

Verifying current system... "/system/bin/hcheck" has unexpected contents.

Installation aborted.
[HTC Desire 601] xXminiWHOOPERxX:
You'll also run into /data/preload/PDf app of some sort will be missing too
[HTC Desire 601] Kolma:
doesn't work in fastboot update [filename].zip

archive does not contain 'android-info.txt'

archive does not contain 'android-product.txt'
[HTC Desire 601] -Duir-:
Are you using JMZs rom as well Kolma? the "hcheck" file was the one that caused bootloops if you were unlocked and S-OFF

YES! That was the folder that got wiped if you unlocked via HTCdev. It had apps like Calculator and a few other things in it.

I would recommend trying your luck with the RUU, mini.
[HTC Desire 601] Kolma:
I was on JMZ's rom a while back but I've been on stock.
[HTC Desire 601] -Duir-:
I think we all deleted that file so we could be unlocked and S-OFF at the same time, could be yours is missing to?

I ran the RUU on mine once I stopped using it in preparation for today..only reason I've had no hitches with update.

---------- Post added at 01:10 AM ---------- Previous post was at 01:09 AM ----------

Gonna check and see if there is a preload folder still..

EDIT: No /data/preload/ folder anymore :)

Also, first new mod incoming Soon™
[HTC Desire 601] xXminiWHOOPERxX:
I'm on Linux so ruu is out of the question.
[HTC Desire 601] Kolma:
Testing the RUU again

How long should it last?

Gave up after 30 min its first try a couple hours ago
[HTC Desire 601] xXminiWHOOPERxX:
Well I'm using latest twrp, and going to do a nandroid backup, and then flash new firmware and the Rom I just made.. set updater-script to extract to the new partition layout so we will see :)
[HTC Desire 601] -Duir-:
OK, first mod for Virgin Mobile Desire 601 KitKat users is up and ready. I modified the new hboot version to remove the annoying red text about development purposes only that displays if you are UNLOCKED/S-OFF.

Anyone interested can find the thread here.

I gave it it's own thread, not sure if it's more or less likely to get buried being in it's own thread versus posted in this one, but I'm hoping posting stuff for this device in it's own thread will encourage the admins to finally give us our own section.

---------- Post added at 01:56 AM ---------- Previous post was at 01:50 AM ----------

Both the RUU and your phone should display progress indicators, with the RUU being a bit more detailed about what it's currently flashing. I'd say anything over 10 minutes and something is wrong.

Also, what's your hboot version now? I noticed your recovery looks the same, and I was in mine briefly after updating and pretty sure it said KOT49H as well.

They always include the recovery.img with updates so not actually sure if it got updated or even if the old one said KOT49H as well.

---------- Post added at 01:58 AM ---------- Previous post was at 01:56 AM ----------

Are you using the TWRP version you mentioned from their site, or the one from my drive?

It'll be tomorrow before I do it, but I'll try my luck with the recovery in my drive, see what happens.
[HTC Desire 601] xXminiWHOOPERxX:
Tried both, yours doesn't support SELinux... Really need recovery that works cause flashable zip is done
[HTC Desire 601] Kolma:
What's the fastest way I can unlock my phone (if needed but fastboot oem unlock isn't working)

Install a recovery, and install a stock rom so i can then go back and install stock recovery and try this update... again

I forgot how to install a recovery (shame on me...) need a link to a proper one as well :(
[HTC Desire 601] -Duir-:
Did it work but just not support SELinux? I know the one [MENTION=1219335]jmz[/MENTION] made had SELinux support so the one in my drive was likely made by someone else, but was at least supposed to be compatible with KitKat.

If I knew what was needed to update his with the new partition info I'd try to see if I could do it. If it's as simple as extracting the IMG and editing a file then that's certainly something I could do (and I may look into that later).

---------- Post added at 02:39 AM ---------- Previous post was at 02:33 AM ----------

Is your unlock token not working anymore? If not, I think you did get the new hboot and would need to get a new token from htcdev. With the partition remapping the guide for unlocking without htcdev likely won't work without some changes. I'll look into what changes need to be made.

If you are S-OFF you can flash a recovery through a special zip file using the bootloader.
[HTC Desire 601] Kolma:
I am S-Off and Relocked
[HTC Desire 601] -Duir-:
Missed this post earlier, that is the updated HBOOT. I think you just need to flash the old hboot and recovery to use the RUU.

I can make a zip to do that.
[HTC Desire 601] xXminiWHOOPERxX:
I'm done with trying to update.!
[HTC Desire 601] Kolma:
We'll get there eventually...
[HTC Desire 601] xXminiWHOOPERxX:
All I need is a functional recovery and we would have a flashable 4.4.2...And zara_ul recoveries should work if they hold the same mount points, but who can find there recovery.!
[HTC Desire 601] -Duir-:
Here's the zip. It's basically the firmware.zip from the first OTA Virgin Mobile had for the device (until they just started shipping the devices with the update). It's got all the same files the firmware.zip from the KK OTA would've replaced (not just recovery and hboot) though so should hopefully make the RUU more likely to want to run.

Copy it to the root of your external SDCARD and reboot to the bootloader. Hit the power button if it boots to fastboot not hboot and then follow the prompts.

Let me know of any issues and also if it's successful.

SIDE NOTE: The guide for unlocking without htcdev should still work as the partition it modifies (mmcblk0p3) is exactly the same.
[HTC Desire 601] Kolma:
Thanks, I'll go ahead and try this.

And yeah just reunlocked my phone via htcdev. still had my unlock_Code but went through all the steps anyways

*edit1

PROGRESS BAR GET ON RUU

YES YES YES YES YES

Now i just need this to finish and hope the update works as it should!

thank you thank you thank you!

*edit2

bar stopped with a small bit left..

Will continue to stare at bar till it moves
[HTC Desire 601] -Duir-:
I don't think they have a fully working KK recovery. In fact, the one on my drive was supposed to be that one since they got their KK update back then.

I'm downloading TWRP 2.7.1.0 for ZARA_CL now (since I had to grab the update for M8 anyway) will poke around in it see what I can see.

---------- Post added at 03:39 AM ---------- Previous post was at 03:21 AM ----------

If it works that little bit left should just turn into your device rebooting and the RUU saying it's complete.
[HTC Desire 601] Kolma:
Hasn't turned into anything thus far... thinking about just pulling the plug and seeing what's what
[HTC Desire 601] -Duir-:
I know when you manually flash an RUU zip (versus an running an .EXE) it stops pretty close to the end and you have to initiate a reboot, but the RUU should do that for you. If it stays for too long might have to manually reboot it and hope it worked.
[HTC Desire 601] Kolma:
your zip worked no problem it was running the RUU exe after it that borked

Ended up back in previous situation trying to run kitkat update off the recovery in which i got the red triangle, running your zip again then going to download kitkat update again and try to do a proper update.
[HTC Desire 601] -Duir-:
I didn't mean the zip I provided. Sometimes people will release RUU.zips (meant to be flashed via special "fastboot oem rebootRUU" command). Those will show progress to a certain point and then you have to initiate a reboot command manually.

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

Cross your fingers.

I modified TWRP and it has booted - let's see what happens now...
[HTC Desire 601] Kolma:
Welp, no luck. both after your flash and after the RUU

the kitkat update borks at the same part every time :(
[HTC Desire 601] -Duir-:
Weird, did the RUU eventually finish or did you manually reboot it?

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

I can offer some good news though:

Won't help you much until you get KK though.
[HTC Desire 601] Kolma:
manually restarted

Side note: should i relock phone before attempting KK update?
[HTC Desire 601] -Duir-:
Someone in this thread posted you did not need to be, but I always have been.

I know that you did need to be in the past, but no clue if that changed. I know you do for the RUU.
[HTC Desire 601] Kolma:
Also my hboot is still 2.22
[HTC Desire 601] -Duir-:
You ran the OTA install again though right? For some reason it's going as far as to update that but not the whole thing.
[HTC Desire 601] Kolma:
it keeps failing the hcheck for whatever reason
[HTC Desire 601] Vency77:
2.22 is the KK hboot. As I saw from Diur's proc/emmc, the partitions are like on the zara_ul KK, which means the recoveries should work on both. Here is TWRP for hboot 2.22(KK)(thanks to standak14), dont know for the SElinux support though....