3
0
Commit Graph

322 Commits

Author SHA1 Message Date
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
Michael Bestas
c88866390f Automatic translation import
Change-Id: I40893d234d82f2ed6a672ca34853037574c405c8
2016-01-11 22:40:22 +02:00
Caio Schnepper
39b0764d80 galaxys2-common: Use synchronous setsurface
Fix screen flashing bug

Change-Id: Ie9622357bc24d6f8df7bba27d38e6d1e64a5ba72
2015-12-29 21:11:24 -08:00
Arnab Chaudhuri
2719b51abc galaxys2-common: Update Wi-Fi configuration
Change-Id: I83c0c08e06db8c9275047c9f4c7f6d8c87ec5a68
2015-12-29 21:10:16 -08:00
Michael Bestas
e7f0d2892a Automatic translation import
Change-Id: I6caa14cf3da20e2270eb51b83efb16f7be2ce894
2015-12-25 19:33:42 +02:00
Caio Schnepper
51b674be05 galaxys2-common: Use ril-wrapper to stop libsec-ril from crashing
Based off dmitry-ril for the Nexus S

Change-Id: I867118237062997c0459e0fb5749b128849f903c
2015-12-21 20:12:27 -08:00
Simon Shields
122bf26fef galaxys2-common: Use responseFailCause on REQUEST_LAST_CALL_FAIL_CAUSE
Fixes phone crashes when the call is disconnected from the other end

Change-Id: If6211af2d62ce9a6ee6879b67ae473b9fb9083d2
2015-12-21 20:11:18 -08:00
Caio Schnepper
ed1dbed2dd galaxys2-common: Disable ashmem tracking in parcels
Change-Id: I4195a2087cf1bde323f8467ada115903ea1f1897
2015-12-21 20:09:14 -08:00
Caio Schnepper
a8ebb9c8f5 Revert "shbootimg.mk: Fix recovery build"
No longer necessary

This reverts commit ffb71761f1.

Change-Id: I7af9863434f3d8a9732a5f31460dfc9c3cceb322
2015-12-21 20:08:44 -08:00
Caio Schnepper
d1a4c287e3 Fix typo
Change-Id: Icf78ba5b727314773c3f5b8cb10f75d630f23cbe
2015-12-21 20:08:17 -08:00
Caio Schnepper
95b9c8d2be galaxys2-common: Use LD_SHIM_LIBS to load libsamsung_symbols only for libril
Change-Id: I3c4884b300dddc5332560db144a06bd8585044ff
2015-12-05 10:44:07 -08:00
rogersb11
65b0134d71 Remove busybox static build
Change-Id: I05bada477996169814955459de457a614299c3c6
2015-12-03 10:36:52 -05:00
Caio Schnepper
dfdb12deb9 galaxys2-common: Set radio access families
Change-Id: I0ecc21257e6995b68089454a7d8bad68f01395e4
2015-11-27 15:17:00 -02:00
Arne Coucheron
59bc317680 galaxys2-common: Shim library for missing symbols in Samsung blobs
Change-Id: Ie67016ecdc5df7a18debd07bcb923886dcacb8a0
2015-11-26 23:42:03 -02:00
Caio Schnepper
bd53ac7fc1 galaxys2-common: Add BOARD_EGL_NEEDS_HANDLE_VALUE flag
Fix reboots on device wakeup

Change-Id: I9b18d6cba40a28a7949934cda2f8296bc1632530
2015-11-26 23:09:14 -02:00
Caio Schnepper
f498516ef8 galaxys2-common: Update SamsungExynos4RIL.java
Change-Id: Ic3c2fb885dc94682f2d3185eed7cc86737277379
2015-11-20 17:36:10 -02:00
Caio Schnepper
9485013fb0 galaxys2-common: Remove non-existent overlay
Change-Id: Ifcbb892284f01f4c143fa0b549aa5a8eb1b7a9c5
2015-11-20 17:21:49 -02:00
Caio Schnepper
a64c214d2b Revert "Add CM performance profiles"
This reverts commit f0a445c957.

Conflicts:
	overlay/frameworks/base/core/res/res/values/config.xml
	rootdir/init.smdk4210.rc

Change-Id: I863def65935849c46f04feda085b74e4ae758338
2015-11-20 17:21:05 -02:00
Caio Schnepper
5df889f687 galaxys2-common: Update external storage configuration
As explained in: https://source.android.com/devices/storage/config.html

Change-Id: I0f3b470413f3676302277f09563fd360d1486911
2015-11-17 06:54:33 -08:00
Nick Kralevich
139ef47e40 galaxys2-common: Remove persist.sys.usb.config override
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 disonnects ADB and makes the device's connection unstable.

Delete it.

Bug: 21404762
Bug: 18905620
Change-Id: I0666d2044a63c78232af8a1622bf3d01ed44b1ca
2015-11-17 06:53:01 -08:00
Caio Schnepper
fecc190038 galaxys2-common: Remove deprecated USB OTG property
Change-Id: I9a1f9c588b6d68996deec5dc9349b7fa8dc62e87
2015-11-17 06:52:19 -08:00
Caio Schnepper
d73283dc26 galaxys2-common: Update fstab.smdk4210
Change-Id: I4f5d53fcd05228745e915bd6df113400a83bc3d1
2015-11-15 23:25:57 -02:00