yashsingh1/xdaforums huggingface dataset:
[Nexus One Q&A, Help & Troubleshooting] premgyani:
My Flash LED has gone 'Phut'. Need to return Nexus to factory condition

I used your instructions to restore it to the factor shipped ROM, Radio, Recovery image etc but cannot find a way of restorin the bootloader.

Everything I read says that this cannot be done. Is this true ?

If so, I advise that you add a warning in your instructions that reinforce the messages that are in fastboot and 'on screen' that people doing this will void their warranty forever.

The Nexus seems to be a different beast in this respect. I have had a number of WinMo HTC phones and the Hero in the past. IK played with all of them and never have had a problem with returning to a factory ship condition when I needed.

If anyone has a vise on how I can get the Flash LED fixed, I would deeply appreciate it.

Prem
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
Currently, once the bootloader is unlocked, you can not relock the bootloader. Chances are you messed up your LED by flashing your LED at high speeds using the nexus torch.

As for a warning, see the photo below. Do you think HTC was kidding with that message?
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
Questions (rooting, unlocking, flashing, etc.)

Ok so i've done some prior research before posting but i still have not gotten all the answer im looking for. i hope some of may be able to help me out and this will probably help other noobs like me.

i've looked at a number of sources (xda, modaco, cyanogen wiki, androidandme, theunlockr, etc.) and i think i can unlock and root on my own but my goal is to really slow down the process and understand what is happening at each step.

Final step is to flash using the newly installed recovery:

Is the ROM installed in this step what gives us root?

What are the differences, advantages, disadvantages of the different ROM's that can be installed at this stage?

(All rooted: Stock, Stock with ERE27, Stock ERE27 himem, Addon, Addon with ERE27, CM 5.0, CM 5.0 with ERE27)

Which have/allow OTA upgrades, tethering, more apps to install, app limitations, or other performance stability aesthetic goodies?

Which do you think is the best route?

If the phone is SIM/carrier unlocked and you root do you have to SIM unlock again?

How much space is there for apps? is using the sd card really necessary?

Thanks in advance!!!

EDIT: eliminated some stuff to not overwhelm...
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
There is NO need start a new thread. Can a mod merge this with the 101 thread and I'll answer them there in general FAQs once it's done. He/she does have some valid questions but most of them CAN be found by searching.
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
sorry... i'll look through forums a bit more i guess...
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
ok i have a separate set of questions then the thread i posted:

does using image files or zips yield the same result? or does one operate differently?

when you do "flash zip from sdcard" or "fastboot flash image" does this merge and overwrite the files in to the partition?

which partition does "flash zip from sdcard" affect?

does wipe completely clear the partition in question above?

does radio need to be updated first as in th3fallen's thread or can it be updated later since ERE27 works with the old radio?

in th3fallen's thread why is addon0.1 installed before radio update if it is going to be installed again at the end? is this not redundant?

are the radios posted by Cyanogen, Enomther and Modaco all the same?

is cyanogen's ERE27 rooted?

can modaco's superboot 1.1 and cyanogen's addon bacon basically be used to root any ROM with any update (ERD79, ERE27) and any radio? same with addon 0.1 bacon?

BOTTOM LINE: i am trying to figure out what is wiped? when do you need to wipe? which files are the same? rooted? secure? which files include what? when don't you need to wipe and can install right on top of whatever you've got?

if i figure this out then i can freely do everything on my own with full understanding of what is going on inside...

Any help is much appreciated.

I know i have a lot of questions, i just like knowing how things work and i am naturally curious.
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
Ok.

I updated the FAQ on Post #1. Remaining questions, I'll answer here since it's not general FAQ.

Wipe will erase custom data on userdata.img. Your personal information will be wiped. Sometimes, wipe is needed for specific ROM. The ROM chef will tell you when it is needed.

For now, radio can be updated or not at all. Your choice. You can update now or later. Your choice. It may not be the case with later updates.

Are the radios posted the same. As far as I know, yes. The rom chefs do not (normally) cook radios. They cook kernels and system images. Radio is a very very very very bad thing to mess with. Messing with radio or the wrong radio will be the only reason why you will have a bricked phone. All other stuff is generally fixable with a flash of this and a dash of that.

