yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] smohanv:
As someone mentioned, this is wrong section.. But still would like to help you.

It is very hard to Brick Galaxy Nexus. It is a robust phone which i have seen.

1. Download and install http://xdaforums.com/showthread.php?t=1392310

2. Put your phone to fastboot mode. (steps are, remove battery and put back, hold volume up and down together and press power button... It will take you to "Start" screen.. using volume up and down look for bootloader.. once seeing bootloader on the screen press power button.)

3. Connect to your PC having the Toolkit (see step 1 above) installed

4. Download factory image from here, https://dl.google.com/dl/android/aosp/yakju-imm76d-factory-c6e807a1.tgz

5. Copy the above factory image file to the folder "put_google_factory_image_here"

6. Open the "ToolKit.exe"

7. Select option 3

8. Select option 8

9. Wait for the flashing to complete

Your phone will be back to normal with 4.0.4 on it.

Hope it helps.
[Samsung Galaxy Nexus] big_mike_aka_mike:
its step 2 im struggling with everything i try brings up the same screen

like this...

http://a4.sphotos.ak.fbcdn.net/hpho...195650660_613955659_11998868_2026245841_n.jpg
[Samsung Galaxy Nexus] smohanv:
I had issue few weeks ago.. Once you pull out the battery do not put in immediately. Leave it for few min. Now put the battery back. Press and hold both volume up and down together... Then press power button.. continue to hold all these three button until you see "start" in green colour appear..
[Samsung Galaxy Nexus] sert00:
it is a bit different step 2...after holding vol and power like you say,and you see "start" in bootloader screen's,you should not scroll until "bootloader" because there isn't this!(choice are reboot bootloader\recovery\start\power off i remember..)you are already on the fastboot mode.connect the phone on pc and go straight on with step 3.
[Samsung Galaxy Nexus] big_mike_aka_mike:
ok ill keep trying.

many thanks ill report back
[Samsung Galaxy Nexus] smohanv:
Yes. You are correct.. My fault..

Thanks
[Samsung Galaxy Nexus] Jubakuba:
After you get to bootloader and flash factory (links in my guide under "panic")

Use my guide to get you rooted again.
[Samsung Galaxy Nexus] big_mike_aka_mike:
im stuck cant get past this bloody image i posted earlier. battery in or out... plugged in or not plugged in... volume down or middle of volume button pressed!

im screwed .....
[Samsung Galaxy Nexus] Jubakuba:
Can you access fastboot/adb?
[Samsung Galaxy Nexus] big_mike_aka_mike:
abd? sorry but how do i do that? odin can see it when it plugged in if that helps.
[Samsung Galaxy Nexus] Jubakuba:
Woah.

Adb sir.

You should stay away from those toolkits from here out.

You are NOT screwed.

And ODIN recognizing is a good thing.

Use it?

If it doesn't work...

Try my guide (siggy) to set up adb...and I'll follow through when you're done.

to make sure it worked...

Run "adb devices" rather than following the "how to root" steps.

It should list a number.
[Samsung Galaxy Nexus] big_mike_aka_mike:
ODIN fail's doesnt pass like it should.

"Now, place this fastboot.exe file in your C:\android-sdk-windows\platform-tools (or possibly simply called tools, if you set up ADB ages ago) folder."

does the first .exe file create the C:\android-sdk-windows\platform-tools folder for you?
[Samsung Galaxy Nexus] andQlimax:
use the latest odin and it will work

here a thread of a guy that solved it http://xdaforums.com/showthread.php?t=1413779&page=3

here some info about odin http://xdaforums.com/showthread.php?t=1394051&highlight=odin+stock

u can solve it if u want
[Samsung Galaxy Nexus] Jubakuba:
The ADB dummies app does.

Edit:

There is also a 1.3 of odin...

http://www.google.com/url?sa=t&rct=...vBed00cYo5qGMKjtg&sig2=TZqQcfklkJdfez4iwZFKuQ
[Samsung Galaxy Nexus] andQlimax:
The latest is 1.85 , in my previous post
[Samsung Galaxy Nexus] theSpam:
I don't think you're booting into fastboot. To do so, hold down the VOL+ and VOL- keys while powering on. That should get you into fastboot where you can either flash the stock images or install CWM again (in order to wipe/flash another ROM).
[Samsung Galaxy Nexus] big_mike_aka_mike:
tried that. no joy

still trying odin
[Samsung Galaxy Nexus] Jubakuba:
Have you gotten ADB?
[Samsung Galaxy Nexus] andQlimax:
adb will not help him

fastboot or odin probably...but he does not read
[Samsung Galaxy Nexus] Jubakuba:
I'm getting him there man.
[Samsung Galaxy Nexus] big_mike_aka_mike:
i do read but odin isnt doing anything

<ID:0/003> Added!!

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> radio.img

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy Nexus] big_mike_aka_mike:
right im going down your route now dude.

wish me luck. if you could gtalk me could be easier?

mikeontheedge AT gmail.com
[Samsung Galaxy Nexus] big_mike_aka_mike:
installed odin 1.85 does the same as 1.3
[Samsung Galaxy Nexus] andQlimax:
are u using the right file? with the right instructions?

this is the stock 4.0.4 for GSM http://xdaforums.com/showthread.php?t=1586807

if it doesn't work, i don't have other ideas (maybe fastboot will work, but im not sure if u can do fastboot commands looking at the image u posted)
[Samsung Galaxy Nexus] big_mike_aka_mike:
i was trying with a 4.0.2 ill d/l the 4.0.4 and see if that works.

so with odin 1.85 i plug in click pda choose the file and click start that simple right?
[Samsung Galaxy Nexus] andQlimax:
yes..also "Make sure in the ODIN program "Re-Partition", "Phone EFS Clear", and "Phone Bootloader Update" are NOT checked."
[Samsung Galaxy Nexus] big_mike_aka_mike:
ok, when i click pda to find the file the latest 4.0.4 file wont appear any ideas? i can still see the 4.0.2
[Samsung Galaxy Nexus] andQlimax:
are u using the file extracted from here?

http://goo.im/devs/Chainfire/yakju/CF_ODIN_YAKJU_IMM76D_full.zip
[Samsung Galaxy Nexus] sert00:
had at least 2 times problems of gnex hardly compromized...no clue with odin,don'w want to use it on gnex,prefer fastboot,less user friendly but more powerfull in my opinion.in my 2 case,it didn't the trick...only fastboot.
[Samsung Galaxy Nexus] Jubakuba:
You ARE GSM, ya?
[Samsung Galaxy Nexus] big_mike_aka_mike:
yes bud

no mine was from google direct so ill try that link.

i REALLY appreciate ll this help guys.

thanks again

:D
[Samsung Galaxy Nexus] big_mike_aka_mike:
RESULT

so it worked finally odin and a 4.0.4 image from

here

http://xdaforums.com/showthread.php?t=1394051

thanks you so much andQlimax

Jubakuba i couldnt get adb stuff to work. so i just kept trying with odin and sucess..

cheers again all another sucess story.

amazingly chuffed.

thanks
[Samsung Galaxy Nexus] cuoreesitante:
Im having the same issue as you, and I've checked out the post you linked but the OP's links dont work anymore, and I've had no success with the original factory images. Can you share which images did you use exactly? I'd really appreciate it.
[Galaxy S II General] mattisdada:
This is a quick tutorial I want to write up based on a recent experience I've had recently with my micro sd-card. (More info on that below)

This how to shows how to switch between the internal sd card and the external sd cards mounting points (so the external is accessed via /sdcard, and the internal is accessed through /eemc)

The nuts and bolts how to:

0. Perform backups on System, i am not responsible for any damages or boot loops.

1. Download root explorer (or any other file explorer with root privileges)

2. Go to /system/etc, and mount R/W

3. Long press on vold.fstab and select Open With... , select Text Editor

4. You will find a line with sdcard in it a few times, change this section:

To:

5. Do the same thing with the emmc section:

To:

6. But you just flipped the first section around? Yes I did, this changes the mounting points. But not the original location of where it is being mounted......

7. Please don't change anything else in this file....

8. Reboot, enjoy!

I had to do this hax because the current nightly of CM9 doesn't support there being no external sd card, and mine got corrupt (eep!), it then continued to mount the internal sd card location to emmc instead (wtf?). So i did this quick hax so i could take pictures with the stock camera and use several applications which just default to the internal sdcard (and doesn't allow changing that).

Hope that helps some random Googlers......

Note: This has only been tested on CM9 Nightly apr-9th on SGSII, but i see no reason for this not work across all ROMs and devices( with ICS, the emmc thing wasn't on GB and below i don't think) as long as you don't do anything as foolish as change more than the lines specified above.

