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

    diesputnikdie

    @diesputnikdie

    0
    Reputation
    128
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    diesputnikdie Unfollow Follow

    Latest posts made by diesputnikdie

    • RE: No graphics - Port to Samsung Galaxy Tab A 9.7 (gt510wifi) stalled

      I have done the udev rules for both platforms, though I had to enter them manually for pm because the standard way of generating them from /var/lib/lxc/android/rootfs/ueventd*.rc fails because the rootdir directory doesn't exist.

      Thanks for the hybris-boot tip. With that I can no longer get an ssh session, but telnet works and diagnosis.log states: CONFIG_DUMMY=y found in /proc/config.gz, must be disabled
      That flag was unset so I went ahead and set it explicitly to false and rebuilt the kernel. After flashing I can see in my host dmesg that it appears to boot normally (I get GNU/Linux Device on rndis0 10.15.19.82) but after a few seconds it reboots. Can't get any logs because it's too quick and mysteriously /proc/last_kmsg is gone. I did set the ANDROID_RAM_CONSOLE* flags in the kernel config.

      Following your advice I booted hybris-recovery, established a telnet session, disabled and masked lxc@android, then echo continue > /init-ctl/stdin. At this point I had ssh, then ran the unmask and start commands and got a reboot again. Ran the commands one more time and captured the following from dmesg: https://paste.ubuntu.com/p/jCpRCMQJ26/

      Going to switch back to ut for now and investigate those potential mounting issues. I appreciate your ongoing help!

      posted in Porting
      D
      diesputnikdie
    • RE: No graphics - Port to Samsung Galaxy Tab A 9.7 (gt510wifi) stalled

      I believe that dmesg is fed by kmsg but I've gone ahead and ran dmesg for the following.

      UT:

      • dmesg: https://paste.ubuntu.com/p/VBTpKxFSrS/
      • mount: https://paste.ubuntu.com/p/zCD6Nc5Z6T/

      PM:

      • dmesg: https://paste.ubuntu.com/p/68hVTZmcD2/
      • mount: https://paste.ubuntu.com/p/dDG5YgKHrG/

      I was referencing the pm porting guide in your last comment and ignore the hybris reference. The halium and ubports Porting pages reference hybris so often I managed to confuse myself. Sorry about that.

      posted in Porting
      D
      diesputnikdie
    • RE: No graphics - Port to Samsung Galaxy Tab A 9.7 (gt510wifi) stalled

      I've been trying this today with different configurations with no luck. I'm slightly confused as to whether I should be following the pm porting guide (https://community.kde.org/Plasma/Mobile/Porting) and setting up the rootfs in /data/lxc/containers/system/rootfs or just targeting pm in the halium-install script (which puts the rootfs image in /data). Following the latter I can almost reach the same state I was in with ut, meaning I can get ssh but still no graphics or adb, and I see that the lxc container is not running.

      /proc/kmsg showed me two interesting things:

      • init: 307] mkdir: can't create directory '/root/android': Read-only file system
      • exe: 255] EXT4-fs (mmcblk0p28): mounted filesystem with ordered data mode. Opts: errors=remount-ro

      It seems like my userdata partition is being mounted as read-only so nothing gets created in /root. My fstab doesn't specify this option.

      posted in Porting
      D
      diesputnikdie
    • RE: No graphics - Port to Samsung Galaxy Tab A 9.7 (gt510wifi) stalled

      Additional info: I cannot figure out how to get info from /proc/last_kmsg. The only way I know to reboot the devices (without using hardware key combos) is to issue a reboot command from the ssh session. Doing so sends the device from a state that looks visually like the bootloader (with the "Samsung Galaxy Tab A" graphics) to a strange state that says "Charging: ??/100". The only way to exit this mode is to reboot with the hardware key combo which, I believe, clears /proc/last_kmsg.

      posted in Porting
      D
      diesputnikdie
    • No graphics - Port to Samsung Galaxy Tab A 9.7 (gt510wifi) stalled

      Greeting UBports Forum,

      I've been having a great deal of fun in my attempted ut port to the gt510wifi. Lots of great guides and info spread across ubports, halium, hybris, and pm have brought me this far.

      I have a successful ssh connection to the device, lxc-info shows that my container is running, and my android partitions appear to be mounted correctly, yet nothing shows on screen.

      The advice in the guide under "Getting more Mir logs" fails because the unity-system-compositor command(s) hang(s). Any attempt to get information from /system/vbin/logcat fails unless run as root, and the only info there is a reference to "debuggerd: Connection refused" and "CANNOT LINK EXECUTABLE "/system/bin/vold": library 'libboringssl-compat.so' not found", both of which seem unrelated.

      From my host machine I cannot see any adb devices.

      I'm stumped at this point. Any advice?

      posted in Porting
      D
      diesputnikdie