Commit Graph

1289 Commits

Author SHA1 Message Date
Demon000
5e27bd5e52 sm6250-common: use dynamic partitions
Change-Id: Iac89f608a7f8efa78da5200c68cb45ab2f439fd0
2020-07-15 23:03:28 +03:00
Demon000
547eb500af sm6250-common: make libplatformconfig a module
Change-Id: I116f4abbc1fce53465d0a124afa9be5e312690d0
2020-07-15 23:03:28 +03:00
Demon000
4840af74af [BLOBS] sm6250-common: add system and product permissions 2020-07-15 23:03:28 +03:00
Demon000
8fb554bc2a [BLOBS] sm6250-common: remove prebuilt vendor media profiles 2020-07-15 23:03:28 +03:00
Demon000
73dbb87c65 [BLOBS] sm6250-common: remove prebuilt init scripts 2020-07-15 23:03:28 +03:00
Demon000
95df602802 [BLOBS] sm6250-common: remove prebuilt modules 2020-07-15 23:03:28 +03:00
Demon000
3fb0022fb3 [BLOBS] sm6250-common: remove NOTICE zips 2020-07-15 23:03:28 +03:00
Demon000
a42a9fc854 [BLOBS] sm6250-common: remove prebuilt Wi-Fi symlinks 2020-07-15 23:03:28 +03:00
Demon000
3364ad23dd [BLOBS] sm6250-common: remove fstab 2020-07-15 23:03:28 +03:00
Demon000
ad7f939f7c sm6250-common: add system proprietary files 2020-07-15 23:03:28 +03:00
Demon000
d78f1025e1 sm6250-common: add initial proprietary files 2020-07-15 23:03:28 +03:00
Bruno Martins
9fa9e15a5d sm6250-common: Ship additional textclassifier's smart selection models
Change-Id: I4de9326fe60a395454834906552518afbc376f49
2020-07-15 23:03:28 +03:00
Demon000
e49eaee5fa sm6250-common: build telephony packages 2020-07-15 23:03:28 +03:00
Demon000
3237509657 sm6250-common: build RCS packages 2020-07-15 23:03:28 +03:00
Demon000
22328c7268 sm6250-common: build Snap package 2020-07-15 23:03:28 +03:00
Demon000
bbf1892498 sm6250-common: define system properties
Unused:
av.offload.enable=true
config.disable_rtt=true
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
media.aac_51_output_enabled=true
mm.enable.smoothstreaming=true
mmp.enable.3g2=true
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_plmn=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
persist.radio.apm_sim_not_pwdn=1
persist.mm.enable.prefetch=true
persist.fuse_sdcard=true
persist.debug.coresight.config=stm-events
persist.enable_task_snapshots=false
net.bt.name=Android
rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so # unused because we use vendor ril daemon
persist.rmnet.data.enable=true
persist.sys.force_sw_gles=1
persist.vendor.overlay.izat.optin=rro
persist.timed.enable=true
ro.hwui.drop_shadow_cache_size=6
ro.hwui.gradient_cache_size=1
ro.hwui.layer_cache_size=48
ro.hwui.path_cache_size=32
ro.hwui.r_buffer_cache_size=8
ro.hwui.text_large_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_small_cache_height=1024
ro.hwui.text_small_cache_width=1024
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.texture_cache_size=72
ro.hardware.wlan.chip=
ro.hardware.wlan.mimo=
ro.hardware.wlan.vendor=qcom
ro.nfc.port=I2C
tunnel.audio.encode = true
use.voice.path.for.pcm.voip=true
sys.qca1530=detect

Used on MIUI only:
persist.audio.button_jack.profile=volume
persist.audio.button_jack.switch=0
persist.backup.ntpServer="0.pool.ntp.org"
persist.camera.privapp.list=org.codeaurora.snapcam
persist.power.useautobrightadj=true
persist.miui.density_v2=440
persist.sar.mode.switch.on=true
persist.service.logd.enable=
persist.sys.df.extcolor.proc=0
persist.sys.mitalk.enable=true
persist.sys.timezone=Asia/Shanghai
persist.sys.watchdog_enhanced=true
persist.vendor.camera.privapp.list=org.codeaurora.snapcam
persist.vm.stackdump.threshold=0
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.elder-ringtone=Angel.mp3
ro.config.media_vol_default=10
ro.config.notification_sound=pixiedust.ogg
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.com.google.clientidbase=android-xiaomi
ro.com.google.ime.theme_file=xiaomi_theme_20171222.zip
ro.com.google.ime.themes_dir=/system/etc/gboard_theme
ro.colorpick_adjust=true
ro.malloc.impl=jemalloc
ro.mi.development=false
ro.miui.build.region=in
ro.miui.customized_clientid=2
ro.miui.has_handy_mode_sf=1
ro.miui.has_real_blur=1
ro.miui.pm.movedtodata.apps=com.google.android.apps.photos,com.google.android.apps.docs,com.google.android.music,com.google.android.videos,com.google.android.apps.tachyon
ro.miui.restrict_imei=1
ro.miui.ui.version.code=9
ro.miui.ui.version.name=V11
ro.miui.version.code_time=1578240000
ro.fota.oem=Xiaomi
ro.hardware.fp.sideCap=true
ro.rom.zone=2
ro.vendor.build.software.version=Android10_11
ro.wifi.channels=
ro.wlan.chip=wcn3991
ro.wlan.mimo=enable
ro.wlan.vendor=qcom
ro.vendor.df.effect.conflict=1
setupwizard.feature.baseline_setupwizard_enabled=true
sys.miui.shutdown.waittime=500
sys.paper_mode_max_level=255
sys.provision.mtd=
vendor.camera.aux.packagelist.ext=com.longcheertel.AutoTest
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.longcheertel.cit,com.xiaomi.cameratest,com.xiaomi.runin

Used but make no sense:
qcom.hw.aac.encoder=true
qemu.hw.mainkeys=0
ro.com.android.dataroaming=false
ro.com.android.mobiledata=false
ro.kernel.qemu.gles=0

Set from BoardConfig:
ro.sf.lcd_density=440

Set by build system:
ro.build.date.utc=1583773252
ro.build.date=Tue Mar 10 01:00:52 CST 2020
ro.build.flavor=qssi-user
ro.build.hardware.version=J6-1
ro.build.host=c5-miui-ota-bd15.bj
ro.build.id=QKQ1.191215.002
ro.build.keys=test-keys
ro.build.project=
ro.build.system_root_image=false
ro.build.tags=release-keys
ro.build.type=user
ro.build.user=builder
ro.build.version.all_codenames=REL
ro.build.version.base_os=
ro.build.version.bsp=0.0.1_191001
ro.build.version.codename=REL
ro.build.version.external=
ro.build.version.incremental=V11.0.4.0.QJWINXM
ro.build.version.internal=
ro.build.version.min_supported_target_sdk=23
ro.build.version.preview_sdk=0
ro.build.version.preview_sdk_fingerprint=REL
ro.build.version.release=10
ro.build.version.sdk=29
ro.build.version.security_patch=2020-02-01
ro.build.version.type=
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cuptsm=XIAOMI|ESE|02|01
ro.product.locale=en-GB
ro.product.manufacturer=Xiaomi
ro.product.mod_device=curtana_in_global
ro.product.mod_device=curtana_in_global
ro.product.property_source_order=odm,vendor,product,product_services,system
ro.product.system.brand=qti
ro.product.system.device=qssi
ro.product.system.manufacturer=Xiaomi
ro.product.system.model=qssi system image for arm64
ro.product.system.name=qssi
ro.system.build.date.utc=1583773252
ro.system.build.date=Tue Mar 10 01:00:52 CST 2020
ro.system.build.fingerprint=qti/qssi/qssi:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys
ro.system.build.id=QKQ1.191215.002
ro.system.build.tags=release-keys
ro.system.build.type=user
ro.system.build.version.incremental=V11.0.4.0.QJWINXM
ro.system.build.version.release=10
ro.system.build.version.sdk=29
ro.treble.enabled=true
2020-07-15 23:03:28 +03:00
Demon000
cd3781c8be sm6250-common: define vendor properties
Unused:
av.offload.enable=true
bt.max.hfpclient.connections=1
debug.egl.hw=0 # used to be surfaceflinger props in fw/base, (fw/native) but are since long gone
debug.mdpcomp.logs=0 # defaults to NULL if not set, having the same effect as '0
debug.sf.hw=0 # used to be used in gralloc, but not present in sm8150 display HAL
dev.pm.dyn_samplingrate=1
media.aac_51_output_enabled=true
mmp.enable.3g2=true
persist.debug.coresight.config=stm-events
persist.fuse_sdcard=true
persist.mm.enable.prefetch=true
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_plmn=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
persist.timed.enable=true
persist.vendor.max.brightness=455
persist.vendor.qcomsysd.enabled=1 # controls qcom-system-daemon start but qcom-systeam-daemon binary doesn't exist
qcom.hw.aac.encoder=true
rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so # unsed because we use vendor ril daemon
ro.hwui.drop_shadow_cache_size=6
ro.hwui.gradient_cache_size=1
ro.hwui.layer_cache_size=48
ro.hwui.path_cache_size=32
ro.hwui.r_buffer_cache_size=8
ro.hwui.text_large_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_small_cache_height=1024
ro.hwui.text_small_cache_width=1024
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.texture_cache_size=72
tunnel.audio.encode=true
use.voice.path.for.pcm.voip=true
sys.vendor.shutdown.waittime=500

Used on MIUI only:
persist.audio.button_jack.profile=volume
persist.audio.button_jack.switch=0
persist.backup.ntpServer=0.pool.ntp.org
persist.demo.hdmirotationlock=false
persist.sys.mcd_config_file=/system/etc/mcd_default.conf
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.ringtone=Ring_Synth_04.ogg
ro.vendor.audio.sos=true
ro.vendor.audio.voice.volume.boost=manual
sys.haptic.down.normal=2
sys.haptic.down.strong=5
sys.haptic.down.weak=0
sys.haptic.down=5,2
sys.haptic.flick.light=5,2
sys.haptic.flick=5,2
sys.haptic.hold=6,0
sys.haptic.long.press=0,1
sys.haptic.mesh.heavy=8,2
sys.haptic.mesh.light=5,1
sys.haptic.mesh.normal=8,2
sys.haptic.motor=linear
sys.haptic.pickup=0,2
sys.haptic.popup.light=6,1
sys.haptic.popup.normal=6,2
sys.haptic.runin=13
sys.haptic.scroll.edge=5,0
sys.haptic.switch=9,2
sys.haptic.tap.light=5,2
sys.haptic.tap.normal=3,2
sys.haptic.trigger.drawer=2,0
ro.miui.notch=1
ro.nfc.port=I2C
ro.qc.sdk.audio.ssr=false
ro.vendor.type=eSE,HCE,UICC
sys.qca1530=detect
sys.thermal.data.path=/data/vendor/thermal/

Used but make no sense:
qemu.hw.mainkeys=0
ro.carrier=unknown
ro.com.android.dataroaming=false
ro.kernel.qemu.gles=0

Set from BoardConfig:
ro.apex.updatable=true
ro.board.platform=atoll
ro.boot.dynamic_partitions=true

Set by build system:
ro.bootimage.build.date.utc=1583779344
ro.bootimage.build.date=Tue Mar 10 02:42:24 CST 2020
ro.bootimage.build.fingerprint=Redmi/curtana/curtana:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys
ro.hwui.use_vulkan=
ro.product.board=curtana
ro.product.first_api_level=29
ro.product.vendor.brand=Redmi
ro.product.vendor.device=curtana
ro.product.vendor.manufacturer=Xiaomi
ro.product.vendor.model=Redmi Note 9 Pro
ro.product.vendor.name=curtana
ro.vendor.build.date.utc=1583779344
ro.vendor.build.date=Tue Mar 10 02:42:24 CST 2020
ro.vendor.build.fingerprint=Redmi/curtana/curtana:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys
ro.vendor.build.id=QKQ1.191215.002
ro.vendor.build.security_patch=2020-02-01
ro.vendor.build.tags=release-keys
ro.vendor.build.type=user
ro.vendor.build.version.incremental=V11.0.4.0.QJWINXM
ro.vendor.build.version.release=10
ro.vendor.build.version.sdk=29
ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist64=arm64-v8a
ro.vendor.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi

Set from init:
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=512k
dalvik.vm.heapsize=36m
dalvik.vm.heapsize=512m
dalvik.vm.heapstartsize=8m
dalvik.vm.heaptargetutilization=0.75

Most of those are unused, some of them are set via BoardConfig rules.
2020-07-15 23:03:28 +03:00
Demon000
e002473989 sm6250-common: overlay: CarrierConfig: import configuration from stock 2020-07-15 23:03:28 +03:00
Demon000
8350b84214 sm6250-common: overlay: Bluetooth: import configuration from stock 2020-07-15 23:03:28 +03:00
Amruth Ramachandran
9c57868dfc sm6250-common: overlay: Enable IWLAN assisted mode
Add  qti.data.iwlan package
  Enable IWLAN HAL

Bug: 130182008
Test: WFC sanity
Change-Id: Icd8b0ff567df13b7efd3ce8fd7fc768c733ac489
2020-07-15 23:03:28 +03:00
Demon000
adc6dc7c54 sm6250-common: overlay: use /dev/input for jack changes detection 2020-07-15 23:03:28 +03:00
Demon000
0f88523462 sm6250-common: overlay: declare automatic brightness availability 2020-07-15 23:03:28 +03:00
Demon000
f7d8997048 sm6250-common: overlay: enable accelerated color transformations 2020-07-15 23:03:28 +03:00
Demon000
2e8f6a90ce sm6250-common: overlay: configure bluetooth power usage 2020-07-15 23:03:28 +03:00
Demon000
776680cec8 sm6250-common: overlay: support unprocessed audio sources 2020-07-15 23:03:28 +03:00
Demon000
5ab8e4473f sm6250-common: overlay: declare hotswap capability 2020-07-15 23:03:28 +03:00
Demon000
e9b808a352 sm6250-common: overlay: disable phone object update on registration state change 2020-07-15 23:03:28 +03:00
Demon000
e9df0999f5 sm6250-common: overlay: configure IMS 2020-07-15 23:03:28 +03:00
Demon000
7bcdcafeb4 sm6250-common: overlay: configure mobile tcp buffers 2020-07-15 23:03:28 +03:00
Demon000
3c193c1865 sm6250-common: overlay: decouple interactive mode from display 2020-07-15 23:03:28 +03:00
Demon000
07c1c93f5c sm6250-common: overlay: add radio attributes 2020-07-15 23:03:28 +03:00
Demon000
f8db2c82cc sm6250-common: overlay: add network attributes 2020-07-15 23:03:28 +03:00
Demon000
f5118566e7 sm6250-common: overlay: describe tetherable DHCP ranges 2020-07-15 23:03:28 +03:00
Demon000
e77120ccd6 sm6250-common: overlay: describe tetherable interfaces 2020-07-15 23:03:28 +03:00
Demon000
337ff0f7e1 sm6250-common: overlay: set MMS user agent 2020-07-15 23:03:28 +03:00
Demon000
54ab548b74 sm6250-common: overlay: add link for cell broadcast app 2020-07-15 23:03:28 +03:00
Demon000
a5fe4395dc sm6250-common: overlay: add wifi configs found on stock 2020-07-15 23:03:28 +03:00
Demon000
d714a6e0a9 sm6250-common: overlay: skip restoring network selection 2020-07-15 23:03:28 +03:00
Demon000
4fb4f9f4ad sm6250-common: overlay: enable software navigation bar 2020-07-15 23:03:28 +03:00
Danny Baumann
e61517093d sm6250-common: overlay-lineage: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2020-07-15 23:03:28 +03:00
Jesse Chan
c31a950156 sm6250-common: overlay-lineage: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2020-07-15 23:03:28 +03:00
Demon000
7647273bb7 sm6250-common: include overlays 2020-07-15 23:03:28 +03:00
Demon Singur
c9301eb92e sm6250-common: Build separate system and vendor HIDL libs
Change-Id: If8e2211e643bdb0ff67fb248e7fe33b78077a06e
2020-07-15 23:03:28 +03:00
dianlujitao
6eabb2c0dd sm6250-common: Build dummy android.hidl.[base,manager]@1.0
Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c
2020-07-15 23:03:28 +03:00
Demon000
9f82ee6b06 sm6250-common: slim up filesystem configuration
Remove deprecated symlink directories, and remove
services that are not present in our system or vendor.
2020-07-15 23:03:28 +03:00
David Ng
0d171a099e sm6250-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2020-07-15 23:03:28 +03:00
Demon000
e07fbb9738 sm6250-common: init: override dalvik heap config based on total RAM 2020-07-15 23:03:28 +03:00
Lokesh Gidra
149534d371 sm6250-common: Use 4GB dalvik-heap config
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2020-07-15 23:03:28 +03:00
Bruno Martins
5103f8908c sm6250-common: Define Soong namespace
Change-Id: Ibea0e8fe5dbc26d8953a9735f0b38cf087805b76
2020-07-15 23:03:28 +03:00
Jiyong Park
f3796a363a sm6250-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2020-07-15 23:03:28 +03:00