yashsingh1/xdaforums huggingface dataset:
[HTC Desire 601] conductive:
Do you have an intellegent error?

Can you change the permissons of hboot before or after flash so that it can be overwrtten?

Use dd to flash w 512 BS or other necessary parameters. Flash should not care. Who is shutting you down? Do we need some sort of compatiblity list?

Did we ever get any intellegent partition information or we just a bunch of flash junkies?

---------- Post added at 11:58 PM ---------- Previous post was at 11:36 PM ----------

Sweet....

To avoid some of the poblems others have had had it appears that I should

Update to the latest OTA

Update to the latest ADB or the latest linux tools (just released on the 26th)

s-off

unlock

flash/run this recovery.

Probably attempt a titanium backup along the way.

Is this correct?

Is there anything we might need from my stock rom before I blow it away?

Android 4.4.2

Sense 5.0

SDK 5.41

Kernel 3.4.10.......................

***LOCKED****

ZARA_CL S-ON

HBOOT 2.2.0

Radio 1.14.50.1003
[HTC Desire 601] gumbyx84:
cwm

Sadly I am kind of a newbie when it comes to low-level android stuff so bear with me. I don't think I can change thepermissions of hboot since I am still s-on. If I can access the device with adb and change permissiosn that way, I might be able to. What I'm trying to find out is if firewater will work with twrp adb or not. If it will, I should be able to get s-off and be able to flash a working hboot and run RUU.
[HTC Desire 601] xXminiWHOOPERxX:
That won't happen in IC :)
[HTC Desire 601] chief_4rm_tha90s:
can't wait :D
[HTC Desire 601] Child's Play:
Boot into bootloader and tell me a version of hboot
[HTC Desire 601] xXminiWHOOPERxX:
Just waiting for my team mate to fix data and it will be released for cl users
[HTC Desire 601] gumbyx84:
2.20. I'm trying to get back to the JB hboot as duir says that will allow me to run RUU

Update: When I try to recover just the boot image from my backup it fails. How would I go about flashing everything BUT the boot image? I wonder if I will be able to boot into Android even with the new hboot.
[HTC Desire 601] Child's Play:
U dont need to downgrade. 2.20 is the jb hboot
[HTC Desire 601] gumbyx84:
Then why won't RUU work? Or for that matter my nandroid backup?
[HTC Desire 601] Child's Play:
Bec u need to get s-off 1st then relock the bootloader then run the ruu. I dont think u can run the ruu with s-on. Some1 needs to correct me
[HTC Desire 601] xXminiWHOOPERxX:
Only way you can run RUU being s-on is when the boot loader hasn't ever been touched.
[HTC Desire 601] Child's Play:
Ok thank u. U forgot to relock the bootloader
[HTC Desire 601] -Duir-:
Glad it's working for ZARA_UL users.

The version of TWRP I posted is only for users on the KitKat OTA as it remaps the Boot, Recovery, Userdata, and System partitions. As such, it will only work on updated devices. For devices that aren't updated you want the official version from TWRP's website.

---------- Post added at 04:59 PM ---------- Previous post was at 04:58 PM ----------

You can be S-OFF and run the RUU, but yes, the bootloader needs to be locked/re-locked.
[HTC Desire 601] gumbyx84:
The bootloader was locked. I'll try it agian

ATM this is what my hboot screen shows

*** TAMPERED ***
*** RELOCKED ***
*** Secuirty Warning ***
ZARA_CL PVT SHIP S-ON RL
HBOOT-2.22.0000
RADIO-1.14.50.1003
OPENDSP-V16.2.0268_noBeats.0902
OS-2.15.652.3
eMMC-BOOT 1024MB

Update: Relocked bootloader. Following is what showed up after running "fastboot oem lock"

C:\Users\gumbyx84>fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi_dsi_panel_off
(bootloader) pm8038_vreg_disable function, vreg_id = 1
(bootloader) pm8038_vreg_disable function, vreg_id = 9
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
FAILED (status read failed (Too many links))
finished. total time: 1.232s

After the bootloader rebooted it now says relocked but shows a security warning. Going to try RUU now

Update: RUU still fails after relock with error 155
[HTC Desire 601] standak14:
*:o
[HTC Desire 601] gumbyx84:
Just noticed something after pulling the phone from the computer after RUU failed. Fastboot screen shows up and shows following

RUU

Loading zip info fail!
Update Failed!

That mean anything to you guys?
[HTC Desire 601] Child's Play:
Try to disable anti-virus and windows firewall. Make sure the battery is fully charged
[HTC Desire 601] gumbyx84:
Doing so now.

