yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Yes I will definitely check out the next build. I has also having lag on wakeup. It was bad when receiving a phone call. 2-3 rings before the screen would turn on. Awesome work anyway.

We are a lot closer to a perfect rom with 5.1.0 then 5.0.2.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
New 5.1.1 Build is UP!

OK, here's a new build of Candy5 v2.1.0 (Android 5.1.1) for your flashing and testing pleasure. See Post #2 for more details.

Keep in mind that this is a test build, and there are bound to be bugs. As always, clean flash and a Pastebin.com logcat link please if there are any issues.

ROM: candy5-release.v2.1.0-20150422-OFFICIAL-hercules.zip

MD5: 5fc07eda294961bbddf2968e74d8b3d9

The Android 5.0 builds have been removed from here, but they're still on my AndroidFileHost.com account.

Enjoy!
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Still no mobile data without connecting to the WiFi first. Other then that the new ROM is running great.
[T-Mobile Samsung Galaxy S II SGH-T989] maestrith:
Mobile Data Issues

Hi, I flashed the most recent build and it is very good. The only thing holding it back for me is the fact that the mobile data will only connect at GSM speeds. If I switch it to WCDMA Preferred it will not connect. http://files.maestrith.com/logs/candy5/logcat.txt and http://files.maestrith.com/logs/candy5/device_info.txt are the two logcat files. The main file was over 1Mb so I could not post it on any of the pastebins. I hope that there is something in them that helps.

Also if you could let me know when you are done with the files I would like to remove them from my server. Thank you very much.
[T-Mobile Samsung Galaxy S II SGH-T989] aadi90:
new update, still lags when i unlock the device from sleep state plus random shutdowns. other than these everything is working flawless.
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
rom almost perfect for me...

fast, smooth and a lot of extra features. but the browsers always stop and closing. i've tried cm and nextbrowser and even the default browser has the same problem :rolleyes:
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Thanks for the log/info. You may delete whenever. WCDMA is also known as UTMS or 3G. I don't have T-Mobile, but you might try setting your phone's default connection type by going to the Dialer and entering *#*#4636#*#*, select Phone information, then scroll down to the "Set preferred network type:" drop-down menu.

For the Skyrocket on AT&T, I use LTE/GSM auto (PRL), but yours may be different. Try some other ones to see, like LTE/WCDMA.

I have read that CM12.1 has similar issues, so the problems are most likely upstream now.

Not seeing as much lag but it will hopefully be improving on upcoming builds. We are still ALPHA here, remember... ;)

I have no issues on Chrome or Dolphin. I stay away from the stock browser as a general rule myself.
[T-Mobile Samsung Galaxy S II SGH-T989] maestrith:
wcdma is what I need as I am on T-Mobile. With that I can not get any signal at all. When I watch it connect in the 4636 menu it keeps coming back as unknown. I know that other devs have struggled with it and Validus has it working. I still have to have wifi on with his ROM and go into the 4636 menu (I have had to do that for every 5.x Rom)
[T-Mobile Samsung Galaxy S II SGH-T989] aadi90:
Dear Developer,

random shutdown and lag issue has been resolved by changing I/O scheduler from Deadline to noop.

Thanks for your response im very happy to have this rom.(this is one of my favourite lollipop for T989).
[T-Mobile Samsung Galaxy S II SGH-T989] sw6lee:
Hi developer,

I made this request to CM12.1 thread as well, but I didn't get any reply, so I thought I would ask you too. If you add this feature, I will be really really wanting to change to this from CM12. So basically, I'm using Moto 360 with this phone, and the battery is draining so fast. I just got a new battery, so it's not the problem with that. In CM11, they mention that in their kernel, they added new drivers so that using bluetooth will not drain battery, and use only little energy, just like BLE. Some thread I read for T989 even mention that this device has Broadcom bluetooth unit, and it is possible to enable Low Energy feature even with BT v3.0.

I'm sure many other people now use Android Wear with their phone now, but for us, if low energy feature is not enabled, the phone drains battery way too fast. For me, about 1%/1.5 minutes in 3G, when screen on. It's really bad. Hopefully you can add the feature to this rom and kernel. I really really hope so. Of course, getting data working is also important. I'm on CM12 3/18 build with data working now, so maybe if this version of lollipop also has older one that has data working, I would love to switch when the bluetooth low energy feature gets added. Of course, you won't have anything gained by me using this rom, but I would really really appreciate it.

Thank you!!

PS. The link to CM11 is here http://xdaforums.com/showthread.php?t=2718129

They mention new drivers for bluetooth with lower energy in Kernel Features.
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
thanks.. it work!

by the way, is it possible for the future build of the rom to put

a storage option (internal memory or sd card) on camera?
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
New 5.1.1 Build is UP!

Test changes for possible mobile data fix. Please try this and see how it goes.

Use a GApps package that is less than 180MB is highly recommended. The smaller the better, really, or else you might end up with an incomplete GApps flash and some Google Apps won't either be installed or working correctly...

If you are experiencing BSOD issues (failure to wake from sleep without a reboot), try changing your I/O Scheduler from deadline to noop.

ROM: candy5-release.v2.5.0-20150502-OFFICIAL-hercules.zip (MD5: 18eeffcb80721336635d91c95d9214a2)
[T-Mobile Samsung Galaxy S II SGH-T989] detted:
v2.5.0 tested with t-mobile data - half Working!

Hi, thanks for the ROM that rejuvenates the S2, T989. T-Mobile connection is half-working, whether it is at right band or not I am not sure. The setting is same as my Oneplus one.: LTE recommended and T-Mobile US LTE. Oneplus one has no issue with t-mobile running CM nightly.

The previous version v.2.1.0, the wifi must be on to have data connection. V2.5.0 data stays on with wifi off. However, it still needs wifi to be on to activate the Data connection. It may take a few wifi on/off cycles. Once data is connected, wifi can be turned off.

one minor issue in both v2.5.0 and v2.1.0 with USB connection is not detected by PC. I am using wifi FTP to get the new rom to SD.
[T-Mobile Samsung Galaxy S II SGH-T989] aadi90:
Wow great news, I will be flashing it soon.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Mine connects with or without WiFi. Without it seems to take a little longer to negotiate with the "mother ship", so idk.

Hmmm, my Skyrocket connects fine to the computer... What is your Settings > Storage > (Menu key) USB computer connection set to? The default is MTP.

EDIT: Also, you can't compare a Hercules to an OPO. Go into your dialer settings with *#*#4636#*#* and verify your preferred network type is correct. Mine on AT&T LTE is set to LTE, GSM auto (PRL), and I'm on day 2 of 3g/HSPA/HSPA+/LTE data without issue. If you do change this, make sure to reboot afterwards (defaulting your APN settings might work too).
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Changing the read ahead size to 512 seems to have cleared up the studdering and sluggish performance. I will test it for a few days.
[T-Mobile Samsung Galaxy S II SGH-T989] detted:
no new tests today. below was from last night:

I checked the S2 settings on T-mobile web as well. The settings are identical. "USB computer connection" was grayed out. When making the connection, the PC detection tone was not heard. I did try "*#*#4636#*#*", seemingly not making a difference. I may not update further till perhaps tomorrow. One request: can the double-tap to wake be implemented?
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Spoke still soon, still lagging at wake. I will keep trying.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
OK these setting seem to be working.

Under clock 1458

Gov userspace

I/o noop

Read ahead 512
[T-Mobile Samsung Galaxy S II SGH-T989] aadi90:
Bro, Change I/O Scheduler to noop it will be fine. I dont get a single lag even my device is up from last 5 days.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Yeah that was the first thing I tried. The settings I stated above are working well.
[T-Mobile Samsung Galaxy S II SGH-T989] sw6lee:
Do you guys know how to improve scrolling lags, such as in Google Play Store? It's really killing me. It lags way too much. I know that our device is very old, but I'm just wondering if you know any mods or changes that helps scrolling in Play store smoother.

Thanks a lot.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
I am not having any lag in scrolling. My settings are a few post ago.
[T-Mobile Samsung Galaxy S II SGH-T989] sw6lee:
Are you sure? Even in Google Play Store? When you first open up Play Store, and scroll down. I get serious stutters. You don't have this lag?

I am in the process of installing this rom and am going to set the settings you said, but I'm not sure if that actually will help..hopefully it will.

---------- Post added at 07:50 PM ---------- Previous post was at 07:40 PM ----------

I'm not sure if it's this ROM, or that setting, but this is the smoothest version I've tested among all Kitkat, Jellybean, and lollipop. Thanks!!
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
So my suggested settings cleared up the lag?
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
You will likely see lag in the Play Store while it's downloading apps and checking things in the background when you first install the ROM. Let it settle for an hour and go back to the Play Store to see. I have always seen some stutter while scrolling there, and it is always worse when first setting everything up.
[T-Mobile Samsung Galaxy S II SGH-T989] sw6lee:
It's not that. This rom is much better, but every single previous roms I tried the best few days, even when nothing is running in the background, the play store app is just so laggy when scrolling. I thought because google didn't make the app too efficient and our device is too old to handle it.

It's still not stutter free, but it's much better with this rom. So, thank you!

but I encountered a problem suddenly. Few hours after I installed it, now the phone keeps running out of ram, and the launcher keeps redrawing. The home button responds slow because of that as well. Any idea why??

Thanks!

Hmm I think it may be that I rebooted and the kernel setting changed back to before. I just set Trickster to set on boot for all settings. Hopefully it's fine now.. :)

---------- Post added at 10:15 PM ---------- Previous post was at 09:33 PM ----------

I found out what the problem is. When I use Google Play Music (not stock one) and when the music is playing, the home screen keeps redrawing. Also, it seems like memory is running out. The play music quits itself on its own and music stops.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
I have had that issue with multi tasking since kitkat.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Turning to animations off in developer options will make the ROM a little snappier.
[T-Mobile Samsung Galaxy S II SGH-T989] sw6lee:
the phone keeps lagging now..unfortunately. :( Like if I open up chrome or something, it takes like 10 seconds to open, and it freezes. It was really really smooth when I first installed it. It's strange.

Does Seeder matter? I have seeder running. I thought it was supposed to make android smoother. I'm trying to net minimum ram with memory manager, but they don't work for some reason? They don't set the value I chose? I think root may not be working..but root worked fine for Greenify. I'm not sure. And I can't find root app or setting anywhere. It's strange.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
I don't use any apps like greenify, seeder or memory manager. I find that apps like these do more harm then good.
[T-Mobile Samsung Galaxy S II SGH-T989] sw6lee:
I got rid of all those, and I think for now it's working better.

How's your battery life with this rom? with mobile data always on? For me, it drains too much in standby. I have it unplugged for 6 hours, and screen on for 50 minutes, with 50 percent brightness. The battery is already down to 47%. It drains mostly when standby. I see that google services is using the most battery at 9%, and then Gmail at 8%, and then Adroid OS 6%, etc. Screen isn't in the top 4. Any idea why?

I really wish I can get longer standby time with this phone. :( I'm not sure what I'm doing wrong.

---------- Post added at 12:03 PM ---------- Previous post was at 12:02 PM ----------

Oh btw I tried GSAM, but it didn't help much. I think the first one of App Sucker that drains battery was Android System. Google services were close to top too i think.

Any help would be really appreciated.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Yeah my battery life is not as good as on kitkat. I haven't spent much time trying to optimize it, I just charge it more often.

Maybe I will start testing some settings to optimize the battery over the weekend.
[T-Mobile Samsung Galaxy S II SGH-T989] sw6lee:
It still keeps lagging and freezing on me. Happens when I unlock the phone after in standby for a while, the phone becomes extremely slugish, and not responding well. I don't know what else to do..
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Give validus Rom a try. It has uber kernel built in. Apps install slower but it runs smoothly. New build just got posted on Google plus.
[T-Mobile Samsung Galaxy S II SGH-T989] sw6lee:
Alright thanks. I will try that one when I get home.
[T-Mobile Samsung Galaxy S II SGH-T989] detted:
v5.2.0 user status update

Just to update the status from a user's perspective. I updated to Candy v2.5.0 my wife's S2 from T-Mobile stock Jelly bean rom on May 3. To my surprise, she likes a lot and happy with it so far, aside the initial slow mobile data connection. I have tried Kitkat and other Lillipop without gaining her acceptance. The rom is working very well for her. Since S2 has a fairly limited memory, make sure install a small GAPPs. I used "Slim_ADD-ON-5.1-MULTI_DPI-20150501.zip" around 27 MB. Thanks, NoSpamDan.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
I have partitioned my internal memory from 2GB to 6GB, installed Slim Zero GApps, and downloaded ALL I want for play store apps.

This, of course, is on Skyrocket, but same difference really. I used the Herc instructions and PIT file (modified size).
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Yes I pit partitioned my Hercules to 4gb. You can get me pit file from the Google plus community.

https://plus.google.com/104070983454129185809/posts/bMRH2MMiwbf
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Couple notes on the latest build.

Volume button to wake option is not available.

Storage is not working when connected to the computer. The option to adjust the setting in the storage menu is not working.
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
Mobile network state Problem

:confused: just wanna ask... why the Mobile Network State Disconnected when wifi is on. and Connected only when Wifi is Off. i wanna know how to resolve this, because i can't get any calls when i'm connected on wifi.

thanks in Advance!
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Answer this, and fix our data issues... Lol

I'm actually testing some changes that might do the trick... Stay tuned.
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
Stop complaining, start doing!

[MENTION=4435460]NoSpamDan[/MENTION] you are just too nice. I have the answer actually for anyone who keeps bringing this up over & over & over & over & over & over & over: switch ROMs or build your own for crying out loud!!! We have stable KK ROMs with working data, use them or you don't have any right to keep on with this subject unless you bring a solution to the table. I'm not using these ROMs so I've held off saying anything but the redundancy of the comments in these LP threads is past ridiculous. On top of it no one will even offer logs which you have practically begged for nearly every post. Also people who keep asking about how to install these ROMs would you please do a little research & read the OP? Is it really that hard or what am I missing here? I don't get it but I guess I'm too old school. When I started I taught myself, read posts, did searches and learned through trial and error. I rarely asked questions and got by just fine because I did my homework instead of taking the lazy way out and asking somebody to hold my hand with each step. Now it seems noobs especially want somebody to walk them through everything and not do one thing to learn on their own. That's called being lazy or it used to be anyway.

I know we're practically at EOL given this device's age so the quality of feedback & development has dropped way off which is to be expected, but geez something has to be said here by us few vets that are left around here. End rant.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Thanks. The noob comments are why I enabled the Q&A sections of my threads...

Happens every time a new Android version is released... ;)

On a positive note I may have the mobile data issue sorted, but I'll need people to test and verify. And of course logs if not. [emoji14]
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
I will test it.

---------- Post added at 03:27 PM ---------- Previous post was at 02:30 PM ----------

I see the slim post I will give it a try.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Working on a good Candy build. Got data fixed, just need to squash some build errors.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
New Build

OK, hopefully, you guys are in for a treat. I have still seen some lagging, but it's not evident why yet.

This one should have mobile data fixed. Sorry it took so long to get this together. I've been out of state for a week... ;)

ROM: candy5-release.v2.5.1-20150515-OFFICIAL-hercules.zip

MD5: 51d7b3ca1e81401016d4cdbb5469bf06

I tested with Slim Zero GApps. The Micro GApps might work, but definitely NOT the Normal or Full ones.

Go to Settings > Performance, set the IO Scheduler to NOOP and set it to apply on boot.

Feedback on this ROM is welcomed. Please, if you have issues, CLEAN FLASH the ROM only and make sure the issue can be duplicated. If you want it looked into, provide a logcat and the steps to reproduce. I will NOT support Xposed, custom kernels or repartition issues, etc...

ENJOY!
[T-Mobile Samsung Galaxy S II SGH-T989] detted:
Thanks. Installed a few hours back. No need to toggle or to turn on wifi to get T-Mobile service. It took about 15 seconds from a cold boot. However I have been fighting the darn "unknown google play services error" or " Google play services has stopped" and still raging on. Can the camera save files to the external SD?

(BTW, USB connection is still not working, not detected by a PC., not sure if ROM related.)
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Nice work. Loving this ROM.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
The lag is definitely not from the I/O. It is the interactive CPU governor. Our phone has had a lag problem with interactive since JB.

So long story short to solve the lag, change your governor. I am using ondemand. No lag.
[T-Mobile Samsung Galaxy S II SGH-T989] OldeCrow:
I also have no usb on the 515 build and no lag with on demand gov :good:

tried the latest validus 5.1.1 build and it doesn't have usb either, must be a feature of the 5.1.1 source ;)
[T-Mobile Samsung Galaxy S II SGH-T989] aadi90:
Bro I'm using interactive governor with Noop I/O and didn't get any lags from last month.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
At least we have options and there is a way to have it work for all.
[T-Mobile Samsung Galaxy S II SGH-T989] aadi90:
You are right bro i was just confirming.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
https://docs.google.com/file/d/0BwpTHxovFCCMSWUzREMwOERKOU0/edit?usp=docslist_api

Link to logcat of computer not recognizing USB storage. I have tried this with both Windows and Linux. This log was when I tried to connect with Windows.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Also I am not having this issue on Validus.
[T-Mobile Samsung Galaxy S II SGH-T989] theprogram1:
I am not able to install gapps due to low system space. Is there a way to fix this?
[T-Mobile Samsung Galaxy S II SGH-T989] bigmike6200:
Your drive needs to be re-partitioned. Read the OP.
[T-Mobile Samsung Galaxy S II SGH-T989] theprogram1:
I'm sorry, I couldn't find any information on how to do that.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
?

You just need the Zero gapps or some gapps less than around 120MB. Repartition not needed, nor did I mention this in the OP.

I think Sultan did some virtual system repartitioning, but you needed a special version of recovery. I mentioned repartitioning in my Skyrocket Candy5 thread, and those instructions would apply here as they're actually for the Hercules. Using those instructions, created a 6GB /data partition for apps. I think the files included a PIT file to repartition /data to either 4GB or 8GB.

I'll post the link to those instructions in a bit, however, just to be clear, it won't affect the size of /system...

EDIT: Here's my Skyrocket thread post I mentioned:

http://xdaforums.com/showthread.php?p=60874937
[T-Mobile Samsung Galaxy S II SGH-T989] OldeCrow:
reflashed the 5,15 build no usb problems this time, I think it was a hickup on the PC side, running great even has respectable battery life!

spoke too soon, it does still have the usb bug, still too awesome to give it up though, it looks spectacular with a S5 or S6 theme applied!
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Updated build...

ROM: candy5-release.v2.5.3-20150529-OFFICIAL-hercules.zip

(MD5: cf0dddcdf6ff437fd5e250f8d652a8a5)

Test it out and see how it goes, folks. Sorry, no changelog right now. Candy Github source will have to cover it...

As per the usual, if something is not working (except 1080p video recording), clean flash and post a log here with your description of how to duplicate.

Enjoy!
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Running well. Still no USB connection, or volume to wake. I also got a soft reboot when trying to turn off USB debugging.

Lag I completely gone, an no Random reboots. At least not yet.
[T-Mobile Samsung Galaxy S II SGH-T989] wvuravens-fan:
Huh, 2 days with no problems then the phone Random Rebooted over night while I was sleeping.

Also my phone is not going into deep sleep after a partial charge. It sleeps fine after a reboot, or a full charge.

I will try and follow up with some logs.

Still running smooth with no lag.
[T-Mobile Samsung Galaxy S II SGH-T989] sidkud:
Running fine, no lag or Random Reboots.

How do I enable the Navigation bar. Thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Get an app on the Play Store called "Skyrocket Charger Test". Yes, Skyrocket, lol. :cowboy:

Install it, start the program once, and thereafter whenever you plug your phone it, it will provide a notification to tell you the charging rate and whether you have a charger wake lock like it sounds you do... such wake locks require a reboot or plugging into a "good" charger for a few seconds to release them.

These wake locks only seem to affect the GSII's we have, and can be caused by a worn USB cable, dirty USB connector, incorrect charger (think Apple here), etc. In fact, I had some Griffin chargers which I disassembled and modified to solder the middle two pins together to avoid this. Apple-certified chargers have pins 2 and 3 open, our Samsung ones do not, they are soldered together. There are cables which have the pins connected internally too. :)