yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] mcmb03:
so I must be ret@rded, but I can't figure out how to download the mods from the repo O_o
[Galaxy Note II Original Android Development] BleedingIris:
Me too. I've been searching for almost a hour -still can't find the download button :confused:
[Galaxy Note II Original Android Development] xyzulu:
Their module download site is broken.. it was showing the download option less than 24hrs ago, but not at the moment.
[Galaxy Note II Original Android Development] BleedingIris:
OK. Thanks for the info.

I downloaded sources and compiled on android itself. ;) -now to test
[Galaxy Note II Original Android Development] vhick:
Same here. I can't even register to the site, but I used my google account to register though. Still I can't download any file on the site.
[Galaxy Note II Original Android Development] rovo89:
[MENTION=2178960]pulser_g2[/MENTION] is working on the issues with the repository (the site is operated him).
[Galaxy Note II Original Android Development] ernest33:
Hello,

How can i load external file in a XPosed module ? I mean loading an image.

I have made a module to change background notification image, but it work with internal resource. I've try many way to load external image with no succes :crying:

Anyway thank a lot to Rovo89 this XPosed framework is really "formidable" :)

PS : I've attached my current version if you want to take a look :o
[Galaxy Note II Original Android Development] rovo89:
You can create a subclass of XResources.DrawableLoader. I don't have access to my PC for the next days, so I can't give you an example right now.
[Galaxy Note II Original Android Development] ernest33:
Thank you for the information :good:.

For now I have not succeeded. But it is certainly because of my level of knowledge in terms of object-oriented programming. But I continue, because I have lots of fun ideas with your great XPosed Framework.

( But if you happen to find a small example i would be happy, even if i will have less fun than having to find by myself :victory: )

Currently i added in the subclass a new method :

public Drawable extDrawable(XResources res, String path)

calling

Drawable.createFromPath(path);

but i think my problem is the use of the resulting "Drawable" (or maybe i'm completly wrong :eek:).

...
[Galaxy Note II Original Android Development] schnip:
this villainrom website is probalby the worst download experience ive ever had. when youre not registred you cant download anything. BUT the website doenst tell you that you cant download because you havent registered, so you find yourself looking for a damn download button half an hour.

after i decided to register on the terrible website it said that my email adress was banned on some forum spam blacklist. so i checked on that website wehther my email adress is actually banned - it wasnt!!!!

okay... i tried to register again with another email adress just to realize the website banned my ip adress after 1 DAMN TRY(!!!). Like what the ... is this??!!?

this website is like actively boycotting the xposed project (at least for me!)
[Galaxy Note II Original Android Development] rovo89:
Please calm down. None of these issues used to exist until a few days ago... and the site worked without registering. However, pulser_g2 (who runs the site, in addition to his admin responsibilites here at XDA) seems to be very busy at the moment, so I suggest you check again in a week or so.
[Galaxy Note II Original Android Development] rovo89:
Example from Tweakbox:

resparam.res.setReplacement("com.android.systemui", "drawable", "status_bar_background", new XResources.DrawableLoader() {
[MENTION=439709]override[/MENTION]
public Drawable newDrawable(XResources res, int id) throws Throwable {
return new ColorDrawable(statusbarColor);
}
});

Inside newDrawable(), do whatever you need to create the drawable - just make sure a new one is returned on every call. So don't cache the drawable in a variable and return the same instance. Of course, you can cache the information needed to create the drawable.
[Galaxy Note II Original Android Development] dalanik:
I have to agree 100%. It not only requires you to register without it being obvious but it is hard to display all downloads etc. Very, very user-unfriendly and illogical....
[Galaxy Note II Original Android Development] rovo89:
Pulser just informed me that he is "in the middle of finals right now", therefore no time to fix it... I hope to get the files so that you can download them again (even if it's without the descriptions and stuff).

As I said, most of the things you experience now are not intended, but caused by a failed software update. Anyway, there are also things like better mobile support which made me think of building a new site. My preferred platform for the web frontend is Drupal 7 with its Field API because it's easily extendable, so if anyone has some experience with that, please contact me.
[Galaxy Note II Original Android Development] csmoore88:
When people help for FREE!!! you need to be more grateful. About 100 people have said the download button is broken TRY AND USE YOUR EYES BEFORE YOUR MOUTH . These guys are brilliant and work hard and are not here to serve as out work mules. The website creator is having finals. Give him a break! ! I have been following this project since day one and trust me when I tell you these guys are among the best on XDA about being helpful and timely. Be patient or use google. Most modules are out there anyway! !

---------- Post added at 06:44 AM ---------- Previous post was at 06:41 AM ----------

I have followed this project since the start and love it!! I don't know a lot about this stuff but WANT to help if possible. If its support or a guinea pig...let me know. I will do what I can with my (beyond limited) grasp of the wonderful world of mobile development.
[Galaxy Note II Original Android Development] ernest33:
Inside newDrawable(), do whatever you need to create the drawable - just make sure a new one is returned on every call. So don't cache the drawable in a variable and return the same instance. Of course, you can cache the information needed to create the drawable.[/QUOTE]

YES :laugh: finally i make it work.

Big thanks mr rovo89 for your help !!!!.

Next step an interface to be able to select/crop any pictures :D
[Galaxy Note II Original Android Development] MohammadAG:
rovo89, I've hosted some APKs that I have lying around on my server, I'll take them down if you wish when the site's restored.

The APKs are here http://mohammadag.xceleo.org/public/Android/Xposed

I've also made a proof-of-concept on how you could handle APK downloads later on, rather than a website.

Using a script that's run every time an APK is uploaded, we could generate a JSON file.

(example script here http://mohammadag.xceleo.org/public/Android/Xposed/generateJSON.sh)

The app (probably best included in Xposed Installer rather than a separate app) would then parse this JSON file, and allow the user to install the packages.

Here's an example JSON file of the files I've hosted: http://mohammadag.xceleo.org/public/Android/Xposed/JSONExample

I extended the proof-of-concept a bit, to include it in the Xposed Installer (crap implementation at best, I'm still a newbie at Java)

This list shows modules available on the server, a ticked module is an installed module.

This should probably be merged with the already available modules tab, though I can imagine that getting cluttered in a year or two, as Xposed really takes off.

After clicking an item in the above list, the APK is downloaded (and later on, theoretically installed, I couldn't bother with why it fails to open files)

The modified source code is here: https://github.com/MohammadAG/XposedInstaller/commit/a374c13ac16eb4990ec4ff6923aceb4a124e24a0

I won't request a merge because the code is way too unstable as is (it runs network related on code on the UI thread, and it doesn't update the list when the module is actually installed).
[Galaxy Note II Original Android Development] rovo89:
Thank you very much! :) That looks like a good start. There are quite a few points which match how I would do it. Did you also consider XML format? If so, what would be the advantage of JSON? I know XML is more verbose, but after gzipping, there shouldn't be a big difference and Android uses XML for lots of things, so it's well supported.
[Galaxy Note II Original Android Development] MohammadAG:
You're welcome! :)

I learned development through working on Maemo, and parsing XML using Qt scarred me for life, it's way too complicated and needs about 70+ lines of code compared to JSON, so I guess that's why. I imagine that on Android it's way easier, so I guess there's no reason not to do it.

Plus JSON was easier to write without the use of extra binaries in the bash script.

I guess in the future the bash script could be replaced with a C/C++ version (or even Java) so Institut could be used when a new apk is uploaded.

I have a suggestion though, adding some extra metadata in AndroidManifest.xml, such as mod category and author so the app sorts the tweaks without extra data.

This helps in the sense that the developer only needs to upload an apk to add a new entry.

Or a depiction page could be used as with Cydia on iOS.
[Galaxy Note II Original Android Development] MU24R:
im wondering if this its similar to xposed framework?

https://play.google.com/store/apps/details?id=com.saurik.substrate
[Galaxy Note II Original Android Development] kamso:
Yes, the principle is the same, but for now I think there is a single module that works with cydia Substrate (Winterboard) which allows you to install themes. Certainly if the developers are getting into, it will be more to come but for now I think with different mods developed, Xposed offers many more possibilities.

Envoyé depuis mon GT-N7100 avec Tapatalk
[Galaxy Note II Original Android Development] rovo89:
Start reading here:

http://xdaforums.com/showthread.php?p=41412489
[Galaxy Note II Original Android Development] Publiuss:
Hi

I also installed this, by some test it works (does something).

Must find when it could be useful.
[Galaxy Note II Original Android Development] kusumalaga:
Hi, is the villainrom site down or something? I'm trying to find some repo for xposed framework. Can someone tell me what's the latest version of xposed settings and where can I get it besides from the villainrom site? Thanks before :)
[Galaxy Note II Original Android Development] rovo89:
Yes, the site is down at the moment. Thanks to MohammadAG, here are some of the modules: http://mohammadag.xceleo.org/public/Android/Xposed/

The latest version of App Settings (we removed "Xposed" from the name to avoid confusion with the framework) is 0.4 and the first one in the list.
[Galaxy Note II Original Android Development] kusumalaga:
Thanks a lot rovo! Lots of new modules since the last time I checked lol. Any review or specific thread for each of them?
[Galaxy Note II Original Android Development] fbauto1:
edit: oops wrong thread.
[Galaxy Note II Original Android Development] uppon2:
Hey guys. I recently installed this along with per app dpi settings on my Droid DNA and so far I have been able to change DPI for things like settings etc but when I try to change it for my launcher (trebuchet, nova or apex) nothing happens.

Is there another way I can force DPI on to my Launcher without installing PA
[Galaxy Note II Original Android Development] ardicli2000:
Try changing SystemUI at the same time as well.

Then reboot.
[Galaxy Note II Original Android Development] DamianSixSixSix:
can somebody make a simple mod for me? i just want my launcher to have sense5 icons :3
[Galaxy Note II Original Android Development] MohammadAG:
Another mod for Samsung ROMs, disables the "Low Battery" dialog / "unable to use flash" in the stock camera when the battery's below 5% or 15%.

Open source: https://github.com/MohammadAG/Xposed-Disable-Camera-Alerts

Download: http://mohammadag.xceleo.org/public/Android/Xposed/DisableCameraAlerts.apk
[Galaxy Note II Original Android Development] micky387:
big thanks man
[Galaxy Note II Original Android Development] rovo89:
Quick trick, instead of this:

findAndHookMethod("com.sec.android.app.camera.Camera", lpparam.classLoader, "handlePluggedLowBattery", boolean.class, new XC_MethodHook() {
[MENTION=439709]override[/MENTION]
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
param.setResult(null);
}
});

you can simply use this:

findAndHookMethod("com.sec.android.app.camera.Camera", lpparam.classLoader, "handlePluggedLowBattery", boolean.class, XC_MethodReplacement.DO_NOTHING);
[Galaxy Note II Original Android Development] Dovidhalevi:
In PA, it worked beautifully on Trebuchet, correcting positioning bugs for more then five rows both portrait and landscape.

So I obviouly attempted the same using Xpose. Trebuchet FCs repeatedly so turned off.

SystemUI change does work.
[Galaxy Note II Original Android Development] BradleyR2010:
By any change anyone has a copy of xposedScrollingLauncherWallpaper apk :)
[Galaxy Note II Original Android Development] MohammadAG:
Here you go

http://mohammadag.xceleo.org/public...gLauncherWallpaperxposed2_1357558504_2182.apk

Not sure if it's the latest version though.
[Galaxy Note II Original Android Development] ernest33:
Customize Notification Background

AOKP jealous :p ... you want too change the background image of notifications ...

Try this module Xposed. It is still under development ...

I will suggest you to select an image once the installation is complete, because you need to restart the phone for the change to take effect.

Hope you like this module :)

detail:

This module created a file named "notifbg.png" at the root of the internal memory ('/ sdcard / notifbg.png'). If you delete this file and restart you will have a black background in the notifications panel.

Press 'Thanks' if you like it :o
[Galaxy Note II Original Android Development] McDaddyTree:
I've tried downloading a few times but it keeps giving me a parsing error. Anything I should be doing?
[Galaxy Note II Original Android Development] dalanik:
Thanx, but it crashes a lot i.e. when exiting the app... there is no "apply" or "OK" button, nor exit? What are section1/2/3?

D.
[Galaxy Note II Original Android Development] sturmen:
I made a mod for the Snapchat app. It saves all the snaps you view to your SD card. The APK is attached to the thread.
[Galaxy Note II Original Android Development] ernest33:
What rom are you using ? I need some detail because i never had a crash before :(. If you have more informations about the crashes ;)
[Galaxy Note II Original Android Development] Adizzzle:
Mine crashed as well however it still works.
[Galaxy Note II Original Android Development] dalanik:
Stock ROM rooted....
[Galaxy Note II Original Android Development] spevil07:
Hey mates is the settings app Version 0.2.1 the current Version???
[Galaxy Note II Original Android Development] melando:
No I'm on 0.4, search and you should find a download link
[Galaxy Note II Original Android Development] chavocarlos:
There is a link with some xposed backuped apk's from VillainROM dead site. :'(

http://mohammadag.xceleo.org/public/Android/Xposed/
[Galaxy Note II Original Android Development] Namoi:
Thanks a lot.
[Galaxy Note II Original Android Development] cybhunter:
Xposed framework; ability to add missing Classes from stock?

Hey everyone,

Looking though the backlog of posts on this thread, I noticed that awhile back 'qwerty12' was developing a tweak to allow NFC communications when the screen is off. Has there been any further development of tweaks dealing with NFC. Being relativity new to the android dev environment, the Samsung Stock ROMs lack within their nfc.apks some ISO standard NFC protocols (as an example 'IsoPcdA'). Does the Xposed framework provide an ability to supplement any missing classes, or is the only technically viable way of incorporation force a recompiling of the apk (for which I am not sure if its signed by Samsung, hence an inability to install) or having to go to a custom ROM?

here is a logcat to what I'm trying to solve (the app, 'Tapp' an open source Google Wallet alternative requires resolving the tag technology as IsoPcdA, for which the stock class does have, hence the runtime error)

E/dalvikvm(5257): Could not find class 'android.nfc.tech.IsoPcdA', referenced from method com.tapp.CardEmuActivity$NFCForegroundUtil.<init>
W/dalvikvm(5257): VFY: unable to resolve const-class 30 (Landroid/nfc/tech/IsoPcdA;) in Lcom/tapp/CardEmuActivity$NFCForegroundUtil;
E/AndroidRuntime(5257): java.lang.NoClassDefFoundError: android.nfc.tech.IsoPcdA
E/AndroidRuntime(5257):	at com.tapp.CardEmuActivity$NFCForegroundUtil.<init>(CardEmuActivity.java:3005)

Thanks
[Galaxy Note II Original Android Development] rovo89:
Although you can refer to additional classes from Xposed modules, I don't think you can fix the error you showed. Maybe you could add an additional APK to the bootloader classpath, but the question is how you can build that APK. There are probably many references to other classes, methods and fields inside of the missing class, so you wouldn't be able to compile it from source.
[Galaxy Note II Original Android Development] MohammadAG:
rovo89, I finished my proof of concept, it can download a module's package, do an MD5 checksum on the downloaded file, and then install it.

I was thinking we could do a beta phase? I would post an apk but it'd have a different signature, and installing that by uninstalling the old one first caused me some permission problems (no idea why, but /data/xposed couldn't be read till I reset permissions).

