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

    Need help at creating xml file for repo

    Scheduled Pinned Locked Moved Unsolved Porting
    3 Posts 3 Posters 571 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.
      • Y Offline
        Yxles
        last edited by

        I've been following this guide here: https://docs.ubports.com/en/latest/porting/build_and_boot/H7_setup_sources.html

        I've been trying to make one for Samsung Galaxy Tab 2 10.1 but it always failed at envsetup.sh. So if allowed, can someone send an example of how the xml should look like?

        AppLeeA 1 Reply Last reply Reply Quote 0
        • AppLeeA Offline
          AppLee @Yxles
          last edited by

          Hi @yxles
          I moved your post to the "porting" category, hoping it will reach people able to help you (unfortunately it's not my case).

          1 Reply Last reply Reply Quote 0
          • E Offline
            EliCh
            last edited by

            I search on github and found CyanogenMod/android_device_samsung_p5113.

            From this repo and cm.dependencies therein I suggest your manifest should look like

            <?xml version="1.0" encoding="UTF-8"?>
            
            <manifest>
              <remote name="github" fetch="https://github.com/CyanogenMod/" />
              <project name="android_device_samsung_p5113" path="device/samsung/p5113" remote="github" revision="cm" /> 
              <project name="android_device_samsung_p5100" path="device/samsung/p5100" remote="github" revision="cm" /> 
              <project name="android_kernel_samsung_espresso10" path="kernel/samsung/espresso10" remote="github" revision="cm" />
              <project name="android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm" />
            
            </manifest>
            

            I'm not sure if it has properly settle down sources needed for your devices, please check it carefully.

            Btw, note that the docs you mentioned works for halium>=7.1, which based on cm>=14. However the latest support for your device is cm12.1. It seems that you should at first adapt your source to fix some new features provided from cm14. It is a huge work ...

            (Yay... in fact that is what I have experienced on my device... lol)

            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