Akshat
529f68c1ce
PL2: Adapt to Evolution X 9.x
2024-05-28 11:41:08 +05:30
Nolen Johnson
c643fc5a63
PL2: Actually include firmware
...
Change-Id: I07ae71ac2ecd565a157a24a2596cb2d695fc11f0
2024-05-06 12:47:44 -04:00
Nolen Johnson
8be56c4d5b
PL2: Extract firmware
...
Change-Id: I7b6a35236feeed9b82e33d5a5f1cbdb359fa772c
2024-01-02 22:17:14 -05:00
Bruno Martins
94f5d6cc6c
PL2: overlay: Remove obsolete config_keyboardTapVibePattern
...
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-18 23:48:31 -05:00
Nolen Johnson
2fc342c20c
PL2: Use 2nd arch from common as well
...
Change-Id: Iaae7af9eff5d46ec10a7b6f6309bbfee9e348ccd
2023-11-27 23:17:26 -05:00
Nolen Johnson
9784a609ea
PL2: Remove nonsensical pin
...
Change-Id: I93cc3297f68187ee426145d7a0f31db2352958a4
2023-11-27 23:15:08 -05:00
Nolen Johnson
1e26ecae64
PL2: Use common generic arch variant
...
Change-Id: I5c07c98c0bd08cc642acd460c66b5b4454bc49c8
2023-11-27 23:12:16 -05:00
Nolen Johnson
c4338eda04
PL2: Cleanup proprietary-files source statement
...
Change-Id: I4794d3342122f95421fd3167a5a4ceac0d181d94
2023-11-27 23:12:16 -05:00
Nolen Johnson
9298d8373a
PL2: Sort makefile and organize
...
Change-Id: Ia1b6cd06dcd86670289506ae6dfc570c8dc6973b
2023-11-27 23:12:16 -05:00
Nolen Johnson
698eaf74f7
PL2: Use LOCAL_PATH where possible
...
Change-Id: Ic45766c529ecdad7552564dc93acccd2134fc9ad
2023-11-27 22:51:08 -05:00
Nolen Johnson
43c869b500
PL2: Commonize kernel defconfig
...
Change-Id: Ifb58d20892a8eda5a41b883fa6c2446f736a4b9a
2023-11-27 22:48:07 -05:00
Nolen Johnson
f89caef160
PL2: Use DEVICE_PATH where appropriate
...
Change-Id: I414a4f46e7f1afa7bebbdbeebdb8d417cb6225cc
2023-11-27 22:47:50 -05:00
Nolen Johnson
e22053606a
PL2: Rename core makefile from common
...
Change-Id: Ib6e81410ad9c41a473cd4498861710581c2423e9
2023-11-27 22:42:16 -05:00
Nolen Johnson
e3feb8920b
PL2: Drop unused forked hardware/samsung/nfc
...
* Been an AOSP repo for a while now.
Change-Id: Icd9d178ea93a9416eb509391462a1fd1e3973102
2023-11-08 18:07:30 -05:00
Georg Veichtlbauer
60384a7288
PL2: Remove unneeded NFC packages
...
* NfcNci and SecureElement are built by handheld_system.mk
Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2023-03-24 21:08:34 +01:00
Nolen Johnson
9aa4343622
PL2: Sort blobs list
...
Change-Id: I77ac78e96d86bbb08244d48d26171414063f9377
2022-11-03 11:44:27 -04:00
LuK1337
339d265bf4
PL2: Set a default Settings.Global.DEVICE_NAME
...
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2022-09-29 01:14:48 -04:00
Sal Savage
918c1f1795
PL2: Replace BTM_DEF_LOCAL_NAME with a sysprop
...
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2022-09-29 01:14:18 -04:00
Georg Veichtlbauer
5521d7b516
PL2: Move Bluetooth power config away from overlay
...
Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack
Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded
2022-09-29 01:13:28 -04:00
Bruno Martins
cb537a77b4
PL2: nfc: Tone down debugging
...
Change-Id: I1f0fa0fb4de456619df6cb28c99c6b53d524afba
2022-09-28 23:55:24 -04:00
Michael Bestas
cc567bfc97
PL2: Add board-info.txt
...
* Fixes flashall in fastbootd
Change-Id: Iae2f33113317cfaadeff7a3610463880077c35e0
2022-09-28 23:54:29 -04:00
Felix
243ad461a9
PL2: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
...
BOARD_SEPOLICY_DIRS is deprecated.
Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2022-03-23 20:02:43 -04:00
Sebastiano Barezzi
617318ac9a
PL2: Set screen density
...
Change-Id: I28f7c1eba1f7ebe97358542e1064eab0ad2514cc
2022-03-23 19:38:31 -04:00
Aayush Gupta
e740c19c2b
PL2: Fix battery capacity in power_profile
...
Apps relying on it (Franco kernel manager for e.g.) report wrong values otherwise
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I781241ae512f0b5fb45cba42f1c808dd32633622
2021-06-25 17:31:22 +00:00
Jan Altensen
09ff6a4cb2
PL2: remove nfc manifest entry
...
* its a vintf manifest fragment now
Change-Id: Ie81a0a3d7eb690fccb6987f16250d1c57cb1e8cd
2021-04-27 13:11:22 -04:00
Nolen Johnson
5bb7e59bc1
PL2: Update info to reflect 2021-04-01 security patch level
...
* To reflect Nokia/Plate2_00WW/PL2_sprout:10/QKQ1.190828.002/00WW_4_15O:user/release-keys.
Change-Id: I51110ca82822acf28c2efaf89858d2b45a86bd86
2021-04-25 17:04:54 +01:00
Aayush Gupta
4659f5f1d6
PL2: Import manifest entry for nfc
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: Ib4ced4469bea0f65de1c31694bf2efe31fdd5715
2021-04-24 06:41:23 +00:00
Aayush Gupta
1d4b0265f9
PL2: Update the samsung nfc service suffix in required files
...
We are now building it from source, update our init service entry as
well as sepolicy label
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I74f1b00f4d12e4238053dc20895e07797553944e
2021-04-24 06:32:05 +00:00
Jan Altensen
00bcfa8e20
PL2: build nfc hal from source
...
Change-Id: Ief7ef8f2a597b1a978ea4b0ec4e41391cec03a99
2021-04-24 05:14:39 +00:00
Bruno Martins
0c8791e801
PL2: Align with extraction-utils templates
...
Change-Id: Ifbf18f79a1d0f173cb5b83bdf0178db2a5f1373e
2021-01-03 11:42:50 -05:00
FUKAUMI Naoki
5d424e7e9f
PL2: Use qemu.sf.lcd_density instead of ro.sf.lcd_density.
...
'qemu.sf.lcd_density' overrides xdpi and ydpi informations from framebuffer.
It's better to (ab)use 'qemu.sf.lcd_density' instead of patching frameworks/base.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I6a80b7b5bfea45247263569370a93c4f79543cff
(cherry picked from commit 674cca945c3a7c3c4b33a0b02e957230e361a18c)
2020-12-16 06:36:54 +01:00
Aayush Gupta
632edfa531
PL2: Fallback to cortex-a53 as proper cpu-variant
...
dex2oat64 otherwise spams logcat due to mis-match between instruction sets
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I5a6d65cf6b507992bf456efbd8a59562b98ec6fb
2020-12-14 10:03:26 +05:30
Aayush Gupta
b16f759fda
PL2: Pin ACDB & camera stack proprietary-files
...
- These blobs are not shared across common-devices dump
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I8fe33fab005a0585862907147c3087e01cf77c8b
2020-10-27 09:53:42 +05:30
Aayush Gupta
72c838fc33
PL2: Import device-specific camera libs
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: Ic5f06e2e43fbbe1c837501b2141321cc70a94808
2020-10-27 09:53:34 +05:30
Aayush Gupta
a83049e275
PL2: Use complete inheritance hierarchy for NXP service override
...
host_init_verifier: device/nokia/PL2/rootdir/etc/init.PL2.target.rc: 17:
Interface 'android.hardware.nfc@1.2::INfc' requires its full inheritance hierarchy to be listed in this init_rc file. Missing interfaces: [android.hardware.nfc@1.0::INfc android.hardware.nfc@1.1::INfc]
host_init_verifier: Failed to parse init script 'device/nokia/PL2/rootdir/etc/init.PL2.target.rc' with 1 errors
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: Ia633f9f3de7e212ca25347fa09c4ccda004cd943
2020-10-17 14:44:01 -04:00
Aayush Gupta
339e42a4e4
PL2: Import TFA9891 firmware
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I1a0095687dd9e33bae9209c3394771b0c755e19d
2020-10-14 05:37:07 +00:00
Aayush Gupta
7bb01e308d
PL2: Import Focaltech firmware
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I2f9fb7749d9d8b8834dd2ef44927c73637c6a667
2020-10-14 05:20:31 +00:00
LuK1337
366a626fc3
PL2: sepolicy: Address nfc denials
...
Change-Id: I5651683a5ab187012f3da45344c248ad95093ca7
2020-10-12 11:52:26 -04:00
LuK1337
c3bdd2152a
PL2: sepolicy: Allow hal_nfc_default to find hal_secure_element_hwservice
...
Change-Id: I675061eb18495b22c717a0ce9efa0d62c290a656
2020-10-12 11:52:26 -04:00
LuK1337
c2e393e6b2
PL2: sepolicy: Allow NFC HAL to register vendor.nxp.nxpnfc
...
Change-Id: I15ce92f39bba9fd8e24649105bd850200b62f7ca
2020-10-12 11:52:11 -04:00
Aayush Gupta
e805495581
PL2: Drop non-required sec NFC blobs
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: Ie0461453f03678b98b900412b04b8076385666b9
2020-10-11 09:56:18 +00:00
Lokesh Gidra
2a8eaad77e
PL2: Use 4GB dalvik-heap config
...
We are currently using 2GB dalvik-heap config.
Bug: 145823510
Test: MPTS test
Change-Id: Ie26b8e4fefea25fa818bd1eaf9df4a0bb153d42d
2020-10-10 11:43:44 +00:00
Aayush Gupta
80729ce002
PL2: Set persist.radio.multisim.config as per available simslot
...
- PL2 has a model TA-1050 which has a single simslot
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I258b7f686c2cf431c2e9c265dcd39e2f2e582cb7
2020-10-09 04:35:53 +00:00
Aayush Gupta
fd2be85b1d
PL2: Allow nfc to access gpuservice
...
[ 1473.666910] type=1400 audit(1602013490.393:26): avc: denied { call } for comm="com.android.nfc" scontext=u:r:nfc:s0 tcontext=u:r:gpuservice:s0 tclass=binder permissive=0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: Ia564a04f85dcd0709c7e838e4fd2cad84d5e83d8
2020-10-08 08:38:22 +00:00
Aayush Gupta
3213c655a5
PL2: Allow hal_nfc_default to search nfc_vendor_data_file
...
[ 77.883303] type=1400 audit(1602012223.756:15): avc: denied { search } for comm="nfc@1.2-service" name="nfc" dev="mmcblk0p85" ino=778309 scontext=u:r:hal_nfc_default:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=dir permissive=0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: Icf414bd7c34fe9b318d684dac2b167717e53aad3
2020-10-08 08:35:30 +00:00
Aayush Gupta
e70827a1ea
PL2: Allow vendor_init to search required dir for restorecon
...
[ 77.883264] type=1400 audit(1602012220.709:14): avc: denied { search } for comm="init" name="fpdata" dev="mmcblk0p85" ino=770055 scontext=u:r:vendor_init:s0 tcontext=u:object_r:fingerprintd_data_file:s0 tclass=dir permissive=0 duplicate messages suppressed
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I2d85df038c9502d220299a5d35c31346c6424fd7
2020-10-08 08:33:37 +00:00
Nolen Johnson
635f471c26
PL2: sepolicy: Allow NFC data_vendor_file create_file_perms
...
[ 122.255232] type=1400 audit(1601962129.363:31): avc: denied { create } for comm=4173796E635461736B202331 name="nfaStorage.bin1" scontext=u:r:nfc:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=file permissive=1
[ 150.239587] type=1400 audit(1601962129.363:32): avc: denied { write open } for comm=4173796E635461736B202331 path="/data/vendor/nfc/nfaStorage.bin1" dev="mmcblk0p85" ino=787067 scontext=u:r:nfc:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=file permissive=1
Change-Id: I8d4005c6b339876a3a20cba9f9ca0102a647a5d7
2020-10-06 13:51:12 -04:00
codeworkx
e44512c65f
PL2: Allow nfc to write to nfc_vendor_data_file dirs
...
[ 122.255087] type=1400 audit(1601962129.363:28): avc: denied { search } for comm=4173796E635461736B202331 name="nfc" dev="mmcblk0p85" ino=786503 scontext=u:r:nfc:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=dir permissive=1
[ 122.255102] type=1400 audit(1601962129.363:29): avc: denied { write } for comm=4173796E635461736B202331 name="nfc" dev="mmcblk0p85" ino=786503 scontext=u:r:nfc:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=dir permissive=1
[ 122.255170] type=1400 audit(1601962129.363:30): avc: denied { add_name } for comm=4173796E635461736B202331 name="nfaStorage.bin1" scontext=u:r:nfc:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=dir permissive=1
Change-Id: I1e3097f884737db025ee3434d73e80a6e11f97c3
2020-10-06 13:51:11 -04:00
Aayush Gupta
4ed9be4b1c
PL2: Label and address NFC sec hal and its denials
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I1e1f62611ecd1bc090e4a9d87f4b0a86d1e83c2a
2020-10-06 13:51:11 -04:00
Aayush Gupta
e4e78b129a
PL2: Force restorecon on /data/system/users on boot complete
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
Change-Id: I84e8f8fc8765e5067b269493de3efd11215d8f5c
2020-10-06 13:51:11 -04:00