Flash from twrp menu possible on Nexus 5? - Nexus 5 Q&A, Help & Troubleshooting

Hi.
I needed to wipe phone and may have been too successful.
I have access to a twrp menu. I would appreciate any help I could obtain to flash this phone with an Android operating system. I have that image downloaded but I'm having trouble flashing it to the phone. Any help would be great.
(No OS on device.)

Did you wiped data partition also? Does PC recognizes phone?
You can use this method 1 if You dont care about your personal stuff from /data partition, ( you lost twrp also ) http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
or use this method http://forum.xda-developers.com/goo...e-update-rooted-device-to-5-1-lmy47d-t3050789

Data partition is wiped. Phone not recognized by computer. Thx for the links. I got stuck during the process.

Ofcourse
Boot into recovery and choose wipe cache,dalvik and system.Now your good to go!Flash your new rom

siddhu007 said:
Boot into recovery and choose wipe cache,dalvik and system.Now your good to go!Flash your new rom
Click to expand...
Click to collapse
I think he already have wiped his phone so there is no need to do it again.
So jst go to "Install" and pick your downloaded ".zip" file.
If you dont have the ".zip" on your device you can try to mount your USB storage.

Thx so much for the tips. I had located the great link provided. Is there anyway that I can move an unzipped hammerhead image to the phone and then unzip on the phone? The stumbling block for me may be that phone has no micro SD slot (to unzip from) and phone is not recognized by computer (running win 7).
For example, with the phone connected with USB to the computer, is there any way to do drag and drop zipped hammerhead file to phone and unzip w twrp.
Thank you for patience with a person new to forum.
I assumed that I could not access a zipped file on computer and use twrp to unzip and proceed. I tried the unzip twrp toggle and could not pull from computer (or at least it was not apparent to me how to do it.)

Dartmouthrocks said:
Thx so much for the tips. I had located the great link provided. Is there anyway that I can move an unzipped hammerhead image to the phone and then unzip on the phone? The stumbling block for me may be that phone has no micro SD slot (to unzip from) and phone is not recognized by computer (running win 7).
For example, with the phone connected with USB to the computer, is there any way to do drag and drop zipped hammerhead file to phone and unzip w twrp.
Thank you for patience with a person new to forum.
I assumed that I could not access a zipped file on computer and use twrp to unzip and proceed. I tried the unzip twrp toggle and could not pull from computer (or at least it was not apparent to me how to do it.)
Click to expand...
Click to collapse
OK, if I´m correct, the device is not recognize by the computer, but TWRP is already installed. So what you want is to transfer a zip file with the image to the device. Have you tried OTG? TWRP can mount the USB, so you can download the zip file to a mciro sd and us OTG to flash it with TWRP.

Have you tried different USB cables, different USB ports, and different drivers in order to get the phone recognized on your computer?

Related

[Q] Wiped sdcard. Won't connect to computer

Hey guys,
I goofed. Big time. I accidentally wiped the sdcard in recovery mode when flashing to another rom.
I have her booted into red recovery and mounted the USB mass storage but it isn't showing up on my computer (I have a Mac that is running a dual boot of windows) on neither the windows or Mac side. Positive the drivers are installed on both.
Please help. If I can put a rom onto the card I'll be fine...but I can't get onto the card
Any suggestions?
Could use Odin or heimdall I've never tried to use mass storage while in recovery
Sent from my SGH-I997 using xda premium
Downloading Odin currently. Will post results. I hate my slow school Internet :/
ODIN Worked. Thanks
Wiped SD using CWM
So I had a problem almost the same.
I was using JellyBelly 4.2, and didn't like it. I wanted to go back to Cyan 10.0 and installed the files on my phone. I decided it was a good time to wipe everything, and started to do so. One of the files was the SD format. So I did that, and then wipe/data factory reset. Crap. So now I have no rom installed, and no files on my SD card.
I need help to place my zip files for CM 10 on my SD card (they are on my MAC now). I can't start up my phone to enable file transfer. I can only boot into CWM recovery. Is there a (step by step) way to push files from my MAC onto the SD card? Or is there a different way to tackle this?
I have a GNex (Toro) VZW
MacBook running snow leopard.
I am afraid that anything give me advice on you're gonna have to pretend that I am really dumb and need step by step directions. I tried to push via ADB but got this error, I don't know the correct commands for that. View attachment 1508775 Any suggestions?
It seems you do not have the android sdk set up along with adb.
Is this it?
andros11 said:
It seems you do not have the android sdk set up along with adb.
Click to expand...
Click to collapse
I thought I did. Here is what I have, I just don't know how to force my ROM's onto the SD card using it.View attachment 1508841
FIrst make sure you added the tools directory to your PATH.
There's a guide on how to set up the sdk on a mac: http://peter.boctor.net/2010/12/02/installing-the-android-sdk-on-mac-os-x/
you can skip the eclipse parts.
Of course, make sure you use your own path.
After that, adb should be recognized as a command.
To push, use this:
adb push "file.zip" /sdcard/file.zip
change "file.zip" for the location and name of the zip.
I often place files on my Home directory before pushing since it then only requires I specify the file name.
Problems with ADB path
So this is what I get when trying to install different commands into my path. I guess I am still doing it wrong? View attachment 1509964
You need to edit the Path to make it fit yours. Your sdk directory reads android-sdk-macosx 2.
It also depends on where you have that folder.
shooter5635 said:
Hey guys,
I goofed. Big time. I accidentally wiped the sdcard in recovery mode when flashing to another rom.
I have her booted into red recovery and mounted the USB mass storage but it isn't showing up on my computer (I have a Mac that is running a dual boot of windows) on neither the windows or Mac side. Positive the drivers are installed on both.
Please help. If I can put a rom onto the card I'll be fine...but I can't get onto the card
Any suggestions?
Click to expand...
Click to collapse
Pretty sure usbmount never worked with red cem for us...at least ot never did for me
MaxJ360 said:
So I had a problem almost the same.
I was using JellyBelly 4.2, and didn't like it. I wanted to go back to Cyan 10.0 and installed the files on my phone. I decided it was a good time to wipe everything, and started to do so. One of the files was the SD format. So I did that, and then wipe/data factory reset. Crap. So now I have no rom installed, and no files on my SD card.
I need help to place my zip files for CM 10 on my SD card (they are on my MAC now). I can't start up my phone to enable file transfer. I can only boot into CWM recovery. Is there a (step by step) way to push files from my MAC onto the SD card? Or is there a different way to tackle this?
I have a GNex (Toro) VZW
MacBook running snow leopard.
I am afraid that anything give me advice on you're gonna have to pretend that I am really dumb and need step by step directions. I tried to push via ADB but got this error, I don't know the correct commands for that. View attachment 1508775 Any suggestions?
Click to expand...
Click to collapse
Since your on jb with blue recovery you should be able to Mount USB storage from recovery...mounts and storage>mount USB>plug into computer
Sent from my SGH-I997 using Tapatalk 2
Mounts
So when I boot CWR and go to the mounts and storage menu I only see the following options.
Mount /sdcard
Mount /system
Unmount /cache
Unmount /data
Format /sdcard
Format /system
Format /cache
Format /data
I've tried them all while plugged into my Mac, and nothing happens on any of them.
Try getting your adb set up.
I'm pretty sure that if you right click on the tools folder and go to get info or anything similar to properties, it will show you the whole Path.

Cm10.1 with wrong gapps

Please help I am new to this stuff and yesterday I got my phone to cm 10.1 but I realized the .zip from the thread was wrong and now i have 4.2.1 running on my phone but 4.3 gapps and because of that my phones keyboard wont work. Also I cant flash new gapps because it doesn't let me install from my external sd and i haven't found a way to connect my phone to my computer.
Can someone please help me?
Tell me ways I can connect to my pc?
charminster said:
Please help I am new to this stuff and yesterday I got my phone to cm 10.1 but I realized the .zip from the thread was wrong and now i have 4.2.1 running on my phone but 4.3 gapps and because of that my phones keyboard wont work. Also I cant flash new gapps because it doesn't let me install from my external sd and i haven't found a way to connect my phone to my computer.
Can someone please help me?
Tell me ways I can connect to my pc?
Click to expand...
Click to collapse
You can't just... Plug it in to your PC? Don't you have a USB cable?
Connor Baker
No it doesn't connect to my computer. Even tried with other computers and wires
charminster said:
No it doesn't connect to my computer. Even tried with other computers and wires
Click to expand...
Click to collapse
If you cannot turn developer mode on and use ADB push, then, you should be able to in CWM.
Failing that, does Google Play work?
If so, install (from your PC via Google Play page) WiFi File Transfer Pro, fire up an FTP session and push the needed GApps over.
And if all else fails...
ODIN back to stock.
I really don't get it
Can you explain this in detail?
charminster said:
I really don't get it
Can you explain this in detail?
Click to expand...
Click to collapse
Sure thing.
ADB is the debug program for Android. You can use it specifically to push files to the device. But it is not turned on on the device by default. You will need to go into developer options under settings and turn USB debugging on (if Developer Options is not there, go into About Phone and tap Build Number 7 or 8 times tom unlock the feature).
For this to work, you will need a linux PC with an ADB binary (if using Debian/Ubuntu, can "apt-get install adb", then run adb as superuser or sudo) or a windows computer with adbsetup installed. The latter will install the program to C:\adb. So open a command prompt and (with the device plugged in and developer options turned on) type:
Code:
c:
cd \adb
adb devices
You should get a listing of your device, raring to go. If so, great! Copy the the appropriate Gapps package to C:\ADB and type:
Code:
adb push gapps-4.2.zip gapps-4.2.zip
...or whatever the filename is called (there twice as it needs the local and remote file name).
So if that works, can reboot into recovery (CWM) via the three finger salute (turn device off fully, wait a few seconds, hold down both volume buttons while pressing the power button), wipe dalvik cache, and flash the right GApps.
Another option is if you can add Google Play apps to your device. Don't imagine, but if it is possible, fire up your computer and log into your Google Play account. Search for "WiFi File Transfer Pro" and install. With a Wifi connection on the device, it should download and install. If it doesn't, try the scorched earth option below. If it does install, open Wifi File Transfer Pro, turn on FTP server, and keep note of the IP address and Port (Will be noted as IPort). Open or install an FTP client like FileZilla on your PC, and open a connection using that IP address and Port. Transfer the Gapps package over to the device, in the root folder. Then like above, reboot into recovery and wipe dalvik, flash gapps.
The last option, the scorched earth method, is to bring everything back to stock, mind you with root and CWM. Pick option D from the above link (previous post). Download and install adbsetup for the drivers. Option D download will come with a program called ODIN, and that link will have detailed instructions (download and extract the files, open ODIN, put the phone into download mode by turning the device off, hold down both volume buttons while inserting the MicroUSB cable, place the extracted files inthe right sections of ODIN, and flash away).
Hope this helps.
Ok one of my main problems is that I can't use keyboard...which means no internet because I can't type any passwords
And the other big thing is that none of my computers connect toy phone even with USB debugging on from setting and even in recovery
I was wondering if I get a connection with no password will I be update from the phone because there is an option to do so.
charminster said:
Ok one of my main problems is that I can't use keyboard...which means no internet because I can't type any passwords
And the other big thing is that none of my computers connect toy phone even with USB debugging on from setting and even in recovery
I was wondering if I get a connection with no password will I be update from the phone because there is an option to do so.
Click to expand...
Click to collapse
Because Google Play is part of Gapps, there is no guarantee that will work either to update. If you can find an unsecured network (or temporarily turn off WPA on your router), you can test this, but at this point, I would be doing the scorched earth method. You would only be going back to Gingerbread, and however you play your cards (whether you disable lagfix or flash ICS as an intermediary), you would only be one or two flashes away from a functional Jellybean.
Ok my phone doesnt connect with usb ive tried several different times.
I did the adb method everything was fine except i didnt get the device list ,it was empty.
So if it cant connect how will i connect it to my computer to use odin?
Ps. I did download the drivers
charminster said:
Ok my phone doesnt connect with usb ive tried several different times.
I did the adb method everything was fine except i didnt get the device list ,it was empty.
So if it cant connect how will i connect it to my computer to use odin?
Ps. I did download the drivers
Click to expand...
Click to collapse
True enough. Lets try this (as I just thought about it via some other weird, more convoluted way). CM 10.1 comes with a file manager right? Download the 4.2 Gapps onto your mcroSD card, insert it into your device. Fire up the file manager. Copy the Gapps file from the external SD card to the internal card, root folder (where the offending Gapps lies). Reboot into ClockworkMod and wipe Dalvik and install the appropriate zip.
If this does not work, my more convoluted way wouldn't either (search and download "wifi file transfer pro apk" to SD, open with file manager, install, follow the rest of above option 2), and would be out of options except getting your hardware fixed (as it sounds like your device not connecting via USB is a hardware issue).
Ive tried with micro sd before and it hasnt worked
The thing is that All of this stopped working after the update and the thing that i disliked the most was that when i was getting the update it said jb 4.2 gapps but proved wrong
:crying:
charminster said:
Ive tried with micro sd before and it hasnt worked
Click to expand...
Click to collapse
You tried mounting the microSD with the proper Gapps, and copying it with CM's File Manager (to the internal disk to be picked up by CWM later)? Just being clear, and making sure you are not talking about trying to install a zip directly from the MicroSD with CWM (as mentioned, and ruled out before). Because these are two completely different things. Is the MicroSD readable at all on your device? Is it formatted properly (FAT32, or even Ext2/3/4, but not NTFS)?
Can you explain the formatting stuff?
charminster said:
Can you explain the formatting stuff?
Click to expand...
Click to collapse
Sure. Insert the microSD into your computer, and open up Windows Explorer. There will be a new drive that appears. Right click on that removable drive, and select Properties. Confirm the File System. If it is FAT32, you are okay. If it is NTFS, or exFAT, you will need to format (as the Infuse will not recognize these formats). Press Cancel.
Before beginning, make a backup of the MicroSD card, as we are going to wipe and start from scratch. Then, right click on the removable drive again (and only this drive, or you will cause damage to your computer) and select Format. Change the file system to FAT32. If this is not an option, find and download a disk utility that will (I'm not familiar with them, but google "removable storage format fat32 download" for one). Press start, and wait a few minutes. When done, you can reload your files on the drive (restore your backup), and try inserting it in your Infuse again.
Hope this helps.
I followed all your steps bit the phone still doesnt read it i opened setting..storage..mount external sd
But it wasnt letting me and the same thing trying through recoveryCWM
charminster said:
I followed all your steps bit the phone still doesnt read it i opened setting..storage..mount external sd
But it wasnt letting me and the same thing trying through recoveryCWM
Click to expand...
Click to collapse
Probably not, IIRC external SD did not work in CWM for the Infuse. But re-read post #10, what I'm suggesting is getting CWM to read the proper Gapps from the internal card, but placing it there with CyanogenMod's file manager.
CM 10.1 comes with a file manager right? Download the 4.2 Gapps onto your mcroSD card, insert it into your device. Fire up the file manager. Copy the Gapps file from the external SD card to the internal card, root folder (where the offending Gapps lies). Reboot into ClockworkMod and wipe Dalvik and install the appropriate zip.
Click to expand...
Click to collapse
I cant get it there because i cant do anything with the sd card it doesnt show in file manager either
charminster said:
I cant get it there because i cant do anything with the sd card it doesnt show in file manager either
Click to expand...
Click to collapse
Sorry, I misread your previous post. Thanks for the clarification. What are the details on the microSD card? Make, model, speed, capacity? If it is a 64+ GB card, it would spell problems as the Infuse was never rated for a capacity that large.
It's a sandisk 16 gb
Sd card
Fat32
No reason why the microSD won't work in the Infuse.
If you have a Bluetooth keyboard you can borrow - or try buying (not sure if it will connect) - but if you can get your hands on one, you could use that (never had to use one so I don't know how they connect) to download the right GApps package to your phone (via the built-in browser).
I'm curious as well, if the speech-to-text works. You could use google now search to find the gapps package ("okay google, xda developers") and browse to the right page. Of course you will need a unsecured network to attempt.
Other than that, unfortunately I'm out of ideas.

[Help] No rom installed on my phone, help with installing it VIA ADB sideload.

So, I have/had a N5 on stock 4.4.4 rom, rooted & Xposed installed with TWRP & a lollipop preview on MultiRom.
Was installing the new Lollipop .zip. In an act of hurried stupidity, I wiped my phone, including the internal storage.
Which for some reason also wiped my NANDROID backup. I thought that is not supposed to be wiped even when doing an internal storage wipe, BUT it did.
Now, all i have is TWRP on my phone with no rom installed.
I tried connecting my phone to the pc to see if i can just transfer the rom file onto the internal memory, but nothing shows up when i connect my phone to PC.
after some searching, I came to know via this threadhttp://forum.xda-developers.com/google-nexus-5/general/how-to-wipe-internal-storage-install-t2575150 that i can use the ADB sideload to install the rom, using TWRP.
The problem is, when i connect my phone to the PC, the phone doesn't show up in the device manager.
So i cannot install the drivers & android SDK itself.
So, How do i Install a rom onto it?
I have a PC & a MAC, so i can use either of the machines. But i don't have much technical knowledge about stuff, I did all the above modifications with the help of tutorials & guids. so ELI5 please.
Please help!
Thank you.
Jugal.PM said:
So, I have/had a N5 on stock 4.4.4 rom, rooted & Xposed installed with TWRP & a lollipop preview on MultiRom.
Was installing the new Lollipop .zip. In an act of hurried stupidity, I wiped my phone, including the internal storage.
Which for some reason also wiped my NANDROID backup. I thought that is not supposed to be wiped even when doing an internal storage wipe, BUT it did.
Now, all i have is TWRP on my phone with no rom installed.
I tried connecting my phone to the pc to see if i can just transfer the rom file onto the internal memory, but nothing shows up when i connect my phone to PC.
after some searching, I came to know via this threadhttp://forum.xda-developers.com/google-nexus-5/general/how-to-wipe-internal-storage-install-t2575150 that i can use the ADB sideload to install the rom, using TWRP.
The problem is, when i connect my phone to the PC, the phone doesn't show up in the device manager.
So i cannot install the drivers & android SDK itself.
So, How do i Install a rom onto it?
I have a PC & a MAC, so i can use either of the machines. But i don't have much technical knowledge about stuff, I did all the above modifications with the help of tutorials & guids. so ELI5 please.
Please help!
Thank you.
Click to expand...
Click to collapse
Storage = including sdcard. You didn't need to do that.
If you have the latest TWRP, it has an MTP mode in the mount menu so you can simply copy a ROM.zip to the storage. Try enabling it and see if it shows up in devmgr.
rootSU said:
Storage = including sdcard. You didn't need to do that.
If you have the latest TWRP, it has an MTP mode in the mount menu so you can simply copy a ROM.zip to the storage. Try enabling it and see if it shows up in devmgr.
Click to expand...
Click to collapse
Thank you for the reply.
Turns out, the TWRP i have does have the OTG option under the mount option.
I downloaded the zip from an Android Police article. I bought the phone in india & hence had the KTU84Q build of 4.4.4, So i downloaded the file mentiond in that & tried flashing it via OTG. But it is failing to flash the rom.
it shows errors like: failed to mount, Error executing updater binary & then error flashing zip.
So do i need to do anything else before flashing it?
I'm downloading a 4.4.4 rom. will see if that works. Until then, please help if I need to do something else.
Thank you.
EDIT: I flashed CM11 & it worked perfectly. then tried flashing the 5.0 zip again, but that failed. So i guess something's wrong with the zip file.

[Q] Won't able to flash - no external Micro SD (unbrick)

Hi guys, how have you been?
Look, recently I've installed one ROM from this forum, and because some problems and reset loops I decide to change the ROM.
So I've download a new one, and forgot to do a backup.
Enter in TRWP, did a wipe cache / dalvik / system and DATA cause I won't any old structure from another ROM.
Perfect until this moment, no problem. So after I did, normally any person go to install option select the file .zip and try to install.
Here started the problem!
I've tryed to install the wrong .zip ... the zip the TRWP found was one erro zip... the correct one was in my microSD so in this moment I realized the TRWP don't recognized my microSD, every time I try to reach this folder through /SDCARD1/ or select the disc (micro SD) the TRWP show me (microSD 0MB) and I cant select.
I tryed too mount the microSD and the TRWP don't allow me to mount the microSD.
I can only view the internal storage.
So Now I don't have any system, I just have the .zip file in my pc or microSD ... the ADB on my (fck Win10) doesn't work, only thing that works good its fastboot.
I've downloaded the .FTF correct version, to flash using flashtool ... here another problem... When I enter in ADB MODE on Z5 (green light) the phone stay like 1 minute at maximum after this the phone reboot trying to enter in system modem automatically.
So anybody can help me to save my z5? flash the FTF version through FASTBOOT. Or if can't ... teach me how I can make works the ADB SIDELOAD from TRWP, cause my ADB on PC don't work well.. every time I put "adb devices" don't appear my cellphone and now after a lot of drivers and attempts appear something about server, that can't start more than one.... something like that.
Sorry about my stupid english, it's not my first language, but I hope so somebody understand me and help me.
Really appreciate guys!
Cya
OBS.: my TRWP version it's 3.0.2-0
You can flash ftf file in flash mode, not in fastboot I think. Try to put your phone in flash mode by pressing volume down while connecting to PC and then flash your ftf from fllashtool.
Try this guide: http://forum.xda-developers.com/showthread.php?t=2586569
Hope it helps you.
thats not for here. Q&A, HELP & TROUBLESHOOTING
Hi, I had problem hope it's same as yours i was flashing new rom but the phone always went on from flashing mode and the trick is which is barely mentioned somewhere to start flashing wait till flashtool makes files ready and then it asks for your phone to connect so then you put your phone into flashing mode and connect it to pc.

Do i have to?

I have an Alcatel One Touch idol 3_50560 AT&T
I do not have access to a desktop computer is there any roms out there that will do everything for you at once i.e. Removing bootloader, Root phone, then installing TWRP . Is it even possible? I uploaded and put the whole system on my tab4, it had no OS when i got it. Just wondering if spmethings out there
It's not possible. You need to install twrp by PC, then you can do everything what you want via twrp.
Is it possible i can download the file to my tablet and sdcard and transfer to my PC when i get to work?
Yes, and you only need to install twrp via PC. Everything another you can just flash by twrp from sdcard (better option than internal storage)

Categories

Resources