yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] pjedi:
Actually, now that I turned it on again it's also at times does not connect to the Wind network but roaming on the Telus network. I wonder if it's because there's no "WCDMA preferred" option? Or bad signal strength where I'm testing it.

However, I haven't yet updated the phone to the latest SELinux version of this ROM. I'll have to try it and see if it improves things.
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
Battery Drain

Most everything is good but found a couple issues. First the phone no longer deep sleeps no matter how many things get disabled. Cell standby is using an abnormally high amount of battery, it's the number 1 thing in fact unless I have a lot of SOT. I'd say battery consumption is double so far of KK. I tried using the latest LP Xposed framework so I could activate more features in Greenify out of desperation, but apparently they are having a lot of issues with it right now. It either doesn't install correctly or causes bootloops. Tried two different Xposed apps, official and unofficial. Anyway, that is a separate thing.

The other issue is not all folders show up in MTP on my external card, even after 3 attempts, reboots, etc. I can work around this a bit in TWRP however this creates issues when editing/creating playlists, editing files, etc.

Overall this is the best attempt at LP I have experienced, very fast performance. I may have to revert back to my CM11 setup for now but will nandroid this for sure and try the next update,
[T-Mobile Samsung Galaxy S II SGH-T989] mobilis2009:
Well done, with this version, the mobile data issue (with KOODO) has been fixed, very satisfied overall

Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
Great Rom! but video recording doesn't work on me?
[T-Mobile Samsung Galaxy S II SGH-T989] pjedi:
I'm also able to connect to the WIND network, no problem with this latest SELinux enforcing ROM.
[T-Mobile Samsung Galaxy S II SGH-T989] all4adriver:
Somehow I *always* seem to hit a snag somewhere. Perhaps someone will be able to assist me?

1. MAKE SURE RADIO & RECOVERY IS UPDATED

UVMC6 and TWRP 2870 flashed via Odin v3.09

2. FACTORY RESET (IF COMING FROM ANOTHER ROM)

did this

3. INSTALL ROM

no issues with pa_hercules-5.1-20150704

4. INSTALL SUPERSU

no issues with UPDATE-SuperSU-v2.46

edit: everything from here onward now works when using Beta SuperSU v2.49

5. THEN GAPPS

bails with error 70. Not enough room. Does this with both

tk_gapps-modular-micro-5.1.1-20150705-signed

tk_gapps-modular-nano-5.1.1-20150705-signed

6. REBOOT AND ENJOY

Sadly no. Proceeding without flashing a new gapps gives me:

"Unfortunately, Setup Wizard has stopped."

I cannot seem to clear it as it happens again immediately. I've searched this thread (and solved a number of odin/twrp probems on my own to get here) but if I've somehow overlooked this exact issue, please point me in the right direction!

I've found many a mention of this issue, but only on much older ROMS and the answer was always "upgrade", and then the thread(s) die so I assume it worked?

I seem to be stuck...

Help?

edit: continuing my research - is it assumed we have modified our PITs to increase storage? Not being able to flash a nano gapps is kind of crazy, no?
[T-Mobile Samsung Galaxy S II SGH-T989] Tornado15550:
Try installing the newer beta version of SuperSu - v.2.49 and see if it works. It fixes some audits with 5.1.X. I installed the rom with tk gapps nano with no issues.
[T-Mobile Samsung Galaxy S II SGH-T989] all4adriver:
gapps install took. Looks promising--rebooting now.

edit: progressing through initial setup now. I wish I could click the thank you button 1000 times for your speedy response/fix! Thanks!
[T-Mobile Samsung Galaxy S II SGH-T989] mint403:
Data isn't fixed. I'm losing data regularly requiring a reboot to get it back. I'll try and get a logcat the next time it happens.
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
I had this ROM on my phone a few days and data never did drop. Is your APN set to T-Mobile?
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
Camera Video Recording Problem

