yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Sorry for the delay. I think I figured out the issue. In your PhoneWindowManager, remove this section in red:

.line 3302
[COLOR="Red"]move-object/from16 v0, p0

iget-boolean v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHasFlashBarFeature:Z

move/from16 v43, v0

if-eqz v43, :cond_40[/COLOR]

.line 3303
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHandler:Landroid/os/Handler;

move-object/from16 v43, v0

move-object/from16 v0, p0

invoke-direct {v0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->getBackKillRunnable()Ljava/lang/Runnable;

move-result-object v41

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

move-result-wide v45

invoke-virtual/range {v43 .. v46}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] hednik:
Failed again. I have non clue what I'm doing wrong. Boots up but doesn't do anything at all. Menu is there amdnincam select but nothing happens.

I'm just clueless on this one. Its got to be my settings...the smali/strings is different because loser has what looks to be the battery mod, ime switch, etc so mine doesn't match completely

http://d-h.st/qMS
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] andybones:
You are the man!

thank you so much!!

working perfectly!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] aamir123:
still not having any luck getting my secsettings to work which is a bummer since the modded android.policy booted up without a problem.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
Thanks for this :)

I've made a few modifications to make it so that it on;y does long menu (as I wanted to keep the multi-window thing) and you made this easy ;)

.method private getBackKillRunnable()Ljava/lang/Runnable;
.locals 1

.prologue

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

return-object v0

.end method
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
Hi everyone could someone point me in the right direction please?? Ive modded the files following the guide and everything compiles and installs fine BUT it doesnt work :( it doesnt have any FC or anything it just simply doesnt do what it says on the tin. Ive uploaded the files if someone could have a little sneak and tell me where ive gone wrong thanks a lot :)

SecSettings.apk
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Thanks. I fixed the OP. Sorry about that!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
A little more info. Can you go into Display and bring up the popup to select either back or menu?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
Thanks for the reply. Yes that is working correctly and everything boots up just not 'applying' the setting
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] shane87:
No problem! I just noticed it today, and I have been poring over the op for a week and a half, lol! I just wanted to share what I had found, in case anyone else was having similar issues. Again, a HUGE thanks to you for all of your awesome mod walkthroughs!! Next I am going to try your User-Selectable Brightness Slider mod.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Your android.policy is kind of a mess. :p can you post your original?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
lol im sorry i forgot to say its from the international galaxy s3 but here it is..thanks again
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
Thanks for having a look but no it still doesnt work :mad: spent hours looking and cant work out what ive done wrong.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
You might have to enable muliwindow for back to work but menu doesn't even work?

Sent from my SAMSUNG-SGH-I747
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
For some reason it wasnt working last night but long menu does work now. Thanks so much loserskater your a genius :D back still doesnt work either way though

Edit: after playing around a bit it is working thanks again
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Chaos ^_^:
i do want to add this mod to my i9300 xda but i am getting some error when adding this specific line

const-string v11, "long_press_kill"

invoke-virtual {p0, v11}, Lcom/android/settings/DisplaySettings;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

move-result-object v11

check-cast v11, Landroid/preference/ListPreference;

iput-object v11, p0, Lcom/android/settings/DisplaySettings;->mLongPressKill:Landroid/preference/ListPreference;

iget-object v11, p0, Lcom/android/settings/DisplaySettings;->mLongPressKill:Landroid/preference/ListPreference;

invoke-virtual {v11, p0}, Landroid/preference/ListPreference;->setOnPreferenceChangeListener(Landroid/preference/Preference$OnPreferenceChangeListener;)V

actually the location you provide is a not the same in my DisplaySetting

can you help please ?

here is my file if you can find what is going wrong
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
^ Hi, put this instead:

const-string [COLOR="red"]v13[/COLOR], "long_press_kill"

invoke-virtual {[COLOR="red"]v0[/COLOR], v11}, Lcom/android/settings/DisplaySettings;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

move-result-object [COLOR="red"]v13[/COLOR]

check-cast [COLOR="red"]v13[/COLOR], Landroid/preference/ListPreference;

