I just bought a Galaxy Nexus but it was from Hong Kong and had non Yakju firmware on it. I want to install Yakju 4.0.2. I'm on a mac and oem unlocked my Nexus. I have downloaded the firmware from Google for 4.0.2 but now I need help actually installing it. If anyone could write me up a quick step by step guide I'd appreciate it, or link me to one. I'm on a Mac btw.
When I type in "fastboot flash bootloader bootloader-maguro-primekk15.img" into the command prompt it says command not found.
Bump
Sent from my Galaxy Nexus using XDA App
Wondering same thing....
Extract the archive, locate the .sh script, check the directives it contains, run them manually, or use the script.
Alternatively, do what most of us around here have to do, search. It's been covered already a number of times how to convert to Yakju as well as how to use fastboot on mac.
Edit, for the lazy, in the development section, one of the stickies have a link to this guide: http://forum.xda-developers.com/showthread.php?t=1366806
if you're on a mac, you need to add "./" before the commands in terminal
instead of "fastboot flash bootloader bootloader-maguro-primekk15.img", type in
./fastboot flash bootloader bootloader-maguro-primekk15.img
keep in mind your phone should be in fastboot mode when you do this (power off, then hold vol up + vol down + power"
littleasian said:
if you're on a mac, you need to add "./" before the commands in terminal
instead of "fastboot flash bootloader bootloader-maguro-primekk15.img", type in
./fastboot flash bootloader bootloader-maguro-primekk15.img
keep in mind your phone should be in fastboot mode when you do this (power off, then hold vol up + vol down + power"
Click to expand...
Click to collapse
Not correct, sorry.
You'd be better off following the link I provided above. The correct Mac commands are provided.
xyzulu said:
Not correct, sorry.
You'd be better off following the link I provided above. The correct Mac commands are provided.
Click to expand...
Click to collapse
Haha, thanks man.
Sent from my Galaxy Nexus using XDA App
xyzulu said:
Extract the archive, locate the .sh script, check the directives it contains, run them manually, or use the script.
Alternatively, do what most of us around here have to do, search. It's been covered already a number of times how to convert to Yakju as well as how to use fastboot on mac.
Edit, for the lazy, in the development section, one of the stickies have a link to this guide: http://forum.xda-developers.com/showthread.php?t=1366806
Click to expand...
Click to collapse
I tried to follow that guide and couldn't get it to work. How do you direct the command terminal into the right folder? When they say to put fast boot in that folder do they literally mean just the executable file?
Arcadia310 said:
I tried to follow that guide and couldn't get it to work. How do you direct the command terminal into the right folder?
Click to expand...
Click to collapse
You will probably need to cd into the folder.. ie cd Downloads
When they say to put fast boot in that folder do they literally mean just the executable file?
Click to expand...
Click to collapse
Yes, just the file called fastboot-mac
xyzulu said:
You will probably need to cd into the folder.. ie cd Downloads
Yes, just the file called fastboot-mac
Click to expand...
Click to collapse
Do I just type cd and then the name of the folder?
Sent from my Galaxy Nexus using XDA App
Related
okay so i downloaded the recovery.img. and i already have s-off btw. but i dont want to mess up my phone and i dont know how to flash the recovery..someone please help me out here
Ok, so I'm guessing you have ADB installed and able to communicate with the phone.
The way I flash recovery is to use the fastboot command (part of the Android SDK, located right along side ADB). To do this, reboot your phone into hboot (power off, then hold vol down & power). Once in hboot, select the fastboot option on the phone. Then plug the phone into the computer and issue this command:
fastboot flash recovery <your recovery file here.img>
If you are not certain of what you are doing I would recommend reading up a bit - flashing recovery is something that can definitely cause problems if not done correctly.
JTB
okay so in my command prompt i have it set up to my android sdk. and i keep getting errors when i try trying in something. it says is not reconized as an internal or external command
ok well do you actually have fastboot.exe? (it should be in the sdk/tools directory).
no i do not. where do i get that?
Look in platform-tools. It should be in there. If you don't have your platform-tools set in your environment variables, you have to cd to it in command prompt.
Sent from my T-Mobile myTouch 3G Slide
music man you just talked a whole bunch a jibberish that i did not understand lol. i just need the fastboot.exe file. can someone post a download link of that please?
mechlixt said:
music man you just talked a whole bunch a jibberish that i did not understand lol. i just need the fastboot.exe file. can someone post a download link of that please?
Click to expand...
Click to collapse
Within the android sdk, there should be a folder called platform-tools, in addition to tools. Fastboot.exe should be in platform-tools.
In command prompt, type this:
cd C:\locationofandroidsdk\platform-tools
And THEN run this:
fastboot flash recovery C:\locationofcw3image\filenameofcw3.img
And let it run it's course. I would do a nandroid backup first, in case it screws up your /system and /data partitions like it did mine.
Sent from my T-Mobile myTouch 3G Slide
You can also use the android terminal emulator from within android to flash it. In terminal emulator type these commands to do it from within android:
su
flash_image recovery /sdcard/cw3name.img
You have to have the image on your sd card, and you have to have a cyanogen rom I think. Cyanogen roms are the only ones I know of that are packaged with the flash_image command. Otherwise you have to fastboot flash it from windows.
Sent from my T-Mobile myTouch 3G Slide
Where do you get a .img for CWM? I was able to find this link but it's a zip file with a bunch of other stuff in there.
They're floating around. There's a development thread about cm7 rc0, it had a cw3 img attachment in the op I believe. I'd link you but I'm on my phone.
Sent from my T-Mobile myTouch 3G Slide
MusicMan374 said:
They're floating around. There's a development thread about cm7 rc0, it had a cw3 img attachment in the op I believe. I'd link you but I'm on my phone.
Sent from my T-Mobile myTouch 3G Slide
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=915680
This one here? Just thought I'd step in and link to help out, haha.
SefEXE said:
http://forum.xda-developers.com/showthread.php?t=915680
This one here? Just thought I'd step in and link to help out, haha.
Click to expand...
Click to collapse
Yeah that one, thanks haha
i just used fastboot-windows... to unlock the bootloader. But when i enter into the command prompt 'fastboot flash bootloader bootloader-maguro-primekk15.img' it says 'fastboot' is not recognized as an internal or external command.. i downloaded all the 4.0.2 files into the root of my hard drive what am i doing wrong? im stuck at the command prompt now lol
You don't have your paths set up. Change your environmental variables to include the folder that contains fastboot. It could also be that need to type "fastboot-windows" instead of "fastboot" depending on where you got it from.
Try "fastboot-windows flash bootloader bootloader-maguro-primekk15.img"
The command for Windows is "fastboot-windows ................"
greetz
//edit: too latee
It's only that if using the edited fastboot files. I have my system variables set up so I can run fastboot/adb from any location. A lot easier
Do I need sdk tools and stuff like that.. somebody take me back to the basics I haven't done this since nexus one was released.. environment variables?
Sent from my Nexus One using XDA App
mcguinness89 said:
Do I need sdk tools and stuff like that.. somebody take me back to the basics I haven't done this since nexus one was released.. environment variables?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Fastboot isn't dependent on Android SDK, Choose a place for fastboot to live (C:\Program Files\Android - perhaps?) then right click on MyComputer, Properties, Advanced and there should be an environment variables settings button somewhere, click edit and append the location to the end of the line, e.g. C:\Windows\System32;C:\Program Files\Android
This will allow you to call fastboot from whatever directory you're currently working from within command prompt.
Thank u all for your help I will try it all now, stand by! Haha
Sent from my Nexus One using XDA App
mcguinness89 said:
Thank u all for your help I will try it all now, stand by! Haha
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
do you have a galaxy nexus or nexus 1?
Sorry To make a new thread, but I've been searching for some good instructions on how to flash a radio through fastboot. I know you can flash it through recovery but I'm hearing its safer to use fastboot.
All I need is a link with some instructions.
Thank you.
Code is in this post, beside the links: http://forum.xda-developers.com/showthread.php?t=1571715
mudferret said:
Code is in this post, beside the links: http://forum.xda-developers.com/showthread.php?t=1571715
Click to expand...
Click to collapse
I dunno what to do with that code. There isn't a beginners guide anywhere
Mrcojocaru said:
I dunno what to do with that code. There isn't a beginners guide anywhere
Click to expand...
Click to collapse
Do you know generally how to use Fastboot?
If you don't, you should probably start reading a bit more before using it...
martonikaj said:
Do you know generally how to use Fastboot?
If you don't, you should probably start reading a bit more before using it...
Click to expand...
Click to collapse
I dont know how. I think I used to to root my nexus one but I havent had to use it since. Just recovery.
Mrcojocaru said:
I dont know how. I think I used to to root my nexus one but I havent had to use it since. Just recovery.
Click to expand...
Click to collapse
Here's a good guide for setting up and using adb; mostly applicable to fastboot as well. There are others as well.
Can't recall if fastboot is included in the attached file, but the principles are there, and search the Development forum for "drivers".
http://forum.xda-developers.com/showthread.php?t=1058431
The full Android SDK can be DL'd as well: http://developer.android.com/sdk/index.html
mudferret said:
Here's a good guide for setting up and using adb; mostly applicable to fastboot as well. There are others as well.
Can't recall if fastboot is included in the attached file, but the principles are there, and search the Development forum for "drivers".
http://forum.xda-developers.com/showthread.php?t=1058431
Click to expand...
Click to collapse
thank you I have the adb drivers set up for my phone if thats what you mean. Just dont know more then that
ok I set up adb.. It was different than what I thought you were talking about.
If you have everything set up; boot in to bootloader, connect USB, and then use command in cmd.
Edit: but like someone said: if you don't fully understand, read more about it. Don't do something you're unsure of.
Sent from my Galaxy Nexus using Tapatalk
I understand it but I dont know what to type into cmd
Mrcojocaru said:
I understand it but I dont know what to type into cmd
Click to expand...
Click to collapse
download the radio you want
extract it or put the .img into your adb folder
open cmd (use the shortcut you created from the other post on setting up adb)
type this into the command line:
Code:
fastboot flash radio "name-of-radio".img
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
the easiest way to set it up is download the tools in the dev forum. then use the guide with the pics to make the shortcut.
svtfmook said:
download the radio you want
extract it or put the .img into your adb folder
open cmd (use the shortcut you created from the other post on setting up adb)
type this into the command line:
Code:
fastboot flash radio "name-of-radio".img
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
the easiest way to set it up is download the tools in the dev forum. then use the guide with the pics to make the shortcut.
Click to expand...
Click to collapse
when in command prompt you have to first navigate to your fastboot folder, my fastboot folder is in my android sdk folder so i would type
Code:
cd c:\android-sdk-windows\fastboot
then use
Code:
fastboot flash radio "name-of-radio".img
also your phone needs to be in the bootloader screen for fastboot to work. you can get to the boot screen by holding both volume buttons with the power button when the phone is off
thanks guys
I kept trying to flash a bad img. The OP from that thread posted a working one but not until the 3rd page. Got real frustrated lol.
anyway... im getting 2 solid bars of hspa inside. Used to alternate between 1 and 0.
neotekz said:
when in command prompt you have to first navigate to your fastboot folder, my fastboot folder is in my android sdk folder so i would type
Code:
cd c:\android-sdk-windows\fastboot
then use
Code:
fastboot flash radio "name-of-radio".img
also your phone needs to be in the bootloader screen for fastboot to work. you can get to the boot screen by holding both volume buttons with the power button when the phone is off
Click to expand...
Click to collapse
he would only need to navigate it if he used the old sdk way of setting adb up. if he used the link in the previous posts to create a custom shortcut, he wouldn't need to navigate.
also remember that your phone has to be booted into bootloader first. and after flashing, you need to fastboot reboot.
svtfmook said:
you need to fastboot reboot.
Click to expand...
Click to collapse
uh oh.. didnt do that. can something happen?
EDIT: I reflashed the radio and rebooted from fastboot just in case. Thanks for your help.
Thank you everyone! Used all my thanks for today on you guys lol
I've got the latest download of CWM Touch for the GNex, but I downloaded it a few days ago and I'm not exactly sure how to go about installing it properly. Googling it or searching the forums brings up a million and 1 wrong/outdated/incomplete links. I don't have nearly as much time to devote to my moding anymore, so a point in the proper direction would be very helpful. Thanks
Sent from my Galaxy Nexus using xda app-developers app
neccoguy21 said:
I've got the latest download of CWM Touch for the GNex, but I downloaded it a few days ago and I'm not exactly sure how to go about installing it properly. Googling it or searching the forums brings up a million and 1 wrong/outdated/incomplete links. I don't have nearly as much time to devote to my moding anymore, so a point in the proper direction would be very helpful. Thanks
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Assuming you have the Clockworkmod-touch.img for your phone all you need to do is run this command if you have fastboot.
Code:
fastboot flash recovery name-of-recovery.img
then it should write the recovery.
If you don't know how to run command, when you have time it is very handy to learn.
But for now, if you can't:
Download *GNex Tool kit 7.4* install with drivers (supplied) onto your computer. down load from development page.
Close the toolkit
put the CWM file into the "put_img_files_to_flash_here" folder (created when you installed tool kit) - i too am guessing its an .img file.
USB attach the phone to computer
open bootloader on phone
then open toolkit and follow instructions to flash .img files to phone.
This is the way I personally do it.
I use the naked driver set that finds nearly any device I have tried it with and works perfect. (if you have the toolkit installed, you should already have the drivers installed)
Place the new recovery.img in the Toolkit folder
Open the folder that contains the tooklit
Right click and select 'open command window here'
In the cmd window type this:
adb-toolkit devices
Make sure yours is detected
Reboot the phone into the bootloader
then type this:
fastboot-toolkit oem unlock
Follow the prompts on the phone
then type:
fastboot-toolkit flash recovery name-of-recovery.img (I rename mine to something simple and easy to type back out quickly)
When that shows as successful type this:
fastboot-toolkit oem lock
Then using the volume buttons on the phone, select restart and press power.
As a side note, I also copied both the adb-toolkit and fastboot-toolkit files into a different folder and renamed them to just adb and fastboot and pasted them back into the original folder. This way the toolkit still works and I can just type adb XXXXX or fastboot XXXXX in my cmd window.
Hope this helps.
Know-Fear said:
This is the way I personally do it.
I use the naked driver set that finds nearly any device I have tried it with and works perfect. (if you have the toolkit installed, you should already have the drivers installed)
Place the new recovery.img in the Toolkit folder
Open the folder that contains the tooklit
Right click and select 'open command window here'
In the cmd window type this:
adb-toolkit devices
Make sure yours is detected
Reboot the phone into the bootloader
then type this:
fastboot-toolkit oem unlock
Follow the prompts on the phone
then type:
fastboot-toolkit flash recovery name-of-recovery.img (I rename mine to something simple and easy to type back out quickly)
When that shows as successful type this:
fastboot-toolkit oem lock
Then using the volume buttons on the phone, select restart and press power.
As a side note, I also copied both the adb-toolkit and fastboot-toolkit files into a different folder and renamed them to just adb and fastboot and pasted them back into the original folder. This way the toolkit still works and I can just type adb XXXXX or fastboot XXXXX in my cmd window.
Hope this helps.
Click to expand...
Click to collapse
This is a very helpful way of doing things, but a little too long winded for CWM. But I'm thankful for you taking your time to respond and I'm happy to have this guide handy.
gpfnzl said:
If you don't know how to run command, when you have time it is very handy to learn.
But for now, if you can't:
Download *GNex Tool kit 7.4* install with drivers (supplied) onto your computer. down load from development page.
Close the toolkit
put the CWM file into the "put_img_files_to_flash_here" folder (created when you installed tool kit) - i too am guessing its an .img file.
USB attach the phone to computer
open bootloader on phone
then open toolkit and follow instructions to flash .img files to phone.
Click to expand...
Click to collapse
A similar strategy to know-fear's, but different. Again, thank you very much for your help, but it's not the way I'll handle this one.
ÜBER™ said:
Assuming you have the Clockworkmod-touch.img for your phone all you need to do is run this command if you have fastboot.
Code:
fastboot flash recovery name-of-recovery.img
then it should write the recovery.
Click to expand...
Click to collapse
This was what I was looking for. Thank you so much for your time and help!
Sent from my Galaxy Nexus using xda app-developers app
Long winded perhaps. But it's the same thing for most phones running android. So in essence, once you learn it, you know it for good. I've been using the same method since back in the G-1 days. And honestly, those steps I listed take about 15 seconds to complete. It's just good to be thorough.
Hi there,
I am coming from the Nexus S. With that phone I already have the ADB driver installed. Can I just go start use fastbook OEM unlock with the gnex directly? Or do I need to us the Nexus Toolkit?
Can I just follow the instructions here to root the gnex?
http://wiki.cyanogenmod.com/wiki/Galaxy_Nexus_(GSM):_Full_Update_Guide
thanks.
read this
http://forum.xda-developers.com/showthread.php?t=1626895
sent from my i9250
also these are the sources for official information, thought i should (i'll start now) point it out, even though efrant's guide is far more comprehensive.
http://source.android.com/source/building-devices.html
https://developers.google.com/android/nexus/images
Your device needs to be in fastboot mode, with the bootloader unlocked. The relevant key combinations and commands are documented on the page about building for devices.
You need to uncompress each download before use, which creates a new directory for that exact download. That directory contains a ./flash-all.sh script, which handles the various operations, installs the necessary bootloader, baseband firmware(s), and operating system. Note that this operation deletes all user data by default.
Click to expand...
Click to collapse
note that efrant guides you on the entire thing, manually, giving you more control. Google provides a flash-all.sh bash script, which does the same thing, but more automatically.
It should be the same exact process thru fast boot. Just hold the volume keys and power then connect to computer, do cmd, and fastboot oem unlock. May need to go to the android folder in cmd if needed
Sent from my Galaxy Nexus using xda app-developers app