Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,311 Members 48,216 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
rovo89
Old
(Last edited by rovo89; 19th June 2014 at 01:29 PM.)
#1  
rovo89's Avatar
Senior Recognized Developer - OP
Thanks Meter 13914
Posts: 2,367
Join Date: Jan 2012
Smile Xposed - Legacy thread. Don't panic, Xposed is still here.

General information on Xposed has been moved to this thread: http://forum.xda-developers.com/xpos...gelog-t2714053
The FAQ has been moved to this thread: http://forum.xda-developers.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).
The Following 143 Users Say Thank You to rovo89 For This Useful Post: [ Click to Expand ]
 
Siberian Tiger
Old
#2  
Siberian Tiger's Avatar
Forum Moderator
Thanks Meter 5644
Posts: 4,164
Join Date: Dec 2010
Location: Piraeus

 
DONATE TO ME
Sounds interesting.I hope that you make a apk that simplifies things for simple user like rom control in AOKP
Keep up the good work my friend
The Following 11 Users Say Thank You to Siberian Tiger For This Useful Post: [ Click to Expand ]
 
Krendelrus
Old
#3  
Senior Member
Thanks Meter 421
Posts: 603
Join Date: Nov 2010
That's great, decompiling/compiling apks is not really my cup of tea lol thanks rovo89
The Following 4 Users Say Thank You to Krendelrus For This Useful Post: [ Click to Expand ]
 
Razer(x)
Old
(Last edited by Razer(x); 31st March 2012 at 05:22 PM.)
#4  
Razer(x)'s Avatar
Recognized Themer
Thanks Meter 4770
Posts: 7,153
Join Date: Sep 2010
Location: Bologna

 
DONATE TO ME
May be useful for my themes, keep working on it
The Following 4 Users Say Thank You to Razer(x) For This Useful Post: [ Click to Expand ]
 
sangosnip69
Old
#5  
sangosnip69's Avatar
Senior Member
Thanks Meter 374
Posts: 570
Join Date: Dec 2010
Location: Lyon

 
DONATE TO ME
Very interesting... Will try soon.
Developer of SaNgO Vizion



If I've helped you, please press the thanks button!
This encourage me to continue my work!
The Following 20 Users Say Thank You to sangosnip69 For This Useful Post: [ Click to Expand ]
 
ukdtweak
Old
#6  
Senior Member
Thanks Meter 23
Posts: 261
Join Date: Aug 2010
Location: Ballyhalbert
This looks like a really great idea and could help reduce the need for dev's being pestered by users for mod's every time a new rom is leaked/released, well done sir, hope to see this take off
Samsung Galaxy S4
GoldenEye 4.4.2
----------------------------------
Asus Transformer TF300T 32gb Wifi +32gb Class 10 Ext.
Running ota Jellybean.
The Following 8 Users Say Thank You to ukdtweak For This Useful Post: [ Click to Expand ]
 
rotsj
Old
#7  
rotsj's Avatar
Member
Thanks Meter 6
Posts: 34
Join Date: Oct 2009
I will definitely have a swing at this over the next few days. This looks like fun!

**This message will self-destruct**
I'm just a little schizophrenic, nothing to worry about. 'Who said that?'
The Following 4 Users Say Thank You to rotsj For This Useful Post: [ Click to Expand ]
 
rovo89
Old
(Last edited by rovo89; 2nd April 2012 at 10:21 PM.)
#8  
rovo89's Avatar
Senior Recognized Developer - OP
Thanks Meter 13914
Posts: 2,367
Join Date: Jan 2012
Thanks for the "thanks" everyone. I decided to create an installer first before looking into the other things. This way, I hope a few people can test whether it works on their device (see first post for the APK).

Some notes about this:
  • The installer holds the app_process executable and the XposedBridge.jar as assets and can install it to the correct locations (root permissions required!).
  • It will automatically create a backup of /system/bin/app_process at /system/bin/app_process.orig, which can be restored either via the app or via shell (e.g. adb, works in recovery as well).
  • I have only tested it on ICS (LPQ Stock). Honestly, I do not have the time to test it with anything below that. If somebody wants to do this, I can help you to get started with the code. app_process was not changed very often, so chances are rather good that it will work with only few changes.
  • The installer requires SDK15 (4.0.3) for the same reason.
  • Improvements for any part of the code are welcome! It should be easy to use for both users and developers.
  • (Un-)Installing the installer app alone does not change anything (at least not now). Please use the buttons inside the app.
The next step should now really be to load modules dynamically, I hope I can use standard installable APKs for that (although the framework will probably request enabling confirmation for technical and security reasons).
The Following 116 Users Say Thank You to rovo89 For This Useful Post: [ Click to Expand ]
 
rovo89
Old
#9  
rovo89's Avatar
Senior Recognized Developer - OP
Thanks Meter 13914
Posts: 2,367
Join Date: Jan 2012
Quote:
Originally Posted by siberian tiger View Post
I hope that you make a apk that simplifies things for simple user like rom control in AOKP
From what I read, Rom Control seems to be something like the Settings app for ROM-specific stuff? I am not so sure yet whether I want to implement generic settings in the framework.
Having a standard interface for setting loading/saving (like or using Android's Shared Preferences) would probably make sense. But the settings themself can be very different from module to module, so I would rather let those bring their own settings menus.

What I did though was to implement an installer. My idea how it should ideally work for end users:
  1. Install the Xposed Installer
  2. Click the "Install/Update" button in the installer
  3. Install one or more modules
  4. Configure the modules (if necessary)
  5. Have fun!

Where "install" would mean that you can download the app from the Play Store or a website and install it with the usual package manager. At least for steps 1 and 2, this is working already. For the others, I have to see.
The Following 85 Users Say Thank You to rovo89 For This Useful Post: [ Click to Expand ]
 
rovo89
Old
#10  
rovo89's Avatar
Senior Recognized Developer - OP
Thanks Meter 13914
Posts: 2,367
Join Date: Jan 2012
Dynamic module loading is implemented now as well. Modules are normal apps with a special metadata tag and an asset describing which classes to load. You can look at my modifications for examples how this works. I think it is quite simple to develop and use.

I feel that Xposed is quite stable right now. It should be very easy to install both the framework and the modules without any knowledge about modding.

Also for developers, creating a new module is not too complicated. If anyone wants to give it a try, I'm happy to help you getting started. I'm convinced that Xposed is great alternative to APK modifying, but it will not work without developers creating modules for it.

Speaking of modules, I have published one for the famous CRT off effect: http://forum.xda-developers.com/show....php?t=1583963
The source code is also available at Github. See how it has less than 40 lines (and only about 10 LOC)? I think that this is awesome!

The Following 19 Users Say Thank You to rovo89 For This Useful Post: [ Click to Expand ]
Tags
don't ask questions about modules here!!!, framework, xposed
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes