Force Touch Mi5s 3gb/64gb


Razov

Members
Dec 9, 2016
37
20
Hi, I wanted to share this video just in case you didnt see that, activating an option in Developer options, we can see how the phone detects the pressure that we make over the screen, but obviously it's not implemented.
Tried on my Mi5S 3GB and is working, even with the app he uses in the video.
Someone knows something about that?

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

Enviado desde mi MI 5s mediante Tapatalk
 
Last edited:
How can it be disabled when the ROM is the same for both devices?

Sent from my MI 5s using Tapatalk
 
if someone has the 4/128 version and root shares its build prop and so you can try.

Inviato dal mio HTC One A9 utilizzando Tapatalk
 
Anyone with the 4gb version can share the build.prop?

Enviado desde mi MI 5s mediante Tapatalk
 
Hi, I wanted to share this video just in case you didnt ser that, activating an option in Developer options, we can see how the phone detects the pressure that we make over the screen, but obviously it's not implemented.
Tried on my Mi5S 3GB and is working, even with the app he uses in the video.
Someone knows something about that?

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

Enviado desde mi MI 5s mediante Tapatalk
Dude, change the title of the post.
"We need build.prop from mi5s 4/128gb to implement force touch to mi5s 3/64gb
 
Something has to be diferent, so there isn't any file that stays on the phone even if you wipe all?

Enviado desde mi MI 5s mediante Tapatalk
 
works for me too. may be just a trick. you could check how much area of the finger is actually on the touchscreen and simmulate something like a force touch by that
 
Hi guys, I think that the phone has really a 3D touch. Run the hardware test tool and go to test number 12 (contact sensor), in the upper right corner there is a counter named "Prs" which value change with the pressure on the screen from 0.0 to 1.0.
 
works for me too. may be just a trick. you could check how much area of the finger is actually on the touchscreen and simmulate something like a force touch by that
If you put the whole finger with very low pressure the prs indicator shuold raise, but it doesn't.
 
If you put the whole finger with very low pressure the prs indicator shuold raise, but it doesn't.

The test seems to work only with one finger, I mean, if you try to use two fingers at the same time the value of the Prs indicator don't either change, but maybe is true and this is only to measure the amount of surface pressed ... who knows ...
 
Anyone with the 4gb version can share the build.prop?

Enviado desde mi MI 5s mediante Tapatalk
Anyone with the 4gb version can share the build.prop?

Enviado desde mi MI 5s mediante Tapatalk

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MXB48T
ro.build.display.id=MXB48T
ro.build.version.incremental=6.12.8
ro.build.version.sdk=23
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=6.0.1
ro.build.version.security_patch=2016-12-01
ro.build.version.base_os=
ro.build.date=czw, 8 gru 2016, 17:23:54 GMT
ro.build.date.utc=1481217834
ro.build.type=user
ro.build.user=6.12.15
ro.build.host=c3-miui-ota-bd37.bj
ro.build.tags=release-keys
ro.build.flavor=capricorn-user
ro.product.model=MI 5s
ro.product.brand=Xiaomi
ro.product.name=capricorn
ro.product.device=capricorn
ro.product.board=msm8996
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.locale=en-US
ro.wifi.channels=
ro.board.platform=msm8996
# ro.build.product is obsolete; use ro.product.device
ro.build.product=capricorn
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=capricorn-user 6.0.1 MXB48T 6.12.8 release-keys
ro.build.fingerprint=Xiaomi/capricorn/capricorn:6.0.1/MXB48T/6.12.8:user/release-keys
ro.build.characteristics=default
# end build properties
#
# from device/xiaomi/capricorn/system.prop
#
#
# system.prop for msm8996
#

#rild.libpath=/system/lib/libreference-ril.so
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
#rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=RUIM
persist.radio.multisim.config=dsds
DEVICE_PROVISIONED=1
# Start in global mode
ro.telephony.default_network=20
ro.telephony.default_cdma_sub=0
persist.sys.ssr.restart_level=ALL_ENABLE
persist.sys.ssr.enable_ramdumps=1


debug.sf.hw=1
debug.egl.hw=1
debug.gralloc.enable_fb_ubwc=1
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false

#ro.hdmi.enable=true
#persist.speaker.prot.enable=false
qcom.hw.aac.encoder=false
#
# system props for the cne module
#
persist.cne.feature=1

#
# system props for the dpm module
#
persist.dpm.feature=1
persist.dpm.nsrm.bkg.evt=3955

#system prop for enabling/disabling Android XLAT
persist.net.doxlat=true

#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
mm.enable.sec.smoothstreaming=true
av.debug.disable.pers.cache=true
#185971 is decimal sum of supported parsers in AAL
#37491 is decimal sum of supported codecs in AAL
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE
mm.enable.qcom_parser=1048575
persist.mm.enable.prefetch=true

# Additional i/p buffer in case of encoder DCVS
vidc.enc.dcvs.extra-buff-count=2

# Set default power mode to low power for encoder
vidc.debug.perf.mode=2

#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
persist.data.mode=concurrent

#system props for time-services
persist.timed.enable=true

#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3.0
# 196609 is decimal for 0x30001 to report version 3.1
ro.opengles.version=196609

# system property for maximum number of HFP client connections
bt.max.hfpclient.connections=1

# System property for cabl
ro.qualcomm.cabl=0

# System property for AD
ro.qcom.ad=1
ro.qcom.ad.calib.data=/system/etc/calib.cfg
ro.qcom.ad.sensortype=2

# Display feature support
# bit0-ColorPrefer bit1-EyeCare bit2-AD bit3-CE bit4-CABC bit5-SRGB
ro.sys.display.support=63

#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
telephony.lteOnCdmaDevice=1

#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true

#system prop for Bluetooth SOC type
qcom.bluetooth.soc=rome

#system prop for wipower support
ro.bluetooth.wipower=true

#Set this true as ROME which is programmed
#as embedded wipower mode by deafult
ro.bluetooth.emb_wp_mode=true

#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false

##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true

#system prop for RmNet Data
persist.rmnet.data.enable=true
persist.data.wda.enable=true
persist.data.df.dl_mode=5
persist.data.df.ul_mode=5
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.mux_count=8
persist.data.df.iwlan_mux=9
persist.data.df.dev_name=rmnet_usb0

#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
##property to choose between virtual/external wfd display
persist.sys.wfd.virtual=0

#property to enable sde downscale feature for external display
#sdm.debug.downscale_external=1

#property to specify the number of frames to skip before setting hint
sdm.perf_hint_window=50

#disable tunnel encoding
tunnel.audio.encode=false

#disable offload
audio.offload.disable = false
#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=32

#Enable offload audio video playback by default
audio.offload.video=true

#Enable 16 bit PCM offload by default
audio.offload.pcm.16bit.enable=true

#Enable 24 bit PCM offload by default
audio.offload.pcm.24bit.enable=true

#Enable audio track offload by default
audio.offload.track.enable=false

#Enable music through deep buffer
audio.deep_buffer.media=true

#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true

#Enable multi channel aac through offload
audio.offload.multiaac.enable=true

# system prop for NFC DT
ro.nfc.port=I2C

#enable dsp gapless mode by default
audio.offload.gapless.enabled=true

#Offload min duration
audio.offload.min.duration.secs=15

#enable pbe effects
audio.safx.pbe.enabled=true

#parser input buffer size(256kb) in byte stream mode
audio.parser.ip.buffer.size=0

#property to enable WFD WL solution
ro.vendor.wl_library=libqti-wl.so

#property for vendor specific library
ro.vendor.gt_library=libqti-gt.so
ro.vendor.at_library=libqti-at.so
sys.games.gt.prof=1

#hwui properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

#Disable property for Dolby ds2
audio.dolby.ds2.enabled=false

#Disable property for hard bypass
audio.dolby.ds2.hardbypass=false

audio.offload.passthrough=false
audio.offload.multiple.enabled=true

# button jack mode & switch
persist.sys.button_jack_profile=volume
persist.sys.button_jack_switch=0

# enable navigation bar
qemu.hw.mainkeys=1

#property to enable VDS WFD solution
persist.hwc.enable_vds=1

#Enable stm events
ro.dbg.coresight.config=stm_events

#default pd_enable value
persist.sys.pd_enable=0
#Disable rotator split feature
sdm.debug.disable_rotator_split=1

#Enable for IMS feature
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
persist.radio.VT_HYBRID_ENABLE=1

#Enable for A7 Dynamic sar feature
persist.radio.dynamic_sar=true

#For specail cdma card sms issue
persist.radio.force_on_dc=true

#Enable manual network selection function and distinguish 2G/3G/4G
persist.radio.rat_on=combine

# disable strictmode
persist.sys.strictmode.disable=true

#Increase cached app limit
ro.sys.fw.bg_apps_limit=60

#Camera fullscreen doesn't show navigation bar
Camera.no_navigation_bar=true

#For RIJL netwrok video call
persist.radio.NO_STAPA=1

# enable qcom stargate
persist.qfp=true
persist.qfp.fd_enabled=1
persist.qfp.home_btn_enabled=1
persist.qfp.ssc_enable_island=1
persist.qfp.ssc_fgoff_dil_s1=10
persist.qfp.ssc_fgoff_dil_home=10

persist.qfp.ssc_thresh_s1=0.570
persist.qfp.ssc_thresh_s1_off=0.0
persist.qfp.ssc_thresh_s1_rub=0.0
persist.qfp.ssc_thresh_s2=0.430
persist.qfp.ssc_thresh_s2_off=0.000
persist.qfp.ssc_thresh_s2_touch=0.330
persist.qfp.ssc_thresh_s2_lift=0.310

persist.qfp.ssc_basis_s1=/persist/qc_senseid/bg_estimation/bg_small1_basis.dat
persist.qfp.ssc_basis_s1_off=/persist/qc_senseid/bg_estimation/bg_small1_off_basis.dat
persist.qfp.ssc_basis_s2=/persist/qc_senseid/bg_estimation/bg_small2_basis.dat
persist.qfp.ssc_basis_s2_off=/persist/qc_senseid/bg_estimation/bg_small2_off_basis.dat

persist.qfp.cbge_active_enabled=1
persist.qfp.cbge_sleep_enabled=1

persist.qfp.filter_liftfinger=0

persist.qfp.wup_display=0

persist.qfp.capacitive_enabled=1

#enable cellbroadcast switch
persist.cellbroadcast.enabled=false

persist.camera.xm.green.r=0.98
persist.camera.xm.green.b=0.97

#adjust voice call volume steps
ro.config.vc_call_vol_steps=11

#Touch key vibrate pattern
sys.haptic.down.weak=0,5,25,10
sys.haptic.down.normal=0,10,30,25
sys.haptic.down.strong=0,20,50,50

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

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.miui.version.code_time=1475078400
ro.miui.ui.version.code=6
ro.miui.ui.version.name=V8
persist.nfc.smartcard.config=SIM1,SIM2,eSE1
persist.sys.mcd_config_file=/system/etc/mcd_default.conf
persist.sys.klo=on
persist.sys.whetstone.level=2
ro.ss.version=4.0.107
ro.ss.nohidden=true
dalvik.vm.heapgrowthlimit=256m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
ro.carrier=unknown
ro.vendor.extension_library=libqti-perfd-client.so
persist.radio.sib16_support=1
persist.radio.custom_ecc=1
ro.btconfig.if=uart
ro.btconfig.dev=/dev/ttyHS0
ro.btconfig.vendor=qcom
ro.btconfig.chip=QCA6164
af.fast_track_multiplier=1
audio_hal.period_size=192
camera.disable_zsl_mode=1
persist.sys.dalvik.vm.lib.2=libart
dalvik.vm.isa.arm64.variant=kryo
dalvik.vm.isa.arm64.features=default
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.miui.has_real_blur=1
ro.miui.has_handy_mode_sf=1
persist.gps.qc_nlp_in_use=1
persist.loc.nlp_name=com.qualcomm.location
ro.gps.agps_provider=1
ro.mdtp.package_name2=com.qualcomm.qti.securemsm.mdtp.MdtpDemo
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
ro.com.android.mobiledata=false
ro.product.manufacturer=Xiaomi
ro.config.elder-ringtone=Angel.mp3
keyguard.no_require_sim=true
ro.com.android.dataroaming=false
persist.sys.mitalk.enable=true
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.product.cuptsm=XIAOMI|ESE|02|01
persist.power.useautobrightadj=true
persist.radio.apm_sim_not_pwdn=1
ro.config.max_starting_bg=4
persist.added_boot_bgservices=4
ro.com.google.clientidbase=android-xiaomi

ro.product.mod_device=capricorn_mam_global
# ADDED BY XIAOMI.EU # MIUIOS.CZ # MIUIPOLSKA.PL #
ro.modversion=xiaomi.eu_miuios.cz_miuipolska.pl
ro.xiaomi.developerid=ingbrzy_acid
persist.sys.timezone=Europe/Berlin
ro.miui.region=PL
ro.miui.region2=IN
ro.miui.cust_variant=eu
ro.product.locale.language=en
ro.product.locale.region=US
ro.miui.mcc=9998
ro.miui.mnc=9999
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=6.0_r2
drm.service.enabled=true
ro.adb.secure=1
persist.adb.notify=0
net.dns1=8.8.8.8
net.dns2=8.8.4.4
 
The test seems to work only with one finger, I mean, if you try to use two fingers at the same time the value of the Prs indicator don't either change, but maybe is true and this is only to measure the amount of surface pressed ... who knows ...
With "whole finger" I mean keeping the finger parallel to the screen, so two or three phalanx are pressing the surface, which should be a huge amount.
If you try putting your thumb, whole phalanx (like when you are putting a stamp on a letter), the result is the.
With low pressure prs indicator doesn't raise even if a considerable amount of surface is pressed.
 
Thanks @zmadjk but can you upload it on .txt format at the forum?
Thx

Enviado desde mi MI 5s mediante Tapatalk
 
Here's a unified diff with mine (running stable)

Code:
--- build.prop.3_64	2016-12-20 23:14:18.896626000 +0100
+++ build.prop.4_128	2016-12-20 23:16:54.864739000 +0100
@@ -3,19 +3,19 @@
 # autogenerated by buildinfo.sh
 ro.build.id=MXB48T
 ro.build.display.id=MXB48T
-ro.build.version.incremental=V8.0.10.0.MAGCNDH
+ro.build.version.incremental=6.12.8
 ro.build.version.sdk=23
 ro.build.version.preview_sdk=0
 ro.build.version.codename=REL
 ro.build.version.all_codenames=REL
 ro.build.version.release=6.0.1
-ro.build.version.security_patch=2016-07-01
+ro.build.version.security_patch=2016-12-01
 ro.build.version.base_os=
-ro.build.date=Ne nov  6 19:53:15 GMT 2016
-ro.build.date.utc=1478461995
+ro.build.date=czw, 8 gru 2016, 17:23:54 GMT
+ro.build.date.utc=1481217834
 ro.build.type=user
-ro.build.user=6.11.10
-ro.build.host=c3-miui-ota-bd54.bj
+ro.build.user=6.12.15
+ro.build.host=c3-miui-ota-bd37.bj
 ro.build.tags=release-keys
 ro.build.flavor=capricorn-user
 ro.product.model=MI 5s
@@ -35,8 +35,8 @@
 # ro.build.product is obsolete; use ro.product.device
 ro.build.product=capricorn
 # Do not try to parse description, fingerprint, or thumbprint
-ro.build.description=capricorn-user 6.0.1 MXB48T V8.0.10.0.MAGCNDH release-keys
-ro.build.fingerprint=Xiaomi/capricorn/capricorn:6.0.1/MXB48T/V8.0.10.0.MAGCNDH:user/release-keys
+ro.build.description=capricorn-user 6.0.1 MXB48T 6.12.8 release-keys
+ro.build.fingerprint=Xiaomi/capricorn/capricorn:6.0.1/MXB48T/6.12.8:user/release-keys
 ro.build.characteristics=default
 # end build properties
 #
@@ -86,7 +86,7 @@
 #
 # system props for the dpm module
 #
-persist.dpm.feature=5
+persist.dpm.feature=1
 persist.dpm.nsrm.bkg.evt=3955
 
 #system prop for enabling/disabling Android XLAT
@@ -343,7 +343,7 @@
 
 persist.qfp.filter_liftfinger=0
 
-persist.qfp.wup_display=1
+persist.qfp.wup_display=0
 
 persist.qfp.capacitive_enabled=1
 
@@ -355,14 +355,24 @@
 
 #adjust voice call volume steps
 ro.config.vc_call_vol_steps=11
+
+#Touch key vibrate pattern
+sys.haptic.down.weak=0,5,25,10
+sys.haptic.down.normal=0,10,30,25
+sys.haptic.down.strong=0,20,50,50
+
+#set cutoff voltage to 3400mV
+ro.cutoff_voltage_mv=3400
+
 #
 # ADDITIONAL_BUILD_PROPERTIES
 #
-ro.miui.version.code_time=1472054400
+ro.miui.version.code_time=1475078400
 ro.miui.ui.version.code=6
 ro.miui.ui.version.name=V8
 persist.nfc.smartcard.config=SIM1,SIM2,eSE1
 persist.sys.mcd_config_file=/system/etc/mcd_default.conf
+persist.sys.klo=on
 persist.sys.whetstone.level=2
 ro.ss.version=4.0.107
 ro.ss.nohidden=true
@@ -431,7 +441,5 @@
 drm.service.enabled=true
 ro.adb.secure=1
 persist.adb.notify=0
-ro.bluetooth.remote.autoconnect=true
-ro.bluetooth.request.master=true
 net.dns1=8.8.8.8
 net.dns2=8.8.4.4
 
  • Like
Reactions: Razov
Here's a unified diff with mine (running stable)

Code:
--- build.prop.3_64	2016-12-20 23:14:18.896626000 +0100
+++ build.prop.4_128	2016-12-20 23:16:54.864739000 +0100

So there are a few strings different

94a2752f7dc6e22147be9b29b9dd8d30.jpg


Maybe one of that could be the one to activate it

Enviado desde mi MI 5s mediante Tapatalk
 
well i tried again with just the nail of my finger and it really seems to work.

developers do your work... its "just" a software issue now until we have 3d touch :)
 
Sorry but it isn't the build.prop file. I already made the comparision between my 64GB model and a 128GB file and they are equal.
 

Similar threads

Replies
704
Views
733K
  • Locked
  • Poll
MIUI 12.6 21.12.1
Replies
481
Views
207K
  • Locked
  • Poll
MIUI 12.6 21.11.24/25
Replies
299
Views
156K
  • Locked
  • Poll
MIUI 12.6 21.11.17
Replies
279
Views
122K
  • Locked
  • Poll
MIUI 12.6 21.11.3
Replies
330
Views
129K