yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] wlpywd:
check this

http://xdaforums.com/showthread.php?p=26830800
[Sprint HTC EVO 4G LTE] Argotrance:
Hi guys this is correct. This only works if you set your voice input and output setting to English us as this is the only one currently supported by Google at the minute. To do this got to settings/voice input & output/voice recognizer settings/language/English US. Hope this helps.
[Sprint HTC EVO 4G LTE] wlpywd:
So, i'm pleased with the stock text messaging app in ICS finally, except no notification reminders. so, back to Handcent, which has become such a bloated slowware now, but i can live with that. i'm used to it.

Then i see no notification reminders in gVoice. no notification reminders in gTalk. Don't want emails to have reminders, but anything chat / text / video calls / internet calls etc should have notification reminder settings. NOTHING DOES!!!

i seriously don't want to need to look and unlock my phone every 5 minutes to see if i missed something!
[Galaxy Note GT-N7000 Themes and Apps] javier24:
I found this cool widget here: https://play.google.com/store/apps/details?id=com.jt.taskmanager.widget

It's like the Asus Task Manager :)
[Galaxy Note GT-N7000 Themes and Apps] antiochasylum:
When will people realize task managers are bad. They are meant for old versions of Android.

::face palm::
[Galaxy Note GT-N7000 Themes and Apps] auricw:
Thanks for sharing!! :thumbup:
[HTC One X] graf_schokola:
hello, i flashed a cwm stock rom with the 1.28.401.9 firmware and now i want to go back to the stock o2 rom, the problem is, i only find the 1.26 o2 DE firmware....can i flash it or do i need the 1.28 firmware? i can't find the 1.28 o2 DE ruu :/
[HTC One X] Fightspit:
Wrong section.

You can't flash 1.26 because you can't downgrade the hboot.

Edit: BTW what is your hboot version ? I just want to be sure what I am saying is right.
[HTC One X] malte41:
there is only one ruu for o2.germany... the 1.26

if you have the hboot 0.94 there is no way to downgrade.
[HTC One X] BigladUK:
Same problem as the OP.

:-(

Si
[HTC One X] graf_schokola:
hboot is 0.94... :/ anyway to get the stock o2 rom back?
[HTC Incredible S] humanitybg:
Hey guys, I got my Incredible S a while ago. It's a splendid phone. My dad gave it tome as a gift, he bought it from Singapore. I rooted and installed many roms over the course of having it. Up until today I was using the Revolutionary 2.3.0 rom. I was browsing a Diablo 3 app on the phone when suddenly my volume down button (without me pressing it) began to function on its own. I was like "Ok, just restart the phone, probably something bugged." After the restart nothing happened for a while until after 3 minutes its started vibrating in Vibrate mode (Displaying the volume rocker on-screen) I decided to change roms since I have some .zips laying around. I installed MIUI 2.1.16 (a fairly old version I know for certain is working) Still, the issue persisted and after another restart I cannot get past Hboot. My phone is stuck in Hboot cycling the options on its own (without entering them). All my other keys function perfectly except the media button. If anyone has experienced similar issues I'd love to hear some feedback. I've also searched other threads on here, NOTHING found so far.

Cheers,

d.lesov*
[HTC Incredible S] tpbklake:
Take the back cover off and examine the actual hardware button that sits under the rocker switch. Perhaps it is stuck in the down position. See it you can get it to pop back up.
[HTC Incredible S] humanitybg:
That was the first thing I did, the key is not stuck and I can freely press it. As a last resort I can send it to a local service shop but I'd like to see if I can manage this at home first. =)
[HTC Incredible S] humanitybg:
Ok, fast update: by pressing the Volume UP button while pressing the Power button I managed to boot my phone into the rom itself. Now the Volume Down button does not function at all. I'll just run it through a local service shop and see if they can fix it. I was looking to buy a new phone anyways. Might keep this one as for my other carrier's sim card. =)
[Nexus One General] voseldop:
Hello community,

I have radio with bluetooth in my car system.

Unfortuntely it is looks like codepage issue with displaying my phonebook entries.

English names works well, but cyrillic one is displayed incorrectly.

Android uses utf-8 only.

Does anyone knows which one works with Nissan cars?

Is there any hacks for Nexus one to change codepage in Bluetooth PhoneBook Access Progile?
[Galaxy S II Q&A, Help & Troubleshooting] njwest:
I've never seen anything like this and I don't know how I'd begin to search for it, so I'm asking here.

When I am at school, certain sites (like Facebook) are blocked, yet things like GMail are not. So I can either use the school Wifi (saving Data Usage and Battery) or access Facebook et cetera.

What I want to know is if it's possible to customise whether an app uses Mobile Network or Wifi on an individual basis. This would, of course, be ideal (but I've never heard of it). How hard would it be to implement?

Blah, blah, blah, discuss.
[Galaxy S II Q&A, Help & Troubleshooting] chrism.brunner:
Use eNETraffic. It is a firewall that allows you to control each apps connection. Wifi and network. Works great. You have to be rooted though. Good luck.
[Galaxy S II Themes and Apps] minidou-77:
Works great on Wanam V11.7 (LPD)
[Galaxy S II Themes and Apps] coldflid:
Wow thanks a lot for this

Enviado desde mi GT-I9100 usando Tapatalk 2
[Galaxy S II Themes and Apps] B97:
Thanks man!

Applied JKay's CRT mod just today and noticed the bug, now you fixed it!
[Galaxy S II Themes and Apps] wiecho65:
I try on Turkbeyrom V9 Lpd. Its working perfect.

Wysłane z mojego GT-I9100 za pomocą Tapatalk 2
[Galaxy S II Themes and Apps] morg01:
@ Tungstwenty

... Carried over from jkays thread,

You're right i didn't have any anything to turn crt on, i presumed it enabled it by default, since i flashed a similar fix from another thread and it enabled it straight off.

So hopefully jkay includes it in his mod and 'jobs a goodin'

Cheers

Sent via courier pigeon
[Galaxy S II Themes and Apps] mzeshanhakeem:
Works perfect on Wanam V11.7.

Thank man!!
[Galaxy S II Themes and Apps] rovo89:
This is working great, also on LPQ. :) I also thought about patching the library directly, but didn't know where I could get the replacement code from. Great work!

I have been working hard today to bring some binary patching functionality to Xposed. Finally, I think I was successful. Learned some new things, like modifying a different process' memory. That will make it possible to patch the library on the fly, just if the MD5 sum matches etc. I believe this will make it easier to use for those who are not as experienced with adb/SSH/... ;)
[Galaxy S II Themes and Apps] Tungstwenty:
Wow, that would be yet another massive leap in your framework. Patching e.g. native libs on running processes from within java would really be awesome :)

If you've reached that stage already, you probably already know that "cat /proc/nnnn/maps" yields interesting information on where each library's segment is mapped. Other pseudo-files on that path also hold tons of information just waiting to be explored and hacked ;)
[Galaxy S II Themes and Apps] ApriliaM3:
Works perfectly well on LPF build.

I'm wondering whether its possible for you to make a flash able version?

SGSII GT-i9100 via Tapatalk II
[Galaxy S II Themes and Apps] Ba7rani123:
I pasted it using romtoolbox but it didnt work so I rebooted and it works !! :D

Thanks :)
[Galaxy S II Themes and Apps] rovo89:
Indeed, I'm using the files in /proc for patching. Plus "ptrace" to manipulate the /system/bin/surfaceflinger process, after I noticed that the library isn't used directly by any process started by Zygote. And for the patch file, I'm using bsdiff and a MD5 sum comparison.

If anyone would like to try out, here are betas of the upcoming Xposed framework and the Tweakbox. Installing instructions are in the linked threads. Afterwards, you can check "Patch libsurfaceflinger.so" in the Tweakbox settings, which will become effective after a reboot (but doesn't require replacing any files).

Please note that I have also added new helper methods for developers. Let me know in case setting the statusbar clock color is not working for you.
[Galaxy S II Themes and Apps] Siberian Tiger:
I've been testing your lib for 2 days now and as i told you in Jkay's thread flicker bug is gone :D

The only thing i noticed,happened only 2 times ,i had no crt off effect at all.

The screen locked as in stock.

Thank you for this ;)
[Galaxy S II Themes and Apps] mzeshanhakeem:
Please check and confirm guys..

Unlock screen, do not do anything. Just wait 7-8 Seconds without touching on the screen and then turn off screen, there will not be any CRT Off effect.
[Galaxy S II Themes and Apps] The Undertakerr:
This, Tungstwenty, is a huge step forwards in development of the I9100. Even on Gingerbread the CTROff effect wasn't as beautiful as it is now!

CtrON is also available allready for ICS 4.0.3, only not for our device.

XDA member Kamma made it work on the Galaxy Nexus, and also posted the sources for it.

It involves changes in the libsurfaceflinger.so and in the services.jar.

Since you seem to be able to make changes in the .lib, my hope is on you, perhaps you could also bring the CRTON to the I9100 with ICS!

