aboutsummaryrefslogtreecommitdiff
path: root/shinano.mk
AgeCommit message (Collapse)Author
2021-04-07shinano-common: rootdir: Introduce a service to start suntroldArian
* suntrold is a oneshot service and spawns a subprocess which is required for the rear camera. Since [1] oneshot services' process groups are killed which prevents suntrold from working correctly. * To work this issue around create a non-oneshot service, suntrold.sh, which never exits, so that suntrold can be started from it and it's subprocesses will not be killed. [1] https://github.com/aosp-mirror/platform_system_core/commit/d89ed132a0ee1a57046286b83e64a35b71774952 [Idea of this is from LuK1337] Co-authored-by: LuK1337 <priv.luk@gmail.com> Change-Id: Id9c4f56648168f0ffe19b2bb31c591750afe6f97
2021-04-05shinano-common: Kill legacy keystoreBruno Martins
Legacy credential hash support was obsolete and got removed completely. From now on all the devices need to rely on gatekeeper, which in case of legacy devices should be the software implementation. This fixes setting a lockscreen PIN/password/pattern. Ref: https://android.googlesource.com/platform/frameworks/base/+/a758727c963948ae07e97c977a63b882216e8971 Change-Id: I020d1807db13b73f9990ac3704eadba49b65ee5c
2020-12-21shinano-common: Cleanup sepolicyArian
Change-Id: If615758376413b16fcc80addd03a9ba5cd388e8a
2020-12-19shinano-common: Remove tfa9890_ampArian
* This is unused since we use the stock Audio HAL Change-Id: I05c9a6119f55f4ba2550a4b336eb6a61350a7f1d
2020-12-18shinano-common: Import touch halGeorg Veichtlbauer
* from z3c, used by all shinano devices Squashed with: commit 5a3f9869745be6c5ded604810df7145e47db8858 Author: Arian <arian.kulmer@web.de> Date: Fri Dec 18 11:22:16 2020 +0100 shinano-common: touch: Fix formatting of Android.bp make blueprint_tools && bpfix device/sony/shinano-common/touch/Android.bp Change-Id: I33a0b2e03bde6278c6dec52f384e3f2f277019e0 commit 80d2c076a48d0f128d915cdf3c65a994f9914a90 Author: Arian <arian.kulmer@web.de> Date: Fri Dec 18 11:24:14 2020 +0100 shinano-common: touch: Move the manifest entry to vintf_fragments Change-Id: I590da80b5c1e7d6729d67b78e55164d33fa7d95b commit d76bab75f874ec15ec42dfaef036ea0476e6f3ec Author: Arian <arian.kulmer@web.de> Date: Fri Dec 18 11:31:02 2020 +0100 shinano-common: touch: clang-format Change-Id: I2e018de4544e4189336207902466e0e821673a5a Change-Id: Idf3e21f5530e40931b5f730dcf6fb2db851e9fb8
2020-07-30shinano-common: Ship stock audio HALArian
Change-Id: I17136742a4dcc58834e921146fc1da8aa41f903c
2020-03-16shinano-common: Import and bind mount loader config for media swcodecWang Han
* This config needs to be modified for legacy devices. As there is no easy way to split it, import it into device tree and bind mount it instead. * Head at android-10.0.0_r2 (3ac371484399da6efbd0c835aa461d3326263ab1). Change-Id: I8d5003d7cd3a471c569844aede4b5ea4c68ae36b
2020-02-07shinano-common: Kill wait4tad_staticArian
Change-Id: I5ae7f5db25bd44b64a014cb1cefc40065851ac43
2019-10-25shinano-common: Build nfc_nci.msm8974Arian
Change-Id: I3d5ace9ad0661e89b00741e92190a88dd04272b4
2019-10-25shinano-common: Build android.hardware.nfc@1.0-implArian
Change-Id: I755d490db1f15e827301f17a71aef8fcce784bb0
2019-10-25shinano-common: Set shipping API level via inherited makefileRashed Abdel-Tawab
* PRODUCT_SHIPPING_API_LEVEL is set there Change-Id: I8adecfbaafb538277f6451a5dbc8abc279bf0c15
2019-10-25shinano-common: Move GPS to msm8974-commonArian
2019-10-25shinano-common: Clean up shinano.mkarian
* reorder alphabetically * remove Filesystem management tools since the are in /build now * drop charger_res_images which is included by default now
2019-10-25Revert "shinano: Move idd to proprietary sony rc"Arian
This reverts commit 398f6cc16d50754a0d5b6bc1a7235c5766c076b6.
2019-10-25shinano-common: Remove init.platform-common.rcArian
* Glove mode should be set from the touch HAL * Move TFA9890 AMP and Double tap to wake to init.qcom.rc
2019-10-25shinano-common: use /vendor for /system/vendorDemon Singur
The /vendor symlink is available as soon as /system is mounted, just use /vendor. Change-Id: I2e92ed2abe225f1366cac418b13763bb5617f704
2019-10-25shinano-common: Convert ramdisk files to modulesArian
2019-10-25shinano-common: Restructure rootdir folderArian
2019-10-25shinano-common: Clean shims upArian
* Move common TARGET_LD_SHIM_LIBS to msm8974-common * Drop libsonycamera, simply replace the permission sed -i "s|com.sonyericsson.permission.CAMERA_EXTENDED|android.permission.CAMERA\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0|g" \ lib/hw/camera.vendor.qcom.so
2019-10-25shinano-common: Update proprietary-files.txt for Android 9Arian
* Radio blobs taken from SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_legacy.zip * NFC HAL from 8.1.0 Change-Id: Ic73bc81077cbd53cc1398b91d1a278de7e505988
2019-10-25shinano-common: Add wait4tad_staticArian
2019-10-25shinano-common: Move system.prop to system_prop.mkarian
2019-10-25shinano-common: nfc: use prebuilt hal from 15.1jrior001
Change-Id: I03a252ff820d5bd8dde8faac5fa293242aaef1f2
2019-10-25shinano-common: move bluetooth impl from msm8974-common115ek
* rhine also uses msm8974-common but has got problems with bluetooth impl so we move it to shinano-only Change-Id: I49302f246a2aa9f5b1c83883a661807396b21010
2019-10-25shinano: vendor: Move device specific system configs into /vendor/etcMax Weffers
Change-Id: I5779e67d305fa7720460f836ad30249147049ea3
2019-10-25shinano: media: Create media_profiles_V1_0.xmlPawin Vongmasa
media_profiles_V1_0.xml is created from media_profiles.xml by replacing the dtd schema inside media_profiles.xml with an external reference to /system/etc/media_profiles_V1_0.dtd. Test: Compiles Bug: 36430270 From: Pawin Vongmasa <pawin@google.com> Date: Wed May 03 22:42:57 2017 -0700 Remove the property media.settings.xml. This CL also removes media_profiles.xml as it should be replaced by media_profiles_V1_0.xml. Bug: 36430270 Merged-In: I4299abfde44ced36560736520d0be592894d00a7 Change-Id: I4299abfde44ced36560736520d0be592894d00a7 Merged-In: I2bdd38bc8e85cdb64c4729a6ebc843f5031c127c Change-Id: I2bdd38bc8e85cdb64c4729a6ebc843f5031c127c Signed-off-by: Chippa-a <vusal1372@gmail.com> Signed-off-by: Adrian DC <radian.dc@gmail.com>
2019-10-25shinano: Move NFC treble service from commonSpiritCroc
Change-Id: I915f6cee8ba8356eb2ea888f42f22eacd0ae3a0b
2019-10-07shinano: Move shell scripts to system/vendor.Alexander Diewald
* Scripts use the /system/vendor/bin/sh shebang now. * Move shell scripts from system/etc to vendor/system/bin. * Adjust init files. Change-Id: Ib0b9eb59305425b415e2681e7943f9ebfa6480d4 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com> Signed-off-by: Arian <arian.kulmer@web.de>
2019-10-07shinano: move sec_configs to vendor/etcMax Weffers
Change-Id: If43560ba59f25a84cf7f76eeba1de203d0e6dc70
2019-10-07shinano: move audio configs and sensor init to vendorMax Weffers
Change-Id: Id5c596337788c329e274c5fb7db6eefa7fbb87d1
2019-10-07shinano: move BT/FM (Broadcom) Config from shinano.mk to boardconfigMax Weffers
Change-Id: Idbc1b1a8501647a4b525beacd7f1455a74473f35
2019-10-07shinano-common: build: Add compass permissionnailyk-fr
Change-Id: I3156a524132d9f1459874998aa0d4eeff2e562ca Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2019-10-07shinano: Rework qcom.power initKeita Espinoza
- Boot phone in interactive mode instead of performance - Add TWRP config Squashed with: shinano-common: init: Add back init.recovery * Add back init.recovery to copy file with the real name instead of copy/rename at the same operation. * Import init.qcom.power from init.recovery to allow mitigation on recovery. * Create bootdevice symlink as lot of zip use it. Rework qcom.power init change ID: Change-Id: I647c09e430bc3904ff526ed662191e7d3b833e0b
2019-10-07shinano: Import changes for oreo driver and new fm repoMax Weffers
Change-Id: Ib587c34352d86550253e3f9f49c7a3ed7c25ff78
2019-10-07shinano-common: force to load nfc_nci.pn54x.default instead of nfc_nci.defaultMax Weffers
Change-Id: I55ac94b9b9c0319cfa5dceeab8580472aee2534e
2019-10-07shinano-common: Add missing BT permissionMax Weffers
Change-Id: I01cd402147cf099344761217ddc51957c78a1e06
2019-10-07shinano: bluetooth: add the libbt-vendor packageMax Weffers
Change-Id: I7360723cd0b47b4bebf380f8e668141442e41c0f
2019-10-07shinano: disable ANT+ for nowtomascus
Change-Id: I20806ab335a62b5b76c74d5dd0e9abb5d025fb47
2019-10-07shinano-common: move some more common shims to msm8974-commonNikhil Punathil
Change-Id: I7fc609323254b5e164440444293fa4f23aad929b Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
2019-10-07shinano-common: Import media_profiles.xml from commonOndrej Hlavac
Change-Id: Icb72a78ce2f8b39d39ffad1ee5409247d997636b Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
2019-10-07shinano-common: Use XML audio policy configuration fileBruno Martins
* Switch to audio_policy_configuration.xml instead of using the legacy audio_policy.conf. Change-Id: Ia93e30428ff9e27ae409e685a84fa5a8e406bca0
2019-08-20shinano-common: Move audio configs to vendorMax Weffers
Change-Id: I8bd31d203972d50eb72a550be85000a23cca41a0
2019-08-20shinano-common: Commonize audio policy againArian
2017-09-27Squashed revert of audio commonization commits.Chirayu Desai
Audio is not common across devices. While Some commits here may have merit, they can be applied individually to devices as needed. Revert "shinano: Address audio issues with mixer_paths" This reverts commit 43bf32dfe9300bd31ffd85a9a9627db195c4e9c1. Revert "shinano: Change mixer_paths BT rate strings" This reverts commit 67a8e4fbfaf0f4b5407b3d1e18fb59b6cfb0c109. Revert "shinano: Add back 44100Hz sampling rate output" This reverts commit 67b31a38b3da1eac29a75b111713626bb8888874. Revert "shinano: Fix audio config imports" This reverts commit cea382b9724df46622c4d6a79171c9ae325e3902. Revert "shinano: Make audio configurations shinano common" This reverts commit 80d01abbc98a2e4ab0376146ccca4763029b0030. Change-Id: I018e74d5130fca99962fd3aa20b037e2f3bb1fbb
2017-08-23shinano-common: remove libwvm shimSteven Lay
* With the introduction of kipper widevine blobs, a shim for libwvm is no longer necessary Change-Id: I82c44e74dcdbb88e50536ca23c64fe2927b5f1eb
2017-08-23shinano-common: readd tad_statictomascus
* Moved from vendor repos * Also remove the associated product_packages copying Change-Id: I28a906e0bd0c08bba20d22d25122f99bd84669a8
2017-07-30shinano: Rework qcom.power initKeita Espinoza
- Boot phone in interactive mode instead of performance - Add TWRP config Change-Id: I647c09e430bc3904ff526ed662191e7d3b833e0b
2017-07-19shinano: Move idd to proprietary sony rcKeita Espinoza
Change-Id: I63c28db08b4a21c071a93e1b459071d253560f92
2017-07-07shinano-common: revert CPUQuiet infrastructureSteven Lay
As we are returning to MPDecision. * Restore MPDecision service * Remove CPUQuiet related ueventd rules * Remove RQBalance configuration file * Interactive CPUFreq settings based on Bacon Change-Id: If6cf04841083be2f3ded50c4f20d600f0c74d339
2017-07-01shinano: Fix audio config importsKeita Espinoza
Change-Id: Ie95c5aada831d0cde896ea9e9505bee444bb4e14
2017-07-01shinano: Rename init.device-commonxkeita
Rename it to reflect that the init is platform specific (i.e: shinano, rhine, etc). Change-Id: Ic12bedb317ebce2757c307a4de3dbc8f693f5a31
2017-07-01shinano: Make audio configurations shinano commonxkeita
Devices from this platform use the same audio configurations, by making them common we can simplify maintenance. Change-Id: I22c99e0afd8d3bdc944b54c8ada58c9b1f4dfdc0
2017-06-28shinano-common: prop: Enable Assertive Displayxkeita
Change-Id: I53f0ca1e1afc86bf8adc9de89d8a17fc4ebadb5b
2017-06-28shinano-common: inherit bcmdhd firmwareSteven Lay
Needed for new bcmdhd driver changes in kernel Redundant config line can also be removed Change-Id: I64636fe90dde2efb1b24867ee6ca790e161a8a66
2017-06-25shinano: init: Fix init.device-common importxkeita
Change-Id: I04a4d171ef95dc43c6fc59f6ee2075b827ec6c4d
2017-06-25shinano-common: Remove QC Locationxkeita
Change-Id: I6fccaea15e0bc59a5b386805b5e75457b1a83fb2
2017-06-24shinano-common: camera: Enable sonycamera proprietary capabilitiesxkeita
Sony camera blobs are encrypted, so they need com.sonyericsson.permission.CAMERA_EXTENDED permission from original camera to be present in apk to enable Sony custom options (4k video, iso settings, etc) camera.qcom.so checks if this permission is available in current camera app but it can be bypassed when "ro.build.type=eng" thus enabling Sony camera options. The point of this shim is to make camera.qcom.so believe that we're currently on an engineering android rom so it bypasses the permission check allowing camera apps to have full capabilities. ----------------------------------------------------------------------- Credits to Balázs Triszka from sony-kitakami Change-Id: I14ef800608c7ed7a95921dd71a56702ed2d68b18 ----------------------------------------------------------------------- Change-Id: I2052aa30fbd30a730ea7b9c60b98f35f99314a51
2017-06-14shinano-common: prop: Update shinano-common propsxkeita
- Removed props that are shared with msm8974-common - Removed deprecated/unused props - Added qcom cne prop for broadcom wifi board Change-Id: I8c338833456604e59d66f4a1ead6600fe5139f35
2017-06-11shinano-common: audio: Change Audio HAL rulesnailyk-fr
- Import stock rules Change-Id: I801cf8fbf4b2c356bce5dae86077d3f2633aba89
2017-06-10shinano-common: media: move codecs configurationOndrej Hlavac
as it was removed from common Change-Id: I7aa29ebde5b188df170b51b3a48b00eddbdd6dcf
2017-05-31Migrate to new RQBalance-PowerHAL's XML configurationAngelo G. Del Regno
The new RQBalance-PowerHAL deprecates configuration through Android properties. Now the configuration is parsed from an XML, located at /system/etc/rqbalance_config.xml. Change-Id: Iebc85a4f420e9b471139063a03a3831f95be5e28
2017-05-20shinano-common: prop: Change audio settingsnailyk-fr
* Enable fluence: Fixes Stereo audio recording and in-call low mic sensitivity * Add HFP and BLE declarations for Bluetooth Audio. * Removed Voicecomm since it's not used by CAF8974 audio hal. Change-Id: Ic1f02216da27ec87c739a9cd3b54cc46f63c02b7
2017-05-10shinano: audio: Fix audio.deep_buffer.media typoxkeita
We measure this item in true/false Change-Id: Ie306ee3ff19ea64e176c2b29e9a4102430c29cc3
2017-05-10shinano-common: build: Update NFC dependenciesnailyk-fr
-Remove unused Tag Viewer app. -Declare that shinano platform nfc supports Mifare Classic tags Change-Id: I2b357321b3fe0c4da0ea89461182fb81dcea07ea
2017-04-27shinano: prop: Enable HDMI OutputMax Weffers
Change-Id: I55ee6c9fccaab9d098c2fe63cea44d1cdac96596
2017-03-31shinano-common: use dee buffer for media streamingtunturn
* Applications that use AudioTrack java interface for audio rendering defaults to primary output as flags indicated as FLAG_NONE. If the primary output is low latency output, it results higher power consumption than deep-buffer path if used. Description from https://android.googlesource.com/platform/frameworks/av/+/439e4ed Change-Id: I8294ab9cb81a36c9f97a51f6041918299be7cf87
2017-03-27shinano-common: ril: Add /etc/data into device treenailyk-fr
Change-Id: I6832b287ae28e634b68abdcc31970e4520203291
2017-03-27Enable fluence voicecomm propMax Weffers
2017-03-27shinano-common: vendor: Camera initnailyk-fr
Change-Id: I0b85560bb56beee0d21751fe55587c2de4b8ff00
2017-03-27Build and use macaddrsetupChirayu Desai
Change-Id: I6f81296829673f66bcb27f444945b9bddd54929c This fixes random mac adress at boot
2017-03-14shinano-common: update GPS propertiestunturn
Change-Id: I7de068db839d1b8f8fd5091bd942f5fcd25ecd15
2017-03-14shinano-common: changes to bringup broadcom FM Radio/Bluetoothtunturn
Change-Id: I633357fa8a04cf178fdee3e4471d20d5432eb230
2017-03-14shinano-common: copy init.qcom-sensor.shtunturn
Needed for sensor init Change-Id: I61a323a6c9b08946b5be243ce660e1dc12882266
2017-02-22Revert "shinano-common: vendor: Inherit AOSP BCM4339 Firmware"tunturn
Not working. This reverts commit f9f42b49b63d2ca376fb7b7f3d55519459edb661.
2017-02-22Move "HAL1 camera hacks" to msm8974-commontunturn
This reverts commit b2ecfd2db4a5a752ea70085db34d885d6561d8ed.
2017-02-21shinano-common: vendor: Inherit AOSP BCM4339 FirmwareSteven Lay
Following: https://github.com/sonyxperiadev/device-sony-castor_windy/commit/3902de53cccaec64cb73dc6442aba7ef5b8bbd88
2017-02-21shinano-common: build: Move memory inherits to devicenailyk-fr
2017-02-21shinano-common: shim: Add getdtablesize for idddnailyk-fr
* iddd is missing getdtablesize. This function return 1024 Change-Id: I402c8671366a250d4b6982c27e681bbce552b4f6
2017-02-21shinano-common: shim: bsd_signalnailyk-fr
Change-Id: I4110bf8953024f7777e11880849184cbd9b526fb shinano-common: Shim bsd_signal: build as shared Change-Id: Iba94a11082aa47890b3835bcd63b98f41fd3599d
2017-02-21shinano-common: build: Enable HAL1 camera hackstomascus
Change-Id: I5a831ff94bcd4db79098ad9a2d05d053acc95f52
2017-02-21shinano-common: init: Separate camera servicesnailyk-fr
* Use a separated file for camera and camera dependencies Change-Id: Id8cb2242b1dffacf427dffe2dbe63628a5d2462f shinano-common: Correct typo in "Split init.qcom.rc" Change-Id: I4f2ab062af09a49c6091942ff6157838040f65d8
2017-02-21shinano-common: shim: Add MediaBufferGroupnailyk-fr
* Add shim for MediaBufferGroup workaround * Blobs have probably be built before this commit: https://github.com/LineageOS/android_frameworks_av/commit/e9a5b96e7927fd4e38623e17ac73e8e4e25877ee which cause libwvm.so not starting due to missing symbol ZN7android16MediaBufferGroupC1Ev Change-Id: I490a2d599c01cd7d8db937d3a9d6eceffaf6a7e6
2017-02-21shinano-common: vendor: Move tad_static to vendor/nailyk-fr
* Remove intree binary Change-Id: I24bc5f552d57c4634b7d74af956f87baccb8c8ab
2017-01-30remove com.android.future.usb.accessoryGiulio Cervera
it's now included in core_minimal Change-Id: Ie743f0441ac29e1e7ef47f59aaf3243f2497eb02
2017-01-30Remove persist.sys.usb.config overrideGiulio Cervera
The variable persist.sys.usb.config is no longer honored by the framework, and it's presence causes unnecessary toggling of the USB driver, which disconnects ADB and makes the device's connection unstable. Delete it. Change-Id: I90210bc1849e81ecd404f3589f1bf17ba9a3dd4d
2017-01-30shinano-common: Cleanup for source-built Sony initAdrianDC
* Delete all init.sh related sources Change-Id: I8235a3d66912a4051b653a6a312965dcaddeb9d2 Signed-off-by: AdrianDC <radian.dc@gmail.com>
2015-09-17shinano: move io scheduler to commonGiulio Cervera
Change-Id: I052ef2ad4bba8c6af8ac1608e515ed99a256b27c
2015-09-14shinano: Use the new power modes configurationGiulio Cervera
Change-Id: I20039b485b2b92c40cdca5d79524a58671b1cea3
2015-05-25shinano: init: create common usb.rcDavid Viteri
Following AOSP https://github.com/sonyxperiadev/device-sony-shinano/blob/master/rootdir/init.shinano.usb.rc Change-Id: I2cf6613e0aa887755da8061a3a7fea7b08b4b946 Signed-off-by: David Viteri <davidteri91@gmail.com>
2015-05-12Build the tfa amp helperChirayu Desai
* This got left out in 899b01eea912bae4d31ae9d0181018de41990f61, leading to incosistent speaker behaviour. Change-Id: Icd7ddd9e60c34eb685223fa04e23e05d64356ca0
2015-04-24shinano-common: Stop using prebuilt audioEthan Chen
* Add custom audio backends using audio_platform_info * Match stock devices and ACDB IDs * Specify MULTISESSION_VOICE for calls * Specify LOW_LATENCY as primary output Change-Id: I9d6927ab98c70ab71a181c656253f64491219470
2015-04-13remove mdp propGiulio Cervera
Change-Id: I891f6e474fc123152cdde5f9458c37c97a26b7cd
2015-03-22audio: Switch back to proprietary HALChirayu Desai
* The open source HAL works perfect for media, but in-call audio is wonky. * Because let's rather have the phone part of our smartphones work perfectly. Change-Id: I581f2a6210115d0bdf64c44373a1bf29effeb9e8
2015-02-14shinano-common: remove languages-full.mkBrinly Taylor
* languages_full.mk is inherited by locales_full.mk which is inherited by full_base.mk Change-Id: I02f264e2c8ea87d30e660d4bb95911d2641c1441
2015-02-06remove deprecated qc rng stuffGiulio Cervera
Change-Id: I0158ed676787eb77f0b93da4bf8d8770b2220aaa
2015-02-06remove useless propertyGiulio Cervera
Change-Id: I7dd3842c32fc1c8a64b68856e0804d058011176e
2015-02-02Misc CleanupChirayu Desai
* We have a broadcom chip. Change-Id: I7223373b11abe15d98e8e8bb36a07ff56374fa2c
2015-01-25use opensource healthdGiulio Cervera
Change-Id: I0f8c39218a8e75d1cfdccb921929a053bc5111c4
2015-01-16keylayout: fix typodavid
Change-Id: I16fc75c015442ff3623c70b9283e0495958a72e9
2015-01-16shinano: move keylayout files from vendordavid
Remove Deprecated definitions in lollipop (WAKE & WAKE_DROPPED) Fix camera button to take photos Fix Headphones comands Change-Id: I4a9408393ead108766bf8edccc1295d0d258961b