Flashing .ops files on macOS - OnePlus 7 Pro Questions & Answers

I purchased a T-Mobile OnePlus 7 Pro from Back Market and it wants an unlock token.
Code:
0 LoganDark ~/Downloads/refind-bin-0.12.0 fastboot oem unlock
FAILED (remote: 'Please flash unlock token first.')
fastboot: error: Command failed
Instead of waiting a week for T-Mobile to send me one, I was considering following a pair of tutorials to revert the phone to international firmware. Honestly I'd prefer to be without the T-Mobile branding anyway, so I probably would have done that anyway.
But... I'm using macOS. MSM Download Tool is Windows-only. I have fastboot and adb and all the android platform commands, and the device is recognized and I can do things with it. I have the .ops file from the first tutorial, but I'm not sure how to flash it. Help?
I tried this at first but it looked like something really scary was happening so I stopped it:
Code:
1 LoganDark ~/Downloads fastboot flash system guacamole_21.O.09_190516/guacamole_21.O.09_190516.ops
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 4319178240 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 3513921024 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2707578368 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1901366784 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 987450880 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 175947264 is not a multiple of the block size 4096
Sending sparse 'system_a' 1/7 (744546 KB) error: write_sparse_skip_chunk: don't care size 4319178240 is not a multiple of the block size 4096
^C

Ended up just using a virtual machine to do it. 7 hours from stock to full root with TWRP, Magisk and latest EU OxygenOS. No T-Mobile bloat, no key required from them, all is good. This phone is awesome <3

Related

Root Fail Help?

Hello,
I am unable to root this dang phone! Trying to use RootJunky's "RSD Lite for Mac and Linux" instructions found here: ww.rootjunky.com/tag/linux, and just failing! I've got two phones now stuck in "Please wait, this may take a few minutes" mode.
Computer Specs:
Ubuntu 16.04
Phone Specs:
DROID RAZR HD
182.46.15.XT926.Verizon.en.US
4.4.2
VANQUISH_BP_100731.020.64.21P
KDA20.62-15
Steps:
Downloaded RSD-Lite-Mac_Linux.zip from ttp://rootjunkysdl.com/files/Android%20Programs/RSD-Lite-Mac-Linux.zip
unzip to a folder
Downloaded VZW_XT926_4.4.2-KDA20.62-15.1_CFC_1FF.xml.zip from AndroidFileHost.com (Motorola-Firmware-Team)
unzip to same folder
Open terminal
cd to folder
run `sudo ./rsd-flash.sh VZW_XT926_4.4.2-KDA20.62-15.1_CFC_1FF.xml`
At first this would not get past the first file in the .xml. I had an MD5 error. After fiddling with it for hours I discovered that I needed to change all the MD5's in the .xml to lower case! Ok. Did that. Which got me through the flash, but with MANY ERRORS.
[email protected]:~/Documents/projects/droid/razr_hd/RSD-Lite-Mac-Linux$ sudo bash rsd-flash.sh VZW_XT926_4.4.2-KDA20.62-15.1_CFC_1FF.xml
___ ____ ____ _____ ____ ___ ____ ____ __ ________ _ _
/ _ \/ _ \/ _ \/_ _/_ / / / / / \/ / //_/\ \/ / / __/ _ \/ \/ \
/ , _/ |_| / |_| / / / / // / /_/ / / < \ /_/ /_/ |_| / , , \
/_/|_|\____/\____/ /_/ \___/\____/_/\_/_/\_/ /_/_/___/\____/_/ \/ \_\
----------------------------------------------------------------------------
Welcome to RSD Lite For Mac and Linux press enter to start your flash
----------------------------------------------------------------------------
max-download-size: 31457280
finished. total time: 0.004s
...
OKAY [ 0.006s]
finished. total time: 0.006s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'partition' (32 KB)...
OKAY [ 0.013s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
OKAY [ 0.359s]
finished. total time: 0.372s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'sbl1' (101 KB)...
OKAY [ 0.018s]
writing 'sbl1'...
OKAY [ 0.497s]
finished. total time: 0.516s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'sbl2' (127 KB)...
OKAY [ 0.020s]
writing 'sbl2'...
OKAY [ 0.934s]
finished. total time: 0.954s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'sbl3' (512 KB)...
OKAY [ 0.056s]
writing 'sbl3'...
OKAY [ 1.106s]
finished. total time: 1.162s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'rpm' (140 KB)...
OKAY [ 0.021s]
writing 'rpm'...
OKAY [ 0.468s]
finished. total time: 0.489s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'tz' (210 KB)...
OKAY [ 0.027s]
writing 'tz'...
OKAY [ 0.519s]
finished. total time: 0.546s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'aboot' (256 KB)...
OKAY [ 0.029s]
writing 'aboot'...
OKAY [ 0.821s]
finished. total time: 0.851s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
Invalid sparse file format at header magi
sending sparse 'modem' (28132 KB)...
OKAY [ 2.115s]
writing 'modem'...
(bootloader) Unknown chunk type
FAILED (remote failure)
finished. total time: 3.293s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'fsg' (165 KB)...
OKAY [ 0.023s]
writing 'fsg'...
OKAY [ 0.912s]
finished. total time: 0.936s
(bootloader) Variable not supported!
erasing 'modemst1'...
OKAY [ 0.781s]
finished. total time: 0.781s
(bootloader) Variable not supported!
erasing 'modemst2'...
OKAY [ 0.789s]
finished. total time: 0.789s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'logo' (854 KB)...
OKAY [ 0.074s]
writing 'logo'...
OKAY [ 1.333s]
finished. total time: 1.407s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.769s]
writing 'boot'...
OKAY [ 4.301s]
finished. total time: 5.069s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.767s]
writing 'recovery'...
OKAY [ 3.264s]
finished. total time: 4.032s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1097312864 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1065859680 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1034406496 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1002953312 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 971471456 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 940014176 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 908552800 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 876706400 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 848497248 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 817044064 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 785844832 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 755759712 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 724302432 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 692779616 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 661322336 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 630585952 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 599100000 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 567589472 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 538651232 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 507165280 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 475695712 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 444242528 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 412719712 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 381262432 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 349809248 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 319117920 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 287664736 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 256182880 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 224729696 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 196082272 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 164596320 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 133143136 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 101689952 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 70236768 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 38754912 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 7301728 is not a multiple of the block size 4096
sending sparse 'system' (30716 KB)...
error: write_sparse_skip_chunk: don't care size 1097312864 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1097312864 is not a multiple of the block size 4096
OKAY [ 2.292s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.409s
(bootloader) Variable not supported!
erasing 'tombstones'...
OKAY [ 0.971s]
finished. total time: 0.971s
(bootloader) Variable not supported!
erasing 'cache'...
OKAY [ 1.257s]
finished. total time: 1.257s
(bootloader) Variable not supported!
erasing 'userdata'...
OKAY [ 4.651s]
finished. total time: 4.651s
...
OKAY [ 0.006s]
finished. total time: 0.006s
---------------------------------------------------------
Please check for errors then press enter to reboot device
---------------------------------------------------------
rebooting...
finished. total time: 0.055s
Can anyone see what is wrong here?
Thanks!
http://forum.xda-developers.com/showpost.php?p=59625242
rahimali said:
http://forum.xda-developers.com/showpost.php?p=59625242
Click to expand...
Click to collapse
Hello rahimali,
Thanks for the response. I've been going through the post you recommended.
The phones I have are:
post-June 2014 (July 29th 2014 to be exact)
.182.46.15
The post recommends I flash 183.46.15 to them, but I have not found a way to do this. I'm on Ubuntu Linux and cannot find a tool to perform the flash. I tried Root Junky's rsd-flash.sh script with the VZW_XT926_4.4.2-KDA20.62-15.1_CFC_1FF.xml firmware. Even tried editing the .xml to remove the lines recommended in the post you provided:
<step operation="getvar" var="max-download-size" />
<step operation="flash" partition="partition" filename="gpt.bin" MD5="....MD5 sum here...." />
<step operation="flash" partition="tz" filename="tz.mbn" MD5="...MD5 sum here...." />
This did not work either. Same errors just after writing 'recovery':
writing 'recovery'...
OKAY [ 3.264s]
finished. total time: 4.034s
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1097312864 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1065859680 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1034406496 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1002953312 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 971471456 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 940014176 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 908552800 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 876706400 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 848497248 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 817044064 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 785844832 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 755759712 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 724302432 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 692779616 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 661322336 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 630585952 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 599100000 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 567589472 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 538651232 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 507165280 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 475695712 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 444242528 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 412719712 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 381262432 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 349809248 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 319117920 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 287664736 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 256182880 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 224729696 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 196082272 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 164596320 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 133143136 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 101689952 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 70236768 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 38754912 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 7301728 is not a multiple of the block size 4096
sending sparse 'system' (30716 KB)...
error: write_sparse_skip_chunk: don't care size 1097312864 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1097312864 is not a multiple of the block size 4096
OKAY [ 2.287s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.409s
(bootloader) Variable not supported!
erasing 'tombstones'...
OKAY [ 0.957s]
finished. total time: 0.957s
(bootloader) Variable not supported!
erasing 'cache'...
OKAY [ 1.269s]
finished. total time: 1.269s
(bootloader) Variable not supported!
erasing 'userdata'...
OKAY [ 4.467s]
finished. total time: 4.467s
...
OKAY [ 0.006s]
finished. total time: 0.006s
---------------------------------------------------------
Please check for errors then press enter to reboot device
---------------------------------------------------------
Any further thoughts/ideas?
Thanks
The 182 or 183 is irrelevant. The fact that you have a July 29 kernel means that your bootloader is locked and cannot be unlocked unless you use the Sunshine app and pay them the requisite amount of $25.
But since your question related only to rooting your device, you can also find out how to do that from the linked thread.
rahimali said:
The 182 or 183 is irrelevant. The fact that you have a July 29 kernel means that your bootloader is locked and cannot be unlocked unless you use the Sunshine app and pay them the requisite amount of $25.
But since your question related only to rooting your device, you can also find out how to do that from the linked thread.
Click to expand...
Click to collapse
I think the fact that my phones have 182 IS relevant. The post you pointed to says:
" If device has system version 182.46.15 XT926
Likely will need to flash the 183.46.15 XT926 firmware first, see end of this post for RSD Lite Instructions "
The RSD Lite Instructions in that post are what I've been trying to follow, but with Ubuntu, my only option is the Root Junky script I mentioned before that is not working. Trying RSD Like 6.2.4 on Windows 8.1 Pro in Virtualbox, but its not recognizing my phone.
What a PITA!
Seattle3D said:
I think the fact that my phones have 182 IS relevant. The post you pointed to says:
" If device has system version 182.46.15 XT926
Likely will need to flash the 183.46.15 XT926 firmware first, see end of this post for RSD Lite Instructions "
The RSD Lite Instructions in that post are what I've been trying to follow, but with Ubuntu, my only option is the Root Junky script I mentioned before that is not working. Trying RSD Like 6.2.4 on Windows 8.1 Pro in Virtualbox, but its not recognizing my phone.
What a PITA!
Click to expand...
Click to collapse
Wowsers, i've been working for days on this now... no go.
I have an official Motorola Data Cable plugged into a USB 2.0 port on my computer.
So far i've tried:
* Root Junky's rsd-flash.sh script on Ubuntu 16.04- NO GO due to the errors shown above
* Hydrogen Peroxide method on Windows 8.1 VM- NO GO due to "Your device is not supported" message at the Make it Rain step
* Flashing the stock firmware back to the devices using RSD Lite on Windows 8.1 VM- NO GO because no matter what I try, the phones will not show up in RSD Lite
* KingoRoot tool on Windows 8.1 VM- NO GO because it only supports phones up to Android 4.3
The next thing i'm going to try (which really looks like a PITA) is to use the SparseConverter tool to break up the system.img into manageable chunks in order to flash using Root Junky's script.
I rooted an XT926 way back in 2013 and it was a piece of cake. Android/Google/Motorola really hosed folks when they patched those pre-june 2014 exploits.
I still have that phone. Does anyone know if I can pull "the rootiness" off of it and "clone" it onto these other phones? That would be awesome.
Thanks
aEHHHSHHAHUGGHHH!!! I'm pissed now.
DOes anyone know why this is happening? Why does adb devices show nothing but fastboot devices shows the phone I have connected?
[email protected]:~$ fastboot devices
TA64806I1E fastboot
[email protected]:~$ adb devices
List of devices attached
<blank>
ahahahdhdhh!! I'm pissed now!
I was able to connect to my device using fastboot. I issued the command sudo fastboot flash recovery recovery.img from the stock firmware. The phone seemed to take it just fine. Still in boot loop. "Please wait, this may take a few minutes." then reboots.
Going to try to flash the boot.img next using fastboot to see if this makes any difference. Still unable to flash system.img due to the "chunk size" errors above. Does ANYONE have insights into this issue?
Seattle3D said:
ahahahdhdhh!! I'm pissed now!
I was able to connect to my device using fastboot. I issued the command sudo fastboot flash recovery recovery.img from the stock firmware. The phone seemed to take it just fine. Still in boot loop. "Please wait, this may take a few minutes." then reboots.
Going to try to flash the boot.img next using fastboot to see if this makes any difference. Still unable to flash system.img due to the "chunk size" errors above. Does ANYONE have insights into this issue?
Click to expand...
Click to collapse
Just use windows operating system instead and use this here to root. Just follow directions in the cmd here is the link for it: http://forum.xda-developers.com/attachment.php?attachmentid=3172551&d=1424298564 Also you will need this apk towel root by geo hot here is the link : https://towelroot.com/tr.apk install apk and run it when it tells you to in the cmd during root process. If you try over and over and it wont work then you can use kingo root as temporary root just don't reboot device until you unlock bootloader with the sun app witch you can download the apk from their website here http://theroot.ninja/index.html Note: The sun app cost 25 dollars to use it will ask for card information during unlock process.

How to install RUU

Hello
I would like to return my HTC one mini to factory firmware. After much searching, I found and downloaded this:
https://www.androidfilehost.com/?w=files&flid=29622
PO58IMG_M4_UL_K44_SENSE60_MR_HTC_Europe_4.14.401.2_Radio_1.28.40e.00.24_10.z19.40.1304L_release_450912_combined_signed.zip
I checked my device version:
$ Fastboot getvar version-main
version-main: 4.14.401.2
finished. total time: 0.006s
I tried this:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
target reported max download size of 800227328 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 300873309 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (781468 KB)...
error: write_sparse_skip_chunk: don't care size 300873309 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 300873309 is not a multiple of the block size 4096
OKAY [ 39.015s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 128.246s
The bootloader is relocked.
What could be the problem?
P.S. I cannot open the zip file in Windows. It says it is invalid. Could be corrupt?
Hmm... I think that a Relocked bootloader is the problem. By the way did you try flashing the RUU trough TWRP?

*Hard Brick* Nothing but Bootloader

Hi,
my HTC ONE MINI just reboots into bootloader. Everytime i start it it boots itself into bootloader. As long i tried to flash the Stock Rom, the Stock Recovery and the TWRP Recovery but everytime it end up into an ERROR. I also tried to unlock the bootloader but it dont work it worked as long i tried to flash the unlock_code.bin. It does everything but then nothing happens.
Informations:
What shows up in my bootloader:
Code:
***LOCKED***
M4_UL PVT SHIP S-ON RL
HBOOT-2.22.0000
OS-4.14.401.2
eMMC-boot 1024MB
'The Date(Wrong ;)
the usual stuff (the red fastboot Font, Bootloader, Reboot, Reboot Bootloader, Power Down )
Thats the result when i try to flash the stock ROM.
Code:
C:\Users\#####\Desktop\Flashable>fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip
< waiting for any device >
target reported max download size of 800227328 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 876696571 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 76395515 is not a multiple of the block size 4096
sending sparse 'zip' 1/3 (781468 KB)...
error: write_sparse_skip_chunk: don't care size 876696571 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 876696571 is not a multiple of the block size 4096
OKAY [ 31.948s]
writing 'zip' 1/3...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 131.591s
When i try to flash the stock recovery:
Code:
C:\Users\####\Desktop\#######>fastboot flash recovery M4_UL_Stock_Recovery_4.14.401.1.img
target reported max download size of 800227328 bytes
sending 'recovery' (11410 KB)...
OKAY [ 1.425s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.529s
When i try to flash the TWRP Recovery
Code:
C:\Users\Fabian\Desktop\handy anna>fastboot flash recovery twrp-2.8.7.0-m4.img
< waiting for any device >
target reported max download size of 800227328 bytes
sending 'recovery' (11460 KB)...
OKAY [ 1.494s]
writing 'recovery'...
FAILED (remote: no transfered data)
finished. total time: 1.685s
thank you for your proposals

Cannot flash system into Xperia E C1505

Hi guys,
I have problem with my rooted Xperia E C1505 with unlocked bootloader. I'm trying to flash system but it always end with error.
What I tried:
Code:
fastboot flash system system.img
Ends up with:
Code:
target didn't report max-download-size
sending 'system' (208764 KB)...
FAILED (remote: Download size too large)
finished. total time: 0.008s
So I tried to flash it in multiple parts:
Code:
fastboot -S 128M flash system system.img
And got stuck with this message:
Code:
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 79560896 is not a multiple of the block size 4096
sending sparse 'system' 1/2 (131068 KB)...
error: write_sparse_skip_chunk: don't care size 79560896 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 79560896 is not a multiple of the block size 4096
(bootloader) USB download speed was 20194kB/s
OKAY [ 6.708s]
writing 'system' 1/2...
(bootloader) Flash of partition 'system' requested
(bootloader) S1 partID 0x00000004, block 0x00033000-0x00177fff
(bootloader) Unsupported chunk type: 0x0
At this point flashing stuck.
I don't know what to do with it because flashing boot/userdata works great, erasing partitions doesn't help and another threads on this subject also doesn't help me a lot.
Maybe could be helpful that
Code:
fastboot getvar all
returns nothing.
I also tried to change USB cable but it doesn't seem like this is the problem.
Thanks for any help

How To Guide Guide to flash GSI on the Oppo A54

DISCLAIMER​* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.​
PRE REQUIREMENTS:​
Bootloader must be unlock ( Click here to know how)
USB debugging must be enabled
SDK Platform Tools (Get it here)
Mtk client (Get it here)
Any Android 10,11 or 12 GSI (A list of GSI's can be found here)
Dump vbmeta partition from stock rom using mtk client (Check the bootloader unlock guide to know how)
INSTALLATION STEPS​STEP 1: Reboot into fastboot by executing the below command
Spoiler: CODE
adb reboot fastboot
STEP 2: Flash vbmeta with the below command
Spoiler: CODE
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
STEP 3: Flash magisk patched boot.img (Optional)
Spoiler: CODE
fastboot flash boot boot.img
STEP 4: Reboot into fastbootd with the below command (On Android 11, If you're on 10 skip this step)
Spoiler: CODE
fastboot reboot fastboot
STEP 5: Flash your required GSI with the below command
Spoiler: CODE
fastboot flash system system.img
STEP 6: Once the flashing process is done power off your device. Open mtk_gui and connect your device by press vol up and vol down and inserting the USB cable. From mtk_gui erase USERDATA and CACHE partitions.
STEP 7: Disconnect your device and reboot!
POST INSTALLATION ​- If you have flashed a phh based GSI, After booting to GSI and completing the setup go to Settings > Phh treble Settings > Misc features and enable "alternative backlight scale" to fix brightness
Did I help you with this guide? If so do hit the thanks button
SCREENSHOTS​Taken from Pixel Experience GSI
Nice
bro im having this error, then i got bootlooped
Code:
PixelExperience_Plus_arm64-aonly-11.0-20211011-UNOFFICIAL.img'
Invalid sparse file format at header magic
Resizing 'system' OKAY [ 0.011s]
error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 155607072 is not a multiple of the block size 4096
Sending sparse 'system' 1/3 (524284 KB) error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
OKAY [ 29.347s]
Writing 'system' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Android_0000017 said:
bro im having this error, then i got bootlooped
Code:
PixelExperience_Plus_arm64-aonly-11.0-20211011-UNOFFICIAL.img'
Invalid sparse file format at header magic
Resizing 'system' OKAY [ 0.011s]
error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 155607072 is not a multiple of the block size 4096
Sending sparse 'system' 1/3 (524284 KB) error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
OKAY [ 29.347s]
Writing 'system' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Click to expand...
Click to collapse
Why are you flashing aonly GSI. Our device is ab. Also make sure you are using latest platform tools folder. And also do "fastboot reboot fastboot" before flashing GSI
Android_0000017 said:
bro im having this error, then i got bootlooped
Code:
PixelExperience_Plus_arm64-aonly-11.0-20211011-UNOFFICIAL.img'
Invalid sparse file format at header magic
Resizing 'system' OKAY [ 0.011s]
error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 155607072 is not a multiple of the block size 4096
Sending sparse 'system' 1/3 (524284 KB) error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 692473888 is not a multiple of the block size 4096
OKAY [ 29.347s]
Writing 'system' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Click to expand...
Click to collapse
Download PixelExperience_Plus_arm64-ab-11.0-UNOFFICIAL.img
Btw you can join our telegram group
Just search oppo a54 discussion
Can anyone help me for 'Null' IMEI
moksha098765 said:
Can anyone help me for 'Null' IMEI
Click to expand...
Click to collapse
Is it in stock or GSI?
So, actually I formatted the whole phone.
I mean now IMEI is not there on either of them.
I tried flashing NVRAM and NVDATA from different dumps but no luck
Now I am on Corvus v S3.0 here it shows IMEI and sv as unknown.
moksha098765 said:
So, actually I formatted the whole phone.
I mean now IMEI is not there on either of them.
I tried flashing NVRAM and NVDATA from different dumps but no luck
Now I am on Corvus v S3.0 here it shows IMEI and sv as unknown.
Click to expand...
Click to collapse
That is a bug actually. If you flash a GSI over stock android 10 IMEI and sv will be unknown. But It's fine as long as calls and messages work fine
This bug is not there when flashing a GSI over stock android 11
Johannj22 said:
That is a bug actually. If you flash a GSI over stock android 10 IMEI and sv will be unknown. But It's fine as long as calls and messages work fine
Click to expand...
Click to collapse
No I am not able to make calls and messages, Network not found.
How fix it?
Johan sir will this method work on oppo A15s
blessed4nitin said:
Johan sir will this method work on oppo A15s
Click to expand...
Click to collapse
I think it should. Both the devices have same soc.
Johannj22 said:
I think it should. Both the devices have same soc.
Click to expand...
Click to collapse
Okay sir i am planning to flash it right now so do you have any discord where i can connect with you and adk you few questions related to this.
Johannj22 said:
I think it should. Both the devices have same soc.
Click to expand...
Click to collapse
Johan?
So I unlocked my bootloader but after that I didn't seem to understand anything
blessed4nitin said:
Okay sir i am planning to flash it right now so do you have any discord where i can connect with you and adk you few questions related to this.
Click to expand...
Click to collapse
Feel free to DM me.
lmao after 2 bricks its finally working but experience was so bad i just uninstalled it

Categories

Resources