Remove All Ads from XDA

Xposed 2.7 experimental version feedback

2,562 posts
Thanks Meter: 70,587
 
By rovo89, Senior Recognized Developer on 19th June 2014, 02:17 PM
Post Reply Email Thread
I have just uploaded a test version of Xposed Installer.
It doesn't have anything to do with ART!!!
In fact, there is no change in the framework itself, only in the installer. I would just like to get some early testing of a bigger change.

The test version uses a database to manage the list of downloadable modules. Previously, all the modules were loaded from an XML file on every start and kept in the memory. That worked fine, but with more and more modules in the repository, I had to rethink.

Some advantages of the new approach are:
- The XML doesn't need to be parsed on every start. Instead, the previously parsed state is available immediately.
- Reloading the repository index from the server can be done incrementally, loading only those modules which have changed since the last refresh. This significantly reduces traffic for both you and me. The full index has grown to about 350 kB (gzipped, it's ~1.6 MB uncompressed). The incremental updates are just a fraction of that. These XMLs are also much faster to parse than the big ones.
- Probably less memory usage, because only the currently used data needs to be kept in the memory. Information about all the other available modules can be loaded from the database when required.
- More flexibility in the future, e.g. for enhanced search. I have no plans at the moment and many other things are more important, but SQL allows for interesting queries without too much code.

If you're already using Xposed and want to help checking for bugs, feel free to download the test version. Assuming you are using version 2.6/.1, just open click on "Xposed Installer", then swipe twice to go to the module-specific settings. Select "Experimental" and the new version should show up. If not, press the refresh button once.
Please report here if you noticed any UI issues which are potentionally related to the introduction of the database. For crashes, please post a logcat showing the error. Thanks a lot for testing!

Please don't report installation or framework issues here. If you haven't used Xposed before, you should install the stable version 2.6.1 instead.
The Following 141 Users Say Thank You to rovo89 For This Useful Post: [ View ]
 
 
19th June 2014, 03:10 PM |#2  
Senior Member
Thanks Meter: 32
 
More
It's close

http://www.androidauthority.com/art-...k-aosp-394904/
The Following 4 Users Say Thank You to andreasf93 For This Useful Post: [ View ] Gift andreasf93 Ad-Free
19th June 2014, 04:26 PM |#3  
rovo89's Avatar
OP Senior Recognized Developer
Thanks Meter: 70,587
 
Donate to Me
More
Quote:
Originally Posted by andreasf93

It's close

http://www.androidauthority.com/art-...k-aosp-394904/

I would laugh about your joke if people weren't constantly bringing up ART ever since Google has presented it... which is really demotivating.
The Following 32 Users Say Thank You to rovo89 For This Useful Post: [ View ]
19th June 2014, 04:45 PM |#4  
defim's Avatar
Senior Member
Thanks Meter: 1,394
 
More
Not ART related should be bigger and red ^^

At updating to 2.7 i got a FC, not sure if this log helps

Code:
06-19 17:42:51.084: I/WindowState(1654): WIN DEATH: Window{4210d278 u0 de.robv.android.xposed.installer/de.robv.android.xposed.installer.WelcomeActivity}
06-19 17:42:51.092: I/ActivityManager(1654): Process de.robv.android.xposed.installer (pid 8415) has died.
06-19 17:42:51.092: W/ActivityManager(1654): Force removing ActivityRecord{41fdcc40 u0 de.robv.android.xposed.installer/.XposedInstallerActivity t318}: app died, no saved state
06-19 17:42:51.115: I/WindowState(1654): WIN DEATH: Window{421328b0 u0 de.robv.android.xposed.installer/de.robv.android.xposed.installer.XposedInstallerActivity}
06-19 17:42:51.241: I/ActivityManager(1654): Displayed com.android.packageinstaller/.PackageInstallerActivity: +2s554ms
06-19 17:42:51.241: I/Timeline(1654): Timeline: Activity_windows_visible id: ActivityRecord{4202b4a8 u0 com.android.packageinstaller/.PackageInstallerActivity t319} time:92810640
06-19 17:42:51.248: W/InputMethodManagerService(1654): Got RemoteException sending setActive(false) notification to pid 8415 uid 10061
06-19 17:42:51.272: W/Binder(1934): Caught a RuntimeException from the binder stub implementation.
06-19 17:42:51.272: W/Binder(1934): java.lang.NullPointerException
06-19 17:42:51.272: W/Binder(1934): 	at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
06-19 17:42:51.272: W/Binder(1934): 	at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
06-19 17:42:51.272: W/Binder(1934): 	at android.os.Binder.execTransact(Binder.java:404)
06-19 17:42:51.272: W/Binder(1934): 	at dalvik.system.NativeStart.run(Native Method)
06-19 17:42:51.404: I/Timeline(8474): Timeline: Activity_idle id: android.os.BinderProxy@41aa02d0 time:92810797
After a restart of the app i cant install it because of "Das Paket ist offenbar beschädigt"


in the error.log i have multiple times this message. The app is installed and is not an xposed module
Code:
java.lang.IllegalStateException: Unable to get package info for de.defim.apk.XXX; is package not installed?
	at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:371)
	at android.app.LoadedApk.getClassLoader(LoadedApk.java:324)
	at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:205)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
	at android.app.ActivityThread.handleBindApplication(Native Method)
	at android.app.ActivityThread.access$1500(ActivityThread.java:145)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1266)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5161)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
	at dalvik.system.NativeStart.main(Native Method)
