yashsingh1/xdaforums huggingface dataset:
[Motorola Photon 4G] twmatteo:
Update failed, same red error:

hardware/tegra/prebuild/make/ ../../core /system/moto ota.c 162 secured version failed

update failed

bp

cold booting linux

recovery of failed update:

-- Installing: SDINTERNAL:download/45-1.2.7_bootloader_test.zip

Finding update package...

I:Update location: SDINTERNAL:download/45-1.2.7_bootloader_test.zip

Opening update package...

I:Update file path: /emmc/download/45-1.2.7_bootloader_test.zip

Installing update...

I:Trying update-binary.

installing motoflash extensions

installing Etna updater extensions

installing NV updater extensions

updating AP20 bootloader ...

wrote nvmotota partition from /tmp/ap20bl.img

updating BP ...package_extract_file: no bp.img in package

script aborted: assert failed: package_extract_file("bp.img", "/tmp/bp.img")

assert failed: package_extract_file("bp.img", "/tmp/bp.img")

E:Error in /emmc/download/45-1.2.7_bootloader_test.zip

(Status 7)

Installation aborted.
[Motorola Photon 4G] Lightsword1942:
New test. MD5 2FD75C686C8178F22B7F99F5C412CB86
[Motorola Photon 4G] Lightsword1942:
New test. MD5 576EFF67CC165F1B5523F0A81B212265
[Motorola Photon 4G] twmatteo:
flashed successfully

"ota.c 162 secured version failed" error on boot.

pudding unlock failed - sec_exception error

Error:

hardware/tegra/prebuild/make/ ../../core /system/moto/ota.c 162 secured version failed

update fail

powering on bp

cold-booting linux
[Motorola Photon 4G] Lightsword1942:
This seems to be a roadblock for now, I'm guessing this is a signature check of some sort that is failing most likely in the same way RSD and fastboot fails. By the way could you get a recovery log of why the unlock here fails for bootstrap.
[Motorola Photon 4G] cmbinf:
Thanks for your work here Lightsword, I'm looking to play around with those zips you posted later on this evening. If you want; maybe you could whip a few zips up that could flash via bootstrap for that GSM unlock(don't know if anyone with the Electrify has done it yet). Hoping now that Google has Motorola things might change. An unlocked bootloader would be nice. ;)
[Motorola Photon 4G] Lightsword1942:
I need recovery logs in order to fix the unlock for bootstrap.
[Motorola Photon 4G] cmbinf:
I'll pull them for you as I go. I'll probably pile them into one post. Thanks again.
[Motorola Photon 4G] elessarelfstar:
This is appreciated. Hopefully a log from a failed attempt on the Japanese radio zip from the other thread will reveal an easy solution.
[Motorola Photon 4G] atroph:
Is the ota.c source file available? Examining that might point to what it wants to see.
[Motorola Photon 4G] Lightsword1942:
Don't even know what it is, I see that error text in a hex editor when looking at the bootloader, but that's about it.
[Motorola Photon 4G] atroph:
Looks to be the same as the Olympus (Atrix)

http://pastebin.com/iBLaY65y

hardware/tegra/prebuilt/make/../../core/system/moto/ota.c ERR: %s:%d NvStorMgrFileRead: %d

I guess that line is in there to point the engineers to where in the source the program is stopping.

ota.c is the C source file, and 162 is the line where it is stopping. Would be nice to have the source.

Anyhoose back on track. Thanks for your efforts Light!!
[Motorola Photon 4G] cmbinf:
OK, having a brain cramp skism. I need the command line for adb to get recovery.log output in windows. Just got way too much going on.

edit: nevermind got it...

edit 2: got busy with other business. I'll try again tomorrow. I'll atleast give ya something...http://www.youtube.com/watch?v=Oa_Cz7_bPuI&feature=share
[Motorola Photon 4G] peetr_:
One more thing, that is probably important, when I am hacking rsd lite, to flash full sbf with radio, I need to overwrite cg42.smg (bootloader) and cg3.smg (cdt.bin). If cg3.smg is missing, bootloader unlock fails, while flashing full sbf. Maybe it's the same situation here, you cannot overwrite bootloader without cdt.bin?
[Motorola Photon 4G] Lightsword1942:
Test added with cdt.bin. MD5 E38CDBC69AE699A031B1FFC34C80DAF1
[Motorola Photon 4G] elessarelfstar:
-- Installing: SDINTERNAL:Unlocked_Test.zip

Finding update package...

I:Update location: SDINTERNAL:Unlocked_Test.zip

Opening update package...

I:Update file path: /emmc/Unlocked_Test.zip

Installing update...

I:Trying update-binary.

installing motoflash extensions

installing Etna updater extensions

installing NV updater extensions

updating AP20 bootloader ...

wrote nvmotota partition from /tmp/ap20bl.img

updating cdt.bin ...

wrote cdt.bin partition from /tmp/cdt.bin

script result was []

Install from sdcard complete.

(renamed from recovery.log to recovery.txt for upload)
[Motorola Photon 4G] valentinoh:
Nice...i wonder what can happen now.
[Motorola Photon 4G] Lightsword1942:
Can you flash rom RSD now?
[Motorola Photon 4G] elessarelfstar:
I'm be able to check in the next 15 or 20 minutes hopefully.
[Motorola Photon 4G] Lightsword1942:
New test if that doesn't work. MD5 A8D367BC795C8F51377002DF7DA6AA35
[Motorola Photon 4G] valentinoh:
Me?
[Motorola Photon 4G] Lightsword1942:
Someone stuck on 2.3.5 after flashing the test file.
[Motorola Photon 4G] valentinoh:
Oh ok, lol
[Motorola Photon 4G] elessarelfstar:
sec_exception error

Trying the next zip you posted.

---------- Post added at 12:42 PM ---------- Previous post was at 12:31 PM ----------

Flash successfully.

--------------------------------------------

Tried to reboot into RSD mode, and it said:

--------------------------------------------

Failed to boot 1

PwrReason: SW_AP_RESET

Starting Fastboot protocol support

--------------------------------------------

Just for the heck of it, tried to fastboot the Jap radio image, and got:

--------------------------------------------

Entering Android Recovery Mode

Magic value mismatch (note: last line in red text)

--------------------------------------------

Now whenever I try to boot normally it just says:

--------------------------------------------

Failed to boot 1

--------------------------------------------

I can still get into fastboot mode, but cannot get into RSD mode. So apparently something different happened. Hopefully not bricked, but if I am not the end of the world. I'm on T-Mobile now and my primary phone is a Galaxy S 4G.
[Motorola Photon 4G] Lightsword1942:
Hold vol down during bootup then press down to go through the selection menu. If you can get into RSD mode try and flash pudding. If you can't get into RSD try and see if you can do this.
[Motorola Photon 4G] elessarelfstar:
When I hold volume down and power it blinks the white text at the top momentarily and then goes black. I tried pressing up just to see if fastboot mode would work anyway, but nothing.

So, as follows

1. hold just power button: Failed to boot 1

2. hold power and down: blinks, then nothing

3. hold power and up:

Failed to boot 1

PurReason: PWR_KEY_PRESS

Starting Fastboot protocol support

If I try to "moto-fastboot flash rdl.bin RDL3_unlocked_electrify.smg", it reboots to the empty screen with just the "dual-core" logo. If I type "moto-fastboot reboot" it reboots to the "Failed to boot 1" (used to reboot to the stock recovery).

Any ideas of what to try next?
[Motorola Photon 4G] Lightsword1942:
Don't use the electrify version of the RDL3 use the normal one in the OP.
[Motorola Photon 4G] valentinoh:
When at failed to boot 1.... Rsd should pick up phone automatically. Always does for me. And I get failed to boot 1 a lot.
[Motorola Photon 4G] elessarelfstar:
Normal one says:

c10d38

SVF:106:1:2

sec_exception: b655, eddc, eb

---------- Post added at 01:05 PM ---------- Previous post was at 01:04 PM ----------

Thanks. Yeah, I just figured that out. derpunlock.sbf still does "sec_exception" here.

Also - there is no way to rsd hack the unlocked bootloader or japanese radio into the electrify sbf?
[Motorola Photon 4G] valentinoh:
Have you tried flashing a 2.3.4.sbf?
[Motorola Photon 4G] elessarelfstar:
That's an interesting idea. I'll download it now.
[Motorola Photon 4G] Lightsword1942:
Not sure about the radio, but the bootloaders seem to have security mistmatch if you change the sbf's at all and are trying to flash over 2.3.5. Oddly enough I think the japanese bootloader might prevent downgrading just like the 2.3.5 electrify and 2.3.5 photon updates even though it is from a 2.3.4 rom.
[Motorola Photon 4G] elessarelfstar:
Been kicking myself the last couple of days since I saw that the US GSM problem was solved. We had two Electrify's (mine and my wife's), and had gone to T-Mobile a while back. I waited and waited to sell or trade my electrify (which was unlocked) until just a couple of weeks ago. Saw the thread posted on Sunday and thought, "crap! My wife's electrify is locked on 2.3.5!"

2.3.4 SBF just finished downloading. I'll update with results.

---------- Post added at 01:29 PM ---------- Previous post was at 01:23 PM ----------

If the SBF is going to fail, when does it usually do that? Right now it's at:

Phone[0000]: Creating Image File. Executed 35% In process...
[Motorola Photon 4G] valentinoh:
In the option, you should have unchecked create images. Its just dumping the sbf files on your comp before it flashes. But it usually goes to 56% before it's complete that way
[Motorola Photon 4G] elessarelfstar:
Ok. It stopped at:

Waiting for re-enumeration --- Executed 100% --- In progress

On phone:

"sec_exception: b655, eddc, eb"
[Motorola Photon 4G] valentinoh:
Bummer
[Motorola Photon 4G] elessarelfstar:
After I SBF'd back to Electrify 2.3.5 I rooted and ran that same (last) test zip again in bootstrap. Upon rebooting it presents "Failed to boot 1" again.

So that last zip definitely does something that the others did not.

The other couple said they were "successful" but did nothing.

This one says it's successful, and then gives a "Failed to boot 1" on a locked bootloader.

Does this information help?

---------- Post added at 03:58 PM ---------- Previous post was at 03:53 PM ----------

Do we know if anyone has the CG5.smg from the Japanese SBF?
[Motorola Photon 4G] moparfreak426:
i sure hope bootloader unlocked soon. found someone wanting me to get an at&t blackberry torch to trade four her electrify with 2.3.4

#ICS-lessMotorolaElectrify, ThanksMotorolaForYourIgnorance
[Motorola Photon 4G] Lightsword1942:
I do not have the Japanese SBF I only have the update.zip and a nandroid image. I will try and make a new zip using electrify files as opposed to photon.
[Motorola Photon 4G] MadFlava:
LS, props to you on your effort. Its nice to see someone tackling this still....
[Motorola Photon 4G] brianbri6:
I have a ReservedOdm value of:

10000000000030003000100000000

which I havent seen anyone else with this ReservedOdm value

i flashed 2.3.5 sbf from us cell to photon so im stuck with the locked bootloader also but im rooted tho.

lightsword have you checked into the htc evo 3d method of unlocking and downgrading the bootloader heres the link http://xdaforums.com/showthread.php?t=1547695 and http://xdaforums.com/showthread.php?t=1563342 i dont know if it would help but its at least a try.
[Motorola Photon 4G] munit85:
would it be helpful if you had a photon that has the us cellular sbf loaded onto it? That way you can test it directly instead of over the forum?

I bought a new phone and my photon is just sitting in a drawer until this is working.
[Motorola Photon 4G] Lightsword1942:
Not really for me at least.
[Motorola Photon 4G] moparfreak426:
mine is

10000000000030002000100000000

