yashsingh1/xdaforums huggingface dataset:
[Defy Q&A, Help & Troubleshooting] demolition23:
I m having hardware issues with my defy (CM 7.2).

When Im receiving a phone call proximity sensor start doing his job, but I hang up the phone screen doesnt wake up and proximity sensor keeps blinging like Im still talking on the phone.

Any suggestions?

Im thinking to try disable the driver (help me out with this!!)

OR

force the screen somehow to wake up after the phone call

OR

never sleep screen when Im on phone.

Please help me!:crying::crying:
[Defy Q&A, Help & Troubleshooting] demolition23:
Up!!

If anyone know something....
[T-Mobile Samsung Galaxy S II SGH-T989] Gotroot:
Ok so I have had this phone for a few weeks. Tried every radio my signal is get but on a speed test best I have got is 35k down and upload will not even test!!!! I can send pic msg cause the connection is to slow. I can surf the net but it tajes forever.. is there sumin i am missing?
[T-Mobile Samsung Galaxy S II SGH-T989] casperi:
Ya depending where you are there isn't even T-Mobile service up there. If there is it's only the slowest edge version. Your in vzw territory.

Casperi
[T-Mobile Samsung Galaxy S II SGH-T989] mmduluth:
I second this. You must be in Verizon land. I was up in Tocoa not too long ago and had to fight to get a signal. You can see from my sig that I get decent speeds. That was an old test I did with my HD2 about a year ago. I get MUCH faster speeds now with my SGS2.
[T-Mobile Samsung Galaxy S II SGH-T989] casperi:
Yup all gsm coverage ends at 400/60 at the shell station. Beyond that the only place you will catch a stray signal is at the top of blood mountain on hwy 129. Anyway from dilangoga "sp" is all vzw. You lose a signal again if your on vzw going out of town and.then pick it up again for a few when u get into suches. Then lose it until you get into the most corrupt police town in the US Blairsvile.

Casperi
[Android Q&A, Help & Troubleshooting] dickmorgan:
I posted this is a Droid sniff thread but hoping to get some help in general section as well.

so..im in a internet security program for school and found out about Droid sniff and Droid sheep through a classmate . I have zero experience with sniff programs on my phone and have only dealt with bt5 on a pc so I dont know what is required other than the droid sheep program.

I downloaded both sheep and sniff for my rooted atrix with the super charged ROM and when I run the program it spoofs the gateway but doesn't pick up any IP addresses. I tested it by going to websites on my laptop connected to the same network. sheep was just running and spoofing with no IP showing up. What am I doing wrong. I was reading something about having lipcap installed but havent had luck finding out a tutorial how to do that.. All the tutorials I come across are of people already having lipcap installed..

Any help in this or just a point to the right links will be appreciated. Im thinking of doing something with this program for my capstone.

And yes I have asked my class mate

For help installing it but he said no just google it.

Sent from ricky's super charged ATRIX 2

Sent from ricky's super charged ATRIX 2
[Android Q&A, Help & Troubleshooting] lokenok:
ummm.? all i see is a wall of txt sorry
[Motorola Droid RAZR] dlsmith08:
I'm have a RAZR MAXX on .211 rooted and I'd like to change the notification/ringtone sound for the Emergency Alerts app but I can't find the sound file. Does anyone know the directory/folder it can be found in?
[Motorola Droid RAZR] base_band5:
Hi, On my rooted ICS XT910, the following folder has a load of sub folder with sound files:

/system/media/audio/

I hope this is what you're looking for.
[Motorola Droid RAZR] pedrotorresfilho:
Type in any root explorer

.ogg

It will return all media system sounds.

Cheers
[Motorola Droid RAZR] bigbad614:
Has anyone ever found the file name?
[Motorola Droid RAZR] johnzale:
Emergency Alert File

I found it on my HTC One as the following:

/system/media/mms/atis_tia_cmas_alert.mp3

I have replaced the file with a different sound, and I guess I'll have to wait for the next alert to see if it worked.
[LG Optimus Black] Mini Franki:
Hi,

1st, good job for your rom, seem to be very stable and fast. Just one thing, too much blue

But i have some issues with it

- Automatic time dont work, i need to set the time myself

- The number of new text message dont appear on my message icon

