[Q] How to push in adb when device not found? - General Questions and Answers

Solved already, used different recovery that has an option to mount sdcard to pc so that I can move the rom for flashing.
Hi,
I have a china phone(oppo finder) that I have accidentally unmount the sdcard using miui recovery. The phone only comes with an internal storage. When I reboot the phone, it will only boot in recovery due to unmounted sd card. I cant use adb due to device not found. I tried searching for the driver but cant found anything that will make adb usable. I am able to go to fastboot and can still flash custom recovery.
Is there a way to push a rom to the sdcard or to remount the sdcard? Anyway I can utilize the fastboot?
Appreciate any help I can get! Thanks for your time in advance!

Related

Stuck in recovery mode

Help guys, I made a really noob mistake (I am a noob). Anyway, UI was about to flash a JB ROM coming from ICS, so I went a litttle overboard on the wiping. in CW under mounts and storage I format /system, format/cache, format/data, and format/sdcard and formar /boot. Now there is no ROM on the SD card for me to flash, and when since I stupidly format/ boot there is no boot image, only stock recovery and clockwork? Can I push a ROM with adb? but i dont know how to do that. I read commands like adb push <pathname> <destination> etc, bu have no clue where to type this?
sawalke4 said:
Help guys, I made a really noob mistake (I am a noob). Anyway, UI was about to flash a JB ROM coming from ICS, so I went a litttle overboard on the wiping. in CW under mounts and storage I format /system, format/cache, format/data, and format/sdcard and formar /boot. Now there is no ROM on the SD card for me to flash, and when since I stupidly format/ boot there is no boot image, only stock recovery and clockwork? Can I push a ROM with adb? but i dont know how to do that. I read commands like adb push <pathname> <destination> etc, bu have no clue where to type this?
Click to expand...
Click to collapse
In recovery go to Mounts and Storage then mount USB storage. That way you can transfer a ROM via USB.
polobunny said:
In recovery go to Mounts and Storage then mount USB storage. That way you can transfer a ROM via USB.
Click to expand...
Click to collapse
ok i have the usb mounted and the system mounted, but in command it says adb is not a recognizable command
sawalke4 said:
ok i have the usb mounted and the system mounted, but in command it says adb is not a recognizable command
Click to expand...
Click to collapse
ADB has nothing to do with USB mounted. Why do you need ADB? If everything is mounted, a drive letter will appear under my computer, just like when you mount storage from within Android. If not, with USB mounted in the recovery, unplug and replug your phone.
polobunny said:
ADB has nothing to do with USB mounted. Why do you need ADB? If everything is mounted, a drive letter will appear under my computer, just like when you mount storage from within Android. If not, with USB mounted in the recovery, unplug and replug your phone.
Click to expand...
Click to collapse
ohh ok, mounted sd card and it showed up. Thanks guys managed to copy the ROM and flash. Sorry for the noob questions.

[Q] Help! TWRP Won't Mount /sdcard for flashing!

