[Q] Touchscreen broken - how to backup? - Nexus 4 Q&A, Help & Troubleshooting

Hi there,
my touchscreen is broken, display however works just fine but doesn't react on touching.
Before giving it away for reparation I would want to make a backup of all data (messages, contacts, apps etc.)
I tried via adb but all I get is the message "device offline", same with screencast.
I guess that's because of 4.2.2's new security feature where you have to confirm the connection on the handset.
Unfortunately the Nexus 4 doesn't support any usb input device.
I remember reading somewhere that this "feature" is keeping the data little more secured but could be bypassed somehow relatively easy.
But exactly how wasn't mentioned.
So any help here please?
Bootloader is unlocked, rooted and usb-debugging turned on.
Thanks, uizomop
edit: Just found out, that in recovery mode I can connect via adb. "adb backup –apk –shared –all" This comment shoud backup pretty much all data, right? But how about messages?

Related

Need help fast!

I broke the screen on my S4 to the point that it is not usable. I work in a hospital and urgently need to access my phone and the texts on it. The phone is rooted. Is there any way I can access my texts and unlock my phone so I can access the data on it.
Can you plug it into a PC and access KIES?
Other than that, I do not know. I use MightyText and that keeps everything sync'ed to the cloud. Maybe installing that after the fact.
Or, second thought, look towards AndroidLost, I think you can install that without seeing the screen.
I am now familiar with kies how does it work?
If you can get into recovery, you could make a nandroid backup of your current setup, then restore data (I'd advise against system) onto the new phone, assuming it's still a Galaxy S4 (and it's not the Triband).
Alternatively, still do the nandroid but use an app such as Nandroid Explorer to get the pieces you need out of it.

[Q] Please Help ! ! Enable USB Debugging From Pin / Pattern Lock Screen

Fellow XDA buddies...please help me on this one!
My colleague is locked out of his Galaxy S4 running Lollipop that has a pin / password lock that he inadvertently set and doesn't know what it was set to
We've Tried:
- Android Device Manager: After getting on the phone with a Samsung Mobile Tech and having them conference in a Google Tech... getting out of a pin lock screen is no longer compatible with ADM on Lollipop as it doesn't display the password input without first unlocking the phone via pin ...
- Samsung Find My Mobile: He never setup the Samsung Account/App on his phone before the forgotten pin issue ...
- Lollipop doesn't seem to have any vulnerabilities / workarounds to get past the lock screen when pin locked ...
- I have tried to use the Stock Recovery to apply the files suggested here http://forum.xda-developers.com/showthread.php?t=2308130 and here http://forum.xda-developers.com/galaxy-s4/general/bypass-t3035553 and cann't get past the Signature Verification ...
- USB Debugging was never enabled so the adb exploits I found that involve SQLite or removing the key file do not work ...
- I have exhausted all the methods here because it doesn't have have root access or a custom recovery installed http://forum.xda-developers.com/showthread.php?t=2620456
So without USB Debugging, Root or a Custom Recover (which requires root it seems), we are stuck!
I think the best bet would be to enable USB Debugging somehow while locked or from an upload we can make through the Stock Recovery or ODIN...
We would greatly appreciate if anyone can help!
Thank you,
-Chris
Usually the only option is a reset from recovery. Which will erase all user data. Pics, files... Etc.
That's the point of the pin lock... To protect your privacy mostly.
I have not heard of any other way to bypass the pin lock. Well, flashing firmware again works on most devices, but same result. All user data gone.
Flashing a new ROM through Odin I don't believe will work. If I recall correctly Odin doesn't wipe data when installing. Therefore, the only real option is a factory reset if you don't wish to root or install a custom recovery.
The only thing that you can save is files stored on the internal storage.
Apps, sms, contacts etc are gone. That is if you didn't make any backups.
If you want to save the files on your internal storage:
- Flash custom recovery (twrp)
- Wipe /system partition.
- Reflash a rom.

Phone locked out,

Hi there,
Friend of mine using Lenovo A6000+, Doesn't have google account in that phone. It was secured with the pattern lock. But unfortunately he forgot the unlock pattern. Since he have a lot of contacts in that phone, there is no way to reset it. Its full stock version. Just a basic user., so no root access or anything. In this scenario any other way to unlock the phone without doing a factory reset? The google answers are helpful only if the usb debugging is enabled. Since it is not rooted and basically a very common user used that phone, i don't think usb debugging is enabled. Any help appreciated.
By the way, i'm also thinking of flashing a custom recovery into the phone. Will that be of any help? Would it cause the phone to lose data? Will that need usb debugging enabled to do it?
:angel::highfive::angel:
lava_owner said:
Hi there,
Friend of mine using Lenovo A6000+, Doesn't have google account in that phone. It was secured with the pattern lock. But unfortunately he forgot the unlock pattern. Since he have a lot of contacts in that phone, there is no way to reset it. Its full stock version. Just a basic user., so no root access or anything. In this scenario any other way to unlock the phone without doing a factory reset? The google answers are helpful only if the usb debugging is enabled. Since it is not rooted and basically a very common user used that phone, i don't think usb debugging is enabled. Any help appreciated.
By the way, i'm also thinking of flashing a custom recovery into the phone. Will that be of any help? Would it cause the phone to lose data? Will that need usb debugging enabled to do it?
Click to expand...
Click to collapse
I dont think, there's anything you can do about it. Ask him first, if he had ever connected to pc and authorized it for usb debugging. Otherwise, the only option left is to factory reset.
Edit: Brother, I'm working on something to change the pattern, which obviously I'll tell you. I'll make a flashable zip which you can flash through twrp. Lets see how this goes.
I'm not sure, if I'll be able to do it. But if it does, it would be very helpful for everyone.
:silly:
Edit 2: Finally I got it working!!! hurray!!
Just flash this zip below and the next time your phone boots, you can enter any "more than 3-dot" pattern and the phone will accept. Later, you can set new pattern or anything.
:angel: :silly:
P.S. I used CWM recovery on stock KK to flash it. Don't know why but I couldn't manage to flash twrp. Who cares anyway, if our job gets done. :silly:

Oneplus 5 stuck on setup?

EDIT: Solution was to sit with OP5 technician which flashed my ROM to Oxygen 4.5.1. After this didn't do it, I RMA-ed it and got a new OP5.
EDIT: TL;DR: After updating OP5 to 4.5.5, It doesn't recognizes sim nor wifi, and can't rollback to 4.5.3 that did and stuck on phone setup (needs wifi). ADB devices is empty, I have Google USB Driver from SDK, Windows 10
Hello,
I just got a new OP5 today.
Opened it in the store, came with Oxygen 4.5.3 outta the box.
I putted the sim in, and I connected to the store's wifi, all was good and even had a phone call to my mother to check if the mic and speaker are working well.
Then when I got home, I upgraded the OS to 4.5.5 through the settings, where Android suggested. I'm new to OP and android (moved from iphone 5) and so if there is a right way to do it, and that's not it, I wouldn't have known.
Then, OP5 didn't recognize the sim anymore and couldn't start the wifi (switching it on wouldn't work, it would do nothing), so I tried Factory reset. Unfortunately it didn't reset the OS as well and now I'm stuck outside can't use my sim card or connect to my home wifi to setup the device.
Tried installing OP5 usb drivers (show when connecting the OP5 to PC) and press the power button and lower speaker volume together, then flush the 4.5.3 OS through USB, but it doesn't recognize ZIP folder and when I tried to unzip and send boot image (cmd->"adb sideload boot.img) it started and then failed at 0%.
Please help, the phone right now is unusable.
Tried the Factory reset through settings, but it took so long I thought it was stuck, so I did it through recovery screen.
Sounds like you got a lemon... I'd take it back and see if they'll swap it for another. Less than a week should be replaced immediatelly, at least that's been my experience here in Oz...
ultramag69 said:
Sounds like you got a lemon... I'd take it back and see if they'll swap it for another. Less than a week should be replaced immediatelly, at least that's been my experience here in Oz...
Click to expand...
Click to collapse
Why should it be replaced in less than a week? Also, isn't there a fix for adb problem so I could flash 4.3.5? Maybe a remote takeover?
Mine had 4.5.3 on it when I got it, updated to 4.5.4 then manually downloaded full rom, placed on internal memory and flashed 4.5.5 through the settings.
Had zero problems with WIFI before, during and after the update. No problems since.
Generally updating to a higher firmware version won't allow you to regress back to the lower, not sure with Oneplus as this is my first.
I'd also, if you can boot into Android go to settings nd check my IMEI numbers to see if they have been wiped (this can cause the sim to not be recognised) . If you have no IMEI then that is a BIG problem which will require an RMA unless you had backed up your efs files which from your description I doubt..
If the IMEI is OK I would download the full firmware version from here - https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190 - then using PC put the FULL ROM onto the internal memory then go to recovery and flash.
I'd also then unlock my bootloader(Just remember though that the phone will wipe all data after unlocking bootloader) and install TWRP - don't forget to 1st enable developer mode in settings and then allow usb debugging and OEM unlock - make a backup of the working stock rom and put it somewhere safe - home PC, in case this happens again. Best idea is to use the all-in-one tool, here - https://forum.xda-developers.com/on...l-skipsoft-android-toolkit-oneplus-5-t3625419 thankyou MSkip.
ultramag69 said:
Mine had 4.5.3 on it when I got it, updated to 4.5.4 then manually downloaded full rom, placed on internal memory and flashed 4.5.5 through the settings.
Had zero problems with WIFI before, during and after the update. No problems since.
Generally updating to a higher firmware version won't allow you to regress back to the lower, not sure with Oneplus as this is my first.
I'd also, if you can boot into Android go to settings nd check my IMEI numbers to see if they have been wiped (this can cause the sim to not be recognised) . If you have no IMEI then that is a BIG problem which will require an RMA unless you had backed up your efs files which from your description I doubt..
If the IMEI is OK I would download the full firmware version from here - https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190 - then using PC put the FULL ROM onto the internal memory then go to recovery and flash.
I'd also then unlock my bootloader(Just remember though that the phone will wipe all data after unlocking bootloader) and install TWRP - don't forget to 1st enable developer mode in settings and then allow usb debugging and OEM unlock - make a backup of the working stock rom and put it somewhere safe - home PC, in case this happens again. Best idea is to use the all-in-one tool, here - https://forum.xda-developers.com/on...l-skipsoft-android-toolkit-oneplus-5-t3625419 thankyou MSkip.
Click to expand...
Click to collapse
I can't pass the "Connect to Wifi" in the initial setup of the android, as it finds no wifi networks (but of course there are, when I use the sim in my iphone it works properly and there are wifi networks). So I don't know how can I get the IMEI number.
Right now my PC recognizes the OP5 connected via USB, but "adb devices" bring back empty list.
I think that once I get that working, I could unlock the bootloader. But I can't seem to be able to enable dev mode in settings - I can't get there.
I can only get to the recovery screen beyond the initial steps of setting up android.
Right now there is no important data on the phone and I have my laptop which is virgin to ADBs and Drivers (didn't use it to try to resolve it).
What driver and where do I get the right ADB so I could load 4.5.3 from usb to the phone?
When you upgraded, did you wipe cache and dalvik?
Binary Assault said:
When you upgraded, did you wipe cache and dalvik?
Click to expand...
Click to collapse
Wiped after the upgrade whem problems started
Might be wrong but I thought you could skip the wifi select screen on the setup wizard.
If you can get to Android you need to go to settings, scroll down to about phone and tap around 8 times on build number to enable developer settings.
You might be able to, might, pull down the settings menu in the wizard and bypass the wizard.
ultramag69 said:
Might be wrong but I thought you could skip the wifi select screen on the setup wizard.
If you can get to Android you need to go to settings, scroll down to about phone and tap around 8 times on build number to enable developer settings.
You might be able to, might, pull down the settings menu in the wizard and bypass the wizard.
Click to expand...
Click to collapse
It doesn't seem like I can skip it. Can't pull down a menu or anything
I guess only Oneplus can help me now?
Do you have any suggestion on fixing adb so it would recognize the OP5?
No, you need to enable debugging in developer settings for ADB to recognise.
Time to RMA...
ultramag69 said:
No, you need to enable debugging in developer settings for ADB to recognise.
Time to RMA...
Click to expand...
Click to collapse
Welp it is a pickle.
Going to go live chat with OP "level 2" representative.
See if they wipe the phone out and restore an older ROM.
If that't not going to work, RMA it is :/
Shame. A new phone. Took only one picture with my dad when we opened it back at the store. nothing else.
Unfortunately bad things can happen... You just got to be the one who got the dud this time round.....
Here's hoping it's the last time....
you can force update to a fresh installation of 4.5.5 by putting the 4.5.5 full zip into your phone in a folder called "update". Reboot to recovery im assuming you have stock recovery and follow the steps until you find the option that says something along the lines of "Update manually". It will detect if you have an update folder stored on your phone and it will begin reinstalling OOS 4.5.5. It sounds like a software problem but could be a hardware problem. Rule out the first option before RMA the latter.
OcazPrime said:
you can force update to a fresh installation of 4.5.5 by putting the 4.5.5 full zip into your phone in a folder called "update". Reboot to recovery im assuming you have stock recovery and follow the steps until you find the option that says something along the lines of "Update manually". It will detect if you have an update folder stored on your phone and it will begin reinstalling OOS 4.5.5. It sounds like a software problem but could be a hardware problem. Rule out the first option before RMA the latter.
Click to expand...
Click to collapse
When I connect the OP5 to the PC there are no folders under it (Computer -> OP A500 -> no folders), but I'll try and give it a shot. see what happens. Will update this reply.
Update:
After Oneplus flashed Oxygen 4.5.1 on the phone and some other magic I was able to skip wifi step on setup, yet still when I try to activate it it won't budge. the slider won't move and it looks as the page is being refreshed. Also, when I try to get into sim section in settings it would just freeze and alert the program stopped and suggest to close or wait.
Oneplus says it is hardware issue, and the fact it happened when I upgraded to 4.5.5 from settings menus is coincidence. They say I need RMA it.
If anyone knows how to fix it then I'm more than welcome to hear it.
EDIT: it also won't shut off unless I long press the power button.

How can I recover data from my Core Prime SM-G360G with a broken screen of death? :-o

Hello experts!
First off I do admit I have cross posted some information here. Perhaps I should have just asked here first. As a lot of research I have been doing lead me here. I am also aware of the XY problem. So I am giving what information I have on my problem and what I have done to resolve it. In a nutshell I need to recover app data from internal storage.
So here is yet another story of a dropped Samsung Galaxy BSOD. The broken screen of death! :-o
So I dropped my phone and the screen broke, fixed it then put on a screen protector that fractured the new screen in my pocket, of all things. Through that it spiraled out and it needed a new LCD as well as screen which failed to repair as LCD remains blank now. I suspect the display controller has somehow fried. Decided to give up and buy a new phone.
My broken phone is a Core Prime G360G. The digitizer doesn't respond. The LCD is blank. The side buttons, volume, power and home, work fine.
The good news. It turns on and technically still works. It has no screen lock. I can plug it in to computer via USB and it mounts over MTP. I can also install apps remotely (so to speak) from another computer from the Play site. I've installed Samsung Switch this way. Switch does work and I managed to back up files from the Windows program which is good but in my case it isn't smart enough as it doesn't back up app data which I need. I also have AirDroid installed and can reach it that way I but didn't enable mirroring before the incident. Trying to use that to download an app (~10MB in my case) just results in the browser stalling.
The bad news. It is not rooted. It has stock standard firmware. USB debugging is not enabled. Last time I tested OTG wasn't supported. At least not for OTG USB sticks.
So in effect it's rooted without being rooted! Yes, i know, I know, Android rule of thumb; before you accidentally drop your phone, even without planning it, and not being a seer, enable USB debugging for no apparent reason! It all makes sense now.
I've spent the last two weeks reading forums all over the place, blogs and watching videos about how to recover data with a broken screen. And in almost all cases they tell you to enable USB debugging. Well that's nice advice and about as useful as advising someone with a broken toilet to sit down, do their business and then flush it! And is met with equally crappy commentary pointing the conundrum out.
My computer has Windows (Vista) and Linux (Mint 64). I read all about ADB and installed this on both Windows and Linux. And tried to talk to it that way with adb and fastboot which failed. I then read of Samsung devices being different, with a download mode, and using this Odin or Heimdall program. So I could "see" the process I tested with my new phone (a J5 Prime as it happens) and learned I needed to use download mode and how to enter it on boot. Recovery mode didn't work as expected. Heimdall was the only program that would work. I managed to view the PIT on my J5. Odin did see my phone but I found the interface harder to work with at first.
I tried on my Core. Blindly got it into download mode. Heimdall could see it. But the transport was buggy as I kept getting USB errors. I ended up removing it then compiling Heimdall v1.4.2 from source. This worked better, even though it was giving empty bulk transfer warnings, but it managed to download the PIT file. So at this point I can blindly get my Core into download mode and am able to communicate with it using Heimdall.
This is where I am at. I would prefer it if a screen mirroring app could be installed that would load up and activate remotely when a client run on my computer is loaded up. I don't care if it is VNC or how it connects. But it would need to load itself up on the phone and work without needing intervention on the phone and without USB debugging. If there is an emergency mirroring app on the Play store or even an APK that can be installed remotely, using AirDroid or any other means, I would be happy to test it. I'd write one myself if knew how to write an app! LOL.
If USB debugging could be enabled by any remote means then I am welcome to hear how. It opens a window to possibility. But a window that is hard to open if it's locked.
So I would prefer to keep this at the app level if possible. Since apps can help. But if need be as long as it doesn't destroy data I am willing to install a custom recovery image. It looks like I will need to do this as I have exhausted all other possibilities. At least, when I read of the latest broken screen mirroring app, there is always a catch of it needing debugging or activating on the phone.
Although there is support for other Core Prime variants, support for my specific G360G model seems to be lacking. The information I read looks vague at best. I read about CWM and TWRP. But on the TWRP site, although there is Core Prime images, nothing is listed for exactly a G360G. There is no point to me flashing TWRP recover image only to find it doesn't work and I have bricked recovery mode. I'd look like a right twerp!
So guys, after all the info I have given you, what's the next step? Thanks.
Okay so just an update here. I have some good news and bad news on my part. I've been hacking around with customising recovery and modifying compatible recovery images in order to get debugging activated.
The good news is I got USB debugging enabled. The bad news is my computer is unauthorised.
I'm stuck at this point. I updated the adb_keys file with what was on my computer and it won't budge. I finally get somewhere and now I've once again hit a wall. This is just so annoying. :-x
The final countdown. After months of cracking and hacking I've broken in! I modded my hack to create the needed folder just to be sure and updated my RSA key. Applied the firmware patch and let it reboot. Even while booting I knew something was different. The digitizer started responding to my touch and making water noises. Which was strange as I never noticed it doing that before.
I issued an adb command and it was accepted. I could then browse around the system. I already had screen mirroring software installed and all it needed was USB debugging working and suddenly it worked. This was a blessing as I found that trying to do other things like going into a root shell or do an adb backup caused a requester to come up on screen. Had I not been able to satisfy that on a virtual screen I would have run into the same trap of circles I had just climbed out of. Having a rooted phone with no root access.
I was then able to install a backup app and extract the data out. Hooray! I had actually installed it from Google Play site remotely but found there was no space for it and it had failed. But the account said it was installed. With a view to a mobile I could then remove another app and install it from Play on the phone itself. Given how well this worked once I learned what was needed to be done I suppose I should make up a guide. An automated script to create an ADB patch wouldn't go far astray.

Categories

Resources