yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mostyle:
[MOD]TUT]Add 'Stay Awake' to development options

Since I contributed to the trolling tonight I figured I'd contribute something positive...

Decompile Settings.apk:

looking at file: \com\android\settings\DevelopmentSettings.smali

look for following code:

...which should start at line 2305 (in my editor) and delete all of the code BETWEEN the .line 209 and .line 211

Ending result should look like this:

Now in Development options you should have 'Stay awake' as an option.

UPDATED: See end of post..

Please bare in mind that this setting will not persist through reboot.. I spent two hours tonight trying to isolate why.. Only thing I could isolate was:

On bootup some piece of code is setting the settings value of variable "stay_on_while_plugged_in" in settings.db to 0. With the development option unhidden when you activate 'Stay Awake' the variable "stay_on_while_plugged_in" gets set to 3. It will stay at that value until reboot where something forcibly resets it back to 0. I assume this reset of the variable is due to Samsung's intent for the option to not be there in the first place but have no way to prove that.

I found a reference to "stay_on_while_plugged_in" in 'Databasehelper.smali' when decompiling SettingsProvider.apk but can find no other references to that variable.

Use it as you wish.. It just irritates me that I can't get the setting to stick.

Attached is my Settings.apk. Not IN CWM.. Manually install it to /system/app/ by whatever means suits your fancy.

If anyone more adept at smali wants to take a look into what it isn't persisting I'd be eternally grateful.

UPDATE: Sticks now.. One more step:

\com\android\settings\SettingsIntentReceiver.smali:

line 1820 reads:

and needs to be

Eureka. The setting persists now. Attachment updated. Enjoy.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] scoobydoobie:
Honestly, I have put it on and taken it off a bunch of times. In one of seans posts he said this was his jam so I've been using it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
Luckily icenight made a fix for when it does corrupt your efs.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] alwayslookingforanswers:
Is there a fix for the Voice to work on S voice. Mine did work and now it doesn't and can't figure out how to get it back on..
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jivy26:
I've been stuck at boot loops it will get through samsung logo then the nexus boot screen and freeze and reboot. I have tried flashing stock via odin then attempting again after wiping system and cache, wiping system x 3 for whatever reason and still boot loops. Anyone experience this? I've read thru and others have but tried there methods and no luck

edit: ill just build my own this is taking too much time. Thanks for the ROM though :D
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] pwnerman:
First night without an update =p
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] traumaj:
This is standard for me... I'll hit 30+ here and there
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] capita:
Since we're all posting screen shots of our lte speeds...

Have hit as high as 50 at one point in Greater Vancouver area.

Really love skyics. I've flip flopped between this and cm9, but I always end up coming back ultimately. Thanks to Sean for a really great piece of work.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xxsicknessxx:
hey if were coming from the first base have we must flash then 2nd base? to get the new update?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
so this will give me the option to keep the phone awake all the time

---------- Post added at 12:28 AM ---------- Previous post was at 12:26 AM ----------

yes, i would do a complete wipe and start fresh, new base + modem + update 5
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roughneckboren:
Quick question for Seanz

I've done some personal editing to your ROM but I can figure out how to edit the ics toggles on the notification menu. I've replaced what I thought needed replaced but still a no go. Any insight? And here's proof that I know a little about what Im doing.

And a pic of battery life.....not heavy usage but at least 50 percent screen brightness. Just breaking it in.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Wickidmasshole:
what is that widget you have in your second pic?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
Network signal info
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] alwayslookingforanswers:
Was going to bed but had to post an up date on my devices status on An Tu Tu. Know it doesn't mean much but makes me happy. Was in the top 80,000 and now after this update. My new placing is 42,549 with a score of 6725! The top Skyrocket on there is ranked at 21,677 with a score of 7803. I know who cares about the scores on there but I think its really good news for this Rom. Great work keep it up Sean and soon your set up will be the top ranked Skyrocket in the world on there!!! ;)

---------- Post added at 11:50 PM ---------- Previous post was at 11:48 PM ----------

OH there is Dimeass! Did you see my screen shot? Or how about the other 30 that were posted? LMAO!!! And you said speeds like that were impossible... You made my day brother...:eek:

---------- Post added at 11:51 PM ---------- Previous post was at 11:50 PM ----------

Darn I misspelled your name sorry BRO!!!! LOL :p
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] intenseone:
This is my screen I have it set to 160 through rom toolbox pro fix permissions to before and after and it works like a charm haven't had issues with play store either I didn't edit it. I love and can use any size bigger I feel like I'm blind
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] alwayslookingforanswers:
Where did you get the widgets on your home screen from? They be SWEET!!!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
http://xdaforums.com/showthread.php?p=26371876
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] intenseone:
crazy gave you the link to the clock. as for the weather widget its beautiful widgets pro
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] colonel187:
I'm not getting 4g internet even though I followed the apn direction exactly and recheck them. I have 4g signal but nothing will load.

