Galaxy nexus custom rom problem - Samsung Galaxy Nexus

I tried to install a custom rom on my Gnex(codename android) and i'm stuck at some point. I enter in recovery mode,do a backup,wipe data and when i select install zip from sdcard i can't find the .zip file. What's the problem ?
Sorry for my bad english.

Just put the zip file in the "sdcard" without unziping it.

joooe said:
Just put the zip file in the "sdcard" without unziping it.
Click to expand...
Click to collapse
As you probably now, gnex doesn't have a micro sd card slot. I just have "internal storage", i watched a tutorial and did exactly like that guy.
Search youtube for "How To Load a Custom ROM on the Samsung Galaxy Nexus" i'm not allowed to post url's

Adb works in recovery, if you used fastboot to unlock the bootloader of your device you should have adb:
Code:
adb push <rom_name.zip> /sdcard/
In a terminal/CMD on your computer with your device plugged in

R: Galaxy nexus custom rom problem
http://forum.xda-developers.com/showthread.php?t=1529058
From Gnex with Tapatalk 2

I think he is really new to the Android platform and gnex,
Exactly like he said dont unzip
Sent from my Galaxy Nexus using xda app-developers app

I'm not REALLY new..
I have my phone unlcoked and rooted. I tried with adb push but it doesn't work. Any other solutions ? I did not unzip it.

When you select install zip from sdcard, do you get a list of all your folders on your SD card? Do you know how to navigate to the location of your .zip? If it doesnt show up, then your either in the wrong location or its not a .zip file. Thats really the only two things it could be.

No
I don't have a list of all my folders. I'm pretty sure i'm not in the wrong location and yes,it is a zip file.

Xhexus said:
I don't have a list of all my folders. I'm pretty sure i'm not in the wrong location and yes,it is a zip file.
Click to expand...
Click to collapse
Well something is wrong if you aren't getting a list of all your folders on your SD card. What exactly happens when you select "install from SD card"? Just a blank screen?

Sounds like he wiped /data instead of doing a factory reset
Sent from my Galaxy Nexus

Xhexus said:
I have my phone unlcoked and rooted. I tried with adb push but it doesn't work. Any other solutions ? I did not unzip it.
Click to expand...
Click to collapse
What do you mean it "doesn't work"? What error comes up?
Sent from my Galaxy Nexus using Tapatalk HD

Related

How to Format the SD card storage Partition

