yashsingh1/xdaforums huggingface dataset:
[Desire HD General] mousey_:
Feel free to have a go yourself: http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html

This guide will assume you have some familiarity with doing an Android Build.

First, let's check out the CyanogenMod tree. The CyanogenMod repository contains Clockwork Recovery, which is part of a full Android build.

repo init -u git://github.com/CyanogenMod/android.git -b froyo

repo sync

make -j4 otatools

Now, use dump_image or dd to dump your recovery or boot image from a running phone and copy it to your computer somewhere.

dump_image boot boot.img

Note that dump_image only works on phones using MTD. You will need to use dd to dump mmc partitions.

To build Android from source for a new device, you need to set up a board config and its makefiles. This is generally a long and tedious process. Luckily, if you are only building recovery, it is a lot easier. From the root of your Android source directory (assuming you've run envsetup.sh), run the following (substituting names appropriately):

build/tools/device/mkvendor.sh device_manufacturer_name device_name /your/path/to/the/boot.img

You will receive the confirmation "Done!" if everything worked.

The mkvendor.sh script will also have created the following directory in your Android source tree:

manufacturer_name/device_name

Now, type the following:

lunch generic_device_name-eng

This will set the build system up to build for your new device.

Open up the directory in a file explorer or IDE. You should have the following files: AndroidBoard.mk, AndroidProducts.mk, BoardConfig.mk, device_.mk, kernel, system.prop, and vendorsetup.sh.The two files you are interested in are BoardConfig.mk and kernel. The kernel in that directory is the stock one that was extracted from the boot.img that was provided earlier. BoardConfig.mk will need to be tweaked to support ext mounts and their mount points.

For example, if your /data mount is ext and the device is /dev/block/mmcblk0p2, you would need the following lines added in your BoardConfig.mk:

BOARD_DATA_DEVICE := /dev/block/mmcblk0p2

BOARD_DATA_FILESYSTEM := auto

Once the BoardConfig.mk has been properly setup, you can build the recovery using:

make -j4 recoveryimage

Your recovery can then be found at $OUT/recovery.img.

If you are in need of building a fakeflash recovery, you will need to run the following to create the update.zip that hot replaces the recovery:

. build/tools/device/mkrecoveryzip.sh

Once this is done, build, and tested, notify me, "koush", on Github and I can build official releases and add ROM Manager support!

Tip: Run "make clobber" between builds if you change the BoardConfig.mk, or the change will not get picked up.
[myTouch 4G Accessories] dragon_usa:
Zagg just have this product for Mytouch 4g.

I also Like to share 30% code for any of you who is waiting. cn2d4jbda

Hurry cause the offer will end soon.
[myTouch 4G Accessories] Trump:
didnt work
[myTouch 4G Accessories] dragon_usa:
OH, I don't know. When I bought invisible screen for my mytouch 24.99 plus shipping is 27.99 then I put code in, I only have to pay 20.99.

anyway, here is the 20% off code : ZAGG20
[myTouch 4G Accessories] dragon_usa:
this is 40% coupon code for zagg and only good for 3 people and expire 11/26/10

cnapjadd9 *
[myTouch 4G Q&A, Help & Troubleshooting] jjwred7:
Hello all. These may seem like a silly question but I am not used to the MySense interface, so I downloaded Launcher Pro Plus.

My question is this, maybe I am just tired tonight, but is there anyway to just get to what I knew as the STARRED (favorite) contacts on my G2. I am using the People Widget on Launcher Pro Plus and have it syncing ONLY my Starred Android contacts, but I DONT know how to get to what were my starred contacts or how i would go about "starring" a contact again.

I DONT really want to use the Fave thing that comes on the MT4G.

Is there anyway to get my contacts to appear like they did on my G2??

Thanks in advance for any help!!!
[myTouch 4G Q&A, Help & Troubleshooting] borodin1:
1. Root your phone.

2. Wait for CM

3. ???????

4. Profit!

But really, I don't have the phone and I have no idea. I'll be watching this thread as I use Google to manage all my contacts and, if there's no way to do it on MT4G, it's not even worth it for me to get it.
[myTouch 4G Q&A, Help & Troubleshooting] jjwred7:
It still uses your Google Contacts, but there is an add-on on the HTC MySense skin that I dont like as well as the vanilla Android.

To me it doesnt seem quite as easy to just add a favorite (starred in Vanilla Android) with the MySense interface.
[myTouch 4G Q&A, Help & Troubleshooting] PolishDude:
I was trying to figure this out last night as well, I wanted to use launcher pro but want to use the people widget and im not exactly sure how to add people to it as the "add to fave" doesnt do anything
[G2 and Desire Z Q&A, Help & Troubleshooting] AustinAce:
http://25.media.tumblr.com/tumblr_lbj41yWRJU1qc6ky1o1_500.gif

It's so awesome
[G2 and Desire Z Q&A, Help & Troubleshooting] AustinAce:
Lame
[G2 and Desire Z Q&A, Help & Troubleshooting] tscherry70:
LWP

I'll give it a go.
[G2 and Desire Z Q&A, Help & Troubleshooting] tscherry70:
Its finished!
[G2 and Desire Z Q&A, Help & Troubleshooting] EdTeach1680:
Edit: lmao i did talk smack but it was you sayin lame to yourself so.....nm
[G2 and Desire Z Q&A, Help & Troubleshooting] tazz9690:
Is there any chance that you will post it, because I think it would be cool to have.
[G2 and Desire Z Q&A, Help & Troubleshooting] EdTeach1680:
howabout a boot animation?
[G2 and Desire Z Q&A, Help & Troubleshooting] tscherry70:
On the market

I put it on the market last night.

Seach for "F**k" and you should see it.

I am asking for $.99 cents for this thing because i spent a lot of hours into its development and making sure it was throughly tested. Normally, i would have no problems putting something up for free if it was just thrown together; ad-hoc.

The cool thing is though, now a i have a working live wallpaper framework for future concepts.

Todd

P.S: Support your devs, its only $1 dollar.
[G2 and Desire Z Q&A, Help & Troubleshooting] EdTeach1680:
pretty weak, g1 had all kinds of stuff like this for free. Ima try and find a tut on how to make a LWP cause I'll spend my time making a free version.
[G2 and Desire Z Q&A, Help & Troubleshooting] AustinAce:
Thank you, but sad face. :(

haha
[G2 and Desire Z Q&A, Help & Troubleshooting] AustinAce:
Dude you could of at least kept the graphics from getting so edgy. Its not smooth enough to be a dollars worth.
[Epic 4G Q&A, Help & Troubleshooting] hugo87:
Would it be possible for someone to make a themed vanilla lockscreen. I'm using epic experience with the reboot option if that matters and androdena galassia. I would like for it to have a similar look to that theme if possible but with blue highlights instead of green.Would this mess up my notification bar? The unlock and sound icons dont really matter. Or if someone can port the lockscreen from the matted blue fascinate port that would be better. http://xdaforums.com/showthread.php?t=834208
[Epic 4G Q&A, Help & Troubleshooting] blulitespecial:
you can flash the aosp lockscreen already.

The one i use i believe is in either this section or the DEV section called "[MOD] add reboot to power menu". and there are multiple flash options. that way i get aosp and the extra reboot button.
[Epic 4G Q&A, Help & Troubleshooting] hugo87:
What I'm looking for is a themed lockscreen themed like or close to androdena galassia or the matted blues posted above. I want one with blue highlights instead of green and one that won't change my notification bar if possible.
[Epic 4G Q&A, Help & Troubleshooting] MysteryEmotionz:
My theme as a themed vanilla lock screen

Sent from my Emotionless Beast of an ACS Epic using the XDA App
[Epic 4G Q&A, Help & Troubleshooting] hugo87:
I tried flashing both your lockscreens you have posted but they are not themes its still stock. wiped cache and still nothing.
[Epic 4G Q&A, Help & Troubleshooting] MysteryEmotionz:
The theme is built into the framework that controls thee rest of theme. You would have to flash my theme to get a themed lock.

Sent from my Emotionless Beast of an ACS Epic using the XDA App
[Epic 4G Q&A, Help & Troubleshooting] MysteryEmotionz:
I can make just a themed lock screen but it wouldn't be able to be used with other mods. If you like the themed vanilla lock screen I would need to know witch theme you like the best and what mods you are using. Thee inti problem is taking time out my schedual to make it for one person. I can always be persuaded thow

Sent from my Emotionless Beast of an ACS Epic using the XDA App
[Epic 4G Q&A, Help & Troubleshooting] kevyli85:
I just asked about this in the Matted Envy thread.

http://xdaforums.com/showthread.php?t=801629&page=2

I would be interested in just a framework.apk that has the lockscreen only themed.
[Epic 4G Q&A, Help & Troubleshooting] hugo87:
I would really appreciate it if you made one if not its no problem. I don't dev but I could understand what it would take to do stuff like this. Honestly if you could make one exactly like the matted blues linked in the OP it would be awesome. I'm running epic expierence 1.2.7 with the included reboot option only, xtreme kernal and androdena galassia 2.1. Only reason I don't use emotionless beast is green highlights. I know its kinda dumb but I got burnt out with HTC/Sense devices. I try to go for the black blue look(Only reason I'm still on androdena galassia). Other than that its an badass theme. I can see why its so popular. Thanks!
[Epic 4G Q&A, Help & Troubleshooting] MysteryEmotionz:
I would have to modify the androdena framework for you then or you would loose the theme if I themed just the lock screen

Sent from my Emotionless Beast of an ACS Epic using the XDA App
[Epic 4G Q&A, Help & Troubleshooting] MysteryEmotionz:
The framework-res.apk holds 95% if the hole theme

Sent from my Emotionless Beast of an ACS Epic using the XDA App
[Epic 4G Q&A, Help & Troubleshooting] hugo87:
Damn sounds like alot of work! Well like I said if you could that would be great if not Its no big deal. thanks tho. If you do Where I can I buy you a beer?
[Epic 4G Q&A, Help & Troubleshooting] MysteryEmotionz:
I forgot to mention I will be releasing a blue and a red highlight version of my theme

Sent from my Emotionless Beast of an ACS Epic using the XDA App
[Epic 4G Q&A, Help & Troubleshooting] hugo87:
Nice! Well whatever comes first will work. Actually I have a custom androdena galassia theme with the stock battery that you can modify if you'd like.
[Epic 4G Q&A, Help & Troubleshooting] JungleJiujitsu:
Can I take you up on this offer? If so please PM so that we can discuss the details
[Epic 4G Q&A, Help & Troubleshooting] MysteryEmotionz:
I'm gonna finish up my theme today hopefully. Then ill start plugging away at custom request.

Sent from my Emotionless Beast of an ACS Epic using the XDA App
[Epic 4G Q&A, Help & Troubleshooting] JungleJiujitsu:
Cool deal, thanks!
[Epic 4G Q&A, Help & Troubleshooting] hugo87:
Nice! Thanks man!
[Epic 4G Q&A, Help & Troubleshooting] MysteryEmotionz:
Your a donator so your first. Pm me with your details of what you want done

Sent from my Emotionless Beast of an ACS Epic using the XDA App
[myTouch 4G General] 21productionz:
I was removing and freezing the bloatware and started to get a fc when I would start the market. If it happens to you, what worked for me was going into settings/ applications/ manage applications.......... Clicked on market, and cleared the data. Worked fine after that. I did a search before I posted this and there was nothing about a fc of this nature.
[EVO 4G Q&A, Help & Troubleshooting] r0cky0790:
If someone is nice enough, can u please create a custom splash screen (HTC EVO) PC36IMG.zip for the image I posted. It would be dearly appreciated.

Here's the link to the image.

http://i1125.photobucket.com/albums/l596/r0ckyda5st4rg3neral/splash1.jpg
[EVO 4G Q&A, Help & Troubleshooting] r0cky0790:
http://i1125.photobucket.com/albums/l596/r0ckyda5st4rg3neral/splash1.jpg

r0cky.Da.3v0.SU.
[EVO 4G Q&A, Help & Troubleshooting] r0cky0790:
Srry for all the image posts.

http://i1125.photobucket.com/albums/l596/r0ckyda5st4rg3neral/splash1.jpg

r0cky.Da.3v0.SU.
[EVO 4G Q&A, Help & Troubleshooting] r0cky0790:
IF INTERESTED IN HELPING REPLY TO POST AND I'LL EMAIL THE IMAGE OR I'LL SEND THE LINK VIA PM.

r0cky.Da.3v0.SU.
[EVO 4G Q&A, Help & Troubleshooting] 1220:
Working on it for you now.
[EVO 4G Q&A, Help & Troubleshooting] r0cky0790:
Thanks buddy I really do appreciate it, ill check back later.

r0cky.Da.3v0.SU.
[EVO 4G Q&A, Help & Troubleshooting] 1220:
What software number are you running on your phone and i will put it into a flashable zip.
[EVO 4G Q&A, Help & Troubleshooting] r0cky0790:
3.30.651.2

r0cky.Da.3v0.SU.
[EVO 4G Q&A, Help & Troubleshooting] 1220:
Cool, I've been away from the computer and will finish it here shortly. I just have to resize the pic to fit the screen.
[EVO 4G Q&A, Help & Troubleshooting] r0cky0790:
Alright then, that's cool

r0cky.Da.3v0.SU.
[EVO 4G Q&A, Help & Troubleshooting] cbrown245:
Rocky if you check out stoney666 he is pretty good at doing splash screens for alot of people see if he can pack this one up for you,
[EVO 4G Q&A, Help & Troubleshooting] r0cky0790:
Alright ill do that thanks for your attempted help bro

r0cky.Da.3v0.SU.
[EVO 4G Q&A, Help & Troubleshooting] pwnst*r:
1220 already working on it.
[EVO 4G Q&A, Help & Troubleshooting] Stoney 666:
HERE YOU GO ROCK... THIS IS WHAT YOU ASKED ME FOR, RIGHT?? HOPE YOU LIKE IT...

View attachment 439432
[EVO 4G Q&A, Help & Troubleshooting] 1220:
Here ya go, sorry it took so long I had some other stuff to take care of around the house.
[Vibrant General] gonintendo:
Do they exist yet?
[Vibrant General] willsnews:
I hope soon but probably not till v3 I'd released

Still flashing
[myTouch 4G Q&A, Help & Troubleshooting] Arcadia310:
Was anyone else unable to root their myTouch 4G? I rooted my G2, but when I try to root my myTouch it simply does not work. It never recognizes the insmod /data/local/wpx.ko command so I can't do anything beyond that. G2 worked without a hitch.

I hope there's an easier root method soon.
[myTouch 4G Q&A, Help & Troubleshooting] 21productionz:
Did you transfer the files via ADB, or Root Explorer?
[myTouch 4G Q&A, Help & Troubleshooting] mlockman:
I'm glad the devs got us root rather quickly, but personally I'm waiting for a decent ROM and easier method before attempting. I'm happy atm with temp root and freezing apps/bloatware so I don't really see a need to perma-root now. But to each their own, I hope the people who want to root now are able to do so with relative ease. Cheers.
[myTouch 4G Q&A, Help & Troubleshooting] 21productionz:
I read in the G2 forum that Visionary is supposed to update tomorrow to include the G2 for Perma Root, might include us as well. Might be worth it to wait a couple days.
[G2 and Desire Z Android Development] Koush:
Installation instructions:

YOUR PHONE MUST ALREADY BE S-OFF. SEE THE OTHER THREADS IN THIS FORUM ON HOW TO DO THAT.

I recommend getting on Wi-Fi.

Download ROM Manager from the Market. You MUST have at least 2.5.0.6.

Flash Recovery.

Choose G2 as your phone.

Accept the Superuser prompt.

Use ROM Manager to create a Backup.

Watch the backup go!

That's it! This is completely painless and safe!

If you appreciate my work, please buy the Premium version of ROM Manager!

If you can't seem to get ROM Manager off the market, you can get it from my homepage:

http://www.koushikdutta.com/2010/02/clockwork-recovery-image.html

http://koush.tandtgaming.com//recoveries/RomManager.apk

Or to manually install the recovery via fastboot, use this:

http://koush.tandtgaming.com/recoveries/recovery-clockwork-2.5.1.2-vision.img
[G2 and Desire Z Android Development] blk_jack:
Great work!! Would this happen to work on the Desire Z as well?
[G2 and Desire Z Android Development] Dalamak:
Got the premium key off the market, but it doesnt list g2 in device selection
[G2 and Desire Z Android Development] gravis86:
I'm not seeing the G2 as an option, either :(

EDIT: I enabled "Advanced Mode" in settings and rebooted, G2 now shows up. Thanks, Koush!
[G2 and Desire Z Android Development] Koush:
Get on wifi if you don't see it.
[G2 and Desire Z Android Development] fearedbliss:
Purchased, keep up the good work.
[G2 and Desire Z Android Development] John5788:
instructions for fastboot method?
[G2 and Desire Z Android Development] yayitzben:
I keep getting an error message "can't open cache\recovery\command" upon reboot when I try to create a backup. Any ideas?
[G2 and Desire Z Android Development] usunoro:
fastboot flash recovery recovery-clockwork-2.5.1.2-vision.img
[G2 and Desire Z Android Development] Opettaja:
Same problem as yayitzben... Any suggestions?
[G2 and Desire Z Android Development] mauaus:
How can I backup my current rom?
[G2 and Desire Z Android Development] John5788:
I tried that after rebooting into fastboot mode, but it gets stuck at:

$ ./fastboot flash recovery recovery-clockwork-2.5.1.2-vision.img
sending 'recovery' (4040 KB)...

for over a minute. i dont remember it taking this long on the G1 to flash recovery
[G2 and Desire Z Android Development] ~~Tito~~:
Any reason selecting reboot in the recovery causes it to just black screen, and then pushing power button returns it to the recovery?
[G2 and Desire Z Android Development] funkeee:
Oh my God!!!! I followed your instructions and clicked backup current ROM and it rebooted and now I have a red triangle. What do I do?
[G2 and Desire Z Android Development] ddgarcia05:
hold vol up and power button at the same time. then using the volume bar to go to reboot... and press the power button.
[G2 and Desire Z Android Development] cyprusxr3:
Be sure to use the trackpad (button below the screen) and not the power button for "select". Power button is "back".

This happened to me (and a few others in the other thread). Pull the battery, restart, reflash recovery (via rom manager), fix permissions (via rom manger, might not be needed), start a new backup. Should work.

(Thanks temjinzero for this method)

Thanks Koush for an awesome job!
[G2 and Desire Z Android Development] funkeee:
If your phone restarts while in Clockwork after flashing and gives you a screen with a red triangle, do not panic and start using it as a paperweight immediately.

Pull the battery, reboot and reflash Clockwork.

I wasn't able to boot again for a few minutes after the battery pull. The power button did not have any effect. Not fastboot nor regular boot. After 2-3 minutes of pain, utter pain, I was able to get into fastboot, then reboot like normal.

Thank you to Koush, cyprusxr3 and mdel.
[G2 and Desire Z Android Development] amack10:
If you do not see g2 liste go to settings/applications/manage downloaded/rommanager and push clear cache clear data bam fixed
[G2 and Desire Z Android Development] slake1986:
Purchased. And thanks for all the hard work
[G2 and Desire Z Android Development] ~~Tito~~:
Ahh the touch pad, from what I was hearing, it wasn't working lol.

Just installed beacon bits lol.
[G2 and Desire Z Android Development] thatruth132:
well thats my issue im down to 468 mb after deleting like 80 apps i spend a lot of time on my phone , sh!t i just got capped by tmobile for high data usage...but yeah i would be happy if you could point me to the script to enable the ext3 i want to do some toying around
[G2 and Desire Z Android Development] dictionary:
I'm not so sure the scripts are updated to work with the g2/Z (if they even needed to be), but they are from the old N1 that I even know about em. DarkTremor. Again, I don't know that it'll work, as it doesn't state so in the thread .. but you would need a script like this ATM, unless someone can code it into a ROM later.

http://xdaforums.com/showthread.php?t=715940
[G2 and Desire Z Android Development] thatruth132:
Ok thanks
[G2 and Desire Z Android Development] illusive817:
i think its amazing how we are not hearing anything about psfreedom.

it must be some very difficult conversion to the g2
[G2 and Desire Z Android Development] brian6685:
Ive permarooted my phone, s-off and su works showing i have root. But when i flash clockwork recovery it says okay, never asked me for permission. When i reboot it gives me that error when i try to go into recovery with the ! symbol. Any idea's what im doing wrong?

EDIT: nevermind i did fix permissions, just to try. and rebooted and it works now..weird.
[G2 and Desire Z Android Development] nicky.m:
Need help here.

Followed the guid to root my g2. Verified.

Installed ROM Manager and tried flashing ClockworkMod Recovery, it says 'An error occurred while flashing your recovery.'

tried rebooting device and re-installing the app

thank you!
[G2 and Desire Z Android Development] tylik:
I've had my phone permarooted running various CyanogenMod builds for a bit. This morning ClockworkROM mentioned that there was a newer version available (2.5.1.3 it says it has now - but I haven't been tracking the versions closely), and I accepted the update. This afternoon I downloaded the .zip of CM6.1RTC4 and attempted to install it, only to find that I can't boot into recovery. To be more specific, if I try to "boot into recovery" via CWR it just reboots the phone. If I power off I can boot to the hboot screen (which seems to not be finding an appropriate .zip file, though that goes by fairly quickly) and try to select recovery, but that just reboots the phone to the HTC screen (and then a standard boot up). I don't even get to the triangle with an exclamation point.

