Nexus One to CyanogenMod How Do You Do It - Android Software/Hacking General [Developers Only]

So i read a story on Engadget that would allow the Nexus One to record videos in 720p. I wanted to do that but i was told that i had to modify my phone with some program called cyanogenmod. I was linked to this guide:
edit: well i'm not allowed to post links on this forum, that sucks. I'll just post a snippit of the webpage.
Prerequisites
In order to flash a fully stock Nexus One with any ROM, you must first unlock the bootloader of your Nexus One and flash a Recovery Image. If your Nexus One's bootloader is already unlocked, and you already have a Recovery Image installed, skip this section.
WARNING: UNLOCKING THE NEXUS ONE'S BOOTLOADER WILL VOID YOUR WARRANTY!
You will need the fastboot shell on your computer to use the commands to unlock the bootloader. Follow the Install the Latest Android sdk guide, to get the ADB and Fastboot shell on your computer.
Before continuing, you should first copy all the necessary files to your SD Card. Doing so will make the entire process much easier and faster. Please do the following to copy the files from your computer to SD card root if your Mass storage is not mounted or you get error when trying to access the mass storage drive.
Connect Nexus One to Computer
Make sure the computer picks up the newly connected device and shows a new mass storage drive
On the phone, pull down the top notification slider, you should see an item called "USB Connected"
Click on the "USB Connected" and click Mount. This will make the phone SD Card available for use with computer
Copy the required files
Files you will need:
Download the latest release of CyanogenMod for the Nexus One and the Google Addon from here Mirror1 Mirror2 Mirror3 Mirror4 Mirror5 Mirror6 Copy these two to your SD Card
Download the latest release of Amon_Ra's Nexus One Recovery Image from - Leave the recovery.img on your pc
Rename Amon_Ra's recovery file "Recovery.img", and make sure you have copied the above two zip files to the root of your SD Card.
Power off your phone.
Boot into Bootloader Mode.
Hold down the trackball, and press the power button. Do not let go of the trackball until the phone boots into bootloader mode (You will see a white screen with three skating bugdroids).
Unlock the Bootloader.
Make sure your phone is connected to your PC.
On your PC, navigate to the AndroidSDK\tools folder.
Hold down the Shift key, Right click on an empty space inside the folder, and press "Open command window here". (note: on Windows XP, this might not work. Instead, you may need to open the command window by going to Start - Run - Type "cmd" - press Enter, then type "cd c:\AndroidSDK\tools" (without the quotes), press Enter)
Inside the command prompt that opens up, type in the following command:
fastboot oem unlock
On your phone, a prompt will open up, asking you if you are sure you want to unlock your bootloader, and again warning you that doing so will void your warranty. If you agree to these terms, press Volume Up to select Yes, and then press the Power button to confirm.
Your phone will restart. Let the phone boot into Android. Switch the phone back to usb debugging (unlocking bootloader causes a wipe, reseting settings), and then Power Off the phone.
Once again, boot into bootloader mode.
Flash Recovery.
Note: The Recovery.img should NOT be on the SD Card, it should be in the current working directory.
On the command prompt you opened earlier, type in the following command:
fastboot flash recovery Recovery.img
The recovery image should now be installed on your Nexus One.
Click to expand...
Click to collapse
But i'm lost. I downloaded all the necessary files so far but i'm confused up to this point:
Boot into Bootloader Mode.
Hold down the trackball, and press the power button. Do not let go of the trackball until the phone boots into bootloader mode (You will see a white screen with three skating bugdroids).
Unlock the Bootloader.
Make sure your phone is connected to your PC.
On your PC, navigate to the AndroidSDK\tools folder.
Hold down the Shift key, Right click on an empty space inside the folder, and press "Open command window here". (note: on Windows XP, this might not work. Instead, you may need to open the command window by going to Start - Run - Type "cmd" - press Enter, then type "cd c:\AndroidSDK\tools" (without the quotes), press Enter)
Inside the command prompt that opens up, type in the following command:
Click to expand...
Click to collapse
I'm on a Mac so i dunno if that makes a difference to how i approach this. but when i power my phone down and boot it into bootloader mode, i can't access the phone on the computer because the phone isn't mounted, its at the white screen. how can i access this androidSDK/tools folder?

Related

fastboot questions

