Commit Graph

77 Commits

Author SHA1 Message Date
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
Ethan Chen a333df9c77 peregrine: Label firmware partitions
Change-Id: I2129075636c36470366d0e27ae99fe2e73af9198
2014-12-22 18:59:12 -08:00
Rabih Salamey d92a35aae9 peregrine: Correct system partition size
In hex it comes out to 0x0000000045000000 which is more
than the value given.

Change-Id: If05cf9322fffd08ba1bffb55e5355c2ea9e9a899
2014-11-17 21:42:42 -05:00
Ethan Chen fb24e1f9fb peregrine: Mount firmware partitions
Change-Id: I76de046ea6b108249f2b5fdac147cf6d4d033e76
2014-10-31 13:14:28 -07:00
Ethan Chen 807a426c98 peregrine: Don't do online TRIM
* Android performs periodic TRIM anyway.

Change-Id: Ib2d46d567ddcd82f4b91387995f91cf4643ee98b
2014-10-31 13:14:28 -07:00
Rabih Salamey 06a391e801 Peregrine: Remove vfat restriction
* This locks out other formats from mounting
     * Better alternative for http://review.cyanogenmod.org/#/c/73412/
PS2: * Remove mistaken /external_sd entry
     * defaults instead of default

Change-Id: I3a00e1a8f548acb0ab61bdc382f9422bdc5bd981
2014-09-21 15:54:09 -04:00
martincz db239e68b7 peregrine: rename error kernel config name
fix build compile

Change-Id: I572dd558b75634698b5c872ab2604db704d53d1c
2014-09-19 18:44:04 +08:00
Rabih Salamey f1125f5bac peregrine: Rename defconfig
Change-Id: I5dd0ba8827c22df7a054513cb4d6eb9135192497
2014-09-16 21:30:50 +00:00
Ethan Chen 1211da466f Revert "peregrine: Remove ZRAM block entry"
This reverts commit 6c9d6eb8b8.

Change-Id: I1b73975afc3b767cf097043af1914d968bba0d8f
2014-09-12 11:16:16 -07:00
Ethan Chen 6c9d6eb8b8 peregrine: Remove ZRAM block entry
Change-Id: I700ee4ba3b7cbda7621f11d5eb48c34754c61de5
2014-09-11 00:03:15 -07:00
somcom3x d4ccf6a537 peregrine: commonize based on network type and fix uscc (xt1042) calling
*missing flags for usc
       *common gsm and cdma
PS2:   *credits to @shabbypenguin for fixing the roaming/numeric derp on my part.
PS3:   * update xt1045 fingerprint
Change-Id: I6cce00c8db9bd4609747babde591f180362d41fa
2014-08-24 02:14:22 -04:00