Skip to main content

rooting and upgrading htc desire to gingerbread(2.3)


Alrite this is officially by first blog....
And i have decided to blog this for a simple
reason coz there aren't many doc's on the net
that describe rooting + upgrading ur htc desire
+ tools used on linux for doing the same.

ok the following line is actually a dampner,
i dont want to add it but i have no choice.
WARNING: ROOTING THE HTC DESIRE WILL VOID THE
WARRANTY.
and
I DISCLAIM ANY CHANCE OF DAMAGE TO YOUR PHONE.

s/w required
1. ubuntu 10.04 or 10.10 preferably 64 bit version
for obvious reasons....i'm currently using a 64 bit
bit ubuntu 10.10 machine.

2. android sdk setup (optional) for adb tool to be
used for transfering files to the device.

3. (optional) following link can be usefull
for those who are actually building android
from source.
http://source.android.com/source/initializing.html

4. unrevoked3 for linux -> simple, easy to use
and the best tool essentially for rooting (Super user
access) the device done by just running reflash
executable.
http://downloads.unrevoked.com/recovery/3.32/reflash.tar.gz

5. for upgrading your device from froyo 2.2 to
gingerbread 2.3.3 which is actually a cyanogen
gingerbread mod for htc desire :)
http://koush.kanged.net/cm/stable/gingerbread/update-cm-7.0.2-Desire-signed.zip

with the above tools downloaded we are ready
to go kick some htc desire a**,
just follow the steps mentioned below,
sit back and enjoy your upgraded htc-deire
gingerbread style :)

1. Before doing anything to the device take backup
MyBackup Root, SMS Backup & Restore, and
Call Backup & Restore are all free applications that
can assist with backing up your data.

2. connect your device to your PC
(via micro USB cable just in case)
and run the previously downloaded reflash executable.

3. follow the simple steps mentioned when the UI
of the reflash executable comes up on ur PC.
and your device should be rooted with out any hiccups.

4. rename update-cm-7.0.2-Desire-signed.zip to update.zip

5. now copy the update.zip to ur device's micro SD-CARD.
eg $ adb push update.zip /sdcard/
or mount the micro SD-CARD and copy it manually.

6. power off your device.

7. Boot into the ClockworkMod Recovery. hold power button
 + volume down button to enter.

8. volume keys will allow you to navigate up
 & down & the power key will allow you to select an option.

9. enter into ClockworkMod Recovery.

10. select WIPE DATA and CACHE.

11. select install zip from SD-CARD.

12. select Choose zip from SD-CARD.

13. select update.zip.

14. once the installation is done select reboot-system-now.

15. gingerbread served ENJOY!!!!



Comments

Post a Comment

Popular posts from this blog

Getting and Setting Microphone Gain or Microphone Boost on Windows 7 / 8 Programmatically

After hours of searching the net I have finally figured out a way to programmatically get and set the microphone gain (boost) value. The code mentioned below can be built on VS and does the job of setting gain value. #include "stdafx.h" #include <mmdeviceapi.h> #include <endpointvolume.h> #include <Functiondiscoverykeys_devpkey.h> #include "Audioclient.h" #include "comutil.h" #define EXIT_ON_ERROR(hres)   if (FAILED(hres)) { goto Exit; } #define SAFE_RELEASE(punk)   if ((punk) != NULL)  { (punk)->Release(); (punk) = NULL; } HRESULT getMicrophoneBoostVolumeLevel(IMMDevice *pEndptDev, IAudioVolumeLevel** ppVolumeLevel) { HRESULT hr = S_OK; DataFlow flow; IDeviceTopology *pDeviceTopology = NULL; IConnector *pConnFrom = NULL; IConnector *pConnTo = NULL; IPart *pPartPrev = NULL; IPart *pPartNext = NULL; *ppVolumeLevel = NULL; wchar_t microphoneBoostName[] = L"Microphone Boost";//if your system ...

Simple example of strong and weak pointers on Android using RefBase class

Here is a simple example explaining the usage of strong and weak pointers using android's RefBase class and the Android.mk to compile the same. Its a modified version of code written by Daniel in the following link. http://himmele.blogspot.com/2012/03/androids-c-reference-counting.html strong_pointer.cpp file:  #include <stdio.h> #include "utils/RefBase.h" namespace android {  class RefTest : public RefBase { public:     RefTest(int32_t id) : mID(id) {         printf("RefTest ctor: %d\n", mID);     }     virtual ~RefTest() {         printf("RefTest dtor: %d\n", mID);     }     int32_t id() const {         return mID;     } private:     int32_t mID; }; int strong_pointer() {     sp<RefTest> ref1 = new RefTest(1);     sp<RefTest> ref5;   ...

AES-CBC-CTS Decryption using OpenSSL

Recently I was testing few test streams encrypted with AES-CBC-CTS mode, which is another block cipher mode that allows encrypting of data that is not evenly divisible into blocks (unlike AES-CBC mode). I also found that decryption of such streams is not possible using OpenSSL, as it does not support this block cipher mode. Since OpenSSL does support encryption/decryption for AES-CBC mode, I decided to extend this logic to support AES-CBC-CTS mode. I found following article on wikipedia which explains CBC-CTS encryption/decryption in detail. http://en.wikipedia.org/wiki/Ciphertext_stealing#CBC_ciphertext_stealing_decryption_using_a_standard_CBC_interface . Following C Routine can be used to decrypt data encrypted with AES-CBC-CTS block cipher mode. _DecryptData(DRM_KeyCtx_T  KEY_CTX, // KeyCtx_T is a structure containing the Key and IV.                      UINT8 *data, // ...