Any ideas?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] intenseone:
send a screen shot of ur RAT and your APN.... for me i only follow half the instructions with apn i never restart and it works just fine im even able to switch between edge 3g 4g and 4glte based on my battery consumption
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jaii:
How do you alternate between Edge and 3g/4g? I've been trying to figure this out for a minute now, and seriously miss WinMo's BandSelect >.<
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jedah:
Is there a way to tell if I have an LTE sim? I looked at my SIM card, and it only has the AT&T globe w/ some numbers on it. Doesn't mention 3G or LTE.

Don't worry, no intentions of getting the One X. Just wanted to make sure it was the network and not my phone.

Location definitely plays a part. My current area (LA) isn't so fast. But, when I went to Vegas, my download speeds were in the 40s.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] intenseone:
*#2263# get into service mode but instead of LTE go to gsm and follow the same instructions from op. I right now dunno how I did it but it does it all automatically for me depending on which area I'm in and if the network is poor.

i did some research as to which bands provide which title eg LTE: 14 is the rogers band for LTE. GSM 1900 is 3g/4g for rogers. i intend to unlock my phone to read aws band without changing the radio. WIND moblie has far superior packages and pricing. rogers is married to my bank account
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mikedlp:
Here is my LTE speed.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ElBeaner:
In Dallas I get mid to high 20's avg, but back when I first got the phone, I was hitting high 40's, low 50's. Ever since the iPad came out, I haven't seen those numbers.

---------- Post added at 01:05 AM ---------- Previous post was at 01:04 AM ----------

In Dallas I get mid to high 20's avg, but back when I first got the phone, I was hitting high 40's, low 50's. Ever since the iPad came out, I haven't seen those numbers.

Wish I could do a test. I went over 5GB and am being throttled right now.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SomeDooD123:
Is it absolutely necessary to be on TOUCH CLOCKWORK?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
That seems to cause less issues. I have been using it for months. I would recommend, but not sure it is absolutely, positively necessary.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xidcat:
Yeah, same here in San Antonio. Went to the AT&T store today to check on an upgrade and wound up with a 15 minute sales pitch on why I had to buy a new iPad or the Earth might stop spinning. Almost bought one to shut them up.:eek:

Love the word throttled, brings back memories of Homer Simpson choking the crap out of Bart, maybe should be a new sign in the AT&T store.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] RiNo808:
Anyone having trouble sending mms? I can receive but I can't send...help please..
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] seanzscreams:
Attention Everyone!!!!!

i know you dont want to hear it

but just start over

so many things are solved

by just going release 2 base

to update 6
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] alwayslookingforanswers:
Thanks for a another awsome piece of work Sean! You are a beast bro!!!! You made another day GREAT!!!! :D
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Altarocks:
All I can say is wow. Great work, both quantity and quality. Thanks!! :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mostyle:
Stay awake when the device is connected to a power source.

Sean: See your PMs :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Lucidmike:
Thanks for the hard work seanz.

Did update 6. I can't get the "USB Debugging" mode to stick. If you enable this, reboot, and it is unchecked. Additionally, I don't think it is actually enabled once it is checked.

Update: I blew everything away, and started from scratch. The Debugging mode is good.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ukic:
Tyvm for a very fast rom! Btw, what's that white line up top, is that by design? The one by the status bar.

EDIT: Figured it out, didn't search for "white" :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] peaster3:
Seana- it's been like Christmas every day this week. A new present under the tree every morning. Thanks for all you do, bro.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] daviebeach:
That white line is there just to aggravate people who don't bother to read through the entire thread. Or use the search function. :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ukic:
You are very helpful, thank you very much. We need more people like you.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] WheresWaldo:
This is a setting in the Play Store, you have to turn off auto add widgets to home screen.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ukic:
My gps is not locking in. Last post about gps lock issue was page 77 and I haven't seen a resolution for it. Any ideas?

EDIT: S-Voice not working also. I'm going to try the one from my galaxy note.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Dirtburgler:
Search the developement forum. Issue has been covered countless times in numerous threads. Search search search. Connect to more sats.

i727-ucle2-SkY IcS
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ukic:
Some fixes are not compatible with other roms. Since this is the thread for this particular rom and couldn't find answers from previous posts, thought I might ask.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] seanzscreams:
Try clearing app cache svoice works perfect iwas literally playing with it for twenty mins no crashes try like i said earlier and starting over bc it solves many issues
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Datron:
I've had the same issue since his first UCLE rom released, including with each update and v2. :(

