*** Daaanct12 is now known as Daanct12 | 04:43 | |
*** ggabriel is now known as Guest1950 | 10:23 | |
T42 | <elros34> @Spidey24Z hi, so did you fix booting? | 10:43 |
---|---|---|
T42 | <Spidey24Z> No (re @elros34: @Spidey24Z hi, so di...) | 11:19 |
T42 | <Spidey24Z> I figured out that boot loader ignore cmdline but i manged to fix that now phone reboot after 1 minute if set audit=0 selinux=0 | 11:21 |
T42 | <Spidey24Z> and i see in dmesg this repeated until phone reboot | 11:23 |
T42 | <Spidey24Z> <44>[ 37.014548] [4:systemd-journal: 662] systemd-journald[662]: /dev/kmsg buffer overrun, some messages lost. | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014744] [4:systemd-journal: 662] dual_role_usb otg_default: uevent | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014753] [4:systemd-journal: 662] dual_role_usb otg_default: DUAL_ROLE_NAME=otg_default | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014762] [4:systemd-journal: 662] dual_role_get_local_prop : request prop = 1 , attached_state = 0, power_role_dual = 0 | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014770] [4:systemd-journal: 662] dual_role_usb otg_default: prop MODE=none | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014778] [4:systemd-journal: 662] dual_role_get_local_prop : request prop = 2 , attached_state = 0, power_role_dual = 0 | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014787] [4:systemd-journal: 662] dual_role_usb otg_default: prop POWER_ROLE=none | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014795] [4:systemd-journal: 662] dual_role_get_local_prop : request prop = 3 , attached_state = 0, power_role_dual = 0 | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014803] [4:systemd-journal: 662] dual_role_usb otg_default: prop DATA_ROLE=none | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014811] [4:systemd-journal: 662] dual_role_get_local_prop : request prop = 4 , attached_state = 0, power_role_dual = 0 | 11:23 |
T42 | <Spidey24Z> <6>[ 37.014820] [4:systemd-journal: 662] dual_role_usb otg_default: prop POWERS_VCONN=n | 11:23 |
T42 | <elros34> enable persistent logging (hadk-faq) then you should see the reason for reboot | 11:25 |
T42 | <elros34> otherwise dmesg -w or journalctl -f may be enough | 11:26 |
T42 | <Spidey24Z> Storage=volatile --> Storage=automatic this one (re @elros34: enable persistent lo...) | 11:27 |
T42 | <Mister_Magister> funny thing, automatic is volatile too if directory doesn't exist (re @Spidey24Z: Storage=volatile -->...) | 11:28 |
T42 | <Mister_Magister> instead of automatic you could set it to persistent | 11:28 |
T42 | <elros34> and restart systemd-journald.service | 11:29 |
T42 | <Spidey24Z> okay (re @Mister_Magister: instead of automatic...) | 11:30 |
T42 | <Spidey24Z> i will try this (re @elros34: and restart systemd-...) | 11:30 |
T42 | <Spidey24Z> but it reboots automatically | 11:31 |
T42 | <elros34> create /init_enter_debug2 | 11:32 |
T42 | <Spidey24Z> can't accesses to phone using telnet so i removed it (re @elros34: create /init_enter_d...) | 11:33 |
T42 | <Spidey24Z> @elros34 i think i didn't define boot partition in fix up mount points | 15:44 |
T42 | <elros34> I think this is not required. So what is your current state with /init_enter_debug2 created? | 15:46 |
T42 | <Spidey24Z> Didn't help (re @elros34: I think this is not ...) | 15:47 |
T42 | <elros34> that means nothing to me. What happen, do you have telnet, device reboots, host dmesg shows mer boatloader? | 15:48 |
T42 | <Spidey24Z> cmdline | 15:49 |
T42 | <Spidey24Z> / # cat /proc/cmdline | 15:49 |
T42 | <Spidey24Z> printk.devkmsg=on audit=0 selinux=0 console=ram loglevel=4 sec_debug.level=0 sec_watchdog.sec_pet=5 DynSysLog=1 androidboot.debug_level=0x4f4c androidboot.ap_serial=0x04558FAAEF64 sec_debug.sjl=1 ess_setup=0x46000000 sec_tima_log=0x200000@0x47002000 sec_avc_log=0x40000@0x47204000 sec_tsp_log=0x40000@0x47246000 sec_debug.base=0x100000@0x47288000 auto_summary_log=0x10000@0x4738a000 charging_mode=0x0 s3cfb.bootloaderfb=0x67000000 lcdtype=43909 | 15:49 |
T42 | <elros34> do not paste such a huge logs here | 15:49 |
T42 | <Spidey24Z> now it's not reboot still droid-hal-init: Failed to initialize property area (re @elros34: that means nothing t...) | 15:50 |
T42 | <Spidey24Z> sorry (re @elros34: do not paste such a ...) | 15:50 |
T42 | <TheVancedGamer> and replies on IRC side look ugly | 15:50 |
T42 | <TheVancedGamer> so make sure to ping a user with their @ / username | 15:51 |
T42 | <elros34> so show full dmesg, journal logs if you can't figure out it. | 15:51 |
T42 | <Spidey24Z> okay (re @elros34: so show full dmesg, ...) | 15:51 |
T42 | <Spidey24Z> https://pastebin.ubuntu.com/p/rZvBfcbQbr/ journalctl --no-page (re @elros34: so show full dmesg, ...) | 16:08 |
T42 | <elros34> dmesg? Also did you copy required *.rc files mentioned in hadk-faq hybris-15 section? | 16:14 |
T42 | <Spidey24Z> dmesg https://pastebin.ubuntu.com/p/BQbtnxzH6P/ (re @elros34: dmesg? Also did you ...) | 16:23 |
T42 | <Spidey24Z> yes i copy them (re @elros34: dmesg? Also did you ...) | 16:24 |
T42 | <Spidey24Z> https://pastebin.ubuntu.com/p/dYm5DcShpg/ journalctl -xe | 16:27 |
T42 | <elros34> so files are there: cat usr/libexec/droid-hybris/system/etc/init/vndservicemanager.rc? | 16:27 |
T42 | <elros34> how about content in /system/, does it looks sane? | 16:28 |
T42 | <Spidey24Z> / # cat usr/libexec/droid-hybris/system/etc/init/vndservicemanager.rc | 16:32 |
T42 | <Spidey24Z> service vndservicemanager /vendor/bin/vndservicemanager /dev/vndbinder | 16:32 |
T42 | <Spidey24Z> setenv LD_PRELOAD /usr/libexec/droid-hybris/system/lib64/libselinux_stubs.so | 16:32 |
T42 | <Spidey24Z> class core | 16:32 |
T42 | <Spidey24Z> user system | 16:32 |
T42 | <Spidey24Z> group system readproc | 16:32 |
T42 | <Spidey24Z> writepid /dev/cpuset/system-background/tasks | 16:32 |
T42 | <Spidey24Z> shutdown critical (re @elros34: so files are there: ...) | 16:32 |
T42 | <Spidey24Z> / # ls /system/ | 16:33 |
T42 | <Spidey24Z> CSCVersion.txt cameradata fake-libs64 lkm_sec_info tima_measurement_info | 16:33 |
T42 | <Spidey24Z> HWRDB compatibility_matrix.xml fonts lost+found tts | 16:33 |
T42 | <Spidey24Z> SW_Configuration.xml container framework manifest.xml usr | 16:33 |
T42 | <Spidey24Z> T9DB csc info.extra media vendor | 16:33 |
T42 | <Spidey24Z> app csc_contents kern_sec_info priv-app voicebargeindata | 16:33 |
T42 | <Spidey24Z> bin etc lib recovery-from-boot.bak wakeupdata | 16:33 |
T42 | <Spidey24Z> build.prop fake-libs lib64 saiv xbin (re @elros34: how about content in...) | 16:33 |
T42 | <elros34> systemctl mask droid-hal-init.service and user@100000.service, reboot then run strace -f /sbin/droid-hal-init | 16:36 |
T42 | <Spidey24Z> / # ls /vendor/bin | 16:37 |
T42 | <Spidey24Z> ls: /vendor/bin: No such file or directory (re @Spidey24Z: / # cat usr/libexec/...) | 16:37 |
T42 | <Spidey24Z> okay (re @elros34: systemctl mask droid...) | 16:37 |
T42 | <elros34> and do even think about posting this log directly like your recently. Do you have /vendor symlink on device? | 16:38 |
T42 | <Spidey24Z> this should be /system/vendor or what (re @Spidey24Z: / # ls /vendor/bin | 16:38 |
T42 | <Spidey24Z> l...) | 16:38 |
T42 | <TheVancedGamer> what did I say about replies | 16:38 |
T42 | <TheVancedGamer> IRC side looks ugly now | 16:38 |
T42 | <Spidey24Z> sorry (re @elros34: and do even think ab...) | 16:39 |
T42 | <TheVancedGamer> I give up | 16:39 |
T42 | <Spidey24Z> @TheVancedGamer bro we are on tele what i need to do make irc not ugly 🙄 | 16:40 |
T42 | <TheVancedGamer> don't reply with telegram | 16:40 |
T42 | <TheVancedGamer> instead ping the user with their username like you just did | 16:41 |
T42 | <Spidey24Z> i don't have irc (re @TheVancedGamer: don't reply with tel...) | 16:41 |
T42 | <TheVancedGamer> that doesn't matter | 16:41 |
T42 | <TheVancedGamer> don't press the "Reply" button | 16:41 |
T42 | <Spidey24Z> i reply on a message @TheVancedGamer (re @TheVancedGamer: instead ping the use...) | 16:41 |
T42 | <TheVancedGamer> @elros34 continue please | 16:42 |
Thaodan | Don't dump your logs into the chat | 16:42 |
Thaodan | use a paste service or attach the log file | 16:42 |
T42 | <TheVancedGamer> maybe I should disable more than 15 lines on Telegram side | 16:42 |
T42 | <TheVancedGamer> that would certainly help | 16:43 |
T42 | <Spidey24Z> @elros34 phone did not have vendor partition (re @elros34: and do even think ab...) | 16:44 |
T42 | <Spidey24Z> sorry for that (re @SailfishFreenodeIRCBridgeBot: <Thaodan>Don't dump ...) | 16:45 |
Thaodan | All phones have a vendor partition unless really old | 16:45 |
T42 | <elros34> @Spidey24Z create symlink then, ln -s /system/vendor /vendor | 16:46 |
T42 | <TheVancedGamer> can IRC see media sent from TG side? | 16:46 |
Thaodan | Yes | 16:46 |
T42 | <Spidey24Z> @elros34 it is /system/vendor not /vendor | 16:47 |
Thaodan | (I run the bridge.) | 16:47 |
T42 | <Spidey24Z> @elros34 i will did this | 16:47 |
T42 | <TheVancedGamer> ah | 16:47 |
T42 | <TheVancedGamer> Thaodan: is it possible to add a delay? | 16:48 |
T42 | <TheVancedGamer> before messages here get mirrored to IRC? | 16:48 |
T42 | <Spidey24Z> @elros34 strace -f /sbin/droid-hal-init https://pastebin.ubuntu.com/p/xxTNGhCNjN/ | 16:53 |
T42 | <elros34> do you have *property_contexts files in / and /system/etc/selinux/? | 17:20 |
T42 | <Spidey24Z> @elros34 https://pastebin.ubuntu.com/p/TYvqX9pp6p/ | 17:24 |
T42 | <elros34> what about $ANDROID_ROOT/out? | 17:27 |
T42 | <Spidey24Z> ls ? | 17:30 |
T42 | <elros34> do you have these files there? | 17:30 |
T42 | <Spidey24Z> In root folder | 17:31 |
T42 | <elros34> so what you have in rpm -ql droid-hal-$DEVICE-detritus package? Do you have it installed and what you have added to straggler_files? | 17:34 |
T42 | <Spidey24Z> / # rpm -ql droid-hal-a5y17lte-detritus | 17:37 |
T42 | <Spidey24Z> package droid-hal-a5y17lte-detritus is not installed | 17:37 |
T42 | <Spidey24Z> in phone | 17:38 |
T42 | <elros34> so did not add anything to straggler_files? | 17:40 |
T42 | <Spidey24Z> package droid-hal-a5y17lte-detritus is not installed on pc | 17:41 |
T42 | <Spidey24Z> no i did not (re @elros34: so did not add anyth...) | 17:41 |
T42 | <Spidey24Z> how can i did that? | 17:42 |
T42 | <elros34> like explained in hadk but building droid-hal should fail for you. compare root directory in out/ with / on device | 17:43 |
T42 | <Spidey24Z> all files in out root are in / too | 17:48 |
T42 | <Spidey24Z> but there's no files unpackaged (re @elros34: like explained in ha...) | 17:49 |
T42 | <elros34> how? You confirmed that *property_contexts are in out root/ but not in / on devices. Now you say they are same | 17:50 |
T42 | <Spidey24Z> no i am asked you if they found in root or where i forget to but ? 🤦🏻♂️ | 17:52 |
T42 | <elros34> How do I know if you ask or confirm if you do not use question mark? run make modules | grep contexts | 17:54 |
T42 | <Spidey24Z> Very sorry | 17:55 |
T42 | <elros34> I wonder if "touch /plat_property_contexts" would be enough for you | 17:57 |
T42 | <Spidey24Z> just emty | 17:59 |
T42 | <Spidey24Z> make modules | grep contexts this output including all .mk files | 18:00 |
T42 | <elros34> I do not get. Do you have property_context in "make modules" output? | 18:15 |
T42 | <Spidey24Z> No | 18:22 |
T42 | <Spidey24Z> Had sepolicy_test | 18:24 |
T42 | <Spidey24Z> plat_seapp_neverallows | 18:25 |
T42 | <elros34> no idea why. make hybris-hal finished without errors? Maybe something else builds it. Have you tried creating empty /plat_property_contexts to see if that will make droid-hal-init happy? | 18:26 |
T42 | <Spidey24Z> Yes I touch it but still unhappy😔 (re @elros34: no idea why. make h...) | 18:27 |
T42 | <elros34> does it fails at the same place when you strace it? | 18:27 |
T42 | <Spidey24Z> I run strace again looking nonplat_property | 18:28 |
T42 | <Spidey24Z> I will grab strace output (re @elros34: does it fails at the...) | 18:28 |
T42 | <Spidey24Z> @elros34 https://pastebin.ubuntu.com/p/XpTYdtCDBZ/ | 18:32 |
T42 | <elros34> so have you tried same for /nonplat_property_contexts and reboot? | 18:55 |
T42 | <Spidey24Z> I create this too (re @elros34: so have you tried sa...) | 19:06 |
T42 | <Spidey24Z> Now look : https://irc.thaodan.de/.imgstore/ee6e9fe0/file_3415.jpg | 19:06 |
T42 | <Spidey24Z> strace droid hal now https://pastebin.ubuntu.com/p/Tg6SvfWHkY/ | 19:12 |
T42 | <elros34> did you reboot and mask services like before stracing? | 19:19 |
T42 | <Spidey24Z> Yes | 19:20 |
T42 | <Spidey24Z> strace without masking https://pastebin.ubuntu.com/p/yZ9fjF8knB/ | 19:24 |
T42 | <Spidey24Z> shows Access denied finding property and Access denied adding property | 19:25 |
T42 | <elros34> what do you mean without masking? So droid-hal-init starts now itself and then you start it again? | 19:26 |
T42 | <elros34> if it starts then get logs now | 19:26 |
T42 | <Spidey24Z> no i do reboot (re @elros34: what do you mean wit...) | 19:26 |
T42 | <Spidey24Z> not started (re @elros34: if it starts then ge...) | 19:27 |
T42 | <elros34> clearly from latest strace it start and loads, so unmask services and get logs now | 19:28 |
T42 | <Spidey24Z> Wait a minute (re @elros34: clearly from latest ...) | 19:29 |
T42 | <Spidey24Z> dmesg https://pastebin.ubuntu.com/p/w3Q6SWKvQc/ | 19:45 |
T42 | <Spidey24Z> journalctl too long and have spam messages i cleaning it | 19:46 |
T42 | <Spidey24Z> journalctl too long and have spam messages i'm cleaning it (edited) | 19:47 |
T42 | <Spidey24Z> journalctl https://pastebin.ubuntu.com/p/hwFKVsgFKd/ | 19:57 |
T42 | <Spidey24Z> Do i need custom Android rom installed instead of stock one ? | 20:07 |
T42 | <elros34> Do you have stock android installed? You need same lineage/cm version you used for porting. | 20:10 |
T42 | <Spidey24Z> Same android version also | 20:11 |
T42 | <Spidey24Z> Same android version also? (edited) | 20:12 |
T42 | <elros34> You ported sailfish using hybris-15 sources right? So you need to have cm/lineage-15 image installed on device according to hadk | 20:16 |
T42 | <Spidey24Z> Do you think stock android 8 cause this? | 20:22 |
T42 | <elros34> cause what? It's not optional you must flash lineage-15 and then sailfish. This is how it works, you can't use stock android | 20:23 |
T42 | <Spidey24Z> I'm downloading los 15 now (re @elros34: cause what? It's not...) | 20:24 |
T42 | <Spidey24Z> Install los 15.1 | 20:56 |
T42 | <Spidey24Z> Nothing changed | 20:56 |
T42 | <elros34> maybe context files is not the best way to fix the issue. Either figure out why these files are not build or build them manually or copy from lineage's boot.img initramfs | 21:39 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!