3
0
Commit Graph

38 Commits

Author SHA1 Message Date
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
Arnab Chaudhuri
2415f7d812 galaxys2-common: Optimize f2fs performance
Change-Id: I427216627b0291900a0c43c8135837978c720397
2016-03-06 18:48:04 -08:00
Arnab Chaudhuri
86f63903f9 galaxys2-common: Add f2fs filesystem support
Change-Id: I593fe2057a057e7fcf73a6158df7646ad1a9bceb
2016-02-23 11:10:42 -08:00
Caio Schnepper
d9436af729 galaxys2-common: Fix MTP permission
Change-Id: Ic01264d19eb965088fd7ed92425db1e418599eea
2016-02-02 16:03:43 -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
Arnab Chaudhuri
2719b51abc galaxys2-common: Update Wi-Fi configuration
Change-Id: I83c0c08e06db8c9275047c9f4c7f6d8c87ec5a68
2015-12-29 21:10:16 -08: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
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
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
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
Caio Schnepper
d73283dc26 galaxys2-common: Update fstab.smdk4210
Change-Id: I4f5d53fcd05228745e915bd6df113400a83bc3d1
2015-11-15 23:25:57 -02:00
Caio Schnepper
ac45a90199 galaxys2-common: Enable zRAM [1/2]
-zRAM size is set to 256mb, common and recommended value by OEMs
-Needs http://review.cyanogenmod.org/#/c/111997

Change-Id: I37a83d89774dc606269e8e211110fedd967041dc
2015-10-11 01:42:51 -03:00
Caio Schnepper
25d1995862 galaxys2-common: Cleanup common tree
- res/charger .pngs are not used anymore, we adopted aosp charging animation
- setprop ro.crypto.keyfile.userdata /efs/metadata is not used anymore,
crypto key is now at /data footer
- BOARD_USE_SAMSUNG_COLORFORMAT flag was duplicated

Change-Id: I1abc3b5d2a12027c4f461ea2d1ad21ba51e5c60e
2015-10-08 10:23:44 -07:00
Caio Schnepper
6a549eb6b6 Add USB charging config
Change-Id: I76c997990ef2ad6250ab0f0210ac37569898374c
2015-10-06 09:12:25 -03:00
Caio Schnepper
8e74055376 Move encryption key to footer
Fixes the "format_volume: failed to open /efs/metadata" error on recovery
while trying to wipe user data

Change-Id: Ic3f72d72fc34495ec05deffd8aa849bcfa65b29c
2015-10-05 12:24:47 -07:00
Caio Schnepper
f0a445c957 Add CM performance profiles
Change-Id: I9979c903d63d2638f12a0a5774fa2290d1181324
2015-09-03 15:25:15 -07:00
Caio Schnepper
ecc3d13410 galaxys2: initial L bringup
Change-Id: Ia356da8437917be3355eba59c1df3943bb33f905
2015-05-28 18:29:17 -03:00
Wolfram Liebchen
4f5202fba8 Correct the interface name of Bluetooth PAN.
Required for getting an IP address/gateway when acting as PAN client.

Change-Id: Ifa864e48d91c2dd3c82fa294a41c0fb074e51a76
2015-03-16 17:32:02 +00:00
Lanchon
8949b4e66c Remove DISCARD mount option from the /data fs
The DISCARD mount option should not be enabled in Android 4.3
and later for partitions that the OS trims automatically.
The presence of this option slows down the device.

Change-Id: Id61f64455190f5be6b12ee9027a996de66ec67a0
2015-03-10 18:08:55 +00:00
Evan Widger
0eba5c2c7d fix bugreport on i9100
Change-Id: I5c574bda492430e3cdfd428b6db0d6541d1eb4ad
2014-08-29 11:28:12 -07:00
Pavel Kirpichyov
93c54dc9b6 Fix sdcard mounting
Change-Id: I340c66636a5b85222b0e5bed7e476b5c4ba07625
2013-11-18 20:55:11 +04:00
Pavel Kirpichyov
67c83c3477 wifi: update {wpa,p2p}_supplicant services init
Change-Id: I9386392b90c1e9ad792a1a1f4145bd01f77cdd13
2013-11-13 18:22:16 +04:00
Daniel Hillenbrand
176325f6f5 galaxys2: recovery.rc cleanup, fstab cleanup
Change-Id: I38666e98f2536bdaf0721d1da6fccda3f9dd96ee
2013-08-24 16:55:25 +02:00
Daniel Hillenbrand
4ce796517d galaxys2: refine sepolicies
Change-Id: Ifa7e56537af87f14a59e5c9b5f254073eea22a8f
2013-08-11 18:12:03 +02:00
codeworkx
8fe2f3a21b galaxys2-common: hardware tunables: vibrator support
Change-Id: I429d8ea2edddaf353c3f24cbc26d58df0cb30e69
2013-08-10 17:16:39 +02:00
codeworkx
024854b51d galaxys2: recovery: use unified fstab
Change-Id: I82fbfa87a4e0c0dc4d1a6bbe94b99f91bb5e8fa3
2013-08-04 16:47:13 +02:00
Daniel Hillenbrand
15c65af03f Merge "galaxys2: fix ril" into cm-10.2 2013-07-27 21:35:36 +00:00
codeworkx
72f93ccda6 galaxys2: fix ril
blame samsung

Change-Id: I0f376f3264290c07992f18c480778bd128d0e7df
2013-07-28 01:34:59 +02:00
codeworkx
b59a56ec4e galaxys2: unified fstab
Change-Id: Ie4d0c977aa509914d0b6270b01f3b9661430309b
2013-07-28 00:43:54 +02:00
Daniel Hillenbrand
b6623a5227 galaxys2: set default mdnie scenario and mode on boot
Change-Id: Ib99b00b1dab576d8be19757e3b03206336c2ecdd
2013-05-25 21:56:57 +02:00
Daniel Hillenbrand
2804f22d31 galaxys2: switch to smdk4412 kernel
Change-Id: I9b4ee389937a6418bb9de79679324aae40a9a736
2013-05-25 11:03:58 +02:00
athurh
a0c67d8fdb mount preload partition at the end
preload is a useless partition and can be fotmatted as swap or other filesystem
different from ext4. In this case 'mount_all' will fail, leaving data unmounted

Change-Id: I37b81680f0e37590e6cd5142fa1950cd5ba90960
2013-03-11 23:56:05 +01:00
codeworkx
2806d8bfe0 galaxys2: update for new kernel, cleanup, replicant camera hal
Camera HAL from: http://gitorious.org/replicant/device_samsung_galaxys2

Change-Id: I4191110be5b3368c608333d724f4217894dab4ac
2013-02-17 20:28:22 +00:00