Is cyanogen's ERE27 rootet? I believe so. Try it if it is not rooted, there is enough info floating around on where a "rooted" boot image is. I am not cyanogen so I can not answer in detail for his ROM. I use it to learn from it.

Modaco's Superboot and cyanogen's addon: Hummm... You have to understand that root (gaining SU) is done at the boot.img. You need to understand the basic functioning of linux (although android is not 100% linux perse). There are some good books on that if you want me to point you that way. In short. I think they can be used but most likely not since root is a patch to a specific kernel image. With the wrong kernel image and kernel decencies, things will have to be changed.

I think it is a good thing you are willing to learn and asking. Best is that you should try to understand linux a little ( not that I am Linux T.). Then google does have a ton of documentation on Android and how it works and why it works.

Enjoy.
[Nexus One Q&A, Help & Troubleshooting] Mikey:
Ummmm i have a question: How do you make my Nexus 1 smile back at me??

I thought that would put a smile on your face, on a day after this snowy day :)
[Nexus One Q&A, Help & Troubleshooting] thirdshiftdj:
I'm about to crazy. I've checked and searched everywhere but I'm stuck at the rooting process. I had no problems running fastboot and unlocking the bootloader. I just dragged the fastboot-mac file over into terminal and that worked. So I assumed it was the same for superboot. I can't for the life of me figure out how to run the command to install the superboot image.

edit: Correct me if I'm wrong but the process should go: unlock bootloader/root/flash recovery image/ flash custom Rom ?
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
refer to Modaco's website for Superboot instructions but here is the skinny:

make sure you have the appropriate Superboot version (ERD79 if you're system is on ERE79...)

Thread on Modaco's website with this info.

you have the right idea as to how the process goes except for root. root is granted in the final step when you flash a new ROM or update or addon or superboot
[Nexus One Q&A, Help & Troubleshooting] thirdshiftdj:
I have the instructions, but I dont know how to open terminal to the directory path of superboot
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
ok im not a mac user but here is what you need to know to navigate around in terminal to get to the desired directory. i hope this helps otherwise i'll shut up and let someone more experienced help you. google mac terminal guide if you want...

commands in terminal:

ls - this lists the files and folders in the current directory

cd foldername - this changes directory to the folder named "foldername" that must be in the current directory

cd .. - move up one folder

using these three commands you should be able to navigate to the Superboot folder. In Windows Vista and 7 there is a shortcut: hold shift anywhere within the folder and right click and it gives the option to open terminal right there... i dont know if there is something similar for macs... again im not a mac user.

example: (you are in Home>Documents but Superboot is in Home>Downloads)

thirdshiftdj/Home/Documents: cd ..
thirdshiftdj/Home: ls
Documents
Downloads
Pictures
Movies
etc...
thirdshiftdj/Home: cd Downloads
thirdshiftdj/Home/Downloads: ls
Superboot
thirdshiftdj/Home/Downloads: cd Superboot
thirdshiftdj/Home/Downloads/Superboot: chmod +x install-superboot-mac.sh
thirdshiftdj/Home/Downloads/Superboot: ./install-superboot-mac.sh
[Nexus One Q&A, Help & Troubleshooting] thirdshiftdj:
Thank you! I was trying to do it from desktop and it wouldn't work until I tried moving it to downloads instead. Maybe i did something wrong but it looks right now.

"Kevins-MacBook:superboot kevin$ chmod +x install-superboot-mac.sh

Kevins-MacBook:superboot kevin$ ./install-superboot-mac.sh

sending 'boot' (2066 KB)... OKAY

writing 'boot'... OKAY

Kevins-MacBook:superboot kevin$ "

So I'm rooted correct? Now I can flash a custom Rom?

Why does it say unable to start wifi? Should I have used ere27 w/ himem? Also when I open Superuser Permissions in the app section it doesn't show anything.
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
yes you are rooted. basically you could have installed a ROM after you unlocked bootloader and installing Amon_RA's recovery would help... you didnt need to gain root to install custom ROM

if you have Bootloader unlocked and Amon_RA's recovery then just install CyanogenMod 5.0 beta 5 or Enomther's ROM 1.5.1 these two ROMs already have the ERE27 and are rooted... you may need to update your radio for CM5b5 but Enomther explicitly states that his ROM will work on the old radio as well so that is a safer bet.. DONT MESS WITH RADIOS I ASSUME NO RESPONSIBILITY IF YOUR DEVICES GET DAMAGED IN ANY WAY.

if you want stock ROM + stock ERE27 + root then install in this order:

install stock ERD79 then stock ERE27 update then superboot OR addon 0.1 makin bacon

follow guides present here on the forums.. sometimes the ROM creator may have special instructions like WIPE... just follow their instructions.

i don't know what your setup was but you should have used the superboot that matched your ROM version. i dont know the answers to your other questions.
[Nexus One Q&A, Help & Troubleshooting] thirdshiftdj:
I got everything all set. I flashed the recovery image and cm beta 5 and everything is all well and dandy. I just need to search around for answers on how to add the google addons like Market
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
Google addon is posted on the CM5b5 thread just download it and apply it as you did with CM5b5

congrats you're done.

yay i helped someone despite being a noob... lol
[Nexus One Q&A, Help & Troubleshooting] thirdshiftdj:
Seriously, you've been a huge help. Thanks bro. I owe you a beer if we ever cross paths in life.

edit: Okay I'm having trouble w/ the google addons. How do I flash it. I was told using fastboot like RA recovery image.

edit: I realize you do it in recovery. Which I have and it says "installation aborted"

Install from sdcard..

finding update package...

opening update...

verifying...

e: no signature (122 files)

e:verification failed

edit: So I download the gapps addon. Which is supposedly a zip. I go into recovery and throw it on my SD card and try to flash from zip and it says "no zip files found" I even tried renaming it and zipping it and thats when I get the error up above.
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
thirdshiftdj's troubles have been solved...
[Nexus One Q&A, Help & Troubleshooting] tizzl10:
greetings all...

i am trying to adb the wifi fix services file into my nexus one but adb reports device is offline. any tips? thanks.
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
do you have the usb drivers installed?

or

Go to Settings > Application settings > Development > USB debugging (enabled?)
[Nexus One Q&A, Help & Troubleshooting] tizzl10:
yes sir, i have all that enabled and the usb drivers. i have been working on this for hours, reading different forums, etc..cant figure it out.

also, i can successfully issue abd commands (adb start-server, adb kill-server, etc) but it reports device offline when i try to adb remount.
[Nexus One Q&A, Help & Troubleshooting] tizzl10:
C:\Users\jt-alienware\Desktop\tools>adb devices

List of devices attached

HT9CTP816352 offline

C:\Users\jt-alienware\Desktop\tools>adb devices

List of devices attached

HT9CTP816352 offline

C:\Users\jt-alienware\Desktop\tools>
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
try

adb restart-server
[Nexus One Q&A, Help & Troubleshooting] tizzl10:
that just returns the help menu. should i start over from the beginning perhaps?
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
Come join us on IRC.

irc.freenode.net

#cyanogenmod

I am usually there as well as many other tons of helpful people.
[Nexus One Q&A, Help & Troubleshooting] nilart:
Well, I have readed through all pages and although I have learned a lot of still have things a little messed up on my head :P

I usually don't fear to do all this, but everytime i read the "brick" word it scares me as i dont want to lose a new phone :S

So, here goes a few questions:

So, About the Highmem mod? Does it affect SPL?

---

As for the ROM: is 2.6.29-bacon1shade@toxygene the stock ROM or a modified one?

Once you have fastboot unlocked and recovery installed, you can try various ROMs without risk right?

Can you go back to Stock ROM and Stock Recovery after installing a custom rom and amon ra's recovery?

Thanks in advance.
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
Highmem mode is a kernel patch (boot partition) No SPL

As for ROMs, you have to try them out. I will NEVER recommend one over another.

Everytime you flash, there is a risk of your image being the wrong image. If you flash the radio, make sure you have enough juice. Any other flashes can be reflashed.

You can ALWAYS go back to stock ROM/Recovery anytime you want. I don't know why but sure.
[Nexus One Q&A, Help & Troubleshooting] h11g:
Guys after i tried to flash the superboot ere27 from modaco to my n1, my phone's wi-fi capabilities are gone. it says there unable to start wi-fi. how can i solve this? many thanks :o
[Nexus One Q&A, Help & Troubleshooting] nilart:
Thanks for reply. So...

I bought a Nexus One with Bootloader already unlocked and super root installed (i have an icon of a ninja named superuser permission) but don't know if I have any rom installed (i guess not) but just for security, is 2.6.29-bacon1shade@toxygene the stock or a modified one?

So, at this point, I should install android sdk/fastboot, intall RA Recovery Image (recovery-RA-nexus-v1.5.3.img?), then make a nandroid backup, and finally flash the rom I want, right?

What about the highmem patch? Is it included in any modified rom or should i install it manually? in which step?

thanks again :D
[Nexus One Q&A, Help & Troubleshooting] Worsty:
Well, looks like your phone is already on cyanogen's custom rom (i'm not sure which version though) and most probably already with RA Recovery flashed already. And i'm pretty sure himem has been enabled.

Do you have a task killer to check the number of avail mem while you have some apps opening? If you have like 5 open at the moment and ~100mb free, himem is not enabled. If you have like ~15 open and ~180-190mb free, it's enabled.

If it's unenabled, go check your build at the about phone in the settings and then follow the steps shown in this link.

http://android.modaco.com/content/g...-online-kitchen-optional-root-insecure-himem/

Hope this helps.
[Nexus One Q&A, Help & Troubleshooting] Brajin:
flashing recovery.

This thread is really helpful. After reading through all the pages, I was able to check to make sure my sdk was installed properly. All adb and fastboot commands work properly. I have unlocked my bootloader with fastboot. I have been having problems in flashing Amon's recovery image. When I type "fastboot flash recovery recovery-RA-nexus-v1.5.3.img" I get error: can not load 'fastboot flash recovery recovery-ra-nexus-v1.5.3.img'. I downloaded the recovery file and placed in the tools folder of my sdk as said in Amon's instructions. Does anyone have any tips in flashing the image. Thanks

I posted this same question in the Amon Recovery thread but no one has replied. I thought I'de this thread a chance. Thanks
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
fastboot flash [partition name] [location on your hard drive/name of file to flash]

in theory, it should work for you. make sure recovery is the right size (check the md5). Just in case.
[Nexus One Q&A, Help & Troubleshooting] Brajin:
Flash Recovery failed

Ok So this time I types fastboot flash recovery [location on your hard drive/recovery-RA-nexus-v1.5.3.img]

Command Prompt responded with "error: cannot load android/tools/recovery-ra-nexus-v1.5.3.img........I think I'm cursed. I even deleted the recovery file and downloaded a fresh one from amons thread just in case. FML
[Nexus One Q&A, Help & Troubleshooting] evidenc3:
Rename the file recovery.img and put it in the directory with your fastboot.exe.
[Nexus One Q&A, Help & Troubleshooting] Brajin:
Got recovery Flashed

I did have the file in the same directory as the fastboot.exe, but it just did not want to work for some strange reason. Luckily I found another method via superboot instructions to flash to recovery. It took a few extra commands but worked and was easy.

I typed the following to flash recovery in command prompt: hit enter after each line

cd\

cd c:\superboot

fastboot devices

fastboot flash recovery recovery-RA-nexus-v1.5.3.img (and v1.6.0.img latest)

After reading through this thread I have learned a lot about using ADB and Fastboot commands with the xda. Thanks to everyone who helped. If anyone gets stuck with unlocking the bootloader or flashing recovery please PM me or hit me up on gtalk @ brajinvazquez@gmail.com. :)

Nexus One

Latest CMod

16 GB sd

T-mobile G1 (Black)

Latest CMod/Super D

8 GB sd: Ext3: 96mb Swap
[Nexus One Q&A, Help & Troubleshooting] Mikey:
You MAY the fastboot-windows.exe file

from your root files folder :)

So direct your system to that folder.....and then perform the command:

fastboot-windows flash recovery recovery-RA-nexus-v1.5.3.img (and v1.6.0.img latest)
[Nexus One Q&A, Help & Troubleshooting] Brajin:
I had tried that to start, but for some dam reason it just did not want to work.
[Nexus One Q&A, Help & Troubleshooting] Mikey:
How about:

fastboot flash recovery /sdcard/recovery-RA-nexus-v1.5.3.img (and v1.6.0.img latest)

(place image on root of card)

fastboot-windows flash recovery C:\Users\Mikey\Desktop\recovery-RA-nexus-v1.5.3.img (and v1.6.0.img latest)

or

fastboot flash recovery C:\Users\Mikey\Desktop\recovery.img (rename img file to anything)
[Nexus One Q&A, Help & Troubleshooting] sindrefyrn:
I think you forgot the splash1 partition.
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
Splash1 can not be flashed. Neither is the hboot.

When you OEM unlocked, they (HTC) only gave you access to boot, system, userdata to be flashed.
[Nexus One Q&A, Help & Troubleshooting] Nighthound:
When you use fastboot flash zimage xxx, which partition does it write into? Or does it depend on what's in the image file?
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
zimage is a kernel patch file so it'll write to the boot partition where that resides.
[Nexus One Q&A, Help & Troubleshooting] Nighthound:
So if I have a zimage file (eg. zimage-abc) is typing

fastboot flash zimage zimage-abc

the same as

fastboot flash boot zimage-abc

Also, is using flash_image from the phone terminal emulator the same as executing fastboot? eg. can I use

flash_image zimage zimage-abc

from the phone directly instead?
[Nexus One Q&A, Help & Troubleshooting] SiNJiN76:
I couldn't figure out which 'state' the phone had to be in. Used Trial and Error.

I was trying to do ADB commands. When doing ADB commands...the phone needs to be booted up...and then just plugged into the computer, right?

For Fastboot commands...you need to boot the phone holding down the trackball?
[Nexus One Q&A, Help & Troubleshooting] evidenc3:
No the flash zimage only flashes the kernel, flash boot flashes the whole boot partition. a boot partition img should include the ram disk gz in the .img file also. So if you have the kernel always use 'zimage', if you have a boot img always use 'boot'.

I haven't played with flash_image much myself, but that should exist since it does in fastboot, and it doesn't hurt to try. If it doesn't support zimage it should just error.
[Nexus One Q&A, Help & Troubleshooting] evidenc3:
ADB is available when booted up and 'USB Dev' is enabled, it is also available in Amon_Ra's recovery console. Just remember to mount your filesystems up if your doing it from the recovery.

Yes fastboot is booting while holding the trackball.

In all of these cases you need to be plugged into the computer. You can use 'ConnectBot' to do most of it locally, and flash_image can be used in place of fastboot.
[Nexus One Q&A, Help & Troubleshooting] adam18488:
"adb pull xxx yyy - will pull xxx file from phone into yyy location/file on computer (needs rooted access)"

is this function copy and paste or cut and paste?

i want to delete a apk from /system/app u see...going through file manager didn't let me do it.

thanks
[Nexus One Q&A, Help & Troubleshooting] seraph1024:
adb shell

then go to the folder

then rm xxx
[Nexus One Q&A, Help & Troubleshooting] NeoS:
Being a total Android newb, I have a few questions:

1. I've rooted my N1, and installed MoDaCo's Desire Alpha 9. Is it possible to upgrade to a newer version without losing all my installed apps?

2. As I understand, apps2SD is something similar like Winmo's install to SD card, only you will not be given the choice on where to install. That is no problem for me, as I always installed all apps on my SD card on Winmo. Is there an easy way to enable it?

3. I've created an Ext3 partition and a 64MB swap partition. Am I correct that the ext3 partition will be used for apps2SD? And what is the swap partition used for?

Thanks in advance for answering one or more of my newbie questions.
[Nexus One Q&A, Help & Troubleshooting] ktanriverdi:
1. there should be im not sure. it depends on what files the update replaces. if they release a complete final version or something it will likely require you to flash the entire boot partition and your apps too...

2. implementing apps2SD is around the forums somewhere. i dont think its as easy as enabling an option but i've never looked at it... this would solve the problem in "1."

3. as far as i can remember from linux swap is something that allows better performance.. it should be around 2x the amount of RAM (but this was for computers i dont know if the same applies to phones and Android). but i think what it basically does is move some of the running apps in the background to it or something to use RAM on what you're currently focusing? i dont remember. im not a heavy linux user.

i tried answering them... but i am a newb too...
[Nexus One Q&A, Help & Troubleshooting] NeoS:
Thanks for confirming my thoughts on apps2SD. I'm still in the dark about that swap partition though. Considering the Nexus has 512 mb RAM, why would it need a swap partition?

Also, undervolted kernels are new to me too. How big of an advantage are we talking about? Another day of battery life? 5 extra hours of calling?