Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SE Firmware update not working on iPhone 7 (d10ap) #718

Open
kok3shidoll opened this issue Mar 6, 2025 · 0 comments
Open

SE Firmware update not working on iPhone 7 (d10ap) #718

kok3shidoll opened this issue Mar 6, 2025 · 0 comments

Comments

@kok3shidoll
Copy link

Starting with 3faf292#diff-b7a05616eecd238b6a3dd1bfbdd0b0ea63db2dc1efc9b91aecd5f66791548c4bR2697-R2701 commit, devices with the Icefall (iPhone 7) variant of Secure Element will begin to fail to update the SE Firmware.

[00:51:45.0614-GMT]{3>5} CHECKPOINT BEGIN: FIRMWARE:[0x1309] update_se
restore-step-ids = {0x1103067B:64;0x11030635:71;0x11031309:87}
restore-step-names = {0x1103067B:perform_restore_installing;0x11030635:update_device_firmware;0x11031309:update_se}
restore-step-uptime = 330
restore-step-user-progress = 54
entering update_se
ramrod_display_set_granular_progress_forced: 83.000000
opening /usr/lib/updaters/libSEUpdater.dylib
creating directory (owner=25 group=25 mode=755, class=-1) /mnt9/0C3294448D3B639C02148F024858B77A477DE3B6E0CE931B7CEA9882EB9B3FBECBB1D9FF0395BA482EC6EC7F27E59B7F//private
creating directory (owner=25 group=25 mode=755, class=-1) /mnt9/0C3294448D3B639C02148F024858B77A477DE3B6E0CE931B7CEA9882EB9B3FBECBB1D9FF0395BA482EC6EC7F27E59B7F//private/var
creating directory (owner=25 group=25 mode=755, class=-1) /mnt9/0C3294448D3B639C02148F024858B77A477DE3B6E0CE931B7CEA9882EB9B3FBECBB1D9FF0395BA482EC6EC7F27E59B7F//private/var//wireless
creating directory (owner=25 group=25 mode=755, class=-1) /mnt9/0C3294448D3B639C02148F024858B77A477DE3B6E0CE931B7CEA9882EB9B3FBECBB1D9FF0395BA482EC6EC7F27E59B7F//private/var//wireless/Library
creating directory (owner=25 group=25 mode=755, class=-1) /mnt9/0C3294448D3B639C02148F024858B77A477DE3B6E0CE931B7CEA9882EB9B3FBECBB1D9FF0395BA482EC6EC7F27E59B7F//private/var//wireless/Library/Logs
creating directory (owner=25 group=25 mode=755, class=-1) /mnt9/0C3294448D3B639C02148F024858B77A477DE3B6E0CE931B7CEA9882EB9B3FBECBB1D9FF0395BA482EC6EC7F27E59B7F//private/var//wireless/Library/Logs/CrashReporter
creating directory (owner=25 group=25 mode=755, class=-1) /mnt9/0C3294448D3B639C02148F024858B77A477DE3B6E0CE931B7CEA9882EB9B3FBECBB1D9FF0395BA482EC6EC7F27E59B7F//private/var//wireless/Library/Logs/CrashReporter/updater_output
creating directory (owner=25 group=25 mode=755, class=-1) /mnt9/0C3294448D3B639C02148F024858B77A477DE3B6E0CE931B7CEA9882EB9B3FBECBB1D9FF0395BA482EC6EC7F27E59B7F//private/var//wireless/Library/Logs/CrashReporter/updater_output//SE
creating SEUpdater obj
copying SE updater response for loop 0
Update[SE] error - The operation couldn\U2019t be completed. (RamrodErrorDomain error 1017 - update_generic_firmware: failed to execute performNextStage on SE updater)
[00:51:47.0971-GMT]{3>5} CHECKPOINT IMMED_RETRY:(FAILURE:-1) FIRMWARE:[0x1309] update_se [0]D(update_generic_firmware: failed to execute performNextStage on SE updater)[1]LD([ERR] getDataFromDict: data is either not found or in wrong CFType)
restore-step-results = {0x11071309:{0:-1}}
restore-step-codes = {0x11041309:{0:1017}}
restore-step-domains = {0x11041309:{0:"RamrodErrorDomain"}}
restore-step-error = {0x11041309:"[0]D(update_generic_firmware: failed to execute performNextStage on SE updater)[1]LD([ERR] getDataFromDict: data is either not found or in wrong CFType)"}
restore-step-uptime = 332
restore-step-user-progress = 83
[00:51:48.0031-GMT]{3>5} CHECKPOINT NOTICE: (NVRAM set) restore-step-user-progress=83 [sync=true] (first failure)
[00:51:48.0041-GMT]{3>5} CHECKPOINT BEGIN: FIRMWARE:[0x1309] update_se
restore-step-uptime = 333
restore-step-user-progress = 83
entering update_se
ramrod_display_set_granular_progress_forced: 83.000000
opening /usr/lib/updaters/libSEUpdater.dylib
creating SEUpdater obj
copying SE updater response for loop 0
Update[SE] error - The operation couldn\U2019t be completed. (RamrodErrorDomain error 1017 - update_generic_firmware: failed to execute performNextStage on SE updater)
[00:51:50.0132-GMT]{3>5} CHECKPOINT IMMED_RETRY:(FAILURE:-1) FIRMWARE:[0x1309] update_se [0]D(update_generic_firmware: failed to execute performNextStage on SE updater)[1]LD([ERR] getDataFromDict: data is either not found or in wrong CFType)
restore-step-results = {0x11071309:{0:-1;1:-1}}
restore-step-codes = {0x11041309:{0:1017;1:1017}}
restore-step-domains = {0x11041309:{0:"RamrodErrorDomain";1:"RamrodErrorDomain"}}
restore-step-error = {0x11041309:"[0]D(update_generic_firmware: failed to execute performNextStage on SE updater)[1]LD([ERR] getDataFromDict: data is either not found or in wrong CFType)"}
restore-step-uptime = 335
restore-step-user-progress = 83

For iOS 10 - 11, this error will cause the restore to fail. also for iOS 12 and above, the error won't cause the restore to fail, but it will cause the SE Firmware update to fail.
If I comment out the _wants_firmware_data() check, the restore works fine.
Unfortunately, I don't currently have any other devices that I can restore to, so I can't confirm what effect this has on other devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant