User Tools

Site Tools


linux:Android.One.OEM.Unlock

Unlock Android One dengan fastboot

HP Android One Evercoss A65 saya kena bootloop, minta diflash, jadi harus melewati proses ini dulu sebelum diflash.

Masuk mode fastboot

Caranya dalam posisi ponsel mati tahan tombol volume up+power, akan muncul ikon robot ijo yang di bawahnya ada tulisan "tidak ada perintah", tekan lagi dan tahan tombol power, lalu tekan tombol volume up, dan pilih fastboot,

Kemudian hubungkan ponsel anda dalam posisi fastboot mode

root@studio:~# apt install android-tools-fastboot
Sedang membaca daftar paket... Selesai
Membangun pohon ketergantungan        
Membaca informasi yang tersedia... Selesai
Paket-paket berikut dipasang secara otomatis dan tak diperlukan lagi:
  libio-multiplex-perl libnet-cidr-perl libnet-server-perl libnet-snmp-perl libuv1
Use 'sudo apt autoremove' to remove them.
Paket BARU berikut akan diinstal:
  android-tools-fastboot
0 dimutakhirkan, 1 baru terinstal, 0 akan dihapus dan 605 tidak akan dimutakhirkan.
Perlu mendapatkan 54,7 kB dari arsip.
Setelah operasi ini, 147 kB ruang kosong harddisk akan digunakan.
Get:1 http://kartolo.sby.datautama.net.id/ubuntu xenial/universe amd64 android-tools-fastboot amd64 5.1.1r36+git20160322-0ubuntu3 [54,7 kB]
Mengambil 54,7 kB dalam waktu 0detik (55,5 kB/s)
Selecting previously unselected package android-tools-fastboot.
(Sedang membaca basis data ...  401692 berkas atau direktori telah terpasang.)
Preparing to unpack .../android-tools-fastboot_5.1.1r36+git20160322-0ubuntu3_amd64.deb ...
Unpacking android-tools-fastboot (5.1.1r36+git20160322-0ubuntu3) ...
Sedang menata android-tools-fastboot (5.1.1r36+git20160322-0ubuntu3) ... 
root@studio:~# fastboot
usage: fastboot [ <option> ] <command>
 
commands:
  update <filename>                        reflash device from update.zip
  flashall                                 flash boot, system, vendor and if found,
                                           recovery
  flash <partition> [ <filename> ]         write a file to a flash partition
  erase <partition>                        erase a flash partition
  format[:[<fs type>][:[<size>]] <partition> format a flash partition.
                                           Can override the fs type and/or
                                           size the bootloader reports.
  getvar <variable>                        display a bootloader variable
  boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
  flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] 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 (and format
                                           if supported by partition type)
  -u                                       do not first erase partition before
                                           formatting
  -s <specific device>                     specify device serial number
                                           or path to device port
  -l                                       with "devices", lists device paths
  -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.
                                           default: 0x10000000
  -n <page size>                           specify the nand page size.
                                           default: 2048
  -S <size>[K|M|G]                         automatically sparse files greater
                                           than size.  0 to disable
root@studio:~# fastboot devices
root@studio:~# fastboot devices
root@studio:~# fastboot devices
root@studio:~# fastboot devices
root@studio:~# cd /home/samsul/Unduhan/Linux/AndroidOne/
 
root@studio:/home/samsul/Unduhan/Linux/AndroidOne# fastboot devices
GGC00C0604A466X	fastboot
root@studio:/home/samsul/Unduhan/Linux/AndroidOne# fastboot oem unlock
...
(bootloader) Start unlock flow
 
OKAY [ 36.025s]
finished. total time: 36.025s
root@studio:/home/samsul/Unduhan/Linux/AndroidOne# fastboot -w
Creating filesystem with parameters:
    Size: 6375342080
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8112
    Inode size: 256
    Journal blocks: 24320
    Label: 
    Blocks: 1556480
    Block groups: 48
    Reserved block group size: 383
Created filesystem with 11/389376 inodes and 51835/1556480 blocks
target reported max download size of 134217728 bytes
Creating filesystem with parameters:
    Size: 134217728
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 1024
    Label: 
    Blocks: 32768
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/8192 inodes and 1550/32768 blocks
erasing 'userdata'...
OKAY [  3.666s]
sending 'userdata' (101301 KB)...
OKAY [  4.553s]
writing 'userdata'...
OKAY [  7.445s]
erasing 'cache'...
OKAY [  0.107s]
sending 'cache' (6200 KB)...
OKAY [  0.282s]
writing 'cache'...
OKAY [  0.467s]
finished. total time: 16.520s
root@studio:/home/samsul/Unduhan/Linux/AndroidOne# ls
lineage-14.1-20170827-UNOFFICIAL-sprout4.zip
root@studio:/home/samsul/Unduhan/Linux/AndroidOne# fastboot update lineage-14.1-20170827-UNOFFICIAL-sprout4.zip
archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt
root@studio:/home/samsul/Unduhan/Linux/AndroidOne# fastboot reboot
rebooting...
 
finished. total time: 0.052s
root@studio:/home/samsul/Unduhan/Linux/AndroidOne# ls
linux/Android.One.OEM.Unlock.txt · Terakhir diubah: 11/12/2017 09:49 oleh samsul