Commit Graph

87 Commits

Author SHA1 Message Date
Gabriele M c00b7bf30d peregrine: Decommonize WCNSS NV binary
This partially reverts f7d832b9a4.

Change-Id: Ifea98f61a85821c5e252dc29d948388335c8a099
2016-02-15 12:18:15 +01:00
Luca Stefani f7d832b9a4 peregrine: move WCNSS bin to msm8226-common
Change-Id: I1e0c20bcc4ed6b927b746b12fcb386d7385132f7
2016-02-12 14:25:26 -08:00
Matthias Yzusqui cf98fd43bf peregrine: configs: Add initial incall recording values
Change-Id: I5608eb7bc6d53f6c08c9a164f93b0acc944ffa2f
2016-02-12 03:33:05 -08:00
Gabriele M 459b3cd19a Revert "peregrine: Add button jack keylayout"
The values reported by the kernel are not correct, so ignore them.

This reverts commit 019e9814b3.

Change-Id: I101fd1087a38f14b667a2e35a90a8562d45fd976
2016-02-12 03:11:01 -08:00
Gabriele M 7fc0ec50f5 peregrine: Snap: Disable ZSL
If ZSL is enabled, the HAL might automatically force a lower fps
(depending on the current resolution). This causes problems if the
normal fps range is not restored before changing configuration
(e.g. changing resolution, enabling HDR, switching to video mode).
When this happens, the sensor gets stuck at low fps, the preview
becomes dark and an invalid fps preview range might get selected,
leading to a crash. Disable ZSL to prevent all these issues.

Change-Id: I0b00dd65a1ff88547d39874ec1c60fb9263335f7
2016-01-20 15:30:42 -08:00
LuK1337 bde67e31fb peregrine: Exclude unsupported HFR modes
Change-Id: I998d63fe26c5e64f80ce6ee4c2de4662389d4b6f
2016-01-15 00:41:38 +01:00
LuK1337 b3fad2f8ad peregrine: Rename camera HAL to be wrappable
Change-Id: Ia4ea0448a21fe1f0a3223e437e4f594c24d3d634
2016-01-10 14:48:01 -05:00
Gabriele M 019e9814b3 peregrine: Add button jack keylayout
Change-Id: I766fc6ccf6763285a11704661436b52fa82336e2
2015-12-30 14:07:06 +01:00
Gabriele M c8c05b12e8 peregrine: Partially switch to L camera blobs
Using titan blobs didn't work well, so partially switch to L blobs.
This fixes the issues with the camera such as poor performance in
low light conditions and broken exposure settings.

Change-Id: Ic04d2c8db52fcf391a4cd677ea8a827488e6d790
2015-12-27 02:14:43 +01:00
Gabriele M 57f681c249 peregrine: Switch to open source sensors HAL
Change-Id: Ibf3660cff2e5396030396a141519853a21bcf02d
2015-12-24 09:43:00 -08:00
Gabriele M d54f4b68ec Revert "peregrine: Add radio assert"
CDMA works just fine.

This reverts commit d6efd1070c.

Change-Id: I47688f470e6ad4e68bdcafedf8439f5695300c4d
2015-12-22 20:57:59 +01:00
Luca Stefani d6efd1070c peregrine: Add radio assert
* Don't allow installation on CDMA variants

Change-Id: I44bf51509ae4d6e407d4507789df577a82904f14
2015-11-29 13:19:42 -08:00
LuK1337 3d16bd85c9 peregrine: Commonize fstab
* It makes no sense to have it device common in M

Change-Id: I9ca95a0495fb12f9e454712655fda29bad1b7725
2015-11-24 14:36:59 -05:00
Luca Stefani 92ea255af8 peregrine: configs: Update mixer_paths.xml
Change-Id: I3a4d1910e81da02f62162f12ff7ebe3b406bf2d3
2015-11-23 15:57:23 -08:00
luca020400 83b95a9a4d peregrine: Commonize camera blobs
Change-Id: I02760c25ee0520219674a7d272142f1f06622149
2015-11-23 15:42:30 -08:00
JP Abgrall 9228f31890 peregrine: fstab: zram0 does not need trimming
Bug: 19624276
Change-Id: I768d91860a7a17d651258bcdb05b154adb68293c
2015-11-20 19:22:08 +01:00
LuK1337 d737396c1b peregrine: Specify supported radio capacities
Our radio don't support RIL_REQUEST_GET_RADIO_CAPABILITY thus
we can't select non "GSM only" mode on msim variants.

Change-Id: I9622cc78b53876d6e8d29f6809fffc81c9a1a6ec
2015-11-06 16:23:39 +01:00
LuK1337 bb540bd080 peregrine: init: Don't set ro.product.name property
We can't override this prop.
[   10.203433,3] init: property_set("ro.product.name", "thea_retgb") failed

Change-Id: I46928ecbd799a8a17e011ae77364254cfb14b1b4
2015-11-03 22:58:54 +01:00
myzb 46977b1077 peregrine: correct initial mixer path for compress-voip-call
Swapping out PRI_MI2S_TX_Voip for SLIM_0_TX_Voip was forgotten in
commit: 519a08ad3d14b0add5b6baf2e74cf9f630642b48.

Change-Id: I4df2b215042abb8f20bb6ab1836c8990cca7e6ee
(cherry picked from commit affd6bbb1a59b070c46586a55a29c9c4aae430b0)
2015-11-03 13:05:23 -08:00
Luca Stefani 0bade9c37e peregrine: remove custom mkbootimg
Change-Id: If558923c528eff6fd51a9f9f11cdacb7a8e946e3
2015-11-02 12:38:08 -08:00
Jeff Sharkey 0691554ef0 peregrine: Updated external storage configuration.
vold now manages external storage in a much more dynamic fashion,
so we no longer need to define FUSE daemons or mount points.

Bug: 19993667
Change-Id: If1ff24c62ee394afb02e223508aa5d768a3d041e
2015-10-29 13:35:07 -07:00
Luca Stefani 4eee70b6c2 peregrine: add recovery image size assert
Change-Id: I1db20d02989ded8d1051ba2d1c2c6b1a173a1030
2015-10-25 04:46:55 -07:00
Luca Stefani c16c8ea144 peregrine: fix recovery build
* After 8e0ac24 android_build

Change-Id: Ie467dd2937843dfc5d787b153b1d6dcf9b1f7027
2015-10-21 12:25:24 -07:00
LuK1337 0249dd823e peregrine: Build init as C++
Change-Id: I310a0a079caa49be56b7090f75db4a9129d49a80
2015-10-18 23:37:20 +02:00
Alberto97 2303cc2ba3 peregrine: Move props to the common device tree
* Rename LOCAL_PATH to DEVICE_PATH
 * Use $(DEVICE_PATH) instead of hardcoded path

Change-Id: I7d04b4c8dbd3fdd4e95f6a12586e62f09c4976fa
2015-09-09 23:09:44 +02:00
Dan Pasanen 0352921916 peregrine: Specify GMS client id
Change-Id: I1ddc93474789971d9f20c883ae5921f53451cdc8
2015-08-25 19:40:45 +02:00
Rabih Salamey 2e2e3cc68c peregrine: update wlan firmware
* package version : peregrine_retus-user 5.1 LPB23.13-37 37
   * fixes https://jira.cyanogenmod.org/browse/NIGHTLIES-1630
   * reprimands issues with regulatory domains

Change-Id: I21fae7241c77c514c7f92b2b22a4722d8eb82a6a
2015-08-15 18:31:38 -07:00
Rabih Salamey aec37db1f2 peregrine: update fingerprint per 5.1 ota
Change-Id: I4d9ee92a73cc7169cdeaced835c4137654651e0e
2015-07-27 03:04:03 -04:00
Brandon McAnsh 5c163d7e9f peregrine: Add device specific hooks to ramdisk
* peregrine has an external storage, while falcon who also shares the common ramdisk in msm8226-common, does not

Change-Id: I9c962445821f6d22bdfbf93f5a8e9142e649d5ce
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2015-07-25 01:07:11 +02:00
Rabih Salamey 50bd8f55e8 peregrine: correct incorrect bootloader version
Change-Id: Ib8a09da4a3018c222d333264122a542e78c1b93c
2015-07-21 12:49:09 -04:00
LuK1337 3a83fed13e peregrine: Add Bootloader Assert
With the new version, there was a modification to the modem layout.
Users on the older bootloader would have non-functioning radio in this case. Another issue would be the display flickering.

Add assert to alert user to update his bootloader (motoboot.img)

Change-Id: I73588865646da3a962fd98309ff5710cbdee085c
2015-07-21 08:15:43 -07:00
Chris Fries a9bf421a9f peregrine: fstab: Mark cache and userdata as "formattable"
Mark cache and userdata as formattable partitions, so that init/fs_mgr
format them during powerup if they are blank.

Change-Id: I6368a667d6535cf4258f616848a19ddc34a4fba6
2015-07-18 01:06:49 +02:00
Michael Stucki e8955fe189 peregrine: Remove non-existing mount option for F2FS
Change-Id: I9ed95b9371ab323f89ff6e75f0d68006c0fa37de
2015-07-05 00:15:29 +02:00
Ethan Chen bfb89c3f01 peregrine: Use correct frontend for compress-voip-call
Change-Id: Ida45e15e498daf1d71968873eb240baff0949678
2015-07-03 16:38:55 -07:00
Alberto97 5b41b634b4 Revert "peregrine: Build charge_only_mode"
This reverts commit 4984ef87cc.

