Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOS Beta 9 #1

Open
fedex-bermu opened this issue Jun 16, 2017 · 10 comments
Open

OOS Beta 9 #1

fedex-bermu opened this issue Jun 16, 2017 · 10 comments

Comments

@fedex-bermu
Copy link

Want to help, what is needed to make it work on last beta?

@C3C0
Copy link
Owner

C3C0 commented Jun 17, 2017

It is necessary to decompile and modify OPInCallUI that ships with that ROM.

@fedex-bermu
Copy link
Author

That's beyond what I know, but if you want I could upload and send you the OPInCallUI

@C3C0
Copy link
Owner

C3C0 commented Jun 17, 2017

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.

@ysk666666
Copy link

@C3C0
can you open your method of modify OPInCallUI.apk.
i can help more people. i am chines but i love oos

@C3C0
Copy link
Owner

C3C0 commented Jul 10, 2017

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.

@ysk666666
Copy link

@C3C0
can you tell me the name or the way of jar->dex.
when i modified class file and to generate dex file, i used dex2jar, but the classes.dex in apk seems invalid.

@C3C0
Copy link
Owner

C3C0 commented Jul 11, 2017

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.

@ysk666666
Copy link

@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

@C3C0
Copy link
Owner

C3C0 commented Jul 11, 2017

Well, I don't have experience with dex2jar. I edited smali file directly then created new Dex file.

@elvisw
Copy link

elvisw commented Jan 11, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants