HOW CAN I ACCES root directory SDCARD from PC so I can place there my Rom to Flash it?
I Have formated everything, including the SDCARD, And now I only can get into RECOVERY mode,
Is there any way I can Flash my rom from Recovery?
How can I get acces to the SDcard ROOT directory so tha I can place there my Rom in order to Flash It ?
Is ther an ODIN type of flashing Roms in Nexus 7 just like in the S3?
How can I flash Rom from a Formatted SDCARD?
If you are in Recovery, then you can still use ADB. That means you can push files to your device.
Sent from my Nexus 7
BillGoss said:
If you are in Recovery, then you can still use ADB. That means you can push files to your device.
Sent from my Nexus 7
Click to expand...
Click to collapse
Plese Tell me HOW to use ADB ? What do I have to do to push the Rom files into Root Directory of SDCARD?
I am using CWM recovery TOUCH 6.0.1.0
If you are connected to your PC you are seeing the sdcard root directory. Not sure what you are looking for
Sent from my SPH-L710 using Tapatalk 2
Moricon said:
If you are connected to your PC you are seeing the sdcard root directory. Not sure what you are looking for
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I aM Connected to PC in RECOVERY mode,
The driver is installed OK
BUT I DONT SEE MY DEVICE IN PC
So I can not Push Rom fils to Root SDCARD directory becasuse I DONT SEE IT
When I PLUG in and Unplug I hear the USB installing BUT I DONT SEE THE DEVICE in my EXPLORER...So I dont Know Where I must Put Rom files to flash my Nexus 7...
My Device is ATTACHED into RECOVERY MODE
But I dont see it in my FileExplorerSo I dont Know HOW can I copy Rom to my SDCARD root directory...
Is there a COMMAND to copy rom from the CMD ?
OR is there a COMMAND for FLASHING ROM from within CMD
HELP NEEDED PLEASE:silly:
WHAT is the COMMAND to DUMP ROM into the SDCARD with Android. SDK and the CMD?
I am using the DEXDUMP.exe command but I dont know how it works...
NDUTU said:
I aM Connected to PC in RECOVERY mode,
The driver is installed OK
BUT I DONT SEE MY DEVICE IN PC
So I can not Push Rom fils to Root SDCARD directory becasuse I DONT SEE IT
When I PLUG in and Unplug I hear the USB installing BUT I DONT SEE THE DEVICE in my EXPLORER...So I dont Know Where I must Put Rom files to flash my Nexus 7...
Click to expand...
Click to collapse
Then you don't have the right drivers loaded if your pc can't see your device...
Sent from my Nexus 7
krelvinaz said:
Then you don't have the right drivers loaded if your pc can't see your device...
Sent from my Nexus 7
Click to expand...
Click to collapse
Yes I DO HAVE the right drivers loaded see the attached file,
The command is adb push. I'm not at my computer and it's too hard to type and example on my phone for you. Just Google adb push and you should get your answer. Hope this helps.
adb push <where rom is stored>/<name of zip>.zip /sdcard/<any name here>.zip
ie adb push E:/cm10-UNOFFICIAL-i777.zip /sdcard/cm10.zip
you might have to reboot the device back into recovery, even if you're already in recovery, for it to come up. Then just flash it like normal. You do have CWM or TWRP, right?
THANKS
OK guys thank you all , I managed to flash STOCK rom with the tool kit using the : put_google_factory_image_here , FOLDER
Related
Hi,
I was going to install a ROM on my Nexus, so I made a backup and wiped EVERYTHING. Including the SD card so now in clockworkmod
it can not mount the SD card, I cannot mount it to my computer... I am shaking and my hands are cold... I cant flash any rom HELP NOW!!!! ((((
thanks
No need to panic, its a nexus.
can you adb push a ROM zip to your sdcard?
if you can't then you can always flash a factory image with fastboot and you'll be back to normal in no time.
So take a deep breath and chill.
Sent from my Nexus 7 using xda premium
nodstuff said:
No need to panic, its a nexus.
can you adb push a ROM zip to your sdcard?
if you can't then you can always flash a factory image with fastboot and you'll be back to normal in no time.
So take a deep breath and chill.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I have a factory image please tell me how'd I do that in fastboot! (only if they had a begging at knees thing)
ok i will write you some step by step functions to follow in order to get yourself a rom onto your device
Info that is Needed!
Do You Already Have ADB functioning on your Computer
If Yes - Skip to Step 2
If No Proceed from Step 1
----STEP 1----
install the ADB drivers for your device
im going to assume you have a windows machine here so the followthrough will be for windows (i use Win7 but it should be the same)
BOOT YOUR DEVICE INTO RECOVERY WHILE PLUGGED INTO YOUR PC BUT DO NOT CLICK ON ANYTHING
1. Download These Google Drivers for Nexus Devices http://www.themoviedb.org/movie/15092-crank-ii-high-voltage
2. extract the folder
3. press the start button
4. right click on "Comptuer" or "My Computer (XP)
5. Click on Manage
6. in the new window press "Device Manager" on the left
you should see in the tree on the right (a device with a yellow exclamation mark ! probably called nexus)
7. right click it and press update driver software
8. press browse my computer for driver software
9. press let me pick from a list of device drivers on my computer
10. press have disk
11. press browse
12. on the new window navigate to the folder you extracted earlier and select the android_winusb.inf
13. press ok
14. there will either be 1 or 2 options to choose - click Android Composite ADB Interface and then press next
15. tick always trust software from google inc. and then install
your device should now have ADB capablilities
Proceed to step 2
----STEP 2----
this will use adb to push a file to your device while it is in recovery mode which you can then flash
1. Download This - http://www.mediafire.com/?50baad8rykng2j0
these are adb & fastboot binaries which will allow your pc to send files to your nexus via ADB
2. extract the downloaded archive to somewhere easy to remember ( i suggest C:\fastboot )
3. rename your downloaded custom rom to rom.zip (for simplicity) and copy it to the extracted directory (the one with adb.exe & fastboot.exe)
4. bring a command prompt to this directory
- in the directory you extracted (c:\fastboot) hold shift and right click in a blank area of the main window
- click "open command window here"
or
- Windows Key & R
- in the new box type cmd then press enter
- type cd c:\fastboot (where c:\fastboot is the directory where you extracted)
now to push it over
5. in the cmd window type adb devices and make sure your device is listed
your should see something like
list of attached devices
XXXXXXXXXXXXXXXX Recovery
where XXXXX is your devices serial number
6. in your cmd window type adb push rom.zip /sdcard/
this will take a while to complete but once it is down go back to your device and try to install a rom as you usually would
you should see the file in your internal memory to install now
^^ I was too slow!
First install the android SDK (Google it) then you need to put fastboot in your path you need to open my computer, system properties, advanced system settings, environment variables button at the bottom, then in the bottom window scroll down til you see find path and edit it and add the path to the android SDK and in particular the platform-tools folder.
So if you download the android SDK to your C drive, the path you will be adding will be like ";C:\android-sdk\platform tools" (note the semi colon at the start, important to separate entries)
Once the path is set up you can use fast boot in cmd just by typing fastboot xxxxx rather than typing C:\android-sdk\platform-tools fastboot xxxxx every time.
So next thing is to extract the images to somewhere.
Inside the zip is another zip called image-nakasi-jzo54k,
unzip that til you have .IMG files, system.img, boot.img etc.
then once they are extracted you use cmd to CD to that folder where you have the images and you can start to flash them.
fastboot flash system system.img
fastboot flash boot boot.img
You could just use flash-all.bat but and that will flash them all automatically but will wipe your internal SD.
Sent from my Nexus 7 using xda premium
If you JUST read that, I figured it out, and if I can flash all the partitons correctly, I will punch the thanks button.
cburk01 said:
yay new problem
Ok, so I unzipped it, extracted the thing inside, but it was it a weird format Windows recognized as "file". So, I added .zip to the end. WinRAR opened it, I saw the files, began to extract when an error popped up about the archive being damaged. WTF.
Click to expand...
Click to collapse
What was the name of the file that you had problems with?
the first one is a .tgz file then .tar but the one with the images inside that is .zip (looking at it now)
use 7-zip instead of winzip
Sent from my Nexus 7 using xda premium
nodstuff said:
What was the name of the file that you had problems with?
the first one is a .tgz file then .tar but the one with the images inside that is .zip (looking at it now)
use 7-zip instead of winzip
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Now I REALLY DO have a problem. I flashed boot.img, system.img, userdata.img, everything to the right partitons and still have a problem. Boot loop. Sticks on Google logo. Why? I did everything right. I even tried fastboot boot boot.img, no luck. I saw some people having boot loop problems, too on 4.1.2. So now, until you reply, I am going to try a custom kernel. Scratch that I'm using ToolKit to download and install 4.1.1.
If you flashed userdata.img that means your internal SD is wiped.
did you run flash-all.bat that is in the folder?
It would be no harm to do that now since everything is wiped already.
no matter what its still recoverable so don't worry.
Sent from my Nexus 7 using xda premium
nodstuff said:
If you flashed userdata.img that means your internal SD is wiped.
did you run flash-all.bat that is in the folder?
It would be no harm to do that now since everything is wiped already.
no matter what its still recoverable so don't worry.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
*facepalm* with the SD I already wiped that before I flashed. And I didnt run flashall.bat or what ever its called so I am going in to try that. Ran flashall got some weird radio flashing error so now continuing with ToolKit.
Flash-all.bat just automatically flashes all the images by running one command, it simplifies the process.
It just isn't ideal if you wanna keep your SD contents.
that's why you flash images separately, so you don't flash userdata.img but since you already wiped it then you're good to go.
Sent from my Nexus 7 using xda premium
WOOT!!!!!!!!!!!!!!!!!!!! Although I don't know if my backup will work, my tablet is now booted up into Android 4.1.1. Now I am going to root it, install a ROM, restore my data partition from TWRP, and (hopefully) have what I have been waiting for. A updated, functioning Nexus 7. *mashes thanks button*
Hey, should I update to 4.1.2 THEN root or root on 4.1.1 THEN flash the ROM?
cburk01 said:
WOOT!!!!!!!!!!!!!!!!!!!! Although I don't know if my backup will work, my tablet is now booted up into Android 4.1.1. Now I am going to root it, install a ROM, restore my data partition from TWRP, and (hopefully) have what I have been waiting for. A updated, functioning Nexus 7. *mashes thanks button*
Click to expand...
Click to collapse
Your backup is most likely gone, its stored on the SD card and that is wiped. Unless you have it on your computer, then you are all good.
Glad its back to life and now you know how to fix it if anything goes wrong.
What you learned today is very valuable to know.
It's nearly impossible to kill a nexus device (from a software perspective)
Sent from my Nexus 7 using xda premium
---------- Post added at 12:19 AM ---------- Previous post was at 12:18 AM ----------
cburk01 said:
Hey, should I update to 4.1.2 THEN root or root on 4.1.1 THEN flash the ROM?
Click to expand...
Click to collapse
Update first
Sent from my Nexus 7 using xda premium
Yes, I have my backup on my Macbook (running Windows 7). Thanks for all the useful advice. lol about the Nexus devices are hard to kill thing, I imagined a cockroach. And about the valuable lesson thing, I learned fastboot commands and adb stuff all when I was messing with (then soon after fixing) my HTC EVO 3D. Oh, I love XDA. Thanks again.
-cburk
I am trying to root my new Nexus 4 and I am stumped. I am trying to follow efrant's instructions: http://forum.xda-developers.com/showthread.php?t=2010312
I successfully completed part D and now am trying to work through part E. I am stuck at step 3 of E: I downloaded SuperSU v 0.98 (is that really the one to get?) and I'm supposed to put that in /sdcard. Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere? Do I have to make it? How can I see that folder? I am using a Mac and the Android File Transfer program window shows no sdcard folder anywhere.
Also: Why does another unlock guide talk (http://forum.xda-developers.com/showthread.php?t=2018179) about pressing "Build Number" seven times? Why doesn't efrant's guide mention this?
I don't follow this part at all. How do I put that damn file where it needs to be?
Just download the N4 toolkit. Will do everything you want.
Toolkit
Doggonit said:
I am trying to root my new Nexus 4 and I am stumped. I am trying to follow efrant's instructions: http://forum.xda-developers.com/showthread.php?t=2010312
I successfully completed part D and now am trying to work through part E. I am stuck at step 3 of E: I downloaded SuperSU v 0.98 (is that really the one to get?) and I'm supposed to put that in /sdcard. Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere? Do I have to make it? How can I see that folder? I am using a Mac and the Android File Transfer program window shows no sdcard folder anywhere.
Also: Why does another unlock guide talk (http://forum.xda-developers.com/showthread.php?t=2018179) about pressing "Build Number" seven times? Why doesn't efrant's guide mention this?
I don't follow this part at all. How do I put that damn file where it needs to be?
Click to expand...
Click to collapse
When you plug the phone into the computer /sdcard is the folder that comes up. Just place it in there.
Sent from my Nexus 4 using xda app-developers app
DO NOT USE TOOLKITS. Especially if you're new to modding.
That's like saying, I want to overclockmy computer. Just give me a toolkit where I can one click and overclock my computer.
Read more here http://forum.xda-developers.com/showthread.php?t=1469909
Do it the proper way and download ADB drivers
http://forum.xda-developers.com/showthread.php?t=1514942 (enable USB debugging)
set up ADB environment
adb reboot bootloader
fastboot oem unlock
unlock bootloader on phone
download clockwork recovery or TWRP (i suggest TWRP)
put the .img file of recovery into your /platform-tools/
fastboot flash recovery <name-of-file>.img
then boot into recovery and there you can flash your ROM, gapps, kernel.
In the long run, IT WILL PAY OFF because eventually YOU will be faced with a problem with your phone and you won't be able to recover your phone because you dont know basic fastboot or adb commands all simply because you wanted to use a toolkit. People are already asking on how to use adb / fastboot in Q&A, we can reduce the clutter by not having people use toolkits and actually learning how adb / fastboot works when it isn't a very complicated thing to do at all
As stated in my original post, I am using a Mac. Not a PC. Therefore I don't use ADB, nor any other drivers. I also do not see, as stated before, any sdcard folder. I don't, I repeat, don't see it.
Doggonit said:
As stated in my original post, I am using a Mac. Not a PC. Therefore I don't use ADB, nor any other drivers. I also do not see, as stated before, any sdcard folder. I don't, I repeat, don't see it.
Click to expand...
Click to collapse
you dont need drivers on mac then... you can still ADB connect using mac.
simple: google search..... http://lmgtfy.com/?q=mac+adb first link
Doggonit said:
Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere?
Click to expand...
Click to collapse
On the Nexus 4, /sdcard is the same as /storage/emulated/0. As mentioned earlier in the thread, this is the default location for native USB file transfer.
Sent from my Nexus 4
Hello,
I managed to soft-brick my nexus 4 and want to reinstall a ROM, but I wiped the internal memory and there are no files on the Nexus 4. I cannot go anywhere but recovery and I have clockworkmod installed. Where do I go so I can copy and paste the ROM file on my Nexus 4?
Thanks
gokuman56 said:
Hello,
I managed to soft-brick my nexus 4 and want to reinstall a ROM, but I wiped the internal memory and there are no files on the Nexus 4. I cannot go anywhere but recovery and I have clockworkmod installed. Where do I go so I can copy and paste the ROM file on my Nexus 4?
Thanks
Click to expand...
Click to collapse
Try using TWRP, and use ADB to push your flashable ROM zip into your /sdcard directory. You can then use the recovery to flash it onto your phone.
The command to push files from your local desktop to your Nexus 4's internal memory is:
Code:
$ adb push flashable-rom-zip.zip /sdcard
You can try doing the same thing with CWM, but in my experience it doesn't work that well. With TWRP, on the other hand, ADB push commands work flawlessly.
So there is no other way to mount my Nexus to the computer?
gokuman56 said:
So there is no other way to mount my Nexus to the computer?
Click to expand...
Click to collapse
Not in recovery
gokuman56 said:
So there is no other way to mount my Nexus to the computer?
Click to expand...
Click to collapse
You cannot mount an MTP device as USB in recovery. Some devices have an app but they also have removable storages.
Sent from my Nexus 4 using Tapatalk 2
gokuman56 said:
Hello,
I managed to soft-brick my nexus 4 and want to reinstall a ROM, but I wiped the internal memory and there are no files on the Nexus 4. I cannot go anywhere but recovery and I have clockworkmod installed. Where do I go so I can copy and paste the ROM file on my Nexus 4?
Thanks
Click to expand...
Click to collapse
If I had that problem, I would probably flash back to stock Android. Google (finally) put the Nexus 4 factory images back online. I can't post links here just yet, but a quick Google search for "nexus factory images" should get you there.
Just run:
Code:
adb reboot bootloader
And then run flash-all for your OS.
It's easier if all those files are in the folder with fastboot and adb from the Android SDK. I'm trying to clear up confusion between the codenamed "mako" and "occam", both linked with the Nexus 4. I think "mako" is the hardware and "occam" is the software, but if they are actually two slightly different phones, and you make your problem worse, I can't take responsibility.
my nexus 4 was rooted with 4.3 but then i decide to upgrade to 4.4
this is the video i am trying to follow, basically just wipe & install which i did most the time.
youtube title "NEXUS 4: HOW TO MANUALLY UPDATE TO ANDROID 4.4 KITKAT"
it has two files one is mako and one is gapp.
after i did all the wiping in cwm and try to install the mako file, it shows "no file context" or sth similar, and installation is abort (i think there is problem when i transfer the file), but then i continue to install the gapp file (what the hell was i thinking?)
so now i am stuck in the google start up loop, i can only access cwm recovery mode and don't have a valid rom to install in my sdcard.
i tried to adb push another rom to the sdcard with no success (my storage was already very low, any way to remove files in the storage at this point?)
the "mount & storage" also doesn't seem to let me mount the sdcard (but system shows up "unmount").
so now i don't know what to do.
if anything has any idea or suggestion please let us know.
i am quite desperate now with a dead phone and will try anything.
thanks for reading such a long thread.
Dude that vid is old and it installs pa or some other port just flash factory images from google
Sent from my F1 using xda app-developers app
try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.
Frickelpit said:
try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.
Click to expand...
Click to collapse
any step by step guide to do this?
i am still new to this thing even i install a few roms before.
i will google it now, but any additional info is much appreciate.
thanks
Frickelpit said:
try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.
Click to expand...
Click to collapse
frustrated..
i can't seem to get my windows to recogize the device (when i type adb devices, it shows an empty list)
already try trouble shooting this for a long time with no result.
any idea?
telly0050 said:
frustrated..
i can't seem to get my windows to recogize the device (when i type adb devices, it shows an empty list)
already try trouble shooting this for a long time with no result.
any idea?
Click to expand...
Click to collapse
after tons of troubleshooting finally got it back to work.
it ends up the reason is i didn't update to the latest cwm at the very beginning.
and sideloading 4.4 didn't work because of that too, i have to install an old 4.2 to have it working.
Had LG G2 2 hours
Rooted, TWRP installed. Downloaded new ROM and copied to storage (whilst phone was running). Booted in to recovery wiped Rom (stupidly) then went to install new Rom which is not there. So I have no OS...
Unless it's in a weird directory I need to copy it across again however Mount under TWRP settings does not bring up windows explorer to allow me to copy it again (USB Drivers all installed I thought after root process). Had it got an SD card slot I could have burnt it to that in my PC and then put it in the phone.
Any ideas please
jamesbond_28_007 said:
Had LG G2 2 hours
Rooted, TWRP installed. Downloaded new ROM and copied to storage (whilst phone was running). Booted in to recovery wiped Rom (stupidly) then went to install new Rom which is not there. So I have no OS...
Unless it's in a weird directory I need to copy it across again however Mount under TWRP settings does not bring up windows explorer to allow me to copy it again (USB Drivers all installed I thought after root process). Had it got an SD card slot I could have burnt it to that in my PC and then put it in the phone.
Any ideas please
Click to expand...
Click to collapse
"adb sideload" -> please type into the searchbox. Would help you a little more but busy currently. however this will help you.
So you wiped your complete storage? lol.
Try to sideload your rom.
http://android-revolution-hd.blogspot.de/2013/12/ow-to-use-adb-sideload.html
ckyy said:
So you wiped your complete storage? lol.
Try to sideload your rom.
http://android-revolution-hd.blogspot.de/2013/12/ow-to-use-adb-sideload.html
Click to expand...
Click to collapse
Yes nightmare. And ADB doesnt look for the faint hearted either. is there no way of mounting in TWRP?
jamesbond_28_007 said:
Yes nightmare. And ADB doesnt look for the faint hearted either. is there no way of mounting in TWRP?
Click to expand...
Click to collapse
I wouldn't bother trying to get it to work. Sideloading is way faster.
http://forum.xda-developers.com/showthread.php?t=2588979
1. Download and install it. Put the rom inside ADB folder. Put twrp in sideload mode.
2. Open your adb folder and shift-right click. Select open command propt here.
3. This is what you type in your CMD -> adb sideload flash.zip (flash.zip is obviously replaced by your rom name).
ckyy said:
I wouldn't bother trying to get it to work. Sideloading is way faster.
http://forum.xda-developers.com/showthread.php?t=2588979
1. Download and install it. Put the rom inside ADB folder. Put twrp in sideload mode.
2. Open your adb folder and shift-right click. Select open command propt here.
3. This is what you type in your CMD -> adb sideload flash.zip (flash.zip is obviously replaced by your rom name).
Click to expand...
Click to collapse
Thanks. 'device not found'...
jamesbond_28_007 said:
Thanks. 'device not found'...
Click to expand...
Click to collapse
Have you installed all drivers?
Gesendet von meinem LG-D802 mit Tapatalk
jamesbond_28_007 said:
Thanks. 'device not found'...
Click to expand...
Click to collapse
Ok. Needed google universal ADB driver by Koush (as windows 8). So it reached 100% but phone back on LG flashscreen...
jamesbond_28_007 said:
Ok. Needed google universal ADB driver by Koush (as windows 8). So it reached 100% but phone back on LG flashscreen...
Click to expand...
Click to collapse
All good. Thanks for all the help and apologies for being such a muppet.