my sd card got broken and reflashed to original 2,3 rom. now i want to go back to custom rom. can any1 help me flash custom recovery without sd card. thanks
Sent from my LG-P500 using XDA
mrbulanescu said:
my sd card got broken and reflashed to original 2,3 rom. now i want to go back to custom rom. can any1 help me flash custom recovery without sd card. thanks
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
I doubt that's possible
Sent from my LG-P500 using xda premium
I think you can only flash official roms with kdz because custom roms needs SD card to use "flash zip from sdcard" in the recovery.
There must be a way for flashing ROM through adb.
there is, basically look up how to copy files from PC to phone using adb, and just copy everything in the ROM onto the / (root) of your phone, as all flashable zips do is copy the stuff from your sd card onto your phone
Flash mage
Use Android Commander version 0.7.9.10 by PanPiotr. It has a option to flash your phone under device menu. I have never used it so I don't know if it will work, but it might be worth a try. http://androidcommander.com/ here is the link for the software It is a very powerful application I would recommend to any andriod user, good luck I would like to know if it works for you. All of the features I have used work perfect.
mrbulanescu said:
my sd card got broken and reflashed to original 2,3 rom. now i want to go back to custom rom. can any1 help me flash custom recovery without sd card. thanks
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
I only understoood that you flashed.stock firmware using kdz and have no sd, so steps are as follows:
1.root optimus 1 using superoneclick
2.flash cwm using adb
3.reboot in recovery
4.mount /system
5.then format /system
6.flash rom using adb
or
just copy paste files in /system of your phone
I mean the files which are in zip of custom rom
How to Flash a ROM Without an SD Card
This is for all those who don't have a working sdcard, sdcard slot, etc. but want still to flash a new rom
Prerequisites:
Flash an Amon_RA recovery if you're using Clockwork
Access to a computer that had AndroidSDK tools on it - you'll be using ADB
Put whichever ROM.zip you want to flash in your android-sdk\tools folder - I would rename it to something simple. (My example which I'll be using for this tut is: C:\AndroidSDK\toosl\ROM.zip)
Directions:
Reboot into the Amon_RA recovery
Wipe data/factory reset, cache, and dalvik via the recovery menu
Open up cmd/terminal on your computer
Navigate to your android-sdk\tools directory
Enter the following in cmd/terminal:
Code:
adb shell
mount data
*wait a second or two* You may or may not get the "/ #" line returned.
Despite what happens press "Ctrl+C" to break the command and get back to the standard AndroidSDK\tools> directory
Enter the following in cmd/terminal:
(replace "ROM.zip" with the name you're using)
Code:
adb push ./ROM.zip /data/
*this will take anywhere from 30sec to a min depending on the rom.zip size*
Then we do this in cmd:
Code:
adb shell
recovery --update_package=DATA:ROM.zip
Wait for it to finish flashing/updating
Reboot
ENJOY
Brief rundown of what we just did:
Wiped /data/ to free up space for the zip
Put our ROM.zip onto the /data/ partition since we don't have an SD Card to work with.
Told the recovery to flash from our /data/ partition instead of /sdcard/
.......
is there a way to toggle signature verification through adb? My sd card slot is not working and i am trying to flash back to stock to go to sprint for repair but when I run the command and reboot into recover it says signature failed and then I can not pick the update.zip i put in the data partition.
by.adrian said:
How to Flash a ROM Without an SD Card
This is for all those who don't have a working sdcard, sdcard slot, etc. but want still to flash a new rom
Prerequisites:
Flash an Amon_RA recovery if you're using Clockwork
Access to a computer that had AndroidSDK tools on it - you'll be using ADB
Put whichever ROM.zip you want to flash in your android-sdk\tools folder - I would rename it to something simple. (My example which I'll be using for this tut is: C:\AndroidSDK\toosl\ROM.zip)
Directions:
Reboot into the Amon_RA recovery
Wipe data/factory reset, cache, and dalvik via the recovery menu
Open up cmd/terminal on your computer
Navigate to your android-sdk\tools directory
Enter the following in cmd/terminal:
Code:
adb shell
mount data
*wait a second or two* You may or may not get the "/ #" line returned.
Despite what happens press "Ctrl+C" to break the command and get back to the standard AndroidSDK\tools> directory
Enter the following in cmd/terminal:
(replace "ROM.zip" with the name you're using)
Code:
adb push ./ROM.zip /data/
*this will take anywhere from 30sec to a min depending on the rom.zip size*
Then we do this in cmd:
Code:
adb shell
recovery --update_package=DATA:ROM.zip
Wait for it to finish flashing/updating
Reboot
ENJOY
Brief rundown of what we just did:
Wiped /data/ to free up space for the zip
Put our ROM.zip onto the /data/ partition since we don't have an SD Card to work with.
Told the recovery to flash from our /data/ partition instead of /sdcard/
Click to expand...
Click to collapse
Flash using kdz uploader. Search and read before flash. There are some tutorials on these forums.
u can also use fastboot
i am following this way but i get error "device not found". please help
Didn't Work For Me
I Want To Flash CM9 ICS On My LG P500. I Followed The Steps EXACTLY LIKE IN THE GUIDE! I Have Amon_RA Build:RA_thunderg-3.0.6-GNM and it said can't install because no such thing exist in that directory...? I DONT Have A SD CARD Also... Is ClockWorkMod Recovery Any Better?
Isn't better buy a new sd card than anticipade some unnecessary problems?
orbit09 said:
Isn't better buy a new sd card than anticipade some unnecessary problems?
Click to expand...
Click to collapse
Sometimes the problem isn't about buy an sdcard, but the phone doesn't recognize any sdcard
orbit09 said:
Isn't better buy a new sd card than anticipade some unnecessary problems?
Click to expand...
Click to collapse
My LG phone doesn't even have an ad card slot. Entire phone is riveted shut so I can't even change the battery if I needed to. So this advice is completely relevant and necessary.
Related
I followed this tutorial (2nd post down), got some errors during the process and failed to complete it.
Now my phone hangs on the vodafone splash screen on boot. I think it is empty - without a rom.
However, it will boot to recovery and the bootloader fastboot.
Is there anything I can do to fix it or is it just a brick now?
Any help is much appreciated.
Cheers,
Flitar
boot into recovery and perform update with some rom
you will need to have some external device to write your microsd
If you get to a modded recovery image, you can run adb
1. Run "adb shell".
2. Once you're connected, remount the microsd card (it the os is broken it doesn't mount it automatically, at least on my phone) by running "mount /dev/block/mmcblk0p1 /sdcard"
3. Run "exit" on the terminal, so you can go back to your desktop computer.
4. Copy an update file to the sd card using adb, for example: "adb push [name_of_the_file] /sdcard/update.zip
5. Run the update from the recovery menu.
6. Reboot.
If that doesn't work, and if you did a nandroid backup, you still can update using fastboot by using the image files from the sd card (wich, by the way, you can copy from the phone back to the pc by using the command "adb pull [remote_file_name] [local_file_name]
Thanks you guys!
Sorted, phone is fine now.
I am trying to restore my Gtab using a micro sd card. I already had Clockwork install. So here is the steps I use
On the SD card I reformatted it and add the "Recovery/ command with SD2 and save the file. I also update the update.zip file
So I held up the volume + and power and it rebooted to Clockworkmod recovery, but I can not access the SD2 card to install the update.zip file. So how can I reboot into the system restore and not Clockworkmod recovery. Please tell me if I am doing something wrong? I can not get it to continuing booting up
lilgotti56 said:
I am trying to restore my Gtab using a micro sd card. I already had Clockwork install. So here is the steps I use
On the SD card I reformatted it and add the "Recovery/ command with SD2 and save the file. I also update the update.zip file
So I held up the volume + and power and it rebooted to Clockworkmod recovery, but I can not access the SD2 card to install the update.zip file. So how can I reboot into the system restore and not Clockworkmod recovery. Please tell me if I am doing something wrong? I can not get it to continuing booting up
Click to expand...
Click to collapse
The /sdcard/recovery/command is only for when you have the stock recovery installed. You have clockwork installed.
Option 1) So what you need to do is put your update.zip onto your internal /sdcard partition when you are booted into your ROM. Then boot into clockwork, and run it.
Option 2) If you cannot boot into your ROM, hopefully you have a backup that you made in clockwork that you can restore to a working state. Then run the update.zip from clockwork.
Option 3) If you don't have a backup and cannot boot into your current ROM. You can push the update.zip to /sdcard with ADB.
adb push update.zip /sdcard
Do you know the instructions on how to use the adb push update.zip/sdcard?
lilgotti56 said:
Do you know the instructions on how to use the adb push update.zip/sdcard?
Click to expand...
Click to collapse
Dang, so you don't have a working ROM and don't have a clockwork backup? If you don't have ADB setup either, then that does kinda put you in a bad position.
At least this will give you the incentive to setup ADB. Here is a guide: http://wiki.tegratab.com/index.php/Setting_up_ADB
Btw, that is the literal command when you get it working. Change directory to the update.zip, then:
"adb push update.zip /sdcard"
lilgotti56 said:
Do you know the instructions on how to use the adb push update.zip/sdcard?
Click to expand...
Click to collapse
You could also go into clockwork and mount usb storage. Then copy the file to your tablet from your pc.
I was until to get the update file on the root on the internal mem but when I try to install it will not let me it just install update and go right to the Clockwork reboot screen
Is it a way I can completely bypass clockwork?
Was able to fix it guys thanks
lilgotti56 said:
Was able to fix it guys thanks
Click to expand...
Click to collapse
Let us know what you did in case someone else has the same problem
Sprdtyf350 said:
You could also go into clockwork and mount usb storage. Then copy the file to your tablet from your pc.
Click to expand...
Click to collapse
That never crossed my mind to do.....thanks
Hi all,
I'm here because I need your help...
Days ago I installed on my TF101G the recovery CWM 5.8.1.8...
now I can just go into recovery mode and if I try to mount /data I receive the message "no location found"...
how can I push a Rom on my TF to try to install it?
thanks in advance for your help
how to flash a ROM
The ROM to be flashed must be cwm flashable, you cannot flash official firmware unless it is repacked to be cwm flashable.
Your ROM must be a zip file, do not unzip it.
Copy (or adb push) the ROM to /sdcard/
Reboot tab into recovery.
Follow cwm flash instructions. There are many such a manual available on-line, one of them is:
http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/
You can just jump to section "apply update from sdcard", which tells you how to use cwm recovery to flash a ROM
One thing you should pay attention is:
if the ROM to be flashed is only a update to your current ROM, do not do any wipe work.
If it is a new ROM, you must do the wipe.
You can also try this....
hi Fenice82,
read this forum
http://forum.xda-developers.com/showthread.php?t=1213723
and read message 1 and 313 for mounting and the adb commands for sending cmw flash file to your internal card of your TF.
Make sure you have the cwm flashable rom file on you computer in the adb dir.
good luck.
I'm hege again...
thk nlheiz for your post...
I push the rom in my TF... I tried different location...
data/media
or
data
or
system
or
sdcard
or
sdcard/rom
if I go in adb shell and I use command mkdir to make a new folder like system,data,sdcard I see the the file already exist...
but my tf "can't mount /sdcard/" and at the same time if i try to mount /data from recovery I see the message
"Error mounting /data!"
what can I do now?
edit... maybe this can help you...
via ADB shell
mount data
mount: mounting /dev/block/mmcblk0p7 on /data failed: Invalid argument
How about restore stock recovery and ROM? Here is a recent guide for root/unroot/downgrading:
http://forum.xda-developers.com/showthread.php?t=1622628
I don't have experience with cwm 5.8.1.8, I stayed on 3.2.0.1 because it is possible to flash from external sdcards.
cold you try this:
put our tablet into cwm (volume - plus power and when asked volume +) and connect it to usb on pc.
then on your pc:
adb devices
this should give you a serial number back.....
then try this:
to mount the internal sdcard so that you can push a new rom- use
adb shell
mount /dev/block/mmcblk0p7 /data/
ls /sdcard/
exit
then from your pc, type:
adb push /path/to/your/rom.zip /data/media
I found this here http://forum.xda-developers.com/showthread.php?p=23256536 in post 3......
let me know if this works
e154037 said:
How about restore stock recovery and ROM? Here is a recent guide for root/unroot/downgrading:
http://forum.xda-developers.com/showthread.php?t=1622628
Click to expand...
Click to collapse
thk man... with method 3 I installed new recovery and with it I installed the official update, from external storage, that recovery my tablet...pdate
before official update I tried to install other custom rom but I incurred in encryption problem... with official after the fist boot it automatically resolved the problem
I'm very happy
thk again
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.
Background = Intend to flash my LG p725 ....
Done :
(1) Root,
(2) Installed the CWM Recovery 6.xxxx,
(3) Get into Recovery Mode,
(4) Wipe Data and Factory Reset > 5. Wipe Cache > 6. Go to Advenced and Wipe Dalvik Cache > 7. Go to Mounts and Storage and Format System (Following instruction some the rom post somewhere)
But problem is ... forgotten "Copy the zip file to the INTERNAL SD CARD"
Now stuck at CWM recovery, with NO ROM in internal SD Card & unable to access to _External SD folder
And unable to get into OS, only stop at LG logo, i guess bcz i format system
Orz...
Need Help!
Anyway to
(1) copy the zip file to internal SD Card with no need get into system
(2) let the CWM able to excess the zip file from external SD, instead of Internal SD?
(3) Anyway to solve?
Thanks in advance on your kind help !!
^Jason^ said:
Background = Intend to flash my LG p725 ....
Done :
(1) Root,
(2) Installed the CWM Recovery 6.xxxx,
(3) Get into Recovery Mode,
(4) Wipe Data and Factory Reset > 5. Wipe Cache > 6. Go to Advenced and Wipe Dalvik Cache > 7. Go to Mounts and Storage and Format System (Following instruction some the rom post somewhere)
But problem is ... forgotten "Copy the zip file to the INTERNAL SD CARD"
Now stuck at CWM recovery, with NO ROM in internal SD Card & unable to access to _External SD folder
And unable to get into OS, only stop at LG logo, i guess bcz i format system
Orz...
Need Help!
Anyway to
(1) copy the zip file to internal SD Card with no need get into system
(2) let the CWM able to excess the zip file from external SD, instead of Internal SD?
(3) Anyway to solve?
Thanks in advance on your kind help !!
Click to expand...
Click to collapse
Have you tried adb sideload?
Karim Kahale said:
Have you tried adb sideload?
Click to expand...
Click to collapse
Thanks for replying ....
Trying now, had tried install "15 seconds ADB Installer"
and running the cmd.exe with code "adb reboot-bootloader"
however result = "error : device not found"
Possible reason that i could think = my pc unable to read / detect / access my p725 when it No System ?
Will keep trying later, thanks ^^
Reading :
http://hackerspace.lifehacker.com/how-to-install-a-rom-via-sideload-1505153925
http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
http://android-revolution-hd.blogspot.com/2013/12/ow-to-use-adb-sideload.html
Karim Kahale said:
Have you tried adb sideload?
Click to expand...
Click to collapse
Trying the adbsideload
However, when i connect to pc, and get into CWM mode
It didn't show "install from adb sideload"
not even a word "adb"
is that i did any step wrong?
My step
1) plug the cable
2) get into CWM recover http://forum.xda-developers.com/showthread.php?t=1998031
Thanks for anyone helping ^^
^Jason^ said:
Trying the adbsideload
However, when i connect to pc, and get into CWM mode
It didn't show "install from adb sideload"
not even a word "adb"
is that i did any step wrong?
My step
1) plug the cable
2) get into CWM recover http://forum.xda-developers.com/showthread.php?t=1998031
Thanks for anyone helping ^^
Click to expand...
Click to collapse
This is not how you must use the adb sideload feature. Follow this guide http://forum.xda-developers.com/showthread.php?t=2559200
Karim Kahale said:
This is not how you must use the adb sideload feature. Follow this guide http://forum.xda-developers.com/showthread.php?t=2559200
Click to expand...
Click to collapse
Thanks for the posts
Had tried to did the same thing @ first post, including installing the LG drivers (hope it including my LG p725)
http://hexamob.com/driversen/driversen-driversen/download-android-usb-drivers-for-lg/
Also did following
1) Your phone is rooted and up and running in custom recovery (CWM,)
2) You have proper drivers installed in your Windows (Samsung ADK + LGUnitedMobileDriver_S50MAN310AP22_ML_WHQL_Ver_3.10.1)
3) You have USB debugging enabled in the phone (Yup, did it before rooting the phone)
however .... in the CWM recover, still didnt show out "adb sideload" & the cmd.exe still showing "error : device not found"
:crying::crying: