Skip to content

Commit

Permalink
Merge pull request #5 from goldfish07/lineage-18.0
Browse files Browse the repository at this point in the history
Lineage 18.0 zram support
  • Loading branch information
goldfish07 authored Nov 7, 2022
2 parents 405f5f1 + da2fea5 commit af50538
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 28 deletions.
3 changes: 3 additions & 0 deletions rootdir/fstab.qcom
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
/dev/block/bootdevice/by-name/efs /mnt/vendor/efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check

# ZRAM
/dev/block/zram0 none swap defaults zramsize=2147483648

# VOLD :: fstab_non_AB_variant.qti
# /devices/platform/soc/7864900.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,noemulatedsd,encryptable=footer
# /devices/platform/soc/7000000.ssusb/7000000.dwc3/xhci-hcd.0.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto
Expand Down
10 changes: 2 additions & 8 deletions rootdir/init.j8y18lte.rc
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,8 @@ on boot
chown system system /sys/class/lcd/panel/poc_info
chmod 0440 /sys/class/lcd/panel/poc_info


# SSWAP
service swapon /sbin/sswap -s -f 2048
class core
user root
group root
seclabel u:r:sswap:s0
oneshot
# ZRAM
swapon_all vendor/etc/fstab.qcom

# faced
service faced /system/bin/faced
Expand Down
16 changes: 0 additions & 16 deletions system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1


#
Expand All @@ -28,7 +27,6 @@ debug.sf.latch_unsignaled=1
debug.egl.hw=0
persist.hwc.mdpcomp.enable=true
debug.mdpcomp.logs=0
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false
debug.enable.sglscale=1
Expand Down Expand Up @@ -162,15 +160,6 @@ ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

# set cutoff voltage to 3400mV
ro.cutoff_voltage_mv=3400

#set device emmc size
ro.emmc_size=16GB

#force HAL1 for below packages
vendor.camera.hal1.packagelist=com.skype.raider,com.google.android.talk

#Enable FR27607-RIL to send ONLINE cmd in bootup
#persist.radio.poweron_opt=1
#low power mode for camera
Expand All @@ -183,8 +172,6 @@ persist.vendor.camera.display.lmax=1280x720
#expose aux camera for below packages
vendor.camera.aux.packagelist=org.codeaurora.snapcam

#set cutoff voltage to 3400mV
ro.cutoff_voltage_mv=3400
# end of device/qcom/msm8953_64/system.prop

#
Expand All @@ -195,9 +182,6 @@ ro.cmc.device_type=pd
ro.cmc.version=2.0
# end of device/samsung/j8y18lte/system.prop

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.vendor.qti.va_aosp.support=1

# read DS/SS property
Expand Down
4 changes: 0 additions & 4 deletions vendor.prop
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ debug.stagefright.omx_default_rank=0
vendor.mediacodec.binder.size=6
vendor.vidc.disable.split.mode=1
vendor.vidc.enc.disable.pq=true
ro.hardware.nfc_nci=nqx.default
vendor.hw.fm.init=0
persist.vendor.qcomsysd.enabled=1
ro.security.cass.feature=1
Expand Down Expand Up @@ -39,7 +38,6 @@ persist.vendor.radio.apm_sim_not_pwdn=1
persist.vendor.radio.custom_ecc=1
persist.vendor.radio.sib16_support=1
persist.vendor.radio.rat_on=combine
persist.backup.ntpServer=0.pool.ntp.org
sys.vendor.shutdown.waittime=500
persist.vendor.radio.procedure_bytes=SKIP
ro.opengles.version=196610
Expand All @@ -57,8 +55,6 @@ vendor.audio.offload.track.enable=true
audio.deep_buffer.media=true
vendor.voice.path.for.pcm.voip=true
vendor.audio.offload.multiaac.enable=true
vendor.audio.dolby.ds2.enabled=false
vendor.audio.dolby.ds2.hardbypass=false
vendor.audio.offload.multiple.enabled=false
vendor.audio.offload.passthrough=false
ro.vendor.audio.sdk.ssr=false
Expand Down

0 comments on commit af50538

Please sign in to comment.