yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] be_vigilant:
Hi

I have done a nandroid backup using 1.8.1.7. I take it that I dont have stock recovery anymore to send as its been overwritten by the clockworkmod 1.8.1.7?

Would you still have what you need if I uploaded the boot image from the

UK Unlocked Direct from Dell BB-00 4399?

----

SD Card space free: 1418MB

Backing up boot...

Backing up recovery...

Backing up system...

Backing up data...

Backing up cache...

No sd-ext found. Skipping backup of sd-ext

Generating md5 sum...

Backup Complete!

----

Thanks
[Streak 5 Android Development] pvlagsma:
I installed both recovery.img and recovery.alt.img

on an O2 streak and Dell UK Streak.

Running build 6941 2.1

In all cases nandroid backup hangs on data.img.

5242880 2010-08-16 10:22 boot.img

6291456 2010-08-16 10:22 recovery.img

146300352 2010-08-16 10:23 system.img

2112 2010-08-16 10:23 data.img

(data.img is always 2112, it should be much larger.)
[Streak 5 Android Development] MSigler:
Same, and same rom
[Streak 5 Android Development] fards:
Ive just noticed that stock recovery has been restored without me changing anything

how very odd, the 2.5.x was on there yesterday, after a reboot I went to use it this morning and its gone back to stock.. :eek:
[Streak 5 Android Development] kwaaq:
Mentioned that a couple of days ago. No doubt using the recovery backup partition to 'fix' the recovery. Someone could flash that partition as well I guess but probably wouldn't work since flashing the data from that backup straight into recovery resulted in a non-booting recovery for me.
[Streak 5 Android Development] maxrfon:
Whatever i do - Black screen.

Any more suggestions?

Btw, the black screen is kind of recovery mode. If you run the fastboot it flashes the recovery again.

O2 locked.

21

3883

Update: how to pack recovery to image file?

I managed to uncompress my recovery, but how can i pack it back?
[Streak 5 Android Development] TheUnlockr:
Ok, so the recovery attached to the above quoted post in this thread is the only one that will flash on my screwed up Streak. I can boot into it just fine, unfortunately when doing a Nandroid restore to try to save the phone, it fails at Restoring DATADATA (which makes sense since there is no DATADATA). Can someone either fix this recovery image so it doesn't fail there or is there another way I can restore a backup on the phone?

PS: The only recovery that will flash seems to be Clockworkmod 2.5.0.1, ALL others will not flash including stock recovery...
[Streak 5 Android Development] mistadman:
@dcogen

You should be able to flash the data.img manually by running the command:

fastboot -i 0x413c flash userdata data.img

You will need to run this from your PC and you will have to pull the data.img file to your PC from the SD card as well. Good luck!
[Streak 5 Android Development] moneytoo:
Hope this helps. ;)
[Streak 5 Android Development] kertong:
Tried 2.5.0.1, 2.5.0.1 alternate, mistadman's version, all flashed via fastboot succesfully.

All 3 versions show up with the black screen when trying to find an update.zip.

Koush, it would be nice if you could make older versions accessible for download as well.

US austin mile beta dell streak, baseband 00, android 1.6, stock, etc.
[Streak 5 Android Development] Charles::
Ok, I can't seem to get this to work. I'm running Ubuntu 10.04.

I have the SDK installed.

I have Fastboot in my tools folder.

When I put the phone in Fastboot, hook it up, run the command "sudo ./fastboot flash recovery recovery.img" all I get it "waiting for device"

Ideas?
[Streak 5 Android Development] Charles::
So I gave up in Ububtu and went back to Windows.

Flashed all three img's via fastboot, everything looked good, but when I chose option 2, black/blank screen.

US locked Streak 6601
[Streak 5 Android Development] mistadman:
Ubuntu isn't the problem...

@Charles

First off, Ubuntu isn't your problem. If you are running the exact command you mentioned in your earlier post:

sudo ./fastboot flash recovery recovery.img

then the issue is the command you are using. It's incorrect and you should be using:

sudo ./fastboot flash -i 0x413c recovery recovery.img

You didn't specify the vendor ID (0x4131). Also, "sudo" should be required when running this command.

Secondly, I believe there is an issue with the clockworkmod recovery on the 31/us devices. Pressing certain button on the device while using the clockworkmod recovery will blank the screen :-( . All of the buttons are pretty much useless. However, all is not lost though. Using the Android Debug Bridge (adb) command, you should be able to use command line to accomplish what you need.

Hope this helps!!
[Streak 5 Android Development] Charles::
Actually, it doesn't, but that's not your fault. ;) This is my first Android phone, so I'm not 100% on how things work. Are you saying I can use adb to get into the ClockworkMod menu?

Basically, I'm trying to flash to 2.1 and from what I can tell, this step is needed.
[Streak 5 Android Development] lufc:
@ Adam

Mate any chance you could add a How to !! to the first post like what commands you have to put in before you type "fastboot flash recovery recovery.img" you know a step by step to help others that are having a problem not understanding how to do it Thanks Andrew :)
[Streak 5 Android Development] mistadman:
LOL! Not a problem.

If you are trying to flash to 2.1, then there is no need to use the adb commands.

I found the best instruction for getting to 2.1 here: http://www.streaksmart.com/2010/08/how-to-get-android-21-on-the-att-dell-streak.html#more

As quoted on the site, here is a high level overview of what you need to do:

1) Root the AT&T Streak

2) Flash the UK/O2 ROM (build 4399)

3) Apply the Android 2.1 update (build 6941)

If you have the clockworkmod recovery installed, the you have competed step one and all you should need to do is flash the 4399 UK/O2 ROM and then update to 2.1 (build 6941).

Reply to this forum if you have any more questions. But remember to read, read, read... There are plenty of discussions about this very topic. Good luck!!
[Streak 5 Android Development] Charles::
Yeah, I've been trying to read, but it seems the AT&T US versions always have problems. I'll get there eventually. Thanks for the help!

Oh, the other reason I wanted to get this working is cause I was assuming I needed it if I wanted to create a backup image of my current ROM in case I needed to go back to it later, but I guess given that there are stock 1.6 AT&T ROMS floating around, I don't really need to be worried about that.
[Streak 5 Android Development] mistadman:
Actually, you may want to backup your current ROM first. I haven't seen any stock US/ 1.6 ROMs floating around yet. If you know of a location, please let me know. The only 1.6 ROM I have seen is the UK version.

With that said, backing up your 1.6 ROM should be a be pretty easy. While in the clockworkmod recovery, adb to your device by connecting your phone to the USB port and typing:

adb shell

(Make sure you have application debugging enabled on your phone)

Once you enter the command prompt type:

nandroid backup

You should see a bunch of filename scroll across the screen. You should come up to a point where you start see a bunch of garbage. At that point press "crtl + c". If you don't, the command will loop forever (must be a bug due to the clockworkmod not bieng %100 compatible). Once the command completes, your sdcard will have a new folder named: clockworkmod that will contain your backed up ROM.

I hope THIS helps some! LOL!!
[Streak 5 Android Development] Charles::
I've already tried that and no dice.

I think I flashed ClockworkMod. I used the last recovery.img that you posted. I went into Fastboot and executed the flash command. The phone said the recovery was flashed, so I restarted. I held down the vol up/down and powered on, but once I selected option 2, blank screen. Now, I think you said that shouldn't matter that technically, that meant I was in recovery mode?? So then I tried what you stated above and got an error when I ran adb shell.

This is what I typed and what error I got:

Microsoft Windows [Version 6.0.6001]

Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Charles>cd c:\android-sdk-windows\tools

c:\android-sdk-windows\tools>adb shell

error: protocol fault (status 46 41 49 4c?!)

c:\android-sdk-windows\tools>
[Streak 5 Android Development] mistadman:
Sounds like you're on the right track. And you are correct, the black screen shouldn't have any affect with running the adb command. Your problem has to due with Winblows.
[Streak 5 Android Development] Charles::
So, no ideas?
[Streak 5 Android Development] mistadman:
What version of Windows are you running?

64bit or 32bit?

What version of the Android SDK do you have?

Last but not least, what is the exact error message you are receiving?

Let see if we can figure out whats going on...
[Streak 5 Android Development] Charles::
Vista

32 bit

I dl'd the sdk version from the Android source, then I took the adb file from the Dell PC suite and pasted it to the Android Tools folder.

The error msg is what I pasted.
[Streak 5 Android Development] fone_fanatic:
I should be getting my US At&t dell streak this coming wednesday and i've been searching forever how to create a backup and this is the closest i've seen. Since i don't have my device yet i've been reading up a lot. This will be my first android device and currently have about 25+ tabs of stuff i need to read (adb guides, java, linux, etc).

In the mean time, do you mind making a step by step for idiots guide? You don't have to because I'm sure when i get the device this post and everything i've been reading will make a lot more sense.

Thanks everyone and i look forward to contributing a lot when i finally get my device!!
[Streak 5 Android Development] mistadman:
Hey @Charles, one last question:

Please run the command:

adb version

and paste the output. Thanks!

@fone_fanatic

I am glad you found my post to be helpful!

I am not sure I can do better than what has been already written. However, I am willing to assist you as much as you need. Please see the link I posted above (http://www.streaksmart.com/2010/08/how-to-get-android-21-on-the-att-dell-streak.html#more), and let us know what you are having trouble understanding.

...Oh, and welcome to the Streak family!
[Streak 5 Android Development] fone_fanatic:
Don't worry about it, basically figuring everything out from reading. Bear in mind that i'm an android NOOB been using winmo for the last 7 years! When i get my device i'll try to remember what i didn't know and help you clarify it for other beginners like myself :D

oh also your streaksmart link isn't working :/
[Streak 5 Android Development] mistadman:
Link repaired! Thanks!
[Streak 5 Android Development] Charles::
Just wanted to verify this is via a cmd prompt while my phone is hooked up and after I press option 2 of the recovery mode (vol up/down and power)
[Streak 5 Android Development] johnnobts:
Ok, I seem to be stuck. I have the ClockworkMod recovery installed on my 1.6 US Streak but have not been able to backup using nandroid. wondering what I'm doing wrong? How exactly do I enter into CM Recovery mode? I go into recovery the normal way (both volume buttons and power), then select 2, i get a blank screen, and run ADB shell but get a device not detected... any tips? also, my android driver is set at bootloader, not composite.
[Streak 5 Android Development] fone_fanatic:
I've read that guide to update to 2.1 but it has nothing pertaining to backing up the stock OS, unless i missed something.

Coming from winmo there was a way with all the devices to restore stock spl and rom. If i put clockword recovery it overwrites the stock recovery correct? is there anyway to back it up?

Should be getting my device on wednesday and just want to help everyone out seeing as how there is yet to be a backup of the ATT rom and would like to have it as a backup incase something goes wrong.
[Streak 5 Android Development] fone_fanatic:
ok guys finally got my streak and been setting up my mac the past 2 hours (have barely played with the device).

Got adb and fastboot on to the .bash_profile so i can use them in any directory.

i tried fastboot flash recovery recovery.img and it says <waiting for device>

and if i do fastboot devices i get nothing... adb devices works though.

what do i do?

-------UPDATE----

device wasn't in fastboot mode hehe

now for another question (which i think i asked in an earlier post) how to backup the stock recovery before i flash this one?
[Streak 5 Android Development] fone_fanatic:
I rooted my streak using universal androot and browsed to the /dev/mtd/ directory using root explorer and no files :/

when i do the command above in adb shell it tells me permission denied...

update

nvm.. used Astro explorer and got it. Do u only need mtd1? theres a bunch of mtd#s

update 1

ok now its giving me a java.io.filenotfoundexception: /dev/mtd/mtd1 in astro

update 2

I tried it 3 times, once before rooting, once afterwards, and once after reseting the device.. i zipped them and attached them.. on my computer each file is ZERO kb..

hope they're what you need.

update 3 :D

used "su" before doing "cat /mtd...." and working now :D

mtd1 is 6mb.. is that good? backing up all the other ones... mtd6 is 260mb!

update 4

so i backed all the mtd* files as mtd#.dump and mounted my sd card and they're all gone :/ oh well, attached is mtd1 as recovery.dump (thats all you need right?)
[Streak 5 Android Development] moneytoo:
fone_fanatic:

I already posted 00 recovery here: http://xdaforums.com/showthread.php?t=754563&page=5#45
[Streak 5 Android Development] fone_fanatic:
:eek: didn't notice that..

also i wanted the stock recovery for the at&t roms before i flash CM recovery, (which i can finally do now!)

then its to backing up the At&t 6601 rom..

---update--

i tried to flash recovery.img recovery.alt.img and recovery.clockwordmod.img and non are working... still the stock one after pulling the battery and booting the device while holding both volume buttons, anyone else got it to work on a At&t streak?

--update--

FINALLY i got 1.8.1.7 to work.

i tried adb shell but i got the following error

$ adb shell
~ # nandroid backup
/sbin/sh: nandroid: not found

so i tried using nandroid-> backup in the recovery and it says the following

SD Card space free: 14073MB
Backing up boot...
Backing up recovery...
Backing up system...
Backing up data...
Backing up cache...
No sd-ext found. Skipping backup of sd-ext.
Generating md5 sum...

Backup complete!

and finally on my sd card i have /Clockworkmod/backup/2010-08-26.12.57.02 and in that folder the following files

-boot.img

-cache.img

-data.img

-nandroid.md5

-recovery.img

-system.img

now how do i turn those into a useful stock At&t backup rom?
[Streak 5 Android Development] mistadman:
You don't.

To restore the images, you use the fastboot command:

fastboot -i 0x413c flash boot boot.img

fastboot -i 0x413c flash system system.img

fastboot -i 0x413c flash cache cache.img

fastboot -i 0x413c flash userdata userdata.img

fastboot -i 0x413c flash recovery recovery.img

Oh, and don't forget to zip up the boot.img, system.img and recovery.img, and post a download link for those of us that don't have the original 6601 build as a backup. Its the least you could do for all of the loving support we have given :-D
[Streak 5 Android Development] airbillion:
Could you zip these files up and upload them somewhere please? I upgraded to the leaked 2.1 build and did not make a backup of the stock us att image. I would love to have a backup of the stock image for warranty or if the us froyo update requires the us rom.
[Streak 5 Android Development] johnnobts:
ditto, would love to have the 6601 files if needed.
[Streak 5 Android Development] fone_fanatic:
Don't worry guys I backed up athe rom with the intent of sharing it because I couldn't find a backup online and wanted to have one before I flashed 2.1

I know how to restore via nandroid and fastboot (btw you forgot the"flash" option after the device id :P), I just wanted to know how to repackage the img's so I could test it and then share them as an update.pkg

But I think I figured out how to do it and will upload it within 24 hours (currently away from home and my gf wouldnt let me bring my laptop :/ )

So sit right guys and stay tuned ;)
[Streak 5 Android Development] faf:
I tried this and it seems stop (as in disconnect from adb and return to the c prompt) when I press ctrl+c

The problem seems to when it hits the lost+found directory within /data.

Does anyone know whether it is safe to clear the contents of that directory?

Will clearing the dalvik cache clear this too?

Normal commands to rm it or mv it to the sd card dont seem to work.

+++

I just tried to use root explorer to delete the lost+found directory but that doesnt seem to have worked.

Here's a sample of the text from the terminal

+++++++++

find: /data/lost+found/?+?K?f?¦?ƒ?A?É?*?-?õ?¦?À?
Too many open files
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/mailstore.dummy@gmail.c
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/com.google.android.provid
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/unlinked: Too many open f
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/deleted: Too many open fi
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/mailstore.dummy@gmail.c
es
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/com.google.android.provid
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/: Too many open files
find: /data/lost+found/obj: Too many open files
********¦?: Too many open files
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/mailstore.dummy@gmail.c
es
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/: Too many open files
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/mailstore.dummy@gmail.c
es
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/mat 3: Too many open file
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/?Ï?-?¦?Ü?ê?u?\: Too many
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/?+?K?f?¦?ƒ?A?É?*?-?õ?¦?À?
Too many open files
find: /data/lost+found/obj: Too many open files
find: /data/lost+found/mailstore.dummy@gmail.c
find: /data/lost+found/obj: Too many open files

++++++++++

ps: i changed my email handle to dummy
[Streak 5 Android Development] fone_fanatic:
ok guys, wanted to flash what i pulled up to test it before i posted it and now its just hanging on the dell logo :/

$ ls
boot.img data.img recovery.img
cache.img nandroid.md5 system.img
$ fastboot -i 0x413c flash boot boot.img
sending 'boot' (5120 KB)... OKAY
writing 'boot'... OKAY
$ fastboot -i 0x413c flash system system.img
sending 'system' (124717 KB)... OKAY
writing 'system'... OKAY
$ fastboot -i 0x413c flash recovery recovery.img
sending 'recovery' (6144 KB)... OKAY
writing 'recovery'... OKAY
$

I took out the battery, went into recovery mode and factory reset, it boots up, shows dell logo, then reboots and now stuck at dell logo.

Ideas?

do i have to flash cache and data as well?

Let me try to clear the dalvik cache and see what happens

can't connect to adb so no clearing the dalvik.

Just tried again and flashed boot system cache data and recovery.. still no go

----------update---

how can you be sure fastboot has flashed the recovery image?

the reason i ask is i just tried several clockwordmod images and none seem to work although i know 1.8.1.7 worked before, but last time i had to flash the stock 02 4399 recovery then 1.8.1.7.

I tried to do that but would boot to my regular recovery image, i know this because the lights on the home and menu button aren't going crazy as they do with the 02 4399 image.

Well right now i flashed my backed up recovery, system, cache, boot and data via fastboot and when i reboot the device it got stuck at the dell logo again but this time the home and menu buttons lights were going all crazy (which is what happens with the 02 4399 recovery image). so now i know that i've got the 4399 recovery.img i flashed clockwordmod's 1.8.1.7 and curren't doing a nandroid restore.

now that i've done the nandroid restore and reset, home and menu lights still going crazy... wtf

Now i get the dell logo, but this time US dell boot animation, then back to dell logo, device reset on its own, dell logo, dell boot animation, now dell logo and BOOM back to US 1.6 finally!

now that i know the backup is good i'll share them but my lights are going crazy.. OEM version is back to 31 but basband is stiall at 21 :confused: i think thats whats causing the lights on the home keys to act up... well its back to 2.1 for me
[Streak 5 Android Development] Radddogg:
Am I being retarded?

I've tried recovery.img, recovery.alt.img and recovery.clockworkmod.img, they all write fine and the device says done but when I reboot into recovery I get the standard recovery. Am I misreading something? I'm on a stock o2 streak rooted with Universal Androot.
[Streak 5 Android Development] fone_fanatic:
select "2. Software upgrade via Update.pkd on SD Card" and it will go into the clockwork recovery... its ok, its not clearly written.
[Streak 5 Android Development] Radddogg:
This just reinstalled the stock rom that was on my SD card
[Streak 5 Android Development] fone_fanatic:
Then you haven't flashed clockworkmod correctly. If you do it properly, when you select the second option it will take you to the clockworkmod recovery
[Streak 5 Android Development] Radddogg:
Can't post a link to photobucket so please see the attached jpeg

The device says DONE! also.

Is there anyway I can get these results without doing it properly?
[Streak 5 Android Development] Radddogg:
Randomly it just went into clockworkmod recovery after failing to do so last time.:confused:
[Streak 5 Android Development] Bohemian:
I have the same root problems. I have standard recovery even though it says it flashed it, I have superuser, terminal on phone lets me into su just fine, nandroid backup says it doesn't have permissions, and clockworkmod tries to reboot into recovery but just reboots. Selecting "2. Software upgrade via Update.pkd on SD Card" only tells me I need an update.pkd no other menus.

Model; Dell Streak

Firmware; 1.6

Baseband; GAUSB1A111231-US

Kernel; 2.6.9-perf

OEM; GAUSB1A111231

Build; 6601
[Streak 5 Android Development] fone_fanatic:
I've noticed that it is a bit tempermental.. i'll try to flash clockworkmod and it won't flash it. SO i gave up on it and decided to flash the uk 4399 recovery and then when i went to recovery it was on clockworkmod :confused:

So now what i do is flash is erase the recovery via fastboot then flash the recovery i want 2-3 times, but still doesn't work all the time

to erase the recovery

fastboot -i 0x413c erase recovery
[Streak 5 Android Development] fone_fanatic:
fastboot is a bit finnicky on my system, guess others are experiencing the same thing as well, read my post above and also google and find 1.8.1.7 version of clockworkmod (i think its over at modaco) that one works for me.
[Streak 5 Android Development] enne91:
i have too many problems with win 7 and damn drivers, i have a friend with a mac, can someone provides command for mac?

Thanx in advance
[Streak 5 Android Development] geek78:
Hi

Is there someone who could explain how repack a recovery.img with à dump made with the cat cmd ?

Thanks
[Streak 5 Android Development] punkrckriot:
anybody else getting "E: cant find MISC:" when recovery is loaded?
[Streak 5 Android Development] smokku:
Which build is this?
[Streak 5 Android Development] smokku:
There is no need to repack. Just fastboot flash (or cat) it back.
[Streak 5 Android Development] n0906:
sorry guys i looked over... but i guess only me having trouble with the command prompt. i stuck on <waiting for device>. and yes my screen shows FASTBOOT_MODE... wonder y.... can some one plz help me?

im using US version.... fresh from box