I ran a recovery in TWRP to get my phone back to the phones original rom after being on AOKP JB Build 4 on my AT&T One X, but now it stays on the HTC boot screen with the red legal warning on it and TWRP can't mount /sdcard to flash back to another rom. I really hope that this isn't a brick but can someone shine some light on this issue and a possible fix? Help would be greatly appreciated!
Update: Was able to get AOKP flashed back by mounting /data as /sdcard, phone boots into it and I can use it, but the internal storage (/sdcard) is nonexistent and won't mount.
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
DvineLord said:
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
Click to expand...
Click to collapse
I can't get the phone to mount as a removable drive because of the problem with /sdcard, so I can't format it from my computer.
c_h0use said:
I can't get the phone to mount as a removable drive because of the problem with /sdcard, so I can't format it from my computer.
Click to expand...
Click to collapse
Don't worry about the red text. We all have that. And it is not bricked.
Can you turn the phone on with the stock ROM you flashed? If so, can you mount the SD card while it is on, booted up in phone mode? If, mount it there, then move your new rom to your phone.
Hello,
I have a similar issue, i can get into TWRP recovery, but i am not able to mount sdcard. My mistake was that i did fastboot flash boot boot.img but i neglected to actually flash the room and i didn't put the rom in the sdcard, so now i need to mount the sdcard to load the rom to flash it, but that is where i am stuck, is there a way to copy files into the sdcard via adb or any other way?
Any help will be greatly appreciated it.
Thank you.
XRACER said:
Hello,
I have a similar issue, i can get into TWRP recovery, but i am not able to mount sdcard. My mistake was that i did fastboot flash boot boot.img but i neglected to actually flash the room and i didn't put the rom in the sdcard, so now i need to mount the sdcard to load the rom to flash it, but that is where i am stuck, is there a way to copy files into the sdcard via adb or any other way?
Any help will be greatly appreciated it.
Thank you.
Click to expand...
Click to collapse
I think what you need to do then is flash the ROM from your bootloader. I found this guide with directions explaining how to flash from the bootloader by googling How To Flash Rom from Bootloader in the XDA Wiki. Here are the steps
ROM Flashing
Obtain a ROM of your choice, and note the location on your computer.
reboot your device into fastboot mode via one of the following options.
adb reboot bootloader (requires USB debugging to be turned on).
power off the device then back on with 'vol up' + power button.
Wipe your device.
fastboot -w
Update your ROM.
fastboot update </path/to/your/RomFile.zip>
Your phone will update and automatically reboot into the new ROM.
ROM update without SDcard
If you don't have an sd card, or your slot is broken you can try this trick, but you will need a custom recovery like Clockwork.
Boot up your phone to recovery. And move your rom file to the adb directory, and start a command line ( cmd )
adb shell
mount data
adb push D:\custom_rom.zip /data/
Wait until the push finised, and restart your device to recovery again with "adb reboot-bootloader"
mount data
mount /data /sdcard ( mount the data folder into your sdcard folder, so your recovery will think that you have an sdcard installed )
Locate the ROM .Zip file you wish to flash.
Confirm the flash by following the on-screen instructions (ie: pressing the trackball, pressing the call button, etc.)
If no errors arise during the flashing process then the ROM flash was successful, Reboot the device.
With some root file explorer, remove the rom file if you don't need it anymore, to free up space.
Or use adb to remove the custom recovery
adb shell rm data/custom_rom.zip
thanks for the reply but the procedure is not working,
when in fastboot through cmd i get
fatsboot -w
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
I made sure i am in fastboot USB
elphiz
XRACER said:
thanks for the reply but the procedure is not working,
when in fastboot through cmd i get
fatsboot -w
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
I made sure i am in fastboot USB
Click to expand...
Click to collapse
Lol this just happen toe last night what u need to do is boot into bootloader then plug it USB cable to ur phone and format your sdcard it make sure u download a Rom to your computer before this it can be any tom you like after you format you can put the Rom on ur sdcard and flash and u will be golden
loading into bootloader doesn't allow the computer to read/access the sdcard keep in mind this is the HOX so the sdcard is the internal memory, i could get into the recovery and then try to mount it that way and format from there but for some reason i can't select the option mount sdcard.
This works:
How to Fix corrupt/unmountable internal storage on the HTC One X/XL
http://forums.team-nocturnal.com/sh...storage-on-the-HTC-One-X-XL?p=13552#post13552
perfect thanks that did the job. now time to install the ROM!!!!
thanks a lot
hmmmm.... one more question would i need to flash the boot image as well before installing the ROM???
EDIT: i went ahead and just flashed the ROM, and everything is working fine.
Thank you to everyone
XRACER said:
perfect thanks that did the job. now time to install the ROM!!!!
thanks a lot
hmmmm.... one more question would i need to flash the boot image as well before installing the ROM???
EDIT: i went ahead and just flashed the ROM, and everything is working fine.
Thank you to everyone
Click to expand...
Click to collapse
If you're not on Hboot 1.14 then you don't have to flashboot flash boot.img. just flash the .zip from your sd card
Sent from my HTC One XL cellular device over clocked to 1.9Ghz
thank you sir!
king200 said:
This works:
How to Fix corrupt/unmountable internal storage on the HTC One X/XL
Click to expand...
Click to collapse
ok this did work and i appreciate the link. ive bookmarked it for future use. what sux is i assumed i bricked and have already had a new phone shipped. oh well guess i got a back up
will this work because my microsims card unable to mount /sdcard which i assume is the internal one will it work even if its blank/empty via computer because i have no working os on my phone i have incredible 4g so i hope you can help me
XRACER said:
loading into bootloader doesn't allow the computer to read/access the sdcard keep in mind this is the HOX so the sdcard is the internal memory, i could get into the recovery and then try to mount it that way and format from there but for some reason i can't select the option mount sdcard.
Click to expand...
Click to collapse
I did it. Apparently you can install a zip ROM from SD card once you repartition it from the recovery. There is an option to partition the SD card in the Recovery.
After that, restart the phone, go into recovery again, connect to the PC using a USB cable, and use the USB mount option if you want to copy the ROM without removing the microSD card from the phone. Copy the zip ROM to the sdcard and try installing the ROM again. It worked for me !
I was installing the Pico ROM from this tutorial:
www (dot) rootlord.com/2013/08/revert-htc-explorer-back-to-stock-rom (dot) html
I
TWRP Mounting SD card
DvineLord said:
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
Click to expand...
Click to collapse
So I think I may have currupted my sdcard. I'm running CM-12 4/21/15 nightly. I'm a nubie at this stuff and have read everywhere I can think of on the forums. When I try to reboot to bootloader from TWRP recovery if goes immediately to the do no remove USB connection FIRMWARE Update. I am worried that this will un-root me with AT&T being jerks and fixing the bumped bootloader. So, I have always just pulled the battery, plus it never has any progress on the %downloaded bar.
To try to fix the issue I may have just made it worse and created too many partitions or corrupted the SD by doing exactly what you said not to do above. Before I did a TWRP wipe (not the advanced version) the SD card was mounted, but some apps like google play music kept saying external storage removed. I did the wipe and saw the factory reset screen and said ok. I had to download all my apps again and then switched to Google Now launcher I orginally rooted and bootloader unlocked with bump on a different smaller external SD card. I wasn't sure if that had anything to do with it.
I'm almost unsure what to ask you or other more experienced users what to do.
eee. how about on my samsung galaxy j5 sm j500h? i wanted to mount my phone to pc but i cant. was planning to fix my phone cause im stucked on bootlogo due to flashing xposed-v72-sdk22-arm.zip. Hoping that you guys can help me out.

