yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] rovo89:
Now it is: http://www.villainrom.co.uk/forum/microdownloads/smiley-replacer.27/viewfile
[Galaxy Note II Original Android Development] kaankrby:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

Is there any suggested smiley pack? I was waiting for this mod
[Galaxy Note II Original Android Development] rovo89:
Have a look at the thread I linked to from the description: http://xdaforums.com/showthread.php?t=2138089

Second post contains some smiley packs and links to others.
[Galaxy Note II Original Android Development] RabidMonkeyOnCrack:
I just started using Xposed today and I'm probably doing something wrong when it comes to downloading modules. Am I supposed to be downloading from the Villain Forums in a certain way? When I download it on my phone I get a zip and not an apk. When I extract the zip using a file manager I just get a bunch of folders like meta, inf, system. Am I supposed to flash the zip or what? For the smiley changer I just went to the thread that it linked to and got the apk but what do I do for other files?
[Galaxy Note II Original Android Development] Froid:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

The modules are apk's but certain browsers download as a zip. Just rename from .zip to .apk and install normally.
[Galaxy Note II Original Android Development] RabidMonkeyOnCrack:
Weird... I've downloaded other apks on my phone using Chrome and they downloaded fine. That's for clearing that up though.
[Galaxy Note II Original Android Development] knightrocker:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

Just happens sometimes :P happens with media fire sometime too :confused:
[Galaxy Note II Original Android Development] geovas77:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

This is an amazing mod with huge potential for the future. I installed it recently to play with per app settings and it is just wonderful to have so much customisation power at my fingertips.

I am sure there are more awesome modules I will get to try and limitless possibilities for future modules.
[Galaxy Note II Original Android Development] Darkshado:
Has anyone considered implementing Openpdroid through this? Is it even possible?
[Galaxy Note II Original Android Development] rovo89:
AW: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

I think it should get possible, at least to a certain extent. However, I assume that many modifications are necessary, which means it will be quite some effort. Probably many of the changes have to be implemented differently in an Xposed module than when modifying the source code directly. Sometimes, this will make it easier, but in other places you might need more code to do the same. Definitely not an easy project. If someone wants to give it a try, go ahead. I can assist a bit with specific implementation questions, but you should already be an experienced developer.
[Galaxy Note II Original Android Development] rovo89:
At the moment, this kind of "simple" replacement is only possible for: Boolean, Color, Integer, int[], String and String[].

Dimensions can be replaced anyway, but currently only by forwarding them to your own module. See the section "Complex resources" on this page: https://github.com/rovo89/XposedBridge/wiki/Replacing-resources

That said, I think directly replacing dimensions would be nice, so it will add it to my list for future versions. But don't expect that anytime soon, so better use the forwarding approach for now, which basically means you need to add a dimens.xml to your module with those dimensions you want to change and then set the replacements in your code with a reference to them as described on the wiki page.
[Galaxy Note II Original Android Development] Tungstwenty:
Unfortunately dimensions values can't be replaced directly like that.

Check the documentation here and the code here.

Notice that unlike what happens for Boolean, Color, etc. (the documented "simple" types), any potential stored replacement is only used if it's a forwarded.

You'll need to create the resources in you mod and set a forwarder.

@rovo89, this is something which I don't know if it makes sense to analyze. Should it be possible (and is it feasible) to provide the float value directly, in case the mod's author wants to handle a large number of resources and/or dynamic values AND he's willing to do the dpi math himself?
[Galaxy Note II Original Android Development] Scalee:
Good that i caved in then :P I also kind of stupid of me.

Because i did read that it only supported said datatypes, in one ear (eye?) out the other.

Will have another crack at it after dinner.

Thanks guys
[Galaxy Note II Original Android Development] rovo89:
I think our posting times overlapped. I thought about using the method "public static float applyDimension(int unit, float value, DisplayMetrics metrics)" in the TypedValue class. The metrics come from the Resources instance, whereas the unit (e.g. COMPLEX_UNIT_PX, COMPLEX_UNIT_DIP) and the value are the replacement. I'm not sure what the API for this could look like to be able to store two pieces of information, probably an instance of a to-be-created class would be necessary. One possibility:

resparam.res.setReplacement("com.sec.android.app.FlashBarService", "dimen", "applist_appicon_item_height", resparam.res.createDimensionReplacement(10.0f, COMPLEX_UNIT_DIP));

Easier to type:

resparam.res.setDimensionReplacement("com.sec.android.app.FlashBarService", "dimen", "applist_appicon_item_height", 10.0f, COMPLEX_UNIT_DIP);

But we already have 6 set[SystemWide]Replacement methods... to be consistent, I would need to add another 6 of them. Or maybe accept float replacements (= pixels) and strings (to be split into value and unit)? But then, if you want to set the replacement dynamically, you would need to compose a string, which the framework would need to split again...
[Galaxy Note II Original Android Development] Tungstwenty:
If I create a file res/values/dimens.xml with this content:

<resources>
<dimen name="abc">10.0dip</dimen>
</resources>

I get to access "R.dimen.abc", even without a public.xml file. I don't think it's needed at all.

Do you have the "Android Resource Manager" entry in the Properties / Builders panel of the Eclipse project?

It should be creating the R.java source somewhere under /gen/ and that folder should be declared as a source folder on the build path.
[Galaxy Note II Original Android Development] rovo89:
Don't use public.xml. That's only necessary if you want to make the resources part of a public API and thus need to keep fixed IDs.

If you are using Eclipse, type "R" and then press Ctrl+Space for auto-completion. The "R" class is automatically generated in the package you chose for your app.
[Galaxy Note II Original Android Development] MeetFace:
Not sure if this is the appropriate place for this, but I figured I share here in case it helps:

I'm on a Sprint Note II and just flashed an MA7 ROM. Xposed has been running fine on this ROM (Whompasaurus 2.4) previously, but they just rebased it with MA7.

FWIW I installed the latest version of XPosed installer, whenever I click on an app within XPosed App Settings (to change DPIs), XPosed App Settings force closes.

However, since I restored Xposed App Settings from my 2.3-4 installation of my ROM, I can enable the module from within XPosed installer, and all of the DPI changes I had previously are working properly.

Not sure if this is a problem with this ROM, or with the XPosed Installer/App Settings, or something to do with MA7, but I figured I'd report my findings here.
[Galaxy Note II Original Android Development] Tungstwenty:
Please collect a logcat after the App Settings FCs and post it here or send it to me by PM.

A couple of possible failures have been fixed in the last versions, make sure you're running the last one available here: http://www.villainrom.co.uk/forum/microdownloads/app-settings.5/viewfile

Since the problem is only in the GUI (i.e. the settings editor), if you have your settings already correct then the actual mod will take them into account and apply them to the running apps.
[Galaxy Note II Original Android Development] MeetFace:
Thanks Tungstwenty, I [incorrectly] thought I was on the latest version of App Settings. I just updated and no more FCs =]

This is hands down one of the best Android mods I've ever used.
[Galaxy Note II Original Android Development] rovo89:
Glad to hear that. The next version of the Xposed Installer will also display the versions of the installed modules to make it easier to check them. Well ok, App Settings already has that integrated, but might be useful for others. ;)
[Galaxy Note II Original Android Development] fpjteng:
Request for updated apk of wallpaper scrolling please. Ü
[Galaxy Note II Original Android Development] rovo89:
Can you explain why the APK needs to be updated? Have you made sure you are using the latest version 1.0.1 from here? http://www.villainrom.co.uk/forum/index.php?microdownloads/6/viewfile
[Galaxy Note II Original Android Development] fpjteng:
I tried to install the apk from your link but it has the red version incompatibility error.

Tried doenloading it again, i got a zip file instead of an apk. How do i install it?

Edit:

Forget what I said, DLed it through pc then it became apk. (LOL) The version you gave me now works on xposed framework but tried to tick it and then reboot. Wallpaper still fixed, doesnt scroll while panning.

