Softbrick Recovery with backups available (not img or zip files though) - Android Q&A, Help & Troubleshooting

My details are listed in this thread here- http://forum.xda-developers.com/general/xda-assist/softbrick-recovery-backups-available-t3345505
I have since learned how to get a logcat and dmesg file out into a text.log format. I have put the file up on Google drive, the link is here-
https://drive.google.com/file/d/0B9eV5dTDDCsPZUtSWU14eHBlMms/view?usp=sharing
I am hoping someone can assist with interpreting the log file or provide suggestions on how to convert my backups into a usable format that can be flashed back to the phone thus recovering it to a usable state. Many thanks for your advice!

Related

[Q] Problems With Large (>10,000 Files) data.img Backup. I Can't Get My Data Out!

Hi guys,
I'm at my wit's end with this one.
I have a 1.2GB data.img file created with Clockworkmod Recovery backup. I believe it was one of the older versions, in the 3.x.x.x range. When this was created I had plenty of space available on the SD and the MD5 was created successfully.
I have had no luck restoring this with any version of CWM. Restoring simply results in a system that won't boot; I am presented with either a black screen or a boot-loop. I have since learned that this is because my backup has too many files. Apparently CWM is hard-coded to restore a maximum of 10,000 files and will not restore anything past that point. I found a thread where someone had edited the source code to increase this limit to 50,000, compiled and flashed it, then successfully restored their backup. Aside from the initial editing, I would not know where to start to do this for my phone (SGS2)
Furthermore, I cannot extract the contents with unyaffs.exe for Windows. When I try to do this, it extracts a small portion of files (around 170MB), then exits with the following report :
Code:
read image file
: Bad file descriptor
read image file
: Bad file descriptor
I have since learnt that this is due to NTFS limitations with the length of pathnames. 'No problem' I think, and decide to install Ubuntu 11.10 so that I can use the linux version of unyaffs to extract the full thing without these limitations.
After a bit of messing around, I successfully compile the unyaffs source (I'm no expert in these matters). I then attempt to extract data.img and after a short while processing I get another error! :
Code:
Segmentation fault
Out of interest, I checked how much data had been extracted and got 9,544 items, totalling 204.2 MB. So I'm roughly 1 GB down.
Please help, you might not believe the hours I've spent to get to this stage and I still can't get all of my data back. I need my contacts (Google didn't back them up apparently), messages, app data and anything else I can get my hands on. If there's a better utility I can use for extracting, or perhaps a modified version of CWM I can flash onto my SGS2 so that I can restore the backup properly, I'm all ears.
Look forward to any responses and thanks in advance.
Just to update, I have now tried ext2explore on Windows 7, as well as yaffs2 explorer on Android. Both will open the .img file but display a blank window.

[Q] Stock Recovery with Nandroid possible Edit?

I couldnt find an answer to this question and so i am asking the community for a bit of assistance, i have a tablet and it has a recovery image however when i put it through cwm online builder it fails so i have a few things i am asking.
1. is there anyway i can edit the recovery image to include nandroid backup and restore with ability to flash .zips​
2. if so is there anyway i could receive assistance in doing so or a fairly simple to follow text guide​
Code:
db.tt/T76uFwsB
Its 16 megs too large for the attatchments i belive so i uploaded it to dropbox.
Thank You for taking the time to read this and think about it.

[Q] Can't extract NANDROID backup

I apologize if this question has been asked before; I have done some digging through the forums but I have been unable to find a complete solution/explanation for this problem. Essentially, I cannot copy NANDROID backups created through twrp recovery to my computer. I am using an HTC one AT&T version and a win7 computer. Obviously I have no sd card so I need to copy the backups from the internal storage. I find the backup folder just fine along with the backups I want (upwards of 3gb in size). However, when I try to copy them via USB or network transfer through an android file browser on the phone, only a few mb of files are copied, and no errors are generated. Other forum posts indicate that a simple copy and paste should work. While others indicate some sort of vague copy permissions setting preventing this action. The only solution that I've not tried is using "adb pull". I have no idea how to do that as I have zero experience playing with adb. Before digging into that and trying to figure out how to set up adb and find the relevant commands to do what I want, I would like to know if there is a simpler method of accomplishing copying my NANDROID backups. Any help would be appreciated, sorry if this is a noob question.

[Q] How to Extract data from .Backup file ? - Created with android system recovery

I Backup-ed my Acer tab b1-A71 using android system recovery - Just like CWM.
The file name ends with .Backup, and i wanted to extract some files from it..
How to Extract data from .Backup file ? - Created with android system recovery
looking for the same
reena0307 said:
I Backup-ed my Acer tab b1-A71 using android system recovery - Just like CWM.
The file name ends with .Backup, and i wanted to extract some files from it..
How to Extract data from .Backup file ? - Created with android system recovery
Click to expand...
Click to collapse
me too looking for the same thing ..how to extract from or decompile .backup file which we get thru recovery.
hi loverboyritesh :: i and you are in same position.. but some advaaanced users are here that we are telling rumors and lies.. dont worry bro.. even i'm trying to get solution.. will tel you after geeing one.. Still no one can tell me hoe to extract .BACKUP file..
same
i am looking for how to reinstall .backup myself so i can have my original rom install.
but i have notice my .backup is 700+mb while custom rom is 200+mb
do you know how to?
reena0307 said:
I Backup-ed my Acer tab b1-A71 using android system recovery - Just like CWM.
The file name ends with .Backup, and i wanted to extract some files from it..
How to Extract data from .Backup file ? - Created with android system recovery
Click to expand...
Click to collapse
same here. dunno how to open and extract the files from a .backup file. hoping you know already
siiingkeeet said:
same here. dunno how to open and extract the files from a .backup file. hoping you know already
Click to expand...
Click to collapse
Nope.. Still i'm having that file but no one knew
reena0307 said:
Nope.. Still i'm having that file but no one knew
Click to expand...
Click to collapse
been searching for 5 days now :<
not a single answer found on google and forums
cant even post a new thread yet. just joined
hope someone will drop by this thread
still no solution?
got same problem here
Got a bootloop issue with an ASUS MeMo Pad 7 HD and I've booted in recovery <3e> to make a backup.
I've got a userdata_YYYYMMDD_HHMMSS.backup. I tried opening it with a bunch of tools like unyaffs, abe (Android backup extractor), going live on the file using linux tools (open as 7zip, zip, rar, tar, tar.gz, gz, bz2 , mount as iso, ext4 and so on....)
Still no luck :-/
Only clue is that the file seems compressed. During the backup under recovery, it told me 3600MB to backup and the file userdata_xxxxxxxx_xxxxxx.backup show only 2.61GB
I did this backup 3 time to ensure there were no corruption during the write process from the pad and did again the same "tests" to open the file...Not better.
If any dev' have any clue of the file format, I'd be glad to help
It doesn't seem to be a valid unix img file. Tried mounting it to no avail. When it's restored by the recovery it also extracts the individual files because i fails on one in my case and stops the entire restore... I tried unzipping it, changed extension to ,jar, .tar, .zip, etc., none of them are recognised...amazing for a standard android feature to find so little info about it
Any solution?
I called Alcatel's technical service today and they told me that you can use the backup file only from the phone. Mine gives me the following error when I try to restore it: Error Magic header
If anyone knows how to unpack the backup file I would be more than grateful.
It's a 512 byte header in front of a "tar.gz"
hexdump -C userdata_xxxxxxxx_yyyyyy.backup | less​showed the magical zip header "1f8b0800 00000000" at offset 0x200
So, skipping 512 bytes, the rest can be gunzip | tar
dd if=userdata_xxxxxxxx_yyyyyy.backup bs=512 skip=1 | gunzip -c | tar xv​
Sir ektoric what d u mean on ur post?
Sorry cant understand it..
Can u please d a step by step procedure? Please...pls...plss
Thanks in advance...
Steps?
@ektoric sir im a noob in this... Can u show a step by step procedure?
@killen00 sorry, I assume you have a linux machine (or have access to one). The command is actually all there is to it.
Code:
dd if=userdata_xxxxxxxx_yyyyyy.backup bs=512 skip=1 | gunzip -c | tar xv
If you don't have a linux machine available, might I suggest one of the many distros of your choice, most of which have LiveCDs which you can run without installing.
script for gunzip method
maybe on xda it is common sense, but for me it was necessary to know, that these stock android recovery extracted files can be restored with nandroid custom recovery, if you simply repack them into tar archive.
i put this two command lines in a dirty shell script (extract + repack as tar).
thanks to ektoric figuring out his gunzip method!
edit: notamamasboy's mount method added (but not tested yet). if script not works come back few days later, download again and check version, maybe it has changed meanwhile.
with this you're able to transfer data of non-rooted phone to (rooted) similar one.
this is useful in case touchscreen is broken, you haven't custom recovery installed, usb-debugging is disabled and connecting usb-otg-mouse doesn't work.
tested on my Archos 50 b Oxygen (Mediatek MT6582).
it works for me, feel free to improve, port to busybox and publish. no support. use at own risk.
edit: bckp2cwm.sh is deprecated it is FOR JELLY BEAN ONLY (no selinux support)
a newer (selinux) version bckp2win.sh for TWRP you can find here:
http://forum.xda-developers.com/showthread.php?t=3775129
How did you go about determining the magic number found at 0x200? My hexdump output does not have that magic number (1f 8b) in any instance. Leads me to believe my backup is not a tar file. Any suggestions then?
@notamamasboy, you are unfortunately correct.
Someone else also mentioned that their
Code:
userdata_xxxxxxxx_yyyyyy.backup
file was not of the same format I tried some "known magic headers", and could not find anything tell-tale. In which case, without some clues, you are back at square one.
ektoric said:
@notamamasboy, you are unfortunately correct.
Someone else also mentioned that their
Code:
userdata_xxxxxxxx_yyyyyy.backup
file was not of the same format I tried some "known magic headers", and could not find anything tell-tale. In which case, without some clues, you are back at square one.
Click to expand...
Click to collapse
Even more peculiarly, two backups were created a .backup and a .backup2, I wonder if combining with cat I can get somewhere...

[Q] NOOB, did I brick my nook tablet?

Ok, I rooted my NT using external SD card and was able to toggle between android 2.3.4 and B&N OS. I have been spending days trying to figure out how to upgrade to CM 10.2 (and have been unsuccessful due to endless tutorials posting invalid files). I finally found a tutorial on this forum and there was a part that specifically said to not mess with the drive that my nook was plugged into. Well...too many windows up, too long on forums etc...long story short...I messed with that drive.
So now my NT boots up to the B&N start up screen; but I get a forced restart error and an error message that says that nook root file stopped working. The touch screen doesn't work and I can't do anything but power off.
Is there ANYONE who can help me? I'll be eternally grateful!
You might consider trying this repart.img method described at http://raywaldo.com/2012/06/how-to-un-brick-a-nook-tablet-8gb-or-16gb/.
files won't extract
When I googled feverishly for a solution, I did find that website and tried that method. The problem that I'm having with this entire process is that most of these files are invalid, missing a part or corrupted. I've tried using WinRAR and 7-zip and neither program is able to successfully extract the files; this repart img included. This project of mine has turned into a frustrating debacle!
Thank you for your reply, though!
I'd suggest you burn a pre-made SD CM10.x image from http://iamafanof.wordpress.com/2013...id-4-3-for-nook-tablet-imgsdc-boot-09aug2013/ and see if you can successfully boot and run it.
If that works you can proceed to restore the internal emmc image either by using the repart.img method or by flashing flash_stock_1.4.2.zip from https://github.com/succulent/acclaim_recovery_sdcard. See also http://forum.xda-developers.com/showthread.php?t=2575489 for potential helpful info and pointers.
When I extract files, this is the message I get from most of the files I unzip. I tried the cm10.2 img file and I couldn't extract it. I included a screenshot of the error message I keep getting. I've tried several different unzip programs and it's always the same error.
Bad download? Redownloaded and same error?
aworobec said:
When I extract files, this is the message I get from most of the files I unzip. I tried the cm10.2 img file and I couldn't extract it. I included a screenshot of the error message I keep getting. I've tried several different unzip programs and it's always the same error.
Click to expand...
Click to collapse
Did you try the alternate mirror on Mediafire http://www.mediafire.com/download/bo2qu6v4qo9p6a2/cm_acclaim_10.2.0-RC0_13OCT2013_HD_SDC_IMG.7z?
Also FWIW I use 7-zip archive manager program (www.7-zip.org/download.html‎).

Categories

Resources