An example of a swapped file is (DO NOT COPY AND PASTE THIS, YOU PROBABLY WONT BE ABLE TO BOOT):

Please note that the latest CM9 nightlies lets you do this from the system menu! This was written pre that advancement. This is for the curious and other ROMs/phones.
[Galaxy S II General] Zewsan:
Is it possible to use something in the lines of:

dev_mount emmc /mnt/external_sd ? To just bind the external sd to the stock location?
[Galaxy S II General] Snakeforhire:
If I understood your question right, that's the default behavior in CM7/9 so you don't need to change anything.

(internal gets mounted as /sdcard and external as /emmc. At least that's how it always behaved on my device -takes a bit of getting used to but it's manageable once you know the trick)

edit : aw sawry, mistook /mnt/external_sd for /mnt/sdcard. But it changes nothing besides the name of the mountpoint, easily adjustable.. Although why you would want to have it named like that is beyond me, it makes for more keys to hit when typing it... xD
[Galaxy S II General] gnan10:
same doubt raised here ...is it possible to mount external sdcard to /mnt/external_sd instead of mnt/emmc...???

please need solution
[Galaxy S II General] mattisdada:
Its the same technique....

So remember this:

So <label> doesn't really matter, but we may as well keep it sane (and have it the same name as the mount point)! And <mount_point> is where its mounted. Make sure the folder exists first though! leave <part> and <sysfs_path*> alone and it will work correctly.

So if you were to create a folder /mnt/hammertime , then make a line look something like this (taken from my example in first post)

That will work correctly.

Hope that helps! :)
[Galaxy S II General] gnan10:
is there no any requirement of changing build.prop file after doing this....?????
[Galaxy S II General] HAvoktek:
Ok I'll bite, late night tonight I'm going to flash back to AOKP....and give it a shot. It can't be that simple.....

Most certainly appreciate your effort...been looking for this for some time now.l!

:cool:
[Galaxy S II General] mattisdada:
I didn't think so either, but i had the problem, hoped it was like its Linux cousin and searched for fstab, i found it. Swapped the mounting destinations around. And voila, done.....
[Galaxy S II General] jeromepaez:
Swapped but CWM Recovery still the same

Hi, first of all nice guide you did here.

Here's the thing: somehow somewhere by flashing nightlies i ended up

with /sdcard being treated as my external SD while /emmc was for internal.

So I wanted to fix that and using your guide although the other way around

I was able to make it as such: /sdcard = internal storage; /emmc = external storage.

ALL IS GOOD however when i booted to CWM recovery:

CWM still mounts my internal storage as /emmc.

SO in recovery internal storage = /emmc while when in CM9 internal storage = /sdcard

Is there anyway i can change CWM so that internal storage = /sdcard? to be more uniform and not confusing
[Galaxy S II General] mattisdada:
Yeah CWM doesn't read the /system stuff, it has its own partition....

I've got no idea sorry, but its just a little inconvenient in CWM thats all.... But im sure you can check it out... Just search for fstab when you figure out how to explore the recovery partition (I've got no idea :P, short of modifying a flashable zip first and rekeying it.)
[Galaxy S II General] HAvoktek:
Forgot to post back with my results, Got HFS & AOKP to see the changes, however something broke when I did a PC mount. After playing with the lines "Experimentation" if you will, I ended up needing to rebuild my partitions! No fault of yours, I just wanted to see if I can have that functionality through the whole phones usage and features eg. mounting to the PC.

Thanks for the guide though, I'm seeing now that some devs are including the option to use the internal memory via a menu select, I wonder how there implementing that.:cool:
[Galaxy S II General] mattisdada:
Probably something very similar but programmatically instead of the haxy file editing method I'm noting to use :P.

PC mounting is working as per normal for me here though...... (I don't have an external card right now so that may be a variable)
[Galaxy S II General] HAvoktek:
That it is, cause I can see my internal, but it doesn't mount the external.
[Galaxy S II General] hfj00788:
Purpose

What is the purpose of this? Does it mount the EMMC so that the system thinks EMMC is actually an external sd card?

I am trying to figure out if there is a way to make the above mentioned happen. Or is there a way to re-partition it so that EMMC is used as system memory... or maybe even both? It seems that since ICS better integrates with on board memory, there would be a way to better integrate the internal memory of older devices with the system. :confused:
[Galaxy S II General] mattisdada:
This guide shows you how to "flip" the points. Several ROMs have it differently preconfigured. But if this is your current situation:

Emmc: External SD Card
SDcard: Internal SD Card

It will make it:

Emmc: Internal SD Card
SDcard: External SD Card

And vice versa obviously (its a flip).

This guide will do what your wishing it to do.

The folders sdcard and emmc (or there /mnt varient more closely) are just soft links, meaning they don't really exist, but just point to another location. We can modify which folder they are linked to in the fstab.void file.
[Galaxy S II General] bradman117:
so to make emmc to external_sd i change "dev_mount emmc /mnt/external_sd"?
[Galaxy S II General] Dungeon47:
Worked great on a Captivate running AOKP-36 right after a wipe data/factory.
[Galaxy S II General] bluefa1con:
lol you need no guide on cm9

you can switch them in storage settings by a simple checkbox

its mentioned in team hacksung's FAQ
[Galaxy S II General] bradman117:
Im on CM9. Can someone post the code so i can just do a simple copy and paste? I wanna switch emmc to external_sd

(there is no storage settings simple checkbox for me)
[Galaxy S II General] mattisdada:
Never use a copy and paste for the file in this operation. You only need to modify partially two lines (which you can copy and paste from the OP).

Your just swapping two words around really. Its fairly easy, just follow the steps and it will work, it looks daunting at first if your not used to doing this sort of thing, but its fairly easy.
[Galaxy S II General] bradman117:
im just confused... srry lol

this is wut mine says

# internal sdcard

dev_mount sdcard /mnt/sdcard 1 /devices/

platform/s3c-sdhci. 0/mmc_host/mnc0

# external sdcard

dev_mount emmc /mnt/emmc auto /devices/

platform/s3c-sdhci.2/mmc_host/mm1

so how i change emmc to external_sd?
[Galaxy S II General] mattisdada:
Make it like this:

# External sdcard
dev_mount emmc /mnt/emmc 1 /devices/
platform/s3c-sdhci. 0/mmc_host/mnc0

# Internal sdcard
dev_mount sdcard /mnt/sdcard auto /devices/
platform/s3c-sdhci.2/mmc_host/mm1
[Galaxy S II General] kakyyabata:
thanks alot it working greet for me
[Galaxy S II General] bradman117:
Tried it twice... both bootloops...
[Galaxy S II General] mattisdada:
Sure you copied the full thing across correctly? Upload the entire file to a host.....

As the bit you gave me doesn't look correct, there is a space in there when there shouldn't be one......

You can use ADB to explorer to /system/etc and download the file directly.

If your unfamiliar with using the terminal/command line to explorer ADB devices, you can use these tools:

http://androidcommander.com/

Or this one:

http://de.codeplex.com/
[Galaxy S II General] bradman117:
here is my vold.fstab

http://www.mediafire.com/?j9e1a29ear0i1u7

is it possible if u can edit it and re upload? thanks :)
[Galaxy S II General] Spinvis:
Thanks mattisdada, worked perfectly, discovered i had this issue also after i flashed to CM9, panicked, started searching and found this quick fix.
[Galaxy S II General] KappaG9:
Yup this worked for me as well.
[Galaxy S II General] enterume:
[MUST READ] Solutions!

after few hours of google and read the forum about way to fix this problem, finally i found this solution. And it is working on my sg29100g! check this out http://xdaforums.com/showthread.php?t=1536568 .. :cool:
[Galaxy S II General] chillteddy:
i wanna try this cz on PA v0.4 on my galaxy noye titanium backup fc

vl this work with paranoid android?:rolleyes:
[Galaxy S II General] justmiike:
Will this fix make me be able to move apps to the external SD card?

Currently, DroidSail (and every other App2SD app) is moving apps to the internal, and doesn't recognise my external 32gb.

I have mounted emmc to external_sd, but still no cigar. I have also used that Directory Bind app, but no luck. That just mounts it.

Will this method work?
[Galaxy S II General] Eluviet:
I flashed the lastest nightly on my Note today and it has an updated CWM 6.0.0.3 where the Internal SD and EMMC is fixed. Maybe this would help a lil
[Galaxy S II General] leongwenjun:
thanks :)))
[Galaxy S II General] :
Sticky?

