yashsingh1/xdaforums huggingface dataset:
[HTC Vivid, Raider, Velocity] HackitZ:
Thanks will try now.

---------- Post added at 09:01 PM ---------- Previous post was at 08:29 PM ----------

Worked like a charm, just finished my first nandroid backup as well.

off we go to start testing out a rom.....

wooo hoooo!:D
[HTC Vivid, Raider, Velocity] HackitZ:
ok i have a question, after using the phone for a full day know (still stock).

I have noticed I'm unable to keep my connection to rogers for data only.

I have checked and the apn is right.

I have cleared dalvic cache and fixed permissions.

Still when im away from wifi and using data, most of the time i have no connection.

Now before i updated to this version of cwm i had no issue's with my data connection.

anyone else having an issue with a raider on rogers?

Thanks
[HTC Vivid, Raider, Velocity] soljafree:
Everytime I flash a different Rom to get back into recovery I have to reflash boot.img and recovery in order to boot into recovery again any ideas y
[HTC Vivid, Raider, Velocity] slapshot30:
What ROM? You should be having no issues with rumraider. However, the stock beta one will have to be used with the other recovery.
[HTC Vivid, Raider, Velocity] Pirateghost:
what rom are you trying to flash to?

as far as i know, only my rom has been updated for the new recovery
[HTC Vivid, Raider, Velocity] kxhawkins:
Looks like we has official cwm from Rom manager. Not having much luck with it yet though...
[HTC Vivid, Raider, Velocity] soljafree:
figured out my issue the rom im working on porting at the moment that is breaking something that wont let me back into recovery
[HTC Vivid, Raider, Velocity] drewdatrip:
I belive you are refering to the cwm for the Holiday and I belive this is not working on the vivid yet

Drew
[HTC Vivid, Raider, Velocity] HackitZ:
I have the same issue, i was messing with adb and a theme for rumraider rom and had to reflash the rom.

I was unable to load cwm until i fast boot the img file, now i have to hold volume down, power several times to get cwm to load. to many battery pulls. cwm shows for 1 second and then reboots.
[HTC Vivid, Raider, Velocity] pside15:
I had the same issue as well. Haven't tried going into recovery for a couple of days so I'm not sure if the problem is still there.
[HTC Vivid, Raider, Velocity] thecubed:
Heads up: new version supporting chargemode is on it's way :)

AAAND, I think I may have a solution to be able to flash boot.img (aka Kernels) from recovery. It's a bit of a convoluted solution, but it will work, and should be fairly easy for the user to deal with.

I'll post a link to the new version (and change the title of the thread) after i've got a few verifications that the recovery chargemode does indeed work 100% as expected.
[HTC Vivid, Raider, Velocity] slapshot30:
Sounds good. Excited for the release :D. I'm sure those having trouble with flashing kernels will be very happy campers.
[HTC Vivid, Raider, Velocity] JEANRIVERA:
did it work?
[HTC Vivid, Raider, Velocity] thecubed:
Yep it did :) I haven't implemented kernel installation yet, but I have the code finished. I just need to talk it over with someone first before I go off hacking up clockwork's source.

Chargemode works, usb mass storage works (didn't on my first chargemode test... just ask IanWizard haha), and pretty much everything else works.

I'm going to let IanWizard test it out for a little while longer then when I'm satisfied, I'll upload it asap.
[HTC Vivid, Raider, Velocity] thecubed:
Added links for Chargemode enabled recoveries :)
[HTC Vivid, Raider, Velocity] thuglifesk:
Just flashed and tested.... Works Flawlessly!
[HTC Vivid, Raider, Velocity] slapshot30:
Nice work! :D I'll add your newest version to the superguide.
[HTC Vivid, Raider, Velocity] vhjc:
Do physical buttons work on the newest version? I like to use them instead of just power button and they only work on bananacakes CWM.

Thanks!
[HTC Vivid, Raider, Velocity] cyber_pete:
Just ran into something strange. I am getting an error cannot load recovery when I try to use the fastboot method. I have never had this issue before. I updated to the latest HTC driver, and the device is recognized by ADB when it is powered up fully, but for some reason in fastboot is is not recognized. I am going to use the alternate method to update, but would like to fix this is possible. Has anyone run into this before?
[HTC Vivid, Raider, Velocity] thecubed:
When you're in HBOOT, does it say "USB" or just "BOOTLOADER"... You have to click "fastboot" on the device.

Sorry if you already knew that :)

If it still doesn't work, you may want to try checking device manager and listing devices by connection. Find your USB hub and see if it thinks there's any devices connected. If it doesn't see it, try Action->Scan for new hardware

Good luck!
[HTC Vivid, Raider, Velocity] BrandonBaskin:
THANKS!!!

THANKS FOR THIS!!!

I was going crazy w/o the power-off battery charging screen!

Was it difficult to add in?
[HTC Vivid, Raider, Velocity] thecubed:
Not too bad, just took a little bit of thinking as for how to properly add it into the makefiles for recovery.

Now I'm on to my next milestone: restoring/flashing kernels from within recovery.

HTC actually has a method for doing this properly, it's called "write_firmware_image", and it's how HTC flashes boot.img and modem updates from within recovery. There's no real magic to it, but the process is as follows:

In the updater-script, a ROM developer calls:

write_firmware_image("PACKAGE:firmware.zip", zip);

which takes a PG36IMG.zip style file, and writes it DIRECTLY to /cache, destroying the filesystem of /cache in the process...

After the zip is written directly to /cache, recovery sets a flag in the MISC partition saying "update-zip" then reboots.

The phone then reboots to hboot and seamlessly applies the update, then reboots back to recovery so that recovery can format /cache to get a working EXT4 filesystem back in there.

Here's the snag: HTC isn't using any standard for the way they use the MISC partition. Normally, you'd have a partition that the first few hundred bytes or so were dedicated to "bootloader commands", but on ours-- our MISC partition contains our CID and some board flags there. Even better, it would appear that the partition is write protected by hboot.

Anyway, I'm taking some time out from working on CyanogenMod 9 to get this going, since it's the #1 requested feature so far.

Also, in case anyone's interested, I mapped out the partitions on our phone: http://pastebin.com/iyBnjRRa .

Hopefully I'll have an update here soon...
[HTC Vivid, Raider, Velocity] capman231:
New Clockwork Mod Recovery

I just checked Rom Manager and it told me that it has an updated recovery for the HTC Holiday. I am using the original recovery and was just wondering whether to flash the new recovery update first or just go straight to this one.

Anyone tried the new Holiday recovery?
[HTC Vivid, Raider, Velocity] kevsthabest:
my HTC raider won't boot to the recovery with the one from ROM manager so I'd probably stick with these one. I think there's a couple buds inn it if I remember well enough
[HTC Vivid, Raider, Velocity] capman231:
Is the Raider the same as the Holiday? The reason I am asking is the one for the Holiday was just posted in the past day or so.
[HTC Vivid, Raider, Velocity] kevsthabest:
Unless they released a new version of the recovery it's the same as I got. Yeah the raider/holiday/vivid are the same phone. Raider is the Canadian name
[HTC Vivid, Raider, Velocity] capman231:
OK Thanks for your input.
[HTC Vivid, Raider, Velocity] drewdatrip:
Do not use the recovery in Rom manager yet. It does not work
[HTC Vivid, Raider, Velocity] capman231:
Thanks drewdatrip, I thought that might be the case as I couldn't find anything about it in the Vivid Forums.
[HTC Vivid, Raider, Velocity] thecubed:
Bummer, my method for flashing boot.img from recovery was a flop -- it seems HBOOT checks signatures on zips flashed using /cache... Oh well, I suppose that means I'll have to use my crappy work-around. (making a PHXXIMG.zip and putting it on /sdcard then rebooting to hboot)

I'm bummed :(
[HTC Vivid, Raider, Velocity] Mad Medik:
Is this method still not working? If not, maybe a note in the OP would avoid confusion.
[HTC Vivid, Raider, Velocity] Pirateghost:
I tried it a few days ago and it worked perfectly.

Sent from my SAMSUNG-SGH-I777
[HTC Vivid, Raider, Velocity] Mad Medik:
Hmmm. I must have done something wrong? Had to go to the next method. I got an invalid device error...
[HTC Vivid, Raider, Velocity] thecubed:
Are you using a Telstra Raider? I'm curious to see what your device's ModelID is... I suppose I should update my PH39IMG to allow for wildcards.. (It might be tailored only to the Vivid on accident).

The .img file is still fine though, give that a try instead...
[HTC Vivid, Raider, Velocity] :
My issue is popping up more and more that we discussed

WC
[HTC Vivid, Raider, Velocity] lawrny:
Vivid Rooted rumrunner installed old version of CWM without Chargemode ? update CWM

My Vivid is rooted and Rumrunner installed with CWM. I think I have the old version of CWM because no charging battery icon is visible when shut off and charging.

With fastboot turned off when I reboot I go directly into the CWM screens is this correct?

I see there has been a new version of CWM version 2 but the only file I can find is still 5.5.0.4. If the 5.5.0.4 has been updated to version 2 how can I tell it from the 5.5.0.4 original CWM. Is there a seperate CWM without root and how do I find and install the new version of CWM?

I have been flashing phone for many years and the Vivid is giving me a new learning curve!!!

Great job to all involved with the Vivid projects!!

Thanks in advance for anyone's help.
[HTC Vivid, Raider, Velocity] :
CMW Recovery v5.5.0.4 is the newest version of CWM. Mine reads CWM-based Recovery v5.5.0.4 (HTC Holiday Beta2) across the top, hope this helps
[HTC Vivid, Raider, Velocity] Pirateghost:
CWM has nothing to do with ROOT. rooting is within the OS. recovery and root are completely separate things
[HTC Vivid, Raider, Velocity] thecubed:
Yeah, I did cause some confusion by not labeling the build somewhere visible in the Clockwork Menu before Beta2...

New builds say "CWM-Based Recovery v5.5.0.4 (HTC Holiday BetaX)", where X is a number.

My strange build numbering scheme doesn't really mean that the next will be beta3, might end up as beta10 :)
[HTC Vivid, Raider, Velocity] :
Hmmm@strange numbering scheme..imagine that....lmao...ya know imma bust ya chops man:p
[HTC Vivid, Raider, Velocity] lawrny:
Flash CWM ver2 over version1?

I have the old version and need to update to ver2, Can I just flash over the ver1 that is now installed?
[HTC Vivid, Raider, Velocity] thecubed:
Yep. Either use fastboot, or the PCIMG.zip that I have provided, and you'll be good to go.
[HTC Vivid, Raider, Velocity] cannothas:
Sorry if this is totally noob...only my second android phone. I'm not getting this to work. Weeks ago I unlocked the bootloader, today I downloaded the ph39img-chargemode.zip on my EXTERNAL storage, when I go into hboot, it does nothing other than what it has always done. It says something about "SD checking...Loading...PH39xxx.xxx...NO IMAGE!" listing about 8 different lines, where the xxx.xxx is different stuff every time. One of them is "img.zip". Do I need to rename the .zip I downloaded to ph39img.zip?

BTW, thanks to all of you who work hard to give us unlockedness on our phones, I really appreciate it!
[HTC Vivid, Raider, Velocity] Pirateghost:
it needs to be named EXACTLY:

PH39IMG.zip

thats the only way the HBoot will see it.
[HTC Vivid, Raider, Velocity] cannothas:
Awesome, I'll give it a shot!

#Edit#

Perfect!

Sent from my HTC PH39100
[HTC Vivid, Raider, Velocity] lawrny:
VIvid Finally CWM Ver2 installed after loading CWM ver1

Thanks for all the help!!

Just for the record is case someone else has this issue.

I could not install the CWM Beta2 because Fastboot recovery would not work and was giving me the Red Triangle and explaination mark and could not get into CWM.

Following the reset to factory instructions.

1. Relocked Boot loader Repaired adb out of date error by Task Manager kill adb process.

2. Installed RUU

3. Unlocked HTC bootloader

4. Fastboot recovery recovery-beta2.img (Installed CWM BetaVer2)

5. Fastboot recovery into CWM ver2

6. Flash Boot.img

7. Install Rumrunner from SD zip file

8. restore titanium backup

All is good

Unlocked Bootloader

RumrunnerBeta11 install

Rooted

CWM ver2

recovery working
[HTC Vivid, Raider, Velocity] jherbold:
Question for theCubed

I've followed this thread, and know you were working on restoring boot image from backups within recovery, but I'm unclear if the secondary method you described was implemented.

I swapped between two backups (both were made with 5.5.0.4 Beta2) that require totally different kernels. The restore feature said it was clearing and restoring the boot image, and the rest of the restore completed successfully. When I rebooted, I was hung in a loop. Reflashed the correct boot.img and all is well.

So my question is, does boot image restore 5.5.0.4 Beta2 work properly within the recovery without having to flash the boot.img from fastboot? Did I goof it up somewhere?
[HTC Vivid, Raider, Velocity] thecubed:
Nope, you didn't goof up... Currently, boot.img backups are only supported. You must flash the boot.img through fastboot (fastboot flash boot <path/to/boot.img>) or use "fastboot boot <path/to/recovery.img>" which unlocks the boot partition and allows boot.img restore.

I am currently working on implementing my method to allow boot.img to be flashed through recovery normally. I have ~150 out of 300 estimated lines of code completed for this process. I will update the OP when I have this feature finished.

Most likely, I will only release the modified version over IRC first to avoid calamity if there are bugs discovered. I'm a firm believer of only releasing software to the public that I can stand 100% behind, and I'm sure that it won't cause issues. After it's been tested thoroughly, I'll make a public release and Post #1 in this thread will be edited to reflect such.
[HTC Vivid, Raider, Velocity] jherbold:
Thanks!

When I saw it reporting boot restoration I thought I might have missed the announcement. :)
[HTC Vivid, Raider, Velocity] thecubed:
Aha! Work is finally rolling smoothly on my boot.img restore project...

I have just made some preliminary commits to my github ( http://github.com/thecubed/android_bootable_recovery ).

These commits aren't finished yet, they're my "work in progress". I'm putting them up early and often so that anyone interested can sneak a peek at what's going on.

Back to your normally scheduled 2:30AM activities, nothing earthshattering to announce yet :)

Keep your eyes on this thread in the next few days though :)
[HTC Vivid, Raider, Velocity] cannothas:
Superguide Question

So over on the super guide, I was reading up (I think I just got confused) and thought that the VIVID_CWM_ROOT_VER2.zip was an updated CWM. First I see that it is not. Second, after installing it, everything is normal except that I have lost root. Busybox and TiBu both tell me I do not have it (I didn't have Busybox installed before this), but before I was definitely rooted because I used TiBu to remove a TON of AT&T bloat.

What happened and how can I fix it?

I'll be in the garage working on my car.... :-)
[HTC Vivid, Raider, Velocity] formicae:
Try flashing the VER2 zip again. Some people have reported it didn't 'stick' the first time.
[HTC Vivid, Raider, Velocity] cannothas:
Well, not so much for me. Just tried again and still the same. What are the chances that just reinstalling the ph39img.zip will work?

Edit: tried that and didn't work.

EDIT: I also tried doing the rush of zerglings as I had done to gain root the first time http://androidcommunity.com/htc-amaze-4g-gets-permanent-one-click-root-20111020 which also didn't work.

Sent from my HTC PH39100
[HTC Vivid, Raider, Velocity] lawrny:
Installing CWM v2

Cannothas

See my post on page 7 on how I was able to complete my CWM v2 install.

Good luck!

It worked for me after other unsuccessful attempts.
[HTC Vivid, Raider, Velocity] cannothas:
Thanks for your suggestion, just before I went through all that, I tried restoring a Nandroid, and I'm going again!

Sent from my HTC PH39100
[HTC Vivid, Raider, Velocity] bennec83:
hi,

I have a small problem, I rebooted my phone because it was acting strange.

It restarted and it was still acting funny so I tried to boot into recovery and it wont allow me to.

It reboots, then a get the white HTC screen, then the screen goes black as if it is going to go into recovery, some text scrolls up the screen then it reboots and displays the white HTC screen again.

I cannot get it to boot into recovery at all!

Please can someone advise?

Thanks

is there a way to flash roms through ADB if we cant get recovery working again?
[HTC Vivid, Raider, Velocity] thecubed:
Can you get a video of this happening? I'd like to see what text is getting scrolled up on the screen... I can't get this to happen on my Vivid no matter what I do...

WildChild told me about this happening a few weeks ago, but I haven't been able to find the root cause of it since it doesn't seem to leave any log files behind...

EDIT: also, if you can, try booting to clockwork, then let it crash out. Boot back into android, and do this:

adb shell
su
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
exit
exit
adb pull /sdcard/last_kmsg.txt

then post that file on pastebin if you could...

Thanks!
[HTC Vivid, Raider, Velocity] bennec83:
Even if i took a video of the screen there is no way you would see the text, it is present for about .5 of a second.

I can tell you how i get it to do it though, I plashed rumraider beta 11, rebooted and ran through setup, rebooted again.

then used UOT to generate a theme, applied the theme, rebooted, did my titanium restore, then went to recovery, the text flash thing happens, then the phone sits on the white HTC screen for about 5-10 minutes before loading the boot animation...

I have done this 3 times and each time it has done what i described

Ill try and get that fine pasted as soon as i am at home!

As a side note, do you thing you will be able to implement touch recovery to your recovery?

I know 4EXT isnt compatible with this device, but i have CWM recovery on a different device with touch enabled?

i can send you the image of you like?
[HTC Vivid, Raider, Velocity] francisdai:
Do you have any solution about this method now? I found if I flash the Rom including firmware.zip, the code in zip won't be flashed, but the original recovery can flash this rom correctly
[HTC Vivid, Raider, Velocity] ccb101:
when i run line

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

i get: /proc/last_kmsg: No such file or directory
[HTC Vivid, Raider, Velocity] cyber_pete:
Does anyone know if the CWM app will have this version or a newer version at some point? Or what about 4EXT? Just curious if Vivid will be getting some of the extras soon.
[HTC Vivid, Raider, Velocity] 4D3:
Having the same problem as this except when I try to reboot I cant get my phone past the white HTC screen...

All i did was try to get into recovery and it has ****ed my phone..WTF is going on here...

EDIT:

Just managed to get my phone booted, i tried to go into recovery a different way from the power button and it went in first time...I think there is a problem with getting to recovery from the press and hold power menu!! I used Quick Boot and everything ok!!
[HTC Vivid, Raider, Velocity] 4D3:
Hi,

here is my last_kmsg.txt as you requested.

although this is after i sucessfully booted into recovery!
[HTC Vivid, Raider, Velocity] thecubed:
Thank you!

That klog helps me out a LOT!

It would seem that this problem is caused by the kernel battery driver somehow... I need to look into it, but it should be easily fixable!

EDIT: Hmm, maybe I'm misreading this... did you do a shutdown from the clockwork menu, then booted to android and grabbed that log?
[HTC Vivid, Raider, Velocity] 4D3:
no what happened was:

1: 1st attempt to boot into recovery resulted in the "crash"

2: pulled battery and got stuck on white HTC screen

3: pulled battery again

4: booted up and used quick boot to reboot into recovery

if you need one where i boot into recover and just crash i can get you that?

every time i use the press and hold power menu to restart into recovery i get the problem, when i use quick boot i get to recovery without an issue!

Thanks
[HTC Vivid, Raider, Velocity] cannothas:
You know, not sure this will help you at all, and being the dev you probably know this.... But just in case....

I have noticed that when I hold power and then get the menu to reboot/airplane/power off, if I reboot, and like a ninja just at the right time do power+vol down, I get into hboot. If I choose power off, then try to power+vol down, I get nothing and boot like normal. But if I pull battery after power down I can power+vol down into hboot, and when I reboot, sense wants me to report an abnormal crash.

I'm on stock sense. Hope that helps.

Sent from my HTC PH39100
[HTC Vivid, Raider, Velocity] thecubed:
You need to turn off "fast boot" in Settings-> Power (or is it "Battery" ?)

That should fix that :)
[HTC Vivid, Raider, Velocity] cannothas:
See, I knew I would end up getting the help on that instead of being the help :-) Thanks again for all your work on this, I'm SO tired of sense.
[HTC Vivid, Raider, Velocity] 4D3:
There are a whole bunch of people in the Vivid forum looking for a nice clean Sense free rom!

