wtf does this mean and how can i get around it? i've unlocked the bootloader, and am trying to flash a system.img using fastboot. fastboot sends the file ok, but write fails, and the phone states invalid magic code 0x0000003 (or maybe a few more/less 0's)
why?
It most likely means, that the system.img got corrupted somewhere along the way.
cgi said:
It most likely means, that the system.img got corrupted somewhere along the way.
Click to expand...
Click to collapse
but i've tried to flash two images, and same error for both. i can flash a radio.img, though haven't tried the recovery or boot
i'm on stock, i've only upgraded with ota's from google, but one thread somewhere seems to suggest that you only get it if your recovery image is not stock
so, this is a big wtf for me.
Can any one help me to restore my XT907 back to stock JB 4.1.2 from the stock kitkat 4.4.2 update?
My current System version is: 183.46.10.XT907.Veryzon.en.US
Android Version: 4.4.2
Baseband Version: SM_BP_101031.042.32.86P
Kernal Version: 3.4.42-g5170b6b
[email protected] #1
Fri May 2 00:30:06 PDT 2014
Build Number: KDA20.62-10.1
Build Date: Fri May 2 00:20:25 PDT 2014
Please help me.. Thanks in advance...
Wouldn't recommend you try it on a locked bootloader.
Those that are unlocked shouldn't have any issues.
Technically, with a locked bootloader, if Fastboot will allow you to downgrade, then it should be possible.
You'd have to boot into Fastboot, then run the command:
fastboot flash system system.img
Where system.img is the 4.1.2 image file extracted from the fxz file. If it won't let you do this, then downgrade isn't possible. It will likely say failed flash and you'll have to flash something to kick the phone out of fastboot like logo.img.
You could also try RSDLite and try to flash the 4.1.2 fxz, but I doubt that will work because bootloader and such are not downgradeable and it will likely fail.
GnatGoSplat said:
Technically, with a locked bootloader, if Fastboot will allow you to downgrade, then it should be possible.
You'd have to boot into Fastboot, then run the command:
fastboot flash system system.img
Where system.img is the 4.1.2 image file extracted from the fxz file. If it won't let you do this, then downgrade isn't possible. It will likely say failed flash and you'll have to flash something to kick the phone out of fastboot like logo.img.
You could also try RSDLite and try to flash the 4.1.2 fxz, but I doubt that will work because bootloader and such are not downgradeable and it will likely fail.
Click to expand...
Click to collapse
Thanks for ur reply..
My bootloader is locked. I want to try downgrade to stock 4.1.2. Can u please send me the link to download stock 4.1.2 img and exact steps to downgrade?
Thnaks so much in advance..
kulsforu said:
Thanks for ur reply..
My bootloader is locked. I want to try downgrade to stock 4.1.2. Can u please send me the link to download stock 4.1.2 img and exact steps to downgrade?
Thnaks so much in advance..
Click to expand...
Click to collapse
You can get them here:
http://sbf.droid-developers.org/phone.php?device=8
You can extract the original system.img from the archive as well as logo.img in case the phone doesn't allow you to flash system.img, you can use logo.img to kick the phone out of Fastboot. You will need to install Motorola ADB drivers on your computer in advance, and also need a fastboot.exe file which I think you can find via Google, but if you have ever rooted your phone in the past, usually that also came with fastboot.
Anyway, get into fastboot mode by turning off the phone, then holding down all 3 buttons. Use vol- to select Fastboot and vol+ to choose it. Phone should boot into fastboot.
Connect to PC and issue command:
fastboot flash system system.img
If it works, the phone should be downgraded. If it says flash failed, then downgrade isn't possible. In that case, if the phone is stuck in fastboot mode and can't be rebooted, issue this command to get out of fastboot.
fastboot flash logo logo.img
That should let it reboot as normal.
I actually doubt it's possible to downgrade, but I haven't tried it myself so I can't say for sure.
GnatGoSplat said:
You can get them here:
http://sbf.droid-developers.org/phone.php?device=8
You can extract the original system.img from the archive as well as logo.img in case the phone doesn't allow you to flash system.img, you can use logo.img to kick the phone out of Fastboot. You will need to install Motorola ADB drivers on your computer in advance, and also need a fastboot.exe file which I think you can find via Google, but if you have ever rooted your phone in the past, usually that also came with fastboot.
Anyway, get into fastboot mode by turning off the phone, then holding down all 3 buttons. Use vol- to select Fastboot and vol+ to choose it. Phone should boot into fastboot.
Connect to PC and issue command:
fastboot flash system system.img
If it works, the phone should be downgraded. If it says flash failed, then downgrade isn't possible. In that case, if the phone is stuck in fastboot mode and can't be rebooted, issue this command to get out of fastboot.
fastboot flash logo logo.img
That should let it reboot as normal.
I actually doubt it's possible to downgrade, but I haven't tried it myself so I can't say for sure.
Click to expand...
Click to collapse
Thank u so much my friend, I need to clear that I m using this phone in India with Reliance CDMA network. If downgrade will succeed then will it in verizon locked condition or it will remain unlocked for global use? Also I need to add that I have never unlocked my bootloader or rooted my phone.
kulsforu said:
Thank u so much my friend, I need to clear that I m using this phone in India with Reliance CDMA network. If downgrade will succeed then will it in verizon locked condition or it will remain unlocked for global use? Also I need to add that I have never unlocked my bootloader or rooted my phone.
Click to expand...
Click to collapse
I think it would stay unlocked since you wouldn't be reflashing the radio.
It is easy enough to re-unlock if that should get reversed, however.
Ah, nevermind. Don't bother to try it. Even if you could succeed, you'd end up with black screen after the logo. The newer bootloaders will not allow Jellybean to boot. There is no way to downgrade. KitKat is a one way road with a locked BL. Sorry!
GnatGoSplat said:
Ah, nevermind. Don't bother to try it. Even if you could succeed, you'd end up with black screen after the logo. The newer bootloaders will not allow Jellybean to boot. There is no way to downgrade. KitKat is a one way road with a locked BL. Sorry!
Click to expand...
Click to collapse
:crying::crying::crying::crying::crying:
Sorry for the bad news. I'm in the same boat now too. Thought I would experiment with ways to preserve root, and long story short, now I'm stuck on an unrooted phone on stock KK with locked BL.
Why do you want to downgrade? If it's to be rooted, sorry, no solution for that. If there is some other issue, maybe there is a solution for that specific issue.
GnatGoSplat said:
Sorry for the bad news. I'm in the same boat now too. Thought I would experiment with ways to preserve root, and long story short, now I'm stuck on an unrooted phone on stock KK with locked BL.
Why do you want to downgrade? If it's to be rooted, sorry, no solution for that. If there is some other issue, maybe there is a solution for that specific issue.
Click to expand...
Click to collapse
The issue is my CDMA data is not working after upgrade to kitkat. I m from India and using Reliance CDMA sim. Before update, everything was working perfect. But now only data(EVDO or 1x) is not working. GSM data(3G & 2G) is working.
Please help if u have any solution for this issue.
GnatGoSplat said:
You can get them here:
http://sbf.droid-developers.org/phone.php?device=8
You can extract the original system.img from the archive as well as logo.img in case the phone doesn't allow you to flash system.img, you can use logo.img to kick the phone out of Fastboot. You will need to install Motorola ADB drivers on your computer in advance, and also need a fastboot.exe file which I think you can find via Google, but if you have ever rooted your phone in the past, usually that also came with fastboot.
Anyway, get into fastboot mode by turning off the phone, then holding down all 3 buttons. Use vol- to select Fastboot and vol+ to choose it. Phone should boot into fastboot.
Connect to PC and issue command:
fastboot flash system system.img
If it works, the phone should be downgraded. If it says flash failed, then downgrade isn't possible. In that case, if the phone is stuck in fastboot mode and can't be rebooted, issue this command to get out of fastboot.
fastboot flash logo logo.img
That should let it reboot as normal.
I actually doubt it's possible to downgrade, but I haven't tried it myself so I can't say for sure.
Click to expand...
Click to collapse
I'm also on official KK with locked bootloader, Can i flash kk modified system.img via this method ?
Prohyper said:
I'm also on official KK with locked bootloader, Can i flash kk modified system.img via this method ?
Click to expand...
Click to collapse
Sorry, with locked BL, you can't flash modified system.img or older system.img. I tried it just to make sure, and the phone wouldn't allow it.
GnatGoSplat said:
Sorry for the bad news. I'm in the same boat now too. Thought I would experiment with ways to preserve root, and long story short, now I'm stuck on an unrooted phone on stock KK with locked BL.
Why do you want to downgrade? If it's to be rooted, sorry, no solution for that. If there is some other issue, maybe there is a solution for that specific issue.
Click to expand...
Click to collapse
The issue is my CDMA data is not working after upgrade to kitkat. I m from India and using Reliance CDMA sim. Before update, everything was working perfect. But now only data(EVDO or 1x) is not working. GSM data(3G & 2G) is working.
Please help if u have any solution for this issue.
kulsforu said:
The issue is my CDMA data is not working after upgrade to kitkat. I m from India and using Reliance CDMA sim. Before update, everything was working perfect. But now only data(EVDO or 1x) is not working. GSM data(3G & 2G) is working.
Please help if u have any solution for this issue.
Click to expand...
Click to collapse
Good news is that major developments happened a month ago. :good:
You can now root AND unlock bootloader on KitKat. I think you can find the info you need in this thread:
http://forum.xda-developers.com/showthread.php?t=2783806
Once you have bootloader unlocked, you can downgrade back to JB. I have tried it and can confirm it works.
Good luck!
GnatGoSplat said:
Good news is that major developments happened a month ago. :good:
You can now root AND unlock bootloader on KitKat. I think you can find the info you need in this thread:
http://forum.xda-developers.com/showthread.php?t=2783806
Once you have bootloader unlocked, you can downgrade back to JB. I have tried it and can confirm it works.
Good luck!
Click to expand...
Click to collapse
Thanks much for update..
I can not getting the method. Actually I m new with these things.
Can you please explain how to use tr.apk?
Thanks in Advance..
kulsforu said:
Thanks much for update..
I can not getting the method. Actually I m new with these things.
Can you please explain how to use tr.apk?
Thanks in Advance..
Click to expand...
Click to collapse
You just run it and let it do its thing. Your phone should be rooted once it has rebooted. You can verify with any rootchecker app.
Then install and run Motopocalypse.apk to unlock your bootloader.
You can the use RSDLite to flash back to JellyBean using the JB fxz file. You will need to edit the xml file in the fxz file, removing the lines with gpt.bin and tz.mbn.
GnatGoSplat said:
You just run it and let it do its thing. Your phone should be rooted once it has rebooted. You can verify with any rootchecker app.
Then install and run Motopocalypse.apk to unlock your bootloader.
You can the use RSDLite to flash back to JellyBean using the JB fxz file. You will need to edit the xml file in the fxz file, removing the lines with gpt.bin and tz.mbn.
Click to expand...
Click to collapse
Thanks.. I m getting you.. But I m not using verizon network. My Razr M is unlocked for both CDMA and GSM carrier. I m using my Razr M in India and both CDMA and GSM are working at present. only DATA in CDMA is not working.
My question is will it be remain unlocked for both CDMA and GSM career in India after flashing back stock JELLY BEAN?
Thanks in Advance..
kulsforu said:
My question is will it be remain unlocked for both CDMA and GSM career in India after flashing back stock JELLY BEAN?
Click to expand...
Click to collapse
I believe so, yes.
GnatGoSplat said:
I believe so, yes.
Click to expand...
Click to collapse
Thanks.
Can you please send link to download JB 4.1.2 fxz file. and step by step instruction to flash the file.?
Any help is appreciated
Which partition does radio go in? Boot vendor system or other and newest boot loader I'm assuming goes in boot partition. I'm on 89D and can't find any flashable zips only .img
bossofindy said:
Which partition does radio go in? Boot vendor system or other and newest boot loader I'm assuming goes in boot partition. I'm on 89D and can't find any flashable zips only .img
Click to expand...
Click to collapse
Whoa, man, slow down! Probably shouldn't be messing with these things if you don't know what you're doing, you're gonna brick your phone. Bootloader doesn't go in the boot partition, it goes in the bootloader partition. Radio goes in the radio partition. You don't flash any of these things with recovery anyway, you flash them with fastboot. Look at my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Thanks I got it all figured out via fastboot but now I get an error at startup saying there is an internal error with my device please contact manufacturer for details
bossofindy said:
Thanks I got it all figured out via fastboot but now I get an error at startup saying there is an internal error with my device please contact manufacturer for details
Click to expand...
Click to collapse
It's impossible to help you without all of the details.
Thanks for the help I got it all figured out I flashed the 29 vendor over 89D that's when I got internal error. I then I upgraded bootloader and radio via fastboot then flashed pure nexus all is running good now
Hi, i used to have nougat "forced", when i flashed MM stock rom, the gpt.bin line showed me an error, but i think this error is normal due the downgrade, but also it showed me in the boot.img and recovery.img lines the error: image not signed or corrupted
It's that normal due the downgrade? Or what's wrong? I have the xt1621, unlocked bootloader.
Regards.
Maybe it is not yours boot.img and recovery.img ... Did you do it via fastboot?
lerg96 said:
Maybe it is not yours boot.img and recovery.img ... Did you do it via fastboot?
Click to expand...
Click to collapse
Hi, thanks for the reply, and yes i did it via fastboot, i think it's because the nougat rom was not for my device (now i know), but nougat worked very well, i suspect the boot.img and. recovery.img can't flash due the upgraded nougat bootloader?
Well, really i don't know. But i guess you can do everything with your phone if you have unlocked the bootloader.
lerg96 said:
Well, really i don't know. But i guess you can do everything with your phone if you have unlocked the bootloader.
Click to expand...
Click to collapse
Thanks anyway, i will wait for the N stock rom for my device, and then relock the bootloader. Regards.
Tested on my own KB2003, work flawlessly. Useful for many cases.
I followed the GUIDE of @s3axel here : https://forum.xda-developers.com/t/...n-os-stock-recovery-with-adb-enabled.4084487/
All credits to him.
Basically, this modded Recovery just saved my a** )))) Just unzip using 7z then flash it to Recovery as normal.
LinhBT said:
Tested on my own KB2003, work flawlessly. Useful for many cases.
I followed the GUIDE of @s3axel here : https://forum.xda-developers.com/t/...n-os-stock-recovery-with-adb-enabled.4084487/
All credits to him.
Basically, this modded Recovery just saved my a** )))) Just unzip using 7z then flash it to Recovery as normal.
Click to expand...
Click to collapse
Can you share your file?
Rootk1t said:
Can you share your file?
Click to expand...
Click to collapse
Sure man, find attachment
Hi, I am facing a strange issue on OOS12 not able to factory reset or enter stock recovery it says boot/recovery.img damaged flash the correct one or contact support can any one help me out with this issue.
houstontaxi said:
Hi, I am facing a strange issue on OOS12 not able to factory reset or enter stock recovery it says boot/recovery.img damaged flash the correct one or contact support can any one help me out with this issue.
Click to expand...
Click to collapse
unpack your firmware, extract stock recovery.img and flash it.
But for flashing do I need to unlock bootloader or it can be done without unlocking?
houstontaxi said:
But for flashing do I need to unlock bootloader or it can be done without unlocking?
Click to expand...
Click to collapse
As far as i remember to flash partitions with stock firmware you don't need unlocked bootloader.
Rootk1t said:
As far as i remember to flash partitions with stock firmware you don't need unlocked bootloader.
Click to expand...
Click to collapse
If it needs to flash recovery the same way as we do for custom roms like fastboot flash recovery in platform tools then i tried that doesn't work to make it work bootloader needs to be unlocked I did that(unlocked the boot loader) then flashed stock recovery and it worked but after locking the boot loader with fastboot oem lock same issue happened again couldn't boot into recovery.
houstontaxi said:
But for flashing do I need to unlock bootloader or it can be done without unlocking?
Click to expand...
Click to collapse
To flash ANY partitions, u must unlock bootloader even if the partition is critical or not. And to prevent the boot/recovery image damaged error, u must flash stock boot/recovery images along with vbmeta.img ( also extracted from stock, same build ).
LinhBT said:
To flash ANY partitions, u must unlock bootloader even if the partition is critical or not. And to prevent the boot/recovery image damaged error, u must flash stock boot/recovery images along with vbmeta.img ( also extracted from stock, same build ).
Click to expand...
Click to collapse
I'm gonna try this also need to know if I have to flash boot.img and recovery.img as there are two files when extracted from the stock rom
houstontaxi said:
I'm gonna try this also need to know if I have to flash boot.img and recovery.img as there are two files when extracted from the stock rom
Click to expand...
Click to collapse
Both, boot.img and recovery.img , also in some case, u must flash dtbo.img too. I dont know the exact situation of you so my advise is to flash both boot.img recovery.img dtbo.img and vbmeta.img
LinhBT said:
Both, boot.img and recovery.img , also in some case, u must flash dtbo.img too. I dont know the exact situation of you so my advise is to flash both boot.img recovery.img dtbo.img and vbmeta.img
Click to expand...
Click to collapse
I'm gonna try that thanks for the help and I hope it resolves my issue with OOS A12 recovery as I don't face this kind of issue on OOS11
1
LinhBT said:
Both, boot.img and recovery.img , also in some case, u must flash dtbo.img too. I dont know the exact situation of you so my advise is to flash both boot.img recovery.img dtbo.img and vbmeta.img
Click to expand...
Click to collapse
Hello, tell me that your recovery cannot decrypt the date section? I need to extract data from the phone, the phone won't boot into the system, I tried to boot into your recovery but I can't access the folders.
lenox30 said:
Hello, tell me that your recovery cannot decrypt the date section? I need to extract data from the phone, the phone won't boot into the system, I tried to boot into your recovery but I can't access the folders.
Click to expand...
Click to collapse
This is simply Stock Recovery with ADB enabled bro. It only can help u in some tasks which need to access adb via Recovery, it won't help to decrypt ur device and/or have any functions as other custom recovery