So here is a great F*ck on my part.. i formatted system, data, and cache without having a rom ready to install saved on my phone..... How do i push a rom to cwm so i can install it?
Use the gnex toolkit to flash the stock ROM. Its in the first sticky.
Sent from my Galaxy Nexus using xda premium
Or if you can set up adb for your phone. Just download a rom and push it to your sdcard
Sent from my Galaxy Nexus using xda app-developers app
DarrellRaines said:
Use the gnex toolkit to flash the stock ROM. Its in the first sticky.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Just in case the Sticky didn't stick!! Galaxy Nexus Toolkit
Wow toolkit...download a ROM put it in the folder adb is in type:
adb push filename.zip /sdcard
Sent from my Galaxy Nexus using xda premium
Beamer9408 said:
Wow toolkit...download a ROM put it in the folder adb is in type:
adb push filename.zip /sdcard
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
What he said.That is a simple skill everyone that flashes roms should have. Avoid tool kits if possible
You can also mount your pc to storage from cwm and just copy a Rom zip to your storage.
Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
Thanks
I adb's it w/o a toolkit.. should have learned that a long time ago
Stoney 666 said:
You can also mount your pc to storage from cwm and just copy a Rom zip to your storage.
Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
just a note, if you're talking about mounting /sdcard/ in cwm to see the "sdcard" on OS file explorer: afaik, that won't work. only adb will work.
if 'adb push file /sdcard/' doesn't work in recovery, use 'adb push file /data/media'
like people said before, can't get any simpler than this.
Related
I have an problem, i cant delete anything or download anything anymore via my phone, i can install roms that are inside, but i tried 3 roms and i keep having the problem, yesterday i i changed to TWRP recovery, could this be an problem? Any help is very apriciated, also cant put anything on the phone when mounted to pc
Sent from my Galaxy Nexus using xda premium
Sent from my Galaxy Nexus using xda premium
eggyenergy said:
I have an problem, i cant delete anything or download anything anymore via my phone, i can install roms that are inside, but i tried 3 roms and i keep having the problem, yesterday i i changed to TWRP recovery, could this be an problem? Any help is very apriciated, also cant put anything on the phone when mounted to pc
Sent from my Galaxy Nexus using xda premium
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Fix permissions?
Use fastboot to reflash cwm, if you want.
try using http://www.wugfresh.com/
bk201doesntexist said:
Fix permissions?
Use fastboot to reflash cwm, if you want.
Click to expand...
Click to collapse
I tried fixing permission and i will try fastboot flash recovery tonight thanks but i also seem to have 2 storage places:s sdcard0 and storage, with the same inside it, maybe this is preventing downloading and such? I tried to delete sdcard0, but one second later its back
Sent from my Galaxy Nexus using xda premium
benb1974 said:
try using http://www.wugfresh.com/
Click to expand...
Click to collapse
Can you explain me what i need brother? I really apriciate it
Sent from my Galaxy Nexus using xda premium
I saw that the permissions of storage and sdcard0 are different, i set them the same in root explorer and rebooted and they changed back, nothing helps hope flashing CWM Recovery will help
Sent from my Galaxy Nexus using xda premium
Yes, permissions will come back, they're set on init.rc.
https://www.codeaurora.org/gitweb/q...70ab1d0b88e4170504d645b5c685468dd8abb17;hb=jb
1 import init.tuna.usb.rc
2
3 on early-init
4 export EXTERNAL_STORAGE /storage/sdcard0
5 mkdir /storage 0050 system sdcard_r
6 mkdir /storage/sdcard0 0000 system system
7 # for backwards compatibility
8 symlink /storage/sdcard0 /sdcard
9 symlink /storage/sdcard0 /mnt/sdcard
Click to expand...
Click to collapse
As you can see, /sdcard/ and /mnt/sdcard are symlinks of /storage/sdcard0.
bk201doesntexist said:
Yes, permissions will come back, they're set on init.rc.
https://www.codeaurora.org/gitweb/q...70ab1d0b88e4170504d645b5c685468dd8abb17;hb=jb
As you can see, /sdcard/ and /mnt/sdcard are symlinks of /storage/sdcard0.
Click to expand...
Click to collapse
So you have any idea what is my problem?
Sent from my Galaxy Nexus using xda premium
eggyenergy said:
So you have any idea what is my problem?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
which twrp version are you using? i used cwm 6.x after getting issues on flashing JRO03C; didn't have issues accessing my device through adb. A user over @TWRP thread suggested updating to 2.2.x.
have you tried fully wiping the device with fastboot? including userdata? then reflashing cwm, booting to recovery directly from bootloader, push rom over with adb, and reflashing rom?
bk201doesntexist said:
which twrp version are you using? i used cwm 6.x after getting issues on flashing JRO03C; didn't have issues accessing my device through adb. A user over @TWRP thread suggested updating to 2.2.x.
have you tried fully wiping the device with fastboot? including userdata? then reflashing cwm, booting to recovery directly from bootloader, push rom over with adb, and reflashing rom?
Click to expand...
Click to collapse
Im on twrp 2.2.0 i believe, can you explain me how in an PM mate?
Sent from my Galaxy Nexus using xda premium
I havr some knowledge of fastboot and have everything pre installed on my laptop btw
Sent from my Galaxy Nexus using xda premium
Can i do wipe internal memory in TWRP? Or doesnt this work for my problem?
Sent from my Galaxy Nexus using xda premium
Or format data? Any idea somebody i really could use some help
Sent from my Galaxy Nexus using xda premium
I wiped the sd card like a retard... and now don't have a rom to flash.
What do?
I can't find how to mount the sd card.
You have to adb push the Rom to your phone. Hopefully you have the android sdk installed, a quick Google search will provide you with instructions on how to push the file
Sent from my Galaxy Nexus using xda premium
florelui001p said:
You have to adb push the Rom to your phone. Hopefully you have the android sdk installed, a quick Google search will provide you with instructions on how to push the file
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
You can adb from recovery?
You can also use fastboot to recover yourself
Sent from my Galaxy Nexus using xda app-developers app
asb123 said:
You can adb from recovery?
You can also use fastboot to recover yourself
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Yup! It has saved me multiple times!
To OP this might be useful http://rootzwiki.com/topic/20166-adb-while-in-recovery-mode/
Sent from my Galaxy Nexus using xda premium
It looks like you can use the GNex Toolkit to flash stock rom from fastboot mode (option 9).
netbuzz said:
It looks like you can use the GNex Toolkit to flash stock rom from fastboot mode (option 9).
Click to expand...
Click to collapse
Are you getting payed or something man?
Why are you suggesting a toolkit, which will then use fastboot, to reflash a whole rom, a stock rom at that, when he has access to a custom recovery, thus he can get himself out of this mess and learn a thing or two about adb (adb can do more than just a simple copy operation).
Sent from my i9250
iArtisan said:
I wiped the sd card like a retard... and now don't have a rom to flash.
What do?
I can't find how to mount the sd card.
Click to expand...
Click to collapse
I flashed the stock back using odin.
Sent from my Galaxy Nexus using xda premium
Adb sucks tool kits tool kits tool kits. I've grown sick of ADB. Just personal preference.
Sent from my Galaxy Nexus using xda premium
So I had a dumb moment and formated my sdcard by accident while formatting system and cache/data. I was gonna flash 4.2 stock but I can't cuz my sdcard was wiped and my recovery touch doesn't have option to connect to USB (lame).
What is the easiest way/fastest to get 4.2 on How to get a ROM on??
Thanks
Sent from my SGH-I997 using xda premium
http://forum.xda-developers.com/showthread.php?t=1626895 - go to stock 4.2
if you want a custom rom, use adb
adb push locationofzipyouwant.zip /data/media/
Zepius said:
http://forum.xda-developers.com/showthread.php?t=1626895 - go to stock 4.2
if you want a custom rom, use adb
adb push locationofzipyouwant.zip /data/media/
Click to expand...
Click to collapse
How do I use adb? I just need to access my sdcard but idk how to right now
Sent from my SGH-I997 using xda premium
bradman117 said:
How do I use adb? I just need to access my sdcard but idk how to right now
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
by using the command i just posted to push the file to the sdcard location (/data/media/)?
Oh please..OP, next time read the stickies.
http://forum.xda-developers.com/showthread.php?t=1812959
Hello everybody, i'm here since a bit of time and i've always found every solution to my problems. Now i've made a very big mess. So.. i used to have aokp rom, and clockworkmod recovery. Then while trying to update, i tried TWRP 2.3.3.0 touch recovery. So i made a backup from the recovery and everything and then a full wipe.. the problem is that this recovery doesn't show me the SD card partition, and the backup i made was saved in /data, which was formatted with the wipe.. now i'm trying everything.. GNexus Toolkit, Odin.. but i can't get out of here.. any ideas on how to get back to Clockworkmod?
Edit: it gets in bootloader, recovery and download mode but there's no way my pc sees it, neither with the GNex toolkit nor with Odin
Did u try /data/media/ ?
Sent from my Galaxy Nexus using Tapatalk 2
LiquidXed said:
Did u try /data/media/ ?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
yes.. but after a wipe that folder is now empty.
Edit: if i turn it on, the GNex toolkit, while trying to install ClockworkMod reeboots it in fastboot and then it says waiting for device.. why is that??
Flash clockwork recovery using fastboot.
blazed04 said:
Flash clockwork recovery using fastboot.
Click to expand...
Click to collapse
When it gets in fastboot, GNextoolkit can't find any device.
mikla90 said:
yes.. but after a wipe that folder is now empty.
Edit: if i turn it on, the GNex toolkit, while trying to install ClockworkMod reeboots it in fastboot and then it says waiting for device.. why is that??
Click to expand...
Click to collapse
1) put on your big boy pants and stop using a toolkit
2) its failing cause the drivers are not installed correctly.
mikla90 said:
the problem is that this recovery doesn't show me the SD card partition, and the backup i made was saved in /data, which was formatted with the wipe..
Click to expand...
Click to collapse
Strange my backups are saved on sdcard
Sent from my Transformer Pad TF300T using Tapatalk HD
Lord Yurij said:
Strange my backups are saved on sdcard
Sent from my Transformer Pad TF300T using Tapatalk HD
Click to expand...
Click to collapse
/sdcard is /data/media
Sent from my ARCHOS 80G9 using Tapatalk HD
Quinny899 said:
/sdcard is /data/media
Sent from my ARCHOS 80G9 using Tapatalk HD
Click to expand...
Click to collapse
Now with adb if the phone is ON i can communicate. I'm trying to put a ROM inside data/media and I can put it, but then it's not showing up in the recovery..?
mikla90 said:
Now with adb if the phone is ON i can communicate. I'm trying to put a ROM inside data/media and I can put it, but then it's not showing up in the recovery..?
Click to expand...
Click to collapse
Only backups are saved there. You have to put it in storage/emulated/0
Sent from my Galaxy Nexus using xda app-developers app
VonEsch said:
Only backups are saved there. You have to put it in storage/emulated/0
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Eventually, I did it!! Thanks to the naked drivers GNex Toolkit worked, so i made everything from there.. The only thing is i've lost everything.. any program to take it back?
VonEsch said:
Only backups are saved there. You have to put it in storage/emulated/0
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
/data/media IS /storage/emulated/0
They're linked on boot
Sent from my ARCHOS 80G9 using Tapatalk HD
http://forum.xda-developers.com/showthread.php?p=34185439
Haven't really tryed it.. But if u want ur [email protected]*! Back then read..
Sent from my Galaxy Nexus using Tapatalk 2
I have no OS right now because I did a "Format Data" in TWRP which wiped my internal storage, including the zip file. I'm doing this for a friend and not super familiar with the Nexus. Since there's no SD card, how can I get a zip file back onto the device to flash?
Current status:
TWRP
ADB drivers installed
Galaxy Nexus Toolkit can't do anything because it's getting that "USB Debugging is not enabled"
Currently trying this:
http://forum.xda-developers.com/showthread.php?t=1626895
Use fastboot and flash the stock nexus images provided by Google.
Sent from my Galaxy Nexus using Tapatalk 2
USB debugging has nothing to do with recovery.
Sent from my Galaxy Nexus
Adb push a ROM.
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
Adb push a ROM.
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Sdcard is formatted, I believe you need to boot up at least once to push files into it.
Fastboot stock ROM.
Beamed from my Maguro.
Mach3.2 said:
Sdcard is formatted, I believe you need to boot up at least once to push files into it.
Fastboot stock ROM.
Beamed from my Maguro.
Click to expand...
Click to collapse
No you can use adb in recovery.
Sent from my Galaxy Nexus using XDA Premium HD app
adbbbbbbbbbbbbb
Ahhh... TWRP... you should use the nexus toolkit...
enricocid said:
Ahhh... TWRP... you should use the nexus toolkit...
Click to expand...
Click to collapse
*facedesk*
a manta wrote this.
enricocid said:
Ahhh... TWRP... you should use the nexus toolkit...
Click to expand...
Click to collapse
thanks for teaching the OP nothing.
mrgnex said:
No you can use adb in recovery.
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
*facefloor*
Of course you can use adb in recovery, what I'm trying to get across is that you may have to boot into android at least once to 'format' the sdcard, without a formatted sdcard, pushing a gazillion times won't work....
Beamed from my Maguro.
beekay201 said:
*facedesk*
a manta wrote this.
Click to expand...
Click to collapse
LMAO! I got a genuinely good laugh from that... :silly:
Back on topic... OP, can you boot into bootloader? Why not follow this guide - http://forum.xda-developers.com/showthread.php?t=1626895 Its saved me on more than one occasion.
I use a tool kit called wugfresh nexus root toolkit it has everything you need this same thing has happened to me before.
sonic147862 said:
I use a tool kit called wugfresh nexus root toolkit it has everything you need this same thing has happened to me before.
Click to expand...
Click to collapse
Thanks for perpetuating ignorance.
Sent from my Galaxy Nexus using Tapatalk 2
like few others mentioned, connect your devices to PC push a rom and flash it, as far as i understand when you format the data, it formats the DATA, which means /data is formated so you can push a rom using ADB.
EDIT: PS: I might be wrong, but i'm no expert either so.