Skip to content

Commit

Permalink
ramdisk: disable adabtable storage
Browse files Browse the repository at this point in the history
Change-Id: I5bf60d359652fb490193803562ebca5ce3c84102
  • Loading branch information
KonstaT committed Apr 23, 2016
1 parent 08b3a20 commit da39fd9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ramdisk/fstab.qcom
Expand Up @@ -9,5 +9,5 @@
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware 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/boot /boot emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults defaults
/devices/msm_sdcc.2/mmc_host* auto auto defaults voldmanaged=sdcard0:auto,encryptable=userdata,noemulatedsd
/devices/msm_sdcc.2/mmc_host* auto auto defaults voldmanaged=sdcard0:auto,noemulatedsd
/dev/block/zram0 none swap defaults zramsize=201326592,notrim
3 changes: 3 additions & 0 deletions ramdisk/init.qcom.rc
Expand Up @@ -41,6 +41,9 @@ on init
symlink /sdcard /mnt/sdcard
symlink /sdcard /storage/sdcard0

# By default, primary storage is physical
setprop ro.vold.primary_physical 1

on early-boot
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864
Expand Down
3 changes: 0 additions & 3 deletions system.prop
Expand Up @@ -58,9 +58,6 @@ ro.min_freq_0=787200
# Scheduler
sys.io.scheduler=bfq

# Storage
ro.vold.primary_physical=true

# Telephony
rild.libpath=/vendor/lib/libril-qc-qmi-1.so
rild.libargs=-d /dev/smd0
Expand Down

3 comments on commit da39fd9

@Shnoulle
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question : why disable adabtable storage ? Reverse this patch allow to use adabtable storage ?

@KonstaT
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't (isn't?) working for some unknown reason. This just removes the option to use a broken feature. Most likely some upstream CM issue. You can try if it's been fixed since.

@Shnoulle
Copy link

@Shnoulle Shnoulle commented on da39fd9 Jul 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works with cm-13.0-20160207-UNOFFICIAL-KonstaKANG-kis3 using GUI Settings.

Trying via adb to use sm partition disk:179_64 mixed 80 : this don't work. I don't try with sm partition disk:179_64 private (with 20160207)

Please sign in to comment.