yashsingh1/xdaforums huggingface dataset:
[Desire General] owenjm:
Hi all,

I'm a new Desire owner, and my unit is one of the new PVT4 ones. Everything was fine for five days or so until I successfully rooted with Unrevoked and Amon-ra 2.0 and installed my first custom ROM. I've so far tried the latest stable versions of DeFroST and Oxygen, and am right now trying Cyanogen 6.1.1.

But I've had a huge problem since flashing my first ROM: often during calls the device freezes for five or so seconds (often with a buzzing noise, as though the dsp processes have become disrupted) and then reboots. Trying to make another call, or playing any sound, can randomly cause the same problem. Generally, as soon as the issue has happened once, it will happen on every subsequent call. (Further suggesting it's a sound issue, I've had dsp dumps saved to the SD card with DeFroST, although not Oxygen.)

What I've done to try to fix this (nothing has been successful):

* Complete wipe, reflash of ROM and fresh setup

* Flashing a different Froyo radio, followed by the above

* Restoring back to my first Nandroid backup (of the HTC Sense ROM, made immediately after gaining root)

As I've said, nothing has worked. Strangely, DeFroST was stable for about a day before this happened, and likewise Oxygen -- but as soon as either of them started crashing, nothing seems to stop it :(

I'm very concerned that even restoring back to my first Nandroid backup didn't work! Could this be a hardware issue, and could rooting have potentially caused this problem (common-sense tells me no, but ... !)?

If anyone has any ideas, I'd be incredibly grateful. Or if there's a better place for me to post this issue, please let me know. As you can imagine, having a phone which can't make reliable calls is rather disconcerting, to say the least ...!!

Many thanks ...
[Desire General] Simba91:
I think it advisable to restore back to stock RUU atm, as I've done so already. And let's expect the devs here to find out a complete solution.
[Desire General] ieftm:
Ask in the support thread for that ROM, in all other cases, reflash to stock and see if that fixes it. If not, return to HTC RMA.
[Desire General] ieftm:
It should have version 2.5.1.3. It says so on top when you boot recovery.

If you can get in custom recovery, install a root update.zip from ChainsDD's SuperUser thread. That should install root even if all else failed.
[Desire General] alpinux:
My desire's erasesize is 40000.

I used Unrevoked3 v3.22. Rooting somehow worked. I have the same problem as LoveMyNewTelephone wrote before, even if I'm using the newest superuser.apk ( the link to chaindd's thread http://xdaforums.com/showthread.php?t=682828 )

The recompiled recovery (v 2.5.1.3) from the first post works fine for me.

Working roms:

LeeDroid 2.3b

CM 6.1.1 GSM

If you need an tester I'm willing to help.

Greets
[Desire General] vadbess:
i have pvt-4 s-on 4000

and i can't flash root

unrevoked 3.22 error: Validation error: Backup CID is missing

unrevoked 3.14 error: Can't flash bla-bla...

my CID; TMOB-101

help me pls, i try to flash all now flasher CWM-AlphaRev Recovery 2.5.1.3, amon_ra's recovery-RA-desire-v2.0.0
[Desire General] m4dm4n123:
Did you create a goldcard ?
[Desire General] vadbess:
Yep! i have 2 Gold and both error
[Desire General] ste1164:
As far as I am aware you don't need a gold card for rooting. Goldcards are only used for debranding a handset.
[Desire General] alpinux:
It seems that wiping dalvik doesn't work. It says that the partition isn't found.
[Desire General] joechung:
Custom ROMs with S-ON?

When I first rooted my Desire with unrEVOked (3.22) yesterday, everything went well except I got these messages when entering the ClockworkMod recovery (power on + volume down).

E:Can't find MISC:
E:Can't mount CACHE:recovery/command
E:Can't find MISC:
E:Can't mount CACHE:recovery/log
E:Can't fint MISC:

Imagine my relief when one thread to another led me to this thread. Downloaded the CWM-AlphaRev Recovery 2.5.1.3 from the first post (thanks ieftm!), then ran the unrEVOked again and it worked! Instead of the green text on the CWM screen (before CWM-AlphaRev Recovery), now I have blue text, with no error messages as mentioned above.

Then this morning I downloaded a new version of the ROM Manager (2.5.1.3), played around with it and boot into CWM Recovery. Now, the text are back to green and it says "ClockworkMod Recovery v2.5.0.7" at the top. There are no "E:Can't mount CACHE:recovery/command" messages though, so I assume this is alright. Or is it?

So now, my question is: Can I still proceed to flash with custom ROMs (Oxygen, CyanogenMod, etc) even with S-ON (BRAVO PVT4 SHIP S-ON)?

I'm having one of the unlucky few Desires with PTV4 (erasesize 40000):

# cat /proc/mtd
dev:	size	erasesize	name
mtd0:	00100000	00040000	"misc"
mtd1:	00480000	00040000	"recovery"
mtd2:	00340000	00040000	"boot"
mtd3:	0fa00000	00040000	"system"
mtd4:	02800000	00040000	"cache"
mtd5:	096c0000	00040000	"userdata"

Fastboot:

BRAVO PVT4 SHIP S-ON
HBOOT-0.93.0001
MICROP-051d
TOUCH PANEL-SYNT0101
RADIO-5.09.05.30_2

Apologies for a long-winded post for a single question. Better to get these information out the first time. Much appreciated for any advice!
[Desire General] bamserl:
without a working recovery you can not flash custom roms.

try amon ra 2.0 recovery instead of CWM

http://xdaforums.com/showthread.php?t=839621
[Desire General] joechung:
Thanks! Will look into that thread.
[Desire General] randal24:
Morning,

Thanks to the OP for the heads up on this model, and the workarounds everyone has found to get things up and running. Successfully unrEVOked and CWM'd last night with no worries. :)

I've got an Orange branded PVT4 (black) Desire, running CWM 2.5.1.3, with gold card and network unlocked. I'm still on the stock ROM, because I'm not quite sure what I have to do next. I've read some stuff about using RUU tools to do the first flash/debrand on a gold card, is this the case or can I just slap any ROM on the memory card and use CWM like with other devices?

Cheers.
[Desire General] vadbess:
Hi, When i root my Desire with unrEVOked (3.22) PVT-4 4000

BRAVO PVT4 SHIP S-ON

HBOOT-0.93.0001

MICROP-051d

TOUCH PANEL-SYNT0101

unrEVOked 3.22 error: Validation error: Backup CID is missing

I have Goldcard

PLS help me! What i do wrong?
[Desire General] m4dm4n123:
@joechung :

That just the question that troubles me. Just because a working recovery has been made, it doesn't mean we can have an S-OFF on the device.

In fact, unfortunately, I can't understand technical difference and correlation between different NAND types? Especially when it comes to custom partitioning the same NAND (which on Desire is practicaly a must).
[Desire General] m4dm4n123:
Did you try the new version of the 3.22, because it has been pulled of first because of this problem and then reuploaded it again?

Try this : http://rootmydroid.co.uk/guides/howto-fix-the-backup-cid-missing-error-on-unrevoked/
[Desire General] jonaswilson:
how to s-off on pvt4 erasesize 40000?

So, let it be said - i am new... But i will learn quickly.

I am the happy owner of desire bravo pvt4 with s-on.

After reading this thread i have (perhaps) rooted my phone using unrevoked and - after a few trys - AmomRa recovery. Everything seems to be going fine so far...

But - i'd like to flash a ROM now - specifically:

[ROM] [13/12] Pre-rooted Stock Froyo (2.29.405.2) [Optional mods]

Is it possible with s-on, and if not - how do i get s-off? (someone wirh hands on experience of doing this on bravo pvt4 erasesize 40000 prefered)

Maybe the problem is, that i am not proplerly rooted. I used this method to check, and in connectbot i get "whoami: not found".

I hope someone can enlighten me.
[Desire General] joechung:
Yeah, it's troubling me too. The fact that my Desire is still S-ON prevents me from (or rather I'm afraid to!) trying out custom ROMs or partitioning.

I *think* I have two of the recoveries mentioned here to work, CWM-AlphaRev 2.5.1.3 (from the first post of this thread) and Amon_RA's RA-desire-v2.0.0 (as guided by bamserl) -- but still no S-OFF. The only thing I dared to try from these recoveries is running a backup.

I'll admit I'm new to these rooting/custom scenes - 2 days old! The amount of information gathered from these couple of days are overwhelming. There is so much to learn, in a good way. But first, I need to have my device S-OFF!
[Desire General] Simba91:
If you just want to flash a custom ROM, usually no S-OFF required, otherwise it may be instructed in the ROM thread. I believe S-OFF is only required by some special mod (e.g. to flash splash1 or to change the default size of system partition?).
[Desire General] ukgtitch:
Advice from a PVT4 user who received his device a few weeks ago, I'm now a happy user of Oxygen 1.0.4 and have installed/removed about 50 different roms and configurations, three different recoveries and making 50+ backups and restorations due to bootloops and **** ups!

I've bricked the USB and fixed it and even installed the wrong RUU and ended up with my screen not turning on, it can all be fixed, don't worry about it, if you like to mess around with your phone, do it, don't be scared, I'm S-On btw, no need for any S-Off, the only rom that never worked for me was OpenDesire.
[Desire General] frulex:
You can flash custom rom without worries, I see you have the same spec model Desire and you had exactly the same problems. I followed the same solution and after that flashed 5 different roms - Lee droid, SenseHD, Oxygen, CM 6.1 and Ultimate Droid. The first 2 displayed an error saying that I can't flash that rom, the other 3 worked perfectly. My phone is also S-ON so I guess that doesn't matter...
[Desire General] frulex:
I also didn't want to flash custom rom until recovery was without those errors but you can relax and flash after fixing recovery, try CM6.1, I tried it first and it went perfect, it doesn't matter the phone is S-ON...
[Desire General] joechung:
Thanks guys! It's really good to know there are people with the same Desire spec and have successfully flashed custom ROMs. Roar for open community! It really puts the confidence in me to try out those custom ROMs now.

I have a question though, can I do any partitioning with the setup I'm having? Sorry for all these noob questions, day 3 of learning ;)
[Desire General] Demirulez:
I have a PVT4 40000 Desire too and i get the error messages with CWM 2.5.0.7 as described. My question is, do i have to uninstall CWM 2.5.0.7 before flashing the new version (2.5.1.3) with unrevoked 3.22? If so how can i do that? Is it better to uninstall ROM Manager too, before flashing CWM? Thanks in advance.
[Desire General] m4dm4n123:
Run Unvrevoked without plugged in usb. Choose custom recovery (download it from the first post of this thread). Everything else is automatic.

One update, CM6.1 is definitely confirmed working fine without issues. Now the question is how long it's gonna take to make u custom hboot that supports N1 partition scheme, or is it safe to apply this scheme even now ?
[Desire General] Demirulez:
Got it, flashed with CWM v2.5.1.3, no more error messages and successfully did a NANDdroid backup. For this version of Desire (PVT4 40000) do you suggest using Amon RA recovery for flashing custom ROMs or stuck with CWM 2.5.1.3 now that it seems to work?
[Desire General] owenjm:
Ok, I've had quite a number more crashes (on CM 6.1.1, but it really doesn't matter as this happens on both CM and non-CM (Oxygen) based kernels), and have discovered quite a bit more.

First off, my issues seem to be an AOSP issue in the qdsp6 code. Here's an abridged version of the bad things that happen in the kernel messages:

