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

Slim 5.1 #5

Open
wants to merge 50 commits into
base: slim-5.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a309bb3
updated ramdisk from @dorimanx branch. Big thanks to him
Alucard24 Jun 3, 2015
55e6998
Dorimanx Control: add MMC performance and power save mods.
Alucard24 Jun 28, 2015
e5df613
mmc_mode: adapted to S4 phone!
Alucard24 Jun 28, 2015
bf90646
Some fixes!
Alucard24 Jun 30, 2015
ebabe1d
max_gpuclk it is set by kernel so line inside post-init.sh is useless!
Alucard24 Jun 30, 2015
6e24df9
Execute init.qcom.post_boot.sh shell script directly from /system/etc…
Alucard24 Jul 19, 2015
9d11110
Imported changes from dorimanx lp ramdisk branch
Alucard24 Jul 23, 2015
89999cb
Revert "Imported changes from dorimanx lp ramdisk branch"
Alucard24 Jul 23, 2015
6664f87
Imported changes from @dorimanx lp ramdisk branch. (Now fixed!). Than…
Alucard24 Jul 24, 2015
1339ef0
Changed values for max suspend freq and max gps freq.
Alucard24 Aug 1, 2015
b35dd3a
hotplug_rq changes!
Alucard24 Aug 10, 2015
8bae75d
BOOT SCRIPT: disable debug for kernel drivers. Thanks to @dorimanx
Alucard24 Aug 16, 2015
f45ad6c
Revert "BOOT SCRIPT: disable debug for kernel drivers. Thanks to @dor…
Alucard24 Aug 16, 2015
e2fdf40
Tune LMK to be more aggressive. LP drain RAM like PIG! added Adaptive…
Alucard24 Aug 21, 2015
3bd9b9f
OOM LEVELS: LP need free RAM above 250MB to work without LAGS. give it.
dorimanx Aug 25, 2015
70089c1
fstab: put f2fs above ext4
Alucard24 Aug 26, 2015
cf4648e
COMMITS:
Alucard24 Aug 30, 2015
b5f2709
Fixed mess in customconfig.xml.
Alucard24 Aug 30, 2015
722a1d3
BOOT SCRIPT: set mmap back to default. but press more on ram relese.
Alucard24 Aug 30, 2015
7838a12
Updated ramdisk with latest slimlp changes
B--B Aug 31, 2015
9fd381f
Removed KSM settings! System hangs or is not responding!
Alucard24 Aug 31, 2015
1359011
Revert "Removed KSM settings! System hangs or is not responding!"
Alucard24 Sep 1, 2015
486766d
Fixed fstab
B--B Sep 1, 2015
b357192
NEW UKSM tuning and controls. for synapse and dorimanx app. Thanks to…
Alucard24 Sep 1, 2015
7e84848
Fixed synapse status description
Alucard24 Sep 1, 2015
56f431c
New control. lowmem vm ratio tuning. Thanks to @dorimanx
Alucard24 Sep 2, 2015
beb0167
Enabled some logs!
Alucard24 Sep 3, 2015
d778e16
Add TCP VENO protocol. Thanks to @dorimanx
Alucard24 Sep 3, 2015
68f2f1d
Update default.prop
angelcalibur Nov 12, 2015
930ec56
Update file_contexts
angelcalibur Nov 12, 2015
0eccad4
Update fstab.qcom
angelcalibur Nov 12, 2015
f8f8532
Update init.carrier.rc
angelcalibur Nov 12, 2015
4c038e1
Update init.environ.rc
angelcalibur Nov 12, 2015
ea6d6e5
Update init.qcom.rc
angelcalibur Nov 12, 2015
7448e51
Update init.qcom.usb.rc
angelcalibur Nov 12, 2015
5b52bf2
Update init.rc
angelcalibur Nov 12, 2015
05b0037
Update init.recovery.usb.rc
angelcalibur Nov 12, 2015
5b0bf6f
Update init.slim.rc
angelcalibur Nov 12, 2015
eaedd44
Update init.superuser.rc
angelcalibur Nov 12, 2015
98a9c17
Update init.target.rc
angelcalibur Nov 12, 2015
e3688ac
Update init.trace.rc
angelcalibur Nov 12, 2015
3211c77
Update init.trace.rc
angelcalibur Nov 12, 2015
135f995
Update init.usb.rc
angelcalibur Nov 12, 2015
0c2c9a3
Update init.zygote32.rc
angelcalibur Nov 12, 2015
28c5d74
Update property_contexts
angelcalibur Nov 12, 2015
18ec9c1
Update seapp_contexts
angelcalibur Nov 12, 2015
3ffce56
Update selinux_version
angelcalibur Nov 12, 2015
376b33d
Update service_contexts
angelcalibur Nov 12, 2015
a26f1b1
Update ueventd.qcom.rc
angelcalibur Nov 12, 2015
79648ba
Update ueventd.rc
angelcalibur Nov 12, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 25 additions & 4 deletions file_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
/charger u:object_r:rootfs:s0
/init u:object_r:rootfs:s0
/sbin(/.*)? u:object_r:rootfs:s0
/sbin/busybox u:object_r:rootfs:s0

