Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

React on 5.1.1_r19 change in app_process #71

Closed
rovo89 opened this issue Oct 5, 2015 · 13 comments
Closed

React on 5.1.1_r19 change in app_process #71

rovo89 opened this issue Oct 5, 2015 · 13 comments
Assignees

Comments

@rovo89
Copy link
Owner

rovo89 commented Oct 5, 2015

https://android.googlesource.com/platform/frameworks/base.git/+/d4d3181d013f8d9b96de8e396b029f8a418894a7%5E!/#F0

@rovo89 rovo89 self-assigned this Oct 5, 2015
@wanam
Copy link

wanam commented Oct 5, 2015

Just tested it and it unfortunately boot-loops on the GalaxyS6 5.1.1 TW, logs: http://pastebin.com/Vwqm1VgJ

Does it have any dependent commits? what if we update the whole repo to 5.1.1_r19?

@ASHURiCAN
Copy link

Bootloop on latest CM12.1 nightlies. NEXUS 5 for my case.

@Alexey71
Copy link

Alexey71 commented Oct 7, 2015

Bootloop 5.1.1_r24 latest CM12.1 nightlies
Most likely due http://www.cyanogenmod.org/blog/android-security-bulletin-october-5th-update

@rovo89
Copy link
Owner Author

rovo89 commented Oct 7, 2015

OK, I pretty much expected this. I'll try to post a warning later today not to update your ROM until I had the time to analyze this. I could simply merge the app_process related changes from AOSP, but then it would probably break for older ROMs...

@wanam
Copy link

wanam commented Oct 7, 2015

Yes, that's what i did, it will break older Roms that does not have the new zygote parameter, do we need to include "libandroid_runtime" on xposed to bypass this incompatibly issue?

@rovo89
Copy link
Owner Author

rovo89 commented Oct 7, 2015

I hope not. Function names are mangled, so the function with added parameter cannot be found by the linker anymore. So probably, we need dlsym() here, and probably it has to check for both variants. As long as GCC is used everywhere, the mangled names should be always the same - and I think this should be safe to assume as the app_process binaries seem to work everywhere.

@mkszuba
Copy link

mkszuba commented Oct 7, 2015

Bootloop on the CM12.1 nightly from the 6th of October running on amami (Sony Xperia Z1 Compact) - so yeah, there definitely is a trend here.

On a completely off-topic note, I am happy to say that until this change Xposed worked perfectly on CM12.1/amami.

@rovo89
Copy link
Owner Author

rovo89 commented Oct 7, 2015

Please stop the "me too" comments. I know that this is a breaking change which needs a reaction from my side. I'll work on this with high priority, but nevertheless it might take a few days - I don't know.

@wanam
Copy link

wanam commented Oct 7, 2015

I just flashed the latest GalaxyS6 FW (G920FXXU3COI9), and i can confirm that Samsung has also included this patch, i applied app_process changes to xposed and it seems to work fine now.

@rovo89 Do you have any idea how we can check what variant to use with dlsym()?

Edit: We can't rely on ro.build.id as it seems Samsung (and maybe other OEMs) kept "LMY47X / r2" and included only the security patches.

@rovo89
Copy link
Owner Author

rovo89 commented Oct 7, 2015

@wanam Currently testing this: d0551cc
Works fine on Genymotion (with older 5.1.1), I'm about to test it on the latest CM12.1. Additional tests would be welcome, but I'm pretty confident that it will work.

@rovo89 rovo89 changed the title Check if 5.1.1_r19 change has any impact on Xposed React on 5.1.1_r19 change in Zygote Oct 7, 2015
@rovo89 rovo89 changed the title React on 5.1.1_r19 change in Zygote React on 5.1.1_r19 change in app_process Oct 7, 2015
@rovo89 rovo89 closed this as completed in d0551cc Oct 7, 2015
@jpat14
Copy link

jpat14 commented Oct 8, 2015

@rovo89 Any word on whether this fix worked for the CM12.1 nightly?

@bkromhout
Copy link

@jpat14, I run CM 12.1 on my LG G3, and I flashed v75 of xposed as well as a version of CM 12.1 that is based off of Android 5.1.1_r23 yesterday, and everything booted and works fine. I assume you'll have a similar experience, so go ahead and try it.

@DDzwiedziu
Copy link

I can confirm working with CM12.1 20151008 and v75.

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

No branches or pull requests

8 participants