**** BEGIN LOGGING AT Sun May 16 03:00:13 2021 May 16 03:16:55 mighty17, missing /dev/"> Yup straces are awesome for debugging May 16 03:17:24 This is what we did"> Well galaxy nexus and Tab2 are very similar I'll use this method and try thanks! May 16 03:18:15 Where is the file supposed to be tho?? May 16 03:48:47 you may be missing Powe"> well my defconfig doesnt have anything powervr, i think vendor_ti_omap4 builds and adds powervr stuff May 16 04:02:40 Yadhu Krishna was added by: Yadhu Krishna May 16 05:11:06 This is what we did"> As in this goes in device or kernel? May 16 06:36:57 Balraj Vangari was added by: Balraj Vangari May 16 06:37:12 Hello May 16 06:54:41 can anyone see anything wrong with my manifest. It gives an error saying mismatched tag, and points to the tag. https://paste.ubuntu.com/p/BMWSgwgKFp/ May 16 06:54:57 manifest and full logs in link May 16 07:23:18 Hi hexagon xD espresso dev as well May 16 07:55:32 manifest looks fine to me May 16 07:57:29 just git clone it xD May 16 10:03:42 Herrie: should i just make a folder in the kernel and paste the nexus patch there (and edit it for espresso) and rebuild halium boot? May 16 10:37:32 @mighty17 [Herrie: should i just make a folder in the kernel and paste the nexus patch ther …], Let me have a further look in the recipes to see what we did exactly May 16 10:41:22 Seems we build it as kernel module. May 16 10:41:58 We also had some specific patches on 3.0 kernel for FB: https://github.com/shr-distribution/linux/commit/7785de5bb259001923c77bc666ef503b78c93f49 and https://github.com/shr-distribution/linux/commit/05a427166a488ccb935bf3ba685a566eb113fd6b May 16 11:03:33 Seems we build it a"> Yea but fir that won't we need a makefile, kconfig and then set the config May 16 11:03:41 Or are there other ways which I'm not aware of May 16 11:03:57 We also had some sp"> I'm using 3.4 kernel May 16 11:04:48 But I don't have this, so I'll add it May 16 12:23:44 So Herrie I'll get commits from this branch right https://github.com/shr-distribution/linux/tree/tuna/3.0/cm-12.1 May 16 12:55:40 Not sure if they will help anything, but who knows May 16 12:56:50 i still dont understand how to do https://github.com/shr-distribution/meta-smartphone/blob/pyro/meta-samsung/recipes-kernel/pvrsrvkm-sgx540/pvrsrvkm-sgx540-module_git.bb Herrie can u like the kernel code or tell how its done May 16 13:03:29 @mighty17 [i still dont understand how to do https://github.com/shr-distribution/meta-smart …], Well it's done in Yocto's machine conf file... May 16 13:03:56 It adds a runtime depends on the kernel module it seems: https://github.com/shr-distribution/meta-smartphone/blob/pyro/meta-samsung/conf/machine/include/tuna.inc#L37 May 16 13:06:49 i dont think halium has these conf files May 16 13:06:58 let alone meta-device stuff May 16 13:07:46 No it doesn't so it should be somewhere in kernel build where it pulls in this module May 16 13:07:49 Just I'm also not sure where May 16 13:07:56 Maybe pmOS has something in their build? May 16 13:08:10 unlikely about pmos May 16 13:08:35 No it doesn't so it"> so hardware/ti/omap4? May 16 13:11:54 I'm not sure how these external modules would be pulled in during a kernel build really May 16 13:12:07 I would expect there's something in the Makefile maybe, hard to say May 16 13:13:42 @Herrie1982 [I would expect there's something in the Makefile maybe, hard to say], Kconfig May 16 13:13:56 That pulls in the modules May 16 14:30:24 kconfig wait how? May 16 14:34:24 ok so acc to http://www.mardy.it/blog/2019/07/notes-on-porting-the-samsung-j3-to-halium-+-ubports.html i can use system.img from a rom or smth? May 16 14:34:25 might solve these issues May 16 14:34:37 `I then downloaded the original Samsung ROM (see below for the link) and unzipped it in the rootfs directory I created before. That produced a file named J320FXXU0AQK2_J320FOXE0AQK2_J320FXXU0AQI1_HOME.tar.md5, from which I extracted the system.img and uploaded it to the device along with the halium rootfs, as explained in the "Halium guide":` May 16 15:14:46 Dipankar Bora was added by: Dipankar Bora May 16 15:57:01 tercites was added by: tercites May 16 16:10:09 Herrie: this yocto os sounds cool, is it worth porting? May 16 16:53:28 I get a error of recovery.img too large while building mka systemimage, Im trying to port ubports to samsung note 4 SM-N910C … I added this in my device/samsung/treltexx/BoardConfig.mk … # Partitions … BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216 … BOARD_RECOVERYIMAGE_PARTITION_SIZE := 14680064 … BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3 May 16 16:53:28 774873600 … BOARD_USERDATAIMAGE_PARTITION_SIZE := 26965180416 … Then I get error like this … home/sam/halium/out/target/product/treltexx/recovery.img maxsize=14986752 blocksize=4224 total=18053136 reserve=152064 … error: /home/sam/halium/out/target/product/treltexx/recovery.img too large (18053136 > [15138816 - 152064]) May 16 16:57:40 Boolyhuman was added by: Boolyhuman May 16 16:58:21 How to flash my nokia 5.1 plus May 16 17:05:21 18053136 is the size of recovery built, but pls check how big is recovery partition May 16 17:07:01 259 2 16384 mmcblk0p10 May 16 17:07:10 this is my recovery partition got from adb May 16 17:07:35 lrwxrwxrwx 1 root root 21 May 16 06:44 RECOVERY -> /dev/block/mmcblk0p10 May 16 17:08:12 idk i have had problems with halium-boot being too big and the device goes into power reset mode or smth May 16 17:08:45 try using different compression for the kernel ig then? u can change BOARD_RECOVERYIMAGE_PARTITION_SIZE in boardconfig but idk if thats the correct way May 16 17:09:12 compression? I dont know where to set that May 16 17:10:21 I have seen other people BoardConfig.mk for the same device and they are increasing the size, my question is that after all that is built, will the recovery partition fit the recovery image we built May 16 17:11:05 you arent flashing recovery though right? May 16 17:11:19 compression? I "> in the devices's defconfig May 16 17:11:30 in kernel folder May 16 17:12:01 I have seen oth"> that you need to check how big it is in your device which u showed up May 16 17:12:43 this is the compression section of my defconf … # … # Compression … # … CONFIG_CRYPTO_DEFLATE=y … # CONFIG_CRYPTO_ZLIB is not set … CONFIG_CRYPTO_LZO=y May 16 17:14:03 this is my device recovery partition … 259 2 16384 mmcblk0p10 … but it looks like my recovery.img is getting bigger than that May 16 17:14:37 try with different compressions then ig, coz for me halium-boot was bigger than boot partition and so it did not boot May 16 17:14:44 like xz compression May 16 17:14:55 what is ig? May 16 17:15:17 @notkit can i just paste the modules from build system to device and it will work May 16 17:15:24 what is ig?"> i guess May 16 17:15:51 what would be the config for xz compression May 16 17:15:56 to /lib/modules and then mkdir the 3.4.112 folder and paste it there May 16 17:16:42 what would be t"> https://github.com/Halium/projectmanagement/issues/238#issuecomment-841757975 this is how it was for me May 16 17:16:54 * @herrie @notkit can i just paste the modules from build system to device and it will work May 16 17:18:56 let me build again May 16 17:20:50 my compression config looks like this now, is it correct … # … # Compression … # … #CONFIG_CRYPTO_DEFLATE=y … ## CONFIG_CRYPTO_ZLIB is not set … #CONFIG_CRYPTO_LZO=y … CONFIG_KERNEL_GZIP=n … CONFIG_HAVE_KERNEL_XZ=y … CONFIG_KERNEL_XZ=y May 16 17:21:17 okay May 16 17:23:17 should I build again using mka systemimage or start again from source build/envsetup.sh May 16 17:23:43 davigamer987 was added by: davigamer987 May 16 17:41:39 now I get another error while building using mka systemimage … hardware/broadcom/libbt/src/hardware.c:44:10: fatal error: 'bt_hci_bdroid.h' file not found … #include "bt_hci_bdroid.h" May 16 17:51:57 dunno about that, try searching on interner May 16 17:52:00 internet* May 16 17:53:56 already tried and I get no relevant results May 16 17:56:42 sorry i dont know about this can u share the kernel source? May 16 18:00:10 how can I share the source May 16 18:01:48 cosmian May 16 18:05:22 link the github? May 16 18:07:43 https://pastebin.com/q9J8E4ee May 16 18:08:28 this is my manifest and from there I got all my code May 16 18:09:49 seems to be something in hardware causing issue May 16 18:10:23 I checked in online repos and checked code and there also no bt_hci_bdroid.h file in those repos May 16 18:10:36 am I missing any repo for that header file May 16 18:11:20 and this `hardware/broadcom/libbt/src/hardware.c` ? May 16 18:12:34 https://pastebin.com/Xfnw2WSC May 16 18:16:26 https://github.com/LineageOS/android_external_bluetooth_bluedroid/ it is in this repo May 16 18:16:30 I found the file on internet but I dont know how to get it on system … https://android.googlesource.com/platform/external/bluetooth/bluedroid/+/5738f83aeb59361a0a2eda2460113f6dc9194271/hci/include/ May 16 18:17:23 ok I will add this to my manifest and try again May 16 18:17:40 once I do repo sync should I start from starting or just do mka systemimage May 16 18:18:52 mka should work May 16 18:20:59 May 16 18:21:18 I added this entry into my manifest, let me know if this is correct with path May 16 18:22:35 I think bluetooth/bluedroid in path May 16 18:32:57 I dont see you in members May 16 18:33:04 how can I contact you personally May 16 18:35:01 I did repo sync and downloaded that repo but when I do mka systemimage then again I get the same error, seems like it is not detected for compiling May 16 18:40:16 well i dont know then May 16 18:40:32 that doesnt make sense, i cannot find that file in any repos from your manifest May 16 18:40:38 I started over with source/envsetup.sh and till mkasystemimage and now I got the same error May 16 18:41:04 from last 10 days Im getting nowhere with this porting May 16 18:41:42 i do have the file myself, ill try searching on my system May 16 18:41:58 from last 10 da"> i wasnt for months xD May 16 18:42:04 how can I contact you on telegram personally May 16 18:42:17 i am not on telegram May 16 18:42:18 I have other doubts which are not suitable in group May 16 18:42:25 then where are you May 16 18:42:39 freenode IRC in #halium May 16 18:43:04 lol that file doesnt exist for me as well but i do not get the error while mka systemimage May 16 18:45:03 Where is gemian rootfs nowdays? May 16 18:46:26 how do I get into halium on irc, im using hex chat May 16 18:48:20 which name are you in that group May 16 18:50:19 i am mighty17 only May 16 18:50:35 also asking me doubts isnt a good idea xD May 16 18:51:06 Im new to porting so I have so many doubts May 16 18:51:27 seems like you are experienced in this arena May 16 18:52:52 Im deleting halium folder and start from the scratch again May 16 18:53:15 no dude dont get frustruated May 16 18:53:23 which device did you port to and can I get your manifest May 16 18:54:04 i am still stuck in my porting May 16 18:54:31 and i dont have a manifest as i changed sources frequently xD May 16 18:54:32 https://github.com/Halium/projectmanagement/issues/238 my device May 16 18:56:12 there are much more experienced people than me, im just a newbie May 16 18:58:28 any bright ideas other than to restart the whole process May 16 18:59:24 wait for someone else to help? May 16 19:02:09 on the other topic, did you patch the kernel as explained in … https://docs.halium.org/en/latest/porting/build-sources.html … and did you change files according to this commit … https://github.com/ubports/android_kernel_google_msm/pull/5/files May 16 19:02:59 I did but I get errors while compiling so I started over again and didnot patch anything, now Im working with base kernel, lets see if its builds first May 16 19:03:39 on the other to"> it already boots and i can ssh in, its the display that isnt working May 16 19:08:21 so there is no need for patching, as they claim that it will not boot without patching May 16 19:08:40 yes May 16 19:09:24 I did see a 3hrs video of live porting on youtube and that encouraged me to get into this May 16 19:09:38 same lmao May 16 19:11:02 I already use sailfish os on my note 4, well there are not many apps for it but anyways Im trying it, after installing it I thought to get ubuntu touch on my device just like sailfish May 16 19:12:13 nice nice all the best! May 16 19:18:01 after a couple of months I want to completely move onto linux on desktop and phone too May 16 19:18:25 for now Im having kubuntu on virtual box and sailfish os on phone May 16 19:18:36 yeah it would be fun!! May 16 19:47:57 Raj4u5 was added by: Raj4u5 May 16 19:56:51 I am trying to build Halium for Realme 3 Pro and currently running into a hiccup with the build toolchain I think. The only search results I found recommended re-initing the repo, so I did the setup, patch and breakfast commands again before retrying make. … https://paste.ubuntu.com/p/m65CgDCSdP/ May 16 20:00:44 I'm a noob, have zero past experience in building any kernel/ROM/whatever. Just want to use Ubuntu Touch, but no one else seems interested in porting it. May 16 20:02:28 0 May 16 20:02:29 I am tryi"> `TARGET_PRODUCT=aosp_arm` May 16 20:02:43 did you do the lunch/breakfast commands? May 16 20:03:01 @thesunisadeadlylazer check parts of error: vendor/vendor_realme_3pro/Android.bp it complains about May 16 20:03:02 ok u did them May 16 20:03:50 https://stackoverflow.com/questions/59658280/erro-unrecognized-module-type-android-app-import-when-building-aosp-10-r20 May 16 20:03:57 well its LineageOS stuff May 16 20:04:05 @thesunisadeadlylazer make sure you're not using vendor from newer Android version than 9/LineageOS 16 May 16 20:04:34 `PLATFORM_VERSION=9` May 16 20:05:00 That could be it... I'll make sure I'm using Android 9 vendor before reporting back. Thanks. May 16 20:05:28 @notkit anything i can do about powervr or just give up? May 16 20:07:30 @mighty17 [did you do the lunch/breakfast commands?], yes May 16 20:08:13 Vendor is probably the cause. Have to track down a confirmed Android 9 vendor. It's a bit messy for my device. May 16 20:15:28 mighty17, your particular issue is the moment is that you need to build kernel module May 16 22:12:29 tomma_d was added by: tomma_d May 16 23:11:25 I removed entire halium folder and started process from scratch and again got the same error as bt_hci_bdroid.h is missing, I even added relevant repo in my manifest as said earlier May 16 23:21:57 I made some changes, since I got the repo from what you have said I copied some header files into error folder and now its accepting those header files, … now I need hci_audio.h May 16 23:22:10 its not found in that repo so is there any other repo for that file May 16 23:49:10 its found in this but I dont know how to get it on my system May 16 23:49:12 https://android.googlesource.com/platform/system/bt/+/fa8c795/hci/include/ May 16 23:55:09 hardware/broadcom/libbt/src/hardware.c:46:10: fatal error: 'hci_audio.h' file not found … #include "hci_audio.h" May 16 23:55:53 does anyone has file not found errors huh? it kinda seems strange when the whole halium should build with default settings right **** BEGIN LOGGING AT Mon May 17 01:18:04 2021 **** ENDING LOGGING AT Mon May 17 02:59:57 2021