(Script) Auto Fastboot Flash All for any Xiaomi device - General Topics

Auto Flash_all script for any xiaomi phone..​there are 2 Option first using GUI and Second by Running Individual File, if you use GUI you have to do nothing if you use Individual file you have to specify firmware folder in 'dir.cmd'
Require- unlock bootloader + critical
How to use:
connect phone to computer in fastboot mod​if you have a phone with Single slot Run FlashA.exe​if you have a phone with dual slot run flashab.exe​​Method 2:​Run GUI fastboot_flasher.exe​
How to it works:
first it generate a partition list from your device, once it have a complete list it will start flashing one by one, for devices with AB slot it will add _ab flag to each partition like 'boot_ab' then file name which is 'boot.img' & final code look like 'fastboot flash boot_ab boot.img' once done it will set active slot to 'a'
Note:
make sure you use official firmware package (to fix file not found error)
don't run this script just for test or run on a test device because it will wipe all userdata at the end
you can't make a copy of generated script you have to use flasha.exe or flashab.exe every time
tested and working on redmi note 6 pro, redmi note 11 pro plus, redmi 5a
GUI No Response: because you have click 'Download' before connecting the device (so first connect device then click download button)

mark332 said:
Auto Flash_all script for any xiaomi phone..​there are 2 Option first using GUI and Second by Running Individual File, if you use GUI you have to do nothing if you use Individual file you have to specify firmware folder in 'dir.cmd'
Require- unlock bootloader + critical
How to use:
connect phone to computer in fastboot mod​if you have a phone with Single slot Run FlashA.exe​if you have a phone with dual slot run flashab.exe​​Method 2:​Run GUI fastboot_flasher.exe​
How to it works:
first it generate a partition list from your device, once it have a complete list it will start flashing one by one, for devices with AB slot it will add _ab flag to each partition like 'boot_ab' then file name which is 'boot.img' & final code look like 'fastboot flash boot_ab boot.img' once done it will set active slot to 'a'
Note:
make sure you use official firmware package (to fix file not found error)
don't run this script just for test or run on a test device because it will wipe all userdata at the end
you can't make a copy of generated script you have to use flasha.exe or flashab.exe every time
Download Link: https://1drv.ms/u/s!An6n6lvbmltBjykcUxcMdCAIlb0N?e=7YUzxo
tested and working on redmi note 6 pro, redmi note 11 pro plus, redmi 5a
GUI No Response: because you have click 'Download' before connecting the device (so first connect device then click download button)
Click to expand...
Click to collapse
this tool use search & replace trick to get partition from getvarall, if the device does not show any partition in getvarall then it will not work
output look like this=
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x27f3fbe00
(bootloader) partition-type:cust:
(bootloader) partition-size:cust: 0x20000000
(bootloader) partition-type:dpo:
(bootloader) partition-size:dpo: 0x2000
(bootloader) partition-type:msadp:
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:keymasterbak:
(bootloader) partition-size:keymasterbak: 0x40000
(bootloader) partition-type:keymaster:
(bootloader) partition-size:keymaster: 0x40000
(bootloader) partition-type:cmnlib64bak:
(bootloader) partition-size:cmnlib64bak: 0x40000
(bootloader) partition-type:cmnlib64:
(bootloader) partition-size:cmnlib64: 0x40000
(bootloader) partition-type:cmnlibbak:
(bootloader) partition-size:cmnlibbak: 0x40000
(bootloader) partition-type:cmnlib:
(bootloader) partition-size:cmnlib: 0x40000
(bootloader) partition-type:lksecappbak:
(bootloader) partition-size:lksecappbak: 0x20000
(bootloader) partition-type:lksecapp:
(bootloader) partition-size:lksecapp: 0x20000
(bootloader) partition-type:mcfg:
(bootloader) partition-size:mcfg: 0x400000
(bootloader) partition-type:syscfg:
(bootloader) partition-size:syscfg: 0x80000
(bootloader) partition-type:mdtp:
(bootloader) partition-size:mdtp: 0x2000000
(bootloader) partition-type:dip:
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:mota:
(bootloader) partition-size:mota: 0x80000
(bootloader) partition-type:limits:
(bootloader) partition-size:limits: 0x8000
(bootloader) partition-typeem:
(bootloader) partition-sizeem: 0x4000000
(bootloader) partition-type:config:
(bootloader) partition-size:config: 0x8000
(bootloader) partition-type:keystore:
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-typeersist:
(bootloader) partition-sizeersist: 0x2000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x10000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xc0000000
(bootloader) partition-type:devinfo:
(bootloader) partition-size:devinfo: 0x100000
(bootloader) partition-type:recovery:
(bootloader) partition-size:recovery: 0x4000000
(bootloader) partition-type:boot:
(bootloader) partition-size:boot: 0x4000000
(bootloader) partition-type:abootbak:
(bootloader) partition-size:abootbak: 0x100000
(bootloader) partition-type:aboot:
(bootloader) partition-size:aboot: 0x100000
(bootloader) partition-type:splash:
(bootloader) partition-size:splash: 0x1400000
(bootloader) partition-type:sec:
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:fsg:
(bootloader) partition-size:fsg: 0x400000
(bootloader) partition-typeDR:
(bootloader) partition-sizeDR: 0x8000
(bootloader) partition-type:modemst2:
(bootloader) partition-size:modemst2: 0x400000
(bootloader) partition-type:modemst1:
(bootloader) partition-size:modemst1: 0x400000
(bootloader) partition-type:dsp:
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:devcfgbak:
(bootloader) partition-size:devcfgbak: 0x40000
(bootloader) partition-type:devcfg:
(bootloader) partition-size:devcfg: 0x40000
(bootloader) partition-type:tzbak:
(bootloader) partition-size:tzbak: 0x200000
(bootloader) partition-type:tz:
(bootloader) partition-size:tz: 0x200000
(bootloader) partition-type:rpmbak:
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:sbl1bak:
(bootloader) partition-size:sbl1bak: 0x80000
(bootloader) partition-type:sbl1:
(bootloader) partition-size:sbl1: 0x80000
(bootloader) partition-type:ssd:
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:fsc:
(bootloader) partition-size:fsc: 0x400
(bootloader) partition-type:modem:
(bootloader) partition-size:modem: 0x5400000

mark332 said:
Auto Flash_all script for any xiaomi phone..​there are 2 Option first using GUI and Second by Running Individual File, if you use GUI you have to do nothing if you use Individual file you have to specify firmware folder in 'dir.cmd'
Require- unlock bootloader + critical
How to use:
connect phone to computer in fastboot mod​if you have a phone with Single slot Run FlashA.exe​if you have a phone with dual slot run flashab.exe​​Method 2:​Run GUI fastboot_flasher.exe​
How to it works:
first it generate a partition list from your device, once it have a complete list it will start flashing one by one, for devices with AB slot it will add _ab flag to each partition like 'boot_ab' then file name which is 'boot.img' & final code look like 'fastboot flash boot_ab boot.img' once done it will set active slot to 'a'
Note:
make sure you use official firmware package (to fix file not found error)
don't run this script just for test or run on a test device because it will wipe all userdata at the end
you can't make a copy of generated script you have to use flasha.exe or flashab.exe every time
tested and working on redmi note 6 pro, redmi note 11 pro plus, redmi 5a
GUI No Response: because you have click 'Download' before connecting the device (so first connect device then click download button)
Click to expand...
Click to collapse
where is the file
Run GUI fastboot_flasher.exe?

Related

I get stuck with a Sony for 3 years so looking for improvements