iput-object [COLOR="red"]v13, v0[/COLOR], Lcom/android/settings/DisplaySettings;->mLongPressKill:Landroid/preference/ListPreference;

iget-object [COLOR="red"]v13, v0[/COLOR], Lcom/android/settings/DisplaySettings;->mLongPressKill:Landroid/preference/ListPreference;

invoke-virtual {[COLOR="red"]v13, v0[/COLOR]}, Landroid/preference/ListPreference;->setOnPreferenceChangeListener(Landroid/preference/Preference$OnPreferenceChangeListener;)V

I highlighted the changes to help you understand...

and put it on line 3101, around here:

:cond_3
const-string v13, "font_size"

move-object/from16 v0, p0

invoke-virtual {v0, v13}, Lcom/android/settings/DisplaySettings;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

move-result-object v13

check-cast v13, Lcom/android/settings/FontSizeListPreference;

move-object/from16 v0, p0

iput-object v13, v0, Lcom/android/settings/DisplaySettings;->mFontSize:Lcom/android/settings/FontSizeListPreference;

.line 360
move-object/from16 v0, p0

iget-object v13, v0, Lcom/android/settings/DisplaySettings;->mFontSize:Lcom/android/settings/FontSizeListPreference;

move-object/from16 v0, p0

invoke-virtual {v13, v0}, Lcom/android/settings/FontSizeListPreference;->setObject(Lcom/android/settings/DisplaySettings;)V

[COLOR="Red"][PUT HERE]	[/COLOR]

.line 361
const-string v13, "brightness"

move-object/from16 v0, p0

That may work.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Nemotatu:
I'm wondering how did you get back button to work :confused:

P.S. many thanks Loser ;)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
It just worked ..if you disable multi window it was working much better also I found if the touch buttons (back and menu) are constantly lit they work then
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Nemotatu:
So loser made some changes to your android policy that makes back button to work when multi-win is disabled.

I managed to find a way that theoretically make the back button to work either MW is enabled or disabled

but i can't figure out the changes loser made to your android policy to make the back button even work

Edit: yay i got it to work with mw on/off

thanks alvin & Loser
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
I think it also worked with it enabled but was annoying because it would also switch mw on or off...I dont use it anymore as im on leaked 4.2.2
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Nemotatu:
no I fixed that ^_^
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] AskinSavascisi:
thanks its working for me...

back button is working fine but the HOME button aint working?? does someone has that problem also?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] AskinSavascisi:
Forgot a line for home. . Fixed working fine now x
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Mr0lala:
Thanks for great guide, I try to port for my phone but I have a problem, in my PhoneWindowManager.smali I don't have this part so my long back to kill is not work (Long menu to kill work perfect). So any suggestion???? I attach my PhoneWindowManager.smali I edited can you look this?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] andybones:
Here give this a try, can't promise anything, but I gave it a shot. :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] AskinSavascisi:
Could u tell me what it is? :)))
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Nemotatu:
I don't remember exactly what i did, but on loser's OP he changed 2 lines containing

Lcom/android/internal/policy/impl/PhoneWindowManager;->mBackLongPress:Ljava/lang/Runnable;

when you search for this code you will find 4 lines change them all like the OP and try ,,,

if you fail , tell me i will de-compile my android policy when i'm home to tell you what exactly happened .
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] AskinSavascisi:
Thanks, ill try when i get home
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Mr0lala:
Thank you, but I'm sorry I have to say: It's............................................. work, yes It's work :good::good::good: :D:D:D, now I'm discovering what you change in my file :victory::victory::victory:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] andybones:
cool :)

thought it would but wasn't 100%
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Goldie:
I love you man! Thanks so much for this. I tried the toggle so many times in the past and every time it just killed on back every time. This worked perfect first time. Thanks again :D
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] phenomarc:
What I have to do if I want to chose between menu or disabled? Because I have menu working but back is not working and I don't want to have conflicts with multiwindow.

Thanks!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] iam_Ibz:
Any idea if this work with the GE Rom androidpolicy.jar?? GE for the galaxy S4. compiled by sammy.. has a load of ink effect and multiwindow codes in it !!! how crappy is that? Lol considering its meant to be "Pure Google"
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] iam_Ibz:
Anyone?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Sherl:
Any flashable zip?

