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

IOException: Invalid argument while reading <file> #25

Closed
KeithBronstrup opened this issue Mar 7, 2015 · 35 comments

Comments

@KeithBronstrup
Copy link

commented Mar 7, 2015

The soft reboot requirement of the current implementation of Xposed on LP can be a real PITA when someone has to power off their phone or their battery dies, especially if they're using GNL with a non-standard homescreen grid size and have widgets in the expanded rows or columns, as GNL does not offer a way to save those widgets and their locations, so they're lost after a full reboot and need to be set up again after a soft reboot. I'll admit I'm not super familiar with how Xposed works, so I'm not positive that what I'm about to suggest is even viable. If you have to tell me I'm wrong, I'm a big boy and can take it :)

If Xposed is being loaded in advance of the launcher (which I imagine it would be), it should be possible to detect whether or not Xposed is active and issue a soft reboot, if necessary, before the launcher (or anything else) starts up. Something like:

Check Xposed status:
    If installed and active, delete reboot flag if found; we're done.
    If installed and not active, check for reboot flag:
        If flag is found, we've just done an automatic soft reboot, something is wrong.
            Remove the flag, display an error message, we're done.
        If flag is not found, create flag and immediately soft reboot.

This way, we're creating a flag to indicate that we're doing an automatic soft reboot, so we know, when we come back, that we've just done one and not to do another if Xposed still isn't working (e.g. to avoid an Xposed-induced boot loop). Assuming this gets in ahead of the launcher (or other components that might throw away someone's careful configuration if Xposed isn't running), it should be a viable workaround for the requirement to manually soft reboot in order to get Xposed working under LP.

Admittedly, it's a bit of a hack and it will lengthen boot times for Xposed users on LP, but I think most of us would agree that's a fair tradeoff to ensure our homescreen widgets and whatnot don't get blown away, especially since we soft reboot whenever possible anyway.

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 7, 2015

The soft reboot requirement of the current implementation of Xposed on LP

Sorry, what do you mean? Which "soft boot requirement"? Xposed is working fine for me after a full reboot on CM12 and the Genymotion emulator, without any soft reboots. If you experience anything else, it might either be a problem in the module, or something ROM-specific. In either case, please provide logs for analysis. Let's start with the log that you can find (and export) in the Xposed Installer app, maybe it already contains some clues.

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

That was my original thought, as well, but even with all modules disabled, I get the "The latest version of Xposed is currently not active" message after a hard reboot. I posted about it in the XGELS thread, thinking it was an issue with that module specifically and got this response: http://forum.xda-developers.com/showpost.php?p=59226103&postcount=4545

Obviously, you know more about Xposed than anyone so I'm in no way arguing. Give me a few to disable all of my modules and try a hard reboot (which I actually did before replying to that XDA post) again so see if the issue persists. I'll be able to grab logs then, too.

For reference, I've got Xposed binary version 60, bridge version 61, SDK 21, on a stock Nexus 6 running LRX22C (5.0.1).

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

With all modules disabled, here's what I get after a soft reboot:

03-07 11:29:03.408 I/Xposed  ( 6277): -----------------
03-07 11:29:03.408 I/Xposed  ( 6277): Starting Xposed binary version 60, compiled for SDK 21
03-07 11:29:03.408 I/Xposed  ( 6277): Phone: Nexus 6 (motorola), Android version 5.0.1 (SDK 21)
03-07 11:29:03.408 I/Xposed  ( 6277): ROM: LRX22C
03-07 11:29:03.408 I/Xposed  ( 6277): Build fingerprint: google/shamu/shamu:5.0.1/LRX22C/1602158:user/release-keys
03-07 11:29:03.408 I/Xposed  ( 6277): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 11:29:03.408 I/Xposed  ( 6277): SELinux enabled: yes, enforcing: no
03-07 11:29:07.020 I/Xposed  ( 6277): -----------------
03-07 11:29:07.021 I/Xposed  ( 6277): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 11:29:07.156 I/Xposed  ( 6277): Detected ART runtime
03-07 11:29:07.172 I/Xposed  ( 6277): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 11:29:07.287 I/Xposed  ( 6277): Initializing XposedBridge version 61

And after a hard reboot:

03-07 11:26:08.347 I/Xposed  (  357): -----------------
03-07 11:26:08.347 I/Xposed  (  357): Starting Xposed binary version 60, compiled for SDK 21
03-07 11:26:08.347 I/Xposed  (  357): Phone: Nexus 6 (motorola), Android version 5.0.1 (SDK 21)
03-07 11:26:08.347 I/Xposed  (  357): ROM: LRX22C
03-07 11:26:08.347 I/Xposed  (  357): Build fingerprint: google/shamu/shamu:5.0.1/LRX22C/1602158:user/release-keys
03-07 11:26:08.347 I/Xposed  (  357): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 11:26:08.347 I/Xposed  (  357): SELinux enabled: yes, enforcing: yes
03-07 11:26:08.359 I/Xposed  (  357): -----------------
03-07 11:26:08.359 I/Xposed  (  357): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 11:26:09.465 I/Xposed  (  357): Detected ART runtime
03-07 11:26:09.580 I/Xposed  (  357): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 11:26:10.237 I/Xposed  (  357): Initializing XposedBridge version 61
03-07 11:26:10.369 I/Xposed  (  357): Errors during Xposed initialization
03-07 11:26:10.370 E/Xposed  (  357): java.io.IOException: Invalid argument while reading /data/data/de.robv.android.xposed.installer/conf/modules.list
03-07 11:26:10.370 E/Xposed  (  357):   at de.robv.android.xposed.services.ZygoteService.readFile(Native Method)
03-07 11:26:10.370 E/Xposed  (  357):   at de.robv.android.xposed.services.BaseService.getFileInputStream(BaseService.java:116)
03-07 11:26:10.370 E/Xposed  (  357):   at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:414)
03-07 11:26:10.370 E/Xposed  (  357):   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)

/data/data/de.robv.android.xposed.installer/conf/modules.list exists and is empty.

Enabling a single module (I tried with several different modules; ActivityForceNewTask, APM+, and GravityBox; in order to rule out module-specific issues) I get a log that is identical to the 2nd log, above, except for timestamps (obviously), so it's not simply an issue with Xposed not having any modules to load, and it doesn't appear to be an issue with any specific module, or the contents of modules.list (other than it being empty). And yes, I did check and modules.list is still empty even with one or more modules enabled, except after a soft reboot. After a soft reboot, it is populated with the APKs of the enabled modules, as expected.

Since I forgot to mention it earlier SELinux is present in my ROM and set to Permissive via SELinuxModeChanger.

Just a thought: is your test device encrypted? Nexus 6 is by default. Might that be a factor?

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 7, 2015

My device is not encrypted. Yes, it might have something to do with that. Not sure how the encryption works, especially when exactly it starts to decrypt the files.

I have seen traces like that before, but I I don't see why it would fail, especially as the file existance check goes through. I'll add more logging for the next version.

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

I just remembered that there is an option in LP to require a lock code to turn the device on, and I did have that option enabled. Just turned it off to test and got the same result, so that's been ruled out as well (so I'll be turning that back on, now). No way to disable encryption on a Nexus 6 without wiping, or I'd test that next.

Might it be possible to implement my proposed workaround when that particular exception is caught? e.g. when modules.list is empty? I know it's a hack, but it'll make things immensely more useable until a solution is found.

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 7, 2015

I don't like to reboot automatically, and the bigger problem would be to determine the correct point in time to do so. Xposed is initialized very, very early. A reboot at that time most likely wouldn't change anything. And for just trying it, it's too complex and hacky.

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 7, 2015

@KeMBro2012 Could you please post a new log with this one? https://www.dropbox.com/s/x58xcde81jx26r4/xposed-arm-20150307.zip?dl=0

@robertoglxda

This comment has been minimized.

Copy link

commented Mar 7, 2015

I've read on XDA that some people have to use permissive SELinux in order to use Xposed (on Lollipop). A lot of them are using SELinuxModeChanger to do that, but this works only with soft-reboot, because with a full reboot SELinux is set to enforcing (by the kernel?). Of course, if you use a modded kernel that set SELinux to permissive you can full reboot and Xposed will work without problems.

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 7, 2015

CM12 is using enforcing SELinux and I'm have written a lot of code to work around SELinux restrictions. As I said, that's working fine for me. If you need to use permissive mode, please create a new issue for this and attach the logcat. The log from the installer probably won't be enough, it doesn't contain the SELinux denial messages.

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

You know, I had so many issues early on just getting it working at all, I might not need permissive mode, so let me give that a shot.

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 7, 2015

Before you try a different procedure, could you test the file above please? It's always good to have a setup where a problem is reproducable, so please don't change it yet.

@robertoglxda

This comment has been minimized.

Copy link

commented Mar 7, 2015

I'm not even on Lollipop now, but as i said, a lot of people (for example a lot Nexus 6 owners) claim that they cannot use Xposed with enforcing SELinux. For example here http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245 or here, in the (too) long thread http://forum.xda-developers.com/xposed/official-xposed-lollipop-t3030118 you can find a lot of people that claim that. I've only said that because i think that this could be connected with this problem, so unfortunately i cannot provide a logcat.

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

Is there any chance you can throw that up somewhere other than dropbox? I don't have a dropbox account and it won't let me download without signing in.

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

Nevermind, I caved in and made an account, installing it now, will post logs, including logcat.

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 7, 2015

Really? Never heard that you had to sign in to use such links. Actually I just tried it in Private Browsing mode. A popup was shown, asking me to register, but it had an option to skip the registration.

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

Huh, no option to skip for me. I've actually never seen it do that before, either. No worries, it's flashing right now.

@rovo89 rovo89 changed the title Proposed workaround for soft reboot requirement IOException: Invalid argument while reading <file> Mar 7, 2015
@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

I see a number of entries in my logcat logs pertaining to various Xposed modules, let me disable everything again and reboot to get a cleaner log. Sorry it's taking so long.

@wbedard

This comment has been minimized.

Copy link

commented Mar 7, 2015

Hi rovo,

In the interest of being helpful, I have just captured full logcats (boot -> opening XPosed app) on a Galaxy Nexus (maguro) with encrypted data partition running the test build of XPosed you prepared for Keith. I do see the IOException error when booting with SELinux in enforcing mode. I have logcats for both enforcing and permissive modes, using different but closely related kernels. I can post both logcats to Pastebin or your preferred location if you would like to take the time to review them. Just let me know in this thread (I'm following it...).

R/
wbedard

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 7, 2015

No logcat logs simply for how long they are. If you need them, let me know and I'll pass them along via dropbox.

Soft reboot Xposed log:

03-07 14:02:26.086 I/Xposed  ( 7002): -----------------
03-07 14:02:26.086 I/Xposed  ( 7002): Starting Xposed binary version 60, compiled for SDK 21
03-07 14:02:26.086 I/Xposed  ( 7002): Device: Nexus 6 (motorola), Android version 5.0.1 (SDK 21)
03-07 14:02:26.086 I/Xposed  ( 7002): ROM: LRX22C
03-07 14:02:26.086 I/Xposed  ( 7002): Build fingerprint: google/shamu/shamu:5.0.1/LRX22C/1602158:user/release-keys
03-07 14:02:26.086 I/Xposed  ( 7002): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 14:02:26.086 I/Xposed  ( 7002): SELinux enabled: yes, enforcing: no
03-07 14:02:29.573 I/Xposed  ( 7002): -----------------
03-07 14:02:29.574 I/Xposed  ( 7002): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 14:02:29.695 I/Xposed  ( 7002): Detected ART runtime
03-07 14:02:29.707 I/Xposed  ( 7002): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 14:02:29.812 I/Xposed  ( 7002): Initializing XposedBridge version 61

Hard reboot Xposed log:

03-07 13:58:35.358 I/Xposed  ( 1557): -----------------
03-07 13:58:35.358 I/Xposed  ( 1557): Starting Xposed binary version 60, compiled for SDK 21
03-07 13:58:35.358 I/Xposed  ( 1557): Device: Nexus 6 (motorola), Android version 5.0.1 (SDK 21)
03-07 13:58:35.358 I/Xposed  ( 1557): ROM: LRX22C
03-07 13:58:35.358 I/Xposed  ( 1557): Build fingerprint: google/shamu/shamu:5.0.1/LRX22C/1602158:user/release-keys
03-07 13:58:35.358 I/Xposed  ( 1557): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 13:58:35.358 I/Xposed  ( 1557): SELinux enabled: yes, enforcing: yes
03-07 13:58:35.375 I/Xposed  ( 1557): -----------------
03-07 13:58:35.379 I/Xposed  ( 1557): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 13:58:36.229 I/Xposed  ( 1557): Detected ART runtime
03-07 13:58:36.330 I/Xposed  ( 1557): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 13:58:37.051 I/Xposed  ( 1557): Initializing XposedBridge version 61
03-07 13:58:37.154 I/Xposed  ( 1695): OP_READ_FILE for /data/data/de.robv.android.xposed.installer/conf/modules.list
03-07 13:58:37.154 I/Xposed  ( 1695): totalSize = 0, offset = 0
03-07 13:58:37.154 I/Xposed  ( 1695): fread errno = 22
03-07 13:58:37.154 I/Xposed  ( 1695): fread eof = yes
03-07 13:58:37.155 I/Xposed  ( 1557): Errors during Xposed initialization
03-07 13:58:37.155 E/Xposed  ( 1557): java.io.IOException: Invalid argument while reading /data/data/de.robv.android.xposed.installer/conf/modules.list
03-07 13:58:37.155 E/Xposed  ( 1557):   at de.robv.android.xposed.services.ZygoteService.readFile(Native Method)
03-07 13:58:37.155 E/Xposed  ( 1557):   at de.robv.android.xposed.services.BaseService.getFileInputStream(BaseService.java:116)
03-07 13:58:37.155 E/Xposed  ( 1557):   at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:414)
03-07 13:58:37.155 E/Xposed  ( 1557):   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)
@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 8, 2015

Thanks! Could you enable one module and do the full reboot again? Just want to see whether the file size is retrieved correctly.

@wbedard

This comment has been minimized.

Copy link

commented Mar 8, 2015

FWIW, the logcat for my device (Galaxy Nexus, LP 5.0.2, SELinux enforcing) reads as follows:

...
I/Xposed  ( 2028): OP_READ_FILE for /data/data/de.robv.android.xposed.installer/conf/modules.list
I/Xposed  ( 2028): totalSize = 361, offset = 0
I/Xposed  ( 2028): fread errno = 22
I/Xposed  ( 2028): fread eof = yes
I/Xposed  ( 1954): Errors during Xposed initialization
E/Xposed  ( 1954): java.io.IOException: Invalid argument while reading /data/data/de.robv.android.xposed.installer/conf/modules.list
E/Xposed  ( 1954):  at de.robv.android.xposed.services.ZygoteService.readFile(Native Method)
E/Xposed  ( 1954):  at de.robv.android.xposed.services.BaseService.getFileInputStream(BaseService.java:116)
E/Xposed  ( 1954):  at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:414)
E/Xposed  ( 1954):  at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)
...
@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 8, 2015

I will when I get home, I'm out and about at the moment.

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 8, 2015

I'm back, here's what I've got (this is with all my modules enabled, not just one, let me know if you really need just one and I can do that too):

03-07 21:39:56.819 I/Xposed  ( 1555): -----------------
03-07 21:39:56.819 I/Xposed  ( 1555): Starting Xposed binary version 60, compiled for SDK 21
03-07 21:39:56.819 I/Xposed  ( 1555): Device: Nexus 6 (motorola), Android version 5.0.1 (SDK 21)
03-07 21:39:56.819 I/Xposed  ( 1555): ROM: LRX22C
03-07 21:39:56.819 I/Xposed  ( 1555): Build fingerprint: google/shamu/shamu:5.0.1/LRX22C/1602158:user/release-keys
03-07 21:39:56.819 I/Xposed  ( 1555): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 21:39:56.819 I/Xposed  ( 1555): SELinux enabled: yes, enforcing: yes
03-07 21:39:56.835 I/Xposed  ( 1555): -----------------
03-07 21:39:56.838 I/Xposed  ( 1555): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 21:39:57.581 I/Xposed  ( 1555): Detected ART runtime
03-07 21:39:57.681 I/Xposed  ( 1555): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 21:39:58.234 I/Xposed  ( 1555): Initializing XposedBridge version 61
03-07 21:39:58.337 I/Xposed  ( 1687): OP_READ_FILE for /data/data/de.robv.android.xposed.installer/conf/modules.list
03-07 21:39:58.338 I/Xposed  ( 1687): totalSize = 709, offset = 0
03-07 21:39:58.338 I/Xposed  ( 1687): fread errno = 22
03-07 21:39:58.338 I/Xposed  ( 1687): fread eof = yes
03-07 21:39:58.339 I/Xposed  ( 1555): Errors during Xposed initialization
03-07 21:39:58.339 E/Xposed  ( 1555): java.io.IOException: Invalid argument while reading /data/data/de.robv.android.xposed.installer/conf/modules.list
03-07 21:39:58.339 E/Xposed  ( 1555):   at de.robv.android.xposed.services.ZygoteService.readFile(Native Method)
03-07 21:39:58.339 E/Xposed  ( 1555):   at de.robv.android.xposed.services.BaseService.getFileInputStream(BaseService.java:116)
03-07 21:39:58.339 E/Xposed  ( 1555):   at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:414)
03-07 21:39:58.339 E/Xposed  ( 1555):   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)
@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 8, 2015

OK, so the file size can be determined. I already have an idea what the cause might be, but I would like to check one more thing. Could you please flash this and post the log for the hard reboot with some modules enabled?
https://www.dropbox.com/s/9abepqnmm7hklqy/xposed-arm-20150308.zip?dl=0

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 8, 2015

Got it:

03-08 03:47:15.865 I/Xposed  ( 1545): -----------------
03-08 03:47:15.865 I/Xposed  ( 1545): Starting Xposed binary version 60, compiled for SDK 21
03-08 03:47:15.865 I/Xposed  ( 1545): Device: Nexus 6 (motorola), Android version 5.0.1 (SDK 21)
03-08 03:47:15.865 I/Xposed  ( 1545): ROM: LRX22C
03-08 03:47:15.865 I/Xposed  ( 1545): Build fingerprint: google/shamu/shamu:5.0.1/LRX22C/1602158:user/release-keys
03-08 03:47:15.865 I/Xposed  ( 1545): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-08 03:47:15.865 I/Xposed  ( 1545): SELinux enabled: yes, enforcing: yes
03-08 03:47:16.878 I/Xposed  ( 1545): -----------------
03-08 03:47:16.879 I/Xposed  ( 1545): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-08 03:47:17.908 I/Xposed  ( 1545): Detected ART runtime
03-08 03:47:18.054 I/Xposed  ( 1545): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-08 03:47:18.826 I/Xposed  ( 1545): Initializing XposedBridge version 61
03-08 03:47:18.952 I/Xposed  ( 1664): OP_READ_FILE for /data/data/de.robv.android.xposed.installer/conf/modules.list
03-08 03:47:18.952 I/Xposed  ( 1664): totalSize = 709, offset = 0
03-08 03:47:18.954 I/Xposed  ( 1664): fread errno = 22
03-08 03:47:18.954 I/Xposed  ( 1664): fread ferror = 0, bytesRead = 709
03-08 03:47:18.954 I/Xposed  ( 1664): fread eof = yes
03-08 03:47:18.955 I/Xposed  ( 1545): Errors during Xposed initialization
03-08 03:47:18.956 E/Xposed  ( 1545): java.io.IOException: Invalid argument while reading /data/data/de.robv.android.xposed.installer/conf/modules.list
03-08 03:47:18.956 E/Xposed  ( 1545):   at de.robv.android.xposed.services.ZygoteService.readFile(Native Method)
03-08 03:47:18.956 E/Xposed  ( 1545):   at de.robv.android.xposed.services.BaseService.getFileInputStream(BaseService.java:116)
03-08 03:47:18.956 E/Xposed  ( 1545):   at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:414)
03-08 03:47:18.956 E/Xposed  ( 1545):   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)
@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 8, 2015

Just also confirmed, after a soft reboot I see in the log "SELinux enabled: yes, enforcing: no"

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 8, 2015

Thanks! So the file is actually read correctly, I should just check a different error indicator.

I didn't notice the enforcing: no, that's most likely the reason why it works after a soft reboot. The code with the error is simply not used then.

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 8, 2015

@havanahjoe

This comment has been minimized.

Copy link

commented Mar 8, 2015

I just tried your latest build on my G3 running Lollipop and it is working for me after a reboot. It wasn't before:

I/Xposed  (  285): -----------------
I/Xposed  (  285): Starting Xposed binary version 60, compiled for SDK 21
I/Xposed  (  285): Device: LG-D851 (LGE), Android version 5.0.2 (SDK 21)
I/Xposed  (  285): ROM: LRX22G
I/Xposed  (  285): Build fingerprint: lge/g3_tmo_us/g3:4.4.2/KVT49L.D85110c/D85110c.1403267110:user/release-keys
I/Xposed  (  285): Platform: armeabi-v7a, 32-bit binary, system server: yes
I/Xposed  (  285): SELinux enabled: yes, enforcing: yes
I/Xposed  (  285): -----------------
I/Xposed  (  285): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
D/AndroidRuntime(  285): >>>>>> AndroidRuntime START de.robv.android.xposed.XposedBridge <<<<<<
I/Xposed  (  285): Detected ART runtime
I/Xposed  (  285): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
I/Xposed  (  285): Initializing XposedBridge version 61
@wbedard

This comment has been minimized.

Copy link

commented Mar 8, 2015

Your newest test build also works on my device, as well. Do you have any preferences whether people "advertise" this build to their user communities? I don't want to advertise something that you may regard as "fragile" (understanding, of course, that XPosed on LP is already regarded as "alpha". Thanks again for your continuing efforts in supporting this project!

@rovo89

This comment has been minimized.

Copy link
Owner

commented Mar 8, 2015

Thanks for testing!

I don't want files posted on GitHub to be advertised, it makes it really difficult to find out which versions of which files somebody is using. Hence, I have removed the file from Dropbox. I hope that I will find the time to post a proper alpha2 with this and other fixes later today.

@wbedard

This comment has been minimized.

Copy link

commented Mar 8, 2015

No problem and no rush! I suspected that you still have a "todo" list that you'd like to work off prior to your next release.

@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 8, 2015

Aww crap, I was sleeping and wasn't able to grab it :(

@rovo89 rovo89 closed this in 5d02d5d Mar 8, 2015
@KeithBronstrup

This comment has been minimized.

Copy link
Author

commented Mar 8, 2015

Another user was kind enough to pass me the file and it works brilliantly! I'll refrain from posting any issues until I'm once again running an official release (as should anyone else running any of the versions that were posted here, I imagine).

@rovo89 Thanks for the quick fix! I think I read somewhere that you finally caved in and decided to start accepting donations. Is that true and, if so, where/how?

Also, just tested with SELinux enforcing and it works! Very pleased.

@freesofia

This comment has been minimized.

Copy link

commented Jul 14, 2015

I try to install xposed-v66-sdk21-arm64.zip to "MI NOTE Pro (Xiaomi), Android version 5.0.2" x64 bit Octa-Core CPU

See this error log pls.

