Comments (7)
Today, i added statements for calling it you want, but i'm not sure it will work or not:
/git/mtkclient/mtk
elif subcmd == "rpmb":
rpmb_subcmd = args.rpmb_subcmd
if rpmb_subcmd is None:
print('Available xflash rpmb cmds are: [r w]')
'''
Keuntae Shin: add rpmb_subcmd for writing
'''
if rpmb_subcmd == "r":
mtk.daloader.read_rpmb(args.filename)
+ elif rpmb_subcmd == "w":
+ mtk.daloader.write_rpmb(args.filename)
Also, i added several statements to respond unexpected exception of original code, that is raised by return code from devices. I'm afraid that it would depend on target devices, so i omit it.
And the command i used:
python3 mtk xflash rpmb w --filename /git/mtkclient/rpmb_image
from mtkclient.
The current payload has a small bug, support should be added on the next release
from mtkclient.
i really don't want to be one of those "weneta" people, but i am curious if you have an idea of when the payload fix might be released? will it allow us to clean the rpmb?
from mtkclient.
is there any indication of what the bug is? i've done everything i know to reverse the payloads myself and i'm struggling.
from mtkclient.
Yes. It's the way how some devices create the rpmb key. I will soon have a closer look
from mtkclient.
Write RPMB was added, but there is a bug in Init RPMB right now.
from mtkclient.
Keeping this issue alive ... work is in progress.
from mtkclient.
Related Issues (20)
- DAA_SIG_VERIFY_FAILED HOT 6
- Realme V11 met a problem on stage 2. HOT 3
- How to make it run on the Android Nethunter OS? HOT 3
- Error in Installing OpenStack CLI HOT 1
- [Oppo F15/MT6771] - Device has is either already unlocked or algo is unknown. Aborting. HOT 4
- area not working using preloader HOT 2
- Mtkclient HOT 1
- how to speed usb read firmware
- mt6762 brom dump HOT 1
- pip install not working HOT 2
- Error on sending parameter: Read parttbl failed (0xc0040007) HOT 2
- mt8168 brom dump no protect
- mt6765 brom dump HOT 1
- redmi 10(selene) : for evrything always get this error
- Unlock on HyperOS printing error HOT 1
- da_handler bugs 8e46df6
- Preloader - [LIB]: Status: Handshake failed, retrying... HOT 1
- Infinix Note 30 Pro MT6789 [DAA_SIG_VERIFY_FAILED (0x7024)] HOT 2
- MT6781 Still Not Supported
- Vivo X100/Dimensity 9300 fails handshake/doesn't boot into BROM mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtkclient.