yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] benko286:
How to remove apps from ROM

You need to have root for this and Android SDK installed!

Link to detailed tutorial

Im using Paul's R4 rooting files at the location C:/users/veedubz/r4-desire-root in Windows 7 so point your Command prompt there first and im also assuming that you have a rooted Desire and can get into recovery mode

1. First get into recovery mode with the Green menu then close that command prompt and open a new one and cd to /r4-desire-root folder

2. You now need to mount the /system folder using the code below

adb-windows shell mount /system

3. Now you will need to get the list of installed apk files

adb-windows shell ls /system/app/

and the output should look like this:

AccountAndSyncSettings.apk	HtcWeatherWallpaper.apk
ApplicationsProvider.apk	Jbed.apk
Bluetooth.apk	LiveWallpapers.apk
..... ......
HtcStreamPlayer.apk	htcsettingwidgets.apk
HtcSyncwidget.apk	restartapp.apk
HtcTwitter.apk	teeter.apk

4. there are 2 methods of removal, they are

4a. Just delete the files

4b. Move to the sdcard

Use one of the following methods

4a. Now you have a list of the files you can chose the ones you want to remove , note that this part is case sensitive so com.htc.twitterwidget.apk is not the same as com.htc.TwitterWidget.apk, use the following code(example used is the Stocks app and widget):

adb-windows shell rm /system/app/Stock.apk
adb-windows shell rm /system/app/com.htc.StockWidget.apk

4b. Also case sensitive, to move the files to your sdcard(which aso removes from the device):

adb-windows shell mount /sdcard
adb-windows shell mkdir /sdcard/device_files
adb-windows mv /system/app/Stock.apk /sdcard/device-files
adb-windows mv /system/app/com.htc.StockWidget.apk /sdcard/device-files

The files will be moved to the new folder on your sdcard called /device-files, once there you can also backup to your pc for a bit of extra backup

5. Repeat Step 4. untill all the apk files that you want to remove are gone and to check that they are gone use

adb-windows shell ls /system/app/

Restoring your backed up files

Use the following code,

adb-windows shell mount /sdcard
adb-windows shell mv /sdcard/device-filesStock.apk /system/app/
adb-windows shell mv /sdcard/device-files/com.htc.StockWidget.apk /system/app/

How to remove apps from ROM

Read here
[Desire Android Development] terminal 7:
any one having trouble downloading the method5 for windowsfiles for hboot 0.8

the first link seems dead and the mirror downloads a corrupt file ??

...EDIT --- forgEt this post liknk 2 seems fine now THANKS !!! .. .... .....

OH and nice work :)
[Desire Android Development] morcus:
Thanks man for this guide.

It's more clear for me now =)
[Desire Android Development] dread123:
cheers - if i flash R5 rom,will this leave me with 121 rom or 115 rom? -I already running the 121 rom?

thanks
[Desire Android Development] benko286:
You will have generic 1.15 ROM
[Desire Android Development] poowe893:
Good job!!!
[Desire Android Development] brandall:
Appreciate this. Thank you.
[Desire Android Development] infexis:
Very good tutorial dude.

This is worth to be sticky! :D
[Desire Android Development] dread123:
ignore pls answered own question :)
[Desire Android Development] kingofthebraves:
Using Modaco's guide and I am stuck in step 2!

Isn't the Modaco Custom Rom for the Desire the same rom as the one for the N1 port? If that's the case it's not that good because I had a lot of issues with the N1 port 22.1 alpha.

Using Mac OS X

Asian Unlocked Desire

1.19.707.7

HBOOT 0.80

I am so far stuck in Step 2 after installing Step 1. Tried everything and it still won't work.

# In the terminal window, enter either 'step1-windows.bat', './step1-mac.sh' or './step1-linux.sh' as appropriate.

# When this step has completed, REMOVE THE GOLDCARD and either format it and replace, or replace with a different (non goldcard) microSD.

# Navigate to the 'BOOTLOADER' and then 'RECOVERY' option on the menu, using the volume buttons to move and the power button to select.

# In the terminal window, enter either 'step2-windows.bat', './step2-mac.sh' or './step2-linux.sh' as appropriate.

# When this has completed, your device should be at the 'recovery' screen. Select the 'wipe' option, then select the option to apply an update zip from sdcard, and select 'rootedupdate.zip'. This will take a little while, so go make a nice cup of tea. When the flash has finished, reboot, and you are DONE!