is it me the only one having problem with the camera? i can't record a video! video recording doesn't work for me. :(
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
New Update

New build up. This release has mostly device-specific fixes.

Changelog

1080p recording is back (and fixed)

Disabled odex compression (should fix Xposed)

USB settings can now be seen in Settings

SELinux improvements

I had issues uploading to XDA, so you can find the download here.
[T-Mobile Samsung Galaxy S II SGH-T989] LimeliME:
It says it's recommended to flash the Mini or Micro Gapps, but I keep getting error 70 (not enough space) any solution to this ?

EDIT: I tried the re-partition which increased the system partition up to 1.2GB (I know I can flash nano but I tried not to go there since Micro has all the features I needed) But after flashing the Rom (using TWRP 2.8.7.0), the system partition changed from 1000mb back to 500mb. Using resize didn't help either, it keeps giving me this error:

[COLOR="Red"]E: /sbin/resize2fs /dev/block/mmcblk0p24 process ended with ERROR=1
E: Unable to resize '/system'.
E: Error resizing file system[/COLOR]

Any ideas of what is wrong? Help would be greatly appreciated :)
[T-Mobile Samsung Galaxy S II SGH-T989] ehtshamulhaq:
Cellular Network Issue!

Hi Bryan,

I'm on "07-04-15" with last TK Pico gapps. Your rom works great specially I've a good battery life. Except, this one, serious issue I'm facing with Cellular network since I got to 5.1.1. I doubted if there was a problem with your rom and believed that it has to do with area I'm in or service provider itself. I tried different things but couldn't get rid of the issue. The issue is that

1. cellular network settings get stuck suddenly regardless of whatever setting is selected i.e. 2G, 3G or LTE, I couldn't know why and when.

2. and instead of showing the actual settings it shows a message (something like) "choose network type". (It might not be the exact message as I can't simulate the problem manually).

3. once it appears I can't change or select any of three settings and it keeps on showing the same message. *#*#4636#*#* doesn't work either.

4. Phone starts consuming battery like it will deplete in minutes

5. Phone gets very hot

6. If I power off the phone it gets stuck on "shutting down" or shuts down incompletely, screen is black but if you touch the screen LEDs get on.

7. I can't restart the phone as well.

8. I've to remove the battery and start over

I've captured a catlog which I'm trying to attach if it could be useful to resolve this issue. This is my first time with catlog so excuse me if I made a mistake and guide me to get a proper catlog.

I hope you'll consider looking into this even if you don't I owe you a lot of thanks. Best regards,
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
This ROM uses block based zips, which I believe causes problems with repartitioning. So avoid using it. Make sure, if you haven't already, that you wipe system before you flash, if coming from another ROM.
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
Try the latest update and see if it solves any of your issues.
[T-Mobile Samsung Galaxy S II SGH-T989] JukiCro:
Lockscreen visualizer doesn't work for me when playing music and can you update default launcher because when I remove g search bar I get graphic glitch and this version is lack of some new goodies and gets fc sometimes (I use it because it's the fastest)...

anyway these are just little things and I like the way you made this rom pretty stable and for me the best out here for now

keep it up and ty:good:
[T-Mobile Samsung Galaxy S II SGH-T989] ehtshamulhaq:
I hope it will. But why isn't it listed in downloads for downloading, am i missing something?
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
I had issues uploading to XDA. So you can download it here instead.
[T-Mobile Samsung Galaxy S II SGH-T989] true_lies:
making or receiving calls when connected to a bluetooth device seems to be broken. the phone connects fine to my car audio system, plays music fine. but all i hear is weird noise when i receive a call or make one.

plus don't see the 'performance' option in settings when i enabled developer mode. is it not supported?

otherwise coming from sultan's CM12, this ROM is great. no sleep of death in this, whereas used to get 2-3 times on cm12 daily. and loving the 'Gesture' options in settings. :good:
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
The lockscreen visualizer is a CM feature, its not included here.

Bluetooth issue should be fixed now. The performance menu isn't included. You can use apps like TricksterMod or Kernel Adiutor instead.
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
New build up.

Changelog

- Bluetooth: fix issue with making calls

- Support for block-based OTAs for those with custom pits

- Misc audio fixes

NOTE: Downloads are on AFH. Links on first page.
[T-Mobile Samsung Galaxy S II SGH-T989] exerramun:
Working fine installed like update. Greetings.
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
Update breaks SuperSU and superuser. No way to restore it either, even with TWRP. Also ROM storage is now completely out of room. Brian is there anyway to bake SuperSU into the ROM in future updates to prevent this?

Deleting some apps in recovery to free up space and placed SuperSU app and script into system files, still no go. Not having a good day with this device to say the least.

Edit: used a flashable ZIP of Super SU to get it back: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip Worked just fine thankfully! BTW I read the OP about having to do this on first install, I guess you have to on every update as well.
[T-Mobile Samsung Galaxy S II SGH-T989] ulibube:
Wrong network name

