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

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

    Scheduled Pinned Locked Moved Solved Porting
    12 Posts 4 Posters 1.9k Views 2 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.
      • C Offline
        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.

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

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

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

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

            AppLeeA LakotaubpL 2 Replies Last reply Reply Quote 0
            • AppLeeA Offline
              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 πŸ˜‰

              LakotaubpL 1 Reply Last reply Reply Quote 0
              • LakotaubpL Offline
                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
                • LakotaubpL Offline
                  Lakotaubp @AppLee
                  last edited by

                  @applee Snap.

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

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

                    LakotaubpL 1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      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
                      • LakotaubpL Offline
                        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 Offline
                          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.

                          AppLeeA 1 Reply Last reply Reply Quote 0
                          • C Offline
                            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
                            • AppLeeA Offline
                              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

                              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