Here's an unsigned apk, if you don't want to merge the changes, could you just sign it? http://mohammadag.xceleo.org/public/Android/XposedInstallerDownloadUnsigned.apk

Sources are on https://github.com/MohammadAG/XposedInstaller of course.

Video demo, in case anyone wants a preview: https://www.youtube.com/watch?v=ZCI9lrvX_Ks
[Galaxy Note II Original Android Development] rovo89:
I don't want to do a beta phase until I have reviewed the code line by line... meanwhile, I have a first version of an XML parser working, so maybe I can then merge your changes for the downloader etc. However all of this should be done with the intention not to completely renew it again in the next version. So maybe if the downloader should be merged with the modules tab, this should be done now etc. Just an example to think about.
[Galaxy Note II Original Android Development] MohammadAG:
I've actually thought about that, but I think keeping them separated should be the way to go. A user can still install a module from a website and they'll have to enable it. Merging them would mean some confusion for the user.

What I suggest once again are metadata fields for the author and the category of the tweak. I see you already get the name of the package somehow but I haven't figured that out (on the server, by parsing the APK). This will help a lot in sorting th packages.
[Galaxy Note II Original Android Development] rovo89:
Ok... assuming that you can see which modules you have already installed and which ones have updates, it probably makes sense to somehow separate it.

