Open ech0s7r opened 8 years ago
Which device? From which tag/branch did you compile the ROM? I checked the latest ones for 5.1, but it seems that this function has only been added in 6.0.
The device is Radxa Rock2 Square (http://radxa.com/en/platform) and here you can find the sources: http://dl.radxa.com/rock2_square/source/radxa_rock2_square_rk3288_android51_151107.tgz
The function clampGrowthLimit() was added with this commit https://android.googlesource.com/platform/art/+/379d09fe3c3feb7c2a2fb5a3623689b5ace7e79b into AOSP.
Well, but this commit seems to have been for Android 6.0, not 5.1. So it seems that your vendor has actually modified AOSP. I'll update the title accordingly to make clear that this is device-specific.
The problem with such modifications is that I can't simply merge this commit into Xposed's ART variant. If I do this, it will most likely fail on all other 5.1 ROMs because it can't find the Java definition for the method...
If you're familar with creating Xposed modules, you could try to hook this method and use XC_MethodReplacement.DO_NOTHING
as callback. I think @wanam has done similar things for methods that Samsung has added.
Thanks, i solved editing android.app.ActivityThread class.
That's just for your personal device though, right? Anyone else using a device from this vendor will still run into the issue?
Hi @rovo89 , running on stock AOSP Android 5.1.1 without editing, no processes starts, so the system is unusable: