Xposed - Legacy thread. Don't panic, Xposed is still here.

Status
Not open for further replies.
Search This thread

pitastrudl

Senior Member
May 15, 2011
1,789
574
Ljubljana
slo-android.si
About installing xposed framework i would like to make a flashable zip to install it. I know how to make a basic flashable zip but i do not know what should be changed. Does xposed framework only modify the app_process file or does it replace? is it the only file that is being replaced? If so i could just make a flashable zip that replaces that file?
 

qashqool

Senior Member
Dec 7, 2011
249
40
What makes you think that it is related to Xposed? It seems totally unrelated to me. You could check if you have installed a module which tweaks the Phone app, but the framework itself shouldn't cause such effects.

I installed only xposed and gravity, when this happened. Could be one or another, but I unistalled gravity and the issue was still there. C3076 says its probably xposed. I dont know if is xposed or gravity that could mess with wake up screen during or after call
 

manfredi90

Member
Aug 9, 2007
28
0
I had a look at it. The error message mentioned that the function dvmChangeStatus couldn't be found. Well, actually it is there, but Asus has added an additional boolean parameter to it (which has never existed in AOSP). Unfortunately, it is pretty hard to find out what it does when all I have is this:
Code:
000ca100 <dvmChangeStatus(Thread*, ThreadStatus, bool)>:
   ca100:       8d 64 24 d4             lea    esp,[esp-0x2c]
   ca104:       89 5c 24 20             mov    DWORD PTR [esp+0x20],ebx
   ca108:       8b 5c 24 30             mov    ebx,DWORD PTR [esp+0x30]
   ca10c:       85 db                   test   ebx,ebx
   ca10e:       89 74 24 24             mov    DWORD PTR [esp+0x24],esi
   ca112:       89 7c 24 28             mov    DWORD PTR [esp+0x28],edi
   ca116:       8b 74 24 34             mov    esi,DWORD PTR [esp+0x34]
   ca11a:       0f b6 54 24 38          movzx  edx,BYTE PTR [esp+0x38]
   ca11f:       0f 84 a6 00 00 00       je     ca1cb <dvmChangeStatus(Thread*, ThreadStatus, bool)+0xcb>
...
Assember doesn't have variable names and such nice things. What I did find out was that it enables a different mode for locking (i.e. telling other threads that they shouldn't do certain things right now). Setting it to false should keep the standard behavior.
But it would be naive to assume that everything works fine just by setting this parameter to false. It's probably part of some bigger change that Asus has done and should be true under circumstance that I don't know. This is a very central part and I spent at least a week debugging and trying around to get this right when I started developing Xposed because I had a bad system stability.

So in short: I think I have to add this ROM to the incompatibility list. Could you give me the full name/version information please? If a new ROM gets rid of this parameter in the future, Xposed should work fine for it.

