OOS Beta 9
Opened this issue · 10 comments
Want to help, what is needed to make it work on last beta?
It is necessary to decompile and modify OPInCallUI that ships with that ROM.
That's beyond what I know, but if you want I could upload and send you the OPInCallUI
Zip contents of /system/framework and /system/priv-app/OPInCallUI , share it so I can download it and I might eventually take a look at it.
@C3C0
can you open your method of modify OPInCallUI.apk.
i can help more people. i am chines but i love oos
I'm not sure what you mean. Readme tells you what was modified to enable call recording. Things like decompiling and recompiling APK with changes are outside of this scope as that is expected as a basic knowledge.
There is no classes.dex in original APK. You should get odex from OPInCallUI/oat/arm64 folder and use something like oat2dex to get original classes.dex.
@C3C0
yes, i done
(OPInCallUI/oat/arm64/.odex file) -> smali files -> dex -> jar -> modified jar -> dex -> (apk include classes.dex)
i knew this progress. but i find when in progress (modified jar -> dex), generated dex seem have mistake, because i found the file size become different yours. so i think it must has mistake from here.
can you understand?thank you
Well, I don't have experience with dex2jar. I edited smali file directly then created new Dex file.
I had test this thread's Magisk module
https://forum.xda-developers.com/oneplus-5/themes/app-enable-call-recording-boot-t3634292
(OOSNativeCallRecording-Magisk15.0.zip )
can be work in OnePlus 3 with OxygenOS 5.0.1.
There is only one script this module:
settings put global op_voice_recording_supported_by_mcc 1