Here are the steps I'm taking to run the RUU

Boot into hboot/bootloader

Switch to fastboot

Verify device is connected with "fastboot devices"

Run RUU as Administrator

Update: RUU failed again with "[ERROR155]:UKNOWN ERROR". Phone boots into fastboot-RUU mode but just sits there and RUU bring up the error message. I can't access the ReadMe so I can't see what the error

Doing some research on my own to figure out how to get past this. This is what I get runni-ng fastboot getvar all

(bootloader) version: 0.5
(bootloader) version-bootloader: 2.22.0000
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.15.652.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT3BJSD00129
(bootloader) imei: 990001453259574
(bootloader) meid: 99000145325957
(bootloader) product: zara_cl
(bootloader) platform: HBOOT-8930
(bootloader) modelid: 0P4E10000
(bootloader) cidnum: SPCS_002
(bootloader) battery-status: good
(bootloader) battery-voltage: 4319mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-7778cb8b
(bootloader) hbootpreupdate: 11

Also does anyone know if there is a RUU.zip for the JB OTA? I'd like to try forcing the RUU through by manually flashing it via rebootRUU
[HTC Desire 601] Child's Play:
I just googled to find out what it means and it means u need to relock the bootloader but u already relocked the bootloader. I dont know why u keep getting that error msg
[HTC Desire 601] gumbyx84:
Do you think I should try removing the tampered flag and "fully" lock the bootloader using this method? That is all I can think to try
[HTC Desire 601] Child's Play:
It has nothing to do with ur issue. U can try to unlock the bootloader, relock it then run the ruu again.
[HTC Desire 601] gumbyx84:
I have. I'll keep trying for another hour or so. Worse comes to worse, I will probably follow those steps as I will have to try and get it swapped out via the service plan I have on it.
[HTC Desire 601] -Duir-:
The RUU will actually remove the tampered flag for you (when it actually runs correctly).

If the hboot is getting downgraded to 2.20.0000 I'm not sure what would prevent it from running. Hopefully, someone somewhow will leak a 4.4.2 RUU for us.
[HTC Desire 601] gumbyx84:
I hope so. Sadly I don't think I can be without a phone for that long. If I can't gt this working by Monday I'll be trying to get a replacement phone. Hopefully another Desire.
[HTC Desire 601] -Duir-:
I updated the TWRP link in my earlier post and added it to my signature. Only difference in this version is it will display "v2.7.1.1 (KK)" instead of 2.7.1.0 in an effort to help distinguish which version (the official non-KitKat compatible or this one) is installed.
[HTC Desire 601] tonydd:
Does the KK twrp remove the battery icon when charging while powered off?
[HTC Desire 601] -Duir-:
It should properly support charging while powered off. It's just the official 2.7.1.0 with the partitions updated.
[HTC Desire 601] gumbyx84:
Still no luck with RUU. I was able to bring up the RUU ReadMe file. This is what it has to say about Error 155

ERROR [155~159]: IMAGE ERROR
One of these error messages will appear when you use the incorrect RUU to update and the image file size is larger than the Flash ROM size. In this case, download the correct RUU version and try again.

I wonder if the partition table is screwed up and that is what is causing the issue. If so, I doubt a new RUU can even fix that. Maybe the partition table is that of KK and that is why the RUU isn't working? Would anyone have a nandroid backup of KK on zara_cl I can try and restore from? At this point I'll try anything as it looks like I will be getting this swapped out on Sunday.
[HTC Desire 601] -Duir-:
Easy way to find out:

Boot into custom recovery

plug phone into PC

open a command prompt so you can run adb (hopefully you have that, if not you need it)

type "adb shell" ENTER

then "cat proc/emmc" ENTER

Paste the results here (right-click, select all, press enter, then paste into the post).

I can use that information to tell if they're remapped or not.
[HTC Desire 601] jizzle0930:
Do any one have a backup for alltel? When I try to flash jmz ROM it won't stick. Currently on virgin mobile with no mms
[HTC Desire 601] gumbyx84:
Here is your output

~ # ←[6ncat proc/emmc
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"
~ # ←[6n

Not going to lie, the # ←[6n in the command prompt worries me.

Side note: TWRP says there is no OS installed. This is using the official twrp build for Zara_cl
[HTC Desire 601] -Duir-:
That's normal, idk what it means, but for being in TWRP it's normal.

Your partitions have been updated by the OTA, so for twrp to work you would need the updated version.
[MENTION=4032323]Kolma[/MENTION] This maybe what's causing problems for you as well.

