bkerler / oppo_decrypt Goto Github PK
View Code? Open in Web Editor NEWOppo .ofp Firmware decrypter and oneplus .ops de-/encrypter
Oppo .ofp Firmware decrypter and oneplus .ops de-/encrypter
Traceback (most recent call last):
File "ofp_extract.py", line 252, in
main()
File "ofp_extract.py", line 205, in main
root = ET.fromstring(xml)
File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 1321, in XML
return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 2, column 9
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
I am getting this error again n again. i have sucessfully installed requirement.txt but when i try to extract the file for qualcomm, this error shows up. I have python 3.9.2 installed in my windows system.
No clue why this failed, or what file it didnt decrypt.
Extracting guacamolet_21_O.08_190502.ops
MBox4
Extracting prog_firehose_ddr.elf
Extracting prog_firehose_lite.elf
Extracting provision_samsung.xml
Extracting provision_toshiba.xml
Extracting provision_hynix.xml
Extracting provision_wdc.xml
Extracting persist.img
Sha256 fail.
Extracting param.bin
Extracting op2.img
Extracting dynamic_nvbk.bin
Extracting static_nvbk.bin
Extracting config.bin
Extracting system.img
29419OW19W12EU_11_A.36_200924_d784fa8b_MCU_2009051806.ofp
in https://gist.github.com/ShinoNuma/c4746c3a93928433200f16f8ecf2da49 provided by @SHiNoNuma
May other ofp have such problems too @bkerler
Thanks it worked with "RMX1941EX_11_A.10_190507_c80b7906" looks like everything has been extracted but i can't find the DA_FILE (DownloadAgent.bin)
via windows
PS E:\New folder> python3 ofp_mtk_decrypt.py RMX1941EX_11_A.28.ofp extract
PS E:\New folder> python3 ofp_mtk_decrypt.py RMX1941EX_11_A.28.ofp E:\New folder
PS E:\New folder>
via wsl2
root@SID:/mnt/e/New folder# ./ofp_mtk_decrypt.py RMX1941.ofp
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/359. import-im6.q16: unable to open X server
' @ error/import.c/ImportImageCommand/359.
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/359. from: too many arguments from: too many arguments from: too many arguments ./ofp_mtk_decrypt.py: line 11: syntax error near unexpected token
('
./ofp_mtk_decrypt.py: line 11: `def swap(ch):'
Hello there,
I have searched a lot to find out solution for extracting all the frimware of Oppo A5 2020.ofp files like firehorse , system, boot, etc. Maybe this tool can be help me but i am unable to find the cmd to use that can you please explain.
Please bring support ASAP
I would much appreciate OP 8 Pro support. Thank you so much!
Is it possible to re-encrypt ofp files like ops?
I have contacted you through a tweet for that split super img decryption. So here are the ofp of new realme UI 2 (colors 11) ofps.... which have split super imgs...
Qcom: https://fileload.coloros.com/489556RMX3081export_11_A.28_202104090212.zip [REALME 8 PRO]
MTK: https://fileload.coloros.com/489478RMX3191export_11_A.10_202103300234.zip [REALME C25]
Kkjjj
https://download.c.realme.com/flash/Flash_Package/X/RMX1901EX_11_C.03.ofp
> python3 ofp_qc_extract.py RMX1901EX_11_C.03.ofp out
Unknown pagesize. Aborting
I need to unbrick my oneplus 5t without loss my user data. All oneplus 5t unbrick tools have firmware in one file .ops. I need extract it and then I will try this guide to save my data. https://forum.xda-developers.com/oneplus-3t/how-to/unbrick-tool-3t-unbrick-data-babloo-t3737791
Please, help me!
Hello ! your scripts are just awesome ! and helped me alot already but I'm stuck at an stage which is "OFP Extraction". The thing is I don't have any idea about "startoffset" or "length" I tried researching but couldn't understand at all. Pardon my dumbness. Maybe I'm just not able to get in the right direction..
So, as an solution I thought to ask you out like what about if you can create another script which could just extract the whole .ofp file or you can also give options within the script itself to choose between complete extraction or offset specific extraction ? whatever you think about it please reply it's ok if it's not possible but please do reply.
Thanks,
Ldev
Hi I have never looked at something like this before, but basically have no other way of finding a flashable zip for a Realme OFP file.
I have installed python, downloaded the program... now what?
I hope to get clear simple directions if possible. Im not sure what that first command meant.
:)
@bkerler
I analyzed the code these days and I understand how it works, I just don't understand how you found out that the packages, ofp for example, were unzipped that way, I also analyzed the original ofp package after it was unzipped and there are still some non-00 bytes left between some files , what are these bytes? what are they for?
Traceback (most recent call last):
File "ofp_extract.py", line 252, in <module>
main()
File "ofp_extract.py", line 182, in main
pagesize,key,iv,data=generatekey2(filename)
File "ofp_extract.py", line 92, in generatekey2
pagesize,data=extract_xml(filename,key,iv)
File "ofp_extract.py", line 121, in extract_xml
dec=aes_cfb(data,key,iv)
File "ofp_extract.py", line 134, in aes_cfb
ctx = AES.new(key, AES.MODE_CFB, iv=iv, segment_size=128)
File "/home/kirtan/.local/lib/python3.6/site-packages/Crypto/Cipher/AES.py", line 95, in new
return AESCipher(key, *args, **kwargs)
File "/home/kirtan/.local/lib/python3.6/site-packages/Crypto/Cipher/AES.py", line 59, in __init__
blockalgo.BlockAlgo.__init__(self, _AES, key, *args, **kwargs)
File "/home/kirtan/.local/lib/python3.6/site-packages/Crypto/Cipher/blockalgo.py", line 141, in __init__
self._cipher = factory.new(key, *args, **kwargs)
TypeError: 'iv' is an invalid keyword argument for this function
OFP zip: https://drive.google.com/uc?id=1Mx5Po-HEbFTNumCW_jsqyaRnSmcFrkLU&export=download
Output: https://del.dog/ifywexafun.txt
Other partitions got extracted except super.img
Can u please extract ofp for realme 3 and upload it to a drive plz
link for ofp: https://combinefile.com/index.php?a=downloads&b=file&id=41335
I really like your tool, can you tell me how do you extract the keys,
I unpacked recovery.img and got keys and specialkeys files, are these files you use to make decryption keys
Usage: E:\Find\ofp_decrypt.py
how to do?
unfrotunatly i erase my oneplus 6 persist.img and lock bootloader..now my phone stuck on bootloop...i need firmware core script file to flash persist.img..this extracting prossece is very complicated i'm not computer science student..i can;t under stand whole prossece..please make a tutorial video about it on youtube
python ofp_qc_decrypt.py PCHM30_11_A.16_191026_4b90ab90.ofp ./o/
Saving ProFile.xml
Extracting BTFM.bin
Extracting BTFM_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting DRIVER.ISO
Error on hashes. File might be broken ! Crypt
Extracting NON-HLOS.bin
Error on hashes. File might be broken ! Crypt
Extracting NON-HLOS_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting abl.elf
Error on hashes. File might be broken ! Crypt
Extracting boot.img
Error on hashes. File might be broken ! Crypt
Extracting cache.img
Error on hashes. File might be broken ! Crypt
Extracting cmnlib.mbn
Error on hashes. File might be broken ! Crypt
Extracting cmnlib64.mbn
Error on hashes. File might be broken ! Crypt
Extracting ddr.img
Error on hashes. File might be broken ! Crypt
Extracting devcfg.mbn
Error on hashes. File might be broken ! Crypt
Extracting dpAP.mbn
Error on hashes. File might be broken ! Crypt
Extracting dspso.bin
Error on hashes. File might be broken ! Crypt
Extracting dtbo.img
Error on hashes. File might be broken ! Crypt
Extracting dynamic_nvbk.bin
Error on hashes. File might be broken ! Crypt
Extracting emmc_fw.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_backup0.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_backup0_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_backup1_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_backup2.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_backup2_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_backup3_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_backup4_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_backup5_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_main0.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_main0_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_main1_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_main2.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_main2_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_main3_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_main4_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting gpt_main5_ufs.bin
Error on hashes. File might be broken ! Crypt
Extracting hyp.mbn
Error on hashes. File might be broken ! Crypt
Extracting imagefv.elf
Error on hashes. File might be broken ! Crypt
Extracting km4.mbn
Error on hashes. File might be broken ! Crypt
Extracting logfs_ufs_8mb.bin
Error on hashes. File might be broken ! Crypt
Extracting metadata.img
Error on hashes. File might be broken ! Crypt
Extracting odm.img
Error on hashes. File might be broken ! Crypt
Extracting oppo19021.bin
Error on hashes. File might be broken ! Crypt
Extracting oppo19022.bin
Error on hashes. File might be broken ! Crypt
Extracting oppo_sec.mbn
Error on hashes. File might be broken ! Crypt
Extracting opporeserve2.img
Error on hashes. File might be broken ! Crypt
Extracting persist.img
Error on hashes. File might be broken ! Crypt
Extracting qupv3fw.elf
Error on hashes. File might be broken ! Crypt
Extracting recovery.img
Error on hashes. File might be broken ! Crypt
Extracting rpm.mbn
Error on hashes. File might be broken ! Crypt
Extracting sec_smt.dat
Error on hashes. File might be broken ! Crypt
Extracting splash.img
Error on hashes. File might be broken ! Crypt
Extracting static_nvbk.bin
Error on hashes. File might be broken ! Crypt
Extracting storsec.mbn
Error on hashes. File might be broken ! Crypt
Extracting system.img
Error on hashes. File might be broken ! Crypt
Extracting tz.mbn
Error on hashes. File might be broken ! Crypt
Extracting uefi_sec.mbn
Error on hashes. File might be broken ! Crypt
Extracting userdata.img
Error on hashes. File might be broken ! Crypt
Extracting vbmeta.img
Error on hashes. File might be broken ! Crypt
Extracting vendor.img
Error on hashes. File might be broken ! Crypt
Extracting xbl.elf
Error on hashes. File might be broken ! Crypt
Extracting xbl_config.elf
Error on hashes. File might be broken ! Crypt
Extracting Setting.xml
Error on hashes. File might be broken ! Crypt
Extracting Projectconfig.xml
Error on hashes. File might be broken ! Crypt
Extracting prog_firehose_ddr.elf
Extracting rawprogram0.xml
Error on hashes. File might be broken ! Crypt
Extracting rawprogram2.xml
Error on hashes. File might be broken ! Crypt
Extracting patch0.xml
Error on hashes. File might be broken ! Crypt
Extracting patch2.xml
Error on hashes. File might be broken ! Crypt
Extracting ChainedTableOfDigests_19021_all.bin
Extracting ChainedTableOfDigests_19021_persist_no_userdata_yes.bin
Extracting ChainedTableOfDigests_19021_persist_yes_userdata_yes.bin
Extracting ChainedTableOfDigests_19021_persist_yes_userdata_no.bin
Extracting ChainedTableOfDigests_19021_persist_no_userdata_no.bin
Extracting ChainedTableOfDigests_19022_all.bin
Extracting ChainedTableOfDigests_19022_persist_no_userdata_yes.bin
Extracting ChainedTableOfDigests_19022_persist_yes_userdata_yes.bin
Extracting ChainedTableOfDigests_19022_persist_yes_userdata_no.bin
Extracting ChainedTableOfDigests_19022_persist_no_userdata_no.bin
Extracting DigestsToSign_19021_all.bin.mbn
Extracting DigestsToSign_19021_persist_no_userdata_yes.bin.mbn
Extracting DigestsToSign_19021_persist_yes_userdata_yes.bin.mbn
Extracting DigestsToSign_19021_persist_yes_userdata_no.bin.mbn
Extracting DigestsToSign_19021_persist_no_userdata_no.bin.mbn
Extracting DigestsToSign_19022_all.bin.mbn
Extracting DigestsToSign_19022_persist_no_userdata_yes.bin.mbn
Extracting DigestsToSign_19022_persist_yes_userdata_yes.bin.mbn
Extracting DigestsToSign_19022_persist_yes_userdata_no.bin.mbn
Extracting DigestsToSign_19022_persist_no_userdata_no.bin.mbn
Extracting prog_firehose_ddr_ufs.elf
Extracting rawprogram0_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting rawprogram1_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting rawprogram2_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting rawprogram3_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting rawprogram4_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting rawprogram5_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting patch0_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting patch1_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting patch2_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting patch3_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting patch4_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting patch5_ufs.xml
Error on hashes. File might be broken ! Crypt
Extracting ChainedTableOfDigests_19021_all_ufs.bin
Extracting ChainedTableOfDigests_19021_persist_no_userdata_yes_ufs.bin
Extracting ChainedTableOfDigests_19021_persist_yes_userdata_yes_ufs.bin
Extracting ChainedTableOfDigests_19021_persist_yes_userdata_no_ufs.bin
Extracting ChainedTableOfDigests_19021_persist_no_userdata_no_ufs.bin
Extracting ChainedTableOfDigests_19022_all_ufs.bin
Extracting ChainedTableOfDigests_19022_persist_no_userdata_yes_ufs.bin
Extracting ChainedTableOfDigests_19022_persist_yes_userdata_yes_ufs.bin
Extracting ChainedTableOfDigests_19022_persist_yes_userdata_no_ufs.bin
Extracting ChainedTableOfDigests_19022_persist_no_userdata_no_ufs.bin
Extracting ChainedTableOfDigests_provision_hynix.bin
Extracting ChainedTableOfDigests_provision_samsung.bin
Extracting ChainedTableOfDigests_provision_micron.bin
Extracting DigestsToSign_19021_all_ufs.bin.mbn
Extracting DigestsToSign_19021_persist_no_userdata_yes_ufs.bin.mbn
Extracting DigestsToSign_19021_persist_yes_userdata_yes_ufs.bin.mbn
Extracting DigestsToSign_19021_persist_yes_userdata_no_ufs.bin.mbn
Extracting DigestsToSign_19021_persist_no_userdata_no_ufs.bin.mbn
Extracting DigestsToSign_19022_all_ufs.bin.mbn
Extracting DigestsToSign_19022_persist_no_userdata_yes_ufs.bin.mbn
Extracting DigestsToSign_19022_persist_yes_userdata_yes_ufs.bin.mbn
Extracting DigestsToSign_19022_persist_yes_userdata_no_ufs.bin.mbn
Extracting DigestsToSign_19022_persist_no_userdata_no_ufs.bin.mbn
Extracting DigestsToSign_provision_hynix.bin.mbn
Extracting DigestsToSign_provision_samsung.bin.mbn
Extracting DigestsToSign_provision_micron.bin.mbn
Extracting provision_hynix.xml
Error on hashes. File might be broken ! Crypt
Extracting provision_samsung.xml
Error on hashes. File might be broken ! Crypt
Extracting provision_micron.xml
Error on hashes. File might be broken ! Crypt
Done. Extracted files to ./o/
Some OPPO MTK devices ofp file,after unpack ofp file.Will show super0.xxx.img super1.xxx.img,and have a super_map.scv file,this file include super file address. so can we support auto merge all the super file to super.img?
device is oppo a93,if you don't have ofp file. I can provide one for you.
python3 opscrypto.py encrypt extract --projid=19805 --firmwarename=19805 --savename=19805.ops
Oneplus CryptTools V1.3 (c) B. Kerler 2019-2021
MIT License
----------------------------
Traceback (most recent call last):
File "opscrypto.py", line 697, in <module>
main()
File "opscrypto.py", line 630, in main
item, pos = copyitem(item, directory, pos, wf)
File "opscrypto.py", line 517, in copyitem
pos += rlen
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
I tried to add these code after line 517:
if rlen == None:
rlen = 0
Then ops can generate, but cannot load.
(MsmDownloadTool_ops_5.1.92.0_reserve)
Hello! First i want to say that your work is awesome, for real, it's really good! I have OP5 and I'm testing EDK2 UEFI on it right now, and every time it fails i need to flash full ROM to restore my phone, which is really inconvenient. For now i don't have understanding how can i pull abl.elf or gpt.bin or rawprogram0.xml from that image as I don't know the offsets for this. If you have any information about it, placing it in readme would be very welcomed!
P.S Readback don't work for me, can't understand why. Memory error, errno 5 error etc., but it never actually read something.
I have problem , can you solve it somehow? I really need boot.img file and I can't extract my XRMX.ofp file and I see this:
python3 ofp_qc_decrypt.py XRMX.ofp obraz
Unknown pagesize. Aborting
If we use backdoor to hook MsmDownloadTool is not working for that :(
fail message:Unknown pagesize. Aborting
can you plz do support this device too../
firmware link : https://drive.google.com/file/d/1HtK1kEsUj61yosMQ9UhofxnlVS_sdMWq/view?usp=sharing
decrypted file:
https://androidfilehost.com/?fid=11410963190603873017
original ofp:
链接: https://pan.baidu.com/s/1wbEidozxFNfryax4vKwcSA 密码: o9ob
the ofp can be decrypted, but the imgs still encrypted:
$ file boot.img
boot.img: data
$ file opporeserve2.img
opporeserve2.img: data
$ file recovery.img
recovery.img: PGP Secret Key -
the normal boot:
$ file boot_11.1.053_st.img
boot_11.1.053_st.img: Android bootimg, kernel (0x8000), ramdisk (0x1000000), page size: 4096, cmdline (console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidb)
So I tried feeding this firmware into the tool to no avail:
https://fileload.coloros.com/503830RMX2020export_11_C.07_2021091423380000.zip
All dependences appear to be satisfied, yet I end up with the dreaded "Unknown pagesize. Aborting" error. Is there anything I should do with this?
ofp_decrypt.py cann't find key or no way specified
as well backdoor doesnt work tried all things but doesnt
Hi ViperBJK!
Thank you for your nice piece of code to extract ofp file. I have successfully converted it to delphi.
As I can see, it only supports QC firmware. I could not find any way to find page size sign in all MTK firmware I have. Also random decryption did not help.
Can you please shed some light or help me to work on MTK firmware decryption?
Br,
i just try to extract ofp oppo a92 but failed and give me blank folder
please add oppo A92 key.
E:\CPH2059>python ofp_extract.py CPH2059PU_11_A.11_200406_18ab13a8.ofp
Traceback (most recent call last):
File "ofp_extract.py", line 252, in
main()
File "ofp_extract.py", line 219, in main
start = int(item.attrib["SizeInSectorInSrc"]) * pagesize
KeyError: 'SizeInSectorInSrc'
I am getting this error output when i try to decrypt Realme 8 PRO ofp with the link bellow:
b'ab3f76d7989207f2' b'2bf515b3a9737835' Unknown key. Please ask the author for support :)
https://fileload.coloros.com/490144RMX3081GDPR_11_A.30_2021042200210000.zip
#A
File "ofp_extract.py", line 153 print(f"Extracting {wfilename}") ^ SyntaxError: invalid syntax
#B after commenting line no . 153
Unknown pagesize. Aborting
can you plz do support this device too../
firmware link : https://androidfilehost.com/?fid=8889791610682909823
E:\软件\oppok3\oppo_decrypt-master>ofp_qc_extract.py PCGM00_11_A.04_190626_dbcddc4a.ofp "E:\软件\oppok3\oppo_decrypt-master\k3"
Extracting prog_firehose_ddr.elf
Extracting persist.img
Extracting cache.img
Extracting system.img
Error on hashes. File might be broken ! Crypt
Extracting userdata.img
Error on hashes. File might be broken ! Crypt
Extracting gpt_main0.bin
Extracting gpt_backup0.bin
Extracting xbl.elf
Extracting xbl_config.elf
Extracting gpt_main1.bin
Extracting gpt_backup1.bin
Extracting gpt_main2.bin
Extracting gpt_backup2.bin
Extracting oppo18041.bin
Extracting oppo18038.bin
Extracting gpt_main3.bin
Extracting gpt_backup3.bin
Extracting aop.mbn
Extracting tz.mbn
Extracting hyp.mbn
Extracting hyp.mbn
Extracting NON-HLOS.bin
Extracting BTFM.bin
Extracting abl.elf
Extracting dspso.bin
Extracting km4.mbn
Extracting boot.img
Extracting cmnlib.mbn
Extracting cmnlib64.mbn
Extracting devcfg.mbn
Extracting qupv3fw.elf
Extracting vendor.img
Error on hashes. File might be broken ! Crypt
Extracting vbmeta.img
Extracting recovery.img
Extracting dtbo.img
Extracting storsec.mbn
Extracting oppo_sec.mbn
Extracting sec_smt.dat
Extracting dpAP.mbn
Extracting dpMSA.mbn
Extracting splash.img
Extracting logfs_ufs_8mb.bin
Extracting gpt_main4.bin
Extracting gpt_backup4.bin
Extracting dynamic_nvbk.bin
Extracting static_nvbk.bin
Extracting emmc_fw.bin
Extracting opporeserve2.img
Error on hashes. File might be broken ! Crypt
Extracting DRIVER.ISO
Extracting gpt_main5.bin
Extracting gpt_backup5.bin
Extracting Setting.xml
Extracting Projectconfig.xml
Extracting rawprogram0.xml
Extracting rawprogram1.xml
Extracting rawprogram2.xml
Extracting rawprogram3.xml
Extracting rawprogram4.xml
Extracting rawprogram5.xml
Extracting patch0.xml
Extracting patch1.xml
Extracting patch2.xml
Extracting patch3.xml
Extracting patch4.xml
Extracting patch5.xml
Extracting provision_hynix.xml
Extracting provision_samsung.xml
Extracting provision_micron.xml
Extracting ChainedTableOfDigests_18041_all.bin.
Extracting ChainedTableOfDigests_18041_persist_no_userdata_yes.bin.
Extracting ChainedTableOfDigests_18041_persist_yes_userdata_yes.bin.
Extracting ChainedTableOfDigests_18041_persist_yes_userdata_no.bin.
Extracting ChainedTableOfDigests_18041_persist_no_userdata_no.bin.
Extracting ChainedTableOfDigests_18038_all.bin.
Extracting ChainedTableOfDigests_18038_persist_no_userdata_yes.bin.
Extracting ChainedTableOfDigests_18038_persist_yes_userdata_yes.bin.
Extracting ChainedTableOfDigests_18038_persist_yes_userdata_no.bin.
Extracting ChainedTableOfDigests_18038_persist_no_userdata_no.bin.
Extracting ChainedTableOfDigests_pre_provision.bin.
Extracting ChainedTableOfDigests_provision_hynix.bin.
Extracting ChainedTableOfDigests_provision_samsung.bin.
Extracting ChainedTableOfDigests_provision_micron.bin.
Extracting DigestsToSign_18041_all.bin.mbn.
Extracting DigestsToSign_18041_persist_no_userdata_yes.bin.mbn.
Extracting DigestsToSign_18041_persist_yes_userdata_yes.bin.mbn.
Extracting DigestsToSign_18041_persist_yes_userdata_no.bin.mbn.
Extracting DigestsToSign_18041_persist_no_userdata_no.bin.mbn.
Extracting DigestsToSign_18038_all.bin.mbn.
Extracting DigestsToSign_18038_persist_no_userdata_yes.bin.mbn.
Extracting DigestsToSign_18038_persist_yes_userdata_yes.bin.mbn.
Extracting DigestsToSign_18038_persist_yes_userdata_no.bin.mbn.
Extracting DigestsToSign_18038_persist_no_userdata_no.bin.mbn.
Extracting DigestsToSign_pre_provision.bin.mbn.
Extracting DigestsToSign_provision_hynix.bin.mbn.
Extracting DigestsToSign_provision_samsung.bin.mbn.
Extracting DigestsToSign_provision_micron.bin.mbn.
Done. Extracted files to E:\软件\oppok3\oppo_decrypt-master\k3
Hi, I am trying a Realme firmware, but it fails here, I don't have python knowledge, so not sure what to do here:
Traceback (most recent call last): File "ops_extract.py", line 252, in <module> main() File "ops_extract.py", line 182, in main pagesize,key,iv,data=generatekey2(filename) File "ops_extract.py", line 92, in generatekey2 pagesize,data=extract_xml(filename,key,iv) File "ops_extract.py", line 121, in extract_xml dec=aes_cfb(data,key,iv) File "ops_extract.py", line 134, in aes_cfb ctx = AES.new(key, AES.MODE_CFB, iv=iv, segment_size=128) File "/home/rajatgupta1998/.local/lib/python3.6/site-packages/Crypto/Cipher/AES.py", line 95, in new return AESCipher(key, *args, **kwargs) File "/home/rajatgupta1998/.local/lib/python3.6/site-packages/Crypto/Cipher/AES.py", line 59, in __init__ blockalgo.BlockAlgo.__init__(self, _AES, key, *args, **kwargs) File "/home/rajatgupta1998/.local/lib/python3.6/site-packages/Crypto/Cipher/blockalgo.py", line 141, in __init__ self._cipher = factory.new(key, *args, **kwargs) TypeError: 'iv' is an invalid keyword argument for this function
Extracting prog_emmc_firehose_8953_ddr.mbn
Extracting dynamic_nvbk.bin
Error on hashes. File might be broken ! Crypt
Extracting static_nvbk.bin
Error on hashes. File might be broken ! Crypt
Extracting persist.img
Error on hashes. File might be broken ! Crypt
Extracting emmc_fw.bin
Error on hashes. File might be broken ! Crypt
Extracting marketname.xml
Error on hashes. File might be broken ! Crypt
Extracting opporeserve2.img
Error on hashes. File might be broken ! Crypt
Extracting sbl1.mbn
Error on hashes. File might be broken ! Crypt
Extracting rpm.mbn
Error on hashes. File might be broken ! Crypt
Extracting tz.mbn
Error on hashes. File might be broken ! Crypt
Extracting devcfg.mbn
Error on hashes. File might be broken ! Crypt
Extracting sbl1.mbn
Error on hashes. File might be broken ! Crypt
Extracting rpm.mbn
Error on hashes. File might be broken ! Crypt
Extracting tz.mbn
Error on hashes. File might be broken ! Crypt
Extracting devcfg.mbn
Error on hashes. File might be broken ! Crypt
Extracting adspso.bin
Error on hashes. File might be broken ! Crypt
Extracting sec_smt.dat
Error on hashes. File might be broken ! Crypt
Extracting emmc_appsboot.mbn
Error on hashes. File might be broken ! Crypt
Extracting emmc_appsboot.mbn
Error on hashes. File might be broken ! Crypt
Extracting NON-HLOS.bin
Error on hashes. File might be broken ! Crypt
Extracting dtbo.img
Error on hashes. File might be broken ! Crypt
Extracting vbmeta.img
Error on hashes. File might be broken ! Crypt
Extracting boot.img
Error on hashes. File might be broken ! Crypt
Extracting recovery.img
Error on hashes. File might be broken ! Crypt
Extracting logo.bin
Error on hashes. File might be broken ! Crypt
Extracting DRIVER.ISO
Error on hashes. File might be broken ! Crypt
Extracting cache.img
Error on hashes. File might be broken ! Crypt
Extracting mdtp.img
Error on hashes. File might be broken ! Crypt
Extracting lksecapp.mbn
Error on hashes. File might be broken ! Crypt
Extracting cmnlib_30.mbn
Error on hashes. File might be broken ! Crypt
Extracting cmnlib64_30.mbn
Error on hashes. File might be broken ! Crypt
Extracting keymaster64.mbn
Error on hashes. File might be broken ! Crypt
Extracting lksecapp.mbn
Error on hashes. File might be broken ! Crypt
Extracting cmnlib_30.mbn
Error on hashes. File might be broken ! Crypt
Extracting cmnlib64_30.mbn
Error on hashes. File might be broken ! Crypt
Extracting keymaster64.mbn
Error on hashes. File might be broken ! Crypt
Extracting dpAP.mbn
Error on hashes. File might be broken ! Crypt
Extracting system.img
Error on hashes. File might be broken ! Crypt
Extracting vendor.img
File "D:\Desktop\R9s_11_A.26_180703\ofp_qc_extract.py", line 8, in
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
Oppo decrypt doesn't able to decrypt Realme Narzo 30A firmware
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.