[ 37.216094] dal: call timed out. dsp is probably dead.
...
[ 37.248046] kernel BUG at /home/android/cyanogen/android-cm/kernel-msm/arch/arm/mach-msm/qdsp6/dsp_debug.c:52!
[ 37.248260] Unable to handle kernel NULL pointer dereference at virtual address 00000000
...
[ 37.369171] Backtrace:
[ 37.369415] [<c002a6f8>] (__bug+0x0/0x2c) from [<c004419c>] (q6audio_dsp_not_responding+0x100/0x114)
[ 37.369628] [<c004409c>] (q6audio_dsp_not_responding+0x0/0x114) from [<c0039540>] (dal_call_raw+0x194/0x1a8)
...
[ 37.374969] ---[ end trace 38f3e1395c6ee61f ]---
[ 37.375183] Kernel panic - not syncing: Fatal exception
[ 37.375305] Backtrace:
[ 37.375549] [<c002aa80>] (dump_backtrace+0x0/0x110) from [<c0342320>] (dump_stack+0x18/0x1c)
[ 37.375762] r7:c002a71c r6:00000001 r5:daa37af4 r4:c043542c
[ 37.376312] [<c0342308>] (dump_stack+0x0/0x1c) from [<c034239c>] (panic+0x78/0xf8)
[ 37.376434] [<c0342324>] (panic+0x0/0xf8) from [<c002ae58>] (die+0x2c8/0x318)
...
[ 37.385528] Rebooting in 5 seconds..
[ 42.368255] Restarting Linux version 2.6.35.9-cyanogenmod (android@giulio-laptop) (gcc version 4.4.0 (GCC) ) #3 PREEMPT Thu Dec 16 15:38:35 CET 2010

It's seriously ugly. I can get variations in the location of the first kernel bug message, but the basic behaviour is always the same. (Edit: I thought it was fixed by clearing the dalvik-cache, but apparently not -- that worked once, but not again ...)
[Desire General] wikan76:
I wanna go home...

hi,

I have the same problem with LeeDroid 2.3 NO2SD. The device crash after a while. When i wipe the cash in recovery it´s going to normal again.

So my question is, how do I go back to nonroot again with RUU? What is the best way to RUU, pc or on the device? Which RUU am I going to use, I´ve downloaded

RUU_Bravo_Froyo_HTC_WWE_2.29.405.5_Radio_32.49.00.32U_5.11.05.27_release_159811_signed.exe

Is that ver. working?

Please can someone explain?

My device:

Desire PVT4, 4000

Rooted but not S-OFF

Thanks!
[Desire General] LoveMyNewTelephone:
Thanks ieftm, I've done what you've said, and after that I've successfully flashed the LeeDroid ROM into the phone. That gave me total root, probably because BusyBox was installed in the process. (Still S-ON though, but that's not an issue).

What I do find weird is, when I go into recovery when I turn off the phone while holding down the back button, I get CWM 2.5.1.3, but when I tell ROM manager to boot into CWM, it boots into CWM 2.5.0.7. How is that possible?
[Desire General] ste1164:
That version is working fine I use it if your handset is branded you need a goldcard. If it's not your good to go.
[Desire General] randal24:
Is the only way to debrand (say Orange) a phone on the first flash to use an RUU and a gold card? i.e is this the done thing before putting on say Oxygen? (PVT4 40000 handset with S-ON).

Cheers (apologies if this is blindingly obvious!)
[Desire General] aamszia:
I did exactly as you says but it says

" Incorrect CID Update Fail " do u want to restart now ..
[Desire General] m4dm4n123:
Did you put this image on a sdcard that is your goldcard ?
[Desire General] aamszia:
I don't have gold card Bro

Phone is hang on HTC logo with Black line . So how can i make one ?
[Desire General] aamszia:
Image version

2.13.707.1

bravo pvt4 ship s-on

h-boot 0.93.0001

microchip-051d

touch panel-synt0101

radio-5.09.05.30.2

aug 10

RUU_Bravo_Froyo_hTC_Asia_WWE_2.13.707.1_Radio_32.4 4.00.32U_5.09.05.30_2_release_143921_signed.exe

131 Customer ID error ..

here is my thread

please help

http://xdaforums.com/showthread.php?t=881099
[Desire General] m4dm4n123:
I can only link you to this thread :

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

