Saturday, 2021-10-23

T42<oMinimalist> How to create ubuntu-trusty-20180613-android-rootfs.tar.bz2? or another one by yourself.02:47
T42<TheVancedGamer> Samsung issues (re @elros34: as you can see "KNOX...)11:16
T42<kquote03> @TheVancedGamer ended up commenting out the LOC that had the printf. Worked like a charm11:18
T42<kquote03> Honestly now tho I think I’m doing something fundamentally wrong here11:19
T42<TheVancedGamer> uh who are you?11:19
T42<TheVancedGamer> wait so ah11:19
T42<kquote03> Kquote11:19
T42<TheVancedGamer> k11:19
T42<TheVancedGamer> last time I ported a Samsung never had those KNOX thingys11:19
T42<TheVancedGamer> probably because I nuked KNOX11:19
T42<kquote03> You did the right thing 😂11:20
T42<TheVancedGamer> yeah11:20
T42<TheVancedGamer> so anyway11:20
T42<TheVancedGamer> Status?11:20
T42<kquote03> Same11:20
T42<TheVancedGamer> so minimer blacks out screen?11:20
T42<kquote03> I’m just questioning if I did something wrong from the beginning11:20
T42<kquote03> Yep11:20
T42<TheVancedGamer> I had this, can't remember how I fixed it11:20
T42<TheVancedGamer> I think used test_hwcomposer to diagnose11:20
T42<kquote03> test_hwcompose does the same thing11:21
T42<TheVancedGamer> but then this doesn't use a android LXC container11:21
T42<TheVancedGamer> And that's what I know how to deal with11:22
T42<kquote03> Actually now I’m trying to build lineage 17.1 git. The pdf said to use the same android base version. I downloaded the latest version of lineage 17.1 but maybe it’s a little different from git11:22
T42<kquote03> Doubt it will change anything but at least it’s a thing to get off the checklist11:22
T42<TheVancedGamer> Don't bother doing that, no changes are present in that11:23
T42<kquote03> Yea11:23
T42<TheVancedGamer> so give me strace of test_hwcomposer11:23
T42<kquote03> Gimme a sec11:24
T42<kquote03> Btw11:24
T42<kquote03> I manually set the permissions of /dev/*binder* before droid Hal init11:24
T42<TheVancedGamer> You did what (re @kquote03: I manually set the p...)11:25
T42<kquote03> Yep11:25
T42<TheVancedGamer> no11:25
T42<kquote03> I’m getting a death stare aren’t i11:25
T42<TheVancedGamer> yes11:25
T42<TheVancedGamer> binder nodes get permissions by either .rc's or udev rules11:26
T42<kquote03> yea I read that just today and that’s what’s making me think I’m doing something totally wrong11:26
T42<TheVancedGamer> yep11:26
T42<TheVancedGamer> and the nodes are owned by system instead of root11:26
T42<kquote03> Without it I get ‘can’t access /dev/binder permission denied’ in logcat11:27
T42<kquote03> So I think the problem is there11:27
T42<TheVancedGamer> yeah expected11:27
T42<TheVancedGamer> make sure something else than droid-hal-init changes permissions of binder nodes11:27
T42<elros34> if its supposed to be set by *.rc files then grep for binder in all rc files. Maybe chown/chmod in section which is disabled/not used in droid-hal-init11:28
T42<kquote03> So I just put the Chmod command in init.rx11:28
T42<kquote03> @elros34 alright11:28
T42<TheVancedGamer> they should be in /vendor/etc/init/init.exynosblabla.rc (re @kquote03: So I just put the Ch...)11:29
T42<kquote03> Alright thanks for the tips guys11:29
T42<kquote03> binder is only mentioned once in /vendor/etc/init/vndservicemanager.rc11:36
T42<TheVancedGamer> hummm (re @kquote03: binder is only menti...)11:38
T42<TheVancedGamer> /system/etc/init/init?11:38
T42<kquote03> Oh I haven’t checked there11:40
T42<kquote03> Only in /vendor11:40
T42<kquote03> yep it found stuff https://susepaste.org/1430544811:42
T42<TheVancedGamer> Always trust me with old stuff 😜 (re @kquote03: yep it found stuff h...)12:32
T42<elros34> where do you see it?12:35
T42<kquote03> /system/etc/init/atrace.rc12:36
T42<kquote03> anyways I found another reference in /system_root/ueventd.rc12:36
T42<elros34> yeah but in your paste there is nothing which set /dev/*binder12:37
T42<kquote03> https://susepaste.org/9378064412:37
T42<kquote03> yea i realized midway and started grepping the enitrety of / for "/dev/binder"12:38
T42<kquote03> and found that12:38
T42<elros34> so did you follow ueventd*.rc notes? It has section about missing udev rules which needs to be copied from device12:38
T42<kquote03> : )12:39
T42<kquote03> (no)12:39
T42<kquote03> ( will now tho)12:39
T42<kquote03> ah right yea12:40
T42<kquote03> i copied the file12:40
T42<kquote03> but i didnt do the rest it asked12:40
T42<kquote03> rn i only have ueventd.samsungexynos7880.rc in /12:41
T42<kquote03> but it contains rules for /sys/devices/system/cpu/cpu* only12:41
T42<kquote03> holy shit i thought i was going crazy12:43
T42<kquote03> i forgot i was in collabedit12:43
T42<kquote03> it seems my /vendor/ueventd.rc already has /dev/ion12:46
T42<elros34> /dev/ion it's just common example I have noticed12:50
T42<kquote03> in my fstab.$DEVICE I had the mountpoint of /system to /13:08
T42<kquote03> does that cause any issue?13:09
T42<TheVancedGamer> Are you building with system root enabled.13:09
T42<TheVancedGamer> Are you building with system root enabled? (edited)13:09
T42<kquote03> Homestly idk13:09
T42<kquote03> it's android 10 so i think so13:10
T42<elros34> / in fstab is required for system-as-root device  to get correct mount units generated13:12
T42<kquote03> Hello17:48
T42<kquote03> So about rc files, is there a way to verify that it was ran?17:48
T42<kquote03> output of grepping journalctl (i deleted /var/log/journal) for droid and mount https://susepaste.org/6133143318:10
T42<kquote03> the line in init.rc is just 'enter_default_mount_ns'18:12
T42<kquote03> seems that command fails18:12
T42<kquote03> apexd is not working?18:12
T42<kquote03> kinda worrying that the first thing ever in logcat failed to open /dev/binder18:17
T42<kquote03> /system_root is readonly, that's normal if im understanding right, isnt it?18:26
T42<kquote03> ueventd.rc lists /dev/hw_random, but i do not have /dev/hw_random (it is present on android)18:32
T42<elros34> isn't it just symlink to /dev/hwrng?18:50
T42<Mansaido> Feel so excited making money from home despite being quarantine because of corona virus have made over $24,000 investing a minimum amount of $2400 this is more than my usual monthly cheque22:06
T42<Mansaido> 👇👇22:06
T42<Mansaido> https://t.me/joinchat/FFz8lF-T5bA3MGY022:06
T42<XAP2P> bun (re @Mansaido: Feel so excited maki...)23:21
ThaodanAdmins from telegram side might fix the spam23:32
Thaodandon't want to have my bot forward spam to irc23:32

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!