Project

General

Profile

Actions

Issue #1876

closed

error when signinf build for i9100

Added by Fil Lupin over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Build system
Target version:
Start date:
04/03/2018
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Galaxy S 2 (I9100)
Grant:
Type of work:

Description

Hi,
following instructions on the page https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100Build
I got this output when trying to sign the build ofr i9100:

$ ./vendor/replicant/sign-build i9100
rewriting BOOT/RAMDISK/default.prop:
  replace:  ro.bootimage.build.fingerprint=replicant_i9100:6.0.1/MOI10E/eng.debian.20180101.161037:userdebug/test-keys
     with:  ro.bootimage.build.fingerprint=replicant_i9100:6.0.1/MOI10E/eng.debian.20180101.161037:userdebug/release-keys
rewriting RECOVERY/RAMDISK/default.prop:
  replace:  ro.bootimage.build.fingerprint=replicant_i9100:6.0.1/MOI10E/eng.debian.20180101.161037:userdebug/test-keys
     with:  ro.bootimage.build.fingerprint=replicant_i9100:6.0.1/MOI10E/eng.debian.20180101.161037:userdebug/release-keys
  replace:  ro.build.display.id=replicant_i9100-userdebug 6.0.1 MOI10E eng.debian.20180101.161037 test-keys
     with:  ro.build.display.id=replicant_i9100-userdebug 6.0.1 MOI10E eng.debian.20180101.161037
  replace:  ro.build.tags=test-keys
     with:  ro.build.tags=release-keys
    signing: org.cyanogenmod.platform-res.apk (/home/debian/replicant/replicant-6.0/vendor/replicant-security/platform)
java.io.FileNotFoundException: /home/debian/replicant/replicant-6.0/vendor/replicant-security/platform.x509.pem (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at com.android.signapk.SignApk.readPublicKey(SignApk.java:160)
    at com.android.signapk.SignApk.main(SignApk.java:908)
()
   ERROR: signapk.jar failed: return code 1
()

How could I solve this issue?

Thank you.

For information, this issue follow a former issue (https://redmine.replicant.us/issues/1857) which is now solved since the script is now foundable.

Actions

Also available in: Atom PDF