Peace
[HTC Vivid, Raider, Velocity] :
Probably shouldnt have bought a phone with a sense based ui with the hope of a asop or cm build to be made stable for it...lol...:p
[HTC Vivid, Raider, Velocity] cannothas:
Well, that's what I get for assuming :-) I was half-right, just wrong on the timing. Besides, I got it for CHEAP ($100 w/o a contract) so I couldn't pass it up.

Sent from my HTC PH39100
[HTC Vivid, Raider, Velocity] 4D3:
I guess thats what happens when the only company with decent hardware decides to do...

this is THE ONLY HTC device I have ever had that has got ZERO option of a sense free rom, I have had HTC for about 17 years so thats about 15 different handsets!

Sense is like a big spastic toy, big colourful buttons and graphics to keep all the children happy...

I am attempting to theme it to look exactly like AOSP, but the com.htcres...apk is a ***** to work on!
[HTC Vivid, Raider, Velocity] kozmikkick:
We will get asop. People just need to be chill. Our phone is quit new and there are devs that are working on it.
[HTC Vivid, Raider, Velocity] 4D3:
this device is pretty old...it originally released with a locked bootloader so people didnt get the device!

all the devs here "LOVE" sense! and none are going to release AOSP...pretty sad really...

see here: http://xdaforums.com/showthread.php?t=1479480

instead of introducing variety, people seem to just say "Why didnt you get a S2..."
[HTC Vivid, Raider, Velocity] Pirateghost:
Hey,

The dead horse called. He would like you to stop beating him.

When will you understand that cm9 is being worked on and you aren't going to speed it up any by *****ing about it? FFS if its not up.to your standards feel free to jump in and do something about it and stop whining about sense. Nobody wants to waste their time on cm7 when cm9 is right around the corner. Goddamn I hate getting on here and seeing complaints like this.

Sent from my SAMSUNG-SGH-I777
[HTC Vivid, Raider, Velocity] 4D3:
wtf lol....

not really a complaint..merely a fact!
[HTC Vivid, Raider, Velocity] Pirateghost:
Bull****. You said nobody was going to release aosp. In a thread belonging to someone who is working on cm9.

Sent from my SAMSUNG-SGH-I777
[HTC Vivid, Raider, Velocity] 4D3:
firstly, CM9 isnt AOSP...it is CM9! you should know that, it is close to it though.

secondly, when i said none of the devs, I was meaning the devs who currently have working/released roms, none of these devs are going to release an AOSP rom.

so as i said initially, there is no variety, just different flavors of the same thing from you banana and the other sense devs...it is all the same.

Seems like you have had a real bad day and are taking offence easily...