After a dirty flash of the update I now see AT&T displayed as my network, which is wrong. My carrier is T-Mobile, not AT&T, and I cannot roam on AT&T, but data is working, so it's an incorrect display of the current network name.

I was traveling in AT&T areas the last few days (back in my T-Mobile home area now), can't rule out that that has something to do with it. I've rebooted several times since, but it still says "AT&T".
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
Quick notes. ROM is very fast as before, but MTP still does not show all files on internal/external SD card. I can't get UMS apps like Multi-Mount to work because they are outdated. This is the reason I never liked MTP on JB, it did the same thing then too. Unless I can fix this I guess I'll have to dig around and see what ROM is going to work for what I need right now.

I hate to sound like I'm complaining (which I am), because I know Bryan and the others are doing the best they can, and frankly it's a wonder they bother with virtually no thanks or user feedback. I would more or less describe it as frustration with LP being released for so many months and the old Hercules apparently is just never going to catch up no matter how much time passes and fixes are made. Android M is already on the way too. I would say if you are someone that can do without browsing your SD cards on your PC this ROM is fine. At least data does work too.
[T-Mobile Samsung Galaxy S II SGH-T989] JukiCro:
audio mode

does somebody know is there any good and compatible audio mode with this rom that can replace viper?
[T-Mobile Samsung Galaxy S II SGH-T989] khukuh:
Dear Brother

I found something that maybe not important for this rom, clash of clans and few little game force close on this rom..

