Phone won't rotate to landscape view! Failed 902 nandroid restore - Motorola Droid Bionic

Bionic 902 Eclipse 2.2.
New problem this morning, phone won't sense landscape rotation. Nothing will rotate to landscape, not the launcher, browser or messaging... It's like the tilt sensor is broken... Any help out there?
Thanks.
Edit: So I figured I'd go ahead and make a nandroid backup and restore my stock 902 nandroid. Well I am getting the following error:
"Error while restoring /system!"
I did the normal factory reset, wipe cache, format /system and dalvik... Up untill now I've avoided using rsd lite to restore my phone. Hope it doesn't come to that. Any suggestions?

I have restored nandroid backups numerous times before. Not sure why I'm having a problem this time...

So since I couldn't restore my stock 902 nandroid, I did a fresh install of Eclipse 2.2 from my sd card.
Got landscape rotation working again... but weird that I can't restore my 902 nandroid. I'll need to do this eventually to grab the next system updates...

Did you rename it or move it?
Since your on 902 already, you could just moto-fastboot the system.img.

Okay, so apparently the "OTA Rootkeeper" app places a write protected file within the /system directory... I had to delete the "su backup" from within this app. This allowed me to restore my 902 stock nandroid. (or any other nandroid for that matter, they all failed before I deleted the "su backup")

Related

Nandroid Restore - applications missing/half there

Hi guys,
I wanted to check out android 2.1 flan, so I installed the rom after making a nandroid backup.
It was fun to check out, but in order to load it I had to wipe my phone and my cache.
After restoring my nandroid, all the applications I had installed but wiped with the cache are acting funny. Basically they still show up in manage applications, but they really arent there, and if I try to reinstall them through market it doesnt let me click install OR uninstall as both are greyed out.
Basically, I will have to wait for all my applications to get "updates" before I can use them again.
Is there a way to clean up these ghost programs... without doing a complete wipe (and loosing text messages and other things)?
I didnt think Nandroid did application backups (what you are seeing are in the ext3 partition)
You need Switchrom or BART to do full backups including apps
I may be (and no dount will be) wrong though.
sjbayer3 said:
Hi guys,
I wanted to check out android 2.1 flan, so I installed the rom after making a nandroid backup.
It was fun to check out, but in order to load it I had to wipe my phone and my cache.
After restoring my nandroid, all the applications I had installed but wiped with the cache are acting funny. Basically they still show up in manage applications, but they really arent there, and if I try to reinstall them through market it doesnt let me click install OR uninstall as both are greyed out.
Basically, I will have to wait for all my applications to get "updates" before I can use them again.
Is there a way to clean up these ghost programs... without doing a complete wipe (and loosing text messages and other things)?
Click to expand...
Click to collapse
As mentioned above, nandroid *does not* back up your external apps. It will ONLY backup your *INTERNAL* storage.
If you make a clean restore of your nandroid backup and then run the fix_permissions script from recovery, it *might* be able to fix (some/most of) your external apps. Might try that.
If it doesn't work, then it is a tedious business of reinstalling each application individually and then restoring *ITS* home directory. Either that or a total wipe (internal and external).
The problem is that the database file that keeps track of which apps you have installed/removed is out of sync with the apps that you have installed.
I am uncertain how to fix this (I have the same problem myself).
If you perform a factory wipe, you'll lose that database entirely. All your apps will be installed, but your phone will think that none of them are.
UPDATE:
OK...apparently this is a more widespread issue impacting people running the stock/OEM ROMs as well as those of us with rooted phones.
Read up on this thread:
http://www.google.com/support/forum/p/Android+Market/thread?tid=096ef069db2788e9&hl=en
I followed the suggestion near the bottom of the page and copied over the /data/data/com.andriod.vending/databases/assets.db to a new filename (basically I renamed it).
I then launched the market app and then it would let me install (reinstall) the missing apps.
Then I ran into a problem. I deleted the new assets.db that was created and copied the old one (the one I renamed) back to assets.db.
Then the market app would force close. I noticed the UID of the assets.db file was wrong.
I ran the fix_permissions script from RA's recovery image. This fixed the UID problem, including the assets.db file. But now the market app only shows the apps that I've paid for......none of the others that I have installed.
Not sure what's going on there. It may sort itself out within 24 hours.

[Q] Any Way to Recover from a Nandroid Backup that is Partly Corrupted?

Hi guys!
I'm running Doc_Kalpik's V7.5 and I had a bad run in while trying to manually install MiniSquadron which I paid for yet have been getting download unsuccessful errors no matter what I do! But that's another story...
After I installed it, I got a force close...then I got force closes everywhere else so I decided to reboot. And I discover that once I get to the boot animation portion, I get several vibrations (the same as the force close vibration pattern) at this point and eventually the screen turns black while still doing the vibration thing..I press the home button and the backlight keys just light up nothing else. So I go into recovery to attempt to fix.
I decided to reflash the ROM via CWM so I disabled my lagfix first, then did a reboot into recovery. From there I chose to backup and restore and after all that I still run into the same problem at the boot animation.
I try to manually backup via CWM and then factory reset then restore via CWM and there I run into an error saying that no .android_secure blah was not found so it skips the restore of that. I again run into the same probem at boot.
I try to do an advance restore to just restore my data. Still the same error, and the same problem at boot.
I am only able to boot with no issues after a factory reset with no restore meaning all data is lost...So I was wondering is there any way to just restore some parts from the nandroid backup like messages and such...I would assume that the problem is with my apps that had been on sd...which were actually none at all except the manual installation of MiniSquadron I guess. I don't care for the data of the other apps, I just need my messages. I did have a titanium backup but it isn't very recent since I did not expect this problem to occur.
Any help is much appreciated!
I dont have specific information on restoration of messages because I have not yet looked into it - but I was able to recover a few files from a nandroid backup using unyaffs which extracts the content of the nandroid img files. Maybe you can extract the sms file ( /data/data/com.android.providers.telephony/databases/mmssms.db) from data.img and push it using adb shell.
In future, I'd suggest SMS backup app from the market - it backs up and restores into your gmail account.
Ohhh! I'll check out the img files later when I get home. I was afraid of looking into them expecting hard to discern, indescript file names I don't know how to make use of. But that file you pointed out seems obvious enough. I hope it's somehow usable without the full backup. Perhaps a simple move with Root Explorer app would work too? I'm not all too familiar with using adb commands...
Yes I have that app but I don't use it often for backup and restore jobs since I tried several times in the past to restore from backup and always seem to be missing more recent messages.
Thanks for the advice though! I'll report success/failure soon.
I don't seem to have anything inside my com.providers.telephony folder when I extracted data.img...Any ideas?
nvm! Found it in dbdata.img... will update this if this works.
Yes - a simple move with Root Explorer should work too.
It doesn't seem to work... No messages show up even after several retries with reboots I tried opening up the file within root explorer since it has sqlite viewer and it gives me an error..I forgot exactly what but it doesn't let me look within the database unlike if I try doing the same with the original mmssms.db file currently on my phone. I tried sqlite viewer on pc and when I attempt to open the file nothing shows up. Any work around to this? Is it possible for even this file to be corrupt in the backup...that's kinda devastating news..any way to repair this?

[Q] nandroid restore incomplete?

