[SOLVED] Android: Restore from a backup without recovery?.
Linux - MobileThis forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a G1 htc dream (european variant = rogers 32a), and I'm slowly losing out. The thing is on CM-6.0, it never had enough memory, and eventually crashed it's way into a mess, and I'm pondering the next move.
What works: All phone features, root terminal, fastboot (r2d2s on skateboards), some programs. I can read/write the sdcards independently. I even have access with the old version of adb. It boots, & reboots.
I have a nandroid backup from late last year on the sdcard, which would do very nicely thank you if I could get it installed.
What doesn't work:
1. Recovery Mode(?) turn-on-with-home-pressed. I can't get off the (opening) blue screen. Remove the battery to restart.
2. /etc/fstab & /etc/mtab are no longer there :-/. /proc/mounts is. I don't know what else is missing, but it implies some essential daemon is awol. Amazingly it writes to the sdcard :-//.
3. Market - It says "starting download....." but it doesn't:-(
4. Memory control. I can start with a bit free, but as uptime continues, the memory vanishes, and anything you open crashes.
I did try renaming CM-6.0 to update.zip and trying 'fastboot update' but that barfed over some text file not being in the zip.I'm no android freak
Can I manually restore that last nandroid backup? I have the image files (md5s, boot, cache, data, misc, recovery, & system). Or can I somehow install nandroid-2.0 from adb? I never uninstalled nandroid, but don't ask me where it went to. Too many crashes, I guess
Ok. Not out of the woods, but I've made some progress. The obstacle is: recovery isn't mounted. In /dev/block
mtdblock3 is mounted on /system
mtdblock4 is mounted on /cache
mtdblock5 is mounted on /system/xbin
There is mtdblock 0-5. Where the $£%@! is recovery supposed to be mounted? what about the other ones? anyone got an /etc/fstab from a G1??
The trick is going to be:
1. mount all partitions -remount,rw (because adb isn't doing it for me for some reason).
2. /system/bin/dump_image /somewhere something.img to restore the img files. That's restoring a running system, for which I will get what I deserve.
Nearly there.
With the .img files on my pc I was able to get into fastboot and run
fastboot flash this_partition that.img
and reload system, cache, recovery, & data. Processes baled out on restart, including acore repeatedly. But it did return me the use of recovery mode. So I was able to do the nandroid restore from there, and it happened. Now I'm back to moments after the CM-6.0 install, except that su is no longer working in the terminal. I'm getting
$su
permission denied
$
:-O?
EDIT: I'm a twit. Never think on forum thread. Forgot the fix_permissions script. I sure am rusty on these androids.
Last edited by business_kid; 06-22-2011 at 06:36 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.