werty100
15/12/13, 11:15:11
Aqui os dejo otro tuto:
No voy ha explicar lo necesario se supone que ya esta de sobra explicado
Primero debéis bajar la source:
repo init -u git://github.com/omnirom/android.git -b android-4.4 o android-4.3
Nota: Si no sois desarrolladores con conocimiento y vuestro dispositivo solo tiene 4.3 o ni siquiera no lo intenteis lleva mucho trabajo y horas...
Después:
repo sync
Cuando termine deberemos adaptar nuestro device tree a omni.
Primero:
cd device
mkdir nombre de fabricante (puede que este)
cd nombre de fabricante
mkdir alias del telefono ej: manguro kumquat nypon etc...
cd alias del telefono
git clone y el link al device tree
Cuando termine vamos a abrir:
cm.mk:
# Copyright (C) 2013 OmniROM Project
# Copyright (C) 2012 The CyanogenMod 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.
# Inherit Omni GSM telephony parts
$(call inherit-product, vendor/omni/config/gsm.mk)
# Inherit from the common Open Source product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
# Inherit from our omni product configuration
$(call inherit-product, vendor/omni/config/common.mk)
# Discard inherited values and use our own instead.
PRODUCT_NAME := omni_n7100
PRODUCT_DEVICE := n7100
PRODUCT_BRAND := samsung
PRODUCT_MANUFACTURER := Samsung
PRODUCT_MODEL := GT-N7100
Comparar este texto con vuestro cm.mk deberéis ver que cambios se han echo:
Los cambios normalmente con de la palabra cm a omni.
Despues de todo renombrar a omni_alias del telefono.mk
Despues cojeremos el vendor-setup.sh:
add_lunch_combo omni-alias del telefono-userdebug
Despues cojer AndroidProducts.mk:
Añadiremos esta linea:
$(LOCAL_DIR)/omni_aliasdeltelefono.mk
Despues cojeremos cm.dependencies:
Usar esta pagina para validar el json porque os volvereis tontos:http://jsonlint.com/
-[
- {
- "repository": "android_device_samsung_smdk4412-common",
- "target_path": "device/samsung/smdk4412-common"
- },
- {
- "repository": "android_device_samsung_smdk4412-qcom-common",
- "target_path": "device/samsung/smdk4412-qcom-common"
- },
- {
- "repository": "android_device_samsung_t0lte",
- "target_path": "device/samsung/t0lte"
- },
- {
- "repository": "android_kernel_samsung_smdk4412",
- "target_path": "kernel/samsung/smdk4412"
- },
- {
- "repository": "android_packages_apps_SamsungServiceMode",
- "target_path": "packages/apps/SamsungServiceMode"
- },
- {
- "repository": "android_hardware_samsung",
- "target_path": "hardware/samsung"
- }
-]
Debereis sustituir por vuestro dispositivo.
Renonmbrar a omni.dependencies
Ahora nos toca lo mas difícil el TWRP:
http://docs.omnirom.org/Team_Win_Recovery_Project#TWRP-ifying
Aqui os dejo la información ya que es mas dificil y no hay traducción son flags
Ya esta solamente compilar como siempre
No voy ha explicar lo necesario se supone que ya esta de sobra explicado
Primero debéis bajar la source:
repo init -u git://github.com/omnirom/android.git -b android-4.4 o android-4.3
Nota: Si no sois desarrolladores con conocimiento y vuestro dispositivo solo tiene 4.3 o ni siquiera no lo intenteis lleva mucho trabajo y horas...
Después:
repo sync
Cuando termine deberemos adaptar nuestro device tree a omni.
Primero:
cd device
mkdir nombre de fabricante (puede que este)
cd nombre de fabricante
mkdir alias del telefono ej: manguro kumquat nypon etc...
cd alias del telefono
git clone y el link al device tree
Cuando termine vamos a abrir:
cm.mk:
# Copyright (C) 2013 OmniROM Project
# Copyright (C) 2012 The CyanogenMod 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.
# Inherit Omni GSM telephony parts
$(call inherit-product, vendor/omni/config/gsm.mk)
# Inherit from the common Open Source product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
# Inherit from our omni product configuration
$(call inherit-product, vendor/omni/config/common.mk)
# Discard inherited values and use our own instead.
PRODUCT_NAME := omni_n7100
PRODUCT_DEVICE := n7100
PRODUCT_BRAND := samsung
PRODUCT_MANUFACTURER := Samsung
PRODUCT_MODEL := GT-N7100
Comparar este texto con vuestro cm.mk deberéis ver que cambios se han echo:
Los cambios normalmente con de la palabra cm a omni.
Despues de todo renombrar a omni_alias del telefono.mk
Despues cojeremos el vendor-setup.sh:
add_lunch_combo omni-alias del telefono-userdebug
Despues cojer AndroidProducts.mk:
Añadiremos esta linea:
$(LOCAL_DIR)/omni_aliasdeltelefono.mk
Despues cojeremos cm.dependencies:
Usar esta pagina para validar el json porque os volvereis tontos:http://jsonlint.com/
-[
- {
- "repository": "android_device_samsung_smdk4412-common",
- "target_path": "device/samsung/smdk4412-common"
- },
- {
- "repository": "android_device_samsung_smdk4412-qcom-common",
- "target_path": "device/samsung/smdk4412-qcom-common"
- },
- {
- "repository": "android_device_samsung_t0lte",
- "target_path": "device/samsung/t0lte"
- },
- {
- "repository": "android_kernel_samsung_smdk4412",
- "target_path": "kernel/samsung/smdk4412"
- },
- {
- "repository": "android_packages_apps_SamsungServiceMode",
- "target_path": "packages/apps/SamsungServiceMode"
- },
- {
- "repository": "android_hardware_samsung",
- "target_path": "hardware/samsung"
- }
-]
Debereis sustituir por vuestro dispositivo.
Renonmbrar a omni.dependencies
Ahora nos toca lo mas difícil el TWRP:
http://docs.omnirom.org/Team_Win_Recovery_Project#TWRP-ifying
Aqui os dejo la información ya que es mas dificil y no hay traducción son flags
Ya esta solamente compilar como siempre