Home Menu

Menu



ROMs y desarrollo Xperia Z1 ROMs y desarrollo Xperia Z1


 
Herramientas
  #1  
Viejo 15/04/14, 17:36:54
Avatar de infernape763
infernape763 infernape763 no está en línea
☢Fundador DragonSphere☢
Mensajes: 1,339
 
Fecha de registro: sep 2012
Localización: Jaen
Mensajes: 1,339
Modelo de smartphone: Nokia lumia 630
Versión de ROM: XenonHD
Versión de Radio: Europea
Tu operador: Yoigo
Mencionado: 1 comentarios
Tagged: 0 hilos
[unlocked bootloaders][4.2-4.4]Multiboot[Instala varias roms en tu Z1 a la vez!!!]

¿QUE ES MULTIBOOT?
Estas cansado de flashear roms una y otra vez y quieres tener 2 sistemas favoritos o estas cansado de desarrollar y no para de darte bootlops y no puedes cambiar de rom por que tienes un brick?
Bueno, ahora u no tienes que hacerlo. Usted puede instalar múltiples sistemas operativos en su ROM tal como lo hace en su computadora. ¿No te gusta la nuevo ROM? Sólo tiene que activar su ROM a uno anterior con sólo un clic. Sin wipes, limpieza necesario. La ROM secundaria se carga desde la partición sdcard.
ADVERTENCIA:La garantía ya no es válida. Para ello, haga a su propio riesgo. Htcmania y yo no se hara cargo de los bricks producidos por el mod

REQUISITOS
-Conexión ADB. Por favor, compruebe si puede conectarse adb en modo normal, modo de recuperación, el modo fastboot. Es obligatorio.
-Teléfono con root y bootloader desbloqueado
Cualquier editor de texto, excepto el bloc de notas, Microsoft Word o WordPad.
Se recomienda editar todos los archivos de la PC con los editores de texto y con formato unix/utf-8.
*Pronto subire kernels con soporte a multiboot para que solo sea flashear y que el usuario no tenga que hacer el trabajo sucio*

INSTRUCCIONES
1º Instalar Boot menu
(Click para mostrar/ocultar)
1º Reinicias el movil en fastboot (apagas el movil y lo conectas por usb manteniendo pulsado vol+)
2º ejecutas este comando
Código:
fastboot flash boot 'arrastrar el bootmenu_c6903.img sin las comillas
3º ejecutas este comando y listo
Código:
fastboot reboot
2º Instalar los sistemas operativos
(Click para mostrar/ocultar)
Esta el tuto en xda pero esta mal explicado, pronto hare yo uno


COMO CREAR LOS KERNEL MODIFICADOS PARA MULTIBOOT
Ingles
(Click para mostrar/ocultar)
First of all you no need kexec patched kernel like one required for Xperia Go,Sola,P, U since only main kernel (host kernel or aka boot menu kernel) requre kexec patch (boot menu have kexec patched kernel so you can skip some parts from tutorial from NoobCoder!) ! You can boot every kernel including all stock kernels without needs for kexec patching them!!! But you will need to property pack your zImage which will be explained in details in next lines.

How to extract boot image: You will need an Linux machine or at least you can find an android version of the tool aka unpackbootimg so you can do it on Android if you have no Linux machine. Download unpackbootimg tool (search on Google to get one). How to unpack: you can unpack boot image with command: unpackbootimage -i boot.img

Ok. Since you extracted boot.img you will notice new files: ***zImage, ****ramdisk.gz and ******.dt, these 3 files is only needed!

Since our device require DT apended to zImage for (without them you can not boot), you need to apend DT to zImage. How to append DT to zImage:

You will need an hex editor, for example you can download http://mh-nexus.de/en/hxd

Open your zImage with H&D editor, open in new window *****.dt

in DT window you need to search for string "SoMC Honami ROW" (do not search manualy lol, click on edit/search for searching them), there is 2 or 3 ocourance of these string, chose last one (important step! Missing our step you will not boot!), window will look something like: (see attachment number one), till before SoMC Honami ROW string see and click to line where you see D0 OD, click before them (see attachment 2), now you need to select all starting of these line to the end and copy them to clipboard (see picture 3), now go to the zImage window, go to the end of all lines, click to the end of last line in left part of hex values (see picture 4), click to "edit" and do "paste insert", it will look something like picture 5, save file, your zImage with apended DTB is done, you are done too Simple rename modified zImage to zImage-dtb, allso rename ****ramdisk.gz to initrd.gz, modify ad setup your setting.ini, copy zImage-dtb and initrd.gz to your bootmenu/blabla....folder, enjoy! You can make now cwm boot from bootmenu, simple extract an recovery ramdisk and no need to make new zImage, simple add one line in setting.ini to use zImage from main rom, only you need is ramdisk from cwm...


In seccond post I will try to explain how to create seccond rom boot (boot from sdcard) and how to generate partitions on external sdcard for booting seccond rom. Allso will explain in detail what is need to be modified in seccond rom ramdisk and allso what is need to be modified in updater-script for installing seccond rom from zip (for example an CM11)using cwm running from seccond rom (these cwm will use partitions from sdcard)... blabla, yes thats complicated but not so hard if you have some pictures in your head and understand principe of the our multiboot