Sources+ info you can find in this thread:

http://xdaforums.com/showthread.php?t=1490127

Thanks in advance for looking into it and bringing us a perfect CrtOff!!!
[Galaxy S II Themes and Apps] mzeshanhakeem:
It is not perfect, please check my post above and confirm..
[Galaxy S II Themes and Apps] rovo89:
Tried to reproduce this a couple of times, but it always worked fine. I turned the phone on, unlocked (using WidgetLocker), then didn't do anything for few seconds and pressed the power button to lock the phone. The effect is showing for me.
[Galaxy S II Themes and Apps] The Undertakerr:
I cannot confirm the behaviour you have, I'm sorry. It's nothing new. The thing you describe also happened before the change made to libsurfaceflinger.so by Tungstwenty.

It even also happened on Gingerbread!

Sometimes the lockscreen also freeze for a few secs, but that's also not because of this change. You can read about it in the Siya kernel thread, seems to be related to the newest Siyakernel...
[Galaxy S II Themes and Apps] mzeshanhakeem:
That may be the reason.

I am on Wanam v11.8 with CF Root Kernel.
[Galaxy S II Themes and Apps] Tungstwenty:
I cannot reproduce this also.

Tried just turning on screen and leave it alone, it will automatically CRT Off after 10s with my current settings. If I press Power 1 or 2 seconds before that, it still does the effect.

Also tried it with actual unlocking (going to the home screen), and effect also displays when turning off after 8s idle.

Does it always happen to you? :confused:

Running on XWLPF with JKay and Siyah 3.2.6.3
[Galaxy S II Themes and Apps] Tungstwenty:
I didn't do it because of:

Not wanting people to blindly replace the files without checking if the original is a match

Lazyness :)

Check this post, though. nmeuret created a CWM installer for it.
[Galaxy S II Themes and Apps] mzeshanhakeem:
hhhmm...

but i am getting no CRT Off effect exact in 5-7 seconds interval. if i turn off before or after this interval, i get CRT Off effect.

---------- Post added at 05:45 PM ---------- Previous post was at 05:42 PM ----------

Yes mate.

exact in 5-7 seconds interval. before and after that if i turn off the screen, i get the CRT Off effect.

edit:

Can you please try it after exact 5 seconds
[Galaxy S II Themes and Apps] The Undertakerr:
You might want to flash back the stock libsurfaceflinger.so and play with it for a while.

And then report back if the issue is still there with the stock .lib file...
[Galaxy S II Themes and Apps] darth_mickrig:
@Tungstwenty

Can you post how you did the changes and what exactly did you add?
[Galaxy S II Themes and Apps] Tungstwenty:
Check this post.
[Galaxy S II Themes and Apps] Tungstwenty:
Still doesn't happen to me :confused:
[Galaxy S II Themes and Apps] Lost.soul:
Working perfectly fine on LPS fyi.

Thanks for the fix.
[Galaxy S II Themes and Apps] rovo89:
Have you seen the changes in SurfaceFlinger.cpp, starting at aroung line 2000? There are quite some changes, which I imagine aren't there without a reason. So it might be a bigger challenge than you expect. ;)

I might look into the Java part anyway, but I don't have time for that today.
[Galaxy S II Themes and Apps] Tungstwenty:
Yes, I did notice the small changes in electronBeamOnAnimationImplLocked() but they are likely only relevant for the dynamics of the animation - transformation of the texture on each frame. If the effect works at all, that will already be a great achievement and afterwards I can try to add those instructions (need to find space for them and jump around...) to see if the outcome is better.
[Galaxy S II Themes and Apps] The Undertakerr:
I'm now, as we speak, trying to add the CrtON effect to services.jar, using this method:

http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/

I know with little to no chance of succes, since it's a how to for I9000.

Edit: after making the necessary changes to PowerManagerService.smali and PowerManagerService$BrightnessState.smali and recompiling the classes.dex, it's a NO boot, like expected:o
[Galaxy S II Themes and Apps] Tungstwenty:
That link is way off on our case, perhaps because it was for I9000 instead of I91000, or perhaps it was for GB instead of ICS.

The areas that need changing are the ones I highlighted in red before.
[Galaxy S II Themes and Apps] Tungstwenty:
I've patched the lib according to my previous explanation.

What's remains is adding the missing red part and calling "nativeStartSurfaceFlingerAnimation( mAnimationSetting | 0x80 )" when turning on, making sure that mAnimationSetting is initialized correctly (or just hard-code it to 0x11 for testing ON+OFF active).

Hope I got the bit testing right; if this doesn't work try 0x100 or 0x40 instead of 0x80.

