[Q] Backup a broken screen GS2 - T-Mobile Samsung Galaxy S II SGH-T989

The screen got cracked and screen and touch doesn't work. The phone boots and works fine as I can see the OS when connected to a TV via MHL to HDMI adapter.
The phone was rooted and has CWM 4.x. I can probably boot to CWM by doing the steps blindly. But once I get into CWM, how do I back up all the data off the internal sdcard?
I read somewhat about using adb command to back it up but unsure about the exact steps to do so. Is it possible to backup everything and restore it to a new phone? Please help, thank you.

I figured it out and did a "adb pull /sdcard" to backup all the data.
Now I need to wipe all the data, but unable to do so. I managed to get the phone in recovery mode (well I think its in recovery), then I did:
adb shell
format DATA:
I get permission denied. I also tried:
adb shell
su
again, cursor blinks a few seconds, then it says permission denied.
please help.

So you can see the OS through MHL but not see recovery through it? If that's the case you could go to settings> privacy> then factory data reset
Sent from my SGH-T989

See your Broken Screen on your computer!
Check out
Android Screencast - Control your phone from your PC (My Mobiler ...
Android Screencast - Control your phone from your PC (My Mobiler for Android) Touch CDMA Android Development.
forum.xda-developers.com/showthread.php?t=663390
and see the following link for Android master
Lend a hand, learn to LOGCAT!!

DavidXSU said:
So you can see the OS through MHL but not see recovery through it? If that's the case you could go to settings> privacy> then factory data reset
Sent from my SGH-T989
Click to expand...
Click to collapse
the touchscreen doesn't work either.
jangst123 said:
Check out
Android Screencast - Control your phone from your PC (My Mobiler ...
Android Screencast - Control your phone from your PC (My Mobiler for Android) Touch CDMA Android Development.
forum.xda-developers.com/showthread.php?t=663390
and see the following link for Android master
Lend a hand, learn to LOGCAT!!
Click to expand...
Click to collapse
Thanks, I can see the OS with the screencast, but mouse and keyboard doesn't work. I also have a lockscreen pattern, and I can't get pass it without mouse control.

bebopblues said:
the touchscreen doesn't work either.
Thanks, I can see the OS with the screencast, but mouse and keyboard doesn't work. I also have a lockscreen pattern, and I can't get pass it without mouse control.
Click to expand...
Click to collapse
Probably should check in the screencast thread.
I'm sure they can help you figure it out.
Sent from my SGH-T989 using xda premium

oh, forgot about that..
You could probably Odin to stock blindly since the com port on Odin doesn't come on unless you're in download mode. Just hold the two volume buttons and plug in a USB cable and you should be in download mode.
http://forum.xda-developers.com/showthread.php?t=1414341
Sent from my SGH-T989

Related

Recovery Mode?

Ok, so here's what happened.
When I got my ouya, the first thing I did was root it and set up Wireless adb. I noticed that when I had adb running over wifi though, it would disable my micro usb port for some reason, and I couldnt copy anything to the device while I had debugging enabled.
Long story short, I disabled adb to copy some files, and I accidentally replaced the launcher while trying to get GAPPS working. Unfortunately whatever launcher overwrote the ouya one doesnt work, and just force closes on boot.
Does anyone know of a recovery mode for the ouya? Most phones require holding down the power button as well as one of the volume buttons, but the ouya doesnt have any volume buttons.
I opened the case, and didnt see any switches or jumpers either.
I even tried using a usb keyboard and holding down the volume buttons on it out of desperation haha.
Is it possible to get Clockwork Mod booting from USB or something?
with wireless adb, if you disconnect from it by closing the cmd window, you need to type adb usb to re-enable the usb mode
its okay if the launcher fails as long as it still boots and you get into android, you can turn on adb again and just re-install stock launcher. I'll attach it in an sec
Wanted to mention, you don't need to root (already rooted), I wouldn't suggest flashing any random recovery, it needs to get made for it first(eventually gonna happen soon).
I would suggest deleting/uninstalling whatever launcher you tried installing. Because the launcher they used is built with the framework so you need to do more work to get an third party launcher to work correctly.
First:
adb install Pathofapk\OUYALauncher.apk
Second:
adb shell
su
cd /data/app
ls (get the name of the launcher that's FC)
rm name.apk
Paulenski said:
Wanted to mention, you don't need to root (already rooted), I wouldn't suggest flashing any random recovery, it needs to get made for it first(eventually gonna happen soon).
I would suggest deleting/uninstalling whatever launcher you tried installing. Because the launcher they used is built with the framework so you need to do more work to get an third party launcher to work correctly.
First:
adb install Pathofapk\OUYALauncher.apk
Second:
adb shell
su
cd /data/app
ls (get the name of the launcher that's FC)
rm name.apk
Click to expand...
Click to collapse
Thanks for attaching the launcher. I hopefully will be able to use that soon. Unfortunately, I disabled USB debugging in the Developer options on the Ouya itself.
I tried running your command (adb usb) and it tells me that no devices were found. I tried doing 'adb connect x.x.x.x' as well, but since USB debugging is disabled, it won't connect that way either.
Thanks for the suggestion though. Do you have any other ideas?
I have this samba app installed, and I was hoping i could access root through that, but I can only figure out how to access the sd card.
I also have airdroid and es file manager installed if there are any exploits to get those running.
Thanks for any help offered
Check this command
adb devices
does it even show up on the list?
Paulenski said:
Check this command
adb devices
does it even show up on the list?
Click to expand...
Click to collapse
i tried it, but it doesn't show up. I also checked device manager to see if it came up it there but all I get is an mtp device. I also copied the hardware id from that device and added it to the adb driver and reinstalled it that way, but it still does not show up in adb devices.
just to clarify, the mtp has a different hardware id than the adb mode one. When I did adb TCP originally, it disabled my micro USB port from mtp access, so I could not transfer files. That's why I had to disable USB debugging on the ouya. I'm afraid adb is doomed to not work until we can figure out how to get a USB bootable recovery image.
thanks for the suggestions I really appreciate it
any other ideas? I have been toying around with samba a little. I noticed that there is a share named admin$ but it doesn't work with the password I set up for the other share. Does anyone know what the default root password is for samba? If this will let me access the system folder, I can dump the launcher back in through samba.... Probably a long shot though.
https://devs.ouya.tv/developers/docs/setup
Did you follow that? If you don't do the echo command, it won't work on usb adb.
If you have Skype or GTalk, let me know, we can talk on there to try and remedy your problem
Paulenski said:
https://devs.ouya.tv/developers/docs/setup
Did you follow that? If you don't do the echo command, it won't work on usb adb.
If you have Skype or GTalk, let me know, we can talk on there to try and remedy your problem
Click to expand...
Click to collapse
I have PM'd you.
I double checked, and made sure to do the echo command. Still no dice.
Just as an update, MBM on the ouya dev forums posted how to get into the recovery mode of the console if anyone is interested. I was able to get my ouya running again with his help.
This is the process:
HOW TO RECOVER:
This is a hack, an unintended sequence of events that results in recovery mode; what you need to do is crash the startup using sysrq.
For this you'll need a usb keyboard with the sysrq key, this is usually the printscreen button if your keyboard isn't labeled. As the OUYA starts to boot, hold down the alt-sysrq keys and press i, wait a few seconds and then repeat. This key combination is kill-all-tasks; thanks to whoever left this enabled in the kernel. Each time you kill the tasks the init process will restart them, after about 5 or 6 times init will print a warning on the console that one of the processes marked critical has been restarted too many times -- this then triggers an automatic reboot into recovery mode.
Unfortunately it's not always obvious when the ouya is in recovery mode. You might get screen with the ouya logo and a large red exclamation mark, or the screen might be entirely black; usually I got a black screen. Press the home button on the keyboard to bring up the recovery menu; it's actually a toggle so feel free to press the home button repeatedly until you see the menu since the timing isn't otherwise obvious.
Once you get to the recovery menu, the select the second option to update from adb. Download the OTA update from the link at the end of this post, and run the command "adb sideload RC-OUYA-1.0.193-r1_ota.zip" this will reformat the system partition and reinstall the ouya software. You might also want to do a factory reset before rebooting.
Links to download the OTA updates can be found on this xda thread: http://forum.xda-developers.com/showthread.php?t=2266629
Click to expand...
Click to collapse
check out the thread here: http://forums.ouya.tv/discussion/1380/recovery-mode
Thanks for all the help here guys! I am glad to be running again
darthcircuit said:
Just as an update, MBM on the ouya dev forums posted how to get into the recovery mode of the console if anyone is interested. I was able to get my ouya running again with his help.
Click to expand...
Click to collapse
Glad it helped.
- mbm

[Q] Touchscreen broken, how to restore backup

Hi, everyonem
I have a LG G3 D855P. It is currently running the CM12 from April 21st. I have a bug where it would get stuck at the boot screen. So I reflashed a few times, and was able to boot.
Problem is: I dropped it today and the glass cracked. The LCD is fine, but the digitizer does not work. I tried to turn it on, and I'm again stuck at the boot screen. I would like to restore a backup I have in my SD card. The problem is that this new TWRP recoveries only work with the touchscreen, and I can only operate a tiny 0.5 cm strip on the bottom. So I cannot restore my backup.
Can anyone help me out here? Is there a way to restore the backup using a computer? Or any combination of keys that would allow me to control TWRP using my HW buttons? I simply cannot understand why they did not implement a way to control TWRP using the HW keys, just like in the original android recovery...
I appreciate any help you guys can provide me!
Thanks,
You could try getting a USB OTG and try plugging a mouse into it but i doubt it will work
Best if you go get it repaired first and then do it
itsbighead said:
You could try getting a USB OTG and try plugging a mouse into it but i doubt it will work
Best if you go get it repaired first and then do it
Click to expand...
Click to collapse
My fear is spending the $ to get the screen repaired and then finding out that something else is broken. That's why I would like to restore a previous backup just to check if it boots, before sending it to repair.
Thanks for your response anyway, but I doubt the TWRP recovery would have the drivers for the usb mouse to work. I do have a usb otg cable at home, will test that later on today.
augusto.med said:
My fear is spending the $ to get the screen repaired and then finding out that something else is broken. That's why I would like to restore a previous backup just to check if it boots, before sending it to repair.
Thanks for your response anyway, but I doubt the TWRP recovery would have the drivers for the usb mouse to work. I do have a usb otg cable at home, will test that later on today.
Click to expand...
Click to collapse
I would suggest you do this. Boot TWRP and if your lucky MTP mode might be enabled and you can copy your TWRP backup off it, if it is on your internal sd card
After doing that Boot into Download Mode and Flash the factory firmware. You can reroot and restore you TWRP backup after your screen gets repaired. I know for a fact that after they fix the screen they will do service tests using the service menu of the phone and they will know if you rooted and have TWRP installed
By knowing that you rooted they will immediately cancel warranty
itsbighead said:
I would suggest you do this. Boot TWRP and if your lucky MTP mode might be enabled and you can copy your TWRP backup off it, if it is on your internal sd card
After doing that Boot into Download Mode and Flash the factory firmware. You can reroot and restore you TWRP backup after your screen gets repaired. I know for a fact that after they fix the screen they will do service tests using the service menu of the phone and they will know if you rooted and have TWRP installed
By knowing that you rooted they will immediately cancel warranty
Click to expand...
Click to collapse
Hey, thanks for the suggestions! After a few hours trying, I was able to restore my backup using ADB SHELL TWRP RESTORE And with the first backup that I had made, still with the original ROM/firmware, the phone booted up just fine. So now I can pay to fix my screen with peace of mind
Thanks everyone who helped. If anyone finds this topic and wants to do what I did, it is simple:
Boot your phone into TWRP
Make sure you have all drivers properly installed in your windows PC
Go to the Android SDK folder, open command prompt
type: adb devices, it should then list your device as " recovery"
type adb shell twrp restore YOURBACKUPPATH
In my case, I did a few " adb shell ls" before finding my backup folder.. Also, I had to download proper LG drivers in my PC and point windows to the correct driver in Device Manager. Good luck everyone!

how to recover data from broken screen device

hi to everyone
i have samsung glaxy s4 mini gt-i9195
its screen is broken
no usb debugging
screen is locked with password
i want to recover my data
i need help
i cant access to my phone
azcomputers said:
hi to everyone
i have samsung glaxy s4 mini gt-i9195
its screen is broken
no usb debugging
screen is locked with password
i want to recover my data
i need help
i cant access to my phone
Click to expand...
Click to collapse
so you can see screen it's just not sensitive to touch? Then you might be able to use a Y-cable/usb hub with a mouse
https://m.ebay.com/itm/New-White-US...3A97ee63b715e0a860d18f2796fffe2b4b%7Ciid%3A17
or
https://m.ebay.com/itm/3in1-Micro-U...3D263055497588&_trksid=p2056116.c100408.m2460
IronRoo said:
so you can see screen it's just not sensitive to touch? Then you might be able to use a Y-cable/usb hub with a mouse
thanx brother
but my phone screen is broken and black so i cant see anything
i have manged to enable adb somehow but i cant verify it from phone
so i cant use adb still
Click to expand...
Click to collapse
azcomputers said:
IronRoo said:
so you can see screen it's just not sensitive to touch? Then you might be able to use a Y-cable/usb hub with a mouse
thanx brother
but my phone screen is broken and black so i cant see anything
i have manged to enable adb somehow but i cant verify it from phone
so i cant use adb still
Click to expand...
Click to collapse
Any idea what is wrong with screen? Could it just be a loose cable connection? (If you really want data, Maybe you can find a bricked phone on net cheap and use screen from that.)
Taking it to a shop with jtag would also be able to get data from phone
Click to expand...
Click to collapse
maybe try swap boards from another working phone?
at least you can then set it to download all the data.
I resume this thread because i'm in a similar situation. I have a non-working touch but a working LCD. I can access recovery mode, is there a way to activate adb or OTG function from here? TY in advance!
Drake9090 said:
I resume this thread because i'm in a similar situation. I have a non-working touch but a working LCD. I can access recovery mode, is there a way to activate adb or OTG function from here? TY in advance!
Click to expand...
Click to collapse
just connect an otg mouse if your device support otg then download any remote control softwear like teamviwer quick connect activate it and connect to pc and enable adb and your good to go !

Help me recover OP3 data

Hi all!
I recently dropped my OP3 and now i have a black screen and touch screen doesn't work. The phone is still on and operating (i tried calling it from another phone and it works). I want to recover data but apparently i have usb debug off and i tried connecting a keyboard with an OTG but apparently i had to activate OTG from phone, otherwise it doesn't recognizes it.
Do you know any method to recover data?
My last chances are repairing the screen myself to avoid the assistence erase all the data, or transfer my motherboard to another OP3, but do you know any other method before these two above?
Thank you
manto02 said:
Hi all!
I recently dropped my OP3 and now i have a black screen and touch screen doesn't work. The phone is still on and operating (i tried calling it from another phone and it works). I want to recover data but apparently i have usb debug off and i tried connecting a keyboard with an OTG but apparently i had to activate OTG from phone, otherwise it doesn't recognizes it.
Do you know any method to recover data?
My last chances are repairing the screen myself to avoid the assistence erase all the data, or transfer my motherboard to another OP3, but do you know any other method before these two above?
Thank you
Click to expand...
Click to collapse
Most likely the connector has become loose (since you have not said anything about the screen being broken) and you can try to reconnect it by yourself.
Another alternative is to see if adb is working and your PC is authorised. If so, you can use the 'adb pull /sdcard' command to copy your data to the PC.
Alternately, search with Google since I remember reading about a method to mirror your screen and then using the mouse to enable whatever you want.
tnsmani said:
Most likely the connector has become loose (since you have not said anything about the screen being broken) and you can try to reconnect it by yourself.
Another alternative is to see if adb is working and your PC is authorised. If so, you can use the 'adb pull /sdcard' command to copy your data to the PC.
Alternately, search with Google since I remember reading about a method to mirror your screen and then using the mouse to enable whatever you want.
Click to expand...
Click to collapse
I'll check the connector but the screen has some cracks (tho i've seen screens in worse condition then mine work).
And i can't use the mouse because OTG is not on, on other phones you don't need to give permission to use OTG but on mine you have to,
manto02 said:
I'll check the connector but the screen has some cracks (tho i've seen screens in worse condition then mine work).
And i can't use the mouse because OTG is not on, on other phones you don't need to give permission to use OTG but on mine you have to,
Click to expand...
Click to collapse
What about adb? That is the easiest.
I am not talking about connecting the mouse to the phone through OTG. I am talking about using the PC's mouse to manipulate the cursor to the point where you want it on your PC's screen where your mobile screen is mirrored.
tnsmani said:
What about adb? That is the easiest.
I am not talking about connecting the mouse to the phone through OTG. I am talking about using the PC's mouse to manipulate the cursor to the point where you want it on your PC's screen where your mobile screen is mirrored.
Click to expand...
Click to collapse
I think you are referring to Vysor, but i can't use it with debugg off again. Edit: I see that there are other apps like that but for most of them you have to install them on the phone, i'll search a bit more tho.
As for ADB i tried before with another phone with debug off and adb doesn't see the phone, i'll try with my broken phone but i don't think it will be different.
manto02 said:
I think you are referring to Vysor, but i can't use it with debugg off again. Edit: I see that there are other apps like that but for most of them you have to install them on the phone, i'll search a bit more tho.
As for ADB i tried before with another phone with debug off and adb doesn't see the phone, i'll try with my broken phone but i don't think it will be different.
Click to expand...
Click to collapse
Just now, I switched off USB debugging in my OP3 and connected it to the Laptop. While the command 'adb devices' does not find the phone, as soon as it is connected, it shows up as a storage device and I can open it and copy data. I think that for this to work, you should have enabled MTP option for file transfer.
Check this on your phone.
EDIT: Check THIS as there seems to be a way though I am not sure that it works on current Android versions since the file locations may be different. Read till the end.
My phone goes in charging mode when connected to pc, and pc doesn't see it.
Did you do that through recovery mode?
manto02 said:
My phone goes in charging mode when connected to pc, and pc doesn't see it.
Did you do that through recovery mode?
Click to expand...
Click to collapse
No. Tried it while booted.
Now I tried on recovery mode. Still I get it as a storage device and I can copy data.
So most probably your phone is stuck on charging and not on MTP.
tnsmani said:
No. Tried it while booted.
Now I tried on recovery mode. Still I get it as a storage device and I can copy data.
So most probably your phone is stuck on charging and not on MTP.
Click to expand...
Click to collapse
I believe so, every time I connected it to pc i had to switch manually from charging to recovery.
I guess my best solution is to buy a screen replacement and repair it myself
manto02 said:
I believe so, every time I connected it to pc i had to switch manually from charging to recovery.
I guess my best solution is to buy a screen replacement and repair it myself
Click to expand...
Click to collapse
Have you tried fastboot flash twrp recovery and then fastboot reboot to recovery
You can try usb c to hdmi adapter , connect to a monitor or tv.
I am not sure but worth trying!!!
manto02 said:
Hi all!
I recently dropped my OP3 and now i have a black screen and touch screen doesn't work. The phone is still on and operating (i tried calling it from another phone and it works). I want to recover data but apparently i have usb debug off and i tried connecting a keyboard with an OTG but apparently i had to activate OTG from phone, otherwise it doesn't recognizes it.
Do you know any method to recover data?
My last chances are repairing the screen myself to avoid the assistence erase all the data, or transfer my motherboard to another OP3, but do you know any other method before these two above?
Thank you
Click to expand...
Click to collapse
From what i can remember, the recovery mode, accessible from the fastboot menu, has a usb access mode.
If worst comes to worst though, i personally have replaced the screen on my OP3, and its not as difficult as it seems or is made out to be. Took me max 4 hrs.

I drowned my 5T. Touchscreen doesn't work. I need the files!

I accidentally drowned my phone. It powers up to the point I need to give my password to unlock it. Unfortunately the touch screen is dead. I have ADB installed to my laptop but I don't know how to get access to my files. Any help is so welcome right now, I don't even have a replacement phone.
iPap said:
I accidentally drowned my phone. It powers up to the point I need to give my password to unlock it. Unfortunately the touch screen is dead. I have ADB installed to my laptop but I don't know how to get access to my files. Any help is so welcome right now, I don't even have a replacement phone.
Click to expand...
Click to collapse
You could try using your phone with computer mouse and OTG cable.
Xokoz said:
You could try using your phone with computer mouse and OTG cable.
Click to expand...
Click to collapse
Hmm, is there a software I have to use?
iPap said:
Hmm, is there a software I have to use?
Click to expand...
Click to collapse
Your screen works but it doesn't recognize touch, right? If so, you can just enable MTP on your phone with mouse and then connect it to your laptop and access the files from there.
And no, I don't think any mouse require software to work if used with OTG cable.
E: https://www.androidcentral.com/10-basic-terminal-commands-you-should-know
You can try adb push/pull method though. Haven't done it myself so I can't be much help with that.
Xokoz said:
Your screen works but it doesn't recognize touch, right? If so, you can just enable MTP on your phone with mouse and then connect it to your laptop and access the files from there.
And no, I don't think any mouse require software to work if used with OTG cable.
Click to expand...
Click to collapse
Well it used to work, not right now. It vibrates sometimes when I press the power button, so it's not 100% dead yet. So as soon as I connect it via OTG I will have the option to access it? Interesting...
iPap said:
Well it used to work, not right now. It vibrates sometimes when I press the power button, so it's not 100% dead yet. So as soon as I connect it via OTG I will have the option to access it? Interesting...
Click to expand...
Click to collapse
If your phone boots up and you can see your screen working normally except for the touch part, then yes. But if you don't have OTG cable or mouse now and you have to order them, you might want to try those adb commands in link I edited to my previous comment.
Xokoz said:
If your phone boots up and you can see your screen working normally except for the touch part, then yes. But if you don't have OTG cable or mouse now and you have to order them, you might want to try those adb commands in link I edited to my previous comment.
Click to expand...
Click to collapse
I'll try to use the ADB as I don't have an OTG cable. I'll try it now, thank you.
Edit: It won't communicate with the device with 'adb devices'. I guess I'm in trouble...
iPap said:
I'll try to use the ADB as I don't have an OTG cable. I'll try it now, thank you.
Edit: It won't communicate with the device with 'adb devices'. I guess I'm in trouble...
Click to expand...
Click to collapse
Have you installed TWRP?
Xokoz said:
Have you installed TWRP?
Click to expand...
Click to collapse
Yes, I try to boot into TWRP but no chance. I think it's dying.
iPap said:
Yes, I try to boot into TWRP but no chance. I think it's dying.
Click to expand...
Click to collapse
Oh, that is actually a bad sign. I was wondering if you had your phone decrypted by any chance so you could've just booted into TWRP and copied internal storage to your laptop from there.
Xokoz said:
Oh, that is actually a bad sign. I was wondering if you had your phone decrypted by any chance so you could've just booted into TWRP and copied internal storage to your laptop from there.
Click to expand...
Click to collapse
I'll just let it dry in rice for a couple of days and will try several stuff again. Ill get back as soon as I have news. Thanks mate.
I do not know how high your geek-level is, but I would recommend booting twrp, decrypt the data partiton with adb and pull the complete data partition to the PC:
1. Get a bootable twrp e.g. fastboot boot twrp-XX.img
2. adb shell twrp decrypt <Password>
3. adb pull /dev/block/dm-0 ./decrypted-data.img
(Credits go to stackoverflow)
If this does not work I would attach an USB Hub after booting into twrp and attach a mouse and a storage device to the hub. (And a keyboard)

Categories

Resources