Is it possible to mount USB storage without a ROM?

I flashed a bad ROM and have no other zip on SD to mount.
I can flash any recovery from MotoTool.
ADB push doesn't work says device not found.

"CM Lockscreen has stopped" turns OPO into bootloop, how to backup /sdcard to pc?

"CM Lockscreen has stopped" turns OPO into bootloop, how to backup /sdcard to pc?
I got the "CM lockscreen has stopped" message, and now my phone keeps rebooting. I can put the phone into stock recovery mode and maybe fastboot mode(yet to try). All i wanted now is to backup all my files in internal storage before "sideload" the older firmeware(33R) to fix the phone.
I just learned how to use adb and fastboot.
in stock recovery mode------> apply update-----> adb, only "adb sideload mode" is allowed, i can't use adb pull command in here.
Question is: How to backup all the files in internal storage(/sdcard) to my pc.
should i just sideload the older firmware and fix the rebooting issue first?
but i am worrying this method won't works or the internal storage will get formatted.
Thank you
Just flash a custom ROM using TWRP. Your files won't be erased from internal sd card.
No need to use fastboot. Don't forget to wipe in twrp.
zephiK said:
Just flash a custom ROM using TWRP. Your files won't be erased from internal sd card.
No need to use fastboot. Don't forget to wipe in twrp.
Click to expand...
Click to collapse
But i didn't install TWRP on my phone. To install TWRP now, i think i have to unlock the bootloader first, but this will wipe all the data(including internal sd scard). Am i right?

restocking my phone

is there a way to put a rom in the sdcard even thought i cant access it through recovery or internal storage in the pc. I have a twrp tried to install cyanogenmod to fix my phone from boot loop but twrp keep on saying it cant mount my sdcard, trie clockworkmod aswell and it also cant mount my sdcard please help
radster12795 said:
is there a way to put a rom in the sdcard even thought i cant access it through recovery or internal storage in the pc. I have a twrp tried to install cyanogenmod to fix my phone from boot loop but twrp keep on saying it cant mount my sdcard, trie clockworkmod aswell and it also cant mount my sdcard please help
Click to expand...
Click to collapse
Which version of twrp? you need to be on 2.7.x.x or higher

Categories

Resources