After installing step 1, I proceeded to the recovery until the red triangle came out, entered step 2 and the error log shows :

./step2-mac.sh

Desire Root Step 2

Pushing required files to device...

error: protocol fault (no status)

* daemon not running. starting it now *

* daemon started successfully *

error: device not found

Pushing update file to device sdcard - this may take a few minutes...

error: device not found

error: device not found

Now wipe and apply rootedupdate.zip from the recovery image menu.

device not found

Tried Unplugging the unit first then plugging it to the mac only when the red triangle shows up to no avail.

Please help!

Read somewhere that its an HTC Sync issue but I am using a mac
[Desire Android Development] benko286:
have you installed HTC Sync?
[Desire Android Development] kingofthebraves:
Im running MAC OS X so no HTC sync
[Desire Android Development] benko286:
I haven't tried rooting with MAC, I would suggest downloading Live CD it should be safe and easy ;)
[Desire Android Development] The Asgard:
Thanks for the guide, looks much easier to do.
[Desire Android Development] dread123:
getting a

failed- remote :42 custom id check fail??

when running batch 1? anyone help pls? tried to carryon and batch 2 - usb cant be found -htc sync installed?
[Desire Android Development] daduzzo888:
thank you very much
[Desire Android Development] ff293:
when rooting. the Desire maybe restart but dnt unplug the usb cable until finish....g'luck :P
[Desire Android Development] Oijkn:
Hello,

I follow your tuto Root guide for users who have branded(locked) Desire. - Guide to root with Tiny Core Linux

I make a gold card easily, i have boot loader 0.75.

At the step1 i have the message FAILED (remote: 90 hboot pre-update! please flush image again immediately), and it continue alone very well.

I was blocked at step 2 with no device found, i tried many times but it always the same think !

So i stop here :(

But when i reboot my phone and reconfigure it, i install cache mate (this app need root access) i can manage it an my backup pro too with root user access !!!!

It's normal ?!!!

Excuse for my poor english.
[Desire Android Development] Rage1ofakind:
Rooting my phone :D (1st time) just did the gold card procedure (waiting for the rooting tool to download now)

1 question, I used a defferent memory card to put the goldcard on (not my main one which has my phone app data and all that in it)

does it matter??
[Desire Android Development] Phil750123:
How do you get it working in the end?

I have the same problem, im in windows 7 64 bit, have just rooted my phone ( i asume it works as loaded it with the custom rom, and am trying to flash a new froyo (defrost ) rom to it, but i get stuck on the screen with the red triangle and the recovery windows file does nothing!

Anyone any ideas?
[Desire Android Development] dnlgee:
Which method are you using? Paul:s r6 from MCR? If you're already rooted, I'd suggest entering recovery using the fake-flash method or by using revoked.
[Desire Android Development] dnlgee:
No mate, it shouldn't matter, providing you got the correct serial for what your goldcard is going to be.
[Desire Android Development] rolphez:
Is it normal that it gets ERROR 41 during step one though? and at the end it goes back to the Fastboot Window?
[Desire Android Development] Phil750123:
I just used the method at the top of this forum, branded htc desire , 0.80 bootloader. Went through all the rooting process fine, then loaded into a default rom.

Just trying the fake flash method, i changed the name of defrost 1.4 to update.zip but it saying cannot find the file.
[Desire Android Development] dnlgee:
If you're using the fake flash method you don't news to rename the zip, the recovery menu that's installed via fake-flash allows you to flash any zip file from anywhere on your SDCard.
[Desire Android Development] Phil750123:
Sorry i just didnt read it write , downloaded that file then didnt even put it on my memory card! duhr!

Just got it working, am installing defrost now, let hope it works :)
[Desire Android Development] dnlgee:
Fingers crossed. DefroST is brilliant.
[Desire Android Development] cr1960:
nup - step 1 should have no errors. I think error 41 is because you don't have a goldcard/goldcard created properly. maybe recheck the goldcard creation steps.
[Desire Android Development] rolphez:
i've tried creating 3 gold cards, and it seems to have created the Gold Cards Correctly, all 3 cards are 2 GB card, should I attempt to buy another 3rd one and test it?!
[Desire Android Development] dickenz:
Update to the official 1.21 ROMs using HTC's official update. You will need a Goldcard to flash this update as your Desire is Telstra branded.

Once you've updated to version 1.21 and HBOOT 0.80.0000 then follow Paul's R6 guide over at Modaco. You won't have any problems with either the Windows or Linux methods.

The issue is Paul's rooting method is split into two categories, firstly one for HBOOT 0.75.0000 and a ROM version of 1.15.xxxx and secondly one for HBOOT 0.80.0000 and a ROM version 1.21.xxx.x... While that is fine our Telstra Desires kind of hit a black spot there... They came with a HBOOT of 0.75.0000 and a ROM version of 1.16.xxxx which does not fit into either of Paul's methods.

So you need to accommodate your phone to match Paul's guide... So upgrade then root :)
[Desire Android Development] rolphez:
Thanks very much for your help, I really appreciate that.

Now, I tried upgrading to the official 1.21 ROM, but that failed as well, I'm assuming that the reason for that is that my Gold Card is corrupt for some unknown reason. Although as I said I did try with 3 different micro sd Cards! I'm gonna go in about 20 minutes and buy a new 4gb micro sd card do you have any brand recommendations?!

Once I do that I will come back and try it again.

The HTC'S Official update, is it on the HTC website? or can I download it here?
[Desire Android Development] rolphez:
Is that the one?

RUU_Bravo_HTC_WWE_1.21.405.2_Radio_32.36.00.28U_4. 06.00.02_2_release_126984_signed.exe
[Desire Android Development] cj848:
I Think KOR SKT Rom is Wrong...

SKT ROMs are reporting does not work properly.
[Desire Android Development] Eggcake:
Edit: Ignore my previous post.

New question.

To "fake flash", I need an "update.zip". But where do I get it? There is a download link with "recovery-clockwork-bravo" but I can't see an update.zip. Or is this something else and I misunderstood the whole thing? :)
[Desire Android Development] dnlgee:
Download the ClockWork Recovery and simply rename the downloaded zip file to update.zip and place it at the root of your SDCard.
[Desire Android Development] at10ti0n:
just wanted to say thanks for this tutorial. Rooted my unbranded Desire whithout GoldCard with no problems!
[Desire Android Development] Eggcake:
Ah, thank you, worked great. Somehow misunderstood that part.

Perfectly working now, thank you all for this perfect tutorial :)
[Desire Android Development] faddys123:
can i still get official hhtc updates if i root with a unbranded rom ? with apps2sd on it ?
[Desire Android Development] YaPaY:
Sorry guys, if anybody asked this already. I searched forum but couldn't any answer.

