[Q] Adb dump. urgent! - Android Q&A, Help & Troubleshooting

Currently trying to back up all the data from my phone after dropping it in the pool a week ago.
took my 10 tries to get adb working. I've backed up my SMS/MMS messages from telephony but I want to dump my internal sdcard as well.
I tried doing adb pull /sdcard but it told me that it's not a valid directory.
Help please?

randomafk said:
Currently trying to back up all the data from my phone after dropping it in the pool a week ago.
took my 10 tries to get adb working. I've backed up my SMS/MMS messages from telephony but I want to dump my internal sdcard as well.
I tried doing adb pull /sdcard but it told me that it's not a valid directory.
Help please?
Click to expand...
Click to collapse
First why use adb? If you don't have one get an adapter its cheap and very usefull.However if you want to go via adb try using QtADB. Also your problem might be fixed if you put /mnt/sdcard/ instead of just /sdcard/
Sent from my Optimus Me using xda premium

nerot said:
First why use adb? If you don't have one get an adapter its cheap and very usefull.However if you want to go via adb try using QtADB. Also your problem might be fixed if you put /mnt/sdcard/ instead of just /sdcard/
Sent from my Optimus Me using xda premium
Click to expand...
Click to collapse
oof. forgot to mention, this is internal storage, not an SD card.

/sdcard/ is where the external sdcard is mounted. If by internal sdcard you mean "the memory that resides on my phone", that should just be / (i.e. the root directory). I am not sure what your device is, so my understanding of your situation might be off, but give that a try instead.

If you tell us what phone you have it will help us a lot
Sent from my Optimus Me using xda premium

As has already been mentioned there are probably better ways to do this but if it is necessary to use adb for this task you might want to try using the "adb shell" command just log in directly to the device so you can interrogate the file system.
Since I don't have an actual device I can't really tell you where your "internal memory" storage is located. I believe everything that is user specific is located under the system directory (i.e. /system).
I wouldn't advise this however if you're not familiar with navigating Linux from the command line.

Related

[Q] Need some help with my galaxy s 2 situation?