Any thoughts?

Thanks.
[Galaxy Note II Original Android Development] kamso:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

can you provide me a link for your disable sms mms conversion please. I don't see it in villainrom forum.

Anyway great job. Thanks.

Envoyé depuis mon GT-N7100 avec Tapatalk
[Galaxy Note II Original Android Development] kantjer:
here you go
[Galaxy Note II Original Android Development] kamso:
Thanks!!
[Galaxy Note II Original Android Development] brockyneo:
May i ask is this like the simplistic framework app same sort of thing and will it work on omega

Many thanks
[Galaxy Note II Original Android Development] rovo89:
What exactly are you referring to with "this" and "it"? The Xposed framework? Any specific module for it?
[Galaxy Note II Original Android Development] brockyneo:
Sorry yes The Xposed framework is it usable on omega and arhd and does it have simular mods as the simplistic framework

Sorry for my noobish on this
[Galaxy Note II Original Android Development] rovo89:
Ok.. the FAQ for the framework includes a general answer to this: http://xdaforums.com/showpost.php?p=24267823&postcount=2 It should work, but ss you can never know for sure, make sure you have a backup.

The thread about the simplistic framework is gone, so I had to check via Google's cache. From the list of features I found, I think only a few have been realized as modules. Which doesn't mean it's impossible, but somebody needs to do the work. As quite a few of them are specific to the phone/base ROM, it's probably harder to find someone who wants to do this.
[Galaxy Note II Original Android Development] MU24R:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

With xposed its possible to make a module for theming like aokp themes?

Enviado desde mi GT-N7100 usando Tapahablar
[Galaxy Note II Original Android Development] levin143:
Regarding the scroll wallpaper mod, I got the latest one from the villain website but I can't seem to make it work. Are there any requirements for it to make it work? I'm at a stock rom and stock kernel. Can anyone please clear this up?
[Galaxy Note II Original Android Development] rovo89:
Hard for me to answer because I have never tried AOKP and don't know what you can theme with it. I think it would be possibly up to a certain extent. There are different approaches to this - it could be generic, which might be more portable between ROMs, or it could focus on typical areas of modification, which probably makes it easier to create themes. In any case, it's a bigger project, so whoever wants to do it will need some experience in coding.
[Galaxy Note II Original Android Development] android404:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

Hi. Not sure if I'm right here, I just ask: do we know for sure that the per app settings module revokes permissions effectively? I wouldn't know how to find out, I'm just baffled by how easy it seems. I tried many apps that revoke permissions or give fake replies, this is the first time that apps still work without certain permissions. Does it actually work? Changing the dpi works flawlessly as I can see.

Cheers
[Galaxy Note II Original Android Development] Tungstwenty:
If the App Settings mod is working, revoking permissions should work, i.e. the target app should not have the permission (unless different base roms have different behaviors).

An entirely different story is whether the target app will work properly and/or not FC because the permission is lacking. Some apps might handle the failures gracefully and keep working, while others might fail altogether.
[Galaxy Note II Original Android Development] rovo89:
You could try removing the INTERNET permission from Facebook. It will crash as the app is not prepared for this, but this is also how you know that the permission has been revoked. ;)
[Galaxy Note II Original Android Development] android404:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

Thanks. I guess I could have come up with this idea myself... I'll try that later.
[Galaxy Note II Original Android Development] kamso:
Hi! Hey pulser_g2, is there any fix for Stock Launcher 5x4 Mod which works great but badly resizes the stock widgets? Thank you for your work.
[Galaxy Note II Original Android Development] MU24R:
Hi im triying the example of the clock https://github.com/rovo89/XposedBridge/wiki/Development-tutorial but when i reboot the device nothing happens in manifest.xml i have min version 2.1* im using xposed 2.1.3 could you help me plis!

Heres the debug.log

-----------------
01/03/2013 18:19:58 UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/com.imu24r.telephonyicons-2.apk
Loading class com.imu24r.customTelephony.MainActivity
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClass(Native Method)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:211)
at dalvik.system.DexPathList.findClass(DexPathList.java:315)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:58)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:251)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:216)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:98)
at dalvik.system.NativeStart.main(Native Method)
[Galaxy Note II Original Android Development] rovo89:
Are you sure the class "com.imu24r.customTelephony.MainActivity" exists and is the one which implements e.g. IXposedHookLoadPackage? If not, make sure that you write the correct class into the "xposed_init" file. Also make sure that the classes from the Xposed API are not included in your APK (to be sure, you can baksmali it).

Apart from that, your class sounds like a subclass of Activitiy. If this is indeed the case: Don't do it. It will cause many unnecessary problems. If it's just the name and the class looks like the one in my tutorial, I suggest to rename it to avoid confusion.
[Galaxy Note II Original Android Development] MU24R:
Will try again with a new package exactly like the tutorial

---------- Post added at 08:34 PM ---------- Previous post was at 07:46 PM ----------

Finally works!

Now im making my own with this http://grepcode.com/file/repository...systemui/statusbar/policy/WifiIcons.java?av=f

Here its the code

package de.robv.android.xposed.mods.tutorial;

import static de.robv.android.xposed.XposedHelpers.findAndHookMethod;

import de.robv.android.xposed.IXposedHookLoadPackage;
import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.callbacks.XC_LoadPackage.LoadPackageParam;

public class Tutorial implements IXposedHookLoadPackage {
public void handleLoadPackage(final LoadPackageParam lpparam) throws Throwable {
if (!lpparam.packageName.equals("com.android.systemui"))
return;

findAndHookMethod("com.android.systemui.statusbar.policy.WifiIcons", lpparam.classLoader, "WifiIcons", new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {

final int[][] Mynew = {
{ R.drawable.stat_sys_wifi_signal_0,
R.drawable.stat_sys_wifi_signal_1,
R.drawable.stat_sys_wifi_signal_2,
R.drawable.stat_sys_wifi_signal_3,
R.drawable.stat_sys_wifi_signal_4 },
{ R.drawable.stat_sys_wifi_signal_0,
R.drawable.stat_sys_wifi_signal_1_fully,
R.drawable.stat_sys_wifi_signal_2_fully,
R.drawable.stat_sys_wifi_signal_3_fully,
R.drawable.stat_sys_wifi_signal_4_fully }
};

final int count = Mynew[0].length;

}
});
}
}

i have the icons in res/drawable but its not working!
[Galaxy Note II Original Android Development] rovo89:
You have only declared variables. But they are not used anywhere. Also, "com.android.systemui.statusbar.policy.WifiIcons" has no methods at, so you can't hook method "WifiIcons". And finally, R.drawable.stat_sys_wifi_signal_0 etc. are just integers. Even if you replaced the array correctly, your images would never be loaded.

Have a look at https://github.com/rovo89/XposedBridge/wiki/Replacing-resources instead, section "Complex resources". It's very close to what you want, replacing the battery icon instead of the Wifi icons.
[Galaxy Note II Original Android Development] MU24R:
Thanks now it works!
[Galaxy Note II Original Android Development] kamso:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

Hi ! Is there a fix for this message when Allowlongsms installed : "This module was created for Xposed version 2.0rc1, but due to incompatible changes in version 2.0, it has been disable"?

Envoyé depuis mon HTC Desire HD avec Tapatalk
[Galaxy Note II Original Android Development] rovo89:
Yep. Install the latest version of the module: http://www.villainrom.co.uk/forum/index.php?microdownloads/1/viewfile
[Galaxy Note II Original Android Development] kamso:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

Ok thanks. Is there a latest version too for Stocklauncher5*4mod.apk? Because there are stock widgets resize issue?

rovo89, thank you very much for your great framework. It's what I'm waiting for a long time.

Envoyé depuis mon GT-N7100 avec Tapatalk
[Galaxy Note II Original Android Development] shinomura:
ok, got it now :)
[Galaxy Note II Original Android Development] MU24R:
im triying to replace signal bars well i get it done but i wanna do it with an animation for example when

