Broken screen, need to check texts and missed calls - Nexus 4 Q&A, Help & Troubleshooting

Hi,
My nexus 4 has a broken screen, the touch screen does not work but:
I have an OTG cable
Bootloader is unlocked
Touch recovery is installed
I can connect via ADB HOWEVER when I try su in shell it won't let me because I think I need to accept the SU request on the phone.
My lock screen password is the android 9 dot type password :/
Is there anything I can do? I just really need to see texts and missed calls (and whatsapp messages) I may have had calls and texts from future employers that I have missed.
Thanks

nandrioid
I remember from galaxy nexus toolkit that you could actually make a nandroid backup on your pc.
search for that procedure in nexus 4 forums, i think that's a common function of android. you can make a nandroid backup on ur pc.
after that backup you can put it in other phone and extract that backup using titanium backup. and restore your messages and call logs to other phone

hassi4042 said:
I remember from galaxy nexus toolkit that you could actually make a nandroid backup on your pc.
search for that procedure in nexus 4 forums, i think that's a common function of android. you can make a nandroid backup on ur pc.
after that backup you can put it in other phone and extract that backup using titanium backup. and restore your messages and call logs to other phone
Click to expand...
Click to collapse
Ive tried, i've even tried a nandroid backup through CWM, but can't get a nandroid backup

androidmodd said:
Ive tried, i've even tried a nandroid backup through CWM, but can't get a nandroid backup
Click to expand...
Click to collapse
flash multirom twrp(the only one i used), put phone on recovery mode, connect to pc and type in cmd prompt
adb shell mount /data(may give some error msg, its ok)
adb pull /data c:\backup
and wait till it backups everything.
when it does you can pass to some1(if u have games, u may delete files in c:\backup\data\media\obb to have less size on backup) with nexus 4 or get some database viewer to look the files in c:\backup\data/package.name.that.i.dont.remember
and in c:\backup\data\media\0\some.folder.that.i.dont.remember.

Got a new screen int he end

Related

Flashing a new ROM on rooted Eris and other questions

I know there are tutuorials for this. I found a few and most of them either expect me to fully understand adb shell commands or understand linux, of which I do very little. I have the rooted 2.1 OTA on my Eris currently. I wanted to start trying out other ROMs on the phone. I've done a nandroid backup, but from searching around I read that it doesn't back up apps or user data, to an extent.
1) I get the error message "Run Nandroid +ext via adb!" when trying to backup everything using nandroid + ext. I also get the same message when trying to use a BART backup.
2) What is the difference between the two? (BART and nandroid)
3) What are the adb commands to use these?
4) How can I make a complete "screenshot" of my phone to restore everything back to its current state? Is this what BART/nandroid+ext do? I need to be sure in case I need the phone restored to working status very quickly.
5) Is apps2SD really that useful? I only run like 45 apps.
6) Does overclocking have any downsides? (I know the phone can lock up if you push it too far, so other than this.)
I think that's it. I've softmodded consoles and a few random electronics but phones are a new one. Sorry if half of these have been answered. I haven't been able to find much about this stuff in laymen's terms.
Raikalo said:
I know there are tutuorials for this. I found a few and most of them either expect me to fully understand adb shell commands or understand linux, of which I do very little. I have the rooted 2.1 OTA on my Eris currently. I wanted to start trying out other ROMs on the phone. I've done a nandroid backup, but from searching around I read that it doesn't back up apps or user data, to an extent.
1) I get the error message "Run Nandroid +ext via adb!" when trying to backup everything using nandroid + ext. I also get the same message when trying to use a BART backup.
2) What is the difference between the two? (BART and nandroid)
3) What are the adb commands to use these?
4) How can I make a complete "screenshot" of my phone to restore everything back to its current state? Is this what BART/nandroid+ext do? I need this in case the ROM doesn't work/I screw something up.
5) Is apps2SD really that useful? I only run like 45 apps.
6) Does overclocking have any downsides? (I know the phone can lock up if you push it too far, so other than this.)
I think that's it. I've softmodded consoles and a few random electronics but phones are a new one. Sorry if half of these have been answered. I haven't been able to find much about this stuff in laymen's terms.
Click to expand...
Click to collapse
1) if you get that message on restore 99% of the time that means your battery is low.
2) I have no idea what the difference is, but NAND always works great for me.
3) You would need to flash the parts of a NAND Backup via fastboot (correct me if I'm wrong). It's a pain in the ass for the most part.
4) NAND backup and restore makes a "screenshot". It will turn your phone to exactly how it was when u made the backup (make sure you wipe first though )
5) APP2Sd is only if you feel you need it. I use it, but is not required at all. If you have enough free space that why bother, but if not it's good utility to have available.
6) OC is awesome only downside is battery and that is barely their. You can also bork your phone if you set it to high. Some phones can handle over 710 some cannot. The only way you will know for yourself is if you try!
Go for the aloysius rom if you need a or want a new rom to flash
Awesome, thanks. I'll check that ROM out and see if I can get to flashing after work.
1) This isn't when restoring, it's when I'm trying to actually make a backup. Nandroid works fine, but nandroid +ext and BART both give me errors about adb.
Any other suggestions/answers?
Oh, one more question I forgot.
Code:
adb pull data/app desktop
Was using this to pull apps from my phone to the computer. After I did, I couldn't find them on the computer. I assumed they'd go to the desktop, but apparently I was wrong? Where are they?
Raikalo said:
Awesome, thanks. I'll check that ROM out and see if I can get to flashing after work.
1) This isn't when restoring, it's when I'm trying to actually make a backup. Nandroid works fine, but nandroid +ext and BART both give me errors about adb.
Any other suggestions/answers?
Click to expand...
Click to collapse
You only have to do nandroid without the +ext. You only use ext when you have a partition on your sd card (for running apps2sd). Try a plain ole nandroid. As far as bart goes, I've never heard of anybody using it.
is there a way to name the nandroid backups so you know which one is which when you go to restore? or can you only have one at a time?
duscar said:
is there a way to name the nandroid backups so you know which one is which when you go to restore? or can you only have one at a time?
Click to expand...
Click to collapse
You can have as many as your sd card will hold. They will be in folder on your sd card called "nandroid" and you can rename however you see fit, just make sure you Do Not put any spaces in the name.
rentjr said:
You can have as many as your sd card will hold. They will be in folder on your sd card called "nandroid" and you can rename however you see fit, just make sure you Do Not put any spaces in the name.
Click to expand...
Click to collapse
if i rename them there, does it rename them in the restore menu so i know which is which?
duscar said:
if i rename them there, does it rename them in the restore menu so i know which is which?
Click to expand...
Click to collapse
yes
10char
Okay, if a nandroid backup makes a total system image incl. apps and user data, I should be good to go.
Still wondering about how to pull apks and where they go. Any ideas there? See one of my above posts about it.
Also, I need to backup my ENTIRE SD card before a wipe, right?

