Is there someone here that have bought a norwegian HTC magic.
I need the Norwegian rom and radio..
if it's possible to flash on the voda, I'd like a copy of that one too
I have no clue on how to extract it, but if you would like to enlighten me and it's not too much of a hassle I'll get you a copy from mine.
I doent know how to extract it my self,, but i will think there are people here en XDA dev that knows..
What version RADIO are on the norwegian magic?? because i have problems with the reception on my magic..
Baseband v. 62.52S.20.18U_3.22.20.17
Here is the way to backup your rom.. Can you take a copy of your norwegian rom and upload it..
Quote from another XDAdev forum user
Here's how to do a Nandroid backup:
Firstly, download fastboot.exe, or if you are on Linux, just fastboot. You can get fastboot from HTC's website, here's the link:
http://www.htc.com/www/support/android/adp.html#s2
Save fastboot.exe in just c:\ (the root/beginning of your C: disk).
You need to make sure the USB drivers for the HTC Magic are installed on your computer.
Then you need to download this file, unzip it, and save it to your phone's sdcard:
http://www.droiddeveloper.com/hrbuil...ry-new.img.zip
You must unzip the file, so that you have "recovery-new.img" on the SDCard.
Then, please turn off your HTC Magic, and hold down the Back button (arrow button next to the Search button), whilst turning the phone on.
This will enter Fastboot mode, and the phone should show "SAPPHIRE xxxxx FASTBOOT USB" and some other information.
From your computer, go to a command prompt (Start -> Run -> cmd [enter]), or just Start -> cmd [enter] if on vista.
Type: cd \ (that's CD, space, backslash) then [enter]. This changes your working directory to the root of the c: drive, where we have saved fastboot.exe.
Then type "fastboot devices" and make sure that fastboot on the computer can see your phone. Hopefully it will return a model or serial number of the HTC handset.
If so, please type "fastboot boot recovery-new.img".
This will start your phone up with the modified recovery image, which has Nandroid backup built into it. You should now see the recovery screen on the phone, with some menu options, including "Nandroid Backup".
Please choose to do a Nandroid backup from the menu on the phone. This will create a folder on the phone's sd-card called Nandroid, with some other folders inside, with backups of the system.
You can then choose restart from the Recovery screen and everything will be back to normal.
Please can you do this and send us the files? From your perspective it would be better if you wiped the phone (Factory reset on the phone, Under Settings -> SD card & phone storage -> Factory data reset) before doing this because we don't want your data. Or you could just do it, zip up the files and contact me and I will take your files, restore here, wipe data, then re-zip the files, so nobody will have your information. If you are not happy with that, you could just send us all the files except data.img. I'm sure that would be OK.
Please help me folkz.....Still having problems with the reception here in Norway...
Just have to figure some stuff and I might be able to have a go at it, only problem atm is that I had back surgery 3 days ago and can't have long sessions in front of a computer yet...
but correct me if I am mistaken, but don't I need to root my phone before using nandroid for it to make a complete backup which also includes spl/baseband?
Here is my backup from Norwegian htc magic. I had to use "daldroid-recovery.img" to get it. Let me know how it works.
http://rapidshare.com/files/250022072/norwegian-htc-magic.zip.html
Hi I tried to install your ROM but then my magic will not start so I installed the old ROM again..
To bad don't know what more I can do then.
Related
Hi guys
I just updated my HTC Wildfire from HBOOT version 08… to 1.01.0001 and I ran into many problems on the way. I’m just writing this guide to help out any other people that are in the same situation as me and don’t want to be searching Google for half a day finding solutions to every tiny problem. Please note this worked for me but I cannot guarantee it will work for you so follow this tutorial at your own risk!
Step 1: Find the RUU that has HBOOT 1.01.0001
I used RUU_Buzz_Froyo_HTC_WWE_2.22.405.1_Radio_13.55.55.24H_3.35.20.10_release_160191_signed.exe which you can find here.
And more specifically the download link is here (Credits to 3xeno for the RUU list and uploads).
Step 2: Extract the rom.zip from the RUU
There are many ways of extracting rom.zip the method I used is:
1. Run the RUU installer.
2. Go to your windows temporary folder.
3. Search for rom.zip
Another method that will definitely work and you can be sure you have the correct zip file is given here.
Step 3: Create a goldcard (easy way)
I found that flashing the above RUU was impossible without a goldcard and after lots of searching I found a link for downloading the GoldCardTool - a software that automates most of what you have to do and saves you lots of time.
Note: You need to format your SD card so backup anything important and then go to
Settings -> Storage -> Unmount SD Card
Then hit Erase SD card.
Now you are ready to create a Goldcard.
You can download the software here and follow the instructions in the readme file, they are very straight forward.
Step 4: Prepare the ROM for flashing
Rename rom.zip to PC49IMG.zip and place it on your SD card (in the root folder of your SD card ie. No folder within the SD card).
Now reboot your phone into the bootloader. Mine always starts with FASTBOOT in focus and I have to press the power button over BOOTLOADER to get it to scan the SD card for PC49IMG.zip. Once it finds the zip file it will open and parse the file and then ask you if you’d like to update. Press volume up to confirm then DON’T TOUCH ANYTHING.
Once the update is complete reboot the bootloader and make sure the HBOOT is 1.01.0001. Once that is confirmed you can boot into Android.
Step 5: Use AlphaRevx to get S-OFF and Clockwork recovery
Before you use AlphaRevx you will need to make sure you have the correct drivers.
Download the HTC Fastboot drivers which you can get here.
Also download Superuser which you will use later from here and copy this onto your SD card when you find the time!
(Credits for the links go to the guys at unrevoked for their wiki)
Now it’s time to get the Revolutionary software.
Go to http://revolutionary.io/ and download Revolutionary.
Now plug in your phone and make sure USB debugging is on, if it is not then go to Settings -> Applications -> Development and Enable USB debugging.
Now extract and run the Revolutionary software. It should open a command prompt and it will walk you through the installation, the serial number that you give in the website is given in the command prompt (it is not the same as the serial number on the back of your battery!). If you find an error right from the start it probably means you don’t have ADB drivers – Google sdk can help you out with that one. At the end of the installation it gives you the option to download and install Clockwork recovery mod – say yes (Y) to this option!
Step 6: Rooting your phone
Now that Revolutionary is complete you can reboot your phone into Clockwork Recovery. Select install application from zip file. Choose to select the zip file and then find the Superuser zip file that you download earlier (Superuser-3.0.7-efgh-signed.zip) and install it. If you forgot to put it on DON’T reboot your phone just go to the main menu of Clockwork Recovery. Go to mounts/partitions (I can’t remember the exact name) and at the bottom it says “mount SD card”. Select that and copy the file over to the SD card and then flash it using the directions given above.
Step 7: Flashing a custom ROM (or Fix for if your phone stops on boot screen)
You can either stop at Step 6 or continue to this step and flash a custom ROM.
To do this boot into Clockwork Recovery and do the following:
1. Wipe data
2. Clear cache
3. Clear Dalvik cache in advanced menu
I found that after I flashed a ROM without doing the above 3 steps it got stuck on the boot screen so please do the above 3 steps!
Now flash the ROM by choosing to install from a zip file. Reboot and you’re done!
I updated to Cyanogen mod 2.3.7 and I just want to throw in that Radio_13.55.55.24H_3.35.20.10.zip worked for me !
I really hope this tutorial helped. I just did it with my phone and it’s working well so I wanted to share what I did. Credits go out to everyone that put up tutorials on how to solve problems and all the download links and especially to the guys that wrote Revolutionary – it is an amazing software keep up the good work !
Cheers guys
Kerren
A very thorough guide and many people will benefit from this.
This is nearly exactly the same routine I followed from a guide which I can't remember where from now lol and very grateful help from 3xeno (yoda) but I don't think I did anything with alpharevx though and also I just flashed my cm7 nandroid after revolutionary to gain my superuser and I'm sure the serial part WAS my serial on phone but can't remember exactly.
Anyway my point is that after reading through your post it brought back the memory of the satisfaction of successfully s-offing my phone. great work.
"sent from me2u"
Cool!
Haha thanks man glad I could bring back memories
When it comes to the serial number I'm not completely sure, I had generated a code from the serial on the back of my battery and that didn't work. I then read the serial from command prompt and it seemed a lot shorter (also I got a code that worked ).
Maybe I made a mistake originally but all I know is that you don't have to rip your battery out to get the serial number - they give it to you anyway .
Thanks very much for the reply!
Ah yes that sounds familiar now.
"sent from me2u"
There are some noob tutorial around, but none of them specifically says
anything about 4.5.141 unless you dig quite some pages at the end of the
threads. This post is not going to be a complete guide or tutorial, nor it is
going to be a detailed how-to. It will be a breif how-to that tells you what
works on 4.5.141 and give you some confidence when rooting and unlocking
4.5.141.
Before flashing a new rom on your stock atrix, you should understand the risks
of losing data, voided warranty, malfunction of the new rom, or even get your
phone hard bricked. if you were worried, and still are worried after reading
many XDA threads, a new rom is not for you. The stock ROM is not that bad.
Enough talk, let's get to the point of how to get CM7.2RC2 running on your
phone.
Table of Contents
1 PRE-CONDITIONS
2 BRIEF PROCESS
3 DETAILS
1 PRE-CONDITIONS
Atrix phone.
Stock rom running 4.5.141, stock bootloader.
If you have rooted your phone, or have unlocked your bootloader, just skip
the corresponding step.
If you are running versions below 4.5.141, there are ready-made scripts to
do things.
I myself use an SD card, but I don't think it's necessary to flash
CM7.2RC2 or gapps. (Please correct me if I'm wrong.)
Windows OS.
Motorola only offers phone drivers to Windows OS.
Internet access.
You will need to download files from some file sharing websites.
USB Cable.
For connecting your phone to Windows PC and run commands.
Know how to run a command line application in Windows.
I won't tell you how to use unzip, cmd.exe, and cd commands. I won't tell
you about PATH, directorys and file names. If you are looking for a
word-by-word tutorial, stop now.
2 BRIEF PROCESS
Download CM7.2RC2 zip file and gapps.
Backup important user data.
Root your phone so that you can run Titan Backup.
Backup all your data, including app data that you wish to keep.
Unlock bootloader.
[Root again &] flash recovery. //read why I root again in details.
Flash rom and gapps.
Config CM7.2, restore app data.
3 DETAILS
Before I start, I need to say I only own an AT&T atrix, other atrix could have
some differences, please read the threads that I refer to to get more
information.
Download CM7.2RC2 zip file and gapps.
CM7.2RC2
http://download.cyanogenmod.com/?device=olympus
download update-cm-7.2.0-RC2-olympus-signed.zip
gapps
http://wiki.cyanogenmod.com/wiki/Latest_Version/Google_Apps
download the one for CyanogenMod 7.
Store CM7.2RC2 to your internal storage.
Store gapps to your SD card. [I don't know why.]
Store them to both place if you are unsure. [That's what I did.]
On stock rom, internal storage is mounted at mnt/sdcard, SD card is
mounted at mnt/sdcard-ext.
# Could someone tell me why where to store the zip file matters?
# I see Romracer's Recovery can flash zip file in either place.
Back up important user data.
Everyone has different things to back up.
My list includes:
Contacts.
App settings & data
if the app support "backup to SD card" alike function, do it.
if the app support syncing, do it.
this includes syncing all items on google account.
for other apps, you may use Titan Backup later to backup data.
bookmarks.
ssh keys stored on phone.
icons on Home screen.
a list of installed apps.
Photos/Camrecords.
Musics
PDFs
network and VPN settings
I purposely do not mention apps I am using to avoid advertising.
Root your phone so that you can run Titan Backup.
I don't think rooting your phone is necessary at this stage, but I did it
in order to use Titan Backup. If you have nothing worth backing up, you may
skip this. (Please tell me if I'm wrong here.)
[install Motorola USB drivers]
http://www.motorola.com/Support/US-EN/Support-Homepage/Software_and_Drivers/USB-and-PC-Charging-Drivers
download the all-in-one driver and install it.
[download the tools and preinstall.img file.]
http://hotfile.com/dl/147091460/bb5f4c5/moto-fastboot-win32.7z.html
download the 7z file, and unzip it using winrar or 7-zip.
7-zip is free software, google it for download.
boot to fastboot mode.
Power off your phone. hold Volume Down, press Power.
when the screen show fastboot, press Volume Up to enter fastboot mode.
(Press Volume Down will cycle all mode choices, press Volume Up selects the
mode that is shown on the screen.)
flash preinstall, reboot.
unzip the 7z file you downloaded, start cmd.exe and go to that dir.
connect phone to Windows PC using usb cable.
run these commands:
Code:
moto-fastboot flash preinstall preinstall.img
moto-fastboot reboot
replace /system/bin/su with /preinstall/su and set permission to 6755.
when phone is fully rebooted, enable USB debugging.
Settings > Application > Development > USB debugging
Disconnect and reconnect the cable if windows does not find your phone.
run these commands:
Code:
adb shell
/preinstall/dosu
/bin/mount /system -o remount,rw
cp /preinstall/su /system/bin/su
chmod 6755 /system/bin/su
PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk
exit
exit
Notes:
If "adb shell" fails, try disconnect and reconnect cable.
On success, it shows "$" on a new line.
when running "/preinstall/dosu", you can ignore this error:
"bash: groups: command not found".
done.
now you are rooted, you can disconnect USB cable if you wish.
Backup all your data, including app data that you wish to keep.
More backups won't hurt. Now it's time to backup all your apps and files.
Now that you are rooted, you can install Titan Backup and backup the
non-system apps. Back up other apps as you wish. I'm completely new to
Titan Backup. I only used it to backup non-system apps, for the purpose of
restoring app data later.
Note that CM7.2RC2 is based on android 2.3.7, while 4.5.141 is based on
android 2.3.6. I did not try to restore 2.3.6 stock app data to 2.3.7
myself to avoid any possible error.
If for some reason, Titan Backup told you you are not rooted, just do the
root step again. It does no harm to your phone.
Unlock bootloader.
[install motorola USB drivers]
if you haven't done this. Do it now. see download link at step 3.
[download RSD, fastboot, and the small 1MB SBF file.]
moto-fastboot is included in the 7z file in step 3.
RSDLite and the 1MB SBF file download:
http://forum.xda-developers.com/showthread.php?t=1136261
scroll to the "Unlock:" section.
"Unlocker only SBFs - These small 1mb SBF files will get your phone ready
to fasboot oem unlock. They are the files most people should use."
Notice that the 1MB SBF file is different for ATT and other atrix.
Choose the correct version.
Power off atrix. take out microSD card and sim card. [not sure why]
Flash the small SBF file using RSD Lite.
Unzip the downloaded small SBF file.
Install RSDLite.
Boot phone to RSD mode. Connect USB cable. Run RSD Lite on Windows PC,
select the unzipped .sbf file, press Start.
[I guess you know how to boot to different modes now. But just in case,
first Power off your phone, hold Volume Down and press Power, when screen
show "fastboot", press Volume Down to cycle between choices, when it show
"RSD", press Volume Up to confirm.]
The phone will disconnect and connect again and may goto other modes
automatically. Watch the progress shown in RSDLite window.
Here is a side story: while I'm flash this, the phone switch to fastboot
mode automatically, when RSDLite is waiting for the phone to go to BP
pass ?? mode, at progress 98%. I didn't notice it is still waiting for
the phone, when I see it goes to fastboot, I just run the fastboot oem
unlock command in the next step, and the phone get unlocked successfully,
then I reboot it with fastboot reboot. But when the reboot finished, the
phone asks me to setup moto blur and google account. apps and user
configs are gone. But I don't care, becaue I have all important things
backed up. I just skipped most of the setup because I'm going to flash a
new ROM. So it looks like the phone did a factory reset after the
unlock. I also lost root after this. Could someone tell me is this
expected behavior of a normal unlock, or is this a consequence that I
failed to let RSDLite work to the full 100% progress?
Do fastboot oem unlock.
Boot phone to fastboot mode. connect USB cable.
Switch to the dir that contains moto-fastboot, then run these commands:
Code:
moto-fastboot oem unlock //It will print your device ID.
moto-fastboot oem unlock <your-device-ID>
moto-fastboot reboot
Done.
When your phone reboot, you will notice the unlocked red text on motorola
screen.
I hope you did not get a factory reset. But if it did, don't panic.
[Root again &] flash recovery.
I definitely do not want to root again here, but my phone looks as if it
has got a factory reset when I was unlocking the bootloader. And I lose
root as a result. I could just go ahead and flash recovery, but it turns
out I need to delete a file in /system partition before I can boot into
Romracer's Recovery. To delete that file, I need root.
[download Romracer's Recovery]
http://forum.xda-developers.com/showthread.php?t=1204500
You can download any of the recovery file listed there under "ALL USERS".
To root again, just redo step 3.
Rename (or delete) /system/etc/install-recovery.sh using a root file
manager.
When you are fully rebooted, install a root file manager (for example, ES
file explorer), and rename /system/etc/install-recovery.sh to
install-recovery.sh.bak
Until you rename or delete this file, you can't boot into the recovery
you are going to flash. Because the recovery file will be replaced when
the phone boots.
flash recovery.
If you downloaded zip file, unzip it.
Then copy img file to the dir that contains moto-fastboot.exe.
Boot phone to fastboot mode, connect phone to Windows PC, go to
moto-fastboot dir, run these commands:
Code:
moto-fastboot erase recovery
moto-fastboot flash recovery recovery-atrix5.img
moto-fastboot reboot
Flash rom and gapps.
Preparation
If your battery is low, replace battery now. There is no stop and resume
support when making a backup or flashing a new ROM.
If you have taken out microSD card and sim card when unlocking
bootloader, you should put it back now.
Boot into recovery mode.
Inside recovery, press Volume Up and Volume Down to go up and down.
Press Menu soft key to confirm.
Do a backup.
Go to Backup & Restore and create a backup.
You will be asked whether to include webtop in the backup.
If you do, expect the backup to take a long time. (~30 minutes)
Flash CM7.2RC2 and gapps.
In recovery menu, choose install zip file from SD card.
Locate the CM7.2 zip file, and confirm flash.
When done, you need to wipe some data/cache, confirm wipe in each step:
wipe data/factory reset
wipe cache partition
Advanced > wipe Dalvik Cache
When asked whether to include sdcard-ext, I chose yes.
Done.
You are ready to reboot the CM7.2RC2.
Config CM7.2, restore app data.
Some configs you may want to tweak:
Home Screen > Menu > More > Wallpaper
CM settings > Display Settings > Screen-off animation > off
Display > Brightness > [auto]
Display > Animation > none
Date & Time > Select time zone
Sound > Phone ringtone
Sound > Notification ringtone
Sound > Haptic feedback > off //vibrate when pressing soft keys
CM settings > Sounds > Mute camera shutter
CM settings > Input > Long-press menu > soft keyboard
Some first impressions of built-in apps and the CM7.2 ROM.
The Motorola stock quickoffice is gone. you might want to instal Adobe
Reader for PDFs.
Stock gallery is unusable, it's worse than Motorola stock Gallery. Just
use Quickpic and set your image/photo directories.
ADWLauncher has 3 icons in the stock, you can change it to 5 icons.
ADWLauncher > UI Settings > Main Dock Style > 5 Icons
Now you can go ahead and install apps you use from Market(Google Play).
You can restore user app backups from Titan Backup.
Enjoy CM7.2
All credit goes to XDA members, CyanogenMod team and Motorola Corp for the mod, tools, files and drivers that they developed and released. Without them this how-to won't be possible.
This code is translated from org-mode text to html then to BBCode, I'm sorry if the formatting looks a bit alien.
Thank you for your great work (not found the thank button). I think this tread may be added to the top, found it only accidentally
Great thread for noobs! Bump so it doesnt get lost. Thanks for your time writing this.
HELPPP
So i bought an atrix 4g and i cant root because im on 2.3.6 4.5.141 and cant root i unlocked bootloader but cant root I dont know why i do everything step by step on root but i dont know why Command Prompt wont let me It says something like "Moto" is not recognized as an internal or external command something like that--
jesusitox12 said:
So i bought an atrix 4g and i cant root because im on 2.3.6 4.5.141 and cant root i unlocked bootloader but cant root I dont know why i do everything step by step on root but i dont know why Command Prompt wont let me It says something like "Moto" is not recognized as an internal or external command something like that--
Click to expand...
Click to collapse
Isn't the proper command "moto-fastboot" ?
MB860, CM7.2.0, Faux 026b1 1Ghz
jesusitox12 said:
So i bought an atrix 4g and i cant root because im on 2.3.6 4.5.141 and cant root i unlocked bootloader but cant root I dont know why i do everything step by step on root but i dont know why Command Prompt wont let me It says something like "Moto" is not recognized as an internal or external command something like that--
Click to expand...
Click to collapse
perhaps after you unzipped the moto-fastboot stuff you didn't direct your command prompt to the directory?
or missing the path to it in system variables or something?
i remember i just have the directory with moto-fastboot in flash drive which i just navigate to in command prompt just to be able to run the moto-fastboot command
hope that helps?
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. The MAC instructions are very similar, from what I understand. Install the package the same way. All ADB/Fastboot commands may need to start with "adb-mac" (no quotes) rather than "adb" (no quotes). Due to the vast amount of Linux distros available; instructions will vary for your device. Once ADB/Fastboot are set up all command will begin with "./adb" (no quotes) rather than "adb" (no quotes). Once ADB/Fastboot are set up; this guide is 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 will lose all applications. Even the data on your SD Card! I'd recommend making a Backup to your computer BEFORE performing this. There is a method for backing your data up, detailed HERE.
For the time being, there is a method available that will allow you to unlock your device (and root it) without losing your data.
For instructions, click HERE. Please note: this is a hack and isn't the "conventional" and "accepted" way of unlocking your bootloader on a nexus device. The wipe requirement is there for your safety, really, and I'm certain this will be patched in the upcoming releases.
Get the drivers:
Uninstall any previously attempted drivers if they don't work and move to the next.
Option One:
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 Nexus 4: turn USB debugging on.
To do so; you must first go to Settings>About>Build Number and click seven times.
The actual setting can then 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."
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 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.
To do so; you must first go to Settings>About>Build Number and click seven times.
The actual setting can then be found in Settings>Developer Options>USB Debugging
Download the following:
SuperSU (CWM .zip)
CWM (Pick the version for your device)
Place the recovery-clockwork-VERSIONNUMBER-mako.img 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.
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 Data 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:
Nexus 4 Original Development
Nexus 4 Development
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. 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 hotplug governor (one that turns cores off with the screen off) 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!
Download the stock IMAGES for your device and extract the files using 7-zip. Move all of the extracted files to your platform-tools folder. Open the flash-all.sh file with a text editor. Copy and paste the commands (one by one) and wait for each process to complete for continuing.
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 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 Nexus 4
-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.***
ADB Backups:
SDcard backup:
Code:
adb pull /sdcard/ /sdcard/
(This will pull all of your sdcard contents to an "sdcard" folder in your C:\ directory)
Applications and their data:
Take note, that you'll need to be using CyanogenMod's method for setting up ADB to do this. The ADB AIO application installs an older SDK without this functionality. First, get your drivers installed (detailed in post one). Once you get ADB installed (post one), navigate to the C:\android-sdk-windows\platform-tools folder on your computer. Hold shift and right click. Select "Open Command Window Here."
Input this while your phone is turned on and USB Debugging is Enabled:
To do so; you must first go to Settings>About>Build Number and click seven times.
The actual setting can then be found in Settings>Developer Options>USB Debugging
Type this:
Code:
adb backup -apk -noshared -all -nosystem
(Hit Enter)
Your phone will ask for a password. Input one and remember it.
Once the process completes: continue with unlocking and rooting your phone.
Restoration:
Upon unlocking and rooting your phone: open up ADB again.
Enter this code:
Code:
adb restore backup.ab
(Hit Enter)
Input the password you saved to this file earlier, and wait for the restore to complete.
To restore your SDcard backup, first move the "sdcard" folder that was made in the backup process to your platform-tools folder.
Then run:
Code:
adb push sdcard /sdcard/
Do you have to install "ADB" ?
As far as like...clicking it and letting the windows installer install...no.
The exe file will read the commands in cmd without "installation."
Nice Work!
I've just added this guide to the Nexus 4 Complete Index
Sent from my GT-I9100 using xda premium
Great work!!! nice and clean reading!
Can this guide include information on how to re-lock bootloader and unroot the device? Does this informaiton exist?
I need to RMA my phone due to dead pixels and I want to make sure I dont have any issues with the warranty.
jayluke said:
Can this guide include information on how to re-lock bootloader and unroot the device? Does this informaiton exist?
I need to RMA my phone due to dead pixels and I want to make sure I dont have any issues with the warranty.
Click to expand...
Click to collapse
Post 3.
fastboot oem lock
Locks the device.
How long is the first boot, after unlocking the bootloader, supposed to take? Mine's sitting there for quite a while already. (I had a lot of stuff installed, but still, this is really long.)
EDIT: When rebooting the custom recovery, you have to say "yes" to the message it gives you, something about keeping some recovery. I had originally said no because I didn't flash it, I just booted it once.
I just got my nexus yesterday, and this isnt the first phone that I have rooted.... however... my settings on the thing are extremely basic..
How do I enable usb debugging if I dont have the option in the settings?
Thanks
Chris
---------- Post added at 03:19 PM ---------- Previous post was at 03:14 PM ----------
I just got my nexus yesterday, and this isnt the first phone that I have rooted.... however... my settings on the thing are extremely basic..
How do I enable usb debugging if I dont have the option in the settings?
Thanks
Chris
Edit: Got an app to enable it... still not in the menu though.
wizshaw said:
I just got my nexus yesterday, and this isnt the first phone that I have rooted.... however... my settings on the thing are extremely basic..
How do I enable usb debugging if I dont have the option in the settings?
Thanks
Chris
---------- Post added at 03:19 PM ---------- Previous post was at 03:14 PM ----------
I just got my nexus yesterday, and this isnt the first phone that I have rooted.... however... my settings on the thing are extremely basic..
How do I enable usb debugging if I dont have the option in the settings?
Thanks
Chris
Edit: Got an app to enable it... still not in the menu though.
Click to expand...
Click to collapse
Oh geeze!
I forgot.
Settings>about>version number I think...
Click 7 times to enable developer options.
Will update op soon.
Quick question: is there a reason the first post links to SuperSU version 0.98, when version 0.99 is the most recent? If version 0.99 has known issues with the Nexus 4, I don't want to use it on my device.
The 0.99 version came out after this guide was posted. I was offered to upgrade to the new version of supersu from 0.98 and so far no problem at all.
Does this work on the latest version of JB (4.2.1)?
When installing a new ROM it says to perform a factory reset through CWM, which will remove all apps and data but should keep all your pictures, videos, songs etc.
It doesn't mention to wipe the System partition as well. Is this not necessary when flashing ROMs on a Nexus?
Prior to owning the N4 I had the Galaxy S 2 and it was always stated in the OP instructions to wipe data/factory reset, wipe system, clear cache, clear dalvik and then flash ROM and Gapps.
However, I don't notice in any guides or instructions for N4 ROMS to wipe the system partition, just the data partition. Is there a reason for this or is it not necessary to wipe the system partition? Thanks. Great guide by the way.
Peace
thank u for ur effort
Chochiwpg said:
When installing a new ROM it says to perform a factory reset through CWM, which will remove all apps and data but should keep all your pictures, videos, songs etc.
It doesn't mention to wipe the System partition as well. Is this not necessary when flashing ROMs on a Nexus?
Prior to owning the N4 I had the Galaxy S 2 and it was always stated in the OP instructions to wipe data/factory reset, wipe system, clear cache, clear dalvik and then flash ROM and Gapps.
However, I don't notice in any guides or instructions for N4 ROMS to wipe the system partition, just the data partition. Is there a reason for this or is it not necessary to wipe the system partition? Thanks. Great guide by the way.
Peace
Click to expand...
Click to collapse
I actually have a question along these lines.
I just came from a LG G2X so things were different for me whenever I flashed ROM's/kernels. For one thing, I had an external sd card so whenever CWM made it's backups, they went to that automatically and I didn't have to worry about wiping since everything was on the external. This phone doesn't have an external so where do the backups go? From the looks of the new CWM 6.0.2.0, the backups (and blobs now apparently) go to /data/media/clockworkmod. Well I guess my question here is if you have to wipe /data for installing new ROM's, how would I restore a backup because they would have been deleted off the /data partition. I tried adb pulling /data/media/clockworkmod to my computer but it won't go. Don't know if it's because that partition is mounted while the phone is in use or what. I tried the mount/umount command that OP listed but it won't work for me. Don't want to flash ANYTHING on this phone until I know for a fact I can get to the backups that I'm creating.
first... its been a while since i have messed with a nexus. so im not on the nexus boards that much. my buddy and i both bought nexus phones during the first day of second round of sales back in 2012. back then there was no otg support. and rooting was done via adb etc. i sold mine shortly thereafter and have not been on the nexus boards since. so please catch me up to speed with my questions and maybe help me to get his files switched from his old nexus with a cracked screen to the new one he just got yesterday.
is there now otg support for this phone?
i found a post to adb past the lockscreen. can i also use adb to pull the backup file (i booted into recovery and did a backup yesterday) on the old and use it on the new? new phone is not rooted yet, but can be.
is there a way to pull specifics from the backup. or pull specific apps with adb? as in he has company passwords and such in a note app that he really needs with a passion.
is there an easier way to get to the files than what i am thinking i have to do? i still need to relearn how to use adb and such, but if i can otg through this and use airdroid that would be wonderful. if adb is the only way to get this done.... would you mind giving me the commands i need to get to and pull the files i need. i can get the paths from his new phone to figure out where they are. i just dont know the commands to do the deed.
thanks a ton for anyone willing to help. <-- seriously.
-patrick
You can get USB Host working BUT it has to be externally powered.
Sent from my Nexus 4 using Tapatalk 4
I hope I'm understanding your exact situation; feel free to let me know where I misunderstood you.
Ok, your friend bought a Nexus 4 a while back, has somehow broken the screen, bought a new Nexus 4, and wants to grab a nandroid backup and a document from a notepad-esque application from it?
If so, this is what I'd do. I'd grab the Nandroid backup from the old device, and restore it onto the new device (again, assuming both old and new devices are the same model i.e. Nexus 4)(also after backing up the new device, in case you ever need or want to revert to a fresh image) and grab the text file. What recovery are you using on the broken phone? I don't know the path for backups for TWRP, but if you're using CWM, the path is /mnt/shell/emulated/clockworkmod/backup/. Ok, let me make this easier by making a step-by-step. Some of it you probably already know how to do but I want to be as clear as possible.
1. Make a nandroid backup on new device in case something goes wrong, or you want to go back in the future
2. Hook up broken device to computer, open a cmd window in the platform-tools folder, containing adb.exe (shift right-click in an Explorer window and hit "Open command window here" is the fastest way)
3. Use this command: adb pull /mnt/shell/emulated/clockworkmod/backup/NameOfBackup/ NameOfBackup
4. That will pull the backup and put it in a folder called NameOfBackup (whatever you called it) in the platform-tools folder containing adb.exe
5. Flash CWM recovery onto new device
6. Hook up new phone to computer and run this command: adb push NameOfBackup /mnt/shell/emulated/clockworkmod/backup/NameOfBackup/
7. Boot into recovery and flash that backup
8. Reboot. It should look exactly like your old phone. Grab the file you want with all the passwords in it and back it up on your computer something. Now you can restore the other backup you made of this device or keep with your backup of the broken phone. Your call.
EDIT:
I just reread my post to make sure I included everything. You might have to move step 5 way up before step 1. You'll need a custom recovery to make a nandroid, so flash a custom recovery first.
Johmama said:
I hope I'm understanding your exact situation; feel free to let me know where I misunderstood you.
Ok, your friend bought a Nexus 4 a while back, has somehow broken the screen, bought a new Nexus 4, and wants to grab a nandroid backup and a document from a notepad-esque application from it?
If so, this is what I'd do. I'd grab the Nandroid backup from the old device, and restore it onto the new device (again, assuming both old and new devices are the same model i.e. Nexus 4)(also after backing up the new device, in case you ever need or want to revert to a fresh image) and grab the text file. What recovery are you using on the broken phone? I don't know the path for backups for TWRP, but if you're using CWM, the path is /mnt/shell/emulated/clockworkmod/backup/. Ok, let me make this easier by making a step-by-step. Some of it you probably already know how to do but I want to be as clear as possible.
1. Make a nandroid backup on new device in case something goes wrong, or you want to go back in the future
2. Hook up broken device to computer, open a cmd window in the platform-tools folder, containing adb.exe (shift right-click in an Explorer window and hit "Open command window here" is the fastest way)
3. Use this command: adb pull /mnt/shell/emulated/clockworkmod/backup/NameOfBackup/ NameOfBackup
4. That will pull the backup and put it in a folder called NameOfBackup (whatever you called it) in the platform-tools folder containing adb.exe
5. Flash CWM recovery onto new device
6. Hook up new phone to computer and run this command: adb push NameOfBackup /mnt/shell/emulated/clockworkmod/backup/NameOfBackup/
7. Boot into recovery and flash that backup
8. Reboot. It should look exactly like your old phone. Grab the file you want with all the passwords in it and back it up on your computer something. Now you can restore the other backup you made of this device or keep with your backup of the broken phone. Your call.
EDIT:
I just reread my post to make sure I included everything. You might have to move step 5 way up before step 1. You'll need a custom recovery to make a nandroid, so flash a custom recovery first.
Click to expand...
Click to collapse
you are awesome. thanks a ton. thats what i needed. just wasnt sure if the imei needed to match or whatnot. cwm is what i am using on the old phone. and ill make sure thats what goes on the new one once i root it. will come back and let you know how it goes. i still need to meet up with him and get his new phone to make things work.
once again. thank you.
ok so he thought he had debugging turned on. but he apparently does not. i keep getting device not recognized by adb. he has an icon of a jellybean with horns or antennas coming out of it. i thought that was the notif icon for debuggin. but after an image search i see that debugging is different.
anywho... it doesnt look like i can rig up an otg cable either because i need to be able to install a zip script before it will work. it looks like i am out of options. i guess i need to tell him to buy another screen. let me fix. and then he can sell it on craigslist and try to get his money back.
if there is anything i am missing... let me know. but for now i seem to have hit the end of the road.
Boot to recovery and use adb.
Either straight up pull the backup (might be more sane to make a tarball and pull that) or push the otg mod and use cwm to flash that.
If you have cwm touch, you can use adb or fastboot to flash the regular cwm.
ziddey said:
Boot to recovery and use adb.
Either straight up pull the backup (might be more sane to make a tarball and pull that) or push the otg mod and use cwm to flash that.
If you have cwm touch, you can use adb or fastboot to flash the regular cwm.
Click to expand...
Click to collapse
cool beans. did not know i could adb in recovery. ill give it a try after work, bout to head to bed. ill search tarball to find out what you are talking about also. i will need to push your .zip to it anyways for the pics and such. i guess i will go ahead and jump on amazon to get the cables and hub.
edit: i used ill and i wll several times. but too tired to go back and re-word. pardon the near impossible to follow post.
How much free space is on the phone? Tarballs are archives similar to zips (although without compression in base form). If you have the space for it, just make a big tarball and adb pull it. Only real reason to go OTG is if you want to be able to use the phone still-- hook up a usb hub, keyboard, mouse, usb stick.
HTC Desire 820 can be easily rooted with few simple steps.
I am not responsible for your warranty loss or device not functioning properly.
Steps
1] Unlock Bootloader if you don't know how to do it visit this page
2] Download TWRP Recovery from here
3] Download Super Su from Here and transfer it to your device
4] Reboot to Fastbboot mode using Volume Down and Power Key
5] Connect Phone to PC
6] Extract files from Recovery.zip in one location and simply click on flash-recovery.bat
7] After Step 6 is finished Using volume keys navigate and select recovery option and go to recovery
8] After rebooting in recovery select Install zip > and selecting supersu.zip transferred in first step to obtain root access.
9] Reboot
If you would like to send me a bear my Paypal donation link
Source
will system changed after reboot ?
will system changed after reboot ?
I rooted my HTC Desire 820U mobile successfully
I rooted my mobile easily just following the steps posted in the below page they are perfect :good: and also i followed yours too.
Now i am waiting for Custom ROM in English and android lollipop 5.0 update.I attached some of my mobile screenshot after rooting.
guys i wiped system data, and its saying no OS installed
Penish said:
I rooted my mobile easily just following the steps posted in the below page they are perfect :good: and also i followed yours too.
Now i am waiting for Custom ROM in English and android lollipop 5.0 update.I attached some of my mobile screenshot after rooting.
Click to expand...
Click to collapse
please anyone send me OS backup or guide me to install Stock ROM back :crying:
To install a custom ROM(OS) on your HTC DESIRE 820
Lenin Reddy said:
please anyone send me OS backup or guide me to install Stock ROM back :crying:
Click to expand...
Click to collapse
To install a custom ROM on your HTC DESIRE 820, here’s a brief tutorial guide:
---------------------------------------------------------------------------------------
Step 1. You will need to first download the custom ROM you want to install. These ROMs come in a “zip” file format (so DO NOT UNZIP them) and usually 1 large file around 200MB to 1GB. Some ROMs may require you to install multiple files.
You can download these zip files straight to your phone or use your computer to download (as downloading on your computer may be more stable/effective/faster) then copy over to your phone’s storage.
Step 1. Once ROM zip files are downloaded/copied to your phone, get into TWRP RECOVERY MODE BY PRESSING volume down+power button together for about 3 seconds to enter bootloader menu.Choose “RECOVERY” using Volume Down key then hit Power button to enter TWRP recovery.
Before installing a ROM, you will want to do a “data wipe/factory reset” by hitting the “Wipe” button. This will erase all your settings, apps, and app data (but not personal photos/videos on your storage). I highly recommend using Titanium Backup app to backup your apps, SMS Backup & Restore app to backup your SMS text messages, and use an online service such as GMail or Facebook to backup your contacts. Most online service providers like GMail or Facebook offer built-in ability to auto backup/restore your contacts.
*Optional – You can try installing a custom ROM without wipe, but this is considered risky and dangerous as sometimes the ROM may not boot. You can make a backup ROM if you are going to try this route so you can restore easily. Also, this can keep your settings, apps, and app data without restoring them.
Step 2. Once wipe is done (or you have decided not to wipe but have backup ROM), simply use the “Install” option in main menu and find the ROM zip file you need to install. If there’s multiple files, simple install them one by one until you are done.
Step 3. Once done installing custom ROM, reboot and cross your fingers your phone will boot. If your phone boots within 5-10 minutes you should be good to go. If not, you can try re-installing ROM, especially if you did not wipe, try re-installing after wiping.
To copy ROM file into SD card:
-------------------------------------
Boot TWRP, then select “Mount”, then select only “Data” and connect your HTC DESIRE 820 to your computer with usb debugging enabled.
Then download fastboot.zip and unzip, you probably will find a new directory called fastboot under your Downloads directory.
Copy the ROM you want to install to the fastboot folder.
Open a command prompt then type:
cd Downloads\fastboot
adb push ROM.zip /sdcard/.
Replace ROM.zip with the ROM filename you copied earlier to fastboot folder.
This will copy your ROM to the internal storage so once it’s done, just use TWRP to install ROM.
To backup the ROM after installing:
----------------------------------------------
Backing up a ROM will backup everything on your phone including your settings, apps, app data, kernel, and the whole ROM. It will not backup your personal photos or videos stored in your internal storage but it will backup everything else.
This can be handy later down the road your HTC DESIRE 820 malfunctions. For example, if your phone stops booting for some reason (due to bad custom ROMs or apps), you can easily restore your phone to a previous state by restoring your ROM.
If you “still” haven’t made a backup ROM, I highly suggest you to follow this tutorial to make a backup ROM.
Step 1. Make sure “Fast boot” is checked OFF under Settings->Power.
Step 2. Power off your HTC DESIRE 820. Then hold down Volume Down and Power buttons together for about 3 seconds to enter bootloader menu.
Step 3. Choose “RECOVERY” using Volume Down key then hit Power button to enter TWRP recovery.
Step 4. Once inside TWRP recovery, you can easily choose “Backup” or “Restore” to backup or restore ROM, it’s that simple.
Step 5. If you are backing up ROM, make sure “Boot”, “Data”, and “System” are checked and swipe to start backup. Backup process should take about 5-10 minutes or longer depending on how many apps you’ve installed on your phone.
Backups are usually large between 1-5GB depending on how many apps you’ve installed. They are stored in your internal storage under TWRP/BACKUP directory. You can easily save space by moving these files to your computer and move them back to the same location when you need to restore your phone.
Step 6. When restoring ROM, you will find your backups organized by folders. You can name your folders while backing up otherwise they will be stored with the timestamp of the time you backed them up.
Download ROM file from HTC deire 820 android development forum they given your orginal ROM for installing.
About warranty
I want to know that if if i root my phone then i ll loose my phone warranty. . . .
because we work on softwere not in hardware. . .
so i jast want to knw so canyou plz tell me?????
jainam0932 said:
I want to know that if if i root my phone then i ll loose my phone warranty. . . .
because we work on softwere not in hardware. . .
so i jast want to knw so canyou plz tell me?????
Click to expand...
Click to collapse
It just the general rule of all companies to void warranty if the user root its device and same goes for HTC also, atleast in my country (India).
Do you have any rom for desire 820u dual sim?
Penish said:
To install a custom ROM on your HTC DESIRE 820, here’s a brief tutorial guide:
---------------------------------------------------------------------------------------
Step 1. You will need to first download the custom ROM you want to install. These ROMs come in a “zip” file format (so DO NOT UNZIP them) and usually 1 large file around 200MB to 1GB. Some ROMs may require you to install multiple files.
You can download these zip files straight to your phone or use your computer to download (as downloading on your computer may be more stable/effective/faster) then copy over to your phone’s storage.
Step 1. Once ROM zip files are downloaded/copied to your phone, get into TWRP RECOVERY MODE BY PRESSING volume down+power button together for about 3 seconds to enter bootloader menu.Choose “RECOVERY” using Volume Down key then hit Power button to enter TWRP recovery.
Before installing a ROM, you will want to do a “data wipe/factory reset” by hitting the “Wipe” button. This will erase all your settings, apps, and app data (but not personal photos/videos on your storage). I highly recommend using Titanium Backup app to backup your apps, SMS Backup & Restore app to backup your SMS text messages, and use an online service such as GMail or Facebook to backup your contacts. Most online service providers like GMail or Facebook offer built-in ability to auto backup/restore your contacts.
*Optional – You can try installing a custom ROM without wipe, but this is considered risky and dangerous as sometimes the ROM may not boot. You can make a backup ROM if you are going to try this route so you can restore easily. Also, this can keep your settings, apps, and app data without restoring them.
Step 2. Once wipe is done (or you have decided not to wipe but have backup ROM), simply use the “Install” option in main menu and find the ROM zip file you need to install. If there’s multiple files, simple install them one by one until you are done.
Step 3. Once done installing custom ROM, reboot and cross your fingers your phone will boot. If your phone boots within 5-10 minutes you should be good to go. If not, you can try re-installing ROM, especially if you did not wipe, try re-installing after wiping.
To copy ROM file into SD card:
-------------------------------------
Boot TWRP, then select “Mount”, then select only “Data” and connect your HTC DESIRE 820 to your computer with usb debugging enabled.
Then download fastboot.zip and unzip, you probably will find a new directory called fastboot under your Downloads directory.
Copy the ROM you want to install to the fastboot folder.
Open a command prompt then type:
cd Downloads\fastboot
adb push ROM.zip /sdcard/.
Replace ROM.zip with the ROM filename you copied earlier to fastboot folder.
This will copy your ROM to the internal storage so once it’s done, just use TWRP to install ROM.
To backup the ROM after installing:
----------------------------------------------
Backing up a ROM will backup everything on your phone including your settings, apps, app data, kernel, and the whole ROM. It will not backup your personal photos or videos stored in your internal storage but it will backup everything else.
This can be handy later down the road your HTC DESIRE 820 malfunctions. For example, if your phone stops booting for some reason (due to bad custom ROMs or apps), you can easily restore your phone to a previous state by restoring your ROM.
If you “still” haven’t made a backup ROM, I highly suggest you to follow this tutorial to make a backup ROM.
Step 1. Make sure “Fast boot” is checked OFF under Settings->Power.
Step 2. Power off your HTC DESIRE 820. Then hold down Volume Down and Power buttons together for about 3 seconds to enter bootloader menu.
Step 3. Choose “RECOVERY” using Volume Down key then hit Power button to enter TWRP recovery.
Step 4. Once inside TWRP recovery, you can easily choose “Backup” or “Restore” to backup or restore ROM, it’s that simple.
Step 5. If you are backing up ROM, make sure “Boot”, “Data”, and “System” are checked and swipe to start backup. Backup process should take about 5-10 minutes or longer depending on how many apps you’ve installed on your phone.
Backups are usually large between 1-5GB depending on how many apps you’ve installed. They are stored in your internal storage under TWRP/BACKUP directory. You can easily save space by moving these files to your computer and move them back to the same location when you need to restore your phone.
Step 6. When restoring ROM, you will find your backups organized by folders. You can name your folders while backing up otherwise they will be stored with the timestamp of the time you backed them up.
Download ROM file from HTC deire 820 android development forum they given your orginal ROM for installing.
Click to expand...
Click to collapse
##############################
Do you have any rom for desire 820u dual sim?
hi,
why my htc toolkit not found my phone? drivers are installed and i find my phone on windows 8 but toolkit not found it...thamks a lot
Desire 820s
Anyone managed to root the 820S? i cant seem to find the fastboot option in the settings or in recovery mode..
I dont find any custom ROM's available for the device currently its too early and we dont have any Dev trying to improve the STOCK ROM also... Not sure how your tutorial will help
Thanks for your Root Easily Tutorial i have successfully routed my phone
custom rom
I found a rom while searching in google however not able to acess it.anybody wanna try.here is the link
http://www.upgrade-lollipop.org/mp3-0/htc-desire-820-6636.html
I actually rooted booloper unlocked but cannot enter into the recovery anymore. Gives error
How to UN-Root the Device ??
hapticc said:
HTC Desire 820 can be easily rooted with few simple steps.
I am not responsible for your warranty loss or device not functioning properly.
Steps
1] Unlock Bootloader if you don't know how to do it visit this page
2] Download TWRP Recovery from here
3] Download Super Su from Here and transfer it to your device
4] Reboot to Fastbboot mode using Volume Down and Power Key
5] Connect Phone to PC
6] Extract files from Recovery.zip in one location and simply click on flash-recovery.bat
7] After Step 6 is finished Using volume keys navigate and select recovery option and go to recovery
8] After rebooting in recovery select Install zip > and selecting supersu.zip transferred in first step to obtain root access.
9] Reboot
If you would like to send me a bear my Paypal donation link
Source
Click to expand...
Click to collapse
Unable to download twrp recovery.zip please help me..
Be carefull of links which state there is 5.0 available for our device
drsobhan -
Please refrain from using or downloading ROM or any other files from other websites. The website you listed did not look genuine.
- HTC should provide us the with an update and source code will be available
- Cynaogen or other third party would provide us with an update
- XDA senior developers can provide link
One CM launches the rom there could be other providers like MIUI etc... but till the time please refrain from such websites
Refer to the following side for all builds supported by CM
http://wiki.cyanogenmod.org/w/Unofficial_Ports
Nauju said:
Unable to download twrp recovery.zip please help me..
Click to expand...
Click to collapse
Wish I could but I am outstation in remote area with 2G connectivity... will upload somewhere else after returning in 3-4 days
Guys, do you have original stock recovery? Can someone post a dump of their stock recovery so I can flash it into my phone with TWRP? Cant update with OTA due to TWRP constantly booting after making an attempt to update my firmware.
---------- Post added at 06:59 PM ---------- Previous post was at 06:57 PM ----------
A simple stock rom would also help
can anyone give me following files from stock!!
just pull them from stock.
adb pull system/build.prop
Click to expand...
Click to collapse
and
system dump
adb pull system/lib
Click to expand...
Click to collapse
adb pull system/vendor
Click to expand...
Click to collapse
i know this is off topic but i need it.
thank you
BTW some vietnamees guys make custom rom for this device
http://translate.google.co.in/trans...k-4-4-4-sense-6-0-tieng-viet.347/&prev=search
looks valid link of mediafire
htc 820q root
I'm following this instruction and could not root my device,
My HTC 820q is unlock but when I want read SuperU.zip from Sd card at fastboot>recovery my mobile goes to restart and procedures been uncompleted.
Please help me, is this instruction only for HTC 820?
How we can root HTC 820q?