summaryrefslogtreecommitdiffstats
path: root/self-extractors
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2011-05-19 16:14:15 -0700
committerJean-Baptiste Queru <jbq@google.com>2011-05-24 16:00:12 -0700
commit9624ea43f9f34e62c9611b4ff134cff06c3156a7 (patch)
tree3cb53a0acdc4a8deaa10cfddcc192d645bb74132 /self-extractors
parent85b5333be9154e1fc97fdf787e9fd7abd5241242 (diff)
downloaddevice_samsung_crespo-9624ea43f9f34e62c9611b4ff134cff06c3156a7.zip
device_samsung_crespo-9624ea43f9f34e62c9611b4ff134cff06c3156a7.tar.gz
device_samsung_crespo-9624ea43f9f34e62c9611b4ff134cff06c3156a7.tar.bz2
Scripts to package the crespo binary archives.
Change-Id: Ib5d3c276815ae29bbe19f19c596c3f40b96bdaf7
Diffstat (limited to 'self-extractors')
-rw-r--r--self-extractors/PART112
-rw-r--r--self-extractors/PART222
-rw-r--r--self-extractors/PART312
-rw-r--r--self-extractors/PROLOGUE2
-rw-r--r--self-extractors/akm/COPYRIGHT1
-rw-r--r--self-extractors/akm/LICENSE1
-rw-r--r--self-extractors/akm/staging/BoardConfigCrespo.mk13
-rw-r--r--self-extractors/akm/staging/device-crespo.mk17
-rw-r--r--self-extractors/broadcom/COPYRIGHT1
-rw-r--r--self-extractors/broadcom/LICENSE218
-rw-r--r--self-extractors/broadcom/staging/BoardConfigCrespo.mk15
-rw-r--r--self-extractors/broadcom/staging/device-crespo.mk22
-rw-r--r--self-extractors/cypress/COPYRIGHT1
-rw-r--r--self-extractors/cypress/LICENSE1
-rw-r--r--self-extractors/cypress/staging/BoardConfigCrespo.mk13
-rw-r--r--self-extractors/cypress/staging/device-crespo.mk17
-rwxr-xr-xself-extractors/generate-packages.sh120
-rw-r--r--self-extractors/imgtec/COPYRIGHT1
-rw-r--r--self-extractors/imgtec/LICENSE218
-rw-r--r--self-extractors/imgtec/staging/BoardConfigCrespo.mk16
-rw-r--r--self-extractors/imgtec/staging/device-crespo.mk44
-rw-r--r--self-extractors/imgtec/staging/overlay/packages/apps/Launcher2/res/layout/all_apps.xml20
-rw-r--r--self-extractors/nxp/COPYRIGHT1
-rw-r--r--self-extractors/nxp/LICENSE218
-rw-r--r--self-extractors/nxp/staging/BoardConfigCrespo.mk13
-rw-r--r--self-extractors/nxp/staging/device-crespo.mk24
-rw-r--r--self-extractors/root/BoardConfigVendor.mk20
-rw-r--r--self-extractors/root/device-vendor.mk20
-rw-r--r--self-extractors/samsung/COPYRIGHT1
-rw-r--r--self-extractors/samsung/LICENSE225
-rw-r--r--self-extractors/samsung/staging/BoardConfigCrespo.mk19
-rw-r--r--self-extractors/samsung/staging/device-crespo.mk23
32 files changed, 1351 insertions, 0 deletions
diff --git a/self-extractors/PART1 b/self-extractors/PART1
new file mode 100644
index 0000000..935267e
--- /dev/null
+++ b/self-extractors/PART1
@@ -0,0 +1,12 @@
+#
+# Usage is subject to the enclosed license agreement
+
+echo
+echo The license for this software will now be displayed.
+echo You must agree to this license before using this software.
+echo
+echo -n Press Enter to view the license
+read dummy
+echo
+
+more << __EOF__
diff --git a/self-extractors/PART2 b/self-extractors/PART2
new file mode 100644
index 0000000..30e8d43
--- /dev/null
+++ b/self-extractors/PART2
@@ -0,0 +1,22 @@
+__EOF__
+
+if test $? != 0
+then
+ echo ERROR: Couldn\'t display license file 1>&2
+ exit 1
+fi
+
+echo
+
+echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\
+read typed
+
+if test "$typed" != I\ ACCEPT
+then
+ echo
+ echo You didn\'t accept the license. Extraction aborted.
+ exit 2
+fi
+
+echo
+
diff --git a/self-extractors/PART3 b/self-extractors/PART3
new file mode 100644
index 0000000..6847be5
--- /dev/null
+++ b/self-extractors/PART3
@@ -0,0 +1,12 @@
+
+if test $? != 0
+then
+ echo
+ echo ERROR: Couldn\'t extract files. 1>&2
+ exit 3
+else
+ echo
+ echo Files extracted successfully.
+fi
+exit 0
+
diff --git a/self-extractors/PROLOGUE b/self-extractors/PROLOGUE
new file mode 100644
index 0000000..c856ef1
--- /dev/null
+++ b/self-extractors/PROLOGUE
@@ -0,0 +1,2 @@
+#!/bin/bash
+#
diff --git a/self-extractors/akm/COPYRIGHT b/self-extractors/akm/COPYRIGHT
new file mode 100644
index 0000000..39c6ed1
--- /dev/null
+++ b/self-extractors/akm/COPYRIGHT
@@ -0,0 +1 @@
+# (C) AKM Semiconductor Inc. All Rights Reserved.
diff --git a/self-extractors/akm/LICENSE b/self-extractors/akm/LICENSE
new file mode 100644
index 0000000..e6a53b7
--- /dev/null
+++ b/self-extractors/akm/LICENSE
@@ -0,0 +1 @@
+AKM LICENSE SHOULD GO HERE
diff --git a/self-extractors/akm/staging/BoardConfigCrespo.mk b/self-extractors/akm/staging/BoardConfigCrespo.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/akm/staging/BoardConfigCrespo.mk
@@ -0,0 +1,13 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
diff --git a/self-extractors/akm/staging/device-crespo.mk b/self-extractors/akm/staging/device-crespo.mk
new file mode 100644
index 0000000..bb28e2b
--- /dev/null
+++ b/self-extractors/akm/staging/device-crespo.mk
@@ -0,0 +1,17 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# AKM blob necessary for crespo
+PRODUCT_COPY_FILES := \
+ vendor/akm/crespo/proprietary/libakm.so:system/vendor/lib/libakm.so
diff --git a/self-extractors/broadcom/COPYRIGHT b/self-extractors/broadcom/COPYRIGHT
new file mode 100644
index 0000000..bf44774
--- /dev/null
+++ b/self-extractors/broadcom/COPYRIGHT
@@ -0,0 +1 @@
+# (C) Broadcom Corporation
diff --git a/self-extractors/broadcom/LICENSE b/self-extractors/broadcom/LICENSE
new file mode 100644
index 0000000..321757f
--- /dev/null
+++ b/self-extractors/broadcom/LICENSE
@@ -0,0 +1,218 @@
+THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
+BINDING AGREEMENT BETWEEN BROADCOM CORPORATION ("LICENSOR") AND
+YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
+TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
+AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS. IF
+YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION PROCESS
+AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE SOFTWARE OR
+DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS SUBJECT TO THE
+TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE SOFTWARE IS INSTALLED
+ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL ENTITY, THEN YOU REPRESENT
+AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND SUCH ENTITY TO THE TERMS AND
+CONDITIONS OF THIS AGREEMENT.
+
+ 1. Special Definitions
+
+ a. The term "Android" means the open source mobile platform, software
+ stack, operating system, middleware, application programming
+ interfaces and mobile applications under the trade-name "Android"
+ distributed at Android.com.
+
+ b. The term "Android Applications" means a software application or
+ open-source contribution developed by You, designed to operate with
+ Android that does not contain or incorporate any of the Software.
+
+ c. The term "Authorized Android Enabled Device" means the device
+ identified on the site from which You downloaded the Software.
+ The term "Software" means the Licensor's proprietary software and
+ libraries in object code form, designed for use on the Authorized
+ Android Enabled Device.
+
+ d. The term "Authorized Android Enabled Device Software" means a
+ packaged build for Authorized Android Enabled Devices, consisting of
+ files suitable for installation on an Authorized Android Enabled
+ Device using a mechanism such as fastboot mode or recovery mode.
+
+ 2. License Grant
+
+ a. Subject to the terms of this Agreement, Licensor hereby grants to
+ You, free of charge, a non-exclusive, non-sublicensable,
+ non-transferable, limited license, during the term of this Agreement,
+ to download, install and use the Software internally in
+ machine-readable (i.e., object code) form and the Documentation for
+ non-commercial use on an Authorized Android Enabled Device and
+ non-commercial redistribution of the Authorized Android Enabled
+ Device Software (the “Limited Purpose”). You may grant your end users
+ the right to use the Software for the Limited Purpose. The license to
+ the Software granted to You hereunder is solely for the Limited
+ Purpose set forth in this section, and the Software shall not be used
+ for any other purpose.
+
+ 3. Restrictions
+
+ a. Retention of Rights. The entire right, title and interest in the
+ Software shall remain with Licensor and, unless specified in writing
+ hereunder, no rights are granted to any of the Software. Except for
+ the right to use the Software for the Limited Purpose, the delivery
+ of the Software to You does not convey to You any intellectual
+ property rights in the Software, including, but not limited to any
+ rights under any patent, trademark, copyright, or trade secret.
+ Neither the delivery of the Software to You nor any terms set forth
+ herein shall be construed to grant to You, either expressly, by
+ implication or by way of estoppel, any license under any patents or
+ other intellectual property rights covering or relating to any other
+ product or invention or any combination of the Software with any
+ other product. Any rights not expressly granted to You herein are
+ reserved by Licensor.
+
+ b. No Commercialization or Distribution of the Software and
+ Documentation. Except as expressly provided in Section 2 of this
+ Agreement, You shall have no right to (i) copy, disclose, distribute,
+ publically perform, publically display, transfer, alter, modify,
+ translate, disassemble, decompile, reverse engineer, or adapt the
+ Software and Documentation, or any portion thereof, or create any
+ derivative works based thereon; (ii) rent, lease, assign, sublicense,
+ resell, disclose or otherwise transfer the Software and Documentation
+ in whole or in part to any third party (iii) use the Software and
+ Documentation except for the Limited Purpose, (iv) remove or alter
+ any of the copyright or proprietary notices contained in any of the
+ Software and Documentation. For the purposes of clarity, nothing in
+ this Agreement prohibits You from making and distributing Android
+ Applications under commercial or non-commercial terms, provided that
+ You shall not contain, incorporate, and/or compile the Software or
+ any of its derivative works, in whole or in part, into Your Android
+ Applications and/or any software/devices created by You or by third
+ parties acting on Your behalf. You and any such third party shall
+ comply with all of the terms and conditions of this Agreement.
+
+ c. No Reverse Engineering. Except for any portions of the Software
+ provided to You in source code format and except for any third party
+ code distributed with the Software that is licensed under contrary
+ terms, You will not reverse engineer, disassemble,
+ decompile, or translate the Software, or otherwise attempt to derive
+ the source code version of the Software, except if and to the extent
+ expressly permitted under any applicable law.
+
+ d. Third Party Software. You agree that Android may contain third party
+ software. You agree that you may not distribute such third party
+ software for any purpose without appropriate licenses from the
+ applicable third party or parties.
+
+ e. No Transfer or Assignment. You shall not assign any of its rights or
+ obligations under this Agreement. Any attempted assignment in
+ contravention of this Section shall be void.
+
+ 4. Indemnity
+
+ a. You agree to indemnify and hold harmless Licensor and its officers,
+ directors, customers, employees and successors and assigns (each an
+ "Indemnified Party") against any and all claims, demands, causes of
+ action, losses, liabilities, damages, costs and expenses, incurred by
+ the Indemnified Party (including but not limited to costs of defense,
+ investigation and reasonable attorney's fees) arising out of,
+ resulting from or related to (i) any software, products,
+ documentation, content, materials or derivative works created or
+ developed by You using the Software which causes an infringement of
+ any patent, copyright, trademark, trade secret, or other property,
+ publicity or privacy rights of any third parties arising in any
+ jurisdiction anywhere in the world, (ii) the download, distribution,
+ installation, storage, execution, use or transfer of such software,
+ products, documentation, content, materials or derivative works by
+ any person or entity, and/or (iii) any breach of this Agreement by
+ You. If requested by an Indemnified Party, You agree to defend such
+ Indemnified Party in connection with any third party claims, demands,
+ or causes of action resulting from, arising out of or in connection
+ with any of the foregoing.
+
+ 5. Limitation of Liability
+
+ a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
+ CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
+ LICENSOR, ITS AFFILIATES AND/OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR
+ AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR
+ CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS
+ OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
+ INFORMATION AND THE LIKE) ARISING OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR ANY DOWNLOAD, INSTALLATION OR USE OF, OR INABILITY TO
+ USE, THE SOFTWARE, EVEN IF LICENSOR HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE
+ LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL
+ DAMAGES SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE
+ LIMITED. IN NO EVENT SHALL LICENSOR'S TOTAL AGGREGATE LIABILITY TO
+ YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF ACTIONS
+ (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE, INDEMNIFICATION OR
+ OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS (US$100). THE LIMITATIONS
+ SET FORTH IN THIS PARAGRAPH SHALL BE DEEMED TO APPLY TO THE MAXIMUM
+ EXTENT PERMITTED BY APPLICABLE LAW. THE PARTIES HAVE FULLY CONSIDERED
+ THE FOREGOING ALLOCATION OF RISK AND FIND IT REASONABLE, AND THAT THE
+ FOREGOING LIMITATIONS IN THIS PARAGRAPH ARE AN ESSENTIAL BASIS OF
+ THE BARGAIN BETWEEN THE PARTIES.
+
+ 6. No Warranty
+
+ a. LICENSOR MAKES NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE
+ SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS AGREEMENT, INCLUDING
+ BUT NOT LIMITED TO ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE OR AGAINST INFRINGEMENT, OR ANY EXPRESS OR IMPLIED
+ WARRANTY ARISING OUT OF TRADE USAGE OR OUT OF A COURSE OF DEALING OR
+ COURSE OF PERFORMANCE. NOTHING CONTAINED IN THIS AGREEMENT SHALL BE
+ CONSTRUED AS A WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE
+ VALIDITY OR SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL
+ PROPERTY RIGHT AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM
+ INFRINGEMENT OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY
+ RIGHTS OF OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO
+ MAKE SUCH DETERMINATION AS IS NECESSARY WITH RESPECT TO THE
+ ACQUISITION OF LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY
+ OF THIRD PARTIES. LICENSOR SHALL NOT HAVE ANY OBLIGATION TO PROVIDE
+ ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
+
+ 7. Term and Termination
+
+ a. This Agreement shall be effective on the date You accept this
+ Agreement and shall remain in effect until terminated as provided
+ herein. You may terminate the Agreement at any time by deleting and
+ destroying all copies of the Software and all related information in
+ Your possession or control. This Agreement terminates immediately and
+ automatically, with or without notice, if You fail to comply with any
+ provision hereof. Additionally, Licensor may at any time terminate
+ this Agreement, without cause, upon notice to You. Upon termination
+ You must delete or destroy all copies of the Software in Your
+ possession, and the license granted to You in this Agreement shall
+ terminate. Sections 3, 4, 5, 6 and 8 shall survive the termination of
+ this Agreement.
+
+ 8. Miscellaneous
+
+ a. Governing Law. This Agreement is governed and interpreted in
+ accordance with the laws of the State of California without giving
+ effect to its conflict of laws provisions. The United Nations
+ Convention on Contracts for the International Sale of Goods is
+ expressly disclaimed and shall not apply. Any claim arising out of or
+ related to this Agreement must be brought exclusively in a federal or
+ state court located in Santa Clara County, California and You consent
+ to the jurisdiction and venue of such courts.
+
+ b. Waiver and Severability. The failure of either party to require
+ performance by the other party of any provision of this Agreement
+ shall not affect the full right to require such performance at any
+ time thereafter; nor shall the waiver by either party of a breach of
+ any provision of this Agreement be taken or held to be a waiver of
+ the provision itself. Severability. If any provision of this
+ Agreement is unenforceable or invalid under any applicable law or is
+ so held by applicable court decision, such unenforceability or
+ invalidity shall not render this Agreement unenforceable or invalid
+ as a whole, and such provision shall be changed and interpreted so as
+ to best accomplish the objectives of such unenforceable or invalid
+ provision within the limits of applicable law or applicable court
+ decisions.
+
+ c. Amendment and Modification. This Agreement and any of its terms and
+ provisions may only be amended, modified, supplemented or waived in a
+ writing signed by both parties hereto.
+
+ d. Compliance with Laws. You shall comply with all applicable laws,
+ rules, and regulations in connection with its activities under this
+ Agreement.
+
+ e. Entire Agreement. This Agreement completely and exclusively states
+ the agreement between You and Licensor regarding this subject matter.
diff --git a/self-extractors/broadcom/staging/BoardConfigCrespo.mk b/self-extractors/broadcom/staging/BoardConfigCrespo.mk
new file mode 100644
index 0000000..870325e
--- /dev/null
+++ b/self-extractors/broadcom/staging/BoardConfigCrespo.mk
@@ -0,0 +1,15 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+BOARD_GPS_LIBRARIES := libgps
diff --git a/self-extractors/broadcom/staging/device-crespo.mk b/self-extractors/broadcom/staging/device-crespo.mk
new file mode 100644
index 0000000..fa3825e
--- /dev/null
+++ b/self-extractors/broadcom/staging/device-crespo.mk
@@ -0,0 +1,22 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Broadcom blobs necessary for crespo
+PRODUCT_COPY_FILES := \
+ vendor/broadcom/crespo/proprietary/gps.conf:system/etc/gps.conf \
+ vendor/broadcom/crespo/proprietary/gpsd:system/vendor/bin/gpsd \
+ vendor/broadcom/crespo/proprietary/gps.xml:system/vendor/etc/gps.xml \
+ vendor/broadcom/crespo/proprietary/bcm4329.hcd:system/vendor/firmware/bcm4329.hcd \
+ vendor/broadcom/crespo/proprietary/nvram_net.txt:system/vendor/firmware/nvram_net.txt \
+ vendor/broadcom/crespo/proprietary/gps.s5pc110.so:system/vendor/lib/hw/gps.s5pc110.so
diff --git a/self-extractors/cypress/COPYRIGHT b/self-extractors/cypress/COPYRIGHT
new file mode 100644
index 0000000..b3aa5ec
--- /dev/null
+++ b/self-extractors/cypress/COPYRIGHT
@@ -0,0 +1 @@
+# (C) Cypress Semiconductor Corporation. All Rights Reserved.
diff --git a/self-extractors/cypress/LICENSE b/self-extractors/cypress/LICENSE
new file mode 100644
index 0000000..44a23b9
--- /dev/null
+++ b/self-extractors/cypress/LICENSE
@@ -0,0 +1 @@
+CYPRESS LICENSE SHOULD GO HERE
diff --git a/self-extractors/cypress/staging/BoardConfigCrespo.mk b/self-extractors/cypress/staging/BoardConfigCrespo.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/cypress/staging/BoardConfigCrespo.mk
@@ -0,0 +1,13 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
diff --git a/self-extractors/cypress/staging/device-crespo.mk b/self-extractors/cypress/staging/device-crespo.mk
new file mode 100644
index 0000000..071ef08
--- /dev/null
+++ b/self-extractors/cypress/staging/device-crespo.mk
@@ -0,0 +1,17 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# cypress blob necessary for crespo
+PRODUCT_COPY_FILES := \
+ vendor/cypress/crespo/proprietary/cypress-touchkey.bin:system/vendor/firmware/cypress-touchkey.bin
diff --git a/self-extractors/generate-packages.sh b/self-extractors/generate-packages.sh
new file mode 100755
index 0000000..92e71c2
--- /dev/null
+++ b/self-extractors/generate-packages.sh
@@ -0,0 +1,120 @@
+#!/bin/sh
+
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# 83327 = GRH70B
+# 85442 = GRH78
+# 91927 = GRI16B
+# 101070 = GRI34
+# 102588 = GRI40
+# 117340 = GRJ01
+# 118407 = GRJ06D
+# 120505 = GRJ18
+# 121341 = GRJ22
+ZIP=signed-soju-ota-121341.*.zip
+BUILD=grj22
+ROOTDEVICE=crespo
+DEVICE=crespo
+MANUFACTURER=samsung
+
+for COMPANY in akm broadcom cypress imgtec nxp samsung
+do
+ echo Processing files from $COMPANY
+ rm -rf tmp
+ FILEDIR=tmp/vendor/$COMPANY/$DEVICE/proprietary
+ mkdir -p $FILEDIR
+ mkdir -p tmp/vendor/$MANUFACTURER/$ROOTDEVICE
+ case $COMPANY in
+ akm)
+ TO_EXTRACT="\
+ system/vendor/lib/libakm.so \
+ "
+ ;;
+ broadcom)
+ TO_EXTRACT="\
+ system/etc/gps.conf \
+ system/vendor/bin/gpsd \
+ system/vendor/etc/gps.xml \
+ system/vendor/firmware/bcm4329.hcd \
+ system/vendor/firmware/nvram_net.txt \
+ system/vendor/lib/hw/gps.s5pc110.so \
+ "
+ ;;
+ cypress)
+ TO_EXTRACT="\
+ system/vendor/firmware/cypress-touchkey.bin \
+ "
+ ;;
+ imgtec)
+ TO_EXTRACT="\
+ system/vendor/bin/pvrsrvinit \
+ system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so \
+ system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
+ system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \
+ system/vendor/lib/hw/gralloc.s5pc110.so \
+ system/vendor/lib/libglslcompiler.so \
+ system/vendor/lib/libIMGegl.so \
+ system/vendor/lib/libpvr2d.so \
+ system/vendor/lib/libpvrANDROID_WSEGL.so \
+ system/vendor/lib/libPVRScopeServices.so \
+ system/vendor/lib/libsrv_init.so \
+ system/vendor/lib/libsrv_um.so \
+ system/vendor/lib/libusc.so \
+ "
+ ;;
+ nxp)
+ TO_EXTRACT="\
+ system/lib/libpn544_fw.so \
+ "
+ ;;
+ samsung)
+ TO_EXTRACT="\
+ system/lib/libsecril-client.so \
+ system/vendor/firmware/samsung_mfc_fw.bin \
+ system/vendor/lib/libsec-ril.so \
+ "
+ ;;
+ esac
+ echo \ \ Extracting files from OTA package
+ for ONE_FILE in $TO_EXTRACT
+ do
+ echo \ \ \ \ Extracting $ONE_FILE
+ unzip -j -o $ZIP $ONE_FILE -d $FILEDIR > /dev/null || echo \ \ \ \ Error extracting $ONE_FILE
+ if test $ONE_FILE = system/vendor/bin/gpsd -o $ONE_FILE = system/vendor/bin/pvrsrvinit
+ then
+ chmod a+x $FILEDIR/$(basename $ONE_FILE) || echo \ \ \ \ Error chmoding $ONE_FILE
+ fi
+ done
+ echo \ \ Setting up $COMPANY-specific makefiles
+ cp -R $COMPANY/staging/* tmp/vendor/$COMPANY/$DEVICE || echo \ \ \ \ Error copying makefiles
+ echo \ \ Setting up shared makefiles
+ cp -R root/* tmp/vendor/$MANUFACTURER/$ROOTDEVICE || echo \ \ \ \ Error copying makefiles
+ echo \ \ Generating self-extracting script
+ SCRIPT=extract-$COMPANY-$DEVICE.sh
+ cat PROLOGUE > tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat $COMPANY/COPYRIGHT >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat PART1 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat $COMPANY/LICENSE >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat PART2 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ echo tail -n +$(expr 2 + $(cat PROLOGUE $COMPANY/COPYRIGHT PART1 $COMPANY/LICENSE PART2 PART3 | wc -l)) \$0 \| tar zxv >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ cat PART3 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ (cd tmp ; tar zc --owner=root --group=root vendor/ >> $SCRIPT || echo \ \ \ \ Error generating embedded tgz)
+ chmod a+x tmp/$SCRIPT || echo \ \ \ \ Error generating script
+ ARCHIVE=$COMPANY-$DEVICE-$BUILD-$(md5sum < tmp/$SCRIPT | cut -b -8 | tr -d \\n).tgz
+ rm -f $ARCHIVE
+ echo \ \ Generating final archive
+ (cd tmp ; tar --owner=root --group=root -z -c -f ../$ARCHIVE $SCRIPT || echo \ \ \ \ Error archiving script)
+ rm -rf tmp
+done
diff --git a/self-extractors/imgtec/COPYRIGHT b/self-extractors/imgtec/COPYRIGHT
new file mode 100644
index 0000000..373e4f9
--- /dev/null
+++ b/self-extractors/imgtec/COPYRIGHT
@@ -0,0 +1 @@
+# (C) Imagination Technologies Ltd.
diff --git a/self-extractors/imgtec/LICENSE b/self-extractors/imgtec/LICENSE
new file mode 100644
index 0000000..08ac7aa
--- /dev/null
+++ b/self-extractors/imgtec/LICENSE
@@ -0,0 +1,218 @@
+THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
+BINDING AGREEMENT BETWEEN IMAGINATION TECHNOLOGIES LTD. ("LICENSOR") AND
+YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
+TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
+AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS. IF
+YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION PROCESS
+AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE SOFTWARE OR
+DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS SUBJECT TO THE
+TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE SOFTWARE IS INSTALLED
+ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL ENTITY, THEN YOU REPRESENT
+AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND SUCH ENTITY TO THE TERMS AND
+CONDITIONS OF THIS AGREEMENT.
+
+ 1. Special Definitions
+
+ a. The term "Android" means the open source mobile platform, software
+ stack, operating system, middleware, application programming
+ interfaces and mobile applications under the trade-name "Android"
+ distributed at Android.com.
+
+ b. The term "Android Applications" means a software application or
+ open-source contribution developed by You, designed to operate with
+ Android that does not contain or incorporate any of the Software.
+
+ c. The term "Authorized Android Enabled Device" means the device
+ known as the Nexus S only.
+ The term "Software" means the Licensor's proprietary software and
+ libraries in object code form, designed for use on the Authorized
+ Android Enabled Device.
+
+ d. The term "Authorized Android Enabled Device Software" means a
+ packaged build for Authorized Android Enabled Devices, consisting of
+ files suitable for installation on an Authorized Android Enabled
+ Device using a mechanism such as fastboot mode or recovery mode.
+
+ 2. License Grant
+
+ a. Subject to the terms of this Agreement, Licensor hereby grants to
+ You, free of charge, a non-exclusive, non-sublicensable,
+ non-transferable, limited license, during the term of this Agreement,
+ to download, install and use the Software internally in
+ machine-readable (i.e., object code) form and the Documentation for
+ non-commercial use on an Authorized Android Enabled Device and
+ non-commercial redistribution of the Authorized Android Enabled
+ Device Software (the “Limited Purpose”). You may grant your end users
+ the right to use the Software for the Limited Purpose. The license to
+ the Software granted to You hereunder is solely for the Limited
+ Purpose set forth in this section, and the Software shall not be used
+ for any other purpose.
+
+ 3. Restrictions
+
+ a. Retention of Rights. The entire right, title and interest in the
+ Software shall remain with Licensor and, unless specified in writing
+ hereunder, no rights are granted to any of the Software. Except for
+ the right to use the Software for the Limited Purpose, the delivery
+ of the Software to You does not convey to You any intellectual
+ property rights in the Software, including, but not limited to any
+ rights under any patent, trademark, copyright, or trade secret.
+ Neither the delivery of the Software to You nor any terms set forth
+ herein shall be construed to grant to You, either expressly, by
+ implication or by way of estoppel, any license under any patents or
+ other intellectual property rights covering or relating to any other
+ product or invention or any combination of the Software with any
+ other product. Any rights not expressly granted to You herein are
+ reserved by Licensor.
+
+ b. No Commercialization or Distribution of the Software and
+ Documentation. Except as expressly provided in Section 2 of this
+ Agreement, You shall have no right to (i) copy, disclose, distribute,
+ publically perform, publically display, transfer, alter, modify,
+ translate, disassemble, decompile, reverse engineer, or adapt the
+ Software and Documentation, or any portion thereof, or create any
+ derivative works based thereon; (ii) rent, lease, assign, sublicense,
+ resell, disclose or otherwise transfer the Software and Documentation
+ in whole or in part to any third party (iii) use the Software and
+ Documentation except for the Limited Purpose, (iv) remove or alter
+ any of the copyright or proprietary notices contained in any of the
+ Software and Documentation. For the purposes of clarity, nothing in
+ this Agreement prohibits You from making and distributing Android
+ Applications under commercial or non-commercial terms, provided that
+ You shall not contain, incorporate, and/or compile the Software or
+ any of its derivative works, in whole or in part, into Your Android
+ Applications and/or any software/devices created by You or by third
+ parties acting on Your behalf. You and any such third party shall
+ comply with all of the terms and conditions of this Agreement.
+
+ c. No Reverse Engineering. Except for any portions of the Software
+ provided to You in source code format and except for any third party
+ code distributed with the Software that is licensed under contrary
+ terms, You will not reverse engineer, disassemble,
+ decompile, or translate the Software, or otherwise attempt to derive
+ the source code version of the Software, except if and to the extent
+ expressly permitted under any applicable law.
+
+ d. Third Party Software. You agree that Android may contain third party
+ software. You agree that you may not distribute such third party
+ software for any purpose without appropriate licenses from the
+ applicable third party or parties.
+
+ e. No Transfer or Assignment. You shall not assign any of its rights or
+ obligations under this Agreement. Any attempted assignment in
+ contravention of this Section shall be void.
+
+ 4. Indemnity
+
+ a. You agree to indemnify and hold harmless Licensor and its officers,
+ directors, customers, employees and successors and assigns (each an
+ "Indemnified Party") against any and all claims, demands, causes of
+ action, losses, liabilities, damages, costs and expenses, incurred by
+ the Indemnified Party (including but not limited to costs of defense,
+ investigation and reasonable attorney's fees) arising out of,
+ resulting from or related to (i) any software, products,
+ documentation, content, materials or derivative works created or
+ developed by You using the Software which causes an infringement of
+ any patent, copyright, trademark, trade secret, or other property,
+ publicity or privacy rights of any third parties arising in any
+ jurisdiction anywhere in the world, (ii) the download, distribution,
+ installation, storage, execution, use or transfer of such software,
+ products, documentation, content, materials or derivative works by
+ any person or entity, and/or (iii) any breach of this Agreement by
+ You. If requested by an Indemnified Party, You agree to defend such
+ Indemnified Party in connection with any third party claims, demands,
+ or causes of action resulting from, arising out of or in connection
+ with any of the foregoing.
+
+ 5. Limitation of Liability
+
+ a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
+ CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
+ LICENSOR, ITS AFFILIATES AND/OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR
+ AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR
+ CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS
+ OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
+ INFORMATION AND THE LIKE) ARISING OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR ANY DOWNLOAD, INSTALLATION OR USE OF, OR INABILITY TO
+ USE, THE SOFTWARE, EVEN IF LICENSOR HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE
+ LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL
+ DAMAGES SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE
+ LIMITED. IN NO EVENT SHALL LICENSOR'S TOTAL AGGREGATE LIABILITY TO
+ YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF ACTIONS
+ (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE, INDEMNIFICATION OR
+ OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS (US$100). THE LIMITATIONS
+ SET FORTH IN THIS PARAGRAPH SHALL BE DEEMED TO APPLY TO THE MAXIMUM
+ EXTENT PERMITTED BY APPLICABLE LAW. THE PARTIES HAVE FULLY CONSIDERED
+ THE FOREGOING ALLOCATION OF RISK AND FIND IT REASONABLE, AND THAT THE
+ FOREGOING LIMITATIONS IN THIS PARAGRAPH ARE AN ESSENTIAL BASIS OF
+ THE BARGAIN BETWEEN THE PARTIES.
+
+ 6. No Warranty
+
+ a. LICENSOR MAKES NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE
+ SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS AGREEMENT, INCLUDING
+ BUT NOT LIMITED TO ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE OR AGAINST INFRINGEMENT, OR ANY EXPRESS OR IMPLIED
+ WARRANTY ARISING OUT OF TRADE USAGE OR OUT OF A COURSE OF DEALING OR
+ COURSE OF PERFORMANCE. NOTHING CONTAINED IN THIS AGREEMENT SHALL BE
+ CONSTRUED AS A WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE
+ VALIDITY OR SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL
+ PROPERTY RIGHT AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM
+ INFRINGEMENT OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY
+ RIGHTS OF OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO
+ MAKE SUCH DETERMINATION AS IS NECESSARY WITH RESPECT TO THE
+ ACQUISITION OF LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY
+ OF THIRD PARTIES. LICENSOR SHALL NOT HAVE ANY OBLIGATION TO PROVIDE
+ ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
+
+ 7. Term and Termination
+
+ a. This Agreement shall be effective on the date You accept this
+ Agreement and shall remain in effect until terminated as provided
+ herein. You may terminate the Agreement at any time by deleting and
+ destroying all copies of the Software and all related information in
+ Your possession or control. This Agreement terminates immediately and
+ automatically, with or without notice, if You fail to comply with any
+ provision hereof. Additionally, Licensor may at any time terminate
+ this Agreement, without cause, upon notice to You. Upon termination
+ You must delete or destroy all copies of the Software in Your
+ possession, and the license granted to You in this Agreement shall
+ terminate. Sections 3, 4, 5, 6 and 8 shall survive the termination of
+ this Agreement.
+
+ 8. Miscellaneous
+
+ a. Governing Law. This Agreement is governed and interpreted in
+ accordance with the laws of the State of California without giving
+ effect to its conflict of laws provisions. The United Nations
+ Convention on Contracts for the International Sale of Goods is
+ expressly disclaimed and shall not apply. Any claim arising out of or
+ related to this Agreement must be brought exclusively in a federal or
+ state court located in Santa Clara County, California and You consent
+ to the jurisdiction and venue of such courts.
+
+ b. Waiver and Severability. The failure of either party to require
+ performance by the other party of any provision of this Agreement
+ shall not affect the full right to require such performance at any
+ time thereafter; nor shall the waiver by either party of a breach of
+ any provision of this Agreement be taken or held to be a waiver of
+ the provision itself. Severability. If any provision of this
+ Agreement is unenforceable or invalid under any applicable law or is
+ so held by applicable court decision, such unenforceability or
+ invalidity shall not render this Agreement unenforceable or invalid
+ as a whole, and such provision shall be changed and interpreted so as
+ to best accomplish the objectives of such unenforceable or invalid
+ provision within the limits of applicable law or applicable court
+ decisions.
+
+ c. Amendment and Modification. This Agreement and any of its terms and
+ provisions may only be amended, modified, supplemented or waived in a
+ writing signed by both parties hereto.
+
+ d. Compliance with Laws. You shall comply with all applicable laws,
+ rules, and regulations in connection with its activities under this
+ Agreement.
+
+ e. Entire Agreement. This Agreement completely and exclusively states
+ the agreement between You and Licensor regarding this subject matter.
diff --git a/self-extractors/imgtec/staging/BoardConfigCrespo.mk b/self-extractors/imgtec/staging/BoardConfigCrespo.mk
new file mode 100644
index 0000000..5a85551
--- /dev/null
+++ b/self-extractors/imgtec/staging/BoardConfigCrespo.mk
@@ -0,0 +1,16 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+BOARD_NO_PAGE_FLIPPING := false
+BOARD_NO_32BPP := false
diff --git a/self-extractors/imgtec/staging/device-crespo.mk b/self-extractors/imgtec/staging/device-crespo.mk
new file mode 100644
index 0000000..bcceee5
--- /dev/null
+++ b/self-extractors/imgtec/staging/device-crespo.mk
@@ -0,0 +1,44 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Live wallpaper packages
+PRODUCT_PACKAGES := \
+ LiveWallpapers \
+ LiveWallpapersPicker \
+ MagicSmokeWallpapers \
+ VisualizationWallpapers \
+ librs_jni
+
+# Publish that we support the live wallpaper feature.
+PRODUCT_COPY_FILES := \
+ packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml
+
+# Pick up overlay for features that depend on non-open-source files
+DEVICE_PACKAGE_OVERLAYS := vendor/imgtec/crespo/overlay
+
+# Imgtec blobs necessary for crespo
+PRODUCT_COPY_FILES += \
+ vendor/imgtec/crespo/proprietary/pvrsrvinit:system/vendor/bin/pvrsrvinit \
+ vendor/imgtec/crespo/proprietary/libEGL_POWERVR_SGX540_120.so:system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so \
+ vendor/imgtec/crespo/proprietary/libGLESv1_CM_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
+ vendor/imgtec/crespo/proprietary/libGLESv2_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \
+ vendor/imgtec/crespo/proprietary/gralloc.s5pc110.so:system/vendor/lib/hw/gralloc.s5pc110.so \
+ vendor/imgtec/crespo/proprietary/libglslcompiler.so:system/vendor/lib/libglslcompiler.so \
+ vendor/imgtec/crespo/proprietary/libIMGegl.so:system/vendor/lib/libIMGegl.so \
+ vendor/imgtec/crespo/proprietary/libpvr2d.so:system/vendor/lib/libpvr2d.so \
+ vendor/imgtec/crespo/proprietary/libpvrANDROID_WSEGL.so:system/vendor/lib/libpvrANDROID_WSEGL.so \
+ vendor/imgtec/crespo/proprietary/libPVRScopeServices.so:system/vendor/lib/libPVRScopeServices.so \
+ vendor/imgtec/crespo/proprietary/libsrv_init.so:system/vendor/lib/libsrv_init.so \
+ vendor/imgtec/crespo/proprietary/libsrv_um.so:system/vendor/lib/libsrv_um.so \
+ vendor/imgtec/crespo/proprietary/libusc.so:system/vendor/lib/libusc.so
diff --git a/self-extractors/imgtec/staging/overlay/packages/apps/Launcher2/res/layout/all_apps.xml b/self-extractors/imgtec/staging/overlay/packages/apps/Launcher2/res/layout/all_apps.xml
new file mode 100644
index 0000000..daf1b6f
--- /dev/null
+++ b/self-extractors/imgtec/staging/overlay/packages/apps/Launcher2/res/layout/all_apps.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- switch to all_apps_3d on devices that support RenderScript -->
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+ <include layout="@layout/all_apps_3d" />
+</merge>
diff --git a/self-extractors/nxp/COPYRIGHT b/self-extractors/nxp/COPYRIGHT
new file mode 100644
index 0000000..446c4f7
--- /dev/null
+++ b/self-extractors/nxp/COPYRIGHT
@@ -0,0 +1 @@
+# (C) NXP Semiconductors Netherlands B.V.
diff --git a/self-extractors/nxp/LICENSE b/self-extractors/nxp/LICENSE
new file mode 100644
index 0000000..849e839
--- /dev/null
+++ b/self-extractors/nxp/LICENSE
@@ -0,0 +1,218 @@
+THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
+BINDING AGREEMENT BETWEEN NXP Semiconductors Netherlands B.V ("LICENSOR") AND
+YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
+TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
+AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS. IF
+YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION PROCESS
+AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE SOFTWARE OR
+DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS SUBJECT TO THE
+TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE SOFTWARE IS INSTALLED
+ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL ENTITY, THEN YOU REPRESENT
+AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND SUCH ENTITY TO THE TERMS AND
+CONDITIONS OF THIS AGREEMENT.
+
+ 1. Special Definitions
+
+ a. The term "Android" means the open source mobile platform, software
+ stack, operating system, middleware, application programming
+ interfaces and mobile applications under the trade-name "Android"
+ distributed at Android.com.
+
+ b. The term "Android Applications" means a software application or
+ open-source contribution developed by You, designed to operate with
+ Android that does not contain or incorporate any of the Software.
+
+ c. The term "Authorized Android Enabled Device" means the device
+ known as the Nexus S only.
+ The term "Software" means the Licensor's proprietary software and
+ libraries in object code form, designed for use on the Authorized
+ Android Enabled Device.
+
+ d. The term "Authorized Android Enabled Device Software" means a
+ packaged build for Authorized Android Enabled Devices, consisting of
+ files suitable for installation on an Authorized Android Enabled
+ Device using a mechanism such as fastboot mode or recovery mode.
+
+ 2. License Grant
+
+ a. Subject to the terms of this Agreement, Licensor hereby grants to
+ You, free of charge, a non-exclusive, non-sublicensable,
+ non-transferable, limited license, during the term of this Agreement,
+ to download, install and use the Software internally in
+ machine-readable (i.e., object code) form and the Documentation for
+ non-commercial use on an Authorized Android Enabled Device and
+ non-commercial redistribution of the Authorized Android Enabled
+ Device Software (the “Limited Purpose”). You may grant your end users
+ the right to use the Software for the Limited Purpose. The license to
+ the Software granted to You hereunder is solely for the Limited
+ Purpose set forth in this section, and the Software shall not be used
+ for any other purpose.
+
+ 3. Restrictions
+
+ a. Retention of Rights. The entire right, title and interest in the
+ Software shall remain with Licensor and, unless specified in writing
+ hereunder, no rights are granted to any of the Software. Except for
+ the right to use the Software for the Limited Purpose, the delivery
+ of the Software to You does not convey to You any intellectual
+ property rights in the Software, including, but not limited to any
+ rights under any patent, trademark, copyright, or trade secret.
+ Neither the delivery of the Software to You nor any terms set forth
+ herein shall be construed to grant to You, either expressly, by
+ implication or by way of estoppel, any license under any patents or
+ other intellectual property rights covering or relating to any other
+ product or invention or any combination of the Software with any
+ other product. Any rights not expressly granted to You herein are
+ reserved by Licensor.
+
+ b. No Commercialization or Distribution of the Software and
+ Documentation. Except as expressly provided in Section 2 of this
+ Agreement, You shall have no right to (i) copy, disclose, distribute,
+ publically perform, publically display, transfer, alter, modify,
+ translate, disassemble, decompile, reverse engineer, or adapt the
+ Software and Documentation, or any portion thereof, or create any
+ derivative works based thereon; (ii) rent, lease, assign, sublicense,
+ resell, disclose or otherwise transfer the Software and Documentation
+ in whole or in part to any third party (iii) use the Software and
+ Documentation except for the Limited Purpose, (iv) remove or alter
+ any of the copyright or proprietary notices contained in any of the
+ Software and Documentation. For the purposes of clarity, nothing in
+ this Agreement prohibits You from making and distributing Android
+ Applications under commercial or non-commercial terms, provided that
+ You shall not contain, incorporate, and/or compile the Software or
+ any of its derivative works, in whole or in part, into Your Android
+ Applications and/or any software/devices created by You or by third
+ parties acting on Your behalf. You and any such third party shall
+ comply with all of the terms and conditions of this Agreement.
+
+ c. No Reverse Engineering. Except for any portions of the Software
+ provided to You in source code format and except for any third party
+ code distributed with the Software that is licensed under contrary
+ terms, You will not reverse engineer, disassemble,
+ decompile, or translate the Software, or otherwise attempt to derive
+ the source code version of the Software, except if and to the extent
+ expressly permitted under any applicable law.
+
+ d. Third Party Software. You agree that Android may contain third party
+ software. You agree that you may not distribute such third party
+ software for any purpose without appropriate licenses from the
+ applicable third party or parties.
+
+ e. No Transfer or Assignment. You shall not assign any of its rights or
+ obligations under this Agreement. Any attempted assignment in
+ contravention of this Section shall be void.
+
+ 4. Indemnity
+
+ a. You agree to indemnify and hold harmless Licensor and its officers,
+ directors, customers, employees and successors and assigns (each an
+ "Indemnified Party") against any and all claims, demands, causes of
+ action, losses, liabilities, damages, costs and expenses, incurred by
+ the Indemnified Party (including but not limited to costs of defense,
+ investigation and reasonable attorney's fees) arising out of,
+ resulting from or related to (i) any software, products,
+ documentation, content, materials or derivative works created or
+ developed by You using the Software which causes an infringement of
+ any patent, copyright, trademark, trade secret, or other property,
+ publicity or privacy rights of any third parties arising in any
+ jurisdiction anywhere in the world, (ii) the download, distribution,
+ installation, storage, execution, use or transfer of such software,
+ products, documentation, content, materials or derivative works by
+ any person or entity, and/or (iii) any breach of this Agreement by
+ You. If requested by an Indemnified Party, You agree to defend such
+ Indemnified Party in connection with any third party claims, demands,
+ or causes of action resulting from, arising out of or in connection
+ with any of the foregoing.
+
+ 5. Limitation of Liability
+
+ a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
+ CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
+ LICENSOR, ITS AFFILIATES AND/OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR
+ AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR
+ CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS
+ OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
+ INFORMATION AND THE LIKE) ARISING OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR ANY DOWNLOAD, INSTALLATION OR USE OF, OR INABILITY TO
+ USE, THE SOFTWARE, EVEN IF LICENSOR HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE
+ LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL
+ DAMAGES SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE
+ LIMITED. IN NO EVENT SHALL LICENSOR'S TOTAL AGGREGATE LIABILITY TO
+ YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF ACTIONS
+ (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE, INDEMNIFICATION OR
+ OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS (US$100). THE LIMITATIONS
+ SET FORTH IN THIS PARAGRAPH SHALL BE DEEMED TO APPLY TO THE MAXIMUM
+ EXTENT PERMITTED BY APPLICABLE LAW. THE PARTIES HAVE FULLY CONSIDERED
+ THE FOREGOING ALLOCATION OF RISK AND FIND IT REASONABLE, AND THAT THE
+ FOREGOING LIMITATIONS IN THIS PARAGRAPH ARE AN ESSENTIAL BASIS OF
+ THE BARGAIN BETWEEN THE PARTIES.
+
+ 6. No Warranty
+
+ a. LICENSOR MAKES NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE
+ SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS AGREEMENT, INCLUDING
+ BUT NOT LIMITED TO ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE OR AGAINST INFRINGEMENT, OR ANY EXPRESS OR IMPLIED
+ WARRANTY ARISING OUT OF TRADE USAGE OR OUT OF A COURSE OF DEALING OR
+ COURSE OF PERFORMANCE. NOTHING CONTAINED IN THIS AGREEMENT SHALL BE
+ CONSTRUED AS A WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE
+ VALIDITY OR SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL
+ PROPERTY RIGHT AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM
+ INFRINGEMENT OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY
+ RIGHTS OF OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO
+ MAKE SUCH DETERMINATION AS IS NECESSARY WITH RESPECT TO THE
+ ACQUISITION OF LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY
+ OF THIRD PARTIES. LICENSOR SHALL NOT HAVE ANY OBLIGATION TO PROVIDE
+ ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
+
+ 7. Term and Termination
+
+ a. This Agreement shall be effective on the date You accept this
+ Agreement and shall remain in effect until terminated as provided
+ herein. You may terminate the Agreement at any time by deleting and
+ destroying all copies of the Software and all related information in
+ Your possession or control. This Agreement terminates immediately and
+ automatically, with or without notice, if You fail to comply with any
+ provision hereof. Additionally, Licensor may at any time terminate
+ this Agreement, without cause, upon notice to You. Upon termination
+ You must delete or destroy all copies of the Software in Your
+ possession, and the license granted to You in this Agreement shall
+ terminate. Sections 3, 4, 5, 6 and 8 shall survive the termination of
+ this Agreement.
+
+ 8. Miscellaneous
+
+ a. Governing Law. This Agreement is governed and interpreted in
+ accordance with the laws of the State of California without giving
+ effect to its conflict of laws provisions. The United Nations
+ Convention on Contracts for the International Sale of Goods is
+ expressly disclaimed and shall not apply. Any claim arising out of or
+ related to this Agreement must be brought exclusively in a federal or
+ state court located in Santa Clara County, California and You consent
+ to the jurisdiction and venue of such courts.
+
+ b. Waiver and Severability. The failure of either party to require
+ performance by the other party of any provision of this Agreement
+ shall not affect the full right to require such performance at any
+ time thereafter; nor shall the waiver by either party of a breach of
+ any provision of this Agreement be taken or held to be a waiver of
+ the provision itself. Severability. If any provision of this
+ Agreement is unenforceable or invalid under any applicable law or is
+ so held by applicable court decision, such unenforceability or
+ invalidity shall not render this Agreement unenforceable or invalid
+ as a whole, and such provision shall be changed and interpreted so as
+ to best accomplish the objectives of such unenforceable or invalid
+ provision within the limits of applicable law or applicable court
+ decisions.
+
+ c. Amendment and Modification. This Agreement and any of its terms and
+ provisions may only be amended, modified, supplemented or waived in a
+ writing signed by both parties hereto.
+
+ d. Compliance with Laws. You shall comply with all applicable laws,
+ rules, and regulations in connection with its activities under this
+ Agreement.
+
+ e. Entire Agreement. This Agreement completely and exclusively states
+ the agreement between You and Licensor regarding this subject matter.
diff --git a/self-extractors/nxp/staging/BoardConfigCrespo.mk b/self-extractors/nxp/staging/BoardConfigCrespo.mk
new file mode 100644
index 0000000..01a0ff3
--- /dev/null
+++ b/self-extractors/nxp/staging/BoardConfigCrespo.mk
@@ -0,0 +1,13 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
diff --git a/self-extractors/nxp/staging/device-crespo.mk b/self-extractors/nxp/staging/device-crespo.mk
new file mode 100644
index 0000000..805d2b4
--- /dev/null
+++ b/self-extractors/nxp/staging/device-crespo.mk
@@ -0,0 +1,24 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# NXP blob necessary for crespo, and related open-source packages
+PRODUCT_COPY_FILES := \
+ device/sample/nxp/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml \
+ vendor/nxp/crespo/proprietary/libpn544_fw.so:system/lib/libpn544_fw.so
+
+PRODUCT_PACKAGES += \
+ libnfc \
+ libnfc_jni \
+ Nfc \
+ Tag
diff --git a/self-extractors/root/BoardConfigVendor.mk b/self-extractors/root/BoardConfigVendor.mk
new file mode 100644
index 0000000..9698fd5
--- /dev/null
+++ b/self-extractors/root/BoardConfigVendor.mk
@@ -0,0 +1,20 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+-include vendor/akm/crespo/BoardConfigCrespo.mk
+-include vendor/broadcom/crespo/BoardConfigCrespo.mk
+-include vendor/cypress/crespo/BoardConfigCrespo.mk
+-include vendor/imgtec/crespo/BoardConfigCrespo.mk
+-include vendor/nxp/crespo/BoardConfigCrespo.mk
+-include vendor/samsung/crespo/BoardConfigCrespo.mk
diff --git a/self-extractors/root/device-vendor.mk b/self-extractors/root/device-vendor.mk
new file mode 100644
index 0000000..6e9affc
--- /dev/null
+++ b/self-extractors/root/device-vendor.mk
@@ -0,0 +1,20 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+$(call inherit-product-if-exists, vendor/akm/crespo/device-crespo.mk)
+$(call inherit-product-if-exists, vendor/broadcom/crespo/device-crespo.mk)
+$(call inherit-product-if-exists, vendor/cypress/crespo/device-crespo.mk)
+$(call inherit-product-if-exists, vendor/imgtec/crespo/device-crespo.mk)
+$(call inherit-product-if-exists, vendor/nxp/crespo/device-crespo.mk)
+$(call inherit-product-if-exists, vendor/samsung/crespo/device-crespo.mk)
diff --git a/self-extractors/samsung/COPYRIGHT b/self-extractors/samsung/COPYRIGHT
new file mode 100644
index 0000000..e5dc6cc
--- /dev/null
+++ b/self-extractors/samsung/COPYRIGHT
@@ -0,0 +1 @@
+# (C) Samsung Electronics, Inc.
diff --git a/self-extractors/samsung/LICENSE b/self-extractors/samsung/LICENSE
new file mode 100644
index 0000000..2e20c75
--- /dev/null
+++ b/self-extractors/samsung/LICENSE
@@ -0,0 +1,225 @@
+THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
+BINDING AGREEMENT BETWEEN Samsung Electronics ("LICENSOR") AND
+YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
+TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
+AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS. IF
+YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION PROCESS
+AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE SOFTWARE OR
+DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS SUBJECT TO THE
+TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE SOFTWARE IS INSTALLED
+ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL ENTITY, THEN YOU REPRESENT
+AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND SUCH ENTITY TO THE TERMS AND
+CONDITIONS OF THIS AGREEMENT.
+
+ 1. Special Definitions
+
+ a. The term "Android" means the open source mobile platform, software
+ stack, operating system, middleware, application programming
+ interfaces and mobile applications under the trade-name "Android"
+ distributed at Android.com.
+
+ b. The term "Android Applications" means a software application or
+ open-source contribution developed by You, designed to operate with
+ Android that does not contain or incorporate any of the Software.
+
+ c. The term "Authorized Android Enabled Device" means the device
+ known as the Nexus S only.
+ The term "Software" means the Licensor's proprietary software and
+ libraries in object code form, designed for use on the Authorized
+ Android Enabled Device.
+
+ d. The term "Authorized Android Enabled Device Software" means a
+ packaged build for Authorized Android Enabled Devices, consisting of
+ files suitable for installation on an Authorized Android Enabled
+ Device using a mechanism such as fastboot mode or recovery mode.
+
+ 2. License Grant
+
+ a. Subject to the terms of this Agreement, Licensor hereby grants to
+ You, free of charge, a non-exclusive, non-sublicensable,
+ non-transferable, limited license, during the term of this Agreement,
+ to download, install and use the Software internally in
+ machine-readable (i.e., object code) form and the Documentation for
+ non-commercial use on an Authorized Android Enabled Device and
+ non-commercial redistribution of the Authorized Android Enabled
+ Device Software (the “Limited Purpose”). You may grant your end users
+ the right to use the Software for the Limited Purpose. The license to
+ the Software granted to You hereunder is solely for the Limited
+ Purpose set forth in this section, and the Software shall not be used
+ for any other purpose.
+
+ 3. Restrictions
+
+ a. Retention of Rights. The entire right, title and interest in the
+ Software shall remain with Licensor and, unless specified in writing
+ hereunder, no rights are granted to any of the Software. Except for
+ the right to use the Software for the Limited Purpose, the delivery
+ of the Software to You does not convey to You any intellectual
+ property rights in the Software, including, but not limited to any
+ rights under any patent, trademark, copyright, or trade secret.
+ Neither the delivery of the Software to You nor any terms set forth
+ herein shall be construed to grant to You, either expressly, by
+ implication or by way of estoppel, any license under any patents or
+ other intellectual property rights covering or relating to any other
+ product or invention or any combination of the Software with any
+ other product. Any rights not expressly granted to You herein are
+ reserved by Licensor.
+
+ b. No Commercialization or Distribution of the Software and
+ Documentation. Except as expressly provided in Section 2 of this
+ Agreement, You shall have no right to (i) copy, disclose, distribute,
+ publically perform, publically display, transfer, alter, modify,
+ translate, disassemble, decompile, reverse engineer, or adapt the
+ Software and Documentation, or any portion thereof, or create any
+ derivative works based thereon; (ii) rent, lease, assign, sublicense,
+ resell, disclose or otherwise transfer the Software and Documentation
+ in whole or in part to any third party (iii) use the Software and
+ Documentation except for the Limited Purpose, (iv) remove or alter
+ any of the copyright or proprietary notices contained in any of the
+ Software and Documentation. For the purposes of clarity, nothing in
+ this Agreement prohibits You from making and distributing Android
+ Applications under commercial or non-commercial terms, provided that
+ You shall not contain, incorporate, and/or compile the Software or
+ any of its derivative works, in whole or in part, into Your Android
+ Applications and/or any software/devices created by You or by third
+ parties acting on Your behalf. You and any such third party shall
+ comply with all of the terms and conditions of this Agreement.
+
+ c. No Reverse Engineering. You will not reverse engineer, disassemble,
+ decompile, or translate the Software, or otherwise attempt to derive
+ the source code version of the Software, except if and to the extent
+ expressly permitted under any applicable law.
+
+ d. Third Party Software. You agree that Android may contain third party
+ software. You agree that you may not distribute such third party
+ software for any purpose without appropriate licenses from the
+ applicable third party or parties.
+
+ e. No Transfer or Assignment. You shall not assign any of its rights or
+ obligations under this Agreement. Any attempted assignment in
+ contravention of this Section shall be void.
+
+ 4. Onwership of Intellectual Property
+
+ a. You acknowledge that all intellectual property rights in or relating
+ to the Software and all parts of the Software are and shall remain
+ the exclusive property of Licensor and its licensors. You agree that
+ you will not remove or alter any copyright notices or similar
+ proprietary devices, including without limitation any electronic
+ watermarks or other identifiers, that may be incorporated in the
+ Software.
+
+ 5. Indemnity
+
+ a. You agree to indemnify and hold harmless Licensor and its officers,
+ directors, customers, employees and successors and assigns (each an
+ "Indemnified Party") against any and all claims, demands, causes of
+ action, losses, liabilities, damages, costs and expenses, incurred by
+ the Indemnified Party (including but not limited to costs of defense,
+ investigation and reasonable attorney's fees) arising out of,
+ resulting from or related to (i) any software, products,
+ documentation, content, materials or derivative works created or
+ developed by You using the Software which causes an infringement of
+ any patent, copyright, trademark, trade secret, or other property,
+ publicity or privacy rights of any third parties arising in any
+ jurisdiction anywhere in the world, (ii) the download, distribution,
+ installation, storage, execution, use or transfer of such software,
+ products, documentation, content, materials or derivative works by
+ any person or entity, and/or (iii) any breach of this Agreement by
+ You. If requested by an Indemnified Party, You agree to defend such
+ Indemnified Party in connection with any third party claims, demands,
+ or causes of action resulting from, arising out of or in connection
+ with any of the foregoing.
+
+ 6. Limitation of Liability
+
+ a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
+ CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
+ LICENSOR, ITS AFFILIATES AND/OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR
+ AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR
+ CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS
+ OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
+ INFORMATION AND THE LIKE) ARISING OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR ANY DOWNLOAD, INSTALLATION OR USE OF, OR INABILITY TO
+ USE, THE SOFTWARE, EVEN IF LICENSOR HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE
+ LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL
+ DAMAGES SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE
+ LIMITED. IN NO EVENT SHALL LICENSOR'S TOTAL AGGREGATE LIABILITY TO
+ YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF ACTIONS
+ (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE, INDEMNIFICATION OR
+ OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS (US$100). THE LIMITATIONS
+ SET FORTH IN THIS PARAGRAPH SHALL BE DEEMED TO APPLY TO THE MAXIMUM
+ EXTENT PERMITTED BY APPLICABLE LAW. THE PARTIES HAVE FULLY CONSIDERED
+ THE FOREGOING ALLOCATION OF RISK AND FIND IT REASONABLE, AND THAT THE
+ FOREGOING LIMITATIONS IN THIS PARAGRAPH ARE AN ESSENTIAL BASIS OF
+ THE BARGAIN BETWEEN THE PARTIES.
+
+ 7. No Warranty
+
+ a. LICENSOR MAKES NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE
+ SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS AGREEMENT, INCLUDING
+ BUT NOT LIMITED TO ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE OR AGAINST INFRINGEMENT, OR ANY EXPRESS OR IMPLIED
+ WARRANTY ARISING OUT OF TRADE USAGE OR OUT OF A COURSE OF DEALING OR
+ COURSE OF PERFORMANCE. NOTHING CONTAINED IN THIS AGREEMENT SHALL BE
+ CONSTRUED AS A WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE
+ VALIDITY OR SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL
+ PROPERTY RIGHT AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM
+ INFRINGEMENT OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY
+ RIGHTS OF OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO
+ MAKE SUCH DETERMINATION AS IS NECESSARY WITH RESPECT TO THE
+ ACQUISITION OF LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY
+ OF THIRD PARTIES. LICENSOR SHALL NOT HAVE ANY OBLIGATION TO PROVIDE
+ ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
+
+ 8. Term and Termination
+
+ a. This Agreement shall be effective on the date You accept this
+ Agreement and shall remain in effect until terminated as provided
+ herein. You may terminate the Agreement at any time by deleting and
+ destroying all copies of the Software and all related information in
+ Your possession or control. This Agreement terminates immediately and
+ automatically, with or without notice, if You fail to comply with any
+ provision hereof. Additionally, Licensor may at any time terminate
+ this Agreement, without cause, upon notice to You. Upon termination
+ You must delete or destroy all copies of the Software in Your
+ possession, and the license granted to You in this Agreement shall
+ terminate. Sections 3, 4, 5, 6 and 8 shall survive the termination of
+ this Agreement.
+
+ 9. Miscellaneous
+
+ a. Governing Law. This Agreement is governed and interpreted in
+ accordance with the laws of the State of California without giving
+ effect to its conflict of laws provisions. The United Nations
+ Convention on Contracts for the International Sale of Goods is
+ expressly disclaimed and shall not apply. Any claim arising out of or
+ related to this Agreement must be brought exclusively in a federal or
+ state court located in Santa Clara County, California and You consent
+ to the jurisdiction and venue of such courts.
+
+ b. Waiver and Severability. The failure of either party to require
+ performance by the other party of any provision of this Agreement
+ shall not affect the full right to require such performance at any
+ time thereafter; nor shall the waiver by either party of a breach of
+ any provision of this Agreement be taken or held to be a waiver of
+ the provision itself. Severability. If any provision of this
+ Agreement is unenforceable or invalid under any applicable law or is
+ so held by applicable court decision, such unenforceability or
+ invalidity shall not render this Agreement unenforceable or invalid
+ as a whole, and such provision shall be changed and interpreted so as
+ to best accomplish the objectives of such unenforceable or invalid
+ provision within the limits of applicable law or applicable court
+ decisions.
+
+ c. Amendment and Modification. This Agreement and any of its terms and
+ provisions may only be amended, modified, supplemented or waived in a
+ writing signed by both parties hereto.
+
+ d. Compliance with Laws. You shall comply with all applicable laws,
+ rules, and regulations in connection with its activities under this
+ Agreement.
+
+ e. Entire Agreement. This Agreement completely and exclusively states
+ the agreement between You and Licensor regarding this subject matter.
diff --git a/self-extractors/samsung/staging/BoardConfigCrespo.mk b/self-extractors/samsung/staging/BoardConfigCrespo.mk
new file mode 100644
index 0000000..c3b33a3
--- /dev/null
+++ b/self-extractors/samsung/staging/BoardConfigCrespo.mk
@@ -0,0 +1,19 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+USE_CAMERA_STUB := false
+
+BOARD_USES_GENERIC_AUDIO := false
+
+BOARD_USES_LIBSECRIL_STUB := false
diff --git a/self-extractors/samsung/staging/device-crespo.mk b/self-extractors/samsung/staging/device-crespo.mk
new file mode 100644
index 0000000..2b421c1
--- /dev/null
+++ b/self-extractors/samsung/staging/device-crespo.mk
@@ -0,0 +1,23 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Prebuilt libraries that are needed to build open-source libraries
+PRODUCT_COPY_FILES := \
+ vendor/samsung/crespo/proprietary/libsecril-client.so:obj/lib/libsecril-client.so
+
+# Samsung blobs necessary for crespo
+PRODUCT_COPY_FILES += \
+ vendor/samsung/crespo/proprietary/libsecril-client.so:system/lib/libsecril-client.so \
+ vendor/samsung/crespo/proprietary/samsung_mfc_fw.bin:system/vendor/firmware/samsung_mfc_fw.bin \
+ vendor/samsung/crespo/proprietary/libsec-ril.so:system/vendor/lib/libsec-ril.so