Thanks for great rom
[T-Mobile Samsung Galaxy S II SGH-T989] modrate:
hello this rom is really great but some games force close alot like clash of clans and sometimes it Fc then the phone reboot everything else is good
[T-Mobile Samsung Galaxy S II SGH-T989] LimeliME:
Somehow, flashing this Xposed file (I flashed ARM version) for the Rom takes forever to boot and not able to boot up android at all :(

In other words I can't use xposed with the Rom at all. Did I did something wrong? Anyone else have this problem? If you are had successfully flashed xposed on this Rom, can you tech me how;)? Help would be greatly appreciated :good: :fingers-crossed:
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
When I briefly used this ROM I had the same thing happen when I tried it, and for the record it was the LP compatible version of the the app. Xposed is a no-go for this ROM although the problem may be with the app , it has taken the developer a long time to get it updated and there are probably some kinks to still work out.
[T-Mobile Samsung Galaxy S II SGH-T989] modrate:
hey guys after a while of using this rom , i had some random restarting whenever the phone freezes or when i open the keyboard sometimes , why is this happening ? and how to fix it please i like this rom and dont want to change it thanks dev
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
New build up.

Changelog

- Enabled zRAM & zCache with lz4

- Updated DisplayCalibration controls

- Disabled dexpreopt (restores /system space; MicroGapps & Xposed should work now)

- Misc fixes
[T-Mobile Samsung Galaxy S II SGH-T989] :
Just installed newest version (7/27) and installed UPDATED SUPERUSER and used BANKS gapps. Whenever i try to open the playstore it just closes up again. I cant get it opened. any ideas?

PS. im not sure if its a feature but whenever i press home screen nothing happens. It does work if i press it down and the task manager pops up. How can i fix this?
[T-Mobile Samsung Galaxy S II SGH-T989] exerramun:
Tray mini gapps. It works form me.
[T-Mobile Samsung Galaxy S II SGH-T989] :
downloading now. will try. thanks

---------- Post added at 10:22 PM ---------- Previous post was at 09:40 PM ----------

I keep getting an error 40 on TWRP and fails. Ive tried all of them. the only one that seems to work is the micro one but when phone boots up it gets stuck on the "checking connection" screen and just keeps checking.,
[T-Mobile Samsung Galaxy S II SGH-T989] ulibube:
Nice size reduction!

My T-Mobile network still shows up as "AT&T"...

Latest TK GApps working well.
[T-Mobile Samsung Galaxy S II SGH-T989] :
Ok got it figured out. Got through up to downloading play store apps then phone restarted on its own :(
[T-Mobile Samsung Galaxy S II SGH-T989] :
Random restarts and when it boots I have to wait because of "Android Upgrading". Every time it force restarts.

This is with TK Gapps Micro
[T-Mobile Samsung Galaxy S II SGH-T989] :
I also get a lot of random. "Forced close " messages. Not able to use specific app until I restart phone.
[T-Mobile Samsung Galaxy S II SGH-T989] arusiasotto:
If you've been flashing a lot of roms, such as sultans, or modified pits and the like, I would recommend ODIN back to stock and start fresh. That is what I ended up having to do to mine.
[T-Mobile Samsung Galaxy S II SGH-T989] :
ill try that now. Having to wait half an hour for it to reboot is not fun. Hopefully it fixes the force closed problem as well.
[T-Mobile Samsung Galaxy S II SGH-T989] Pollo Jack:
Happens when you are running out of space on the internal storage for apps. Moving stuff to SD sort of helps but the real culprit is likely a song/podcast/map downloader installed on a previous mod wasn't set to download to SD and this mod didn't do a proper wipe of the internal storage when it installed.

Wiping everything but boot, but even wiping boot would be allowed if you install a recover and mod before rebooting. Then install your mod, shouldn't happen again if you specify programs to use your sd card. If you don't have one get one, they are cheap.
[T-Mobile Samsung Galaxy S II SGH-T989] kma221:
one more thing bro the sound in sgh T989D in all lollipop roms is so low for both internal and external speakers. Its really bad i can hardly hear my ringtones and alarms even with full volume and incoming calls sound during call is very low its not even close to stock rom 4.1.2 JB. Pls fix it thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] ehtshamulhaq:
07-18-2015 release!

Hi Bryan,

You know better the technical difference between 07-18 and 07-27 nightlies but honestly 07-18 is much much better in terms of battery consumption and cell signal as well. Thumbs up :good: for that but I love flashing the latest nightlies always but in this case I had to compromise and roll back to 07-18 from 07-27. I'm not sure what the next nightly would do.
[T-Mobile Samsung Galaxy S II SGH-T989] blakegriplingph:
And I assume that you have to flash to the latest official Android build in order to get the radio you mentioned, yes?
[T-Mobile Samsung Galaxy S II SGH-T989] arusiasotto:
You can flash the radio separately.
[T-Mobile Samsung Galaxy S II SGH-T989] blakegriplingph:
You have a link to it?
[T-Mobile Samsung Galaxy S II SGH-T989] arusiasotto:
I'm sure one could find it somewhere on this page...

http://xdaforums.com/galaxy-s2-tmobile/development
[T-Mobile Samsung Galaxy S II SGH-T989] nabilbek:
am on the latest kitkat paranoid (lollipop had a bit of problems for me)

thing is, I cant get my 4g/lte to work

I keep getting H+

tried different radios ... any ideas ?
[T-Mobile Samsung Galaxy S II SGH-T989] arusiasotto:
The device does not have LTE, it is only an HSPA radio.

Source:

http://www.gsmarena.com/samsung_galaxy_s_ii_t989-4129.php
[T-Mobile Samsung Galaxy S II SGH-T989] Tornado15550:
Will we see the stagefright vulnerability patched in the next build?
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
Yup
[T-Mobile Samsung Galaxy S II SGH-T989] trout14:
I just flashed this on my daughters phone, but she said that she can't use Pandora? Searched, but did not find anything recent regarding this. Can someone let me know if there is a workaround?
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
No issues here
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
New build up.

Changelog

- Stagefright patches included

- Theme Engine updates

- Battery icon & percentage options (Can be found in battery settings)

- Fix some issues with Voip calls (audio patch should no longer be necessary)
[T-Mobile Samsung Galaxy S II SGH-T989] mint403:
Just updated and now occasionally when I unlock the screen my phone will be black, but the buttons will still light up. I have to turn off the phone to get it to come back on and it has to do the whole "android is upgrading thing" which takes forever.
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
still no Ringtones for me... even my musics are not all showing up on music players. :confused: :rolleyes:
[T-Mobile Samsung Galaxy S II SGH-T989] cameraddict:
Which issues? I haven't installed your ROM yet... hopefully time will allow me to this weekend. But I use both the native dialer and Hangouts for calls. On an old KK build, using Hangouts to make calls would result in a broken mike for the native dialer, requiring a reboot.

Is this a problem with your 5.1 build? Or is this the fix you refer to?

Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
That should be fixed now in the last build
[T-Mobile Samsung Galaxy S II SGH-T989] cameraddict:
Awesome! Thanks for the info.

Can't wait until I can finally install!

Peace
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
New build is up

Changelog

- Fix loss of audio when using headphones

- Adjust zRAM size
[T-Mobile Samsung Galaxy S II SGH-T989] blakegriplingph:
I assume this would work just fine on the UVMC6 baseband, yes?

Also, is it normal for the phone to take 30 minutes to an hour to boot for the first time? I know it takes a while but it's my first time installing Lollipop on a friend's phone hence why I'm asking. It ended up in a boot loop so we had to roll back to stock, hence why I'm wondering whether we did something wrong with installation.

What we did was to install TWRP using this guide, updated it to the latest version, and then flashed AOSPA, SuperSU and GAPPS all at once.
[T-Mobile Samsung Galaxy S II SGH-T989] cameraddict:
I'm far from a developer! However, I've flashed more roms than I can count, going back to 2006 using Windows Mobile! And I can say that I have never had a first boot take this long. Something sounds amiss.
[T-Mobile Samsung Galaxy S II SGH-T989] blakegriplingph:
Care to point me towards a working procedure? I'm no developer either, yet I'm no stranger to flashing things as I've done this for a long while since the Symbian days.

I have a hunch that this might be due to the fact that I flashed all zips in one go, hence the ridiculously long boot time.
[T-Mobile Samsung Galaxy S II SGH-T989] obscuresword:
It took me less than 10 minutes to install this rom. However, I did had to reboot it midway through cause it didn't show the "Android is updating" like it was supposed too. Note: I used CWM instead of TWRP.

You could try installing the rom first then installing super user and gapps after it boots up for the first time.
[T-Mobile Samsung Galaxy S II SGH-T989] blakegriplingph:
I assume that all I need to do first and foremost is to flash the latest TWRP via Odin, right?
[T-Mobile Samsung Galaxy S II SGH-T989] Phateless:
You probably forgot to factory reset. Common rookie mistake.
[T-Mobile Samsung Galaxy S II SGH-T989] obscuresword:
I'm not sure cause I've never used TWRP to install any custom rom on the Hercules, even though it's recommended for most of them lol. I'm thinking that is correct (or flash the latest one this rom wants). Did you try doing a clean install like the post above said?
[T-Mobile Samsung Galaxy S II SGH-T989] blakegriplingph:
Hmm, yeah, though the instructions state about doing so only if I previously used another custom ROM. Ah well.
[T-Mobile Samsung Galaxy S II SGH-T989] Phateless:
That really means ANY other rom, including stock.

Install it again, do a wipe data/factory reset, and it will boot.

After it finishes booting, give it 10 mins to "settle" before you start setting up.
[T-Mobile Samsung Galaxy S II SGH-T989] blakegriplingph:
Agreed. Again, I'm no stranger to flashing and/or modding ROMs, but I think the OP should've clarified it a bit.
[T-Mobile Samsung Galaxy S II SGH-T989] obscuresword:
Did you get it working?
[T-Mobile Samsung Galaxy S II SGH-T989] blakegriplingph:
There, 'tis working now. :D
[T-Mobile Samsung Galaxy S II SGH-T989] MrParo:
Lost my root during an OTA upgrade. Build number : pa_hercules-userdebug 5.1.1 LVY48C 1030f28778 test-keys. Flashing SuperSU binary posted here did fix it.
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
You have to flash SuperSu everytime you flash an update. You can prevent this by installing the SuperSU backup script (its in SuperSU settings). It keeps SuperSU installed after flashing an update.
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
New update is up. Check the OTA app (should be working now) or the AOSPA-L website.

Changelog

- Several vulnerabilities patched

- OnTheSpot: ability to disable immersive message

- Battery saver enhancements (can dismiss or swipe away notification)

A detailed changelog can be found on our gerrit.
[T-Mobile Samsung Galaxy S II SGH-T989] MrParo:
Did you guys remove the long press back button kill foreground app option? It is not available in Developer options or in any of the custom rom option menu's to my knowledge. It also does not work by default.
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
It was never included as far as I know
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
i really like this rom, i really want to use this but.... i still don't know how i can make my musics and ringtones visible. :crying: :confused:
[T-Mobile Samsung Galaxy S II SGH-T989] MrParo:
I know it was present in a previous version of PA as an option under Developer Options. Might have been removed since PA 5.