yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] raptor170:
Heres the fix sultanxda posted

Those of you with systemui force closes on the February 2nd build, please flash this: https://www.androidfilehost.com/?fid=95916177934521713

Mobile data has been confirmed to be fixed with the February 2nd build ￼
[T-Mobile Samsung Galaxy S II SGH-T989] JukiCro:
so from next update we can say it's ready to be daily rom :)

sultan u the man:good:
[T-Mobile Samsung Galaxy S II SGH-T989] ayr0:
I can confirm that data works on Feb 2 build.

I am experiencing an issue during calls. When making a call, the recipient complained that it sounded like I was talking into a tin can (the recipient is an audio engineer and he suggested it sounded like crazy aggressive noise cancellation, or the mic was covered (which it is not)). After a few seconds, the mic cut out completely, and he could not hear me at all. In Kitkat, there was a setting where I could enable/disable noise suppression during calls. Is it possible to enable/disable noise suppression in Lollipop?
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
How's the battery?
[T-Mobile Samsung Galaxy S II SGH-T989] chefbahri:
Yes !! data works Great ROM thanks :D
[T-Mobile Samsung Galaxy S II SGH-T989] obscuresword:
For me on boot it drops 3% on boot so I start with 97% instead of 100% lol.
[T-Mobile Samsung Galaxy S II SGH-T989] OldeCrow:
Phone hasn't done a proper google one time init since the 1-31 build, it's really important that the phone be able to do a proper restore from the market, one of the best features google ever added to android...

don't know about new data fixes, I only use it on wifi...
[T-Mobile Samsung Galaxy S II SGH-T989] MomentumV:
Should I just flash the system ui fix pre-emptively, or should I wait to see if I experience the force closes?
[T-Mobile Samsung Galaxy S II SGH-T989] LiquidPlatinum:
Data works! Thanks Sultan. I'm not sure if you can help me with this, but I'm having trouble installing any apps or themes or whatnot from the play store. After it's done installing it says that it failed to install. Any thoughts?
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
for Root Access

no need for SuperSU to be installed. just go to...

Settings > Developer Options > Root Access > Apps Only
[T-Mobile Samsung Galaxy S II SGH-T989] tekkieg:
Lock Screen says "charging" even when unplugged.....
[T-Mobile Samsung Galaxy S II SGH-T989] DannyJames84:
Anybody able to help me with flashing this ROM? Going KitKat to Lolipop is the first time I've had any issue flashing.

TWRP 2.8.4.0

Wiped internal sd, system, cache, dalvik cashe

Swiped to flash zip and it just stayed at "detected filesystem ext4..." I let it sit for 20 minutes and it made no progress.

Phone is t989 rooted & unlocked.

It's my first time posting because...well, I've never needed help before! (THAT sounds arrogant)
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
Well looks like Sultan did it, never thought it'd be this fast (if at all) but persistence does pay apparently. Tested data for about 5 minutes with no drops. Restored all apps with ease (TB now works with CM12 superuser), no systemui FCs and this looks great. Looks like it's time to move on from KK! If everything holds up this will be an overall seamless transition especially when compared to early KK ROMs when they first came out. The Hercules gets it's ninth life here.

BTW anyone notice the build now says Hercules? Thanks Sultan.
[T-Mobile Samsung Galaxy S II SGH-T989] DannyJames84:
May have figured out my problem: does Full wipe include /boot as well?
[T-Mobile Samsung Galaxy S II SGH-T989] aloknand:
Is Swipe2Wake enabled on this ROM?

Hi Sultan. Good job on delivering the Lollipop so fast. I want to know if Swipe2Wake feature of the touch keys is enabled on this ROM!! Since my power button is broken I'm completely relying on panaroid android's Swipe2Wake option. I would love to install this ROM if the option is available.
[T-Mobile Samsung Galaxy S II SGH-T989] kylek389:
I started using the cm-12-20150131 build but I get random freezes e.g. when I go to open and read sms, which then I have to reboot and get black screen with only top bar after bootup. Wiping /cache partition helps to fix this. FYI I'm a noob. I wiped all partitions before installing this build except the /efs and radio firmware AFAIK.
[T-Mobile Samsung Galaxy S II SGH-T989] obscuresword:
The option is there to enable it the easy way download tricksters mod and go to specific then screen wake controls and enable it on.
[T-Mobile Samsung Galaxy S II SGH-T989] Lourde:
Had to flash the SystemUI patch, but this is the one! Many thanks, Sultan!

Only issue I had was Google Play not wanting to download over mobile data, kept getting a message that background data needed to be enabled. If anyone else has this issue, clearing the app cache for Play and forcing it to close from System - Apps did the trick.
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
You shouldn't wipe your internal SD

---------- Post added at 02:27 PM ---------- Previous post was at 02:26 PM ----------

Also has a problem when using the built in battery saver
[T-Mobile Samsung Galaxy S II SGH-T989] aloknand:
Thank you, I installed it..

---------- Post added at 02:56 PM ---------- Previous post was at 02:51 PM ----------

Hi Sultan. I flashed the ROM and working good. However I noticed few lags when returning from menu screen to home screen. With 12hrs on Lollipop, Main screen crashed 2 times by displaying only the wallpaper. Had to remove battery to restart. Hope your next update resolves this issue. Thank you for keeping this device alive.
[T-Mobile Samsung Galaxy S II SGH-T989] DannyJames84:
Thanks Foehammer. I'll checkout trying to flash tonight. Just to be clear if this should work:

In TWRP

1. Backup

2. Factory reset

3. Wipe Cache/Dalvik Cache

4. Wipe system

5. Flash zip
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
I wouldn't wipe system just do the normal procedure

Backup

Factory reset

Wipe cache

Wipe dalvik

Falsh rom /kernel/fix/gapps
[T-Mobile Samsung Galaxy S II SGH-T989] ayr0:
Battery life seems to be slightly worse than KitKat (according to Android's own estimation).

From a full charge, it predicts ~ 7hrs of battery life.

Also, the BLN seems to be broken somewhat. When a new notification comes in, it doesn't blink, but the light stay solid on. Is this expected behavior?
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
For me, the prediction. Is if its on airplane mode with screen off, meaning its not accurate
[T-Mobile Samsung Galaxy S II SGH-T989] tekkieg:
Battery Life

So far after a couple or 3 reboots the battery life seems to be better....

and the "Charging" on the lock screen is gone with the charger unplugged....
[T-Mobile Samsung Galaxy S II SGH-T989] obscuresword:
Battery life got better for me after flashing at 100% then wiping stats. I'm at 87% battery life when before I was at like 70-75%
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Derp, this is a bug. There is a chance that the light will stay solid after the BLN blink timeout expires. But, this gives me an idea. I think what I'll do in the next release is code BLN to keep this behavior 100% of the time, so when the blink timeout is reached the backlights won't turn off, but instead will stop blinking. Then the light will stay solid on and the BLN wakelock will be removed, so you can still see if you have a notification without the BLN wakelock draining the battery.
[T-Mobile Samsung Galaxy S II SGH-T989] ayr0:
That sounds fine. I don't mind the behavior, it was just different than what I expected it to be.

Does the device have to wake up every time a blink occurs?

I assume the LEDs don't draw that much power. So keeping them on won't affect battery life that much, right?
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
The LEDs themselves don't use much power, but that isn't the problem. The CPU cannot enter suspend while BLN is actively blinking, due to the BLN wakelock. This means that if your device is suspended and you get a notification (and you have BLN enabled), then the CPU will exit suspend while BLN is blinking the keypad LEDs. While this is going on, the CPU can only enter idle (not suspend), so battery life takes a hit. The CPU is prevented from going into suspend for the entire duration that BLN is active (this means that if you set your BLN timeout to 10 minutes and BLN blinks consistently for 10 minutes and then stops, then your CPU was kept from entering suspend for every second of the entire 10 minutes). The reason why the BLN wakelock is necessary is because our keypad hardware does not support blinking on and off like a notification LED. In other words, the firmware for our keypad i2c controller does not have a dedicated mode to make it act like a notification LED, so we have to emulate this blinking via software in the kernel, and that requires the CPU to not be suspended (otherwise BLN won't blink very erratically).

We only need the CPU to be awake in order to blink the LEDs on and off. We don't need the CPU to be awake if we keep the LEDs on without blinking them.
[T-Mobile Samsung Galaxy S II SGH-T989] RogueCoyote:
This sounds like a great idea so we can still see we have a pending notification after the 10 minute blinking period is over. Thanks Sultan!
[T-Mobile Samsung Galaxy S II SGH-T989] DannyJames84:
Worked like a charm! Thanks!

On a side note: did Sultan say that he fixed the phone model info? I read that it was reporting as 727 for some people, but my phone info shows t989.
[T-Mobile Samsung Galaxy S II SGH-T989] ayr0:
Well, it looks like I need to modify my BLN settings then to be a much slower blink (or no blink at all). I hope when the CPU is working during BLN, that it is doing so at its 192Mhz speed.
[T-Mobile Samsung Galaxy S II SGH-T989] tekkieg:
Battery Stats

would someone remind me again how do I wipe battery stats?

been a long time if ever I have done that....thanks.....
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Reducing the blink speed won't really make BLN use less power. The only way to turn off the BLN wakelock is to use the Always On setting (so it doesn't blink at all).

Though power loss from BLN will be negligible with the next release, where the always-on mode will be used after the BLN timeout is reached. That way you can keep your blinking lights and BLN enabled as a whole, while still saving power.
[T-Mobile Samsung Galaxy S II SGH-T989] danishdish:
While you were talking to your mother, did some screaming 80s hair metal band come on? I know most moms would freak.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
New build uploaded with kewl stuff.
[T-Mobile Samsung Galaxy S II SGH-T989] nagoshi:
I tried to install the 20150202 build. Factory reset, wiped system, then flashed the ROM, SystemUI fix and Gapps micro. Everything went "well" (aside from my nonworking WiFi/Bluetooth/GPS which has been somewhat dead for two years now...).

I got around to go through the entire Parameters and rebooted it to put it aside. Then it started rebooting continually... if I use it, it doesn't reboot, but if I leave it with the screen off for a while, the phone performs what Ill call a soft-reboot after a few seconds, meaning it doesn't go back to the Samsung T989 screen, only straight to the blue Cyanogen face loading screen.

Aside from that, everything seemed to be working on my canadian T989D, including data! which is crucial since I has no wifi lol.

Will give 20150204 build a try tomorrow!
[T-Mobile Samsung Galaxy S II SGH-T989] obscuresword:
Use the app from the play store lol. https://play.google.com/store/apps/details?id=com.nema.batterycalibration&hl=en

---------- Post added at 09:42 PM ---------- Previous post was at 09:40 PM ----------

I didn't even know that audio going to max was an issue lol. I thought it was poweramp and viper4 android being weird.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
I'll fix your soft reboots in the next build.
[T-Mobile Samsung Galaxy S II SGH-T989] Lourde:
I thought that newer versions of Android cleared battery stats on their own every time they were charged to 100%. Is it necessary to wipe them with an app?

Oh, and music was Yoshida Bros. They jam on a three string shamisen that's kind of like a Japanese banjo, but throw in elements borrowed from rock, pop, smooth jazz, all sorts of stuff. It's like instrumental oriental rockabilly. I don't think she was hearing them on her end.
[T-Mobile Samsung Galaxy S II SGH-T989] JukiCro:
it just depends on you, I used that app in past all the time after flashing but after I read about battery stats I stopped doing that...it's just your choice,it will not do any harm, wipe it or not it's no big difference, but that's my opinion:)
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
Works great so far no problems, can someone post the code to disable cpu boost?
[T-Mobile Samsung Galaxy S II SGH-T989] ayr0:
To disable cpu boost, you can run the following in a script

echo 0 > /sys/module/cpu_input_boost/parameters/input_boost_ms

However, I've noticed that cpu input boost does help a little. So I scale it back some. On every boot, I run the following lines. They basically tell cpu boost to boost the frequency to ~600Mhz for 1 second on every screen interaction. So far, it feels just as responsive as 1134Mhz for 1.2sec.

echo 1000 > /sys/module/cpu_input_boost/parameters/input_boost_ms
echo 594000 > /sys/module/cpu_input_boost/parameters/input_boost_freq

I've also shortened the blink duration for BLN to 3min by editing the kernel config because I notice 90% of my notifications within the first 3 min.
[T-Mobile Samsung Galaxy S II SGH-T989] RogueCoyote:
Just jumped over to CM12 and liking it very much. Thanks for bringing it to the Hercules!

I'm having an issue with bluetooth, it connects and plays over car speakers for a split second but then the music would get paused. Also, a couple times when I toggled bluetooth I got a Bluetooth Share has stopped working error. Is this the same bluetooth issue that is mentioned in the changelog? Thanks for any advice on this.
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
Its possible it could be related to an issue with the Google now launcher, attempt to use a secondary home launcher (nova, launcher3, etc) and see if it works, hope I helped

---------- Post added at 06:50 PM ---------- Previous post was at 06:50 PM ----------

Thanks so much!
[T-Mobile Samsung Galaxy S II SGH-T989] RogueCoyote:
Already using Nova as my launcher. Thanks though.

Update: Cleared the cache and data for Bluetooth Share and rebooted. Working fine now.
[T-Mobile Samsung Galaxy S II SGH-T989] pat2014sj:
How to root

I just flashed the lastest bulid. So far so good. But the rom not root. When I tried update superSu binary,it alway failed. Can anyone tell me how to root ?
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
Go to settings>build number (tap repeatedly)> go back to settings> into developers options and then root access to apps and adb
[T-Mobile Samsung Galaxy S II SGH-T989] mint403:
I've been getting random freezes with the last few builds. Usually it's after I wake the phone and try to open a notification, it freezes on the lockscreen and the hardware button lights stay lit. I have to hold to power button to turn it off. Sometimes the freeze happens while it's asleep as well. Thanks for the great rom, only issue I've had so far! =]
[T-Mobile Samsung Galaxy S II SGH-T989] MomentumV:
This 'lights-on but no one home' freeze has happened to me a couple of times as well. Capacitive buttons stay lit, but have to pull battery or long press power.
[T-Mobile Samsung Galaxy S II SGH-T989] pat2014sj:
Thank you.
[T-Mobile Samsung Galaxy S II SGH-T989] KURDKiNG:
Amazing rom but after feb 4 build its stuck on bootloadee on softrebboot so i have to preesss power to restart lol but best rom
[T-Mobile Samsung Galaxy S II SGH-T989] endimon:
Hi there,

i have some problems when installing this latest rom build:

Installing update...

detected filesystem ext4 for /dev/block/mmcblk0p 24

detected filesystem ext4 for /dev/block/mmcblk0p 25

after this nothing happens, must reboot device manually...

using clockwork mod recovery, this is my first time issue...
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
How long did you let it wait? And are you doing a clean or dirty flash, people have had problems with dirty flashes, try clean
[T-Mobile Samsung Galaxy S II SGH-T989] endimon:
I let it for about 20minutes, was doing clean flash, formatting system/data/cache... still waiting, nothing happens... weird because i didn't do nothing with partitions and internal memory, was using slimkat 4.4.4... and i didn't have this issue with first versions of this rom, just from feb 4... i can install this version from jan 7 for example... maybe i should format internal SD or something?
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
Okay try this,

Make sure you have the most updated version of CWM or TWRP recovery

Then get the ROM, kernel, and gapps

Backup

Factory reset

Wipe cache

Wipe dalvik

Install ROM, kernel, and gapps

And see if this works
[T-Mobile Samsung Galaxy S II SGH-T989] endimon:
still nothing... it's latest 6.0.4.3 CWM...
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
Hmm I don't know what's wrong then, the only thing I can think is to flash back to original with Odin and start over
[T-Mobile Samsung Galaxy S II SGH-T989] JukiCro:
check md5 of zip you flashed
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
A few weird things after updating the kernel to 1.7. On the lockscreen I am seeing "No service" instead of T-Mobile (even though I do have service) and I am getting a lot of freeze up on opening some apps. Also after first boot the lockscreen won't load until I put the phone to sleep and then wake it.

After reverting back to 1.6.9 all is well again.
[T-Mobile Samsung Galaxy S II SGH-T989] endimon:
http://prntscr.com/61f9y6

it seems ok... a bit annoying and frustrating, tryin'all day long...

edit: installation succeded after those messages... suddenly... cheers everyone
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
As usual, I spoke too soon. Now I am getting FCs when I try to access apps settings in system settings. Things seemed to be going so good until today!

Log: https://www.dropbox.com/s/fhn8y7ystoal6q2/2015-02-05-12-36-25.txt?dl=0

NVM I solved the problem, it was a theme I was using. After reverting to the default theme things are OK.
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
Cool guys! Good luck!
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
This has no correlation with the 1.7.0 update... The only difference in 1.7.0 that 1.6.9 didn't have is some BLN updates. A lot of the issues right now are upstream issues from the ROM itself that are outside of my control.
[T-Mobile Samsung Galaxy S II SGH-T989] RogueCoyote:
Hey Sultanxda had a couple requests I would like to run by you.

1) Is it possible to permanently disable the Low Battery Notifications? Or add an option in settings to "Enable/Disable Low Battery Notifications." Not sure if it helps but this Lollipop ROM has such an option. http://xdaforums.com/showpost.php?p=58520021&postcount=1

With your CM11 ROM I used an Xposed module to disable that notification but not available for CM12. I have a MIUI style battery bar across the top of my screen so it's easy to see battery level and don't need a constant notification saying battery is low.

