UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. systemmaniac2010
    3. Posts
    systemmaniac2010S Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Device Bootloops After Flashing Images [boot.img , system.img , dtbo.img , vendor_boot.img] [Motorola Moto G52] [Halium 13]

      Quick update: Upon reaching out to the Telegram UBPorts Porting forum, Pavlov, a member of the group suggested me to intentionally cause a panic in the init script and stated that after that, hopefully the crash handler can initialize a shell connection for me. I've tried his approach and I also ran the mer_kernel_check utility on the .config file produced during the build process inside workdir/downloads/KERNEL_OBJ and all the flags that came out to be "NOT SET" and were required for halium to work were set in a separate devspecific.config file which has been pushed to the kernel repository but even after all this I face the same issue at the end. Please let me know where I have gone wrong with my approach to implementing the panic in the init script

      Quick update: Upon reaching out to the Telegram UBPorts Porting forum, Pavlov, a member of the group suggested me to intentionally cause a panic in the init script and stated that after that, hopefully the crash handler can initialize a shell connection for me. I've tried his approach and I also ran the mer_kernel_check utility on the .config file produced during the build process inside workdir/downloads/KERNEL_OBJ and all the flags that came out to be "NOT SET" and were required for halium to work were set in a separate devspecific.config file which has been pushed to the kernel repository but even after all this I face the same issue at the end. Please let me know where I have gone wrong with my approach to implementing the panic in the init scriptscript

      Kernel Repository:https://gitlab.com/systemmaniac2010/kernel_motorola_sm6225

      Device Repository:https://gitlab.com/systemmaniac2010/motorola-rhode

      posted in Porting
      systemmaniac2010S
      systemmaniac2010
    • RE: Device Bootloops After Flashing Images [boot.img , system.img , dtbo.img , vendor_boot.img] [Motorola Moto G52] [Halium 13]

      @Keneda Thanks for your concern my friend. I have reached out to the telegram group and a member going by the username Pavel has provided help regards to this issue.

      posted in Porting
      systemmaniac2010S
      systemmaniac2010
    • Device Bootloops After Flashing Images [boot.img , system.img , dtbo.img , vendor_boot.img] [Motorola Moto G52] [Halium 13]

      Device Boot Loop Issue While Porting to Ubuntu Touch (Halium 13)

      I am trying to port my device to Ubuntu Touch, using Halium 13. I have flashed the images to the right partitions, but I encountered a boot loop with the following behavior:

      Boot Loop Sequence

      1. The device shows the Motorola start-up logo for one second.
      2. The device shows the unlocked bootloader warning screen for 6 seconds.
      3. It shows the Motorola logo again for 6 to 10 seconds, but now with a horizontal pixelated line on the screen.
      4. It then shows a blank screen for 5 to 10 seconds.
      5. The cycle repeats, but the line gradually moves down on each reboot.

      Troubleshooting Performed

      At this stage, I entered the fastboot bootloader and tried:

      fastboot boot twrp.img
      

      However, the device immediately started boot looping.

      I then replaced dtbo.img with the one from the latest LineageOS 20 build available for my device.

      After this change, the horizontal line disappeared.

      I was able to successfully boot TWRP using:

      fastboot boot twrp.img
      

      Logging Investigation

      I attempted to read the pstore logs but couldn't find any useful output.

      I suspected the kernel might not have been built with the required logging options enabled.

      To address this, I:

      • Created a separate logging.config file with the right kernel flags.
      • Added it to deviceinfo.
      • Verified that the options were correctly applied to the generated .config file located at:
      workdir/downloads/KERNELOBJ
      
      • Added the appropriate kernel command-line parameters to the vendor cmdline in the deviceinfo file.

      Current Status

      Despite these changes:

      • The device still does not boot properly.
      • USB does not become available.
      • The pstore directory remains empty even after enabling all relevant logging flags and kernel parameters.

      Source Tree

      For debugging and error analysis, the device source tree is available at:

      • https://gitlab.com/systemmaniac2010/motorola-rhode

      Please help me out with this.

      posted in Porting
      systemmaniac2010S
      systemmaniac2010