First sentence, do the goldcard. Because of lacking of goldcard, i believe you will have to send it to the repair shop.
[Desire General] owenjm:
If it's the same problem I was experiencing with random crashes after initial stability, I think I've solved it.

I was using Amon-Ra 2.0.0, which very few people in this thread seem to have used, and wondered if this was causing the problem. So once CM 6.1.1 also started repeatedly crashing after a day of use, I switched to the updated version of clockworkmod (2.5.1.3) attached to the first post ... and my device has been stable for over 40 hours now, with no crashes or malfunctions despite my best attempts to break it. I've made a lot of calls, played a lot of music, changed most every setting in Spare Parts ... nothing's bothered it at all :)

So if you're using Amon-Ra, try switching to clockworkmod 2.5.1.3, then wiping and re-flashing. It's still early days for me, but this is the most stable my Desire's been since I rooted. Which is just as well, because there's no way I could go back to stock HTC Nonsense after CM ...
[Desire General] mad-murdock:
Crazy how less information you give compared to the amount you rage...

Can you go to recovery? If so, what happens if you restore your nandroid backup? If no nandroid, flash any custom rom and reboot.

You can still create a gold card with hboot or recovery and adb. Tutorials for that are around.

Is your phone sim locked? Since there are warnings over and over you need a gold card before modding a sim locked phone...

Swyped with HTC Desire. Excuse typos.
[Desire General] Marlenio:
Just a question: if on my desire "normal" unrEVOked 3.2.2 fails, can i unrEVOked again with CWM-AlphaRev Recovery 2.5.1.3 without problem?
[Desire General] Demirulez:
No problem, that's exactly what i did on my PVT4 40000.
[Desire General] randal24:
Does anyone know the answer to my question above?

http://xdaforums.com/showpost.php?p=9958523&postcount=120

Thanks
[Desire General] Demirulez:
Please get us updated ;).
[Desire General] wikan76:
Im back on shipped ROM, and that one freezing also. I think this is a AOSP problem with ptv4 device. If not, There are many broken devices out there.
[Desire General] 3722:
You will need the goldcard to flash stock official roms, it's not needed for custom roms.

I recommend you to make a goldcard, nevertheless because in case of some boot loop accident it will come in handy.

And you don't need to do this "debranding", just root and install custom rom.
[Desire General] randal24:
Scholar, thanks. :)
[Desire General] owenjm:
I spoke too soon :( After 44 hours running stably, my Desire did its usual crash-on-playing-a-sound thing, and now crashes whenever anything tries to play a sound on it. :( Don't know why it was so stable at first this time ...

I'm going back to stock (once I can find a Windows machine!) where hopefully I'll find I have a defective device that I can return, but I really doubt it. I can't believe it -- after researching Android phones for a month I specifically bought the most hackable phone, even if it wasn't the lastest tech, only to end up with a device that can't be hacked at all :(

I guess if my device is stable under stock for a week, I'll try to submit a bug report to the Desire kernel maintainer, and work through things from there. I've got stacks of kernel log output now, from just about every crash my Desire's been through ... hopefully someone can look at it and work out why! :)
[Desire General] owenjm:
Hang on, you went back to stock (using the official HTC RUU updater, so your device is no longer rooted and you no longer have the clockworkmod recovery or any evidence that it ever was rooted) and it's still freezing? I think I'd be sending it back, if you can ...

Just to check we're both having the same issue here -- does your phone freeze only when playing a sound (including making calls, getting a notification, or anything that uses the speaker?)
[Desire General] zen25205:
Hi All :)

I've read a lot on here, but am still not quite sure what to do next!

I have a pvt4 4000 desire which is branded 'Orange', s-on, unlocked and rooted with Unrevoked and Amon Ra 2.0 recovery.

Baseband: 32.48.00.32U_5.10.05.30

Build 2.17.61.3

Kernel 2.6.32.15

I'd like to try a sense rom without the orange branding, and also a non-sense rom just to try it out :)

My questions are:-

Can I do this with the above spec?

Which roms should I try?

I like the MIUI rom, does this work with new pvt4 desire?

If I stay with the stock, will the OTA updates be ok as it's rooted?

Thanks for any help you can give me, I'm a desire noob but have played similar games before with other devices :D
[Desire General] wikan76:
My device freezing egen screenlock is on, and then the touch screen flipper around and dont respons on tuch. This behavior was on every custom rom i have tested. Im going to try ruu 2.1, before i sens it back.
[Desire General] wikan76:
Forget to tell you about the device,

Desire, pvt4, 4000 erasesize

2.29.405.5

S-ON not rooted now
[Desire General] owenjm:
That's worse than what I'm getting, then. For my device, it only crashes when it tries to play a sound.

Unfortunately for me, that also persists now that I've returned to stock -- which is a problem because of that stupid sound HTC includes with their "quietly brilliant" dumb animation ... it crashes every time it tries to play that sound, so it never gets past the boot sequence! :(
[Desire General] owenjm:
Just a further query, considering that my device still malfunctions now that I've returned to stock:

Is there *any* way at all that unrevoked could have modified firmware that is not touched by an RUU update, such that the modifications by unrevoked remain after returning to stock?
[Desire General] Simba91:
As to my experience, this device doesn't support any 2.1 (Éclair) RUU so that you may only try Froyo RUUs.
[Desire General] mad-murdock:
Gold card is only needed if you are sim locked. Branding doesn't matter. Just root the usual way and flag a custom rom: no branding anymore.

Swyped with HTC Desire. Excuse typos.
[Desire General] mad-murdock:
I disagree..even in worst boot loops, you can always start recovery, restore a backup or wipe and flash a new rom.

The only need for gold card I know of is for sim locked phones.

I don't use gold card and I raped my phone in all ways you can imagine...

You also don't need it for flashing stock roms... So it's pretty useless in desire. On other devices, that is another story

Swyped with HTC Desire. Excuse typos.
[Desire General] randal24:
Cheers mad-murdock, good to have it confirmed. I've SIM unlocked my Orange handset via htcimeiunlocked, and I'm running a Vodafone SIM with no probs.

So I can flash ROMS all day long with Clockwork, and not worry about anything? If I understand the S-OFF only affects my ability to flash h-boot and radio correct?

Cheers again :)
[Desire General] 3722:
Well, surely you are aware of booting problems when even if you select recovery it freezes and there is no way for a nandroid restore, so with all respect, it's not always on option. You can of course try to wipe, and flash a ROM but even that hasn't been working all the times.

And as for the goldcard, I meant that you do need it for flashing a stock WWE ROM on a branded handset, plus it's better to flash a WWE RUU, then to search if there is a leaked version of a branded bloatware RUU, because the latter are harder to find - thus it'll be good to have a goldcard, but I agree it's not neccessary.

Yes, you can flash all day long just be careful, always make a backup so you'll have a way to roll back if something goes wrong. Another thing is to do a wiping from recovery before flashing the new ROM, again it's not mandatory, but recommended.

S-off flashes a modified hboot

You can flash radios without s-off.

Also it gives you the permissions for example like removing system apps while you are in the android OS and put a personalized splash screen on boot.
[Desire General] happytomato:
Just to say:

I have a PVT4 Desire. Got it last about two months ago. I flashed it with unrevoked with no problems at all. I then flashed a custom ROM to it - no problems there either. When I tried to apply the S-OFF to it the installer did freeze, but I think that was just a random bug in the installer for it DID install S-OFF perfectly. Either way... I have had NO problems with the OS at all.
[Desire General] LoveMyNewTelephone:
Still no S-OFF??

Why does it take so long? I want the AlphaRev N1 Table :eek:
[Desire General] alpinux:
Is your erasesize 40000 or 20000? It seems to be 20000 - correct me if i'm wrong.

Read the first post for further information.
[Desire General] Ifa666:
ReflexTSenseHD v1.5 Sense-FroYo 2.2HD ROM works great on BRAVO PVT4 SHIP S-ON. Erasesize 40000.