07-14 16:06:17.261 I/Xposed ( 443): -----------------
07-14 16:06:17.261 I/Xposed ( 443): Starting Xposed version 66, compiled for SDK 21
07-14 16:06:17.261 I/Xposed ( 443): Device: MI NOTE Pro (Xiaomi), Android version 5.0.2 (SDK 21)
07-14 16:06:17.261 I/Xposed ( 443): ROM: LRX22G
07-14 16:06:17.261 I/Xposed ( 443): Build fingerprint: Xiaomi/leo/leo:5.0.2/LRX22G/5.7.10:user/release-keys
07-14 16:06:17.261 I/Xposed ( 443): Platform: arm64-v8a, 64-bit binary, system server: yes
07-14 16:06:17.261 I/Xposed ( 443): SELinux enabled: yes, enforcing: yes
07-14 16:06:18.271 I/Xposed ( 443): -----------------
07-14 16:06:18.271 I/Xposed ( 443): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
07-14 16:06:27.071 I/Xposed ( 444): -----------------
07-14 16:06:27.071 I/Xposed ( 444): Starting Xposed version 66, compiled for SDK 21
07-14 16:06:27.071 I/Xposed ( 444): Device: MI NOTE Pro (Xiaomi), Android version 5.0.2 (SDK 21)
07-14 16:06:27.071 I/Xposed ( 444): ROM: LRX22G
07-14 16:06:27.071 I/Xposed ( 444): Build fingerprint: Xiaomi/leo/leo:5.0.2/LRX22G/5.7.10:user/release-keys
07-14 16:06:27.071 I/Xposed ( 444): Platform: arm64-v8a, 32-bit binary, system server: no
07-14 16:06:27.071 I/Xposed ( 444): SELinux enabled: yes, enforcing: yes
07-14 16:06:27.071 I/Xposed ( 444): -----------------
07-14 16:06:27.071 I/Xposed ( 444): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
07-14 16:06:45.821 I/Xposed ( 443): Detected ART runtime
07-14 16:06:45.841 I/Xposed ( 443): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
07-14 16:06:45.961 E/Xposed ( 443): Error while loading XResources class 'android/content/res/XResources':
07-14 16:06:45.961 E/Xposed ( 443): java.lang.IncompatibleClassChangeError: android.content.res.XResources
07-14 16:06:45.961 E/Xposed ( 443): at java.lang.Class dalvik.system.DexFile.defineClassNative(java.lang.String, java.lang.ClassLoader, long) (DexFile.java:-2)
07-14 16:06:45.961 E/Xposed ( 443): at java.lang.Class dalvik.system.DexFile.defineClass(java.lang.String, java.lang.ClassLoader, long, java.util.List) (DexFile.java:226)
07-14 16:06:45.961 E/Xposed ( 443): at java.lang.Class dalvik.system.DexFile.loadClassBinaryName(java.lang.String, java.lang.ClassLoader, java.util.List) (DexFile.java:219)
07-14 16:06:45.961 E/Xposed ( 443): at java.lang.Class dalvik.system.DexPathList.findClass(java.lang.String, java.util.List) (DexPathList.java:321)
07-14 16:06:45.961 E/Xposed ( 443): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:54)
07-14 16:06:45.961 E/Xposed ( 443): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:511)
07-14 16:06:45.961 E/Xposed ( 443): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:469)
07-14 16:06:45.961 E/Xposed ( 443): at boolean de.robv.android.xposed.XposedBridge.initNative() (XposedBridge.java:-2)
07-14 16:06:45.961 E/Xposed ( 443): at void de.robv.android.xposed.XposedBridge.main(java.lang.String[]) (XposedBridge.java:96)
07-14 16:06:45.961 I/Xposed ( 443): Errors during native Xposed initialization
07-14 16:06:51.751 I/Xposed ( 444): Detected ART runtime
07-14 16:06:51.761 I/Xposed ( 444): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
07-14 16:06:51.831 E/Xposed ( 444): Error while loading XResources class 'android/content/res/XResources':
07-14 16:06:51.831 E/Xposed ( 444): java.lang.IncompatibleClassChangeError: android.content.res.XResources
07-14 16:06:51.831 E/Xposed ( 444): at java.lang.Class dalvik.system.DexFile.defineClassNative(java.lang.String, java.lang.ClassLoader, long) (DexFile.java:-2)
07-14 16:06:51.831 E/Xposed ( 444): at java.lang.Class dalvik.system.DexFile.defineClass(java.lang.String, java.lang.ClassLoader, long, java.util.List) (DexFile.java:226)
07-14 16:06:51.831 E/Xposed ( 444): at java.lang.Class dalvik.system.DexFile.loadClassBinaryName(java.lang.String, java.lang.ClassLoader, java.util.List) (DexFile.java:219)
07-14 16:06:51.831 E/Xposed ( 444): at java.lang.Class dalvik.system.DexPathList.findClass(java.lang.String, java.util.List) (DexPathList.java:321)
07-14 16:06:51.831 E/Xposed ( 444): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:54)
07-14 16:06:51.831 E/Xposed ( 444): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:511)
07-14 16:06:51.831 E/Xposed ( 444): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:469)
07-14 16:06:51.831 E/Xposed ( 444): at boolean de.robv.android.xposed.XposedBridge.initNative() (XposedBridge.java:-2)
07-14 16:06:51.831 E/Xposed ( 444): at void de.robv.android.xposed.XposedBridge.main(java.lang.String[]) (XposedBridge.java:96)
07-14 16:06:51.831 I/Xposed ( 444): Errors during native Xposed initialization
07-14 16:35:18.095 F/libc (10638): Fatal signal 13 (SIGPIPE), code 0 in tid 10638 (rm)
07-14 16:35:18.225 I/DEBUG ( 422): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-14 16:35:18.225 I/DEBUG ( 422): Build fingerprint: 'Xiaomi/leo/leo:5.0.2/LRX22G/5.7.10:user/release-keys'
07-14 16:35:18.225 I/DEBUG ( 422): Revision: '0'
07-14 16:35:18.225 I/DEBUG ( 422): ABI: 'arm64'
07-14 16:35:18.225 I/DEBUG ( 422): pid: 10638, tid: 10638, name: rm >>> rm <<<
07-14 16:35:18.225 I/DEBUG ( 422): signal 13 (SIGPIPE), code 0 (SI_USER), fault addr --------
07-14 16:35:18.245 I/DEBUG ( 422): x0 ffffffffffffffe0 x1 0000007ff912f198 x2 0000000000000004 x3 000000000000000a
07-14 16:35:18.245 E/DEBUG ( 422): AM write failure (32 / Broken pipe)
07-14 16:35:18.245 I/DEBUG ( 422): x4 0000000000000000 x5 0000000000000004 x6 0000007f95b10d98 x7 0000000000000002
07-14 16:35:18.245 I/DEBUG ( 422): x8 0000000000000040 x9 716e73722dff712c x10 01dd47c35e600040 x11 0000007ff912f19a
07-14 16:35:18.245 I/DEBUG ( 422): x12 0000000000000002 x13 01dd47c35e600040 x14 0000007ff912f19c x15 0000000000000000
07-14 16:35:18.245 I/DEBUG ( 422): x16 0000000000000000 x17 0000000000000001 x18 0000000000000002 x19 0000007f95b81428
07-14 16:35:18.245 I/DEBUG ( 422): x20 0000000000000004 x21 0000007ff912f198 x22 0000007ff912f760 x23 0000007ff912f6f0
07-14 16:35:18.245 I/DEBUG ( 422): x24 0000000000004000 x25 0000007f95b81428 x26 0000007ff912f098 x27 0000007ff912f010
07-14 16:35:18.245 I/DEBUG ( 422): x28 0000005588623000 x29 0000007ff912edb0 x30 0000007f95b10de8
07-14 16:35:18.245 I/DEBUG ( 422): sp 0000007ff912edb0 pc 0000007f95b1d7e8 pstate 0000000020000000
07-14 16:35:18.245 I/DEBUG ( 422):
07-14 16:35:18.245 I/DEBUG ( 422): backtrace:
07-14 16:35:18.245 I/DEBUG ( 422): #00 pc 000000000005c7e8 /system/lib64/libc.so (write+8)
07-14 16:35:18.245 I/DEBUG ( 422): #1 pc 000000000004fde4 /system/lib64/libc.so (__swrite+76)
07-14 16:35:18.245 I/DEBUG ( 422): #2 pc 000000000004c8d0 /system/lib64/libc.so (__sflush+104)
07-14 16:35:18.245 I/DEBUG ( 422): #3 pc 0000000000050e4c /system/lib64/libc.so (__vfprintf+1812)
07-14 16:35:18.245 I/DEBUG ( 422): #4 pc 0000000000053b88 /system/lib64/libc.so (vfprintf+60)
07-14 16:35:18.245 I/DEBUG ( 422): #5 pc 000000000004d2e4 /system/lib64/libc.so (fprintf+120)
07-14 16:35:18.255 I/DEBUG ( 422): #6 pc 0000000000081c68 /system/lib64/libc.so (vwarn+72)
07-14 16:35:18.255 I/DEBUG ( 422): #7 pc 0000000000081d54 /system/lib64/libc.so (warn+124)
07-14 16:35:18.255 I/DEBUG ( 422): #8 pc 0000000000029a38 /system/bin/toolbox
07-14 16:35:18.255 I/DEBUG ( 422): #9 pc 000000000000c308 /system/bin/toolbox (main+148)
07-14 16:35:18.255 I/DEBUG ( 422): #10 pc 0000000000014f88 /system/lib64/libc.so (__libc_init+100)
07-14 16:35:18.255 I/DEBUG ( 422): #11 pc 000000000000c398 /system/bin/toolbox
07-14 16:35:18.425 I/DEBUG ( 422):
07-14 16:35:18.425 I/DEBUG ( 422): Tombstone written to: /data/tombstones/tombstone_01
07-14 16:35:18.435 F/libc ( 7982): Fatal signal 13 (SIGPIPE), code 0 in tid 7982 (su)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.