So im stuck in a 36 month contract with xz2 standard and im not too fond of it, i was told to look into rooting as instructions are everywhere and so I followed sonys direction for unlocking the bootloader. Very confused as to why it has not worked. Any tips points and apparently idiot/simplified to the most basic english yet not just pictures at this time will be greatly appreciated as at 32 i feel 6 again.
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\jimbo_000>fastboot devices
QV705CGX1B fastboot
C:\Users\jimbo_000>fastboot unlock oem 0x919ea620bb1fcf8
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if fou
nd,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
flashing lock locks the device. Prevents flashing
partitions
flashing unlock unlocks the device. Allows user to
flash any partition except the ones
that are related to bootloader
flashing lock_critical Prevents flashing bootloader related
partitions
flashing unlock_critical Enables flashing bootloader related
partitions
flashing get_unlock_ability Queries bootloader to see if the
device is unlocked
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> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot [bootloader] reboot device, optionally into bootlo
ader
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
C:\Users\jimbo_000>fastboot getvar all
(bootloader) hw-revision:20001
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4314
(bootloader) version-baseband:1311-7915_52.0.A.8.107
(bootloader) version-bootloader:1310-7079_X_Boot_SDM845_LA2.0_P_118
(bootloader) erase-block-size: 0x1000
(bootloader) logical-block-size: 0x1000
(bootloader) variant:SDM UFS
(bootloader) partition-type:xbl_config_b:raw
(bootloader) partition-size:xbl_config_b: 0x20000
(bootloader) partition-type:xbl_b:raw
(bootloader) partition-size:xbl_b: 0x3D5000
(bootloader) partition-type:xbl_config_a:raw
(bootloader) partition-size:xbl_config_a: 0x20000
(bootloader) partition-type:xbl_a:raw
(bootloader) partition-size:xbl_a: 0x3D5000
(bootloader) partition-type:rddata:raw
(bootloader) partition-size:rddata: 0x1400000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xBFA96C000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x20000
(bootloader) partition-type:fsmetadata:raw
(bootloader) partition-size:fsmetadata: 0x101000
(bootloader) partition-type:Qnovo:raw
(bootloader) partition-size:Qnovo: 0x1800000
(bootloader) partition-type:diag:raw
(bootloader) partition-size:diag: 0x2000000
(bootloader) partition-type:appslog:raw
(bootloader) partition-size:appslog: 0x1000000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-type:cdt:raw
(bootloader) partition-size:cdt: 0x20000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x200000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x200000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x200000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:toolsfv:raw
(bootloader) partition-size:toolsfv: 0x100000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x1000
(bootloader) partition-type:spunvm:raw
(bootloader) partition-size:spunvm: 0x800000
(bootloader) partition-type:msadp:raw
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:sec:raw
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:system_b:ext4
(bootloader) partition-size:system_b: 0xFC000000
(bootloader) partition-type:vendor_b:raw
(bootloader) partition-size:vendor_b: 0x40000000
(bootloader) partition-typeem_b:raw
(bootloader) partition-sizeem_b: 0x19000000
(bootloader) partition-type:dtbo_b:raw
(bootloader) partition-size:dtbo_b: 0x800000
(bootloader) partition-type:vbmeta_b:raw
(bootloader) partition-size:vbmeta_b: 0x10000
(bootloader) partition-type:rdimage_b:raw
(bootloader) partition-size:rdimage_b: 0x1400000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b: 0x4000000
(bootloader) partition-type:dsp_b:raw
(bootloader) partition-size:dsp_b: 0x2000000
(bootloader) partition-type:bluetooth_b:raw
(bootloader) partition-size:bluetooth_b: 0x100000
(bootloader) partition-type:modem_b:raw
(bootloader) partition-size:modem_b: 0xF000000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0xFC000000
(bootloader) partition-type:vendor_a:raw
(bootloader) partition-size:vendor_a: 0x40000000
(bootloader) partition-typeem_a:raw
(bootloader) partition-sizeem_a: 0x19000000
(bootloader) partition-type:dtbo_a:raw
(bootloader) partition-size:dtbo_a: 0x800000
(bootloader) partition-type:vbmeta_a:raw
(bootloader) partition-size:vbmeta_a: 0x10000
(bootloader) partition-type:rdimage_a:raw
(bootloader) partition-size:rdimage_a: 0x1400000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a: 0x4000000
(bootloader) partition-type:dsp_a:raw
(bootloader) partition-size:dsp_a: 0x2000000
(bootloader) partition-type:bluetooth_a:raw
(bootloader) partition-size:bluetooth_a: 0x100000
(bootloader) partition-type:modem_a:raw
(bootloader) partition-size:modem_a: 0xF000000
(bootloader) partition-type:tzxfl_b:raw
(bootloader) partition-size:tzxfl_b: 0x80000
(bootloader) partition-type:tzxflattest_b:raw
(bootloader) partition-size:tzxflattest_b: 0x80000
(bootloader) partition-type:xfl_b:raw
(bootloader) partition-size:xfl_b: 0x1E00000
(bootloader) partition-type:qupfw_b:raw
(bootloader) partition-size:qupfw_b: 0x10000
(bootloader) partition-type:devcfg_b:raw
(bootloader) partition-size:devcfg_b: 0x20000
(bootloader) partition-type:cmnlib64_b:raw
(bootloader) partition-size:cmnlib64_b: 0x80000
(bootloader) partition-type:cmnlib_b:raw
(bootloader) partition-size:cmnlib_b: 0x80000
(bootloader) partition-type:keymaster_b:raw
(bootloader) partition-size:keymaster_b: 0x80000
(bootloader) partition-type:abl_b:raw
(bootloader) partition-size:abl_b: 0x180000
(bootloader) partition-type:hyp_b:raw
(bootloader) partition-size:hyp_b: 0x80000
(bootloader) partition-type:tz_b:raw
(bootloader) partition-size:tz_b: 0x200000
(bootloader) partition-type:aop_b:raw
(bootloader) partition-size:aop_b: 0x80000
(bootloader) partition-type:tzxfl_a:raw
(bootloader) partition-size:tzxfl_a: 0x80000
(bootloader) partition-type:tzxflattest_a:raw
(bootloader) partition-size:tzxflattest_a: 0x80000
(bootloader) partition-type:xfl_a:raw
(bootloader) partition-size:xfl_a: 0x1E00000
(bootloader) partition-type:qupfw_a:raw
(bootloader) partition-size:qupfw_a: 0x10000
(bootloader) partition-type:devcfg_a:raw
(bootloader) partition-size:devcfg_a: 0x20000
(bootloader) partition-type:cmnlib64_a:raw
(bootloader) partition-size:cmnlib64_a: 0x80000
(bootloader) partition-type:cmnlib_a:raw
(bootloader) partition-size:cmnlib_a: 0x80000
(bootloader) partition-type:keymaster_a:raw
(bootloader) partition-size:keymaster_a: 0x80000
(bootloader) partition-type:abl_a:raw
(bootloader) partition-size:abl_a: 0x180000
(bootloader) partition-type:hyp_a:raw
(bootloader) partition-size:hyp_a: 0x80000
(bootloader) partition-type:tz_a:raw
(bootloader) partition-size:tz_a: 0x200000
(bootloader) partition-type:aop_a:raw
(bootloader) partition-size:aop_a: 0x80000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x1000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-typeersist:raw
(bootloader) partition-sizeersist: 0x2000000
(bootloader) partition-type:xflkeystorebak:raw
(bootloader) partition-size:xflkeystorebak: 0x20000
(bootloader) partition-type:xflkeystore:raw
(bootloader) partition-size:xflkeystore: 0x20000
(bootloader) partition-type:LTALabel:raw
(bootloader) partition-size:LTALabel: 0x1000000
(bootloader) partition-type:TA:raw
(bootloader) partition-size:TA: 0x200000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:yes
(bootloader) current-slot:b
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:6
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:yes
(bootloader) slot-retry-count:a:6
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) slot-count:2
(bootloader) secure:yes
(bootloader) serialno:QV705CGX1B
(bootloader) serial:aa7c199
(bootloader) product:H8216
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
finished. total time: 0.949s
C:\Users\jimbo_000>adb reboot bootloader
adb server is out of date. killing...
* daemon started successfully *
error: device '(null)' not found
C:\Users\jimbo_000>adb reboot bootloader
error: device '(null)' not found
C:\Users\jimbo_000>fastboot flash recovery twrp.img
error: cannot load 'twrp.img'
C:\Users\jimbo_000>fastboot flash recovery twrp.img
error: cannot load 'twrp.img'
C:\Users\jimbo_000>adb reboot bootloader
adb server is out of date. killing...
* daemon started successfully *
error: device '(null)' not found
C:\Users\jimbo_000>adb reboot bootloader
error: device '(null)' not found
C:\Users\jimbo_000>
Following the steps in the TWRP thread would be the first step towards rooting.
MartinX3 said:
Following the steps in the TWRP thread would be the first step towards rooting.
Click to expand...
Click to collapse
is this still relevant?
https://www.xda-developers.com/how-to-install-twrp/

Google lock on Sony Xperia XZ1 G8342

I just bought a Sony Xperia XZ1 G8342 off eBay that was sold saying that it was Google locked. I've been flashing phones for years with the help of XDA and figured I would just get it into recovery and wipe the software or use ADB from my Linux computer. Both methods have proven difficult, though, as there isn't a recovery system that I can get to on this Sony Xperia XZ1. I would like to install a custom ROM on this phone but to do that it has to have the bootloader unlocked and I did find that it is still locked using fastboot, however the phone won't let me get into settings to enable USB debugging which is what Sony developers want u to do in this guide:
Sony Developers Guide-unlock bootloader
Now I can get this phone into fastboot mode by having the phone powered off, pressing volume up and plugging in a usb cable from my computer at the same time. Then the LED turns blue and fastboot devices doesn't return an error.
So, do I need to have USB debugging enabled on the phone (or maybe somebody else already did this) if I don't get a fastboot error?
I was able to get this long output from fastboot getvar all:
(bootloader) hw-revision:20001
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4324
(bootloader) version-baseband:1307-7471_47.2.A.11.228
(bootloader) version-bootloader:1306-5035_X_Boot_MSM8998_LA2.0_P_114
(bootloader) erase-block-size: 0x1000
(bootloader) logical-block-size: 0x1000
(bootloader) variant:MSM UFS
(bootloader) partition-type:xblbak:raw
(bootloader) partition-size:xblbak: 0x3F5000
(bootloader) partition-type:xbl:raw
(bootloader) partition-size:xbl: 0x3F5000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xCFA976000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x138800000
(bootloader) partition-type:vendor:raw
(bootloader) partition-size:vendor: 0x60000000
(bootloader) partition-type:oem:raw
(bootloader) partition-size:oem: 0x19000000
(bootloader) partition-type:rdimage:raw
(bootloader) partition-size:rdimage: 0x2000000
(bootloader) partition-type:fsmetadata:raw
(bootloader) partition-size:fsmetadata: 0x101000
(bootloader) partition-type:Qnovo:raw
(bootloader) partition-size:Qnovo: 0x1800000
(bootloader) partition-type:diag:raw
(bootloader) partition-size:diag: 0x2000000
(bootloader) partition-type:appslog:raw
(bootloader) partition-size:appslog: 0x1000000
(bootloader) partition-type:vbmeta:raw
(bootloader) partition-size:vbmeta: 0x10000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x17C00000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x1000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x200000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x200000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:FOTAKernel:raw
(bootloader) partition-size:FOTAKernel: 0x4000000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:toolsfv:raw
(bootloader) partition-size:toolsfv: 0x100000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x1000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash: 0x20A4000
(bootloader) partition-type:dpo:raw
(bootloader) partition-size:dpo: 0x1000
(bootloader) partition-type:msadp:raw
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:bluetooth:raw
(bootloader) partition-size:bluetooth: 0x100000
(bootloader) partition-type:boot:raw
(bootloader) partition-size:boot: 0x4000000
(bootloader) partition-type:dsp:raw
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:modem:raw
(bootloader) partition-size:modem: 0x6E00000
(bootloader) partition-type:sec:raw
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x180000
(bootloader) partition-type:persist:raw
(bootloader) partition-size:persist: 0x2000000
(bootloader) partition-type:xflkeystorebak:raw
(bootloader) partition-size:xflkeystorebak: 0x20000
(bootloader) partition-type:xflkeystore:raw
(bootloader) partition-size:xflkeystore: 0x20000
(bootloader) partition-type:tzxflbak:raw
(bootloader) partition-size:tzxflbak: 0x80000
(bootloader) partition-type:tzxfl:raw
(bootloader) partition-size:tzxfl: 0x80000
(bootloader) partition-type:tzxflattestbak:raw
(bootloader) partition-size:tzxflattestbak: 0x80000
(bootloader) partition-type:tzxflattest:raw
(bootloader) partition-size:tzxflattest: 0x80000
(bootloader) partition-type:xflbak:raw
(bootloader) partition-size:xflbak: 0x1E00000
(bootloader) partition-type:xfl:raw
(bootloader) partition-size:xfl: 0x1E00000
(bootloader) partition-type:storsecbak:raw
(bootloader) partition-size:storsecbak: 0x20000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec: 0x20000
(bootloader) partition-type:devcfgbak:raw
(bootloader) partition-size:devcfgbak: 0x20000
(bootloader) partition-type:devcfg:raw
(bootloader) partition-size:devcfg: 0x20000
(bootloader) partition-type:sti:raw
(bootloader) partition-size:sti: 0x200000
(bootloader) partition-type:cmnlib64bak:raw
(bootloader) partition-size:cmnlib64bak: 0x80000
(bootloader) partition-type:cmnlib64:raw
(bootloader) partition-size:cmnlib64: 0x80000
(bootloader) partition-type:cmnlibbak:raw
(bootloader) partition-size:cmnlibbak: 0x80000
(bootloader) partition-type:cmnlib:raw
(bootloader) partition-size:cmnlib: 0x80000
(bootloader) partition-type:keymasterbak:raw
(bootloader) partition-size:keymasterbak: 0x80000
(bootloader) partition-type:keymaster:raw
(bootloader) partition-size:keymaster: 0x80000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x1000
(bootloader) partition-type:ablbak:raw
(bootloader) partition-size:ablbak: 0x180000
(bootloader) partition-type:abl:raw
(bootloader) partition-size:abl: 0x180000
(bootloader) partition-type:pmicbak:raw
(bootloader) partition-size:pmicbak: 0x80000
(bootloader) partition-type:pmic:raw
(bootloader) partition-size:pmic: 0x80000
(bootloader) partition-type:hypbak:raw
(bootloader) partition-size:hypbak: 0x80000
(bootloader) partition-type:hyp:raw
(bootloader) partition-size:hyp: 0x80000
(bootloader) partition-type:tzbak:raw
(bootloader) partition-size:tzbak: 0x200000
(bootloader) partition-type:tz:raw
(bootloader) partition-size:tz: 0x200000
(bootloader) partition-type:rpmbak:raw
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:raw
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:LTALabel:raw
(bootloader) partition-size:LTALabel: 0x1000000
(bootloader) partition-type:TA:raw
(bootloader) partition-size:TA: 0x200000
(bootloader) secure:yes
(bootloader) product:G8342
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
Why is it google locked though? Thrown away phone that was refurbished or stolen? You should attempt google FRP bypass first, there are some guides online (a lot of them being fake and scammy), then you can actually access the phone, then you can modify it in any way you see fit.
I have no idea why the phone is Google locked...maybe the store I bought this from restored the software and locked it in the process and decided they weren't putting any more time into it? I did go through a bunch of FRP guides over the last couple days and the one that seemed like it would work was putting in a phone code to get to a recovery but this phone only lets me get to the emergency dialer which won't take codes. I think the software on this 2017 phone is more recent than the guides I've gone through.
Marty
I think I got my answer by using that fastboot command on 2 other Sony Xperias that have unlocked bootloaders and with debugging disabled...I was still able to get into them with fastboot. I'm just not sure if I can unlock the bootloader on the Xperia XZ1 if I don't know if the settings on the phone still have debugging enabled.
So, this phone seems to be useless when Google has locked it and the settings can't be accessed to enable android debugging so the bootloader can be unlocked? I can't believe I can't boot this into a recovery!
Marty
Maybe flash twrp into the device memory.? I can do that on my other Sony Xperias with fastboot boot .
What I've found out is that Sony's drm keys get deleted when the bootloader gets unlocked, so u want to backup the TA partition first. So would putting twrp into the memory or flashing on an official Sony ROM mess these up?
Marty
Nope-even flashing to memory won't work. Looks like Google can make android phones into paperweights!
Code:
[email protected]:~/Sony Xperia XZ1$ fastboot boot twrp-3.5.2_9-0-poplar.img
downloading 'boot.img'...
OKAY [ 1.996s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 1.997s
Marty
I don't think any software can be flashed on this Google locked phone without unlocking. I went through even more FRP threads and found nothing that can work on the Android 9.0 software. It looks like the things that work were for the original Android 8.0 OS that this phone had.
Hopefully I'm wrong!
Marty
LinuxHippy said:
I don't think any software can be flashed on this Google locked phone without unlocking. I went through even more FRP threads and found nothing that can work on the Android 9.0 software. It looks like the things that work were for the original Android 8.0 OS that this phone had.
Hopefully I'm wrong!
Marty
Click to expand...
Click to collapse
Ever find a solution? I'm in the same boat.

Asus Zenfone 5 Lite ZC600KL stuck on logo

Hello all
need some help with the mentioned phone that is stuck on the Asus logo when powering up
i have tried to go into the recovery / reset mode but for some unknown reason all i can seem to get is CSC fastboot mode long press power key to shutdown and nothing else even using up and down volume nothig
i tried using tools like minimul ADB as well as fastboot platform tools now with ADB minimul phone did respond to it once but after nothing else..... the fastboot platform tools does respond and when using the command fastboot devices it will show up what appears to be a serial number another command fastboot recovery i believe will make the phone shutdown and reboot back into fastboot mode this time with what apeears to be a barcode on the right side of the screen
now i have a sneaky feeling that the phone has somehow corrupted the boot partition or where ever the boot files are located preventing me to boot phone or even get into recovery for a factory reset
now as mentioned above my phone is communicating with the computer so tho i am assuming only the platform tools will work with fastboot commands but adb wont work properly due to debugging mode not enabled
does anyone have any solutions and detailed instructions on how to fix the problem without firmware flashing
i will happily flash the firmware as a last resort but would need some advice on software to do this as i am used to MTK chipsets and using SP flashtools but this model phone isnt MTK
any help would be appreciated
many thanks
To clarify things: ADB deals with Android OS, Fastboot deals with bootloader.
To reboot phone from being within Fastboot mode into Recovery mode you run
Code:
fastboot reboot recovery
jwoegerbauer said:
To clarify things: ADB deals with Android OS, Fastboot deals with bootloader.
To reboot phone from being within Fastboot mode into Recovery mode you run
Code:
fastboot reboot recovery
Click to expand...
Click to collapse
Have tried that code all it does is send the phone straight back to the logo where it gets stuck
It seems the recovery side of things is missing completely as unable to access it via the power and volume buttons and even fastboot with the mentioned code doesn't bring it up
All I can access is fastboot mode by volume up plus power
The mentioned phone is based on a Qualcomm SoC, hence you've to use Qualcomm Flash Tool to re-flash phone's Stock ROM.
See also here:
Download Latest Qualcomm Flash Tool
This article leads you to one of the most demanded and popular flashing tools- Qualcomm Flash Tool. This incredible tool shares compatibility with all the Qualc
www.androidjungles.com
jwoegerbauer said:
The mentioned phone is based on a Qualcomm SoC, hence you've to use Qualcomm Flash Tool to re-flash phone's Stock ROM.
See also here:
Download Latest Qualcomm Flash Tool
This article leads you to one of the most demanded and popular flashing tools- Qualcomm Flash Tool. This incredible tool shares compatibility with all the Qualc
www.androidjungles.com
Click to expand...
Click to collapse
Thanks for that will download that tool ...
I just need to get the right firmware as this model phone has 4 versions of it the Q5 a USA model I believe that I know is of no use and another I believe to be Indian
But my version I believe to fall under global but seems there is 2 firmwares slightly different numbers and not sure what one to download I'm not sure if they are different because there is 2 versions one with 3GB ram and 32GB storage and the other mobile is a 4GB ram and 64GB storage
Previous phone I flashed was an Asus ZenFone 3 max I got the firmware for that from Asus but I cannot get anything out of Asus now
nighthawk658 said:
Thanks for that will download that tool ...
I just need to get the right firmware as this model phone has 4 versions of it the Q5 a USA model I believe that I know is of no use and another I believe to be Indian
But my version I believe to fall under global but seems there is 2 firmwares slightly different numbers and not sure what one to download I'm not sure if they are different because there is 2 versions one with 3GB ram and 32GB storage and the other mobile is a 4GB ram and 64GB storage
Previous phone I flashed was an Asus ZenFone 3 max I got the firmware for that from Asus but I cannot get anything out of Asus now
Click to expand...
Click to collapse
Hi there
i finally downloaded the firmware for the phone today took a while to figure out what one it was
let me give a few more details of the phone again
model ZC600KL
Chipset Qualcomm SDM630 Snapdragon 630 (14 nm
this is the details of the firmware i got Asus_Zenfone_5_Lite_ZC600KL_630_14.0400_1808.057_20180903_CMD
now within the firmware folder there is instructions and the driver when following the instructions firstly i would enter fastboot devices and the serial number will appear so all good then
the next instruction is flashall_AFT.cmd and this is what will appear
please make sure your device is under fastboot mode.
press 'Ctrl + C' can abort this scripts.
set dataerase = 0 and para =
target reported max download size of 536870912 bytes
sending 'abl' (156 KB)...
OKAY [ 0.015s]
writing 'abl'...
FAILED (remote: Error flashing partition : Write Protected)
finished. total time: 0.070s
abl--FAILED!--
Image Update ERROR !!!
its suggested my bootloader maybe locked and was told to try this to get information getvar all and this is the result
(bootloader) hw-revision:10000
(bootloader) unlocked:no
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4290
(bootloader) version-baseband:
(bootloader) version-bootloader-CS2-8.0-user
(bootloader) erase-block-size: 0x200
(bootloader) logical-block-size: 0x200
(bootloader) variant:SDM EMMC
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xD20BF7E00
(bootloader) partition-type:version:raw
(bootloader) partition-size:version: 0x500000
(bootloader) partition-typeem:raw
(bootloader) partition-sizeem: 0x4000000
(bootloader) partition-type:APD:ext4
(bootloader) partition-size:APD: 0xD000000
(bootloader) partition-type:ADF:ext4
(bootloader) partition-size:ADF: 0x2000000
(bootloader) partition-type:asusfw:raw
(bootloader) partition-size:asusfw: 0x4000000
(bootloader) partition-type:wt_ftm:raw
(bootloader) partition-size:wt_ftm: 0x500000
(bootloader) partition-type:asdf:ext4
(bootloader) partition-size:asdf: 0x4000000
(bootloader) partition-type:factorybak:raw
(bootloader) partition-size:factorybak: 0xA00000
(bootloader) partition-type:factory:raw
(bootloader) partition-size:factory: 0xA00000
(bootloader) partition-type:asuskey6:raw
(bootloader) partition-size:asuskey6: 0x100000
(bootloader) partition-type:asuskey5:raw
(bootloader) partition-size:asuskey5: 0x100000
(bootloader) partition-type:asuskey4:raw
(bootloader) partition-size:asuskey4: 0x100000
(bootloader) partition-type:asuskey3:raw
(bootloader) partition-size:asuskey3: 0x100000
(bootloader) partition-type:asuskey2:raw
(bootloader) partition-size:asuskey2: 0x100000
(bootloader) partition-type:asuskey:raw
(bootloader) partition-size:asuskey: 0x100000
(bootloader) partition-type:vbmetabak:raw
(bootloader) partition-size:vbmetabak: 0x10000
(bootloader) partition-type:vbmeta:raw
(bootloader) partition-size:vbmeta: 0x10000
(bootloader) partition-type:rawdump:raw
(bootloader) partition-size:rawdump: 0x8000000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec: 0x20000
(bootloader) partition-type:sti:raw
(bootloader) partition-size:sti: 0x200000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:devcfgbak:raw
(bootloader) partition-size:devcfgbak: 0x100000
(bootloader) partition-type:devcfg:raw
(bootloader) partition-size:devcfg: 0x100000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-typeersist:raw
(bootloader) partition-sizeersist: 0x2000000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x400000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x400000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x400
(bootloader) partition-type:bluetoothbak:raw
(bootloader) partition-size:bluetoothbak: 0x100000
(bootloader) partition-type:bluetooth:raw
(bootloader) partition-size:bluetooth: 0x100000
(bootloader) partition-type:sec:raw
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:toolsfv:raw
(bootloader) partition-size:toolsfv: 0x100000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x1000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash: 0x20A4000
(bootloader) partition-type:dpo:raw
(bootloader) partition-size:dpo: 0x400
(bootloader) partition-type:msadp:raw
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x1000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:ablbak:raw
(bootloader) partition-size:ablbak: 0x100000
(bootloader) partition-type:abl:raw
(bootloader) partition-size:abl: 0x100000
(bootloader) partition-type:dspbak:raw
(bootloader) partition-size:dspbak: 0x1000000
(bootloader) partition-type:dsp:raw
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:modem:raw
(bootloader) partition-size:modem: 0x6E00000
(bootloader) partition-type:mdtp:raw
(bootloader) partition-size:mdtp: 0x2000000
(bootloader) partition-type:mdtpsecappbak:raw
(bootloader) partition-size:mdtpsecappbak: 0x400000
(bootloader) partition-type:mdtpsecapp:raw
(bootloader) partition-size:mdtpsecapp: 0x400000
(bootloader) partition-type:cmnlib64bak:raw
(bootloader) partition-size:cmnlib64bak: 0x100000
(bootloader) partition-type:cmnlibbak:raw
(bootloader) partition-size:cmnlibbak: 0x100000
(bootloader) partition-type:cmnlib64:raw
(bootloader) partition-size:cmnlib64: 0x100000
(bootloader) partition-type:cmnlib:raw
(bootloader) partition-size:cmnlib: 0x100000
(bootloader) partition-type:keymasterbak:raw
(bootloader) partition-size:keymasterbak: 0x100000
(bootloader) partition-type:keymaster:raw
(bootloader) partition-size:keymaster: 0x100000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x120000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x8000000
(bootloader) partition-type:recovery:raw
(bootloader) partition-size:recovery: 0x4000000
(bootloader) partition-type:boot:raw
(bootloader) partition-size:boot: 0x4000000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x400000
(bootloader) partition-typemicbak:raw
(bootloader) partition-sizemicbak: 0x80000
(bootloader) partition-typemic:raw
(bootloader) partition-sizemic: 0x80000
(bootloader) partition-type:hypbak:raw
(bootloader) partition-size:hypbak: 0x80000
(bootloader) partition-type:hyp:raw
(bootloader) partition-size:hyp: 0x80000
(bootloader) partition-type:rpmbak:raw
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:raw
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:tzbak:raw
(bootloader) partition-size:tzbak: 0x400000
(bootloader) partition-type:tz:raw
(bootloader) partition-size:tz: 0x400000
(bootloader) partition-type:xblbak:raw
(bootloader) partition-size:xblbak: 0x380000
(bootloader) partition-type:xbl:raw
(bootloader) partition-size:xbl: 0x380000
(bootloader) project-info:ZC600KL-SDM630
(bootloader) aft_support:yes
(bootloader) secure:yes
(bootloader) serial:c462427
(bootloader) product:sdm660
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
finished. total time: 3.552s
now i am totally lost haha i did also try looking at that Qualcomm flash tool and following some istructions it stated i needed to load in the flash software i believe to be an .mdm file but in the rom folder its different and plus it seems its rather compliated
any instructions on how to use the flash tool would be appreaicated
just to further note all i can do with the phone is enter fastboot mode again absolutely no recovery options or anything just fastboot appears
nighthawk658 said:
Hi there
i finally downloaded the firmware for the phone today took a while to figure out what one it was
let me give a few more details of the phone again
model ZC600KL
Chipset Qualcomm SDM630 Snapdragon 630 (14 nm
this is the details of the firmware i got Asus_Zenfone_5_Lite_ZC600KL_630_14.0400_1808.057_20180903_CMD
now within the firmware folder there is instructions and the driver when following the instructions firstly i would enter fastboot devices and the serial number will appear so all good then
the next instruction is flashall_AFT.cmd and this is what will appear
please make sure your device is under fastboot mode.
press 'Ctrl + C' can abort this scripts.
set dataerase = 0 and para =
target reported max download size of 536870912 bytes
sending 'abl' (156 KB)...
OKAY [ 0.015s]
writing 'abl'...
FAILED (remote: Error flashing partition : Write Protected)
finished. total time: 0.070s
abl--FAILED!--
Image Update ERROR !!!
its suggested my bootloader maybe locked and was told to try this to get information getvar all and this is the result
(bootloader) hw-revision:10000
(bootloader) unlocked:no
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4290
(bootloader) version-baseband:
(bootloader) version-bootloader-CS2-8.0-user
(bootloader) erase-block-size: 0x200
(bootloader) logical-block-size: 0x200
(bootloader) variant:SDM EMMC
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xD20BF7E00
(bootloader) partition-type:version:raw
(bootloader) partition-size:version: 0x500000
(bootloader) partition-typeem:raw
(bootloader) partition-sizeem: 0x4000000
(bootloader) partition-type:APD:ext4
(bootloader) partition-size:APD: 0xD000000
(bootloader) partition-type:ADF:ext4
(bootloader) partition-size:ADF: 0x2000000
(bootloader) partition-type:asusfw:raw
(bootloader) partition-size:asusfw: 0x4000000
(bootloader) partition-type:wt_ftm:raw
(bootloader) partition-size:wt_ftm: 0x500000
(bootloader) partition-type:asdf:ext4
(bootloader) partition-size:asdf: 0x4000000
(bootloader) partition-type:factorybak:raw
(bootloader) partition-size:factorybak: 0xA00000
(bootloader) partition-type:factory:raw
(bootloader) partition-size:factory: 0xA00000
(bootloader) partition-type:asuskey6:raw
(bootloader) partition-size:asuskey6: 0x100000
(bootloader) partition-type:asuskey5:raw
(bootloader) partition-size:asuskey5: 0x100000
(bootloader) partition-type:asuskey4:raw
(bootloader) partition-size:asuskey4: 0x100000
(bootloader) partition-type:asuskey3:raw
(bootloader) partition-size:asuskey3: 0x100000
(bootloader) partition-type:asuskey2:raw
(bootloader) partition-size:asuskey2: 0x100000
(bootloader) partition-type:asuskey:raw
(bootloader) partition-size:asuskey: 0x100000
(bootloader) partition-type:vbmetabak:raw
(bootloader) partition-size:vbmetabak: 0x10000
(bootloader) partition-type:vbmeta:raw
(bootloader) partition-size:vbmeta: 0x10000
(bootloader) partition-type:rawdump:raw
(bootloader) partition-size:rawdump: 0x8000000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec: 0x20000
(bootloader) partition-type:sti:raw
(bootloader) partition-size:sti: 0x200000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:devcfgbak:raw
(bootloader) partition-size:devcfgbak: 0x100000
(bootloader) partition-type:devcfg:raw
(bootloader) partition-size:devcfg: 0x100000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-typeersist:raw
(bootloader) partition-sizeersist: 0x2000000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x400000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x400000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x400
(bootloader) partition-type:bluetoothbak:raw
(bootloader) partition-size:bluetoothbak: 0x100000
(bootloader) partition-type:bluetooth:raw
(bootloader) partition-size:bluetooth: 0x100000
(bootloader) partition-type:sec:raw
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:toolsfv:raw
(bootloader) partition-size:toolsfv: 0x100000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x1000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash: 0x20A4000
(bootloader) partition-type:dpo:raw
(bootloader) partition-size:dpo: 0x400
(bootloader) partition-type:msadp:raw
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x1000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:ablbak:raw
(bootloader) partition-size:ablbak: 0x100000
(bootloader) partition-type:abl:raw
(bootloader) partition-size:abl: 0x100000
(bootloader) partition-type:dspbak:raw
(bootloader) partition-size:dspbak: 0x1000000
(bootloader) partition-type:dsp:raw
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:modem:raw
(bootloader) partition-size:modem: 0x6E00000
(bootloader) partition-type:mdtp:raw
(bootloader) partition-size:mdtp: 0x2000000
(bootloader) partition-type:mdtpsecappbak:raw
(bootloader) partition-size:mdtpsecappbak: 0x400000
(bootloader) partition-type:mdtpsecapp:raw
(bootloader) partition-size:mdtpsecapp: 0x400000
(bootloader) partition-type:cmnlib64bak:raw
(bootloader) partition-size:cmnlib64bak: 0x100000
(bootloader) partition-type:cmnlibbak:raw
(bootloader) partition-size:cmnlibbak: 0x100000
(bootloader) partition-type:cmnlib64:raw
(bootloader) partition-size:cmnlib64: 0x100000
(bootloader) partition-type:cmnlib:raw
(bootloader) partition-size:cmnlib: 0x100000
(bootloader) partition-type:keymasterbak:raw
(bootloader) partition-size:keymasterbak: 0x100000
(bootloader) partition-type:keymaster:raw
(bootloader) partition-size:keymaster: 0x100000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x120000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x8000000
(bootloader) partition-type:recovery:raw
(bootloader) partition-size:recovery: 0x4000000
(bootloader) partition-type:boot:raw
(bootloader) partition-size:boot: 0x4000000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x400000
(bootloader) partition-typemicbak:raw
(bootloader) partition-sizemicbak: 0x80000
(bootloader) partition-typemic:raw
(bootloader) partition-sizemic: 0x80000
(bootloader) partition-type:hypbak:raw
(bootloader) partition-size:hypbak: 0x80000
(bootloader) partition-type:hyp:raw
(bootloader) partition-size:hyp: 0x80000
(bootloader) partition-type:rpmbak:raw
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:raw
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:tzbak:raw
(bootloader) partition-size:tzbak: 0x400000
(bootloader) partition-type:tz:raw
(bootloader) partition-size:tz: 0x400000
(bootloader) partition-type:xblbak:raw
(bootloader) partition-size:xblbak: 0x380000
(bootloader) partition-type:xbl:raw
(bootloader) partition-size:xbl: 0x380000
(bootloader) project-info:ZC600KL-SDM630
(bootloader) aft_support:yes
(bootloader) secure:yes
(bootloader) serial:c462427
(bootloader) product:sdm660
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
finished. total time: 3.552s
now i am totally lost haha i did also try looking at that Qualcomm flash tool and following some istructions it stated i needed to load in the flash software i believe to be an .mdm file but in the rom folder its different and plus it seems its rather compliated
any instructions on how to use the flash tool would be appreaicated
just to further note all i can do with the phone is enter fastboot mode again absolutely no recovery options or anything just fastboot appears
Click to expand...
Click to collapse
was it possible to solve?
I have the same problem
emerson.ferreira said:
I have the same problem
Click to expand...
Click to collapse
No I was not able to resolve the issue tried multiple tools and methods found online with no success
I came across folder I believe in XDA with the Qflash tool but was set for a different phone and strangely that had more success getting past 0% and actually got to 85% before error again and with each .bin file it couples over would always error out at certain percentages for example one would error out at 20% another would error out at 50% and so on
Another flash tool I tried also has a transfer data from phone to PC a backup facility and I noticed that the transfer freezes on one of the folders
Others have suggested that the memory chip may be failing and I'm starting to think that may well be the case
Would be interested to know more about your experience with your phone to see if we are experiencing same exact problem

Question Rescue OnePlus 9 - TWPR recovery boot loop

Hi guys,
I have a OnePlus 9 5G that was running LineageOS 19. Due to some water damage on the screen, the phone was not used for 6 months. When finally getting the replacement screen I found out that I forgot the pattern (5 x 5 grid). I'm apparently no longer logged into the device via Google, so I can't unlock from there, though it does show up on the activity history.
I tried following a couple of guides online but it seems my device is encrypted and the files are not accessible (like over-writing LineageOS Recovery with TWPR)
I do have adb access and fastboot, USD-Debugging and can still enter fastboot. But I "bricked" the phone (trying to install TWPR and other things to try to get into su mode or find some other way of extracting the media on the device) to the point where I can now only access fastboot reliably and not boot normally anymore.
In fastboot I get
Code:
Product Name - lahaina
Secure Boot - yes
Device State - unlocked
Can anyone tell me:
1. How can I fix the boot partion to boot into the OS again (and keep trying my lock pattern until I find it)
2. Fix the TWPR (is that possible?) and see if I can access the photos that way
3. Best of all: Remove the lock pattern with su via adb?!
Let me know if I missed any information that's critical to help
RobSteward said:
Hi guys,
I have a OnePlus 9 5G that was running LineageOS 19. Due to some water damage on the screen, the phone was not used for 6 months. When finally getting the replacement screen I found out that I forgot the pattern (5 x 5 grid). I'm apparently no longer logged into the device via Google, so I can't unlock from there, though it does show up on the activity history.
I tried following a couple of guides online but it seems my device is encrypted and the files are not accessible (like over-writing LineageOS Recovery with TWPR)
I do have adb access and fastboot, USD-Debugging and can still enter fastboot. But I "bricked" the phone (trying to install TWPR and other things to try to get into su mode or find some other way of extracting the media on the device) to the point where I can now only access fastboot reliably and not boot normally anymore.
In fastboot I get
Code:
Product Name - lahaina
Secure Boot - yes
Device State - unlocked
Can anyone tell me:
1. How can I fix the boot partion to boot into the OS again (and keep trying my lock pattern until I find it)
2. Fix the TWPR (is that possible?) and see if I can access the photos that way
3. Best of all: Remove the lock pattern with su via adb?!
Let me know if I missed any information that's critical to help
Click to expand...
Click to collapse
I followed the MSM tool guide pinned at the top of the op9 thread. Works great, But it means you lose everything .. hope you find a fix. But last resort is always MSM tool.
Vmo x said:
I followed the MSM tool guide pinned at the top of the op9 thread. Works great, But it means you lose everything .. hope you find a fix. But last resort is always MSM tool.
Click to expand...
Click to collapse
Thanks for chipping in @Vmo x, but that's against the point of my post I know how to hard reset the device, if I'm okay losing the data. I was wondering if, given that I have all the other access (Fastboot, fastootd, adb and root), I would be able to find a way to break the pattern lock
No actually. There's no way you can bypass the pattern lock/PIN/password without having to reset the data (userdata) if you have forgotten pattern/PIN/password. It is encrypted, and no TWRP (or anything) can help you decrypt it if you don't know the password. That's the reason phones data partition is encrypted in the first place. You can however format the data partition from TWRP and get your system back up like factory reset; but given your current situation, I don't know if that would even be possible now. Looks to me you would need to go the MSM route.
Have you tried flashing LOS back on to your phone? I have not dived into Custom ROMs yet on the OP 9 but with previous phones I have, I could flash the Custom ROM back on to restore all of the imgs allowing it to boot.
I am just throwing ideas without really knowing if it would help.
Z-Blade said:
Have you tried flashing LOS back on to your phone? I have not dived into Custom ROMs yet on the OP 9 but with previous phones I have, I could flash the Custom ROM back on to restore all of the imgs allowing it to boot.
I am just throwing ideas without really knowing if it would help.
Click to expand...
Click to collapse
I have managed to overwrite this and get the LineageOS recovery and most recent LineageOS working again. I had to basically "update" the phone. I can input patterns but it locks for 1 minute after every attempt.
Are there any people/services I can contact that can brute force this? Even just getting a copy of the encrypted storage would work for me, then I can run this brute force for some years somewhere and hope I find it. Just goes a bit beyond what I'm able to do with my limited knowledge.
So you have flashed LineageOS without wiping data? And now it boots up successfully to the lockscreen? I don't think that can work.
Well,
I followed the LineageOS install instructions to the letter. See below for proof. I'm obviously not sure if it completely reset and added a random pattern . But if it would have reset the phone I would have expected a set up wizard instead of a lock screen. Additionally, the phone does accept my fingerprint (which would also have been wiped). The problem is just that the lock screen triggers on reboot.
I'm guessing the fixing update worked because I already had a working LineageOS installed without breaking changes (I think the original install was 19.X). Fixing recovery seems to be something that's independent from the OS, so that should not be a surprise to be fixed.
Here's the full sequence that worked:
Code:
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> ls
Directory: C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2/4/2023 4:47 AM 201326592 boot-oos12-firmware.img
-a---- 3/12/2023 7:06 PM 1395646798 lineage-20.0-20230312-nightly-lemonade-signed.zip
-a---- 3/12/2023 7:02 PM 25165824 lineage-20.0-20230312-nightly-lemonade-signed_dtbo.img
-a---- 3/12/2023 7:02 PM 201326592 lineage-20.0-20230312-nightly-lemonade-signed_vendor_boot.img
-a---- 3/12/2023 6:43 PM 201326592 magisk_patched-lineage-20.0-20230312-nightly-lemonade-signed_boot.img
-a---- 2/4/2023 4:50 AM 37719266 ramdisk-recovery.img
-a---- 2/4/2023 4:52 AM 33714989 twrp-installer-3.7.0-12.1-4-lemonadep.zip
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> fastboot oem unlock
FAILED (remote: ' Device already : unlocked!')
fastboot: error: Command failed
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> fastboot flash dtbo lineage-20.0-20230312-nightly-lemonade-signed_dtbo.img
Sending 'dtbo' (24576 KB) OKAY [ 0.617s]
Writing 'dtbo' OKAY [ 0.066s]
Finished. Total time: 0.713s
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> fastboot flash vendor_boot lineage-20.0-20230312-nightly-lemonade-signed_vendor_boot.img
Sending 'vendor_boot' (196608 KB) OKAY [ 4.911s]
Writing 'vendor_boot' OKAY [ 0.594s]
Finished. Total time: 5.540s
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> fastboot getvar all
(bootloader) parallel-download-flash:yes
(bootloader) hw-revision:20001
(bootloader) unlocked:yes
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:8806
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) erase-block-size: 0x1000
(bootloader) logical-block-size: 0x1000
(bootloader) variant:SM_ UFS
(bootloader) partition-type:oplusreserve1:raw
(bootloader) partition-size:oplusreserve1: 0x800000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x20000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x300000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x300000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x300000
(bootloader) partition-type:ALIGN_TO_128K_2:raw
(bootloader) partition-size:ALIGN_TO_128K_2: 0x1A000
(bootloader) partition-type:hyp_log:raw
(bootloader) partition-size:hyp_log: 0xFD0000
(bootloader) partition-type:qsee_log:raw
(bootloader) partition-size:qsee_log: 0xFD0000
(bootloader) partition-type:android_log:raw
(bootloader) partition-size:android_log: 0xFD0000
(bootloader) partition-type:kernel_log:raw
(bootloader) partition-size:kernel_log: 0xFD0000
(bootloader) partition-type:abl_log:raw
(bootloader) partition-size:abl_log: 0xFD0000
(bootloader) partition-type:apdp_full:raw
(bootloader) partition-size:apdp_full: 0x40000
(bootloader) partition-type:rtice:raw
(bootloader) partition-size:rtice: 0x80000
(bootloader) partition-type:spunvm:raw
(bootloader) partition-size:spunvm: 0x2000000
(bootloader) partition-type:tzsc:raw
(bootloader) partition-size:tzsc: 0x20000
(bootloader) partition-type:connsec:raw
(bootloader) partition-size:connsec: 0x20000
(bootloader) partition-type:mdcompress:raw
(bootloader) partition-size:mdcompress: 0x1400000
(bootloader) partition-type:vm-data:raw
(bootloader) partition-size:vm-data: 0x20A4000
(bootloader) partition-type:secdata:raw
(bootloader) partition-size:secdata: 0x7000
(bootloader) partition-type:uefivarstore:raw
(bootloader) partition-size:uefivarstore: 0x80000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec: 0x20000
(bootloader) partition-type:modemdump:raw
(bootloader) partition-size:modemdump: 0x12C00000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:limits-cdsp:raw
(bootloader) partition-size:limits-cdsp: 0x1000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x1000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x1000
(bootloader) partition-type:oplus_sec_b:raw
(bootloader) partition-size:oplus_sec_b: 0xA00000
(bootloader) partition-type:splash_b:raw
(bootloader) partition-size:splash_b: 0x20A4000
(bootloader) partition-type:qweslicstore_b:raw
(bootloader) partition-size:qweslicstore_b: 0x40000
(bootloader) partition-type:vendor_boot_b:raw
(bootloader) partition-size:vendor_boot_b: 0xC000000
(bootloader) partition-type:featenabler_b:raw
(bootloader) partition-size:featenabler_b: 0x20000
(bootloader) partition-type:cpucp_b:raw
(bootloader) partition-size:cpucp_b: 0x100000
(bootloader) partition-type:multiimgoem_b:raw
(bootloader) partition-size:multiimgoem_b: 0x8000
(bootloader) partition-type:vm-bootsys_b:raw
(bootloader) partition-size:vm-bootsys_b: 0x10625000
(bootloader) partition-type:shrm_b:raw
(bootloader) partition-size:shrm_b: 0x20000
(bootloader) partition-type:imagefv_b:raw
(bootloader) partition-size:imagefv_b: 0x200000
(bootloader) partition-type:uefisecapp_b:raw
(bootloader) partition-size:uefisecapp_b: 0x200000
(bootloader) partition-type:dtbo_b:raw
(bootloader) partition-size:dtbo_b: 0x1800000
(bootloader) partition-type:vbmeta_b:raw
(bootloader) partition-size:vbmeta_b: 0x10000
(bootloader) partition-type:qupfw_b:raw
(bootloader) partition-size:qupfw_b: 0x14000
(bootloader) partition-type:devcfg_b:raw
(bootloader) partition-size:devcfg_b: 0x20000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b: 0xC000000
(bootloader) partition-type:keymaster_b:raw
(bootloader) partition-size:keymaster_b: 0x80000
(bootloader) partition-type:dsp_b:raw
(bootloader) partition-size:dsp_b: 0x4000000
(bootloader) partition-type:abl_b:raw
(bootloader) partition-size:abl_b: 0x800000
(bootloader) partition-type:mdtp_b:raw
(bootloader) partition-size:mdtp_b: 0x2000000
(bootloader) partition-type:mdtpsecapp_b:raw
(bootloader) partition-size:mdtpsecapp_b: 0x400000
(bootloader) partition-type:bluetooth_b:raw
(bootloader) partition-size:bluetooth_b: 0x200000
(bootloader) partition-type:modem_b:raw
(bootloader) partition-size:modem_b: 0x14A00000
(bootloader) partition-type:hyp_b:raw
(bootloader) partition-size:hyp_b: 0x800000
(bootloader) partition-type:tz_b:raw
(bootloader) partition-size:tz_b: 0x400000
(bootloader) partition-type:aop_b:raw
(bootloader) partition-size:aop_b: 0x80000
(bootloader) partition-type:oplus_sec_a:raw
(bootloader) partition-size:oplus_sec_a: 0xA00000
(bootloader) partition-type:splash_a:raw
(bootloader) partition-size:splash_a: 0x20A4000
(bootloader) partition-type:qweslicstore_a:raw
(bootloader) partition-size:qweslicstore_a: 0x40000
(bootloader) partition-type:qmcs:raw
(bootloader) partition-size:qmcs: 0x1E00000
(bootloader) partition-type:vendor_boot_a:raw
(bootloader) partition-size:vendor_boot_a: 0xC000000
(bootloader) partition-type:featenabler_a:raw
(bootloader) partition-size:featenabler_a: 0x20000
(bootloader) partition-type:cpucp_a:raw
(bootloader) partition-size:cpucp_a: 0x100000
(bootloader) partition-type:multiimgoem_a:raw
(bootloader) partition-size:multiimgoem_a: 0x8000
(bootloader) partition-type:vm-bootsys_a:raw
(bootloader) partition-size:vm-bootsys_a: 0x10625000
(bootloader) partition-type:shrm_a:raw
(bootloader) partition-size:shrm_a: 0x20000
(bootloader) partition-type:imagefv_a:raw
(bootloader) partition-size:imagefv_a: 0x200000
(bootloader) partition-type:uefisecapp_a:raw
(bootloader) partition-size:uefisecapp_a: 0x200000
(bootloader) partition-type:dtbo_a:raw
(bootloader) partition-size:dtbo_a: 0x1800000
(bootloader) partition-type:vbmeta_a:raw
(bootloader) partition-size:vbmeta_a: 0x10000
(bootloader) partition-type:qupfw_a:raw
(bootloader) partition-size:qupfw_a: 0x14000
(bootloader) partition-type:devcfg_a:raw
(bootloader) partition-size:devcfg_a: 0x20000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a: 0xC000000
(bootloader) partition-type:keymaster_a:raw
(bootloader) partition-size:keymaster_a: 0x80000
(bootloader) partition-type:dsp_a:raw
(bootloader) partition-size:dsp_a: 0x4000000
(bootloader) partition-type:abl_a:raw
(bootloader) partition-size:abl_a: 0x800000
(bootloader) partition-type:mdtp_a:raw
(bootloader) partition-size:mdtp_a: 0x2000000
(bootloader) partition-type:mdtpsecapp_a:raw
(bootloader) partition-size:mdtpsecapp_a: 0x400000
(bootloader) partition-type:bluetooth_a:raw
(bootloader) partition-size:bluetooth_a: 0x200000
(bootloader) partition-type:modem_a:raw
(bootloader) partition-size:modem_a: 0x14A00000
(bootloader) partition-type:hyp_a:raw
(bootloader) partition-size:hyp_a: 0x800000
(bootloader) partition-type:tz_a:raw
(bootloader) partition-size:tz_a: 0x400000
(bootloader) partition-type:aop_a:raw
(bootloader) partition-size:aop_a: 0x80000
(bootloader) partition-type:DRIVER:raw
(bootloader) partition-size:DRIVER: 0x2000000
(bootloader) partition-type:oplusreserve5:raw
(bootloader) partition-size:oplusreserve5: 0x4000000
(bootloader) partition-type:oplusreserve4:raw
(bootloader) partition-size:oplusreserve4: 0x2000000
(bootloader) partition-type:oplusreserve3:raw
(bootloader) partition-size:oplusreserve3: 0x4000000
(bootloader) partition-type:oplusreserve2:raw
(bootloader) partition-size:oplusreserve2: 0x10000000
(bootloader) partition-type:engineering_cdt_b:raw
(bootloader) partition-size:engineering_cdt_b: 0x100000
(bootloader) partition-type:dinfo:raw
(bootloader) partition-size:dinfo: 0x4000
(bootloader) partition-type:ocdt:raw
(bootloader) partition-size:ocdt: 0x20000
(bootloader) partition-type:engineering_cdt_a:raw
(bootloader) partition-size:engineering_cdt_a: 0x100000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:cdt:raw
(bootloader) partition-size:cdt: 0x20000
(bootloader) partition-type:ALIGN_TO_128K_1:raw
(bootloader) partition-size:ALIGN_TO_128K_1: 0x1A000
(bootloader) partition-type:xbl_config_b:raw
(bootloader) partition-size:xbl_config_b: 0x80000
(bootloader) partition-type:xbl_b:raw
(bootloader) partition-size:xbl_b: 0x600000
(bootloader) partition-type:xbl_config_a:raw
(bootloader) partition-size:xbl_config_a: 0x80000
(bootloader) partition-type:xbl_a:raw
(bootloader) partition-size:xbl_a: 0x600000
(bootloader) partition-type:userdata:f2fs
(bootloader) partition-size:userdata: 0x1986FB3000
(bootloader) partition-type:super:raw
(bootloader) partition-size:super: 0x29B000000
(bootloader) partition-type:rawdump:raw
(bootloader) partition-size:rawdump: 0x8000000
(bootloader) partition-type:metadata:ext4
(bootloader) partition-size:metadata: 0x1000000
(bootloader) partition-type:vbmeta_vendor_b:raw
(bootloader) partition-size:vbmeta_vendor_b: 0x10000
(bootloader) partition-type:vbmeta_vendor_a:raw
(bootloader) partition-size:vbmeta_vendor_a: 0x10000
(bootloader) partition-type:vbmeta_system_b:raw
(bootloader) partition-size:vbmeta_system_b: 0x10000
(bootloader) partition-type:vbmeta_system_a:raw
(bootloader) partition-size:vbmeta_system_a: 0x10000
(bootloader) partition-type:persist_bkp:raw
(bootloader) partition-size:persist_bkp: 0x2000000
(bootloader) partition-type:opluslog:raw
(bootloader) partition-size:opluslog: 0x10000000
(bootloader) partition-type:carrier:raw
(bootloader) partition-size:carrier: 0x4000000
(bootloader) partition-type:oplusstanvbk_b:raw
(bootloader) partition-size:oplusstanvbk_b: 0xA00000
(bootloader) partition-type:oplusstanvbk_a:raw
(bootloader) partition-size:oplusstanvbk_a: 0xA00000
(bootloader) partition-type:oplusdycnvbk:raw
(bootloader) partition-size:oplusdycnvbk: 0xA00000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:keystore:raw
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-type:persist:raw
(bootloader) partition-size:persist: 0x2000000
(bootloader) partition-type:param:raw
(bootloader) partition-size:param: 0x800000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x2000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:no
(bootloader) current-slot:a
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:0
(bootloader) slot-unbootable:b:yes
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:7
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:no
(bootloader) serialno:8ac546c0
(bootloader) product:lahaina
(bootloader) snapshot-update-status:snapshotted
(bootloader) is-userspace:no
(bootloader) max-download-size:805306368
(bootloader) kernel:uefi
all:
Finished. Total time: 0.507s
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> fastboot flash boot_a magisk_patched-lineage-20.0-20230312-nightly-lemonade-signed_boot.img
Sending 'boot_a' (196608 KB) OKAY [ 4.911s]
Writing 'boot_a' OKAY [ 0.581s]
Finished. Total time: 5.526s
## Rebooted phone to recovery
## In LineageOS Recovery (now showing Version 20.0 (20230312)) click "Apply Update"
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> adb sideload lineage-20.0-20230312-nightly-lemonade-signed.zip
Total xfer: 1.00x
## Rebooted phone to recovery
## In LineageOS Recovery (now showing Version 20.0 (20230312)) click "Apply Update"
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> cd .../..
PS C:\Users\XXX\downloads\mobilerecovery\20230312\oneplus9> adb sideload NikGapps-XXX-arm64-13-20230220.zip
PS C:\Users\XXX\downloads\mobilerecovery> adb sideload NikGapps-XXX-arm64-13-20230220.zip
Total xfer: 1.00x
## Rebooted phone to system
Your browser is not able to display this video.
shadabkiani said:
So you have flashed LineageOS without wiping data? And now it boots up successfully to the lockscreen? I don't think that can work.
Click to expand...
Click to collapse
Given the above post - Any tips on things I can try now?
Well, it is not accepting your fingerprint. When you tap on fingrprint scanner after reboot, it would automatically take you to pattern/PIN/password. So don't think that it's accepting your fingerprint.
With a 5x5 grid, the possibilities are 2^25 (source here), so consider it almost impossible in a lifetime that you would crack it by hit-and-trial.
Also, I noticed that you ran fastboot flashing unlock which means unlocking bootloader, and that in turn means the consent to format data. I don't if you are trying to save data, or just trying to get the phone working at the cost of data loss.
shadabkiani said:
Well, it is not accepting your fingerprint. When you tap on fingrprint scanner after reboot, it would automatically take you to pattern/PIN/password. So don't think that it's accepting your fingerprint.
With a 5x5 grid, the possibilities are 2^25 (source here), so consider it almost impossible in a lifetime that you would crack it by hit-and-trial.
Also, I noticed that you ran fastboot flashing unlock which means unlocking bootloader, and that in turn means the consent to format data. I don't if you are trying to save data, or just trying to get the phone working at the cost of data loss.
Click to expand...
Click to collapse
I'm trying to save the data. But even if the fingerprint is not detected and it's the default action on reboot, the pattern should not longer exist, if the phone was wiped?! I can also see the little contact logo on the top right, which I believe is the account indicator? All hints telling me that the pattern is still set and data persisted so far.
Or am I missing something?
RobSteward said:
I'm trying to save the data. But even if the fingerprint is not detected and it's the default action on reboot, the pattern should not longer exist, if the phone was wiped?! I can also see the little contact logo on the top right, which I believe is the account indicator? All hints telling me that the pattern is still set and data persisted so far.
Or am I missing something?
Click to expand...
Click to collapse
So you came from LOS 19.1 to 20 by dirty flashing. In that case, yes, you are right data is still intact I think, otherwise pattern would go away since lock settings are stored in data. Ok, so how about you try adb shell and running as root (provided you had given root access to adb before)? Are you familiar with that method?
shadabkiani said:
So you came from LOS 19.1 to 20 by dirty flashing. In that case, yes, you are right data is still intact I think, otherwise pattern would go away since lock settings are stored in data. Ok, so how about you try adb shell and running as root (provided you had given root access to adb before)? Are you familiar with that method?
Click to expand...
Click to collapse
I know adb and I have shell access. I believe I should have root, but haven't been able to figure this part out in the past. Do you have specific commands I can run or a guide I can follow to understand the access right situation on the device?
What I've done in the past is booting into recovery. From there
Advanced
Enable ADB
JavaScript:
adb devices
adb shell
And then? What should I test?
Just tried this following the first google result and.. it.....looks good?
Code:
PS C:\Users\XXX> adb devices
List of devices attached
8ac546c0 recovery
PS C:\Users\XXX> adb root
adbd is already running as root
PS C:\Users\XXX> adb shell
OnePlus9:/ #
OnePlus9:/ # exit
PS C:\Users\XXX> adb shell id
uid=0(root) gid=0(root) groups=0(root),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),1078(ext_data_rw),1079(ext_obb_rw),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid),3012(readtracefs) context=u:r:su:s0
When you are in recovery, does it ask for decryption at the start?
How about you go to File Manager in TWRP and then navigate to /data/ or even /sdcard/? Or try connecting to PC through cable and see if you can access your data from there?
In TWRP, check the log (tap on recents button). Does it say /data/ decrypted, or does it show some red warning?
shadabkiani said:
When you are in recovery, does it ask for decryption at the start?
How about you go to File Manager in TWRP and then navigate to /data/ or even /sdcard/? Or try connecting to PC through cable and see if you can access your data from there?
Click to expand...
Click to collapse
It does not ask for decryption.
I'm on LineageOS Recovery. I can access the sdcard folder but it does not show any data. Since it's a OP9, it does not have an external sdcard. Not sure where images would be stored.
shadabkiani said:
In TWRP, check the log (tap on recents button). Does it say /data/ decrypted, or does it show some red warning?
Click to expand...
Click to collapse
I'm on LineageOS Recovery. I've tried changing customer recovery to TWRP by booting into twrp-3.7.0_11-0-lemonadep.img (could not find a "lemonade" version) via fastboot and I'm not sure if I'm doing something wrong, but I just get stuck in Fastboot Mode. When hard resetting I get a normal system/recovery again (which makes sense, as the first step is to just temp boot into TWRP). Any suggestions?
The official recovery is only compatible with Android 11 firmware. For Android 12/13, you have to use this unofficial one. It's unified for OP9 and OP9 Pro, so don't worry. Make sure you fastboot boot it, NOT fastboot flash boot....
That worked! I now do get the decrypt question. I'm guessing I'll cancel this and move to permanently replacing LineageOS Recovery with TWRP by going
Advanced
Flash Current TWRP
Adb push twrp-installer-3.7.0-12.1-6-lemonadep.zip to phone
Select twrp-installer-3.7.0-12.1-6-lemonadep.zip (donwloaded from the GDrive folder you linked)
Flash
Correct?
RobSteward said:
That worked! I now do get the decrypt question. I'm guessing I'll cancel this and move to permanently replacing LineageOS Recovery with TWRP by going
Advanced
Flash Current TWRP
Adb push twrp-installer-3.7.0-12.1-6-lemonadep.zip to phone
Select twrp-installer-3.7.0-12.1-6-lemonadep.zip (donwloaded from the GDrive folder you linked)
Flash
Correct?
Click to expand...
Click to collapse
I won't recommend having TWRP permanent. It's not needed for OnePlus 9 as we can flash ROMs through sideload from LOS recovery, which is recommended. OnePlus 9 doesn't have dedicated recovery partition (as is the case with modern phones), so to have TWRP permanent, it would need to patch boot, which might cause problems. You can do this from TWRP. Just boot the TWRP temporarily as you just did, go to Advanced and select Flash Current Recovery.
But there are no huge benefits to have TWRP permanent, LOS recovery is good for all intents a d purposes. If you ever need to do some stuff from TWRP (which I don't think so), just boot temporarily as you just did.

Question oneplus 9 bricked.bootloader accessible for fastboot, but not fastbootd, cannot boot into recovery or EDL. Oh no..

Well people it looks like I may have finally bricked one for good. i cant seem to get to any screen except off, and bootloader. fastboot seems to work but not all fastboot commands, i cannot boot into fastbootd, cannot 'fastboot boot' recovery, and i get an error when i 'fastboot -w', also cannot get to the qualcomm crashdummp screen that i previously couldnt get out of, so even if i could get msm tool installed im not sure it would help. i can 'fastboot getvar all' and im hoping that with some luck someone knows how to make sense of the partition table or if there is a link that someone has to a printout of the uncorrupted partition table, i am hoping the issue mmight be solvable there hopefully fixing fastbootd, but im not liking the outlook
Trying to boot to fastbootd
fastboot reboot fastboot
Rebooting into fastboot OKAY [ 0.024s]
< waiting for any device >
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
fastboot -w:
fastboot -w
Erasing 'userdata' OKAY [ 0.112s]
/usr/lib/android-sdk/platform-tools/make_f2fs: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory
/usr/lib/android-sdk/platform-tools/make_f2fs failed with status 127
fastboot: error: Cannot generate image for userdata
Getvar all:
fastboot getvar all
(bootloader) parallel-download-flash:yes
(bootloader) hw-revision:20001
(bootloader) unlocked:yes
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:7726
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) erase-block-size: 0x1000
(bootloader) logical-block-size: 0x1000
(bootloader) variant:SM_ UFS
(bootloader) partition-type:oplusreserve1:raw
(bootloader) partition-size:oplusreserve1: 0x800000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x20000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x300000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x300000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x300000
(bootloader) partition-type:ALIGN_TO_128K_2:raw
(bootloader) partition-size:ALIGN_TO_128K_2: 0x1A000
(bootloader) partition-type:hyp_log:raw
(bootloader) partition-size:hyp_log: 0xFD0000
(bootloader) partition-type:qsee_log:raw
(bootloader) partition-size:qsee_log: 0xFD0000
(bootloader) partition-type:android_log:raw
(bootloader) partition-size:android_log: 0xFD0000
(bootloader) partition-type:kernel_log:raw
(bootloader) partition-size:kernel_log: 0xFD0000
(bootloader) partition-type:abl_log:raw
(bootloader) partition-size:abl_log: 0xFD0000
(bootloader) partition-type:apdp_full:raw
(bootloader) partition-size:apdp_full: 0x40000
(bootloader) partition-type:rtice:raw
(bootloader) partition-size:rtice: 0x80000
(bootloader) partition-type:spunvm:raw
(bootloader) partition-size:spunvm: 0x2000000
(bootloader) partition-type:tzsc:raw
(bootloader) partition-size:tzsc: 0x20000
(bootloader) partition-type:connsec:raw
(bootloader) partition-size:connsec: 0x20000
(bootloader) partition-type:mdcompress:raw
(bootloader) partition-size:mdcompress: 0x1400000
(bootloader) partition-type:vm-data:raw
(bootloader) partition-size:vm-data: 0x20A4000
(bootloader) partition-type:secdata:raw
(bootloader) partition-size:secdata: 0x7000
(bootloader) partition-type:uefivarstore:raw
(bootloader) partition-size:uefivarstore: 0x80000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec: 0x20000
(bootloader) partition-type:modemdump:raw
(bootloader) partition-size:modemdump: 0x12C00000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:limits-cdsp:raw
(bootloader) partition-size:limits-cdsp: 0x1000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x1000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x1000
(bootloader) partition-type:oplus_sec_b:raw
(bootloader) partition-size:oplus_sec_b: 0xA00000
(bootloader) partition-type:splash_b:raw
(bootloader) partition-size:splash_b: 0x20A4000
(bootloader) partition-type:qweslicstore_b:raw
(bootloader) partition-size:qweslicstore_b: 0x40000
(bootloader) partition-type:vendor_boot_b:raw
(bootloader) partition-size:vendor_boot_b: 0xC000000
(bootloader) partition-type:featenabler_b:raw
(bootloader) partition-size:featenabler_b: 0x20000
(bootloader) partition-type:cpucp_b:raw
(bootloader) partition-size:cpucp_b: 0x100000
(bootloader) partition-type:multiimgoem_b:raw
(bootloader) partition-size:multiimgoem_b: 0x8000
(bootloader) partition-type:vm-bootsys_b:raw
(bootloader) partition-size:vm-bootsys_b: 0x10625000
(bootloader) partition-type:shrm_b:raw
(bootloader) partition-size:shrm_b: 0x20000
(bootloader) partition-type:imagefv_b:raw
(bootloader) partition-size:imagefv_b: 0x200000
(bootloader) partition-type:uefisecapp_b:raw
(bootloader) partition-size:uefisecapp_b: 0x200000
(bootloader) partition-type:dtbo_b:raw
(bootloader) partition-size:dtbo_b: 0x1800000
(bootloader) partition-type:vbmeta_b:raw
(bootloader) partition-size:vbmeta_b: 0x10000
(bootloader) partition-type:qupfw_b:raw
(bootloader) partition-size:qupfw_b: 0x14000
(bootloader) partition-type:devcfg_b:raw
(bootloader) partition-size:devcfg_b: 0x20000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b: 0xC000000
(bootloader) partition-type:keymaster_b:raw
(bootloader) partition-size:keymaster_b: 0x80000
(bootloader) partition-type:dsp_b:raw
(bootloader) partition-size:dsp_b: 0x4000000
(bootloader) partition-type:abl_b:raw
(bootloader) partition-size:abl_b: 0x800000
(bootloader) partition-type:mdtp_b:raw
(bootloader) partition-size:mdtp_b: 0x2000000
(bootloader) partition-type:mdtpsecapp_b:raw
(bootloader) partition-size:mdtpsecapp_b: 0x400000
(bootloader) partition-type:bluetooth_b:raw
(bootloader) partition-size:bluetooth_b: 0x200000
(bootloader) partition-type:modem_b:raw
(bootloader) partition-size:modem_b: 0x14A00000
(bootloader) partition-type:hyp_b:raw
(bootloader) partition-size:hyp_b: 0x800000
(bootloader) partition-type:tz_b:raw
(bootloader) partition-size:tz_b: 0x400000
(bootloader) partition-type:aop_b:raw
(bootloader) partition-size:aop_b: 0x80000
(bootloader) partition-type:oplus_sec_a:raw
(bootloader) partition-size:oplus_sec_a: 0xA00000
(bootloader) partition-type:splash_a:raw
(bootloader) partition-size:splash_a: 0x20A4000
(bootloader) partition-type:qweslicstore_a:raw
(bootloader) partition-size:qweslicstore_a: 0x40000
(bootloader) partition-type:qmcs:raw
(bootloader) partition-size:qmcs: 0x1E00000
(bootloader) partition-type:vendor_boot_a:raw
(bootloader) partition-size:vendor_boot_a: 0xC000000
(bootloader) partition-type:featenabler_a:raw
(bootloader) partition-size:featenabler_a: 0x20000
(bootloader) partition-type:cpucp_a:raw
(bootloader) partition-size:cpucp_a: 0x100000
(bootloader) partition-type:multiimgoem_a:raw
(bootloader) partition-size:multiimgoem_a: 0x8000
(bootloader) partition-type:vm-bootsys_a:raw
(bootloader) partition-size:vm-bootsys_a: 0x10625000
(bootloader) partition-type:shrm_a:raw
(bootloader) partition-size:shrm_a: 0x20000
(bootloader) partition-type:imagefv_a:raw
(bootloader) partition-size:imagefv_a: 0x200000
(bootloader) partition-type:uefisecapp_a:raw
(bootloader) partition-size:uefisecapp_a: 0x200000
(bootloader) partition-type:dtbo_a:raw
(bootloader) partition-size:dtbo_a: 0x1800000
(bootloader) partition-type:vbmeta_a:raw
(bootloader) partition-size:vbmeta_a: 0x10000
(bootloader) partition-type:qupfw_a:raw
(bootloader) partition-size:qupfw_a: 0x14000
(bootloader) partition-type:devcfg_a:raw
(bootloader) partition-size:devcfg_a: 0x20000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a: 0xC000000
(bootloader) partition-type:keymaster_a:raw
(bootloader) partition-size:keymaster_a: 0x80000
(bootloader) partition-type:dsp_a:raw
(bootloader) partition-size:dsp_a: 0x4000000
(bootloader) partition-type:abl_a:raw
(bootloader) partition-size:abl_a: 0x800000
(bootloader) partition-type:mdtp_a:raw
(bootloader) partition-size:mdtp_a: 0x2000000
(bootloader) partition-type:mdtpsecapp_a:raw
(bootloader) partition-size:mdtpsecapp_a: 0x400000
(bootloader) partition-type:bluetooth_a:raw
(bootloader) partition-size:bluetooth_a: 0x200000
(bootloader) partition-type:modem_a:raw
(bootloader) partition-size:modem_a: 0x14A00000
(bootloader) partition-type:hyp_a:raw
(bootloader) partition-size:hyp_a: 0x800000
(bootloader) partition-type:tz_a:raw
(bootloader) partition-size:tz_a: 0x400000
(bootloader) partition-type:aop_a:raw
(bootloader) partition-size:aop_a: 0x80000
(bootloader) partition-type:DRIVER:raw
(bootloader) partition-size:DRIVER: 0x2000000
(bootloader) partition-type:oplusreserve5:raw
(bootloader) partition-size:oplusreserve5: 0x4000000
(bootloader) partition-type:oplusreserve4:raw
(bootloader) partition-size:oplusreserve4: 0x2000000
(bootloader) partition-type:oplusreserve3:raw
(bootloader) partition-size:oplusreserve3: 0x4000000
(bootloader) partition-type:oplusreserve2:raw
(bootloader) partition-size:oplusreserve2: 0x10000000
(bootloader) partition-type:engineering_cdt_b:raw
(bootloader) partition-size:engineering_cdt_b: 0x100000
(bootloader) partition-type:dinfo:raw
(bootloader) partition-size:dinfo: 0x4000
(bootloader) partition-type:ocdt:raw
(bootloader) partition-size:ocdt: 0x20000
(bootloader) partition-type:engineering_cdt_a:raw
(bootloader) partition-size:engineering_cdt_a: 0x100000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:cdt:raw
(bootloader) partition-size:cdt: 0x20000
(bootloader) partition-type:ALIGN_TO_128K_1:raw
(bootloader) partition-size:ALIGN_TO_128K_1: 0x1A000
(bootloader) partition-type:xbl_config_b:raw
(bootloader) partition-size:xbl_config_b: 0x80000
(bootloader) partition-type:xbl_b:raw
(bootloader) partition-size:xbl_b: 0x600000
(bootloader) partition-type:xbl_config_a:raw
(bootloader) partition-size:xbl_config_a: 0x80000
(bootloader) partition-type:xbl_a:raw
(bootloader) partition-size:xbl_a: 0x600000
(bootloader) partition-type:userdata:f2fs
(bootloader) partition-size:userdata: 0x1986FB3000
(bootloader) partition-type:super:raw
(bootloader) partition-size:super: 0x29B000000
(bootloader) partition-type:rawdump:raw
(bootloader) partition-size:rawdump: 0x8000000
(bootloader) partition-type:metadata:ext4
(bootloader) partition-size:metadata: 0x1000000
(bootloader) partition-type:vbmeta_vendor_b:raw
(bootloader) partition-size:vbmeta_vendor_b: 0x10000
(bootloader) partition-type:vbmeta_vendor_a:raw
(bootloader) partition-size:vbmeta_vendor_a: 0x10000
(bootloader) partition-type:vbmeta_system_b:raw
(bootloader) partition-size:vbmeta_system_b: 0x10000
(bootloader) partition-type:vbmeta_system_a:raw
(bootloader) partition-size:vbmeta_system_a: 0x10000
(bootloader) partition-type:persist_bkp:raw
(bootloader) partition-size:persist_bkp: 0x2000000
(bootloader) partition-type:opluslog:raw
(bootloader) partition-size:opluslog: 0x10000000
(bootloader) partition-type:carrier:raw
(bootloader) partition-size:carrier: 0x4000000
(bootloader) partition-type:oplusstanvbk_b:raw
(bootloader) partition-size:oplusstanvbk_b: 0xA00000
(bootloader) partition-type:oplusstanvbk_a:raw
(bootloader) partition-size:oplusstanvbk_a: 0xA00000
(bootloader) partition-type:oplusdycnvbk:raw
(bootloader) partition-size:oplusdycnvbk: 0xA00000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-type:persist:raw
(bootloader) partition-size:persist: 0x2000000
(bootloader) partition-type:param:raw
(bootloader) partition-size:param: 0x800000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x2000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:no
(bootloader) current-slot:b
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:7
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:7
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:no
(bootloader) slot-count:2
(bootloader) secure:yes
(bootloader) serialno:b6276ac6
(bootloader) product:lahaina
(bootloader) snapshot-update-status:none
(bootloader) is-userspace:no
(bootloader) max-download-size:805306368
(bootloader) kernel:uefi
all:
Finished. Total time: 0.016s
Your time is much appreciated. if i can offer anything else please just let me know. Thankyou so much everyone!
Have you tried a MSM recovery?
wizardknight said:
Have you tried a MSM recovery?
Click to expand...
Click to collapse
i usually use linux mint 99 percent of the time. as far as the MSM tool goes, if i boot into windows and try installing the MSM tool, it fails to install, ive never actually had the luxury of using the Qualcomm rescue feature. ive kinda given up on that option, and i could not get to the Qualcomm crashdump screen anyway (my understanding is that the OP9 must be in crashdump mode for MSM tool to work), but i could be wrong about that. I am new to Oneplus devices.
THE GOOD NEWS: I managed to unbrick the devices using 'fastboot flash boot recovery.img", then sideloading lineageos.
THE WEIRD NEWS: I am still getting strange errors that ive never seen before...
fastboot -w Erasing 'userdata' OKAY [ 0.112s] /usr/lib/android-sdk/platform-tools/make_f2fs: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory /usr/lib/android-sdk/platform-tools/make_f2fs failed with status 127 fastboot: error: Cannot generate image for userdata.
I think this still happens when i fastboot -w, a similar error is also given when formatting in recovery. Any insight into this part? It looks like it could be related to the drivers.
What model do you have? LE2110 or LE2115 or what? Once you find out, you can then use the MSM tool for that model. MSM tool doesn't need installing. You just have to extract the zip, and then run tool exe from there. It's very simple to use, only a few clicks and your phone firmware would be reverted back to factory (data will be erased too). MSM tool needs your phone to be in EDL mode, but first run the MSM and set up everything and start, then connect your phone in EDL. To enter EDL, turn off phone, hold vol- and vol+ buttons and connect the cable from PC into your phone.
It's better to have the required firmware through OTAs as suggested in LinegeOS, otherwise there might be issues with sensors and other random stuff. (Although latest LinegeOS builds contain firmware, but you should still have the OOS firmware running first).
As for the fastboot -w command, I remember it gave me a similar (or maybe the exact same) error when I tried it some time ago. Nevertheless, the data seems to be wiped all right with that.

Categories

Resources