2) I don't use the Google search app so I froze it but now I have a grey box that says "Couldn't add widget" on my recent apps list. Anyway to get rid of this? Searched and this seems to be a problem across all Lollipop ROMs but figured it's worth asking.

Still having an issue sometimes with my bluetooth not playing media properly (just figured out how to take a log cat so will get one next time it happens), otherwise everything is working great, no FC's or any other issue.

Thanks for your time and the great ROM!!!
[T-Mobile Samsung Galaxy S II SGH-T989] ayr0:
[MENTION=4800121]Sultanxda[/MENTION]: what does mean that "SELinux is currently set to permissive"?
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
can i make a request or ask, is it possible for future builds to put an option on camera for storage location. i prefer the micro sd card as default storage for camera because images and videos can also eat a lot of memory. also for lock screen wallpaper/background. there's a Theme Engine now for cm12 and that's awesome. but there's no option for custom image or option to choose images from the gallery to set as lock screen wallpaper, you can only use wallpapers from themes you installed.

by the way this Rom realy awesome. just those simple feature that i'm hoping to see in the future :fingers-crossed:
[T-Mobile Samsung Galaxy S II SGH-T989] foehammer1982:
The camera does have the option to chose storage area
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
It's all good. Overall I'm happy with where this is. To help with lag I resorted to the oldie but goodie Seeder app. It doesn't work with the built-in superuser but will work with Super SU. I also got rid of Chrome, got hold of the bookmark sync adapter from the full PA Gapps package (which our phone doesn't have the room for) to get my bookmarks with the stock Android browser like I had with KK. These two things have helped quite a bit. Chrome is just way too RAM intensive for our device and causes freeze ups every time I try to use it.
[T-Mobile Samsung Galaxy S II SGH-T989] Charwinger21:
Switching to a different launcher will probably fix that.

You froze an app that the Google Now Launcher relies on.

It means that SELinux is currently off because the builds are being signed with test keys.

It's a bit of a security issue, but it is a necessity for now. It will likely be fixed down the road.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
No idea what test keys you're referring to. SELinux is turned off because we don't have proper SE policy exceptions in place, and creating those exceptions is painful, a helluva lot of work, and extremely painful. It's also very difficult to properly account for all of the possible use-cases. I'm not going to touch SELinux for as long as I can.
[T-Mobile Samsung Galaxy S II SGH-T989] RogueCoyote:
I'm having this issue while already using Nova launcher but thanks for trying to help.

[MENTION=4800121]Sultanxda[/MENTION] I got a log of my bluetooth issue. I was listening to the Music App this morning, after a while the music paused on it's own so I turned off bluetooth and that caused the "Unfortunately, Bluetooth Share has stopped." error to pop up. Toggled bluetooth a couple times, music would play for a split second when it connects but then it pauses again, error would pop up again upon switching bluetooth off. Same thing when using Pandora. Hope you got time to look at this. :confused: :fingers-crossed:
[T-Mobile Samsung Galaxy S II SGH-T989] endimon:
when i installed last build for the first time, i got some kind of 'whisp push' notification... i cannot see play store or anything related to google services...
[T-Mobile Samsung Galaxy S II SGH-T989] md1008:
If it makes any of you guys feel better about Bluetooth. Bluetooth on the nexus 6 is not at all flawless.
[T-Mobile Samsung Galaxy S II SGH-T989] metalicfann:
latest update and I've had no issues what so ever very nice and solid

Flashed latest update and it appears perfectly smooth and solid the build before this I had a freeze about once every 2 days or so but now I gotta say rock solid so far and I've been using this lollipop since the 4th. Awesome.!!!!!!
[T-Mobile Samsung Galaxy S II SGH-T989] Lourde:
My lockscreen has been replaced by a frame out of the last YouTube video I was casting to my Chromecast. Not heartbreaking, the Persona 5 trailer was sweet.

The "Cast" option for this ROM can find our old Roku but doesn't notice the Chromecast; it's not listed on the device list.
[T-Mobile Samsung Galaxy S II SGH-T989] OldeCrow:
One time init is working in the 02/04 build again, the google market restore page is dark themed though instead of light like the rest of the setup.

It's working again though! :good:

oh and this rom is aswsome too! :)