**** BEGIN LOGGING AT Tue Jun 05 03:00:16 2018 Jun 05 07:53:08 @vanyasem, Hi @bhushanshah , can you hel with audio anda camera? … test_camera error: https://paste.ubuntu.com/p/4hPRv8XwWW/ … test_audio error: https://paste.ubuntu.com/p/HxJHFZfxmH/ … thanks Jun 05 07:53:25 @vanyasem, [Edit] Hi @bhushanshah , can you hel with audio and camera? … test_camera error: https://paste.ubuntu.com/p/4hPRv8XwWW/ … test_audio error: https://paste.ubuntu.com/p/HxJHFZfxmH/ … thanks Jun 05 08:03:36 @vanyasem, [Edit] Hi @bhushanshah , can you help with audio and camera? … test_camera error: https://paste.ubuntu.com/p/4hPRv8XwWW/ … test_audio error: https://paste.ubuntu.com/p/HxJHFZfxmH/ … thanks Jun 05 09:37:13 An idea, hallium treble rom, it can be flashed on any device with treble support. What do u think guys? Bad idea? Isnit possible? Jun 05 09:37:20 [Edit] An idea, halium treble rom, it can be flashed on any device with treble support. What do u think guys? Bad idea? Isnit possible? Jun 05 09:38:05 @gouster4, do you really think you're the first one to come up with that idea Jun 05 09:38:16 we need to add support for android 8.0 first lol Jun 05 09:38:19 @vanyasem, Idk. Maybe not Jun 05 09:38:36 @vanyasem, Then it will be possible, right? Jun 05 09:39:16 everything is possible if you code it Jun 05 09:39:36 you're welcome to do it. it's not the highest priority as of now Jun 05 09:40:24 @vanyasem, it's being discussed since the september of 2017, use the "Search" button. It's really useful Jun 05 09:44:02 My device doesnt support trenle anyways, but none of our devs want build hallium, and my building ar at lvl -10. And there is some chance that some of our devs will make treble support. I respect that they dont want build halium or whatever else, they are not paid for that, and they can do whatever they want, and i can be happy tha Jun 05 09:44:02 t they are sharing theyrs work with us. Jun 05 09:44:09 [Edit] My device doesnt support treble anyways, but none of our devs want build hallium, and my building ar at lvl -10. And there is some chance that some of our devs will make treble support. I respect that they dont want build halium or whatever else, they are not paid for that, and they can do whatever they want, and i can be ha Jun 05 09:44:10 ppy that they are sharing theyrs work with us. Jun 05 09:44:31 [Edit] My device doesnt support treble anyways, but none of our devs want build hallium, and my building skills are at lvl -10. And there is some chance that some of our devs will make treble support. I respect that they dont want build halium or whatever else, they are not paid for that, and they can do whatever they want, and i c Jun 05 09:44:31 an be happy that they are sharing theyrs work with us. Jun 05 09:45:12 Nevermind, maybe later. Jun 05 09:56:04 @gouster4, Device? Jun 05 09:57:10 @theimpulson, Xperia XZ Jun 05 09:58:29 Kagura Jun 05 09:58:31 @gouster4, How u rate your building skill? Jun 05 09:59:25 @maharudra108, -10 seems low enought. :D under zero. Jun 05 10:00:52 @gouster4, Oops sorry i read it as lvl = 10 Jun 05 10:01:10 :D Jun 05 10:01:13 please don't offtop Jun 05 10:01:27 you can join @ubports_ot if you really want to discuss that Jun 05 10:01:42 @gouster4, Adrian builds for your device? Jun 05 10:02:09 @theimpulson, Halium? Jun 05 10:02:31 @theimpulson, Oh ye, AdrianDC Jun 05 10:02:44 Moving to offtopic group... Jun 05 10:02:54 @gouster4, You got a pro. LOL Jun 05 10:03:00 Ask him to do it Jun 05 10:28:49 That will sound stupid as fuck Jun 05 10:28:56 But can you boot android with halium Jun 05 10:53:03 @VeryOriginalUsername, who'd need that? Jun 05 10:53:06 ghettotreble? Jun 05 10:53:41 @VeryOriginalUsername, How? Jun 05 10:54:56 @VeryOriginalUsername, I know, but i dont care. Maybe he will ignore it, or reply that he dont want do that, or he will buid it. Nothing to loose. Jun 05 10:56:10 Please, please, please. @ubports_ot Jun 05 10:57:00 arudy was added by: arudy Jun 05 10:57:39 @arudy, Welcome ! Glad to see you here Jun 05 10:57:51 hi, thank :) Jun 05 11:00:42 I did 3 week-end in a row a booth to promote floss, ubuntu and ubuntu touch, and I did often says we have ~10 devices, that other project like plasma mobile have like 5 devices, and another project has X device, and when halium will be ready, we should all have 10+5+X devices all together. Did I was right when telling that to people Jun 05 11:00:42 ? Jun 05 11:01:33 [Edit] I did 3 week-end in a row a booth to promote floss, ubuntu and ubuntu touch, and I did often says we have ~10 devices, that other project like plasma mobile have like 5 devices, and another project has X device, and when halium will be ready, we should all have 10+5+X devices all together. Was I right when telling that to peop Jun 05 11:01:33 le ? Jun 05 11:04:42 @arudy, Yes and no at the same time Jun 05 11:05:01 Some core UT devices aren't supported by halium Jun 05 11:05:14 And plasma mobile itself has no devices support. It purely runs on halium Jun 05 11:05:31 [Edit] And plasma mobile itself has no devices supported. It purely runs on halium Jun 05 11:05:54 Halium has like 20-30 ported devices. And thus PM runs on them Jun 05 11:06:18 There are only 2 officially supported devices for plasma, but these are just halium devices that are maintained by Bhushan Jun 05 11:06:36 Read what halium.org says to get an idea on what it is Jun 05 11:09:51 When UT adapts halium there won't be any "we" anymore, all projects will run on the same base. But currently ported devices from other projects don't magically get halium builds Jun 05 11:25:14 thank for the detail @vanyasem ☺ Ill read more on the website Jun 05 13:02:16 audio Jun 05 14:31:39 You guys mind if I write a simplified guide on how to build and debug halium on XDA? Also I wish to contact a few mods to ask them for seprate forum for halium based devices as I see there is enough development for halium on XDA. Jun 05 14:32:37 [Edit] You guys mind if I write a simplified guide on how to build and debug halium on XDA? Also I wish to contact a few mods to ask them for seprate forum for halium based devices as I see there is enough development for halium as required by XDA to open seprate forums. Jun 05 14:33:44 @theimpulson, I would love it if you did! … Tonight - in Sha Allah - I will be purchasing a phone to do Halium on. … It's time for me to get a Linux phone. I need a phone that does more than currently bat Android offers and security is my major concern Jun 05 14:34:23 @vanyasem, Is there a list available for this? Jun 05 14:34:37 @vanyasem, [Edit] Is there a list available for this? … Phone shopping tonight Jun 05 14:35:10 @Ismail_ibn_Thomas_Al_Amreeki, https://docs.halium.org/en/latest/supplementary/devices/index.html Jun 05 14:35:16 @Ismail_ibn_Thomas_Al_Amreeki, https://github.com/Halium/projectmanagement/issues?q=is%3Aopen+is%3Aissue+label%3APorts Jun 05 14:36:05 @theimpulson, This is confusing. Projectmanagemnt is a lot nicerr Jun 05 14:36:06 @theimpulson, [Edit] This is confusing. Projectmanagemnt is a lot nicer Jun 05 14:36:26 @vanyasem, Maybe, I like docs more though :P Jun 05 14:36:32 @theimpulson, @bhushanshah @vanyasem Jun 05 14:37:11 @theimpulson, well why not push your changes to the docs Jun 05 14:37:26 if you can simplify it and add things - just push it to official docs Jun 05 14:37:32 no need to fork stuff Jun 05 14:37:46 Then I will do a PR soon I guess. Jun 05 17:40:41 pod was added by: pod Jun 05 19:53:55 Hı. How make halium? i make out. But not install Ubuntu phone. And not make zip Jun 05 19:54:39 @ankaos, Can you try using different words Jun 05 19:55:02 The porting guides describes everything, I hope that helps: https://docs.halium.org/en/latest/porting/get-sources.html Jun 05 19:55:51 The Ubuntu Touch specific parts are described here: https://docs.ubports.com/en/latest/porting/introduction.html Jun 05 19:56:23 I created it using halium. How do I add objects to the ubuntu phone? How do I zip objects I add? Jun 05 19:56:41 I'm using google translate. Jun 05 19:57:19 @JBBgameich, :). ı make Jun 05 19:57:35 Yeah.. It's pretty hard to assume what you're trying to sau Jun 05 19:57:37 [Edit] Yeah.. It's pretty hard to assume what you're trying to say Jun 05 19:58:23 @JBBgameich, not undertand. do you have a video? Jun 05 19:58:39 @ankaos, Sorry, I don't really understand your question. In general you can install Halium and Ubuntu Touch using a halium-install script like https://gitlab.com/JBBgameich/halium-install or the one described in the Ubuntu Touch porting guide. Jun 05 19:58:56 @ankaos, No sorry, unfortunately not :/ Jun 05 20:02:41 😭😭😭😭 Jun 05 21:21:12 Has anyone here ever written a devicetree blob? Any good youtube tutorials that show doing this with windows device manager? Jun 05 21:57:05 A what? Jun 05 21:57:29 .dtbs for arm devices, devicetree blob source, for device mapping Jun 05 21:58:03 I see. Why with the Windows device manager? Jun 05 22:00:10 Well, I dont know how else you make them. Jun 05 22:00:16 Its for an arm device Jun 05 22:00:43 As in, you have the device plugged in over USB? Jun 05 22:02:12 Well..... A device tree blob maps devices needed for kernel like screen, the USB host, display, processors Jun 05 22:02:29 Each device in device manager in windows would be basically a "Node" Jun 05 22:02:48 Right, but you're saying that you're currently running windows on the device? Jun 05 22:02:55 I was hoping this was done. Yes. Jun 05 22:02:58 WIndows RT Jun 05 22:03:23 There's probably not a tutorial on that, but I'm sure that it would be useful information Jun 05 22:03:34 I know right? Jun 05 22:05:09 I would LOVE to write one, but I dont know where to start with device manager. Jun 05 22:07:01 just out of curiousity, Is .dtbs a different thing to .dts? Jun 05 22:07:11 Its the source to compile the blob Jun 05 22:07:24 Well Jun 05 22:07:31 No (I think those are the same) Jun 05 22:08:17 I'm familiar with .dts and .dtbs to compile .dtb but I have no clue where to start writing them, and all I have access to on this device is the device manager. Jun 05 22:08:44 maybe start with e.g. this https://elinux.org/Device_Tree_Usage and see what info you can pull out of device manager Jun 05 22:09:00 not sure how straight forward it will be Jun 05 22:09:58 if any devices are similar to yours and have work done, consider looking at what they have, also Jun 05 22:10:14 I'm halfway tempted to pay someone to write one for me :P Jun 05 22:11:14 I think I understand the gist of the DTS files but I saw some in the linux git repo and they looked to have quite a lot in them Jun 05 22:11:39 Yeah theres a ton of them, but next to 0 documentation on how to port to ubuntu from a windows arm device Jun 05 22:11:51 Well, easy documentation atleast. Jun 05 22:12:10 Well, not exactly an easy process Jun 05 22:12:21 So you're just trying to run mainline Linux on it, right? Jun 05 22:12:22 I know :> I was tempted to like Jun 05 22:12:43 Write a github project that can convert device manager to dtb source. Jun 05 22:12:56 That seems like a long shot Jun 05 22:13:09 My shady way of going about that, was to collect a crash dump, that contains windows kernel, to pull a dtb from it (but its not the dtb source) Jun 05 22:13:09 Every device being different and such Jun 05 22:13:21 Once you do build a kernel or something, do you have any plan on how you're going to boot it? Jun 05 22:13:33 Well, that was the easy part Jun 05 22:13:42 Just installed golden key, loads grub fine Jun 05 22:13:50 But when the dtb is passed to kernel the device crashes Jun 05 22:14:02 oh interesting, there is Grub for Windoze ARM devices? Jun 05 22:14:19 Its a goldenkey exploit and some other stuff Jun 05 22:14:27 Please just call it Windows, the monikers aren't funny any more. :/ Jun 05 22:14:41 shortest way to call it is NT Jun 05 22:14:41 or WoA Jun 05 22:14:53 I write the z out of habit now :P Jun 05 22:18:30 https://forum.xda-developers.com/windows-8-rt/rt-development/wip-secure-boot-linux-surface-rt-t3653848 … https://github.com/VNNGYN/Windows-RT-8.1-Development-Tool/releases Jun 05 22:18:39 Thats what I used to get grub going Jun 05 22:19:44 nice to see some efforts on the liberation of those devices Jun 05 22:19:49 Used the development tool to enter signing mode, then just use secureboot.zip for the EFI debugging mode. Jun 05 22:20:02 Then the grub and stuff is thrown on fat32 USB stick. Thats it Jun 05 22:20:40 But trying to load an o/s from fat32 usb stick fails as when the kernel is loaded in memory, and dtb is passed, the grub locks/hangs/does nothing Jun 05 22:21:00 It goes all the way to the entry point and just hangs up. Jun 05 22:22:30 Because, I think, there needs to be a special devicetree just for the device. AFAIK, but I would love to get a devicetree blob built somehow based on device manager with nothing but processor, USB and display working. Jun 05 22:23:02 so, you're trying to boot using a DTB from another device? Jun 05 22:23:43 Thats what I was doing. Jun 05 22:24:05 But trying to generate one on the device windows o/s. Jun 05 22:24:31 Or try and dissect a crash dump to pull the devicetree blob from the windows kernel Jun 05 22:25:03 Entire windows kernel and memory is dumped which apparently contains a dtb according to a forensic software. Jun 05 22:26:12 Windows uses DTB files too? Jun 05 22:26:29 Apparently Jun 05 22:28:24 https://github.com/volatilityfoundation/volatility/wiki/Encrypted-KDBG-(Win-8-and-later) Jun 05 22:28:38 -> "The DTB signature changed" Jun 05 22:30:22 This software strongly strongly implies it is extractable, and being accessed at any rate Jun 05 22:30:38 have you tried efistub kernels? Jun 05 22:31:45 What's that? I was thinking what I had was already a efi shim/stub hack Jun 05 22:32:55 I only had luck with the grub that was posted on xda, I even tried compiling my own grub, cross-compiling etc, no dice. Jun 05 22:34:53 Hmm, I'm having a hard time finding information either supporting or rejecting that Windows uses DTBs, but I have potentially seen that DTB might stand for 'Directory Table Base' Jun 05 22:35:42 and indeed, when you look at https://github.com/volatilityfoundation/volatility/issues/284 , `--dtb 0x1aa000` seems like it has a different meaning Jun 05 22:35:59 Ah I see, hm. Jun 05 22:38:17 I want to try this: https://github.com/Xilinx/device-tree-xlnx Jun 05 22:38:49 But I dont know if that is possible to get running on the tablet, because its an arm tablet and I dont know that it is possible to get xlinix running on arm Jun 05 22:39:04 I can compile for arm though Jun 05 22:39:10 Xilinx makes FPGAs. I doubt you have an FPGA in your tablet Jun 05 22:39:18 Good point :> Jun 05 22:39:52 it seems to me, that that tool will be for generating DTS for either soft ARM cores, or hard ones with soft FPGA circuitry Jun 05 22:43:34 Hmmm Jun 05 22:45:53 do you know what CPU your device has? Jun 05 22:46:03 Tegra 3 Jun 05 22:46:27 Its a surface RT Jun 05 22:46:34 There was an asus device the launched the same day Jun 05 22:47:21 same processing as the 2012 nexus 7 as well I think Jun 05 22:47:22 [Edit] same SoC as the 2012 nexus 7 as well I think Jun 05 22:47:53 It supports android with a dtb (I think or atleast they got android from another device running on the same-day released device by ASUS) but I doubt this kernel would work in a surface RT Jun 05 22:48:51 (Photo, 994x423) https://irc.ubports.com/FLIg3k0k.png This is whats in that kernel Jun 05 22:48:53 Some tegra stuff I havent seen before Jun 05 22:49:09 Like... Taim and Zynq Jun 05 22:49:14 [Edit] Like... Tai and Zynq Jun 05 22:49:27 Ventana and Whistler? IDK Jun 05 22:50:26 cardhu, enterprise etc are only small files, so seem like they should be minor differences from the tegra30.dtsi Jun 05 22:50:27 actually tegra30.dtsi is very small itself, nvm Jun 05 22:54:57 https://www.reddit.com/r/SurfaceLinux/comments/7lkfjx/updates_on_surface_rt/drnes87/ doesn't sound like good news Jun 05 22:55:32 Yeah its odd because theres nothing in them Jun 05 22:58:44 I wonder if the Tegra boot process feeds its own device tree to the kernel or something Jun 05 22:59:57 Mind passing us a copy of the device tree sources shown in that screenshot? For curiousity more than anything, I doubt I can help sadly Jun 05 23:00:53 (Document) https://irc.ubports.com/MNInXSlU.zip Jun 05 23:01:39 nouveau has nvidia's code for tegra Jun 05 23:01:42 why don't they try mainline Jun 05 23:03:31 the `tegra30.dtsi` literally only contains one entry (`compatible = "nvidia,tegra30";`) Jun 05 23:03:51 although it includes skeleton.dtsi, which includes a few more Jun 05 23:06:00 if that's the only information passed to the kernel at runtime, then it'd suggest that the kernel contains code built-in for the tegra30.. Hmm, but from the sound of forum/reddit posts, it's a lost cause... so I'm not sure I really understand properly Jun 05 23:06:47 Im in the same boat xD Jun 05 23:07:24 See to me.... Jun 05 23:07:31 It loads grub. Jun 05 23:07:37 So its like Jun 05 23:07:44 Why cant I load anything else Jun 05 23:08:52 https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/tegra30.dtsi seems to be populated with information about the SoC Jun 05 23:09:40 I think I tried that one with no dice, I cant remember very well Jun 05 23:12:53 (Photo, 1280x960) https://irc.ubports.com/EXRNNsbM.png Literally took 5 minutes Jun 05 23:15:19 MS claims to have patched this but they did not Jun 05 23:15:46 I'd consider cloning the kernel and putting together a .dts file and compiling it with `dtc`... I'm not sure how you pass the .dtb file to the bootloader though Jun 05 23:16:11 Also not sure whether a .dtb file from two different 'kernel' versions would work. There's a lot of uncertainty Jun 05 23:16:19 Its easy, cloning the android kernel from the Asus device? Jun 05 23:16:48 There was a android kernel FOR the device released the same day but asus moved the link Jun 05 23:17:24 I have a kernel for a similar device that loads on the device apparently also by asus Jun 05 23:17:33 Is this Android kernel in a repo somewhere I can view it? Jun 05 23:17:37 But not RT/havent tried Jun 05 23:17:39 Sure one sec Jun 05 23:17:44 Smoking a cig :) Jun 05 23:19:10 typically with Android kernels, there seems to be special patches put in place for Android... so personally I'd prefer to go with mainline BUT it's unknown whether that'd work. And the Android one presumably works with a Tegra 3 in this other Asus device.. Jun 05 23:20:31 I would've thought it's quite impressive to get Grub running even, but maybe it's just UEFI or something Jun 05 23:23:55 Asus VivoTab RT was released same day. (TF600T) "ASUS has made a full Android 4.2.2 version for the vivo tab rt available. Unfortunately there isn't a way to flash it onto the tablet because of secure boot etc. I've seen someone mentioning that an older uefi version was hackable. " ```The Android version of the VivoTab RT TF600T is Jun 05 23:23:55 ASUS Transformer Pad TF502T. On the Asus website the Kernel Code for Android 4.2.1 can still be found (http://www.asus.com/support/Download/28/1/0/17/32/).``` Which leads to a picture of that tablet running the same GRUB loader and to here: ```ASUS Transformer Pad TF502T Kernel Code for Android 4.2.1 JB OS (V10.18.0.94)``` https://www.asus.com/supp Jun 05 23:23:56 ortonly/ASUS%20Transformer%20Pad%20TF502T/HelpDesk_Download/ Jun 05 23:24:12 Wait, ASUS released it Jun 05 23:24:15 and closed the installation of it? Jun 05 23:24:24 @cyb0hrg, rightful keyboard Jun 05 23:24:28 They released the source of it Jun 05 23:24:34 @cyb0hrg, the fuck's the point then xD Jun 05 23:25:20 That's what I'm saying, I dont want to build the entire thing from scratch unless it comes with a build-for-device type thing for the kernel Jun 05 23:25:31 All that stuff comes from here: https://forum.xda-developers.com/windows-8-rt/rt-general/install-android-asus-vivo-tab-windows-t3016928 Jun 05 23:25:59 build-for-device kind of thing? Jun 05 23:26:15 Yeah sometimes you can build the last settings or for a platform Jun 05 23:26:24 Well I doubt you'd have to build it, search on androidfilehost Jun 05 23:26:41 Maybe someone already has a built one Jun 05 23:26:45 I'll try, but what I am mostly after is the devicetree blobs Jun 05 23:26:51 True Jun 05 23:26:52 :) Jun 05 23:27:11 Actually, I'm going to go try and build the kernel Jun 05 23:27:16 @cyb0hrg, You can get blobs pretty easily from a boot.img Jun 05 23:27:17 On ubuntu 18, we'll see how this works out Jun 05 23:27:25 I wonder if you could write a device tree up that contained only the 'barebones' functionality needed so you could get some output on screen and a shell or something.. Jun 05 23:27:28 extract boot.img and ramdisk will be there Jun 05 23:27:37 ok :) @reivilibre Thats what I was thinking Jun 05 23:28:03 @caghand3 I would LOVE ramdisk, but when compiling the grub from source for armhf march armv7 it does not boot Jun 05 23:28:19 The guy that compiled the grub kernel I'm positive was in the government at some point Jun 05 23:28:25 Like I said, there are most likely builds on AFH Jun 05 23:28:29 the mainline kernel at least seems to have DTSI in for tegra30. Maybe look through the linux tegra mailing list archive (assuming they have one) or commit history and see if you can di up what state it is in Jun 05 23:28:41 [Edit] the mainline kernel at least seems to have DTSI in for tegra30. Maybe look through the linux tegra mailing list archive (assuming they have one) or commit history and see if you can dig up what state it is in Jun 05 23:28:49 ok :) Thanks for all your guys help! Jun 05 23:29:02 and, good luck, you're going to need it by the sounds of it. Jun 05 23:29:10 Thanks Jun 05 23:29:17 @caghand3, Ill likely do this though Jun 05 23:32:16 I did some searching and could not really find the kernel :/ Hmmmmmmm I was wondering what toolchain would yuy guys reccomend to build? Jun 05 23:32:25 [Edit] I did some searching and could not really find the kernel :/ Hmmmmmmm I was wondering what toolchain would you guys reccomend to build? Jun 05 23:33:12 for android, use the one linked on android's official site Jun 05 23:33:14 aarch64 gcc 4.9 I think Jun 05 23:33:15 kk Jun 05 23:33:22 Hi... I have a problem to go in real rootfs, fom telnet (in debug mode, using echo continue > /init-ctl/stdin). I must wait some processes die (or end) before run "echo continue..." to go rootfs sucessfull... the main process are "SW [kworker/u8:4]"... any idea why? Jun 05 23:38:21 [Edit] Hi... I have a problem to go in real rootfs, from telnet (in debug mode, using echo continue > /init-ctl/stdin). I must wait some processes die (or end) before run "echo continue..." to go rootfs sucessfull... the main process cause this are "SW [kworker/u8:4]"... any idea why? Jun 06 00:16:01 @caghand3 @reivilibre Quick question, I compiled the tegra3 android image, I need a refresher though. So, now I have vmlinux and zImage, are either familiar with grub manual booting? Is this all I should need? I recall a few different ways to boot grub. Jun 06 00:53:11 Well that was interesting, I used a armhf network boot image and it didn't ask for a dtb at all using the initrd.gz Jun 06 00:53:35 At the same time I think I locked up as well? from overheat becasue the back is off of my tablet Jun 06 01:23:54 that didn't work, I still get the typical "Jumping to Linux.. Jumping to Mac OS XI Caching is disabled, jumping to entrypoint" then all keyboard, usb devices stop working **** ENDING LOGGING AT Wed Jun 06 03:00:10 2018