With the partitions being changed it would explain why the RUU is failing.
[HTC Desire 601] jizzle0930:
Anyone going to help?
[HTC Desire 601] -Duir-:
Are you flashing JMZ's for Alltel or for VM?

Both can be found here. Also, be aware that these are JB not KitKat.
[HTC Desire 601] jizzle0930:
Alltel but either way it won't stick when I flash it comes back no ROM installed I'm on VM ROM with no MMS
[HTC Desire 601] -Duir-:
Well you obviously have a ROM installed because you're sending these from you're phone. Only thing I can suggest is going to

Settings -> System Updates and doing Update profile and Update PRL.
[HTC Desire 601] gumbyx84:
Funny how lack of sleep and (metaphorically) pounding your head up against the wall for hours on end makes you think of things you normally wouldn't. So who has a TWRP nandroid of KK they are willing to part with? Was there one in the thread already?
[HTC Desire 601] Vency77:
http://xdaforums.com/showpost.php?p=53695768&postcount=2547

The recovery that you should use is also mentioned at the post :))
[HTC Desire 601] gumbyx84:
I restored from that backup and did a factory reset.The phone boots past the VM boot screen but just sit on the" HTC Powered by Android" screen with the white background.

View attachment 2822129

My hboot is still 2.20. Should I assume this is causing the issue? Can anyone point me in the direction of getting the new hboot?
[HTC Desire 601] jizzle0930:
That don't work I've tried it multiple times. I just need a backup to try and see what happens
[HTC Desire 601] Child's Play:
Ruu error codes http://www.htcsensationforum.com/htc-sensation-rooting/a-few-ruu-error-codes/?wap2

It doesnt make sense. U r using the right ruu. Flash the ruu zip?

---------- Post added at 11:53 AM ---------- Previous post was at 11:29 AM ----------

Wait a min. I just noticed. Ur hboot is 2.22 its for kk. U need to downgrade but u cant bec u r s-on now it makes sense thats y the ruu wont run
[HTC Desire 601] patrik.KT:
CyanogenMod 11

Hi all

sorry, if somedbody already had done this earlier, but this thread has so many posts and I dont have the time to read it.

I have made a CM build. It wont boot with the CM kernel (stuck on htc logo and no adb - no logcat), but somehow it boots with the sense5.5 kitkat kernel. But the thing is that the bootanimations is glitchy and it freezes almost all the time and then the device restarts. So I left it rebooting like that for about an hour and sometimes it booted to the first boot setup screen. I couldnt make the logcat because I have a mac and somehow I am unable to repack the kernel with the edited default.prop for adb enabled. I will upload the built rom and the sense kernel. If you want to help me, and you have other linux (or windows) on your machine, you can try to edit the kernel to enable the adb and do a logcat.

Please make a backup before trying this. I am not responsible for any data loss or broken devices.

Install the rom through recovery, then reboot to bootloader and flash the sense boot.img.

Here is the rom: https://mega.co.nz/#!kg5mEKJT!PKM4I8r6arUr0pv-YKgfz1_W-TNvs21KlahUwEAktms

and here is the kernel if you dont have it: https://mega.co.nz/#!IxYU2KxJ!dEbDKUcAWC2-t51zvg1m3Vw0JAP9oFDzvrh2VbjaIWk

PS: This is made for zara_ul, I dont know if this works on zara_cl...
[HTC Desire 601] tonydd:
Yay, logo goes away after several seconds and now charges in the dark with power off:thumbup:

Btw, any recommendation for app to disable specific app data usage like firewall? I'm currently running avast!
[HTC Desire 601] gumbyx84:
Would anyone be able to upload and link to a twrp backup of a stock/clean data kk partition? When I restore from the backup given earlier in the thread, nothing seems to be written to data but 1kb. I'm wondering if that is why my phone won't boot to the os
[HTC Desire 601] Child's Play:
Do a factory reset then restore that backup
[HTC Desire 601] sickday:
The OS lives in /system, not /data. The backup I posted was made immediately after RUU and upgrading to KitKat, so it is as clean as you're going to get without a new RUU leak from HTC.
[HTC Desire 601] Kolma:
For my situation. I did try to do official OTA update and it updated my hboot as required. and the recovery but never the rom itself.

From that point (skipping everything that didn't work)

Installed TWRP, restored sickday's backup minus the data just in case anything was on it. and then relocked my phone cause it kept boot looping while unlocked.

So as it currently stands.

My phone is Soff with kitkat hboot locked and TWRP as recovery(used the recovery that sickday had posted)
[HTC Desire 601] Hedied4me:
[MENTION=362490]Savory[/MENTION] [MENTION=3528711]TopperCNC[/MENTION]

Can someone point me in the right direction of Savorys unsecured kernel. Ive searched and searched and cannot seem to find it in this thread. Going to reformat my laptop and ruu my phone and try to s-off again. Thanks

Sent from my Virgin Mobile HTC Desire 601 zara_cl, but definitely not using the Crapatalk app.
[HTC Desire 601] TopperCNC:
[MENTION=4857886]Hedied4me[/MENTION]

Hope it helps! :)

http://xdaforums.com/showpost.php?p=53177118&postcount=2332

Note: In the end, I had to use Linux to make it work. Windows would have none of it. Worked first try with a live Ubuntu USB drive though! Just make sure you install ADB and FASTBOOT and you should be good to go!
[HTC Desire 601] gumbyx84:
Sadly this didn't work for me. I can't really be without a phone anymore (too many issues ATM) so I am going to have to turn in my Desire and swtich to a Galaxy S3. I would like to stick with HTC, but the S3 is more easily available in case I run into problems (Best Buy still carries them in stores) and I have a Samsung rep willing to help me if I run into any major issues. I do want to thank you guys for all the help. Sadly I wasn't patient and this is what I get because of it. C'est la vie
[HTC Desire 601] Hedied4me:
[MENTION=3528711]TopperCNC[/MENTION]

Oh I saw that but thought it was only for zara_ul. But this works for zara_cl as well?

EDIT: Very strange its causing my zara_cl to bootloop. I am unlocked, rooted and custom recovery twrp 2.7.0.0
[HTC Desire 601] TopperCNC:
Oh I didn't notice you were on CL! My bad, sorry! (I'm on UL myself)

I'm not even sure [MENTION=362490]Savory[/MENTION] had an unsecured kernel for the CL....

Maybe someone else can chime in?
[HTC Desire 601] -Duir-:
Thought I had one in my drive, but there wasn't. So now there is JB_boot_unsecure_zaracl.img

Will make one from the KK boot.img for those who want to try their luck with S-OFF after the update.
[HTC Desire 601] Hedied4me:
[MENTION=3528711]TopperCNC[/MENTION]

Ive gotten a little farther than this before but here is where im getting stuck on rummrunner

"!! Do NOT for any reason taunt, unplug, drop, eat or pet your device !!

Please wait....

..........

Checking for updates......

ERROR: Cannot check for updates

Press ENTER to exit"

I have windows firewall,windows defender and avira antivirus turned off. Laptop is directly plugged into my modem (moto sb6141). Ive followed all the other directions; unlocked bootloader, root, customer recovery, unsecured kernel; other than that completely stock. Im using the usb cord that came with my device on a 2.0 usb connection. Phone is connected to WiFi. Phone power and 100%. Any other suggestions.

EDIT: Do i need busybox?
[HTC Desire 601] TopperCNC:
Wow... you pretty much nailed down every detail down to an art. I did not have Busybox installed, so I'd be tempted to say it's not required.

I can't really think of anything else you might try in the current situation, sadly. The only variable left compared to my setup when I did it is that I had to end up using Linux, everything else is the same. But I swear to God I almost threw it out the window, but then I tried Linux and it worked, first try, go figure.

At this point, I'd be tempted to tell you to try a live USB drive with Ubuntu on it. Use the 32bits version if you end up going down that path, I was never able to find out how to install ADB and FASTBOOT on the 64bits one. You should also use Rufus to write a bootable image to your USB drive, it's easy as pie with that freeware.

Other than that, it's outside my scope of knowledge/experience :(

Hoping it turns out for the best!