11-0’s. 3-0's,3-0's, 8-0's

so i may have unlocked bootloader or.....?

My replacement electrify also has this same code.
[Motorola Photon 4G] Lightsword1942:
Are you on 2.3.5? It looks like you probably are and won't be able to unlock.
[Motorola Photon 4G] phince1:
Man, we just need to beat that stupid SEC Exeception error. It seems that second to last zip flashed and updated correctly, but we cant seem to get pudding on there. Keep trying guys!
[Motorola Photon 4G] Lightsword1942:
I actually am suspecting the Japanese 2.3.4 bootloader I was using is locked down just like the 2.3.5 ones.
[Motorola Photon 4G] phince1:
Does anyone know if a motorola or USC tech can unlock the 2.3.5 bootloader? What are they using to unlock it?
[Motorola Photon 4G] Lightsword1942:
Don't think they can.
[Motorola Photon 4G] moparfreak426:
yes. 2.3.5 and I'm aware already:-(....

Usc tech cannot. I'm going to guess a Motorola tech cannot. However, with the right amount of money I'm sure m Motorola would be happy to make it top priority. If everyone wanting bootloader unlocked donated a dollar or two. Id probably put 10 out 20 when I get first check. is there anyway to not just start a petition but raise money to show Motorola how bad we want our bootloaders unlocked?
[Motorola Photon 4G] elessarelfstar:
Does that mean that on the zips that flashes successfully were actually successfully flashing the japanese bootloader to the phone?
[Motorola Photon 4G] Lightsword1942:
Looks like that's the case unfortunately. Guess they were the first to get locked down.
[Motorola Photon 4G] asiwalk213:
Start a petition for to Dennis Woodside (Google's appointed CEO of Motorola).... This may have better outcome or at the least more truthful answer and me may see more ics updates with Google thing being 18 months of phone support.
[Motorola Photon 4G] elessarelfstar:
So we can flash the Japanese bootloader, but not a previous bootloader. Is that correct? Would there be anyway to use this same method to flash the Japanese radio?
[Motorola Photon 4G] Lightsword1942:
In all likely-hood this is the best we can probably do at this point. Barring some exploit being found It seems like moto knows what they are doing when it comes to their bootloader security. It worked for HTC, don't see why it wouldn't work for motogoogle.

Yes, but we either need the japanese SBF file or someone who can fix bootstrap to flash it properly.
[Motorola Photon 4G] moparfreak426:
I want ics so bad! Unlock my **** bootloader moto!
[Motorola Photon 4G] elessarelfstar:
I'm still a bit confused. The eFuse thing makes it where previous bootloaders can't be flashed over more current ones - and cross checks the numbers to make that happen.

If it flashed the 2.3.4 Japanese bootloader (locked as well) over the 2.3.5 USCC bootloader using the your method of matching the appropriate numbers, why wouldn't a similar method work for flashing the old US 2.3.4 bootloader?

Do you think the bootloader from the 2.3.4 Japanese SBF/ota zip is the same bootloader that is present in the 2.3.5 US SBFs/ota zips? -- which would mean it's not down grading/flashing bootloaders -- it was just flashing the same thing over the locked bootloader?
[Motorola Photon 4G] moparfreak426:
I'm just going to assume so. Motorola sent me an email regarding this some.... Will post in a minute
[Motorola Photon 4G] moparfreak426:
Discussion Thread

Via Email (Neil) 05/30/2012 04:58 PM Dear Mykel,

Thanks for reaching out to Motorola.

I do apologize but we currently do not have any notifications regarding the exact release date of the Ice Cream Sandwich upgrade for the Motorola ELECTRIFY from US Cellular. I'm so sorry for the inconvenience. There are certain aspects of the upgrade that still needs evaluation such as the network features of the phone since it is released through a different carrier. Please continue to check the Motorola website and forums as these will have the most up-to-date information. We will post the update and it's detail on this link:

https://forums.motorola.com/pages/00add97d6c

Motorola's primary focus is the security of our end users and protection of their data,while also meeting carrier,partner and legal requirements. The ELECTRIFY and a majority of Android consumer devices on the market today have a secured bootloader.

In reference specifically to eFuse,the technology is not loaded with the purpose of preventing a consumer device from functioning,but rather ensuring for the user that the device only runs on updated and tested versions of software. If a device attempts to boot with unapproved software,it will go into recovery mode,and can re-boot once approved software is re-installed. Checking for a valid software configuration is a common practice within the industry to protect the user against potential malicious software threats. Motorola has been a long time advocate of open platforms and provides a number of resources to developers to foster the ecosystem including tools and access to devices for developers via MOTODEV at http://developer.motorola.com.

We hope that you find this information useful and we look forward to assisting you in the future.

For information about Motorola products and services, please visit us at http://www.motorola.com/

Thank you for contacting Motorola e-mail support.

Best Regards,

So.... I just reread it this time and realized there really wasn't any info important here.....
[Motorola Photon 4G] Lightsword1942:
There seems to be a version check when flashing bootloadets and the Japanese is the same locked one as the 2.3.5 ones in respect to the check.
[Motorola Photon 4G] atroph:
Has anyone emailed dan@sprint.com? Motorola seems to keep reiterating that the carrier plays some role with the devices. Who knows but it may be worth generating a direct and tactful email to Sprint and see what gets sent back.
[Motorola Photon 4G] moparfreak426:
who to email on us cellular for electrify? and here's mine after reflashing today oh screw it.... its locked down now for sure.... the one

that starts with a 3 and says never unlocked
[Motorola Photon 4G] phince1:
Lightsword, can u chime on this post in teamuscellular forums with what u know please? We would really appreciate it sir.

http://www.teamuscellular.com/Forum/index.php?/topic/1823-Bootloaders

Thank you in advance!

Sent from my Motorola Electrify using Xparent Blue Tapatalk 2
[Motorola Photon 4G] Lightsword1942:
Sorry it took so long for me to get to this, I just finished moving back to the states. Not exactly sure what you need to know. If you are trying to restore to 2.3.5 without permanently locking you can use fastboot or possibly mod a SBF file(not sure how to do this myself). There are many ways to restore the system to stock without changing the bootloader, easiest just flash a stock based rom from CWM. The 2.3.5 bootloaders are quite tricky to work with, and it is likely moto is using nvflash for loading the 2.3.5 bootloader on shipped phones, which is why the ODM value does not prevent a pudding flash. If we had the nvflash SBK we could probably reload the 2.3.5 bootloader without touching the ReservedODM value.
[Motorola Photon 4G] elessarelfstar:
Has anyone tried putting the recovery .img file in same folder as fastboot and:

fastboot boot "recovery".img

It worked for guys over in the One X forums before they had their bootloader unlocked (it may still be locked. It allows them to have unrestricted access to radio flashing, etc, even through the recovery always has to be used through that method.

I would try now, but I don't have my electrify with locked BL around.
[Motorola Photon 4G] moparfreak426:
I would try but scared of another brick and don't Wanda drive45 minutes away for a reflash
[Motorola Photon 4G] Lightsword1942:
Don't see how this would help us. We need to write a different bootloader not a new recovery.
[Motorola Photon 4G] Jleeblanch:
Here is my ReservedOdm: 30000000000030002000100000000

*not that it matters at the moment, I just noticed it didn't match any in the OP...*

My device info:

Sprint Photon 4G

OS: 2.3.5 (from soak update)

Currently using Bootstrap Re-recovery

More info in my signature about my devices current state.

Sucks, I was reading the whole "unlockable bootloader" bit on the MotoDev website. Too bad it wasn't that easy!! A simple fastboot script and POOF!! Lol...one could wish, right?!

Hopefully we'll get to the bottom of this.

Now, I have a question tho... when you guys were flashing the the "test.zips", were you just choosing "Reboot System Now" option afterwards? Because with the Re-recovery option, you can flash back your BSR as the last step in a CWR session, that way if all esle fails, you can at least flash a Nandroid backup and not be bricked...at least I would think. That's what I do any time I flash anything...

Typed on my Mo-Pho 4G (using SprintRocko235 ROM *locked* over 2.3.5 thru BSR) using xda-premium
[Motorola Photon 4G] Jleeblanch:
Not gonna lie, I am a happy Android owner now! Switched devices with my girl because she doesn't care about rooting, unlocking, etc... anyway, she has the second line on my Sprint account and was still on 2.3.4! Needless to say, I am now unlocked and using a custom rom!! :cool: :D

Also of course, I have a new ReservedOdm value of: 10000000000010001000100004000 :D

One last thing, another option of getting your ReservedOdm value is by actually browsing to where it is stored (assuming you're rooted) using Root Explorer.

Same as OP, browse to /sys/firmware/fuse/ folder. Pick the file named ReservedOdm and Root Explorer will give you options to open the file. Choose Text Viewer to view your value or Text Editor if you wanna easily copy it!
[Motorola Photon 4G] moparfreak426:
I wish there was a way to chance it this way........ :-/ but I KNOW it can't be that easy
[Motorola Photon 4G] Lightsword1942:
From everything I have heard the fuse changes are essentially permanent(numbers go up but not down).
[Motorola Photon 4G] moparfreak426:
oh.... that hurts
[Motorola Photon 4G] asiwalk213:
nope no going down at some point durning the update a fuse is blown normally used to lock down to a value stop downgrading in which also allowing them to blacklist keys...
[Motorola Photon 4G] moparfreak426:
any way to make the numbers go up to 9 then back to 0 or 1?
[Motorola Photon 4G] atroph:
Negative. It is a fuse that is permanently burnt.
[Motorola Photon 4G] moparfreak426:
dang. where can I trade my 2.3.5 electrify for a 2.3.4 even with a little boot?
[Motorola Photon 4G] Lightsword1942:
If anyone gets a photon with 2.3.5 directly from moto or sprint(not through an OTA) run the fuse check and post results. It may be unlockable like some 2.3.5 electrifies.
[Motorola Photon 4G] AaronEmoBoi:
so what about updating to ICS if we get it? will the fuse be blown then too? like i would want to try out the ICS update but not if its going to stop me from going back to the unlockable build
[Motorola Photon 4G] FernBch:
I would imagine updating to the official ICS could run the same risk as the official 2.3.5 that some have experienced.
[Motorola Photon 4G] AaronEmoBoi:
Soo

so when the Official ICS is out its most likely the best idea to wait untill our devs implement the drivers and libs into our custom roms
[Motorola Photon 4G] FernBch:
That would guarantee unlock still works
[Motorola Photon 4G] jami1:
for some reason I have a funny feeling motorola is moving towards doing the boot loader unlocking similar to htc and others where they send you an unlock token to unlock your device at the same time they get to remove your warranty. HTC does it like this.. where they send you a code and once they issue you a token they void your warranty. I think they had to upgrade the bootloaders to make it compatible for their unlock method.
[Motorola Photon 4G] Lightsword1942:
I would be ok with this as long as it is a true unlock(not the HTC dev unlock garbage where you can't write a boot.img from recovery without an s-off hack) especially since my warranties have essentially expired anyways. There is no reason whatsoever this phone should not be unlocked. The carrier and manufacturer both have allowed the newer Photon Q to be unlocked so why not the original photon. Maybe with the ICS update they will unlock it.
[Motorola Photon 4G] Cicar:
Photon 2.3.5 right out of the box.

I've got moto PHOTON with Build 254_13. I've checked ReservedOdm & it is

30000000000030003000100000000

is it unlockable?? :fingers-crossed:
[Motorola Photon 4G] Lightsword1942:
I don't think so, i'm looking for one with something similar to 20000000000020001000100004000
[Motorola Photon 4G] dingo502:
How do you check?
[Motorola Photon 4G] hoslayer13:
Its in the first post... If you're rooted you can use the same command in the terminal emulator