yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] ganeshp:
dude ..of course your device wil not be detected by adb ..when you are bootlooping...

the only way is to make fastboot (not adb) recognize your device

to do that ...you need to do what i told you 2 posts earlier

EDIT:

click on the IRC HELP CHANNEL in my sinature...and join it with a nickname..

we talk via IRC (group chat)
[HTC Sensation] yahhboy:
Nooooo don't do that, flashing random firmwares is really risky even if you aren't supercided.

I know I just wanted he could get into bootloader and that he was correctly soff

Sent from my sensational sensation 4g
[HTC Sensation] tom8907:
I flashed a random firmwares and I finally got it working.

CIDnum is BM__001 :) thanks for your help guys
[HTC Sensation] ganeshp:
Glad you got it.. But if you first found the cid.. That would have be pretty easy for you :D
[HTC Sensation] david_g_a:
Finding out cid on HTC Sensation

I had the problems others were reporting - with fastboot not finding any devices and adb just saying 'waiting for device'. The solution for me was to run the commands as root (using sudo on Ubuntu Linux). So I found out my cid with the following steps:

1. Downloaded and unzipped the fastboot and adb programs for Linux from the download 'ADB-Linux.zip' at http://xdaforums.com/showthread.php?t=1459767

2. Booted the phone into the bootloader (by holding the volume down key while turning it on). I had to take out the SD card for this as it was causing some program to automatically load.

3. Selected FASTBOOT on the bootloader.

4. Plugged in the USB cable to my computer. The red 'FASTBOOT' on the phone screen turned to 'FASTBOOT USB'.

5. Issued the following commands in Linux:

sudo ./fastboot devices
sudo ./fastboot getvar cid
[Samsung Galaxy Nexus] crookone10:
Does anyone have or know where I can find a flashable file that makes my icons in the status bar look like the actual multicolored icons? Several devices sort of do this as I think the Note and other Samsung devices do...thanks ahead
[T-Mobile Samsung Galaxy S II SGH-T989] alshumary313:
Can someone make a stock ICS Rom, is there even a rom on the t989 like that. There's just ****ty touchwiz ics roms. Even the ones without touchwiz still have the touchwiz apps.
[T-Mobile Samsung Galaxy S II SGH-T989] grawkiller73:
Cm9, blackedition aosp. You fail at life. Research b4 posting.
[T-Mobile Samsung Galaxy S II SGH-T989] foreverloco:
no they're not.....

black edition http://xdaforums.com/showthread.php?t=1531189

cm9 http://xdaforums.com/showthread.php?t=1621678

Learn to research and read before posting and making smartass remarks...
[T-Mobile Samsung Galaxy S II SGH-T989] MissMayI:
ah you bet me
[T-Mobile Samsung Galaxy S II SGH-T989] mikeb85:
Uh cm9 is here but in alpha and black edition by raver should be released soon also alpha but for our phones. Ur response was just as bad as ur post and a little research does help.
[T-Mobile Samsung Galaxy S II SGH-T989] Karakoram2:
Use ravers latest rc 8 experimental or tdj's latest

You can always switch out launchers
[T-Mobile Samsung Galaxy S II SGH-T989] Karakoram2:
The nexus mod one is good too
[T-Mobile Samsung Galaxy S II SGH-T989] CincoDeDrinko:
What a loser. Learn how to do it yourself kook!
[Kindle Fire Q&A, Help & Troubleshooting] snowcraig:
Is there any way to get Amazon Video back when you flash a custom ROM ?
[Kindle Fire Q&A, Help & Troubleshooting] Heelpir8:
Works perfectly fine for me going through the stock browser. Just install Flash Player first.
[Kindle Fire Q&A, Help & Troubleshooting] Badgerino:
I just rooted and flashed Modaco last night.

Downloaded OTA Rootkeeper from Google Play and use that to temporariliy unroot to watch Amazon vids.

You just have to remember to go into Settings/Applications and clear cache and force close the Amazon Vid app before trying to watch a video.

Worked for me.
[Samsung Galaxy Nexus] iGoogleNexus:
As always you are king =]

- Google Galaxy Nexus
[Samsung Galaxy Nexus] IH8XC:
Thank you very much. As someone who is completely green at the android thing, I made it through this instructional with barely a hick-up. I think if I had done as you said and read through the entire post before starting then I might have saved myself some time.

THANKS!
[Samsung Galaxy Nexus] NCguy:
If I have pdanet drivers installed and I can do successful fastboot and adb devices commands does that necessarily mean I am good to go? Or would you still recommend replacing them before I start flashing?
[Samsung Galaxy Nexus] Thegodfather156:
what's the benefits of this over the Gnex toolkit? Just curious as I'm new to the nexus
[Samsung Galaxy Nexus] efrant:
If you have them installed and fastboot is working fine for you, then you are ok.
[Samsung Galaxy Nexus] efrant:
You actually see what is happening step-by-step in this method, in the hopes that you will learn something.

A toolkit does not run you through the steps, so it breeds a new wave of users who don't know how to use fastboot and don't know how to troubleshoot.

http://xdaforums.com/showpost.php?p=2031989&postcount=45
[Samsung Galaxy Nexus] Thegodfather156:
Great thats why I'm here. I wanna learn more about how android works. Thanks for this thread. Also I've read that before. I'm not that noobish
[Samsung Galaxy Nexus] SirRomie:
Does usb debugging have to be turned on for this? Also I have the samsung drivers installed, if fastboot recognizes my phone does that mean that they work correctly?
[Samsung Galaxy Nexus] efrant:
No for your first question, and most likely yes for your second.
[Samsung Galaxy Nexus] gadgetluva:
Amazingly simple guide. I finally got around to doing this, much thanks!
[Samsung Galaxy Nexus] thephantom:
This is the main and only reason why I don't use toolkits. Excellent work!
[Samsung Galaxy Nexus] SirRomie:
I just want to start this post by saying I am very new to this and I do not want to screw anything up. I have the correct files and drivers ready, but when I type the command "fastboot oem unlock" my phone says it is already unlocked. Just to be clear bootloader and being factory unlocked to use with any carrier are two different things?

Also if my phone's bootloader is unlocked, that could mean that the previous owner tinkered with this phone (I think), so am I able to just type in all of the commands that follow the unlock step without issue? Should I wipe my phone anyway? I am going from 4.0.1 yakjuux to 4.0.4 yakju and if so before or after fastboot is done?
[Samsung Galaxy Nexus] efrant:
No problem. We are here to help! :)

Yes, they are different.

Yes and yes.

The procedure will wipe (assuming you do step 10 in part D).
[Samsung Galaxy Nexus] SirRomie:
Thanks efrant for all of your help! I have managed to get 4.0.4 working, however, my playstore doesn't work... It says server error retry also my phone is from the UK so it says playshop now. Anyway to change this and also get it working?

EDIT: clearing data worked. It still says playshop though. Would downloading another locale help? I don't think there was a locale change on the other build yet it said store and not shop.
[Samsung Galaxy Nexus] sagiballs:
flashing alternative radios

Hi efrant,

I have previously done this method and loving 4.0.4. Now I am wondering about trying different radios, as I am in Australia

To flash a new radio in fastboot, do i just type:

fastboot flash radio (radio-maguro-i9250xxla02.img) <- whatever the name of the radio image is

Or do i have to reboot the bootloader, and flash all the other stuff first?

After I flash the radio, do I just reboot the bootloader and that is that... or do I need to flash the system partition, boot partition and erase the cache too?

If I change the radio, I have to return it back to XXLA2 for future OTA updates to install successfully, right

Running:

Stock Android 4.0.4

19250XXLA2

3.0.8-gda6252b

IMM76I
[Samsung Galaxy Nexus] efrant:
All you have to do is to boot into fastboot mode, and type: fastboot flash radio (radio-maguro-i9250xxla02.img) <- whatever the name of the radio image is

I would also type the following: fastboot erase cache

And then reboot: fastboot reboot

Nothing else.

As for your second, yes, you will need to flash back to XXLA2 for future OTA updates to install successfully.
[Samsung Galaxy Nexus] SirRomie:
Well I managed to get everything working. The guide made it as simple as can be. The set-up was the main hurdle, but once everything was downloaded and unzipped, it was a piece of cake.

Thanks again efrant for making this! I finally am happy with my Nexus.
[Samsung Galaxy Nexus] efrant:
Please don't quote massive amounts of the first post. There is no need.

Not sure what you are asking. The post says do NOT install those drivers. If you haven't, then why are you asking if you should skip them? :confused:

If you are asking this question (i.e., do I install the drivers on my GNex or on my laptop), then, no offence, but you have bigger problems that what can be solved by me telling you what to do. You should try and do a bit more reading, before attempting this.

No it should not.
[Samsung Galaxy Nexus] thephantom:
The error you get re fastboot is due to the .exe files not being in the directory when you enter command prompt. It should be in the same folder when you type 'dir' in cmd
[Samsung Galaxy Nexus] efrant:
First of all, you need to take a deep breath. Everything has already been explained in many places.