Skyrocket Sky ICS xda premium NOOB WARRIOR
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ukic:
Yes I did and it worked. Tested again 2 more times and I got fcs.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Jrockttu:
I'm in frisco, just north of Dallas, and get the same results. Super fast when I first got the phone, then around 10, back up to 20 on this new radio. My ul seems to be the worst I've seen, though, under 3 lately.

I found a tower a couple weeks ago and hit 39 as I drove by.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] y2whisper:
haven't tested version 6 yet Sean but in the link below the files contained in that zip also allow for changing the wake command for S-voice.

http://xdaforums.com/showpost.php?p=26447743&postcount=332
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] daviebeach:
@ukic i deserved that one. It was uncalled for. Sorry
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mimart7:
For you guys who are having problems, you should to a factory reset, install the base, and then update. I would also format your sd cards. Of course, you should back anything you want to your pc.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Skyrocket2Paradise:
System ui crashes when I flash a battery mod on update 6
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] slam666:
Anyone having issue with Calendar with Nexus DPI mod? I am missing the last week when I display the full month.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tonyfiore75:
+1
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] iceman4357:
Thanks for the new work. Did you release base 2 on the 17th of May or is this a new build? The base I downloaded on May 20th says SKY ICS 4.2E.zip which is exactly the same size as whats in your link. Just wanted to make sure I am already on release 2 before I flash update #6.

Could you please change the Base name to 4.2E2 or something like that so everyone knows which base it is?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] smalis:
Sean, is it ok to use the battery mods on update 6?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bacuy82:
+1 on this... However.. I downloaded the aosp calendar in play store and i use that instead.. Works and look much better imho.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ReedX50v:
@seanzscreams: Thanks for this!

Try using the UOT Kitchen to pick your own. UOT Kitchen
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tonyfiore75:
It's posts like this that piss people off. There are already battery mods in the OP. A simple question was asked if they can be used with the latest update. It's an innocent and valid question. This has nothing to do with the UOT Kitchen. Yes, a person COULD go to the UOT Kitchen. A person could conceivably do many, many things. But this was a direct question about something that already exists. Telling someone what they COULD do is what starts animosity on these forums not to mention completely useless posts like the one that I've just written.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] slam666:
I am using a battery mod with update 6 and it is working fine.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jfashion:
hi guys Im having a problem where Im not getting any audio for calls, the earpiece works I know becuase I can hear the call connect tone but there is no ringing or audio when call is made. Thanks for the input in advance.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] smalis:
Plus, it does not appear that the UOT kitchen is ICS ready, although it perhaps still could be used just to mod systemui.apk. After update 5, I modded systemui.apk myself with digital battery, crysis, and my own blue BT mod, but the digital battery would only update every 15% or so. So, I would prefer to use Sean's battery mods, once it is confirmed that they are ok/updated for update 6.

UPDATE: Just for s**** and giggles, I tried using the UOT kitchen with the files from update 6. Came back with errors.

UPDATE 2: Flashed Crysis-Digital Battery from the first page. Working fine.

UPDATE 3: Spoke too soon. Lost use of home button, and other funky behavior. Re-flashing Update 6.

UPDATE 4: Problems might have been caused by me - I re-flashed update 6, then re-flashed Crysis-Digital Battery from the first page (with my own Blue BT mod), and now all seems to be working. I will update again if any problems.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ReedX50v:
You should relax. I don't think I could have been clearer in my attempt to help. Perhaps an emoticon?

Someone (Guitarboarder28 ) already flashed the battery mod from the OP and it didn't work. So I mentioned an alternative in the event they still can't get it to work. Jeez. (Also, UOT claims to be ICS compatible).
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Skyrocket2Paradise:
I can't even download any of the battery mods it says media fire is down
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] kronikwisdom:
Base 2 feeling good or will there be a 3rd next week? From the updates it looks stable enough but wanted to confirm before going from the last leak.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Skyrocket2Paradise:
Its all good
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chicofiebru:
What a Macho man, tell the same words in front of his face. Hahaha if you dont like others people's question, simple, dont waste your time writing back. Haha true story
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mimart7:
They seem to be up for me. Try clearing your browser cache, and try again.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] projeqht:
Hey Sean, is the Ongoing Settings button in the Dropdown Menu necessary for Nexus LCD Density?

I figure you only put it there for the users that opted to go with Nexus LCD + Navigational Softkeys?

Not a big deal, just wondering :) Thanks man!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] spthomas:
Wiped and installed the latest release, everything is working like a charm. Thanks again.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] razorhog:
Hey Sean had r2 upd5 yesterday everything perfect. Read your post about better to start over from r2 base straight to upd6. I did that this morn everything still perfect except dialer is not themed when dialing but when on a call and dialpad is pulled up it is. Whats going on here, never had this split dialpad theme issue to happen to me. I have reflashed base and upd6 and still same prob. Is the themed dialpad in r2 base or update 6. Also since starting from new base straight to upd6, S-Voice is flawless.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bostonirishguy13:
Uploaded with ImageShack.us
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] stoopendis:
Are you saying re-flash the base and the update 6 directly!