[Q] Possible to backup phone through adb or other tool?

I have a rooted phone (CM6.1) and just had the misfortune to drop it. The scree didn't shatter, but when I turn on the display, the only thing I can see is a bunch of vertical lines.
I tried calling myself, and can answer the call by swiping my finger across the "Accept" (Call).
I want to know if anyone knows if I can do a full backup of my phone using adb or another tool. Anyone have a suggestion?
Tl;dr: I can't access my phone through the screen and need to do a full backup via USB. How?
Well, you can pull anything you want via ADB, but here's something that might be even more useful:
adb reboot recovery (to get into recovery). After it's in recovery, go into adb shell and run:
nandroid-mobile.sh backup
Hands free nandroid!
nandroid-mobile.sh --help will list out all available options if you want. A couple that might be of interest:
- Include -e and -a if you want it to capture your ext (if applicable) and .android_secure folders on your SD.
- Since you'll be using this on a new device, you don't want to restore the wimax partition. Therefore, you could exclude it from the backup with -nowimax.
Also, I'm not sure what kind of issues you can have with a nandroid restore from another device. But maybe you can restore it to the new device, use Titanium to backup what you need, and then wipe and restore with Titanium. Or maybe it's just fine to restore the nandroid. Haven't needed to try yet.
Thank you so much!

Google Apps for Android 2.3.6 or pushing /data via ADB

Edit: The old title was "Google Apps for Android 2.3.6 ROMOW 4.1 ROM"
Hi everyone
I was running the great ROMOW 4.1 ROM on my Note and (I don't know what hit me) mistakenly flashed the google apps 6 for ICS (I didn't know the ICS bit at the time of flashing). In order to fix this I flashed the updated ROMOW 5.1 ROM and immediately ran into more trouble. After flashing, the system boots nicely but then hangs in a google account setup error loop. My last backup is from mid of december and I now wonder whether I could simply flash the correct google apps version on top of the mess in order to get back to normal?
Doing a factory reset also solves the issue but then all my Xmas SMS as well as other data from my last backup till today will be gone.
Before doing the factory reset I took a CWM backup of the faulty system which worked perfectly.
Thanks a lot for any suggestions and have a great year!
suxi
Sms backup + In the market backs up urn sms to gmail. Titanium backup does you apps and settings that about covers it I think?
Jr
Sent from the HD2's closest replacement, the Samsung Galaxy Note
Thanks for your answer. Unfortunately as I am stuck in a fatal error setup loop the only things I can do is boot into recovery and work from there or restore an old backup, trying to recover my settings and data from the CWM backup of the faulty system which I took before factory resetting the phone.
Does anyone know how I could retrieve my SMSs and call logs as well as my sMemo drawings from the CWM Backup of the faulty system as these are the crucial things I would like to recover. I have a many hours worth of sMemo drawings and restoring the sMemo user data with Titanium Backup didn't recover them. I don't understand why sMemo doesn't store the drawings on the sdcard and why Titanium didn't backup those. The same goes for SMSs, shouldn't those also be backed up by Titanium?
Again, thanks a lot for your help and for any short explanations of the above!
suxi
OK, this is a great way to learn about android
I learned that I can unzip the CWM backup data.ext4.tar from my faulty system and push certain user data back to a fresh system using ADB.
I am after my SMemo drawings and my SMS Messages. I think the sMemo files for example could be here:
com.sec.android.widgetapp.diotek.smemo
If I push those files/directories in recovery mode with adb to my /data/data directory everything seems fine. I can list them in an ADB shell but after a reboot they are gone.
Do I have a permission issue here?
adb root says I am running adb as root
I also tried adb remount before pushing with no success.
I really appreciate any help!
Thanks a lot
suxi
Nearly there!
I flashed a new custom ROM, booted into recovery mode and mounted the /data directory (before I forgot to do that and couldn't push any data in recover mode because of that).
I extracted the following directories from my faulty system backup and pushed them with adb to the fresh phone:
/data/data/com.android.providers.telephony
/data/data/com.sec.android.provider.logsprovider
After this all my SMS and Calllog Databases were restored.
Now I just need to find the necessary sMemo Databases. I found this one so far:
com.sec.android.widgetapp.diotek.smemo
But pushing this only brings back the document and pile structure with empty documents in sMemo.
Does anyone know where the missing documents are?
Thanks a lot and have a great weekend
suxi
jamieross said:
Sms backup + In the market backs up urn sms to gmail. Titanium backup does you apps and settings that about covers it I think?
Jr
Sent from the HD2's closest replacement, the Samsung Galaxy Note
Click to expand...
Click to collapse
Totally agree with your footer. This is the closest replacement for my loved and over flashed now dead hd2!
Sent from my GT-N7000 using XDA App
https://market.android.com/details?id=com.handyandy.appextractor
This handy app can restore your sms and Apps from CWM. So feel free to flash again any ROM and then use the app to extract your SMS
Good luck
Sent from my GT-N7000 using xda premium
Thank you, that app sounds perfect. Have you tried it? I tried to recover some system Apps and it frequently performs a quick restart in the middle of it, so I guess the remaining Apps had not been restored.
Unfortunately it also doesn't recover my precious sMemo drawings. Does anyone have an idea where in the data directory those are stored?
Best wishes
suxi

[Q] Broken Screen: Nandroid without ADB / No access to CWM backups

Hello everyone, I'm desperately seeking for your help and hope you can give me some advice. So far, I could not relate to any of the similar topics and I'm not sure how to continue.
Problem:
The display of my Nexus 4 is broken and I want to make a nandroid backup before sending it in for repair. The screen still works but the touch function won't. Thus, I am unable to fully start the device since I cannot unlock the phone. My Nexus was rooted with the Nexus 4 Toolkit and runs on CM10. CWM is installed. Operation system of my computer: Win 7 64bit
Privious attemps:
As far as I experienced it, I'm not able to use ADB as I cannot completely start my phone due to the security pattern that I can't bypass since I have no touch function. At least the Toolkit tells me so, that ADB is not possible. Furthermore, it does not allow a backup via fastboot. Hence, I entered recovery mode and did a full backup with CWM, which is supposed to be saved in the folder CWM/backup. However, when accessing my phone via usb, there is not such a subfolder in CWM and I cannot get the backup file on my computer. The file is definitely there, since I can choose it within the restore options of CWM.
Any hints for me? Ist there a possibility for a nandroid backup without ADB? or Can I somehow access the folders of CWM where the backup is saved and transfer it via usb? or Else?
Thanks!!!!!!!!!!
Try looking for a folder called clockworkmod and search there it should be in a sub folder labeled backups. Also you can try screencast, I've only heard of it never used it but is supposed view your phone on pc Like a virtual decice
Sent from my SGH-T959V using xda app-developers app
adb should work in recovery.
use the command
adb pull /sdcard/
sexun said:
Hence, I entered recovery mode and did a full backup with CWM, which is supposed to be saved in the folder CWM/backup.
Click to expand...
Click to collapse
Backups are saved in /data/media/clockworkmod/backup
I've always used /mnt/shell/emulated/clockworkmod/

ADB backup help

Sadly i do not have enough storage on my Nexus 4 for a backup anymore so im trying to do a adb backup but when i do it, it doesnt work
This is the command I use.
adb backup all c:\backup
it then says to unlock the device and confirm it as i do. it then say backup started, then immediatly after finished but there is no backup.
the co0kie said:
Sadly i do not have enough storage on my Nexus 4 for a backup anymore so im trying to do a adb backup but when i do it, it doesnt work
This is the command I use.
adb backup all c:\backup
it then says to unlock the device and confirm it as i do. it then say backup started, then immediatly after finished but there is no backup.
Click to expand...
Click to collapse
Try this thread here: http://forum.xda-developers.com/showthread.php?t=1420351
The bottom of the original post is a command which I use regularly, it does the trick but the entire post is helpful.
Thanks.
the co0kie said:
Sadly i do not have enough storage on my Nexus 4 for a backup anymore so im trying to do a adb backup but when i do it, it doesnt work
Click to expand...
Click to collapse
How did you go?

Categories

Resources