Commit Graph

169 Commits

Author SHA1 Message Date
Demon000
fdb59bd328 [BLOBS] sm6250-common: remove prebuilt light hal 2020-07-17 20:36:11 +03:00
Demon000
e97d9a61c8 [BLOBS] sm6250-common: update camera blobs 2020-07-17 18:37:49 +03:00
Demon000
c8c62af0fd sm6250-common: build libvolumelistener from source 2020-07-17 03:49:06 +03:00
Demon000
eb876032cb [BLOBS] sm6250-common: remove prebuilt libvolumelistener 2020-07-17 03:48:39 +03:00
Demon000
865a0a69b6 sm6250-common: audio: remove raw flag for audio pop 2020-07-17 03:42:59 +03:00
LuK1337
a44d3029b2 sm6250-common: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.

 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.

Change-Id: I1f029d7df9a306f411598b0cffc536409cb2ae95
2020-07-17 03:36:33 +03:00
Demon000
2d3d55dffd sm6250-common: import audio policy configuration
From
https://source.codeaurora.org/quic/la/platform/hardware/qcom/audio/plain/configs/atoll/audio_policy_configuration.xml?h=LA.UM.8.9.r1-09600-SM6xx.0.
2020-07-17 03:36:05 +03:00
Demon000
a6386dada9 [BLOBS] sm6250-common: remove prebuilt audio policy configuration 2020-07-16 22:08:34 +03:00
Demon000
e9365a682c sm6250-common: add display props 2020-07-16 18:27:33 +03:00
Demon000
72ff21d3d6 sm6250-common: add charging prop 2020-07-16 18:25:23 +03:00
Demon000
319da037d2 sm6250-common: update security patch 2020-07-16 18:20:28 +03:00
Demon000
631e684d93 [BLOBS] sm6250-common: remove readily available prebuilt targets 2020-07-16 03:16:27 +03:00
Cosmin Tanislav
94d6264c9f sm6250-common: rootdir: correct wlan module name
Change-Id: I5d23fcc2938d34faaaf8b3403a0e766637dcf822
2020-07-16 02:06:16 +02:00
Demon000
6bb8716037 sm6250-common: rootdir: refactor usb configuration 2020-07-16 02:19:31 +03:00
Demon000
9668da7df5 sm6250-common: rootdir: remove unused parts of vendor init scripts 2020-07-16 02:12:12 +03:00
Cosmin Tanislav
a270c01cc3 sm6250-common: rootdir: fix machine module name
Change-Id: I3b441bbb7312187124e001e971af9febb4a59c50
2020-07-15 22:13:11 +02:00
Cosmin Tanislav
bd3f1341e1 [DNM] sm6250-common: reserve 100MB on each dynamic partition
Change-Id: I7960bc6a365946924fcae90a61035d13af9ac9c4
2020-07-15 23:03:28 +03:00
Demon000
31a7722031 [DNM] sm6250-common: disable building with qcom hardware
Change-Id: I2d690949a43ee1170f1639827f732b691f792a9e
2020-07-15 23:03:28 +03:00
Demon000
6f175e568e [DNM] sm6250-common: disable audio HAL extension
Change-Id: I01c165a0251623580cd05ece8cc395629e16faf5
2020-07-15 23:03:28 +03:00
Demon000
f4100037a5 [DNM] sm6250-common: permissive selinux 2020-07-15 23:03:28 +03:00
Demon000
a7043a44bf sm6250-common: media: remove unsupported profiles 2020-07-15 23:03:28 +03:00
Demon000
628874031d sm6250-common: import media profiles 2020-07-15 23:03:28 +03:00
Demon000
1ba07c1914 sm6250-common: rootdir: fix audio module names 2020-07-15 23:03:28 +03:00
Demon000
91088f7df5 sm6250-common: rootdir: import vendor init scripts 2020-07-15 23:03:28 +03:00
Erfan Abdi
ac2d5035c4 sm6250-common: symlink logical partitions in recovery 2020-07-15 23:03:28 +03:00
Demon000
a1b7eaf9df sm6250-common: add recovery scripts
* wait for bootdevice
 * setup ADB
 * symlink logical partitions

Change-Id: I78bdab01eb24464ef9416f35ea8e3c50cfef7864
2020-07-15 23:03:28 +03:00
Demon000
54112478b6 sm6250-common: copy fstab to ramdisk and vendor 2020-07-15 23:03:28 +03:00
Demon000
884bcf7c15 sm6250-common: include AVB public keys 2020-07-15 23:03:28 +03:00
XiNGRZ
28cb6ac7c9 sm6250-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2020-07-15 23:03:28 +03:00
Demon000
95ce303f90 sm6250-common: rootdir: add /boot to fstab
Build process errors out without this.

Traceback (most recent call last):
  File "build/make/tools/releasetools/ota_from_target_files", line 2455, in <module>
    main(sys.argv[1:])
  File "build/make/tools/releasetools/ota_from_target_files", line 2429, in main
    output_file=args[1])
  File "build/make/tools/releasetools/ota_from_target_files", line 1103, in WriteFullOTAPackage
    common.CheckSize(boot_img.data, "boot.img", target_info)
  File "/home/aicp-dev/rom/lineage-17.1/build/make/tools/releasetools/common.py", line 1190, in CheckSize
    p = info_dict["fstab"][mount_point]
KeyError: '/boot'

Change-Id: I30a396ea62e6e48420c0dd41533c156e90032929
2020-07-15 23:03:28 +03:00
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