If so, should we wipe or just clear the cashes or...? Will this clear out all the d/l'd apps etc.?

Or just flash the base right over top of what I have there now (base + update 5)?

Thanks

(confused in BC)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Jrockttu:
Request the desktop version, it will work. It sends to block mobile user agent.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] projeqht:
I went straight from E-5 to E-6, no wipes or anything and its running fine. But then again when I was running E-5 I had no problems to begin with.

Reflashing base will just give you a fresh start (which in itself usually fixes many problems) and then when you flash E-6, Sean included default APNs in this update so that should fix the data issues some people seem to be having (whether it's something gone wrong, or if they just haven't set their APNs yet).

If you're good on E-5 you should be safe to flash E-6.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] spthomas:
Interesting, my phone no longer appears on the Google Play website under devices. Anyone else ever have this issue?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] thomas1097:
Hey guys. I need help for the first time ever!

I have flashed every base and update since the ics leak with absolute perfection and no problems whatsoever.

However, since update 5 I've noticed that I lose lte whenever I make a phone call. I tried setting the apn and I've tried reflashing the rom and update from scratch but I still get the same result.

I live in NY, the ultimate lte area :x. But now when I make a call the lte icon disappears and just the 4g stays. Help!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] lazer77:
Starting to have some weird issues i've never had happen before on D-base. Perfect time to get on E.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mimart7:
It's happened to me, too. I keep getting a click on shopping bag icon on phone, error. I just d/l'd all my apps through play on my phone.

Additional comment:

It now works.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] stoopendis:
Thanks for that.

If I was to start over...should I clear cashes etc.? Do a wipe? If done properly, would I loose all my apps/data?

Stew
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] projeqht:
But do you get LTE back after the call? I know it was always a problem with the Rogers network and SGS2 LTE that when you make a phone call, the phone drops LTE signal and goes down to 4G to make a phone call.

It always happens to me, and I get LTE right back when I hang up. (Of course unless I can't catch an LTE signal at the moment.)

Besides, I don't see the advantage of having an LTE signal for making phone calls anyways :) unless someone can enlighten me :p

---------- Post added at 09:28 AM ---------- Previous post was at 09:26 AM ----------

If you are running E-5 perfectly right now, go to recovery and Flash E-6. No Wipes necessary, no clear cache necessary.

And no, you won't lose your apps/data. You will have to reflash your mods though, like Battery Mod of choice, and if you use one of the LCD Density mods

*Edit: Oh damn, sorry I should've read that more carefully.

if you were to start over, yes you should follow Sean's installation instructions in the OP exactly. AKA Wipe Data/Factory Reset, Format System, Clear Dalvik Cache, Clear Cache. (each step multiple times to be safe).

Doing this will indeed result in loss of data and apps. Therefore if you aren't having any problems with E-5, I suggest not starting over, and just going straight from E-5 to E-6
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] marclabrosse:
Went from 4.2D-10 to 4.2E-6 this morning, everything running smooth not issues so far. Once I reset defaults for APN my Rogers LTE setup automatically popped up, very nice.

Miss the lock screen rotation mod, possible that the 4.2D lock screen mods would work with 4.2E?

Thanks.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] projeqht:
Oh BTW Sean, Update E-6 still says E-5 in the Build Number :p I'm sure you can fix it for E-7 :)

*EDIT: Nevermind, Build Number changes back to E-5 from reflashing Nexus LCD Density mod.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] thomas1097:
Why yes I do get lte back after the call..I find it weird that it drops during the call tho...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] hitekredneck:
No, lockscreen mods for 4.2D are incompatible with 4.2E. And if you were running 4.2D and only flashed the 4.2E-6 update overtop without installing the 4.2E base and doing the required wipes, then you most likely will not be running smooth very long.

Do ya do much reading? LOL
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] cbnuthak:
missed update 5

I went from update 4 to update 6, and had several issues. Do I need to do 5 before 6? If so, where can I get it?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] projeqht:
If you're curious to know why, read this short explanatory thread:

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

In any case, there's no problems right? :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Jrockttu:
I've noticed this issue on Sky ICS 4.2d and 4.2e. I haven't tried it on update 6 yet. I assume this is something in the ICS leak, or I just never noticed it on Gingerbread.

I first noticed it because I was often losing LTE when using Pandora, and it wouldn't come back until I restarted or put it in and out of airplane mode.