I've tried to use CWR to fix permissions a number of times. I've tried to flash an older version of CWR - some versions won't flash, others produce no change in behavior.

Clues for the clueless?
[G2 and Desire Z Android Development] dictionary:
Try uninstalling ROM Manager, and then reinstall it. Then flash ClockworkMod again.
[G2 and Desire Z Android Development] mjybarr:
Is there a button sequence to enter into recovery after you have powered off your phone. I can get into recovery by holding vol down button and power at the same time, but that just takes me to bootloader (HBOOT SCREEN), then I select recovery. Is there a direct way to get into recovery?? Thanks in advanced.
[G2 and Desire Z Android Development] steviewevie:
I think so far that's the only way to do it. But it would be nice if we could have a direct way - e.g. power and trackpad ?
[G2 and Desire Z Android Development] tylik:
No dice.

At least, uninstalling it through manage applications under settings did not allow me to fully uninstall (should I be using some other method?) and reinstalling and reflashing did not produce different behavior. I just did notice that when I pull up the list of all ClockWorkMod Recoveries with ROM Manager 2.5.1.2 is no longer included. Check over my logs, this appears to have been the last version I had working. However, reinstalling and flashing with 2.5.1.1 is giving me exactly the same behavior.

Are there any alternate recovery packages anyone might recommend?

I don't have enough data to say for certain at this point, but I've noticed a number of minor bits of flakiness with the phone generally today (most of which could also be explained by network flakiness, though if so it's pretty intermittant) which is certainly making me more motivated to install a newer build.
[G2 and Desire Z Android Development] xencor:
Instead of installing recovery through ROM Manager, try installing it manually by:

1. Download this file and put it on the root of your SD card: http://koush.tandtgaming.com/recoveries/recovery-clockwork-2.5.1.2-vision.img

2. Go to your terminal emulator and type the following:

su
flash_image recovery /sdcard/recovery-clockwork-2.5.1.2-vision.img

Then you can try rebooting into your recovery and see if it works.

Hope this helps ya.
[G2 and Desire Z Android Development] tylik:
Beautiful, worked perfectly. (And I am so much happier with a command line.)

Thank you.