EDIT: That error message looks network-related. Although I didn't get the same error message nor did I receive it at the same place, it was also network-related in my case and Linux did it for me!
[HTC Desire 601] -Duir-:
I doubt this will help for the update error but did you also run as administrator? I think it also recommends completely disabling lock screen (won't help with update error but maybe down the road).
[HTC Desire 601] Hedied4me:
Forgot to mention those. Yea I did run it in administrator mode and disabled lock screen. I also reinstalled htc sync and let the drivers update on my phone to make sure they were up to date and then uninstalled htc sync. thanks for the advice

I was able to get a little farther when I tried months ago. But then I ran RUU and was never able to duplicate. Really too bad. Linux I feel is much beyond me. I was reading the post above yours and haven't the slightest idea of what a live usb is.

EDIT: As much as i really dont want to, tomorrow Im gonna reformat my hard drive and try again. Not sure it will have any affect but perhaps there is some small program or setting keeping it from updating. Sure does seem network related even though my laptop is plugged directly into my modem.
[HTC Desire 601] -Duir-:
There's an option with Ubuntu where you can install it to and run it from a USB flash drive, that way you don't need to do anything special to your hard drive to install it. Information is here.

You've pretty much followed all the steps I used, I did the RUU, then unlocked bootloader, then flashed the kernel and custom recovery, then rooted it, then ran S-OFF tool.
[HTC Desire 601] TopperCNC:
[MENTION=4857886]Hedied4me[/MENTION]

It only "looks" complicated mate, I tell you, it's much easier than it looks like. Give it a fair try!

Start by download Ubuntu's ISO off their website

http://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-i386.iso

Then check out Rufus' website to write your bootable flash drive

http://rufus.akeo.ie/

Take it from there, and a live USB drive won't alter your current computer configuration, so there's no harm trying!

Keep us updated how it goes!

EDIT: [MENTION=4492889]-Duir-[/MENTION] got to it one minute before I did, lol! Both work fine :)
[HTC Desire 601] -Duir-:
LOL yep :) I've followed Ubuntu's method before, reason I linked it. I even installed it to a spare sdcard i had using the little usb reader I have, works pretty well if you don't have a USB flash drive handy to use.
[HTC Desire 601] TopperCNC:
An Ubuntu live drive has become my de facto utility knife nowadays. I always have one on my keyring and I'm amazed how many times I've actually had to use it. And it's the only USB drive I haven't managed to lose yet, lol!
[HTC Desire 601] Kolma:
Checking my phone out and I notice my recent apps shortcut no longer works! (double tap home)

It has worked since installing kitkat as I remember the new full screen style of it but now double tapping home just takes me to home screen..

I also noticed kit kat removed swipe up from home for google now.

On top of that.. I think they removed the options menu to control these features...

So anyone know what could have cause this/how to fix it?

or if the options is still around somewhere?
[HTC Desire 601] xXminiWHOOPERxX:
Things in xposed can effect double tap home, learnt that on my mini... Yes I noticed swipe up for Google is gone even on my port, but long press brings up Google now....
[HTC Desire 601] Kolma:
I dont have xposed. long press was optional for google now on JB could toggle it in the settings menu but that option is gone now D:
[HTC Desire 601] Hedied4me:
GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOAL. Sorry for my incessant questions and post guys. It took reformatting my hard drive but GOOAL!!! Finally s-off.

[MENTION=4492889]-Duir-[/MENTION] [MENTION=3528711]TopperCNC[/MENTION] Thank you guys so much for your helping me.
[HTC Desire 601] -Duir-:
Sucks that you had to format PC, but so glad you finally got it. Also, love the world cup themed post. :)

Double-tapping Home is bringing up recent apps for me (fact that they didn't put the close all button sucks). Yes, in JB you could manipulate what the Home button does(mainly how it brought up recents and Now), but it was limited, you had like 3 options to pick from. I don't know if it's KitKat or Sense 5.5 that removes the Home button setting. Maybe they just wanted to streamline it since we only have the two buttons.
[HTC Desire 601] TopperCNC:
Well, would you look at that!!! Who's happy? Yes, you are :laugh:

Congrats man! Although there ain't much to do with an S-OFF'ed 601 right now (lack of CM11 comes to mind, lol!)

Enjoy!
[HTC Desire 601] Hedied4me:
I know its covered in this thread but I have a hard time understanding tech lingo most times. How do I flash the kk ota update? Do I need stock recovery/boot/locked bootloader?

EDIT: Oh in bootloader correct.
[HTC Desire 601] -Duir-:
All of the above, plus your system partition needs to be as pristine as the day you unboxed your phone.

Not sure what you mean by in bootloader.
[HTC Desire 601] Hedied4me:
[MENTION=4492889]-Duir-[/MENTION] [MENTION=3528711]TopperCNC[/MENTION]

So I ran the JB ruu and then I changed the name of the kk OTA update to 0P4EIMG.zip, placed it in the root of sdcard and let it update in bootloader then press power button to reboot. It looks like its loading but doesnt give me the option to select update.

Any ideas? Sorry and thanks.

EDIT: Oh I guess since Im s-off I can flash in recovery, but how do you do that with stock recovery? Soo confused
[HTC Desire 601] -Duir-:
I just let it download and install through the software update. I've never tried to manually flash an OTA.