invalid magic code 0x0000003 while trying to write system.img - Android Software/Hacking General [Developers Only]

I've compiled Android and tried to flash system.img to my phone (British Nexus S i9020) and although Fastboot reports that it sends the data across OK, the write fails with a red line of text in the bootloader: "Invalid magic code 0x03"
I've tried a different system.img and I get the same error. Though, I tried flashing a radio image across and that worked fine, I flashed the old one back as well too.
I've not found much when searching, instead something suggesting that I need stock Android, well, I am on stock, with a manual upgrade from 2.3.1 to 2.3.2, 2.3.3, and finally 2.3.4, so, I'm stumped.
Has anyone experienced this before? Could you give me any clues or pointers on what it could be please?
Thanks

bumping because i'm really frustrated.

I just had this problem, i couldn't flash anything through fastboot
i tried searching for how to copy files from recovery or bootrom couldn't find a thing
but i just found it so i thought i'd research this thread and ler u know what i did
i flahed the clockwork recovery which is the only thing that worked
i went into mounts
and mounted USB storage
copied my nexus S clockwork recovery backup (available online) and restored and my phone is working agian
hope yours will too
let me know if u need help, i'll try but i am afraid i am a noob just like u

Related

[Q] (Q) NS3G - All partitions formated and cannot boot phone

Let me start off by saying that this is the worst experience I have ever had with a cell phone manufacturer.
I got the OTA update 2.3.6 and went with the install. I looked it up online and there was no information on it so I went ahead and installed it. After the install I had no cell service. This issue has been well documented but not before I tried to fix it.
So I tried to roll the update back to 2.3.4 and it seemed to be successful however the radio still did not work.
I was told by a Samsung rep that if I unlocked it, rooted it, and formatted ALL of the folders including the data, system, boot, cashe, and the entire sdcard then flashing a stock ROM would re-install everything including the radio files.
Well now all I have is a brick and I am stuck. I'm using CM5 as the recovery so I'm not completely dead. When I boot the phone up it says "no boot or recovery img" but I can select recovery and CM5 comes up.
I'm asking where to start... I want to get back to stock everything and lock it back up if my radio will not work so I can send it in for repairs. I think I'm screwed but I'm sure if anyone could fix it it must be on this developers site. I can't find documentation on it online and I know it must be out there because I can't be the only dumbarse to do this.
Respectfully,
Mike C.
Phone: Nexus S 3G AT&T
Perhaps you can mount the phone as storage, copy a rom over then flash it.
Fear not. Get everything you need here:
http://forum.xda-developers.com/showthread.php?t=878786
You need to be in the tools folder. The command you need is
fastboot flash recovery recovery.img
Get a recovery.img from the development section. I personally prefer Team Win Recovery Project (TWRP) Make sure you rename it to recovery.img if it has a different filename/or change the command above.
Once you have recovery on your phone you can access USB mode to copy a ROM to your phone, then flash it.
Since there will be no need to return your phone, no need for stock! So take your pick from what's available. I personally think brainmaster's MIUI is amazing.
Sent from the future to put right what once went wrong.
Sorry, assumed you know stuff about using commands. If you're unfamiliar with the command prompt, PM me.
Sent from the future to put right what once went wrong.
Also, if you get it all sorted but find you still get no signal, that can be resolved by flashing the right radio for your phone. Read the radio section in the development section. It's easy. If you still experience problems, let me know.
Sent from the future to put right what once went wrong.

[Q] HTC One S(ville) black screen, thats it... just a black screen, what can i do???

