Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

su command failing in addon.d-v2+ scripts #972

Open
osm0sis opened this issue Sep 18, 2023 · 17 comments · Fixed by #1246
Open

su command failing in addon.d-v2+ scripts #972

osm0sis opened this issue Sep 18, 2023 · 17 comments · Fixed by #1246

Comments

@osm0sis
Copy link

osm0sis commented Sep 18, 2023

Describe the bug
KernelSU does not seem to have a way to allow su commands to function when executed from an addon.d script.

Steps to reproduce

  1. Use an A/B device and custom ROM with addon.d support (e.g. Lineage)
  2. Use root to add an addon.d-v2+ (i.e. A/B) script which uses su to /system/addon.d and set chmod 755 it (e.g. 97-dumpimages.sh - unzip from attached 97-dumpimages.sh.zip)
  3. Accept a ROM A/B OTA, let it complete then reboot as instructed
  4. See that the script did not function (e.g. no partition dumps were created in /sdcard/Download)

Log
I piped output from the su command in the script, which confirms it fails with the following:

/postinstall/tmp/addon.d/97-dumpimages.sh[135]: su: inaccessible or not found

Expected behaviour
KernelSU has a com.android.shell entry in the default list to allow adb shell su commands, and should have something similar to allow su commands from the update_engine/backuptool so that addon.d scripts using su can function like they would with Magisk.

I tried enabling root for com.android.shell, and other system packages like android, systemui, Lineage's updater, etc, with no luck, but there must be something that KernelSU can do to allow it.

Smartphone info

  • Device: OnePlus 7T
  • OS: Lineage 20 (Android 13)
  • Version: KernelSU 11191 + Manager v0.6.8 (11238)
@tiann
Copy link
Owner

tiann commented Sep 21, 2023

what is the uid of update_engine/backuptool?

@tiann
Copy link
Owner

tiann commented Sep 21, 2023

Is the /data/ mounted at that time?

@osm0sis
Copy link
Author

osm0sis commented Sep 21, 2023

Is the /data/ mounted at that time?

Yes, addon.d-v2 and v3 are for A/B devices and occur while the device is fully booted.

what is the uid of update_engine/backuptool?

Took this during a running OTA, during addon.d execution:

`ps` output
OnePlus7T:/ # ps -wAf
UID            PID  PPID C STIME TTY          TIME CMD
root             1     0 1 12:52:59 ?     00:00:02 init second_stage
root             2     0 0 12:52:59 ?     00:00:00 [kthreadd]
root             3     2 0 12:52:59 ?     00:00:00 [rcu_gp]
root             5     2 0 12:52:59 ?     00:00:00 [kworker/0:0H]
root             6     2 0 12:52:59 ?     00:00:00 [kworker/0:0X]
root             8     2 0 12:52:59 ?     00:00:00 [mm_percpu_wq]
root             9     2 0 12:52:59 ?     00:00:00 [ksoftirqd/0]
root            10     2 0 12:52:59 ?     00:00:00 [rcu_preempt]
root            11     2 0 12:52:59 ?     00:00:00 [rcu_sched]
root            12     2 0 12:52:59 ?     00:00:00 [rcu_bh]
root            13     2 0 12:52:59 ?     00:00:00 [rcuop/0]
root            14     2 0 12:52:59 ?     00:00:00 [rcuos/0]
root            15     2 0 12:52:59 ?     00:00:00 [rcuob/0]
root            16     2 0 12:52:59 ?     00:00:00 [migration/0]
root            17     2 0 12:52:59 ?     00:00:00 [cpuhp/0]
root            18     2 0 12:52:59 ?     00:00:00 [cpuhp/1]
root            19     2 0 12:52:59 ?     00:00:00 [migration/1]
root            20     2 0 12:52:59 ?     00:00:00 [ksoftirqd/1]
root            21     2 0 12:52:59 ?     00:00:00 [kworker/1:0]
root            22     2 0 12:52:59 ?     00:00:00 [kworker/1:0H]
root            23     2 0 12:52:59 ?     00:00:00 [kworker/1:0X]
root            24     2 0 12:52:59 ?     00:00:00 [rcuop/1]
root            25     2 0 12:52:59 ?     00:00:00 [rcuos/1]
root            26     2 0 12:52:59 ?     00:00:00 [rcuob/1]
root            27     2 0 12:52:59 ?     00:00:00 [cpuhp/2]
root            28     2 0 12:52:59 ?     00:00:00 [migration/2]
root            29     2 0 12:52:59 ?     00:00:00 [ksoftirqd/2]
root            30     2 0 12:52:59 ?     00:00:00 [kworker/2:0]
root            31     2 0 12:52:59 ?     00:00:00 [kworker/2:0H]
root            32     2 0 12:52:59 ?     00:00:00 [kworker/2:0X]
root            33     2 0 12:52:59 ?     00:00:00 [rcuop/2]
root            34     2 0 12:52:59 ?     00:00:00 [rcuos/2]
root            35     2 0 12:52:59 ?     00:00:00 [rcuob/2]
root            36     2 0 12:52:59 ?     00:00:00 [cpuhp/3]
root            37     2 0 12:52:59 ?     00:00:00 [migration/3]
root            38     2 0 12:52:59 ?     00:00:00 [ksoftirqd/3]
root            39     2 0 12:52:59 ?     00:00:00 [kworker/3:0]
root            40     2 0 12:52:59 ?     00:00:00 [kworker/3:0H]
root            41     2 0 12:52:59 ?     00:00:00 [kworker/3:0X]
root            42     2 0 12:52:59 ?     00:00:00 [rcuop/3]
root            43     2 0 12:52:59 ?     00:00:00 [rcuos/3]
root            44     2 0 12:52:59 ?     00:00:00 [rcuob/3]
root            45     2 0 12:52:59 ?     00:00:00 [cpuhp/4]
root            46     2 0 12:52:59 ?     00:00:00 [migration/4]
root            47     2 0 12:52:59 ?     00:00:00 [ksoftirqd/4]
root            48     2 0 12:52:59 ?     00:00:00 [kworker/4:0]
root            49     2 0 12:52:59 ?     00:00:00 [kworker/4:0H]
root            50     2 0 12:52:59 ?     00:00:00 [kworker/4:0X]
root            51     2 0 12:52:59 ?     00:00:00 [rcuop/4]
root            52     2 0 12:52:59 ?     00:00:00 [rcuos/4]
root            53     2 0 12:52:59 ?     00:00:00 [rcuob/4]
root            54     2 0 12:52:59 ?     00:00:00 [cpuhp/5]
root            55     2 0 12:52:59 ?     00:00:00 [migration/5]
root            56     2 0 12:52:59 ?     00:00:00 [ksoftirqd/5]
root            58     2 0 12:52:59 ?     00:00:00 [kworker/5:0H]
root            59     2 0 12:52:59 ?     00:00:00 [kworker/5:0X]
root            60     2 0 12:52:59 ?     00:00:00 [rcuop/5]
root            61     2 0 12:52:59 ?     00:00:00 [rcuos/5]
root            62     2 0 12:52:59 ?     00:00:00 [rcuob/5]
root            63     2 0 12:52:59 ?     00:00:00 [cpuhp/6]
root            64     2 0 12:52:59 ?     00:00:00 [migration/6]
root            65     2 0 12:52:59 ?     00:00:00 [ksoftirqd/6]
root            67     2 0 12:52:59 ?     00:00:00 [kworker/6:0H]
root            68     2 0 12:52:59 ?     00:00:00 [kworker/6:0X]
root            69     2 0 12:52:59 ?     00:00:00 [rcuop/6]
root            70     2 0 12:52:59 ?     00:00:00 [rcuos/6]
root            71     2 0 12:52:59 ?     00:00:00 [rcuob/6]
root            72     2 0 12:52:59 ?     00:00:00 [cpuhp/7]
root            73     2 0 12:52:59 ?     00:00:00 [migration/7]
root            74     2 0 12:52:59 ?     00:00:00 [ksoftirqd/7]
root            76     2 0 12:52:59 ?     00:00:00 [kworker/7:0H]
root            77     2 0 12:52:59 ?     00:00:00 [kworker/7:0X]
root            78     2 0 12:52:59 ?     00:00:00 [rcuop/7]
root            79     2 0 12:52:59 ?     00:00:00 [rcuos/7]
root            80     2 0 12:52:59 ?     00:00:00 [rcuob/7]
root            81     2 0 12:52:59 ?     00:00:00 [netns]
root            82     2 0 12:52:59 ?     00:00:00 [kworker/6:1]
root            83     2 0 12:52:59 ?     00:00:00 [kworker/u24:1]
root            85     2 0 12:52:59 ?     00:00:00 [ipa_usb_wq]
root            86     2 0 12:52:59 ?     00:00:00 [phoenix_hlos_wa]
root            87     2 0 12:52:59 ?     00:00:00 [msm_watchdog]
root            88     2 0 12:52:59 ?     00:00:00 [spi_wdsp]
root            89     2 0 12:52:59 ?     00:00:00 [qmp_aop]
root            90     2 0 12:52:59 ?     00:00:00 [qmp_npu_qmp_low]
root            91     2 0 12:52:59 ?     00:00:00 [qmp_npu_qmp_hig]
root            92     2 0 12:52:59 ?     00:00:00 [sensor_feedback]
root            93     2 0 12:52:59 ?     00:00:00 [khungtaskd]
root            94     2 0 12:52:59 ?     00:00:00 [oom_reaper]
root            95     2 0 12:52:59 ?     00:00:00 [writeback]
root            96     2 0 12:52:59 ?     00:00:00 [kcompactd0]
root            97     2 0 12:52:59 ?     00:00:00 [crypto]
root            98     2 0 12:52:59 ?     00:00:00 [kblockd]
root            99     2 0 12:52:59 ?     00:00:00 [blk_crypto_wq]
root           100     2 0 12:52:59 ?     00:00:00 [kworker/5:1]
root           101     2 0 12:52:59 ?     00:00:00 [irq/420-arm-smm]
root           102     2 0 12:52:59 ?     00:00:00 [irq/522-arm-smm]
root           103     2 0 12:52:59 ?     00:00:00 [irq/127-tsens-u]
root           104     2 0 12:52:59 ?     00:00:00 [irq/128-tsens-c]
root           105     2 0 12:52:59 ?     00:00:00 [irq/129-tsens-u]
root           106     2 0 12:52:59 ?     00:00:00 [irq/130-tsens-c]
root           107     2 0 12:52:59 ?     00:00:00 [edac-poller]
root           109     2 0 12:52:59 ?     00:00:00 [system]
root           110     2 0 12:52:59 ?     00:00:00 [ipa_power_mgmt]
root           111     2 0 12:52:59 ?     00:00:00 [transport_power]
root           112     2 0 12:52:59 ?     00:00:00 [ipa_pm_activate]
root           113     2 0 12:52:59 ?     00:00:00 [devfreq_wq]
root           114     2 0 12:52:59 ?     00:00:00 [kworker/7:1]
root           115     2 0 12:52:59 ?     00:00:00 [cfg80211]
root           116     2 0 12:52:59 ?     00:00:00 [irq/100-qpnp_lc]
root           118     2 0 12:52:59 ?     00:00:00 [kworker/4:1]
root           123     2 0 12:52:59 ?     00:00:00 [kworker/2:1]
root           127     2 0 12:52:59 ?     00:00:00 [kworker/1:1]
root           157     2 0 12:52:59 ?     00:00:00 [panic_flush]
root           158     2 0 12:52:59 ?     00:00:00 [kauditd]
root           159     2 0 12:52:59 ?     00:00:00 [kswapd0:0]
root           160     2 0 12:52:59 ?     00:00:00 [ecryptfs-kthrea]
root           201     2 0 12:52:59 ?     00:00:00 [irq/104-wled_ov]
root           202     2 0 12:52:59 ?     00:00:00 [irq/106-wled_fl]
root           203     2 0 12:52:59 ?     00:00:00 [irq/105-wled_pr]
root           204     2 0 12:52:59 ?     00:00:00 [irq/423-arm-smm]
root           205     2 0 12:52:59 ?     00:00:00 [irq/425-arm-smm]
root           206     2 0 12:52:59 ?     00:00:00 [irq/426-arm-smm]
root           207     2 0 12:52:59 ?     00:00:00 [irq/415-smp2p]
root           208     2 0 12:52:59 ?     00:00:00 [irq/416-smp2p]
root           209     2 0 12:52:59 ?     00:00:00 [irq/417-smp2p]
root           210     2 0 12:52:59 ?     00:00:00 [irq/418-smp2p]
root           211     2 0 12:52:59 ?     00:00:00 [irq/427-arm-smm]
root           213     2 0 12:52:59 ?     00:00:00 [mem_share_svc]
root           214     2 0 12:52:59 ?     00:00:00 [cdsprm-wq]
root           215     2 0 12:52:59 ?     00:00:00 [cdsprm-wq-delay]
root           216     2 0 12:52:59 ?     00:00:00 [fb_flush]
root           217     2 0 12:52:59 ?     00:00:00 [mm_kevent]
root           218     2 0 12:52:59 ?     00:00:00 [acm_fwk_loop]
root           219     2 0 12:52:59 ?     00:00:00 [acm_logging_loo]
root           220     2 0 12:52:59 ?     00:00:00 [nswapoutd]
root           221     2 0 12:52:59 ?     00:00:00 [nswapdropd]
root           222     2 0 12:52:59 ?     00:00:00 [nswapind]
root           223     2 0 12:52:59 ?     00:00:00 [irq/428-arm-smm]
root           224     2 0 12:52:59 ?     00:00:00 [okl4vtty]
root           225     2 0 12:52:59 ?     00:00:00 [hwrng]
root           227     2 0 12:52:59 ?     00:00:00 [kworker/0:1]
root           228     2 0 12:52:59 ?     00:00:00 [diag_real_time_]
root           229     2 0 12:52:59 ?     00:00:00 [diag_wq]
root           231     2 0 12:52:59 ?     00:00:00 [DIAG_USB_diag]
root           232     2 0 12:52:59 ?     00:00:00 [diag_cntl_wq]
root           233     2 0 12:52:59 ?     00:00:00 [diag_dci_wq]
root           234     2 0 12:52:59 ?     00:00:00 [MODEM_CNTL]
root           235     2 0 12:52:59 ?     00:00:00 [MODEM_DATA]
root           236     2 0 12:52:59 ?     00:00:00 [MODEM_CMD]
root           237     2 0 12:52:59 ?     00:00:00 [MODEM_DCI]
root           238     2 0 12:52:59 ?     00:00:00 [MODEM_DCI_CMD]
root           239     2 0 12:52:59 ?     00:00:00 [LPASS_CNTL]
root           240     2 0 12:52:59 ?     00:00:00 [LPASS_DATA]
root           241     2 0 12:52:59 ?     00:00:00 [LPASS_CMD]
root           242     2 0 12:52:59 ?     00:00:00 [LPASS_DCI]
root           243     2 0 12:52:59 ?     00:00:00 [LPASS_DCI_CMD]
root           244     2 0 12:52:59 ?     00:00:00 [WCNSS_CNTL]
root           245     2 0 12:52:59 ?     00:00:00 [WCNSS_DATA]
root           246     2 0 12:52:59 ?     00:00:00 [WCNSS_CMD]
root           247     2 0 12:52:59 ?     00:00:00 [WCNSS_DCI]
root           248     2 0 12:52:59 ?     00:00:00 [WCNSS_DCI_CMD]
root           249     2 0 12:52:59 ?     00:00:00 [SENSORS_CNTL]
root           250     2 0 12:52:59 ?     00:00:00 [SENSORS_DATA]
root           251     2 0 12:52:59 ?     00:00:00 [SENSORS_CMD]
root           252     2 0 12:52:59 ?     00:00:00 [SENSORS_DCI]
root           253     2 0 12:52:59 ?     00:00:00 [SENSORS_DCI_CMD]
root           254     2 0 12:52:59 ?     00:00:00 [DIAG_CTRL]
root           255     2 0 12:52:59 ?     00:00:00 [DIAG_DATA]
root           256     2 0 12:52:59 ?     00:00:00 [DIAG_CMD]
root           257     2 0 12:52:59 ?     00:00:00 [DIAG_DCI_DATA]
root           258     2 0 12:52:59 ?     00:00:00 [DIAG_DCI_CMD]
root           259     2 0 12:52:59 ?     00:00:00 [CDSP_CNTL]
root           260     2 0 12:52:59 ?     00:00:00 [CDSP_DATA]
root           261     2 0 12:52:59 ?     00:00:00 [CDSP_CMD]
root           262     2 0 12:52:59 ?     00:00:00 [CDSP_DCI]
root           263     2 0 12:52:59 ?     00:00:00 [CDSP_DCI_CMD]
root           264     2 0 12:52:59 ?     00:00:00 [NPU_CNTL]
root           265     2 0 12:52:59 ?     00:00:00 [NPU_DATA]
root           266     2 0 12:52:59 ?     00:00:00 [NPU_CMD]
root           267     2 0 12:52:59 ?     00:00:00 [NPU_DCI]
root           268     2 0 12:52:59 ?     00:00:00 [NPU_DCI_CMD]
root           269     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_APPS]
root           270     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_APPS]
root           271     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_DIAG]
root           272     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_DIAG]
root           273     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_DIAG]
root           274     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_DIAG]
root           275     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_DIAG]
root           276     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_DIAG]
root           277     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_DIAG]
root           278     2 0 12:52:59 ?     00:00:00 [DIAG_RPMSG_DIAG]
root           280     2 1 12:52:59 ?     00:00:02 [kworker/u24:3]
root           281     2 0 12:52:59 ?     00:00:00 [diag_mhi_MDM]
root           282     2 0 12:52:59 ?     00:00:00 [kworker/u24:4]
root           283     2 0 12:52:59 ?     00:00:00 [DIAG_USB_diag_m]
root           284     2 0 12:52:59 ?     00:00:00 [kworker/u24:5]
root           285     2 0 12:52:59 ?     00:00:00 [diag_mhi_MDM_DC]
root           287     2 0 12:52:59 ?     00:00:00 [diag_dci_MDM_DC]
root           289     2 0 12:52:59 ?     00:00:00 [dp_mst_sim]
root           290     2 0 12:52:59 ?     00:00:00 [mm_kevent]
root           291     2 0 12:52:59 ?     00:00:00 [oplus_ffl]
root           292     2 0 12:52:59 ?     00:00:00 [kgsl-workqueue]
root           293     2 0 12:52:59 ?     00:00:00 [kgsl-mementry]
root           294     2 1 12:52:59 ?     00:00:03 [kgsl_worker_thr]
root           295     2 0 12:52:59 ?     00:00:00 [irq/523-arm-smm]
root           296     2 0 12:52:59 ?     00:00:00 [irq/524-arm-smm]
root           297     2 0 12:52:59 ?     00:00:00 [irq/525-arm-smm]
root           298     2 0 12:52:59 ?     00:00:00 [irq/526-arm-smm]
root           300     2 0 12:52:59 ?     00:00:00 [kgsl-events]
root           301     2 0 12:52:59 ?     00:00:00 [kgsl_devfreq_wq]
root           302     2 0 12:52:59 ?     00:00:00 [qseecom-unreg-l]
root           303     2 0 12:52:59 ?     00:00:00 [qseecom-unload-]
root           304     2 0 12:52:59 ?     00:00:00 [memory_wq]
root           306     2 0 12:52:59 ?     00:00:00 [irq/429-arm-smm]
root           307     2 0 12:52:59 ?     00:00:00 [irq/430-arm-smm]
root           308     2 0 12:52:59 ?     00:00:00 [irq/431-arm-smm]
root           309     2 0 12:52:59 ?     00:00:00 [qcrypto_seq_res]
root           310     2 0 12:52:59 ?     00:00:00 [irq/432-arm-smm]
root           316     2 0 12:52:59 ?     00:00:00 [kworker/3:1]
root           332     2 0 12:52:59 ?     00:00:00 [scsi_eh_0]
root           333     2 0 12:52:59 ?     00:00:00 [scsi_tmf_0]
root           334     2 0 12:52:59 ?     00:00:00 [ufs_pm_qos_0]
root           335     2 0 12:52:59 ?     00:00:00 [ufs_clk_gating_]
root           336     2 0 12:52:59 ?     00:00:00 [ufs_clkscaling_]
root           338     2 0 12:52:59 ?     00:00:00 [irq/433-arm-smm]
root           339     2 0 12:52:59 ?     00:00:00 [spi1]
root           340     2 0 12:52:59 ?     00:00:00 [spi0]
root           341     2 0 12:52:59 ?     00:00:00 [bond0]
root           347     2 0 12:52:59 ?     00:00:00 [uether]
root           348     2 0 12:52:59 ?     00:00:00 [k_ipa_usb]
root           351     2 0 12:52:59 ?     00:00:00 [irq/206-aw8697]
root           352     2 0 12:52:59 ?     00:00:00 [irq/434-arm-smm]
root           353     2 0 12:52:59 ?     00:00:00 [tp_async]
root           355     2 0 12:52:59 ?     00:00:00 [speedup_resume_]
root           356     2 0 12:52:59 ?     00:00:00 [lcd_trigger_loa]
root           357     2 0 12:52:59 ?     00:00:00 [irq/435-arm-smm]
root           358     2 0 12:52:59 ?     00:00:00 [msm_vidc_worker]
root           359     2 0 12:52:59 ?     00:00:00 [pm_workerq_venu]
root           360     2 0 12:52:59 ?     00:00:00 [irq/436-arm-smm]
root           362     2 0 12:52:59 ?     00:00:00 [irq/437-arm-smm]
root           364     2 0 12:52:59 ?     00:00:00 [irq/438-arm-smm]
root           365     2 0 12:52:59 ?     00:00:00 [irq/439-arm-smm]
root           368     2 1 12:52:59 ?     00:00:03 [kworker/u24:14]
root           369     2 0 12:52:59 ?     00:00:00 [cam-cpas]
root           371     2 0 12:52:59 ?     00:00:00 [qcom,cam_virtua]
root           372     2 0 12:52:59 ?     00:00:00 [irq/440-arm-smm]
root           373     2 0 12:52:59 ?     00:00:00 [qcom,cam170-cpa]
root           374     2 0 12:52:59 ?     00:00:00 [irq/441-arm-smm]
root           375     2 0 12:52:59 ?     00:00:00 [cam_cci_wq]
root           376     2 0 12:52:59 ?     00:00:00 [cam_cci_wq]
root           377     2 0 12:52:59 ?     00:00:00 [cam_cci_wq]
root           378     2 0 12:52:59 ?     00:00:00 [cam_cci_wq]
root           379     2 0 12:52:59 ?     00:00:00 [irq/442-arm-smm]
root           380     2 0 12:52:59 ?     00:00:00 [irq/443-arm-smm]
root           381     2 0 12:52:59 ?     00:00:00 [irq/444-arm-smm]
root           382     2 0 12:52:59 ?     00:00:00 [irq/445-arm-smm]
root           383     2 0 12:52:59 ?     00:00:00 [irq/557-soc-upd]
root           384     2 0 12:52:59 ?     00:00:00 [irq/558-soc-rea]
root           385     2 0 12:52:59 ?     00:00:00 [irq/559-bsoc-de]
root           386     2 0 12:52:59 ?     00:00:00 [irq/560-msoc-de]
root           387     2 0 12:52:59 ?     00:00:00 [irq/561-msoc-lo]
root           388     2 0 12:52:59 ?     00:00:00 [irq/562-msoc-em]
root           389     2 0 12:52:59 ?     00:00:00 [irq/563-msoc-hi]
root           390     2 0 12:52:59 ?     00:00:00 [irq/564-msoc-fu]
root           391     2 0 12:52:59 ?     00:00:00 [irq/565-vbatt-l]
root           392     2 0 12:52:59 ?     00:00:00 [irq/566-vbatt-p]
root           393     2 0 12:52:59 ?     00:00:00 [irq/567-esr-del]
root           394     2 0 12:52:59 ?     00:00:00 [irq/568-batt-mi]
root           395     2 0 12:52:59 ?     00:00:00 [irq/569-batt-id]
root           396     2 0 12:52:59 ?     00:00:00 [irq/570-batt-te]
root           397     2 0 12:52:59 ?     00:00:00 [irq/571-batt-te]
root           398     2 0 12:52:59 ?     00:00:00 [irq/572-batt-te]
root           399     2 0 12:52:59 ?     00:00:00 [irq/573-ima-rdy]
root           400     2 0 12:52:59 ?     00:00:00 [irq/574-ima-xcp]
root           401     2 0 12:52:59 ?     00:00:00 [irq/575-dma-xcp]
root           402     2 0 12:52:59 ?     00:00:00 [irq/576-dma-gra]
root           403     2 0 12:52:59 ?     00:00:00 [irq/577-mem-att]
root           405     2 0 12:53:00 ?     00:00:00 [irq/531-limits_]
root           406     2 0 12:53:00 ?     00:00:00 [kworker/0:1H]
root           407     2 0 12:53:00 ?     00:00:00 [irq/532-limits_]
root           409     2 0 12:53:00 ?     00:00:00 [irq/78-bcl-lvl0]
root           410     2 0 12:53:00 ?     00:00:00 [irq/79-bcl-lvl1]
root           411     2 0 12:53:00 ?     00:00:00 [irq/80-bcl-lvl2]
root           412     2 0 12:53:00 ?     00:00:00 [irq/96-bcl-lvl0]
root           413     2 0 12:53:00 ?     00:00:00 [irq/97-bcl-lvl1]
root           414     2 0 12:53:00 ?     00:00:00 [irq/98-bcl-lvl2]
root           415     2 0 12:53:00 ?     00:00:00 [dm_bufio_cache]
root           416     2 0 12:53:00 ?     00:00:00 [irq/115-KRYO L3]
root           417     2 0 12:53:00 ?     00:00:00 [mmc_clk_gate/mm]
root           418     2 0 12:53:00 ?     00:00:00 [irq/118-8804000]
root           419     2 0 12:53:00 ?     00:00:00 [irq/117-mmc0]
root           420     2 0 12:53:00 ?     00:00:00 [irq/280-8804000]
root           422     2 0 12:53:00 ?     00:00:00 [irq/446-arm-smm]
root           423     2 0 12:53:00 ?     00:00:00 [uaudio_svc]
root           424     2 0 12:53:00 ?     00:00:00 [apr_driver]
root           425     2 0 12:53:00 ?     00:00:00 [wdsp_glink_wq]
root           427     2 0 12:53:00 ?     00:00:00 [ipv6_addrconf]
root           436     2 0 12:53:00 ?     00:00:00 [irq/82-hap_play]
root           437     2 0 12:53:00 ?     00:00:00 [irq/81-hap_sc_i]
root           439     2 0 12:53:00 ?     00:00:00 [kworker/7:4]
root           443     2 0 12:53:00 ?     00:00:00 [shortc_thread]
root           444     2 0 12:53:00 ?     00:00:00 [oplus_chg_debug]
root           445     2 0 12:53:00 ?     00:00:00 [irq/579-chgr-er]
root           446     2 0 12:53:00 ?     00:00:00 [irq/580-chg-sta]
root           448     2 0 12:53:00 ?     00:00:00 [irq/586-otg-fai]
root           449     2 0 12:53:00 ?     00:00:00 [irq/589-high-du]
root           451     2 0 12:53:00 ?     00:00:00 [irq/590-input-c]
root           452     2 0 12:53:00 ?     00:00:00 [irq/592-switche]
root           454     2 0 12:53:00 ?     00:00:00 [irq/593-bat-tem]
root           455     2 0 12:53:00 ?     00:00:00 [irq/594-bat-ov]
root           456     2 0 12:53:00 ?     00:00:00 [irq/595-bat-low]
root           457     2 0 12:53:00 ?     00:00:00 [irq/596-bat-the]
root           458     2 0 12:53:00 ?     00:00:00 [irq/597-bat-ter]
root           459     2 0 12:53:00 ?     00:00:00 [irq/600-usbin-c]
root           460     2 0 12:53:00 ?     00:00:00 [irq/601-usbin-v]
root           461     2 0 12:53:00 ?     00:00:00 [irq/602-usbin-u]
root           462     2 0 12:53:00 ?     00:00:00 [irq/603-usbin-o]
root           463     2 0 12:53:00 ?     00:00:00 [irq/604-usbin-p]
root           464     2 0 12:53:00 ?     00:00:00 [irq/606-usbin-s]
root           465     2 0 12:53:00 ?     00:00:00 [irq/607-usbin-i]
root           466     2 0 12:53:00 ?     00:00:00 [irq/609-dcin-uv]
root           467     2 0 12:53:00 ?     00:00:00 [irq/610-dcin-ov]
root           468     2 0 12:53:00 ?     00:00:00 [irq/611-dcin-pl]
root           469     2 0 12:53:00 ?     00:00:00 [irq/613-dcin-po]
root           470     2 0 12:53:00 ?     00:00:00 [irq/614-dcin-en]
root           471     2 0 12:53:00 ?     00:00:00 [irq/615-typec-o]
root           472     2 0 12:53:00 ?     00:00:00 [irq/617-typec-c]
root           473     2 0 12:53:00 ?     00:00:00 [irq/618-typec-v]
root           474     2 0 12:53:00 ?     00:00:00 [irq/620-typec-a]
root           475     2 0 12:53:00 ?     00:00:00 [irq/621-typec-l]
root           476     2 0 12:53:00 ?     00:00:00 [irq/623-wdog-sn]
root           477     2 0 12:53:00 ?     00:00:00 [irq/624-wdog-ba]
root           478     2 0 12:53:00 ?     00:00:00 [irq/626-aicl-do]
root           479     2 0 12:53:00 ?     00:00:00 [irq/627-smb-en]
root           480     2 0 12:53:00 ?     00:00:00 [irq/628-temp-ch]
root           481     2 0 12:53:00 ?     00:00:00 [irq/274-ccdetec]
root           482     2 0 12:53:00 ?     00:00:00 [tbatt_pwroff]
root           483     2 1 12:53:00 ?     00:00:01 [usbtemp_kthread]
root           484     2 0 12:53:00 ?     00:00:00 [irq/56-qcom,tem]
root           485     2 0 12:53:00 ?     00:00:00 [irq/51-qcom,tem]
root           486     2 0 12:53:00 ?     00:00:00 [irq/83-qcom,tem]
root           487     2 0 12:53:00 ?     00:00:00 [irq/60-thr-int-]
root           488     2 0 12:53:00 ?     00:00:00 [irq/69-thr-int-]
root           489     2 0 12:53:00 ?     00:00:00 [irq/99-thr-int-]
root           490     2 0 12:53:00 ?     00:00:00 [irq/447-arm-smm]
root           491     2 0 12:53:00 ?     00:00:00 [etr_pcie]
root           498     2 0 12:53:00 ?     00:00:00 [irq/70-sig-tx]
root           499     2 0 12:53:00 ?     00:00:00 [irq/71-sig-rx]
root           501     2 0 12:53:00 ?     00:00:00 [irq/516-pwr_eve]
root           502     2 0 12:53:00 ?     00:00:00 [irq/515-dp_hs_p]
root           503     2 0 12:53:00 ?     00:00:00 [irq/518-dm_hs_p]
root           504     2 0 12:53:00 ?     00:00:00 [irq/517-ss_phy_]
root           505     2 0 12:53:00 ?     00:00:00 [irq/448-arm-smm]
root           506     2 0 12:53:00 ?     00:00:00 [usb_bam_wq]
root           507     2 0 12:53:00 ?     00:00:00 [core_ctl/0]
root           508     2 0 12:53:00 ?     00:00:00 [core_ctl/4]
root           509     2 0 12:53:00 ?     00:00:00 [core_ctl/7]
root           512     2 0 12:53:01 ?     00:00:00 [rq_stats]
root           513     2 0 12:53:01 ?     00:00:00 [msm_perf:events]
root           514     2 0 12:53:01 ?     00:00:00 [ubootback_threa]
root           515     2 0 12:53:01 ?     00:00:00 [irq/449-arm-smm]
root           516     2 0 12:53:01 ?     00:00:00 [irq/450-arm-smm]
root           517     2 0 12:53:01 ?     00:00:00 [irq/451-arm-smm]
root           518     2 0 12:53:01 ?     00:00:00 [irq/452-arm-smm]
root           519     2 0 12:53:01 ?     00:00:00 [irq/453-arm-smm]
root           520     2 0 12:53:01 ?     00:00:00 [irq/454-arm-smm]
root           521     2 0 12:53:01 ?     00:00:00 [irq/455-arm-smm]
root           522     2 0 12:53:01 ?     00:00:00 [irq/456-arm-smm]
root           523     2 0 12:53:01 ?     00:00:00 [irq/457-arm-smm]
root           524     2 0 12:53:01 ?     00:00:00 [irq/458-arm-smm]
root           525     2 0 12:53:01 ?     00:00:00 [irq/459-arm-smm]
root           526     2 0 12:53:01 ?     00:00:00 [irq/460-arm-smm]
root           527     2 0 12:53:01 ?     00:00:00 [irq/461-arm-smm]
root           528     2 0 12:53:01 ?     00:00:00 [irq/462-arm-smm]
root           529     2 0 12:53:01 ?     00:00:00 [irq/463-arm-smm]
root           530     2 0 12:53:01 ?     00:00:00 [drm_dp]
root           531     2 0 12:53:01 ?     00:00:00 [irq/424-arm-smm]
root           533     2 0 12:53:01 ?     00:00:00 [irq/464-arm-smm]
root           534     2 0 12:53:01 ?     00:00:00 [sdm_dp_audio_no]
root           535     2 0 12:53:01 ?     00:00:00 [hdcp_1x_1]
root           536     2 0 12:53:01 ?     00:00:00 [hdcp_tz_lib]
root           537     2 0 12:53:01 ?     00:00:00 [dp_hdcp2p2]
root           538     2 2 12:53:01 ?     00:00:06 [crtc_commit:139]
root           539     2 0 12:53:01 ?     00:00:00 [crtc_event:139]
root           540     2 0 12:53:01 ?     00:00:00 [crtc_commit:194]
root           541     2 0 12:53:01 ?     00:00:00 [crtc_event:194]
root           542     2 0 12:53:01 ?     00:00:00 [crtc_commit:202]
root           543     2 0 12:53:01 ?     00:00:00 [crtc_event:202]
root           544     2 0 12:53:01 ?     00:00:00 [crtc_commit:210]
root           545     2 0 12:53:01 ?     00:00:00 [crtc_event:210]
root           546     2 0 12:53:01 ?     00:00:00 [crtc_commit:218]
root           547     2 0 12:53:01 ?     00:00:00 [crtc_event:218]
root           548     2 0 12:53:01 ?     00:00:00 [pp_event]
root           549     2 0 12:53:01 ?     00:00:00 [kworker/5:3]
root           550     2 0 12:53:01 ?     00:00:00 [rot_commitq_0_0]
root           551     2 0 12:53:01 ?     00:00:00 [rot_commitq_0_1]
root           552     2 0 12:53:01 ?     00:00:00 [rot_doneq_0_0]
root           553     2 0 12:53:01 ?     00:00:00 [rot_doneq_0_1]
root           554     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_0]
root           555     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_1]
root           556     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_2]
root           557     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_3]
root           558     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_4]
root           559     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_5]
root           560     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_6]
root           561     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_7]
root           562     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_8]
root           563     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_9]
root           564     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_10]
root           565     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_11]
root           566     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_12]
root           567     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_13]
root           568     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_14]
root           569     2 0 12:53:01 ?     00:00:00 [rot_fenceq_0_15]
root           571     2 0 12:53:01 ?     00:00:00 [kworker/3:3]
root           572     2 0 12:53:01 ?     00:00:00 [kworker/2:2]
root           573     2 0 12:53:01 ?     00:00:00 [op_rf_cable_wqu]
root           574     2 0 12:53:01 ?     00:00:00 [sb-1]
root           575     2 0 12:53:01 ?     00:00:00 [ngd_rx_thread1]
root           576     2 0 12:53:01 ?     00:00:00 [ngd_notify_sl1]
root           577     2 0 12:53:01 ?     00:00:00 [sb-3]
root           578     2 0 12:53:01 ?     00:00:00 [ngd_rx_thread3]
root           579     2 0 12:53:01 ?     00:00:00 [ngd_notify_sl3]
root           580     2 0 12:53:01 ?     00:00:00 [irq/103-qpnp_fl]
root           581     2 0 12:53:01 ?     00:00:00 [irq/102-qpnp_fl]
root           582     2 0 12:53:01 ?     00:00:00 [irq/101-qpnp_fl]
root           583     2 0 12:53:01 ?     00:00:00 [kworker/6:1H]
root           586     2 0 12:53:01 ?     00:00:00 [jbd2/sda20-8]
root           587     2 0 12:53:01 ?     00:00:00 [ext4-rsv-conver]
root           598     2 0 12:53:01 ?     00:00:00 [kdmflush]
root           599     2 0 12:53:01 ?     00:00:00 [bioset]
root           600     2 0 12:53:01 ?     00:00:00 [kdmflush]
root           601     2 0 12:53:01 ?     00:00:00 [bioset]
root           602     2 0 12:53:01 ?     00:00:00 [kdmflush]
root           603     2 0 12:53:01 ?     00:00:00 [bioset]
root           604     2 0 12:53:01 ?     00:00:00 [kdmflush]
root           605     2 0 12:53:01 ?     00:00:00 [bioset]
root           606     2 0 12:53:01 ?     00:00:00 [kdmflush]
root           607     2 0 12:53:01 ?     00:00:00 [bioset]
root           608     2 0 12:53:01 ?     00:00:00 [ext4-rsv-conver]
root           609     2 0 12:53:01 ?     00:00:00 [ext4-rsv-conver]
root           610     2 0 12:53:01 ?     00:00:00 [ext4-rsv-conver]
root           611     2 0 12:53:01 ?     00:00:00 [ext4-rsv-conver]
root           612     2 0 12:53:01 ?     00:00:00 [ext4-rsv-conver]
root           613     2 0 12:53:01 ?     00:00:00 [kworker/5:1H]
root           614     2 0 12:53:01 ?     00:00:00 [kworker/7:1H]
root           616     1 0 12:53:01 ?     00:00:00 init subcontext u:r:vendor_init:s0 14
root           618     1 1 12:53:01 ?     00:00:04 ueventd
root           628     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           630     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           632     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           633     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           635     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           639     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           640     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           641     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           644     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           645     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           646     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           647     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           648     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           650     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           651     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           652     2 0 12:53:02 ?     00:00:00 [kdmflush]
root           659     2 0 12:53:02 ?     00:00:00 [loop0]
root           660     2 0 12:53:02 ?     00:00:00 [kworker/2:1H]
root           661     2 0 12:53:02 ?     00:00:00 [loop1]
root           662     2 0 12:53:02 ?     00:00:00 [kworker/1:1H]
root           663     2 0 12:53:02 ?     00:00:00 [kworker/3:1H]
root           664     2 0 12:53:02 ?     00:00:00 [ext4-rsv-conver]
root           665     2 0 12:53:02 ?     00:00:00 [loop2]
root           666     2 0 12:53:02 ?     00:00:00 [ext4-rsv-conver]
root           667     2 0 12:53:02 ?     00:00:00 [loop3]
root           668     2 0 12:53:02 ?     00:00:00 [ext4-rsv-conver]
root           669     2 0 12:53:02 ?     00:00:00 [ext4-rsv-conver]
prng_seeder    674     1 0 12:53:02 ?     00:00:00 prng_seeder
logd           678     1 1 12:53:02 ?     00:00:02 logd
lmkd           679     1 0 12:53:02 ?     00:00:00 lmkd
system         680     1 0 12:53:02 ?     00:00:00 servicemanager
system         681     1 0 12:53:02 ?     00:00:00 hwservicemanager
system         682     1 0 12:53:02 ?     00:00:00 vndservicemanager /dev/vndbinder
system         691     1 0 12:53:02 ?     00:00:00 android.hardware.keymaster@4.0-service-qti
system         692     1 0 12:53:02 ?     00:00:00 qseecomd
system         693     1 0 12:53:02 ?     00:00:00 vendor.qti.hardware.qseecom@1.0-service
root           694     1 0 12:53:02 ?     00:00:00 vold --blkid_context=u:r:blkid:s0 --blkid_untrusted_context=u:r:blkid_untrusted:s0 --fsck_context=u:r:fsck:s0 --fsck_untrusted_context=u:r:fsck_untrusted:s0
root           697     2 0 12:53:02 ?     00:00:00 [jbd2/sde9-8]
root           698     2 0 12:53:02 ?     00:00:00 [ext4-rsv-conver]
root           699     2 0 12:53:02 ?     00:00:00 [jbd2/sda2-8]
root           700     2 0 12:53:02 ?     00:00:00 [ext4-rsv-conver]
root           711     2 0 12:53:02 ?     00:00:00 [kdmflush]
system         718     1 0 12:53:02 ?     00:00:00 android.system.suspend@1.0-service
keystore       719     1 0 12:53:02 ?     00:00:00 keystore2 /data/misc/keystore
system         720     1 0 12:53:02 ?     00:00:00 android.hardware.atrace@1.0-service
root           721     1 0 12:53:02 ?     00:00:00 android.hardware.boot@1.1-service
system         722     1 0 12:53:02 ?     00:00:00 android.hardware.gatekeeper@1.0-service-qti
system         723     1 0 12:53:02 ?     00:00:00 sscrpcd sensorspd
root           736     2 0 12:53:02 ?     00:00:00 [bioset]
root           742     2 0 12:53:02 ?     00:00:00 [jbd2/dm-37-8]
root           743     2 0 12:53:02 ?     00:00:00 [ext4-rsv-conver]
tombstoned     752     1 0 12:53:03 ?     00:00:00 tombstoned
root           763     2 0 12:53:03 ?     00:00:00 [loop4]
root           764     2 0 12:53:03 ?     00:00:00 [loop5]
root           765     2 0 12:53:03 ?     00:00:00 [ext4-rsv-conver]
root           766     2 0 12:53:03 ?     00:00:00 [loop6]
root           767     2 0 12:53:03 ?     00:00:00 [ext4-rsv-conver]
root           768     2 0 12:53:03 ?     00:00:00 [loop7]
root           769     2 0 12:53:03 ?     00:00:00 [ext4-rsv-conver]
root           770     2 0 12:53:03 ?     00:00:00 [loop8]
root           771     2 0 12:53:03 ?     00:00:00 [ext4-rsv-conver]
root           772     2 0 12:53:03 ?     00:00:00 [loop9]
root           773     2 0 12:53:03 ?     00:00:00 [ext4-rsv-conver]
root           774     2 0 12:53:03 ?     00:00:00 [loop10]
root           775     2 0 12:53:03 ?     00:00:00 [ext4-rsv-conver]
root           776     2 0 12:53:03 ?     00:00:00 [loop11]
root           777     2 0 12:53:03 ?     00:00:00 [ext4-rsv-conver]
root           778     2 0 12:53:04 ?     00:00:00 [loop12]
root           779     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           780     2 0 12:53:04 ?     00:00:00 [loop13]
root           781     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           782     2 0 12:53:04 ?     00:00:00 [loop14]
root           783     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           784     2 0 12:53:04 ?     00:00:00 [loop15]
root           785     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           786     2 0 12:53:04 ?     00:00:00 [loop16]
root           787     2 0 12:53:04 ?     00:00:00 [bioset]
root           788     2 0 12:53:04 ?     00:00:00 [kverityd]
root           789     2 0 12:53:04 ?     00:00:00 [bioset]
root           790     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           791     2 0 12:53:04 ?     00:00:00 [loop17]
root           792     2 0 12:53:04 ?     00:00:00 [bioset]
root           793     2 0 12:53:04 ?     00:00:00 [kverityd]
root           794     2 0 12:53:04 ?     00:00:00 [bioset]
root           795     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           796     2 0 12:53:04 ?     00:00:00 [loop18]
root           797     2 0 12:53:04 ?     00:00:00 [bioset]
root           798     2 0 12:53:04 ?     00:00:00 [kverityd]
root           799     2 0 12:53:04 ?     00:00:00 [bioset]
root           800     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           801     2 0 12:53:04 ?     00:00:00 [loop19]
root           802     2 0 12:53:04 ?     00:00:00 [bioset]
root           803     2 0 12:53:04 ?     00:00:00 [kverityd]
root           804     2 0 12:53:04 ?     00:00:00 [bioset]
root           805     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           806     2 0 12:53:04 ?     00:00:00 [loop20]
root           807     2 0 12:53:04 ?     00:00:00 [bioset]
root           808     2 0 12:53:04 ?     00:00:00 [kverityd]
root           809     2 0 12:53:04 ?     00:00:00 [bioset]
root           810     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           811     2 0 12:53:04 ?     00:00:00 [loop21]
root           813     2 0 12:53:04 ?     00:00:00 [bioset]
root           814     2 0 12:53:04 ?     00:00:00 [kverityd]
root           815     2 0 12:53:04 ?     00:00:00 [bioset]
root           816     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           817     2 0 12:53:04 ?     00:00:00 [loop22]
root           818     2 0 12:53:04 ?     00:00:00 [bioset]
root           819     2 0 12:53:04 ?     00:00:00 [kverityd]
root           820     2 0 12:53:04 ?     00:00:00 [bioset]
root           821     2 0 12:53:04 ?     00:00:00 [ext4-rsv-conver]
root           822     2 0 12:53:05 ?     00:00:00 [loop23]
root           823     2 0 12:53:05 ?     00:00:00 [bioset]
root           824     2 0 12:53:05 ?     00:00:00 [kverityd]
root           825     2 0 12:53:05 ?     00:00:00 [bioset]
root           826     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           827     2 0 12:53:05 ?     00:00:00 [loop24]
root           828     2 0 12:53:05 ?     00:00:00 [bioset]
root           829     2 0 12:53:05 ?     00:00:00 [kverityd]
root           830     2 0 12:53:05 ?     00:00:00 [bioset]
root           831     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           832     2 0 12:53:05 ?     00:00:00 [loop25]
root           833     2 0 12:53:05 ?     00:00:00 [bioset]
root           834     2 0 12:53:05 ?     00:00:00 [kverityd]
root           835     2 0 12:53:05 ?     00:00:00 [bioset]
root           836     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           837     2 0 12:53:05 ?     00:00:00 [loop26]
root           838     2 0 12:53:05 ?     00:00:00 [bioset]
root           839     2 0 12:53:05 ?     00:00:00 [kverityd]
root           840     2 0 12:53:05 ?     00:00:00 [bioset]
root           841     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           843     2 0 12:53:05 ?     00:00:00 [loop27]
root           844     2 0 12:53:05 ?     00:00:00 [bioset]
root           845     2 0 12:53:05 ?     00:00:00 [kverityd]
root           846     2 0 12:53:05 ?     00:00:00 [bioset]
root           847     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           848     2 0 12:53:05 ?     00:00:00 [loop28]
root           849     2 0 12:53:05 ?     00:00:00 [bioset]
root           850     2 0 12:53:05 ?     00:00:00 [kverityd]
root           851     2 0 12:53:05 ?     00:00:00 [bioset]
root           852     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           853     2 0 12:53:05 ?     00:00:00 [loop29]
root           854     2 0 12:53:05 ?     00:00:00 [bioset]
root           855     2 0 12:53:05 ?     00:00:00 [kverityd]
root           856     2 0 12:53:05 ?     00:00:00 [bioset]
root           857     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           858     2 0 12:53:05 ?     00:00:00 [loop30]
root           859     2 0 12:53:05 ?     00:00:00 [bioset]
root           860     2 0 12:53:05 ?     00:00:00 [kverityd]
root           861     2 0 12:53:05 ?     00:00:00 [bioset]
root           862     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           863     2 0 12:53:05 ?     00:00:00 [bioset]
root           864     2 0 12:53:05 ?     00:00:00 [kverityd]
root           865     2 0 12:53:05 ?     00:00:00 [bioset]
root           866     2 0 12:53:05 ?     00:00:00 [ext4-rsv-conver]
root           882     2 0 12:53:06 ?     00:00:00 [f_mtp]
root           883     2 0 12:53:06 ?     00:00:00 [at_usb0]
root           884     2 0 12:53:06 ?     00:00:00 [at_usb1]
root           885     2 0 12:53:06 ?     00:00:00 [at_usb2]
root           886     2 0 12:53:06 ?     00:00:00 [rmnet_ctrl]
root           887     2 0 12:53:06 ?     00:00:00 [dpl_ctrl]
root           888     2 0 12:53:06 ?     00:00:00 [qdss]
root           889     2 0 12:53:06 ?     00:00:00 [qdss_mdm]
root           890     2 0 12:53:06 ?     00:00:00 [qdss_sw]
system         923     1 0 12:53:06 ?     00:00:00 time_daemon
radio          924     1 0 12:53:06 ?     00:00:00 ipacm
root           931     2 0 12:53:06 ?     00:00:00 [kworker/6:3]
statsd         933     1 0 12:53:06 ?     00:00:00 statsd
root           934     1 0 12:53:06 ?     00:00:01 netd
root           935     1 1 12:53:06 ?     00:00:02 zygote64
root           936     1 0 12:53:06 ?     00:00:01 zygote
root           953     2 0 12:53:06 ?     00:00:00 [kworker/u25:8]
root           957     2 0 12:53:06 ?     00:00:00 [kworker/u25:11]
root           970   934 0 12:53:06 ?     00:00:00 iptables-restore --noflush -w -v
root           972   934 0 12:53:06 ?     00:00:00 ip6tables-restore --noflush -w -v
root           977     2 0 12:53:06 ?     00:00:00 [glink_cdsp]
root           978     2 0 12:53:06 ?     00:00:00 [qrtr_rx]
root           979     2 0 12:53:06 ?     00:00:00 [kworker/0:2]
root           994     2 0 12:53:06 ?     00:00:00 [glink_adsp]
root           995     2 0 12:53:06 ?     00:00:00 [kworker/1:2]
root           996     2 0 12:53:06 ?     00:00:00 [qrtr_rx]
root          1020     2 0 12:53:06 ?     00:00:00 [irq/465-arm-smm]
root          1028     2 0 12:53:06 ?     00:00:00 [irq/466-arm-smm]
root          1034     2 0 12:53:06 ?     00:00:00 [irq/467-arm-smm]
audioserver   1041     1 1 12:53:06 ?     00:00:01 android.hardware.audio.service
system        1045     1 0 12:53:06 ?     00:00:00 android.hidl.allocator@1.0-service
system        1048     1 0 12:53:06 ?     00:00:00 als_correction_service
bluetooth     1050     1 0 12:53:06 ?     00:00:00 android.hardware.bluetooth@1.0-service-qti
cameraserver  1051     1 1 12:53:06 ?     00:00:02 android.hardware.camera.provider@2.4-service_64
media         1052     1 0 12:53:06 ?     00:00:00 android.hardware.cas@1.2-service
system        1053     1 0 12:53:06 ?     00:00:00 android.hardware.configstore@1.1-service
media         1054     1 0 12:53:06 ?     00:00:00 android.hardware.drm-service.clearkey
gps           1055     1 0 12:53:06 ?     00:00:00 android.hardware.gnss@2.1-service-qti
system        1056     1 3 12:53:06 ?     00:00:09 android.hardware.graphics.composer@2.4-service
system        1057     1 0 12:53:06 ?     00:00:00 android.hardware.health@2.1-service
system        1058     1 0 12:53:06 ?     00:00:00 android.hardware.memtrack@1.0-service
system        1059     1 0 12:53:06 ?     00:00:00 android.hardware.neuralnetworks@1.3-service-qti
nfc           1062     1 0 12:53:06 ?     00:00:00 android.hardware.nfc@1.2-service
system        1063     1 0 12:53:06 ?     00:00:00 android.hardware.power-service-qti
system        1064     1 0 12:53:06 ?     00:00:01 android.hardware.sensors@2.0-service.multihal
system        1065     1 0 12:53:06 ?     00:00:00 android.hardware.usb@1.0-service
wifi          1066     1 0 12:53:06 ?     00:00:00 android.hardware.wifi@1.0-service
system        1073     1 0 12:53:06 ?     00:00:00 vendor.display.color@1.0-service
system        1074     1 0 12:53:06 ?     00:00:00 vendor.lineage.health-service.default
system        1075     1 0 12:53:06 ?     00:00:00 vendor.lineage.touch@1.0-service.oplus
root          1078     1 0 12:53:06 ?     00:00:00 vendor.lineage.trust@1.0-service
cameraserver  1079     1 0 12:53:06 ?     00:00:00 vendor.oplus.hardware.cameraMDM@2.0-service
system        1080     1 0 12:53:06 ?     00:00:00 vendor.qti.hardware.capabilityconfigstore@1.0-service
system        1081     1 0 12:53:06 ?     00:00:00 vendor.qti.hardware.display.allocator-service
root          1082     1 0 12:53:06 ?     00:00:00 vendor.qti.hardware.perf@2.2-service
root          1084     2 0 12:53:06 ?     00:00:00 [glink_slpi]
root          1085     2 0 12:53:06 ?     00:00:00 [qrtr_rx]
system        1086     1 0 12:53:06 ?     00:00:00 vendor.qti.hardware.qteeconnector@1.0-service
system        1087     1 0 12:53:06 ?     00:00:00 vendor.qti.hardware.sensorscalibrate@1.0-service
system        1091     1 0 12:53:06 ?     00:00:00 vendor.qti.hardware.soter@1.0-service
system        1093     1 0 12:53:06 ?     00:00:00 vendor.qti.hardware.tui_comm@1.0-service-qti
system        1095     1 0 12:53:06 ?     00:00:01 vendor.qti.hardware.vibrator.service.oplus
root          1097     2 0 12:53:06 ?     00:00:00 [ipa_interrupt_w]
root          1098     2 0 12:53:06 ?     00:00:00 [ipawq36]
root          1099     2 0 12:53:06 ?     00:00:00 [iparepwq36]
mediacodec    1101     1 0 12:53:06 ?     00:00:00 media.hwcodec /vendor.qti.media.c2@1.0-service
root          1103     2 0 12:53:06 ?     00:00:00 [ipawq33]
root          1104     2 0 12:53:06 ?     00:00:00 [iparepwq33]
root          1105     2 0 12:53:06 ?     00:00:00 [ipawq32]
media         1106     1 0 12:53:06 ?     00:00:00 vppservice
root          1107     2 0 12:53:06 ?     00:00:00 [iparepwq32]
media         1112     1 0 12:53:06 ?     00:00:00 android.hardware.drm@1.3-service.widevine
root          1113     2 0 12:53:06 ?     00:00:00 [ipa_ut_dbgfs]
system        1117     1 0 12:53:06 ?     00:00:00 vendor.oplus.hardware.oplusSensor@1.0-service
root          1118     2 0 12:53:06 ?     00:00:00 [clnt_req]
vendor_qrtr   1119     1 0 12:53:06 ?     00:00:00 qrtr-ns -f
system        1127     1 0 12:53:06 ?     00:00:00 pd-mapper
system        1128     1 0 12:53:06 ?     00:00:00 pm-service
system        1131     1 0 12:53:06 ?     00:00:00 sscrpcd
audioserver   1132     1 0 12:53:06 ?     00:00:00 audioserver
credstore     1133     1 0 12:53:06 ?     00:00:00 credstore /data/misc/credstore
root          1134     2 1 12:53:06 ?     00:00:01 [kworker/u24:16]
gpu_service   1135     1 0 12:53:06 ?     00:00:00 gpuservice
system        1139     1 8 12:53:06 ?     00:00:28 surfaceflinger
nobody        1140     1 0 12:53:06 ?     00:00:00 rmt_storage
vendor_rfs    1143     1 0 12:53:06 ?     00:00:00 tftp_server
system        1144     1 0 12:53:06 ?     00:00:00 sensors.qti
root          1145     2 1 12:53:06 ?     00:00:02 [kworker/u24:18]
root          1160     2 0 12:53:06 ?     00:00:00 [kworker/u24:19]
root          1174     2 0 12:53:07 ?     00:00:00 [adsp]
root          1175     2 0 12:53:07 ?     00:00:00 [modem]
root          1181     2 0 12:53:07 ?     00:00:00 [kworker/4:2H]
root          1183     2 0 12:53:07 ?     00:00:00 [irq/468-arm-smm]
root          1187     2 0 12:53:07 ?     00:00:00 [irq/469-arm-smm]
root          1191     2 0 12:53:07 ?     00:00:00 [irq/470-arm-smm]
root          1219     2 0 12:53:07 ?     00:00:00 [irq/310-wcd9xxx]
shell         1269     1 0 12:53:07 ?     00:00:01 adbd --root_seclabel=u:r:su:s0
system        1273     1 0 12:53:07 ?     00:00:00 pm-proxy
drm           1277     1 0 12:53:07 ?     00:00:00 drmserver
nobody        1286     1 0 12:53:07 ?     00:00:00 traced_probes
nobody        1289     1 0 12:53:07 ?     00:00:00 traced
root          1297     1 0 12:53:07 ?     00:00:00 dpmd
system        1300     1 0 12:53:07 ?     00:00:00 dpmQmiMgr
system        1307  1297 0 12:53:07 ?     00:00:00 dpmd
root          1333     1 0 12:53:07 ?     00:00:00 thermal-engine
cameraserver  1338     1 0 12:53:07 ?     00:00:00 cameraserver
incidentd     1346     1 0 12:53:07 ?     00:00:00 incidentd
root          1347     1 0 12:53:07 ?     00:00:00 installd
mediaex       1349     1 0 12:53:07 ?     00:00:01 media.extractor aextractor
media         1355     1 0 12:53:07 ?     00:00:00 media.metrics diametrics
media         1356     1 1 12:53:07 ?     00:00:01 mediaserver
root          1361     1 0 12:53:07 ?     00:00:00 storaged
wifi          1363     1 0 12:53:07 ?     00:00:00 wificond
root          1365     1 0 12:53:07 ?     00:00:00 adb_root
system        1374     1 0 12:53:07 ?     00:00:00 wfdhdcphalservice
mediacodec    1384     1 0 12:53:07 ?     00:00:00 media.codec hw/android.hardware.media.omx@1.0-service
system        1388     1 0 12:53:07 ?     00:00:00 cnd
system        1395     1 0 12:53:07 ?     00:00:00 wifidisplayhalservice
radio         1402     1 0 12:53:07 ?     00:00:00 imsqmidaemon
root          1414     1 0 12:53:07 ?     00:00:00 thermal-engine
radio         1419     1 0 12:53:07 ?     00:00:01 netmgrd
radio         1427     1 0 12:53:07 ?     00:00:00 port-bridge
system        1429     1 0 12:53:07 ?     00:00:00 adsprpcd
media         1440     1 0 12:53:07 ?     00:00:00 adsprpcd audiopd
system        1446     1 0 12:53:07 ?     00:00:00 cdsprpcd
system        1450     1 0 12:53:07 ?     00:00:00 wfdvndservice
mediacodec    1465     1 0 12:53:07 ?     00:00:00 media.swcodec oid.media.swcodec/bin/mediaswcodec
system        1474     1 0 12:53:07 ?     00:00:00 cnss-daemon -n -l
radio         1476     1 0 12:53:07 ?     00:00:00 ssgqmigd
gps           1485     1 0 12:53:07 ?     00:00:00 mlid
gps           1496     1 0 12:53:07 ?     00:00:00 loc_launcher
system        1501     1 0 12:53:07 ?     00:00:00 ATFWD-daemon
system        1511     1 0 12:53:07 ?     00:00:00 gatekeeperd /data/misc/gatekeeper
root          1515     1 28 12:53:07 ?    00:01:37 update_engine --logtostderr --logtofile --foreground
gps           1521  1496 0 12:53:07 ?     00:00:00 lowi-server
gps           1523  1496 0 12:53:07 ?     00:00:00 xtra-daemon
system        1526     1 0 12:53:07 ?     00:00:00 android.hardware.biometrics.fingerprint@2.3-service.oplus
system        1533     1 0 12:53:07 ?     00:00:00 vendor.lineage.livedisplay@2.1-service.oneplus_msmnile
system        1536     1 0 12:53:07 ?     00:00:00 oplus_sensor_fb
root          1540     1 0 12:53:07 ?     00:00:00 vl53l1_daemon_main
system        1548     1 0 12:53:07 ?     00:00:00 vendor.oplus.hardware.biometrics.fingerprint@2.1-service
radio         1565     1 0 12:53:07 ?     00:00:00 qcrild
radio         1584     1 0 12:53:07 ?     00:00:00 qcrild -c 2
radio         1604     1 0 12:53:07 ?     00:00:00 qti
root          1609     2 0 12:53:07 ?     00:00:00 [irq/300-gf]
root          1629     1 0 12:53:07 ?     00:00:00 msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf
radio         1632     1 0 12:53:07 ?     00:00:00 adpl
root          1633     2 0 12:53:07 ?     00:00:00 [tfa98xx]
radio         1647     1 0 12:53:07 ?     00:00:00 imsdatadaemon
root          1650     2 0 12:53:07 ?     00:00:00 [tfa98xx]
root          1714     2 0 12:53:08 ?     00:00:00 [kworker/X26:1]
root          1718     2 0 12:53:08 ?     00:00:00 [kworker/X26:2]
root          1734     2 0 12:53:08 ?     00:00:00 [glink_modem]
root          1735     2 0 12:53:08 ?     00:00:00 [qrtr_rx]
system        1786   935 8 12:53:08 ?     00:00:27 system_server
root          1831     2 0 12:53:09 ?     00:00:00 [psimon]
radio         2024     1 0 12:53:10 ?     00:00:00 imsrcsd
root          2094     2 0 12:53:11 ?     00:00:00 [ipawq34]
root          2095     2 0 12:53:11 ?     00:00:00 [iparepwq34]
root          2096     2 0 12:53:11 ?     00:00:00 [ipawq35]
root          2097     2 0 12:53:11 ?     00:00:00 [iparepwq35]
root          2279     2 0 12:53:12 ?     00:00:00 [dfc_wq]
root          2280     2 0 12:53:12 ?     00:00:00 [wda_wq]
radio         2317     1 0 12:53:12 ?     00:00:00 ims_rtp_daemon
root          2429     2 0 12:53:13 ?     00:00:00 [cds_recovery_wo]
root          2430     2 0 12:53:13 ?     00:00:00 [wlan_logging_th]
u0_a159       2438   935 9 12:53:13 ?     00:00:29 com.android.systemui
root          2710     2 0 12:53:15 ?     00:00:00 [scheduler_threa]
root          2711     2 3 12:53:15 ?     00:00:11 [cds_ol_rx_threa]
wifi          2720     1 0 12:53:15 ?     00:00:00 wpa_supplicant -O/data/vendor/wifi/wpa/sockets -dd -g@android:wpa_wlan0
u0_a166       2721   935 0 12:53:15 ?     00:00:00 com.android.permissioncontroller
u0_a149       2738   935 2 12:53:15 ?     00:00:06 com.android.launcher3
network_stack 2899   935 0 12:53:15 ?     00:00:00 com.android.networkstack.process
bluetooth     2934   935 0 12:53:15 ?     00:00:00 com.android.bluetooth
webview_zygote 2960  936 0 12:53:15 ?     00:00:00 webview_zygote
u0_a120       2967   935 0 12:53:15 ?     00:00:00 .qtidataservices
u0_a146       2994   935 0 12:53:15 ?     00:00:00 com.qti.phone
u0_a153       2996   935 0 12:53:15 ?     00:00:00 org.codeaurora.ims
secure_element 3005  935 0 12:53:15 ?     00:00:00 com.android.se
radio         3029   935 0 12:53:15 ?     00:00:01 com.android.phone
radio         3031   935 0 12:53:15 ?     00:00:00 .dataservices
u0_a173       3077   935 0 12:53:15 ?     00:00:00 android.ext.services
u0_a160       3209   935 0 12:53:16 ?     00:00:00 com.android.smspush
u0_a177       3269   935 0 12:53:16 ?     00:00:00 com.android.cellbroadcastreceiver.module
u0_a150       3296   935 0 12:53:17 ?     00:00:00 com.android.carrierconfig
u0_a92        3351   935 0 12:53:17 ?     00:00:00 android.process.acore
root          3409     2 0 12:53:21 ?     00:00:00 [kworker/X26:7]
root          3411     2 0 12:53:21 ?     00:00:00 [kworker/X26:9]
root          3439     2 0 12:53:21 ?     00:00:00 [irq/32-90b6400.]
u0_a132       3442   935 0 12:53:21 ?     00:00:00 com.android.deskclock
root          3447     2 0 12:53:21 ?     00:00:00 [irq/33-90cd000.]
system        3461     1 0 12:53:21 ?     00:00:00 ssgtzd
nfc           3556   935 0 12:53:22 ?     00:00:00 com.android.nfc
system        3577   935 0 12:53:22 ?     00:00:00 org.lineageos.settings.doze
u0_a156       3601   935 0 12:53:22 ?     00:00:00 org.lineageos.audiofx
u0_a93        3616   935 0 12:53:22 ?     00:00:00 com.android.documentsui
system        3629   935 0 12:53:22 ?     00:00:00 com.android.keychain
u0_a174       3645   935 1 12:53:22 ?     00:00:02 com.android.providers.media.module
u0_a110       3696   935 0 12:53:22 ?     00:00:00 com.android.printspooler
shell         3729   935 0 12:53:22 ?     00:00:00 com.android.shell
u0_a90        3760   935 0 12:53:22 ?     00:00:00 com.android.managedprovisioning
u0_a88        3792   935 0 12:53:22 ?     00:00:00 android.process.media
u0_a95        3836   935 0 12:53:22 ?     00:00:00 com.android.providers.calendar
u0_a91        3861   935 0 12:53:22 ?     00:00:00 com.android.externalstorage
u0_a136       3867   935 0 12:53:22 ?     00:00:01 com.android.inputmethod.latin
system        3924   935 0 12:53:22 ?     00:00:00 org.lineageos.lineageparts
u0_a128       3946   935 0 12:53:23 ?     00:00:00 com.android.dialer
u0_a123       3981   935 0 12:53:23 ?     00:00:00 com.android.imsserviceentitlement
system        4001   935 0 12:53:23 ?     00:00:00 com.android.dynsystem
u0_a145       4021   935 0 12:53:23 ?     00:00:00 com.android.messaging
system        4044   935 0 12:53:23 ?     00:00:00 com.android.dynsystem:dynsystem
u0_a126       4045   935 0 12:53:23 ?     00:00:00 com.android.hotwordenrollment.okgoogle
u0_a125       4087   935 0 12:53:23 ?     00:00:00 com.android.hotwordenrollment.xgoogle
u0_a121       4129   935 0 12:53:23 ?     00:00:00 com.android.onetimeinitializer
u0_a102       4156   935 0 12:53:23 ?     00:00:00 com.android.packageinstaller
u0_a87        4183   935 0 12:53:23 ?     00:00:00 com.android.statementservice
root          4199     2 0 12:53:24 ?     00:00:00 [kworker/1:4]
u0_a140       4217   935 0 12:53:24 ?     00:00:00 org.calyxos.backup.contacts
u0_a155       4245   935 13 12:53:24 ?    00:00:42 org.lineageos.updater
u0_a179       4268   935 0 12:53:24 ?     00:00:00 org.adaway
root          4294  4268 0 12:53:24 ?     00:00:00 sh
root          4310  4294 0 12:53:24 ?     00:00:00 libwebserver_exec.so --resources /data/user/0/org.adaway/files/webserver
system        4343   935 0 12:53:25 ?     00:00:00 com.android.localtransport
u0_a147       4361   935 0 12:53:25 ?     00:00:00 com.stevesoltys.seedvault
shell         4657  1269 0 12:53:44 pts/0 00:00:00 sh -
root          4661  4657 0 12:53:46 pts/0 00:00:00 sh
root          4949     2 0 12:55:05 ?     00:00:00 [kworker/2:3]
root          4950     2 0 12:55:05 ?     00:00:00 [kworker/2:4]
system        5109   935 1 12:55:30 ?     00:00:01 com.android.settings
root          5258     2 0 12:56:52 ?     00:00:00 [kdmflush]
root          5259     2 0 12:56:52 ?     00:00:00 [bioset]
root          5260     2 0 12:56:52 ?     00:00:00 [kdmflush]
root          5261     2 0 12:56:52 ?     00:00:00 [bioset]
root          5262     2 0 12:56:52 ?     00:00:00 [kdmflush]
root          5263     2 0 12:56:52 ?     00:00:00 [bioset]
root          5264     2 0 12:56:52 ?     00:00:00 [kdmflush]
root          5265     2 0 12:56:52 ?     00:00:00 [bioset]
root          5268     2 0 12:56:54 ?     00:00:00 [kdmflush]
root          5269     2 0 12:56:54 ?     00:00:00 [bioset]
root          5348     2 0 12:58:12 ?     00:00:00 [dsi_err_workq]
root          5355     2 0 12:58:12 ?     00:00:00 [irq/308-touchpa]
root          5412     2 0 12:59:00 ?     00:00:00 [ext4-rsv-conver]
root          5413     2 0 12:59:00 ?     00:00:00 [ext4lazyinit]
root          5414  1515 1 12:59:00 ?     00:00:00 sh /postinstall/system/bin/backuptool_postinstall.sh
root          5415  5414 4 12:59:00 ?     00:00:00 sh /postinstall/system/bin/backuptool_ab.sh backup
root          5446  5415 0 12:59:00 ?     00:00:00 sh /postinstall/tmp/addon.d/50-lineage.sh pre-backup
root          5448  4661 40 12:59:00 pts/0 00:00:00 ps -wAf

@osm0sis
Copy link
Author

osm0sis commented Sep 23, 2023

In case it's helpful, I think this is how Magisk first allowed update_engine's backuptool addon.d-v2+ scripts to access the su command by default:

topjohnwu/Magisk@a636968#diff-5f9385472196feeced8e7d5479aab996b688ce4739f169c39fd763528fc8323aR127

@tiann
Copy link
Owner

tiann commented Sep 24, 2023

Maybe you can add uid 1000 to allowlist? Anyway, I'll try it on LineageOS.

@osm0sis
Copy link
Author

osm0sis commented Sep 24, 2023

Maybe you can add uid 1000 to allowlist? Anyway, I'll try it on LineageOS.

Thanks! I didn't see a way to do that in the app, is there a way via command line?

@tiann
Copy link
Owner

tiann commented Sep 24, 2023

Maybe you can add uid 1000 to allowlist? Anyway, I'll try it on LineageOS.

Thanks! I didn't see a way to do that in the app, is there a way via command line?

The system_server is uid 1000, so allow it(maybe it is displayed as "Android System") would add 1000 to allowlist.

@osm0sis
Copy link
Author

osm0sis commented Sep 24, 2023

Maybe you can add uid 1000 to allowlist? Anyway, I'll try it on LineageOS.

Thanks! I didn't see a way to do that in the app, is there a way via command line?

The system_server is uid 1000, so allow it(maybe it is displayed as "Android System") would add 1000 to allowlist.

Ah, yeah, it's Android System/android and I'd already tried it with no effect, unfortunately.

Edit: Also, if KernelSU actually operates by UID then it would be great if the app would show the UID (name + number) associated with each allowed package somewhere. 👍

@osm0sis
Copy link
Author

osm0sis commented Oct 10, 2023

I tracked the SELinux rules in Magisk for update_engine and it gets replaced here back in May:

topjohnwu/Magisk@bc94ea4#diff-a3d987545e3fa74fd639778c193afb15b147625ee45dbd4470d271699f658774L67

Could be useful to add what's needed to KSU's rules perhaps? Since whatever they added instead, su in update_engine addon.d-v2 still works.

@tiann
Copy link
Owner

tiann commented Oct 10, 2023

Could be useful to add what's needed to KSU's rules perhaps? Since whatever they added instead, update_engine addon.d-v2 still works.

Maybe. I find a device with LineageOS support, but i don't know how to reproduce it, how can i "Accept a ROM A/B OTA"?

@tiann
Copy link
Owner

tiann commented Oct 10, 2023

Can you send the dmesg log?

@osm0sis
Copy link
Author

osm0sis commented Oct 10, 2023

Could be useful to add what's needed to KSU's rules perhaps? Since whatever they added instead, update_engine addon.d-v2 still works.

Maybe. I find a device with LineageOS support, but i don't know how to reproduce it, how can i "Accept a ROM A/B OTA"?

You don't install the latest build, you install a slightly older one so that an OTA is available in Settings | Updater. Then once you've got the example script set up you Download and Install the OTA. I'll try to get you a dmesg as well, but you should be able to reproduce following those steps. 🤞

@osm0sis
Copy link
Author

osm0sis commented Oct 10, 2023

Here's a filtered logcat and a complete dmesg taken directly after the backuptool scripts run.
alogcat.2023-10-10-16-10-09-0300.txt
dmesg.log

These are with system_server (Android System/android) on the Superuser allow list.

@a447948814

This comment was marked as off-topic.

@osm0sis
Copy link
Author

osm0sis commented Jan 4, 2024

Is it still necessary to add system_server to the allow list?

@tiann
Copy link
Owner

tiann commented Jan 4, 2024

Is it still necessary to add system_server to the allow list?

I think we don't need to do that now.

@osm0sis
Copy link
Author

osm0sis commented Jan 16, 2024

Tested with v0.7.5 (11434) in app and kernel on my OnePlus 7T on Lineage 20 and I'm still not seeing any change in behavior with my example 97-dumpimages.sh or any other addon.d-v2+ script using su.

I tried with and without system_server on the allow list.

Was it working in your testing of the merged fix @tiann / @Ylarod ?

@tiann tiann reopened this Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants