**** BEGIN LOGGING AT Fri Oct 19 03:00:01 2018 Oct 19 03:28:12 @lyudmila_rev1917, [Edit] Alright. Need some help. None of the iptables commands are working Oct 19 03:52:10 When I try to ping from the device I try socket:permission denied Oct 19 03:52:21 [Edit] When I try to ping from the device I get socket:permission denied Oct 19 04:32:26 albin_john was added by: albin_john Oct 19 04:36:33 @kaibsora, sudo? Oct 19 04:36:57 Same thing Oct 19 04:37:25 (Photo, 622x1280) https://irc.ubports.com/Lbx4qEPN.png Oct 19 04:45:14 @lyudmila_rev1917 Oct 19 04:50:50 #notes Oct 19 05:22:22 Search on golgle Oct 19 05:22:32 Can't remember what I did to fix that Oct 19 05:22:37 [Edit] Search on google Oct 19 05:23:08 @lyudmila_rev1917, But what about the IP table errors In wsl? Oct 19 05:46:08 @kaibsora, not root ping Oct 19 07:01:30 What Oct 19 07:01:34 Oh Oct 19 07:34:59 @lyudmila_rev1917, https://paste.ubuntu.com/p/6xHssH94YN/ Oct 19 07:35:18 thats the whole thing i did from start to finish Oct 19 08:37:48 not # yes $ Oct 19 08:38:09 What do you mean Oct 19 11:00:43 @lyudmila_rev1917, new image flashed after adding https://gist.github.com/doniks/7406a87e5f15e1eab5a64aa90ad8f633#file-lineageos_flo_defconfig-L593 to my defconfig. i am still getting socket:permission denied errors when trying to ping Oct 19 11:00:53 https://paste.ubuntu.com/p/HG5Jcv5JQ2/ Oct 19 11:11:53 @kaibsora, Add these Lines in /etc/group. inet❌3003:root … net_raw❌3004:root Oct 19 11:12:20 @kaibsora, [Edit] See this: https://askubuntu.com/questions/868590/ping-socket-permission-denied Oct 19 11:16:12 @Mattia990, do i need to reboot or? Oct 19 11:17:18 @kaibsora, Idk try both Oct 19 11:19:55 @Mattia990, i had to reboot but i have the nets Oct 19 11:20:08 you are the god of the devils den Oct 19 11:21:41 sooo apt update isnt working Oct 19 11:21:49 its not resolving :/ Oct 19 11:22:42 @kaibsora, Add nameserver your-dns-server to /etc/resolv.conf and retry without reboot Oct 19 11:23:29 root@localhost:~# cat /etc/resolv.conf … # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) … # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN … nameserver 8.8.8.8 Oct 19 11:23:33 already did that Oct 19 11:24:42 @kaibsora, You have too much space bit idk if it's the problem Oct 19 11:25:00 what do you mean Oct 19 11:25:02 i used tab Oct 19 11:25:05 not space Oct 19 11:26:21 Is it kernel 3.10+? Oct 19 11:26:26 yes Oct 19 11:27:49 I'm pretty much sure it's documented somewhere Oct 19 11:27:50 But Oct 19 11:28:34 https://github.com/Halium/android_kernel_lge_bullhead/commits/halium-7.1 Oct 19 11:28:36 See top 4 commits Oct 19 11:28:37 @kaibsora, Try without tab and only one space Oct 19 11:28:58 i can ping google and debian.org Oct 19 11:29:05 without using ip addresses Oct 19 11:30:01 also, i saw config_dummy, what does hybris-boot passout mean Oct 19 11:33:16 I got halium and plasma mobile up and running on my nexus 4. I'm trying to get the modem up and running for voice or data. journalctl says "Excluding RIL modem driver". https://pastebin.com/QwjFKMvQ Oct 19 11:56:57 i' m trying to build for my s4 mini, and i hit this problem while compiling kernel: Oct 19 11:57:00 fs/built-in.o:(.data.rel+0x424): undefined reference to `pidns_operations' … /home/rogier/Development/halium/kernel/samsung/msm8930-common/Makefile:869: recipe for target '.tmp_vmlinux1' failed Oct 19 11:57:32 Comment that line out in your defconfig Oct 19 11:57:52 Search in google. I'd link it but I packed up my comp already Oct 19 11:58:07 i did - best i could find was this reference from another halium device Oct 19 11:58:14 https://github.com/Halium/projectmanagement/issues/70 Oct 19 11:58:18 That's what I was going to ling Oct 19 11:58:21 he said removing it made it bootloop :) Oct 19 11:58:22 Link lol Oct 19 11:58:46 Oh right. Sorry. Sunning on no sleep for 24hours. Sorry about that bud Oct 19 11:59:05 [Edit] Oh right. Sorry. Running on no sleep for 24hours. Sorry about that bud Oct 19 11:59:31 anyway, will try without see - see what happens Oct 19 12:01:55 Good luck Oct 19 12:07:46 well, it compiled ;) Oct 19 12:27:23 [ 2.842667] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Oct 19 12:27:31 well, at least i can read last kmesg ;) Oct 19 12:44:15 @rogieroudshoorn, Which means the debug begins! Oct 19 12:44:44 yeah. google tells me this means i am lacking initramfs Oct 19 12:44:52 how do i backtrack that for halium? Oct 19 13:03:21 actually first logline is INITRD: 0x81200000+0x000a2af6 overlaps in-use memory region - disabling initrd Oct 19 13:03:26 that'll probably kill it Oct 19 13:14:51 hmm halium-boot comes up correctly, should i have been using that instead? Oct 19 13:19:12 @rogieroudshoorn, Check if mountpoints are correct and also if your fstab contains all necessary partitions Oct 19 13:20:46 He says that halium-boot came up correctly Oct 19 13:20:49 So now you're good @rogieroudshoorn Oct 19 13:21:08 yeah, proud owner of an initramfs Oct 19 13:21:09 ... Oct 19 13:23:16 is there also a halium-boot instead of hybris-boot? Oct 19 13:24:03 rogieroudshoorn: nope. Oct 19 13:38:01 Hey Oct 19 13:39:52 so doodling around, no clue what i did, and now GNU/Linux devices on rndis0 10.15.19.8 Oct 19 13:43:50 so i guess flashing halium-boot once patched it? Oct 19 13:47:33 Maybe Oct 19 13:56:09 anyway, next problem is it seems to hang when attempting to ssh in :) Oct 19 13:56:25 Explain Oct 19 13:56:37 i hit ssh root@ip Oct 19 13:56:41 and then nothing Oct 19 13:57:29 Did you follow the halium logging in guide? Oct 19 13:58:21 yeah. it did complain about bash not found Oct 19 13:58:46 Post your whole command line Oct 19 13:58:55 In a paste of course Oct 19 14:02:05 quick partial Oct 19 14:02:11 ~ # mount /data/rootfs.img /a … ~ # chroot /a /bin/bash … bash: groups: command not found … root@localhost:/# Oct 19 14:02:16 from within adb shell Oct 19 14:03:11 Uhhhh which script did you use? Oct 19 14:04:58 https://docs.halium.org/en/latest/porting/debug-build/logging-in.html Oct 19 14:05:32 No no. I'm talking about what script did you use when installing halium to the device Oct 19 14:05:44 Jbb? Or native? Oct 19 14:07:24 the native one Oct 19 14:07:33 should i try again with jbb? Oct 19 14:07:43 Ah. Were you able to set the root pw? Oct 19 14:07:50 In adb recovery? Oct 19 14:08:44 yeah, boot to twrp and then adb shell in Oct 19 14:09:08 @rogieroudshoorn, So the root pw was set successfully Oct 19 14:10:10 i think so - there was that bash: groups: command not found thing Oct 19 14:10:36 Hmmm. Ok. Try booting into the rootfs again and set the link address Oct 19 14:12:31 rebooting won't help; i can set MAC and IP; but it times out when i want to connect with ssh Oct 19 14:12:47 Did you add the route? Oct 19 14:13:17 And please post the whole CMD shell while you do this Oct 19 14:13:24 Easier for us to help Oct 19 14:15:38 originally, i used what was supplied Oct 19 14:15:40 ip link set address 02:11:22:33:44:55 … ip address add 10.15.19.100 dev … ip link set up Oct 19 14:15:46 but there's no route there Oct 19 14:15:56 so i'll reboot it and try again ;) Oct 19 14:16:51 Itll just reset it what linux are you using as host and post what IP link show says Oct 19 14:17:09 i'm on ubuntu 18.04 Oct 19 14:17:22 Awesome. Oct 19 14:17:33 comes up as: Oct 19 14:17:34 37: enp0s20u1: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 … link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff Oct 19 14:17:48 script i'll be running is sudo ip link set enp0s20u1 address 02:11:22:33:44:55 … sudo ip address add 10.15.19.100 dev enp0s20u1 … sudo ip link set enp0s20u1 up … sudo ip route add 192.168.19.82 dev enp0s20u1 Oct 19 14:18:20 Last one is not needed Oct 19 14:19:27 afterwards i get the following state Oct 19 14:19:30 37: enp0s20u1: mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000 … link/ether 02:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff … inet 10.15.19.100/32 scope global enp0s20u1 … valid_lft forever preferred_lft forever Oct 19 14:19:43 Yup Oct 19 14:19:50 Wait Oct 19 14:19:53 No Oct 19 14:20:39 It's supposed to be "inet 10.15.19.100/24" Oct 19 14:20:48 Somethings not right Oct 19 14:21:10 Either way, try to ssh Oct 19 14:21:14 yeah, docs also say that the name should be more like enp0s29u1u1 Oct 19 14:21:24 Naming doesn't matter Oct 19 14:21:31 Mine shows up diff too Oct 19 14:21:41 and then ssh just times out Oct 19 14:21:58 Try doing ssh -vvv Oct 19 14:22:13 Root@10.15.19.82 Oct 19 14:22:44 ends with: Oct 19 14:22:47 debug2: resolving "10.15.19.82" port 22 … debug2: ssh_connect_direct: needpriv 0 … debug1: Connecting to 10.15.19.82 [10.15.19.82] port 22. Oct 19 14:23:00 Ah. Reboot into recovery Oct 19 14:24:02 Are you using twrp? Oct 19 14:24:05 yeah Oct 19 14:24:12 Ok. Adb root Oct 19 14:24:16 Then adb shell Oct 19 14:24:51 mkdir /a Oct 19 14:25:01 mount /data/rootfs.img /a Oct 19 14:25:14 chroot /a /bin/bash Oct 19 14:25:28 . /etc/environment Oct 19 14:25:41 again, i get the /bin/bash not found error here Oct 19 14:25:55 Did you mount it? Oct 19 14:26:03 Please past a full shell Oct 19 14:26:09 [Edit] Please paste a full shell Oct 19 14:26:47 https://pastebin.com/Bc4t45sP Oct 19 14:27:51 What is in /a/bin Oct 19 14:28:12 starts with bash Oct 19 14:29:51 maybe i should use jbb's install script? that'll at least setup the password on the outside Oct 19 14:30:52 What version twrp are youusing? Oct 19 14:31:10 3.2.3 Oct 19 14:31:33 specially updated it to avoid issues Oct 19 14:31:49 Certainly higher than mine. I would try his script Oct 19 14:32:05 (Sticker, 512x512) https://irc.ubports.com/FWRGCf10.webp Oct 19 14:32:21 👍 Oct 19 14:43:32 anyway, i guess i should make a PR with mountpoints, device xml, and a forked kernel? Oct 19 14:44:10 Maybe. I dont even know how to do that Oct 19 14:44:43 i'm slightly better with git then i am with initramfs stuffs :) Oct 19 14:45:10 Pm me and help me out :D Oct 19 14:52:28 Let me know how the rootfs boot goes after using that script Oct 19 14:57:19 i have some issues with out of space it seems Oct 19 14:57:23 fixing that first Oct 19 14:57:44 At least you know what the issues are Oct 19 14:57:47 Lol Oct 19 15:00:51 yeah, apparantly 2G wasn't enough Oct 19 15:12:54 anyway, didn't make a difference Oct 19 15:19:05 and i can't ping the ip so it must be a route issue Oct 19 15:22:07 duh so an ip route statement was all that was needed Oct 19 15:25:48 wut no scp installed in halium rootfs? Oct 19 15:30:02 @rogieroudshoorn, Yep, scp is not in the reference rootfs Oct 19 15:30:17 PM rootfs has it tho Oct 19 15:32:50 so i created udev rules twice - once on the device, and once on the host because i couldn't scp out Oct 19 15:33:15 anyway, now that i can get in, what should i focus on primarily? just walk through all tests in the documentation? Oct 19 15:35:11 hmm lxc runs, even though the lxc-checkconfig doesn't come back all green Oct 19 15:35:42 no wait it doesn't :( Oct 19 15:36:21 guess that's the first thing? Oct 19 16:10:30 guess i better push stuff first. i guess i'm supposed to fork kernel, hybris-boot and halium-devices and give PR's? Oct 19 16:11:19 If you're not able to use hybris-boot, don't sweat it Oct 19 16:11:33 But yes, halium-devices Oct 19 16:11:45 doesn't hybris-boot have the mountpoints? Oct 19 16:11:57 It does, but I thought you said only halium-boot is working Oct 19 16:13:18 well at first hybris-boot failed, tried hybris-recovery (which also failed), then halium-boot got me to initramfs, and then hybris-boot started working Oct 19 16:13:45 which means i'm staring at a non-starting lxc container atm :) Oct 19 18:51:57 KaldirimMuhendisi was added by: KaldirimMuhendisi Oct 19 18:52:10 🖐 Oct 20 02:09:29 What does config_dummy in a kernel defconfig do? **** ENDING LOGGING AT Sat Oct 20 03:00:00 2018