I was working fine, enjoying my new HTC One S with CM9 rom installed. Well the battery life wasnt the best on it, and i didnt install the custom kernel. So I looked for the custom kernel download(on my phone, not on my computer) and i found a .zip file. Well I thought that you could just download the kernel straight to my phone and open it up with "Rom Manager" which i did, it than said i needed to reboot the phone in recovery to continue the installation, so I did... it took me to recovery "to continue the installation" well than I looked away, looked backed down and it was black.... and i have tried powering up, booting into boot loader, booting into recover, and nothing... its just BLACK! nothing works, its literally useless ATM. I really messed up, is there anyway to fix this? Thanks in advanced!
----EDIT----
I think I accidentally flashed the kernel like i would normally flash a rom.... cause i downloaded the .zip file(directly to my phone, not using a computer), than i tapped the download and it asked me if i wanted to open it up with rom manager, so i did. and i think rom manager thought i was flashing a rom, when i wasnt, it was a kernel.... am i screwed? or is there anyway out of this?
Do you know the exact kernel you flashed--where did it come from
Some you need to extract and push
Assume you just tried to boot into bootloader thru phone buttons
Does your pc recognize your phone when plugged in, if so can you open a command window and try to access phone as in adb devices then adb reboot bootloader
assuming you are familiar with sdk adb/fastboot comands
otherwise i don't know what else to say--may be bad--sorry
Came from an XDA thread
Here is where it came from: http://forum.xda-developers.com/showthread.php?t=1708676 from "sun90" (half way down the page "CM9 KERNEL remix edition.zip - [Click for QR Code] (5.53 MB, 9 views) ")
i downloaded that straight to my phone and opened it up with Rom Manager, which i think the app took it as a rom, and installed it like a rom even though it was not a rom. I just tried to access it through adb, it comes up with no devices my PC does recognize it when i plug it in though...
Ive tried to get into bootloader tons of times, it just stays black... :'(
Thanks for your answer!
You flashed a galaxy s2 kernel on your one s? why would you ever think that was a smart thing to do?
Looking at the updater script in that zip it seems it wipes some partitions, the partitions on a SGS2 and the ONE S are different, so if that script accidentally wiped say the hboot partition, or some other critical-for-boot partition, you have a fully bricked phone.
For any devs that may know what partitions are what on the One S, the script wiped
mmcblk0p7, and wrote a zimage to mmcblk0p5
---EDIT---
Normally this is a cwm flashable zip on the Samsung Galaxy S II, which is why rom manager flashed it, as it met all the requirements, the only issue is, it was not made for the ONE S and probably overwrote some important things.
I tried for hours and hours to fix the same issue on a friend's One S (same symptoms, not same cause) to no avail. I tried QPST and telnet and a ridiculous amount of things. Had to bring it to the store and get a new one.
Good luck, but I don't believe there's anything you can do to fix it.
Just answered your question in the help thread, Didnt see this thread too !
Im afraid its not looking good, I think your best bet would be to call your provider and blame it on an OTA update.
And hope for the best
Alright, thanks for the help!
Well it looks like i bricked my phone than.... I thought that CM9 was only on the One S, so I just looked for the CM9 kernel, which obviously was for the sg2, i feel like such a dumb ass now! haha well thanks for all the help guys! ill be heading to the t-mobile store today to blame it on a OTA:]
yeah, others wont agree with what your about to do but........
just act like a complete noob, dont mention anything about software / firmware / ROMs / bootloader etc ect
just say your phone made a noise, you selected update and it died lol
good luck--I know it is heartbreaking
not sure of your situation with carrier, but you could go thru Retention if needed
Hi peeps.
i'm very new to all this but sort of know the basics
i'm running on Axiom now but tried to flash cm10 but after install i got a black screen so had to do a restore.
Today i just flashed venom and after the instal process is done, i hear the start up music but nothing on the screen.
I have had 3 other roms on my phone and never had a problem!
these are the steps i do
download rom - place on sd
put phone in recovery
reset factory
reset cache
install from sd
when it finish's reboot
blank screen.
Am i missing something?
Any help would be great and i can't post on the thread because i'm a noob with less than 10 and dont want to spam my way to the 10 :silly:
you are missing a lot, like reading the OP page and following install instructions
you missed separate flash of boot image and wiping system plus data and caches
i wipe system 3x to be safe
rugmankc said:
you are missing a lot, like reading the OP page and following install instructions
you missed separate flash of boot image and wiping system plus data and caches
i wipe system 3x to be safe
Click to expand...
Click to collapse
Thanks but i think that is now the least of my problems!
I used Goomanager and installed CM10, When I did it i installed teamwin recovery. It started to do a lot of strange things, when it finally rebooted i got a load of errors "phone is not working" nearly every 10 seconds?
it will not connect via usb, i discovered the the SD was not mounted.
I tried to mount the SD but it doesnt work, so i rebooted to recovery and tried to mount there but its coming up with - error unable to mount? ive tried everything but no joy
please please help
Thanks:crying:
see if this is your situation
http://forum.xda-developers.com/showthread.php?t=1630459
can you connect phone to pc and use fastboot commands
rugmankc said:
see if this is your situation
http://forum.xda-developers.com/showthread.php?t=1630459
can you connect phone to pc and use fastboot commands
Click to expand...
Click to collapse
I've got a mac
not sure what fastboot is.
I'll check out the link, and thank you very much for trying to help:good:
sorry i do know what fastboot is, yes can get in to it. but ive gone from CWM to teamwin recovery if i go in to the recovery section but that wont let me do anything because the mount. cant even load the phone up
I don't know Mac commands
My idea is to install htc drivers and set up fastboot/adb on pc--the info can be found in dev section on rooting
then open a command window and and boot into fastboot and flash a new recovery, maybe stock per the link, clear storage and try to get mounted
how did you unlock bootloader--
you will need to do alot of reading on adb/fastboot and flashing roms--first step is to have backups of rom and sdcard
since i don't the Mac commands to do fastboot, someone else will chime in at some point
you can alos go to the noob section in Q&A and resubmit your issue
someone will work you thru this, but in meantime study up on android sdk/fastboot/adb. a necessity to get out of these problems
you are not bricked, just need the info and right steps to get back on track
rugmankc said:
I don't know Mac commands
My idea is to install htc drivers and set up fastboot/adb on pc--the info can be found in dev section on rooting
then open a command window and and boot into fastboot and flash a new recovery, maybe stock per the link, clear storage and try to get mounted
how did you unlock bootloader--
you will need to do alot of reading on adb/fastboot and flashing roms--first step is to have backups of rom and sdcard
since i don't the Mac commands to do fastboot, someone else will chime in at some point
you can alos go to the noob section in Q&A and resubmit your issue
someone will work you thru this, but in meantime study up on android sdk/fastboot/adb. a necessity to get out of these problems
you are not bricked, just need the info and right steps to get back on track
Click to expand...
Click to collapse
im going to use someone elses alp top with windows. i'll ytry the all in one thing because thats how i rooted it in the first place. thanks for helping it means alot
good luck on it

[Q] samsung repp sch-r680 bootloop/softbrick?/?

Ok im an admitted "noob" to the whole android/linux op but not technically challenged at all.. and i researched ALL the info availible before rooting my alltel samsung repp (sch-r680) supposedly its an american clone of an another "galaxy gio", think its an asian model or something... anyway, i made a very careless mistake and erased my backup and system files and now am stuck in a bootloop... i can still access download mode and clockwork recovery but ive tries to flash stock roms with odin, install zips and restore backups(that i copied to my device via usb)... but nothing works, all the nandroid.md5 files respond with mismatch errors, and when i try to flash with odin, either the file passes and is useless to fix the problem or it gives an error something like "odin multidownloader has developed an error and closing"... ive been looking into flashing with fastboot or adb, i have all the neccessary files just havent figured out how to successfully execute... oh, and im having problems running some executable files (.exe), even at the comand prompt,(which im not alll that fluent in command prompt syntax). i know this is not a very popular model, and my carrier store (alltel) is like the last one standing i think but the same model is marketed by us cellular... anyway, sorry for the extremely long message, but i wanted to provide as much info as possible, so if anyone can help id greatly appreciate it... ive been without my andoid for like a week now and seperation anxiety is starting to set in.. pls help!!!
Also, i cant mount my system in cwm or through adb... Dont know if thatll help find a solution but i know its a problem within itself...

[Q] Can anyone help me flash back to stock rom