Español
(Click para mostrar/ocultar)
En primer lugar usted no necesita kexec kernel parcheado como uno requerido para Xperia Go , Sola , P , U , ya que sólo núcleo principal ( kernel host o alias kernel menú de arranque ) requre parche kexec ( menú de arranque tiene kernel parcheado kexec así que puedes saltarte algunas partes del tutorial de NoobCoder !) ! Puede arrancar cada kernel incluyendo todas las acciones del núcleo sin necesidad de parchear kexec ellos! Pero usted tendrá que empacar su propiedad zImage que se explicará en detalle en próximas líneas .

Cómo extraer la imagen de arranque : Necesitará una máquina Linux o por lo menos usted puede encontrar una versión de Android de la herramienta alias unpackbootimg para que pueda hacerlo en Android si no tiene máquina Linux. Descargar herramienta unpackbootimg (búsqueda en Google para obtener uno ) . Cómo desempaquetar : puede desempaquetar la imagen de arranque con el comando: unpackbootimage -i boot.img

Ok . Desde que extrajo boot.img notarás nuevos archivos : . *** ZImage , **** ramdisk.gz y ****** dt, estos 3 archivos sólo se necesita !

Desde nuestro dispositivo requiere DT apended para zImage para ( sin ellos no puede arrancar ) , es necesario apend DT para zImage . Cómo añadir DT a zImage :

Usted necesitará un editor hexadecimal , por ejemplo se puede descargar http://mh-nexus.de/en/hxd

Abra su zImage con H & D editor , abre en ventana nueva . ***** Dt

en la ventana del DT que necesita para buscar la cadena " SOMC Honami ROW " (no buscar manualy lol , haga clic en Editar / búsqueda para buscar en ellos) , hay 2 o 3 ocourance de estas cuerdas, eligió último (paso importante! Missing nuestra ! paso que no te arranque ) , la ventana se verá algo como : ( ver anexo número uno) , hasta antes de la cadena ROW SOMC Honami ver y haga clic en la línea donde se ve D0 OD, haga clic delante de ellos ( ver anexo 2 ) , ahora lo que necesita para seleccionar todos a partir de estas líneas hasta el final y copiarlos al portapapeles (ver foto 3 ) , ahora ir a la ventana zImage , ir al final de todas las líneas , haga clic en el final de la última línea en la parte izquierda de valores hexadecimales ( ver foto 4 ) , haga clic en " editar" y hacer " insert pasta " , que se verá algo como la imagen 5 , guardar archivos, el zImage con apended DTB está hecho , ya está resuelto renombrar demasiado simple modificado zImage para zImage - DTB , allso renombrar ramdisk.gz **** a initrd.gz , modificar la configuración de su anuncio setting.ini , copie zImage - DTB y initrd.gz a tu menu de arranque / blabla....folder , disfrutar! Puede hacer que arranque ahora CWM desde el menu de arranque , extracto sencilla un disco RAM de recuperación y no hay necesidad de hacer una nueva zImage , simple agregar una línea en setting.ini utilizar zImage de rom principal, sólo lo que necesita es ramdisk de CWM ...


En el post seccond voy a tratar de explicar cómo crear boot rom seccond ( arranque desde sdcard ) y cómo generar particiones en sdcard externa para arrancar rom seccond . Allso explicará en detalle lo que se necesita ser modificado en disco ram rom seccond y allso lo que se necesita ser modificado en updater -script para instalar rom seccond de zip ( por ejemplo, un CM11 ) utilizando CWM que va desde rom seccond (estos CWM utilizará particiones desde sdcard ) ... blabla , sí eso es complicado, pero no es tan difícil si usted tiene algunas fotos en su cabeza y entender principe de la nuestra de arranque múltiple


DESCARGAS
Kernel Multiboot:http://forum.xda-developers.com/show....php?t=2717546
*Proximamente kernels modificados para multiboot*
Fuente:http://forum.xda-developers.com/show....php?t=2717546
Responder Con Cita
Los siguientes 7 usuarios han agradecido a infernape763 su comentario:
[ Mostrar/Ocultar listado de agradecimientos ]


  #2  
Viejo 20/04/14, 14:39:06
Avatar de yonalico
yonalico yonalico no está en línea
Usuario muy activo
Mensajes: 708
Compra y venta: (9)
 
Fecha de registro: sep 2012
Mensajes: 708
Tu operador: Otra
Mencionado: 9 comentarios
Tagged: 0 hilos
hola hermano queria preguntarte si el kernel funciona en un C6902 quiero comenzar a trastear a ver que tal
Responder Con Cita
Respuesta

Estás aquí
Regresar   HTCMania > Foros Sony > Otros smartphones antiguos de Sony > Sony Xperia Z1 > ROMs y desarrollo Xperia Z1


Reglas de Mensajes
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Las caritas están On
Código [IMG] está On
Código HTML está Off

Saltar a Foro



Hora actual: 00:13:02 (GMT +2)

Cookies
Powered by vBulletin™
Copyright © vBulletin Solutions, Inc. All rights reserved.
 
HTCMania: líderes desde el 2007