I've replaced my file with this one and everything is still working with the OFF effect; hope no core dumps appear when finally enabling the flag for ON :D
[Galaxy S II Themes and Apps] Mirko ddd:
thank you buddy!

I think it would be interesting the "how to" manage and edit an .so file.

Anyway, great work!
[Galaxy S II Themes and Apps] Krizp0:
Finally a REAL fix to the CRT-effect! Thanks Tungstwenty!

Been bugged with this since it was first introduced in the GB custom ROMs :)
[Galaxy S II Themes and Apps] desean:
Is there any smali code changes that you can explain here?

Would like to DIY myself for the ROM I am using (DXLP9) as the MD5 of my libsurfaceflinger.so is different from yours.

Thanks in advance.
[Galaxy S II Themes and Apps] Tungstwenty:
Not smali changes (I wish) but plain ARM bytecode with an hex editor.

Right now the priority is to try to obtain the CRT-On effect as well, but after that I'll try to perform the changes on your version of the lib.

In the meantime would you mind keeping a backup of yours and place there the one I posted before? It might work, if the entry points weren't changed and just some internal code.

PS: Thanks for the feedback and for your version of the file, it's the 1st reported different (somewhat older rom ...)
[Galaxy S II Themes and Apps] kona786:
will this 'flicker fix' work on ICS STOCK ROM LP7 - with ICS Domination theme?
[Galaxy S II Themes and Apps] Ba7rani123:
All roms man :)
[Galaxy S II Themes and Apps] Tungstwenty:
Yes, it will work provided you are already using a mod that activates the CRT-Off effect.

This is just to fix the flicker glitch.
[Galaxy S II Themes and Apps] kona786:
cheers guys - would be wonderful if you made it flashable.

edit - how do you find the MD5 for original (unchanged) version - i.e.the version number. I'm using ES File explorer.
[Galaxy S II Themes and Apps] Tungstwenty:
Check a few posts back, I linked to a flashable version created by someone else.

To get the md5, run "md5sum filename..." on adb or a terminal app.
[Galaxy S II Themes and Apps] rovo89:
Getting closer... I decided to patch the library myself first, so that every call to _ZN7android14SurfaceFlinger19turnElectronBeamOffEi jumps to _ZN7android14SurfaceFlinger18turnElectronBeamOnEi. This way, I could try out whether the effect works in general without having to worry that the call to the native library is wrong or the logic to identify the additional bit is wrong.

At first, the effect appeared only 1 in 5 times or so and was hardly visible. Then I patched the number of frames for the animation. Now it is working almost everytime. I haven't found a pattern when it doesn't work.. maybe when the CPU load is higher.

I will try to optimize this a little bit more, then I will share the library. I think Tungstwenty's idea to use the existing parameter as a signal which effect should be shown is good. I just couldn't follow all the jumps (yet). :)
[Galaxy S II Themes and Apps] Tungstwenty:
You beat me to it, I'm working on the java part right now with your framework :p

BTW, that class loading issue where the nulls where generated, it's now fixed on your side. My previous tweaks are now working as I initially tried. Thanks!

Did you check my previous post with the fixed lib that already uses the 0x80 bit to decide?

Also, when patching the java code, did you redo the logic of calling the "On" mode only when the screen is actually turning on, not off? (that's the red part on the second code block I posted)
[Galaxy S II Themes and Apps] rovo89:
Yes, I have seen your library. I tried to understand the changes you did, but didn't get them completely, so I decided to go the easier, more reliable way first by simple adding a jump at the beginning of the "turn off" effect to the "turn on" effect. Here is my code so far:

Class<?> classBrightnessState = Class.forName("com.android.server.PowerManagerService$BrightnessState");
XposedBridge.hookMethod(classBrightnessState.getDeclaredMethod("run"), XposedTweakbox.class, "handleBrightnessStateRun", Callback.PRIORITY_DEFAULT);

private static Object handleBrightnessStateRun(Iterator<Callback> iterator, Method method, Object thisObject, Object[] args) throws Throwable {
try {
Object thisPowerManagerService = getObjectField(thisObject, "this$0");
Object mLocks = getObjectField(thisPowerManagerService, "mLocks");

synchronized (mLocks) {
boolean animating = getBooleanField(thisObject, "animating");
int targetValue = getIntField(thisObject, "targetValue");
float curValue = getFloatField(thisObject, "curValue");

boolean turningOn = animating && curValue == 0;

if (turningOn) {
XposedBridge.log("turning screen on");

int mask = getIntField(thisObject, "mask");
callMethod(thisPowerManagerService, "setLightBrightness", mask, targetValue);
setFloatField(thisObject, "curValue", targetValue);
setIntField(thisObject, "targetValue", -1);

callMethod(thisPowerManagerService, "nativeStartSurfaceFlingerAnimation", (int)0x11);

setBooleanField(thisObject, "animating", false);
return null;
}
}
} catch (Throwable t) {
XposedBridge.log(t);
}
return XposedBridge.callNext(iterator, method, thisObject, args);
}

(using static imports from XposedHelpers, as explained in the help page I started here: https://github.com/rovo89/XposedBridge/wiki/Helpers)

Should be a rather direct copy of kamma's code. Maybe not everything of that is needed.

The main changes in the library: 1e564 => 00F03EB8 (b.w 1e5e4), 20100 => 0A. Tried to change 20024 as well, but didn't give me any improvement.

Hope that helps to avoid duplicate work. ;) I should have been sleeping for at least 2 hours already.
[Galaxy S II Themes and Apps] Tungstwenty:
Thanks for the progress.

Aren't you missing the following call?

} else if (turningOn) {
[COLOR="Red"]jumpToTarget();[/COLOR]
nativeStartSurfaceFlingerAnimationOn(mAnimationSetting);
animating = false;
}

and the method is also missing from the sammy code, so it must be executed on our side:

void jumpToTarget() {
if (mSpew) Slog.d(TAG, "jumpToTarget targetValue=" + targetValue + ": " + mask);
setLightBrightness(mask, targetValue);
final int tv = targetValue;
curValue = tv;
targetValue = -1;
}

I didn't understand your patches at 20100 and possibly at 20024 - should it be 12 frames instead of 10, if you're trying to mimic the patched code?

Still, I'm hoping that the missing call to jumpToTarget() could be the reason for the erratic behavior, instead of the frame count ;)
[Galaxy S II Themes and Apps] Tungstwenty:
Forget it, your java code is absolutely right. I'm also badly needing some sleep :confused:

Can you just tell me in which package are you placing the hook on? I only managed to have it working by hooking in every single process, but haven't figured out which one is making it work (otherwise only 0x10 reaches the lib instead of 0x91). I tried "system_server" but it didn't work.

I had an error in the bit detection (placed a right shift instead of a left shift ...).

After fixing it and not messing with anything else, I get also very somewhat inconsistent results.

I've updated the framecount to 12 for both cycles and tomorrow I'l try to experiment the rest of the diffs to see if we reach an effect exactly like CRT-Off.

To whoever wants to try this, which is already working fine :):

Install the latest version of rovo89's awesome Xposed framework, that you can find here: http://xdaforums.com/showthread.php?p=26661239#post26661239

While you're at it, also install his own set of tweaks on the TweakBox xposed module

Update your libsurfaceflinger.so with the one from the first post (this will probably be automatically handled later on by JKay's framework and/or Tweakbox)

Install my "Tungstwenty Xposed Mods" and enable it in the Xposed Installer as well.

Configure CRT On effect on my module, and eventually take a look at the other options that you might like - the vibration when your outgoing call is Waiting is the main reason I got into this :D

It might be necessary to disable CRT mod in Tweakbox.

This will make you have CRT-On as well.

There's no problem of using this on top of JKay Deluxe, I'm using it myself.

Enjoy!

EDIT: Updated my mod to 0.2.1 to reduce the number of hooks to activate CRT-On. It now just attaches to the single process responsible for the effect.

EDIT: Updated to reference the final version published on the first post.
[Galaxy S II Themes and Apps] rovo89:
I have inlined that function because it is only used this one time. ;-)

The patch uses 12 frames for both parts of the animation. I tried extreme values for both to see what changing these bytes does. Both didn't seem to make them animation smoother, they just seemed to add a pause before starting their animation. It doesn't make sense to have a pause while they screen is still black, so I only patched the second part to be just as long as necessary. Maybe it should indeed be 12 frames, but now already turning the device on feels slower. What I still want to try is changing the frame count in the AOSP code and compare the compilation result. Maybe changing this one byte is not enough.

I noticed that there are differences between CRT off and on in the code. kamma has done some changes in that regard, but there are quite many additional commands. Not sure if it is possible to integrate them...

Oh and I hooked the method in init, so for every app. The real target is the system_server process, but I'm not sure if that is initialized like other apps.
[Galaxy S II Themes and Apps] Ba7rani123:
Guys I realised :eek: that after flashing siyah kernel the CRT off effect worls perfectly.

Please someone confirm :)