I come from the world of Windows Mobile and have just recetly delved into hacking my G1. While I've had no problems installing jesusfreke's images or themes...I'm struggling with how to get fastboot to work.
Perhaps someone can give me some guidance. Anyone willing to give me some simple step by step instructions. I've searched for this and i think I have everything i need, but I'm unable to get to a point where I can type in commands. when i try to run adb, it open very briefly and closes.
What am i doing wrong?
Thanks,
Jason
Go to start -> run -> type in CMD
Navigate to the folder where adb is located.
Then type in adb devices to see if it finds ur device.
If not then make sure you have it plugged in and USB debugging is turned on in the phones settings under Development.
Also download the usb drivers/or the whole SDK if you havent yet.
nosaj13 said:
when i try to run adb, it open very briefly and closes.
Click to expand...
Click to collapse
If you try to execute a text mode executable in windows, it will close the terminal window as soon as the program finishes. If you run adb without any arguments, it will print the arguments out terminate. I could say the solution is to open run as and type cmd, but the true answer is to install Linux
nosaj13 said:
I come from the world of Windows Mobile and have just recetly delved into hacking my G1. While I've had no problems installing jesusfreke's images or themes...I'm struggling with how to get fastboot to work.
Perhaps someone can give me some guidance. Anyone willing to give me some simple step by step instructions. I've searched for this and i think I have everything i need, but I'm unable to get to a point where I can type in commands. when i try to run adb, it open very briefly and closes.
What am i doing wrong?
Thanks,
Jason
Click to expand...
Click to collapse
1. Download this
2. Extract the contents of the fastboot directory to the root of your C drive.
3. Go Start -> Run -> type 'cmd' (no quotes) and hit enter
4. Type 'c:' (no quotes) and hit enter
5. With your phone plugged in, you should be able to type 'adb devices' and it should return your phones serial number, which is usually in HTXXXXXXXX format. If it does not, make sure debugging is enabled on your phone and you have the adb drivers installed.
6. type 'adb shell reboot bootloader' and hit enter. The screen on your phone will go blank for a second and then you should be in the SPL with the skating androids. Make sure you see "FASTBOOT" at the bottom of the screen.
7. type 'fastboot devices' and hit enter. If you see your phone's serial number again, you have successfully established a fastboot connection with the phone and can run commands such as:
fastboot erase <partition> (erases the given partition)
fastboot flash <partition> <file.img> (overwrites and flashes given partition with given file. This is how one would restore from a nandroid backup)
fastboot reboot (reboots the device into user mode)
Hope that helps. Have fun
when i type adp devices i get an error that says "adp is not recognized as an internal or external command, operable program, or batch file"
what am i doing wrong?
nosaj13 said:
when i type adp devices i get an error that says "adp is not recognized as an internal or external command, operable program, or batch file"
what am i doing wrong?
Click to expand...
Click to collapse
First, the command is adb devices not adp. Second, make sure you copied the contents of the fastboot directory to the C drive. Third, make sure you that when you type 'c:' into the command line, the command prompt actually changes to "C:\>"
Datruesurfer said:
1. Download this
2. Extract the contents of the fastboot directory to the root of your C drive.
3. Go Start -> Run -> type 'cmd' (no quotes) and hit enter
4. Type 'c:' (no quotes) and hit enter
5. With your phone plugged in, you should be able to type 'adb devices' and it should return your phones serial number, which is usually in HTXXXXXXXX format. If it does not, make sure debugging is enabled on your phone and you have the adb drivers installed.
6. type 'adb shell reboot bootloader' and hit enter. The screen on your phone will go blank for a second and then you should be in the SPL with the skating androids. Make sure you see "FASTBOOT" at the bottom of the screen.
7. type 'fastboot devices' and hit enter. If you see your phone's serial number again, you have successfully established a fastboot connection with the phone and can run commands such as:
fastboot erase <partition> (erases the given partition)
fastboot flash <partition> <file.img> (overwrites and flashes given partition with given file. This is how one would restore from a nandroid backup)
fastboot reboot (reboots the device into user mode)
Hope that helps. Have fun
Click to expand...
Click to collapse
i did all the above steps with no problem at all till i got to number 7. when i typed in fastboot devices it just goes to the next prompt without my phone showing up.
If i plug in my g1 in normal mode i see it at the top under adb and in the usb section as a mass storage device.
In bootloader mode with fastboot on the screen it doesnt show up anywhere in the device manager.
Also when i follow the above quoted steps and type in the "adb shell reboot bootloader" and hit enter i hear the ding you hear when you unplug a usb device, and all instances of the phone then leave the device manager.
i have also uninstalled and reinstalled all drivers for the phone and all drivers that have to do with the usb ports on my win xp machine.
Anyone have any ideas i could try?
I think you need this program. I put it on my desktop, then just ran cmd, directed to it, and type in fastboot.
I7oobie said:
I think you need this program. I put it on my desktop, then just ran cmd, directed to it, and type in fastboot.
Click to expand...
Click to collapse
thats not it. i have that in the sys 32 folder and also on desktop
Fastboot mode not recognized
I'm having the same problem. I've installed all the correct drivers and in normal mode, I see the Android Composite Device (or something similar) in Device Manager.
As soon as I go into SPL mode (the 3 skateboarding androids screen), the device does not show up.
Anyone have any ideas? Thanks!
Datruesurfer said:
First, the command is adb devices not adp. Second, make sure you copied the contents of the fastboot directory to the C drive. Third, make sure you that when you type 'c:' into the command line, the command prompt actually changes to "C:\>"
Click to expand...
Click to collapse
When I'm in the Command Prompt and I type C:, the directory still reads C:\Documents and Setting\Reids. It won't change to only C:
Hi,
You have to do this to get back to c:
cd\
press enter
That should do it.
bestwebs said:
Hi,
You have to do this to get back to c:
cd\
press enter
That should do it.
Click to expand...
Click to collapse
Ok, thanks a lot. Got it working now.
I need help trying to flash my cupcake images that I have stored in my fastboot folder. I attached the pictures below. I will accept any help I can get.
EDIT: Doh, I thought I was in another topic.
My bad.
Are adb & adb's dll files located inside the same folder as fastboot??? They are suppose too be.
Is your usb cord directly plugged into your system or thru a hub??
Your phone, i bet is under usb mass....to check, expand your device manager window.
Expand your USB-Mass storage list.
With your phone in fastboot mode, click on the camera key and the back key. With enough time inbetween for your system to recognize that there might be a device hooked up.
Notice any change in the list??
Anyone wanting good instructions
http://androidcommunity.com/forums/f28/nandroid-v2-0-full-nand-backup-and-restore-tool-9336/
Read post 2 and go!
this seems like the most easiest thing to do but i still cant get it to work
i have downloaded everything needed and see ADB Interface on my device manager with a yellow mark on it when i try to update the dirver it fails and i got the drivers and point them to it but seems not to work
my phone is on the fastboot screen with the android skateboards guys
i dont know whats going on if someone know what am also doing wrong can tell me please...
This is what i get

