Commit Graph

23 Commits

Author SHA1 Message Date
AnierinB
5b200d6862 lineage: Initial Evolution X rebrand
Co-authored-by: Joey Huab <joey@evolution-x.org>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: Lup Gabriel <gwolf2u.website@gmail.com>
Co-authored-by: Hemant Sachdeva <hemant.evolver@gmail.com>
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-11-12 23:50:48 +09:00
Yumi Yukimura
6b8100b68f init.lineage-system_ext.rc: Rename bugreport service
* Cuttlefish has defined one with the same name.

[ 99% 157176/157198] build out/target/product/vsoc_x86_64/host_init_verifier_outp
FAILED: out/target/product/vsoc_x86_64/host_init_verifier_output.txt
/bin/bash -c "out/host/linux-x86/bin/host_init_verifier                 -p out/target/product/vsoc_x86_64/obj/ETC/passwd_system_intermediates/passwd_system        -p out/target/product/vsoc_x86_64/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext                -p out/target/product/vsoc_x86_64/obj/ETC/passwd_vendor_intermediates/passwd_vendor               -p out/target/product/vsoc_x86_64/obj/ETC/passwd_odm_intermediates/passwd_odm             -p out/target/product/vsoc_x86_64/obj/ETC/passwd_product_intermediates/passwd_product             --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts              --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/product_property_contexts_intermediates/product_property_contexts               --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts          --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts              --out_system out/target/product/vsoc_x86_64/system                --out_system_ext out/target/product/vsoc_x86_64/system_ext                --out_vendor out/target/product/vsoc_x86_64/vendor                --out_odm out/target/product/vsoc_x86_64/odm     --out_product out/target/product/vsoc_x86_64/product             > out/target/product/vsoc_x86_64/host_init_verifier_output.txt"
host_init_verifier: out/target/product/vsoc_x86_64/vendor/etc/init/init.cutf_cvm.rc: 108: ignored duplicate definition of service 'bugreport'
host_init_verifier: Failed to parse init scripts with 1 error(s).

Change-Id: I0af60a1c19035d336a88a543089fd01400736dd5
2025-06-10 01:47:16 +08:00
Sebastiano Barezzi
8776027373 init: Update bugreport service definition
```
host_init_verifier: vendor/lineage/prebuilt/common/etc/init/init.lineage-system_ext.rc: 6: No user specified for service 'bugreport', so it would have been root.
host_init_verifier: Failed to parse init scripts with 1 error(s).
```

Change-Id: I0bd03cb673096f1e686ede59c7db70ab1e581ec1
2025-04-07 18:08:30 +02:00
Bruno Martins
2759a5b50e Rename init.lineage-system.rc and move to /system_ext
Change-Id: Ife4f9467b6aa2d656a2df34cc9df5dafef304348
2022-02-08 13:09:39 +01:00
Bruno Martins
70307a29eb prebuilt: Update terminfo path
Due to bash compilation issues, libncurses had to be moved to /system_ext.

Change-Id: Idbc2ac810b98843c00ada4f96b46ebb1c8744128
2022-02-08 13:04:39 +01:00
Michael Bestas
48796c9213 Move terminfo to /product
Change-Id: I51a7bc49dab09714cc66d056660a7b2e33ac2c49
2021-11-28 23:58:39 +02:00
Michael Bestas
03d5a8aa29 Revert "FOTA: Create /cache/recovery in init.rc for FOTA"
* This is done in init.rc since 2015

This reverts commit d32b741b5b.

Change-Id: I446b8586befaf1650a4e772890640c9ccde9e35b
2021-11-28 23:53:12 +02:00
Michael Bestas
de372eb7f9 Revert "cm: Give BootReceiver permissions to read fsck log"
* This is done in init.rc since 2019

This reverts commit 1b4eeb3ce7.

Change-Id: Ie3f7cdb9506f7e86f697cde649bcc20af97129ca
2021-11-28 23:53:12 +02:00
Michael Bestas
1f0d9c1341 Reorganize init scripts
* Add init prefix
* Improve naming
* Move to system_ext

Change-Id: Ic6cc600feca48e9f9b83e023a16daed25b5a7de8
2021-11-28 23:53:11 +02:00
Han Wang
7be1947e01 prebuilt: Remove lineage-radio.rc
* Devices should use ro.radio.noril and considering vendor
   services now should have a vendor. prefix, this script is
   useless. No device is using this script now.

Change-Id: I7cbb4f966124ca1307aaf1787301b8247d881b26
2021-11-14 20:20:53 +02:00
LuK1337
be135083d6 Remove IO tuning init scripts
Change-Id: I2ec439990b74cf099a78832fef4b7bc8dd17993c
2021-10-12 17:52:12 +03:00
Paul Crowley
916ecda319 init: Make encryption action an argument to mkdir
FscryptSetDirectoryPolicy no longer tries to infer the action from the
filename. Well mostly; it still assumes top-level directories in /data
should be encrypted unless the mkdir arguments say otherwise, but
it warns.

Bug: 26641735
Test: boot, check log messages
Change-Id: Id6d2cea7fb856f17323897d85cf6190c981b443c
2021-02-01 00:55:36 +01:00
Han Wang
692b1af12b prebuilt: Remove lineage-livedisplay.rc
* Already present in vendor.lineage.livedisplay@2.0-service-sysfs.rc.

Change-Id: I87ec20e3b0c9e9559963bebe7221f51e1dd4d7f3
2020-10-30 18:20:46 +02:00
Abhijeet Kaur
5412f813b0 Remove notifications from bugreport generation using combo keys
In Q, we added a new bugreport API that asks for user consent before
showing the "Share" notification for the bugreport. We will be migrating
all bugreporting clients to use the API in R.

In the new API workflow we are moving away from broadcasts and using
callbacks to communicate with dumpstate. Finished bugreport notification
broadcast used to share the final path of the bugreport but API now uses
file descriptors instead. Hence, moving away from broadcasts.

The full bugreport in this case can be retrieved from dumpstate directory
using 'adb pull' or finding and attaching the file directly to gmail or
betterbug.

Remove outputfile flag since it's unused.

Bug: 135186519
Bug: 137825702
Test: Build and flash to the device. Create a bugreport using combo
keys, share notification does not pop up. Full bugreport created in
bugreports/ dir

Change-Id: I3c15123a6a4ed62ae9cb87f5dd07db60b1416dfc
2020-10-18 16:31:13 +02:00
Han Wang
b2c606a079 prebuilt: Remove lineage-adb.rc
* Yes, this is no more.

Change-Id: I3cf2831fafc475486018281641c1ff4c2efc810c
2020-10-15 19:52:51 +02:00
Han Wang
939e2e69d1 prebuilt: Clean up lineage-system.rc
* There is no reference to ANDROID_CACHE now, and
   /persist does not exist on most devices, neither
   can we write to it.

Change-Id: I91af1e6f571ced317d195e3a7901bf4c269486a1
2020-07-31 17:47:04 +02:00
Han Wang
ee283b0857 prebuilt: Remove lineage-governor.rc
* This seems to be a leftover of CM days.

Change-Id: Iff75e120e4a71e64fa45ab3734ab63151ce21cb1
2019-12-01 12:59:18 +01:00
Luca Stefani
243b877ea4 Kill sysinit
Change-Id: Ia8d46d794ff829f3fc39ff48d57fdb6f9c03262d
2019-10-23 01:29:31 +02:00
Bruno Martins
0eba72af4d prebuilts: Remove outdated TCP init script
These props are long deprecated and code cross reference
takes us back to KitKat days.

Change-Id: Id98f6ade71d877b64466906ddb1a1e6dd251904a
2019-09-03 16:05:13 +02:00
Kevin F. Haggerty
f4720d0925 lineage-iosched: restorecon scheduler tuneables before touching them
* LineageOS/android_system_sepolicy@0e3235f45d removed open, read,
  and write for init to general sysfs types. As schedulers are
  changed, the related directories gets dynamically torn-down and
  rebuilt, but they lacks proper contexts. We need to make sure the
  context is correct before init can write to these nodes.

Change-Id: Ic6f4567c173799bc56ecccc217040392f73aeaba
2018-11-29 05:57:39 +01:00
Paul Keith
86e79255ae lineage: Set perms on reading_mode sysfs
* This is now supported by the common sysfs impl,
  so the perms should be set on the node

Change-Id: I079301a8684f3038b7e5e72b7b2d830259c4fe60
2018-08-10 15:56:05 +02:00
Dan Pasanen
f7b93ce5a0 lineage-radio: disable ims services on ro.radio.noril
Change-Id: I598dbaaaead2c9cfd50cd41f3bed193dfe17e147
2018-04-20 05:51:44 +02:00
Sam Mortimer
c10885231f Refactor Lineage init rc file
*) Put Lineage rc files in /system/etc/init instead of /init.lineage.rc

*) Split into function specific files (vibrator-specific stuff moved to
   our custom vibrator HAL service)

Change-Id: I1d00950253fbf7fdd7a4b7bd52adbed971923575
2017-10-15 03:06:48 +00:00