[FIX] cant , unable , error mounting sdcard (So Simple) - Nexus S General

tested on cdma sprint nexus s 4g
idk if the gsm version will work or not
its so simple
idk if anyone else found this yet
but its really easy.
i found this out when i read that
unlocking the phone may wipe the sdcard
_____________________________________________
you have to have adb or android sdk
i provided it if you dont have it
note: i didnt not create the files
and have samsung drivers for usb fastboot
goto junefabrics.com/android/download.php
just install and select the right brand
_____________________________________________
extract the folder to anywhere
hold shift then right click on the folder (tools)
select open command window here
type in the following
commands:
Code:
adb shell
fastboot oem lock
(check screen, select lock)
fastboot oem unlock
(check screen, select unlock)
(done)

Man BIG THX!
Dont now why my NS cant mount the SD Card but ur little Trick works perfekt!

Serial Kazama said:
Man BIG THX!
Dont now why my NS cant mount the SD Card but ur little Trick works perfekt!
Click to expand...
Click to collapse
error devce nfo! What do i do?!?!

Related

Updated root 1.49

READ IT BEFORE DOING IT
How to get into recovery
This is the way i figured how to get it into adb. I spent all day figuring this out.
It will take a couple tries but it will work
-Go to sdk folder then usb driver folder
-Make sure you have added to the inf file ; HTC Eris
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C98
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C98&MI_01
-Have a formated sd with allocation size of 4096.Don't format with phone do it with card reader or if you can't do it with usb...
-Boot your phone into HBoot with sdcard in.
-When the screen turns on wait a sec pop out sdcard make sure it doesn't scan sdcard.
-Start loop.bat or .sh
-Push volume up for recovery before wait 4 secs before your computer makes the sound pop it in.
-^^^Make sure you got around 3-5 secs before pushing it in
What to do when in adb recovery
-Do down volume and power and hit update it will fail.
-Adb push ota.zip /sdcard/update.zip
-Adb push root.zip /sdcard
-Have this command ready don't do it yet.
-Adb push update.zip /sdcard
-Press Hit run update.zip, as soon as you see a the green lil bar on your phone. PRESS ENTER ON CMD.
-Go to the partitions menu and mount system
-Go back and press update select install any zip from sdcard.
-Choose root.zip
-Reboot phone and install superuser.apk and allow it.
-Do adb shell then su if you see # you have root
-Download rom manager from market.
-Flash recovery ra or clockworkmod.
-^^^ if it doesn't let you, you messed up on rooting it.
Ill post a video of me doing it later. To lazy now
ADB RECOVERY VIDEO
http://www.youtube.com/watch?v=Uhc3SvOS6r4
PS ill figure it out later how i did with more practice
and don't flame or say video fake.. Or i just won't figure it out.
http://www.youtube.com/watch?v=eK_A0lH8uFM/color]
Hairston said:
I forgot that my digital camera can take video, duh. I can make one too if you want.
What would you need? Would a shot of the HBOOT screen showing 1.49 S-ON and then hitting <VOL UP> booting into Amon_RA recovery (to prove root) do it?
It really sucks that this procedure is such a living hell. Blame HTC for locking these things down so tightly in the first place. This is my first rooted phone and being able to play around with the custom roms and to do an image backup is pretty cool.
I see a lot of people in the Incredible root thread using the same basic method to root are having a tough time too. Misery loves company I guess.
Click to expand...
Click to collapse
^^^^^ proof right there
Another method
RKLamb2 said:
Alright sorry about that but it was like 4 in the mourning. I will use the other guys post for the slide and explain what I did.
The main thing I did different was as soon as pushed down to go to hboot I ejected my memory card at the exact same time. No scan or anything. Once I got to the part where I ran the loop I hit control C to stop it and and it was smooth sailing from there.
Memory card was a sandisk 8 gig that I formatted to 4096 in windows seven. I basically use both write up but I actually finished using the slide write
Place the Contents of "Slide Root.zip" into your Android SDK Tools folder.
Step 2.
Open Command Prompt or Terminal and CD to the SDK/Tools Directory.
Step 3.
Power on the Slide into the bootloader by Holding Down ( Volume Down + Power Button )
Step 4.
Now run your loop file from the prompt (either type "loop" in windows or "./loop.sh" in a *nix like)
Step 5.
Once your loop is running in your prompt, select Recovery from the bootloader menu.
Step 6.
When recovery loads, you should Have an Offline Device. You can use ctrl+c to stop your script & see.
If this doesn't happen, Power Off and try again..
Step 7.
Un-plug your USB cable from the back of your phone & Plug it back in for it to Detect ADB Correctly!!! This is an important step. At this point you can adb devices to see if you can see your device and that it is in recovery mode.
Step 8.
Hit Volume Up + Power button to Bring up the Selectable Menu
Select Update.zip from the menu. (This will fail, but we already know that! Select it anyway).
Step 9.
adb push ota.zip /sdcard/update.zip (*nixlike users add a ./ in front of all terminal commands please.)
Step 11.
adb push slideroot.zip /sdcard
Step 12.
This is Very important!! Have this Command ready in your prompt before applying update.zip again!!
adb push update.zip /sdcard
step 13.
Hit run update.zip, as soon as you see a Little Bar appear under the text push Enter to execute the command in your prompt (adb push update.zip /sdcard )
Step 14.
In successful, you should see Clockwork Recovery. If unsuccessful, repeat steps 12 & 13.
Step 15.
Now, go to the Partitions menu and Mount System
step 16.
Go back one level & select install any zip from sdcard. Select slideroot.zip & apply update from zip (This will finish the Root process).
Step 17.
Reboot your phone & wait for it to load completely. To confirm that your slide is connected as a device use the command adb devices. If this works, you will see it as a device. Your prompt will say something like:
$ ./adb devices
List of devices attached
HT05YUP12710 device
Step 18.
adb install Superuser.apk (If this looks like it works, but says it cannot locate directories, make sure you can find your device using adb devices… If things still don't work, my best advice is to start over)
Step 19.
After Superuser is installed try to use adb to shell to your device.
adb shell
you will get a $
Then type su
Superuser should pop-up asking if you give permission, do so.
Your $ should turn into a #. If so, you have root.
Click to expand...
Click to collapse
Dc_striker said:
i got it working now what files to i push to it sorry for noob post lol
Click to expand...
Click to collapse
Give exact details on what you did.
AcidRoot said:
Give exact details on what you did.
Click to expand...
Click to collapse
http://forum.androidspin.com/showthread.php?t=2757
Push the root rom AFTER you tell us how.
Dc_striker said:
http://forum.androidspin.com/showthread.php?t=2757
Click to expand...
Click to collapse
So you you just followed that and it worked?
AcidRoot said:
So you you just followed that and it worked?
Click to expand...
Click to collapse
yes lol couple of tries but it worked
Dc_striker said:
yes lol couple of tries but it worked
Click to expand...
Click to collapse
sd card in or out
and what sd card are you using?
AcidRoot said:
sd card in or out
Click to expand...
Click to collapse
push sd card in before recovery pops i think lol. btw a transcend sd card 8gb
Damn I have tried a million times a million ways and nothing. Any small little detail that you think we might be missing?
Dc_striker said:
push sd card in before recovery pops i think lol. btw a transcend sd card 8gb
Click to expand...
Click to collapse
well i tried and the script froze for a second then nothing and i haven't been able to do it again
ah hell
listyb01 said:
ah hell
Click to expand...
Click to collapse
like ever post say its all about time or luck so it will work on the eris
Yea I'm sure it will work eventually. Can you give me a few details?
Debug on or off?
pc connection settings (on eris)?
Anything else important that I may be over looking?
Congrats on the root! Froyo was just posted so looks like your first custom ROM can be a 2.2 build.
listyb01 said:
Yea I'm sure it will work eventually. Can you give me a few details?
Debug on or off?
pc connection settings (on eris)?
Anything else important that I may be over looking?
Congrats on the root! Froyo was just posted so looks like your first custom ROM can be a 2.2 build.
Click to expand...
Click to collapse
just look at the link i posted i just followed everything on there, but its either i popped in before recovery popped up or pop out and in in recovery
Guess my luck is not as good cause it isn't working.
listyb01 said:
Guess my luck is not as good cause it isn't working.
Click to expand...
Click to collapse
Damn keep trying but i posted this thread to everyone know this method should work
Does anybody know where loop.sh is i want to try this on my linux machine but can't find it and have no idea how to do it in bash
AcidRoot said:
Does anybody know where loop.sh is i want to try this on my linux machine but can't find it and have no idea how to do it in bash
Click to expand...
Click to collapse
just use this: "while true; do adb devices; done"
Still trying to get this working on OSX.
AcidRoot said:
Does anybody know where loop.sh is i want to try this on my linux machine but can't find it and have no idea how to do it in bash
Click to expand...
Click to collapse
for linux try while true; do adb devices; done

HELP! Legend doesn't see anymore my SD card!

Hi, sorry if i waste your time, but happens to me a problem with my htc legend.
Before write you i try many times and search a lot on google for find solution to my issue. For start, sorry for may bad english..
After do a nandroid backup to my htc legend rooted, i tryed rodrigezsstyle rom; than i wanna back to my settings and i did a nandroid restore. After the restor my legend was restored, BUT it doesn'r read the sd card and it doesn't sync with the pc. I can't install the pc driver, i can't flash an original rom and i can't flash different rom. And, now, i don't see in software the Superuser Permission.
The phone make yours, data, calls, sms, mail are ok, but i can't do nothig more. the sd was in the phone but it doesn't read it.
Please help me to make all ok, i thing that HTC support and warranty are loose.
Thank you
thank you
thank you
I do this: root - flash rom 2.xx root- nandroid backup -
flash rodriguez style rom - nandroid restore - puf, the phone doesn' read sd card.
There is a step by step guide for make my phone able to read the sd card, please help me?
LITTLE NEWS:
Now i put phone in fastboot usb and i try with suxcess to flash the 1.31.405.5 signed rom, but legend doesn't see sd card anyways......
sorry for my bad english
Money for who help me to make all issues ok!!!!
Fix SD
Press & hold vol down and power on the phone
Select fastboot by pressing the power button
Make sure in device manager the driver is installed(Win 7 x64 downloaded them automatically)
Open command prompt like you would to use ADB and type
fastboot oem enableqxdm 0
fastboot reboot
That should fix your SD card not being detected.
Fix USB
Press & hold vol down and power on the phone
Select fastboot by pressing the power button
Make sure in device manager the driver is installed(Win 7 x64 downloaded them automatically)
Open command prompt like you would to use ADB and type
fastboot oem boot
It will give you a log, look for the line that says INFOCID is SPCS_001, if it says something different, then use the generator below to create one(or hex edit the one I posted)
Download the mtd0.img attached or use this CID generator made by stevebrush over @ Modaco to create a custom one
Download the flash_image attached
Unzip both zips and copy both files to the SD card
Open a terminal emulator(I used ConnectBot) and type
su
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
chmod 755 /data/flash_image or chmod u+x /data/flash_image
/data/flash_image misc /data/mtd0.img
reboot
And that should fix the USB issue
-----
Last question:
Now usb seems ok and the PC can read the phone like a external storage, but i have error with HTC sync. How can i do?
thank you
SD Cards not recognized by phone, but work in Computer
Since last night - out of the blue - my HTC Legend doesn't recognize any SD Card anymore. I tried 3 different ones (8GB, 2GB, 1GB, different brands), but ES File Manager or Astro say 'no SD Card mounted' and under 'Setting/SD & Phone Storage' the Mount/Dismount Options are greyed out (also Camera and Gallery say 'please insert SD Card').
All Cards work flawlessly on the PC, the 8 GB I was using so far has still all my apps, music, pics, videos. Copied files to HD, re-formatted and copied back, no change.
I tried Factory Reset to no avail. Then I tried to connect via Fastboot with USB Debugging enabled, installed ADB and did the command 'fastboot oem enable qxdm 0' upon which it said 'Okay!.....0.13ms' or something like that. Still not SD Card showing up.
Rebooting several times, cleaned contacts with nail polish remover, connected to PC or unconnected. No change.
Has anyone another idea what I could try to get it working again? Thanks a million!
nomad4ever said:
...Then I tried to connect via Fastboot with USB Debugging enabled, installed ADB and did the command 'fastboot oem enable qxdm 0' upon which it said 'Okay!.....0.13ms' or something like that. Still not SD Card showing up.
Click to expand...
Click to collapse
For the SDCard:
Reboot your phone to the bootloader screen. Plug it into your computer and enter into fastboot on your phone.
On your computer, use the command prompt and target the directory where fastboot is stored. Eg) /AndroidSDK/tools/
Then type: fastboot devices
This should return your Legend's serial number. Then type fastboot oem enableqxdm 0 <---- NOTICE THAT THERE IS NO SPACE BETWEEN "enable" and "qxdm"!
The reason I'm repeating these instructions is because your post suggests you didn't do it correctly. USB Debugging is irrelevant in this case since your phone is at the bootloader screen. ADB is irrelevant in this case too since we're not using ADB commands. Also, when the SDCard isn't being recognized, many people find that ADB isn't working either.
For ADB (If yours isn't working):
Check Post # 104 here: http://android.modaco.com/content-page/299174/no-adb-no-sd/page/100/#
Make sure you input "chmod 755 /data/flash_image" in the terminal emulator after you enter "cat /sdcard/mtd0.img > /data/mtd0.img" and before "/data/flash_image misc /data/mtd0.img".
If the SDCard still isn't recognized, it may be a hardware issue. Good luck!
Thank you jaStorm for the detailed explanations! I tried it again step by step with the same result. I think it was just my mistake before, producing a space in my previous post.
'fastboot devices' gives out my serial number
>HT045xxxxxxx fastboot
and 'fastboot oem enableqxdm 0' gives out
> ... OKAY [0.031s]
finished. total time: 0.031s
>
upon 'fastboot reboot' the device reboots properly, but still without the SD Card coming back:
> rebooting...
finished. total time: 0.016s
>
I'm not so clear yet about the steps in the post #104 you mentioned. It seems to be for the USB not recognized. Would it probably help for my SD Card issue also?
I tried 'fastboot oem boot' and my CID is 'HTC__044'. So if I understand it correctly, I would have to take the image file there, edit the CID number and try to copy it somehow into the /data directory of my phone? My phone is not rooted (still Stock 2.2 HTC Sense). I have a Terminal Emulator installed on the phone, but what now?
Can I download the image probably, if I sent it to myself via e-mail to the device? I could maybe also FTP it. Sorry, am I bit clueless here, regarding the steps on how to get the modified file into the device and if it would work without rooting! Rooting for my device would require downgrading/flashing the firmware, for which I would need the SD Card again.
Thanks for your help though!
U saved my life........thx a miliooonnnnnnnnn..........i really love this forum!!!!!!!!!
thank you
thanks alot you saved my phone yaar .. thank u sooo much

[Q] SD Card removed, but it's there!

i am using modaco rom ,after reset for me showing no sd card......some one help me......
USB Brick
read this thread:
http://forum.xda-developers.com/showthread.php?t=733713
no way.....its not working showing
C:\sdk\tools>chmod 755 /data/flash_image
'chmod' is not recognized as an internal or external command,
operable program or batch file.
C:\sdk\tools>cat /sdcard/flash_image > /data/flash_image
The system cannot find the path specified.
smartsreenath said:
no way.....its not working showing
C:\sdk\tools>chmod 755 /data/flash_image
'chmod' is not recognized as an internal or external command,
operable program or batch file.
C:\sdk\tools>cat /sdcard/flash_image > /data/flash_image
The system cannot find the path specified.
Click to expand...
Click to collapse
Did you tried from a terminal emulator on your Legend or via adb instead of Windows? (chmod and cat are Unix's binaries and they can't work with Windows directly)
i can't download......... showing insufficient storage........i even can't install application through 91pc suite for android..........i need help....and in device manager my htc is showing but i can't connect.........nnnnnnnnnnneeeeeeed hhhelllllp
use a sdcard reader ( if you have one ) and put connectbot.apk ( that you can find here http://code.google.com/p/connectbot/downloads/list ) on your sd...
mount your SD card before trying to unbrick your USB like that :
type :
fastboot oem enableqxdm 0
in fastboot mode
after reboot, your phone will see your SD.
If you have a file manager already installed, look for connectbot and install it.
After that , follow unbrink process.
ilos said:
use a sdcard reader ( if you have one ) and put connectbot.apk ( that you can find here http://code.google.com/p/connectbot/downloads/list ) on your sd...
mount your SD card before trying to unbrick your USB like that :
type :
fastboot oem enableqxdm 0
in fastboot mode
after reboot, your phone will see your SD.
If you have a file manager already installed, look for connectbot and install it.
After that , follow unbrink process.
Click to expand...
Click to collapse
i appreciate your response.......but you don't understand my problem....my phone neither detects sdcard nor download file from market[also through browser]....could you suggest any other way ......please its urgent.....
i tried with terminal emaluator but showing permission denied....but my phone is rooted.......
after fastboot oem enableqxdm 0 , a bricked phone can see the sdcard.
don't try to connect your computer to your device, computer will not see your sdcard, sdcard will be only readable by the device.
if all of that doesn't work you have probably a problem with your sdcard.
and take a look here :
http://forum.xda-developers.com/showthread.php?t=748813
thousand thanks man............
Txkw said:
Did you tried from a terminal emulator on your Legend or via adb instead of Windows? (chmod and cat are Unix's binaries and they can't work with Windows directly)
Click to expand...
Click to collapse
sorry my mistake
whats a 'terminal emulator' please ?
EDIT: Found it in the Market.
Hope they put a link to [How To] Unbrick your Legend in the first post in android development since its a common ailment for Legend and Desire.
Learners Lisence said:
whats a 'terminal emulator' please ?
EDIT: Found it in the Market.
Hope they put a link to [How To] Unbrick your Legend in the first post in android development since its a common ailment for Legend and Desire.
Click to expand...
Click to collapse
you want it, you get it
http://forum.xda-developers.com/showthread.php?t=751265
sorry for bringing up this topic...
I've tried to "fastboot oem enableqxdm 0" but my phone still canot c my sd card..
to show my step,
i booted up my phone into fastboot mode and enter the code using cmd in windows..
it says success then i booted it back up normally...
but sdcard removed message still there...
did i do wrongly or what else can i do?
my card is still a working card...
bylee123 said:
sorry for bringing up this topic...
I've tried to "fastboot oem enableqxdm 0" but my phone still canot c my sd card..
to show my step,
i booted up my phone into fastboot mode and enter the code using cmd in windows..
it says success then i booted it back up normally...
but sdcard removed message still there...
did i do wrongly or what else can i do?
my card is still a working card...
Click to expand...
Click to collapse
First use a adapter and check if u can read your card on the computer, if it does backup your content, and format. (If u have HTC Synk installed, close it)
*insert the card in your phone.
*press volume down + power
*chose fastboot
*connect your phone (make sure it say fastboot usb before u continue)
*open cmd, go to AndroidSDK -> Tools
*Type "fastboot oem enableqxdm 0"
Reboot, and your card should be up and running. If needed continue with the steps from the Unbrick guide in dev
HpX said:
First use a adapter and check if u can read your card on the computer, if it does backup your content, and format. (If u have HTC Synk installed, close it)
*insert the card in your phone.
*press volume down + power
*chose fastboot
*connect your phone (make sure it say fastboot usb before u continue)
*open cmd, go to AndroidSDK -> Tools
*Type "fastboot oem enableqxdm 0"
Reboot, and your card should be up and running. If needed continue with the steps from the Unbrick guide in dev
Click to expand...
Click to collapse
Below are what I did before I kept getting the error "Removed SD card"...
Eclair 2.1 with update 1.
1. Create goldcard. Success.
2. Then i went on with the rooting guide, without applying RUU.1.31.
3. Failed in step1-windows.bat, step2-windows.bat. Thus kept creating goldcard.(obviously i am so newbie)
4. Then after sometimes of retrying I get the error after a reboot.
After i got the error, I created a goldcard based on the previous CID i got.
The goldcard enables me to downgrade to RUU.1.31.
But still the error is still there.
Tried the unbrick guide.
But even after I execute "fastboot oem enableqxdm 0",
then follow the guide with "fastboot oem boot", my USB still didn't work.
Ignoring the fact that the guide needs SD capability I did all the steps in the guide(i use softroot, since i never rooted my legend yet!),
all commands went through without error, even retried.
Till now my phone stilll shows the error, "Removed SD card".
Can anyone help me? Paul? anyone?
Card i used: 1. Sandisk 2GB card that comes with the phone(my goldcard), 512MB old microSD card.
Guides used: modaco rooting guide and unbrick guide
Both cards are working well, can be detected in windows and no error when checked with h2testw in windows.
Windows can detect Legend when connected. Drivers all good.
So guys, is this really USB bricked or what it is?
If u guys need any information bout the phone please let me know, i'll try to provide.
help me
Please help me. I have the same problem and I do not know where to write command oem fastboot enableqxdm 0
bro read the previous posts.....

[GUIDE] Linux Ubuntu: Unlocking Bootloader / Rooting Nexus S

One thing I've noticed is there isn't a lot of documentation for getting set up and unlocking your bootloader on a Linux OS. Setting up your machine to get adb and fastboot to recognize your device takes a tiny bit of extra work on a Linux operating system, but what exactly needs to be done may not be clear to everyone. Whether it's because you're new to the Android SDK/adb, somewhat new to Linux, or can't simply can't seem to find the Vendor Code for the Nexus S. (For those who are looking specifically for this, it's '18d1', and I assume will be the same on all Nexus devices to come; If this means nothing to you right now, read on.)
Disclaimer: I take no responsibility if something goes wrong (if it does, it should be fixable though), Unlocking your bootloader voids your warranty (but you can lock it back), Unlocking the bootloader will wipe your entire phone, including USB Storage; so make a copy of all those family photos and other files you may have put onto the USB storage if you want to keep them.
For the sake of sanity, this guide assumes you are using Ubuntu. If you're using something else (or different applications), there are terminal commands offered, and you probably have an idea on how to adapt the given instructions to your Linux OS.
Preparation: Installing the Android SDK, ADB, Fastboot & Setting Up Your Nexus S to be Recognized
1. Download the Android SDK for Linux: http://dl.google.com/android/android-sdk_r08-linux_86.tgz
2. Save it in a folder of your choice. I chose to keep it in my Downloads folder, myself. If you'd like, you can rename it to the simpler name of 'AndroidSDK.tgz'. The rest of the guide will assume that you did, because I'm lazy, and it makes things simpler; it will also assume you saved it in Downloads. If you feel that you have the intuition to rename and edit the path names based on your own choices, then fine; but if you're utterly lost here, just stick with what I'm doing; download to 'Downloads', rename to 'AndroidSDK.tgz'.
3. Now that you have it, navigate to the folder you downloaded it to, right-click, and click 'Extract' to unzip it. If for some reason you cannot do this, open up a terminal and try this command:
Code:
tar zxvf /home/<your-user-name>/Downloads/AndroidSDK.tgz
You may have to adjust the command if you didn't save it under Downloads or didn't rename the file to AndroidSDK.tgz.
4. Now, we'll install adb and some other software packages by starting up the Android SDK and AVD Manager. Start it either by:
- Navigating to your AndroidSDK folder, going to the 'tools' folder and double-clicking the file called 'android'; if a popup opens asking you what you want to do with it click 'Run'.
- Using this command:
Code:
/home/<your-user-name>/Downloads/AndroidSDK/tools/android
5. In Android SDK and AVD Manager, click on "Available packages". Check the box next to "Android SDK Tools, revision 8" and "Android SDK Platform-tools", and click on "Install Selected" then "Install". When prompted click "Yes" to restart ADB.
6.You should now have a folder in /home/<your-user-name>/Downloads/AndroidSDK/ called "platform-tools".
7. Download fastboot here: http://developer.htc.com/adp.html
- Save it to the aforementioned platform-tools folder.
- Now, navigate to the file, right click it, click 'Properties', go to the 'Permissions' Tab and check 'Allow executing file as program'. Alternatively, run this command:
Code:
chmod +x /home/<your-user-name>/Downloads/AndroidSDK/platform-tools/fastboot
8. Now to set things up so adb and fastboot recognize your Nexus.
- Type this command into a terminal:
Code:
gksudo gedit /etc/udev/rules.d/51-android.rules
- Paste this into the blank file:
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
- Click save and close.
- Then, type the following terminal command:
Code:
sudo restart udev
9. Almost done with preparations! Run this command:
Code:
gedit .bashrc
And add this line to the top of the file:
Code:
#AndroidDev PATH
export PATH=${PATH}:/home/<your-user-name>/Downloads/AndroidSDK/tools:/home/<your-user-name>/Downloads/AndroidSDK/platform-tools
Then save the file and close.
10. Download this file and save it to /home/<your-user-name>/Downloads/AndroidSDK/platform-tools: http://www.mediafire.com/?4pe5y906zr67nfh
10.We're ready to go!
Unlocking the Bootloader on your Nexus S and Rooting
Once again, unlocking your bootloader wipes everything on your device, including USB storage. Make a backup of any files you want to keep.
1. On your Nexus S, go to Menu>Settings>Applications. Select "Development" and check the box next to "USB debugging"
2. Power off the phone, and then hold down the Volume Up button and the Power button simultaneously to get into Bootloader/Fastboot mode. Connect your Nexus to the computer via USB.
3. Run this command to unlock your bootloader: (Once again WIPES EVERYTHING!)
Code:
fastboot oem unlock
Hit Enter and on your phone you will be prompted to confirm the action. (Use Volume +/- buttons to choose, power button to confirm choice) Confirm. At this point you will have an unlocked bootloader.
4. Copy/paste the following into the Terminal window:
Code:
fastboot flash recovery /home/<your-user-name>/AndroidSDK/platform-tools/recovery-clockwork-herring.img
5. Use the Volume +/- buttons to choose the Recovery option, then press the power button.
6. In Recovery, go to 'mounts and storage' and choose 'mount USB storage'.
7. Go to this page: http://forum.xda-developers.com/showthread.php?t=682828
About 1/5 of the way down on that page, find the link for "su-2.3.6.1-ef-signed.zip", which is the link for the Froyo version of Superuser. Control-click (right click) on that link and choose "Download Link As..." Save that file to your desktop and then copy it to the main directory of your mounted phone.
8. Click 'Unmount'. Go back to 'mounts and storage' and choose 'mount /system'. Then Go Back and choose 'install zip from sdcard'>'choose zip from sdcard'>su-2.3.6.1-ef-signed.zip
9. When it's finshed installing, reboot. You are now rooted.
Special Thanks
Amin Sabet; I used your Mac guide as a reference and copy/pasted some things for convenience.
Koush; For first posting the unlocking information, developing ClockworkMod Recovery, and ROM Manager. You should probably hook him up with a donation. https://www.paypal.com/us/cgi-bin/w...63663d3faee8d9384d85353843a619606282818e091d0
Michael.B.; for suggesting adding the platform-tools folder to the .bashrc file.
Linus Torvalds; Without which we'd have neither Android nor Ubuntu.
Feel free to leave your comments on the guide below.
Good guide for beginners, I would throw in how to update their path so they can just type adb or fastboot
On Linux, edit your ~/.bash_profile or ~/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to the tools/ and platform-tools directories to it. If you don't see a line setting the path, you can add one:
export PATH=${PATH}:/home/<your-user-name>/Downloads/AndroidSDK/tools:/home/<your-user-name>/Downloads/AndroidSDK/platform-tools
Click to expand...
Click to collapse
Be sure to update your username above.
Thanks a lot man, great guide. I didn't get my NS yet but this is gonna be very useful soon
ps: someone please stick this
Michael.B. said:
Good guide for beginners, I would throw in how to update their path so they can just type adb or fastboot
Be sure to update your username above.
Click to expand...
Click to collapse
Thanks for the tip. I added your tip and instructions for marking fastboot as executable.
Stuck due to the thread's usefulness
I forgot to ask: will this work for 64 bit systems?
nicholasbgr said:
I forgot to ask: will this work for 64 bit systems?
Click to expand...
Click to collapse
It should work just fine.
Thanks, got me rooted nice and quickly.
BlackOtaku said:
It should work just fine.
Click to expand...
Click to collapse
Yes but don't forget to install 32 libs.
Thanks for guide
Useful !
I'm waiting for cyanogen ROM so i'll able to install
Cheers
To confirm, yes it works on 64bit. I am running that
Thanks for the confirmation, guys
Good stuff, much appreciated.
I'm working on a simple shell script that should automate some of the more menial tasks while holding the user's hand through the process. I should have it up later today.
UPDATE: It's up! Link on the first page.
Sent from my Nexus S using XDA App
question:
If I use
Code:
fastboot boot recovery.img
instead of
Code:
fastboot flash recovery recovery.img
will i get OTA updates?
confiq said:
question:
If I use
Code:
fastboot boot recovery.img
instead of
Code:
fastboot flash recovery recovery.img
will i get OTA updates?
Click to expand...
Click to collapse
Or, I don't get OTA until i change OS with zip file (ex: su app) ?
confiq said:
Or, I don't get OTA until i change OS with zip file (ex: su app) ?
Click to expand...
Click to collapse
You shouldn't flash the recovery in the boot partition, I think that will cause problems with the phone period. :S
If you flash a custom boot.img (which this guide doesn't cover, though the script will flash Superboot) or kernel like Paul's Superboot, Supercurio's Voodoo Kernel, or Koush's insecure boot.img, OTA updates will fail to install. OTA updates will also reflash your recovery back to stock. One of the devs around here will probably start modifying them so they don't check the boot.img or reflash the recovery though.
Thanks for this! Worked perfectly
Hi all,
I have a strange problem. I can install ClockworkMod recovery but, when I reboot the phone, I don't have superuser installed and su doesn't work. If I reboot the phone, I have to install the recovery every time. It seems it isn't permanent.
Thanks
Matroska
matroska said:
Hi all,
I have a strange problem. I can install ClockworkMod recovery but, when I reboot the phone, I don't have superuser installed and su doesn't work. If I reboot the phone, I have to install the recovery every time. It seems it isn't permanent.
Thanks
Matroska
Click to expand...
Click to collapse
To fix the problem, before selecting zip file, you have to select mount /system. Then go to apply update.zip and proceed as usual.
Thanks
ok im stock
with this part fastboot oem unlock ware i put this code in my terminal of my pc ,,i put the cell in fasboot , i intall everiting if i put that code in my terminal
bash: /home/toshiba/.bashrc: line 2: syntax error near unexpected token `('
bash: /home/toshiba/.bashrc: line 2: `export PATH=${PATH}:/home/<your-user-name>/Downloads/AndroidSDK/tools:/home/<your-user-name>/Downloads/AndroidSDK/platform-tools# ~/.bashrc: executed by bash(1) for non-login shells.'
[email protected]:~$ fastboot oem unlock
fastboot: command not found
[email protected]:~$
what can i do or im doing wrong

Cannot get fastboot working in command line (win 7)

Hi to all I have a provlem I need help with.While trying to unlock my bootloader using rsd and fastboot.I get as far as the cmd line entries and have problems basically I cant seem to get my command line to use the fastboot command and or any other fastboot command I can find.What seems to happen all the time is that the command line responds with "this is not an internal or external command" or similar.
Any help appreciated Windows 7 64bit all latest drivers installed
scotty7910 said:
Hi to all I have a provlem I need help with.While trying to unlock my bootloader using rsd and fastboot.I get as far as the cmd line entries and have problems basically I cant seem to get my command line to use the fastboot command and or any other fastboot command I can find.What seems to happen all the time is that the command line responds with "this is not an internal or external command" or similar.
Any help appreciated Windows 7 64bit all latest drivers installed
Click to expand...
Click to collapse
are you in the same folder that the FASTBOOT.EXE is in when you run the command???
Make sure your running CMD as administrator. You can tell by the path that shows when cmd is launched. If its a regular user account it will path to something like: c:\users\"your username"\
If your running as admin it will path to something like: c:\windows\system32
Sent from my MB860 using XDA Premium App
Take your fastboot files and images and put them in a folder on the root of your C: drive... I use one named phone
Then you should be able to open your Command line and type
cd c:\phone
That will change you to the Phone directory you made in the root of C: earlier
If you want to make sure you can type DIR and it should list all the files you have in there.
At this time you can start using your fastboot commands and it will recognize them.
beatphreek said:
Take your fastboot files and images and put them in a folder on the root of your C: drive... I use one named phone
Then you should be able to open your Command line and type
cd c:\phone
That will change you to the Phone directory you made in the root of C: earlier
If you want to make sure you can type DIR and it should list all the files you have in there.
At this time you can start using your fastboot commands and it will recognize them.
Click to expand...
Click to collapse
Another handy thing is to open the folder then hold the shift key and then right click. You'll have an "Open command window here" option.
Yep I use that all the time...
used both the suggestions in here and still having trouble,can do the root of c folder,use the dir command see it is all there but the cd C:\fastbootpackage brings the same response again.Can anyone see where I am going wrong?Once the command line changes to fastboot what do I need to command?Phone is still attached (as per the guide I am following?)showing 100% phone needs manually rebooted.
I have all latest drivers on win 7 64bit and I am definetely running cmd as an administrator
Also as the third suggestion suggests if I open the cmd box from the folder what is the exact command to use from there?Is there an alternative to doing this as I am beginning to struggle?
Unlock your Bootloader
1. You need to download and install RDS lite on your PC:http://forum.xda-developers.com/attachment.php?attachmentid=634879&d=1308872277
2. Download and extract IHOP_Bell.rarhttp://api.viglink.com/api/click?format=go&drKey=1359&loc=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D1136261&v=1&libid=1311795928774&out=http%3A%2F%2Fdiamantephoto.com%2FIHOP_Bell.rar&ref=http%3A%2F%2Fforum.xda-developers.com%2Fforumdisplay.php%3Ff%3D997&title=%5BPUDDING%5D%20International%20House%20of%20Pudding!%20(Unlock%2Froot%20thread)%20Updated%20July%2023%202011%20-%20xda-developers&txt=http%3A%2F%2Fdiamantephoto.com%2FIHOP_Bell.rar
3. Download and extract Fastboot tools http://gititbit.ch/FAST
4. Power down your Motorola Atrix
5. Take out your microSD card and SIM*card*for the flashing process
6. While turning the phone on, hold the Volume Up button until it acknowledges RSD
7. Your device will say “Starting RSD protocol support”
8. Run “RSD Lite” on your computer
9. Press the “. . .” button next to the box labeled “Filename”
10. Load up the SBF file – IHOP_Bell.sbf
11. Plug your device into your computer
12. RSD Lite should recognize your device and say “Model: NS Flash Olympus” and “Connected…”
13. Press the “Start” button
14. Be patient while the phone*reboots. It will take a long time.
15. Open and extract the Fastboot package from above
16. Open a command prompt window
a.On Windows, press Start and type “cmd” then press the enter button
17.Type the following command. Your directory will be the folder where you extracted the Fastboot package.
(Example:* cd C:\Users\Kenneth\Desktop\fastboot-package)
a.cd*your directory here
18. Power down your Atrix device
19. Hold the power button and the downward volume button until you see “Fastboot”
20. Let go of the buttons and press the upward volume button once
21. You will now see “Starting Fastboot protocol support”
22. Plug your device into a USB port in the back slot of your computer
a.Front slots sometimes do not have enough power to stay connected to the device.
23. Type the following command:
a.fastboot oem unlock
24. You will now receive a warning along with a unique device ID
25. Type the following commands using your unique device ID in place of the ####:
a.fastboot oem unlock ####
b.fastboot reboot
26. Wait for your device to reboot. Congratulations! You now have an unlocked bootloader!
This is the guide I have been using, thanks again
scotty7910 said:
"this is not an internal or external command"
Click to expand...
Click to collapse
This msg will only show if you are in different folder than your fastboot. You don't need to run cmd as administrator. The best thing to do is:
copy those 3 files (AdbWinApi.dll, AdbWinUsbApi.dll, fastboot.exe) to your main c:\ (do not put to the folder)
Run cmd and type "cd \" this will move you to c:\
Now type fastboot and press enter - you should see various commands that can be used. (your mobile doesn't need to be connect to your pc to see this)
Now you can continue with unlocking. If you applied ihop.sbf already then startt from step 18.
I'm 99% sure that you were in the wrong folder.
Thanks very much that last post got it.In fact I would say that is the simplest way I have read so far as far as fastbooting goes.Many thanks.I have been having problems installing tenfars cwm so I will be using the rom manager "official cwm,will using the fastboot-w command be a problem for me do you think?
scotty7910 said:
Thanks very much that last post got it.In fact I would say that is the simplest way I have read so far as far as fastbooting goes.Many thanks.I have been having problems installing tenfars cwm so I will be using the rom manager "official cwm,will using the fastboot-w command be a problem for me do you think?
Click to expand...
Click to collapse
Don't use the Rom Manager app. It sucks and doesn't work properly. Do things properly.
With XDA forum members there's no reason to do things half assed. Use your hole ass, dammit.
scotty7910 said:
Thanks very much that last post got it.In fact I would say that is the simplest way I have read so far as far as fastbooting goes.Many thanks.I have been having problems installing tenfars cwm so I will be using the rom manager "official cwm,will using the fastboot-w command be a problem for me do you think?
Click to expand...
Click to collapse
Well if you came that far then try to install tenfar's recovery, download this file :recovery-en-goapk-0630-1029.zip Unzip and move recovery-en-goapk-0630-1029.img to your c:\....Now reboot your phone and enter to fastboot mode. In cmd go to c:\ and type "fastboot flash recovery recovery-en-goapk-0630-1029.img" and then "fastboot reboot" DONE
If you have any problems try to download moto-fastboot (http://forum.xda-developers.com/attachment.php?attachmentid=635584&d=1308928440). It's kind of the same thing as fastboot and to be honest I don't know what's the different between both (I think moto-fastboot is designed for 2.3.4 firmware). Extract zip and move moto-fastboot to c:\ and type the same command but instead of fastboot type moto-fastboot. I hope this make sense.
Also it's recommended to delete "install_recovery.sh" which apparently is in /system/etc/ BUT I never managed to find this file and I just ignored this step.
thanks foka, but I have already tried and tried again unsuccessfully to use tenfars cwm.I can install the recovery and delete the sh file all as normal using fastboot and astro.However for some reason there seems to be no way I can get into cwm having flashed it.when I attempt it I dont see the same menu I could scroll through as before.Then I tried a cwm of tenfars that was supposed to flash through rom manager.Again the flash went fine but could not seem to enter recovery mode.I see you installed aura 1.1 didi you flash a radio afterwards?My signal is comnstantly 1 bar.Could you reccomend a uk radio?
Well Ive flashed at&t radio N_01.77.30p which solved battery draining and 1 bar issue. I'm not sure why you can't use cwm recovery...
Sent from Motorola Atrix
What do you mean you don't see the same menu as before? When you hold volume down, power up phone, fastboot, scroll through the list and none of them say Android Recovery?

Categories

Resources