Oh so sad news :( Maybe I will try when new rom from asus come out... the tablet exactly is the Asus ME302C, android version 4.2.2, kernel 3.4.21, Rom 4.7.1 WW (the last one). If you need other information please tell me and good work! :fingers-crossed:
 

Samson Nosmas

Senior Member
Oct 13, 2013
58
18
Hannover
Could it be that you installed GB through CWM .zip provided by C3CO? It includes an init.d script that replaces app_process.

That would explain a lot. I don't understand why people keep flashing that even when it's available only for my gm2 ROM in my ROM thread. GB thread clearly says zip package is for gm2 rom.

Since I am able to read, I have certainly installed the apk file! And as I told you, since I have reverted to Xposed Framework v2.2 it is going nicely.
So there must be something wrong with 2.3/2.3.1...!?
 

rovo89

Senior Recognized Developer
Jan 4, 2012
2,585
81,434
hey guys, when i try to install xposed framework i come up with this
exec :no such file or directory .Can you help me asap??
Does anyone know how to solve it??
exec no such file or directory
How can I solve it??
Sorry, but you are too impatient to get support from me.

About installing xposed framework i would like to make a flashable zip to install it. I know how to make a basic flashable zip but i do not know what should be changed. Does xposed framework only modify the app_process file or does it replace? is it the only file that is being replaced? If so i could just make a flashable zip that replaces that file?
It replaces. You can have a look at this one: http://xdaforums.com/showthread.php?p=44013064

Since I am able to read, I have certainly installed the apk file! And as I told you, since I have reverted to Xposed Framework v2.2 it is going nicely.
So there must be something wrong with 2.3/2.3.1...!?
No, there is something wrong with your ROM.
The app_process 37 belongs to version 2.2. As your ROM somehow always reverts to that version, it works fine with Xposed 2.2, but not with other versions.
It could either be some script that copies the binary from somewhere on reboot or your /system partition has become strange. If it's a script, you need to find and disable it, otherwise you could research why the partition is strange and might be able to flash the file via recovery. However, I don't think there is a flashable zip for 2.3 yet.
 

mhmn

Member
Oct 13, 2013
21
1
sorry rovo89 i have trying to solve it for hours but i cant succeed thats why i am a bit impatient..
 

abhishekturumella

Senior Member
Jun 17, 2013
65
10
thank you dev !!

wonderful work....framework along with modules is a must have...
if xda permits i would thnk dev for multiple no of times :good::good::laugh:
 

finalhit

Senior Member
Jan 12, 2009
1,187
217
sorry if this has been answered before, but 400 pages is a bit too much of a read for me.

is there a known compatibility issue with HTC One? The first time, i had to install it via flashing (i found a zip flashable zip someone posted) because any changes i made wouldn't stick after reboots.

now, it seems like i'm stuck in app_process version 37, while "bundle" is 42. i can't seem to activate unicon, and i'm stuck in a loop of "you need to restart to activate..." blah blah (i'm not in a boot loop).

Any directions would be appreciated.

Thanks
 

rovo89

Senior Recognized Developer
Jan 4, 2012
2,585
81,434
You answer it yourself:
is there a known compatibility issue with HTC One? The first time, i had to install it via flashing (i found a zip flashable zip someone posted) because any changes i made wouldn't stick after reboots.

Version 37 belongs to Xposed 2.2, for Xposed 2.3 you need version 42. As I mentioned a few posts ago, I'm not aware of any zip for Xposed 2.3 (yet).
 

Gack69

Senior Member
Nov 30, 2011
783
544
Louisville
Anyone know if this latest version is compatible with the Samsung Galaxy Note 3? I read somewhere that there was a beta that was reportedly working, or an older version that did...but wanted to wait till an official update was out that had support.

TIA!
 

aerichards1977

Senior Member
Mar 12, 2011
166
59
OnePlus 10 Pro
Anyone know if this latest version is compatible with the Samsung Galaxy Note 3? I read somewhere that there was a beta that was reportedly working, or an older version that did...but wanted to wait till an official update was out that had support.

TIA!

I am using latest from the op on a Verizon note 3 with no problems.

Sent from my SM-N900V using Tapatalk
 
  • Like
Reactions: btoddweber

chickentech

Senior Member
Jun 10, 2013
111
15
Anyone know if this latest version is compatible with the Samsung Galaxy Note 3? I read somewhere that there was a beta that was reportedly working, or an older version that did...but wanted to wait till an official update was out that had support.

TIA!

This is the version that works with the note 3. I'm using it as well as the wanam module (get from the play store) to hide root from AT&T. No issues whatsoever.

Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
 

hasan217

Member
Jul 5, 2013
35
2
32
Mumbai
Somehow I can get the files working, but this is not surprising me much because they are very central for the system and I at least wanted to try running them on the Genymotion emulator.

The error message is strange, all that is run there is "busybox mount -o remount,rw /system" (with the BusyBox executable that comes with Xposed). I don't know why it doesn't work on your phone. You can try to simply mount /system writeable yourself. If that doesn't work, I guess you will have to wait until someone builds a flashable zip.



Regarding performance: Yes, I know that some things could be optimized. @exidler has done some great research on this a while ago. However, I need time for this and have to be very careful not to break existing modules or even endanger the system stability. Such low-level changes can lead to very strange effects that are hard to track down.

I'm really curious to discover the options and if necessary rewrite parts of the core. I just didn't find the time yet, there were always other things with more priority and more people waiting for it. Most people don't notice a decrease in performance and even if some do, the question is whether it's really that annoying, compared to the cool features you can get with Xposed. It's everyone's free choice to use or not use Xposed.

Hey I got it working. I mounted the system r/w using Root Explorer. I'm using static 1. Thank you so much... Kudos to your work. I was waiting so long for x86 compatibility and now I finally have it. Thanks again...!

Sent from my Xolo_X900 using XDA Premium 4 mobile app
 

Publiuss

Senior Member
Jun 29, 2012
948
171
I just tried it myself, symlinked /data/data/com.android.providers.downloads/cache to /cache. Works fine for me. You could check the permissions of your /cache folder (ls -ld /cache). For me, it has made drwxrwx--x (771). The directory permissions could have influence on whether Xposed can request file information.

Hi
my /cache was rwxrwx--- owner: system.cache. Perhaps playstore can write 'cause it's a system app.
Now I set it to 771, but shouldn't I set it totally writeable to everyone (is accessing a sufficient permission to others than owner.group?
 
Last edited:

Ikkuh84

Senior Member
Nov 7, 2010
726
156
Den Bosch
I'm using the latest version of Xposed and updated also the framework. But when I reboot, via powerbutton or in Xposed itself, the modules become disabled. Only when I use soft reboot the modules stay active.

I use a HTC Desire, with Chromium Rom which is 4.2.2. The modules work perfectly, except when I reboot. Is this a common bug?

