yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] Techvir:
the issue is with the recovery gettting overwritten everytime u boot with the stock recovery

You can prevent the overwrite of the recovery by renaming the file install-recovery.sh to something else. It's in /system/etc. I just added.bak to the file name.
[Streak 5 Android Development] I.Chaos:
Thanks for the response. I checked system/etc but could not find the file. Any other way around it?
[Streak 5 Android Development] Techvir:
u will have that file.

If u r using root explorer make sure ur hidden files are visible.
[Streak 5 Android Development] minimember:
Successful Nandroid Backup.....Finally!!!

For those of you hanging at 'fastboot' this is how I solved the issue on my 2.2.2

1. Originally using SM-Recovery 0.3.2.6 and switched to SM-Recovery 0.3.2

2. Wipe Cache Partition

3. Wipe Dalvik Cache

4. Nandroid Full Backup

Give it a try and hopefully it works for you. Special thanks to mistadman and everyone on the forum. Good reading and awesome recovery tool.
[Streak 5 Android Development] rsfinsrq:
351 still hangs at firstboot using SMR 0.3.2. Will try it on 345.
[Streak 5 Android Development] rsfinsrq:
345 backup complete using SMR 0.3.2! Tried 351 again and still hangs on firstboot. I flashed 351 over 347 using SWM 0.3.2.6 and updated dsp1 and amss. The pkg wouldn't update, just hung on Dell logo. Maybe has something to do with nandroid not completing?
[Streak 5 Android Development] zy05009:
That's what I'm talking about!
[Streak 5 Android Development] minimember:
Sorry to hear of your troubles. I'm on 351 and those steps worked for me. Not sure if it matters but sync cable was not connected to phone.
[Streak 5 Android Development] tritran18518:
i'll try. thank.
[Streak 5 Android Development] Strephon Alkhalikoi:
Nandroid froze at fastboot on 351 regardless of the version of Streakmod Recovery I used and despite wiping the cache partition and the Dalvik cache. Are there any alternatives that are as effective as Nandroid for backing up the system partition?
[Streak 5 Android Development] carhigh:
Id like to know too. I just backed up on the main set and transfered it to the others SD card and trying to restore it doesnt even see the sd card.

I need an easier way to reset my phone and reinstall a backup without needing a pc. Its happened to me before where i got stuck so now i keep the update.pkg on the SD just in case i ever have to reset.

I just tried resetting 351 from the privacy page and it stuck on the dell logo. I havent tried resetting in recovery yet, but i suspect that wont work either.

Ive tried titanium to restore everything in the past but that made all of my stuff force close. Havent tried it in a while to see if it works now
[Streak 5 Android Development] Strephon Alkhalikoi:
I did back up my stuff using SuperManager, but it's only apps and data. I haven't installed Titanium yet, but I fear it's the best I'm going to get. From appearances it seems this fork of Clockworkmod has been abandoned.

Anyone try the latest Clockworkmod (3.0.0.5) yet?
[Streak 5 Android Development] :
Seem like it might be hanging up on backing up firstboot..... its like 85% and not moving? 2.2 347, 00

I tried the clearing cache stuff and will see what that gets me... ? where is the backup created?

thanks

edit: still hangs up, i tried the beta and deleted cache partition and cleared dalvik cache and still hangs up??

2.2.2 347,00 US
[Streak 5 Android Development] :
i left it over night and it must have finished the recovery screen was back and all it said was cache error, recovery log or something?
[Streak 5 Android Development] :
Seriously need to figure out this firstboot bug!! this is becoming a pain all i want is a backup so i can move on to a custom ROM... Anyone have a work around or solution by now? Whats the error: cache recovery.img i got after i let it run overnight? And how can i check to see if i got a usable backup (what files )
[Streak 5 Android Development] carhigh:
Dont bother with titanium. I just went back to 318 from 351 and tried backing up again just to see. Threw the backup on the second set and every restore force closes. Im left reinstalling everything manual. Totaly sux !! The great days of using titanium on the old hd2 are missed
[Streak 5 Android Development] Strephon Alkhalikoi:
Occasionally I try Titanium Backup, but I find myself not liking it. The big thing I don't like, and this is likely due to me being spoiled with nandroid, is that instead of compiling all the backup files into one package, Titanium Backup leaves them all in the directory. Needless to say, I did try Titanium Backup, didn't like how it does backups, and went back to SuperManager.

