Skip to content

Tags: kcobra/Xposed

Tags

v75

Toggle v75's commit message
Handle different variants of AndroidRuntime::start()

In Android 5.1.1_r19, Google introduced an additonal parameter for this
method. We need to detect which one the ROM uses and call it.

This assumes that the mangled name is consistent across all ROMs and
that the object instance is implicitely handled as first parameter
to the method. On Android 5.0, we assume that this change is not
merged. If required, the dynamic way could simply be enabled for this
version as well.

Fixes rovo89#71.

v74

Toggle v74's commit message
Adjust for a change in Xposed's ART variant

v73

Toggle v73's commit message
Don't use writeByteArray() in xposed_service.cpp

This works around an AOSP bug. Byte arrays first store the array size
and then the bytes. However, Parcel::writeByteArray() uses size_t for
the size, whereas all other parts related to Parcels read/write int32_t
values. This leads to conflicts on 64-bit ROMs, as size_t uses 4 bytes
instead of 4 bytes here. In Xposed, this results in invalid file reads,
most notably in XSharedPreferences.

This fixes rovo89/XposedBridge#58.

Thanks to @rsteckler for reporting this issue and testing the fix!

v72

Toggle v72's commit message
Support for SDK22

v71

Toggle v71's commit message
Provide a native method to retrieve the version number

v70

Toggle v70's commit message
Provide a native method to retrieve the version number

v69

Toggle v69's commit message
Provide a native method to retrieve the version number

v68

Toggle v68's commit message
Provide a native method to retrieve the version number

v67

Toggle v67's commit message
Provide a native method to retrieve the version number

v66

Toggle v66's commit message
Provide a native method to retrieve the version number