Related
Hello all. Searching didn't get me an answer. I'm curious if there's a way to mount the internal storage to a PC with a cracked screen. Phone definitely turns on but screen is shot. Any ideas are welcome. Thanks in advance.
Sent from my LG-P999 using XDA App
Are you lucky enough to have cwm recovery? You van mount it through there with just button presses. Done it myself, granted I had a second phone to guide me through how many times I needed to press the buttons, but it worked like a curse!
studacris said:
Are you lucky enough to have cwm recovery? You van mount it through there with just button presses. Done it myself, granted u had a second phone to guide me through how many times I needed to press the buttons, but it worked like a curse!
Click to expand...
Click to collapse
Unfortunately no. Its a friends phone so it was never rooted. Does stock recovery have that option?
Sent from my LG-P999 using XDA App
Well....damn.
I'm pretty sure it's not in stock recovery.
Was usb debuging turned on? You can use adb to pull everything from /sdcard
Not sure its worth a shot.
Adb pull /sdcard?
Sent from my LG-P999 using XDA App
No luck with adb what is download mode? Any way to use that?
Sent from my LG-P999 using XDA App
No. download mode is for flashing software onto the phone.
Been a while since I messed with my captivate but couldn't he use Odin to flash a kernel with recovery and go from there?
newter55 said:
Been a while since I messed with my captivate but couldn't he use Odin to flash a kernel with recovery and go from there?
Click to expand...
Click to collapse
****, you are exactly right!!
note to self:dont answer questions until you've had your morning coffee!!
op grab a .tar from this thread http://forum.xda-developers.com/showthread.php?t=893880&highlight=speedmod
and research how to use odin. then you will need a screen shot of cwm to guide you through how many button presses you need.
And this wont wipe the internal SD?
And I don't need root first?
Sent from my LG-P999 using XDA App
doesn't touch the internal SD
and download mode happens outside the OS no root needed.
Ill give it a go tonight or tomorrow will report back.
Sent from my LG-P999 using XDA App
ok after flashing the kernal through odin the phone is found in adb. what is the command to pull the files from the internal sd and save them to my desktop?
http://developer.android.com/guide/developing/tools/adb.html#commandsummary
Adb pull /mnt/sdcard c:\users\(you)\desktop
I believe or something like that. I honestly don't use adb too often.
if you boot into recovery (with adb reboot recovery) it should be volume down 6 times, then power, vol up twice then power and that should get you to mount the sdcard so you an just use windows gui to copy everything over instead of a command prompt
Got it! Thank you very much! For reference its /mnt/sdcard.
Sent from my LG-P999 using XDA App
Awesome man!
Glad to hear.
I am in the same situation but the phone is rooted and has a custom rom.
fapulous said:
I am in the same situation but the phone is rooted and has a custom rom.
Click to expand...
Click to collapse
If you can get adb to recognize the phone the command is adb pull /mnt/sdcard
Sent from my LG-P999 using XDA App
After having a really bad day at work I ended up putting my phone into a wall as hard as i could - the result: A destroyed screen
The instructions here work like a charm & I was able to copy the entire contents of the SD card over to my computer - adb pull /mnt/sdcard Ti Backup is a little outdated but I am not complaining. Thanks all!
studacris said:
if you boot into recovery (with adb reboot recovery) it should be volume down 6 times, then power, vol up twice then power and that should get you to mount the sdcard so you an just use windows gui to copy everything over instead of a command prompt
Click to expand...
Click to collapse
THANK YOU! Worked like a charm.
Hello,
I've been unlocked and rooted for a few weeks and all has been good. Not sure how I did this but I seem to have now bricked my phone though. I can only get my phone to boot to CWM recovery, not to boot properly. Also - while in CWM I get an error E: Can't mount /sdcard/ .
This means I can't copy a ROM to the phone to flash.
Any other way I can get around this? My phone is an unbranded HTC One on T Mobile in the UK. Any help would ne majorly appreciated!!
Did you find a way around as i m stuck too in recovery cant mount external sd card...
Sent from my HTC One x using xda app-developers app
Try with the command:
Code:
adb push name_of_rom.zip /sdcard
^^if that doesn't work I would try going into recovery and trying to install from sideload
adb sideload name_of_your_rom.zip command on your PC.
Make sure name_of_your_rom.zip is in your folder with your adb files.
Sent from my HTC One using xda premium
redbull123 said:
^^if that doesn't work I would try going into recovery and trying to install from sideload
adb sideload name_of_your_rom.zip command on your PC.
Make sure name_of_your_rom.zip is in your folder with your adb files.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Cheers for the help guys - I'll give it a go
Sooooo, possibly getting somewhere.
Basically I can now see the sdcard from within CWM. However - I can't push anything to it via adb.
If I go into fastboot and type 'adb devices' I get no devices found. However - typing 'fastboot devices' does see the device.
??
You have to use adb command in recovery..
Hmmmm, still the same.
I'm beginning to think I've bricked it. Fastboot commands from Fastboot work, but can't get adb commands from recovery to work.
Wonder if I use a different laptop...?
thenoble06 said:
Hmmmm, still the same.
I'm beginning to think I've bricked it. Fastboot commands from Fastboot work, but can't get adb commands from recovery to work.
Wonder if I use a different laptop...?
Click to expand...
Click to collapse
Reflash the recovery and upgrade your adb with the latest...
Or try the sideload method.
Don't mean to offend, but are you running the commands from within the folder in cmd?
ie. My adb folder is called android and it's on my desktop on my mac so I would type:
cd /users/my_name/desktop/android
before I would write any commands.
Try clearing your cache in recovery also
Sent from my HTC One using xda premium
redbull123 said:
Don't mean to offend, but are you running the commands from within the folder in cmd?
ie. My adb folder is called android and it's on my desktop on my mac so I would type:
cd /users/my_name/desktop/android
before I would write any commands.
Try clearing your cache in recovery also
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Your not offending me! I do work in IT but readily admit I'm a NOOB when it comes to Android and ADB.
When I try to sideload I get the same error: device not found error.
I'll give clearing cache and reinstalling the Recovery a bash
No offense taken RedBull, I'll gladly admit I'm a newbie when it comes to ADB (but I am in the right directory).
I'm so close to fixing this, if I could just, somehow, get a rom onto the phone I could flash it and away I go. How I wish the One had a removable card since I can't get the phone to be recognised (error: no device found) when using ADB and Recovery. However, weirdly, I can push different recoveries using AIO kit (but can't use it for anything else). Also weird how FASTBOOT recognises the phone, but Recovery/ADB doesn't
Would a USB OTG cable help? I'm guessing not.
thenoble06 said:
No offense taken RedBull, I'll gladly admit I'm a newbie when it comes to ADB (but I am in the right directory).
I'm so close to fixing this, if I could just, somehow, get a rom onto the phone I could flash it and away I go. How I wish the One had a removable card since I can't get the phone to be recognised (error: no device found) when using ADB and Recovery. However, weirdly, I can push different recoveries using AIO kit (but can't use it for anything else). Also weird how FASTBOOT recognises the phone, but Recovery/ADB doesn't
Would a USB OTG cable help? I'm guessing not.
Click to expand...
Click to collapse
I haven't tried this myself, but ClockworkMod Touch is supposed to support USB OTG:
http://forum.xda-developers.com/showthread.php?t=2173863
As is TWRP:
http://forum.xda-developers.com/showthread.php?t=2173870&highlight=usb+otg
Just remember to plug everything in before you enter recovery
'fastboot erase cache' before flashing a new recovery
And if USB OTG works i could use it to copy a file from a USB drive to my phone?
Sent from my GT-N7000 using Tapatalk 2
thenoble06 said:
And if USB OTG works i could use it to copy a file from a USB drive to my phone?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Like i said - i haven't tried it, but there is an option to install a zip from external sdcard in recovery, so it may be that.
Sent from my HTC One using xda premium
Use hasoons toolkit, it has option to sideload. Just make sure you select sideload in recovery. I had the same issue but I was on twrp . Hopefully cwm has side load option
Sent from my HTC One using xda app-developers app
Yeah i tried, for some reason i cant get my laptop to see my phone via ADB
Sent from my GT-N7000 using Tapatalk 2
Make backup pf your sd card then munt usb storage voa cwm format the int and ext sd card then it will be mounted cause i faced this proplem tpday on my tablet and i solved it like that it's simple
Sent from my GT-S6500 using Tapatalk 2
thenoble06 said:
Your not offending me! I do work in IT but readily admit I'm a NOOB when it comes to Android and ADB.
When I try to sideload I get the same error: device not found error.
I'll give clearing cache and reinstalling the Recovery a bash
Click to expand...
Click to collapse
regarding the device not found error, check if the adb interface is installed in the device manager. may be you have to install it manually .
Also i had the same issue with the sdcard (not able to access), i have wiped the Data partition because sdcard is included inside (in /data/media) of course you will lose all the files in sdcard.
NiceIceDice96 said:
Make backup pf your sd card then munt usb storage voa cwm format the int and ext sd card then it will be mounted cause i faced this proplem tpday on my tablet and i solved it like that it's simple
Sent from my GT-S6500 using Tapatalk 2
Click to expand...
Click to collapse
This device it is not able to mount sdcard via recovery yet, but if you use an off cable it will work I have done it
Sent from my HTC One using Tapatalk 2
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
jason27131 said:
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
Click to expand...
Click to collapse
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Awesome i'll try that. Thanks!
redbull123 said:
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
It says device not found.
What about if you go into fastboot in the bootloader screen and type
fastboot devices
Maybe you need to reinstall your adb files...
Sent from my HTC One using xda premium
then you need to install HTC drivers for your phone. If configured correctly you can do adb devices and it will show up.
If you have drivers installed correctly under device manager the phone shows up as My HTC. Make sure you aren't using a USB 3 port if your computer has one.
Reboot your computer. That worked for me. I did the same thing
Also download HTC all in one tool kit. Its a lifesaver.
Sent from my HTC One using xda app-developers app
fastboot does work. Can i use the adb command in bootloader screen?
jason27131 said:
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
Click to expand...
Click to collapse
I had same problem nothing was working .i used twrp and from there mount storage as otg as that was only working and put a rom in external pendrive and flash your rom
Sent from my HTC One aka M7
jason27131 said:
fastboot does work. Can i use the adb command in bootloader screen?
Click to expand...
Click to collapse
no only fastboot commands.
So then where do i do the adb commands? In the recovery? I don't get why adb devices isn't giving me anything when fastboot is.
jason27131 said:
fastboot does work. Can i use the adb command in bootloader screen?
Click to expand...
Click to collapse
No, adb must be done in recovery.
Go into recovery and try
adb devices
If nothing shows up you need to re-install/update your adb files and HTC drivers.
If your devices shows up this time then do what I said earlier...
Sent from my HTC One using xda premium
You can either reboot the computer or stop and restart the adb service from the windows management console. The driver for fastboot and adb are the same so I suspect it's something with adb server acting up
I'm guessing you update adb files via sdk manager?
redbull123 said:
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
gunnyman said:
You can either reboot the computer or stop and restart the adb service from the windows management console. The driver for fastboot and adb are the same so I suspect it's something with adb server acting up
Click to expand...
Click to collapse
I stopped and restarted the adb services and it stil lcan't find the phone. is there any thing specific I have to do in recovery? This is confusing me so much.
jason27131 said:
I stopped and restarted the adb services and it stil lcan't find the phone. is there any thing specific I have to do in recovery? This is confusing me so much.
Click to expand...
Click to collapse
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Remove and reinstall the driver
zinder33 said:
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Click to expand...
Click to collapse
Reasonably hard if he doesn't have a USB OTG cable atm...
Sent from my HTC One using xda premium
zinder33 said:
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Click to expand...
Click to collapse
Very, since clicking on the micro-otg doesn't do anything. I managed to get sideload working I believe. It's at 40%, hopefully it is sideloading the file.
jason27131 said:
Very, since clicking on the micro-otg doesn't do anything. I managed to get sideload working I believe. It's at 40%, hopefully it is sideloading the file.
Click to expand...
Click to collapse
Should be good to go
If it freezes in Aroma just force reboot and try again.
Sent from my HTC One using xda premium
So I was about to reflash my phone and now Im stuck. I went a bit too fast maybe so now I have TWRP, no roms or backups. Not only that, I cant mount to USB because of stupid Win 8. Anyone have any ideas? Im pretty sure Im not bricked but right now I wish I had an SD card slot
Thanks again
BTW, I have the factory RUU but my computer isnt detecting the phone
aman1127 said:
So I was about to reflash my phone and now Im stuck. I went a bit too fast maybe so now I have TWRP, no roms or backups. Not only that, I cant mount to USB because of stupid Win 8. Anyone have any ideas? Im pretty sure Im not bricked but right now I wish I had an SD card slot
Thanks again
BTW, I have the factory RUU but my computer isnt detecting the phone
Click to expand...
Click to collapse
I don't know where they are exactly, but there are "universal" windows 8 ADB drivers floating around XDA that worked for me. I had to push the rom .zip to the phone from ADB in TWRP
Apk07 said:
I don't know where they are exactly, but there are "universal" windows 8 ADB drivers floating around XDA that worked for me. I had to push the rom .zip to the phone from ADB in TWRP
Click to expand...
Click to collapse
Thanks for the reply but Im retarded when it comes to ADB. I did it only once. Any page to tell me what to do exactly? Search for some reason is down for me right now.
Ok adb came back to me, like riding a bike. Turns out the image i was trying to flash was off by like a digit so it wouldnt flash. That was a waste of 4 hours
For future reference, the command to put a file onto your phone via adb is: adb push <file location> \sdcard
Sent from my HTCONE using xda app-developers app
decayer177 said:
For future reference, the command to put a file onto your phone via adb is: adb push <file location> \sdcard
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Or
adb push <filename> /sdcard/
bigdaddy619 said:
Or
adb push <filename> /sdcard/
Click to expand...
Click to collapse
Like doin stuff in adb or fastboot... Makes me feel smart! LOL
Sent from my HTCONE using Tapatalk 4
Here's what I need so that I can update things like Firmware packages, ROM files, mods, etc...
This is all assuming they didn't break our ability to root and/or use a custom recovery
This is already done:
First ensure you're on the NAE update. (Duh)
Root it
Enable USB Debugging, connect to PC with adb setup and do the following:
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/apnhlos of=/data/local/tmp/apnhlos.bin
dd if=/dev/block/platform/msm_sdcc.1/by-name/mdm of=/data/local/tmp/mdm.bin
exit
adb pull /data/local/tmp/apnhlos.bin
adb pull /data/local/tmp/mdm.bin
It's possible they don't allow writing to /data/local/tmp, you might just use /sdcard instead. (so change of=/data/local/tmp/x.bin to of=/sdcard/x.bin) but being in su should grant you access to do whatever.
You'll have two files (apnhlos.bin and mdm.bin), zip those up, upload them somewhere and send them to me.
I still need this
Next for the system file(s) I need...
First ensure you're on the NAE update. (Duh)
Wipe it to full stock, no mods, no personal apps, no accounts setup, nothing.
Flash recovery
Boot to recovery and do a Nandroid backup to your external sd card.
Boot back to system and copy off the file(s) called system.ext4.img or something to the extent of that, it should be SOMEWHERE on your external sd card, TWRP stores it in the TWRP folder somewhere, CWM stores them in some clockworkmod folder somewhere I believe.
I need all the system image files from the backup, it'll be huge an upwards of 2-3GB, and it might split them into multiple files, so there might be more than one system file in that backup folder. I need them all, zip them up again and upload them somewhere and send the link to me please.
Thanks!
Also, if someone has the update file, that'd by slightly helpful as well, but the other two are more important.
OTA file name is:
8069446ccb676c347a698e64b2df33882547f017.USER_L720 _SPT_MK2_CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD .zip
ChadH42 said:
OTA file name is:
8069446ccb676c347a698e64b2df33882547f017.USER_L720 _SPT_MK2_CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD .zip
Click to expand...
Click to collapse
And the full URL: http://android.clients.google.com/p...CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD.zip
Now lets see that de-knoxed modem file. and a de-knoxed NAE ROM.
thereverend999 said:
And the full URL: http://android.clients.google.com/p...CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD.zip
Click to expand...
Click to collapse
Thanks for this, this gets a few of the firmware bits out of the way, now I just need the dumps of the modem and system...
Do you need adb on your computer, if so where can I get it for a windows computer?
Sent from my SPH-L720 using XDA Premium 4 mobile app
churchey360 said:
Do you need adb on your computer, if so where can I get it for a windows computer?
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That and the Samsung drivers
ADB: http://forum.xda-developers.com/showthread.php?t=2317790
Drivers: http://forum.xda-developers.com/showthread.php?t=961956
I'm rooted with custom recovery and adb setup on my computer but I'm not sure on how to type the commands. I got the adb shell and it recognized my phone the I typed su and Idk what to do from here any help?
Sent from my SPH-L720 using XDA Premium 4 mobile app
churchey360 said:
I'm rooted with custom recovery and adb setup on my computer but I'm not sure on how to type the commands. I got the adb shell and it recognized my phone the I typed su and Idk what to do from here any help?
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Check post one please! ???
Sent From My Samsung Galaxy S4! ?
churchey360 said:
I'm rooted with custom recovery and adb setup on my computer but I'm not sure on how to type the commands. I got the adb shell and it recognized my phone the I typed su and Idk what to do from here any help?
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The commands to type were in the OP.
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/apnhlos of=/data/local/tmp/apnhlos.bin
dd if=/dev/block/platform/msm_sdcc.1/by-name/mdm of=/data/local/tmp/mdm.bin
exit
adb pull /data/local/tmp/apnhlos.bin
adb pull /data/local/tmp/mdm.bin
Click to expand...
Click to collapse
Do I just type the whole thing at once? I tried doing just the apnhlos.bin and got this message.
Sent from my SPH-L720 using XDA Premium 4 mobile app
You hit enter after each line. In this exact order:
Type adb shell Then hit enter.
Type su Then hit enter.
Type dd if=/dev/block/platform/msm_sdcc.1/by-name/apnhlos of=/data/local/tmp/apnhlos.bin Then hit enter.
Type dd if=/dev/block/platform/msm_sdcc.1/by-name/mdm of=/data/local/tmp/mdm.bin Then hit enter.
Type exit Then hit enter.
Type adb pull /data/local/tmp/apnhlos.bin Then hit enter.
Type adb pull /data/local/tmp/mdm.bin Then hit enter.
After which, you'll follow the rest of the instructions in the OP.
I did it that way but the last 2 steps say error: device not found
Sent from my SPH-L720 using XDA Premium 4 mobile app
---------- Post added at 01:48 AM ---------- Previous post was at 01:36 AM ----------
I think it has to do with my adb interface drivers
Sent from my SPH-L720 using XDA Premium 4 mobile app
churchey360 said:
I did it that way but the last 2 steps say error: device not found
Sent from my SPH-L720 using XDA Premium 4 mobile app
---------- Post added at 01:48 AM ---------- Previous post was at 01:36 AM ----------
I think it has to do with my adb interface drivers
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I thanked you for helping out. His post said try changing the lines with /sdcard added. Check first post
Sent from my SPH-L720 using Tapatalk
I'll try it that way now and see if it'll work
Sent from my SPH-L720 using XDA Premium 4 mobile app
---------- Post added at 02:12 AM ---------- Previous post was at 01:59 AM ----------
I keep getting error device not found
Sent from my SPH-L720 using XDA Premium 4 mobile app
Is this correct?
Sent from my SPH-L720 using XDA Premium 4 mobile app
Yes. There you go. Zip them and upload them so he can download them.
Sent from my SPH-L720 using Tapatalk
@Unknownforce will this work? It is the apnhlos.bin and mdm.bin in a zip file it's not a big file so I hope it was done correctly it's about all I can do i tried to help lol. https://www.dropbox.com/s/tz9u0rkq092m9qv/0.zip
Sent from my SPH-L720 using XDA Premium 4 mobile app
churchey360 said:
@Unknownforce will this work? It is the apnhlos.bin and mdm.bin in a zip file it's not a big file so I hope it was done correctly it's about all I can do i tried to help lol. https://www.dropbox.com/s/tz9u0rkq092m9qv/0.zip
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Perfect, now all I need is the system dump, if you can get me that, everyone will love you!
OK I did a factory reset and backed up the stock ROM but I didn't back it up to the external sd card I just backed it up to the device storage will that be fine or should I backup to my external sd card?
Sent from my SPH-L720 using XDA Premium 4 mobile app