UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    help me to "mka systemimage"

    Scheduled Pinned Locked Moved Porting
    12 Posts 2 Posters 1.5k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      errors @Keneda
      last edited by

      @keneda
      yes ,this is xiaomi4. I don't know do it ,help ,help me

      KenedaK 1 Reply Last reply Reply Quote 0
      • KenedaK Offline
        Keneda @errors
        last edited by

        @errors
        Sorry i'm not a porter/dev, i'll let someone with those skills help you.
        Just wait a little, it's early, activity on forum increase in the evenning.

        2015-2023 : Meizu MX4 ☠️⚰️✝️
        2023-2024 : Nexus 5 ☠️⚰️✝️
        2024-***** : FPOS Fairphone 5
        🇲🇫🇬🇧

        E 3 Replies Last reply Reply Quote 0
        • E Offline
          errors @Keneda
          last edited by

          @keneda I just copied this file, and now the error information is as follows

          Running kati to generate build-lineage_cancro.ninja...
          No need to regenerate ninja file
          Starting build with ninja
          ninja: Entering directory `.'
          ninja: error: '/home/ubuntu/halium/out/host/linux-x86/framework/signapk.jar', needed by '/home/ubuntu/halium/out/target/product/cancro/obj/APPS/TimeService_intermediates/package.apk', missing and no known rule to make it
          make: *** [build/core/ninja.mk:152:ninja_wrapper] 错误 1
          make: 离开目录“/home/ubuntu/halium”
          
          1 Reply Last reply Reply Quote 0
          • E Offline
            errors @Keneda
            last edited by

            @keneda
            111.jpg

            1 Reply Last reply Reply Quote 0
            • E Offline
              errors @Keneda
              last edited by

              @keneda I have checked this file “proprietary-files.txt”

              KenedaK 1 Reply Last reply Reply Quote 0
              • KenedaK Offline
                Keneda @errors
                last edited by Keneda

                @errors
                Really, i have no skill or knowledge to help you further, i'm sorry 😅

                2015-2023 : Meizu MX4 ☠️⚰️✝️
                2023-2024 : Nexus 5 ☠️⚰️✝️
                2024-***** : FPOS Fairphone 5
                🇲🇫🇬🇧

                E 3 Replies Last reply Reply Quote 0
                • E Offline
                  errors @Keneda
                  last edited by

                  @keneda
                  I don't believe ,you must can help me!

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    errors @Keneda
                    last edited by

                    @keneda
                    I modified a file,(~/halium/vendor/xiaomi/cancro/Android.mk) and now the error information is as follows

                    [ 32% 5112/15525] Generated: (/home/ub...arget/product/cancro/android-info.txt)
                    FAILED: /bin/bash -c "(build/tools/check_radio_versions.py device/xiaomi/cancro/board-info.txt ) && (grep -v '#' device/xiaomi/cancro/board-info.txt > /home/ubuntu/halium/out/target/product/cancro/android-info.txt )"
                      File "build/tools/check_radio_versions.py", line 56
                        print "*** Error opening \"%s.sha1\"; can't verify %s" % (fn, key)
                              ^
                    SyntaxError: invalid syntax
                    [ 32% 5112/15525] host C: libsepol <= ...nal/selinux/libsepol/src/conditional.c
                    ninja: build stopped: subcommand failed.
                    make: *** [build/core/ninja.mk:152:ninja_wrapper] 错误 1
                    make: 离开目录“/home/ubuntu/halium”
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      errors @Keneda
                      last edited by

                      @keneda
                      sudo apt-get install python
                      python -V
                      Python 2.7.18
                      now is no problem!

                      KenedaK 1 Reply Last reply Reply Quote 0
                      • KenedaK Offline
                        Keneda @errors
                        last edited by

                        @errors
                        Glad you sorted it out, sorry again for my lack of coding knowledge.

                        2015-2023 : Meizu MX4 ☠️⚰️✝️
                        2023-2024 : Nexus 5 ☠️⚰️✝️
                        2024-***** : FPOS Fairphone 5
                        🇲🇫🇬🇧

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post