# Empty directories
/lost\+found u:object_r:rootfs:s0
Expand Down Expand Up @@ -152,7 +151,6 @@
/system/bin/racoon u:object_r:racoon_exec:s0
/system/xbin/su u:object_r:su_exec:s0
/system/vendor/bin/gpsd u:object_r:gpsd_exec:s0
/system/xbin/wget u:object_r:rootfs:s0
/system/bin/dnsmasq u:object_r:dnsmasq_exec:s0
/system/bin/hostapd u:object_r:hostapd_exec:s0
/system/bin/clatd u:object_r:clatd_exec:s0
Expand Down Expand Up @@ -256,7 +254,7 @@
/mnt/asec/[^/]+/lib(/.*)? u:object_r:asec_public_file:s0
/data/app-asec(/.*)? u:object_r:asec_image_file:s0
#line 1 "device/qcom/sepolicy/common/file_contexts"
###################################
##################################
# Dev nodes
#
/dev/adsprpc-smd u:object_r:qdsp_device:s0
Expand All @@ -274,6 +272,7 @@
/dev/rtc0 u:object_r:rtc_device:s0
/dev/sensors u:object_r:sensors_device:s0
/dev/smd.* u:object_r:smd_device:s0
/dev/smd11 u:object_r:smd11_device:s0
/dev/smem_log u:object_r:smem_log_device:s0
/dev/ttyHSL0 u:object_r:console_device:s0
/dev/ttyHS[0-9]* u:object_r:serial_device:s0
Expand All @@ -290,6 +289,7 @@
/dev/block/bootdevice/by-name/fsc u:object_r:modem_efs_partition_device:s0
/dev/block/bootdevice/by-name/ssd u:object_r:ssd_device:s0
/dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0
/dev/sg.* u:object_r:sg_device:s0
/dev/ccid_bridge u:object_r:usb_uicc_device:s0
/dev/block/bootdevice/by-name/mdm1m9kefs1 u:object_r:efs_boot_dev:s0
/dev/block/bootdevice/by-name/mdm1m9kefs2 u:object_r:efs_boot_dev:s0
Expand All @@ -310,6 +310,8 @@
/dev/dpl_ctrl u:object_r:rmnet_device:s0
/dev/wcnss_ctrl u:object_r:wcnss_device:s0
/dev/wcnss_wlan u:object_r:wcnss_device:s0
/dev/pta u:object_r:pta_device:s0
/dev/mdss_rotator u:object_r:graphics_device:s0
/dev/hbtp_input u:object_r:hbtp_device:s0
/dev/jdi-bu21150 u:object_r:bu21150_device:s0
/dev/voice_svc u:object_r:voice_device:s0
Expand All @@ -318,6 +320,7 @@
/dev/coresight-tmc-etr u:object_r:qdss_device:s0
/dev/coresight-tmc-etr-stream u:object_r:qdss_device:s0
/dev/system_health_monitor u:object_r:system_health_monitor_device:s0
/dev/block/bootdevice/by-name/frp u:object_r:frp_block_device:s0

###################################
# Dev socket nodes
Expand Down Expand Up @@ -345,6 +348,7 @@
/dev/socket/rild2-debug u:object_r:rild_debug_socket:s0
/dev/socket/rild3 u:object_r:rild_socket:s0
/dev/socket/rild3-debug u:object_r:rild_debug_socket:s0
/dev/socket/msm_irqbalance u:object_r:msm_irqbalance_socket:s0

###################################
# System files
Expand Down Expand Up @@ -396,6 +400,7 @@
/system/bin/mdm_helper_proxy u:object_r:mdm_helper_exec:s0
/system/bin/ks u:object_r:mdm_helper_exec:s0
/system/bin/pm-service u:object_r:per_mgr_exec:s0
/system/bin/pm-proxy u:object_r:per_mgr_exec:s0
/system/bin/usb_uicc_client u:object_r:usb_uicc_daemon_exec:s0
/system/bin/qcom-system-daemon u:object_r:qcomsysd_exec:s0
/system/xbin/qlogd u:object_r:qlogd_exec:s0
Expand All @@ -417,23 +422,28 @@
/system/bin/garden_app u:object_r:location_exec:s0
/system/bin/gpsone_daemon u:object_r:location_exec:s0
/system/vendor/bin/slim_ap_daemon u:object_r:location_exec:s0
/system/bin/energy-awareness u:object_r:energyawareness_exec:s0
/system/bin/dts_configurator u:object_r:dtsconfigurator_exec:s0
/system/vendor/bin/qti u:object_r:qti_exec:s0
/system/bin/wcnss_service u:object_r:wcnss_service_exec:s0
/system/vendor/bin/hbtp_daemon u:object_r:hbtp_exec:s0
/system/bin/wcnss_filter u:object_r:wcnss_filter_exec:s0

###################################
# sysfs files
#
/sys/class/graphics/fb0/mdp/caps u:object_r:sysfs_graphics:s0
/sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0
/sys/devices/.*bcl.*(/.*)? u:object_r:sysfs_thermal:s0
/sys/devices/soc.0/qcom,bcl.*(/.*)? u:object_r:sysfs_thermal:s0
/sys/devices/qcom,bcl.*(/.*)? u:object_r:sysfs_thermal:s0
/sys/devices/f9200000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
/sys/devices/msm_dwc3/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
/sys/devices/msm_otg/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
/sys/devices/platform/battery_current_limit u:object_r:sysfs_thermal:s0
/sys/devices/qpnp-charger.*/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0
/sys/devices/system/cpu/cpu0/rq-stats/* u:object_r:sysfs_rqstats:s0
/sys/devices/virtual/graphics/fb([0-2])+/idle_time u:object_r:sysfs_graphics:s0
/sys/devices/virtual/graphics/fb([0-2])+/dynamic_fps u:object_r:sysfs_graphics:s0
/sys/devices/virtual/graphics/fb([0-2])+/product_description u:object_r:sysfs_graphics:s0
/sys/devices/virtual/graphics/fb([0-2])+/vendor_name u:object_r:sysfs_graphics:s0
/sys/devices/virtual/hsicctl/hsicctl1[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0
Expand All @@ -446,6 +456,8 @@
/sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0
/sys/devices/f9a55000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
/sys/devices/virtual/graphics/fb([0-2])+/hpd u:object_r:sysfs_graphics:s0
/sys/devices/virtual/graphics/fb([0-2])+/res_info u:object_r:sysfs_graphics:s0
/sys/devices/virtual/graphics/fb([0-2])+/s3d_mode u:object_r:sysfs_graphics:s0
/sys/class/graphics/fb([0-2])+/mdp/caps u:object_r:sysfs_graphics:s0
/sys/class/graphics/fb([0-2])+/ad u:object_r:sysfs_graphics:s0
/sys/bus/platform/drivers/xhci_msm_hsic(/.*)? u:object_r:sysfs_hsic:s0
Expand Down Expand Up @@ -482,7 +494,9 @@
/data/misc/location(/.*)? u:object_r:location_data_file:s0
/data/FTM_AP(/.*)? u:object_r:mmi_data_file:s0
/data/misc/hbtp(/.*)? u:object_r:hbtp_log_file:s0
/data/local/.Drm(/.*)? u:object_r:oma_drm_data_file:s0
/data/misc/qlogd(/.*)? u:object_r:qlogd_data_file:s0
/data/misc/dts(/.*)? u:object_r:dts_data_file:s0

###################################
# persist files
Expand All @@ -492,6 +506,7 @@
/persist/data(/.*)? u:object_r:persist_drm_file:s0
/persist/data/tz(/.*)? u:object_r:persist_drm_file:s0
/persist/data/sfs(/.*)? u:object_r:persist_drm_file:s0
/persist/display(/.*)? u:object_r:persist_display_file:s0

###################################
# oem files
Expand Down Expand Up @@ -657,3 +672,9 @@

# Lockscreen wallpaper
/data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0

# LiveDisplay
/sys/devices/virtual/graphics/fb0/aco u:object_r:livedisplay_sysfs:s0
/sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0
/sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0
/sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0
8 changes: 4 additions & 4 deletions fstab.qcom
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
/dev/block/platform/msm_sdcc.1/by-name/mdm /firmware-mdm vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 nosuid,nodev,noatime,noauto_da_alloc,journal_async_commit,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 nosuid,nodev,noatime,noauto_da_alloc,journal_async_commit,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 nosuid,nodev,noatime,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,encryptable=footer
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,encryptable=footer

/devices/platform/msm_sdcc.2/mmc_host/mmc2* auto auto defaults voldmanaged=sdcard1:auto
/devices/platform/msm_hsusb_host/usb* auto auto defaults voldmanaged=usbdisk:auto
/devices/platform/msm_sdcc.2/mmc_host/mmc2* auto auto defaults voldmanaged=sdcard1:auto,noemulatedsd
/devices/platform/msm_hsusb_host/usb* auto auto defaults voldmanaged=usbdisk:auto,noemulatedsd
Binary file modified init
Binary file not shown.
49 changes: 0 additions & 49 deletions init.cm.rc

This file was deleted.

2 changes: 1 addition & 1 deletion init.environ.rc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ on init
export ASEC_MOUNTPOINT /mnt/asec
export LOOP_MOUNTPOINT /mnt/obb
export BOOTCLASSPATH /system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/apache-xml.jar:/system/framework/qcmediaplayer.jar
export SYSTEMSERVERCLASSPATH /system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar
export SYSTEMSERVERCLASSPATH /system/framework/org.cyanogenmod.platform.jar:/system/framework/org.cyanogenmod.hardware.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar
export LD_PRELOAD libsigchain.so
Loading