i decided to try upgrading from 2.1 to 2.2 on my Hero...of course, I did a nandroid backup first. The 2.2 worked great - the only problem was I hadn't updated my contacts in Google for a while so I was missing some people. So I figured I'd restore my nandroid of 2.1 and get what I needed. I did a backup of 2.2 first and tried to restore 2.1. It said it worked, but it freezes on the boot screen and I can't get anywhere. I've tried clearing factory settings and dalvik (which tells me to run it in adb for some reason) and tried about 15 times to restore and everytime it freezes at the boot screen. Sooooo...I figured I'd just restore 2.2 again and deal with a loss of some people. But, the nandroid restore did not save any of my settings, texts, phone log, etc. When it boots up it gives me a welcome screen and has me set up from scratch. Did I get a bad backup? Is there something I can do to fix this? Thanks for any help you can provide
how big are the nandroid folders on your sdcard?
Size wise, and the contents in them
the 2.1 backup is 298 MB - 7 files (boot, cache, data, misc, nandroid.md5, recovery, and system). the 2.2 backup is 152 MB - same 7 files (it's half the size, but I did have around 100 MB more free space than before)
What recovery are you using? If you're using amon_ra, I've had froyo nandroid issues with 1.6.2 and lower. Problems disappeared after I started using 1.7.0.
i'm using the old 1.5.2 version. i never had a problem before tho. i did read in the forums that the old versions have some problems, so i did try updating to 1.7 but whether i do it in the adb command or terminal emulator, it says the file is not found. but it is there on my SD card and i AM typing the file name right.
The file path is case sensitive, did you make sure of that?
If you can't do it through terminal, you can use this very nice program... Android Commander
http://forum.xda-developers.com/showthread.php?t=628138
and there is a gui for flashing a new recovery, in addition to many other things, so you will never have that "file not found" error!

[Fixed] Screwed up motorola.blur.providers.contacts

Tried to view one of my contacts and got a FC on Contacts Storage (motorola.blur.providers.contacts). Do not know whether this has ever worked. Have had this Bionic for a couple days and froze a bunch of Motorola ****. The list isn't very long and I can provide that if necessary, but I'm just assuming this is what has caused my Contacts issue.
On to the actual issue, I uninstalled Contacts Storage (using Titanium Backup) and was going to reinstall it from the backup, but TB just hangs.
Tried all three different "App Processing modes" in TB and it hangs on restore regardless of this setting.
Extracted the apk out of Titanium Backup folder and tried to run it manually and it won't go (using ES File Explorer, mounted System as R/W).
Tried moving it to /system/app/ and running it (still mounted R/W) and it fails.
Will restoring ONLY "System" fix my problem and not delete all my other data that I've been busy setting up? Is there even a way to restore only System, using that FXZ?
If I can just chill and not worry about it until they come out with Clockworkmod Recovery, how do I make a flashable zip with just Contacts Storage in it?
Edit: Tried installing with adb and it fails with Failure [INSTALL_FAILED_DEXOPT]. I see other apps in the /system/app folder have .odex files with them. Am I just missing this one for the contacts (did it get removed by TB?)?
Edit: Got the .odex file from here and it still fails trying to install via Root Explorer.
Edit: Installation via adb with NO switches fails with Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
Installation via adb with /l switch to Forward Lock it fails with Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
That Forward Lock one was a little past my point of not knowing what the hell I'm doing, so I will just chill and wait for a response. Thanks!
Edit: FXZ'd back to stock, installed CWM Recovery, backed up, restored Data only from the damaged instance via CWM Recovery, wiped cache. Everything is great and I didn't lose any data! Just had to get a fresh /system/ in there...

[Q] Is it possible to extract sms/call logs off of a Safestrap backup?

I performed a back up of my daily driver rom using Safestrap and then using TiBu I backed up my call logs/sms and etc. I then FXZ'd and updated to the latest OTA. I stupidly forgot to put my TiBu folder onto my SDCard before I FXZ'd, and the FXZ wiped my phone clean..including my TiBu folder. Now I've lost the number of this really cute girl I've been talking to (who I stupidly never saved as a contact!) along with a bunch of important text messages.
I still have the SafeStrap backup..but it's useless now because it's running on GB and I now have JB.
I have found a few apps, including TiBu that enable you to (1 click) automatically extract SMS/Call Logs/Apps and etc off of a CWM or TWRP Nandroid backup, but they don't seem to work for Safestrap backups. The only app that seems to allow me to access Safestrap backups is "Nandroid Browser" by Paradise Android. However, Nandroid Browser has no automated step to extract SMS/Call logs and etc. I don't even know where to start looking for where these are stored.
Does anyone have any ideas? I will be forever indebted to you!
Yes! Ran into a similar problem once upon a time.
You can use Titanium backup! Go into prefs, and you can use "Extract from Nandroid backup" option. Be careful though - I have heard of people running into issues due to cross-compatibility issues, can't recall the thread atm, but if you are restoring data only, rather than a whole app, you should be fine.
The rooting method for JB has already been posted (uber thanx to to Dan and SamuriHL) if you need that.
http://www.droidrzr.com/index.php/topic/16518-root-motoshare-2-old-bug-new-exploit/

Categories

Resources