Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    SOLVED [Nexus 9] Can't do: hybris-patches/apply-patches.sh --mb, I get error: the previos rebase directory exists but an mbox was specified

    Porting
    4
    12
    529
    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.
    • C
      Carlo last edited by AppLee

      Hi everyone,
      when I run:

      hybris-patches/apply-patches.sh --m
      

      I keep on getting this error and don't know how to fix:

      the previos rebase directory exists but an mbox was specified
      

      Thanks.

      Lakotaubp 1 Reply Last reply Reply Quote 0
      • Lakotaubp
        Lakotaubp @Carlo last edited by

        @carlo Please provide device info it may help with answers.

        1 Reply Last reply Reply Quote 0
        • C
          Carlo last edited by

          @lakotaubp I am trying to port a new device, the Nexus 9 (flounder)

          AppLee Lakotaubp 2 Replies Last reply Reply Quote 0
          • AppLee
            AppLee @Carlo last edited by

            @carlo
            Oh, thanks for the effort.
            I'll move this thread to the porting category hoping it will drag attention from the knowledgeable people πŸ˜‰

            Lakotaubp 1 Reply Last reply Reply Quote 0
            • Lakotaubp
              Lakotaubp @Carlo last edited by

              @carlo I have moved your thread to the Porting section (it makes it a bit clearer what you are aiming at). Also maybe think of editing the title to Nexus 9- can't etc for the same reason.

              C 1 Reply Last reply Reply Quote 0
              • Lakotaubp
                Lakotaubp @AppLee last edited by

                @applee Snap.

                1 Reply Last reply Reply Quote 1
                • C
                  Carlo @Lakotaubp last edited by Carlo

                  @lakotaubp thanks, will do now. As soon as I understand how to do it XD

                  Lakotaubp 1 Reply Last reply Reply Quote 0
                  • Flohack
                    Flohack last edited by

                    You a re facing a Git error message. Obviously you called the command earlier already, and it did not finish its job.
                    run repo sync -j16 and see where it gets stuck, if at all. The android tree has around 400 repos, so I hope its not many, you have to either force-sync them, or go inside each of them and call git am --abort to stop the rebase, before you can do it again.
                    Never call this apply-patches twice, it will mess up your tree pretty badly πŸ˜‰

                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                    C 1 Reply Last reply Reply Quote 0
                    • Lakotaubp
                      Lakotaubp @Carlo last edited by

                      @carlo Click on the three vetical dots on the right and there should be an edit option. Any problems let us know and we can sort it.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Carlo @Lakotaubp last edited by

                        @lakotaubp Hi, too mutch time has passed and I can't edit anymore. I don't know if an admin can modify the title now.

                        AppLee 1 Reply Last reply Reply Quote 0
                        • C
                          Carlo @Flohack last edited by

                          @flohack said in Can't do: hybris-patches/apply-patches.sh --mb, I get error: the previos rebase directory exists but an mbox was specified:

                          git am --abort

                          I did a sync and it got stuck in /bionic because it had not finished last time. I entered the bionic folder and run git am --abort. Then i went in the BUILDDIR folder and rerun repo sync and it seems to have fixed the problem. Thanks a lot!!

                          1 Reply Last reply Reply Quote 1
                          • AppLee
                            AppLee @Carlo last edited by

                            @carlo
                            I modified the title for you.
                            And I'm glad you figured things out.

                            Best of luck

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post