Send from my beautiful destroyer
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 638
    Xposed 2.4 beta1/beta2

    This is Xposed version 2.4 beta1. The main new features and fixes in this version are:
    • Support for Android 4.4 (KitKat)
    • Significant performance improvements of the framework
    • Viewer for the debug.log in the installer
    • Check in the installer whether Xposed is actually active and working

    First of all, I would like to thank the 45 people who donated to get me a Nexus 5, from a little "thanks" to huge amounts of money. I was really impressed and hope you like this update.

    In detail:
    Xposed should now fully support KitKat. As mentioned, that wouldn't have been possible at this time without your support.
    Modules should continue to work if they don't rely on AOSP internals that have changed in KitKat. One example: It seems that the battery icon is no longer an (animated) image, but a Java implementation. Obviously, any modules that try to replace the battery image will no longer work. The Xposed framework can't do anything here, the module needs to be rewritten. Therefore, if some of your modules don't work, please get in contact with the module author first. You will probably see an error in the new debug.log viewer in this case.
    Xposed isn't compatible with ART, I can't say yet whether it will be in the future (will require a major rewrite if possible at all). As you would get into a bootloop if you try to combine Xposed+ART, Xposed automatically resets the choice to "Dalvik". If you want to test ART, you must uninstall the framework.

    The performance improvements apply to the very core of Xposed, the method hooks, in all Android versions. In a test app developed by @exidler, the overhead per call used to be ~71 μs (= 0.071 ms) per call to a hooked method (with one empty callback handler) on my Galaxy S2. Now it's ~13 μs (= 0.013 ms). That's a relative improvement of factor ~5.5x. Thanks to @exidler for the research and several suggestions! I have sent a pre-beta to @kamso, who had reported lags with older versions. Now everything works fine for him. Anyway, I wouldn't say that Xposed had bad performance before. Keep in mind that we are talking about significantly less than a millisecond here.

    The debug.log viewer should give a quick impression whether Xposed and modules could be loaded fine. It also includes options to save the log to SD card (so it's easier to transfer it to a PC etc.) and send it via mail.

    The Xposed Installer now checks whether the latest version of the framework is active. If not (e.g. because it's not installed yet, you forgot to reboot or something in Xposed doesn't work), you will see a warning in the welcome screen and at the top of the module list.

    Finally, there were some other minor improvements and fixes and new/updated translations.


    Developers:
    As a reminder, please keep the debug.log clean. It's only helpful if it's not as spammed as logcat. You should only use XposedBridge.log() for error messages and other unexpected situations. If everything runs fine, it shouldn't write anything to the log. If you really need to keep some logging in published builds, please use either logcat or make it an opt-in options (i.e. disabled by default and the user enables it if he runs into problems).

    Apart from that, there was a little API change: https://github.com/rovo89/XposedBridge/commit/3c18f6f6bd4e0ec57898b3b3a79b5584d0396054
    I assume that very few modules use the "extra" field to transfer information between beforeHookedMethod() and afterHookedMethod(). If you do, simply replace it by getExtra().

    Layout inflation hooks now also work if the layout has been included in other layouts. That's actually a pretty tricky use-case for the "extra" parameter mentioned about (and other tricky technologies).

    If for some reason you need to determine the active XposedBridge version in your module, you can use XposedBridge.XPOSED_BRIDGE_VERSION.

    findMethodBestMatch() now also looks for protected and package-private methods in superclasses. That's mainly useful if you use the callMethod() or callStaticMethod() helper.

    UPDATE: (beta2)
    The new beta should fix the "read-only filesystem" errors. If you used to experience them, please try this version. Otherwise, there is no need (and no advantage) to update.

    UPDATE:
    The final version is out, please use it instead (see first post / in-app installer).
    479
    The ART of patience

    Regarding ART possibly becoming the default runtime engine: I think that's good news because it means that we will get a stable version of ART then. I'm reluctant to work further on ART support at the moment for mainly three reasons:

    1. Time. I used to spend every evening and every weekend for Xposed, either to give support here (often answering the same questions again and again), writing code or researching about bugs or new ideas. As you may have noticed, there are now days or even weeks where I don't even log on to XDA, and I'm actually glad about this.

    2. Experimental software is bound to contain bugs, even severe ones. There is a reason why Google didn't make this choice available for the typical user (and keep in mind, we are not typical users). I neither want people to blame Xposed if their phone starts acting up nor do I want to hunt bugs which are caused by a runtime engine that is explicitely labelled as not finished yet.

    3. As long as ART is experimental, it's much easier to make big changes to the code. Once a final version is out and used by the masses, quality engineers we be much more careful not to break things. That means that Xposed for ART on 4.5 (or whatever it will be called) might need to be completely different than for ART on 4.4. More variants means more time for maintenance. And I don't feel like pushing something out now just to drop support again in a later version. There is not enough benefit of using ART at the moment to justify that.

    You know, I had already worked on ART support and spent several dozens of hours reading the code, looking for ways to hijack it, implementing my ideas, doing trial and error and starting again from the beginning. I finally had my Nexus 5 boot with Xposed in early December and quickly tested the App Settings module. I'm happy about that, but I also know that this was just a very experimental version, less ready than ART itself. It is totally hacked together and only tested with the stock ROM. ART is quite complex and has several different modes. It's not worth giving the current development to someone else before I have tested these things on my phone, where I can debug much better than instructing someone else to do it. It also requires rewriting app_process to be a light executable again, which loads either the Dalvik or ART Xposed library, depending on your settings. That would require changes in the installer as well, etc. etc.

    So you see, there is still lots of work to do. At the moment, I'm not actively working on it, but trying to get some other things fixed (e.g. LG ROMs) or improved (installation via recovery, better installation feedback in case root access failed, static Busybox package). And as I said, I do have other things in my life as well. It's not about money, that's what I have my full-time job for. I work on Xposed for fun (and maybe a bit for the reputation ;)), so the best way to ensure that I keep on working on it is not taking away the fun part of it. Don't pressure me like it was my duty to implement something ASAP (!!!), be patient even if it takes a bit longer until I answer and join the volunteers who help answering basic questions here so I don't have to. Thanks!
    317
    General information on Xposed has been moved to this thread: http://xdaforums.com/xposed/xposed-installer-versions-changelog-t2714053
    The FAQ has been moved to this thread: http://xdaforums.com/xposed/-t2735540
    Questions, suggestions, bug reports and so on can be posted in the Xposed General forum (for the installer/framework/development only) and in the Xposed Framework modules forum (for anything module-related).
    222
    Xposed Framework Installer (Flashable Zip)

    Announcement: Xposed Framework v2.5+ comes with an option to flash its own install zip via recovery, making my package obsolete. I'll leave them up for posterity; could be useful should the need arise for downgrading on some devices. Cheers all! 10000 downloads is pretty cool. :)

    Xposed Framework v2.2+ has fixed JB4.3 installation and v2.4+ has added support for KK4.4, but for those that still want it, or cannot install via the APK due to /system write protection like HTC's S-ON, here is an updated zip frontend method for installing the framework; now for Xposed Framework v2.4.1.

    You MUST have the Xposed Installer APK installed FIRST. The zip will detect if you do not and stop.

    Flash this in recovery and my frontend script (the update-binary) will detect the correct architecture and SDK version to use the appropriate Xposed app_process and busybox builds (x86, armv5, v6 and v7 & sdk 15 and 16+ supported), and should detect the uid of the Xposed Installer APK on-the-fly and set up the required files with it.

    It leaves a log behind in /data/local/tmp/xposed-log.txt either way with more details about how it went. :cool:

    It also unpacks Xposed-Disabler-Recovery.zip to /sdcard/ (or /sdcard/0/ if it exists) to be as close to the APK install method as possible. For those wanting another method to reactivate after a ROM update or toggle Xposed disabled/enabled, @amishxda has also created a cool "Xposed toggler" zip here.

    Note: Xposed Framework files and the install.sh used are the work of @rovo89 and @Tungstwenty; I have only created a recovery flashable zip to function as an alternative frontend for the framework installation process. I take no credit for their fantastic work.


    P.S. If you found this handy then please check out my Odds and Ends thread for more flashable goodness. :D

    5351 downloads of v2.1.4 when removed. 1049 downloads of v2.2 when removed.
    193
    Xposed 2.5 final

    This is Xposed version 2.5 (final). The main new features and fixes in this version are:
    • Rewritten framework installation/uninstallation
      • Uses interactive su (via libsuperuser) to provide improved compatibility with different Superuser apps
      • Better feedback when root access fails (doesn't freeze the app anymore)
      • Offers installation via custom recovery (CWM/TWRP), either flashing the file automatically or manually
    • Safemode to disable Xposed with hardware keys to get out of (most) bootloops
    • Compatibility with Sony/LG ROMs (4.3 and 4.4), Meizu ROMs (4.4)
    • Debug setting to disable resource hooking as a temporary workaround for incompatibilities with some theming engines (not all modules can be used in this mode)
    There are also other improvements and fixes, especially many translations updates.
    In case you get a message "Segmentation fault" during installation, you can now download an additional app which provides statically compiled versions of BusyBox (a lot bigger, but should work with every ROM). It's not needed otherwise.

    Quick explanation of the safemode: It was developed by @Tungstwenty and makes it possible to disable Xposed by repeatedly pressing one of the hardware buttons during early startup. The phone will vibrate twice when the first key press has been detected. Then you have five seconds to press the same button four more times. Each key press will be confirmed with a short vibration; the final one with a long vibration. It creates /data/data/de.robv.android.xposed.installer/conf/disabled, which prevents most of Xposed's actions (e.g. no hooks are made and no modules are loaded). There's no 100% guarantee that this will get you out of a bootloop, but in most cases it should.

    As always, you can download it via the in-app updater or from http://dl.xposed.info/latest.apk.