Hi, I managed to backup my TA, when I want to create DK.ftf, i run flash_dk.cmd TA.img Dk.ftf and got error Could not find device key in TA.img (Unit 0x1046B). Please help, thanks in advance
I have the same problem and I can't describe it any better. I have a neat TA.img from a Nandroid back-up made by TWRP. I also get the message that flash_dk can't find a device key of the Digital Rights Management in it. Very confusing...
rootkernel already used the same TA.img for Munjeni's TA PoC solution. Hence a lot isn't clear to me about flash_dk:
· Why is this extra ftf necessary when rootkernel already used TA.img for the boot.img?
· Why can't flash_dk find a device key in a neat TA.img?
· To which partition should one flash DK.ftf if flash_dk would succesfully find a device key?
Another thing that isn't clear to me is why nobody responded to the clear question of butilities since he posted it on the 11th of April 2016? We're already three years later now and we still don't know what to do when this surprising problem occurs. The problem is surprising because we do a Nandroid back-up to save device keys and DRM.
Happy to read an answer,
kind regards,
Hr. F.J. Roebersen.
---------- Post added at 11:14 PM ---------- Previous post was at 10:42 PM ----------
I have the same problem and I can't describe it any better. I have a neat TA.img from a Nandroid back-up made by TWRP. I also get the message that flash_dk can't find a device key of the Digital Rights Management in it. Very confusing...
rootkernel already used the same TA.img for Munjeni's TA PoC solution. Hence a lot isn't clear to me about flash_dk:
· Why is this extra ftf necessary when rootkernel already used TA.img for the boot.img?
· Why can't flash_dk find a device key in a neat TA.img?
· To which partition should one flash DK.ftf if flash_dk would succesfully find a device key?
Another thing that isn't clear to me is why nobody responded to the clear question of butilities since he posted it on the 11th of April 2016? We're already three years later now and we still don't know what to do when this surprising problem occurs. The problem is surprising because we do a Nandroid back-up to save device keys and DRM.
Happy to read an answer,
kind regards,
Hr. F.J. Roebersen.
In flash_dk.sh I read the following:
ui_print "- Extracting device key"
DK=$("$BOOTIMG" readta -i $TA_IMAGE -u 0x1046b -h)
if [ $? -ne 0 ]; then
ui_print "Could not find device key in $TA_IMAGE (Unit 0x1046B)"
exit 1
fi
Hence I conclude that there is no more unit 0x1046b in the back-up of the TA.img of my Sony F8331 Xperia XZ (Kagura). It seems to me that the back-up has a very regular size of 2 MB. The back-up of the TA.img of my Sony D6603 Xperia Z3 (Leo) also had a size of 2 MB.
Because I would like to restore the device key when I root my smartphone I would like to know how to solve this issue.
Kind regards,
Hr. F.J. Roebersen.