Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a Nexus S (2.3.3, GRI54/I9023, bootloader unlocked, clockworkmod recovery installed, rooted) and I'm trying to flash it with a stock system.img that I built myself (no modifications - yet).

To make the stock Android build, I followed the instructions for making a build found at http://source.android.com/source/download.html. The build was successful and the system does work when run on the emulator.

To flash the ROM, I connect the phone, boot with Volume up + Power, connect USB and type

fastboot flash system system.img

The response that is shown on the phone is

Invalid magic code 0x00000003

What does this mean? What's wrong?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

I believe you need the stock recovery, based on http://2chnull.info/r/smartphone/1292830738/801-900. You can get back to stock recovery easily, for example follow this thread: http://forum.xda-developers.com/showthread.php?t=884093

share|improve this answer
    
So with an unlocked bootloader and the stock recovery image I should be able to flash ROMs signed with the default test keys that are included in the public Android repository? –  TomA Apr 4 '11 at 8:38
    
Also, the nandroid backup rom linked in the xda forum is marked GRH78 - could that be a problem for my GRI54? It took me a while to find a custom rom that would work. –  TomA Apr 4 '11 at 8:46
    
Yes, unlocked bootloader + stock recovery should allow you to flash those ROMs. I would also assume GRI54 would work just as well as GRH78. –  Matthew Read Apr 4 '11 at 13:09
    
Ok, I'll give it a shot. Thanks. –  TomA Apr 4 '11 at 14:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.