Diferencia entre revisiones de «Fastboot»

(Página creada con «{{Definición |nombre=Fastboot |imagen=Fastboot_2.jpg |tamaño=240px |concepto= Protocolo de Android }} EL '''Fastboot''' es un protocolo de Android que permite m…»)
(Etiqueta: nuestro-nuestra)
 
(Comandos)
(Etiqueta: nuestro-nuestra)
Línea 15: Línea 15:
  
 
==Comandos==
 
==Comandos==
*update [filename]                        reflash device from update.zip
+
update [filename]                        reflash device from update.zip
*flashall                                flash boot + recovery + system
+
flashall                                flash boot + recovery + system
*flash [partition] [filename]            write a file to a flash partition
+
flash [partition] [filename]            write a file to a flash partition
*erase [partition]                        erase a flash partition
+
erase [partition]                        erase a flash partition
*format [partition]                      format a flash partition  
+
format [partition]                      format a flash partition  
*getvar [variable]                        display a bootloader variable
+
getvar [variable]                        display a bootloader variable
*boot [kernel] [ramdisk]                  download and boot kernel
+
boot [kernel] [ramdisk]                  download and boot kernel
*flash:raw boot [kernel] [ramdisk]        create bootimage and flash it
+
flash:raw boot [kernel] [ramdisk]        create bootimage and flash it
*devices                                  list all connected devices
+
devices                                  list all connected devices
*continue                                continue with autoboot
+
continue                                continue with autoboot
*reboot                                  reboot device normally
+
reboot                                  reboot device normally
*reboot-bootloader                        reboot device into bootloader
+
reboot-bootloader                        reboot device into bootloader
*help                                    show this help message
+
help                                    show this help message
  
 
options:
 
options:
Línea 37: Línea 37:
 
   -b [base_addr]                          specify a custom kernel base address
 
   -b [base_addr]                          specify a custom kernel base address
 
   -n [page size]                          specify the nand page size. default: 2048
 
   -n [page size]                          specify the nand page size. default: 2048
 
  
 
==Fuentes==
 
==Fuentes==

Revisión del 12:31 18 feb 2021

Fastboot
Información sobre la plantilla
Fastboot 2.jpg
Concepto:Protocolo de Android

EL Fastboot es un protocolo de Android que permite modificar el filesystem mediante una conexión USB al smartphone. Este método está desactivado en algunos smartphones que necesitan ser root para poder activarlo. Este modo generalmente permanece oculto a los ojos de los usuarios, ya que realiza funciones especiales y no afecta el funcionamiento del teléfono.

Usos

  • Fastboot (carga rápida) es un modo de programación en teléfonos inteligentes Android que le permite realizar varias manipulaciones con el software cuando los métodos y soluciones estándar son inútiles. Por su principio y propósito, está más cerca de la Recuperación, pero, a diferencia de su contraparte habitual, se encuentra en un lugar más confiable y seguro.
  • Permite modificar el recovery, la rom, borrar el userdata, system, cache, … Cada smartphone tiene su combinación para poder entrar en este modo. En algunos caso hay que mantener pulsado de manera simultanea el botón de encendido así como el de subir y bajar volumen dependiendo del modelo.
  • Permite ejecutar desde una terminal comandos para interactuar con nuestro smartphone. Es necesario colocarse en la carpeta platform-tools de la SDK de Android.
  • El caso más popular es usarlo para flashear el recovery y sustituir el de fábrica por uno que permita actualizar desde un zip, hacer backups, o incluso cifrar/descifrar particione

Comandos

update [filename] reflash device from update.zip flashall flash boot + recovery + system flash [partition] [filename] write a file to a flash partition erase [partition] erase a flash partition format [partition] format a flash partition getvar [variable] display a bootloader variable boot [kernel] [ramdisk] download and boot kernel flash:raw boot [kernel] [ramdisk] create bootimage and flash it devices list all connected devices continue continue with autoboot reboot reboot device normally reboot-bootloader reboot device into bootloader help show this help message

options:

 -w                                       erase userdata and cache
 -s [serial number]                       specify device serial number
 -p [product]                             specify product name
 -c [cmdline]                             override kernel commandline
 -i [vendor id]                           specify a custom USB vendor id
 -b [base_addr]                           specify a custom kernel base address
 -n [page size]                           specify the nand page size. default: 2048

Fuentes