**** BEGIN LOGGING AT Wed Mar 14 03:00:02 2018 Mar 14 04:33:37 @NotKit, Yes Mar 14 04:33:57 @NotKit, What you mean? Mar 14 04:51:08 @JBBgameich, Some of the modern devices utilize file-based encryption, so one can freely access /data without wiping. It's just app and system data in subfolders being encrypted Mar 14 07:49:17 @JBBgameich I can't seem to sync tenshi sources somehow Mar 14 07:50:27 can you confirm if tenshi manifest in halium-devices is up-to-date? Mar 14 08:08:20 tenshi manifest is updated at the time JBB or I uploaded and I haven't changed it since then Mar 14 08:08:52 okay.. sounds like local issue maybe Mar 14 08:09:05 I just did force sync.. let's see Mar 14 08:09:55 JBB told me time ago he could locally sync tenshi tree (since he owns a bq aquaris U whose codename is chaozu, whilst I got a U plus) Mar 14 08:14:00 yeah it was indeed local issue, I did force-sync some parts and it seems to sync now Mar 14 08:14:04 (will take while with slow connection but okay) Mar 14 08:15:07 you'll have a minimum 10 hrs of "free time" before me to come back home!!! Mar 14 08:15:17 😊 Mar 14 08:16:07 one suggestion: I usually maintain a local patch repository with all the changes I made on official tree. Mar 14 08:16:42 Shall I create a new branch to github before uploading all of them for my device? Mar 14 08:17:46 instead of creating repo with patches, you should commit them to upstream or make pull requests Mar 14 08:20:20 JBB should have granted to me write access to my device tree, but I feel a bit unconfident to upload so many changes at the time (I usually create patches with `repo diff > patch_tenshi`). Thus, would it be to upload that patch directly? or file by file changes? Mar 14 08:20:37 sorry, I am pretty newbie on this topic Mar 14 08:23:19 file by file changes Mar 14 08:39:29 Oki, thnx Mar 14 08:47:44 Why this script don't work? https://github.com/Halium/halium-scripts/blob/master/halium-install Mar 14 08:49:29 what does it mean it doesn't work? you have to `cd` to the halium install directory then launch `./halium-install /path/to/rootfs.tar.gz /path/to/system.img ut` Mar 14 08:50:02 once you sync'ed the repo locally Mar 14 08:52:49 @stefanomelchior, I always get zcat: write error: Broken pipe … And sometime the twrp has been frezzed Mar 14 08:53:16 @stefanomelchior, [Edit] I always get zcat: write error: Broken pipe … And sometime the twrp has been freezed Mar 14 08:59:41 Which one of this errors fails build? Mar 14 08:59:46 (Photo, 1245x181) https://irc.ubports.com/DnIjajnR.png Mar 14 08:59:46 @redshaman I mean that you have fallback means in the worst case Mar 14 09:00:07 @redshaman, multiple userdata and boot partitions Mar 14 09:00:42 @NotKit, what it means? there is second fstab or something else? Mar 14 09:01:00 second fstab, yes Mar 14 09:01:34 strange..I already deleted it Mar 14 09:01:43 Maybe accidently deleted real one Mar 14 09:01:45 damn Mar 14 09:06:22 fixed it. Mar 14 09:40:47 iirc, zcat is used in the system.img preparation before sending it to device (through `adb push ...`) Mar 14 09:59:04 @Ellenjott I see you have forked the qcom-audio-caf for the tenshi.. I think it's causing issue after merge of lineageos Mar 14 10:05:12 Can you try the tenshi device build.. I think I'm missing something obvious here.. it's looking for audiopolicyservice library which is provided by e.g either frameworks/av or hardware/qcom/audio-caf/msm8934/.. Mar 14 10:05:27 But it doesn't seem to find either Mar 14 10:13:48 I was told to ask here: how can I help test the nexus 5x ubports? Mar 14 10:49:27 carlos machado was added by: carlos machado Mar 14 10:49:46 how to clear halium /out folder? Mar 14 10:49:48 Bom dia a todos Mar 14 10:53:02 (Photo, 720x1280) https://irc.ubports.com/00yxqgIw.png Mar 14 10:53:18 (Photo, 720x1280) https://irc.ubports.com/KtvoZZxA.png Mar 14 10:53:34 (Photo, 720x1280) https://irc.ubports.com/Q2Hr81ei.png Mar 14 10:53:49 (Photo, 720x1280) https://irc.ubports.com/NGr5JEif.png Mar 14 10:54:05 ? Mar 14 10:54:10 Olá meu nome é Carlos e preciso de ajuda Mar 14 10:54:17 English please Mar 14 10:55:29 I need help I want to know if you have any possibility to install Ubuntu on this device Mar 14 10:55:29 @carlos machado, habla en inglés Mar 14 10:56:15 These are the settings for my device Mar 14 10:57:18 Model Huawei nova 2 Mar 14 10:58:57 Can someone help me? Mar 14 10:59:22 @carlos machado, you need to compile it by yourself if it's not already available Mar 14 10:59:30 There is currently no port available for your device.. if you wanr you need to port it yourself Mar 14 10:59:59 like me :D Mar 14 11:00:18 doing this just for curiosity Mar 14 11:01:32 @redshaman, anyone? Mar 14 11:01:46 or I must just use rm -rf? Mar 14 11:02:10 To tell you the truth I do not understand programming terminal very well command prompt Mar 14 11:02:43 @carlos machado, Entonces olvídalo 👍 Mar 14 11:03:05 Just the basics Mar 14 11:04:10 That this people thought this post was to help people Mar 14 11:04:36 Why @redshaman you said that!!! let's start studying the docs and if you have got a bit of experience on GNU/Linux systems, try this porting. Here you will find help Mar 14 11:05:05 Just not so professional as many here more I understand a little Mar 14 11:05:30 @stefanomelchior, My bad sorry Mar 14 11:05:56 @carlos machado, Okay. Basics. Do you know if your device has LOS or CyanogenMod? Mar 14 11:06:16 look, I'm an IT purchaser, but my hobby is to play with devices. I'm not a professional in s/w development either Mar 14 11:06:34 I just need a little help. Mar 14 11:06:48 I tried and it seems to go well enough Mar 14 11:07:07 first read the docs, then start to play Mar 14 11:07:10 @carlos machado, your device has LOS or Cyanogen? or Resurrection Remix maybe? Mar 14 11:07:18 What custom ROMS you used? Mar 14 11:14:34 Not only did you unlock the bootloader and make root Mar 14 11:17:08 Okay let me ask this way Mar 14 11:17:15 @carlos machado, ¿Tienes LOS para tu teléfono? Mar 14 11:19:07 Yes Mar 14 11:20:45 @carlos machado, Bueno. Necesitará su dispositivo y árboles de proveedores para comenzar a compilar Halium Mar 14 11:23:28 @redshaman, `rm -rf youroutfolder` ? Mar 14 11:24:02 @redshaman, `make clobber` Mar 14 11:24:08 @BlinkSD, yeah I know that but I thought maybe there is spesific command Mar 14 11:24:09 or `mka clean` Mar 14 11:24:16 @bhushanshah, this Mar 14 11:24:25 👍 Mar 14 11:26:57 Why i'ts not compiling files from the list in the .mk files? Mar 14 11:32:29 I joined the work now, but I'll keep up with the comments Mar 14 11:33:07 @redshaman, what do you mean? Mar 14 11:34:34 @bhushanshah, In my vendor folder there is a .mk file which has all the vendor files list needs to be compiled and used in project Mar 14 11:34:58 But it's not compiling them Mar 14 11:35:32 And mka systemimage gives errors about missing vendor files like audio_hw.xml and etc. Mar 14 11:37:38 Can you give one fo such error? Mar 14 11:45:58 Sure wait Mar 14 11:46:28 (Photo, 896x138) https://irc.ubports.com/000IOX2w.png Mar 14 11:46:28 Here Mar 14 11:47:32 And this file is only beginning Mar 14 11:50:31 I don't have that good internet connection to upload all of this files from phone. So there must be way to do proper compile of .mk lists Mar 14 11:50:42 Like in any AOSP based ROM Mar 14 11:51:29 You have cloned vendor repo right? Mar 14 11:51:40 @bhushanshah, Yes Mar 14 11:52:36 can you run git diff in your device repo? Just to see what changes you have made Mar 14 12:00:02 (Photo, 1280x159) https://irc.ubports.com/hcnyPl33.png Look this is the files in vendor folder Mar 14 12:00:12 Why you need diff? Mar 14 12:00:35 This folder must be full of files and folders Mar 14 12:05:48 Does anyone have a link so I can download the necessary files to my device on this comfiable list? Mar 14 12:06:18 @redshaman, well without diff I wouldn't know what changes you have made.. Mar 14 12:06:42 I left installing ubuntu on my pc so when I get home I start the process Mar 14 12:07:03 @bhushanshah, why you need to know what changes I made? Mar 14 12:07:20 to help you? Mar 14 12:09:07 @bhushanshah, Okay. there it is Mar 14 12:09:09 https://gist.github.com/nagizade/b0f52e998cc9c2db5fbadb225b312619 Mar 14 12:09:27 output of git diff from repo Mar 14 12:09:52 not vendor repo but device repo.. Mar 14 12:09:57 have you made any changes there/ Mar 14 12:10:04 i.e device/samsung/.... Mar 14 12:11:45 git diff gives empty in device repo Mar 14 12:11:52 okay Mar 14 12:13:05 @bhushanshah, Also my RIL works well in RR but not works at all in LOS. How this possible? And will it work in Halium? Mar 14 12:16:06 RR is based on LOS. I used same device tree to compile LOS and RR. RIL worked in RR but not in LOS. This is weird. :/ Now using same device tree for Halium. And want to know that will it work for Halium or not Mar 14 12:21:05 Hmmm Mar 14 12:21:23 I can't seem to find a patch but I think some device tree needs files to be removed explicitly Mar 14 12:21:36 what if you reverse/stash the changes in the vendor repository? Mar 14 12:28:20 @bhushanshah, https://github.com/remilia15/android_vendor_samsung_coreprimeve3g/commits/cm-14.1 Mar 14 12:28:29 This is the changes to my vendor tree Mar 14 12:28:38 there is nothing which can be removed Mar 14 12:29:48 @redshaman, this changes I mean Mar 14 12:30:47 @bhushanshah, this is just losing time. Is there any quick way to pull all the system files from phone? Mar 14 12:31:53 generally there is extract script in the device repo Mar 14 12:32:21 @bhushanshah, I know. That script won't work in windows 😁 Mar 14 17:55:01 According to this I need halium-install script https://docs.halium.org/en/latest/porting/install-build/reference-rootfs.html#install-rootfs-and-system-img Mar 14 17:55:04 Where can I get it Mar 14 17:55:52 Please read the docs completely: https://docs.halium.org/en/latest/porting/install-build/reference-rootfs.html#halium-reference-rootfs Mar 14 17:56:09 It's said in the first sentence on the page Mar 14 17:56:51 that's the link to rootfs Mar 14 17:57:24 No? … "Once you have built the system.img from the android tree, you can download and install the rootfs using the halium-install script from the halium-scripts (https://github.com/Halium/halium-scripts/) repository." Mar 14 17:57:51 Damn Mar 14 17:58:05 I didn't read that paragraph Mar 14 17:58:20 188 Mb is too big for my boot section Mar 14 17:58:29 can I place it somewhere else? Mar 14 17:58:31 I mean rootfs Mar 14 17:58:33 188MB? You are flashing the wrong image for sure Mar 14 17:58:46 The rootfs goes to the /data partition, not boot Mar 14 17:59:08 @JBBgameich, what is the size of the one which goes to boot? Mar 14 17:59:15 about 10MB Mar 14 17:59:46 can I run this halium-install scripts from Windows? Mar 14 18:00:31 no, it's a shell script (which only works on Linux like operating systems), and WSL is also not supported Mar 14 18:15:02 One question. Samsung doesn't have fastboot. How I am supposed to flash halium image files? Mar 14 18:16:52 the world isn't full of nexus devices Mar 14 18:17:29 There's some other tool you have to use... I don't remember it off the top of my head. Someone else should chime in. Mar 14 18:17:45 Heimdall Mar 14 18:17:54 How do you use it?... Iunno Mar 14 18:19:01 Looks fairly similar to fastboot... https://android.stackexchange.com/a/162965 Mar 14 18:19:01 @UniversalSuperBox, really? As I know It's alternative for Odin Mar 14 18:19:09 Yep, that's how you flash a Samsung device Mar 14 18:22:07 https://forums.ubports.com/topic/912/samsung-porting-notes-a-loose-collection Mar 14 18:24:05 @UniversalSuperBox, One problem. Odin is not accepting img files. Only tarballs Mar 14 18:24:44 Well, I guess you'll need to figure out how to put your images in a tarball (no one has tried) or install Linux and use Heimdall. Mar 14 18:26:23 does Odin/Heimdall support Samsung Spreadtrum devices as well? Mar 14 18:26:47 @redshaman another way is to flash boot from recovery Mar 14 18:26:49 if you have it Mar 14 18:26:51 @UniversalSuperBox, You don't get it. It's not about me. I have Linux I can install with Heimdall. I am planning to post this ROM or whatever is this. But not everyone has Linux at home. So I need a solution for windows Mar 14 18:27:03 @NotKit, Recovery can flash boot Mar 14 18:27:10 But how about system image? Mar 14 18:27:15 @redshaman get it running first, then you can think how to post it :) Mar 14 18:27:21 you don't flash system image Mar 14 18:27:31 you place img file in /data Mar 14 18:28:01 Every time it loads system from that img file? Mar 14 18:28:04 yes Mar 14 18:28:06 Like in Virtualbox? Mar 14 18:28:15 without emulation Mar 14 18:28:21 but why? Mar 14 18:28:22 [Edit] without emulation/virtualization Mar 14 18:28:31 to make testing easier Mar 14 18:28:51 You haven't built an operating system from your Android tree. Mar 14 18:29:16 You've built a cut-down Android image whose only purpose is to provide driver compatibility with your Android device Mar 14 18:30:51 If you tried to boot your system.img by flashing it, the results would be less than exciting. Mar 14 18:31:00 [Edit] If you tried to boot your system.img by flashing it to /system, the results would be less than exciting. Mar 14 18:31:45 then halium-install scripts just copies system.img file to /data? Mar 14 18:32:14 It also extracts the rootfs to `/data` so that it can be booted from Mar 14 18:32:34 and it converts system.img from sparseimg format to normal ext4 img Mar 14 18:32:41 [Edit] and it converts system.img from sparseimg format to raw ext4 image Mar 14 18:34:08 Let's say I can install hybris-boot from recovery. Rest of all still needs Linux Mar 14 18:35:04 Yep. Plasma Mobile's flash is built around Linux. Ubuntu Touch has a distribution model in system-image and an installer that (most of the time) works on Windows. It'd need some hooking up for heimdall. Mar 14 18:35:49 Focus on getting your port working, then evaluate your options for distribution. Mar 14 18:36:00 This isn't going to be as easy as your common Android porting rodeo. Mar 14 18:36:47 @UniversalSuperBox, I ported MIUI. What can be worse? )) Mar 14 18:36:57 prepare to eat those words Mar 14 18:36:59 :P Mar 14 18:55:33 @redshaman, Thats why I use Heimdall Mar 14 18:56:09 But the tar for Odin is not so hard to craft, just you need a hash or signature inside if I remember correctly. Its documented out there Mar 14 19:10:24 halium-install what is android system.img here? Mar 14 19:10:32 The one I compiled for halium? Mar 14 19:10:53 @Flohack, Found creepy guides in Google Mar 14 19:12:39 @redshaman, Samsung is creepy sometimes, yes. But also dominating the mobile world, and we need ports for their devices Mar 14 19:21:06 @Flohack, I was about img to tarball guides not about Samsung. Mar 14 19:24:45 lol Mar 14 19:24:46 I know Mar 14 19:27:01 I have a problem. halium-install script is not detecting device Mar 14 19:27:23 I must be in Download mode right? Mar 14 19:28:05 No, halium-install needs to be run when in recovery mode Mar 14 19:28:25 it will connect to the device using adb Mar 14 19:29:17 thanks Mar 14 19:34:00 It's still useless. This error comes all the time Mar 14 19:34:01 (Photo, 800x147) https://irc.ubports.com/fHs1NR9p.png Mar 14 19:34:23 Install that packages Mar 14 19:34:25 You are missing the make_ext4fs dependency ... Mar 14 19:34:43 @Mattia990, That packages just don't exist for Arch Mar 14 19:35:01 @JBBgameich, any way to fix ? Mar 14 19:35:07 If this script doesn't work for some reason, you can use my rewrite, which doesn't need ext4fs, but other dependencies: https://github.com/JBBgameich/halium-install Mar 14 19:35:12 @redshaman, Ah, sorry Mar 14 19:35:31 @redshaman, The only solution is to install a make_ext4fs binary Mar 14 19:35:40 @JBBgameich, will try now thanks Mar 14 19:35:50 @JBBgameich, this too Mar 14 19:58:02 @JBBgameich, Found make_ext4fs and simg2img binary files from internet and put them into usr/local/sbin folder with 755 chmod Mar 14 19:58:04 This error comes Mar 14 19:58:26 (Photo, 804x215) https://irc.ubports.com/fGwC5gUK.png Mar 14 19:59:02 You are in TWRP recovery? Mar 14 19:59:17 A recovery without /system/bin/sh sounds strange ... Mar 14 20:03:50 @JBBgameich, Mounted System and it fixed this two: … - exec '/system/bin/sh' failed: No such file or directory (2) - … - exec '/system/bin/sh' failed: No such file or directory (2) - Mar 14 20:04:09 Now only this left: … adb: error: failed to copy 'halium-rootfs.tar.gz' to '/recovery/halium-rootfs.tar.gz': remote Permission denied Mar 14 20:04:35 Please just try my script for now ... I have no clue what's going on in this recovery, but my script only requires working adb for adb push Mar 14 20:05:01 how to run your script? Mar 14 20:05:10 it requires to download twrp Mar 14 20:05:19 No? Mar 14 20:05:32 But you need to have TWRP installed on the device already Mar 14 20:05:44 @JBBgameich, Download TWRP: halium-tool twrp $device Mar 14 20:05:53 @JBBgameich, Yes I have it installed in device Mar 14 20:06:13 @redshaman, Not required if you already have it installed, but if you haven't you can easily download twrp using that script Mar 14 20:06:33 just use `./halium-installed rootfs.gz system.img halium` Mar 14 20:07:53 @JBBgameich, bash: ./halium-installed: No such file or directory Mar 14 20:08:11 [Edit] just use `./halium-install rootfs.gz system.img halium` Mar 14 20:08:17 @JBBgameich, My device isn't listed in official twrp so it's definetly not for me Mar 14 20:08:37 @redshaman, Sorry, mistyped it, please see edited message Mar 14 20:09:32 @JBBgameich, make sure you have all dependencies installed. … dependencies: qemu binfmt-support qemu-user-static e2fsprogs sudo simg2img Mar 14 20:09:37 I don't have Qemu Mar 14 20:09:45 Strange thing is Mar 14 20:10:05 adb recognized device only when I enabled mtp from TWRP Mar 14 20:10:13 when I turn of MTP device goes away Mar 14 20:11:52 [Edit] when I turn off MTP device goes away Mar 14 20:12:48 building was a lot easier than this Mar 14 20:13:57 Okay installing qemu Mar 14 20:30:20 @redshaman, So I thought maybe I need to mount /system as writable to fix this permission error. Tried but getting this error Mar 14 20:30:29 mount: '/dev/block/mmcblk0p25' not user mountable in fstab Mar 14 20:44:13 dm-0 Mar 14 21:01:40 fixed this permission problem by giving 777 chmod to folders Mar 14 21:01:55 flashing completed successfully. got bootloop Mar 14 22:11:04 jouwajam was added by: jouwajam Mar 15 00:23:52 For my galaxy note 4 I just use TWRP to flash the .img file with jbb's script, I also haven't gotten a full GUI boot yet but that's u related, I can ssh in though Mar 15 00:24:28 Unrelated, not u related **** ENDING LOGGING AT Thu Mar 15 03:00:01 2018