There is no source for brevent-server
.
So, if you build your own Brevent
, it won't work at all.
However, it's possible, as the brevent-server
is compiled into classes2.dex
in brevent.apk
.
Simple instruction:
- build the Brevent (UI) from source code
gradle clean
gradle :brevent:aR
- get
classes2.dex
frombrevent.apk
unzip /path/to/brevent.apk classes2.dex
- update original apk
jar uf ce.apk classes2.dex
- apksigner
apksigner sign --key testkey.pk8 --cert testkey.x509.pem ce.apk
You can find testkey.pk8
and testkey.x509.pem
here.