Cracked Screen. - T-Mobile Samsung Galaxy S II SGH-T989

Ok long story short i was getting the Power button mishaps. So i banged my phone to fix it worked great a few times but last night while doing so i cracked my screen Stupid move ever lol. KIDS DONT TRY IT !!!!
Its all black now and i want to be able to retrieve my pics on the phone.Cause when i connect it to my PC it does nothing just charge.
How can i so since i cant see nothing?

Broken screen
Colombia81er said:
Ok long story short i was getting the Power button mishaps. So i banged my phone to fix it worked great a few times but last night while doing so i cracked my screen Stupid move ever lol. KIDS DONT TRY IT !!!!
Its all black now and i want to be able to retrieve my pics on the phone.Cause when i connect it to my PC it does nothing just charge.
How can i so since i cant see nothing?
Click to expand...
Click to collapse
Did you save your photo's on your internal storage or on an external SD? If you saved them externally you can put your Micro SD in a flash drive and pull it up that way.

Or if for some reason you do not have access to an sdcard adapter you could use adb and pull them from the phone from a terminal.
Sent from my SGH-T989 using xda premium

bseager said:
Did you save your photo's on your internal storage or on an external SD? If you saved them externally you can put your Micro SD in a flash drive and pull it up that way.
Click to expand...
Click to collapse
codecaine21 said:
Or if for some reason you do not have access to an sdcard adapter you could use adb and pull them from the phone from a terminal.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Most of the are on my internal SD ... How would i go using ADB method ?

Colombia81er said:
Most of the are on my internal SD ... How would i go using ADB method ?
Click to expand...
Click to collapse
Reboot into recovery(Not download mode). open a terminal and use adb's pull command. You could use adb's pull command in conjunction with the find command. Something like
Code:
adb shell find / -name "*.jpg" -exec adb pull {} ~/Documents +
This will pull all files ending with the jpg extensions. You can of course pull whole folders.
I just wrote that off the top of my head and it wasnt tested. I have to get to bed. I have to get up at 4:30am for work and it is now 11:30. Damn computer is so addicting! The one liner might not work but you get the point. Google adb pull and adb push.

codecaine21 said:
Reboot into recovery(Not download mode). open a terminal and use adb's pull command. You could use adb's pull command in conjunction with the find command. Something like
Code:
adb shell find / -name "*.jpg" -exec adb pull {} ~/Documents +
This will pull all files ending with the jpg extensions. You can of course pull whole folders.
I just wrote that off the top of my head and it wasnt tested. I have to get to bed. I have to get up at 4:30am for work and it is now 11:30. Damn computer is so addicting! The one liner might not work but you get the point. Google adb pull and adb push.
Click to expand...
Click to collapse
Thanks the issue will be to see if im on recovery mode since i cant see nothing

Colombia81er said:
Thanks the issue will be to see if im on recovery mode since i cant see nothing
Click to expand...
Click to collapse
A friend had the same issue a few weeks ago and I just popped her battery out and popped it back in. Then held the power + vol up + vol down till i felt vibration and held on for another 2 seconds. Then waited 20 seconds just to be safe. I connected my phone. I ran sudo adb devices in a terminal to make sure it was connected. Which is was and then ran the necessary commands.
Sent from my SGH-T989 using xda premium

codecaine21 said:
Code:
adb shell find / -name "*.jpg" -exec adb pull {} ~/Documents +
Click to expand...
Click to collapse
Yeah that didnt work its in recovery now. Im trying to figure this out i just dont want to d/l the pics. I dont mind backing up the whole entire thing. How would i go on doing that.

Colombia81er said:
Yeah that didnt work its in recovery now. Im trying to figure this out i just dont want to d/l the pics. I dont mind backing up the whole entire thing. How would i go on doing that.
Click to expand...
Click to collapse
That's a tough one... for me at least. I mean you are able to reboot into recovery but I am unaware of a method that will allow you to back your system up from a terminal. Adb has a backup command but you need to be able to see your screen to use it.
You could use the dd command over ssh ->
Code:
[B]sudo adb shell dd if=/dev/block/mmcblk0 | sudo ssh [email protected] "dd of=/~/Documents/recovery.img"[/B]
and check the progress with
Code:
[B]while true; do readarray -t array < <(pgrep -l '^dd$'); var=$(echo "${array[@]}" | sed 's/ dd//g'); kill -USR1 $var &>1 && sleep 5; done[/B]
but I "think" the FAT32 FS is limited to 4GB file transfers. So you will receive an error after 4GB's and the transfer will abort. Also, I am unsure of the t989's pit layout. Which blks you would need to backup if you did decide to dd single partitions. Like cache, system, recovery, boot, etc.
Maybe some computer whiz will be able to help you. I am sorry I couldn't help. Maybe one of the more experienced Linux/android users/devs can help you if you haven't already figured this out.
If someone did know, it would be cool if you could post the solution. I am curious as how to one would go about doing this.
Sent from my SGH-T989 using xda premium

