UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. turanmahmudov
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 16
    • Best 5
    • Controversial 0
    • Groups 0

    turanmahmudov

    @turanmahmudov

    9
    Reputation
    7
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    turanmahmudov Unfollow Follow

    Best posts made by turanmahmudov

    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      GitLab CI method works.

      Source:
      https://gitlab.com/turanmahmudov/xiaomi-tissot/

      Kernel & Device Source:
      https://github.com/xiaomi-tissot-ubuntu

      Instructions

      • Get boot.img and system.img here:
        https://gitlab.com/turanmahmudov/xiaomi-tissot/-/jobs/2362910100/artifacts/browse/out/

      • Get vendor.img here:
        https://gitlab.com/turanmahmudov/xiaomi-tissot/-/blob/master/prebuilt/vendor.img

      • Get the latest TWRP with Treble Manager for tissot here:
        https://forum.xda-developers.com/t/recovery-treble-twrp-3-3-1-0-with-tissot-manager.3976117/

        • Format Data in Wipe option (to remove Stock encryption), then Reboot into Recovery again.
        • In TWRP, go to Advanced > Treble Manager and repartition the device by following the wizard.
      • Flash Ubuntu in fastboot mode:
        fastboot flash vendor vendor.img
        fastboot flash boot boot.img
        fastboot flash system system.img

      What doesn't work / Issues

      • Camera
      • GPS
      • Fingerprint
      posted in Porting
      T
      turanmahmudov
    • RE: [Porting] Call for Testers

      WIFI works but I get certificate error when I visit any website. OpenStore doesn't work either because of the certificate error. Is this normal? Is there anything I can do?

      Thanks for the port btw, I was waiting for this to test my apps 🙂

      posted in Google Pixel and XL
      T
      turanmahmudov
    • Need help porting to Xiaomi Mi A1 (tissot)

      Hello everyone. First time trying port.

      I followed this documentation:
      https://docs.ubports.com/en/latest/porting/build_and_boot/H9_build.html

      My manifest file for the device is like this:

      <?xml version="1.0" encoding="UTF-8"?>
      <manifest> 
          <remote name="hassan556"
                  fetch="https://github.com/hassan556/"
                  revision="refs/heads/halium-9.0" />
          
          <project path="device/xiaomi/tissot" name="android_device_xiaomi_tissot" remote="hassan556" />
          <project path="device/xiaomi/msm8953-common" name="android_device_xiaomi_msm8953-common" remote="hassan556" />
      
          <project path="kernel/xiaomi/msm8953" name="android_kernel_xiaomi_msm8953" remote="hassan556" />
      
          <project path="vendor/xiaomi" name="proprietary_vendor_xiaomi" remote="hassan556" />
      </manifest>
      

      My device was Android 9 before starting to port. I tried 2 methods:

      1. I flashed TWRP, installed ubports_GSI, then flashed halium-boot.img.
      2. Downloaded rootfs and GSI as it mentioned in the docs, installed with halium-install script, then flashed halium-boot.img

      Both methods work and I have access to device ssh.

      The problem is device stuck in bootloader. As I understood lxc doesn't start properly.

      I can get the logs you need to debug.

      Thanks.

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      Some logs

      # lxc-info -n android

      Name:           android
      State:          STOPPED
      

      # lxc-start -n android -F
      https://gist.github.com/turanmahmudov/c3d63bb83f1e1f5243e46f74c0dfdb69

      # systemctl status lxc@android

      Failed to get properties: No such interface ''
      

      # lxc-checkconfig
      https://gist.github.com/turanmahmudov/adf424781d093b48f252064404c7c3a0

      # dmesg
      https://gist.github.com/turanmahmudov/9f92bd0a9771b3988bb1bd88604af43e

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      @Flohack can you please help with this? or tag someone who can help me?

      posted in Porting
      T
      turanmahmudov

    Latest posts made by turanmahmudov

    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      GitLab CI method works.

      Source:
      https://gitlab.com/turanmahmudov/xiaomi-tissot/

      Kernel & Device Source:
      https://github.com/xiaomi-tissot-ubuntu

      Instructions

      • Get boot.img and system.img here:
        https://gitlab.com/turanmahmudov/xiaomi-tissot/-/jobs/2362910100/artifacts/browse/out/

      • Get vendor.img here:
        https://gitlab.com/turanmahmudov/xiaomi-tissot/-/blob/master/prebuilt/vendor.img

      • Get the latest TWRP with Treble Manager for tissot here:
        https://forum.xda-developers.com/t/recovery-treble-twrp-3-3-1-0-with-tissot-manager.3976117/

        • Format Data in Wipe option (to remove Stock encryption), then Reboot into Recovery again.
        • In TWRP, go to Advanced > Treble Manager and repartition the device by following the wizard.
      • Flash Ubuntu in fastboot mode:
        fastboot flash vendor vendor.img
        fastboot flash boot boot.img
        fastboot flash system system.img

      What doesn't work / Issues

      • Camera
      • GPS
      • Fingerprint
      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      Source code:
      https://github.com/xiaomi-tissot-ubuntu

      Sound works, Sensors work, GUI works
      No WiFi, No Bluetooth, No Cellular

      I am still trying to make WiFi work. Will give manifest file and install instructions.

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      @lakotaubp yes, GSI didn't work for me. I built halium-boot.img and system.img
      The device boots into Lomiri UI, apps work.
      All the other stuff doesn't work. I will start from scratch.

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      GUI loads. The device is very very slow.
      No WiFi, No Bluetooth, No SIM, No GPS, No Sound

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      new dmesg output:
      https://gist.github.com/turanmahmudov/232c2552842b32bd0ca545277959f139

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      lxc errors fixed with disabling schedtune in kernel defconfig. now lxc container starts.

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      @flohack this?
      # lxc-start -n android -F
      https://gist.github.com/turanmahmudov/c3d63bb83f1e1f5243e46f74c0dfdb69

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      @Flohack can you please help with this? or tag someone who can help me?

      posted in Porting
      T
      turanmahmudov
    • RE: Need help porting to Xiaomi Mi A1 (tissot)

      Some logs

      # lxc-info -n android

      Name:           android
      State:          STOPPED
      

      # lxc-start -n android -F
      https://gist.github.com/turanmahmudov/c3d63bb83f1e1f5243e46f74c0dfdb69

      # systemctl status lxc@android

      Failed to get properties: No such interface ''
      

      # lxc-checkconfig
      https://gist.github.com/turanmahmudov/adf424781d093b48f252064404c7c3a0

      # dmesg
      https://gist.github.com/turanmahmudov/9f92bd0a9771b3988bb1bd88604af43e

      posted in Porting
      T
      turanmahmudov
    • Need help porting to Xiaomi Mi A1 (tissot)

      Hello everyone. First time trying port.

      I followed this documentation:
      https://docs.ubports.com/en/latest/porting/build_and_boot/H9_build.html

      My manifest file for the device is like this:

      <?xml version="1.0" encoding="UTF-8"?>
      <manifest> 
          <remote name="hassan556"
                  fetch="https://github.com/hassan556/"
                  revision="refs/heads/halium-9.0" />
          
          <project path="device/xiaomi/tissot" name="android_device_xiaomi_tissot" remote="hassan556" />
          <project path="device/xiaomi/msm8953-common" name="android_device_xiaomi_msm8953-common" remote="hassan556" />
      
          <project path="kernel/xiaomi/msm8953" name="android_kernel_xiaomi_msm8953" remote="hassan556" />
      
          <project path="vendor/xiaomi" name="proprietary_vendor_xiaomi" remote="hassan556" />
      </manifest>
      

      My device was Android 9 before starting to port. I tried 2 methods:

      1. I flashed TWRP, installed ubports_GSI, then flashed halium-boot.img.
      2. Downloaded rootfs and GSI as it mentioned in the docs, installed with halium-install script, then flashed halium-boot.img

      Both methods work and I have access to device ssh.

      The problem is device stuck in bootloader. As I understood lxc doesn't start properly.

      I can get the logs you need to debug.

      Thanks.

      posted in Porting
      T
      turanmahmudov