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

Stuck on bootloop. No adbd, lsusb doesnt list device.

Scheduled Pinned Locked Moved Porting
redmi note 4g
4 Posts 2 Posters 2.3k 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.
    • Z Offline
      zeeshanhyder
      last edited by NeoTheThird 4 Oct 2017, 11:36 27 Dec 2015, 20:01

      Hello. I am trying to port ubuntu-touch to redmi note 4G. So far i have only been able to get recovery running fine (does it mean kernel is building fine?). But when i boot in normal mode, the device is stuck at bootloader. It doesnt even get listed in lsusb command. Thats a big setback. Any help would be greatly appreciated. I am using configs from original_defconfig with changes from port script.

      TIA.

      1 Reply Last reply Reply Quote 0
      • M Offline
        mariogrip Administrators
        last edited by 28 Dec 2015, 21:48

        Hi,

        can you send me your last_kmsg?

        See here under "If in bootloop" on how to do it:
        https://wiki.ubports.com/w/Bug_report

        you can also check if there is a folder named system-data in /data if yes check the syslog file in /data/system-data/var/log/syslog

        You can also try to set console to tty0 in BOARD_KERNEL_CMDLINE (in BoardConfig.mk in the device folder)

        console=tty0

        1 Reply Last reply Reply Quote 1
        • Z Offline
          zeeshanhyder
          last edited by 29 Dec 2015, 10:05

          I can give u the recovery last_kmsg but that wont help because recovery works fine. I already added console=tty0 and in kernel config CONFIG_VT_CONSOLE and HW_CONSOLE. Nothing. I dont know how to extract when booting normally as its not detected in lsusb. And when i boot recovery everything gets overwritten. I asked alexforsale also. The thing is kernel is made up of two things zImage and ramdisk. When booting in recovery it (kernel) loads fine and android ramdisk loads properly so i get to recovery. This indicates my kernel is fine right? Because in recovery the device is loaded properly (H3 LTE). Now when i boot normally all is see is boot loop. Does this indicate something wrong with ubuntu ramdisk? Now if there was some error in my kernel then even recovery shudnt have booted right? if i am not wrong

          1 Reply Last reply Reply Quote 0
          • Z Offline
            zeeshanhyder
            last edited by 29 Dec 2015, 10:09

            Ok sorry. I read how to go into recovery without damaging last_kmsg. So when i am in bootloop and i press recovery mode key combination the screen goes off and on again. Should i keep pressing the combination until i get to recovery or leave the buttons as soon as screen goes black?

            1 Reply Last reply Reply Quote 0
            3 out of 4
            • First post
              3/4
              Last post