3
0
Commit Graph

343 Commits

Author SHA1 Message Date
Wolfgang Wiedmeyer
375710464d
camera: fine-tune parameters
Speeds up the preview and makes video recording possible in case the
proprietary mfc firmware is in place.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-02-10 23:18:38 +01:00
Wolfgang Wiedmeyer
ef2a5420a7
releasetools: fix standalone recovery
Boot and recovery are already regenerated in sign_target_files_apks,
so the scripts galaxys2_img_from_target_files and
galaxys2_ota_from_target_files have no effect.
This fork of sign_target_files_apks makes sure that the standalone
recovery is rebuilt with the new ramdisk and that boot image from $OUT
is used untouched.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-01-29 20:16:12 +01:00
Dominggoes Isakh
c70556438d galaxys2-common: Camera: Exit thread properly when focus fails
Change-Id: I7e0aff34ed5b1f727ce02a5a46351e4e9a1c1f4d
2017-01-13 19:31:29 +01:00
Paul Kocialkowski
37c8664812 Standalone recovery kernel build
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-11 00:14:55 +01:00
Wolfgang Wiedmeyer
24bf4db81b
Audio-RIL-Interface: implement mic_mute
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-01-10 22:18:33 +01:00
Wolfgang Wiedmeyer
564cb0a1b8
selinux: give rild the necessary permissions
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-01-10 22:15:22 +01:00
Jookia
735df82261 Remove all GPS code.
Currently gpswrapper causes a crash when booting, so for now remove it. But
since we're removing that, remove the rest of it while we're at it. If people
want to use the GPS, they can revert this commit.
2017-01-10 11:33:05 +01:00
Wolfgang Wiedmeyer
24de677463
Don't expect the existence of the blob repo
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-01-10 11:09:59 +01:00
Jookia
640eb97c43 Remove unused proprietary RIL wrapping code. 2017-01-10 10:58:57 +01:00
Paul Kocialkowski
9b6470665a Home key to select item in recovery
Cherry-picked!
2017-01-10 10:57:56 +01:00
Paul Kocialkowski
7bf07b5b39 Audio-RIL-Interface: Keep up with libsrs-client
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-10 10:55:32 +01:00
Paul Kocialkowski
edb07659ae camera: RGB565 preview format
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-10 10:48:54 +01:00
Paul Kocialkowski
7bd9be819b Yamaha-MC1N2-Audio target path and device
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-10 10:47:47 +01:00
Paul Kocialkowski
2647ccb842 tinyalsa-audio belongs in hardware/tinyalsa-audio
Cherry-picked!
2017-01-10 10:46:45 +01:00
Paul Kocialkowski
aa9dc1a5ac Audio-RIL-Interface
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-10 10:43:49 +01:00
Paul Kocialkowski
371536a490 Samsung-RIL
Cherry-picked!
Conflict: "initial L bringup" adds rmnet0,rmnet1 to interfaces, leave it.
2017-01-10 10:42:40 +01:00
Paul Kocialkowski
cc887fc861 Bluetooth firmware patch file chip name
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-10 10:38:14 +01:00
Paul Kocialkowski
163ef38a6a WiFi and bluetooth firmwares paths
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-10 10:37:57 +01:00
Paul Kocialkowski
46f5cb89d6 Avoid proprietary libfimc
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-10 10:36:39 +01:00
Paul Kocialkowski
c43ee4d0c4 SoftwareGL
Cherry-picked!
Note: Not sure what extra config to remove, so just remove EGL_* for now.
2017-01-10 10:34:09 +01:00
Arnab Chaudhuri
db66d93fea galaxys2-common: Enable sending and receiving Mms when mobile data
is disabled.

Change-Id: I88aa2d69f7cceb58a0dd048f50bf4db99465ecf0
2016-07-12 00:16:51 +05:30
rINanDO
b7fa70df69 galaxys2-common: Camera: HAL improvements and fixes
* Improve start/stop video recording lag
* Force recording-hint in focus-mode continuous video
* Fix auto-focus in video recording
* Fix preview issues
* Fix switching focus-modes during recording
* Fix crash when taking pictures rapidly
* Fix crash when switching camera-/video-mode rapidly
* Add all supported video recording-sizes for back-camera

Change-Id: I810e8b7c14245bb47001094eb51ba4b4bb8ddb47
2016-07-10 10:45:36 -07:00
Andrei Măceș
03471a035a Use 2 zRAM compression streams (now that our driver can)
Change-Id: Ic8d2093e89fb6fbbefc985c33bb3180886553195
2016-07-02 18:48:58 -07:00
Caio Schnepper
4dc57270d8 galaxys2-common: Cleanup unused flags
Change-Id: I7583b6183ebe4bdfd4009b1910afb8967ea863c2
2016-07-01 17:38:54 -07:00
Ziyan
3a44be3ded init: increase read-ahead value to 256 kb
Apps and database file sizes have increased in recent Android versions,
which makes it practical to increase our read-ahead value from 128 kb.

General user experience seem to have improved a bit.

Change-Id: I5d0e367ecdd562599d7f6c93149aa68738987d6d
2016-07-01 21:36:37 -03:00
Caio Schnepper
fb4b3cc9c3 galaxys2-common: Address SELinux denials
Change-Id: I1072412370389554d7893ca38d62fd66aa331d48
2016-05-13 11:32:09 -07:00
Caio Schnepper
255e5dd84b galaxys2-common: Update proprietary file list
Change-Id: If4a16b58aa9ae63ff3b4cd807e137f0cf6af692b
2016-05-13 11:30:06 -07:00
rINanDO
fa1f8ab808 galaxys2-common: Camera: Fix front camera issues.
Since this commit b47a1c5b2a the front camera
doesn't work anymore because the SceneMode-property is NULL.

Change-Id: I84ad5c0c0e67a98963a7515ed9973d8f8997eebc
2016-05-01 20:08:14 +02:00
Lanchon
5ecdb14422 galaxys2-common: build an IsoRec-style recovery.img
...instead of building a duplicate of boot.img.
The make target is the standard 'recoveryimage'.
Thanks to arnab who originated the idea.

Change-Id: Ibbe996db97bc043033de645166d23ce4c19dc06b
2016-04-08 15:13:17 -03:00
Caio Schnepper
f94f7a8e0b galaxys2-common: Remove low latency audio
The sound stutter too much with it

Change-Id: If1633e7e7de18f6dd2d9a34165c8c71a563bef45
2016-03-24 19:49:30 -07:00
rINanDO
9a33a71267 galaxys2-common: enable auto power modes
* We don't have a significant motion sensor, so device
  idle detection will be disabled[1]

* Enabling this will allow app standby to be enabled, so there's
  no harm in doing it.

[1]: 10c07f778a/services/core/java/com/android/server/DeviceIdleController.java (L1435)

Change-Id: I9e9c17f3714ab0b4ce590d99ab82deb3070ea5ed
2016-03-20 17:37:21 +01:00
Simon Shields
e8efd4ccc5 galaxys2-common: commonize AdvancedDisplay [2/3]
Change-Id: Icd5dd4c74abc9c9219209c1f8bc514949b3a2922
2016-03-18 23:55:20 +11:00
Arnab Chaudhuri
2415f7d812 galaxys2-common: Optimize f2fs performance
Change-Id: I427216627b0291900a0c43c8135837978c720397
2016-03-06 18:48:04 -08:00
Michael Bestas
59ba9ce0c3 Automatic translation import
Change-Id: I3c77a67f30aaee02fe7803ab7e062d6bd81f88aa
2016-03-05 00:15:00 +02:00
Arnab Chaudhuri
86f63903f9 galaxys2-common: Add f2fs filesystem support
Change-Id: I593fe2057a057e7fcf73a6158df7646ad1a9bceb
2016-02-23 11:10:42 -08:00
Michael Bestas
4319094e44 Automatic translation import
Change-Id: I403bee6bae7cef4df332508b7b1b6b0e3737920b
2016-02-22 05:11:09 +02:00
rINanDO
c7b66067af galaxys2-common: Allow flashlight to use wakelock
Change-Id: I2b5084f6541e855f43587b1bd6709577fe942bff
2016-02-14 20:57:55 +01:00
Michael Bestas
feb112a35f Automatic translation import
Change-Id: I28acf27207f839d5f0a52d952e0b257fe8a35a49
2016-02-14 16:22:29 +02:00
Caio Schnepper
691144d5a6 galaxys2-common: Fix macloader SELinux denial
Change-Id: I4a18462429c662d3377f48f8b0c9c669159bea63
2016-02-04 09:29:41 -02:00
Caio Schnepper
20a3e661ad galaxys2-common: Clean up radio acess families
Change-Id: I802d1a57c6ea01898d3fae758662cf629543f3df
2016-02-04 08:04:19 -02:00
Simon Shields
0645c2e2ac galaxys2-common: fake GET_RADIO_CAPABILITY response
Samsung's RIL doesn't support this, but doesn't error on it either.

Change-Id: I5a470c55fecf85183e9c7b4b37aef3b3cbffaf90
2016-02-04 08:03:00 -02:00
Caio Schnepper
ebb9e69395 galaxys2-common: Bring SamsungExynos4RIL inline with framework
Change-Id: I667527ec7868f07421f6c48ed8a8b004ed48e8b8
2016-02-04 08:00:58 -02:00
Caio Schnepper
d9436af729 galaxys2-common: Fix MTP permission
Change-Id: Ic01264d19eb965088fd7ed92425db1e418599eea
2016-02-02 16:03:43 -08:00
Michael Bestas
05a4073cf3 Automatic translation import
Change-Id: Ifd9c9ab17a021729c57c158135c50abbb4ee8241
2016-02-02 09:25:23 -08:00
Caio Schnepper
9d8af42a22 galaxys2-common: Init cleanup
The bugreport and mdnsd services are duplicated

Change-Id: I1f87beb8846db1f7e1bf2cf96460487e19b140b7
2016-02-02 09:01:17 -02:00
Caio Schnepper
7ec9e5c0c0 galaxys2-common: Fix MTP USB node
Change-Id: I5eabaa5ad8b73eba43bfc82ae756fbb8961e15e2
2016-02-02 08:40:32 -02:00
Caio Schnepper
85ba1e8745 galaxys2-common: Move ro.vold.primary_physical to system.prop
The recovery can't read it here

Change-Id: Ie6224661a88dd059a21f0eb91e556df237c55340
2016-02-01 11:08:24 -08:00
Caio Schnepper
53789b340c galaxys2-common: Marshmallow SELinux support
This was made from scratch, for a general cleanup of unused policies
and update to M guidelines

Change-Id: Id4acda2b384d28b5ca51b3ef0f6e93b648c8e79d
2016-01-31 12:21:13 -08:00
Caio Schnepper
8bb93abd28 galaxys2-common: Fix physical internal storage
Change-Id: Idd13347fa901f72451bbd3d72fc59c86e6a99b8d
2016-01-31 12:13:59 -08:00
Michael Bestas
8579ee3fe4 Automatic translation import
Change-Id: I7dfd476d3e38c74d9eca98acb86352f66e45b42e
2016-01-25 19:37:18 +02:00