yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
MHL is disabled from the kernel level. Honestly, it's very difficult to debug and fix MHL on such an old device that I don't think it's worth the time. Even if I did get it working it wouldn't work well at all.
[T-Mobile Samsung Galaxy S II SGH-T989] kelbaez:
oh i get it.. well thanks for the response.. I just found my old MHL adapter and tried it out and didn't work, I though it was a HW problem.
[T-Mobile Samsung Galaxy S II SGH-T989] crazydude10:
Just curious.... Does that mean USB otg also will not work ?
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
USB OTG works fine.
[T-Mobile Samsung Galaxy S II SGH-T989] Orionpax5000:
icons disappear of my desktop

when i move apps to the sd memory with the application "all in one toolbox" erases icons of my desktop every time I restart, Is there a solution or recommendation for this?

clarify that I do to save space in main memory.

Thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] jrc2:
I've had this problem with several ROMs on the Hercules and on the stock rom on a Moto G. It was fixed by switching the launcher. I just had to try a few and see which did not do this. I believe that Nova Launcher didn't have this issue, but I cannot remember.
[T-Mobile Samsung Galaxy S II SGH-T989] tronmech:
I had this problem on the the cm launcher and Google Now Launcher. Switched to Apex and didn't have that problem anymore. I think the launcher stays before the internal SD card is mounted, or for some other reason can't find apps. But that's a WAG.
[T-Mobile Samsung Galaxy S II SGH-T989] Orionpax5000:
I think it's a small failure sultanxda rom, the rom android 4.3 cyanogenmod not have that ruling, but the battery lasts less against a rom compared to the sultanxda.

i have proven several launchers: nova launcher, the apex, google now, launcher +, all launchers delete icons when it restart your smartphone. :confused:
[T-Mobile Samsung Galaxy S II SGH-T989] eric93se:
So my camera app "open camera" failed on new years eve, lol. Sultan I sent you the last kmsg, but I will put it here too:

http://s000.tinyupload.com/?file_id=17672975037119836362

If you test the app yourself, the settings I changed was jpeg quality was set to 100%, flash was on and ISO was set to auto. The app completely freezes, it may take the picture but it will freeze and it won't save the picture. Restarting the app it says something like the camera may be in use elsewhere or something. Its an awesome app, worked great in the past.

Happy new year everybody! :D
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
So I know cpu min is supposed to drop to selected min freq from 1134MHz (boost) but I've just discovered mine isn't. I recently installed trickster mod which is where I noticed this behavior. Trickster mod also shows no time being spent at anything lower than 1134. I've uninstalled trickster mod and re-flashed kernel but the issue persists. I'm running the latest build (dec. 27) and 1.5.2 kernel. My cpu governer is set to "on demand".

Any help is much appreciated and... Happy New Year!

Edit: forgot to mention that changes to CPU min freq do not stick.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Just to double check, go to Settings->Performance->Processor and don't touch the screen or any buttons on your phone for a few seconds. What is the minfreq now?
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
Still 1134
[T-Mobile Samsung Galaxy S II SGH-T989] OldeCrow:
[MENTION=4800121]Sultanxda[/MENTION]

This is the first non TW rom I have tried for the sgsII that is as fast and stable as stock 4.1.2. If it wasn't so darned cold today I would take my hat off too you! ;)

even the weather on the lock screen is working, seems to be really difficult for most devs out there to do but it's just working right from the start!

Thank you!
[T-Mobile Samsung Galaxy S II SGH-T989] JukiCro:
does anyone have little bug in default messaging app where there is no background color behind texts only white background no matter of theme you use? I can't post screenshot right now sry...it's a little annyoing when I can't easy see differnence between receiver and sender when I am outside:p
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
New kernel uploaded with CPU input boost derps fixed.
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
That was fast, as always. Thanks!

But i hate to say that min freq still stuck on 1134.

Anyway it doesnt seem to hurt as im at 20% battery with 3hrs45min sot over 14 hr period.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Then it isn't the boost driver's fault. With v1.5.3, the boost driver will never set your minfreq to 1134MHz during the unboost period: https://github.com/sultanxda/sultan...f45#diff-1d4e88f195b1a6a667b14f6d221e0255R110

EDIT: It was actually impossible before for the boost driver to get your minfreq stuck at 1134MHz because all modifications to the minfreq (boosting & unboosting) are routed through a single interface in the driver, so there was no way for the driver to become confused and keep the minfreq at 1134MHz.
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
help?

My phone randomly freezes and reboots sometimes?
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
See... I should've kept my mouth shut. I just couldnt figure it out after searching all over for an answer, i turned to this thread. Thanks for your help.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
If you're overclocking then I'll tell Santa to get you an iPhone for Christmas next year :p

Please give me your last_kmsg after the reboot.

3hrs and 45min of SOT is pretty good (heck, that's better than my Nexus 5), so I wouldn't worry about it. On the bright side I fixed some redundancies in the boost driver so there's that. At this point the boost driver should be very difficult to break.
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
How do u get that?
[T-Mobile Samsung Galaxy S II SGH-T989] kelbaez:
So any ideas or recomendation for the min stuck to 1134mhz cause i just checked after installed v1.5.3 and im getting the same here
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Google it ("how to get last_kmsg xda" or sumthin).

My recommendation is to ignore it and stop trying to fight it. If your battery life with my ROM is several times worse than with other ROMs, or you have definitive evidence that the input boost driver made a mistake and didn't unboost your CPU (unlikely), then post about it.
[T-Mobile Samsung Galaxy S II SGH-T989] coch:
Another recommendation would be to make sure you flash clean, and second, check if the culprit could be any other app you've installed or tweak you've applied.

If you've ruled out all this there's something uncommon going on that will require more troubleshooting.
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
help?

My CPU gets really hot when playing games.

Getting 60° sometime.

Using all default kernel settings. Just flashed ROM

From stock ROM
[T-Mobile Samsung Galaxy S II SGH-T989] eric93se:
Sultan, kernel 1.5.3 throws an error when using the reboot after install check box:

"E: Error executing updater binary in zip"

But it still lets you finish. Using TWRP 2.8.1
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
I will switch to a kernel-based thermal driver that I made for the HTC Sensation. It works much, much better. Our current thermal daemon from Samsung isn't throttling the CPU at all at high temperatures.
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
[MENTION=4800121]Sultanxda[/MENTION], one other thing I forgot to mention is that when I had Trickster Mod (uninstalled ATM), turning off MP-Decision wouldn't stick either. My reasoning to turn off MP-Decision is per recommendation from this thread: http://xdaforums.com/showthread.php?t=2601318 to make sure I stay underclocked. My max freq is set to 1242MHz and honestly I don't see the difference in having it at 1836MHz, but maybe I don't do anything that is CPU hungry. And can anyone tell me what the CPU Voltage is supposed to be at 192MHz. I also under-volted by one step (-12500) but not sure that stuck either. Last I remember, 80000 was the voltage at 192MHz. Is 80000 default or 812500?

BTW: My battery is the best its ever been but recently I've been keeping some things turned off when I don't need them like WiFi, data, and auto screen rotate. I only sync (wish I could turn sync off) Google plus uploads (only does it when charging), Gmail, contacts and calendar. I track down wakelocks the best I can. There's more, but this is all advice given in the battery saving threads floating around XDA. I also don't have a lot of additional apps installed. I'm just on a mission to squeeze as much battery as possible. I'm sure I can now can get 4+ hrs SOT over at least a 15 hour period. Some claim that battery life from Rom to Rom is minimal but its hard to pass up all the changes that Sultanxda has implemented into this Rom which all have actually helped battery AFAIK.

Have a great day everyone! Happy Friday!
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
Thank you. Would be much appreciated !
[T-Mobile Samsung Galaxy S II SGH-T989] spit2fire4:
I'm a newbie... So far... Its a great ROM .. Really smooth.. But it doesn't seem to charge when ever I switch the phone off.. I tink it has something to do with the kernel.. Or am I the only one with this issue?
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
No your not the only one. This ROM doesn't charge when the phones off.

Its most likely a kernel issue.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Has nothing to do with the kernel. Off-mode charging is broken on every KitKat ROM here.
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
Bummer. I was hoping it was something that could be fixed
[T-Mobile Samsung Galaxy S II SGH-T989] kepler1729:
Huh? I just charged it last night after turning the phone off, and it worked. -_-

The only issue I've noticed is that it throws tantrums turning on after turning it off and charging. I have to unplug the phone, take out the battery, and then reboot it. However, my phone still charges. Strange.
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
If I take out my battery, my battery instantly drops like 5-10%
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
All these issues being mentioned are bizarre. My phone is on the 11/9 ROM and latest kernel. My phone charges whether on or off. On the min CPU frequency I didn't have that issue with 1.4.7 or before. Now on 1.5.3 yes the min CPU frequency will not go below 1134. I may try a script later but really it doesn't bother me. Battery life is no different.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
The off-mode charging animation isn't working correctly, and then there are other strange issues with it like that.

Honestly, I've never really tested it much. I thought it was completely borked.

If I take out my battery, my screen suddenly goes black.
[T-Mobile Samsung Galaxy S II SGH-T989] ulibube:
Off-mode charging was working correctly for me with the then-current PA Kitkat in early November. I even got it to work right with your ROM later in November by restoring a PA Nandroid backup and clean-flashing or restoring your ROM/Kernel over it. Weird, but it worked. Not sure about the exact steps. I had the full charging animation and everything. Sadly, this trick failed me when I installed your latest a few days ago.

I am just saying this in case it might provide a clue to the cause, or hope. I love your ROM!

BTW, it may not be necessary to take the battery out to boot up from broken off-mode charging - I unplug and hold down the power button for 20 seconds or so and it will boot up.
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
That does work thanks !

---------- Post added at 04:37 AM ---------- Previous post was at 04:37 AM ----------

Trolololololo

You know what I meant :p, when I take out my back, THEN put it back in and power it on. Battery is depleted.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
[MENTION=4787340]jrleathers[/MENTION]

Good news, I finally managed to get my minfreq stuck at the boost frequency. Your minfreq will only get stuck at 1134MHz if you try changing your minfreq during a boost. I was one of the few who never tried fighting against my boost driver so I never saw this behavior before (funny how that works, eh?). I bet this is user_policy vs policy crap in cpufreq...

I'll adjust my code to fight back against the user so that this doesn't happen :p

EDIT: Fixed it: https://github.com/sultanxda/sultan-kernel-celox/commit/ff0b2f4fd443674a813b9dbbe08d8917a247748b

*trollface*
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
New kernel uploaded with all da annoying bugs squashed (like the one above). Now if you try fighting the input boost driver (or the new thermal driver) it will fight you right back! :p
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
[MENTION=4800121]Sultanxda[/MENTION]

So I've been running minimum at 1134 MHz and while i type this I'm currently sitting at 37% battery after 25 hours with 2hrs SOT. It would actually be better had I not fallen asleep using chromecast for youtube (lost 18% overnight).

And...If i knew it was a fight I would've tried harder, ha.

They don't call it the Hercules for nothin :p
[T-Mobile Samsung Galaxy S II SGH-T989] erik yescas:
not work gangstar vegas is closed to start the game. :(
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
Not complaining... Just reporting that my minfreq still wont stick when changed. If it helps, I also tried changing max freq: changes made above 1134 will stick but not below. Maybe thats just because max cant be set lower than min? If it helps further, here's a log. Although im really not worried about all this because my phone works fine. Thanks again!

https://www.dropbox.com/s/7kldetbnv7vn18n/2015-01-03-09-54-03.cpufreqbug.txt?dl=0
[T-Mobile Samsung Galaxy S II SGH-T989] Cthulhus:
Is it safe to over clock GPU to 320?

Would it mess up CPU thermal throttle?

Will over clocking CPU also mess with the thermal

Throttle at default kernel setting?

And is performance the worse governor because

It apparently drains the most battery?
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Changes made to your minfreq while the CPU is boosted will be completely ignored! Your minfreq is going back down to 192MHz now, right? You can't lower your maxfreq below 1134MHz because the maxfreq of the CPU must be greater than or equal to the minfreq. When you touch the screen to try and change your maxfreq, your CPU is boosted, so setting your maxfreq to below 1134MHz when that happens is not possible. This is how it is on my Nexus 5 too (since the Nexus 5 also has input boosting).
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
[MENTION=4800121]Sultanxda[/MENTION] If its dropping below 1134 then its not showing me. Maybe its on my end?
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Check the amount of time the CPU has spent at each frequency in Trickster Mod. 192MHz should have a good chunk of time/percent used.

If it doesn't, then you might have some app or init.d script that's setting your minfreq to 1134MHz on boot or something.
[T-Mobile Samsung Galaxy S II SGH-T989] jrleathers:
Well... A reboot fixed it??? Thought the boot after installation was good enough. But i also had set on boot checked and i unchecked it bfore rebooting.

Thank you for your help.

Edit: now minfreq can't be changed it stays at 192 ha
[T-Mobile Samsung Galaxy S II SGH-T989] eric93se:
Kernel v1.6 gave some poor performance on the Wifi speed test app, down/up I got 9/15, 11/17, 15/20. I normally get 3x-4x that (on previous kernel). So I tried installing the previous kernel and wifi is totally non functional now :(

Sultan, do I have to use the aroma installer to remove all kernel mods before I can revert to an earlier kernel?
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
We

The WiFi driver itself has not been touched at all in v1.6.0, it is just packaged into the kernel differently. I used the Speedtest app and compared WiFi performance on v1.6.0 against my Nexus 5 from the same location.

Results:

Nexus 5: 72ms ping, 15.70mbps down, 1.98mbps up

SGS2 w/ v1.6.0: 50ms ping, 14.49mbps down, 1.92mbps up

There is no issue with WiFi.
[T-Mobile Samsung Galaxy S II SGH-T989] eric93se:
Hmm, those number look like they are from your phone's data provider and not Wifi. Also it's not comparing the previous kernel to the new one. I mean, I believe you but I just need to do the comparison and see for myself.

How can I get the previous Kernel on my phone to compare, because my Wifi transfer rater had been really good. As I mentioned before, installing the previous kernel breaks Wifi.

edit: I must have had too much caffeine. I see your comparing the previous kernel with the nexus phone and the new kernel with the t989, but it doesn't look like wifi.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
It's WiFi. My ISP advertises my internet as 18mbps downstream, and I tested WiFi in an area with bad signal from the router. My GS2 does not have a SIM card in it.
[T-Mobile Samsung Galaxy S II SGH-T989] eric93se:
So I did a fresh install with the previous kernel and got the same results. I guess it might be the fact that its a Saturday and a lot of people are on the net. I did switch around some stuff on my router and got it back up to 34 down and 25 up. Using a cheap (used-ebay) Linksys E4200 with tomato shibby firmware.

Donating to the SultanXDA magic :D
[T-Mobile Samsung Galaxy S II SGH-T989] sshurato:
bug?

After the update I got inverted axis on gyroscope

For instance: I move the cellphone up and down , it interpreted like it was moved from right to left
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
I accidentally uploaded the wrong kernel :P
[T-Mobile Samsung Galaxy S II SGH-T989] stere0123:
Thank you for this great ROM! I have been using it for over a month now and it is the fastest and most stable one that I have tried (and believe me I've probably flashed this phone 50+ times in the 6 months I've owned it). Also has some really nice extra features.

Can confirm inverted gyroscope in latest version. It also appears that the light sensor is reading improperly (probably related), e.g. where it would read 0 lux it currently reads 7 lux, and etc. Camera takes pictures with a large grey box/corruption on the bottom (in landscape) and side (in portrait), possibly also related. Proximity sensor and magnetic sensors are unaffected, others untested. Everything else in the latest ROM+Kernel works great though (actually better performance-wise compared to previous versions).
[T-Mobile Samsung Galaxy S II SGH-T989] Charwinger21:
Wait, so which kernel should we update away from/avoid?
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
Uploaded the correct kernel this time :p I had accidentally uploaded a Skyrocket kernel.
[T-Mobile Samsung Galaxy S II SGH-T989] sshurato:
still buggy

Just updated to the newest kernel, but the problem with gyroscope persist
[T-Mobile Samsung Galaxy S II SGH-T989] Airwolf84:
Just had an issue with the volume rocker not working. I was getting no sound even though volume was maxed. Had to reboot.

This is with 1.6.0B
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
Here's the fix by Sultan: https://www.androidfilehost.com/?fid=95887005526787186
[T-Mobile Samsung Galaxy S II SGH-T989] stere0123:
After dirty flash of latest correct kernel (did not wipe), gyroscope inverted problem still persists, but other problems with incorrect kernel (e.g. grey box/corruption in edge of pictures) no longer exist as far as I can tell. Will try the gyroscope fix posted above.

EDIT: Gyroscope fix did indeed fix the gyroscope.
[T-Mobile Samsung Galaxy S II SGH-T989] RogueCoyote:
It's been a while since I updated the ROM on my SGSII (still running 4.1.2), the Bluetooth bug among others had been stopping me but after much research and reading through this thread, this ROM looks like a big winner! Only thing missing that I use is the BLN but sounds like Sultanxda is hard at work on it, is this correct, it will be added in the future? Will take it for a test drive in the mean time, seems easy enough to update the kernel later on wohoo!
[T-Mobile Samsung Galaxy S II SGH-T989] mcu99:
Great rom for a day and now all of a sudden my text messages are coming in all weird. Seems like I am getting weird characters or the first letter of each word. I also noticed the caller ID name to have weird charachters. Besides that everything else seems normal. It was working 100% the first day. Any ideas?
[T-Mobile Samsung Galaxy S II SGH-T989] muddyhikers:
Great rom. Thanks for all the hard work.

Only issue I'm having is fairly fast battery drain, including battery drain when the device is plugged in. Navigating with Google maps is especially bad, where its about 10% an hour when plugged in, and about 65% an hour when not plugged in. When plugged into the AC adapter that shipped with the phone I sometimes see the battery draining when using chrome over WIFI.

I just got a replacement battery a few days ago to try to resolve this issue, but no luck. Not sure if its a scheduler issue or if apps these days just take a lot more cycles.

Any advice would be much appreciated.
[T-Mobile Samsung Galaxy S II SGH-T989] sshurato:
this fix did the tricky!

thx
[T-Mobile Samsung Galaxy S II SGH-T989] stere0123:
Battery life experience + tips

Battery drain while plugged in is something I have never experienced with this phone, noticeably at least.

In fact I am getting significantly better battery life with this ROM compared to others.

I pretty consistently get an impressive 30+ hours of continuous battery life using the following settings:

(no quick charges, conservative use - mainly just chrome, camera, light gaming, and messaging)

Network type set to 2G with data disabled (T-Mobile prepaid does not have data abilities - thanks T-Mobile :rolleyes:)

Wi-Fi enabled, Bluetooth, portable hotspot, tethering, etc. all disabled

Auto brightness, tweaked to lower values, such as setting 0% brightness at lowest ambient light level (default uses 12% at lowest level)

CPU set to 192MHz-1836MHz (max in kernel installer, unstable at higher speeds)

GPU set to 266MHz (stock, unstable at higher speeds)

Display undervolted to 500mv (max in kernel installer)

Thermal throttling set to balanced (kernel stock)

Other kernel options set to default, e.g. Sweep2Wake/Sweep2Sleep disabled

Few background apps, few battery saving apps (Greenify + other)

this all combined with a newer (~4 month old) standard capacity battery.

If you are having battery issues with this ROM, you may want to try these settings, or try alternative more lightweight apps.

There might be a hardware issue if battery drain is still unreasonable with these settings.
[T-Mobile Samsung Galaxy S II SGH-T989] ulibube:
Wi-Fi password dropped

I have had issues for a little while with Wi-Fi passwords frequently getting dropped, so that I have to re-enter the password all the time to establish a connection to my router (usually after I turn off the phone/reboot, go to airplane mode, or turn off Wi-Fi). With recent ROMs/kernels & Hercules conversion patch applied it looked better, but today I connected to another network, and as soon as I got home, it had once again lost the password for my usual router. I believe this problem first cropped up with one of the December builds. Or is it just me?
[T-Mobile Samsung Galaxy S II SGH-T989] Malth:
I'm confused by this. I use pre-paid t-mobile and I get 5GB data per month. I thought all the pre-paid plans had data.

I'd also suggest getting something like ]battery monitor widget so you can see exactly what's eating the battery.

hxxps://play.google.com/store/apps/details?id=ccc71.bmw&hl=en (change the xx's to tt, it won't let me post the actual url)