yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] My1xT:
as I said even if your counter increases, you can use Triangle away and it is away again.

and why do you need to watch TV to work???
[Galaxy S II Themes and Apps] wwwpuntoit:
Yeah i watch tv everywhere, it's quiet usefull for me..triangle away resets counter but on note 2 every reboot raises counter again..i guess if flashing twrp with goomanager works...is busybox needed for twrp?
[Galaxy S II Themes and Apps] My1xT:
I dont think you need to have busybox, but as you said every boot to recvoery raises the counter, but it is annoying that some apps dont work on rooted devices. Main Question is Why...
[Galaxy S II Themes and Apps] chinese-wilk:
my english is so poor,sorry for that...

question:

how to hook com.android.internal.policy.impl.PhoneWindowManager$handleLongPressOnHome and i want to change the action by long press on home...

so i write those code :

but it not work...i'm a new coder,i don't know how to fix it ,please help me ,thank you very much...
[Galaxy S II Themes and Apps] rovo89:
Please don't quote the whole post, especially because it's irrelevant for your question.

The code looks ok, however it also depends on the context in which you use it. initZygote? handleLoadPackage? How do you set classLoader? What error messages do you get?
[Galaxy S II Themes and Apps] chinese-wilk:
I use it in handleLoadPackage(LoadPackageParam lpparam),and i set 'clasLoader=lpparam.classLoader;'

Just like this:

the error log screenshot:

thanks for your help...
[Galaxy S II Themes and Apps] rovo89:
Very likely, you have included the classes from the Xposed API in your APK. They must only be referenced, not included. Check if you have explicitely included the jar. Eclipse might include it implicitely if you put it in a "libs" folder.
[Galaxy S II Themes and Apps] Tungstwenty:
The error in the screenthot is indeed very likely caused by having included Xposed's classes in your APK.

But you also have an error on the quoted line: you shouldn't check for "com.android.internal.policy.impl" (which is a JAVA package name) but rather for "android", "com.android.systemui", etc. (apk package names) - depending on the context of the app or process you wish to override.
[Galaxy S II Themes and Apps] txnolesfan93:
Will xposed work on 4.3 ROM? It says it seems to be compatible and to install if u feel adventurous.
[Galaxy S II Themes and Apps] rovo89:
Sounds like you are using Xposed 2.1.4 or older. Try version 2.2 or 2.3 beta1.
[Galaxy S II Themes and Apps] PMoto:
Thanks to this module.

Finaly I get my S2, running JB 4.1.2 XWLSW Stock (with Syiah Kernel) with a wonderfull transparente status bar.

I'm very happy!!!

Thank YOU.

PMoto.
[Galaxy S II Themes and Apps] PMoto:
Strange...

Whenever I reboot the phone, I must touch in the taskbar to make it transparent. Otherwise it's normal black in background...

PMoto.
[Galaxy S II Themes and Apps] wanewon:
will there be an update for this? transparency doesn't seem to be working on cm10.1.3

but the color works though
[Galaxy S II Themes and Apps] rovo89:
Probably not.
[Galaxy S II Themes and Apps] The Gingerbread Man:
Let cyanogen sort their own **** out
[Galaxy S II Themes and Apps] lgkahn:
signal icons 4.2 touchwiz

looking for a version of this that works with 4.2 roms.. I am trying to change signal levels from 4 bars to 5.. I have manually done it in the past by editing the entry in integers.xml in the systemui.. but that entry seems to be gone in 4.2 touchwiz roms and I cannot figure out what needs to be done. hoped your app worked but it doesn't.. maybe you are looking for those same old entries.. thanks in advance
[Galaxy S II Themes and Apps] rovo89:
Yes, it sets "config_maxLevelOfSignalStrengthIndicator" and applies some fixes to correct the displayed values (otherwise there would still be at most 4 bars). If that pre-existing settings and the code don't exist in a ROM, this tweak won't work.
[Galaxy S II Themes and Apps] Shepastian:
Only 4.0.3?? in 4.1.2 dont work?
[Galaxy S II Themes and Apps] My1xT:
some parts could work some other not.

there are even parts which work on other devices so try it out...
[Galaxy S II Themes and Apps] Shepastian:
aaa ok, thx men
[Galaxy S II Themes and Apps] DJ Scooby Doo:
I have a question, when I use the volume keys to change music on Pandora it plays the music player instead and stops the music on Pandora. Does this happen to anyone else? It's kind of weird. Using this on stock 4.1.2, T-Mobile ROM.
[Galaxy S II Themes and Apps] rovo89:
This tweak emulates key presses on e.g. a bluetooth headset with media buttons. Maybe the apps on your phone can't agree who should handle these buttons.
[Galaxy S II Themes and Apps] DJ Scooby Doo:
Meh, it's not that serious anyway. Thanks for your help! Thought the S2 would be a bit smarter to handle this. I still use the app anyway.
[Galaxy S II Themes and Apps] egingell:
Most if not all of the options in this module are covered by other modules, so I've ditched it.

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Galaxy S II Themes and Apps] ashlywhale:
low battery warning loop !!!

Hi recently im getting this annoying message “all tasks were stopped due to low battery level" every second or two, it was appearing below 15% many thanks to your app i could delay it now to 6% yet its annoying so my question is can anyone please tell how to stop it from repeating every second? or maybe the cause of this it wasnt showing before my device is lenovo s6000 and its rooted
[Galaxy S II Themes and Apps] egingell:
That is specifically for the popup dialog that tells you the battery is low.

And that message is not an Android message. Find out which crappy battery saver app us doing it and tell it to stop.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Galaxy S II Themes and Apps] Visas:
Is it possible to set somehow the call recording to automatical? I mean if I pick up a call, or I begin calling someone and he pick it up, the telephone starts to record it automacitly.
[Galaxy S II Themes and Apps] rovo89:
I don't maintain this module anymore, it's just here because some people still use it. No new features, sorry.
[Galaxy S II Themes and Apps] Visas:
Ah, sad to read that, I really like it! Well, nevermind then, at least thanks for this basic one! ;)
[Galaxy S II Themes and Apps] vonuzu:
I really liked the option for vibrate on call wait. Is there some other module for that, coz I'm using s3 with 4.3 so i can't use the tweakbox.

Just to be clear, vibrate on call wait, the phone vibrates when the person I'm calling is already talking and I'm on the second line, I'm on waiting call.

Thanks.
[Galaxy S II Themes and Apps] wes53177:
Quick remote sticks out a bit with the g3 quick settings theme.

Wrong page.
[Galaxy S II Themes and Apps] rovo89:
How is this related to this module?
[Galaxy S II Themes and Apps] hurvee12:
hi. when im using crt off animation. it works fine. but when open my phone it just reboots. im using micromax a110. help pls
[Galaxy S II Themes and Apps] calciumoxy:
change ics status bar and replace cm11 status bar

How can I replace my htc amaze 4g ics status bar with cm11 status bar mod if any . I like everything about CM11 except that It's not very stable . Please any help.
[Galaxy S II Themes and Apps] Vlad Paul:
Hi [MENTION=4419114]rovo89[/MENTION]! Please add more feature on this module. I use it on my LG Optimus Sol. ICS official v20c rom from LG. Thank you nice!
[Galaxy S II Themes and Apps] m1trand1r:
...don't you know that [MENTION=4419114]rovo89[/MENTION] is busy with his personal life among doing awesome job for Android 5.0 which takes a lot of his free time anyway ?

You have an selection of tons of modules out there....too....:)

>LG-G3<>d-855<>16Gb<>Titanium Black<
[Galaxy S II Themes and Apps] Maddreg:
Not working on my samsung captivate (yeah, I know it is quite old, just wanted to vitalize it :) Xposed sais that it is not supporting Android SDK 22 or armeabi-v7a architecture. Cannot link executable dependencies: library "livdvm.so" not found :( I guess I need to forget about xposed in my case?﻿ My smartphone is currently using android 5.1.1

sorry, for some reason link provided in this tread https://xdaforums.com/xposed/xposed-installer-versions-changelog-t2714053 downloaded some outdated version of xposed apk...
[Galaxy S II Themes and Apps] Tungstwenty:
Thanks :)

BTW, in the process I encountered a problem retrieving a method in reflection, which requires specifying other classes as parameters. Needed to hook a method above that one as a workaround.

Not sure if I was using the wrong initialization boolean value in Class.forName, or whatever. I'll send you the details as soon as I'm back in my computer.
[Galaxy S II Themes and Apps] SilencerOfLambs:
It works flawlessly on my SGS2 running the latest dxlp9 firmware. :)

I just wanted to know one thing.If at all i wanted to uninstall it,would i uninstall it like any other apk or do i need to follow a certain procedure inside the application?

And many thanks for this great work.I was looking for something like this. :)
[Galaxy S II Themes and Apps] brolee93:
Good job :)

yes it is work a charm i my galaxy note ICS LPY Europe :) .

crt off ok .

i speak of 15toogle or change toogle present put 3g et delete gps or other ...

look here

You can see this work but i make status bar full transparent manuali with modifie smali and ohter xml i put mùanually % battery it is work a well in uptdate roml but dont work in full rom :/

I make my clock and in red with xml .

Your soft work charm for transparent toogle because i mod .9.png of backgroung toogle .

I is my rom i am noob coocker french lol .

Sorry for my english.

can i Put your files in my rom ?

And can i put file Tungstwenty in my rom ?

For now my rom is for me and my friend but after one day ....
[Galaxy S II Themes and Apps] boggie81:
Works great, been waiting for this for a reeeealy long time!
[Galaxy S II Themes and Apps] rovo89:
This still needs more testing, but I implemented something set the density (DPI) per app. So for example, some Samsung stock apps like phone, calculator, clock etc. can be set to 240 DPI, which will make them fill the screen correctly instead of leaving the space on the bottom right. Another usage can be to set a lower density for some apps to see more content on the same screen. See this screenshot of a 120 DPI version of the settings app:

If you set such a low density or have a bigger screen (maybe the Galaxy Note?), you might want to see the layouts that are usually used for tablets. I have also implemented the possibility to override the "smallest width" of the screen that is used for selecting the resources to be loaded (read this). It seems common practice to add tablet layouts for "sw600dp", so setting the "smallest width" to 600 will load these layouts instead of the default ones:

Three things to note:

The settings part is not implemented yet, but it is working already if I edit the preferences XML manually.

Changes in DPI will affect any part of the package, including widgets and Toasts (those small notification text overlays).

Your screen will not be physically enlarged by using these settings. Check you spam folder for such offers instead.
[Galaxy S II Themes and Apps] brolee93:
320DPi in galaxy note ICS Stock

:ro.sf.lcd_density=320
[Galaxy S II Themes and Apps] Tungstwenty:
Per-app locale

Speaking of per-app settings, do you have any hint on what to hook so can I override the language/locale of one or 2 apps, different from the rest of the system?

Context: I'm portuguese but hate having tech stuff such as computers or smartphones in my native language, I very much prefer english for that (portuguese translations are not the best, somewhat larger text that doesn't fit the screen in portrait mode, abbreviations, etc.).

The thing preventing me to have it in english is that I'll then be stuck with Google Navigation with spoken english directions instead of portuguese. It's fine for "turn right after 500m", but doesn't work at all for the street names, etc.

Another minor nuisance is the news and weather app, which will assume I'm english and show US or UK news as "local".

Do you have any hint on what to do to change the Locale / whatever on a per-app basis?

Also, if you already implemented the DPI stuff, did you include an app ticker screen as well? Or for now is it hardcoded?

Thanks!
[Galaxy S II Themes and Apps] rovo89:
I'm pretty sure that this can be done in the same way as changing the screen width etc. This is the relevant method in Tweakbox and the class "Configuration" also has a "locale" field.

What do you mean with "app ticker"? A config screen to select settings for the individual applications? Definitely planned, but not implemented yet. But it is also not hardcoded, you can manually insert the settings in the preferences.xml in /data/data/de.robv.android.xposed.mods.tweakbox/...
[Galaxy S II Themes and Apps] rovo89:
Voilà:

The app-specific locale is used for loading the resources, such as strings (but you can also create drawables, layouts etc. for specific locales). It probably doesn't change other behaviours where the code asks for the locale explicitly (for number formats for example). Anyway, I think this is sufficient.

Still needs a UI though.
[Galaxy S II Themes and Apps] Tungstwenty:
Thanks!

I'll try it later: identify the process responsible for the navigation - "google.maps"? "*navigation*"? - or the one responsible for the voice output ("*vlingo*" ?). Hopefully I can switch to Portuguese only the bare minimum and leave the entire phone in EN :)
[Galaxy S II Themes and Apps] rovo89:
com.google.android.apps.maps ;)

I had to change also the value returned by Locale.getDefault(). This is used by the TextToSpeech engine, otherwise the pronunciation is taken from your default language. The text themselves come from the resources, which means they can be changed.

If you have a copy of the Tweakbox source, here are the changes:

https://github.com/rovo89/XposedMods/commit/139e60289742552cedce208ca26c76a31c3c3fd2

/data/data/de.robv.android.xposed.mods.tweakbox/shared_prefs/de.robv.android.xposed.mods.tweakbox_preferences.xml

<string name="dpioverride/com.google.android.apps.maps/locale">es</string>

Haven't tested it in detail, but quick test showed that it's working once the app is killed (force stopping) and restarted.
[Galaxy S II Themes and Apps] Tungstwenty:
Thanks, alive and kicking :)

For the weather and news (GenieWidget) I didn't even need to change the Configuration, just the Locale.defaultLocale. This way, part of the interface is still in EN but now it knows my country and fetches the appropriate relevant news.

My main mod class is getting bigger and bigger, I think I'll need to tidy it up a bit in the near future :o
[Galaxy S II Themes and Apps] Phil3759:
You will make the locale plugin public?
[Galaxy S II Themes and Apps] rovo89:
Yes, including the possibility to override the density (DPI) and other parameters (screen width, which makes it possible to load layouts for tablets) per app. But I have no UI for configuring this yet and the framework is currently undergoing big improvements (thanks to Tungstwenty for his help!).
[Galaxy S II Themes and Apps] Phil3759:
I will wait for it

Locale is a nice option
[Galaxy S II Themes and Apps] brar.arsh:
Wull this work on SGS3??? Stock ROM and Standard DPI..
[Galaxy S II Themes and Apps] rovo89:
You will know once you have tried. ;-) I see no reason why it shouldn't work. But take a nandroid backup just in case.

As Xposed doesn't replace anything but a small binary (which is not changed very often) and does the rest of the magic in memory, it doesn't have many dependencies. Exceptions: It is compiled for an ARMv7 processor and makes use of some ICS-specific coding. The first dependency is checked in future Xposed versions, the second one doesn't need to be checked because the installer probably won't run on GB.
[Galaxy S II Themes and Apps] brar.arsh:
I tried to enable crt effect but was not successful on sgs3..
[Galaxy S II Themes and Apps] rovo89:
Do any of the other tweaks work for you? Like the color of the status bar clock?

If Xposed is working in general, then the issue might either be in the way the module tries to enable the CRT animation or the native library. I haven't checked if there are any threads about working CRT effect on SGS3, but it would be strange if it worked differently. So I rather think that it is the library. There is a thread by Tungstwenty and me with a patched library for SGS2... maybe it also works on SGS3. If not... well, then it is hard to find out why. :-(
[Galaxy S II Themes and Apps] brar.arsh:
I tried statusbar tweaks too and they are not working.. :-(

Hopefully you will dig this up..
[Galaxy S II Themes and Apps] rovo89:
Can you describe the exact steps you have taken so for installing Xposed and the Tweakbox mod, including whether you have restarted, messages that were shown etc.? Also, is there a file called "debug.log" in the folder /data/xposed that was created during the installation? As I do not own an SGS3 myself, I can not debug this myself, I rely on users like you who can test such things and provide feedback.
[Galaxy S II Themes and Apps] dan0zone:
I have tried your app on the t989 (T-Mobile galaxy s2) and all mods work, except for the CRT animation ..
[Galaxy S II Themes and Apps] rovo89:
Can you upload your /system/framework/services.jar? On the SGS3, the call to the native method that triggers the effect was simply missing.
[Galaxy S II Themes and Apps] ernest33:
It works well on SGS3

XPOSED work very well on my stock rom(fw XXALEF/bb XXLEF) (root by mskip / Kernel by Siyah).

What's working (look at attached screenshot ) :

- Transparent status bar any colors : Ok

- 6 bars for signal : Ok

- Clock color : Ok

but...

- CRT Off effect : Ko

I just have Xposed installed with Tweakbox.

XPOSED is really a great piece of Software !!!
[Galaxy S II Themes and Apps] rovo89:
Yes, someone reported this before... :( The one problem seems to be that a call to a native function (which triggers the effect) is missing. I think this can be fixed in Tweakbox. But the next problem will be that the SGS3 library still has that flickering. Tungstwenty and myself have fixed this and added CRT on for SGS2. But unfortunately, this library is not compatible to SGS3 and it is much work to port this to another library - not having a phone to test immediately makes it nearly impossible. :/

For the t989, hopefully the libs are compatible, so adding the call to the native method would be enough to fix it. Once a Tweakbox version containing such a fix is out, you could check if this (CRT off with flickering) is better than nothing.
[Galaxy S II Themes and Apps] rovo89:
Here is a brand new version of Tweakbox which Tungstwenty and me have been working on for a long time.

1.3: Lots of new things:

- Toggle "switch input method" notification while typing text

- CRT off (no flickering)/CRT on/landscape awareness for SGS2 (tested) and SGS3 (waiting for your feedback). Also triggers the CRT effect if the ROM doesn't (should fix SGS3).

- Phone tweaks: Vibrate on Call Wait, Increasing Ringer Volume, Call Recording, Built-in SIP

- (experimental) Play Store fix for non-standard densities

A few additional notes:

- You need to uninstall the old version first because this version is signed with a productive certificate (not the debug one). As this removes your settings, you might want to create a backup first, e.g. with Titanium Backup.

- To use the CRT effect or call recording, you have to select the native libraries for your phone in the "Libraries" tab in the Xposed Installer. I would recommend to first check the "test only" box and perform a soft reboot with the button on the first tab. If everything works fine, you can uncheck "test only", which will replace the library on every boot. Otherwise, if your phone doesn't boot with the new libs, press the power key for a long time. This will trigger a reboot and the "test only" libs will be restored to the defaults.

- Tungstwenty ported our changes in libsurfaceflinger.so (with fixes for CRT off, enabling CRT on and adding orientation awareness) to a SGS3 library. He is pretty sure that it will work, even though we couldn't test it. Would be could if someone with an SGS3 could confirm this. Again, you can use the test mode for this to test with minimized risk.

- This version heavily depends on many changes done in the framework, so you need the latest version of it for this to work.
[Galaxy S II Themes and Apps] Tungstwenty:
This new version of Tweakbox is reported to be working fine on S3, including the CRT animations (it includes an S3-specific patched lib).

Enjoy ;)
[Galaxy S II Themes and Apps] Brotuck:
Maybe it already is reported, but when using a stock kernel, the scripts to copy the correct libs are not running. (no init.d support)

I mean the option to copy the libs when xposed / tweakbox is running.

If i just select the replace function, it works well

I tried to enable the crt on and crt off, but i always get the landscape crt on and off now, even in portrait.

Using the leaked 4.0.4 rom XXLQ5 stock but rooted with the CWM and SU package.
[Galaxy S II Themes and Apps] rovo89:
The replacement works without any init.d scripts. ;) These are executed too late.

What do you mean with "If i just select the replace function, it works well"? If you get the CRT on effect, then the lib replacement works, because this functionality doesn't work correctly in the original library. Also, the landscape effect is something Tungstwenty has integrated into the library.

Then maybe the orientation detection doesn't work correctly with 4.0.4. Can you try executing "getprop runtime.xposed.orientation" in different orientations and see if the value changes?
[Galaxy S II Themes and Apps] Brotuck:
I mean the Replace in test-mode checkbox. My assumption was that it replaces the lib file only temporary. But after reinstalling the framework and selecting the replace lib file it works normal.

The CRT on/off method is a bit weird.

When selecting the Landscape mode it always uses landscape crt-off (does not matter how i hold the phone)

Even when i disable it in the tweakbox.

I need to reboot the phone to make it switch on/off normally again.

I do not have adb installed currently to test the values, but wanted to give a headsup on the current findings.
[Galaxy S II Themes and Apps] rovo89:
I'm still not sure if I understood it 100% correct. The lib replacement works only when you have installed the framework, so both modes are temporary. The difference is:

- in test mode, it (Xposed) doesn't replace the library when you boot your phone normally

- without test mode, it (Xposed) replaces the library on every boot

Except for this, the both modes work in the same way.

So once you uninstall the framework and reboot your phone, you will have the original libraries again. Did you maybe not install the new framework before trying to use the libraries?

Ok, this is really strange.. I thought the library defaults to portrait mode. Maybe Tungstwenty knows what could be the cause.

After the reboot, does it always use portrait mode? Or is the orientation detection correct then?

If you have Terminal Emulator or so, you can also check from there.. this would help to see if the Java part of this tweak is working correctly.
[Galaxy S II Themes and Apps] Brotuck:
Ill do some tests this weekend with it, for now it works.

But ill report back on the java part.