Thanks . Good guide . i worked it out without the guide though.

is this stickied if not get a MOD to do that
[Galaxy S II General] j77moduss:
NAND Memory to SD swap - Please Help

Hello,

I have a tabled that has nand memory and a SD card. Unfortunatelly it takes the NAND memory as the external SD so even having a 8gig card I can only install programs with APP2SD to the NAND 2gigs.

I was trying to trick android to point NAND to the externalSD card so I would have 8gigs to install apps ;)

I have tried multiple configurations for the vold.fstab but It just will not work. Any suggestions.

Thanks for the help!!!

This is the original text of vold.fstab

dev_asec_mount nand /mnt/sdcard auto /devices/virtual/block/ndda

dev_mount sdcard /mnt/sdcard/tflash auto /devices/platform/tcc-mmc1.1/mmc_host/mmc1

dev_mount USB /mnt/sdcard/USB auto /devices/platform/dwc_otg.0/usb2/2-1

==============================================================================

tried unsuccessfully:

dev_asec_mount nand /mnt/sdcard/tflash auto /devices/virtual/block/ndda

dev_mount sdcard /mnt/sdcard auto /devices/platform/tcc-mmc1.1/mmc_host/mmc1

dev_mount USB /mnt/sdcard/USB auto /devices/platform/dwc_otg.0/usb2/2-1

or

dev_asec_mount nand /mnt/sdcard/tflash auto /devices/platform/tcc-mmc1.1/mmc_host/mmc1

dev_mount sdcard /mnt/sdcard auto /devices/virtual/block/ndda

dev_mount USB /mnt/sdcard/USB auto /devices/platform/dwc_otg.0/usb2/2-1
[Galaxy S II General] AllAboutAndroids:
Worked like a charm on my AOSP ROM! Thanks :D
[Galaxy S II General] fallen00sniper:
Bit of a noob here, also on a Rezound lol

If I use this switch, will it work based on what is in my vold.fstab?

## Vold 2.0 fstab for HTC Passion
#
## - San Mehat (san@android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...> [optional_flags...]
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
## optional_flags - Determine whether the volume is encryptable or nonremovable
######################

# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard 38 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
[Galaxy S II General] mattisdada:
Sure will, the key works are slightly different, but same technique of switching the folder names around, so yours would be

## Vold 2.0 fstab for HTC Passion
#
## - San Mehat (san@android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...> [optional_flags...]
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
## optional_flags - Determine whether the volume is encryptable or nonremovable
######################

# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
dev_mount sdcard2 /mnt/sdcard/ext_sd 38 /devices/platform/msm_sdcc.1/mmc_host/mmc0

There may be slightly complications due to it trying to mount inside the sd card folder , but I imagine it should work fine (had to swap which one happened first, as you cant mount a folder to a device before its been mounted :P)
[Galaxy S II General] fallen00sniper:
Cool thanks, going to make the change and then flash and see how it works.

Edit:

Seems to be taking longer than I remember to boot, is it possible that this would stop the rom from booting?

Guess so, I reflashed with the 'stock' one. don't think this is going to work for me.
[Galaxy S II General] mattisdada:
Yeah it would stop it from booting, an alternative config is:

## Vold 2.0 fstab for HTC Passion
#
## - San Mehat (san@android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...> [optional_flags...]
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
## optional_flags - Determine whether the volume is encryptable or nonremovable
######################

# Mounts the first usable partition of the specified device
dev_mount sdcard2 /mnt/sdcard-ext 38 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2

Could work....
[Galaxy S II General] fallen00sniper:
Still won't boot, maybe the hardware difference or the fact it is being ported from CM9 source. :confused:
[Galaxy S II General] mattisdada:
Nah saddly thats not the case, its a generalized technique and should apply to most fstab's. Apparently that fstab is setup a bit oddly, so you will need to contact your local ROM dev.

By the way, what exactly is your issue? From the looks of that file your internal memory is getting mounted like normal, and then your external is getting mounted inside a folder on the internal memory.....
[Galaxy S II General] fallen00sniper:
That's how the rez is set up, running cm9 beta right now through boot manager and no mount issue, maybe not the most convent way, but everything is working short of wifi. Lol
[Galaxy S II General] CaptynJaneway:
hey there...this work like a charm on cm9! i flashed a new rom that has jellybean and now the mount points are screwed up...is there any way i can restore them to the original?