Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
2
2
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/Android.bp)?" }, { "role": "assistant", "content": "//\n// Copyright (C) 2021-2025 The LineageOS Project\n//\n// SPDX-License-Identifier: Apache-2.0\n//\n\nsoong_namespace {\n imports: [\n ...
[ { "role": "user", "content": "How do I configure AndroidProducts for the Galaxy A04s (device/samsung/a04s/AndroidProducts.mk)?" }, { "role": "assistant", "content": "#\n# Copyright (C) 2019 The LineageOS Project\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may n...
[ { "role": "user", "content": "How do I configure BoardConfig for the Galaxy A04s (device/samsung/a04s/BoardConfig.mk)?" }, { "role": "assistant", "content": "#\n# Copyright (C) 2020-2025 The LineageOS Project\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not ...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/audio/proxy/Android.bp)?" }, { "role": "assistant", "content": "// Copyright (C) 2017 The Android Open Source Project\n// Copyright (C) 2025 The LineageOS Project\n//\n// Licensed under the Apache L...
[ { "role": "user", "content": "How do I configure audio_abox for the Galaxy A04s (device/samsung/a04s/audio/proxy/audio_abox.h)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"...
[ { "role": "user", "content": "How do I configure audio_board_info for the Galaxy A04s (device/samsung/a04s/audio/proxy/audio_board_info.h)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2014 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the...
[ { "role": "user", "content": "How do I configure audio_mixer for the Galaxy A04s (device/samsung/a04s/audio/proxy/audio_mixer.h)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License...
[ { "role": "user", "content": "How do I configure audio_pcm for the Galaxy A04s (device/samsung/a04s/audio/proxy/audio_pcm.h)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");...
[ { "role": "user", "content": "How do I configure audio_proxy for the Galaxy A04s (device/samsung/a04s/audio/proxy/audio_proxy.h)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License...
[ { "role": "user", "content": "How do I configure audio_streamconfig for the Galaxy A04s (device/samsung/a04s/audio/proxy/audio_streamconfig.h)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 ...
[ { "role": "user", "content": "How do I configure init.exynos850 for the Galaxy A04s (device/samsung/a04s/configs/init/init.exynos850.rc)?" }, { "role": "assistant", "content": "on early-init\n mkdir /mnt/vendor/efs 0771 radio system\n mkdir /mnt/vendor/cpefs 0771 radio system\n mkdir /m...
[ { "role": "user", "content": "How do I configure init.exynos850.usb for the Galaxy A04s (device/samsung/a04s/configs/init/init.exynos850.usb.rc)?" }, { "role": "assistant", "content": "on early-boot\n mkdir /config/usb_gadget/g1\n mkdir /config/usb_gadget/g1/strings/0x409\n mkdir /confi...
[ { "role": "user", "content": "How do I configure init.recovery.exynos850 for the Galaxy A04s (device/samsung/a04s/configs/init/init.recovery.exynos850.rc)?" }, { "role": "assistant", "content": "on init\n write /proc/sys/kernel/hung_task_timeout_secs 0\n\n setprop sys.usb.configfs 1" } ]
[ { "role": "user", "content": "How do I configure ueventd for the Galaxy A04s (device/samsung/a04s/configs/init/ueventd.rc)?" }, { "role": "assistant", "content": "/dev/mali0 0666 system system\n/dev/ion 0666 system system\n/dev/ump 066...
[ { "role": "user", "content": "How do I configure device for the Galaxy A04s (device/samsung/a04s/device.mk)?" }, { "role": "assistant", "content": "#\n# Copyright (C) 2020-2025 The LineageOS Project\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this f...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/init/Android.bp)?" }, { "role": "assistant", "content": "//\n// Copyright (C) 2021-2025 The LineageOS Project\n//\n// SPDX-License-Identifier: Apache-2.0\n//\n\ncc_library_static {\n name: \"libi...
[ { "role": "user", "content": "How do I configure init_exynos3830 for the Galaxy A04s (device/samsung/a04s/init/init_exynos3830.cpp)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2021-2025 The LineageOS Project\n *\n * SPDX-License-Identifier: Apache-2.0\n*/\n\n#define _REALLY_INCL...
[ { "role": "user", "content": "How do I configure lineage_a04s for the Galaxy A04s (device/samsung/a04s/lineage_a04s.mk)?" }, { "role": "assistant", "content": "#\n# Copyright (C) 2020-2025 The LineageOS Project\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may no...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/recovery/Android.bp)?" }, { "role": "assistant", "content": "//\n// Copyright (C) 2022-2025 The LineageOS Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you ma...
[ { "role": "user", "content": "How do I configure recovery_updater for the Galaxy A04s (device/samsung/a04s/recovery/recovery_updater.cpp)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2021-2025, The LineageOS Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"Li...
[ { "role": "user", "content": "How do I configure releasetools for the Galaxy A04s (device/samsung/a04s/releasetools/releasetools.py)?" }, { "role": "assistant", "content": "#!/bin/env python3\n#\n# Copyright (C) 2020-2024 The LineageOS Project\n#\n# Licensed under the Apache License, Version 2.0...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/rro_overlays/WifiOverlay/Android.bp)?" }, { "role": "assistant", "content": "runtime_resource_overlay {\n name: \"WifiOverlay\",\n theme: \"WifiOverlay\",\n vendor: true\n}" } ]
[ { "role": "user", "content": "How do I configure audioserver for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/audioserver.te)?" }, { "role": "assistant", "content": "dontaudit audioserver vendor_default_prop:file read;" } ]
[ { "role": "user", "content": "How do I configure bootanim for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/bootanim.te)?" }, { "role": "assistant", "content": "allow bootanim traced_producer_socket:sock_file write;\nallow bootanim traced:unix_stream_socket connectto;\n\ndontaudit bootani...
[ { "role": "user", "content": "How do I configure cass for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/cass.te)?" }, { "role": "assistant", "content": "allow cass rild:unix_stream_socket connectto;" } ]
[ { "role": "user", "content": "How do I configure cbd for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/cbd.te)?" }, { "role": "assistant", "content": "allow cbd radio_device:chr_file rw_file_perms;\nallow cbd self:capability2 block_suspend;\nallow cbd vendor_radio_prop:file { getattr map ...
[ { "role": "user", "content": "How do I configure charger_vendor for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/charger_vendor.te)?" }, { "role": "assistant", "content": "allow charger_vendor device:dir r_file_perms;\nallow charger_vendor sysfs_battery:file r_file_perms;\nallow charger_...
[ { "role": "user", "content": "How do I configure device for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/device.te)?" }, { "role": "assistant", "content": "type caminfo_device, dev_type;\ntype m2m1shot_device, dev_type;\ntype mmc_rpmb_char_device, dev_type;\ntype secmem_device, dev_type;...
[ { "role": "user", "content": "How do I configure dontaudit for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/dontaudit.te)?" }, { "role": "assistant", "content": "# Apps are no longer allowed open access to /dev/ashmem, unless they\n# target API level < Q.\ndontaudit untrusted_app ashmem_...
[ { "role": "user", "content": "How do I configure file for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/file.te)?" }, { "role": "assistant", "content": "# data types\ntype mediadrm_vendor_data_file, file_type, data_file_type;\ntype nfc_vendor_data_file, file_type, data_file_type;\ntype pe...
[ { "role": "user", "content": "How do I configure fsck for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/fsck.te)?" }, { "role": "assistant", "content": "allow fsck sysfs_battery:dir search;\nallow fsck efs_block_device:blk_file rw_file_perms;\nallow fsck keydata_block_device:blk_file { io...
[ { "role": "user", "content": "How do I configure fsck_untrusted for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/fsck_untrusted.te)?" }, { "role": "assistant", "content": "allow fsck_untrusted sysfs_block:file r_file_perms;" } ]
[ { "role": "user", "content": "How do I configure gpsd for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/gpsd.te)?" }, { "role": "assistant", "content": "r_dir_file(gpsd, sysfs_sec_gps);\n\ntype gps_data_file, file_type, data_file_type;\nallow gpsd sysfs_gps_writable:file rw_file_perms;\na...
[ { "role": "user", "content": "How do I configure hal_audio_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_audio_default.te)?" }, { "role": "assistant", "content": "allow hal_audio_default efs_file:dir search;\nallow hal_audio_default imei_efs_file:dir search;\nallow hal_aud...
[ { "role": "user", "content": "How do I configure hal_bluetooth_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_bluetooth_default.te)?" }, { "role": "assistant", "content": "set_prop(hal_bluetooth_default, vendor_bluetooth_prop);\nallow hal_bluetooth_default bt_device:chr_fil...
[ { "role": "user", "content": "How do I configure hal_camera_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_camera_default.te)?" }, { "role": "assistant", "content": "r_dir_file(hal_camera_default, sysfs_camera);\nallow hal_camera_default sysfs_camera_writable:file rw_file_p...
[ { "role": "user", "content": "How do I configure hal_drm_widevine for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_drm_widevine.te)?" }, { "role": "assistant", "content": "teegris_use(hal_drm_widevine);\n\nallow hal_drm_widevine efs_file:dir search;\nallow hal_drm_widevine sec_efs_fi...
[ { "role": "user", "content": "How do I configure hal_fingerprint_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_fingerprint_default.te)?" }, { "role": "assistant", "content": "allow hal_fingerprint_default efs_file:dir search;\nallow hal_fingerprint_default self:netlink_soc...
[ { "role": "user", "content": "How do I configure hal_gnss_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_gnss_default.te)?" }, { "role": "assistant", "content": "allow hal_gnss_default fwk_sensor_hwservice:hwservice_manager find;\nallow hal_gnss_default gpsd:unix_stream_soc...
[ { "role": "user", "content": "How do I configure hal_graphics_composer_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_graphics_composer_default.te)?" }, { "role": "assistant", "content": "vndbinder_use(hal_graphics_composer_default);\n\nallow hal_graphics_composer_default v...
[ { "role": "user", "content": "How do I configure hal_health_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_health_default.te)?" }, { "role": "assistant", "content": "r_dir_file(hal_health_default, sysfs_battery);\n\nallow hal_health_default sysfs:file { getattr open read };...
[ { "role": "user", "content": "How do I configure hal_light_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_light_default.te)?" }, { "role": "assistant", "content": "allow hal_light_default sysfs:file { getattr open read write };" } ]
[ { "role": "user", "content": "How do I configure hal_memtrack_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_memtrack_default.te)?" }, { "role": "assistant", "content": "r_dir_file(hal_memtrack_default, sysfs_gpu)" } ]
[ { "role": "user", "content": "How do I configure hal_nfc_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_nfc_default.te)?" }, { "role": "assistant", "content": "allow hal_nfc_default nfc_vendor_data_file:dir create_dir_perms;\nallow hal_nfc_default nfc_vendor_data_file:dir c...
[ { "role": "user", "content": "How do I configure hal_power_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_power_default.te)?" }, { "role": "assistant", "content": "r_dir_file(hal_power_default, sysfs_battery);\n\nallow hal_power_default {\n sysfs_app_launch_writable\n ...
[ { "role": "user", "content": "How do I configure hal_sensors_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_sensors_default.te)?" }, { "role": "assistant", "content": "binder_call(hal_sensors_default, system_server)\n\ndontaudit hal_sensors_default property_socket:sock_file...
[ { "role": "user", "content": "How do I configure hal_touchscreen_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_touchscreen_default.te)?" }, { "role": "assistant", "content": "type hal_touchscreen_default, domain;\ntype hal_touchscreen_default_exec, exec_type, vendor_file_t...
[ { "role": "user", "content": "How do I configure hal_wifi_default for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/hal_wifi_default.te)?" }, { "role": "assistant", "content": "set_prop(hal_wifi_default, vendor_wlan_prop);\n\nallow hal_wifi_default conn_vendor_data_file:dir rw_dir_perms;\...
[ { "role": "user", "content": "How do I configure init for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/init.te)?" }, { "role": "assistant", "content": "allow init boot_block_device:lnk_file relabelto;\nallow init dtbo_block_device:lnk_file relabelto;\nallow init efs_file:dir mounton;\nal...
[ { "role": "user", "content": "How do I configure kernel for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/kernel.te)?" }, { "role": "assistant", "content": "allow kernel self:capability { mknod sys_admin };\ndontaudit kernel self:capability { dac_override dac_read_search };\ndontaudit ker...
[ { "role": "user", "content": "How do I configure ksu for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/ksu.te)?" }, { "role": "assistant", "content": "# Declare KernelSU configuration permissions\n# Grant system, shell, app, and init access to interact with the KernelSU dev node\nallow { ...
[ { "role": "user", "content": "How do I configure mediacodec for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/mediacodec.te)?" }, { "role": "assistant", "content": "r_dir_file(mediacodec, sysfs_v4l);\n\nallow mediacodec m2m1shot_device:chr_file rw_file_perms;\nallow mediacodec sysfs:file ...
[ { "role": "user", "content": "How do I configure nfc for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/nfc.te)?" }, { "role": "assistant", "content": "allow nfc nfc_vendor_data_file:dir rw_dir_perms;\nallow nfc nfc_vendor_data_file:file create_file_perms;" } ]
[ { "role": "user", "content": "How do I configure platform_app for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/platform_app.te)?" }, { "role": "assistant", "content": "allow platform_app zygote:unix_stream_socket getopt;" } ]
[ { "role": "user", "content": "How do I configure priv_app for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/priv_app.te)?" }, { "role": "assistant", "content": "allow priv_app zygote:unix_stream_socket getopt;" } ]
[ { "role": "user", "content": "How do I configure property for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/property.te)?" }, { "role": "assistant", "content": "vendor_internal_prop(vendor_bluetooth_prop)\nvendor_internal_prop(vendor_camera_prop)\nvendor_internal_prop(vendor_wlan_prop)" ...
[ { "role": "user", "content": "How do I configure rild for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/rild.te)?" }, { "role": "assistant", "content": "allow rild log_vendor_data_file:dir create_dir_perms;\n\nallow rild cass:dir search;\nallow rild cass:file { getattr open read };\n\ndon...
[ { "role": "user", "content": "How do I configure secril_config_svc for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/secril_config_svc.te)?" }, { "role": "assistant", "content": "r_dir_file(secril_config_svc, imei_efs_file);\n\ndontaudit secril_config_svc radio_control_prop:property_servi...
[ { "role": "user", "content": "How do I configure surfaceflinger for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/surfaceflinger.te)?" }, { "role": "assistant", "content": "r_dir_file(surfaceflinger, hal_graphics_composer_default);\n\nget_prop(surfaceflinger, vendor_hwc_prop);\n\nallow su...
[ { "role": "user", "content": "How do I configure system_app for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/system_app.te)?" }, { "role": "assistant", "content": "allow system_app zygote:unix_stream_socket getopt;\n\n# Zram Access\nallow system_app sysfs_zram:dir search;\nallow system_a...
[ { "role": "user", "content": "How do I configure system_server for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/system_server.te)?" }, { "role": "assistant", "content": "allow system_server zygote_tmpfs:file rw_file_perms;" } ]
[ { "role": "user", "content": "How do I configure teegris for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/teegris.te)?" }, { "role": "assistant", "content": "type vendor_teegris_prop, property_type, vendor_property_type;\n\n# teegris.rc sets vendor.TEEGRIS.loaded via init\nallow init ven...
[ { "role": "user", "content": "How do I configure toolbox for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/toolbox.te)?" }, { "role": "assistant", "content": "allow toolbox per_boot_file:dir create_dir_perms;\nallow toolbox per_boot_file:file create_file_perms;" } ]
[ { "role": "user", "content": "How do I configure uncrypt for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/uncrypt.te)?" }, { "role": "assistant", "content": "allow uncrypt cache_file:dir rw_dir_perms;\nallow uncrypt cache_file:file create_file_perms;\n\n# OTA with encrypted f2fs\nallow u...
[ { "role": "user", "content": "How do I configure untrusted_app for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/untrusted_app.te)?" }, { "role": "assistant", "content": "allow untrusted_app zygote:unix_stream_socket getopt;" } ]
[ { "role": "user", "content": "How do I configure vendor_init for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/vendor_init.te)?" }, { "role": "assistant", "content": "permissive vendor_init;\n\nallow vendor_init cgroup:file getattr;\n\nget_prop(vendor_init, vendor_radio_prop);\ndontaudit ...
[ { "role": "user", "content": "How do I configure vold for the Galaxy A04s (device/samsung/a04s/sepolicy/vendor/vold.te)?" }, { "role": "assistant", "content": "allow vold efs_file:dir rw_dir_perms;" } ]
[ { "role": "user", "content": "How do I configure setup-makefiles for the Galaxy A04s (device/samsung/a04s/setup-makefiles.py)?" }, { "role": "assistant", "content": "#!./extract-files.py --regenerate_makefiles" } ]
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/shims/idiv0_shim/Android.bp)?" }, { "role": "assistant", "content": "//\n// Copyright (C) 2022 The LineageOS Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you...
[ { "role": "user", "content": "How do I configure idiv0 for the Galaxy A04s (device/samsung/a04s/shims/idiv0_shim/idiv0.cpp)?" }, { "role": "assistant", "content": "/*===-- idiv0.c - 32-bit unsigned integer divide --------------------------===//\n *\n * The LLVM Compiler Infra...
[ { "role": "user", "content": "How do I configure idiv0 for the Galaxy A04s (device/samsung/a04s/shims/idiv0_shim/idiv0.h)?" }, { "role": "assistant", "content": "/*===-- idiv0.c - 32-bit unsigned integer divide --------------------------===//\n *\n * The LLVM Compiler Infrast...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/shims/libcamera/Android.bp)?" }, { "role": "assistant", "content": "//\n// Copyright (C) 2024 The LineageOS Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you ...
[ { "role": "user", "content": "How do I configure GraphicBufferMapper for the Galaxy A04s (device/samsung/a04s/shims/libcamera/GraphicBufferMapper.cpp)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2024 The LineageOS Project\n *\n * Licensed under the Apache License, Version 2.0 (t...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/shims/libcrypto/Android.bp)?" }, { "role": "assistant", "content": "//\n// Copyright (C) 2023-2024 The LineageOS Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n//...
[ { "role": "user", "content": "How do I configure crypto for the Galaxy A04s (device/samsung/a04s/shims/libcrypto/crypto.c)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2024 The LineageOS Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/shims/libdsms/Android.bp)?" }, { "role": "assistant", "content": "//\n// Copyright (C) 2024 The LineageOS Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you ma...
[ { "role": "user", "content": "How do I configure dsms for the Galaxy A04s (device/samsung/a04s/shims/libdsms/dsms.c)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2024 The LineageOS Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not u...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/shims/libutils-v32/Android.bp)?" }, { "role": "assistant", "content": "//\n// Copyright (C) 2023-2025 The LineageOS Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\...
[ { "role": "user", "content": "How do I configure Thread for the Galaxy A04s (device/samsung/a04s/shims/libutils-v32/Thread.cpp)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2023-2025 The LineageOS Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n...
[ { "role": "user", "content": "How do I configure Thread for the Galaxy A04s (device/samsung/a04s/shims/libutils-v32/Thread.h)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2023-2025 The LineageOS Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n *...
[ { "role": "user", "content": "How do I configure ASensorManager for the Galaxy A04s (device/samsung/a04s/shims/sensorndkbridge/ASensorManager.cpp)?" }, { "role": "assistant", "content": "/*\n * Copyright (C) 2020-2024 LineageOS Project\n *\n * Licensed under the Apache License, Version 2.0 (the ...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/shims/sensorndkbridge/Android.bp)?" }, { "role": "assistant", "content": "// Copyright (C) 2020-2024 LineageOS Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// y...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/touch/Android.bp)?" }, { "role": "assistant", "content": "//\n// SPDX-FileCopyrightText: 2025 The LineageOS Project\n// SPDX-License-Identifier: Apache-2.0\n//\n\ncc_binary {\n name: \"vendor.sam...
[ { "role": "user", "content": "How do I configure TSPInit for the Galaxy A04s (device/samsung/a04s/touch/TSPInit.cpp)?" }, { "role": "assistant", "content": "/*\n * SPDX-FileCopyrightText: 2025 The LineageOS Project\n * SPDX-License-Identifier: Apache-2.0\n */\n#include <fstream>\n#include <unist...
[ { "role": "user", "content": "How do I configure TSPInit for the Galaxy A04s (device/samsung/a04s/touch/TSPInit.h)?" }, { "role": "assistant", "content": "/*\n * SPDX-FileCopyrightText: 2025 The LineageOS Project\n * SPDX-License-Identifier: Apache-2.0\n */\n#pragma once\n#include <aidl/vendor/l...
[ { "role": "user", "content": "How do I configure samsung_touch for the Galaxy A04s (device/samsung/a04s/touch/samsung_touch.h)?" }, { "role": "assistant", "content": "/*\n * SPDX-FileCopyrightText: 2021-2025 The LineageOS Project\n * SPDX-License-Identifier: Apache-2.0\n */\n\n#pragma once\n\n/*...
[ { "role": "user", "content": "How do I configure service for the Galaxy A04s (device/samsung/a04s/touch/service.cpp)?" }, { "role": "assistant", "content": "/*\n * SPDX-FileCopyrightText: 2025 The LineageOS Project\n * SPDX-License-Identifier: Apache-2.0\n */\n\n#define LOG_TAG \"vendor.samsung....
[ { "role": "user", "content": "How do I configure vendor.samsung.touch.sysinput-service for the Galaxy A04s (device/samsung/a04s/touch/vendor.samsung.touch.sysinput-service.rc)?" }, { "role": "assistant", "content": "on early-init\n chown system radio /sys/class/sec/tsp/cmd\n chmod 0664 /sy...
[ { "role": "user", "content": "How do I configure Android for the Galaxy A04s (device/samsung/a04s/vndk/Android.bp)?" }, { "role": "assistant", "content": "cc_prebuilt_library_shared {\n name: \"libutils-v31\",\n vendor: true,\n strip: {\n none: true,\n },\n target: {\n ...
[ { "role": "user", "content": "What SELinux rules does the A04s need for domain? (path: device/samsung_slsi/sepolicy/common/public/domain.te)" }, { "role": "assistant", "content": "# domain.te\n\n# Make sure that labels are used correctly\nneverallow { domain -vendor_init -ueventd } r_fs_type:fi...
[ { "role": "user", "content": "What SELinux rules does the A04s need for file? (path: device/samsung_slsi/sepolicy/common/public/file.te)" }, { "role": "assistant", "content": "# file.te\n\n### DATA\ntype zram_data_file, file_type, data_file_type, core_data_file_type;" } ]
[ { "role": "user", "content": "What SELinux rules does the A04s need for argosd? (path: device/samsung_slsi/sepolicy/common/vendor/argosd.te)" }, { "role": "assistant", "content": "# argosd.te\n\ntype argosd, domain;\ntype argosd_exec, exec_type, vendor_file_type, file_type;\n\n# argosd is start...
[ { "role": "user", "content": "What SELinux rules does the A04s need for cass? (path: device/samsung_slsi/sepolicy/common/vendor/cass.te)" }, { "role": "assistant", "content": "type cass, domain;\ntype cass_exec, exec_type, file_type, vendor_file_type;\n\ninit_daemon_domain(cass)\n\nallow cass k...
End of preview. Expand in Data Studio

LineageOS 23.2 Source Tree

Description

Teaches how the Android/LineageOS platform is built: framework Java/Kotlin, Soong (Android.bp) and Make build files, device trees for the Galaxy A04s, Exynos850 kernel drivers and SELinux policy.

Source

  • Local LineageOS 23.2 tree (AOSP fork) - 200,000 files walked read-only, ordered device-first for Galaxy A04s / Exynos850

Formatted for the MoE-orchestrator project (https://github.com/michaelowusuntim6/MoE-orchestrator). Expert target: android.

Format

Each record is a JSON object with a messages field formatted for Qwen3.5's native chat template:

{"messages": [
  {"role": "system", "content": "..."},
  {"role": "user", "content": "..."},
  {"role": "assistant", "content": "..."}
]}

The records are consumed via tokenizer.apply_chat_template(). Special tokens (<|im_start|>, <|im_end|>) are added by the template, never embedded in content.

Splits

  • train: 190,827 records
  • val: 4,005 records

Usage

from datasets import load_dataset
ds = load_dataset("michaelowusuntim6/lineageos-tree-qwen35", split="train")
print(ds[0]["messages"])

License

AOSP/LineageOS upstream licences (Apache-2.0 and per-project). Upstream sources keep their own licences - see the source list above and docs/DATASET_SOURCES.md in the MoE-orchestrator repository for per-source detail.

Downloads last month
28