@TermuxnTR both
Posts
-
cmdline :"systempart=/dev/block/mapper/system" cause bootloop
Hi, im come back to UBports after install stock rom and i have bootloop in my device, when i try remove that word in cmdline finally it works (stuck at initrd failed)
how i can do for get that work back!?
-
Error to Start Lomiri
Hi everyone

I'm working on porting Ubuntu Touch (20.04) to the Samsung Galaxy Tab A7 Lite (gta7litewifi) using Halium 12 and i stuck at Ubuntu Logo
Here is my repo (its can see usb network):
https://gitlab.com/hahupung/samsung-galaxy-tab-a7-lite.gitLogs for reference:
Log: https://gist.github.com/dev686868/c364c5002d99957fbf57c2106cbd9074Thanks in advance for any insights!
-
System crash at Logo start
i got an error when try starting Ubuntu touch , i saw logo UBport but reboot few second
here is deviceinfo :ydeviceinfo_name="Samsung Galaxy Tab A7 Lite" deviceinfo_manufacturer="Samsung" deviceinfo_codename="gta7litewifi" deviceinfo_arch="aarch64" deviceinfo_halium_version="12" deviceinfo_kernel_source="https://github.com/gta7lite/android_kernel_samsung_ot8.git" deviceinfo_kernel_source_branch="halium-12" deviceinfo_kernel_defconfig="gta7litewifi_defconfig halium.config" deviceinfo_kernel_clang_compile="true" deviceinfo_kernel_llvm_compile="true" deviceinfo_kernel_image_name="Image.gz" deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2 systempart=/dev/mapper/system console=tty0 androidboot.selinux=permissive" deviceinfo_bootimg_header_version="2" deviceinfo_bootimg_partition_size="33554432" deviceinfo_bootimg_os_version="12" deviceinfo_bootimg_os_patch_level="2021-09" deviceinfo_ramdisk_compression="lz4" deviceinfo_flash_pagesize="2048" deviceinfo_flash_offset_base="0x00000000" deviceinfo_flash_offset_kernel="0x40080000" deviceinfo_flash_offset_ramdisk="0x51b00000" deviceinfo_flash_offset_second="0x00f00000" deviceinfo_flash_offset_tags="0x47880000" deviceinfo_flash_offset_dtb="0x47c80000" deviceinfo_dtb="gta7litewifi_dtb" deviceinfo_use_mir_gles2="false" deviceinfo_use_alternative_fb_detection="true" deviceinfo_graphics_drm_device="/dev/dri/card0" deviceinfo_gralloc="gbm" deviceinfo_ubuntu_touch_release="24.04-1.x" deviceinfo_rootfs_image_sector_size="4096" deviceinfo_system_partition_size="3600M" deviceinfo_rootfs_image_size="1310720"and log
[mirserver] Starting [mirserver] Selected driver: ubports:android2 (version 1.8.0) library "libpq_cust.so" not found library "libGL.so" not found [info] No device yaml config found! I/O warning: faied to load "/vendor/etc/cust_pq.xml" [android/server] Error opening HWC HAL [android/server] hotplug: Adding display 0 [android/server] Found 1 matching egl configs [android/server] Selected Mir display format: 1 [GLRenderer] EGL vendor: Android [GLRenderer] GL vendor: Imagination Technologies [GLRenderer] GL renderer: PowerVR Rogue GE8320 [GLRenderer] GL version: OpenGL ES 3.2 [mirserver] Initial display configuration: Output 1: LVDS connected Resolution: 800x1340 [android/server] error during hwc set(). rc = 6 ERROR: gralloc_module.cpp(75): buffer allocation failed errno = -5 (Unknown error) free(): invalid pointer[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/51-lomiri-greeter.conf [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/52-ubuntu-touch.conf [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/90-phablet.conf [+0.00s] DEBUG: [SeatDefaults] is now called [Seat:*], please update this configuration [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf [+0.00s] DEBUG: Registered seat module local [+0.00s] DEBUG: Registered seat module xremote [+0.00s] DEBUG: Registered seat module unity [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ [+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) [+0.01s] DEBUG: Monitoring logind for seats [+0.01s] DEBUG: New seat added from logind: seat0 [+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:* [+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no [+0.01s] DEBUG: Seat seat0: Starting [+0.02s] DEBUG: Using VT 1 [+0.02s] DEBUG: Unity System Compositor: Logging to /var/log/lightdm/unity-system-compositor.log [+0.02s] DEBUG: Launching process 2448: /usr/share/ubuntu-touch-session/lsc-wrapper --file '/run/mir_socket' --from-dm-fd 11 --to-dm-fd 14 --vt 1 [+0.02s] DEBUG: Unity System Compositor: Waiting for system compositor for 60s [+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager [+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0 [+0.03s] DEBUG: Loading users from org.freedesktop.Accounts [+0.03s] DEBUG: User /org/freedesktop/Accounts/User32011 added [+4.12s] DEBUG: Unity System Compositor: Compositor closed communication channel [+4.12s] WARNING: ../../../glib/gmain.c:5802: waitid(pid:2448, pidfd=15) failed: Invalid argument (22). See documentation of g_child_watch_source_new() for possible causes. .... [+4.12s] DEBUG: Unity System Compositor: Unity system compositor stopped [+4.12s] DEBUG: Releasing VT 1 [+4.12s] DEBUG: Seat seat0: Compositor stopped [+4.12s] DEBUG: Seat seat0: Stopping [+4.12s] DEBUG: Seat seat0: Stopped [+4.12s] DEBUG: Required seat has stopped [+4.12s] DEBUG: Stopping display manager [+4.12s] DEBUG: Display manager stopped [+4.12s] DEBUG: Stopping daemon [+4.14s] DEBUG: Exiting with return value 1Thank for answer
-
Mismatch firmware issue
I am trying to port to samsung tab a7 lite using the standalone kernel method detailed in the guide. I have followed every step correctly to my knowledge, however I'm getting the problem is overlay and vendor use android 14 base but my kernel use android 12 (im trying to downgrade but theare are no method to downgrade on my tablet)
and i see mount log in dmesg in host:
[96434.125324] EXT4-fs (loop0): mounted filesystem 00017acc-df4f-433e-ae41-da447717a3f6 r/w with ordered data mode. Quota mode: none.
[96444.601967] EXT4-fs (loop0): unmounting filesystem 00017acc-df4f-433e-ae41-da447717a3f6.
after that , it switch to Usb Mass Storageand my deviceinfo:
ydeviceinfo_name="Samsung Galaxy Tab A7 Lite"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="gta7litewifi"
deviceinfo_arch="aarch64"
deviceinfo_halium_version="12"
deviceinfo_kernel_source="https://github.com/gta7lite/android_kernel_samsung_ot8.git"
deviceinfo_kernel_source_branch="halium-12"
deviceinfo_kernel_defconfig="gta7litewifi_defconfig halium.config"
deviceinfo_kernel_clang_compile="true"
deviceinfo_kernel_llvm_compile="true"
deviceinfo_kernel_image_name="Image.gz"
deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2 systempart=/dev/mapper/system console=tty0 androidboot.selinux=permissive"
deviceinfo_bootimg_header_version="2"
deviceinfo_bootimg_partition_size="33554432"
deviceinfo_bootimg_os_version="12"
deviceinfo_bootimg_os_patch_level="2021-09"
deviceinfo_ramdisk_compression="lz4"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x40080000"
deviceinfo_flash_offset_ramdisk="0x51b00000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x47880000"
deviceinfo_flash_offset_dtb="0x47c80000"
deviceinfo_dtb="gta7litewifi_dtb"
deviceinfo_rootfs_image_sector_size="4096"thank you to any suggest
(Sorry for bad english) -
RE: Black screen issue
@faveoled it disconnecting by me (because the charging cable is about to broken)
-
RE: Black screen issue
@faveoled here is my log :
d
[96202.382307] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, 52:2c:26:d4:93:1a
[96202.390641] rndis_host 1-1:1.0 enp0s20f0u1: renamed from usb0
[96361.641382] usb 1-1: USB disconnect, device number 41
[96361.641557] rndis_host 1-1:1.0 enp0s20f0u1: unregister 'rndis_host' usb-0000:00:14.0-1, RNDIS device
[96363.343089] usb 1-1: new high-speed USB device number 42 using xhci_hcd
[96363.466300] usb 1-1: New USB device found, idVendor=0e8d, idProduct=2000, bcdDevice= 1.00
[96363.466308] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[96363.466311] usb 1-1: Product: MT65xx Preloader
[96363.466313] usb 1-1: Manufacturer: MediaTek
[96365.971531] usb 1-1: USB disconnect, device number 42
[96370.102392] usb 1-1: new high-speed USB device number 43 using xhci_hcd
[96370.226051] usb 1-1: New USB device found, idVendor=0e8d, idProduct=2000, bcdDevice= 1.00
[96370.226060] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[96370.226062] usb 1-1: Product: MT65xx Preloader
[96370.226064] usb 1-1: Manufacturer: MediaTek
[96372.730504] usb 1-1: USB disconnect, device number 43
[96394.175666] usb 1-1: new high-speed USB device number 44 using xhci_hcd
[96394.303215] usb 1-1: New USB device found, idVendor=18d1, idProduct=d001, bcdDevice= 4.19
[96394.303219] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[96394.303220] usb 1-1: Product: Samsung Galaxy Tab A7 Lite
[96394.303220] usb 1-1: Manufacturer: Samsung
[96394.303221] usb 1-1: SerialNumber: R9JRC0036LE
[96434.103730] loop: module loaded
[96434.121296] loop0: detected capacity change from 0 to 6144000
[96434.125324] EXT4-fs (loop0): mounted filesystem 00017acc-df4f-433e-ae41-da447717a3f6 r/w with ordered data mode. Quota mode: none.
[96444.601967] EXT4-fs (loop0): unmounting filesystem 00017acc-df4f-433e-ae41-da447717a3f6.
[96538.066010] usb 1-1: USB disconnect, device number 44
[96542.437266] usb 1-1: new high-speed USB device number 45 using xhci_hcd
[96542.567947] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee0, bcdDevice= 4.19
[96542.567951] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[96542.567952] usb 1-1: Product: Samsung Galaxy Tab A7 Lite
[96542.567953] usb 1-1: Manufacturer: Samsung
[96542.567953] usb 1-1: SerialNumber: R9JRC0036LE
[96937.542485] usb 1-1: USB disconnect, device number 45
[96942.456853] usb 1-1: new high-speed USB device number 46 using xhci_hcd
[96942.580884] usb 1-1: New USB device found, idVendor=0e8d, idProduct=2000, bcdDevice= 1.00
[96942.580889] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[96942.580890] usb 1-1: Product: MT65xx Preloader
[96942.580891] usb 1-1: Manufacturer: MediaTek
[96945.085077] usb 1-1: USB disconnect, device number 46
[96963.146734] usb 1-1: new high-speed USB device number 47 using xhci_hcd
[96963.270254] usb 1-1: New USB device found, idVendor=0000, idProduct=0afe, bcdDevice= 4.19
[96963.270259] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[96963.270261] usb 1-1: Product: TB-X306F
[96963.270262] usb 1-1: Manufacturer: Lenovo
[96963.270263] usb 1-1: SerialNumber: R9JRC0036LE
[96963.387160] usb-storage 1-1:1.0: USB Mass Storage device detected
[96963.387390] scsi host2: usb-storage 1-1:1.0
[96963.387479] usbcore: registered new interface driver usb-storage
[96963.391886] usbcore: registered new interface driver uas
[96964.405094] scsi 2:0:0:0: CD-ROM SAMSUNG File-Stor Gadget 0001 PQ: 0 ANSI: 2
[96964.405548] scsi 2:0:0:0: Attached scsi generic sg0 type 5
[96964.417871] sr 2:0:0:0: Power-on or device reset occurred
[96964.418763] sr 2:0:0:0: [sr0] scsi3-mmc drive: 0x/0x cd/rw tray
[96964.418765] cdrom: Uniform CD-ROM driver Revision: 3.20
[96964.430886] sr 2:0:0:0: Attached scsi CD-ROM sr0
[96987.545312] usb 1-1: USB disconnect, device number 47
[96987.820693] usb 1-1: new high-speed USB device number 48 using xhci_hcd
[96987.944429] usb 1-1: New USB device found, idVendor=17ef, idProduct=0afe, bcdDevice= 4.19
[96987.944433] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[96987.944434] usb 1-1: Product: TB-X306F
[96987.944434] usb 1-1: Manufacturer: Lenovo
[96987.944435] usb 1-1: SerialNumber: R9JRC0036LE
[96988.046729] usb-storage 1-1:1.0: USB Mass Storage device detected
[96988.046822] scsi host2: usb-storage 1-1:1.0
[96989.109001] scsi 2:0:0:0: CD-ROM SAMSUNG File-Stor Gadget 0001 PQ: 0 ANSI: 2
[96989.110044] sr 2:0:0:0: Power-on or device reset occurred
[96989.110569] sr 2:0:0:0: [sr0] scsi3-mmc drive: 0x/0x cd/rw tray
[96989.120742] sr 2:0:0:0: Attached scsi CD-ROM sr0
[96989.120816] sr 2:0:0:0: Attached scsi generic sg0 type 5 -
Black screen issue
Hello , im porting ubuntu touch for device: gta7litewif but it get black screen
i seen get some messages like in this device:
pid.codes Test PID has been connected.
wired connection has been connected.
and 0afe has been connected.how to fix that?
-
RE: Enable CONFIG_DEVTMPFS error
(SOLVED)i forgoted to flash vbmeta and now config works
-
RE: Enable CONFIG_DEVTMPFS error
@idonthatevests i already to unlock bootloader , i tryed change CONFIG_LOCALVERSION to "UBports-tab7lite" but shell still get result ís 4.19.191-25600224-abT220XXU1CVL7
-
RE: Enable CONFIG_DEVTMPFS error
@idonthatevests i tested with that , configs still = n
-
Enable CONFIG_DEVTMPFS error
Hello , im porting ubuntu touch but it not booting
i seen some message like :
pid.codes Test PID has been connected.
wired connection has been connected.
and 0afe has been connected.then , i ask ChatGpt for ask my bugs and it says :
"
Native Ubuntu Touch / Sailfish / Mer NOT POSSIBLE on this device because:
Samsung locks the kernel boot
Android Kernel:
No SYSVIPC
No devtmpfs
Not systemd-ready
No vendor_boot
Cannot boot Halium initramfs
️ Modifying the kernel config has no practical effect"also i cant enable CONFIG_DEVTMPFS to y
$ grep -n "CONFIG_DEVTMPFS" workdir/downloads/android_kernel_samsung_mt6765/arch/ar
m64/configs/gta7litewifi_defconfig (EDITED DEFCONFIG TO Y)
1355:CONFIG_DEVTMPFS=y
1357:CONFIG_DEVTMPFS_MOUNT=y$ adb shell "zcat /proc/config.gz | grep DEVTMPFS"(BUT AFTER FLASH , still not set)
CONFIG_DEVTMPFS is not setcheck kernel but kernel still kernel stock rom)
$ adb shell uname -r
4.19.191-25600224-abT220XXU1CVL7is impossible to porting??
-
RE: Build Ubuntu Touch error : Halium initrd Failed to boot
@MrT10001 okay , i formated userdata partion to ext4 and flash again but this problem continues...
-
RE: Build Ubuntu Touch error : Halium initrd Failed to boot
@faveoled im sure im not use .gz in ramdisk
$ file halium-boot-ramdisk.img.lz4
halium-boot-ramdisk.img.lz4: LZ4 compressed data (v0.1-v0.9) -
RE: Build Ubuntu Touch error : Halium initrd Failed to boot
hello again
i rebuild my project with kernel android 12 base , also i add this to cmdline : systempart=/dev/disk/by-partlabel/systemPreparation: I created a tarball containing the system and rootfs partitions. structure of my tarball like this : tarball/ ├── boot─ dtb Image.gz ramdisk.img.lz4 (and zipped this with gz) and I renamed rootfs.img to ubuntu.img because i follow this guide https://docs.ubports.com/en/latest/porting/build_and_boot/standalone_kernel_install.html . (mv rootfs.img ubuntu.img) after do that , i run prepare fake ota.sh and system images from ota.sh with this tarball and i have this : [user@cachyos-x8664 images]$ ls system.img ubuntu.img and i flash system + rootfs + boot new : [user@cachyos-x8664 utbuild]$ fastboot flash boot boot.img < waiting for any device > Sending 'boot' (12216 KB) OKAY [ 0.561s] Writing 'boot' OKAY [ 0.152s] [user@cachyos-x8664 utbuild]$ fastboot flash system images/system.img Resizing 'system' OKAY [ 0.004s] Sending sparse 'system' 1/11 (262140 KB) OKAY [ 10.996s] Writing 'system' OKAY [ 3.662s] .... Finished. Total time: 168.645s Flashing the userdata partition: [user@cachyos-x8664 utbuild]$ fastboot flash userdata images/ubuntu.img Sending sparse 'userdata' 1/11 (262140 KB) OKAY [ 15.605s] Writing 'userdata' OKAY [ 3.586s] ... Finished. Total time: 187.735s [user@cachyos-x8664 utbuild]$ fastboot reboot Rebooting OKAY [ 0.001s] Finished. Total time: 0.051sand my device get bootloops , why this happens?
(sorry for bad english) -
RE: Build Ubuntu Touch error : Halium initrd Failed to boot
@k.nacke sorry i forgot that, i will try build agian