Change-Id: I53fb82e7c34562fd38612ab0212689e9a3bc9506
2015-05-19 12:45:19 +02:00
luca020400 a44010f471 peregrine: move touchscreen firmware to device
Change-Id: I9a9f0c4cb839a27e398f7fe6f3c6a091830c1d9e
2015-05-04 10:34:56 +02:00
LuK1337 4984ef87cc peregrine: Build charge_only_mode
* It got disabled in msm8226-common due to problems on titan & thea

Change-Id: I320ab3ce4daea1b5265316505f9c36b95a936916
2015-05-03 23:27:23 +02:00
luca020400 dc181fcfaa peregrine: move rild.libargs prop to device
Change-Id: I3a183514e651dba9fbea14da49f1b636044a7166
2015-04-04 22:35:10 +02:00
luca020400 139a0d9633 peregrine: move props to msm8226-common
Change-Id: Ie603f81ea1b6654d7dd769b9b5f48725a7559d95
2015-04-04 17:36:47 +00:00
Konsta bbffbb08cc peregrine: Increase zRAM size
Increase zRAM size to 256mb.

Change-Id: Ibd7d5d38bc0cc75223e7857eec248a1f8243233b
2015-04-04 15:35:26 +00:00
LuK1337 8301e44e73 Revert "Peregrine: Move kernel config to device"
This reverts commit 693472a85f.

Change-Id: Ief74fcdfa691e7cc4825caf9bc3d424b4441bfb0
2015-03-14 22:01:11 +01:00
LuK1337 e52c4a5bee peregrine: move akmd daemon to device
Titan doesn't have akmd sensor so akmd daemon keeps starting and
that results in logcat spam & unnecessary memory/cpu usage.

Logcat:
I/AKMD2   (10705): AK8963 for Android v20111216(Library: v1.0.0.809)
started.
I/AKMD2   (10705): Debug: OFF
I/AKMD2   (10705): Debug level: 0
I/AKMD2   (10705): Output to: LOGD
E/AKMD2   (10705): AKD_InitDevice:54 open Error (No such file or directory).
I/AKMD2   (10705): AK8963/B for Android end (-2).

Change-Id: I1666e12905f7497eb317fa7e51f00468a2773488
2015-03-01 13:58:36 +00:00
Konsta 68829bcdb2 peregrine: Fix FM recording
* Add capture-fm path
* Add second instance for recording during A2DP playback

Change-Id: I799abb23e0eaf70f1af41837031539438b2e8a52
2015-02-28 16:13:29 +01:00
LuK1337 693472a85f Peregrine: Move kernel config to device
Titan doesn't use msm8226 common kernel so move config here.

Change-Id: Ib690c876715b40193034b209c6d495eb7c623088
2015-02-18 22:47:27 +01:00
LuK1337 bcc3c0195d peregrine: Move audio calibration files to device
Titan can't use falcon/peregrine ones so move them to devices instead.

Change-Id: I795fa89043019e73ae81e3aef986030e85afa110
2015-02-11 13:40:36 +00:00
Samir Mehta 3332fcbd60 peregrine: add extra padding for encryption
Provide 16K for footer region of data partition
   /data should have 16K data for the encryption footer.
   In "fstab.qcom" we specify this by adding
   "encryptable=footer" option for the /data parition.
   However after factory reset these paritions will
   be wiped out and mounted using the parition tables
   mentioned in "recovery.fstab".
   In this case the /data should again leave the 16K for
   the encryption footer. So "length=-16384" needs to be
   added for the /data parition for the encryption to
   work after factory reset is done. Similarly BoardConfig
   is changed for userdata partition by reducing it by
   16kb.

   Change-ID I188ee4ea959bb8eb791b9387fc6adf299ffdc498

Change-Id: I0d58b350e96f1c57190759e2cd8c71aec99efdf2
2015-02-01 20:47:25 +00:00
KingKaminari 379e34d1b5 peregrine: Fix reverse stereo on speakers/earphones
Change-Id: I3d5eddd38297142ced8a7fbcbe278a76de416b55
2015-01-27 04:59:21 +00:00
Konsta 0440b34afc peregrine: Increase camcorder mic volume
Volume level is so low camcorder is currently pretty
much useless.

Change-Id: Idbdec98a0484085c3a46a8ca5934aca64dc69580
2015-01-25 20:48:48 -06:00
LuK1337 182ba430e1 peregrine: Move camera files to device
Change-Id: I65ee8ebf48ad13bdaaca79b28561a2e9dd7dcc3f
2015-01-24 00:26:03 +00:00
LuK1337 e7ea7ce93e peregrine: Move mixer_paths.xml to device
Titan has to use own mixer_paths.xml (stereo speakers), so move mixer_paths.xml here.

Change-Id: I1622c3db4b76371675ce4ebdcba81e93af420f96
2015-01-23 16:08:52 -08:00