- I installed this theme(http://xdaforums.com/showthread.php?t=1465455) but my rom stopped to work properly. No way to come back with the original theme without nandroid backup?

thx
[LG Optimus Black] Meninw:
Re-install the ROM with cache wipe...theme is gone!
[LG Optimus Black] Mini Franki:
I dont need to wipe data and factory reset before installing rom? Or only do that when you install a new different rom?
[LG Optimus Black] ErnuB:
Exactly, since you are installing same rom no need to factory reset, just wipe cache
[LG Optimus Black] Mini Franki:
thx for your answer!

But no idea for mail and sms issue? Cant see the number of sms, mails and missed call on the icons
[LG Optimus Black] Mini Franki:
I find how to get sms and missed call notification. Just need to download adwnotifier
[LG Optimus Black] jatinmend:
In zeus rom

open message settings

Then notification settings

Click for display notification in status bar

It can solve
[LG Optimus Black] jatinmend:
And for email if it is gmail you can

Go to settings

Accounts and synchro

Turn back ground data on

But it costs data charges

See the warning and choose accordingly
[Samsung Galaxy Nexus] Theshawty:
I was wondering if there's a way to get Samsung's POPup Play feature on our Nexii? It looks kinda cool.
[Samsung Galaxy Nexus] Carlos_Manuel:
if somebody can hack the app for Nexus then yes.. it maybe needs some files to system/lib/ and to system/bin/ and maybe the init.rc needs modifying... I'm not really sure.. :D
[Samsung Galaxy Nexus] nxt:
Is that the floating video player? If so, download Super Video from Play Store. It's free.

Galaxy Nexus GSM
[Samsung Galaxy Nexus] Theshawty:
Thanks, mate, will download and try!
[Galaxy S III Q&A, Help & Troubleshooting] YoghurtPL:
Hello,

after few years and 3 generations of iPhone I finally decided to change iOS to Android. So far I think it was good choice but I still need to get rid of few iOS habits and find solution for few problems. I've got Audi with RNS-E + bluetooth, My phone connects to car bluetooth without a problem. I can review phone book from car menu, check last dialed, missed calls etc. but when somebody calls me car, shows number instead of name from phone book. It used to work fine with iPhone. I suspect it might be something with country prefix. All my numbers in address book are stored with country prefix (+48...) but when somebody calls, I see number without country prefix. Or maybe it is something else... I'm not sure. Anybody else has similar problem or know solution?
[Galaxy S III Q&A, Help & Troubleshooting] d4fseeker:
Just to clarify; it does show the name instead of the number on your phone's screen regardless of whether you're peered to the car?

Only the car's display shows the number?
[Galaxy S III Q&A, Help & Troubleshooting] YoghurtPL:
correct. Phone screen always shows name (peered with car or not). Car shows numbers only.
[Galaxy S III Q&A, Help & Troubleshooting] YoghurtPL:
Guys, nobody else has similar problem? :(
[Galaxy S III Android Development] jakubklos:
Yes, finally it is here!

After couple of hours of coding in smali and debugging endless boot loops ;) it works.

Change your music tracks when your screen is off and music is playing by long pressing the volume buttons.

Update:

- New JB and ICS support

- New 500ms timeout used instead of 1sec.

- New CWM flashable zip

- New Diff available for ROM cooks

ICS: Wanam-Lite ROM 1.7

JB: Wanam-Lite ROM 4.3 (4.1.1)

Enjoy!
[Galaxy S III Android Development] ariedam:
Doesn't work in Paranoid 1.5a (CM9).

It doesn't boot any more.
[Galaxy S III Android Development] Mikee.H:
Would this work with Poweramp ?
[Galaxy S III Android Development] jaykay1967:
This doesn't work on Omega 9 /Franco 10. Tried Poweramp and Sammy Music Player.

Changed permissions before rebooting so no problems there but long press on volume only makes the volume go up/down really quick as per stock.
[Galaxy S III Android Development] mkh@xda:
Works with PowerAmp - but u must aktivate ICS-Lockscreen in PA settings.
[Galaxy S III Android Development] jaykay1967:
ladies and gentlemen, i am an idiot.

i did not read the op properly.

this works when the screen is off.
[Galaxy S III Android Development] babijoee:
I'm assuming this is just for Sammy roms as AOSP and AOKP already have these features built in. ;)
[Galaxy S III Android Development] aydc:
I confirm that it works with Wanam 1.6.
[Galaxy S III Android Development] jakubklos:
True, only stock based ROMs shoudl be supported. CM9 and AOKP already have this feature.

I have tested it on Wanam 1.5 and Wanam 1.6 but others should be working too.
[Galaxy S III Android Development] tsangwc:
Replaced the file and changed permission. Reboot the phone and it behaves the same in Sammy player and PA. ICS lock screen is always on for PA. Long pressing up and down will only change volume for me. I am on stock ROM and kernel.
[Galaxy S III Android Development] fabledude:
I was looking for this mod since forever..thank you thank you thank you :)
[Galaxy S III Android Development] jhericurls:
A feature I missed from the AKOP roms, thanks.

Buggers shouldn't be choosers, but any chance of compiling one with a shorter long press duration?
[Galaxy S III Android Development] daniel9522:
Will this work on rgui miui if not can you please make a mod for it please

Thanks in advance :)
[Galaxy S III Android Development] jakubklos:
Might be a good idea. How many ms would you have in mind? It is about 500ms now.
[Galaxy S III Android Development] spamcakes:
I'm running Faryaab's AOKP and it's built-in, what AOKP are you running?
[Galaxy S III Android Development] aydc:
Actually, it's 1000ms in your version. I decompiled, changed LONG_PRESS_TIMEOUT:I to 12c and compiled again and it's working great. 12c = 300ms, which is a good value.
[Galaxy S III Android Development] w1nter456:
Will this work on check Rom? thanks.
[Galaxy S III Android Development] jakubklos:
Ok good. If you are still able to change the volume too then it's fine. I will try when I get back from my vacation (on Wed)
[Galaxy S III Android Development] jhericurls:
I'm now on a sammy rom and saying that I miss that feature.

possible to share your version?
[Galaxy S III Android Development] slonn:
Yes, it does. I didn't change any permissions and it works fine. Great mod!
[Galaxy S III Android Development] MattBooth:
Google "loserskater" and search his profile for his i implementation. I find its more compatible with players
[Galaxy S III Android Development] netnerd:
try to find a rom for your phone that has music skip on volume.

go to the rom on system/framework/ and extract android.policy.jar

put android.policy.jar on your new rom at system/framework/ and change the permission like the other files on your rom. rw-r--r--
[Galaxy S III Android Development] Goldie:
Not advisable. If the rom had other modifications to policy that could quite easily loop. :)
[Galaxy S III Android Development] ichbinich:
Does this just work on SGS3 or also on other devices?
[Galaxy S III Android Development] sayaksark:
Its even working in my old....cute Galaxy S I9000 (Player:Power Amp with ICS Lockscreen ticked).... :D

Thanxxx a lot....

I was searching for that for s long time.....CHEERS :good:
[Galaxy S III Android Development] shahabkhan99:
dear please upload for 4.2.2 .... i really:p need it.
[Galaxy S III Android Development] mirroalex:
+1
[Galaxy S III Android Development] mrjoy:
Is it run on leaked 4.2.2 stock rom?
[Galaxy S III Android Development] mirroalex:
No it is not, it makes boot loops ...
[Galaxy S III Android Development] dmonium:
Question

Hi mate

please

could you tell me if this mod could work with HTC ONE ROM 4.6.1540.3 Android 4.4?

I would like to include in my ROM Project.

Thanks so much for you response
[Galaxy S III Android Development] tarekboukaf:
Thnks
[Galaxy S III Android Development] andre6b:
Sounds like a great idea, but doesn't work for me. Stock Samsung ROM, rooted. I copied the file successfully, as far as I can tell. Started playning an album with the built-in player. Switched off screen and long-pressed volume up. The volume increased, that's it. Do I need to change any settings for instance?

A note - I have security enabled, i.e. the phone requires password every time the screen is turned on. Could that affect this mod?
[Galaxy S III Android Development] sodeknetters:
FULLY EDITED

I was doing it wrong. You need to manually copy/paste the content of the zip file to the system/framework directory. You might want to keep the old file by changing its name before pasting.

Now, it works like a charm on omega v9.0
[Galaxy S III Android Development] XDA mark:
Yaaaaay I got it working, I love this mod <3

What I did is download the file, via root explorer search for it, press copy, go to system/framework, paste it and you replace it with the original one.

Then it didn't work, but I rebooted and now it's working. Playing music via Poweramp with the "ICS lockscreen settings on" like some people here said.

I know I am being a **** here, but could someone make one with a shorter time required for the press? You have to press pretty long for it to switch songs haha. Anyway, thanks for this!
[Galaxy S III Android Development] aydc:
Try this. Long press time is set to 300ms.
[Galaxy S III Android Development] jhericurls:
That is spot on! Very response.
[Galaxy S III Android Development] Pitzbull:
Is this a flashable zip?
[Galaxy S III Android Development] ChilliBo:
no its not!

works very very good on checkrom 3.5 !!
[Galaxy S III Android Development] XDA mark:
Thanks for this! :)
[Galaxy S III Android Development] daz_2000:
Not working on stock samsung rom + root - appreciate any help.
[Galaxy S III Android Development] sodeknetters:
the 'extended power menu' gets replaced with another menu that has the title "wanam-lite ROM 1.6"

I don't particularly mind the fact that the power menu was changed (all options still available) but if the title of this popup screen could be somewhat more generic (like "reboot options") instead of the name of another ROM that I am not running... would be great!!
[Galaxy S III Android Development] radeonxt:
my extended power menu lost recovery and download in return for that hold up for next music and hold down for previous music during screen off.

i took a look at extended power menu zip mod and it also has an android policy.jar file

i know the devs will be able to combine these two.
[Galaxy S III Android Development] skhan.786:
Been looking for this will be very useful
[Galaxy S III Android Development] Cyb3rGlitch:
Nice, this makes the stock ROM more attractive.
[Galaxy S III Android Development] SLver:
Thanks very much for this mod!

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] tsangwc:
do you mind to tell what stock ROM are you usng? this mod is not working for me. XXLEF with LF1 ROM.
[Galaxy S III Android Development] hani1980:
it is working will on my rom thanks

http://xdaforums.com/showthread.php?p=28734268#post28734268
[Galaxy S III Android Development] MadMatt89:
I hope this will be fixed.
[Galaxy S III Android Development] FrezoreR:
Already solved?

Doesn't double-tapping the play/pause button on the handsfree already solve this problem?

Or maybe it is intended for those who does not use the OOTB headphones.
[Galaxy S III Android Development] tsangwc:
After a bit of research I have got it working but not with only this MOD. I have to install Exposed Installer and also Tweak Box for it to work. It works in Samsung player and Poweramp when you enabled headset button feature in settings.
[Galaxy S III Android Development] aydc:
I have also shortened long press home button for recent apps delay. You don't have to wait 1000 ms anymore for multitasking. It's 200ms now. Try it, you'll like it. :)

Again, this will only work on Wanam Lite ROM. Just copy the file to system/framework. Credit goes to jakubklos who ported the original tweak to SGS3. I'm just making small changes.
[Galaxy S III Android Development] jakubklos:
I have updated the original download with 400ms delay so you have still time to change your volume too and CWM flash is available now.

Check the first post again.
[Galaxy S III Android Development] aydc:
My version adds shorter holding time for home button too, so you don't have to wait 1000ms for Recent Apps. If you want to integrate it to your mod in first post, here's what you have to do:

Find:

iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomeLongPress:Ljava/lang/Runnable;

A few lines after that, you'll see:

invoke-static {}, Landroid/view/ViewConfiguration;->getGlobalActionKeyTimeout()J move-result-wide v43

Delete those 2 lines and in their place, add:

const-wide/16 v43, 0xc8
[Galaxy S III Android Development] w1nter456:
Does this Mod does for Cm10 aka Jelly Bean?
[Galaxy S III Android Development] MadMatt89:
Hi, thanks for the great mod!

Can you please tell me how I could modify my own android.policy.jar so that the settings from my rom do not get lost? I got eclise and adroid sdk installed on my pc but im not quite sure what I have to do so a step by step guide would be pretty awesome!

Thanks

Cheers Matt
[Galaxy S III Android Development] [[ Cold ]]:
awesome mod!

EDIT: tested and worked as stated even with headphones, didn't read that it should be with the screen off.

works great, thanks again
[Galaxy S III Android Development] jakubklos:
It requires some learning but it is doable.

I would start like this:

1. Learn to decompile with apktool and decompile the modded android.policy.jar

2. Decompile also the original android.policy.jar from WanamLite 1.7 ROM

3. Now do a diff of PhoneWindowManager.smali

You will see all the changes made

4. Try to merge the diff to your decompiled PhoneWIndowManager.smali (your own android.policy.jar from your ROM)

5. Just compile back your changes and sign

It might be a bit tougher than this though. Learning smali isn't easy and most likely the registers (v0..v20 and p0..) will be different in your android.policy.jar which means that you need to find the correct ones. It really takes time but it is doable.
[Galaxy S III Android Development] MadMatt89:
Thanks for that so far :) I was wondering what u mean with that third point? What is da diff? Is PhoneWindowManager.smali a file which you get when you decompile the android.policy.jar file?

Can you tell the lines which have been changed for this mod? Or do they vary in my android.policy.jar?

Thanks
[Galaxy S III Android Development] jakubklos:
Diff explained:

http://en.wikipedia.org/wiki/Diff

After decompiling the .jar file you will get a bunch of .smali files (each file stands for a Java class). The file I mentioned contains all the required actions. You just need to patch the inside of it.

There have been literally hundreds of lines changed. That's what the diff tool will show you
[Galaxy S III Android Development] velow:
Successfully flashed but doesn't work with my official stock rooted with CWM. pressing only gets to change the volume.

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] slonn:
And you're sure the screen was off when testing it?
[Galaxy S III Android Development] speed_speed:
It works on ROM FoxHound 1.1 | Performance with PowerAMP

Link ROM

http://xdaforums.com/showthread.php?t=1708371
[Galaxy S III Android Development] PhantomHacker:
Volume Mod

Nice work bro.
[Galaxy S III Android Development] Siberian Tiger:
A little bit late but this this MOD is already featured on the Index of MODS http://xdaforums.com/showthread.php?t=1674286

Any observation please send me a PM :)
[Galaxy S III Android Development] sangosnip69:
Hi, thank you for the mod, but can you make a tutorial?

I want to do it by myself and I don't want to broke my own modded android.policy.jar by using your.

Thank you.
[Galaxy S III Android Development] velow:
Of course screen was totally off (black)and playing music with poweramp.

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] earthworm1102:
Yep,it doesn't work on stock rooted rom definitely! so i just press play(pause) twice and goes to the next song.
[Galaxy S III Android Development] jakubklos:
Diff available

I have posted the diff files in the first thread. So you can easily see what I changed and you can attempt to merge the changes to your PhoneWIndowManager.smali. Hope it helps
[Galaxy S III Android Development] eliashadow:
Anyone try it in newest firmware LG6?
[Galaxy S III Android Development] dr.m0x:
Yes, second thing I flashed after wanam lite 1.9. Nothing broke, mod works.
[Galaxy S III Android Development] dlads:
This could be what i've been looking for.

Basically i've been using my old beats headphones from the Sensation XE and the next / previous track buttons only change the volume, however i'm thinking that with this mod in place it may work as intended?

What do you think?
[Galaxy S III Android Development] Siyamand:
Worked on Omega 9 & Thanks.

Noob question!!What is different between VolumeLongPressDiff & VolumeLongPress-S3 ?
[Galaxy S III Android Development] salem94:
VolumeLongPress-S3 = The mod itself

VolumeLongPressDiff = What he changed to do this mod (for ROM cookers or devs or curious guys ^^)
[Galaxy S III Android Development] w1nter456:
This feature is very good. But then That is only thing I missed in Cm10.
[Galaxy S III Android Development] v1r0x:
I've tried to port the mod to my phone (Desire Z) but it doesn't work :(

Is there any way/guide to port this to other phones?
[Galaxy S III Android Development] bernard134:
flash with CMW from the first post, 100% confirm NOT working on stock XXBLG8 firmware with music playing and screen is off, long press volume increase or decrease only.
[Galaxy S III Android Development] sparky_boi:
Anyone tried this with mike's Android Revolution ROM?
[Galaxy S III Android Development] TokedUp:
Will this work on stock vzw with Root? I have been dying for this mod since we dont have lock screen music controls. TIA.
[Galaxy S III Android Development] aydc:
This will only work on Wanam's ROM or other ROMs that used Wanam as a base. Don't even try it with the stock ROM.
[Galaxy S III Android Development] qwerty12:
You can try Tweakbox, which has had the ability to do this for a while now. I've only used it on my I9300 but Xposed works by patching at runtime so you don't need to replace any JARs.
[Galaxy S III Android Development] SurferJon:
Hi all, I've been Googling for quite a while but can't figure out how to install something like this. Is there a specific guide out there for something like this? I'm totally new to the smartphone world, having just rooted a phone for the first time, so I would appreciate any help you can offer! I have ES File Manager installed with root access as well, but can't find any matching folders or files to replace with the ones in the original post (so I'm assuming that's not how you go about doing this...). Thank you in advance!
[Galaxy S III Android Development] slonn:
Flash the zips listed in the OP. You can do that in cwm.
[Galaxy S III Android Development] SurferJon:
Thank you for the reply! Is there a specific guide out there that you could point me to though? I found a few on Google, but they seem to be for specific phones and carriers. I'm afraid of bricking my phone since I basically have no idea what I'm doing. ^_^;;
[Galaxy S III Android Development] Lienot:
Thanks a 1000 times!

I have been looking for this the first weeks a dozen times. Now I looked again and I finally found it.

I flashed it after booting to recovery and it works as it should - perfect!

I use the Xlite Rom 9.0 and the Siyah Kernel (?)

I am using it with poweramp.

You are my Hero of the day! :good:

All the best

lienot
[Galaxy S III Android Development] fast78:
I wonder if that mod works on Omega v11 ?
[Galaxy S III Android Development] Chris_84:
Me too :)