I want to upgrade my desire to 1.21.405.2. I have 1.15.xxx.x. When I click check software updates I see only checking and checking during minutes.

I have rooted my phone and I'm hoping this update fix weak wireless signal problem of my desire but I can't do it.

How I can make this update without any data deleted?

Thanks
[Desire Android Development] Rexton270:
As benko said , you'll have generic 1.15.405.4 ROM which is very good (plenty languages:) ).

To benko : used goldcard & R5 package. Everything is fine,only one thing bothers me : update available,downloaded but can't install. Do i need to have goldcard in to phone when installing OTA upgrade???

P.S.: Any significant advantage of 1.21 update???
[Desire Android Development] dnlgee:
No real significant changes I don't think. Take not that certain carries (Orange) don't like radio updates at the minute so if there's a newer radio in the ROM then you'll either have to downgrade the radio or buy a cell unlock code.
[Desire Android Development] Rexton270:
Thanx for reply. So If I stay with freshly "rooted" 1.15.405 won't loose nothing major over 1.21 update?

To do OTA update do i need to have goldcard in the phone?
[Desire Android Development] dnlgee:
Don't think you'll lose anything major. And no you don't news your GoldCard inserted :)
[Desire Android Development] Rexton270:
Then something wrong :(

When checked system it says Update available, I downloaded it, but can't install... Is it that OTA update. And also using RUU doesn't work either...
[Desire Android Development] dnlgee:
There's stock ROM's floating around these forums that already have this version pre-cooked into them. The custom ROM's are also using this and are definitely worth a look.
[Desire Android Development] Rexton270:
Not in to custom ROMs (before with WM devices it was necessary :) ).

Anyway, do you know how to install updates? This issues piss me off... Tried update via RUU but the same...
[Desire Android Development] singlemanriot:
sorry for the noob post I have had my Desire 2 months and I want to root it. I got it on O2 from the Carphone warehouse and there is no O2 branding on it as far as I can see.

My questions are do I need a gold card and also is there a way to confirm if it is locked or not?

many thanks.
[Desire Android Development] Rexton270:
That was the early batch, not branded nor locked. Best way to try it , stick Orange/T-Mob/3 SIM and if you can see the network name on the lockscreen then is not locked :)

Read the post #1 - Rooting,flashing etc... It can be done within 30 min if you precisely follow instructions...
[Desire Android Development] singlemanriot:
Cheers for that :)
[Desire Android Development] Ghisy:
Quick question: is it possible to uninstall Wavesecure from the Modaco r3.1 ROM?

Because I have no need for it and it autostarts with the OS, it's a bit annoying!

Thanks!
[Desire Android Development] Rexton270:
He has few ROMs available. go for "version with no optional additions at all"..
[Desire Android Development] MasDroid:
You can remove system apps/apk's using adb, check this link: http://android.modaco.com/content/h...apps-from-the-htc-desire-with-adb-in-windows/
[Desire Android Development] Rexton270:
Yes, but this is for advanced users :) I think it's easier to reflash clean ROM and then install what is needed...
[Desire Android Development] dnlgee:
If you're using ClockWork, just open up the .zip archive on windows or whatever and delete the .apk files from the .zip. Simples.
[Desire Android Development] MasDroid:
Yes, but the guide tells you what to do lol. He could just simply enter ADB and delete the apk as opposed to wasting time and avoid the bother of downloading the ROM again and re-applying all his settings... again ;)
[Desire Android Development] Ghisy:
@Rexton270, I needed the one with A2SD+ included.

@MasDroid, will try that tomorrow. If I'm not mistaken, I need to install the Android SDK on my PC to do this, correct?
[Desire Android Development] dnlgee:
Not really, you only need the ADB files. Click the link in my sig and place them in your system32 folder, that way you'll be able to run the adb command from anywhere in windows via cmd prompt.
[Desire Android Development] Ghisy:
Thanks dnlgee for your link!

Now I feel like my Desire is a bit laggy since I installed Modaco r3.1 with A2SD+ ROM. Could it be because of A2SD+? I've already converted my ext2 partition into an ext3, as MasDroid advised me to.
[Desire Android Development] dnlgee:
Could be the read/write speed of the SDCard for the apps and cache of it's lagging, never encountered that problem myself but it could be worth booting into ClockWork and wiping the Davlik cache?
[Desire Android Development] cnd_nick:
I have performed the rooting, it was successful, but now, no matter what froyo rom I'm installing, I have no internet. I'm with 3 network in Italy. I have enabled data. Are there any settings I need to insert?

Thank you.
[Desire Android Development] dnlgee:
Check your APN settings in your network settings.
[Desire Android Development] kar1oko:
I've just received my Orange Spain branded HTC Desire, and it has a new version I haven't seen in all the posts here 1.22.75.1 (all details in my current signature)

I tried the root method but I get this error:

FAILED (remote: 43 main version check fail)

And a device not found in the second step. Also tried last modaco method but same problem, it doesn't let me apply the update.zip due to bad version.

At least I hadn't any brick, and always rebooting could came back to my branded software.
[Desire Android Development] BlackBirdf:
Also had Problems

I used your guide to root unbranded 0.8 desire (latest OS was allready stock), so I used no goldcard, step 1 finished without any error, but during step 2 I've got the phone not found error, so i tried it with Linux, first half of step 2 seemed to work, but after all my phone stuck with the red triangle.

On the net I found the probably original Thread, there allready is a r6 one, and a slightly different guide, which worked just fine for me under windows, maybe you update your guide?

Source: Read PM, can't post links, because I'm a new member (why? I'm a member for over an year now?!? :confused:).

My OS is now 1.15.405.4, and there's an OTA Update to 1.21.405.2, which i had before. Am I going to lose my root if i update it?

Edit: Answered right in the moment in Q&A: Can't post link, xda forum link is said to be an external link. :mad:

Thx

Bird
[Desire Android Development] xenofexos:
Desire problems

Hi.. Plz, can somebody help me. I´ve rooted my desire, but somethin g went wrong.. Now I´m back to RUU, and my desire restarts itseld sometimes, and I cant run any GPS software, If I do, after a while, maps freezes, and/or phone restarts...

I used your guide to root unbranded 0.8 desire.. probs with step 2.. doesnt work..

I have tryed to root couple of times, but it just doesn´t work..

plz plz plz.. help me... :(
[Desire Android Development] BlackBirdf:
I've send you a PM, try the linked tutorial, on the first look it's the same, but there are some slightly differences. ;)
[Desire Android Development] sunnycls:
Hi guys, I have read the guides in the first page. I have a T-Mobile HTC Desire with build 1.15.110.11 CL155070 release-keys. I saw there is OTA update to 1.21 but how do I update it if I don't get the OTA download?

Thanks in advance.
[Desire Android Development] xenofexos:
Hi Blackbirdf.

Thk U so much.. I will try this later today, after I get back from my job.. If this one works, I´ll marry u dude :-) .. Thk a lot !!!
[Desire Android Development] xenofexos:
Desire root problem

