Development [ROM][OFFICIAL][lemonadep][12] LineageOS 19

Search This thread
May 23, 2018
15
1
I need help with signing. I use https://wiki.lineageos.org/signing_builds procedure.

"mka target-files-package otatools" is successful. Then, I do:
Code:
line@m103:~$ sign_target_files_apks -o -d ~/.android-certs \
>     $OUT/obj/PACKAGING/target_files_intermediates/*-target_files-*.zip \
>     signed-target_files.zip
2022-10-08 15:56:05 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop
2022-10-08 15:56:05 - common.py - WARNING : Failed to read VENDOR/etc/build.prop
2022-10-08 15:56:05 - common.py - WARNING : Failed to read PRODUCT/etc/build.prop
2022-10-08 15:56:05 - common.py - WARNING : Failed to read SYSTEM_EXT/etc/build.prop
Enter password for /home/line/.android-certs/media key>
Enter password for /home/line/.android-certs/networkstack key>
Enter password for /home/line/.android-certs/platform key>
Enter password for /home/line/.android-certs/releasekey key>
Enter password for /home/line/.android-certs/shared key>
Rewriting BOOT/RAMDISK/prop.default:
  replace:  ro.system.build.tags=test-keys
     with:  ro.system.build.tags=release-keys
  replace:  ro.build.display.id=lineage_lemonade-userdebug 11 RQ3A.211001.001 eng.line.20221007.133303 test-keys
     with:  ro.build.display.id=lineage_lemonade-userdebug 11 RQ3A.211001.001 eng.line.20221007.133303
  replace:  ro.build.tags=test-keys
     with:  ro.build.tags=release-keys
  replace:  ro.vendor.build.tags=test-keys
     with:  ro.vendor.build.tags=release-keys
  replace:  ro.odm.build.tags=test-keys
     with:  ro.odm.build.tags=release-keys
  replace:  ro.product.build.tags=test-keys
     with:  ro.product.build.tags=release-keys
  replace:  ro.system_ext.build.tags=test-keys
     with:  ro.system_ext.build.tags=release-keys
Rewriting ODM/etc/build.prop:
  replace:  ro.odm.build.tags=test-keys
     with:  ro.odm.build.tags=release-keys
    signing: Backgrounds.apk                                           (/home/line/.android-certs/releasekey)
    signing: DeskClock.apk                                             (/home/line/.android-certs/releasekey)
    signing: Etar.apk                                                  (/home/line/.android-certs/releasekey)
    signing: ExactCalculator.apk                                       (/home/line/.android-certs/releasekey)
    signing: Jelly.apk                                                 (/home/line/.android-certs/releasekey)
    signing: LatinIME.apk                                              (/home/line/.android-certs/shared)
    signing: LineageThemesStub.apk                                     (/home/line/.android-certs/releasekey)
    signing: LocalContactsBackup.apk                                   (/home/line/.android-certs/releasekey)
    signing: ModuleMetadata.apk                                        (/home/line/.android-certs/releasekey)
    signing: PhotoTable.apk                                            (/home/line/.android-certs/releasekey)
    signing: PowerOffAlarm.apk                                         (/home/line/.android-certs/platform)
    signing: Recorder.apk                                              (/home/line/.android-certs/releasekey)
    signing: messaging.apk                                             (/home/line/.android-certs/releasekey)
    signing: webview.apk                                               (/home/line/.android-certs/releasekey)
Rewriting PRODUCT/build.prop:
  replace:  ro.product.build.tags=test-keys
     with:  ro.product.build.tags=release-keys
Rewriting PRODUCT/etc/selinux/product_mac_permissions.xml with new keys.
    signing: AccentColorAmethystOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: AccentColorAquamarineOverlay.apk                          (/home/line/.android-certs/releasekey)
    signing: AccentColorCarbonOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: AccentColorCinnamonOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: AccentColorGreenOverlay.apk                               (/home/line/.android-certs/releasekey)
    signing: AccentColorOceanOverlay.apk                               (/home/line/.android-certs/releasekey)
    signing: AccentColorOrchidOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: AccentColorPaletteOverlay.apk                             (/home/line/.android-certs/releasekey)
    signing: AccentColorPurpleOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: AccentColorSandOverlay.apk                                (/home/line/.android-certs/releasekey)
    signing: AccentColorSpaceOverlay.apk                               (/home/line/.android-certs/releasekey)
    signing: AccentColorTangerineOverlay.apk                           (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationCornerOverlay.apk                   (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationDoubleOverlay.apk                   (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationHoleOverlay.apk                     (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationTallOverlay.apk                     (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationWaterfallOverlay.apk                (/home/line/.android-certs/releasekey)
    signing: FontNotoSerifSourceOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackCircularAndroidOverlay.apk                        (/home/line/.android-certs/releasekey)
    signing: IconPackCircularLauncherOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: IconPackCircularSettingsOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: IconPackCircularSystemUIOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: IconPackCircularThemePickerOverlay.apk                    (/home/line/.android-certs/platform)
    signing: IconPackFilledAndroidOverlay.apk                          (/home/line/.android-certs/releasekey)
    signing: IconPackFilledLauncherOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackFilledSettingsOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackFilledSystemUIOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackFilledThemePickerOverlay.apk                      (/home/line/.android-certs/platform)
    signing: IconPackKaiAndroidOverlay.apk                             (/home/line/.android-certs/releasekey)
    signing: IconPackKaiLauncherOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackKaiSettingsOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackKaiSystemUIOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackKaiThemePickerOverlay.apk                         (/home/line/.android-certs/platform)
    signing: IconPackRoundedAndroidOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackRoundedLauncherOverlay.apk                        (/home/line/.android-certs/releasekey)
    signing: IconPackRoundedSettingsOverlay.apk                        (/home/line/.android-certs/releasekey)
    signing: IconPackRoundedSystemUIOverlay.apk                        (/home/line/.android-certs/releasekey)
    signing: IconPackRoundedThemePickerOverlay.apk                     (/home/line/.android-certs/platform)
    signing: IconPackSamAndroidOverlay.apk                             (/home/line/.android-certs/releasekey)
    signing: IconPackSamLauncherOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackSamSettingsOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackSamSystemUIOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackSamThemePickerOverlay.apk                         (/home/line/.android-certs/platform)
    signing: IconPackVictorAndroidOverlay.apk                          (/home/line/.android-certs/releasekey)
    signing: IconPackVictorLauncherOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackVictorSettingsOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackVictorSystemUIOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackVictorThemePickerOverlay.apk                      (/home/line/.android-certs/platform)
    signing: IconShapePebbleOverlay.apk                                (/home/line/.android-certs/releasekey)
    signing: IconShapeRoundedRectOverlay.apk                           (/home/line/.android-certs/releasekey)
    signing: IconShapeSquareOverlay.apk                                (/home/line/.android-certs/releasekey)
    signing: IconShapeSquircleOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: IconShapeTaperedRectOverlay.apk                           (/home/line/.android-certs/releasekey)
    signing: IconShapeTeardropOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: IconShapeVesselOverlay.apk                                (/home/line/.android-certs/releasekey)
    signing: LineageBlackAccent.apk                                    (/home/line/.android-certs/platform)
    signing: LineageBlackTheme.apk                                     (/home/line/.android-certs/platform)
    signing: LineageBlueAccent.apk                                     (/home/line/.android-certs/platform)
    signing: LineageBrownAccent.apk                                    (/home/line/.android-certs/platform)
    signing: LineageCyanAccent.apk                                     (/home/line/.android-certs/platform)
    signing: LineageGreenAccent.apk                                    (/home/line/.android-certs/platform)
    signing: LineageLatoFont.apk                                       (/home/line/.android-certs/platform)
    signing: LineageNavigationBarNoHint.apk                            (/home/line/.android-certs/platform)
    signing: LineageOrangeAccent.apk                                   (/home/line/.android-certs/platform)
    signing: LineagePinkAccent.apk                                     (/home/line/.android-certs/platform)
    signing: LineagePurpleAccent.apk                                   (/home/line/.android-certs/platform)
    signing: LineageRedAccent.apk                                      (/home/line/.android-certs/platform)
    signing: LineageRubikFont.apk                                      (/home/line/.android-certs/platform)
    signing: LineageYellowAccent.apk                                   (/home/line/.android-certs/platform)
    signing: NavigationBarMode2ButtonOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: NavigationBarMode3ButtonOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: NavigationBarModeGesturalOverlay.apk                      (/home/line/.android-certs/releasekey)
    signing: NavigationBarModeGesturalOverlayExtraWideBack.apk         (/home/line/.android-certs/releasekey)
    signing: NavigationBarModeGesturalOverlayNarrowBack.apk            (/home/line/.android-certs/releasekey)
    signing: NavigationBarModeGesturalOverlayWideBack.apk              (/home/line/.android-certs/releasekey)
    signing: WifiResCommon.apk                                         (/home/line/.android-certs/releasekey)
    signing: Contacts.apk                                              (/home/line/.android-certs/shared)
    signing: Dialer.apk                                                (/home/line/.android-certs/shared)
    signing: Eleven.apk                                                (/home/line/.android-certs/releasekey)
    signing: HotwordEnrollmentOKGoogleHEXAGON.apk                      (/home/line/.android-certs/platform)
    signing: HotwordEnrollmentXGoogleHEXAGON.apk                       (/home/line/.android-certs/platform)
    signing: OneTimeInitializer.apk                                    (/home/line/.android-certs/releasekey)
    signing: SettingsIntelligence.apk                                  (/home/line/.android-certs/releasekey)
Rewriting ROOT/default.prop:
    signing: com.android.adbd.apex                                     container (system/core/adb/apex/com.android.adbd)
           : com.android.adbd.apex                                     payload   (system/core/adb/apex/com.android.adbd.pem)
NOT signing: com.android.apex.cts.shim.apex
        (skipped due to special cert string)
    signing: com.android.art.release.apex                              container (art/build/apex/com.android.art)
           : com.android.art.release.apex                              payload   (art/build/apex/com.android.art.pem)
    signing: com.android.cellbroadcast.apex                            container (packages/apps/CellBroadcastReceiver/apex/com.android.cellbroadcast)
           : com.android.cellbroadcast.apex                            payload   (packages/apps/CellBroadcastReceiver/apex/com.android.cellbroadcast.pem)

   ERROR: Failed to run signapk.jar: return code 1:
Picked up _JAVA_OPTIONS: -Xmx4g
Enter password for /home/line/.android-certs/networkstack.pk8 (password will not be hidden): java.lang.NullPointerException
    at com.android.signapk.SignApk.decryptPrivateKey(SignApk.java:242)
    at com.android.signapk.SignApk.readPrivateKey(SignApk.java:267)
    at com.android.signapk.SignApk.main(SignApk.java:1144)

At the start of the script, I correctly enter passwords from all 5 keys.

At the error point at the end, the script does not wait for any input after the "(password will not be hidden)" prompt. NullPointerException happens immediately.

Build environment: Ubuntu 18.04.6 LTS
Lineage version: 18.1 here, but the exact same error happens when I try to sign 19.1 after building
Product: lemonade

Any thoughts / suggestions would be appreciated. Thanks.

/alex
 

TheSayaMan

Senior Member
Sep 12, 2016
1,915
1,091
OnePlus 9 Pro
OnePlus 11
I need help with signing. I use https://wiki.lineageos.org/signing_builds procedure.

"mka target-files-package otatools" is successful. Then, I do:
Code:
line@m103:~$ sign_target_files_apks -o -d ~/.android-certs \
>     $OUT/obj/PACKAGING/target_files_intermediates/*-target_files-*.zip \
>     signed-target_files.zip
2022-10-08 15:56:05 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop
2022-10-08 15:56:05 - common.py - WARNING : Failed to read VENDOR/etc/build.prop
2022-10-08 15:56:05 - common.py - WARNING : Failed to read PRODUCT/etc/build.prop
2022-10-08 15:56:05 - common.py - WARNING : Failed to read SYSTEM_EXT/etc/build.prop
Enter password for /home/line/.android-certs/media key>
Enter password for /home/line/.android-certs/networkstack key>
Enter password for /home/line/.android-certs/platform key>
Enter password for /home/line/.android-certs/releasekey key>
Enter password for /home/line/.android-certs/shared key>
Rewriting BOOT/RAMDISK/prop.default:
  replace:  ro.system.build.tags=test-keys
     with:  ro.system.build.tags=release-keys
  replace:  ro.build.display.id=lineage_lemonade-userdebug 11 RQ3A.211001.001 eng.line.20221007.133303 test-keys
     with:  ro.build.display.id=lineage_lemonade-userdebug 11 RQ3A.211001.001 eng.line.20221007.133303
  replace:  ro.build.tags=test-keys
     with:  ro.build.tags=release-keys
  replace:  ro.vendor.build.tags=test-keys
     with:  ro.vendor.build.tags=release-keys
  replace:  ro.odm.build.tags=test-keys
     with:  ro.odm.build.tags=release-keys
  replace:  ro.product.build.tags=test-keys
     with:  ro.product.build.tags=release-keys
  replace:  ro.system_ext.build.tags=test-keys
     with:  ro.system_ext.build.tags=release-keys
Rewriting ODM/etc/build.prop:
  replace:  ro.odm.build.tags=test-keys
     with:  ro.odm.build.tags=release-keys
    signing: Backgrounds.apk                                           (/home/line/.android-certs/releasekey)
    signing: DeskClock.apk                                             (/home/line/.android-certs/releasekey)
    signing: Etar.apk                                                  (/home/line/.android-certs/releasekey)
    signing: ExactCalculator.apk                                       (/home/line/.android-certs/releasekey)
    signing: Jelly.apk                                                 (/home/line/.android-certs/releasekey)
    signing: LatinIME.apk                                              (/home/line/.android-certs/shared)
    signing: LineageThemesStub.apk                                     (/home/line/.android-certs/releasekey)
    signing: LocalContactsBackup.apk                                   (/home/line/.android-certs/releasekey)
    signing: ModuleMetadata.apk                                        (/home/line/.android-certs/releasekey)
    signing: PhotoTable.apk                                            (/home/line/.android-certs/releasekey)
    signing: PowerOffAlarm.apk                                         (/home/line/.android-certs/platform)
    signing: Recorder.apk                                              (/home/line/.android-certs/releasekey)
    signing: messaging.apk                                             (/home/line/.android-certs/releasekey)
    signing: webview.apk                                               (/home/line/.android-certs/releasekey)
Rewriting PRODUCT/build.prop:
  replace:  ro.product.build.tags=test-keys
     with:  ro.product.build.tags=release-keys
Rewriting PRODUCT/etc/selinux/product_mac_permissions.xml with new keys.
    signing: AccentColorAmethystOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: AccentColorAquamarineOverlay.apk                          (/home/line/.android-certs/releasekey)
    signing: AccentColorCarbonOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: AccentColorCinnamonOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: AccentColorGreenOverlay.apk                               (/home/line/.android-certs/releasekey)
    signing: AccentColorOceanOverlay.apk                               (/home/line/.android-certs/releasekey)
    signing: AccentColorOrchidOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: AccentColorPaletteOverlay.apk                             (/home/line/.android-certs/releasekey)
    signing: AccentColorPurpleOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: AccentColorSandOverlay.apk                                (/home/line/.android-certs/releasekey)
    signing: AccentColorSpaceOverlay.apk                               (/home/line/.android-certs/releasekey)
    signing: AccentColorTangerineOverlay.apk                           (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationCornerOverlay.apk                   (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationDoubleOverlay.apk                   (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationHoleOverlay.apk                     (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationTallOverlay.apk                     (/home/line/.android-certs/releasekey)
    signing: DisplayCutoutEmulationWaterfallOverlay.apk                (/home/line/.android-certs/releasekey)
    signing: FontNotoSerifSourceOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackCircularAndroidOverlay.apk                        (/home/line/.android-certs/releasekey)
    signing: IconPackCircularLauncherOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: IconPackCircularSettingsOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: IconPackCircularSystemUIOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: IconPackCircularThemePickerOverlay.apk                    (/home/line/.android-certs/platform)
    signing: IconPackFilledAndroidOverlay.apk                          (/home/line/.android-certs/releasekey)
    signing: IconPackFilledLauncherOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackFilledSettingsOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackFilledSystemUIOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackFilledThemePickerOverlay.apk                      (/home/line/.android-certs/platform)
    signing: IconPackKaiAndroidOverlay.apk                             (/home/line/.android-certs/releasekey)
    signing: IconPackKaiLauncherOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackKaiSettingsOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackKaiSystemUIOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackKaiThemePickerOverlay.apk                         (/home/line/.android-certs/platform)
    signing: IconPackRoundedAndroidOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackRoundedLauncherOverlay.apk                        (/home/line/.android-certs/releasekey)
    signing: IconPackRoundedSettingsOverlay.apk                        (/home/line/.android-certs/releasekey)
    signing: IconPackRoundedSystemUIOverlay.apk                        (/home/line/.android-certs/releasekey)
    signing: IconPackRoundedThemePickerOverlay.apk                     (/home/line/.android-certs/platform)
    signing: IconPackSamAndroidOverlay.apk                             (/home/line/.android-certs/releasekey)
    signing: IconPackSamLauncherOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackSamSettingsOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackSamSystemUIOverlay.apk                            (/home/line/.android-certs/releasekey)
    signing: IconPackSamThemePickerOverlay.apk                         (/home/line/.android-certs/platform)
    signing: IconPackVictorAndroidOverlay.apk                          (/home/line/.android-certs/releasekey)
    signing: IconPackVictorLauncherOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackVictorSettingsOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackVictorSystemUIOverlay.apk                         (/home/line/.android-certs/releasekey)
    signing: IconPackVictorThemePickerOverlay.apk                      (/home/line/.android-certs/platform)
    signing: IconShapePebbleOverlay.apk                                (/home/line/.android-certs/releasekey)
    signing: IconShapeRoundedRectOverlay.apk                           (/home/line/.android-certs/releasekey)
    signing: IconShapeSquareOverlay.apk                                (/home/line/.android-certs/releasekey)
    signing: IconShapeSquircleOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: IconShapeTaperedRectOverlay.apk                           (/home/line/.android-certs/releasekey)
    signing: IconShapeTeardropOverlay.apk                              (/home/line/.android-certs/releasekey)
    signing: IconShapeVesselOverlay.apk                                (/home/line/.android-certs/releasekey)
    signing: LineageBlackAccent.apk                                    (/home/line/.android-certs/platform)
    signing: LineageBlackTheme.apk                                     (/home/line/.android-certs/platform)
    signing: LineageBlueAccent.apk                                     (/home/line/.android-certs/platform)
    signing: LineageBrownAccent.apk                                    (/home/line/.android-certs/platform)
    signing: LineageCyanAccent.apk                                     (/home/line/.android-certs/platform)
    signing: LineageGreenAccent.apk                                    (/home/line/.android-certs/platform)
    signing: LineageLatoFont.apk                                       (/home/line/.android-certs/platform)
    signing: LineageNavigationBarNoHint.apk                            (/home/line/.android-certs/platform)
    signing: LineageOrangeAccent.apk                                   (/home/line/.android-certs/platform)
    signing: LineagePinkAccent.apk                                     (/home/line/.android-certs/platform)
    signing: LineagePurpleAccent.apk                                   (/home/line/.android-certs/platform)
    signing: LineageRedAccent.apk                                      (/home/line/.android-certs/platform)
    signing: LineageRubikFont.apk                                      (/home/line/.android-certs/platform)
    signing: LineageYellowAccent.apk                                   (/home/line/.android-certs/platform)
    signing: NavigationBarMode2ButtonOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: NavigationBarMode3ButtonOverlay.apk                       (/home/line/.android-certs/releasekey)
    signing: NavigationBarModeGesturalOverlay.apk                      (/home/line/.android-certs/releasekey)
    signing: NavigationBarModeGesturalOverlayExtraWideBack.apk         (/home/line/.android-certs/releasekey)
    signing: NavigationBarModeGesturalOverlayNarrowBack.apk            (/home/line/.android-certs/releasekey)
    signing: NavigationBarModeGesturalOverlayWideBack.apk              (/home/line/.android-certs/releasekey)
    signing: WifiResCommon.apk                                         (/home/line/.android-certs/releasekey)
    signing: Contacts.apk                                              (/home/line/.android-certs/shared)
    signing: Dialer.apk                                                (/home/line/.android-certs/shared)
    signing: Eleven.apk                                                (/home/line/.android-certs/releasekey)
    signing: HotwordEnrollmentOKGoogleHEXAGON.apk                      (/home/line/.android-certs/platform)
    signing: HotwordEnrollmentXGoogleHEXAGON.apk                       (/home/line/.android-certs/platform)
    signing: OneTimeInitializer.apk                                    (/home/line/.android-certs/releasekey)
    signing: SettingsIntelligence.apk                                  (/home/line/.android-certs/releasekey)
Rewriting ROOT/default.prop:
    signing: com.android.adbd.apex                                     container (system/core/adb/apex/com.android.adbd)
           : com.android.adbd.apex                                     payload   (system/core/adb/apex/com.android.adbd.pem)
NOT signing: com.android.apex.cts.shim.apex
        (skipped due to special cert string)
    signing: com.android.art.release.apex                              container (art/build/apex/com.android.art)
           : com.android.art.release.apex                              payload   (art/build/apex/com.android.art.pem)
    signing: com.android.cellbroadcast.apex                            container (packages/apps/CellBroadcastReceiver/apex/com.android.cellbroadcast)
           : com.android.cellbroadcast.apex                            payload   (packages/apps/CellBroadcastReceiver/apex/com.android.cellbroadcast.pem)

   ERROR: Failed to run signapk.jar: return code 1:
Picked up _JAVA_OPTIONS: -Xmx4g
Enter password for /home/line/.android-certs/networkstack.pk8 (password will not be hidden): java.lang.NullPointerException
    at com.android.signapk.SignApk.decryptPrivateKey(SignApk.java:242)
    at com.android.signapk.SignApk.readPrivateKey(SignApk.java:267)
    at com.android.signapk.SignApk.main(SignApk.java:1144)

At the start of the script, I correctly enter passwords from all 5 keys.

At the error point at the end, the script does not wait for any input after the "(password will not be hidden)" prompt. NullPointerException happens immediately.

Build environment: Ubuntu 18.04.6 LTS
Lineage version: 18.1 here, but the exact same error happens when I try to sign 19.1 after building
Product: lemonade

Any thoughts / suggestions would be appreciated. Thanks.

/alex
First off, your in the OnePlus 9 Pro forum for LemonadeP. Secondly, you don't have to enter a password. You can simply just leave it blank and just hit enter on keyboard through each one. That's what I do, and I have no problems.
 

MoeQyu

Member
Jul 2, 2021
9
1
Guys, do you always lose your magisk root after installing a new update? How did you solve this problem?

I always install Magisk using my PC, but I thought you might have an easier way.
 

Umgak

Senior Member
Nov 24, 2017
223
636
Guys, do you always lose your magisk root after installing a new update? How did you solve this problem?

I always install Magisk using my PC, but I thought you might have an easier way.
I have mine set up to automatically reflash Magisk during the install using the addon.d script (flash magisk apk as a zip in recovery to set that up) but you can also install the update, then select "Install to Inactive Slot (After OTA)" before rebooting to also preserve root.
 

MoeQyu

Member
Jul 2, 2021
9
1
I have mine set up to automatically reflash Magisk during the install using the addon.d script (flash magisk apk as a zip in recovery to set that up) but you can also install the update, then select "Install to Inactive Slot (After OTA)" before rebooting to also preserve root.
Thank you for responding. I don't understand both methods, and I suddenly feel old 😂

Would you mind sharing a video tutorial or a website where I could follow the steps? Or simply share the keywords that I can Google to learn more about those two methods.
 

JSilver2021

Member
Sep 18, 2021
32
2
@LuK1337
I think something happened to the Wallpaper & Styles area of settings. I no longer can choose accent colors or wallpaper colors. My accent color is some light blue which I have never had.

Screenshot_20221026-083130_Wallpaper & style.png

Version:. 19-20221025-NIGHTLY-lemonadep
Build: lineage_lemonadep-userdebug 12 SQ3A.220705.004 bbb9cbede3
 

filjusz

Senior Member
@LuK1337
I think something happened to the Wallpaper & Styles area of settings. I no longer can choose accent colors or wallpaper colors. My accent color is some light blue which I have never had.

Version:. 19-20221025-NIGHTLY-lemonadep
Build: lineage_lemonadep-userdebug 12 SQ3A.220705.004 bbb9cbede3

You've never been able to select the accent color on LineageOS 19. For some reason, the team removed that capability when they introduced LOS 19. The accent color is automatically chosen from the wallpaper, which is probably why you're seeing light blue. I think it was a stupid decision on their part, as even Android 12 on Google Pixels allow you to select an accent color (it's limited, but it's there). Let's hope they listen to the people screaming at them and reintroduce this capability for LOS 20 (which I haven't had a chance to look at yet).
 
  • Like
Reactions: Aqq123 and osm0sis

JSilver2021

Member
Sep 18, 2021
32
2
You've never been able to select the accent color on LineageOS 19. For some reason, the team removed that capability when they introduced LOS 19. The accent color is automatically chosen from the wallpaper, which is probably why you're seeing light blue. I think it was a stupid decision on their part, as even Android 12 on Google Pixels allow you to select an accent color (it's limited, but it's there). Let's hope they listen to the people screaming at them and reintroduce this capability for LOS 20 (which I haven't had a chance to look at yet).
Are you sure it has never been there. I thought I had chosen colors initially when I installed 19 when first introduced that it was there back in May '22, but I could absolutely be wrong!

Since I believe that this is a AOSP standard feature, can we ask it be added back?
 
Are you sure it has never been there. I thought I had chosen colors initially when I installed 19 when first introduced that it was there back in May '22, but I could absolutely be wrong!

Since I believe that this is a AOSP standard feature, can we ask it be added back?

You could, I'm sure, but I highly doubt it'll be added to LineageOS 19 since the team is currently hard at work bringing up LOS 20 (aka Android 13). At this point, I figure 19 is pretty feature-complete, so if it goes in, it'll be in 20 (and maybe it'll be backported by someone on the team; you never know).
 
  • Like
Reactions: osm0sis

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
16,773
40,451
Halifax
GT-i9250
Google Nexus 4
You could, I'm sure, but I highly doubt it'll be added to LineageOS 19 since the team is currently hard at work bringing up LOS 20 (aka Android 13). At this point, I figure 19 is pretty feature-complete, so if it goes in, it'll be in 20 (and maybe it'll be backported by someone on the team; you never know).
Googled around a bit and it sounds like kdrag0n's Repainter app can change things, since I guess it is all available under the hood still.
 
Last edited:
Googled around a bit and it sounds like kdrag0n's Repainter app can change things, since I guess it is all available under the hood still.

That's definitely an option, though some people might balk at paying a few bucks to unlock all of its features (and some features might require root; I haven't looked closely at it). Other custom ROM developers have taken kdrag0n's Monet modifications and incorporated them into their A12 ROMs (as I did for my custom LOS fork), so Repainter might be the only way stock LOS users can get at least some of its features.
 

MarcSN311

Member
Nov 25, 2015
22
5
Hi!
I am thinking about buying a Oneplus 9 Pro.

Are the Bluetooth issues still there?
Has anyone managed to port the OOS Camera yet?
Anything else I should know about?
 

JSilver2021

Member
Sep 18, 2021
32
2
Hi!
I am thinking about buying a Oneplus 9 Pro.

Are the Bluetooth issues still there?
Has anyone managed to port the OOS Camera yet?
Anything else I should know about?
The Bluetooth clipping seems to be on older BT audio devices. Anything I have used that is BT 4.1 or greater has not shown the clipping. BT 5+ devices audio is flawless!

OOS CAM is still not ported as far as I am aware.

LOS 19 is still and will probably always be my DD. Stable and just works. Once LOS 20 is released, will upgrade to it.
 
  • Like
Reactions: Aqq123 and osm0sis

Klos54

New member
Nov 13, 2022
2
0
When I installed this ROM, my phone appears to be rooted but I don't install magisk. After installing magisk and excluding application, same message, phone appears to be rooted ...

Is this a known problem ?
 

ajolly

Senior Member
Aug 24, 2006
97
22
OnePlus 7 Pro
OnePlus 9 Pro
Not sure. I'd actually prefer to incorporate his changes into my own LOS fork and test it that way, as my 9 Pro is my daily driver and I'd rather just upgrade my current LOS fork than load a different version onto it.
Do you have a good workflow for keeping your fork/phone up to date? I'm thinking of building my own fork to modify the NotificationManager service.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 12, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Instructions :
    Downloads :
    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
    
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
    
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
    5
    Didn't notice mic volume issue some people are reporting since i don't use voip or whatsapp voice.

    I think you can dirty flash nightly but be aware if your testing the new experimental build.

    As LuK1337 mentioned.
    "exp builds don't support OTA updates, so you'll have to manually go back to this/next nightly build after testing.
    Everyone with mic issues just disappeared as soon as I dropped that build.
    4
    This is pretty ****ing huge
    4
    Unlike other AOSP 12 ROMs, does it have to be on the latest version of oos12 ?
    Yes! It's higlighted on lineage instructions page:

    WARNING: Before following these instructions please ensure that the device is currently using Android 12 firmware.
    If the vendor provided multiple updates for that version, e.g. security updates, make sure you are on the latest!
    If your current installation is newer or older than Android 12, please up- or downgrade to the required version before proceeding (guides can be found on the internet!).

    [SOURCE: https://wiki.lineageos.org/devices/lemonadep/install]
    4
    Added flashing dtbo to wiki ^.^