Bricked after JB update

I don't know if i can call it bricked but its stuck on the google logo. I can press volume up and power and get into fastboot (i believe thats that its called).
Is there anything i can do or send it to Samsung?
I have no problem with rooting it if thats my only option.
Edit: when i try to go to recovery from fast boot i get the animation you get when its updating. After about 15 seconds it shows the android on its back with an exclamation.
key3thermal said:
I don't know if i can call it bricked but its stuck on the google logo. I can press volume up and power and get into fastboot (i believe thats that its called).
Is there anything i can do or send it to Samsung?
I have no problem with rooting it if thats my only option.
Click to expand...
Click to collapse
Ok, you'll need a Windows computer to fix this. Linux should work too but if you're using Linux I guess you could figure out what would be the instructions for Linux yourself. Mac would work too but I don't know how.
Download and install the Android SDK on your computer from http://developer.android.com/sdk/index.html
Open the SDK Manager (there should be a shortcut in your start menu) and install "Android SDK Tools" and "Android SDK Platform-tools" and "Google USB Driver" (it's in Extra).
Turn your phone off, take the battery out, look at the bottom of the phone and write down the model number.
Now go to https://developers.google.com/android/nexus/images and download the factory image for your model for version 4.0.4.
You'll need something like 7-Zip (http://www.7-zip.org/) to open it.
Copy image-so....zip, radio-crespo...img and bootloader-crespo...img from the factory image to the platform-tools directory (on most computers it will be C:\Program Files (x86)\Android\android-sdk\platform-tools and you'll need Administrator rights).
Now open the platform-tools directory from the Android SDK and right click on an empty space while holding the SHIFT button and select "Open command prompt here".
Put the battery back in your phone and press Power while holding the Volume-Up button so it will boot into fastboot mode. Then connect it to your pc.
If Windows starts complaining about drivers then point it your SDK installation directory (include subfolders) or use 7-Zip to unpack http://www.mediafire.com/?5a7gou9droidi53 and point Windows to the directory where you unpacked it. More info on http://www.sevenforums.com/tutorials/97061-driver-install-device-manager.html
When you type "fastboot devices" and press Enter in the command prompt you opened before it should list one device (being your phone).
If you haven't unlocked your phone before type "fastboot oem unlock" and press Enter. Follow the instructions on the screen on your phone to complete the unlock.
Next type "fastboot flash bootloader bootloader-crespo...img" (you can press TAB to auto-complete) and press Enter. (THIS IS THE MOST IMPORTANT STEP, IF THIS GOES WRONG YOUR PHONE IS SCREWED. Don't continue if another step didn't succeed. If this works, then you can do anything with it.)
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot flash radio radio-crespo...img" (you can press TAB to auto-complete) and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot -w update image-....zip" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next download http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.0.7-crespo.img and also put it in the platform-tools directory.
Then type "fastboot flash recovery recovery-clockwork-6.0.0.7-crespo.img" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Now use the volume keys on your phone to navigate to the word Recovery and press the Power button to boot into recovery.
You're now in CWM Recovery, use the volume keys and the power button to go to Mounts & Storage > Mount USB Storage (you might have to scroll down). Now it will come up on your pc and you can transfer the update file for Jelly Bean to your phone. You can find it here: http://forum.xda-developers.com/showpost.php?p=27965168&postcount=1 (use the one for your model for IMM76D).
Unmount the usb storage, go back to the main menu and go to Install Zip from sdcard > Choose zip from sdcard and open the update file you just transferred to your phone.
You can now go back to the main menu and choose "reboot system now". It will ask you if you want to remove the auto recovery installation, do that.
That's all, you now have a clean and working Jelly Bean installation.
Someone else wrote down the same instructions if mine are not clear enough: http://forum.xda-developers.com/showthread.php?t=1785672
SamuelDebruyn said:
Ok, you'll need a Windows computer to fix this. Linux should work too but if you're using Linux I guess you could figure out what would be the instructions for Linux yourself. Mac would work too but I don't know how.
Download and install the Android SDK on your computer from http://developer.android.com/sdk/index.html
Open the SDK Manager (there should be a shortcut in your start menu) and install "Android SDK Tools" and "Android SDK Platform-tools" and "Google USB Driver" (it's in Extra).
Turn your phone off, take the battery out, look at the bottom of the phone and write down the model number.
Now go to https://developers.google.com/android/nexus/images and download the factory image for your model for version 4.0.4.
You'll need something like 7-Zip (http://www.7-zip.org/) to open it.
Copy image-so....zip, radio-crespo...img and bootloader-crespo...img from the factory image to the platform-tools directory (on most computers it will be C:\Program Files (x86)\Android\android-sdk\platform-tools and you'll need Administrator rights).
Now open the platform-tools directory from the Android SDK and right click on an empty space while holding the SHIFT button and select "Open command prompt here".
Put the battery back in your phone and press Power while holding the Volume-Up button so it will boot into fastboot mode. Then connect it to your pc.
If Windows starts complaining about drivers then point it your SDK installation directory (include subfolders) or use 7-Zip to unpack http://www.mediafire.com/?5a7gou9droidi53 and point Windows to the directory where you unpacked it. More info on http://www.sevenforums.com/tutorials/97061-driver-install-device-manager.html
When you type "fastboot devices" and press Enter in the command prompt you opened before it should list one device (being your phone).
If you haven't unlocked your phone before type "fastboot oem unlock" and press Enter. Follow the instructions on the screen on your phone to complete the unlock.
Next type "fastboot flash bootloader bootloader-crespo...img" (you can press TAB to auto-complete) and press Enter. (THIS IS THE MOST IMPORTANT STEP, IF THIS GOES WRONG YOUR PHONE IS SCREWED. Don't continue if another step didn't succeed. If this works, then you can do anything with it.)
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot flash radio radio-crespo...img" (you can press TAB to auto-complete) and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot -w update image-....zip" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next download http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.0.7-crespo.img and also put it in the platform-tools directory.
Then type "fastboot flash recovery recovery-clockwork-6.0.0.7-crespo.img" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Now use the volume keys on your phone to navigate to the word Recovery and press the Power button to boot into recovery.
You're now in CWM Recovery, use the volume keys and the power button to go to Mounts & Storage > Mount USB Storage (you might have to scroll down). Now it will come up on your pc and you can transfer the update file for Jelly Bean to your phone. You can find it here: http://forum.xda-developers.com/showpost.php?p=27965168&postcount=1 (use the one for your model for IMM76D).
Unmount the usb storage, go back to the main menu and go to Install Zip from sdcard > Choose zip from sdcard and open the update file you just transferred to your phone.
You can now go back to the main menu and choose "reboot system now". It will ask you if you want to remove the auto recovery installation, do that.
That's all, you now have a clean and working Jelly Bean installation.
Someone else wrote down the same instructions if mine are not clear enough: http://forum.xda-developers.com/showthread.php?t=1785672
Click to expand...
Click to collapse
when i try to unlock bootloader i get an error.
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem unlock
...
FAILED (remote: Erase Fail)
finished. total time: 5.419s
key3thermal said:
when i try to unlock bootloader i get an error.
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem unlock
...
FAILED (remote: Erase Fail)
finished. total time: 5.419s
Click to expand...
Click to collapse
And did the unlock procedure show up on your phone?
Also, does fastboot say it's unlocked now? (example: http://miui-germany.de/wp/wp-content/uploads/2011/09/nexus-s-bootloader.png LOCK STATE - UNLOCKED)
Don't worry my friend
Don't worry my friend
here is the solution.
1.first install nexus s usb drivers.
2.download cwm recovery for your nexus s
3.download fastboot
connect your phone in fastbootmode to pc.
go to this website
http://www.clockworkmod.com/rommanager
open command prompt from the fastboot folder by pressing shift+Mouse right click
type following commands
fastboot oem unlock
fastboot flash recovery you downloaded.img
remember u have to put recovery in the same folder as fastboot.
press thanks if this helps...
---------- Post added at 11:35 PM ---------- Previous post was at 11:31 PM ----------
once in recovery go to mounts and storage
mount usb storage to pc
copy your zip file
flash it via cwm.
nexussgeek said:
Don't worry my friend
here is the solution.
1.first install nexus s usb drivers.
2.download cwm recovery for your nexus s
3.download fastboot
connect your phone in fastbootmode to pc.
go to this website
http://www.clockworkmod.com/rommanager
open command prompt from the fastboot folder by pressing shift+Mouse right click
type following commands
fastboot oem unlock
fastboot flash recovery you downloaded.img
remember u have to put recovery in the same folder as fastboot.
press thanks if this helps...
---------- Post added at 11:35 PM ---------- Previous post was at 11:31 PM ----------
once in recovery go to mounts and storage
mount usb storage to pc
copy your zip file
flash it via cwm.
Click to expand...
Click to collapse
Did you even read his problem and what he has already tried?
Check to see if fastboot is seeing your device. Enter the command fastboot devices. It should give you your serial number in the command prompt.
Had the same problem at first.
I just wiped and reflashed and worked like a charm
Sent from my Nexus S JellyBeanz using xda app-developers app
maxx1601 said:
Had the same problem at first.
I just wiped and reflashed and worked like a charm
Sent from my Nexus S JellyBeanz using xda app-developers app
Click to expand...
Click to collapse
how do i wipe?
Actually i didnt even reflash..
I just wiped then rebooted the phone
Sent from my Nexus S using xda app-developers app
SamuelDebruyn said:
And did the unlock procedure show up on your phone?
Also, does fastboot say it's unlocked now? (example: http://miui-germany.de/wp/wp-content/uploads/2011/09/nexus-s-bootloader.png LOCK STATE - UNLOCKED)
Click to expand...
Click to collapse
yea it showed up on the phone. i did volume up to yes and then pressed power. It reboots. And gives error on CMD.
Also lockstate is still locked.
Try using this tool: http://www.redmondpie.com/unlock-bo...d-nexus-7-with-all-in-one-nexus-root-toolkit/
I was unrooted and everything after I flashed a Jelly Bean rom and it seemed like nothin i did could get me CWM back so I used that tool and it pretty much did it automatically. It has an arsenal of commands that could work for you hopefully, good luck
key3thermal said:
yea it showed up on the phone. i did volume up to yes and then pressed power. It reboots. And gives error on CMD.
Also lockstate is still locked.
Click to expand...
Click to collapse
That means we can't use fastboot because the bootloader is still locked. And we can't use adb because we can't boot into Android. I guess that the partition table is f*cked up.
It's possible that you can use ODIN and download mode to fix it but I'm not sure. Because the Nexus has fastboot I barely use ODIN, I hope somebody who's familiar with ODIN and with what it does reads this and helps you.
Be careful with ODIN though, now I know what your problem is I would consider going to a Samsung service center. You didn't root or unlock it so they can't blame you for doing something wrong or voiding the warranty. Just tell them this happened after the OTA update and don't tell them you did it manually.
---------- Post added at 11:20 PM ---------- Previous post was at 11:13 PM ----------
The0Code said:
Try using this tool: http://www.redmondpie.com/unlock-bo...d-nexus-7-with-all-in-one-nexus-root-toolkit/
I was unrooted and everything after I flashed a Jelly Bean rom and it seemed like nothin i did could get me CWM back so I used that tool and it pretty much did it automatically. It has an arsenal of commands that could work for you hopefully, good luck
Click to expand...
Click to collapse
It does the same as the guide above, only sends fastboot commands so it wouldn't help.
albundy2010 said:
Check to see if fastboot is seeing your device. Enter the command fastboot devices. It should give you your serial number in the command prompt.
Click to expand...
Click to collapse
Fastboot succesfully sent the command so that's not the problem.
maxx1601 said:
Actually i didnt even reflash..
I just wiped then rebooted the phone
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
I think wiping wouldn't work because fastboot on the phone failed to wipe the data partition...
SamuelDebruyn said:
That means we can't use fastboot because the bootloader is still locked. And we can't use adb because we can't boot into Android. I guess that the partition table is f*cked up.
It's possible that you can use ODIN and download mode to fix it but I'm not sure. Because the Nexus has fastboot I barely use ODIN, I hope somebody who's familiar with ODIN and with what it does reads this and helps you.
Be careful with ODIN though, now I know what your problem is I would consider going to a Samsung service center. You didn't root or unlock it so they can't blame you for doing something wrong or voiding the warranty. Just tell them this happened after the OTA update and don't tell them you did it manually.
Click to expand...
Click to collapse
I don't think we have download mode do we? If we do and he can find a pit file he will be golden.
Sent from my Nexus S using xda premium
xsteven77x said:
I don't think we have download mode do we? If we do and he can find a pit file he will be golden.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Yes we do, I was surprised when I discovered that too
Anyway, here's more info and a possible fix: http://forum.xda-developers.com/showthread.php?t=1396056
SamuelDebruyn said:
That means we can't use fastboot because the bootloader is still locked. And we can't use adb because we can't boot into Android. I guess that the partition table is f*cked up.
It's possible that you can use ODIN and download mode to fix it but I'm not sure. Because the Nexus has fastboot I barely use ODIN, I hope somebody who's familiar with ODIN and with what it does reads this and helps you.
Be careful with ODIN though, now I know what your problem is I would consider going to a Samsung service center. You didn't root or unlock it so they can't blame you for doing something wrong or voiding the warranty. Just tell them this happened after the OTA update and don't tell them you did it manually.
Click to expand...
Click to collapse
It did happen after the OTA update. I did not do anything manually. It showed up yesterday saying theres an update available.
key3thermal said:
It did happen after the OTA update. I did not do anything manually. It showed up yesterday saying theres an update available.
Click to expand...
Click to collapse
Ok, the problem/solution doesn't change. If you would have done it manually you would have flashed it in recovery but the automatic update process does the same (it instructs the recovery to auto flash it on reboot).
SamuelDebruyn said:
Ok, you'll need a Windows computer to fix this. Linux should work too but if you're using Linux I guess you could figure out what would be the instructions for Linux yourself. Mac would work too but I don't know how.
You're now in CWM Recovery, use the volume keys and the power button to go to Mounts & Storage > Mount USB Storage (you might have to scroll down). Now it will come up on your pc and you can transfer the update file for Jelly Bean to your phone. You can find it here: http://forum.xda-developers.com/showpost.php?p=27965168&postcount=1 (use the one for your model for IMM76D).
Click to expand...
Click to collapse
Okay i got to the step where i would mount USB storage from CWM.
But when i choose it i get the message "E: Unable to write to ums lunfile )No such file or directory)"
You think there might be something wrong with the USB storage? Hardware issue?
SamuelDebruyn said:
Ok, you'll need a Windows computer to fix this. Linux should work too but if you're using Linux I guess you could figure out what would be the instructions for Linux yourself. Mac would work too but I don't know how.
Download and install the Android SDK on your computer from http://developer.android.com/sdk/index.html
Open the SDK Manager (there should be a shortcut in your start menu) and install "Android SDK Tools" and "Android SDK Platform-tools" and "Google USB Driver" (it's in Extra).
Turn your phone off, take the battery out, look at the bottom of the phone and write down the model number.
Now go to https://developers.google.com/android/nexus/images and download the factory image for your model for version 4.0.4.
You'll need something like 7-Zip (http://www.7-zip.org/) to open it.
Copy image-so....zip, radio-crespo...img and bootloader-crespo...img from the factory image to the platform-tools directory (on most computers it will be C:\Program Files (x86)\Android\android-sdk\platform-tools and you'll need Administrator rights).
Now open the platform-tools directory from the Android SDK and right click on an empty space while holding the SHIFT button and select "Open command prompt here".
Put the battery back in your phone and press Power while holding the Volume-Up button so it will boot into fastboot mode. Then connect it to your pc.
If Windows starts complaining about drivers then point it your SDK installation directory (include subfolders) or use 7-Zip to unpack http://www.mediafire.com/?5a7gou9droidi53 and point Windows to the directory where you unpacked it. More info on http://www.sevenforums.com/tutorials/97061-driver-install-device-manager.html
When you type "fastboot devices" and press Enter in the command prompt you opened before it should list one device (being your phone).
If you haven't unlocked your phone before type "fastboot oem unlock" and press Enter. Follow the instructions on the screen on your phone to complete the unlock.
Next type "fastboot flash bootloader bootloader-crespo...img" (you can press TAB to auto-complete) and press Enter. (THIS IS THE MOST IMPORTANT STEP, IF THIS GOES WRONG YOUR PHONE IS SCREWED. Don't continue if another step didn't succeed. If this works, then you can do anything with it.)
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot flash radio radio-crespo...img" (you can press TAB to auto-complete) and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot -w update image-....zip" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next download http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.0.7-crespo.img and also put it in the platform-tools directory.
Then type "fastboot flash recovery recovery-clockwork-6.0.0.7-crespo.img" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Now use the volume keys on your phone to navigate to the word Recovery and press the Power button to boot into recovery.
You're now in CWM Recovery, use the volume keys and the power button to go to Mounts & Storage > Mount USB Storage (you might have to scroll down). Now it will come up on your pc and you can transfer the update file for Jelly Bean to your phone. You can find it here: http://forum.xda-developers.com/showpost.php?p=27965168&postcount=1 (use the one for your model for IMM76D).
Unmount the usb storage, go back to the main menu and go to Install Zip from sdcard > Choose zip from sdcard and open the update file you just transferred to your phone.
You can now go back to the main menu and choose "reboot system now". It will ask you if you want to remove the auto recovery installation, do that.
That's all, you now have a clean and working Jelly Bean installation.
Someone else wrote down the same instructions if mine are not clear enough: http://forum.xda-developers.com/showthread.php?t=1785672
Click to expand...
Click to collapse
I have the same problem with my Samsung Nexus I9020T but it automatically come even i don't update the phone. my phone is original OS Loaded by Company
I can See Lock Status - UNLOCKED in Fastboot Mode.
When I turned on the phone The same screen will appears.
I Reached till Step 20 Successfully but when i try to Enter The "Recovery" Mode, When i try to do Step 21 it'll Stuck on Google Logo On Middle and a "UnLock icon" on Bottom.
Please Help me ASAP.

[Q] weird problem on Nexus S - please assist

This is going to be pretty long and have had the problem for months so please bear with me, read and see if you could assist.
Borrowed a friends Nexus S a while back. Used it for a few days, turned it on one day and it stays on the black google screen with the open padlock at the bottom
I am able to enter Fastboot mode is shown in image 2; lock state is unlocked.
I followed the instructions as in post 2 on the following thread
HTML:
http://forum.xda-developers.com/showthread.php?t=1787169
and as copied below but when i got to the part where i needed to mount my sdcard i get the error " unable to write to ums lunfile (no such file)".
Originally Posted by SamuelDebruyn View Post
Ok, you'll need a Windows computer to fix this. Linux should work too but if you're using Linux I guess you could figure out what would be the instructions for Linux yourself. Mac would work too but I don't know how.
Download and install the Android SDK on your computer from http://developer.android.com/sdk/index.html
Open the SDK Manager (there should be a shortcut in your start menu) and install "Android SDK Tools" and "Android SDK Platform-tools" and "Google USB Driver" (it's in Extra).
Turn your phone off, take the battery out, look at the bottom of the phone and write down the model number.
Now go to https://developers.google.com/android/nexus/images and download the factory image for your model for version 4.0.4.
You'll need something like 7-Zip (http://www.7-zip.org/) to open it.
Copy image-so....zip, radio-crespo...img and bootloader-crespo...img from the factory image to the platform-tools directory (on most computers it will be C:\Program Files (x86)\Android\android-sdk\platform-tools and you'll need Administrator rights).
Now open the platform-tools directory from the Android SDK and right click on an empty space while holding the SHIFT button and select "Open command prompt here".
Put the battery back in your phone and press Power while holding the Volume-Up button so it will boot into fastboot mode. Then connect it to your pc.
If Windows starts complaining about drivers then point it your SDK installation directory (include subfolders) or use 7-Zip to unpack http://www.mediafire.com/?5a7gou9droidi53 and point Windows to the directory where you unpacked it. More info on http://www.sevenforums.com/tutorials...e-manager.html
When you type "fastboot devices" and press Enter in the command prompt you opened before it should list one device (being your phone).
If you haven't unlocked your phone before type "fastboot oem unlock" and press Enter. Follow the instructions on the screen on your phone to complete the unlock.
Next type "fastboot flash bootloader bootloader-crespo...img" (you can press TAB to auto-complete) and press Enter. (THIS IS THE MOST IMPORTANT STEP, IF THIS GOES WRONG YOUR PHONE IS SCREWED. Don't continue if another step didn't succeed. If this works, then you can do anything with it.)
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot flash radio radio-crespo...img" (you can press TAB to auto-complete) and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot -w update image-....zip" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next download http://download2.clockworkmod.com/re...0.7-crespo.img and also put it in the platform-tools directory.
Then type "fastboot flash recovery recovery-clockwork-6.0.0.7-crespo.img" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Now use the volume keys on your phone to navigate to the word Recovery and press the Power button to boot into recovery.
You're now in CWM Recovery, use the volume keys and the power button to go to Mounts & Storage > Mount USB Storage (you might have to scroll down). Now it will come up on your pc and you can transfer the update file for Jelly Bean to your phone. You can find it here: http://forum.xda-developers.com/show...68&postcount=1 (use the one for your model for IMM76D).
Unmount the usb storage, go back to the main menu and go to Install Zip from sdcard > Choose zip from sdcard and open the update file you just transferred to your phone.
You can now go back to the main menu and choose "reboot system now". It will ask you if you want to remove the auto recovery installation, do that.
That's all, you now have a clean and working Jelly Bean installation.
Someone else wrote down the same instructions if mine are not clear enough: http://forum.xda-developers.com/show....php?t=1785672
Click to expand...
Click to collapse
This prevented me from putting the stock image on the sdcard for flashing via CWM.
is there another way i can get this working, maybe via fastboot or via ODIN so i can return my friends phone.
Thank you.
Hi I had this problem to, mine was from a bad flash / bad firmware.
First I suggest http://forum.xda-developers.com/showthread.php?t=2284670 better recovery.
After from recovery
select factory reset, wipe cache, and from advance wipe dalvic cache.
then select mount usb, copy to card slim bean 3.1.0 http://www.slimroms.net/index.php/downloads/dlsearch/viewdownload/465-crespo/2505-slim-ns-3-1-0-official plus gaps http://www.slimroms.net/index.php/downloads/dlsearch/viewdownload/461-addonsfullpackages-412/2501-aio-addons, flash them in this order.
After first boot and config u can use http://www.wugfresh.com/nrt/ to write the OEM firmware.
Sorry this didn't work because nothing can be written to system and the sdcard is still not able to mount
Sent from my GT-N7100 using xda app-developers app

[Guide] Newbie to Photon Q 4G LTE Rooting w/ Ice Cream Sandwich

Purpose: The purpose of this guide is to help collect all information and steps needed to root a Motorola Photon Q 4G LTE and use Clockwork Mod. When I looked for tutorials there were no updated ones that detailed how to do this with the latest android update (as of May 2014) for the Photon. Some steps may have been / were copied from various posts & guides around the internet, again this is just a collection of information.
Goal: A user who just opened his Photon Q 4G LTE and did all the factory updates should be able to get his phone rooted by the end of the guide.
Note: I started this guide but sadly the ribbon cable on my Photon Q 4G LTE broke and I just decided to switch carriers. I never got back to proof reading this guide while it was still fresh in my memory but if anyone sees and issues just let me know.
Unlock the Bootloader:
I unlocked the bootloader because I wanted to install ClockWork Mod and read that you had to. Not sure if you need to do this just for root access. I wanted CWM so that I could create a backup of this phone as is came from the factory so if I want to restore down the road I can. Unlike my Samsung it seems difficult to find the factory software for the Photon Q so this seemed like the best way to get it. Also nice to have the ability to take backups of my phone every so often. Assuming your phone is new I recommend that you also take a factory backup once clockwork mod is on before installing any other apps.
1. Download and install the drivers for the Photon Q from Motorola here ( https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481 )
2. Download this ZIP package which contains the tools you need for most of the steps here ( https://od.lk/f/MjRfMjc2MDc1Ml8 )
3. Head over to Motorola’s bootloader unlock site and sign in / register ( https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b )
4. Put your device in fastboot mode by powering off, waiting a moment, then pressing the “power” and “volume down” buttons simultaneously and releasing the “power” button ONLY after a few seconds. Once you see the fastboot screen you can release “volume down” as well.
5. Unzip and open the folder with the ZIP files from Step 2 and open a command prompt or terminal (in Windows 7 hold “Shift” and right-click in the folder and select “open command window here”.
6. In the prompt, type “fastboot oem get_unlock_data” without the quotes.
7. You will see 5 or so lines with either “(bootloader)” or “INFO” in front of them. Use notepad or some other basic text editor to paste together the 5 lines of output into one continuous string WITHOUT (bootloader) or ‘INFO’ or white spaces in front of them so your string looks something like this: 0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000
8. Check if your device can be unlocked by pasting the string in the field on Motorola’s page on their section 6. and click “Can my device be unlocked?” If you have a problem with this most likely the string you pasted in the box has spaces or extra / incorrect characters. Try again.
9. Open the email and get the unlock code. My email ended up in the “Promotion” category inbox instead of my normal inbox so if you don’t see it check in other places such as “Spam”.
10. Put your device in fastboot mode again by powering off, waiting a moment, then pressing the “power” and “volume down” buttons simultaneously and releasing the “power” button ONLY after a few seconds. Once you see the fastboot screen you can release “volume down” as well.
11. Connect the device to the computer with a USB cable. You'll get a confirmation message on the device to indicate that it's connected.
12. Open the folder with the ZIP files from Step 2 again and open a command prompt or terminal (in Windows 7 hold “Shift” and right-click in the folder and select “open command window here”.
13. In the prompt, type “fastboot devices” without the quotes and make sure your device shows up.
14. To unlock the bootloader, enter the following in the prompt “fastboot oem unlock UNIQUE_KEY” without quotes where you replace the “UNIQUE_KEY” with the code you received in the email. It is case-sensitive.
15. If the line was entered correctly, you will see a message confirming that your device was unlocked.​Install Clockwork Mod:
1. Download the latest ClockWorkMod recovery for the Photon Q from clockworkmod.com/rommanager and place the file in the same folder as the files from Bootloader Step 2. Be careful to select the right image!
2. Connect the Photon Q to the computer via USB.
3. Open the folder with the ZIP files from Bootloader Step 2 again and open a command prompt or terminal (in Windows 7 hold “Shift” and right-click in the folder and select “open command window here”.
4. Put your device in fastboot mode again by powering off, waiting a moment, then pressing the “power” and “volume down” buttons simultaneously and releasing the “power” button ONLY after a few seconds. Once you see the fastboot screen you can release “volume down” as well.
5. In the prompt, type “fastboot devices” without the quotes and make sure your device shows
a. If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See fastboot documentation for more info.
b. If you see "no permissions fastboot", make sure your UDEV rules are setup correctly.
6. Flash ClockWork Mod recovery onto your device by entering the following command in the prompt “fastboot flash recovery image.img” without the quotes where “image.img” is the full name of the file you downloaded in Step 1.
7. Once the flash completes successfully, reboot the device into recovery to verify the installation by powering off the phone and then holding both “Volume Up” & “Power” simultaneously until you see ClockWork Mod on the screen. From here you can take a backup (recommended) if you want to like I did.
o Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one. ​Root the device:
1. Boot the Photon Q normally and go to Settings>Developer Options> and enable USB Debugging. You may have to turn on Developer Options as well if they are grayed out.
2. Connect the Photon Q to the computer via USB.
3. Navigate to the folder with the ZIP files from Bootloader Step 2 again open the run.bat file.
4. Press Enter after reading the disclaimer (if you want) and wait for the file to finish running.
5. After it is done you can press enter again to close the prompt and disconnect your phone
6. After the phone reboots automatically you will see a new Super User app in your app list. You are now rooted.​
FYI installing TWRP will offer to automatically root the device for you when you reboot back into Android.
Also, CWM for our devices is horribly outdated, and last I checked completely unable to flash any KK-based ROM. I wouldn't recommend it - OpenRecovery or TWRP are my recommendations.
arrrghhh said:
FYI installing TWRP will offer to automatically root the device for you when you reboot back into Android.
Also, CWM for our devices is horribly outdated, and last I checked completely unable to flash any KK-based ROM. I wouldn't recommend it - OpenRecovery or TWRP are my recommendations.
Click to expand...
Click to collapse
The two months I had my Photon Q working CWM worked great for me. Did a few backups and didn't have to re-root after each boot. But it always helps to have more options so thanks for mentioning both alternatives!
protivakid said:
The two months I had my Photon Q working CWM worked great for me. Did a few backups and didn't have to re-root after each boot. But it always helps to have more options so thanks for mentioning both alternatives!
Click to expand...
Click to collapse
I'm pretty sure CWM won't flash KK-based ROM's as I stated previously.
Also, you shouldn't have to re-root - TWRP just does the rooting for your if you are installing a custom recovery for the first time so you don't have to do it manually .
arrrghhh said:
I'm pretty sure CWM won't flash KK-based ROM's as I stated previously.
Also, you shouldn't have to re-root - TWRP just does the rooting for your if you are installing a custom recovery for the first time so you don't have to do it manually .
Click to expand...
Click to collapse
Thanks again! I just used the stock rom but rooted during my brief time with the phone but this will help those who wish to use KK on the Photon.
RISING THIS TREAD FROM THE DEAD!!!
WHO STILL HAS THIS PHONE WORKING??
i blue screened my LG G3 so i pulled this phone off my dash in the bimmer to possibly try to root but it runs so damn slow now. any support will be much appreciated this is by far the most reliable device i ever purchased (400 bucks out the door brand new fml)
i will try to root later this week but big shout out to XDA for all thier threads on android ive been rooting since the
optimus line
cheers!

[Tutorial][Recovery][Root] Intex Aqua Music [Mediatek MT6735]

Hi there!!
Well I was trying to root this phone since a month but due to lack of developers, it wasn't possible. So I tried and at last succeeded in rooting and porting TWRP recovery for Intex Aqua Music.
I tried to elaborate every step as much as I can so the tutorial becomes user friendly for everyone.
Disclaimer: Rooting immediately voids your phone's warranty, you should consider very carefully whether you need to gain root privileges. And this tutorial will format your phone. So backup you important files at the very first.
Tutorial
First download all the files which i left and the end of the thread and proceed with the tutorial.
First of all you need to install ADB Drivers.
Once drivers are installed, you need to enable USB Debugging in your phone.
(goto phone settings->About phone->scroll down and you’ll see an entry labelled ‘Build number.’ Keep on tapping till you see a prompt that says ‘You are now a developer)
Now in phone settings you will see a new option called Developer Options.
Now goto Developer Options and enable OEM Unlocking(for unlocking the bootloader so you can flash the TWRP recovery) and USB Debugging.
Now connect you phone with usb cable to computer and open the adb and fastboot folder which you downloaded.
Then open command prompt there(shift+right click) and type:
Code:
adb devices
You will see a popup on you phone screen, Select allow and ok
Now you will see your device listed there in command prompt.
Now type the following commands:
Code:
adb reboot bootloader
Phone will switch off and go into bootloader. Then type
Code:
fastboot oem unlock
Now you phone will ask for confirmation. Use Volume UP Button to select yes then type
Code:
fastboot continue
.
Now your device will reboot(it will take some time so don't worry)
Now once your phone boot up you will see its formatted and bootloader will be unlocked.
Now again goto setting and enable USB Debugging like before and connect you phone with pc.
Now copy the recovery.img from recovery zip which you downloaded to adb and fastboot folder.
Then in adb command prompt type the following commands like before
Code:
adb reboot bootloader
Wait for the phone to go into bootloader mode, then
Code:
fastboot flash recovery recovery.img
fastboot continue
Now twrp is flashed in your phone. Now to root your device copy the supersu zip to you phone.
Switch off your mobile, then press Volume Up + Power button together then choose recovery mode with Volume UP Button and
press Volume Down Button.
Now phone will boot into TWRP recovery mode.
Click Install and choose the Super Su zip from file manager then install it.
The click reboot and once your phone boots up its rooted now.
Enjoy!
Thanks button will be appreciated if the tutorial works for you.
Thanks
Thanks man, helpful

Categories

Resources