Using the latest Axiom ROM I ran into a problem where I can't download into the 'Download' folder of the SD card. It's the default location for the stock browser to download into.
I can pick the save location easily with the opera browser, but don't know how with the stock browser.
Anyway it seems that somehow with the last Axiom flash a new folder also named "download" was created on my SD card.
One is spelled 'download' and one is spelled 'Download'. One is empty and one has weird contents that isn't readable by most file file managers. That one is actually my original one.
I can't delete either one, and I can't download programs into 'download' from the stock Browser. (did manage to delete both with Root Explorer, the original remerged, contacts intact, upon a reboot)
So I want to format my SD card partition.
I tried Clockwork partition SD card. and it didn't work.
I tried resetting all user data from within the Android OS and it didn't do anything to the SD card partition either.
I'm looking for the ADB command to do it.
I found a command to do it on the Hero, G2 touch. It's :
First, on your phone, go into Home -> Settings -> SD card & phone storage, then click on "Unmount SD card"
Then, in your shell, do the following.
Code:
adb shell
mkfs.vfat /dev/block//vold/179:1
Looking for a similar command for the Galaxy Nexus. Thanks.
so you cant use root explorer to rename the one folder to match...or delete one?
droidstyle said:
so you cant use root explorer to rename the one folder to match...or delete one?
Click to expand...
Click to collapse
Nope, root explorer shows one empty file, and the original 'download' is shown as a systems file or whatever is designated by a piece of paper with a yellow shield with a star in the lower left corner. But root explorer can't open any of the contents using any of the options from 'Text Viewer' through 'Rar Viewer'.
I just deleted both of those folders using Root Explorer.
But then I still couldn't save from the stock browser. 'Download failed'.
Then I rebooted and the original 'Download' folder was present with all previous contents intact. I was able to successfully download to it.
Which leaves the original question.
How do you format the SD card partition?
If you don't care about your user data you could lock the bootloader and then unlock it again.
go to the android revolution hd thread and look up the "super wipe" scripts. There is a full and lite version. Although it appears the full version is not yet released. The difference is the full version wipes data/media folder(Virtual sd card).
Izord said:
Thanks maybe answer it and move it out of here.
Or just move it out of here so it will be ignored and never answered.
Click to expand...
Click to collapse
Not sure why you are so negative about the Q/A section.. I personally go through it multiple times a day and try to answer everything I can.. if you want to delete it then relock and unlock your boot loader. That would be the easiest.
Sent from my Galaxy Nexus using xda premium
droidstyle said:
go to the android revolution hd thread and look up the "super wipe" scripts. There is a full and lite version. Although it appears the full version is not yet released. The difference is the full version wipes data/media folder(Virtual sd card).
Click to expand...
Click to collapse
Yes as droidstyle said there isn't any SD "partition" in our GN. The /sdcard/ is actually a link to /data/media, means that they are in the same partition and the storage are being shared. So it is not possible to "format" the SD "partition".
Do not try the old methods, it is not a 179:1 device.
sorry to bring up a dead thread, but if i do the lock/unlock trick while running a custom rom, am i going to be able to boot the phone back up? Will i need to have Android SDK ready to go so i can flash CWM and flash a rom?
thanks
the browser is your download problem
YEAH YEAH i know....... not for questions and answers but what can i say im a postaholic (sorry bout that)
This kid cant download because he is using the stock browser.
If he were to use dolphin or maybe even firefox he would be able to download .
Okay im done posting in the wrong place now
sorry just wanted to help:highfive:
XDA RULEZ
I think there is one option in CWM. Format Storage
joshnichols189 said:
Not sure why you are so negative about the Q/A section.. I personally go through it multiple times a day and try to answer everything I can.. if you want to delete it then relock and unlock your boot loader. That would be the easiest.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Easiest procedure, no need to relock/unlock bootloader:
- 'fastboot erase userdata'
the_kwa said:
sorry to bring up a dead thread, but if i do the lock/unlock trick while running a custom rom, am i going to be able to boot the phone back up?
thanks
Click to expand...
Click to collapse
That's kinda obvious, since all you're doing is relocking the bootloader. Even when unlocking, only thing fastboot does is erase userdata and unlocking the bootloader itself. It doesn't touch /system, boot.img (the rom itself).
Izord said:
Using the latest Axiom ROM I ran into a problem where I can't download into the 'Download' folder of the SD card. It's the default location for the stock browser to download into.
I can pick the save location easily with the opera browser, but don't know how with the stock browser.
Anyway it seems that somehow with the last Axiom flash a new folder also named "download" was created on my SD card.
One is spelled 'download' and one is spelled 'Download'. One is empty and one has weird contents that isn't readable by most file file managers. That one is actually my original one.
I can't delete either one, and I can't download programs into 'download' from the stock Browser. (did manage to delete both with Root Explorer, the original remerged, contacts intact, upon a reboot)
So I want to format my SD card partition.
I tried Clockwork partition SD card. and it didn't work.
I tried resetting all user data from within the Android OS and it didn't do anything to the SD card partition either.
I'm looking for the ADB command to do it.
I found a command to do it on the Hero, G2 touch. It's :
First, on your phone, go into Home -> Settings -> SD card & phone storage, then click on "Unmount SD card"
Then, in your shell, do the following.
Code:
adb shell
mkfs.vfat /dev/block//vold/179:1
Looking for a similar command for the Galaxy Nexus. Thanks.
Click to expand...
Click to collapse
sdcard is a virtual card and is located in the data/media folder. You can use something like root explorer and make any necessary changes there and they will be in sdcard.

[Q] Cant mount "mount /sdcard in CWM

hi guys,
i was coming back from CM10 to stock 4.1.1 on my nexus and when in CWM, i deleted all the content on sdcard by accident.
now there is no zip file on the sd card to install the rom,
I tried mounting sdcard and copy but it doesnt mount.when i press mount /sdcard, nothing happens>(doesnt show the partition on computer and doesnt go ot :unmount /sdcard.)
Im stuck in here and dont know what to do.
please help!
use search, or read a few pages back, you'll find your answer.
sent from my i9250
A quick search yielded this useful thread.
http://forum.xda-developers.com/showthread.php?t=1916108&highlight=recovery+mount+sdcard
i tried ODIN to stock but the ODIN software does not find the phone on any port when it is connected. i installed all drivers but still nothing.
cant i use ODIN for this ? thanks
adb push whateverromyouwant.zip /storage/sdcard0
Since nobody did explain why it can't mount, I will.
GALAXY NEXUS HAS NO SDCARD. It only has folder that is used as sdcard. CWM doesn't know that, thus making that mount feature useless on Galaxy Nexus
Like El Daddy said, connect your computer while your phone is in recovery mode, open cmd on the directory where you have fastboot.exe, then type "adb push ROMNAME.zip /sdcard/". You will also need to place your ROM file into the directory where you have fastboot.exe
Since that's done, please use search next time. There are too many threads talking about this exact problem.
Besides, using adb is more badass
Sent from my Galaxy Nexus using xda app-developers app
kyokeun1234 said:
You will also need to place your ROM file into the directory where you have fastboot.exe
Click to expand...
Click to collapse
or adb.exe, depending on what are you trying to do. one could also add said folder to $PATH and have the commands system-wide to avoid the need of placing files to flash/push on the same folder that the binaries are.
note: if pushing to /sdcard/ doesnt work in recovery, push to /data/media.
sent from my i9250
bk201doesntexist said:
or adb.exe, depending on what are you trying to do. one could also add said folder to $PATH and have the commands system-wide to avoid the need of placing files to flash/push on the same folder that the binaries are.
note: if pushing to /sdcard/ doesnt work in recovery, push to /data/media.
sent from my i9250
Click to expand...
Click to collapse
Thanks for extra info
Just to add (and clarify) a bit to what was said:
1) if we are talking about mounting as in getting read/write access to /sdcard via ADB, it is already mounted by default in CWM. The /sdcard is just a symlink to /data/media, and /data is mounted by default when you boot CWM.
2) if we are talking about mounting as in USB Mass Storage, mounting /sdcard is not possible for the same reason in point #1: /sdcard is just a symlink to /data/media.
kyokeun1234 said:
Since nobody did explain why it can't mount, I will.
GALAXY NEXUS HAS NO SDCARD. It only has folder that is used as sdcard. CWM doesn't know that, thus making that mount feature useless on Galaxy Nexus
Like El Daddy said, connect your computer while your phone is in recovery mode, open cmd on the directory where you have fastboot.exe, then type "adb push ROMNAME.zip /sdcard/". You will also need to place your ROM file into the directory where you have fastboot.exe
Since that's done, please use search next time. There are too many threads talking about this exact problem.
Click to expand...
Click to collapse
Thank you so much, really solve my big problem
so much easier
for those who will come to this thread with the same problem, there is the very simple solution. use any of the Toolkits from this forum ( N-Cry or Nexus 4 Toolkit 2.0 ) and from the recovery menu select install from Sideload, after that launching ( pushing ) the ROM via sideload from the Tookit. Works like a charm.
Mango Polo said:
for those who will come to this thread with the same problem, there is the very simple solution. use any of the Toolkits from this forum ( N-Cry or Nexus 4 Toolkit 2.0 ) and from the recovery menu select install from Sideload, after that launching ( pushing ) the ROM via sideload from the Tookit. Works like a charm.
Click to expand...
Click to collapse
1) this is the galaxy nexus, not the nexus 4
2) just say no to toolkits
3) adb is not hard
4) fastboot is also, not hard.

have my rom backups in flash drive. how to put them back in nexus

i made back up using rom manager premium and then copied these back ups to my pc uisng rom manager , then i shifted them to my flash drive which i can connect via stick mount,, my problem is i want to keep these in flash drive and move in and out when needed , could you guys please tell me how to put them back in the required destination and what is that folder where i should put them
khuzema9 said:
i made back up using rom manager premium and then copied these back ups to my pc uisng rom manager , then i shifted them to my flash drive which i can connect via stick mount,, my problem is i want to keep these in flash drive and move in and out when needed , could you guys please tell me how to put them back in the required destination and what is that folder where i should put them
Click to expand...
Click to collapse
My backups were saved to /data/media/clockworkmod/backups. So either you can adb push your backups to there or you can put the backups onto the sdcard of your phone and use a file manager on your phone to move them to the correct folder.
Powers88 said:
My backups were saved to /data/media/clockworkmod/backups. So either you can adb push your backups to there or you can put the backups onto the sdcard of your phone and use a file manager on your phone to move them to the correct folder.
Click to expand...
Click to collapse
thanx so much for reply. infact i am trying to do it. i am on cm 10.1 and using both root manager as well as both the manager with the rom to put it back when i copy paste the backup, it says successful but they dont show up , neither the memory space is occupied. can you please tell me adb commands as well method for manager
khuzema9 said:
thanx so much for reply. infact i am trying to do it. i am on cm 10.1 and using both root manager as well as both the manager with the rom to put it back when i copy paste the backup, it says successful but they dont show up , neither the memory space is occupied. can you please tell me adb commands as well method for manager
Click to expand...
Click to collapse
Off the top of my head I believe it should be this (assuming you have the drivers installed for adb and usb debugging turned on)
Open Command Prompt
adb pull /data/media/clockworkmod/(whatever the name of your backup is) c:/
this line will copy the backup you want to the root of drive C, if you want it somewhere else just change the last file path
And how can I put it back to he same location
Sent from my Galaxy Nexus using xda app-developers app
khuzema9 said:
And how can I put it back to he same location
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
replace the word pull with push
its one of those basic ADB commands that everyone should learn if they are messing with their phone at all....
just enter 'adb', OP - it will give you all available parameters that adb has and a small description for each, although some are pretty much self explanatory.

Where are adb pushed files saved?

So yesterday I was stupid and accidentally wiped my internal sd when trying to install a rom so ended up having to adb push a rom file with twrp. I pushed it to "adb push ROM.zip /sdcard/" and it showed up in twrp so I could install the rom but now I can't seem to find the rom file anywhere. Any ideas where it might be?
fatmando2 said:
So yesterday I was stupid and accidentally wiped my internal sd when trying to install a rom so ended up having to adb push a rom file with twrp. I pushed it to "adb push ROM.zip /sdcard/" and it showed up in twrp so I could install the rom but now I can't seem to find the rom file anywhere. Any ideas where it might be?
Click to expand...
Click to collapse
since we don't have option for an SDcard.
there is only one place it could be.
on the root of your internal memory folder.
andybones said:
since we don't have option for an SDcard.
there is only one place it could be.
on the root of your internal memory folder.
Click to expand...
Click to collapse
That's what I thought but I still can't seem to find it, it's almost like it was deleted. I only mounted storage when I pushed the rom, would that matter?
fatmando2 said:
That's what I thought but I still can't seem to find it, it's almost like it was deleted. I only mounted storage when I pushed the rom, would that matter?
Click to expand...
Click to collapse
If you were able to flash the ROM it HAD to of been on internal at one point.
andybones said:
If you were able to flash the ROM it HAD to of been on internal at one point.
Click to expand...
Click to collapse
Yeah I know, it's weird... I've tried searching in multiple apps for the file too and they don't find anything. Do you happen to know of any apps that scan for large files? I guess it's not a big deal if I can't find it but I'm kind of ocd about organization and keeping free space lol.
fatmando2 said:
Yeah I know, it's weird... I've tried searching in multiple apps for the file too and they don't find anything. Do you happen to know of any apps that scan for large files? I guess it's not a big deal if I can't find it but I'm kind of ocd about organization and keeping free space lol.
Click to expand...
Click to collapse
I highly suggest "root explorer" but a few nice free file managers are: oi file manager, astro, es file manager.
Def. very weird that can't find it. Any of those apps can see the ROM files. Oh trust me man I'm a bit OCD myself, i understand.
The sdcard is actually 0/storage/emulated
Sent from my Oney Bone.

Cant find the files to install in TWRP

Uploaded the files into folder Download via USB when android/phone fully loaded and working. (SuperUS...or ROM...ot whatever)
Then typed
adb reboot recovery
When TWRP appears it askes for password, i press cancel and a sound is heard...(USB sound)
Then when i enter install menu....it shows vendor maps...system...cache and more.
BUT....the file i have added are not inside any of those folders. The download folder is not visible at all.
i have used 5-6 phones before with no problem at all when rooting and changing rom...or whatsoever. But this phone does not work?
I root the phone? I cant even find the SuperSU files anywhere even if i have saved it on the phone!!!
Can somebody please explain where it goes wrong? How to get the files visible ...the folders visible under twrp as they are seen when USB filetransfer view?
thanks in advance...
Which version of TWRP are you using? I'm stock rooted and had no issues with TWRP 2.8.7.2 and file browsing. I was able to see /sdcard/download with no issues.
Sent from my Nexus 5X using Tapatalk
I too have had problems seeing files/folders. In my case, If the files/folders are created from a phone app (uTorrent for example), they may not appear from a Win7 computer USB/MTP window. Sometimes they show up after the 5X (Pure Nexus ROM) is rebooted, sometimes not. I have resorted to recreating the top-level directory (ie Download) and try again. This usually this fixes it, but not always. I have checked & verified my drivers are the latest from Google. I'm stumped !!
SlimSnoopOS said:
Which version of TWRP are you using? I'm stock rooted and had no issues with TWRP 2.8.7.2 and file browsing. I was able to see /sdcard/download with no issues.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
using twrp-2.8.7.2-bullhead.img
Opened TWRP....pressing install...and there is a lot of folders in there...but NONE of them are visible when booting phone ordinary and choosing filetransfer usb...and uploading the files into download folder.
Where does it go when booting into TWRP i have no idea at all...!!
crowhater said:
using twrp-2.8.7.2-bullhead.img
Opened TWRP....pressing install...and there is a lot of folders in there...but NONE of them are visible when booting phone ordinary and choosing filetransfer usb...and uploading the files into download folder.
Where does it go when booting into TWRP i have no idea at all...!!
Click to expand...
Click to collapse
Hmm. What do you see when you select "Install" in TWRP? Are you taken to the "/" aka root directory? Can you navigate to /mnt/sdcard and see the contents you have transfered onto the phone?
Sent from my Nexus 5X using Tapatalk

Categories

Resources