**** BEGIN LOGGING AT Wed Apr 28 02:59:56 2021 Apr 28 03:20:14 Hey everyone, the link to the GSI zip mentioned in the docs isn't working and giving 404. Any suggestions? Apr 28 03:20:38 I have possibly successfully compiled the "make halium-boot" for my Moto Z2 Play device Apr 28 03:20:43 Halium 9 Apr 28 03:57:59 I have the "dt.img" & "halium-boot.img" files Apr 28 04:43:50 @Jash_Maester [I have the "dt.img" & "halium-boot.img" files], https://t.me/halium/181353 Apr 28 06:29:55 can't flash halium-boot to boot partition Apr 28 06:29:57 fastboot: error: boot partition is smaller than boot image Apr 28 06:30:01 Getting this error Apr 28 06:35:42 dodyirawan85 was added by: dodyirawan85 Apr 28 07:57:18 @Zack83r [Actually iam trying to add my devices in fixup-mountpoints with help form offici …], Still stuck … Anyone has any idea please Apr 28 08:02:39 can you upload your fstab to gist? Apr 28 08:35:04 @dopamine404 [can you upload your fstab to gist?], Trying😂😂 Apr 28 08:41:54 @Jash_Maester [Hey everyone, the link to the GSI zip mentioned in the docs isn't working and gi …], where is it mentioned? Apr 28 08:42:16 @Jash_Maester [fastboot: error: boot partition is smaller than boot image], what is your boot partition and halium-boot.img sizes? Apr 28 08:52:22 @Zack83r [Trying😂😂], good luck:D Apr 28 08:52:59 https://gist.github.com/zack831/bd1ecc97ea740a5779ba429f69112610 Apr 28 08:53:34 @dopamine404 [can you upload your fstab to gist?], https://gist.github.com/zack831/bd1ecc97ea740a5779ba429f69112610 … here you go bro Apr 28 09:00:24 you are writing it like this right? "readlink -f block/bootdevice/by-name/system" Apr 28 09:00:37 @NotKit [what is your boot partition and halium-boot.img sizes?], the stock boot image was of 16.8mb in size. The Halium-boot.img is 17.7mb-18.2mb in size Apr 28 09:00:40 you should write it as readlink -f /dev/block/bootdevice/by-name/system Apr 28 09:01:17 @dopamine404 [you should write it as readlink -f /dev/block/bootdevice/by-name/system], ok let me try Apr 28 09:06:12 @dopamine404 [you should write it as readlink -f /dev/block/bootdevice/by-name/system], no use sir Apr 28 09:14:46 hmm Apr 28 09:15:57 1. Connect your device to your computer … 2. adb shell … 3. readlink -f /dev/block/bootdevice/by-name/system … is what you are doing right? Apr 28 09:17:08 (Photo, 602x119) https://irc.ubports.com/Nz17KdB3.png you should be getting an output like this if that is the case Apr 28 09:17:27 @dopamine404 [1. Connect your device to your computer … 2. adb shell … 3. readlink -f /dev/block/b …], yes Apr 28 09:17:35 Thats interesting Apr 28 09:17:42 what device are you using Apr 28 09:18:15 @dopamine404 [what device are you using], condor … with unofficial lineage os 14.1 Apr 28 09:18:47 @Zack83r [condor … with unofficial lineage os 14.1], Moto E right? Apr 28 09:19:10 @dopamine404 [Moto E right?], yes Apr 28 09:19:26 (Photo, 962x1280) https://irc.ubports.com/MJCqrc2H.png Apr 28 09:19:33 @Zack83r [], Check this bro Apr 28 09:20:18 can you do ls Apr 28 09:20:39 try readlink -f system Apr 28 09:21:08 @Jash_Maester [the stock boot image was of 16.8mb in size. The Halium-boot.img is 17.7mb-18.2mb …], @erfanoabdi is boot partition on Moto Z2 Play 16 mb or 32 mb? Apr 28 09:21:43 @Zack83r [], this is giving output right Apr 28 09:21:47 @NotKit [@erfanoabdi is boot partition on Moto Z2 Play 16 mb or 32 mb?], one sec, let me check Apr 28 09:22:04 @Zack83r [this is giving output right], @dopamine404 Apr 28 09:22:26 @NotKit [@erfanoabdi is boot partition on Moto Z2 Play 16 mb or 32 mb?], 16 Apr 28 09:22:37 16777216 Apr 28 09:22:37 @Zack83r [@dopamine404], I think so Apr 28 09:22:43 welp... just why Apr 28 09:25:47 @dopamine404 [try readlink -f system], not worked … should i go with the output in pic i send Apr 28 09:26:51 @Zack83r [not worked … should i go with the output in pic i send], It should be that one yes Apr 28 09:32:15 @dopamine404 [It should be that one yes], ok thanks for your time and help … hope you will help me again if i got into a problem … which i will😂😂😂 Apr 28 09:41:53 Hey while creating fixup mountpoints … Do I need to include /dev … Or start from /block Apr 28 09:57:22 @Zack83r [Hey while creating fixup mountpoints … Do I need to include /dev … Or start from /bl …], you should include dev Apr 28 09:57:41 @Zack83r [ok thanks for your time and help … hope you will help me again if i got into a pro …], yeah just ask your questions here :D Apr 28 09:58:41 But all the other in that file started with /block … Wait sharing with you Apr 28 10:00:00 (Document) https://irc.ubports.com/Z0W7NULS.null Apr 28 10:01:59 (Photo, 901x465) https://irc.ubports.com/2HG7Kizb.png not necessarily Apr 28 10:12:52 @dopamine404 [], ooh yes … thank you Apr 28 10:12:59 np Apr 28 11:05:19 source build/envsetup.sh … including vendor/cm/vendorsetup.sh … including sdk/bash_completion/adb.bash … including vendor/cm/bash_completion/git.bash … including vendor/cm/bash_completion/repo.bash … rishav@zack83:~/android/halium$ Apr 28 11:06:05 @Zack83r [source build/envsetup.sh … including vendor/cm/vendorsetup.sh … including sdk/bash_c …], is this output wrong because not matching as the porting guide Apr 28 11:13:31 @Zack83r [source build/envsetup.sh … including vendor/cm/vendorsetup.sh … including sdk/bash_c …], Your device file isn't included Apr 28 11:13:49 Huh never mind Apr 28 11:13:57 It's ok Apr 28 11:20:02 @TheVancedGamer [It's ok], Can proceed right! Apr 28 11:20:12 Yes Apr 28 11:20:47 Ok Apr 28 11:56:11 https://paste.ubuntu.com/p/mbsHTZCzW6/ … why giving me syntax error even its not … please check guys Apr 28 12:46:21 @Zack83r [https://paste.ubuntu.com/p/mbsHTZCzW6/ … why giving me syntax error even its not …], anyone pls … still stuck Apr 28 13:34:54 @Zack83r [anyone pls … still stuck], Install python-is-python2 package Apr 28 13:35:28 It wants python2 while python points to python3 Apr 28 13:44:00 @Zack83r you there? Apr 28 13:46:13 @TheVancedGamer [@Zack83r you there?], Yes … Will do it right away Apr 28 13:46:23 Ok Apr 28 14:11:40 @TheVancedGamer [Ok], Worked thank man … And I got new problem Apr 28 14:14:37 Yes? Apr 28 14:23:41 @TheVancedGamer [Yes?], https://paste.ubuntu.com/p/cMXfy9Qztg/ … not even a slightest idea Apr 28 14:24:32 @Zack83r [https://paste.ubuntu.com/p/cMXfy9Qztg/ … not even a slightest idea], Ask someone with more C knowledge Apr 28 14:25:32 "Size of unnamed array is negative " is the error … Right Apr 28 14:28:43 @Zack83r ["Size of unnamed array is negative " is the error … Right], Yes Apr 28 14:30:06 @Zack83r [https://paste.ubuntu.com/p/cMXfy9Qztg/ … not even a slightest idea], @ubports_bot @dopamine404 … any ideas bros Apr 28 14:41:42 (Photo, 1280x127) https://irc.ubports.com/eTwUbcml.png you should be able to fix this with a cast Apr 28 14:41:48 if you can find it in the source code Apr 28 14:42:06 the other one I am not sure Apr 28 14:53:36 @dopamine404 [], elabrorate Apr 28 15:10:27 @NotKit [@erfanoabdi is boot partition on Moto Z2 Play 16 mb or 32 mb?], I managed to shrink down the halium-boot.img to 16.6mb and it now flashed into the boot partition of my phone MOTO Z2 PLAY Apr 28 15:10:43 but now I am getting phone unable to boot errors in dmesg Apr 28 15:10:50 [58145.393925] usb 1-2: Product: Failed to boot Apr 28 15:11:20 to shrink the kernel I disabled kernel debugging then built the mka halium-boot Apr 28 15:42:04 looks fine now Apr 28 15:42:09 telnet to 192.168.2.15 23 Apr 28 15:42:13 dmesg | grep init Apr 28 15:42:22 @Jash_Maester Apr 28 15:42:41 but device freezes. Apr 28 15:42:49 should I telnet anyways? Apr 28 15:43:04 what do you mean under freezes? Apr 28 15:43:08 it should stay on boot logo Apr 28 15:43:51 @NotKit [it should stay on boot logo], ohhh I didn't know that My bad. Apr 28 15:44:00 updating you ASAP Apr 28 15:51:11 Yeah TELNET worked Apr 28 15:51:23 Thanks @NotKit Apr 28 16:03:26 @dopamine404 [], can elaborate sir … srry newbie Apr 28 16:04:06 sadly I can't:/ Apr 28 16:04:27 I don't know where the error is Apr 28 16:04:35 but if you can find the function in the source file Apr 28 16:05:00 lets say something ( ... , problem ) Apr 28 16:05:38 if you write the part "problem" as "(long) problem" Apr 28 16:05:48 that might be a fix even if a little hacky Apr 28 16:06:23 @dopamine404 [that might be a fix even if a little hacky], ok Apr 28 16:07:43 @Zack83r [/home/rishav/android/halium/kernel/motorola/msm8610/include/net/dst.h:245:2: err …], they are two different problems but this one seems more severe Apr 28 16:07:50 I couldn't find much about it on google Apr 28 16:09:16 yeah me too … trying for an hour now Apr 28 16:12:14 @dopamine404 [if you write the part "problem" as "(long) problem"], found the function named it long … now it asks for long unsigned int Apr 28 16:14:53 let me see Apr 28 16:22:28 @dopamine404 [let me see], my bad made wrong change … revert it back … back to where i was😂 Apr 28 16:23:07 static inline void dst_hold(struct dst_entry * dst) … { … /* … * If your kernel compilation stops here, please check … * __pad_to_align_refcnt declaration in struct dst_entry … */ … BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63); … atomic_inc(&dst->__refcnt); … } … check the comment bro Apr 28 16:23:26 wait sharing the file Apr 28 16:24:18 (Document) https://irc.ubports.com/GjCedOsg.null Apr 28 16:25:47 @erfanoabdi [Yes … Halium 10 is close:)], Gib gsi Apr 28 16:27:38 @Zack83r [static inline void dst_hold(struct dst_entry * dst) … { … /* … * If your kernel c …], no idea how to fix this :D Apr 28 16:27:42 but you might do this Apr 28 16:27:43 (Photo, 800x251) https://irc.ubports.com/0egMbzPq.png Apr 28 16:27:58 (Photo, 743x320) https://irc.ubports.com/k4dbsL90.png Apr 28 16:28:29 and just hope to god it works Apr 28 16:29:42 @dopamine404 [but you might do this], Applying right away sir Apr 28 16:29:58 khairulaminnafiz was added by: khairulaminnafiz Apr 28 16:31:03 @Zack83r [Applying right away sir], good luck :p Apr 28 16:35:56 failed … same error😔 Apr 28 16:36:51 same error? Apr 28 16:37:08 if it isn't you are making some progress:D Apr 28 16:38:31 @dopamine404 [same error?], yep same Apr 28 16:38:56 ah Apr 28 16:39:56 (Photo, 678x181) https://irc.ubports.com/UcFXMzm6.png Apr 28 16:40:04 is there any mistake I am doing? Apr 28 16:41:00 [ 2.790321,1] initrd: checking filesystem integrity for the userdata partition … [ 2.798716,5] F2FS-fs (mmcblk0p54): Unrecognized mount option "errors=remount-ro" or missing value … [ 2.798733,5] F2FS-fs (mmcblk0p54): Unrecognized mount option "errors=remount-ro" or missing value … [ 2.799054,5] mount: mounting /dev/mmcbl Apr 28 16:41:01 k0p54 on /tmpmnt failed: Invalid argument … [ 2.800445,5] umount: can't umount /tmpmnt: Invalid argument … [ 2.846311,1] initrd: checking filesystem for userdata took (including e2fsck) 0 seconds … [ 2.852220,6] dumpe2fs 1.43.4 (31-Jan-2017) … [ 2.853747,6] dumpe2fs: Bad magic number in super-block while trying to open /dev/mmcblk0p54 … Apr 28 16:41:01 [ 2.857913,5] resize2fs 1.43.4 (31-Jan-2017) … [ 2.859137,5] resize2fs: Bad magic number in super-block while trying to open /dev/mmcblk0p54 … [ 2.859217,5] Couldn't find valid filesystem superblock. … [ 2.859649,1] initrd: resized userdata filesystem to fill /dev/mmcblk0p54 … [ 2.859705,1] initrd: mounting /dev/mmcblk0p54 … [ 2. Apr 28 16:41:01 867646,5] ntfs: (device mmcblk0p54): parse_options(): Unrecognized mount option discard. … [ 2.966293,4] src_detect_handler: chip->usb_present = 0 usb_present = 1 … [ 2.966562,4] smbchg_fg_ready: SMBCHG: FG Status: Unknown Battery … [ 2.966570,4] smbchg_fg_ready: SMBCHG: FG Status: Not Ready! Apr 28 16:41:20 getting errors while mount Apr 28 16:41:56 @Jash_Maester [], give space after each line … for ex mmcblk0p23 ' \ Apr 28 16:42:16 @Zack83r [give space after each line … for ex mmcblk0p23 ' \], okay Apr 28 16:42:34 so here we go recompiling again Apr 28 18:00:00 Akatsu39 was added by: Akatsu39 Apr 28 18:00:17 Singleton how is your leeco port? Apr 28 19:21:06 where do the manifest files go in halium 10? Apr 28 19:56:58 vendor/halium/halium-devices, but beware that I tried only generic image-based ports with Halium 10 Apr 28 19:57:36 if you want to try it for mido, I probably won't be able to help with that Apr 28 23:01:02 Sthomson was added by: Sthomson Apr 29 00:28:43 Jean marc was added by: Jean marc **** ENDING LOGGING AT Thu Apr 29 02:59:57 2021