codecaine21 said:
Reboot into recovery(Not download mode). open a terminal and use adb's pull command. You could use adb's pull command in conjunction with the find command. Something like
Code:
adb shell find / -name "*.jpg" -exec adb pull {} ~/Documents +
Click to expand...
Click to collapse
Im hoping you are still around for some more assistance. Im actually in the middle of the same issue as OP, except possibly that the phone was completely stock with android debugging disabled, and the touch interface is also non-functional. You'd think that would be great for getting stuff off the phone, but I was unable to use the on screen menu to actually turn on usb mass storage.
I decided to try and use push / pull from recovery, however I found out that the directories I want arent available in recovery mode (DCIM / Download with a very very important 0000001.vcf in it).
I was able to get into recovery and use "adb reboot download" and Odin'd "recovery-cmw-hercules.tar" to the phone to give me a working CMR environment (v5.0.2.6). I thought I could feel my way through the menus after another "adb reboot recovery" to blindly guess - Vol Down x 6, Pwr x 1, Vol Up x 2, Pwr x1 - type thing, to navigate"mounts and storage" and then find "mount sdcard".
However, I have been unsuccessful. I did manage to mount system / data / cache , just not sdcard, and I dont know why.
TLR No screen, no touch. Odin'd CMR. Am sitting in Command Prompt with ADB Shell / Pull working. Still can't access ~/DCIM folder on internal SDCard. Hoping for some help. What am I missing? Bonus: A screen shot of the CWR mounts and storage menu would be very helpful!

Ok so i got it....
So I first used this comand:
Code:
adb shell find / -name "*jpeg"
It gave me this
/sdcard/Download/155546_394801767258170_1181721421_n.jpeg
Then i used this command to pull everything from my internal sd-card
Code:
adb pull sdcard C:/Docs
Worked like a Charm

Related

LOOPING? dont want to take out SD? read...

I didnt see this anywhere.. it probably is somewhere... so sue me if im reposting.....but...
if you are stuck on the android screen and dont want to take out battery and put sd in a card reader and all the fun enjoyable stuff that comes with altering the phone then...
open the slider.... press and hold power and call button... it should(98%) of the time bring up the power down menu and voice call menu at the same time.. just press home and youll be at your status bar.. nothing else though.. no menu or settings.. but you can connect usb and add files without the trouble of opening everything...so on and so fourth.. hope this helps someone....
again i apologize if this is a repeat... hopefully it will help someone....
thanx for lookin......!
good share ill be the first to say i didnt know that
lol, im glad it will help someone...lol
i got tired of taking battery out and using the card reader so i started pressing buttons....lmao... vuala! it's saved me some time..... now if i could get help in my other thread i would be ecstatic!
Another method would be booting into recovery mode (Power off, press and hold Home+Red until you see text scrolling and etc)
Then connect via USB, open an adb shell, mount your sdcard, and push/pull whatever you want.
Code:
[[email protected] ~]$ adb shell
# mount /sdcard
# exit
[[email protected] ~]$ adb push /home/rawr/Desktop/blahh.file /sdcard/blahh.file
37 KB/s (6865 bytes in 0.178s)
[[email protected] ~]$ adb shell reboot
haykuro said:
Another method would be booting into recovery mode (Power off, press and hold Home+Red until you see text scrolling and etc)
Then connect via USB, open an adb shell, mount your sdcard, and push/pull whatever you want.
Code:
[[email protected] ~]$ adb shell
# mount /sdcard
# exit
[[email protected] ~]$ adb push /home/rawr/Desktop/blahh.file /sdcard/blahh.file
37 KB/s (6865 bytes in 0.178s)
[[email protected] ~]$ adb shell reboot
Click to expand...
Click to collapse
This is great to know, I borrowed a microsd card reader from a friend and wasted about four hours not knowing this trick. Awesome, thanks.
Thanks man. Bookmarking this for future use.
Ooglez said:
This is great to know, I borrowed a microsd card reader from a friend and wasted about four hours not knowing this trick. Awesome, thanks.
Click to expand...
Click to collapse
haha same happened here, it's the sole purpose i even bothered checking if the ADB service was active in recovery mode. you're very welcome
I used that too but it sometimes is just easier, but yea thanx for adding that here. I know its gonna help someone

[UPDATE] Broken Screen - Extract / Backup Data [Q]

Accidentally broke my G2's screen [blank & unresponsive].
I'm getting a replacement from T-Mo ...but need to extract a some data from the phone's memory.
I've tried connecting it to my computer but I can't access anything unless I put in the Unlock Pattern on my phone (which I obviously can't)
Any suggestion on what I can do?
****Update*****
Screen went out but touch screen functionality remains [Screen Defect?].
I've been able to use ScreenCast to see my screen on my pc & use it to some degree.
Temp. rooted my 'broken' phone with Visionary, ran Titanium Backup ... now trying to do Clockworks Recovery.
...need some help with operating Clockworks w/ a Broken Screen..
More info on second page
If you install adb via the Android SDK, you should be able to extract everything you want.
http://developer.android.com/sdk/index.html
EDIT:
install adb
use adb pull to get what ever data you are looking for, probably something in /data/data/ ??
you can use adb shell to poke around on your phone
I think you might have to be rooted. I don't have an unrooted phone to test this on.
gee one said:
If you install adb via the Android SDK, you should be able to extract everything you want.
http://developer.android.com/sdk/index.html
EDIT:
install adb
use adb pull to get what ever data you are looking for, probably something in /data/data/ ??
you can use adb shell to poke around on your phone
I think you might have to be rooted. I don't have an unrooted phone to test this on.
Click to expand...
Click to collapse
I've had the SDK but I can't access my phone files because they are inaccessible from my PC + my phone doesn't have USB Debugging / ADB enabled by default...
I tried running ScreenCast to try and emulate my screen on my PC (something I've done before) but it wouldn't work because, as before, the phone to be detected as an ADB device
Other suggestions?
If nothing else what's a quick way to wipe all data to factory defaults (without relying on a screen )
SmartHat said:
I've had the SDK but I can't access my phone files because they are inaccessible from my PC + my phone doesn't have USB Debugging / ADB enabled by default...
I tried running ScreenCast to try and emulate my screen on my PC (something I've done before) but it wouldn't work because, as before, the phone to be detected as an ADB device
Other suggestions?
If nothing else what's a quick way to wipe all data to factory defaults (without relying on a screen )
Click to expand...
Click to collapse
If you have Clockwork recovery, you can boot into recovery mode and use adb.
shutdown
unplug the USB and shutdown- press and hold the power button for 2 seconds, scroll down on the trackpad several times and then press the trackpad button twice. it should shut down, or else pull the battery.
reboot into recovery
hold volume "down" and press the power button for a second and release. Wait 5 seconds and then press volume "down" once and press the power button. If all goes well, the phone should vibrate briefly. Wait a few seconds and then try adb.
Get a Ubuntu livedisk, boot from it and plug the phone in. You can see the phone's contents as well as sdcard. That would be the easiest. But if you can't do that and you have the latest clockwork mod, you will still need to mount stuff from recovery before you can access it. These instructions are relevant to the latest version (2.5+).
Once in recovery per gee one's instructions the menu is as follows:
Main Menu
- reboot system now <<- cursor
- apply sdcard:update.zip
- wipe data/factory reset
- wipe cache partition
- install zip from sdcard
- backup and restore
- mounts and storage
- advanced
By default "reboot system now" is select where it says cursor. Volume up/down to go up/down and trackpad to confirm. Power is to go back. The trackpad will also navigate for you, but it's hard to control so avoid using it for movement at all costs. It is also very sensitive to double clicks, try and make your click as quick and clean as possible.
Press Volume down 6 times and you will land on mounts and storage, then press trackpad (very quickly so as not to make it register a double click).
That menu is as follows:
Mounts and Storage
- mount /system <<-cursor
- mount /data
- unmount /cache
- mount /sdcard
- mount /sd-ext
- format boot
- format system
- format data
- format cache
- format sdcard
- format sd-ext
- mount USB storage
Your cursor starts on mount /system. Press trackpad once will mount system, pressing it again will unmount. Volume down will take you to data, and so forth. Then you can access those directories from adb, and do adb pull as others have suggested. Pressing it again will unmount it, and should be done. Keep in mind it will only unmount if you close all windows that point to that directory and leave the directory in adb shell (you can leave the directory by typing "cd /" to do that). If you stay in the directory or something is pointing to it, it will cause an error.
If you're unsuccessful, you can try doing a backup from clockwork.
From the main menu, press volume down 5 times and press trackpad.
The menu that appears is as follows:
- Backup <<-cursor
- Restore
- Advanced Restore
Simply click the trackpad again and it will perform a backup.
It will save the backup of the phone to the sdcard at /clockworkmod/backup/2010-12-8.x.x.x/
After that I'm not entirely sure how to extract it, hopefully someone else can help.
But simply put, get a live CD of linux and you go to Mounts and Storage and then to mount USB storage, you should have access.
Pic Please
How about "mount /system" or "mount /data" from the adb shell? This should be enough to poke around to extract files.
gee one said:
How about "mount /system" or "mount /data" from the adb shell? This should be enough to poke around to extract files.
Click to expand...
Click to collapse
*facepalm*
or that. if you go into adb shell, you can mount whatever directory and cp it to the sdcard. you can use 'umount' to unmount.
adb push/pull will not work when in adb shell, but you can easily copy it over to your sdcard with the cp command.
funkeee said:
*facepalm*
or that. if you go into adb shell, you can mount whatever directory and cp it to the sdcard. you can use 'umount' to unmount.
adb push/pull will not work when in adb shell, but you can easily copy it over to your sdcard with the cp command.
Click to expand...
Click to collapse
I just tried finding my G2 using an ubuntu 10.10 installation- it wouldn't find my phone unless I enabled USB mode, and then it would only find the sdcard. I'm still pretty new to ubuntu, so I might be missing something. It's like a brown version of my Mac!
adb push/pull will work from the terminal command line on your computer, not the shell.
Had some obligations I had to take care of but ... thank you for all the suggestions, I'll be trying them all to see which one I can get going!
I just got my replacement today & the first thing I noticed was the Z-Hinge issue.
Its looser than my original 'broken' phone right out of the box, even though the original has been thoroughly used for about 2 months...
so I gotta go thru Another replacement process ...
I suppose I'm going to keep getting replacements that people sent back for the Z-Hinge issue
gee one said:
If you have Clockwork recovery, you can boot into recovery mode and use adb.
Click to expand...
Click to collapse
^ I don't have any recovery programs on my device (unfortunately).
--
@ funkeee: I'll def. try this, seems promising.
ddgarcia05 said:
Pic Please
Click to expand...
Click to collapse
^ of?
gee one said:
How about "mount /system" or "mount /data" from the adb shell? This should be enough to poke around to extract files.
Click to expand...
Click to collapse
^ how would I go about and do that?
and as I mentioned before my device is simply set up for mass storage mode & I'm certain I need to get past the Unlock screen to access anything (but I obviously cant)
What kind of data are you trying to extract? It might seem obvious, but I think I should ask for the sake of completeness- is the data actually in the phone or on the memory card?
gee one said:
What kind of data are you trying to extract? It might seem obvious, but I think I should ask for the sake of completeness- is the data actually in the phone or on the memory card?
Click to expand...
Click to collapse
Well I can get the data from the memory card via my replacement G2 or an Sd adapter...but its mainly messages and some miscellaneous content / apps I had saved on the phone itself & the settings; its not a Big deal, but its something I'd like to port over.
If I didn't have a lock on it I could've managed my way through the menus using hard keys w/ my replacement as a guide but I have no way of doing it.
I wish there was an easy way to make a backup... still haven't got time to try the methods mentioned before, but I'm going to try and give it a go tonite.
Do you have a stock, unrooted phone? If you installed hboot-eng.img then there might be a chance.
gee one said:
Do you have a stock, unrooted phone? If you installed hboot-eng.img then there might be a chance.
Click to expand...
Click to collapse
yup, stock & unrooted... any hope?
SmartHat said:
yup, stock & unrooted... any hope?
Click to expand...
Click to collapse
I'm out of ideas, for whatever that is worth.
Thank you very much for the input, everyone.
I managed to get my phone into USB Debug mode & I've been able to open up a lot of options... (since I can finally use ADB).
So, Now I'm using my previously installed Android ScreenCast to see my previously Dead Phones Screen! -- Gotta love Android!
-- Now, can anyone suggest the best method for me to a image of my device, so I can flash it onto my replacement?
A Nandroid backup would be perfect, but you don't have root.
adb pull /data/app /somewhere/on/your/pc/app
will back up non-system apps, but not the settings or data
adb pull /data/data /somewhere/different/data
will grab your settings and data, but there is mix of other stuff in there as well that doesn't restore so well because it also contains other data. I think someone who is well versed in sqlite might be able to put it all back together.
Are there any data that you are looking for specifically? SMS? Browser bookmarks? etc?
gee one said:
A Nandroid backup would be perfect, but you don't have root.
adb pull /data/app /somewhere/on/your/pc/app
will back up non-system apps, but not the settings or data
adb pull /data/data /somewhere/different/data
will grab your settings and data, but there is mix of other stuff in there as well that doesn't restore so well because it also contains other data. I think someone who is well versed in sqlite might be able to put it all back together.
Are there any data that you are looking for specifically? SMS? Browser bookmarks? etc?
Click to expand...
Click to collapse
well I just temp rooted my 'broken' g2 ... ran titanium backup; Flashed clockworks recovery & now am backing up again(just to have all my bases covered)
When I went in to 'backup current ROM' in the Clockworks app, phone turned off and my Screen Cast disconnected... So I have no means of checking if I need to do anything else before my Rom's backed up
*ed-*
...but then again, since I have Visionary Temp root, wouldn't Clockworks loose its super user privileges when it restarted?
Answered my own question.
So it looks like nothing else will be possible unless I permaroot, which would void my warranty, meaning I won't be able to send it back in to T-mo
You can check the clockworkmod folder on your sd card to see if the backup completed. There should be 4 or 5 .img files if it ran.
Sent from my CyanogenMod Vision

Pushing ROM using ADB! Help!

Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
CC268 said:
Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
Click to expand...
Click to collapse
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Ashwa said:
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I am using TWRP btw...how do I use sideload?? I see it in TWRP...but do I open command prompt and do something special??
EDIT: Ahh...finally figured it out and it installed the ROM! Thanks
CC268 said:
Alright so I was an idiot and wiped data and internal storage...I figured I could just mount the phone like I could my Thunderbolt, but apparently not. I have adb installed and currently been going to platform-tools folder and opening command window...type adb devices and it shows my device in recovery...which is good. However as soon as I try to do "adb push C:\android-sdk-windows\platform-tools\baldwinguy77_toro_aosp_011913-120824-signed.zip" and it doesn't do anything and just scrolls through all the available commands you can do...I have tried multiple variations of that and nothing seems to work. Help me please, as I need my phone working and I have been trying to figure this out for about an hour now.
Click to expand...
Click to collapse
cd C:\android-sdk-windows\platform-tools\
adb push baldwinguy77_toro_aosp_011913-120824-signed.zip /sdcard/
You didn't specify the destination.
Sent from my i9250
Ashwa said:
Use side load.
Cwm : reboot recovery > install zip from side load.
In adb > using the side load command ( refer syntax on phone screen, when pH is in side load mode.)
Press thanks if helped
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
bk201doesntexist said:
cd C:\android-sdk-windows\platform-tools\
adb push baldwinguy77_toro_aosp_011913-120824-signed.zip /sdcard/
You didn't specify the destination.
Sent from my i9250
Click to expand...
Click to collapse
But why put /sdcard on the end if there is no sdcard?? By the way I got it to work but didnt put the sdcard on the end
CC268 said:
But why put /sdcard on the end if there is no sdcard??
Click to expand...
Click to collapse
.... Please do some research.
CC268 said:
By the way I got it to work but didnt put the sdcard on the end
Click to expand...
Click to collapse
Through adb? I find that hard to believe, unless you specified another destination.
Sent from my i9250

Data Recovery via Download Mode

Afternoon all,
My G4 has hit the bootloop for the last few days. Periodically, it has powered up to the main screen, but not for long enough for me to recover data.
I just spoke to a data recovery place that told me that if I can put my phone into download mode, they can recover the data. Lo and behold, my phone is currently next to me in download mode!
I'm quite keen to avoid dropping that amount of money if possible, so does anyone know of a way to recover the internal memory of the phone via download mode?
Apologies if I'm duplicating a previous thread - I had a quick look, but couldn't see any with the same issue.
Probably when the phone is in download mode they can copy the partitions bit by bit then try to do data recovery from those partition images.
So if the phone doesn't boot, it doesn't mean the data partition is corrupted so in theory you could try to copy the data partition and mount it and see what files you can recover.
I do not know the exact commands to dump the data partition but I think that's the way it can be done.
Anyone else willing to give a hand here?
Thanks for the help so far. I believe the data is intact - when the phone starts up, the data is all there. It's just accessing it that is the issue.
Sent from my Nexus 5 using Tapatalk
something similar to
Code:
dd if=/dev/block/mmcblk0p55 bs=8192 skip=65536 count=548352 of=/mnt/media_rw/external_SD/data.img
OR
Code:
dd if=/dev/block/mmcblk0p55 bs=8192 skip=65536 count=548352 of=/dev/block/mmcblk1/data.img
don't quote me on that but in theory this should work...
make SURE you have a 32gb SDCard in the phone first
Where would that command be entered mate? Sorry, only ever used my phone stock before.
Sent from my Nexus 5 using Tapatalk
I thought the OP title said download mode?
Use the LG Root method as if you were going to root..
I'm mobile ATM but if I remember correctly...
Send_Command \\.\Com# [# meaning your com port number]
Then insert that command.
Tomorrow at work I can get a common list of partition names and the command to back it up with.
je2854 said:
I thought the OP title said download mode?
Use the LG Root method as if you were going to root..
I'm mobile ATM but if I remember correctly...
Send_Command \\.\Com# [# meaning your com port number]
Then insert that command.
Tomorrow at work I can get a common list of partition names and the command to back it up with.
Click to expand...
Click to collapse
You need to mount the partition first.
Also, you could mount data if it is not encrypted (is it?)
Do this:
Code:
mkdir /temp
mkdir /temp/sd /temp/data
mount /dev/block/mmcblk1p1 /temp/sd
mount /dev/block/bootdevice/by-name/userdata /temp/data
mkdir /temp/sd/recoverydata
cp -R /temp/data/media/ /temp/sd/recoverydata/
A little tip that should work :
Take the battery off your phone
Put both phone and battery in the fridge
Wait till the phone is cold and boot the device.
The bootloop trouble is due to an abnormal warm so this way you can have a one shot normal boot to backup your data before send for warranty.
terisse said:
A little tip that should work :
Take the battery off your phone
Put both phone and battery in the fridge
Wait till the phone is cold and boot the device.
The bootloop trouble is due to an abnormal warm so this way you can have a one shot normal boot to backup your data before send for warranty.
Click to expand...
Click to collapse
If you try this, please put the phone in a ziploc bag 1st and seal it so humidity won't get inside the phone while in the fridge.
nagalun said:
You need to mount the partition first.
Also, you could mount data if it is not encrypted (is it?)
Do this:
Code:
mkdir /temp/sd /temp/data
mount /dev/block/mmcblk1p1 /temp/sd
mount /dev/block/bootdevice/by-name/userdata /temp/data
mkdir /temp/sd/recoverydata
cp -R /temp/data/media/ /temp/sd/recoverydata/
Click to expand...
Click to collapse
just a question though... How can you use this command if it will not boot?
---------- Post added at 08:59 AM ---------- Previous post was at 08:50 AM ----------
to get into download mode do the following...
Pull Battery
Hold Volume Up
Plug in USB Cable (make sure it's plugged in the computer)
Release button after 5 seconds
follow the link to grab the files needed for "Send_Command"
Grab LG Root here
once you are in the mode and you followed directions you can copy the command I wrote
above to copy your data partition. The reason you must have a 32gb+ SDCard is you will
be making an exact copy of the /data partition where you can remove the SDCard and recover
whatever is needed.
je2854 said:
just a question though... How can you use this command if it will not boot?
Click to expand...
Click to collapse
Hmm... With the Send_Command.............? dd is a command too :silly:
nagalun said:
Hmm... With the Send_Command.............? dd is a command too :silly:
Click to expand...
Click to collapse
there is no need to mount the partition first..
the dd command will copy the partition as a RAW image.
you must then take it to a computer and mount it as an EXT4 or use it with ext2explore
je2854 said:
there is no need to mount the partition first..
the dd command will copy the partition as a RAW image.
you must then take it to a computer and mount it as an EXT4 or use it with ext2explore
Click to expand...
Click to collapse
in that case the command you have given him will copy 4492 mb only.
Here is why:
Code:
dd if=/dev/block/mmcblk0p55 bs=8192 skip=65536 count=548352 of=/dev/block/mmcblk1/data.img
input_file=(some partition) block_size=8192 skip_this_much_data=65536 how_many_data=548352 output_file=(somewhere)
actual data copied is 8192 * 548352 = 4492099584 bytes, and you are skipping some data from the beggining with 'skip'
you do still need to mount the sdcard, the "mmcblk1" is not treated as a directory, and it is very unlikely the sd card is mounted automatically in download mode.
nagalun said:
in that case the command you have given him will copy 4492 mb only.
Click to expand...
Click to collapse
remember me saying (if you read) above that I said "something similar to"
Hi all. Firstly, thanks for all your responses!
I've not got much of a clue what I'm doing unfortunately, I've never really messed with Android before - I'm typically fairly computer literate, but I've steered clear of messing with and rooting phones for the most part.
So to clarify, I've downloaded LG Root, Running either of the exes just leads to a cmd box that's open for about a second before closing, so I'm presuming I've missed a step. Is there a guide already in existence on how to use it?
But once in, ensure there's a sizeable Micro SD card in (it's a 64gb so I should be okay!) and use the send_command exe to send:
Code:
mkdir /temp/sd /temp/data
mount /dev/block/mmcblk1p1 /temp/sd
mount /dev/block/bootdevice/by-name/userdata /temp/data
mkdir /temp/sd/recoverydata
cp -R /temp/data/media/ /temp/sd/recoverydata/
And then the entire image should be on the Micro SD card.
How would I then mount the data image to be readable? I've only used .iso for mounting before.
Apologies for my ignorance - I'm probably making helping me quite difficult!
Sorry all, correction to my previous:- Do I basically follow http://forum.xda-developers.com/android/development/guide-root-method-lg-devices-t3049772
And replace step 10 with the above command?
Shift+Right Click the folder you extracted "open command prompt here" for starters...
Run ports.bat first...
It'll tell you your DIAG and communication port...
The second com port is the one you are looking for.
Send_Command \\.\Com"#" (don't insert quotes, # being the number you found)
je2854 said:
Shift+Right Click the folder you extracted "open command prompt here" for starters...
Run ports.bat first...
It'll tell you your DIAG and communication port...
The second com port is the one you are looking for.
Send_Command \\.\Com"#" (don't insert quotes, # being the number you found)
Click to expand...
Click to collapse
I'm having the same issue and actually tried this earlier today. Ports.bat didn't show a DIAG communication port even when I had the phone stably sitting in Download Mode.
Going to try the freezer trick. I already bought a Nexus 6P, just want to unlock the locked content on my SD card. lol.
EDIT: Holy crap! It worked. I chilled it in a baggie, then stood in front of the freezer as I unlocked all of my locked gallery files (1,411 files totaling 900MB). As soon as I was done, 30 seconds after stepping away from the freezer, it started to bootloop again.
Got the only information I needed off my phone...nice! I might give it another go tomorrow and see if I can't run ROM Toolbox and backup all my apps so it'll be easier to push to my N6P.
Awesome suggestion!
IlyaKol said:
I'm having the same issue and actually tried this earlier today. Ports.bat didn't show a DIAG communication port even when I had the phone stably sitting in Download Mode.
Going to try the freezer trick. I already bought a Nexus 6P, just want to unlock the locked content on my SD card. lol.
EDIT: Holy crap! It worked. I chilled it in a baggie, then stood in front of the freezer as I unlocked all of my locked gallery files (1,411 files totaling 900MB). As soon as I was done, 30 seconds after stepping away from the freezer, it started to bootloop again.
Got the only information I needed off my phone...nice! I might give it another go tomorrow and see if I can't run ROM Toolbox and backup all my apps so it'll be easier to push to my N6P.
Awesome suggestion!
Click to expand...
Click to collapse
Mine will only get to optimising Apps, even if still in the freezer.
Sent from my Nexus 5 using Tapatalk
Hi all, sorry for the double posting, but just to make certain before I do something that will accidentally brick my phone. I'm intending to do the following:
Put phone in download mode and connect device.
Open LG_Root folder
Run a command window in LG_Root
Code:
Send_Command.exe \\.\Com4
Then, line by line, command:
Code:
mkdir /temp/sd /temp/data
mount /dev/block/mmcblk1p1 /temp/sd
mount /dev/block/bootdevice/by-name/userdata /temp/data
mkdir /temp/sd/recoverydata
cp -R /temp/data/media/ /temp/sd/recoverydata/
Once I've done all this, what happens next? Will I see responses on the screen etc?
Again, I apologise for the probably stupid questions. I don't want to brick my phone and lose all of the data, but I'm going away with work so would like to square it before I go if I can.
Many thanks to you all so far.

Broken Display

Hi,
my OnePlus 3 got crushed. Felt down while driving motorbike and then at least 3 cars did drive over it. Display splintered in thousands of pieces and digitizer is dead. Home button with fingerprint also seems to not work.
By miracle the phone itself still works. . How I can enter the phone? I tried to boot into recover and browser with ADB but I dont know where my files are.
BTW USB Debugging was not activated, not rooted and Pattern lock is activated. The phone also asks for pattern lock on boot (I am worried that this means that my files are encrypted)
What else I can do?
fxppas said:
Hi,
my OnePlus 3 got crushed. Felt down while driving motorbike and then at least 3 cars did drive over it. Display splintered in thousands of pieces and digitizer is dead. Home button with fingerprint also seems to not work.
By miracle the phone itself still works. . How I can enter the phone? I tried to boot into recover and browser with ADB but I dont know where my files are.
BTW USB Debugging was not activated, not rooted and Pattern lock is activated. The phone also asks for pattern lock on boot (I am worried that this means that my files are encrypted)
What else I can do?
Click to expand...
Click to collapse
send it back and pay money for repair or you can buy yourself a new display + digitizer
for the glass oneplus take ~100 dollar. someone in this forum had the same problem.
you can ask the support first
Without debugging and with encryption you really can't do much ...
Sent from my OnePlus 3 using Tapatalk
@panther124
I just want to have my data back.. I dont really want to fix it. The mobile phone is slightly bended and has tons of scratches on the backside and a big bump. If you see the phone you will be surprised that it is still working As far as I understand is the data lost if I send the phone back.
Isnt it possible to connect just another cheap display on the phone to just for passing the lock. So I can enable debugging.
fxppas said:
Hi,
my OnePlus 3 got crushed. Felt down while driving motorbike and then at least 3 cars did drive over it. Display splintered in thousands of pieces and digitizer is dead. Home button with fingerprint also seems to not work.
By miracle the phone itself still works. . How I can enter the phone? I tried to boot into recover and browser with ADB but I dont know where my files are.
BTW USB Debugging was not activated, not rooted and Pattern lock is activated. The phone also asks for pattern lock on boot (I am worried that this means that my files are encrypted)
What else I can do?
Click to expand...
Click to collapse
Hi
did you unlock the bootloader?
maybe you could still root it and adp push / pull stuff from it
AlexLebowski said:
Hi
did you unlock the bootloader?
maybe you could still root it and adp push / pull stuff from it
Click to expand...
Click to collapse
I can enter shell with adb if I use power+vol up to boot into bootloader. But I dont know where my files are. "/sdcard" /media / mnt" I dont find anything.
fxppas said:
I can enter shell with adb if I use power+vol up to boot into bootloader. But I dont know where my files are. "/sdcard" /media / mnt" I dont find anything.
Click to expand...
Click to collapse
try look into "/storage" or "/data", or any other directories, use "adb pull" to copy everything you can to your computer.
Internal storage is at /storage/emulated/0
Sent from my OnePlus 3 using Tapatalk
Explorer23 said:
Internal storage is at /storage/emulated/0
Click to expand...
Click to collapse
[email protected] ~/on3bu $ sudo adb shell
[email protected]:/ $ cd /storage/
[email protected]:/storage $ ls
sdcard0
[email protected]:/storage $ ls -l sdcard0
lrwxrwxrwx root root 1970-04-23 10:16 sdcard0 -> /sdcard
[email protected]:/storage $ exit
[email protected] ~/on3bu $ sudo adb pull /storage/sdcard0
failed to copy '/storage/sdcard0' to './sdcard0': No such file or directory
[email protected] ~/on3bu $ sudo adb pull /sdcard
failed to copy '/sdcard' to './sdcard': No such file or directory
[email protected] ~/on3bu $ sudo adb shell
[email protected]:/ $ ls /storage/
sdcard0
[email protected]:/ $
Not with my phone
Hey, sorry for the late reply, i've been sick the last day.
First of all a stupid question
Have you seen that all your data is there under /storage/sdcard0? or is it an empty folder
try specifying the output directory of adb pull like
Code:
adb pull /storage/sdcard0 /home/username/
I'm thinking maybe it's a linux related problem, since linux doesnt always automatically create folder structures. So if your error message changes keep me posted.
Also:
my data is directly under /sdcard
so if i
Code:
adb pull /sdcard
I get
Code:
pull: building file list...
pull: /sdcard/ViPER4Android/DDC/Custom_jmxc23.vdc -> ./ViPER4Android/DDC/Custom_jmxc23.vdc
and Last but not least
maybe the sdcard isn't mounted correctly...
try
Code:
mount -a
in adb shell and leaye the shell open, then open a new one and try pulling the stuff from it.
I'm also new to XDA so until now i only had to solve my own problems but maybe it helps just give it a try
I'm also not shure if your pattern lock has encrypting your data (/sdcard).
but there is also a solution for removing lockscreen patterns via adb shell.
Good Luck,
Alex

Categories

Resources