What do you think about to add the date+time to the xposed-log?
19th June 2014, 04:52 PM |#5  
rovo89's Avatar
OP Senior Recognized Developer
Thanks Meter: 70,587
 
Donate to Me
More
Quote:
Originally Posted by defim

Not ART related should be bigger and red ^^

At updating to 2.7 i got a FC, not sure if this log helps

I made the text red now...

Regarding the FC, unfortunately it starts directly after the error, but doesn't show the error itself.
The Following 4 Users Say Thank You to rovo89 For This Useful Post: [ View ]
19th June 2014, 04:57 PM |#6  
defim's Avatar
Senior Member
Thanks Meter: 1,394
 
More
Quote:
Originally Posted by rovo89

I made the text red now...

Regarding the FC, unfortunately it starts directly after the error, but doesn't show the error itself.


I found more lines ...
Code:
06-19 17:42:45.701: W/dalvikvm(8415): threadid=16: thread exiting with uncaught exception (group=0x415a3ce0)
06-19 17:42:45.709: E/AndroidRuntime(8415): FATAL EXCEPTION: DownloadMonitor
06-19 17:42:45.709: E/AndroidRuntime(8415): Process: de.robv.android.xposed.installer, PID: 8415
06-19 17:42:45.709: E/AndroidRuntime(8415): java.lang.NullPointerException
06-19 17:42:45.709: E/AndroidRuntime(8415): 	at de.robv.android.xposed.installer.widget.DownloadView$DownloadMonitor.run(DownloadView.java:193)
06-19 17:42:45.717: W/ActivityManager(1654):   Force finishing activity de.robv.android.xposed.installer/.DownloadDetailsActivity
06-19 17:42:45.998: W/ResourceType(1654): Skipping entry 0x7f040000 in package table 0 because it is not complex!
06-19 17:42:46.014: W/ResourceType(1654): Skipping entry 0x7f040003 in package table 0 because it is not complex!
I extended my above post with lines of error.log, dont miss it
19th June 2014, 05:31 PM |#7  
PunchUp's Avatar
Senior Member
Thanks Meter: 2,841
 
More
Good job updates really quick
19th June 2014, 05:34 PM |#8  
rovo89's Avatar
OP Senior Recognized Developer
Thanks Meter: 70,587
 
Donate to Me
More
Quote:

in the error.log i have multiple times this message. The app is installed and is not an xposed module

Code:
java.lang.IllegalStateException: Unable to get package info for de.defim.apk.XXX; is package not installed?
	at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:371)
	at android.app.LoadedApk.getClassLoader(LoadedApk.java:324)
	at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:205)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
	at android.app.ActivityThread.handleBindApplication(Native Method)
	at android.app.ActivityThread.access$1500(ActivityThread.java:145)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1266)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5161)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
	at dalvik.system.NativeStart.main(Native Method)

That looks more like an issue with the package manager than with Xposed. Kind of fits to your description that it says that the other package is not installed.

Quote:

What do you think about to add the date+time to the xposed-log?

I don't think it's necessary.

Quote:
Originally Posted by defim

I found more lines ...

Code:
06-19 17:42:45.701: W/dalvikvm(8415): threadid=16: thread exiting with uncaught exception (group=0x415a3ce0)
06-19 17:42:45.709: E/AndroidRuntime(8415): FATAL EXCEPTION: DownloadMonitor
06-19 17:42:45.709: E/AndroidRuntime(8415): Process: de.robv.android.xposed.installer, PID: 8415
06-19 17:42:45.709: E/AndroidRuntime(8415): java.lang.NullPointerException
06-19 17:42:45.709: E/AndroidRuntime(8415): 	at de.robv.android.xposed.installer.widget.DownloadView$DownloadMonitor.run(DownloadView.java:193)
06-19 17:42:45.717: W/ActivityManager(1654):   Force finishing activity de.robv.android.xposed.installer/.DownloadDetailsActivity
06-19 17:42:45.998: W/ResourceType(1654): Skipping entry 0x7f040000 in package table 0 because it is not complex!
06-19 17:42:46.014: W/ResourceType(1654): Skipping entry 0x7f040003 in package table 0 because it is not complex!
I extended my above post with lines of error.log, dont miss it

Ok, that's a known error: https://github.com/rovo89/XposedInstaller/issues/182
But except for crashing Xposed Installer, nothing can happen. Looking at the error you posted above, I assume your system is in an inconstistent state.
The Following 2 Users Say Thank You to rovo89 For This Useful Post: [ View ]
19th June 2014, 05:44 PM |#9  
defim's Avatar
Senior Member
Thanks Meter: 1,394
 
More
In which way inconsistent? Today I was developing with the app causing the IllegalStateException, so it's a debug version. But it is installed and running properly. Maybe some things of it changed since Xposed installer started the 1st time

Quote:
Originally Posted by rovo89

But except for crashing Xposed Installer, nothing can happen.

No problem, but as this is a thread for the Installer
19th June 2014, 06:43 PM |#10  
rovo89's Avatar
OP Senior Recognized Developer
Thanks Meter: 70,587
 
Donate to Me
More
Quote:
Originally Posted by defim

In which way inconsistent? Today I was developing with the app causing the IllegalStateException, so it's a debug version. But it is installed and running properly. Maybe some things of it changed since Xposed installer started the 1st time

Seems like that IllegalStateException can occur when the app is started while it is being uninstalled. So I imagine that this happened while you were developing and was just a temporary exception. Probably XposedBridge should catch that exception and simple stop doing its stuff, because the starting app will crash anyway.

Quote:

No problem, but as this is a thread for the Installer

Sure. The problem for the FC is already known and not related to the database-related changes. So now it's just about the "corrupted package" error. Could you please check the MD5 checksum of the APK or redownload it? As the crash happened during the download, maybe the file is simply incomplete. Otherwise, could you get a logcat of the installation attempt? I'm pretty sure that the package manager prints more details in the log.
The Following User Says Thank You to rovo89 For This Useful Post: [ View ]
19th June 2014, 11:25 PM |#11  
defim's Avatar
Senior Member
Thanks Meter: 1,394
 
More
Quote:
Originally Posted by rovo89

Seems like that IllegalStateException can occur when the app is started while it is being uninstalled. So I imagine that this happened while you were developing and was just a temporary exception. Probably XposedBridge should catch that exception and simple stop doing its stuff, because the starting app will crash anyway.



Sure. The problem for the FC is already known and not related to the database-related changes. So now it's just about the "corrupted package" error. Could you please check the MD5 checksum of the APK or redownload it? As the crash happened during the download, maybe the file is simply incomplete. Otherwise, could you get a logcat of the installation attempt? I'm pretty sure that the package manager prints more details in the log.

Yes, just redoing what i did worked. I removed the downloaded file in the "Downloads" app.
Possible that IllegalStateException is caause when Eclipse pushed an apk to the device. But not sure as the log has noe timestamps
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes