Ver Mensaje Individual
  #3  
Viejo 25/11/12, 00:52:18
Array

[xs_avatar]
Manolo55 Manolo55 no está en línea
Usuario muy activo
 
Fecha de registro: abr 2012
Mensajes: 2,018
Tu operador: Movistar

Instrucciones Linux

- Bajaros una ROM oficial y descomprimirla

- Una vez dentro, renombrar los siguientes archivos:
recovery.img ---> (NVSBL)recovery.img

flash.cfg ----> (NVSBL)flash.cfg

NOTA MUY IMPORTANTE: EN LINUX ES CRUCIAL RESPETAR LAS MAYÚSCULAS Y MINÍSCULAS, SI NO LO PONÉIS IGUAL NO FUNCIONARÁ.
- A continuación bajaros el pack de nuevos recoveries de Flecky de aquí: http://www.nvsbl.es/soporte/privado/...23-11-2012.rar

- Descomprimirla e introducir su contenido en la carpeta descomprimida de la ROM oficial

- En la carpeta que habéis descomprimido la ROM y el pack de recoveries de Flecky cread un archivo de texto llamado gaftn.sh. Copiad dentro el código citado dentro y guardad y le dais permiso de ejecución. Una vez hecho eso, vais a la carpeta y ejecutad gaftn.sh - .gaftn sh o sh gaftn.sh - y pista.

Si es mucho trabajo crear el archivo... podéis descargarlo de aquí: http://dl.dropbox.com/u/7476509/htcmania/gaftn.zip

 Cita:
#!/bin/bash
#
# script name: GAFTN (Gemini Apside Flashing Tool for Newies -like me :P -)
# version: 0.9
# description: Script for flahsing Gemini Apside Tablet
# author: Manolo55 at www.htcmania.com
# author_email: [email protected]
# url: http://www.htcmania.com/member.php?u=779193
# license: GPL v2
# data_files: None
# scripts: gaftn.sh
#
# To my poles (I'm not married, so I cannot write to my wife. What a pity. )
#

# FUNCTIONS
# MENU1, MENU2, NVSBLRECOVERY, CWMRECOVERY6012, TOUCHCOVERY6014, STOCKROM, OPTION2, OPTION3, ABANDON, RECOVERYEXTRA1, RECOVERYEXTRA2


MENU1 ()
{
clear

echo Step 1: RECOVERY SELECTION
echo
echo '0) Quit'
echo '1) NVSBL-Unusual Recovery'
echo '2) CWM Recovery 6.0.1.2'
echo '3) Touch Recovery 6.0.1.4'
# echo '4) Recovery Extra 1'
# echo '5) Recovery Extra 2'
#
# To add more recoveries...
#

echo
echo Please select a Recovery or Quit [0-3]:
read selrecov

if [ $selrecov == 0 ]
then
ABANDON
fi

if [ $selrecov == 1 ]
then
NVSBLRECOVERY
fi

if [ $selrecov == 2 ]
then
CWMRECOVERY6012
fi

if [ $selrecov == 3 ]
then
TOUCHRECOVERY6014
fi

# if [ $selrecov == 4 ]
# then
# EXTRARECOVERY1
# fi

# if [ $selrecov == 5 ]
#then
#EXTRARECOVERY2
#fi

#
# To add more recoveries...
#

clear
read -p "Invalid option, try again (Press [Enter] to continue...)"

MENU1
}


MENU2 ()
{
clear

echo Step 2: FLASHING
echo
echo '0) Quit'
echo '1) Flash a STOCK ROM -No chance of recovery change after-'
echo '2) Flash a WHOLE ROM WITH RECOVERY selection'
echo '3) ONLY flash CHOSEN RECOVERY'
echo
echo Please select an option or Quit [0-3]:
read selflash

if [ $selflash == 0 ]
then
ABANDON
fi

if [ $selflash == 1 ]
then
STOCKROM
fi

if [ $selflash == 2 ]
then
OPTION2
fi

if [ $selflash == 3 ]
then
OPTION3
fi

clear
read -p "Invalid option, try again (Press [Enter] to continue...)"

MENU2
}


NVSBLRECOVERY ()
{
cp '(NVSBL)recovery.img' recovery.img
cp '(Flecky)flash.cfg' flash.cfg
MENU2
}


CWMRECOVERY6012 ()
{
cp '(CWM)recovery.img' recovery.img
cp '(Flecky)flash.cfg' flash.cfg
MENU2
}


TOUCHRECOVERY6014 ()
{
cp '(Touch)recovery.img' recovery.img
cp '(Flecky)flash.cfg' flash.cfg
MENU2
}


# EXTRARECOVERY1 ()
# {
# cp '(EXTRA1)recovery.img' recovery.img
# cp '(Flecky)flash.cfg' flash.cfg
# MENU2
# }


# EXTRARECOVERY2 ()
# {
# cp '(EXTRA2)recovery.img' recovery.img
# cp '(Flecky)flash.cfg' flash.cfg
# MENU2
# }

#
# To add more recoveries ...
#


STOCKROM ()
{
clear
cp '(NVSBL)recovery.img' recovery.img
cp '(NVSBL)flash.cfg' flash.cfg
./00_flashos.sh
ABANDON
}


OPTION2 ()
{
clear
./00_flashos.sh
ABANDON
}


OPTION3 ()
{
clear
./01_flashrecovery.sh
ABANDON
}


ABANDON ()
{
clear
exit
}


# MAIN PROGRAM

clear

if [ ! -e "(NVSBL)recovery.img" ]
then
cp recovery.img '(NVSBL)recovery.img'
fi

if [ -e "(NVSBL)recovery.img" ]
then
cp '(NVSBL)recovery.img' recovery.img
fi

if [ ! -e "(Flecky)flash.cfg" ]
then
cp flash.cfg '(Flecky)flash.cfg'
fi

MENU1
MENU2
ABANDON
¿Qué va a ver el intrépido flasheador? En primer lugar este menú:



Obviamente es claro, elegimos el recovery que nos interese, y luego pasa a otro menú:



La opción 1) permite flashear la ROM oficial, o similar, como la bielorrusa tal y como viene de fábrica.

La opción 2) permite flashear la ROM oficial, o similar, com la bielorrusa, con el recovery que se quiera, NVSBL, CWM o Touch pero dejando espacio suficiente para que pueda cambiarse el recovery a capricho -lo cual no permite la opción 1)

La opción 3) permite flashear solamente el recovery seleccionado en el primer menú.

Última edición por Manolo55 Día 28/11/12 a las 12:08:54.
Responder Con Cita
Los siguientes 2 usuarios han agradecido a Manolo55 su comentario: