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 394 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
            • First post
              Last post