I am completely noobed with this!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] ch3mistry2222:
So, follow ur way, i ll get long press menu to kill app, or long press back to kill app???? Tks
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] TheDriller:
The back to kill won't work because of multi window. And sorry no flashable zips anywhere because of all the differences in all the ap jars.

Tapatalk 4 sucks
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] ch3mistry2222:
im using s2, not s3. so could i follow ur way?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
I think that may be why I couldn't get this to work right, I never even thought about the multi-window.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
So I used this guide and only added the code for the menu button and it compiles fine and the phone boots but the function of the menu button did not change. Not sure if that was the way to do it or not.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Sami Kabir:
[MENTION=1016795]loserskater[/MENTION],

1. Instead of placing the options in Settings > Display, I'd like to place it in Settings > Accessibility menu.. so how can I do that?

2. Will this work on other Samsung devices like my SGSA running Samsung's 4.1.2 firmware?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] tempdroid:
Hi mate,

if you read this, could you post your modified android.policy.jar working with and without MW?

Thanks a lot.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] :
Dear Sir [MENTION=1016795]loserskater[/MENTION]

I want tohave this MOD but not in touch wiz but in my STOCK AOSP like ROM of a MTK (Mediatek Chipset) Device.

Would you mind helping me in doing this MOD for my ROM.

Help is highly expected & appreciated.

Thanks & Regards

BOND
[Desire HD Q&A, Help & Troubleshooting] Raamzii:
My Phone won't turn on !

i was trying to Root my phone With Advanced Ace Hack Kit !

Suddenly Shut Itself Off :(
[Desire HD Q&A, Help & Troubleshooting] bananagranola:
AAHK is retired and unsupported.
[Desire HD Q&A, Help & Troubleshooting] Raamzii:
How Do I Solve It !!?
[Desire HD Q&A, Help & Troubleshooting] bananagranola:
1. Again, it's unsupported, so finding help in the first place will be tough.

2. Anyone who might be willing to help will need details that you have not provided: For example, what did you do? How far did you get? Were there any error messages? Without any more details, you're making it very tough to help you.
[Desire HD Q&A, Help & Troubleshooting] Raamzii:
Im trying to root my HTC DESIRE HD 2.3.5 !

after downloading files in cmd Advanced Ace Hack Kit !!

& My phone disconnected during update CMD & shut down :(
[Desire HD Q&A, Help & Troubleshooting] bananagranola:
1. Tried to use unsupported tool despite warnings splashed all over the AAHK site and XDA.

2. Did not provide details the first time.

3. Did not provide details when asked.

Conclusion: I give up. Good luck.
[Desire HD Q&A, Help & Troubleshooting] GuyInTheCorner:
OK, you've pi55ed MissB off, not a good start.

But I'm willing to give you a second chance.

PROVIDE DETAILS! Otherwise I won't help you either
[Desire HD Q&A, Help & Troubleshooting] bananagranola:
It's not a matter of won't...it's a matter of can't. I have no idea what he's done or what's happened.
[Desire HD Q&A, Help & Troubleshooting] GuyInTheCorner:
Touché
[Desire HD Q&A, Help & Troubleshooting] GuyInTheCorner:
OP, was the issue resolved?

Sent from my REVOlutionary DHD!

thanks don't hurt ya know? :)
[Galaxy S 4 General] :
I had today the first glance of the Galaxy S4 (the GT-i9505 version) in here in Portugal!

The first impression was very positive, and yes, it's all plastic but i like the touch and the lightness of the S4!

So light in my hands and it didn't gave me the first impression the S3 did, that the phone was some cheap phone that i could drop at any moment in the ground and get it in a million pieces!

One of the things i really disliked is the plastic back cover... i hate it because it gives the sensation of being some cheap plastic..

On the other hand, the TouchWiz 2.0 seemed to me that it lagged compared to my Note (see signature)!

Tried to view some videos and only activating the developer options and forcing GPU i had some smoothness in the video playback (WTF???????)

The overall phone lagged in the interface, opening apps lagged a little bit and what really got me disappointed was the video playback.. laggy!

Anyway the Android version i tried was 4.2.2 and even though i was unable to take some real photos of it because there was a security guard guarding it but overall it seems like a fantastic device with a spectecular screen and JESUS the image quality is outstanding!

No i am not going to buy it since i love the Note devices and i am waiting for the Note 3 for me and my gf!

It's a really good device and honestly i wanna get my hands in the octo core device and give it a ride in some heavy gaming :o

I loved the front design from Samsung, it is gourgeous! The back sucks honestly and even though the device is only in exhibition for 2 days it was full of scratches in the back (dafuq? :eek:)

Here is my first mini review from the point of view of a user!

Had it in my hands for almost 10 minutes, couldn't test it fully but i will have the opportunity of doing so in this week and i will take some photos of the device :D

:good:
[Galaxy S 4 General] MaKTaiL:
I was really confused with your mini review.

I couldn't quite get if you liked or disliked it.

EDIT

Oh, read it twice.
[Galaxy S 4 General] :
Liked my friend! Compared to the S3 which really disappointed me this is a gorgeous device :D
[Galaxy S 4 General] shadowronemus:
I'm pretty shocked at the amount of lag on my new GS4, my GS3 is far smoother(even more so running AOKP Task650). My HTC One is butter smooth in comparison. Other than the very noticeable lag, the GS4 is rather nice, I prefer the feel in hand the GS3 but it's a close second to the HTC One which is the best Android phone yet in my opinion.
[Galaxy S 4 General] PLUG313:
nice! I'm glad to be hearing positive opinions about it in my country :D

I already reserved mine, just waiting for it to arrive to my local Worten store :) cannot wait

where did you try the S4 btw?
[One (M7) Accessories] tdunks:
Just wondering if anyone has any tips on what clear case/skin to get? I love the look of the phone, but I sell my phones every 8 months or so, so I need something that will protect it from scratches.

I dont often drop my phone, so a super protective case isnt necessary but I do sometimes put change in the pocket with my phone. Also, I am worried that a skin (like invisibleshield) will start to peel off after a short time - like it did on my old iphone 3g when I had that.
[One (M7) Accessories] renegade7879:
I had Ghost Armor's clear full body shield installed a few days after I bought it. It's barely noticeable on the phone and covers pretty much the entire surface except for the sides (top and bottom are covered). $36 includes installation and warranty.

Side note, do you just buy your phones off contract except for every 4th one (which should fall at the 24th month mark)? How much do you end up spending on phones per 2 year period on average? I've always just waited for my contract to be up. If Google comes out with a new Nexus device for Sprint this year I may have to pick that up, though.
[One (M7) Accessories] Porcelina:
I have ordered the Cimo Grip case.. found here: http://www.ebay.com/itm/CIMO-GRIP-FLEXIBLE-TPU-CASE-FOR-HTC-ONE-M7-COVER-/171028964515

Haven't recieved it yet, so I can't comment on quality. It seemed to be one of the better clear cases I could find though.. let me know if there are any other good clear cases out there! :)
[One (M7) Accessories] ntrinsik:
I did not like my Cimo case, mostly due to the fact that it became very difficult to control the volume with it.
[One (M7) Accessories] phatty033:
i've been looking at this one.. it looks pretty nice

http://www.amazon.com/SUPCASE-Premi...id=1367252171&sr=8-1&keywords=supcase+htc+one
[One (M7) Accessories] Bart1981:
Love the looks of this one:

http://www.spigen.com/cell-phone/htc/htc-one/htc-one-case-ultra-thin-air.html

It's also availible on ebay and amazon. Not a very cheap one but it looks good. I think I'll go with this Spigen.
[One (M7) Accessories] Porcelina:
Yeah, I know about that issue.. I've had a Cimo case to a Samsung phone, where the volume buttons got better over time. Atleast it will work until something better comes along, if nothing else.. but as I said, for now its the best I've found out there anyway. I just want a good, thin and clear TPU case with no silly branding and a front lip to protect the screen - but somehow that seems to be hard to find :rolleyes:
[One (M7) Accessories] hokius_maximus:
I received the Cimo case last week. Ordered it thinking my Poetic Atmosphere case wouldn't arrive for a couple of weeks. Now I have both. Didn't expect it, but I like the Cimo better than the Atmosphere case. Yeah, the volume rocker is a little difficult, but I don't use the volume rocker often enough to worry about it. It looks great, adds very little to the size, and has a grippy feel.
[One (M7) Accessories] specter491:
I have the clear case and its great. Its actually slightly frosted, but you can't really tell once its on the WHITE HTC One. Can't speak for the black one. All the cut outs line up perfectly and the IR blaster works just fine! Great case
[One (M7) Accessories] Jackasaur:
I just applied my BestSkinsEver on. I got the matte body with glossy screen protector. I wanted to preserve the look and feel so instead of all glossy I got only the screen.
[One (M7) Accessories] hamdir:
The problem with the Spigen is that it's made from hard plastic hard to pull out and will most likely break on impact

it's weird HTC didn't release a transparent slim cover themselves, the one for the One X was pretty neat
[One (M7) Accessories] HYE_TECH:
I was using Xtremeguard front and back screen protection for the HTC ONE from Amazon for $5.

I use this brand for all the phones I get. I like how it feels and it's just affordable.

I said "was" using it because I had to take the back protector off because I ordered a clear iMak case which caused a water effect from the clear case meeting with the case. I got this case off ebay for $4.00 and it came in the mail pretty fast considering it was shipped from China. The case works but the part on top of the volume rocker doesn't feel like it clicks in place. The case is secure but it feels a little weird. It's not fully flush but it was a few dollars so Im not really complaining and it allows me to show off the phone yet still being able to protect it. I dont like how their iMAK text blocks the One's Beats Audio branding but that's just me nitpicking. I don't know if you can tell but I have like a permanent spec on the case that I cant take off. May not bother you but I've been rubbing and cleaning but that ****s on there for good.
[One (M7) Accessories] nhutpham:
I bought one of these, similar to the handhelditems one but the frost goes to the edge instead of leaving a border.

http://www.ebay.com/itm/370779333600?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

Its a great fit on the phone, this is one of the first phones where a TPU case doesn't really feel like extra bulk to me, the phone is so slim it still is a perfect size. The camera cutout isn't the most protective, as you can see there is some space around there but flash and everything isn't affected.

The frost on the case shows through pretty well on this silver version, the back still looks great as you can see. I don't have problems pressing the volume buttons as others have mentioned, I always get them pressed first try although they do feel a little squishier than without. IR blaster works fine through these clear TPU cases.

Although there is a frost look to the case, it is on the inside of the TPU and does help hide fingerprints and such. The outside is still smooth, and can feel a bit grimy after a while if you don't clean it. I think this is the case with any smooth back on a case (hence why everyone hates samsung plastic).

I recommend this as a case on the cheap if you're looking for one.

Here are some crappy pics:
[One (M7) Accessories] branshaw09:
I have mine covered in a Skinomi full body clear skin. I've always used Skinomi. They have great customer service and support!!!
[One (M7) Accessories] HYE_TECH:
Not bad, do you think it's going to turn yellow? I remember when i had the white one x, i bought a clear tpu case. Man, I went against my instinct and all of the reviews that said it would turn yellow under a week. It happen in 2 days haha, it was a mess.

Your case looks good though, more protection than that iMak case I got...

I also ordered a Nillkin black leather flip case, tried to cancel it because I found a better Rock case but the seller gave me a discount since he shipped it out already. Just waiting to see how crappy it looks haha, this phone is too damn pretty to cover up but I had accidents before, it doesnt matter how careful I am. I know for sure that a ding is going to piss me off

http://www.aliexpress.com/item/New-...er-Case-Cover-Skin-For-HTC-One/832689359.html
[One (M7) Accessories] nhutpham:
I'd bet it would yellow eventually, maybe the frost on the back would help hide it a little. I would probably just get another case if it yellows.