[Q] Flashing from recovery - G2 Q&A, Help & Troubleshooting

I did a disaster with my new G2. I installed TWRP recovery and CM10.2, and when I tried to install another ROM I wiped everything, ROM included. The phone now goes to recovery, but does not have a ROM installed.
Is it possible to mount, maybe in Linux, the phone as mass storage? When in Windows I type adb devices in the command prompt with my phone in recovery mode, my PC does not list my phone, so I can't use ADB Sideload.
If I buy a cable like this [-usb OTG cable, XDA does not allow me to post an image-]
will I be able to connect a USB flash drive with a new ROM and flash that?
Thanks in advance
Alessandro

I'm sorry for my post: I panicked. Solved the problem by using download mode (volume up and plug USB cable) and flashing the stock firmware.
Inviato dal mio LG-D802 utilizzando Tapatalk

Related

[Q] Nexus 4 factory rom deleted

Good day guys,
I need a help with my nexus 4, I had a rooted rom in my nexus 4 with clockwork mode recovery, I tried to wipe my data through clockwork mode but by mistake I did system wipe. Now there is no rom in the device, I can only access to fastboot mode and clockwork recovery mode, also I tried to install rom through toolkit but my PC & Mac doesn't read any device connected and no device shown in device manger in my windows 7 with using different usb cables and ports. I installed samsung drivers and adb drivers but still I cannot see the device in device manager.
Please if any body can help me to install rom back to my device.:crying:
alhawi6 said:
Good day guys,
I need a help with my nexus 4, I had a rooted rom in my nexus 4 with clockwork mode recovery, I tried to wipe my data through clockwork mode but by mistake I did system wipe. Now there is no rom in the device, I can only access to fastboot mode and clockwork recovery mode, also I tried to install rom through toolkit but my PC & Mac doesn't read any device connected and no device shown in device manger in my windows 7 with using different usb cables and ports. I installed samsung drivers and adb drivers but still I cannot see the device in device manager.
Please if any body can help me to install rom back to my device.:crying:
Click to expand...
Click to collapse
In cwm there should be an option to mount the device as usb storage. Try that. It should let you plug the phone into the pc and simply copy the zip onto the phones internal sd.
If thats not working try this to set up the drivers. Then plug the phone in and boot into the bootloader/fastboot mode. The open command prompt and cd to the android-sdk/platform-tools directory. Then run the following command:
Code:
adb push /path/to/rom/on/pc/ /mnt/sdcard/
still not working
Still not connected to windows, I cannot do any thing with my device
Download any ROM and do the following:
1. Connect phone to PC when in fastboot
2. Install drivers (if required)
3. Flash latest version of CWM using fastboot flash recovery name_of_recovery.img
4. Reboot phone into fastboot using fastboot reboot-bootloader
5. Boot into CWM
6. Install drivers (if required)
7. Select 'Install via sideload'
8. Flash ROM using adb sideload name_of_rom.zip
9. Follow instructions in CWM
If that still doesn't work, go back to stock using this guide (and read ALL of it):
http://forum.xda-developers.com/showthread.php?t=2010312
EddyOS said:
Download any ROM and do the following:
1. Connect phone to PC when in fastboot
2. Install drivers (if required)
3. Flash latest version of CWM using fastboot flash recovery name_of_recovery.img
4. Reboot phone into fastboot using fastboot reboot-bootloader
5. Boot into CWM
6. Install drivers (if required)
7. Select 'Install via sideload'
8. Flash ROM using adb sideload name_of_rom.zip
9. Follow instructions in CWM
If that still doesn't work, go back to stock using this guide (and read ALL of it):
http://forum.xda-developers.com/showthread.php?t=2010312
Click to expand...
Click to collapse
Thank you for your quick replay
My problem now that I cannot connect my device to PC, I installed drivers every thing and when I open fast boot or recovery mode and plug the cable, nothing indicates on my PC that there is a device connected even device manager not showing any device connected... I am stuck now, I cannot install any rom to get phone life back.
don't worry! the biggest problem would be that you had no drivers installed!
nexus are super easy to recover and you can play with them safely (except if you flash wrongs kernels from other devices haha)
do what my mate gets up in the post! and it will fixed it.
alhawi6 said:
Thank you for your quick replay
My problem now that I cannot connect my device to PC, I installed drivers every thing and when I open fast boot or recovery mode and plug the cable, nothing indicates on my PC that there is a device connected even device manager not showing any device connected... I am stuck now, I cannot install any rom to get phone life back.
Click to expand...
Click to collapse
It's not that it's not showing, it might already be installed correctly. When you have the Nexus 4 connect in fastboot it will show in Device Manager as 'Android Bootloader Interface' under the heading of 'Android Phone (see attached)
alhawi6 said:
Thank you for your quick replay
My problem now that I cannot connect my device to PC, I installed drivers every thing and when I open fast boot or recovery mode and plug the cable, nothing indicates on my PC that there is a device connected even device manager not showing any device connected... I am stuck now, I cannot install any rom to get phone life back.
Click to expand...
Click to collapse
Try with a different USB cable also could be your USB port on your computer
Sent from my Nexus 4
spaceman860 said:
Try with a different USB cable also could be your USB port on your computer
Sent from my Nexus 4
Click to expand...
Click to collapse
It seems that it will never works. I tried all the recommendations given but still device not detected by PC.
same problem for me.. help me
alhawi6 said:
Good day guys,
I need a help with my nexus 4, I had a rooted rom in my nexus 4 with clockwork mode recovery, I tried to wipe my data through clockwork mode but by mistake I did system wipe. Now there is no rom in the device, I can only access to fastboot mode and clockwork recovery mode, also I tried to install rom through toolkit but my PC & Mac doesn't read any device connected and no device shown in device manger in my windows 7 with using different usb cables and ports. I installed samsung drivers and adb drivers but still I cannot see the device in device manager.
Please if any body can help me to install rom back to my device.:crying:
Click to expand...
Click to collapse
i've the same problem in my nexus 4.. Could u recover from that?

[help] i bricked my nexus 7

Hey , everything was fine but i opened cwm recovery and formated everything by mistake including /sdcard/system .... my nexus is now struck at google logo and dsnt do anything , but i can go to bootloader and also clockwork mod recovery. i dont have drivers in my pc and debugging is not enabled in my nexus , so i cannot flash stock using NRT. how can i unbrick my device.thanks !
Debugging makes no difference, since you formatted the system. You need to flash stock using fastboot from your pc.
Download 4.2.2 image from google to pc. Download fastboot via android sdk to pc. Boot into bootloader. Fastboot flash android to N7. There are instructions in the stickies. Also, does cwm allow usb mounting? If so, you could put a custom rom and gapps on a usb stick, mount in cwm and flash rom there. Otg needed for the second option.
Sent from my Nexus 7 using xda premium
If CWM allows you to mount something using OTG, put a ROM on a (FAT-formatted) USB key drive and mount it using an OTG cable. And then flash that ROM.
TWRP will let you do this; I'm not sure about CWM.
If you are able to get into cwm,you could simply sideload a rom/kernel... All you need is adb (part of the android sdk) and the Google usb driver.
Android sdk: http://developer.android.com/sdk/index.html
Google usb driver: http://developer.android.com/sdk/win-usb.html#WinUsbDriver

Stuck in recovery mode