When i try to root desire with:

h t t p : / / a n d r o i d.modaco . c o m/content/htc-desire-desire-modaco-com/307365/14-jun-r6-riskfreeroot-htc-desire-rooting-guide-now-with-hboot-0-80-and-os-to-1-21-support/

After step1, it says: e: can´t open /cache/recovery/command...

e:signature verification failed. Installation aborted... HELP!!!

What to do.... Do someone have an solution for this, I really need my phone back in functional state ?

Thx in advance!
[Desire Android Development] BlackBirdf:
Which steps do you mean?

I've also allways get the error "e: can´t open /cache/recovery/command" while I'm in the red triangle menu and pressing vol up + power, don't ask my why, I have changed to Linux/Android just recently.

What things have you done before you got the 2nd error?

After fastboot started up:

have you connected the phone to the pc (and gave your os time to install the drivers)?

What OS are you using?

If it's windows:

You must open the command prompt (right click in the unziped folder, while pressing the control key, and select open command prompt here, or open it via all programs, and navigate manually), and write the full name (step1-windows.bat) and press enter, because you then can read the messages from the program, and i think there's a smale difference in execution compared to just double clicking it.

@sunnycls:

If t-mobile hasn't released their branded OTA yet (don't know, tried update check?), then you either wait, or you root and debrand your phone, so you can install the generic OTA (you will lose root), or install the rooted update, send me a PM if need the link, stupidly I can't post links. :(
[Desire Android Development] BlackBirdf:
Sorry for double post... :rolleyes:

Other Guide:

http://android.modaco.com/content/htc-desire-desire-modaco-com/307365/14-jun-r6-riskfreeroot-htc-desire-rooting-guide-now-with-hboot-0-80-and-os-to-1-21-support/

Rooted Update to 1.21.405.2:

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

Direct DL:

http://rapidshare.com/files/395319842/rootedupdate-1.21.405.2-SU-2.1-signed.zip
[Desire Android Development] dazza81:
Unrooting problem

Hi, I successfully rooted my Desire (locked T-Mobile - bootloader version 0.75) using Windows and all worked fine. I now need to return the phone due to cosmetic damage.

I have followed the unrooting instructions downloading the T-Mobile UK RUU. I have my Goldcard in my Desire but after the RUU tries to reboot my phone into bootloader, it sits at Waiting for Bootloader and eventually gives me an error. The phone just sits at the HTC logo screen. I have tried to different Goldcards with no joy. Any ideas what is going wrong?

Cheers
[Desire Android Development] cmats:
I have the same problem with bootloader 0,80 and when i try again with the fone in "htc logo" i get this fail:
[Desire Android Development] sunnycls:
How do I know which method to use if I have unlocked my T-Mobile UK desire (I can use any other network but still in T-Mobile boot screen). I am not sure whether my phone is consider unbranded (unlocked) or branded (locked). I have tried rooting the phone with the #1 post method but it seems that I could not finish the step 2 process during the Tiny Core Linux process. Any idea?

Million thanks..

Edit:

I have used the goldcard method and I am able to complete the step 1 method for Tiny Core Linux process but due to I do not have an extra empty microsd and microsd to sd adapter. I did not complete step 2 but my desire is now w/o T-Mobile boot screen instead there is a Virgin Mobile icon in the home screen once I booted it from step 1. Does this mean I successfully rooted or? Please enlight me. My first time creating a goldcard and trying to root.

Sorry and Million thanks again.
[Desire Android Development] Marcell-o:
I have some questions.

If i root my device with the manual on page one, wil my settings be saved or will it wipe all of the userdata.

And if I unroot the device and use the Generic RUU , is there Dutch again?