**** BEGIN LOGGING AT Fri May 14 02:59:56 2021 May 14 05:42:42 anyone?? May 14 06:01:58 nvm fixed it with github.com/LineageOS/android_device_sample May 14 06:02:01 @mighty17> @mighty17 [nvm fixed it with github.com/LineageOS/android_device_sample], Talk about timing May 14 06:02:22 xD May 14 06:02:34 im using diff source than Lineage May 14 06:02:53 maybe thats why these errors May 14 06:02:59 @mighty17 [im using diff source than Lineage], You can comment it out in device tree May 14 06:03:08 yup yup May 14 06:39:09 and finally build halium-boot and systemimage :D May 14 11:55:19 * mighty17 uploaded an image: (44KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/CfYjUlDihxfuCZddFbkWkTzL/IMG_20210514_162208.jpg > May 14 11:55:34 @Notkit this is what I get normally with halium-boot.img May 14 11:56:01 Another thing halium boot is bigger than the size that twrp can flash so i have to do it via heimdall May 14 11:56:27 maybe halium-boot is bigger than your boot partition and it results in image corruption when flashed? May 14 11:57:09 Yeah that's possible and also explains why Hybris boot boots as it can be flashed via twrp May 14 11:58:55 https://github.com/Unlegacy-Android/android_device_samsung_espresso/blob/aosp-7.1/BoardConfigCommon.mk#L38 this is how big it is May 14 12:03:29 @notkit well any way i can confirm the size?? or rather any solutions? May 14 12:03:48 @mighty17 [@notkit well any way i can confirm the size?? or rather any solutions?], Yes May 14 12:04:03 Go search parted on google and download it May 14 12:04:23 Extract the rar file and push it to /sbin in twrp with pc May 14 12:04:25 i dont have android flashed rn May 14 12:04:30 @mighty17 [i dont have android flashed rn], Twrp May 14 12:04:42 oh nice May 14 12:04:43 It'll be called a parted file May 14 12:04:44 ill do that May 14 12:05:16 @mighty17 [ill do that], After pushing it do `adb shell` and then `chmod 777 /sbin/parted` May 14 12:05:51 Then do `./sbin/parted` in adb shell May 14 12:06:01 alrighty thanks!! May 14 12:06:28 @TheVancedGamer [Then do ./sbin/parted in adb shell], Actually don't do this May 14 12:06:50 Do `./sbin/parted /dev/block/mmcblk0` May 14 12:09:03 okay May 14 12:10:49 Pushed file? May 14 12:11:40 are u sure parted works in twrp? May 14 12:11:48 @mighty17 [are u sure parted works in twrp?], I did it myself May 14 12:12:04 I used it to repartition my phone for ubports May 14 12:12:11 ` 5 73728 90111 8192K 0700 KERNEL` May 14 12:12:18 well 8192K May 14 12:12:26 Do unit b May 14 12:12:30 no need of parted, twrp has fdisk :D May 14 12:12:39 @mighty17 [no need of parted, twrp has fdisk :D], parted is easier May 14 12:12:57 and its humam friendly :) May 14 12:13:02 [Edit] and its human friendly :) May 14 12:13:08 not keen on repartitioning May 14 12:13:12 it can break my device May 14 12:13:15 @mighty17 [not keen on repartitioning], yes I know May 14 12:13:22 We're not gonna repartition May 14 12:13:27 It has a failsafe May 14 12:13:37 we know its 8192Kb in size May 14 12:13:45 @mighty17 [we know its 8192Kb in size], ok May 14 12:13:50 and halium-boot is 9.2mb so yeah it is much bigger May 14 12:13:50 Convert that to bytes May 14 12:14:07 @mighty17 [and halium-boot is 9.2mb so yeah it is much bigger], well mine is 7.4 May 14 12:14:21 Mine is also 8 mb partition May 14 12:14:28 wow so less only 7.4 mb?! May 14 12:14:34 @mighty17 [wow so less only 7.4 mb?!], Yes May 14 12:14:47 Change your options in bc.mk May 14 12:14:56 so we know whats going wrong, halium-boot is too big May 14 12:15:12 Change your opt"> what to change in boardconfig? the partition size? May 14 12:15:23 @mighty17> Change your opt" [what to change in boardconfig? the partition size?], yes May 14 12:15:31 Change it to atleast 7.5 May 14 12:15:36 In bytes ofcourse May 14 12:15:46 what im thinking is to disable some configs in kernel so that will reduce the size of boot.img May 14 12:15:57 @mighty17 [what im thinking is to disable some configs in kernel so that will reduce the si …], You could May 14 12:15:59 Change it to at"> it is 8mb May 14 12:16:05 @mighty17> Change it to at" [it is 8mb], hmm May 14 12:16:10 dunno why it allowed halium boot to be 9 May 14 12:16:14 Disable bt in defconfig May 14 12:16:22 Or debugging options May 14 12:16:29 oh right i got an error during build about recovery size too small that is an issue? May 14 12:16:43 i increased recovery size in bc.mk May 14 12:16:51 @mighty17 [i increased recovery size in bc.mk], nonono May 14 12:17:05 i know im just saying what happened :) May 14 12:17:35 @mighty17 [i know im just saying what happened :)], Ok May 14 12:18:11 whats your actual recovery size? May 14 12:18:15 do i need to remake system image as well? May 14 12:18:29 @mighty17 [do i need to remake system image as well?], Yes May 14 12:18:31 whats your actu"> 8mb May 14 12:18:42 wait a second May 14 12:19:02 This device has boot in recovery i think May 14 12:19:13 Something along those lines May 14 12:19:32 The recovery partition is unused May 14 12:19:33 i dont have BOOT, but rather a KERNEL partition May 14 12:19:47 Hm May 14 12:19:50 https://redmine.replicant.us/projects/replicant/wiki/GalaxyTab270GTP31xx May 14 12:19:57 Do you have datafs? May 14 12:20:02 yes May 14 12:20:03 Or factoryfs? May 14 12:20:06 Ok May 14 12:20:10 i have linked the partitions above May 14 12:20:32 https://redmine.replicant.us/projects/replicant/wiki/GalaxyTab2GTP3100PIT May 14 12:20:37 * i have linked the partitions below May 14 12:21:20 @mighty17 [* i have linked the partitions below], no idea May 14 12:21:23 Ok May 14 12:21:27 nvm May 14 12:21:35 no idea? May 14 12:21:39 Could you disable bt in defconfig May 14 12:21:49 @mighty17 [no idea?], I accidently typed that May 14 12:21:53 yes i did that and im rebuilding halium-boot now May 14 12:21:58 ok May 14 12:22:00 thanks for helping :D May 14 12:26:14 Np May 14 12:28:06 Done? May 14 12:29:03 Sorry got some work will be back in few mins May 14 12:29:11 K May 14 12:33:51 still 9.2 mb :( May 14 12:34:42 `# CONFIG_BT is not set` even with this May 14 12:35:29 @mighty17 [`# CONFIG_BT is not set` even with this], Do config_bt=n May 14 12:35:39 in defconfig it is =n May 14 12:35:48 `CONFIG_BT=n` May 14 12:37:46 well its 9.1 mb now xD need to disable more stuff May 14 12:41:42 @mighty17 [well its 9.1 mb now xD need to disable more stuff], Disable BT_MGMt May 14 12:41:45 @mighty17 [well its 9.1 mb now xD need to disable more stuff], [Edit] Disable BT_MGMT May 14 12:41:48 In defconfif May 14 12:42:02 [Edit] In defconfig May 14 12:43:42 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/FDEvSWmYNqiEPtsetEBTSPQq/message.txt > May 14 12:43:49 the ramdisk is huge May 14 12:43:57 disabling bt wont help here May 14 12:44:12 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/UYmcTusCzfPsxzuzBCMEiJNf/message.txt > May 14 12:48:29 @mighty17 [well"> okay will try that as well May 14 12:48:45 i still cant get why ramdisk is like 4 mb May 14 12:55:27 oh that seems fine ig May 14 12:57:16 shouldnt ramdisk be like 1mb May 14 13:05:53 * ignapk-matrix[m] < https://matrix.org/_matrix/media/r0/download/matrix.org/qZcMpcDkbeEAwRKfHeXpGCmy/message.txt > May 14 13:06:25 @mighty17 [shouldnt ramdisk be like 1mb], Huh May 14 13:06:40 I think the .cpio files are in the way May 14 13:07:13 Ah May 14 13:07:20 We have kernel with ramdisk May 14 13:07:49 And cpio files are huge May 14 13:08:04 Try using abootimg with stock boot.img May 14 13:16:10 It's 1 mb May 14 13:19:59 No ideas then May 14 13:21:54 @notkit, halium devs do you have any ideas? May 14 13:24:11 I told before that halium-boot likely won't fit for you, you may try using hybris-boot + chainloading into /init inside rootfs May 14 13:24:48 but you need to read into init scripts and possibly make small changes to make it work May 14 13:27:48 tried with xz compression and that works May 14 13:28:09 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/CiBSAsCskyDUjHuYTrOUfxFV/message.txt > May 14 13:28:51 hm, that's great then May 14 13:29:12 well Failed to boot :( May 14 13:29:51 yeah, but it means it brought telnet May 14 13:30:37 oh thats great May 14 13:31:32 what address tho? May 14 13:32:30 im in with telnet yay! May 14 13:32:37 Nice May 14 13:32:50 dmesg | grep init May 14 13:33:16 * nergzd723 predicts "console is not set" error May 14 13:33:20 https://pastebin.ubuntu.com/p/DHRFBDFdhG/ May 14 13:33:57 i havent pushed the rootfs, only flashed halium-boot May 14 13:34:18 @mighty17 [i havent pushed the rootfs, only flashed halium-boot], Dis you set console=tty0? May 14 13:34:23 @mighty17 [i havent pushed the rootfs, only flashed halium-boot], [Edit] Did you set console=tty0? May 14 13:34:28 yes May 14 13:34:37 The other tty0 in defconfig? May 14 13:34:41 Ah yes, no init found May 14 13:34:55 `BOARD_KERNEL_CMDLINE += console=tty0` May 14 13:35:02 @mighty17 [`BOARD_KERNEL_CMDLINE += console=tty0`], nono May 14 13:35:07 Look in ubports docs May 14 13:35:10 so in defconfig? May 14 13:35:12 Or halium May 14 13:35:14 Wait, that probably works May 14 13:35:16 @mighty17 [so in defconfig?], Wait a sec May 14 13:35:26 It probably can't boot because rootfs is not there May 14 13:35:28 `CONFIG_CMDLINE="vmalloc=496M omap-cpufreq.safe_suspend_freq=600000000 omap_wdt.timer_margin=30 androidboot.hardware=espresso"` here i guess May 14 13:35:40 @nergzd723 [It probably can't boot because rootfs is not there], will you wait? May 14 13:35:57 wait ill just flash rootfs as well just to clear out other Warnings May 14 13:35:59 There is a section for special samsung devices May 14 13:36:05 @mighty17 [wait ill just flash rootfs as well just to clear out other Warnings], Go to ubports docs May 14 13:36:08 yes yes May 14 13:36:21 @mighty17 [i havent pushed the rootfs, only flashed halium-boot], that's the reason May 14 13:36:22 @mighty17 [yes yes], lemme send the config May 14 13:36:26 `console=sec_log_buf` that's also not right May 14 13:36:32 doesn't seem to be related to console May 14 13:36:37 ``` May 14 13:36:38 CONFIG_CMDLINE="console=tty0" May 14 13:36:38 CONFIG_CMDLINE_EXTEND=y May 14 13:36:59 ig u mean this @TheVancedGamer May 14 13:37:51 Yes May 14 13:37:56 Do that as well May 14 13:38:21 but yeah, push rootfs May 14 13:38:29 And systemimage May 14 13:38:41 for that i ned to rebuild systemimage i guess May 14 13:39:50 Why? May 14 13:40:23 not taking any risks now May 14 13:40:30 it finally boots after months May 14 13:42:37 lol May 14 13:42:48 So the compression was the culprit May 14 13:45:26 yeah xz > gzip xD probably a rare case May 14 13:48:50 but pmOS also uses gzip ramdisks? May 14 13:49:10 I have an idea, perhaps the xz ramdisk is simply smaller? :] May 14 13:49:13 * I have an idea, perhaps the xz ramdisk is simply smaller? :P May 14 13:55:54 xz is said to be 30% smaller than gzip May 14 13:56:37 ``` May 14 13:57:28 that barely fits into 8MB May 14 13:57:34 uhm not barely May 14 13:57:41 how big is halium-boot? May 14 13:57:49 * how big is gzipped halium-boot? May 14 13:58:22 * nergzd723 < https://matrix.org/_matrix/media/r0/download/matrix.org/VYfuSHqrVlnPcyZSAaqWvWGK/message.txt > May 14 13:59:04 https://pastebin.ubuntu.com/p/6NdBgKHj9v/ May 14 13:59:13 nergzd723: i think ur assumption was right May 14 13:59:33 hehehe May 14 13:59:36 now console :D May 14 13:59:59 `run-init: opening console: No such device` May 14 14:00:10 @mighty17 [`run-init: opening console: No such device`], Ha May 14 14:00:12 I was right May 14 14:00:31 can u share ur method? May 14 14:00:43 @mighty17 [can u share ur method?], Me? May 14 14:00:51 i did ubports docs thing as well May 14 14:00:52 ``` May 14 14:00:52 CONFIG_CMDLINE="console=tty0" May 14 14:00:52 CONFIG_CMDLINE_EXTEND=y May 14 14:00:59 yup May 14 14:01:03 @mighty17 [CONFIG_CMDLINE_EXTEND=y], Add these to defconfig May 14 14:01:11 added already May 14 14:01:27 added to bc.mk as well? May 14 14:01:34 yes May 14 14:01:45 This? May 14 14:01:49 ``` May 14 14:01:49 BOARD_KERNEL_CMDLINE := androidboot.hardware=espresso May 14 14:01:49 BOARD_KERNEL_CMDLINE += console=tty0 May 14 14:02:09 Try without both May 14 14:02:25 without?/ May 14 14:02:33 Yes May 14 14:02:41 No tty0 options May 14 14:02:59 okay do i need to rebuild systemimage? May 14 14:03:10 @mighty17 [okay do i need to rebuild systemimage?], Of course May 14 14:03:57 it takes ages to ./halium-install xD May 14 14:06:22 you don't need to ./halium-install May 14 14:06:29 you only changed the kernel part May 14 14:06:47 i need to push systemimage or not? May 14 14:07:02 push - no, build - dunno May 14 14:08:00 ok May 14 14:13:39 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/xqUiogqnAsXtazMsnGXxOWMM/message.txt > May 14 14:13:48 hello there!! :D May 14 14:14:20 and i can ssh in now :D May 14 14:14:48 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/szeLNOhcgDTuIOzkiJniyDOh/message.txt > May 14 14:14:50 wtf???? May 14 14:15:09 i was typing dmesg and before i could even complete it this May 14 14:18:07 `[ 37.285827] init: lightdm respawning too fast, stopped` hm what? May 14 14:18:52 hehe May 14 14:18:54 fun May 14 14:19:04 yay, ubuntu-phablet \0/ May 14 14:19:10 yop!! May 14 14:19:15 we had fix for lightdm not to reboot the system May 14 14:19:39 ?? May 14 14:20:09 * nergzd723 < https://matrix.org/_matrix/media/r0/download/matrix.org/ERRqZSPLHIdUudiZyhZCvFys/message.txt > May 14 14:20:14 stop lightdm May 14 14:20:23 yes i did that lets see now how to fix it May 14 14:21:07 check logcat :P May 14 14:21:13 also, >udev rules May 14 14:22:15 in .cache right May 14 14:22:22 no May 14 14:22:30 /system/bin/logcat May 14 14:22:54 ah yes May 14 14:23:03 https://pastebin.ubuntu.com/p/qTzcjrtRD2/ May 14 14:24:08 mir fails May 14 14:24:19 https://pastebin.ubuntu.com/p/x7r3DTJjJn/ May 14 14:27:02 ah yes mounting error as well, this is fun May 14 14:28:13 `[ 8.278106] mount: mounting /dev/disk/by-partlabel/KERNEL on /root/android//boot failed: No such device` May 14 14:28:52 That's fine May 14 14:28:59 I'm worried about apparmor garbage May 14 14:29:04 If I were you, I'd disable it May 14 14:29:29 wait what? rly? May 14 14:29:54 i just want it working now xD that power reset mode was PAIN May 14 14:30:48 KERNEL isn't supposed to be mountable anyway -_- May 14 14:30:55 oh derp xD May 14 14:31:20 `std::exception::what: Failed to find platform for current system` what May 14 14:31:37 test_hwcomposer_7 May 14 14:31:59 * EGL_PLATFORM=hwcomposer test_hwcomposer_7 May 14 14:32:01 idk about udev rules May 14 14:32:14 ... May 14 14:32:23 Try running that test as root then May 14 14:32:27 slow element :P May 14 14:33:30 `-bash: test_hwcomposer_7: command not found` May 14 14:34:11 why the _7 in end? May 14 14:34:18 wait, how was it called May 14 14:34:22 it's 7_caf for qcom May 14 14:34:32 yeah, just test_hwcomposer must work May 14 14:34:33 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/UimZOypvZwKuoJMSYNEWrAkj/message.txt > May 14 14:36:39 hm, dunno May 14 14:36:55 You need that corkscrew lib, but I don't think it's that necessary rn May 14 14:37:16 try test_egl_configs and test_egl too May 14 14:37:25 also, didn't I say to run it as root? May 14 14:37:32 won't run as user without udev rules May 14 14:38:14 same result as root May 14 14:39:07 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/zLDngoGnASwvmdCVFduuZnLH/message.txt > May 14 14:45:01 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/RTWVLNCzdnlqOjjpJTOEkxgB/message.txt > May 14 14:47:50 here is strace foe hwcomposer https://pastebin.ubuntu.com/p/jCfKpdXSbp/ May 14 14:55:09 I guess you need to get that corkscrew May 14 14:56:14 yup and idk how May 14 14:58:01 "just" get it into systemimage May 14 15:04:23 Just? xD I don't even have the file May 14 15:31:23 Get it May 14 15:31:29 from running Android May 14 15:31:32 or from sfOS May 14 15:32:00 * nergzd723 < https://matrix.org/_matrix/media/r0/download/matrix.org/AJcrDSByJBBkSZYExWSxnlep/message.txt > May 14 15:32:09 I don't think that uses libhybris.... May 14 15:47:52 ah okay coool May 14 15:47:57 <@mighty17:matrix.org> ```"> idk xD May 14 16:42:28 just adb pulled the /system/lib folder just in case it misses more stuff May 14 17:20:12 where am i supposed to paste it tho? May 14 17:20:28 into halium systemimage? May 14 17:20:34 hmm it's mounted ro though iirc May 14 17:21:27 wut? May 14 17:22:40 You need it in /system/lib May 14 17:24:35 i cant scp May 14 17:24:38 argh May 14 17:25:20 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/yJCDZRLAMOPWKRKFQhzIFLhf/message.txt > May 14 17:27:02 derp May 14 17:27:50 ``` May 14 17:27:50 root@ubuntu-phablet:/home/phablet/Downloads# cp libcorkscrew.so /system/lib May 14 17:27:50 cp: cannot create regular file '/system/lib/libcorkscrew.so': Read-only file system May 14 17:34:43 looks like its read only, how can i add it during build May 14 17:36:58 nuruszama was added by: nuruszama May 14 17:37:51 #notes May 14 17:40:40 Avigdor Finkelstein was added by: Avigdor Finkelstein May 14 17:54:02 sherluzz was added by: sherluzz May 14 17:56:40 rebuilding systemimage and i get his May 14 17:56:41 this* May 14 17:56:42 ``` May 14 17:56:42 error: ro.build.fingerprint cannot exceed 91 bytes: Android/aosp_espresso3g/espresso3g:7.1.1/NOF27B/eng.mighty.20210514.222025:userdebug/test-keys (94) May 14 17:58:37 mount -o remount,rw? :p May 14 17:59:15 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/ZomXlSNdacMgvAMSqjGXuBAv/message.txt > May 14 18:00:47 /system -_- May 14 18:00:55 or /android/system May 14 18:00:57 Not sure May 14 18:01:08 ohk May 14 18:03:19 `mount: cannot remount /dev/loop1 read-write, is write-protected` May 14 18:04:56 ¯\_(ツ)_/¯ then May 14 18:05:03 Maybe you need to somehow include it on build May 14 18:05:05 > <@mighty17:matrix.org> ``` May 14 18:05:05 > error: ro.build.fingerprint cannot exceed 91 bytes: Android/aosp_espresso3g/espresso3g:7.1.1/NOF27B/eng.mighty.20210514.222025:userdebug/test-keys (94) May 14 18:05:05 ^^^ May 14 18:05:07 or mount it from twrp May 14 18:05:45 i dont think i can access from twrl May 14 18:06:24 you can mount /data/system.img May 14 18:06:34 <@mighty17:matrix.org> ```"> Don't know about that May 14 18:09:19 too much work :( May 14 18:21:37 seems to be android 7 problem May 14 18:50:05 still dont know what to do about libcorkscrew.so :( May 14 18:54:28 @mighty17 [still dont know what to do about libcorkscrew.so :(], Send it to /systen May 14 18:54:30 @mighty17 [still dont know what to do about libcorkscrew.so :(], [Edit] Send it to /systenm May 14 18:54:36 @mighty17 [still dont know what to do about libcorkscrew.so :(], [Edit] Send it to /system May 14 18:54:40 i cannot May 14 18:54:46 its read only file system May 14 18:55:07 Remount it May 14 18:55:35 `mount -o remount, rw/ May 14 18:55:40 [Edit] `mount -o remount, rw /` May 14 18:58:15 did not work **** ENDING LOGGING AT Sat May 15 02:59:58 2021