Clockwordmod force closes on my Streak, and Streakmod can't complete a nandroid backup. The lack of a properly functioning nandroid-capable recovery image is major pain in the ass.
[Streak 5 Android Development] :
Since im finding that i cant use nadroid can i make a bootable/ flashable recovery using titanium or supermanager?
[Streak 5 Android Development] quazimojo:
From everything i have read neither Titanium nor Supermanager will do the job.

Somehow its just a matter of getting lucky with Streakmod 3.2/Nandroid .
[Streak 5 Android Development] :
Which .img files will be in backup folder if successful? On your one good nandroid backup which images did stteakmod make?
[Streak 5 Android Development] quazimojo:
.android_secure

boot

cache

data

firstboot

recovery

system
[Streak 5 Android Development] vanemburghj:
Am on BB 351 and running 1.9.0 with Streakmod and just did a Nandroid backup with no problem.
[Streak 5 Android Development] :
Lucky you, wish I could say the same on bb 347
[Streak 5 Android Development] :
Ok so looks like a guy over on modaco got a good nadroid of his stock 347 here is the link to the thread.

http://android.modaco.com/content/d...-2-official-347-build-15274-nandroid-backkup/

My question is this since my streak hangs on firstboot everytimg, i have to reboot but in rom_backup i have these .img files

boot, cache, data, recovery, system.

The .img files in his backup are boot, system, firstboot, and nadroid.md5.

So is it possible to combine my data and cache images with his to have a backup my the stock 2.2 with my apps and some of the stuff i did to mystreak? or no?

Either way this is awesome that he uploaded his backup now i can try streakmod 1.9
[Streak 5 Android Development] quazimojo:
I dont believe you can mix and match because Nandroid does a MD5 hash check.
[Streak 5 Android Development] vanemburghj:
Not sure what you mean by mix and match.

Pictures have BB, Streakmod version, Showing Nandroid complete and Nandroid backup with today's date (2 May 11).
[Streak 5 Android Development] quazimojo:
I dont think anyone questioned whether they believe you or not making backups ?. I made a single successful backup on 347 but was only able to do it once .

He asked if he could mix and match files between 2 different backups which is highly doubtful because of the hash check and what Nandroid is looking for at the time of restore.

The program double checks essentially that what you started with in that backup is what its going to restore to your system so you dont brick it .
[Streak 5 Android Development] quazimojo:
What i mean and what he wants to do is to take say an .img from one Nandroid backup folder and place it in another essentially frankenstiening(word) a firmware together .
[Streak 5 Android Development] vanemburghj:
So I understand he (and you) do not have good Nandroid Img so you want mine to place in you Nandroid file and try to use it restore or give you a new/updated/replace baseline?
[Streak 5 Android Development] Strephon Alkhalikoi:
This error seems to only happen to people using the stock ROM. This isn't the first time this error has happened. See here.

What is different internally between Streakdroid and the stock ROM that prevents Streakmod from working properly?
[Streak 5 Android Development] quazimojo:
Nope i was sucessful 1 time in making a 347 backup but he never had any luck at all..

I could not share the single backup i made because it had personal data already in it .

He found a 347 backup now so i think he is good but he was looking to mix and match some parts of his back up with the one he found elsewhere ..
[Streak 5 Android Development] vanemburghj:
Correct me if I am wrong, although I am able to complete a backup I could not give you my img, because your copy of Nandroid will basically compatabilty check it (md5) accross all the files. Once it discovers img and system (for example) are differnet it will halt the recovery.

Not being able to write code, how hard/time would it take to write the md5 to allow 347 and above to mix and match?
[Streak 5 Android Development] :
I dont have to mix parts its just the guy only posted the , system and boot images of his backup leaving out data, cache, recovery thats why i was asking but me and a few others asked him to included all the necessary files.
[Streak 5 Android Development] donchen:
For this to work, I need to have Update.zip to be on my SDCard?
[Streak 5 Android Development] :
Nope :-)
[Streak 5 Android Development] brunswick000:
I just updated to BB351, and then applied the official 351 update.pkg to see what it was like.

I now have attempted to flash StreakMod Recovery 2x, but whenever I attempt to boot into recovery I just get the stock recovery??

Anyone possibly give a reason for this?
[Streak 5 Android Development] eSZee:
Streakmod is meant for custom roms. Official roms revert to the stock recovery upon boot, from what I read. Or maybe you're just doing something wrong. I think I had it working but right after flashing you have to bout straight to recovery. Not sure.

Posted with StreakZilla, using XDA App.
[Streak 5 Android Development] Strephon Alkhalikoi:
The recovery image is overwritten by the system when you do a full boot. In order to stop that, e.g. to install Superuser, you need to hold down the volume up and down keys immediately after flashing the recovery image so when the Streak reboots after the flash it will immediately go into the recovery image. From there you can do what you need to, then reboot the system completely. However, the recovery image will continue to be overwritten unless you take steps to stop the process.

If you want to keep Streakmod Recovery on the phone even after booting, you'll have to install it twice, but in between the two installs rename \system\etc\install-recovery.sh to \system\etc\install-recovery.sh.bak using a file manager that has read/write access to the system. Renaming this file stops the recovery image from being overwritten.
[Streak 5 Android Development] brunswick000:
Mmmmm k. I dont really know where too find the file you're talking about there. But I would guess tbat I could use the text editor within RootExplorer? If that is, you are talking about altering this within the android system?

Edit: I found the file with RootExplorer but I need root access to use the text editor. Sooooo, I guess simply holding down the volume keys before rebooting from fastboot after flashing the new recovery will do it based on what ive been told here?
[Streak 5 Android Development] Strephon Alkhalikoi:
That's right.
[Streak 5 Android Development] philverb:
Error while backing up /firstboot - using StreakDroid 2.0

############################################################

Description

############################################################

It seems like the number of orphans in 'lost+found' on the yaffs2 mount for /firstboot make the 'find' command complain "too many open files" when executing 'find /firstboot/lost\+found\ | wc -l > /tmp/dircount'.

Killing that command allows the backup job to proceed to the md5sum generation, but that fails with the same error.

Someone is unnecessarily leaving open file descriptors, perhaps?

############################################################

Versions

############################################################

StreakMod Version = v0.3.2.6 beta

_____________________________

Android Version: 2.3.3

Baseband Version: GAUSB1A131800-US

Kernel version: 2.6.35.7-perf ; cmbuild@qthbuildpc-14 #2

Build number: StreakDroid
[Streak 5 Android Development] fards:
dunno if mistadaman is still around to work on this,

what happens if you delete the contents of the firstboot/lost&found first ?

have you had a look at his gitweb for the source?

if you can see a fix it may be worth rebuilding it
[Streak 5 Android Development] philverb:
Deleting from /firstboot/lost+found does not work during in-progress nandroid backup.

Deleting from /firstboot/lost+found does not work during in-progress nandroid backup.

The content of that directory is a number of directories with the identical name 'obj'. Any attempt to delete with 'rm' evokes the error with (IIRC) 'cross-linked filesystem'.
[Streak 5 Android Development] philverb:
I created an issue at https://github.com/mistadman/Dell-Streak-Recovery/issues/1 .
[Streak 5 Android Development] Strephon Alkhalikoi:
Potential fix here. The poster doesn't have enough posts to get into the development forum or he would have posted here.
[Streak 5 Android Development] fards:
here's Warrens Post
[Streak 5 Android Development] DoctorW:
I'm close to building the patched StreakMod Recovery here. I have both AOSP and CyanogenMod repositories. I've set up the build environment on Ubuntu Linux. I've placed the StreakMod code into the bootable/ folder. I've done lunch full-eng, and I can make recovery-full. It dies with missing libbusybox.a and the yaffs2 libraries.

Neither of these exist in AOSP, so I've rsynced them in from CyanogenMod. The libbusybox.a and yaffs2 libraries now build, and the make recovery-full gets down to the final link stage when it dies. Apparently, libbusybox.a is looking for symbols such as getsid and swapoff amongst others.

mistadman told me previously that he was using AOSP to build the recovery. I've also tried building StreakMod Recovery under CyanogenMod, but there are some missing C header files.

Anybody have any ideas? Thanks, Warren
[Streak 5 Android Development] DoctorW:
It's working

OK, I've edited the busybox code to remove references to things like getsid; not exactly a good solution, but enough for now. I've worked out how to unpack the recovery.img, insert the new recovery binary, and rebuild the image.

First time around, there was a small issue with my patch which caused it to fail. The find command has to look like this in the code:

sprintf(tmp, "find %s -print -path %slost+found -prune | wc -l > /tmp/dircount", directory, directory);

where my original guess was %s/lost+found. Anyway, with that fixed, the nandroid backup now runs to completion on my Streak, which has heaps of junk in /firstboot/lost+found.

I'm not going to give out the working recovery.img until mistadman gets back from the US public holiday and builds it properly. My changes to busybox are of the sticky tape and sealing wax variety, so it would be better to get the patch done properly.

Cheers, Warren
[Streak 5 Android Development] DoctorW:
Now that I've got a backup, how do I verify the contents? I'm sure I can hand-check the MD5s, but how to inspect the contents?
[Streak 5 Android Development] mistadman:
Great job DoctorW! Thanks for stepping up to help resolve this issue. I look forward to applying your fix and getting this long over due bug squashed. I hope to have this fix in the hands of all the Streakmod users soon.
[Streak 5 Android Development] TheManii:
Could you make it so the menus display by default?

I've had many, many users get confused upon installing streakmod because they menus arnt visible initially and get confused thinking they installed it incorrectly.
[Streak 5 Android Development] mistadman:
Not sure about Windows, but if you are running Linux, it's a pretty trivial task to mount or extract the images produced using the unyaffs tool. Is this what you are trying to accoumplish? If so, I will post some instruction in this thread.
[Streak 5 Android Development] mistadman:
If there is enough interest with your request, this could be done.
[Streak 5 Android Development] DoctorW:
Excellent. unyaffs unpacked the cache, data, firstboot and system images, and unpack-bootimg.pl was able to unpack the boot and recovery images. So, it looks like a good backup.
[Streak 5 Android Development] DoctorW:
Damn, damn, I bricked my Streak when flashing the dsp1.mbn for SD 1.9.0. XP sees it as a device which QDLtool doesn't recognise. Any ideas on how to fix it? Thx, Warren

Edit: Thank goodness for the web, I found what I needed to fix the problem here.
[Streak 5 Android Development] RedBull1985:
Another unlucky one here stuck on the 'Backing Up firstboot' option.....2.2.2 with BB 351.

Hope this gets solved sometime soon.:o
[Streak 5 Android Development] sturmavik:
Also think this would be a good idea.
[Streak 5 Android Development] fards:
or even a "PRESS THE POWER BUTTON AND CHOOSE OPTION 2" would be good...
[Streak 5 Android Development] mistadman:
New update posted

Ok, gang!

A new update has been posted: v0.3.2.7-DoctorWFix. Let me know your experience. I am unable to verify due to the fact I do not directly own the Dell Streak anymore, but I will work--with help from this community--to ensure it performs the functions that are essential to what most users expect from a recovery.

Also, if any one is interested helping me to manage this project, please contact me. I have received a lot of suggestions of the last few months, and would like to see some of them implemented.

Of course, DoctorW will be my first choice if he so graciously accepts this assignment! :-)
[Streak 5 Android Development] :
Just got past backing up firstboot on 339...looks like all is good with the latest recovery!

Edit: full nandroid successful on 339
[Streak 5 Android Development] Krad:
gonna try 354 and report back.

running now.. appears to be working.. :-)

screw titanium backup..it sucks
[Streak 5 Android Development] krazman325:
Full nandroid BU working on streakdroid 1.9.0 with engineered BB for gingerstreak 2.0.0. Haven't tried restore yet.

Nice work mistadman and DoctorW!

kraz
[Streak 5 Android Development] Krad:
Full backup with zero errors on 354

Awesome

Sent from my Dell Streak
[Streak 5 Android Development] fards:
great job guys

I vote Warren gets the maintainers job! :D
[Streak 5 Android Development] DoctorW:
mistadman is going to give me access to the git repository, and initially I'll help out with the testing and learning my way around the code. Eventually, once I'm familiar with it all I will take over maintenance.
[Streak 5 Android Development] philverb:
[SOLVED] Unsuccessful attempt to install new recovery file.

This was *user error* on my part, having omitted the common-sensical step of un-zipping the installation file to derive 'recovery.img'. I am sorry for having broadcast my error, but hope that it does some good for everyone concerned, so that perhaps my end-user mistake helps someone else to avoid doing the same thing. I am writing now to confirm a successful installation of the recovery,img file and the successful completion of a run of 'nandroid' backup --Confirmed, with great thanks, and my re-emphasized apology for having contributed noise to the current flow of this thread. I performed a factory reset and then restored the resultant backup; I have been able to reboot into the resultant environment and place a telephone call.

I have just tried three times to flash the freshly posted streakmod recovery file 'recovery-v0.3.2.7-DoctorWFix.zip', which I have downloaded from twice (from http://xdaforums.com/attachment.php?attachmentid=612646&d=1306881352) to ensure successful file transfer. The command run as the root user in the connected OS completes completes, yielding in the console:

# fastboot -i 0x413c flash recovery ./recovery-v0.3.2.7-DoctorWFix.zip
sending 'recovery' (3654 KB)... OKAY
writing 'recovery'... OKAY
#
# md5sum recovery-v0.3.2.7-DoctorWFix*
af33688b1d2efcb26401a46da2f046be ./recovery-v0.3.2.7-DoctorWFix (1).zip
af33688b1d2efcb26401a46da2f046be ./recovery-v0.3.2.7-DoctorWFix.zip

The command completes, and returns control to the shell.

On the white screen of the device being in FASTBOOT mode, the output reads only

FASTBOOT MODE
Start writing RECOVERY

...without a new line or any evidence of resolution. So, there is no indication from the screen of the Streak that the flash installation of this recovery image has succeeded, even though the fastboot utility appears from the connected shell session to complete its task.

But the recovery image appears thereafter not to be installed. The resultant state is that rebooting the streak into recovery displays the Streakmod recovery version "v0.3.2.6-beta", which is what was already installed and running. In that state, the nandroid backup fails as previously reported.

For sanity's sake, I verified that another fastboot command -namely

fastboot -i 0x413c reboot

completes with success (restarts the Streak) in the same session from which the recovery flash-ing fails to complete successfully.

I don't know how to troubleshoot this issue. Any help would be greatly appreciated.

The notable installation context is:

Dell Streak
---------------------------------------------
DT Version = y3.748
Modem Version = GAUSB1A131800
HW version = DVT2_BAND125
Gauge version = 0x130
Touch version = V990
OS version = GAUSB1A134700
_________________________
Recovery: StreakMod Version = v0.3.2.6 beta
_____________________________
Android Version: 2.3.3
Baseband Version: GAUSB1A131800-US
Kernel version: 2.6.35.7-perf ; cmbuild@qthbuildpc-14 #2
[Streak 5 Android Development] philverb:
Output during the restoration of /firstboot is curious, and related to the bugfix:

txtevent_data@1306769124682.txtevent_data@1306873536737.txtsyncstats.binstatus.
binaccounts.xmlpending.binaccounts.db-shmaccounts.db-walaccounts.
dbregistered_servicesuiderrors.txtusagestatsusage-20110527usage-20110530usage-
20110529usage-20110528usage-20110531usage-20110601entropy.datsqlitebootlost+
foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+
foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+
foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+
foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+
foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+
foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+
foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+foundlost+
foundlost+foundlost+foundlost+foundlost+foundlost+foundend of image
Restoring data...
rm: can't remove '.' or '..'
rm: can't remove '.' or '..'
[Streak 5 Android Development] Newcron:
Full Nandroid backup is now working on my stock 340.

Thank you mistadman and DoctorW!
[Streak 5 Android Development] Strephon Alkhalikoi:
Finally, stock ROM users can do nandroid backups without jumping through hoops and employing workarounds! I have successfully backed up 351, and thus I am pleased. Only thing I have to decide now is whether I want to create a "clean" backup image or not.
[Streak 5 Android Development] geo.samuel:
Nandroid Backup Successfull on BB 351

Hi guys Just had a successful backup and restored as well the same to check and report the functionality of the fix.

:D WORKED FLAWLESS!!:D

Stock 2.2.2

351

Thanks a lot people!! You guys did it!!

regards

GZsammy
[Streak 5 Android Development] marvin02:
I can confirm that backup and restore worked with version recovery-v0.3.2.7-DoctorWFix.zip. I did a full backup and full restore.

Stock Android 2.2.2, 351 baseband, build # 15609, Streak purchased unlocked direct from Dell.
[Streak 5 Android Development] thaithai:
Hi there, I am new to either android or Dell streak. Currently I am with recovery-v0.3.2.6-beta how to switch to recovery-v0.3.2.7-DoctorWFix?
[Streak 5 Android Development] Strephon Alkhalikoi:
Use the same process you used to get 0.3.2.6 on your Streak in the first place. The new one will overwrite the old one.
[Streak 5 Android Development] thaithai:
To do so, do I need to reinstall superuser and other stuffs again?