There are TWO drivers that need to be installed -- it's actually the same driver, but it needs to be installed TWICE: once when your device is booted normally, and once when your device is booted in fastboot mode. For the purposes of this guide, the only one that matters is the driver for fastboot mode.

To test it out, when you open a command prompt, MAKE SURE YOU NAVIGATE TO THE

SAME

DIRECTORY AS YOUR FASTBOOT.EXE FILE (other wise it will not work and you will get the error you posted) and type: fastboot devices. If it returns a string of numbers, your driver is set up properly.
[Samsung Galaxy Nexus] KingVaroon:
Thank you for responding. I apologize for the PM, I just became very frustrated after so many failed attempts. I understand that there is one driver which needs to be installed twice, not two. I have the driver for the fastboot mode properly installed.

I guess my mistake was that I was not navigating to the correct folder before typing in 'fastboot devices'. I'll try that now. Once again, thank you very much for your support.
[Samsung Galaxy Nexus] milets:
maybe i can help you, because he helped me too. everything ( there must be no rar files) must be on c partition in one folder. after that you muct opet cmd ( open folder on c partition where you copied all what needed for update you nexus, open cmd with shift + right click and navigate to open command window here). after that do everything like in first post.

about drivers i also had problems with installation in boot mode (maybe not correct word). i did this. unrar drivers (on some partition , than uninstall previous drivers. restart your pc, turn off internet. plug in you phone (internet is turned off), right click on my computer and click on manage then click on device manager. find android device and right click on update drivers after that click on search automatically for update driver software. then it will find drivers on your pc and it will install it.

it should be like in this picture

http://imageshack.us/photo/my-images/269/harmonywithfbapx.png/

it took me about 30 minutes to do all of this. i had also problem with cmd and device not recognize. just read all over again and ask for help. i updated today to IMM76I and thank you efrant once again.
[Samsung Galaxy Nexus] klappa:
embellishing eserds

Speaking of backup your current build where do i put these files? Directory on the phone or the computer?

http://xdaforums.com/showpost.php?p=21266325&postcount=239
[Samsung Galaxy Nexus] efrant:
Computer.
[Samsung Galaxy Nexus] qosmos:
Hi,

First of all, thank you very much for this very clear tutorial.

I own a GN under yakjuxw, so it is still under 4.0.2.

I am now ready to flash, I have made backups, downloaded the files, installed drivers and tested fastboot mode.

But... I have two questions before flashing (non, don't hit me :D):

I have seen that there are two ways in order to flash the system : what you say in your tutorial, and a single command : fastboot -w update <name>.zip

This command has been explained in the first pages, but my question is the following :

I have seen on other forums that this command flashes only recovery, boot and system, and then, with the "-w" arguments, erases userdata and cache.

Here, you say that flashing userdata.img is needed. So, is erasing enough ?

I have just made a 600 Mb backup with "adb backup -all -shared -apk".

If I flash to 4.0.4 yakju, will this file be compatible with it ? (it contains system parameters, app data and app APKs)

I think that's all. Thank you again for the tutorial, and I hope these questions have not been already asked and answered anywhere in this forum.

Have a nice day.
[Samsung Galaxy Nexus] efrant:
Are you asking if you have to flash the userdata.img file? Technically, no, but you would have to erase that partition on your device and boot into Android, so that Android rebuilds it for you. Can I ask why you are asking the question? There shouldn't be a need to deviate from the steps in the first post...

It should, but I am not entirely sure. Every time you back up system settings, there could be potential issues, but not necessarily.
[Samsung Galaxy Nexus] RajatPatel:
Thankx, Now I'm successfully on "yakju" from "yakjujp" and ROOTED as well...

Just for curiosity, I just wanna ask you that if I update my Nexus via OTA update, will my GN be unrooted? Will I need to root again after updating?:confused:
[Samsung Galaxy Nexus] qosmos:
Well, it was only to understand all what I'll do.

Thank you again, I'll flash asap.
[Samsung Galaxy Nexus] efrant:
Yes, you will lose root (unless you use something like OTA Rootkeeper) so you will need to regain root.
[Samsung Galaxy Nexus] mrlakme:
Sorry for being noob! First time working with electronics!

I followed all instructions and read a lot of the comments.

I have the same problem from the top of this page!

When I type in fastboot devices from the Command Prompt with the extracted Yakju file, it keeps saying 'fastboot' is not recognized as an internal or external command, operable program or batch file.

What do I do? I looked in the Yakju extract and I have 6 IMG files. Boot, BootLoader-Maguro-Primela03, Radio-maguro-i9250xxla02,Recovery,System,Userdata. But not Fastboot.exe like you guys are saying.:confused:
[Samsung Galaxy Nexus] qosmos:
You might have forgotten to download the platform-tools attachment of the first post, which contains some of the Android SDK tools such as Fastboot. If you have done that, you just need to extract it in the directory where you extracted the yakju files.

If you already have Android SDK installed and thought that you did not need to download the files, you must set the environment variable PATH to <dir to SDK>\platform-tools

I hope I could help you.
[Samsung Galaxy Nexus] efrant:
See what qosmos said.
[Samsung Galaxy Nexus] mrlakme:
THANK YOU SO MUCH! Its kinda funny cuz I read everything from Top to Bottom... Didnt notice the attachment file underneath! Eveything went smootly!

Thank you for the amazing guide! :p:p:p
[Samsung Galaxy Nexus] dw_xda:
Does encryption matter?

I am thinking of putting yakju on my Virgin Mobile Canada Galaxy Nexus with the exact steps you have outlined.

Does it matter that it is currently encrypted? Should I do a stock restore back to an un-encrypted 4.0.1 before I attempt the conversion to yakju?

My thoughts are that it likely doesn't matter, but just wanted to check before I do anything.
[Samsung Galaxy Nexus] efrant:
Encryption doesn't matter because this method wipes EVERYTHING, including /sdcard.
[Samsung Galaxy Nexus] mrlakme:
Hey Efrant!

Do I lock the bootloader when I am done? It says Lock State - Unlocked:confused:
[Samsung Galaxy Nexus] efrant:
According to the first post:

So, no, no need to lock. :)
[Samsung Galaxy Nexus] mrlakme:
Silly me! You are awesome efrant!:D
[Samsung Galaxy Nexus] ChrisAG:
Would I be correct in saying that the only advantage to having a locked bootloader is that a prying thief can't get at your data?
[Samsung Galaxy Nexus] efrant:
Correct. And even then, in addition to a locked bootloader, you would need to have USB debugging disabled, have a lock screen password, and have a stock recovery.
[Samsung Galaxy Nexus] hurrpancakes:
OP provided a great guide to setup! Helped me go from the 4.0.1 on my white GN to 4.0.4 with Google Wallet.

Only issue was with the driver installation. I was having issues figuring out how to install them, so I just used the GNex Toolkit to install the drivers, then followed the rest of the instructions from there.
[Samsung Galaxy Nexus] segv11:
Like efrant said above, for that, you need a locked bootloader, _AND_ stock recovery, _AND_ adb turned off. Otherwise the thief could still get a root adb shell through CWM/TWRP. Of course, once the bootloader its locked though you can't unlock it again without wiping userdata unless you either:

A) have one of the Play Store Nexus phones that don't wipe on unlock

[ see http://xdaforums.com/showthread.php?t=1650830 ]

or B) have root and willing to unlock by writing a 0 at offset 0x000007C of your param partition

[ see http://xdaforums.com/showthread.php?t=1650830&page=15 ]

(Of course a determined thief could STILL find a way to get your data by physically hacking your phone unless you use ICS full-device encryption.)
[Samsung Galaxy Nexus] NCguy:
Very comprehensive answer, thank you and efrant. By "adb turned off" were you referring to USB debugging?
[Samsung Galaxy Nexus] efrant:
Yes, that is what he meant.
[Samsung Galaxy Nexus] saltiel:
Perfect Procedure

Well done step by step procedure. Works perfectly. Very happy with my completely stock GNex GSM now!

:D
[Samsung Galaxy Nexus] ChrisAG:
I have a pattern lock, probably enough to stymie the casual thief.

To be safe I will be activating Cerberus shortly.

I'll keep the bootloader unlocked, want to make it as easy as possible when it comes time to flash JB 4.1!
[Samsung Galaxy Nexus] fpbasilio:
Sorry, I don't have a clear understanding of the security risk of having an unlocked boot loader. How am I at risk? And how can hackers access my data? Through the internet? Or does it mean hacking the phone while they physically have it say if it gets stolen?

I have unlocked boot loader, root, USB debugging enabled.(need to be on for titanium backup I think ). Stock recovery and have lock screen

Sent from my... who cares anyway?
[Samsung Galaxy Nexus] segv11:
We're taking about what happens if someone steals (or "borrows") your device:

With an unlocked bootloader it is easy to connect the USB to a computer, adb reboot bootloader, fastboot boot CWM, adb shell (as root), and get your data.

Also, if you have root, you _MUST_ turn off USB debugging when you are not using it! The adb shell is _trusted_ by Superuser (and SuperSU), and you are not prompted for permission. If you leave USB debugging on and somebody gets your phone even for a minute, they can get your data through adb without so much as a reboot.
[Samsung Galaxy Nexus] efrant:
As segv11 said: it only makes a difference if someone physically has your device, not over the internet. And obviously the person that stole your device would need to be knowledgeable about Android.

As was mentioned previously, if your data is that important that it needs to be secure (and I don't understand what kind of data that a person would have on their device that would fall into that category), you need the following:

1) USB debugging set to OFF in developer settings;

2) the stock recovery;

