-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
loader for msm8216 #525
Comments
Which mobile is it? What CPU does it use? |
Samsung Galaxy grand prime. Snapdragon 410 |
I don't see that hash anywhere, but a Snapdragon 410 is a bit older. |
I have tried loaders from qualcomm/factory/msmxxxx none of them support MSM_ID:0x007070E1. And I have checked it's factory firmware there is no partition image as xbl/abl/cmnlib. But it has sbl.img |
Many of the loaders refer to MSM8216. |
Sorry it's not sbl.img. it's sbl1.mbn |
That sbl1.mbn is actually an ELF file and signed by Samsung so:
There are actually 18 certificates in this file! I have no idea why that is. The last one (root) has the PK hash above, but none of the other 17 are 996C7... Maybe this device does not have Secure Boot enabled? OTOH, it could be enforcing the HW_ID. I don't know. |
It might be enforcing HW_ID. And this device might have secure boot enabled, because when i used "lk2nd" secondary bootloader by postmarketOS to boot Linux in thik device it said secure boot enabled. I have found loaders for (0x007050E1) which is for msm8916 and also found loaders for (0x007060E1) but couldn't found any for msm8216 hw_id:(0x007070E1). |
@RenateUSB Could you check this partitions |
emmc_appsboot.mbn is a 32 bit ELF file signed with 18 Samsung certs. |
@RenateUSB thanks for your help. I have a tz.img , I think which is trust zone. Can it help? |
The emmc_appsboot.mbn has the same hash as the sbl1 and different from what Sahara said. In any case, it's pointless to check the other ~40 other partitions with ELF files for hashes. |
@RenateUSB thanks for your help |
If you run that with full debug you can see when the PK hash comes over. |
Please Can any one provide loader for following :
22:43:59: Sahara protocol completed
Received S/N CPU - 11AB51FC
HWID - 007070E100000000
OEM_PK_HASH (64) - 996C7888282743ACED72ACC73D3228DBF4938C291AC05931A79E45BC0BCE268A
SBL SW Ver. - 00000001
The text was updated successfully, but these errors were encountered: