COMO COMPACTAR/DESCOMPACTAR CON SPLIT PARA COMPILAR EL ramdisk y boot.img DEL KERNEL ANDROID EN GNU/LINUX Ubuntu Debian Linux Mint
COMENZAMOS PARA DESCOMPACTAR/COMPACTAR "supuestos ajustes o configuraciones que queramos o sepamos hacerle al Kernel".
default_SE_bootlogo.zip
xperiaboottools.zip
PUES YA ESTÁ POR AHORA, PRÓXIMAMENTE MÁS Y MEJOR........
P.D. Falta el zimage, compilar, etc, etc..
.
COMENZAMOS PARA DESCOMPACTAR/COMPACTAR "supuestos ajustes o configuraciones que queramos o sepamos hacerle al Kernel".
- Descargamos los siguientes archivos desde MEGA:
default_SE_bootlogo.zip
xperiaboottools.zip
- CREAMOS UNA CARPETA CON EL NOMBRE QUE QUERAMOS, YO LA HE LLAMADO BOOT, DENTRO DE /Documentos DONDE METEREMOS EL KERNEL boot.img QUE QUERAMOS MODIFICAR O CONFIGURAR
- ABRIMOS UN TERMINAL LINUX:
Usuario:(manu@Lenovo) Directorio:(~)
- NOS SITUAMOS EN LA CARPETA DOCUMENTOS:
cd /Documentos
- Y AHORA EN LA CARPETA BOOT, en mi caso:
cd /boot
- QUEDANDO TAL QUE ASÍ:
Usuario:(manu@Lenovo) Directorio:(/boot)
- DESCOMPRIMIMOS EL ARCHIVO xperiaboottols.zip y COPIAMOS, PEGAMOS O MOVEMOS LOS SIGUIENTES 3 ARCHIVOS QUE HAY DENTRO EN LA CARPETA BOOT JUNTO AL boot.img (de nuevo este es en mi caso ¡¡eh!!):
- SEGUIMOS CON:
sudo cp mkbootimg /bin/
- Y NOS SOLICITARÁ EL PASSW DE USUARIO PARA DAR PERMISOS COMO ROOT (Administrador) AÑADIMOS PERMISOS 755 CON CHMOD
sudo chmod 755 /bin/mkbootimg
- Y YA DESCOMPACTAMOS CON PERL "mención a mi jefe JJ" (perl es un lenguaje de programación) CON EL SIGUIENTE COMANDO:
perl split_bootimg.pl boot.img
- AHORA CREAMOS OTRA CARPETA CON EL NOMBRE RAMDISK:
mkdir ramdisk
- Y NOS POSICIONAMOS DENTRO DE DICHA CARPETA:
cd ramdisk/
- DESCOMPRIMIMOS CON EL SIGUIENTE COMANDO:
gzip -dc ../boot.img-ramdisk.gz | cpio -i
- YA TENEMOS TRABAJO PARA TRASTEAR, BICHEAR O LO QUE SEA POR AHÍ. UNA VEZ TERMINADO DE TOQUETEAR, CAMBIAR, MIRAR O LO QUE SEA.
- VOLVEMOS A COMPACTAR, PRIMERO DEBEMOS DE VOLVER A LA RUTA INICIAL DENTRO DE LA CARPETA BOOT, CON:
cd
- COMPACTAMOS EL boot.img-kernel EN LA RUTA QUE QUERAMOS, EN ESTE CASO EN LA MISMA CARPETA boot CON EL SIGUIENTE COMANDO, OJO EN ESTE CASO ES CON MI NOMBRE Y LA RUTA QUE YO HE ELEGIDO:
perl repack-bootimg.pl '/home/manu/Documentos/boot/boot.img-kernel' '/home/manu/Documentos/boot/ramdisk' nuevoboot.img
PUES YA ESTÁ POR AHORA, PRÓXIMAMENTE MÁS Y MEJOR........
P.D. Falta el zimage, compilar, etc, etc..
.
Hola Manu
ResponderEliminarMuy bueno
Saludos
Hola Luis.
EliminarGracias!! Aún falta por hacer mucho.
Saludos...
Luis pues si tienes un s3 I9300 de Samsung y quieres ponerle mi propia rom, aquí te la dejo para que te sirvas tú mismo o quien la quiera:
ResponderEliminarhttp://www.esp-desarrolladores.com/showthread.php?t=2986
Se puede hacer una mientras sea Android
Hola Manu
ResponderEliminarGracias por la rom, me gustaría probarla pero estoy un poco corto, tengo un s2
Saludos