stat_sys_signal_1 and it change to stat_sys_signal_1_fully i want to change the icon but dont know where to put the animation in res/where???

besides how i call this animation im making like this but nothing shows:

resparam.res.setReplacement("com.android.systemui", "drawable", "stat_sys_signal_0", modRes.getAnimation(R.drawable.animation0));

also tried this way

resparam.res.setReplacement("com.android.systemui", "drawable", "stat_sys_signal_0", modRes.fwd(R.drawable.animation0));

the animation0 i got it this way:

<?xml version="1.0" encoding="UTF-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_signal_0" android:maxLevel="0" />

</animation-list>

and so on! but nothing happens help
[Galaxy Note II Original Android Development] rovo89:
Sorry, I don't get what you want to do. Animated icons? Should probably be possible. Animating the transition from one image to the other? I don't think that's possible.

You have to use "modRes.fwd(R.drawable.animation0)", just as in the example. Otherwise yet would directly set the animation as replacement. That kind of replacement is only possible for Boolean, Color, Integer, int[], String and String[].

Also, are you sure that the XML is correct? Instead of maxLevel, you need a duration: http://developer.android.com/guide/topics/resources/animation-resource.html#Frame
[Galaxy Note II Original Android Development] MU24R:
Well sorry its like you say animate the transition from one image to the other its what i want to do

---------- Post added at 06:48 PM ---------- Previous post was at 06:34 PM ----------

Im also looking into the source code where its the animation for the wifi or signal bars but i cant find it something like this http://grepcode.com/file/repository...stemUI/res/drawable/stat_sys_battery.xml?av=f

but for the wifi and network signal icons
[Galaxy Note II Original Android Development] rovo89:
That's the battery icon and it's not an animated in your example, but only a level-list. This is a special type of drawable where the SystemUI sets the battery level and the framework chooses the correct image for that. Some battery icons combine this with an animation-list for each of the levels. However, there still won't be any animation between the drawables. But the difference between the battery icon and the wifi icons is that the latter are different drawables, whereas the battery icon is only one.
[Galaxy Note II Original Android Development] thomasb94:
Has anyone made one to enable long press volume to skip music tracks when the screen is off? This is the thing that I really miss from cyanogenmod.
[Galaxy Note II Original Android Development] pxdx:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

Yes it is working very well for me with Tweakbox mod on Xposed Framework.
[Galaxy Note II Original Android Development] kamso:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

A link please, for tweakbox mod?

Envoyé depuis mon HTC Desire HD avec Tapatalk
[Galaxy Note II Original Android Development] rovo89:
You can find it here.
[Galaxy Note II Original Android Development] kamso:
There's nothing there :D
[Galaxy Note II Original Android Development] oli20021978:
sure.........write tweakbox mod in search :D -> PROFIT
[Galaxy Note II Original Android Development] kamso:
Yes I've already done ;)
[Galaxy Note II Original Android Development] pxdx:
Re: Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

You can find it here.. http://goo.gl/twybe
[Galaxy Note II Original Android Development] MU24R:
It is possible to change an entire class?
[Galaxy Note II Original Android Development] rovo89:
Well.. you can't replace the implementation. Maybe it would help to change the place where new instances of your target class are created and replace that with "new MyClass" instead? A code example would help, maybe there are even better ways to achieve your goal.
[Galaxy Note II Original Android Development] lpsi2000:
Build.prop information for specific apps

I was wondering if it is possible to feed specific build.prop information to certain apps (without having to change the build.prop itself and reboot). For example the Samsung SNote is expecting the following or the application does not work.

ro.product.model=GT-N7100

ro.product.name=t03gxx

ro.product.device=t03g

However, Google Wallet is expecting the following or it displays an error that the current device is not yet supported and stop working.

ro.product.model=Galaxy Nexus

ro.product.name=yakju

ro.product.device=maguro

It would be good to have this as part of App Settings Mod that exist today.