Commit graph

27 commits

Author SHA1 Message Date
Edwin Moquete
67ad9e979f sdm660-common: Switch to FBE v2 for fstab.qcom
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:34 +01:00
pix106
3e89995330 Revert "sdm660-common: rootdir: Enable fbe encryption"
This reverts commit 152ad7e525.
2022-02-16 20:58:05 +01:00
pix106
152ad7e525 sdm660-common: rootdir: Enable fbe encryption
This reverts commit b9cba38ee24b543990ed18e00734ba3145d3e4c8.

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Wei Wang
d4dfc9b401 sdm660-common: rootdir: Tune zram performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.

Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
Signed-off-by: clarencelol <clarencekuiek@icloud.com>

[clarencelol]: I'm not sure why it got removed before, it is not deprecated yet as Google still using it
Reference: https://android.googlesource.com/device/google/redbull/+/refs/tags/android-s-beta-4/fstab.hardware

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
Edwin Moquete
1268269fab
sdm660-common: Update fstab for k4.14/k4.19
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-06-07 09:20:53 +06:00
Nick C
0d5cde00b2
sdm660-common: rootdir: zRAM tuning 2021-05-15 06:03:01 +06:00
Ivan Vecera
5d95e4db79
sdm660-common: rootdir: do not use absolute value for ZRAM size
Redmi Note 7 has variants with 3GB as well as for 4GB RAM.
So use 50% for ZRAM size instead of current 3GB for both.
Parameter 'max_comp_streams' is obsolete and should not be set.
Kernel currently uses always num of online CPUs.

Change-Id: Ib0157c7b4ba686a9597fd33d268dace4e0171da7
2021-05-15 06:03:01 +06:00
OdSazib
b42fb05f29
rootdir: Disable fbe encryption except A-target/lavender 2021-04-03 18:18:38 +06:00
pix106
dbebd8057c
sdm660-common: add external sdcard to fstab.qcom 2021-02-16 17:08:16 +06:00
OdSazib
9fd4659d67
sdm660-common: Add back zRam block in fstab 2021-02-16 17:08:16 +06:00
OdSazib
d08d2d3b8e
sdm660-common: Format fstab with FBE encryption 2021-01-27 21:11:22 +06:00
OdSazib
d40220f154
sdm660-common: Enable block-based 2GB zRAM for EAS
* Guard the post boot script for HMP only

Partially reverts commit fd809eba57.
Signed-off-by: OdSazib <odsazib@gmail.com>.
2020-12-22 20:57:05 +06:00
Max Weffers
fd809eba57
sdm660-common: setup ZRAM in post boot
This reverts commit 24e254a55f3ba32be838c7d1ab36bf65d4362fbe.

Change-Id: I90f690a4b833d94c235fccf56b8d679eb25591d2
2020-08-12 02:11:32 +06:00
Stylogey
f2fcbe2d73
sdm660-common: format fstabs
Change-Id: I867c2eb7d3f752c70bb9bb05da53048657c43da0
2020-08-12 02:02:39 +06:00
Dušan Uverić
fee506cf0b
sdm660-common: fstab: setup 1GB ZRAM
Change-Id: Ia137f4a7e7819f507e2fc004231dea2c985f2404
2020-08-12 02:02:38 +06:00
Dyneteve
1a7c7d5840
sdm660-common: rootdir: Use auto for sdcard/usbotg
* Just so other file systems work

Change-Id: Ic7aa2b98ee4af1309b6155bdc5b77dc46f130503
2020-02-27 17:01:34 +01:00
Artem Borisov
1f658096ee
sdm660-common: Make a legacy symlink for persist as well
Apparently, our bluetooth hal and TAS Soundriver wants it.

Change-Id: I673646a90f016c3d0e3f2244bed8e31cd0263f7e
2019-09-27 17:13:45 +02:00
Vinay Verma
4140eb5ed8
sdm660-common: Correct gid for /vendor/firmware_mnt due firmware class path change
In ueventd support has been added to read firmware path from
vendor.It wil parse /vendor/firmware_mnt/image information
and add in look up path/search path for loading firmware.
Change uid of /venodr/firmware_mnt back to system as kernel
firmware loading is removed. Previouly to support kernel firmware
loading root permissions were required.

Change-Id: I560ed75ee07626094acbc879b615190cf3a9faa3
2019-09-27 17:13:44 +02:00
Max Weffers
4771df97e2
sdm660-common: Remove crashcheck and resize flag from fstab
* Fixes : [libfs_mgr]Warning: unknown flag crashcheck
* Fixes : [libfs_mgr]Warning: unknown flag resize

Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:11 +02:00
Max Weffers
86f58c6df2
sdm660-common: Cleanup fstab and add support for f2fs
Change-Id: Ic70a0b31f86c74c4b29eedd4fdb06ae4f3a551e7
2019-08-14 10:04:11 +02:00
dianlujitao
efdbc19a6a wayne-common: Bind mount /mnt/vendor/persist to /persist for sensors
* Oreo sensors.qcom cannot access to persist even with the symlink

Change-Id: Ifc43515c70b51aeb8c1b5db765051fb21fddb80d
2019-07-01 16:42:16 +02:00
Vinay Verma
c5bd350f84 wayne-common: Mount dsp and firmware in vendor
Change fstab to mount dsp and firmware to /vendor/dsp and
/vendor/firmware_mnt.

Add classpath for firmware loading /vendor/firmware_mnt/image in
kernel command line.

Change-Id: I2dd2e7ea6334fb979ad8ff8c755648748de93ab4
2019-07-01 16:42:16 +02:00
Vinay Verma
7f0b9ce620 wayne-common: Move /bt_firmware mount point to /vendor/bt_firmware
Change-Id: I6dbb4e19fd00861b0c50a7df6eab197e878a5d0e
2019-07-01 16:42:16 +02:00
Vinay Verma
c10b9d9723 wayne-common: Moving persist mount point to /mnt/vendor/persist
Move persist entry to fstab and mount at /mnt/vendor/persist

Apply required user, group and permissions once persist
folder is created through __mount and parititon is mounted.

Run restorecon on /mnt/vendor/persist.

Change-Id: I20a16f3669bc7abf9844525c6ba0db1521a5a8e2
2019-07-01 16:42:16 +02:00
Michael Bestas
587fead983 wayne: Get rid of recovery-only fstab
* Mounting /system and /vendor partitions is handled in kernel now,
   however removing the entries from fstab caused issues building
   the OTA. The workaround was to have a separate fstab, but turns out
   that simply setting the recoveryonly flag does the trick because
   those are then ignored during a normal Android boot.

Change-Id: I2944384d0a1c41bc9f9f51e2e29daff2bed0a0f4
2018-07-19 00:00:34 +00:00
Isaac Chen
71ad0c9e53 wayne: Initial bringup
Change-Id: I211da5781d8c7a16199fd8a18e1b00cfc9e01944
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:01:25 +00:00
GuaiYiHu
b3d7f22ea2 wayne: Move ramdisk configs to rootdir dir
* Clean up unused configs

Change-Id: I0aae320468796a67fc2110aef0b31c06da2314e3
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Renamed from fstab_non_AB_variant.qcom (Browse further)