Today, I wanted to reinstall the ROM on my Google nexus 4, and my phone was previously rooted months ago (with Google_Nexus_4_ToolKit_v2.0.0) and was installed with AOKP custom ROM. So I booted into the recovery mode, and accidentally I formatted the system, the cache, the data, etc. I thought when I connect the phone (in recovery mode) to my PC, the PC should recognize my phone and display it as a USB drive in my computer.
However, I was so wrong. With the right driver, the phone is recognized by my PC (as shown in device manager), but it won't show up as a USB drive. So I cannot put in any ROM/gapps file into the phone, I tried to use adb push to load the ROM/gapps into the phone, but I keep getting the "Read-only file system" error. I found the /storage/sdcard0/ can receive the pushed files, but in recovery mode, I cannot select these files for install.
I am now stuck in the recovery mode and cannot do anything. I need you guys help. How can I install a ROM now? thanks a million!!!!
Adb can only be used when your device is booted on android. If not then go to the boot loader and use fastboot.
Sent from my Nexus 4 using Tapatalk 2
rcholic said:
Today, I wanted to reinstall the ROM on my Google nexus 4, and my phone was previously rooted months ago (with Google_Nexus_4_ToolKit_v2.0.0) and was installed with AOKP custom ROM. So I booted into the recovery mode, and accidentally I formatted the system, the cache, the data, etc. I thought when I connect the phone (in recovery mode) to my PC, the PC should recognize my phone and display it as a USB drive in my computer.
However, I was so wrong. With the right driver, the phone is recognized by my PC (as shown in device manager), but it won't show up as a USB drive. So I cannot put in any ROM/gapps file into the phone, I tried to use adb push to load the ROM/gapps into the phone, but I keep getting the "Read-only file system" error. I found the /storage/sdcard0/ can receive the pushed files, but in recovery mode, I cannot select these files for install.
I am now stuck in the recovery mode and cannot do anything. I need you guys help. How can I install a ROM now? thanks a million!!!!
Click to expand...
Click to collapse
Of course you are able to use ADB in recovery mode. Have you tried
Code:
adb push nameoftherom.zip /sdcard/
or if you are using a recovery where you are able to use adb sideload
Code:
adb sideload nameoftherom.zip
Then it should work. Or try mounting the usb in mounts/storage -> mount usb storage
scream4cheese said:
Adb can only be used when your device is booted on android. If not then go to the boot loader and use fastboot.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Of course, it should work if the drivers are installed properly
Like others said use adb push to put a file on the device and then you can flash it with recovery.
If you don't have adb you can get it either by downloading android SDK or just downloading adb did
Sent from my Nexus 4 using xda app-developers app
Try flashing back to stock, then just root and put your ROM back on, I've had to do it once before
Sent from my Nexus 4

Help: Brick oneplus2 that is not recognised by my pc

I cleared the internal storage of my oneplus 2 by mistake and it became brick. I can acceas to the fastboot and twrp. But my pc is not recognising it when i tried adb sideload and fastboot. Pc has winfows 10. I have heard some settings we should do there. So pleasw someone help. How to unbrick it easily. I am a noob here so.. Pls
alwinv001 said:
I cleared the internal storage of my oneplus 2 by mistake and it became brick. I can acceas to the fastboot and twrp. But my pc is not recognising it when i tried adb sideload and fastboot. Pc has winfows 10. I have heard some settings we should do there. So pleasw someone help. How to unbrick it easily. I am a noob here so.. Pls
Click to expand...
Click to collapse
Someone please help. I tried the almost everything available and main problem is pc isnt recognising the phone even as a qualcomm driver.. Adb sideload failed due to the same thing. I can access to the twrp but nothing is there in the internal storage to installand qithout my pc recognising it.. There is no way out
I'm sorry to hear that buddy.. i wish i am expert enough to help you out, but i hope someone comes and helps you
Sent from my ONE A2003 using XDA-Developers mobile app
I haven't used the Qualcomm fastboot recovery flasher. But I guess you just have to boot up the bootloader/fastboot mode, change the drivers under device manager for the Qualcomm ones (might need you to disable driver signing requirement if the driver is unsigned and your running Windows 8 or newer). And from there just run the Qualcomm flasher and watch it complete. However I'm guessing you've been playing around with the experimental beta ROMs and thereby changing bootloader, so you should be able to restore bootloader back to the 2.2.1 one by first running fastboot flash recovery recovery.img with a twrp recovery.img which is compatible with your bootloader (the chinese 3.0 i suppose) and then from there flash the revert to Lollipop zip using TWRP and then fastboot flash recovery the TWRP for OxygenOS 2.2.x/CM13 bootloader.
Skickat från min ONE A2003 via Tapatalk
Hi Alwin,
If TWRP is working on your oneplus 2, you can simply flash the stock firmware by downloading the stock firmware and transferring it to a USB, then using a USB otg connector to flash the zip while in TWRP.
You can find link to stock firmware in benkxda's post.
Hope it helps.
NamanPuri said:
Hi Alwin,
If TWRP is working on your oneplus 2, you can simply flash the stock firmware by downloading the stock firmware and transferring it to a USB, then using a USB otg connector to flash the zip while in TWRP.
You can find link to stock firmware in benkxda's post.
Hope it helps.
Click to expand...
Click to collapse
Thanks..

Please help! Keep booting, USB Debugging off, fastboot dont recognize

Hello, please I need your help. I read a lot and saw too much videos but I can't find a solution.
My Redmi 2 keep booting with the logo of MI and Android under, I can't access to the OS and USB Debugging is off. I installed XiaoMiFlash and MIPcSuite and both don't recognize the phone. I installed ADB Drivers and enter on the cmd 'adb devices' and 'fastboot devices' and don't recognize nothing. Even the device manager on Windows, no response there when I connect the phone via usb.
I don't know what to do!
(sorry for my poor english)
alejuss said:
Hello, please I need your help. I read a lot and saw too much videos but I can't find a solution.
My Redmi 2 keep booting with the logo of MI and Android under, I can't access to the OS and USB Debugging is off. I installed XiaoMiFlash and MIPcSuite and both don't recognize the phone. I installed ADB Drivers and enter on the cmd 'adb devices' and 'fastboot devices' and don't recognize nothing. Even the device manager on Windows, no response there when I connect the phone via usb.
I don't know what to do!
(sorry for my poor english)
Click to expand...
Click to collapse
Can u access to recovery?
raymond_bqg said:
Can u access to recovery?
Click to expand...
Click to collapse
Yes. I did it wipe user data, wipe cache, wipe all data, everything!
So just flash any ROM(miui/custom) again.
raymond_bqg said:
So just flash any ROM(miui/custom) again.
Click to expand...
Click to collapse
But I can't, if I can't access to the phone through of PC, how put in phone a rom? Impossible. Just can access to Recovery, but only I can do wipes. O flash update.zip, but is not a file there.
Well, you can take the sd card out, and use a card reader to copy roms or rom back up from your PC. Put it back on phone, then flash
Sent from my 2014811 using Tapatalk
lexobys said:
Well, you can take the sd card out, and use a card reader to copy roms or rom back up from your PC. Put it back on phone, then flash
Sent from my 2014811 using Tapatalk
Click to expand...
Click to collapse
Yes, but Mi Recovery only install roms that put in the internal memory.
alejuss said:
But I can't, if I can't access to the phone through of PC, how put in phone a rom? Impossible. Just can access to Recovery, but only I can do wipes. O flash update.zip, but is not a file there.
Click to expand...
Click to collapse
Put ROM file in ext SD card and rename it by "update.zip"by PC. Wipe data,cache,d.cache. and flash it by update.zip button.
Edit:-Okk....that's a problem.
Did u try latest miflash tool?
Can't PC recognize internal memory when phone is in recovery mode?
I think miflash tool should recognize ur phone.Just try different version of miflash tool
alejuss said:
Hello, please I need your help. I read a lot and saw too much videos but I can't find a solution.
My Redmi 2 keep booting with the logo of MI and Android under, I can't access to the OS and USB Debugging is off. I installed XiaoMiFlash and MIPcSuite and both don't recognize the phone. I installed ADB Drivers and enter on the cmd 'adb devices' and 'fastboot devices' and don't recognize nothing. Even the device manager on Windows, no response there when I connect the phone via usb.
I don't know what to do!
(sorry for my poor english)
Click to expand...
Click to collapse
Just boot your phone into fastboot mode and flash fastboot rom using miflash beta.
Note that you must use miflash beta as miflash has sometimes issues with recognizing our device.
Bro, try fastboot minimal.

Categories

Resources