The reason I'm against including author and category is that there are many more fields that should be displayed on the long run. A longer description, a changelog (very important for me), maybe links to support thread, screenshots etc. I wouldn't want to include all of that information in the APK. While a shell script to get the information automatically is a good start, I plan to build a management site based on Drupal 7 where developers can enter this information and which then generates the XML file.

Also to consider is the ability to use multiple repositories, provided they offer a file in the correct format. Even if not fully implemented in the first version, it shouldn't need a complete change of code and UI to support it.

I'm also thinking about how the framwork itself can be updated. It would be good if that could work through the same or a very similar way. That should be working when we first release it to ensure that updates are adopted as soon as possible. This way, we can do smaller improvements and release them earlier without making people tired of the things they need to do when an update is available.
[Galaxy Note II Original Android Development] MohammadAG:
Well, good point. I kind of forgot about changelog and the likes because my mods haven't required an update thus far, so I simply overlooked it.

A basic update mechanism could be a text file that's checked at boot time abd at startup whenever there's an internet connection.

On Maemo, I had an app that I didn't want to push to the store, so I did a basic updater that read http://mohammadag.xceleo.org/sociality-mtf-version and compared version numbers. If it was higher the app would download the deb package and install it.

The file also had an md5sum but apoarently that got nuked when I moved the server...

While this isn't secure, a simple attack could easily trick the app. But with Android I guess you could just rely on the APK's signature.
[Galaxy Note II Original Android Development] ernest33:
Well well it seem i have some work to do on the interface :( and i'm not yet a 'good' dev concerning Android :D . The module itself should work ok even without interface.

Thanks a lot for your reports i'll do my best to make a better version (with more test :angel:).

Regards
[Galaxy Note II Original Android Development] viniciusrsouza:
Guys, is Xposed supported for any ROM or only recommended for Samsung based ones, like stock (of course) and Omega?

I'm moving to Paranoid, but didn't want to lose the ability to use Xposed... =/

=====

Edit:

Sorry, just correcting my question...

These tweaks can be installed in other ROMs beside stock based ones? For example, the SMS/MMS convertion and sent time info.
[Galaxy Note II Original Android Development] dalanik:
It°s ok I wouldn°t know to write any app :) Important it works. Thanx for your work!
[Galaxy Note II Original Android Development] pnsdhrn:
The Villainrom thread is dead now.So is there any other thread or link from which we can download?
[Galaxy Note II Original Android Development] jaaluk:
http://mohammadag.xceleo.org/public/Android/Xposed/

SeNt FRoM oVeR THeRe-----> SoMeWHERE
[Galaxy Note II Original Android Development] rovo89:
As far as I remember these two are just for Samsung ROMs. In general, modules modify existing code. If this code does not exist in a ROM (because it was something vendor-specific) or is very different, then the module won't work. So the can't be a general answer for this and sometimes even the developer can't say it for their own app (you can't know the code of every ROM, right?). The framework should work on most ROMs because it depends on very internal code which is unlikely to change. However, Miui doesn't work because they have done changes to resource handling which I can't make compatible with Xposed. I haven't heard negative reports about PA, but you might want to wait for someone who confirms that Xposed works on it.
[Galaxy Note II Original Android Development] pnsdhrn:
Thank you for your kind help.
[Galaxy Note II Original Android Development] pnsdhrn:
Is this an apk to work with Xposed?If so from which link other than Villainrom I can download it?I am not geiiting Villainrom site in my windows XP .laptop
[Galaxy Note II Original Android Development] melando:
2 posts before yours. Next time read and search...
[Galaxy Note II Original Android Development] pnsdhrn:
+1!Same for me too!!

---------- Post added at 04:08 PM ---------- Previous post was at 03:49 PM ----------

Thank you.
[Galaxy Note II Original Android Development] 1Chef:
I see your using a Sammy device on my s2 with the stock camera if I have the over lock screen option ticked when the screen is turned back on tapping the buttons causes them to highlight but doesn't do anything, where the cameras view is, there is just a black space but the focus box thing will rotate with the phone. This is the only app that doesn't work with this option, even other camera apps work. Is there anything I can do to make it work? Thanks