3) a locked bootloader;

4) a lock screen password;

5) encryption turned on in settings.
[Samsung Galaxy Nexus] ChrisAG:
Banking and email login and passwords.

Login names are easy (usually populated automatically); are passwords stored on the device in such a way that an experienced hacker can get them?

That's one reason I use a pattern lock, so nobody can access the phone in the first place.
[Samsung Galaxy Nexus] efrant:
I agree that is a good reason to use a lock screen password/pin/pattern/etc.

But if someone stole my phone, I would change my passwords regardless.

I was more referring to data that needs to be secure, e.g., confidential information, etc.
[Samsung Galaxy Nexus] ChrisAG:
Girlfriends don't like naked photos of them stolen from your phone and put on the internet ;)
[Samsung Galaxy Nexus] segv11:
You can have the best of birth worlds, with a little hacking:

1) I use Tasker + Secure Settings to turn USB debugging on at home, and off elsewhere else.

2) I keep stock recovery, but I have a copy of TWRP on device that I can flash using dd to copy it to the recovery partition.

3) I keep it locked, but can unlock it by using dd to write to the param partition.

4) Of course, and a longish one. But I use Tasker to "disable keyguard" when I am at home, for convenience.

5) Nope. I'd love to, but first we need a custom recovery that can mount encrypted volumes, so I can continue taking nandroid backups.
[Samsung Galaxy Nexus] efrant:
It's almost here. See this post.
[Samsung Galaxy Nexus] TomPzh:
Thanks...
[Samsung Galaxy Nexus] segv11:
Wow! And some people were complaining on other XDA threads that development was "dead" on TWRP. Between largefile support and encryption TWRP has _very_ active development.
[Samsung Galaxy Nexus] faizo:
Thank you for such a detailed guide. It worked well and now I am on Yakju!

Question:

4) WHEN you get the update notification, IF you want it to install automatically, you will need to ensure that that you are using the corresponding boot, radio and recovery images for the .tgz package you downloaded. Otherwise, the update will not install automatically, but it will install using a custom recovery like CWM. See this thread for details.

^ Does that mean that I cannot accept an OTA update? Where would I get the radios/recovery images? Is this a must?
[Samsung Galaxy Nexus] efrant:
What that is trying to say is that if you "skipped" the optional steps in part D, there is a chance that the next OTA update will NOT install. To be sure it installs, make sure you do the optional steps in part D.
[Samsung Galaxy Nexus] faizo:
I see.

I did all of part D except #12...

Hopefully it's ok!

Your guide rocks!
[Samsung Galaxy Nexus] efrant:
If you did not do #12, the OTA will not install automatically. You will need to install it manually via whatever custom recovery you are using.
[Samsung Galaxy Nexus] faizo:
Can I just redo #12 without loosing data or redoing everything?
[Samsung Galaxy Nexus] efrant:
Yes of course. However, you could always keep you custom recovery, and when you the next OTA update is pushed out, just follow the steps in the "update" link in my signature.
[Samsung Galaxy Nexus] faizo:
Great.

So if I want to redo D#12... I just go back to bootloader and do that step?
[Samsung Galaxy Nexus] faizo:
Thank you ! :)
[Samsung Galaxy Nexus] fpbasilio:
Thanks guys! I have a better understanding now. I now turned off USB debugging. Have stock recovery and have lock screen pattern.

Sent from my... who the f cares?
[Samsung Galaxy Nexus] efrant:
I have an unlocked bootloader, a custom recovery, USB debugging turn on, and a lock screen pattern. ;)
[Samsung Galaxy Nexus] BelowTheHeavens:
If I am already rooted should I just place the file on my sdcard and boot into the bootloader?
[Samsung Galaxy Nexus] ralph_sdino:
Great!

Thank you! Your guide worked great with my yakjuxw device. I'm on yakju now without any problems!:laugh:
[Samsung Galaxy Nexus] efrant:
Did you read the guide? Have another read before proceeding please.

Files go on your computer, not phone.