How to Unbrick, Root, And Install CWM
Disclaimer: This guide is for your information only. I am not responsible for any further damage cause to your device by not following the guide correctly. Parts of this guide are based on the Unbricking guide produced by XDA member, Machzelet. Namely the Unbrick process.
This guide will give you step by step instructions on how to initially unbrick, root, and install ClockWorkMod Recovery on your LG Nitro HD. You will also learn how to make yourself a CWM backup that you can use to unbrick your Nitro whenever you need to... even when you are away from your PC.
NOTE: More people have had success using this guide on Windows XP than Windows 7.
It is understood by the author that CWM and CWM backups are nothing new to the XDA community. This guide is less about groundbreaking discoveries and more about clarification and introduction of an on-the-fly unbricking concept. As with all posts on the community forum, this guide is not set in stone and can/will be changed upon suggestion from other XDA Forum members.
Required Downloads
Nitro_Unbrick.zip (760.24MB) (Unzip to the location of your choice. 7zip is recommended.)
Notes Before You Start
Make sure to allow the phone to boot into the stock ROM at least once before flashing any other ROMs.
Unbrick the Phone
Copy ‘Android’ folder to C:\
In the ‘Run…’ dialog, type “sysdm.cpl” and press enter.
Click the ‘Advanced’ tab.
Click the ‘Environment Variables…’ button.
In the ‘System Variables’ section, highlight the entry labeled ‘Path’.
Click the ‘Edit…’ button at the bottom of the window.
Add “;C:\Android” to the end of the Variable Value.
Click ‘OK’.
Click ‘OK’.
Click ‘OK’.
Log out of Windows and log back in.
Once logged in, run the exe in the ‘LGP930’ folder to ensure that the Nitro drivers are installed. (This should install all of the necessary drivers. However, if it does not, install the drivers in the sub-folder as well.)
Once drivers are installed, run the exe file in the ‘shttp3’ folder.
Check the box to agree to the license.
Click ‘Install’.
When finished, run “C:\shttps\http.exe”.
Right click the ‘Small Server’ icon in the System Tray and select ‘Settings…’.
Click ‘HTTP’ at the top.
Change the second box from ‘8080’ to ‘9002’ and click ‘OK’ in the top right.
Extract the file named ‘www.zip’ located in the ‘shttp3’ folder to “C:\shttps\www”.
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Save the file.
In the ‘Run…’ dialog, type “ipconfig /flushdns”.
Run the file named “B2CAppSetup.exe” located in the ‘KDZ_FW_UPD_EN’ folder and then close it.
Run the file named “UpTestEX_mod2_marwin.exe” located in the ‘KDZ_FW_UPD_EN’ folder. (If you get errors, you may need to install msxml.msi.)
In the ‘Merge’ section, click the folder next to the ‘Select model.dll’ field.
Navigate to the “model.dll” file in the ‘KDZ_FW_UPD_EN’ folder and click ‘OK’.
In the ‘Test’ section, change ‘PhoneMode’ to “EMERGENCY”.
Click the folder next to the ‘Select kdz file’ field.
Navigate to the “V10F_00.kdz” file in the root folder and click ‘OK’.
Click ‘CSE web upgrade test’ at the bottom right of the window.
With the phone off, hold the Volume Up button and plug it into the PC via USB.
Once the screen says “Download Mode”, move on to the next step.
Click ‘Upgrade Start’.
Change the language to English and click ‘OK’.
If the upgrade stops at 4%, start over from step 23 and try again.
While the upgrade is in progress, copy the contents of the ‘Images’ folder to an SD card.
When the phone reboots, use Task Manager to close the upgrade application.
When the phone is up and running, tap the left button and choose English.
Tap ‘Exit’.
Enable Root Rights
Enable USB Debugging and Unknown Sources.
Insert your SD card and let it mount and scan.
Run the exe in the 'SuperOneClick' folder. (If you can't obtain root rights using this application, try Bin4ry's guides.)
Follow the instruction given in the application.
Flash AT&T Stock ROM (2.3.5)
Once the phone reboots, type “cmd” in the ‘Run…’ dialog and press enter.
Type “adb shell” and press enter.
Type “su” and press enter.
Run the following commands one by one in order:
Code:
dd if=/sdcard/[COLOR="Magenta"]boot.img[/COLOR] of=/dev/block/[COLOR="Magenta"]mmcblk0p8[/COLOR]
dd if=/sdcard/[COLOR="Orange"]recovery.img[/COLOR] of=/dev/block/[COLOR="Orange"]mmcblk0p13[/COLOR]
dd if=/sdcard/[COLOR="Lime"]firmware.img[/COLOR] of=/dev/block/[COLOR="Lime"]mmcblk0p1[/COLOR]
dd if=/sdcard/[COLOR="Cyan"]baseband.img[/COLOR] of=/dev/block/[COLOR="Cyan"]mmcblk0p14[/COLOR]
dd if=/sdcard/[COLOR="DeepSkyBlue"]system.img[/COLOR] of=/dev/block/[COLOR="DeepSkyBlue"]mmcblk0p27[/COLOR]
After the last command finishes (It will take a while.), pull the battery out of your phone and unplug the USB.
Replace the battery.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into the stock AT&T ROM.
Install ClockWorkMod Recovery
If you haven’t already, follow the steps to root once more.
Install ROM Manager from the Play Store.
Open ROM Manager and tap ‘Flash ClockWorkMod Recovery’.
Tap the first option that says “LG P930”.
Let ROM Manager do its thing.
Create A Recovery
Turn off the phone.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into ClockWorkMod.
Tap ‘Backup and Restore’.
Tap ‘Backup’.
When the blue menu appears again, tap ‘Reboot System Now’.
Restore Your Backup
Pull the battery out.
Replace the battery.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into ClockWorkMod.
Tap ‘Wipe data/factory reset’.
Tap ‘Wipe cache partition’. (For good measure.)
Tap ‘Backup and Restore’.
Tap ‘Restore’.
Choose your backup.
When the blue menu appears again, tap ‘Reboot System Now’.
So is this a way to get back to stock from ics leak? Or would I still need to unbrick into the korean version?
Sent from my LG-P930 using xda app-developers app
miguellopez12 said:
So is this a way to get back to stock from ics leak? Or would I still need to unbrick into the korean version?
Sent from my LG-P930 using xda app-developers app
Click to expand...
Click to collapse
No, this will take you into the Korean version. It is essentially the same as Machzelet's guide. I just clarified a few of the steps, added a different rooting method, and explained ClockWorkMod Recovery installation and backup/restore.
nice, hopefully clears up the nuttiness that thread fell into. d'ling the zip now, well, i think i am, on another box.
FYI, I added a note to the guide about HO!NO!s CWM flashable ROM.
great guide, nice write up.
just to be sure, under restoring your backup after bricking #5. says to factory reset, then restore you CWM backup. Will your clockwork backups be deleted when you wipe data/factory reset, I think they usually are on my galaxy tab 7.0 plus.
thanks.
Hello I'm in need of some help I can't back up my current Rom because clockwork mod doesn't work on my phone is there another way
Sent from my GT-S5830i using xda app-developers app
themadbomber said:
Hello I'm in need of some help I can't back up my current Rom because clockwork mod doesn't work on my phone is there another way
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
Download this file and copy it to your SD card.
Try replacing "dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13" in step 3 of the AT&T ROM section with "dd if=/sdcard/recovery-clockwork-5.8.2.0-p930.img of=/dev/block/mmcblk0p13" and go through the steps again and ignore the ClockWorkMod Recovery install section.
mattman86 said:
How to Setup Your Easy Unbricking Backup
Disclaimer: This guide is for your information only. I am not responsible for any further damage cause to your device by not following the guide correctly. Parts of this guide are based on the Unbricking guide produced by XDA member, Machzelet. Namely the Revival process.
This guide will give you step by step instructions on how to initially unbrick, root, and install ClockWorkMod Recovery on your LG Nitro HD. You will also learn how to make yourself a CWM backup that you can use to unbrick your Nitro whenever you need to... even when you are away from your PC.
It is understood by the author that CWM and CWM backups are nothing new to the XDA community. This guide is less about groundbreaking discoveries and more about clarification and introduction of an on-the-fly unbricking concept. As with all posts on the community forum, this guide is not set in stone and can/will be changed upon suggestion from other XDA Forum members.
Required Downloads
Nitro Easy Unbrick.zip (Unzip to the location of your choice.)
Reviving the Phone
Copy ‘Android’ folder to C:\
In the ‘Run…’ dialog, type “sysdm.cpl” and press enter.
Click the ‘Advanced’ tab.
Click the ‘Environment Variables…’ button.
In the ‘System Variables’ section, highlight the entry labeled ‘Path’.
Click the ‘Edit…’ button at the bottom of the window.
Add “;C:\Android” to the end of the Variable Value.
Click ‘OK’.
Click ‘OK’.
Click ‘OK’.
Log out of Windows and log back in.
Once logged in, run the exe in the ‘LGP930’ folder to ensure that the Nitro drivers are installed.
Once drivers are installed, run the exe file in the ‘shttp3’ folder.
Check the box to agree to the license.
Click ‘Install’.
When finished, run “C:\shttps\http.exe”.
Right click the ‘Small Server’ icon in the System Tray and select ‘Settings…’.
Click ‘HTTP’ at the top.
Change the second box from ‘8080’ to ‘9002’ and click ‘OK’ in the top right.
Extract the file named ‘www.zip’ located in the ‘shttp3’ folder to “C:\shttps\www”.
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Save the file.
In the ‘Run…’ dialog, type “ipconfig /flushdns”.
Run the file named “B2CAppSetup.exe” located in the ‘KDZ_FW_UPD_EN’ folder and then close it.
Run the file named “UpTestEX_mod2_marwin.exe” located in the ‘KDZ_FW_UPD_EN’ folder.
In the ‘Merge’ section, click the folder next to the ‘Select model.dll’ field.
Navigate to the “model.dll” file in the ‘KDZ_FW_UPD_EN’ folder and click ‘OK’.
In the ‘Test’ section, change ‘PhoneMode’ to “EMERGENCY”.
Click the folder next to the ‘Select kdz file’ field.
Navigate to the “V10F_00.kdz” file in the ‘KDZ_FW_UPD_EN’ folder and click ‘OK’.
Click ‘CSE web upgrade test’ at the bottom right of the window.
With the phone off, hold the Volume Up button and plug it into the PC via USB.
Once the screen says “Download Mode”, move on to the next step.
Click ‘Upgrade Start’.
Change the language to English and click ‘OK’.
If the upgrade stops at 4%, start over from step 23 and try again.
While the upgrade is in progress, copy the contents of the ‘Images’ folder to an SD card.
When the phone reboots, use Task Manager to close the upgrade application.
When the phone is up and running, tap the left button and choose English.
Tap ‘Exit’.
Enabling Root Rights
Enable USB Debugging and Unknown Sources.
Insert your SD card and let it mount and scan.
Run the file named “ROOT.bat” located in the ‘ROOT’ folder.
Follow the instructions on in the CMD window.
Flashing AT&T Stock ROM
Once the phone reboots, type “cmd” in the ‘Run…’ dialog and press enter.
Type “adb shell” and press enter.
Type “su” and press enter.
Run the following commands one by one in order:
Code:
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
dd if=/sdcard/firmware.img of=/dev/block/mmcblk0p1
dd if=/sdcard/baseband.img of=/dev/block/mmcblk0p14
dd if=/sdcard/system.img of=/dev/block/mmcblk0p27
After the last command finishes (It will take a while.), pull the battery out of your phone and unplug the USB.
Replace the battery.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into the stock AT&T ROM.
Installing ClockWorkMod Recovery
If you haven’t already, follow the steps to root once more.
Install ROM Manager from the Play Store.
Open ROM Manager and tap ‘Flash ClockWorkMod Recovery’.
Tap the first option that says “LG P930”.
Let ROM Manager do its thing.
If you plan on flashing HO!NO!s ICS CWM ROM, now would be a good time to do that. After, you can customize it and move on with this guide.
Create First Recovery for Easy Unbricking
Turn off the phone.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into ClockWorkMod.
Tap ‘Backup and Restore’.
Tap ‘Backup’.
When the blue menu appears again, tap ‘Reboot System Now’.
Restoring Your Backup after Bricking
Pull the battery out.
Replace the battery.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into ClockWorkMod.
Tap ‘Wipe data/factory reset’.
Tap ‘Wipe cache partition’. (For good measure.)
Tap ‘Backup and Restore’.
Tap ‘Restore’.
Choose your backup.
When the blue menu appears again, tap ‘Reboot System Now’.
Notes
Make sure to allow the phone to boot into the stock ROM at least once before flashing any other ROMs.
Don't forget to wipe the cache and data partitions each time you unbrick.
Click to expand...
Click to collapse
Hi tried the steps above but after i click the ‘Upgrade Start’.button its reads my phone and says The Cell phone is the latest version already. So you don't need to update.
right ow i am on ICS Leak no root.
Please advise..
mith13 said:
Hi tried the steps above but after i click the ‘Upgrade Start’.button its reads my phone and says The Cell phone is the latest version already. So you don't need to update.
right ow i am on ICS Leak no root.
Please advise..
Click to expand...
Click to collapse
this is *usually* the culprit
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Also ipconfig /flushdns
scott0 said:
this is *usually* the culprit
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Click to expand...
Click to collapse
Thank you for responding scott0. I have been busy today and not able to read the latest posts.
Also, I had a lot of troubles with that part too. So I added step 23 to refresh the DNS.
scott0 said:
this is *usually* the culprit
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Click to expand...
Click to collapse
Hi scott0,
This time i copy pasted the log above and got this error-server maintenance, is it usual should i try after sometime or so..
and this is the change made to host fine is it OK.
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 csmg.lgmobile.com
mith13 said:
Hi scott0,
This time i copy pasted the log above and got this error-server maintenance, is it usual should i try after sometime or so..
and this is the change made to host fine is it OK.
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 csmg.lgmobile.com
Click to expand...
Click to collapse
guyss need some help please..
That *should* work. but, I've never had luck with just having a single space. It has only worked for me when i use a tab.
Also, do you still have the B2CAppSetup.exe application running?
Can we UN-sticky the "Official" guide and make this one the official? That OP did some great work, but won't update the steps to help people avoid common problems (ie. rename the kdz file). If people started using this one instead, it would be more beneficial to the community.
I tried to download this. but it told me 12 hours to download. wtf?
houstonsveryown said:
I tried to download this. but it told me 12 hours to download. wtf?
Click to expand...
Click to collapse
It's probably a big file because it contains 2 complete ROMS, plus other files.
---------- Post added at 03:45 PM ---------- Previous post was at 03:43 PM ----------
houstonsveryown said:
I tried to download this. but it told me 12 hours to download. wtf?
Click to expand...
Click to collapse
I just clicked on it. It's 804MB and I have 20 minutes left. Check your connection
Im not sure whats going on. My connection is great.15up 6 down. Im not sure if it chrome or what.
Thx, will try this when i get home on my soft-bricked nitro!
Skickat från min GT-N7000 via Tapatalk 2
Related
Here's a friendly guide for all the people with 1.33.0010 SPL INDIAN VERSION AIRTEL and who would like to switch over to the 1.33.2010 Engineering SPL with Amon_RA's ROM. This has been tested on my Indian HTC Magic, but I do think it will work for other Magics with the same SPL. Remember, this is for 32A only.I tried different options given in xda forum but this method is full proof and now I have a working hero rom on my HTC MAGIC AIRTEL ASIA.
1. Download the latest Android SDK from http://developer.android.com/. Create a folder called "AndroidSDK" on your C drive and extract the contents of the zip file to the folder such that the folders called "tools", "usb_driver" and all are within the "AndroidSDK" folder.
2. On Windows XP : Go to Control Panel->System, Choose the 'Advanced' tab and then click 'Environment Variables' To do this on Vista/Windows7: Simply go to Control Panel->System and choose 'Advanced System Settings' and then 'Environment Variables'
Now that you've got here locate Path under System Variables and click Edit, then add the following to the end of the string displayed:
;C:\AndroidSDK\tools\
Then click OK until you get out of the menus.
3. Enable Debugging mode on the phone by going to
Menu > Settings > Applications > Developement > USB Debugging
4. Go to http://dl.google.com/android/android_usb_windows.zip and download the ADB drivers for windows.Not needed in HTC Sync 2.04 version as drivers are embedded in it.
5. Connect your Android device via USB. When the Found New Hardware Wizard appears, you'll be asked if you'd like Windows Update to search for software, select No, not this time and click Next.
Select Install from a list or specified location and click Next.
Select Search for the best driver in these locations. Browse and select the unzipped folder. Click Finish.
6. Go to "Run" in Start and type in "cmd". This is the standard procedure for invoking the Command Prompt. Remember this. Type "cd\" hit enter and then enter "cd AndroidSDK", hit enter. Then cd\tools ,hit enter The command prompt should look like :
C:\AndroidSDK\tools>
Now type in "adb devices" and hit enter. You should see something like this :
C:\AndroidSDK>adb devices
List of devices attached
XXXXXXXXXXXX device
If you do, everything is great. Disconnect your device.
7. Now go to HTC's global site and download the latest version of HTC Sync(2.04 Version), unzip and install. When you connect your device now, HTC Sync should recognize your phone.
8. Now comes the Gold Card part. Go to http://forum.xda-developers.com/show...99&postcount=1 and follow the guide to create your Gold Card. The 2GB Sandisk one which comes in the box works just fine. If you don't have Android Market, don't fret. Forget about the Steps 3 & 4. Instead, connect your device with the card in it. Invoke command prompt and cd to "AndroidSDK" as told before. Type in "adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid". You will get the CID. Follow the rest of the steps from the guide to create a Gold Card.
9. Time for action. Now you gotta get Engineering SPL 1.33.2010(find it on xda forum)- MD5 : 865020FBDFBD9C08950076A701A8A003 Flash this Rom in Hboot mode.
# Copy the required file zip file and rename it sappimg.zip (Do not add zip only rename as sappimg as it is already a zip file.) and copy it to the Goldcard.
# Boot your phone while holding the VOLUME-DOWN key.
# Press the ACTION KEY (=trackball) to start the update.
# Wait until the update completes and press the ACTION KEY (=trackball) to reboot your phone.
10. Now time to create a Nandroid Backup. Download • RAv1.2.1H – (Find it on xda forums) MD5Sum: E08D0A38BCCADAE416F644EE9D370D8B Put it in the "AndroidSDK\tools" folder. Switch off your phone. Hold the Back button and Switch it on. This takes you to the Fastboot mode. Standard procedure. Remember this. Connect the phone to the PC. Invoke the command prompt, cd to "AndroidSDK\tools" and type :
fastboot boot recovery-RAv1.2.1H.img
The recovery image will boot and you'll see the recovery screen in green colour. Wait for 2 minutes. Select the Nandroid Backup option and follow the on-screen instructions to create a backup. Reboot device. And copy over the "nandroid" folder on you sd card to a safe place.
11. Time to flash the HERO ROM Go to myhero-1.12 (find it on XDA forum) I tried flashing other roms but the screen jams at start so this particular rom is working well on my HTC AIRTEL ASIA Rename the file to "update.zip" and copy over to the sd card. Switch off your phone. Hold the Back button and Switch it on. This takes you to the Fastboot mode. Connect the phone to the PC. Invoke the command prompt, cd to "AndroidSDK\tools" and type :
fastboot boot recovery-RAv1.2.1H.img
The recovery image will boot and you'll see the recovery screen. Wait for 2 minutes. Select the Wipe Data option, and follow instructions to Wipe your present ROM. If you don't do this, your phone might not boot after flashing the ROM. Select the Apply sdcard:update.zip option. Follow onscreen instructions to flash the ROM. Reboot. All done. Welcome to Android.....
All credits go to XDA FORUM , and everybody else for their respective contributions.....
PS. Please do chip in with a Thanks if you found this guide helpful and any corrections are welcome.....
PPS. After you flash the ROM, if HTC Sync isn't working, use Google Sync, since the ROM is a Google ION based one.
This is aimed at new "rooters". The process is incredibly easy.
I also take no responsibility if you mess up somehow, and this is for GSM Hero's NOT Sprint Hero CDMA users.
In order to create this guide I downgraded my phone to RUU Orange UK 2.73.61.66 (i.e. unrooted) then updated to the pre-2.1 release from Orange and then updated to the final 2.1 release from Orange. I then used Universal Androot to gain root access and from there install a custom recovery.
I have now also included a link to z4root as an alternative.
Here is a link to my backup guide but please be aware that most of it requires root access.
Prelude:
Install HTC Sync from here
Download Universal Androot
Download z4root
Download Root Checker - only if you need to
Download AmonRA Recovery v1.7.0.1.img - easier if you rename this "recovery.img" when it is on your sdcard
Place both downloaded files on your SD Card
Root & Recovery
1. Download and install Astro File Manager from the Market (or use any other file management program of your choice)
2. Open Astro and find and install Universal Androot (or if that doesn't work try z4root) from your sdcard:
Select UniversalAndroot.apk > Open App Manager > Install > Settings> [tick] Unknown Sources > OK > Back > Select UniversalAndroot.apk > Open App Manager > Install > Install > Open
3. In the app and choose the correct version from the dropdown box:
Superuser for Android 2.0~2.2 - if you have updated your phone recently
Superuser for Android 1.5~1.6 - if you have refused updates recently or your country/provider hasn't released one yet
Then choose: "Root "
Wait until it says "Woot ! Your device is rooted !" and exit the program.
4. Download and install Android Terminal Emulator from the Market (use Better Terminal instead if this one doesn't work)
5. Run "Terminal Emulator". Type (press and hold menu to get the keyboard up) in the following:
su (press enter and wait for the "Super User Request Prompt". Choose "Allow" and make sure its ticked to Allow every time.)
flash_image recovery /sdcard/recovery.img (press enter - make sure this is typed exactly as seen)
N.B. If you have issues here, see * notes below for more assistance
6. Turn off your phone and press Home + Power to start it up again. This should boot into recovery mode.
Install Your Custom Rom
Note: This part of the guide can be repeated with as many different rom's as you like. You do not have to repeat the previous section once you have a recovery image installed.
1. Download a Custom ROM from here to your computer.
2. Make sure your phone is in recovery mode (Home + Power)
Plug your phone into your computer and select "USB-MS toggle" in recovery
Place the Custom ROM on your SD card in the main directory and press Home when it has finished copying over
3. Select Backup/Restore > Nand backup > confirm with Home > Wait
(or Nand + Ext if you have A2SD setup)
4. Press back then select Wipe from the main menu, then select:
Wipe data/factory reset > Home
Wipe cache > Home
Wipe Dalvik-cache > Home
Wipe SD:ext partition > Home
Press back button
Select Flash Zip from SD Card
Select the file
Press Home to confirm
Note: Ignore any "errors", they are normal and usually mean you're not using that feature.
5. Once it is done, select Reboot and you will boot into the new Custom ROM.
Updating your Radio
Note: The radio deals with your signal levels and connectivity.
1. Download the latest radio from the following page
N.B. Radio's are not region specific! Just get the latest
2. Mount your SD Card so your computer can read it and place the downloaded file in the main directory
3. Turn off your phone and boot into the recovery screen (holding Home + Power)
4. Choose:
Flash Zip from SD Card
Pick the radio.zip file and press Home to confirm
Wait
Your phone will reboot a couple of times but when you're back on the Recovery Screen just press reboot system now and it will complete the install and put you back into your custom rom.
DO NOT PULL THE BATTERY OUT, THIS WILL BRICK YOUR HANDSET.
5. When this process has completed reboot the phone and you should have the new radio. This can be checked in Settings > About Phone
*Useful Information!!
42turkeys said:
Tested this on 1.5 the other day, nice one BtDaG
For those of you having problems flashing the recovery, try entering this before the flash_image command:
Code:
rm /data/local/rights/mid.txt
ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
(btw, ROM Manager has an option to flash Amon_RA at the bottom )
Click to expand...
Click to collapse
** Missing flash_image - confirmed to work by another user, please inform if different
Download the flash_image.zip and unzip to your PC folder. Setup ADB. Place the recovery_image .zip in a folder called recovery on your computers C: drive. Then you will be able to run the following adb commands below from a cmd prompt on your computer:
cd c:\recovery
this will ensure you are in the correct folder
adb root
This will start ADB as root, or notify if it is already running as root.
adb remount
This will mount the system partition (/system) as writable, allowing the following
adb push flash_image /system/bin
This will send the flash_image script into the /system/bin, so we can use it from within the shell
adb shell chmod 0755 /system/bin/flash_image
Finally, change the permissions of the script to allow it to perform the desired action. Now that the script is installed, we are ready to proceed with flashing the custom recovery, saved on the root of the SD card earlier:
adb shell flash_image recovery /sdcard/recovery.img
this will install the the recovery - now continue the process where you left off
Click to expand...
Click to collapse
*** solution 3
brisuth said:
A big thankyou to duck0 for identifying the problem and botoo for getting me to a happy conclusion with the correct commands
SOLUTION IS HERE USING Console mode from windows using ADB USB DEBUGGING HAS TO BE ENABLED WITH HERO CONNECTED TO PC THEN TYPE THE FOLLOWING
THEN ENTER AFTER EACH COMMAND
anyone needing help setting up adb see this link http://forum.xda-developers.com/showthread.php?t=757233
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm /system/etc/install-recovery.sh
Thats it all done next step
INSTALL ROM MANAGER FROM MARKET IT IS FREE
open it and sellect flash alternate recovery image from the bottom, you can use the clockwork recovery but it is not compattable with all roms.
once done turn phone off, boot into recovery home + power choose to exit recovery with reboot shut down once again and if you can enter recovery then everything is sweet.
Click to expand...
Click to collapse
Setup Apps2SD
ONLY RECOMMENDED ON CLASS 4+ SD CARDS. Don't bother if you don't know what this is . GIYF.
Do this process after doing everything else! So make sure you have a working custom rom installed which supports Apps2SD. This is designed for VillainROM which doesn't use a swap, if your ROM does support swap ask for a recommended amount. Also note that the ext2 partition will be unreadable from windows or through android os.
1. Backup your SD card to your computer (very important as this process will wipe all the data on it)
2. Restart your phone into recovery mode (Home + Power)
3. Select:
Partition sdcard
Partition SD
Press Home
Swap-size = 0 MB
Ext2-size = 512 MB (recommended)
FAT32-size = Remainder
Press Home
4. Once complete Reboot system now and wait! This can take 20 minutes or so to complete, so just keep waiting!
DO NOT USE EXT3 or EXT4 partitions. They will just wear out your sd card quicker. They are designed for large files systems (i.e. 50GB+) with full operating systems running on them! The only benefit they bring is indexing (which on a 512MB partition is worthless). (Optional - before reboot) - Under partition sdcard you can convert the ext2 partition to ext3 - "SD:ext2 to ext3" - however this isn't recommended as it will wear out your sd card quicker. There is also often support for ext4 so you can do "SD:ext3 to ext4" after the first one too. Though again this will typically just wear out your SD faster without providing any speed benefits. See note above.
Code:
[B]OLD PROCESS BACKED UP JUST IN CASE. PLEASE DO NOT FOLLOW THIS SECTION OF THE GUIDE![/B]
Largely based upon the Unlockr guides, so thank you Unlockr!
Please do NOT be mislead. This is NOT a quick process, though the time has been reduced significantly if you don't need the goldcard method.
There is no "one-click" version or "quick-install".
You should set aside at least an hour for this process and preferably read through the process once before actually attempting it.
[B]Please make a quick post with your experiences, including your brand of phone and location.
Please check the FaQ first before asking questions :)[/B]
[COLOR=DarkGreen][SIZE=3][U]Contents[/U][/SIZE][/COLOR]
[COLOR=DarkRed]Pre: Backup[/COLOR]
[COLOR=Navy]1. Installing a Recovery Image
a. Installing the Correct HTC ROM
2. Loading the Custom ROM
3. Updating your Radio[/COLOR]
[COLOR=DarkOliveGreen]Setup Apps2SD
Check A2SD[/COLOR]
[COLOR=DarkSlateBlue]"GoldCard" Test Procedure
I. Setting up the drivers
II. Create a “GoldCard” from a MicroSD Card
III. Downgrade the Hero using the Goldcard[/COLOR]
[COLOR=DarkGreen]FaQ[/COLOR]
[COLOR=DarkRed][SIZE=3][U]Pre: Backup[/U][/SIZE]
1. Backup contacts etc with HTC Sync.
2. Backup your SD Card or use a spare
3. Backup SMS Messages with SMS Backup & Recovery[/COLOR]
[COLOR=Navy][SIZE=3][U]1. Installing a Recovery Image[/U][/SIZE]
1. On your phone, go to Settings > Applications - and make sure "Unknown Source" is ticked.
2. On your phone, go to Settings > SD card and phone storage - click Unmount SD card.
3. Then click Format SD card.
4. Plug the phone into the computer via USB, then pull down the notification bar and click on the SD card notification. Then click mount.
5. Download this APK and recovery image and save it to your computer:
[URL]http://zenthought.org/content/project/flashrec[/URL] - FlashRec.apk
[URL]http://forum.xda-developers.com/showthread.php?t=561124[/URL] - Amon_Ra’s Hero Recovery Image
6. Copy them both to your SD card (do NOT put them inside any folders on the SD card, just put them on the SD card itself).
7. Unplug the phone from the computer once they are downloaded to the SD card.
8. Go to the Market and download ASTRO File Manager or any file manager program if you do not already have one.
9. Open the file manager and find the FlashRec apk file and click it and choose open app manager and then install it.
10. When it is installed click Open. Click on Backup Recovery Image and wait for it to finish. If you get "backup failed" response see the text on the right for more details, if the backup is a success carry on to step 11.
[RIGHT][SIZE=1][U]a. Installing the correct HTC ROM[/U]
Orange UK Users - Please downgrade your ROM version to [URL="http://www.htc.com/uk/SupportViewNews.aspx?dl_id=675&news_id=261"]2.73.61.5[/URL]
Generic Hero Users - Please downgrade to [URL="http://x7.to/6jexri"]2.73.405.5[/URL], or follow the goldcard method if this doesn't work
T-Mobile UK Users – Please follow the "Goldcard" method below
All Other Users - Please follow the "Goldcard" method below[/SIZE][/RIGHT]
11. Once done, click on the empty text box in the FlashRec program and type:
/sdcard/recovery-RA-hero-v1.6.2.img
(replace exact name as new versions come out)
Then click on the Flash Recovery Image button and wait for it to finish.
[SIZE=3][U]2. Loading the Custom ROM[/U][/SIZE]
N.B. This part of the guide can be repeated with as many different rom's as you like. You do not have to repeat the previous sections once you have a recovery image installed.
1. Download a Custom ROM from [URL]http://forum.xda-developers.com/forumdisplay.php?f=512[/URL] to your computer.
2. Plug in your phone and pull down the Notification bar when the SD notification pops up.
3. Click on the notification and select Mount.
4. Open the SD Card fonder on your computer.
5. Copy the Custom ROM from your computer to your SD Card, do NOT change it, extract the files or put it in any folders
6. Unplug your phone and turn it off.
7. Turn the phone on by holding down Home and Power till you get to the custom recovery screen.
8. Select Wipe from the menu, then select:
Wipe data/factory Reset
Wipe Dalvik-cache
Wipe SD:ext partition
Press back button
Select Flash Zip from SD Card
Select the file
Click Confirm
N.B. Ignore any "errors", they are normal and usually mean you're not using that feature.
9. Once it is done, select Reboot and you will boot into the OS. Once you are loaded in make sure you format your SD card once more through the settings menu and then reboot the phone one last time. This will ensure you get the correct apps.[/COLOR]
[COLOR=Navy][SIZE=3][U]III. Updating your Radio[/U][/SIZE]
[B]N.B. People have been reporting problems with this part of the guide, try it at your own risk. It is not required to be on the latest radio when using a Custom ROM, however it is usually recommended! The radio deals with your signal levels, I found it to increase my signal from a maximum of 2 bars to full. It is likely to help if you travel, but if you are happy with your signal and tend to stay in the same place it may not be worth it.
Be aware that if this doesn't work it can potentially brick you phone... though I've had no reports of that so far. Just people finding it doing different things after it flashes.[/B]
1. Download the latest radio from the following site:
At time of writing that is: [URL="http://www.villainrom.co.uk/radio/Radio_Signed_HERO_63.18.55.06PU_6.35.15.14.zip"]63.18.55.06PU_6.35.15.14[/URL]
[B]N.B. Radio's are not region specific![/B]
2. Mount your SD Card so your computer can read it and place the downloaded file in the main directory
3. Turn off your phone and boot into the recovery screen (holding Home + Power)
4. Choose:
Flash Zip from SD Card
Click Confirm
Reboot system now when prompted
N.B. This can take anywhere between 1 - 10 minutes or maybe even longer in some cases. Do not touch your phone until you either: get back to the recovery screen or your custom rom loads and you see the unlock screen.
DO NOT PULL THE BATTERY OUT, THIS WILL BRICK YOUR HANDSET.
5. When this process has completed reboot the phone and you should have the new radio. This can be checked in Settings > About Phone > Software Information > Baseband Version[/COLOR]
[COLOR=DarkOliveGreen][U][SIZE=3]Check A2SD[/SIZE][/U]
Please assume it is automatically working unless you can load applications without your SD card inserted. However, here is the process for those who are pedantic about these things. Many thanks to VillainROM Wiki for this process.
1. Download check.zip from the bottom of this guide.
2. Extract check.sh
3. Download GScript Lite from the market
4. Place check.sh on your SD card in a folder named gscript
5. Open GScript and press:
Menu
Add Script
Uncheck "needs su"
Load File
Select check.su
Save
6. Then click check from the main screen and you will get a readout of whether it is enabled or not.[/COLOR]
[COLOR=DarkSlateBlue][SIZE=3][U][B]"GoldCard" Test Procedure[/B][/U][/SIZE]
Please comment on whether this procedure works, it is untested. Thanks to [URL="http://www.villainrom.co.uk/viewtopic.php?f=46&t=1735"]ante0's guide[/URL] for some details used.
[SIZE=3][U]I. Setting up drivers etc[/U][/SIZE]
1. Download the latest HTC Sync from [URL="http://www.htc.com/www/SupportViewNews.aspx?dl_id=933&news_id=631"]here[/URL] and the latest SDK from [URL="http://developer.android.com/sdk/index.html"]here[/URL]
2. Install HTC Sync & extract the Android SDK .zip file to C:\ (may help to re-name the folder to a shorter name, in this tutorial it will be C:\android\ )
3. Click on your Windows Start menu and right click on "Computer" > Properties > Advanced System Settings > Environment Variables
Find "Path" under "System Variables" and edit it. Add the following to the end of the text:
;C:\android\tools
4. Restart your computer.
On your phone, click Settings > Applications > Development and make sure USB Debugging is on.
When back at your desktop plug then phone in and wait for it to install the correct drivers, this should be done automatically on the latest version of HTC Sync and adb should be enabled.
5. Type the following into the command prompt window (Start > Search > "cmd") and enter the following and press enter:
adb devices
You should see a serial number pop up and look like:
000000000000 device
It’s the serial number of your phone. This means the drivers are working in normal boot mode. Next we need to check them in fastboot mode (thanks to janhol for helping with this next part)
6. Turn off your phone and load into fastboot by holding the Back button and pressing Power with the hero plugged into the computer
7. "Start" > Right Click "Computer" > "Manage" > "Device Manager"
8. Check that the "ADB Interface" reads "My Hero", not "Android bootloader drivers" or anything else.
If it does then:
Right click "Android bootloader drivers" > "Update Driver Software" > "Browse my computer..." > "Let me pick from..." > "Have Disk..." > "Browse" > "C:\Program Files (x86)\HTC\HTC Driver\Driver Files\Win7_x64" > "androidusb.inf"
Once selected click "OK".
"My HTC" should show in the list of "compatible hardware" now, so select that and click "Next" to install the driver. Switch off the phone (may have to pull the battery).
[SIZE=3][U]II. Create a “GoldCard” from a MicroSD Card[/U][/SIZE]
(Please keep in mind that some memory cards don’t work for this process)
1. Put the memory card you want to use for the GoldCard into your phone, make sure all the data is backed up before proceeding as it will be formatted.
2. With the memory card in your phone, and not connected to the PC, click on:
Settings > SD and Phone storage > Unmount SD Card
Once it unmounts, click Format SD Card.
3. On your phone, click:
Settings > Applications > Development and make sure USB Debugging is on.
4. Return to the Command Prompt from earlier after re-plugging in your Hero. Then type the following with hitting enter at the end of each line:
adb shell
cat /sys/class/mmc_host/mmc1/mmc1:*/cid
5. A code will display, write the code down into a notepad document or similar (MAKE SURE TO WRITE IT DOWN EXACTLY!)
6. Go to this site: [URL]http://hexrev.soaa.me/[/URL] then put in your code you just wrote down into the text box and click submit. It will generate the code reversed and replace the first two digits with zeros automatically. Copy this.
7. Then go to [URL]http://psas.revskills.de/?q=goldcard[/URL] and Paste your CID into the box and fill in the other details. You'll be e-mailed the goldcard. Save the goldcard image to disk.
8. Now go to [URL]http://download.cnet.com/HxD-Hex-Editor/3000-2352-10891068.html?part=dl-HxDHexEdi&subj=uo&tag=button[/URL] to download the HxD Hex Editor. Install it to your computer.
9. Mount your SD card on your phone so that it shows up on your computer as "Removable Disk" - Pull down the notification bar on the phone and select Mount CD Card.
10. Open the Hex Editor (Run as Administrator if you're in Vista or Windows 7) and click on the Extra menu > Open Disk. Under "Physical Disk" select "Removable Disk". Make sure to UNcheck “Open as ReadOnly”. Click OK.
11. Go to the Extra menu again and click Open Disk Image. Open up the goldcard.img that you saved from your email. Press OK when prompted for Sector Size 512 (Hard Disks/Floppy Disks). You should now have two tabs, one is the SD card (Removable Disk) and the other is the goldcard.img.
12. Click on the Goldcard.img tab and press Ctrl + A (select all) Then Ctrl + C (copy).
13. Click on the Removable Disk tab (Your SD Card) and select the complete lines from 00000000 to 00000170 then press Ctrl + V (paste).
14. Click on File then click Save.
15. Close the Hex Editor.
16. Reboot the phone.
Try to open the memory card on the computer (i.e. mount the drive), if it lets you, you are all set. If it asks/tells you to reformat the card, then try steps 13 – 19 again. If it gives you the same error again, then try a different memory card. You can confirm that it has worked by opening the Removable Disk in the hex editor again and making sure the code you pasted in has stayed but this shouldn't be necessary.
[SIZE=3][U]III. Downgrade the Hero using the Goldcard[/U][/SIZE]
1. With your phone plugged in, pull down the notification bar on the phone and select HTC Sync. Make sure it connects to HTC Sync on the computer (not sure if this is necessary anymore).
2. Download this generic HTC Hero RUU
Hero RUU -
[URL="http://x7.to/6jexri"]2.73.405.5[/URL]
[URL="ftp://xda:[email protected]/Hero/Official-ROMs/RUU_Hero_HTC_WWE_2.73.405.5_WWE_release_signed_NoDriver.exe"]2.73.405.5[/URL] (alternative)
3. Double click the RUU exe you downloaded while the phone is plugged in with the GoldCard in it and follow the on screen procedure. This will install the old generic Hero rom on your phone, this is to allow you to install a recovery image. Reboot and fill in as few details as possible as these will be overwritten soon.
4. Now you have finished this procedure start from the beginning again.[/COLOR]
Website: [URL]http://rootmydroid.co.uk/[/URL]
Other Guides:
[URL="http://forum.xda-developers.com/showthread.php?t=669754"]How to Backup your Phone Between Wipes[/URL]
Even older process - ignore
[COLOR=DarkOrange][SIZE=3][U][B]Old "GoldCard" Procedure[/B][/U][/SIZE]
[SIZE=3][U]I. Setting up the SDK[/U][/SIZE]
1. Download the Latest Android SDK from Google
Android SDK - [URL]http://developer.android.com/sdk/index.html[/URL]
(currently - android-sdk_r06-windows.zip) but get the latest
2. Extract the Android SDK .Zip file to C:\ (may help to re-name the folder to a shorter name, in this tutorial it will be C:\android\ )
3. Run SDK Setup.exe
4. Click "Settings" and check the "Force [URL]https://.[/URL].. sources ..." option
5. Click "Available Packages" and download the "USB Driver Package"
6. On your phone, click Settings > Applications > Development and make sure USB Debugging is on.
7. Plug your phone into your computer via USB cable.
8. Go into device manager: Start --> Search for "device manager"
9. Here we are checking the driver which is installed for your Hero, you may see either of the following scenarios:
Other Devices > ADB
or
Android Phone > My HTC
Either way you should do the following:
Right Click > Update Driver > Browse > C:\android\usb_driver > Next and it should install "Android Composite ADB Interface"
10. Type the following into the command prompt window (Start > Search > "cmd") and enter the following hitting enter at the end of every line:
cd c:\android\tools\
adb devices
You should see a serial number pop up, it’s the serial number of your phone. This means you are all set.
If you do NOT see a serial number, then we need to reinstall the drivers.....
end cut off due to size limits
nice
i`m sure it will help alot of people out, it took me a whole day to sort mine out.
cheers
nice one. you've just summarised my last sunday afternoon. great to have this all in one place. needs to be a sticky imho.
Nice Tutorial... Please give me the SPL version and Radio Version of the Hero that this worked on.
brettf said:
Nice Tutorial... Please give me the SPL version and Radio Version of the Hero that this worked on.
Click to expand...
Click to collapse
The radio was different on both the devices tested and I am fairly certain it has no effect on whether you can do this procedure or not. They are now both flashed with the latest radio.
I have no record of the "SPL versions". Again I'm not really sure how this is relevant?
This guide assumes the user has no knowledge of these things and have made no previous modifications to their phone (besides standard updates)
You'll have to bear with me as I'm pretty new to all this as well. The guide was made because I found the others extremely difficult to follow. I'm glad to see by the other posts that I am not the only one
Im doing this now, my Hero was delivered this morning and i was looking for in depth instructions so I cant go wrong. This looks bang on,... Just about to start section II (creating Goldcard) but thought i'd better put up some thanx 1st.
Wish me luck, i'm assuming it'l all go ok, i'l post again once its done.
Thanks again BTDAG.
Peace
Guys I'm stuck,... Section II, part 10, Mount your SD card on your phone so that it shows up on your computer as "Removable Disk".
Through the setting on my phone I can only select "UNMOUNT SD CARD"!!! Arggghhhh!!!
Can anyone help please?
AHA,... That'l teach me to not read the whole thing 1st!!!!!!
In section III, part 3,... You have put "pull down the notification bar and click on the SD card notification. Then click mount." .... Maybe edit the 1st post and put it in (for the idiots like me).
Thanks though.
ddotpatel said:
AHA,... That'l teach me to not read the whole thing 1st!!!!!!
In section III, part 3,... You have put "pull down the notification bar and click on the SD card notification. Then click mount." .... Maybe edit the 1st post and put it in (for the idiots like me).
Thanks though.
Click to expand...
Click to collapse
I had no idea that was in the wrong order, thanks for pointing it out. I'll edit that now!
I had to figure most of this out as I was going so i quickly forgot what I did differently. The more people point out the better the guide will get! XD
Great guide.
Add it as a Wiki... it will not get a sticky!
nprussell said:
Great guide.
Add it as a Wiki... it will not get a sticky!
Click to expand...
Click to collapse
Thanks. I love your ROM's and can't wait for the next Villain release.
Already done as I figured as much.
Oh my god!! Im was having an absolute mare!!!!!
Was trying to downgrade the rom,... but HTC Sync would not connect (Part III, no 3), everything else was ok... 1st i ignored it and just carried on, started flashing, phone went into that 'Fastboot' bit where there are the Android thingies on skateboards, but then failed, came up with an error message, then froze. I had to take the battery out!!!
Started up fine though.
So i gave up for a while to stop me from throwing my laptop against the wall!!!
But the missus has just got home so im booting up her XP lappy, thought it might be cos im using Win7 64bit. So here goes again!!!!
question:
i Would like to install a custom Rom on Hero
i have two micro SD cards ( 2GB i 8GB )
1. I would like to use 8GB card for apps and music...
Do I have to create a "Gold Card" on the 8GB card, or can I use the 2GB card to creat "Gold Card"?
2. Durin the installation of a Custom Rom, do I have to put in the phone the "Gold Card" (2GB), or can I put the 8GB card?
And
3. if I want to "roll back" the original ROM, can I do that just simpley by puting in the "Gold Card" and rolling back te rom saved on Gold Card?
THX
(sorry for my English)
ddotpatel said:
Oh my god!! Im was having an absolute mare!!!!!
Was trying to downgrade the rom,... but HTC Sync would not connect (Part III, no 3), everything else was ok... 1st i ignored it and just carried on, started flashing, phone went into that 'Fastboot' bit where there are the Android thingies on skateboards, but then failed, came up with an error message, then froze. I had to take the battery out!!!
Started up fine though.
So i gave up for a while to stop me from throwing my laptop against the wall!!!
But the missus has just got home so im booting up her XP lappy, thought it might be cos im using Win7 64bit. So here goes again!!!!
Click to expand...
Click to collapse
O Windows 7 64-bit needs different drivers. I have attached them here to the original post. I am also on 64-bit but completely forgot about those hassles. Thanks for the reminder.
ico86 said:
question:
i Would like to install a custom Rom on Hero
i have two micro SD cards ( 2GB i 8GB )
1. I would like to use 8GB card for apps and music...
Do I have to create a "Gold Card" on the 8GB card, or can I use the 2GB card to creat "Gold Card"?
2. Durin the installation of a Custom Rom, do I have to put in the phone the "Gold Card" (2GB), or can I put the 8GB card?
And
3. if I want to "roll back" the original ROM, can I do that just simpley by puting in the "Gold Card" and rolling back te rom saved on Gold Card?
THX
(sorry for my English)
Click to expand...
Click to collapse
1. The gold card is only used to allow you to downgrade (as far as i'm aware) so you can use the 2GB as gold card and 8 GB for music but... (see next)
2. I have no idea, probably best to leave the gold card in and replace it when the ROM is flashed but I don't think it is mandatory. I do however, have no idea how long it is needed for. Just make sure you format the card you're going to use through the phone when you insert it for the first time.
3. If you want to go back to your Orange or T-Mobile ROM from HTC all you have to do is use the latest .exe you get from HTC's support website. Once again it is probably best to format your SD card after first boot.
The only thing that's stopping me from trying this out is the goldcard thing - I really don't want to format my 8Gb card. I could use the 2Gb one from my old G1, but it's going on eBay in the next week so if I needed the exact same goldcard at some point in the future then I'd be stuffed.
I suppose that I'll just have to live without the glory of being rooted for now!
thedoccwc said:
The only thing that's stopping me from trying this out is the goldcard thing - I really don't want to format my 8Gb card. I could use the 2Gb one from my old G1, but it's going on eBay in the next week so if I needed the exact same goldcard at some point in the future then I'd be stuffed.
I suppose that I'll just have to live without the glory of being rooted for now!
Click to expand...
Click to collapse
You could backup the data on the 8Gb card (i.e. copy and paste it to a folder on your pc) then format it and restore any music / pictures etc back to it. Just avoid replacing any old settings files specifically related to the HTC widgets, that is where problems occur.
O i'm also fairly certain you won't need the gold card again unless you go back to the official HTC releases and need to downgrade again and there is no harm to making your 8GB a gold card in the future as you can still back-up and restore the data you wish to keep on it.
wow nice guide, bookmarked! i spent ages looking for all the info about a month ago.
ive decided that i only really need to install a custom ROM when htc decide not to offer official updates anymore.
btdag said:
You could backup the data on the 8Gb card (i.e. copy and paste it to a folder on your pc) then format it and restore any music / pictures etc back to it. Just avoid replacing any old settings files specifically related to the HTC widgets, that is where problems occur.
O i'm also fairly certain you won't need the gold card again unless you go back to the official HTC releases and need to downgrade again and there is no harm to making your 8GB a gold card in the future as you can still back-up and restore the data you wish to keep on it.
Click to expand...
Click to collapse
No, no, no, you're meant to say something like 'ahh, probably for the best that you don't bother for now then'. The slightest pro-rooting comment is going to have me going for it! Still, it is character building, I suppose. And I did feel much better for having done it to my G1...but can I be bothered to do it at this time of night?!?!
mobydeek said:
wow nice guide, bookmarked! i spent ages looking for all the info about a month ago.
ive decided that i only really need to install a custom ROM when htc decide not to offer official updates anymore.
Click to expand...
Click to collapse
but your missing out on so much now
Post One: Unlocking and Rooting
Post Two: Installing Roms / Kernels / Tweaks
Post Three: Panic Section / FAQ / Miscellaneous
Unlocking The Bootloader And Obtaining Root
*This part of the tutorial is geared towards Windows users. I have a windows machine and will post instructions only on methods I personally have tested. This guide will assist other users. Once we unlock and root your device: this guide will be relevant to everyone.*
Time required:
20-40 minutes.
Setting up ADB for our device:
Download the AndroidSDK onto your computer.
Note: Google changes their mind every other week as to if this will be distributed as a .zip or an .exe. If you get an .zip file, simply extract the contents to your C:\ drive. For an .exe install it like you would any other program, but set the path directly to the C:\ drive when the installer asks.
Or...you can use this page to download the "ADB for Dummies AIO App."
This will automatically install ADB for you to your C:\ directory. It's very very simple this way.
If your platform-tools folder doesn't have a fastboot.exe, place this fastboot.exe file in your C:\android-sdk-windows\platform-tools (or possibly simply called tools, if you set up ADB ages ago) folder.
Now you have ADB installed! Congratulations.
Unlocking the Bootloader:
***NOTE***
This will perform a factory reset on your device. You'll lose all applications. You'll lose everything. Even the data on your SD Card! Backup your SD to your computer BEFORE performing this. There is a method for backing your applications up, detailed HERE.
Get the drivers:
Uninstall any previously attempted drivers if they don't work and move to the next.
Samsung's website has a download here under "Manuals & Downloads > Software."
Option Two: Navigate to the "Device Manager" (Control Panel > Device Manager) in Windows and Select the android device. Open the properties and select the "Install Driver" option. Pick the driver with "Install from disk." Ignore any warnings about the driver not being signed properly.
PDAnet's drivers may work if the above options don't. Simply install PDAnet (after uninstalling any previous attempted driver installations) to get the drivers.
While that is downloading, on your Galaxy Nexus: turn USB debugging on.
This can be found in Settings>Developer Options>USB Debugging
Once the drivers are installed, navigate to the C:\android-sdk-windows\platform-tools folder on your computer.
Hold shift and right click. Select "Open Command Window Here."
On your phone: turn USB Debugging On. This can be found in Settings>Developer Settings.
Plug your phone into the computer. Now in this command window type:
Code:
adb reboot bootloader
(Hit Enter)
Your phone should now boot into a screen with a green android with his chest exposed.
Type this:
Code:
fastboot oem unlock
(Hit Enter)
If your Command Prompt displays the message "waiting for device" your driver wasn't successfully installed.
Close the Command Prompt window and open Device manager while your phone is still plugged in. (Search for it using the search option).
Right Click the "Android" option and select Update Driver. Choose to "Browse My Computer" and "Let Me Pick From A List." Pick the Samsung driver with the newest date and install it. Now retry the code above.
Your phone will ask if you want to unlock it. Select "Yes" by using the volume keys and use power to select it.
Now, navigate to "Recovery Mode" with the volume keys. Use power to select.
A screen with another Android will pop up. Press Volume Up and Power at the same time.
Select Factory Reset. This process may take a few minutes. Be patient and let it work.
Once finished, select "Reboot."
Your phone is now unlocked!
Obtaining Root Access and Custom Recovery:
Turn on USB Debugging in Settings>Developer Options>USB Debugging.
Download the following:
SuperSU (CWM .zip)
CWM (Pick the version for your device [GSM/SPRINT/VERIZON])
Place the recovery-clockwork-VERSIONNUMBER-toro.img (or the recovery-clockwork-VERSIONNUMBER-toroplus.img if you're a Sprint user. Or the recovery-clockwork-VERSIONNUMBER-maguro.img if you're a GSM user) file into your C:\android-sdk-windows\platform-tools folder.
Put the SuperSU.zip on your phone.
Open another Command Prompt if it isn't still open. (Navigate to C:\android-sdk-windows\platform-tools and shift + right click. Select "Open Command Window Here.")
With your phone plugged in type:
Code:
adb reboot bootloader
(Hit Enter)
And wait for your phone to boot into the android again.
Now type:
Code:
fastboot flash recovery IMAGENAME.img
(Change the file name to the correct file name and Hit Enter)
Once that is finished: select the "Recovery Mode" option again on your phone.
You should get a new recovery menu here. Select "install zip from sd card" and "choose zip from sd card."
Find the SuperSU.zip that you transferred earlier and select "Yes" to installing.
Navigate back to "Reboot" and reboot your phone.
You're now rooted!
However, ClockworkMod Recovery won't continue to load after this.
To fix this, find "Rom Manager" from the market. (The free version is fine.) Use the "Flash ClockworkMod Recovery" option.
If your recovery still doesn't stick around after a reboot, you have another couple options. Find a file explorer that allows root access, such as Root Explorer. Use this program to rename /system/etc/install-recovery.sh to /system/etc/install-recovery.bak. You'll need to mount the system as r/w to do this. Root Explorer provides a button at the top to do so.
Or, you can do this completely manually by firing up ADB again and running a few commands:
Code:
adb shell
(Hit Enter)
Code:
su
(Hit Enter)
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(Hit Enter)
Code:
mv /system/etc/install-recovery.sh /system/etc/install-recovery.bak
(Hit Enter)
Congratulations!
Your phone is now unlocked, rooted, and has a custom recovery!
Continue reading the next posts for info on getting custom roms, kernels, tweaks, and more!
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Thanks:
Google, for making Android a reality.
VanillaTbone, for the ADB AIO app.
Droid-Life, for a previous guide that I used as an outline while writing this one.
Efrant, for posting about a bootloader locking utility without USB.
ClockworkMod team, for being a part of making our phones as awesome as they are.
The assorted developers, who continue to push out amazing material for us to use.
The awesome community, for endlessly supporting both Android itself and its users.
Installing Custom Roms Kernels and Tweaks
All of the instructions below require your bootloader to be unlocked. Please follow the guide above and return here when you're done.
Backing Your Files Up:
Time required:
15-25 minutes.
Making a Nandroid
The first thing you're going to want to do is back up your phone's entire system. This is done by making a "nandroid."
To do this, boot into ClockworkMod Recovery. To accomplish this: Turn your phone off. Once it is completely off: hold both volume buttons and the power button until the Android with his chest exposed is displayed. Navigate to the "Recovery Mode" option and select "backup."
This will take some time. Be patient and let it finish. This process is important! You should always have a recent nandroid available on your device.
Backing Your Applications Up
Install Titanium Backup from the market.
Open Titanium Backup. A Superuser request should pop up. Allow it. Note: if Titanium Backup then says it failed to obtain root access; press the menu button and select more>reload application.
Press menu>batch. Select "Backup all User Apps." Select all and "Run the Batch Operation."
Let the process complete. This may take quite some time: depending on how many applications you have installed.
You can now backup your Text Messages, Bookmarks, and WiFi addresses with Titanium Backup as well.
Press Menu>Backup Data To XML to do so.
Backing Your Contacts Up
Note: This process may or not be useful to you. The Google servers should automatically import any contacts you have stored back whenever you install a new rom. Also note that Facebook/Google+/etc contacts will need to be synced again through their respective applications.
Open the Contacts application.
Press the Menu button.
Select import/export.
Export to storage.
Installing A Rom (Or Kernel/Radios/Tweaks/Themes/etc.)
Time Required:
5-10 minutes.
Note:
Follow the guide above about backing your phone up before attempting!
This guide will also work for flashing kernels/radios/themes/tweaks/etc. Simply ignore the part about wiping data and wipe whatever the thread says you should. You only need to restore data after a rom install.
Find a Rom You'd Like To Try:
Verizon Galaxy Nexus
Sprint Galaxy Nexus
GSM Galaxy Nexus
Download the rom you'd like to try on your device.
Most roms also require you to install "gapps" as well.
You can find the correct ones for the rom you're using in the rom thread.
Make sure the Rom and Gapps are on your SD card.
Now, open Google Wallet (if you have it installed) and press Options>Settings>Reset Google Wallet. This will prevent the "Secure Element" errors some users have experienced.
Boot into ClockworkMod Recovery by turning your device completely off. Hold volume up, volume down, and power until the green Android with the open chest is displayed. Navigate to "Recovery Mode" with the volume buttons and select using the power button.
Remember to have a recent nandroid before continuing!
Navigate to "wipe data/factory reset" and select it. Select "yes."
Wait for the process to complete. This may take some time. Be patient!
Once complete: Navigate to "Install Zip from SD card" and "Choose zip from SD card."
Find the rom's .zip and install it. Once that completes install any applicable gapps' .zip.
Select the "Reboot" option.
Congratulations! Your phone should now boot into the custom rom!
Follow the prompts to re-activate your phone.
Restoring Your Applications / Contacts / Nandroid
Time Required:
5-15 minutes.
Restoring Your Applicaions
Install Titanium Backup. Note: you may want the pro key. If you have it, you won't have to manually click "install" on each application. The process is completely automated. Open Titanium Backup (grant root access. If titanium says it failed to obtain root access, press menu>more>reload application). Press menu>batch>restore missing apps with data. Now, here you have a choice to make. Do you want a completely clean install? Select "app only" and run the batch operation (Deselect Google Wallet first. We don't want to risk restoring wallet in any way. Install it manually through the Play Store.). Do you want all of your application data (saved games/settings/etc)? Select "app+data" and run the batch operation (Deselect Google Wallet first. We don't want to risk restoring wallet in any way. Install it manually through the Play Store.). This MAY cause you problems or it may not. Personally, I often restore application data and seldom run into any trouble. If you do find that restoring data caused problems, follow the guide above to re-install your rom and restore without data. This process will take some time. Be patient (I'd suggest turning your screen off so the screen doesn't burn, but that's just me.) It will vibrate upon completion.
You can now restore your Text Messages, Bookmarks, and WiFi addresses if you backed them up by pressing Menu>Restore Data From XML.
Note:
Overclocking/CPU tweaking applications should never be restored with data. Simply deselect it from the list.
Facebook/Haxsync/Google+ may have problems restoring your contacts when installed through Titanium Backup. Simply uninstall and reinstall through the market (and be sure to log in and select to sync your contacts again).
Also, if you have NFC Task Launcher successfully launching Tasker tasks with your stickers: they may not immediately work.
Through my testing, it's as simple to fix as uninstalling NFC Task Launcher and Tasker. Restore Tasker first. Then restore NFC task launcher.
Restoring Your Contacts
If google fails to restore your contacts (not facebook/haxsync/google+/etc) you may import them manually if you backed them up.
Open the contacts application and press menu>import/export>import from storage.
Restoring A Nandroid
If your phone is acting funny or won't boot...restore a nandroid from a previous rom or working set-up.
You may also use a Nandroid to switch back to a previous rom if you decide you don't like the one you're on.
Do this by booting into ClockworkMod Recovery (hold volume up, volume down, and power while your phone is off and navigate to "Recovery Mode").
Simply select "restore" and find the most recent (or relevant) backup.
This process will take some time. Be patient and let it complete! Once done, select "Reboot."
Note:
Nandroids are stored in the "clockworkmod" folder on your SD card. They take up quite a bit of space. ALWAYS have at least one recent one on your SD card. However, since these are huge files: you may like to delete old ones to save space. You must delete backups by booting into CWM and navigating to Backup and Restore>Delete.
Important Notes About Restoration
I outline the method of using Titanium Backup above for a reason. Restoring system applications and data is the most common cause of problems on custom roms. For this reason, always ONLY restore "missing applications" from "user applications" that were backed up when restoring onto a new rom. Every time you restore system data or applications a narwhal sodomizes your favorite childhood cartoon. This is FACT.
Installing Alternate Custom Recoveries
If you find a custom recovery (such as the touch-recovery options) that came as a .img file:
Use these instructions to flash. Plug your phone into the computer. Open up ADB. Move the .img to the C:\android-sdk-windows\platform-tools folder.
Type the following:
Code:
adb reboot bootloader
(Hit Enter)
You can also manually boot to the bootloader by powering off and holding volume down, volume up, power buttons until the green Android with his chest exposed is displayed.
Then type:
Code:
fastboot flash recovery FILENAME.img
(Replace the file name with whatever the .img is called and Hit Enter).
Wait for the process to complete and reboot.
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Panic Section! (Something is Wrong)
Q: My phone won't boot!
A: The easiest option is to get into recovery and restore a nandroid using the above guide (pull battery to put phone in an off-state if needed).
However, more advanced options are available if you don't have a nandroid available (You're naughty).
Do you have another rom .zip available on your SD card? If so, simply use the above guide for installing a rom to get you booting again.
If not, you can download one on your PC. Boot into fastboot (the green Android with open chest menu). Navigate to recovery and select it with the power button.
Move the .zip to the C:\android-sdk-windows\platform-tools folder.
Open ADB.
Change the NAMEOFZIP.zip below to the correct file name...and perform the action.
Code:
adb push NAMEOFZIP.zip /sdcard/NAMEOFZIP.zip
(Hit enter)
You may have to reboot recovery to get the file to show up. Now follow the guide above for flashing a rom to get you booting again.
Did you install a tweak that modified only a file or two on your phone? (Find this out by opening the .zip and looking in the folders (ignore META-INF). Good news! We MAY be able to recover you completely. If this doesn't work...you'll have to follow another method.
Get your phone into fastboot (the boot-menu that allows you to select recovery/reboot/etc). Navigate to recovery and select it. Start up ADB. Pull the files that were modified out of the stock rom's .zip (using whatever tweak you were installing as reference to find what was changed) that you're on into the C:\android-sdk-windows\platform-tools folder. Now we're going to push these files onto your phone...replacing the tweaked ones and hopefully getting you booted again. Use this code, but change the values of the file name and where it should reside. This is only an example!
Code:
adb shell
(Hit Enter)
Code:
su
(Hit Enter)
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(Hit Enter)
This will mount your system so you can write to it.
Code:
exit
(Hit Enter)
This should exit shell and allow the use of adb commands again. You may need to type it a couple of times (until the #_ changes back to the platform_tools> prompt).
Code:
adb push framework-res.apk /system/framework/framework-res.apk
(Press enter after each file that you need to replace).
Note: This last option probably won't work. I'd just skip over it unless you're absolutely adamant about restoring your current setup and want to try everything possible.
Q: I want my SDcard files from my phone...but I'm in a situation where I need to flash stock images! This will erase my SD content. What can I do to save it?
A: Do you have a custom recovery installed? If not, download a custom recovery from post one in this guide and flash it using those instructions. You'll need to be in a custom recovery in order to obtain ADB access without booting your phone. Boot into recovery (With phone turned off: hold Power and Volume+ and Volume- until the bootloader pops up and navigate to "Recovery"). Run the command:
Code:
adb pull /sdcard/ /SDCARD/
(Hit Enter)
This will put all of your files into a folder called "SDCARD" in your C:\ drive. Keep in mind that this will take a LONG time. Maybe a couple of hours.
To restore once you're booting again:
Move the "SDCARD" folder you created from your C:\ drive to the platform-tools folder. Then input:
Code:
adb push SDCARD /sdcard/
(Hit Enter)
Q: How do I make an "ADB Backup?"
A: An ADB Backup will backup your phones data (applications and their settings). Follow the guide HERE about ADB Backups.
Q: My phone gets really sluggish and often turns off or reboots on its own.
A: Without knowing anything about your situation...I'd say you either have severely bad data somewhere or some bad kernel tweaks. Use the rom install guide above, paying close attention to the part about backing up and restoring if you haven't already. In the case of a kernel problem, you're likely undervolting too low. Restore the stock kernel values and see if your problems subside.
Q: My phone screen won't turn on! This requires a battery pull to fix.
A: This is called a "Black Screen of Death" or BSOD. This is generally due to using a governor such as InteractiveX or HotplugX or possibly undervolting your device too low. Change governors or up your slots a bit.
Q: My phone is doing really weird things. Regardless of kernel/rom and even if I don't restore any data at all! Either that or I simply cannot boot up! My phone is possessed no matter what I do!
A: Razorloves has made a wonderful guide on restoring your Verizon phone back to stock. You can find it Here.
Shabbypenguin made an ODIN guide for Sprint users located Here.
Evostance made one for the GSM users, found Here.
Verizon/GSM images can always be found Here in the case that the above guides aren't updated.
Change the file names in the above guides, and you'll be good to go. *At the time of writing: Sprint images not available directly from Google.*
Q: My USB port is broken. How can I return to stock and re-lock my bootloader?
Follow the instructions in THIS post.
FAQ
Roms/Kernels
Q: What is the best rom?
A: The "best" rom is a matter of opinion. Do you like a certain customization and can't live without it? Use a rom that has that option.
Q: What is the best rom for battery life?
A: Roms themselves really shouldn't impact your battery all that much. They can have an impact, but if you're really looking for better battery I'd suggest swapping kernels or tweaking yours.
Q: What is the best rom for stability?
A: All of the roms out are "stable." They may have options that don't work correctly, but generally: this is user error. If you follow my advice on installing a rom, you'll end up with MUCH fewer bugs.
Q: What is the best kernel?
A: The best kernel is a matter of opinion. Some users may love one, while others swear by another. Find one you like and tweak it accordingly.
Q: How do I tweak a kernel for better battery?
A: Generally, you'll want to either change your governor and or undervolt and or underclock your kernel. This is done either by using SetCPU or similar apps, or with an option in your rom (usually labeled "performance" or something similar). Take note: extremely high/low voltages may cause instability. Never "set at boot" until you've thoroughly tested the options you've set. Testing includes low strain (like turning your screen off for an hour) and high strain (like playing a game for an hour) scenarios. To be extra safe: run the values for a couple days before setting them at boot. Follow the users ideas in the kernel's threads for some guidelines. However, remember that not all values will play nicely with all phones.
Miscellaneous
Q: Why does my phone perform so bad on benchmarking tests?
A: This depends on what you define as "bad." Does your phone feel fine? Ignore it. If your phone is really sluggish...you're running bad kernel settings or have bad data somewhere. That being said: our phones aren't going to be FANTASTIC with these benchmark tests. Sorry, but they aren't. We have a huge screen. And huge pixel density. And our GPU isn't the greatest of greats. This isn't bashing on the nexus at all. I'd rather have a phone that performs in every day use than a phone that gets a "FANTASTIC" benchmark but feels groggy when I perform simple tasks.
Q: How can Verizon users get Google Wallet?
A: Scan this with Google Goggles. Open the link with the Play Store.
Q: Why isn't Google Wallet working at [store]?
A: I'm not sure if it's a Google Wallet problem, or a problem with the terminal. But I personally struggle to find a terminal that consistently works in my area. Something that has generally worked for me is to open wallet and go to Options>Reset Google Wallet. You must then re-add any cards you had.
Q: Does my ass look good in these shorts?
A: Yes.
Neat Ideas / How to Show Off the Galaxy Nexus
-Get some NFC stickers. Tagstand has them available.
You can use these to make your phone perform certain tasks when you touch the sticker. Use NFC Task Launcher to define the tasks. These are capable of doing simple things like muting your volume to the more complex like turning on Tasker tasks that do things like auto-reply to text messages while you're at work.
-Do you have any suggestions? Submit them below!
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Thanks for the great guide!
I have a few questions. What are kernels? What do they do? Can I have a bad kernel and ROM combination? I'm currently using AOKP build 27. What are some good kernels you would suggest? Should I save my current kernel? How would I go back to my current kernel?
Are BAMF and CM9 only for the CDMA GNex? They both say Toro and isn't that the CDMA version and Maguro is the GSM?
Tks man it was easy and smooth, now i´m rooted rocking cm9 on my Galaxy Nexus!!
3bs11 said:
Thanks for the great guide!
I have a few questions. What are kernels? What do they do? Can I have a bad kernel and ROM combination? I'm currently using AOKP build 27. What are some good kernels you would suggest? Should I save my current kernel? How would I go back to my current kernel?
Are BAMF and CM9 only for the CDMA GNex? They both say Toro and isn't that the CDMA version and Maguro is the GSM?
Click to expand...
Click to collapse
Kernels are the base of your phone.
They are the "engine" as far as software is concerned.
Bad Kernel/Rom combinations...kind of.
Some features may be removed from kernels. Like the ability to use the color control built into CM9. But generally, no. Other than hard-linked features built for the rom and supported by the kernel, no. I've yet to find any other than the CM9 reference I made.
Going back is as simple as re-flashing your kernel.
Remember: turn of any CPU changing apps like SetCPU or Rom-specific "performance" features before switching. You can then re-evaluate your settings.
Bamf is toro only still, I believe.
http://download.cyanogenmod.com/?device=maguro
Maguro cm9 (gsm).
Oh...
And bump for ze sake of easy access.
Wish I could get this stickied <_<
agreed this should be stickied...an a read this 20 times should be applied before posts can be made.....Oh and thanks for this it will be a one stop shop as it progress's.....
Awesome guide. Needs to be stickied. Also, I agree, my ass does look good in these shorts...
Sent from my GSM Galaxy Nexus using XDA Premium
beans_p_ said:
Awesome guide. Needs to be stickied. Also, I agree, my ass does look good in these shorts...
Sent from my GSM Galaxy Nexus using XDA Premium
Click to expand...
Click to collapse
Le' bump.
Huge props, this is fantastically written and very in depth. If I had never flashed before this would be brilliant. Thank you for your work mate excellent job
J
Sent from my Galaxy Nexus - AOKP M4 - Franco M1
Thanks sir!
Another bump.
And I'll continue to do this until this is stickied.
It's straight stupid to not even have ONE stickied thread about the basics...
Can't describe how fantastic this guide is; it should be stickied in both the general and the development section.
If it isn't too much trouble, it would be awesome if you could put the steps to renaming the recovery.sh so the clockwork mod sticks and perhaps to reverse it (if I remember this right).
SovereigN7 said:
Can't describe how fantastic this guide is; it should be stickied in both the general and the development section.
If it isn't too much trouble, it would be awesome if you could put the steps to renaming the recovery.sh so the clockwork mod sticks and perhaps to reverse it (if I remember this right).
Click to expand...
Click to collapse
Actually, I would include that...
But flashing recovery through rom manager works as well.
And I'd rather keep it noob-friendly.
I follow a forum where they said to rename that...and there are like 15 pages of people asking the same questions as to why terminal/adb aren't working.
Fixed wording of "shift" showing as "****" lol.
And...le bump.
@Jubakuba You might want to add the link for the recovery image for maguro as well. Your instructions only have toro in there! Beginners may get stuck on that.
ankushkatari said:
@Jubakuba You might want to add the link for the recovery image for maguro as well. Your instructions only have toro in there! Beginners may get stuck on that.
Click to expand...
Click to collapse
Look again, it's there.
Thanks though!
Edit:
Upon checking to make sure I wasn't wrong...
The link should have appeared next to the CDMA for simplicity.
So I updated.
This was initially a RootzWiki CDMA forum post...
Had to be edited for here a bit...and the merged CDMA/GSM forum here makes it a bit hard.
Thanks!
Awesome job on this Jubakuba, thank you for sharing it. Stickied it is.
(You can quit bumping it now )
xHausx said:
Awesome job on this Jubakuba, thank you for sharing it. Stickied it is.
(You can quit bumping it now )
Click to expand...
Click to collapse
Lol, sorry
And thanks!
thanks, I had no clue about tags, wish they worked with phone off.
That is a very good guide by the way. Wish I had that when I did my phone but I had a great guy help me out. So I was lucky. Thanks for this!
Hello there,
I have a simple question, I'm sure most of you developers know how to help us all.
I have a NST not rooted (I don't really need for mods and stuff) but I would like to get rid of the manual and the quick start guide that really annoys me.
Is it possibile to create a zip (maybe an img would be even better) that starts ClockworkmodRecovery and then that includes a flashable zip that deletes the 2 epubs?
So that everyone can delete them once and for all. :laugh:
Let me know if I can help you.
Perhaps it would be better to download and install a root explorer (such as ES File Explorer) and use it to browse and delete these epub files.
Sent from my Nexus 7 using Tapatalk 4 Beta
mikey242 said:
Perhaps it would be better to download and install a root explorer (such as ES File Explorer) and use it to browse and delete these epub files.
Sent from my Nexus 7 using Tapatalk 4 Beta
Click to expand...
Click to collapse
well, that includes rooting, installing a launcher, installing a program...
i thought that a zip that does it without rooting and without anything permanent on the device would be better.
borzowsky said:
well, that includes rooting, installing a launcher, installing a program...
i thought that a zip that does it without rooting and without anything permanent on the device would be better.
Click to expand...
Click to collapse
I make what you asked for, find it enclosed. It is a zip update for CWM. I guess you know how to proceed but I've left instructions below for those who face this issue for first time:
1. Make a backup of your NST with noogie following this instructions.
2. Download the file enclosed within this post.
3. Burn 2gb_clockwork-rc2.img file to be written on a SD-Card using Win32DiskImager or dd on linux.
4. Open the SD-Card (where you burn 2gb_clockwork-rc2.img) and copy the DeletingEpubGuides.zip on the SD-Card.
5. Power down and insert the SD-Card on the NST.
6. Press the power button for 3 seconds, so that the device boots (you don't have to hold the power button after the 3 seconds)
7. As soon as the display changes to the "CWM logo" screen, push and hold the lower left and the lower right button until the screen changes again. Wait until you see the recovery. Hence, you'll be already booted into Clockworkmod recovery (Button layout: Both Buttons on the left: BACK / Upper button on the right: UP / Lower button on the right: DOWN / n button: SELECT / Power button: TOGGLE DISPLAY).
8. Install through CWM recovery the DeletingEpubGuides.zip update placed on the SD-Card. When you'll read "Done" press power button during 10 second and eject the SD-card.
9. Press power button to turn on the nook to let the devices open commonly.
I've just tested it over my NST v1.1.2 and works without problem.
Best.
kuskro said:
I make what you asked for, find it enclosed. It is a zip update for CWM. I guess you know how to proceed but I've left instructions below for those who face this issue for first time:
1. Make a backup of your NST with noogie following this instructions.
2. Download the file enclosed within this post.
3. Burn 2gb_clockwork-rc2.img file to be written on a SD-Card using Win32DiskImager or dd on linux.
4. Open the SD-Card (where you burn 2gb_clockwork-rc2.img) and copy the DeletingEpubGuides.zip on the SD-Card.
5. Power down and insert the SD-Card on the NST.
6. Press the power button for 3 seconds, so that the device boots (you don't have to hold the power button after the 3 seconds)
7. As soon as the display changes to the "CWM logo" screen, push and hold the lower left and the lower right button until the screen changes again. Wait until you see the recovery. Hence, you'll be already booted into Clockworkmod recovery (Button layout: Both Buttons on the left: BACK / Upper button on the right: UP / Lower button on the right: DOWN / n button: SELECT / Power button: TOGGLE DISPLAY).
8. Install through CWM recovery the DeletingEpubGuides.zip update placed on the SD-Card. When you'll read "Done" press power button during 10 second and eject the SD-card.
9. Press power button to turn on the nook to let the devices open commonly.
I've just tested it over my NST v1.1.2 and works without problem.
Best.
Click to expand...
Click to collapse
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
borzowsky said:
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
Click to expand...
Click to collapse
/system/media/books/
Success! (1.2.1)
borzowsky said:
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
Click to expand...
Click to collapse
I'm running 1.2.1, and I found them at /system/assets/userguides/standard/ . (There's also a /glowlight/ folder in the /userguides/ directory, FWIW.)
EDIT: However, deleting them there doesn't seem to remove them from the library. And I can't find the /system/media/books folder. Hmmm...
EDIT AGAIN: Also found them in /data/cloud_assets/books/userguides . Deleting, rebooting, and will report back here if that did it.
LAST EDIT I SWEAR: SUCCESS! Deleting them from all the locations listed above made them vanish from the library.
So I've been making an unscheduled and unexpected move from Windows 7 to Ubuntu 14. In that process I've had to find new tools to do certain things. For example, recovering back to stock on a Samsung device or rerooting one. I have found a simple and quick way to do this right from a terminal in Ubuntu.
****I DID NOT CREATE THIS TOOL. I TAKE NO CREDIT FOR THIS****
I have only tested this on the Galaxy S4, but it will likely work for many other Samsung devices. You can thank @trevd for creating this. I'm not sure he expected it to really be useful. This short guide only covers recovering back to stock firmware. If demand is high enough, I'll post another guide on re-rooting and flashing custom recovery.
Odin for Linux
REQUIREMENTS:
-Download Odin for linux
-A Linux machine. I used Ubuntu desktop 14.
-A Samsung device, in this case a Galaxy S4
-Firmware package for your device
INSTRUCTIONS:
1. Locate and download the firmware package for your device. Look on 'sammobile' for example.
2. Extract the contents of the Odin package above to a folder in your home directory. Just name it 'odin'.
3. Extract the firmware package into the Odin folder you just made. There will be at least 4 files in the firmware package. It doesn't matter if there are more. We only care about 4 of those files.
4. You just want these 4 files: BL, AP, CP AND CSC (just CSC is fine. Delete the one with home in the title. If there isn't another CSC file, then keep it). Delete all others.
5. (This step is optional if you aren't 100% sure the firmware you are flashing is 100% stock. But be warned, this method isn't likely to work.) Remove the .md5 extension from each of the 4 files. Right click each one, select rename and simply remove the .md5 and save them.
6. Open a terminal and navigate to your Odin folder. If you created it in home, type:
Code:
cd odin
ls
7. You will see a list of files scroll on the screen. If you see 'odin4', type
Code:
sudo chmod a+x odin4
8. Get your Samsung device and power it off. Boot to download mode by holding down: volume down, home and power. When the warning come up, press volume up to go into download. You should see a Droid with some info at the top left of the screen.
9. Plug your phone into your PC. Open a terminal and navigate to the Odin folder (if you closed the other terminal window). Type the following below. This must all be done in one step only hit enter when all files are added. The X's represent the rest of that file name. Replace them accordingly with the WHOLE name, leaving the BL or AP etc in front).
Code:
./odin4 -b BL.XXX.XXX -a AP.XXX.XXX -c CP.XXX.XXX -s CSC.XXX.XXX --no-reboot
If all goes well, you shouldn't see any errors. The device should NOT reboot. If you do see errors, go back and readd the .md5 to each file and try again. If it still doesn't work, you have the wrong firmware or something else is wrong. Google is now your friend.
10. If successful, and no errors appear, you will see the shell command prompt reappear in the terminal. Unplug your device, and power it off by holding down the power button for at least 30 seconds AFTER the screen turns off.
11. Reboot to recovery by holding down: volume up, home and power. When you see the blue text on the screen, release the buttons. Android's stock recovery should come up. Using volume down, select the option to perform a factory reset. When done, wipe the cache then reboot normally. You should be on fresh stock.
DragonFire1024 said:
So I've been making an unscheduled and unexpected move from Windows 7 to Ubuntu 14. In that process I've had to find new tools to do certain things. For example, recovering back to stock on a Samsung device or rerooting one. I have found a simple and quick way to do this right from a terminal in Ubuntu.
****I DID NOT CREATE THIS TOOL. I TAKE NO CREDIT FOR THIS****
I have only tested this on the Galaxy S4, but it will likely work for many other Samsung devices. You can thank @trevd for creating this. I'm not sure he expected it to really be useful. This short guide only covers recovering back to stock firmware. If demand is high enough, I'll post another guide on re-rooting and flashing custom recovery.
Click to expand...
Click to collapse
@DragonFire1024 I definitely didn't create this tool... I found after many hours searching. One thing I will note is that this version doesn't support newer samsung firmwares that are lz4'd inside the tar.md5. I keep meaning to script a wrapper for this but time and motivation escapes me lol.
Thanks for the guide though and don't forget Heimdall is still a great tool for flashing Samsung devices on linux.
trevd said:
@DragonFire1024 I definitely didn't create this tool... I found after many hours searching. One thing I will note is that this version doesn't support newer samsung firmwares that are lz4'd inside the tar.md5. I keep meaning to script a wrapper for this but time and motivation escapes me lol.
Thanks for the guide though and don't forget Heimdall is still a great tool for flashing Samsung devices on linux.
Click to expand...
Click to collapse
I didn't have luck with Heimdall, however as stated in my own guide, trying non stock firmware probably won't work. However i didn't try using this tool yet.
Well I still give you the credit. This should've gotten a lot more attention. I'm going to look into how this is done. Maybe it can be applied outside the Samsung framework.
Sent from my MotoG3 using XDA Labs
I'm here to confirm to you guys... THIS WORKED LIKE A CHARM !!!
Tested in Samsung Galaxy S8 Qualcomm (NTT Docomo), machine : Linux Ubuntu 18.04
Thank god it came in Linux too !
DragonFire1024 said:
So I've been making an unscheduled and unexpected move from Windows 7 to Ubuntu 14. In that process I've had to find new tools to do certain things. For example, recovering back to stock on a Samsung device or rerooting one. I have found a simple and quick way to do this right from a terminal in Ubuntu.
****I DID NOT CREATE THIS TOOL. I TAKE NO CREDIT FOR THIS****
I have only tested this on the Galaxy S4, but it will likely work for many other Samsung devices. You can thank @trevd for creating this. I'm not sure he expected it to really be useful. This short guide only covers recovering back to stock firmware. If demand is high enough, I'll post another guide on re-rooting and flashing custom recovery.
Odin for Linux
REQUIREMENTS:
-Download Odin for linux
-A Linux machine. I used Ubuntu desktop 14.
-A Samsung device, in this case a Galaxy S4
-Firmware package for your device
INSTRUCTIONS:
1. Locate and download the firmware package for your device. Look on 'sammobile' for example.
2. Extract the contents of the Odin package above to a folder in your home directory. Just name it 'odin'.
3. Extract the firmware package into the Odin folder you just made. There will be at least 4 files in the firmware package. It doesn't matter if there are more. We only care about 4 of those files.
4. You just want these 4 files: BL, AP, CP AND CSC (just CSC is fine. Delete the one with home in the title. If there isn't another CSC file, then keep it). Delete all others.
5. (This step is optional if you aren't 100% sure the firmware you are flashing is 100% stock. But be warned, this method isn't likely to work.) Remove the .md5 extension from each of the 4 files. Right click each one, select rename and simply remove the .md5 and save them.
6. Open a terminal and navigate to your Odin folder. If you created it in home, type:
Code:
cd odin
ls
7. You will see a list of files scroll on the screen. If you see 'odin4', type
Code:
sudo chmod a+x odin4
8. Get your Samsung device and power it off. Boot to download mode by holding down: volume down, home and power. When the warning come up, press volume up to go into download. You should see a Droid with some info at the top left of the screen.
9. Plug your phone into your PC. Open a terminal and navigate to the Odin folder (if you closed the other terminal window). Type the following below. This must all be done in one step only hit enter when all files are added. The X's represent the rest of that file name. Replace them accordingly with the WHOLE name, leaving the BL or AP etc in front).
Code:
./odin4 -b BL.XXX.XXX -a AP.XXX.XXX -c CP.XXX.XXX -s CSC.XXX.XXX --no-reboot
If all goes well, you shouldn't see any errors. The device should NOT reboot. If you do see errors, go back and readd the .md5 to each file and try again. If it still doesn't work, you have the wrong firmware or something else is wrong. Google is now your friend.
10. If successful, and no errors appear, you will see the shell command prompt reappear in the terminal. Unplug your device, and power it off by holding down the power button for at least 30 seconds AFTER the screen turns off.
11. Reboot to recovery by holding down: volume up, home and power. When you see the blue text on the screen, release the buttons. Android's stock recovery should come up. Using volume down, select the option to perform a factory reset. When done, wipe the cache then reboot normally. You should be on fresh stock.
Click to expand...
Click to collapse
pixie_laluna said:
I'm here to confirm to you guys... THIS WORKED LIKE A CHARM !!!
Tested in Samsung Galaxy S8 Qualcomm (NTT Docomo), machine : Linux Ubuntu 18.04
Thank god it came in Linux too !
So I've been making an unscheduled and unexpected move from Windows 7 to Ubuntu 14. In that process I've had to find new tools to do certain things. For example, recovering back to stock on a Samsung device or rerooting one. I have found a simple and quick way to do this right from a terminal in Ubuntu.
****I DID NOT CREATE THIS TOOL. I TAKE NO CREDIT FOR THIS****
I have only tested this on the Galaxy S4, but it will likely work for many other Samsung devices. You can thank @trevd for creating this. I'm not sure he expected it to really be useful. This short guide only covers recovering back to stock firmware. If demand is high enough, I'll post another guide on re-rooting and flashing custom recovery.
Odin for Linux
REQUIREMENTS:
-Download Odin for linux
-A Linux machine. I used Ubuntu desktop 14.
-A Samsung device, in this case a Galaxy S4
-Firmware package for your device
INSTRUCTIONS:
1. Locate and download the firmware package for your device. Look on 'sammobile' for example.
2. Extract the contents of the Odin package above to a folder in your home directory. Just name it 'odin'.
3. Extract the firmware package into the Odin folder you just made. There will be at least 4 files in the firmware package. It doesn't matter if there are more. We only care about 4 of those files.
4. You just want these 4 files: BL, AP, CP AND CSC (just CSC is fine. Delete the one with home in the title. If there isn't another CSC file, then keep it). Delete all others.
5. (This step is optional if you aren't 100% sure the firmware you are flashing is 100% stock. But be warned, this method isn't likely to work.) Remove the .md5 extension from each of the 4 files. Right click each one, select rename and simply remove the .md5 and save them.
6. Open a terminal and navigate to your Odin folder. If you created it in home, type:
7. You will see a list of files scroll on the screen. If you see 'odin4', type
8. Get your Samsung device and power it off. Boot to download mode by holding down: volume down, home and power. When the warning come up, press volume up to go into download. You should see a Droid with some info at the top left of the screen.
9. Plug your phone into your PC. Open a terminal and navigate to the Odin folder (if you closed the other terminal window). Type the following below. This must all be done in one step only hit enter when all files are added. The X's represent the rest of that file name. Replace them accordingly with the WHOLE name, leaving the BL or AP etc in front).
Click to expand...
Click to collapse
This also can be done using another device and simply taking the binary and inserting it into the system bin or into xbin. You may need to do a couple more files to with I forget however I was able to successfully flash firmware back to my Galaxy S4 using this binary and a rooted shell from my rooted and unlocked Amazon HD 10.
Sent from my Amzn Fire using XDA Labs