I'm sorry if others have helped on this before but I can't find real clean instructions on how to do this. I bought a phone that has CM installed on it but can't active on Sprint because I can't do ##...#. I need to know how to get back to the stock rom that I don't have a back up of. Is there a easy way to reinstall the Sprint made rom? I did not root this phone myself but it came rooted so trying to figure this out with out a lot of back ground knowledge here. Thanks for your help.
adamsmiley said:
I'm sorry if others have helped on this before but I can't find real clean instructions on how to do this. I bought a phone that has CM installed on it but can't active on Sprint because I can't do ##...#. I need to know how to get back to the stock rom that I don't have a back up of. Is there a easy way to reinstall the Sprint made rom? I did not root this phone myself but it came rooted so trying to figure this out with out a lot of back ground knowledge here. Thanks for your help.
Click to expand...
Click to collapse
Use RSD Lite and an appropriate FXZ file from here.
http://forum.xda-developers.com/showthread.php?t=2095536
Do you have any where I can find help on this? I pull in my phone in AP Fastboot like I found on a different site pulled it in and went flashed but it failed with an error of "unknown fastboot command (getvar)"
Do you have any where I can find help on this? I pull in my phone in AP Fastboot like I found on a different site pulled it in and went flashed but it failed with an error of "unknown fastboot command (getvar)"
adamsmiley said:
Do you have any where I can find help on this? I pull in my phone in AP Fastboot like I found on a different site pulled it in and went flashed but it failed with an error of "unknown fastboot command (getvar)"
Click to expand...
Click to collapse
There's a couple of lines you need to remove from the XML file. Read the first post carefully.
Sounds like you put your phone in fastboot mode correctly, so you are almost there.
thanks so much that fixed it. I love the help from this site.

[Completed] Please help me. No OS. HTC One M7.

Hey there guys. I bought an HTC One M7 from amazon which came unlocked. Problem was, i couldnt get it to connect to my provider, Koodo. Long story short, i went to flash a Stock Telus Rom to it, no META file in the zip. Already wiped my phone. So now theres no OS. I have TWRP still (thank god for that) but it just sits at the HTC logo and wont boot, as i know thats what happens when you mess up. Fairly familiar with THIS issue, as ive done it to my Samsung Galaxy SIII MANY times before, but had odin to fix it. I have an RUU.exe. Got it from a forum here. Cant connect to my phone (error 171 i believe). Everything is connected properly, and my PC recognizes it, but only as an MTP device. I am gonna try an RUU.zip and flash it with fastboot. See if that method works. But any help at all would be GREATLY appreciated as i dont want to have spent $299 to waste it like betting on the Maple Leafs.
Side note: I cannot get ADB Sideloader to work properly. I have a Custom Rom that i attempted to flash that way, but i got the error that was like ADB version (31) is not up to date with server (36) or something along the lines of that and then it fails to load daemon everytime. Tried some fixes from these forums but none of them were successful. Not familliar with ADB and all that stuff, so if anyone has any fix for the ADB, please dumb it down to kindergardener levels.
Sorry this is so long. Tried to explain everything as detailed as possible for a more acturately helpful response.
UPDATE Got the RUU.zip file to work after a couple hours of messing around with it. Had to fast boot getvar to obtain my model id, and change that in the android-info.txt in the zip file. Is flashing now. HUGE thanks to all of the thousands of XDA forums. Helped me out with everything!
AndyA2098 said:
Hey there guys. I bought an HTC One M7 from amazon which came unlocked. Problem was, i couldnt get it to connect to my provider, Koodo. Long story short, i went to flash a Stock Telus Rom to it, no META file in the zip. Already wiped my phone. So now theres no OS. I have TWRP still (thank god for that) but it just sits at the HTC logo and wont boot, as i know thats what happens when you mess up. Fairly familiar with THIS issue, as ive done it to my Samsung Galaxy SIII MANY times before, but had odin to fix it. I have an RUU.exe. Got it from a forum here. Cant connect to my phone (error 171 i believe). Everything is connected properly, and my PC recognizes it, but only as an MTP device. I am gonna try an RUU.zip and flash it with fastboot. See if that method works. But any help at all would be GREATLY appreciated as i dont want to have spent $299 to waste it like betting on the Maple Leafs.
Side note: I cannot get ADB Sideloader to work properly. I have a Custom Rom that i attempted to flash that way, but i got the error that was like ADB version (31) is not up to date with server (36) or something along the lines of that and then it fails to load daemon everytime. Tried some fixes from these forums but none of them were successful. Not familliar with ADB and all that stuff, so if anyone has any fix for the ADB, please dumb it down to kindergardener levels.
Sorry this is so long. Tried to explain everything as detailed as possible for a more acturately helpful response.
UPDATE Got the RUU.zip file to work after a couple hours of messing around with it. Had to fast boot getvar to obtain my model id, and change that in the android-info.txt in the zip file. Is flashing now. HUGE thanks to all of the thousands of XDA forums. Helped me out with everything!
Click to expand...
Click to collapse
Thread closed as OP fixed his issue

Categories

Resources