So ive had my galaxy s 2 for a few months now, downloaded hundreds of songs, taken near a thousand photos, and yesterday the digitizer/lcd was shattered after being sat on. I can't replace this phone, and my parents who own the contract didn't purchase insurance for it. I am nearly broke, and the repair costs for this part is over 200$, and my parents refuse to pay for this. All I need to do is copy all of the files from my phone to my computer, but i cannot enable mass storage to access the pictures/music on the internal storage because the screen is out. Does anyone have an idea as to how I could fix this, or move the files off of the phone? A thousand thanks to whoever could help me in this/:
1) Questions belong in Q&A.
2) You can probably pull the files off your phone using ADB on your PC despite the screen being broken, as long as the phone boots.
I'm not going to tell you how to do this because it is detailed, somewhat complicated & is a very steep learning curve if you've never done it before. Do a Google search with "broken phone backup files with ADB" with XDA appended to your search terms & you should get a veritable mountain of results (I did).
Unfortunately, if you're looking for an easy way to do this, there isn't one. It's going to take a fair bit of work on your part if you really want those files.
Good luck.
MistahBungle said:
1) Questions belong in Q&A.
2) You can probably pull the files off your phone using ADB on your PC despite the screen being broken, as long as the phone boots.
I'm not going to tell you how to do this because it is detailed, somewhat complicated & is a very steep learning curve if you've never done it before. Do a Google search with "broken phone backup files with ADB" with XDA appended to your search terms & you should get a veritable mountain of results (I did).
Unfortunately, if you're looking for an easy way to do this, there isn't one. It's going to take a fair bit of work on your part if you really want those files.
Good luck.
Click to expand...
Click to collapse
Can't he just adb pull /sdcard/ ??? I've used adb pull /sdcard/DCIM/ to pull the whole dcim directory with all files in it.
Sent from my GT-I9100 using xda premium
Yep. Absolutely.
I was trying to convey that using ADB tends to be a bit of a stretch for n00bs & requires a bit of thought/reading/effort. Plenty of people find it difficult to get their head around it, and I'm not about to answer 20 questions about the process.
kyleforge said:
Can't he just adb pull /sdcard/ ??? I've used adb pull /sdcard/DCIM/ to pull the whole dcim directory with all files in it.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
DaltonCope said:
So ive had my galaxy s 2 for a few months now, downloaded hundreds of songs, taken near a thousand photos, and yesterday the digitizer/lcd was shattered after being sat on. I can't replace this phone, and my parents who own the contract didn't purchase insurance for it. I am nearly broke, and the repair costs for this part is over 200$, and my parents refuse to pay for this. All I need to do is copy all of the files from my phone to my computer, but i cannot enable mass storage to access the pictures/music on the internal storage because the screen is out. Does anyone have an idea as to how I could fix this, or move the files off of the phone? A thousand thanks to whoever could help me in this/:
Click to expand...
Click to collapse
Visit the following threads to learn how to replace your screen.
http://forum.xda-developers.com/showthread.php?t=1253969
http://forum.xda-developers.com/showthread.php?t=1175772
Usb debugging...?
kyleforge said:
Can't he just adb pull /sdcard/ ??? I've used adb pull /sdcard/DCIM/ to pull the whole dcim directory with all files in it.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I think usb debugging should be turned on before you can use adb...and its not on by default
DaltonCope said:
So ive had my galaxy s 2 for a few months now, downloaded hundreds of songs, taken near a thousand photos, and yesterday the digitizer/lcd was shattered after being sat on. I can't replace this phone, and my parents who own the contract didn't purchase insurance for it. I am nearly broke, and the repair costs for this part is over 200$, and my parents refuse to pay for this. All I need to do is copy all of the files from my phone to my computer, but i cannot enable mass storage to access the pictures/music on the internal storage because the screen is out. Does anyone have an idea as to how I could fix this, or move the files off of the phone? A thousand thanks to whoever could help me in this/:
Click to expand...
Click to collapse
THAT'S whatcha get for not having a backup of your SD card, which is just like having a backup of your PC's hard drive.
But yeah, your ONLY option to the best of my knowledge is to do an adb pull:
adb pull /sdcard/ "where these quotes are you put the name of the folder where you want all that stuff offloaded to"
So since you didn't research before you screwed up then you will have to research now to learn how to use adb and how to enable it without the phone being on
good luck newbie
cdzo72 said:
THAT'S whatcha get for not having a backup of your SD card, which is just like having a backup of your PC's hard drive.
But yeah, your ONLY option to the best of my knowledge is to do an adb pull:
adb pull /sdcard/ "where these quotes are you put the name of the folder where you want all that stuff offloaded to"
So since you didn't research before you screwed up then you will have to research now to learn how to use adb and how to enable it without the phone being on
good luck newbie
Click to expand...
Click to collapse
Go easy on him man, we were all learning at some point
Sent from my GT-I9100 using xda premium
DaltonCope said:
So ive had my galaxy s 2 for a few months now, downloaded hundreds of songs, taken near a thousand photos, and yesterday the digitizer/lcd was shattered after being sat on. I can't replace this phone, and my parents who own the contract didn't purchase insurance for it. I am nearly broke, and the repair costs for this part is over 200$, and my parents refuse to pay for this. All I need to do is copy all of the files from my phone to my computer, but i cannot enable mass storage to access the pictures/music on the internal storage because the screen is out. Does anyone have an idea as to how I could fix this, or move the files off of the phone? A thousand thanks to whoever could help me in this/:
Click to expand...
Click to collapse
As MB said, if you really want them it's going to be hard work.
3 other possible ways to do it:
1) Easiest way without adb - connect to your TV via HDMI/HML cable. You can now see your screen on the TV. If touch is somehow still working then copy the files from the internal card to an external one. If touch doesn't work, this won't help. Unless you already have Bluetooth on and have previously paired with a Bluetooth mouse.
2) Very messy way - If you've got a very good friend with an s2 who will allow you to swap motherboards over then copy your stuff to PC. Doubtful though.
3) Messy way - If you don't have an sd card or access to one, flash an ics rom like lpq with Odin. Yes I know you can't see the screen but boot into download mode using a jig or the 3 button method. Just hold them together for a while. Then flash once Odin detects the phone. You will lose your apps but music, pics etc will remain.
The reason I say ics is that when I was on it, it automatically displayed the sd cards on pc without me having to select / touch anything.
But I believe USB debugging may need to be activated, but not 100% sure. If not, your in luck.
If it does, connect via HDMI to your TV. That way you can see the screen and check the debugging option, assuming touch still works. Then connect to PC and copy/paste.
Sent from my GT-I9100T
The best and efficient way is to flash a kernel with recovery that can mount your internal and external cards.
Just ask someone who uses similar kernel recovery to make note of the number of.key press and direction required to mount your SD via recovery and follow the same for your mobile and now you can copy all the files you wwant
Sent from my GT-I9100 using xda premium
Thanks everyone, I've used adb in the past with my nexus one. I just tried using it on my phone but it seems like my debugging isnt right so I cant use that. I have CWM flashed to the kernel (not sure if thatd make much of a difference??) Anything else i could possibly try out?
DaltonCope said:
Thanks everyone, I've used adb in the past with my nexus one. I just tried using it on my phone but it seems like my debugging isnt right so I cant use that. I have CWM flashed to the kernel (not sure if thatd make much of a difference??) Anything else i could possibly try out?
Click to expand...
Click to collapse
You can try doing it in recovery. But you'll probably need to mount the internal SD card before you can pull from it.
1. boot to recovery
2. plug in your phone, start adb shell
3. su (if you don't have the "#" prompt)
4. mount /emmc (if you are interested in what is on the internal SD card. /sdcard is your external SD card while you're in recovery)
At this point, /emmc should show your internal SD contents. You should be able to exit from the adb shell and do an adb pull on /emmc/<whatever folder>
EDIT: BTW, I just tested this on my phone. I have CWM recovery installed via Siyah, turned USB debugging off, rebooted to recovery, and did all this, and was able to pull multiple files off my internal SD.
why dont u just buy the parts cheap off ebay that u need ?? and install them urself ... if not ... ull hav to do as every1 else has said and pull those files :|

Can I save the internal storage? Screen dead.

A guy I work with dropped his phone and the screen is unresponsive. It does not display anything (but does not appear cracked). At any rate, he's getting the phone replaced on warranty. He's saved all his videos / photos to the internal storage and not the sd-card. I can get the phone to go in to download mode (it is detected in Heimdall).
Is there any way for me to be able to dump the contents of the internal storage via heimdall/odin? I was looking at heimdall dump:
Action: dump
Arguments: --chip-type <NAND | RAM> --chip-id <integer> --output <filename>
Description: Attempts to dump data from the phone corresponding to the specified chip type and chip ID.
I don't know the interal chip-id.
Any suggestions on how to save his files?
Thanks!
If you can get into download then you can probably get into recovery. If you can get into recovery you can use adb shell to pull anything off the sdcard you want.
Sent from my SAMSUNG-SGH-I777 using XDA Premium HD app
dayv said:
If you can get into download then you can probably get into recovery. If you can get into recovery you can use adb shell to pull anything off the sdcard you want.
Sent from my SAMSUNG-SGH-I777 using XDA Premium HD app
Click to expand...
Click to collapse
He is stock and not rooted. Does the stock recovery have adb? Can I use a reboot to recovery command from download mode?
Sent from my Galaxy Nexus using xda app-developers app
yes adb does work with stock recovery. No I think reboot recovery command will work from download mode. But if the phone will boot up (I know the screen will be dark) but as long as it boots you can just use the adb shell from there. Or you can try the button combo and just try to time out when it boots into recovery.
But like I said if the phone will boot up normally you can just use adb shell from there to pull anything you want.
Sent from my SAMSUNG-SGH-I777 using XDA Premium HD app
dayv said:
yes adb does work with stock recovery. No I think reboot recovery command will work from download mode. But if the phone will boot up (I know the screen will be dark) but as long as it boots you can just use the adb shell from there. Or you can try the button combo and just try to time out when it boots into recovery.
But like I said if the phone will boot up normally you can just use adb shell from there to pull anything you want.
Sent from my SAMSUNG-SGH-I777 using XDA Premium HD app
Click to expand...
Click to collapse
Good call! After a few tries I was able to get in to adb. I think the issue now is the fact he's not rooted. I cannot access /sdcard or /sdcard1 and I cannot mount anything because I do not have permission (no su). I think I may need to root him, get the files off then go back to stock for his warranty replacement.
If debugging is not checked on I don't know if you can get what you need with adb. Although I thought you should still be able to access the /sdcard folder. I know you can't access root but maybe you can't get to the /sdcard either without debugging on.
I don't know if someone knows how to turn on debugging without being able to see what you are doing.
Sent from my SAMSUNG-SGH-I777 using XDA Premium HD app
Just an update for anyone interested....
I managed to get everything off the internal storage. Without root I could not mount the storage so I was basically stuck. I ended up blindly button mashing and got back into Download mode. Using Heimdall I rooted then button mashed until I got in to recovery. From there I was able to get the internal storage mounted and "adb pull" everything I needed. I then un-rooted and the phone is set for warranty return.
Thanks everyone for the help and suggestions.
Impressive!
Lost Dog said:
Just an update for anyone interested....
I managed to get everything off the internal storage. Without root I could not mount the storage so I was basically stuck. I ended up blindly button mashing and got back into Download mode. Using Heimdall I rooted then button mashed until I got in to recovery. From there I was able to get the internal storage mounted and "adb pull" everything I needed. I then un-rooted and the phone is set for warranty return.
Thanks everyone for the help and suggestions.
Click to expand...
Click to collapse
Good job man!
Glad you got it.
Sent from my SAMSUNG-SGH-I777 using XDA Premium HD app
Mad props
Sent from my SGH-I777 using xda app-developers app

'No external storage available' after recovering my stolen phone

This person who I used to be friends with my group stole a bunch of things from my friends house including my phone. I called up O2 and got my phone barred.
Cut the story short after a few threats everyone got their stuff back. I got my phone back but everything was wiped and the sim card inside the phone was gone. Also whenever I opened an app or tried to access the gallery 'No external storage available' popped up or app x has stopped working.Immediately I tried to reset my phone to a back up on TWRP. At the time I was running AOKP. When that happened I got stuck on the HTC logging screen.
So I formatted the whole phone, wiped everything and when I got home I installed the stock recovery and tried to factory reset through bootloader. Then I installed TWRP and then I flashed CM10.1.2 rom and also the kernel to go with it, along with the appropriate gapps.
The problem still persists till today, any help would be much appreciated. I tried to google it and solve it through that (stock recovery etc), I am clueless as what to do. Usually I always find a way to solve these things but I've been trying for ages.
Is it because the phone itself is barred? because now its getting signal again.
TheRidler said:
This person who I used to be friends with my group stole a bunch of things from my friends house including my phone. I called up O2 and got my phone barred.
Cut the story short after a few threats everyone got their stuff back. I got my phone back but everything was wiped and the sim card inside the phone was gone. Also whenever I opened an app or tried to access the gallery 'No external storage available' popped up or app x has stopped working.Immediately I tried to reset my phone to a back up on TWRP. At the time I was running AOKP. When that happened I got stuck on the HTC logging screen.
So I formatted the whole phone, wiped everything and when I got home I installed the stock recovery and tried to factory reset through bootloader. Then I installed TWRP and then I flashed CM10.1.2 rom and also the kernel to go with it, along with the appropriate gapps.
The problem still persists till today, any help would be much appreciated. I tried to google it and solve it through that (stock recovery etc), I am clueless as what to do. Usually I always find a way to solve these things but I've been trying for ages.
Is it because the phone itself is barred? because now its getting signal again.
Click to expand...
Click to collapse
Connect ur phone on pc
Do adb devices
If u had installed all the drivers properly u ok find ur device
Now do "adb shell"
It ok enter ur phone storage
Now type "cd /sdcard"
Create a folder named 0 inside sdcard that's where ur sdcard files will be in 4.2.2
So do "mkdir 0"
Now open ur camera app to confirm whether ur storage is working
Hope it helps
Sent from my HTC One X+
Danny Samuel said:
Connect ur phone on pc
Do adb devices
If u had installed all the drivers properly u ok find ur device
Now do "adb shell"
It ok enter ur phone storage
Now type "cd /sdcard"
Create a folder named 0 inside sdcard that's where ur sdcard files will be in 4.2.2
So do "mkdir 0"
Now open ur camera app to confirm whether ur storage is working
Hope it helps
Sent from my HTC One X+
Click to expand...
Click to collapse
For './adb devices' its just blank and for './adb shell' its 'error: device not found', ill try and find a way around this and get back to you.
thanks for the support
Turned on developer options and that fixed the problem. but now when I do adb devices it comes up on the list but says its 'offline' and with adb shell it says 'error device offline'. I tried turning off developer options on and off again and rebooting the phone but the problem persists. ill keep looking for a solution.
Danny Samuel said:
Connect ur phone on pc
Do adb devices
If u had installed all the drivers properly u ok find ur device
Now do "adb shell"
It ok enter ur phone storage
Now type "cd /sdcard"
Create a folder named 0 inside sdcard that's where ur sdcard files will be in 4.2.2
So do "mkdir 0"
Now open ur camera app to confirm whether ur storage is working
Hope it helps
Sent from my HTC One X+
Click to expand...
Click to collapse
when I do cd /sdcard it comes back with 'no such file or directory'
TheRidler said:
when I do cd /sdcard it comes back with 'no such file or directory'
Click to expand...
Click to collapse
Try "ls" command after the adb shell
It will list you all the folders in the storage
There u should see sdcard folder for sure....
Sent from my HTC One X+
Danny Samuel said:
Try "ls" command after the adb shell
It will list you all the folders in the storage
There u should see sdcard folder for sure....
Sent from my HTC One X+
Click to expand...
Click to collapse
I made a folder in sdcard/ named '0' through the twrp recovery terminal command thing. But still as soon as the phone loads it says 'google play has stopped working' and the camera app doesn't work. I tried the method using it from my computer but it said something on the lines of 'You are not allowed to do this'
could this all be because my phone is still barred?
TheRidler said:
I made a folder in sdcard/ named '0' through the twrp recovery terminal command thing. But still as soon as the phone loads it says 'google play has stopped working' and the camera app doesn't work. I tried the method using it from my computer but it said something on the lines of 'You are not allowed to do this'
could this all be because my phone is still barred?
Click to expand...
Click to collapse
No if your phone was barred you would have no signal. It wouldnt affect how your phone works. Your best bet would be to find a compatible RUU and flash that.
Sent from my HTC One X+ using Tapatalk 4
AndroHero said:
No if your phone was barred you would have no signal. It wouldnt affect how your phone works. Your best bet would be to find a compatible RUU and flash that.
Sent from my HTC One X+ using Tapatalk 4
Click to expand...
Click to collapse
Fixed it Whoever got my phone managed to mess it up real bad. Went back to an old rom and flashed the boot.img. This time after I sideloaded the rom file using ./adb sideload filename.zip I installed it again through TWRP (Install - sideload.zip) , this is what I didn't do last time. Now it works beautifully. Going back to either CM10 or AOKP now.
Thank you all very much for the help!

[Q] I think I killed it.

Alright, so this is going to take a bit of explaining, please bear with me.
I got this phone a couple of weeks ago, subsequently rooted it, and shortly thereafter decided upon Viper for my ROM. After playing around for a bit, I took a look at Beastmode kernel yesterday. I backed up my phone, installed the new kernel, and everything went to hell shortly thereafter. Upon rebooting, my phone no longer detected a mounted SD card. Along with this, it also doesn't have working audio. I tried rolling back to my restoration point, but I cannot find it now. While digging through directories in recovery, I've found two things out.
1: There is now a storage/emulation/legacy folder with (almost) every folder that was in mnt/sdcard.
2: My restore point is gone, and I don't have the original kernel on my phone
I figured this wouldn't be THAT big of a problem, connect my phone to my PC, go into ADB and try to push the stock s-off kernel. Next set of problems.
1: /mnt/sdcard is showing as a non-directory, insists it doesn't exist.
2: storage/emulation/ shows as read only, and all lower subdirectories are coming up as not existing (I believe it to be an issue with folder naming, legacy is actually 0 on my file explorer on the phone, I think?).
Where I stand now::
At this moment, I have the HTC Droid DNA Toolkit running, the stock s-off Kernel, and a phone that doesn't cooperate with anything.
Also; I tried downloading the .zip directly on my phone, but because it doesn't think there's an SD card, it's refusing to let me download it. It lets me download apps from the market, though.
Any ideas?
PS! Forgot the biggest SNAFU in all of this. On my phone are about 200 pictures from my vacation which I hadn't put onto my computer yet because I am an imbecile. This is keeping me from wiping the phone down to brass tacks and starting all over. If someone can find a way for me to pull said pictures from my device, I can wipe it and see if that helps.
Killerkendolls said:
Alright, so this is going to take a bit of explaining, please bear with me.
I got this phone a couple of weeks ago, subsequently rooted it, and shortly thereafter decided upon Viper for my ROM. After playing around for a bit, I took a look at Beastmode kernel yesterday. I backed up my phone, installed the new kernel, and everything went to hell shortly thereafter. Upon rebooting, my phone no longer detected a mounted SD card. Along with this, it also doesn't have working audio. I tried rolling back to my restoration point, but I cannot find it now. While digging through directories in recovery, I've found two things out.
1: There is now a storage/emulation/legacy folder with (almost) every folder that was in mnt/sdcard.
2: My restore point is gone, and I don't have the original kernel on my phone
I figured this wouldn't be THAT big of a problem, connect my phone to my PC, go into ADB and try to push the stock s-off kernel. Next set of problems.
1: /mnt/sdcard is showing as a non-directory, insists it doesn't exist.
2: storage/emulation/ shows as read only, and all lower subdirectories are coming up as not existing (I believe it to be an issue with folder naming, legacy is actually 0 on my file explorer on the phone, I think?).
Where I stand now::
At this moment, I have the HTC Droid DNA Toolkit running, the stock s-off Kernel, and a phone that doesn't cooperate with anything.
Also; I tried downloading the .zip directly on my phone, but because it doesn't think there's an SD card, it's refusing to let me download it. It lets me download apps from the market, though.
Any ideas?
PS! Forgot the biggest SNAFU in all of this. On my phone are about 200 pictures from my vacation which I hadn't put onto my computer yet because I am an imbecile. This is keeping me from wiping the phone down to brass tacks and starting all over. If someone can find a way for me to pull said pictures from my device, I can wipe it and see if that helps.
Click to expand...
Click to collapse
Have you tried using an OTG cable to mount a flash drive? That's what I do when I backup/flash anything, I keep all my roms, kernels, backups, basically anything flashable on a flash drive, and use an OTG cable in CWM.
For the pictures:
Step 1; adb reboot recovery
Step 2; adb devices (to make sure it's detected)
Step 2.1: If your phone isn't detected, open sideload in recovery, adb devices again, then close sideload
Step 3: adb pull /sdcard/ C:\<username>\Desktop\sdcardbackup\
To fix everything else you'll probably need to wipe everything and flash a new rom.
EDIT: For future "snafus" the sdcard is on /sdcard/ not /mnt/sdcard/ because it's on internal memory, not mounted memory.
walther1337 said:
For the pictures:
Step 1; adb reboot recovery
Step 2; adb devices (to make sure it's detected)
Step 2.1: If your phone isn't detected, open sideload in recovery, adb devices again, then close sideload
Step 3: adb pull /sdcard/ C:\<username>\Desktop\sdcardbackup\
To fix everything else you'll probably need to wipe everything and flash a new rom.
EDIT: For future "snafus" the sdcard is on /sdcard/ not /mnt/sdcard/ because it's on internal memory, not mounted memory.
Click to expand...
Click to collapse
Well, I feel silly for that confusion. I've pulled everything from the sdcard, which honestly mattered more to me than fixing the phone. I'll putter around with getting the ROM and kernel operating correctly in the next couple of hours.
UPDATE!
Once I had the adb pull command corrected for me, pushing the new ZIP on there was an instant success in recovery. SD card exists correctly once again, installed Viper ROM over, full functionality once more.
Killerkendolls said:
Well, I feel silly for that confusion. I've pulled everything from the sdcard, which honestly mattered more to me than fixing the phone. I'll putter around with getting the ROM and kernel operating correctly in the next couple of hours.
UPDATE!
Once I had the adb pull command corrected for me, pushing the new ZIP on there was an instant success in recovery. SD card exists correctly once again, installed Viper ROM over, full functionality once more.
Click to expand...
Click to collapse
you can always do this too as long as the device is recognized by adb
Code:
adb shell
this will get you into the actual device where you can navigate around by using the " cd /dir_name " command and to go back up a dir use " cd .. " (a space and 2 "."s are needed) or just " cd " to get back to the starting point... if you know how to navigate through a unix terminal then you will know what to do here...
some other useful commands
Code:
ls, ls -a, ls -l, cd, cp, mv
ls = list (lists files/folders) "-a" means all, "-l" just makes it look neat and laid out better.
cd = change directory aka "dir"
cp = copy /path/to/file.ext /path/to/where/you/want/to/save/it/file.ext
mv = move (same as ^ ) except it just moves it and doesn't copy
oh and to exit adb shell just type "exit"
Honestly, just grab a working kernel. And use fastboot. Especially since you're s-off
fastboot flash boot boot.img should get you back in working order.
Sent from my HTC6435LVW using XDA Premium 4 mobile app

[Q] lossed everything help!!!!!!

i am rooted and unlocked and ran a rom well in twrp i accidentally wipe everything internal now i have to way to get zips back to flash them my backup and all is gone and i have zips on ext card but twrp wont mount it please help
I pretty much just need a way to get my zips back to internal storage
Sent from my SCH-I605 using xda app-developers app
trinitystudio said:
i am rooted and unlocked and ran a rom well in twrp i accidentally wipe everything internal now i have to way to get zips back to flash them my backup and all is gone and i have zips on ext card but twrp wont mount it please help
Click to expand...
Click to collapse
while in recovery, you can use ADB to transfer files to prime from PC via data cable. look for ADB PUSH here on forums
qery said:
while in recovery, you can use ADB to transfer files to prime from PC via data cable. look for ADB PUSH here on forums
Click to expand...
Click to collapse
thanks ill give it a try and get back with you
ok i found and did what it says it sees my prime but im getting this error now failed to write data 'protocal fault <no status>' *3%
now this
i am runnung this command - adb push pac_tf201_4.3.Build-1_20131003.zip /sdcard/ ..all i get is a protocol failure not sure what that means but i need help bad wiped internal and stuck in twrp recovery
trinitystudio said:
i am runnung this command - adb push pac_tf201_4.3.Build-1_20131003.zip /sdcard/ ..all i get is a protocol failure not sure what that means but i need help bad wiped internal and stuck in twrp recovery
Click to expand...
Click to collapse
You need to make sure sure you have all the Android files installed on your PC which I am sure you do. Also, you need to specify where the pac_tf201 build is located. This is what I did to push the version onto my TF201 in Recovery:
adb push c:/pac_tf201_4.3.Build-1_20131003.zip /sdcard/
I did the same with gapps but I made sure that both zip files (rom and gapps) were directly on my C drive and not anywhere else. Let me know if you need anymore help as I just barely did this a few days ago. Took me hours to get it but I have learned quite a bit from it. :good:
Edit: Make sure your directory is pointed to your sdk platform-tools folder as well in CMD.
alias4ever said:
You need to make sure sure you have all the Android files installed on your PC which I am sure you do. Also, you need to specify where the pac_tf201 build is located. This is what I did to push the version onto my TF201 in Recovery:
adb push c:/pac_tf201_4.3.Build-1_20131003.zip /sdcard/
I did the same with gapps but I made sure that both zip files (rom and gapps) were directly on my C drive and not anywhere else. Let me know if you need anymore help as I just barely did this a few days ago. Took me hours to get it but I have learned quite a bit from it. :good:
Edit: Make sure your directory is pointed to your sdk platform-tools folder as well in CMD.
Click to expand...
Click to collapse
i have done that all but putting it on the c:\ drive ....yes im pointed to that folder ill try c and get back to you thanks
edit: try c drive thing still a no go still getting protocol failure
Hardbricked!!!!!!!!!!!!!!
Well im hardbricked now asus wants $324 to fix so NOT!!!!!! Guess its time to go shopping lol
trinitystudio said:
Well im hardbricked now asus wants $324 to fix so NOT!!!!!! Guess its time to go shopping lol
Click to expand...
Click to collapse
Can you boot into fast boot at all? Or are you stuck at the Asus screen?
---------- Post added at 07:40 AM ---------- Previous post was at 07:39 AM ----------
alias4ever said:
Can you boot into fast boot at all? Or are you stuck at the Asus screen?
Click to expand...
Click to collapse
What would you plan on doing or what does anyone do with a hardbricked Prime as I am curious? Sorry to hear it.
It happens I have done roms for years from droid one to note2 never had a issue till now it was my own mistake so... I guess nothing to do but trash it prob going today to get Samsung note 8 or 10.1
Sent from my SCH-I605 using xda app-developers app
Do you by any chance have Asus sync running on your pc? It seems that this can interfere with adb.
Try killing all asus related programs on your pc through task manager and then try adb push again.
Sent from my SO-04E using xda app-developers app
This is what I'm curious about too. If there were photos on this SD card before you put it in the device, they will remain intact after a security wipe.
This is unclear to me based on the OP: You got the Bold as a graduation gift and would like to start using it i assume. (I also got this bold a couple days ago after my HTC One S died, bringing me to Blackberry after years of faithful service on Android. The 9900 is a great phone)
When you tried to use the phone, you were prompted to input your BBID credentials, which subsequently failed repeatedly. The phone has since been security wiped due to too many failed attempts. Upon opening the phone, the microSD that you had in there is gone.

Categories

Resources