Wiped internal storage - how do I flash a rom? - Samsung Galaxy Nexus

My son accidentally wiped internal storage. He does not have a backup on his pc. He has twrp. How can he flash a rom? The pc does not see his internal storage.
Sent from my Nexus 7 using Tapatalk 2

You should be able to adb push a rom.zip you may have to mount data in twrp
Sent from my Galaxy Nexus using Tapatalk 2

If you can access adb from TWRP recovery, you can adb push a ROM to the internal memory and flash it.
Or, you can download the device's stock fastboot files and use them to flash back to stock.
Note: Don't use toolkits.
Sent from my Galaxy Nexus using Tapatalk 2

infazzdar said:
If you can access adb from TWRP recovery, you can adb push a ROM to the internal memory and flash it.
Or, you can download the device's stock fastboot files and use them to flash back to stock.
Note: Don't use toolkits.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
would you mind walking me through how to do that? i can get to recovery but im rattled on using adb.

Do you have the sdk set up? Copy the ROM to the platform_tools directory and open a command prompt there. Then...
adb push NAMEOFZIP.zip /sdcard/
Sent from my Galaxy Nexus using Tapatalk 2
http://forum.xda-developers.com/showthread.php?p=23229558
http://forum.xda-developers.com/showthread.php?p=29733879
If you don't have the sdk installed you can get the tools from the first post in this thread...
http://forum.xda-developers.com/showthread.php?t=1626895

3rdstring said:
Do you have the sdk set up? Copy the ROM to the platform_tools directory and open a command prompt there. Then...
adb push NAMEOFZIP.zip /sdcard/
Sent from my Galaxy Nexus using Tapatalk 2
http://forum.xda-developers.com/showthread.php?p=23229558
http://forum.xda-developers.com/showthread.php?p=29733879
Click to expand...
Click to collapse
Worked. Thanks a million.

Related

[Q] How to adb push a zip ROM through cwm recovery?

Hi guys
I would like to know how i can push a zip ROM through cwm recovery to my Gnex because i have a problem, my phone dont want boot and only i can see fastboot mode and Recovery mode and i dont have a nand backup or a ROM file on my SD memory to flash and fix this problem, someone can help me with this??
Adb push nameofROM.zip /sdcard/ nameofROM.zip
I also believe you have to go to Mounts and Storage and unmount system in CWM beforehand.
Someone double check me but I wouldn't remember it fully unless I had to do it again.
Had to learn how to do this myself recently.
Sent from my Galaxy Nexus using Tapatalk 2
I Am Marino said:
Adb push nameofROM.zip /sdcard/ nameofROM.zip
I also believe you have to go to Mounts and Storage and unmount system in CWM beforehand.
Someone double check me but I wouldn't remember it fully unless I had to do it again.
Had to learn how to do this myself recently.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
thanks but i need more information about this not help me at all.
Connect your phone to your pc,open CMD and use the code below:
adb push {file path} /sdcard/{file path}
Use my guide.
Particularly post 1 to set ADB up if you haven't.
And post 3 (panic section) for this exact scenario.
Had to do this recently.
In mounts and storage mount /data
Then
Adb push ROM.zip /data/media
Then unmount and it should be there on the root of your "sdcard"
Sent from my Galaxy Nexus using xda premium
Jubakuba said:
Use my guide.
Particularly post 1 to set ADB up if you haven't.
And post 3 (panic section) for this exact scenario.
Click to expand...
Click to collapse
Thanks i do all in your guide but i have a problem when im going to open ADB this dont want star, what happens there???
OK guys THANKSSSS DONE!!!:good::good::good:
ÜBER™ said:
Had to do this recently.
In mounts and storage mount /data
Then
Adb push ROM.zip /data/media
Then unmount and it should be there on the root of your "sdcard"
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
THANKS
been tryin to get this done for 2 hours
finially used:
CWM mount data
adb push ROM.zip /sdcard/
CWM unmount data
Hi, my phone seems not to be detected by my computer.
I'm sick of this boot loop after trying to install ARHD 12...
I can still go into HBOOT menu etc.
Please I need your help, commands like "fastboot getvar cid" aren't working. I just get a message saying 'fastboot' is not recognized as an internal or external command
Thank you...

sd formated,urgent help!

i was trying to install a rom,and in the CWM i formated the sd along with the others by mistake,now i can't reach the rom i transfered and the phones won't boot for sure
i tried to flash the google stock with gnex toolkit (using step 9) and i downloaded the file but it fails and what is shown to me is what you have in the attached image,it gets stuck at the "sending radio"
what should i do,i really need urgent help here
please just know that i'm a total noob so please tell me what to do step by step so i could understand
What Nexus do u have gsm or verizon? If it's Verizon you picked the wrong version and it's flashing a gsm radio. If it's gsm it could be a bad download or you picked the wrong version not too sure about that I have a Verizon nexus
Sent from my Galaxy Nexus using xda premium
it's a GSM,and i chose the right version stated in the toolkit thread and the one i installed the drivers and unlocked the bootloader and rooted the phones with it
is there a way to transfer a file in the CWM mode? can i transfer the rom in this mode?
You should do these commands in fastboot instead of using a toolkit.
Here is a step by step guide how to get back to stock. http://forum.xda-developers.com/showthread.php?t=1626895
Edit: to answer you question about pushing a file in recovery, you can. You must use adb. The command is adb push nameoffile.zip /data/media
Sent from my Nexus 7 using xda premium
i installed the sdk and found the adb.exe in the platform tools folder now what should i do?!! should i transfer the rom .zip to the same directory of the adb.exe?
Put the zip in the same folder and hold shift and right click select open command prompt here. Then adb push the zip onto your phone.
You got clockwork recovery? If so, you need cwm flashable version of radio, boot loader and ROM
Sent from my Galaxy Nexus using xda app-developers app
rok3r said:
i installed the sdk and found the adb.exe in the platform tools folder now what should i do?!! should i transfer the rom .zip to the same directory of the adb.exe?
Click to expand...
Click to collapse
Yes move it to the same directory. Open the command window in that directory. (Shift+right click > open command window here)
Then type: adb push rom.zip /data/media
Sent from my Galaxy Nexus using xda premium
OMG!!! Device not found,same message i got in the toolkit when i tried to push the files (((((((
drivers?
Yes most likely a driver issue. Type adb devices in command. If if returns a device number everything is set up correctly. If not reinstall the drivers.
Sent from my Galaxy Nexus using xda premium
If you are trying to push in bootloader adb won't work. Get in to recovery cwm works fine than do the adB push
THAAAAAAAANNNNKKKKSSSSSS!!!
seriously thanks for the help,i am totally new to this and felt like i killed my phones with my inexperienced self
i was a driver problem and i used the toolkit to uninstall and install again the driver and then used the toolkit to push the files but it said something like adb is already in root access or whatever so i headed to the adb.exe and it did it!!!!
thanks man for the great help again!!!!!:good:
this will make me learn to do a nandroid hahahaha
@atifsh i was in the CWM,it was a driver problem after all,thanks for your reply

Need Help ASAP

Sorry if this is the wrong thread.
The run down. My phone is bootloader unlocked rooted etc. already flashed xenon rom and everything was great. (Just got the device today)
Ok so here's the trouble i'm in. I decided I wanted to try another rom so i boot into clockwork recovery wipe system,data cache etc. suddenly all my files dont exist.
I have no back up file (my stupidity). I can still get into fastboot, clockwork etc, but it does not recognize a sd card on the device.
i tried loading up Samnsung Toolkit v7.8.0 and all i see in the top menu is
fastboot-toolkit is not recognized as an internal or external command operable program or batch file
adb-toolkit is not recognized as an internal or external command operable program or batch file
this is what worries me. I plug the device in on my windows computer it recognizes something no sd card.. currently downloading factory images
BUT WHAT DO I DO?!!!! pls help and pls do not flame me etc. All I'm asking is simple help thanks
http://forum.xda-developers.com/showthread.php?t=1626895
A. Do not use toolkit. Unless you know how to solve things manually
B. Google how to setup adb and fastboot.
C. "adb push NAME_OF_ROM.zip /sdcard/" while on custom recovery
D. Flash that ROM
kyokeun1234 said:
A. Do not use toolkit. Unless you know how to solve things manually
B. Google how to setup adb and fastboot.
C. "adb push NAME_OF_ROM.zip /sdcard/" while on custom recovery
D. Flash that ROM
Click to expand...
Click to collapse
thank you will try that...question when i goto recovery mode its clockwork...when i hit mount sdcard nothing happens.
kyokeun1234 said:
A. Do not use toolkit. Unless you know how to solve things manually
B. Google how to setup adb and fastboot.
C. "adb push NAME_OF_ROM.zip /sdcard/" while on custom recovery
D. Flash that ROM
Click to expand...
Click to collapse
also when tryin to access card via clockwork it states it cannot located directory...its like my sdcard does not exist
There is no sdcard on the gNex. As long as data is mounted you should be good
Sent from my Galaxy Nexus using Tapatalk 2
1st of all, Gnex doesn't have SDcard, therefore, you can't mount it. You can only use adb to push and pull files on recovery
2nd, are you sure you got proper driver? Do you actually have the ROM.zip on the same directory as adb.exe? If not, you need to do that. Also, if /sdcard/ doesn't work, /storage/sdcard0/ should work. It's a same directory. Just in different name for some reason.
3rdstring said:
There is no sdcard on the gNex. As long as data is mounted you should be good
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
just wanna say thanks guys!!!. i tried pushing as filename which pushed but still couldnt find it...decided to name the file update.zip and push then flash update zip and bang it worked i'm back up..dont know why my files disappeared but whatever i'm back up so i'm happy..thanks again
Gnex was a pain to get all the drivers installed, once they are Its a breeze to work with
Sent from my Galaxy Nexus using xda premium
daeshawn said:
just wanna say thanks guys!!!. i tried pushing as filename which pushed but still couldnt find it...decided to name the file update.zip and push then flash update zip and bang it worked i'm back up..dont know why my files disappeared but whatever i'm back up so i'm happy..thanks again
Click to expand...
Click to collapse
Just glad we helped
Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz
rsswga said:
Gnex was a pain to get all the drivers installed, once they are Its a breeze to work with
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
+1
Sent from my Galaxy Nexus

[Q] Wiped phone and can't get a sideload or a push to work

I did a noob move and tried to wipe my data with twrp. Now I have no rom and can only get into twrp. I have minimal adb and fastboot installed into C: and I have my rom sitting in that folder. ADB devices shows my device in recovery and sideload depending on which I have it set to. Still no combination of adb push or sideload will go through. Am I missing something? I have read a few threads on this b4 posting I just can't seem to get any of those solutions to work.
So what does it say when it doesn't go through? If adb devices lists your device it should work
Sent from my HTC6500LVW using Tapatalk
Abd push with filepath gives me the help command...adb push with just the zip tells me it does not exist. Sideload just gives me the help command.
Sent from my HTC6500LVW using xda app-developers app
I believe you have to go into fastboot to flash the rom
Sent from my HTC6500LVW using Tapatalk
For anyone else that makes my mistake. If u can't get abd to push the zip. Try dragging the zip file into the command window after typing adb push. Thanks to those that helped me.
Sent from my HTC6500LVW using Tapatalk

How to copy/push files to SD card?

I have TWRP recovery installed and want to flash .zips, but how do I get them to the internal sd card?
highaltitude said:
I have TWRP recovery installed and want to flash .zips, but how do I get them to the internal sd card?
Click to expand...
Click to collapse
You need ADB (Android Debug Bridge) installed, and drivers installed. I'm guessing you have that and used fastboot to install TWRP?
Then the command is
Code:
adb push /path-to/file-name /sdcard/
with the watch in normal run mode, not in bootloader or recovery.
You can type "adb ?" in the terminal for all commands.
Ok thanks, I have sent some sideload installs to the watch with ADB and run the image flashing. I just wasn't sure of the commands to get files to the SD card. When you say "path to" that's where the file is located?
Sent from my SM-G935F using XDA-Developers mobile app
highaltitude said:
Ok thanks, I have sent some sideload installs to the watch with ADB and run the image flashing. I just wasn't sure of the commands to get files to the SD card. When you say "path to" that's where the file is located?
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes. To simplify I place the files to push in the same directory as adb. Easier than typing
Code:
C:\Users\myname\AppData\Local\Android\android-sdk\platform-tools\adb push C:\Users\myname\Downloads\Wear\custom\rom.zip /sdcard/
Is there a way to copy files from phone to watch?
Sent from my SM-G935F using XDA-Developers mobile app
Yes, I use the Wear Media app to find files on my phone and push them to my watch via Bluetooth. Then I flash from there. But to get the custom ROM I did have to side load via adb.
https://play.google.com/store/apps/details?id=qubin.de.wearmedia
Sent from my Nexus 6P using Tapatalk

Categories

Resources