yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
You have to enable it, it's disabled by default. Go to settings, storage, hit the menu button, select USB connection and check USB storage. Thank goodness they brought that back BTW.
[T-Mobile Samsung Galaxy S II SGH-T989] MAFU21:
Wich is the installing procedure for this Rom???
[T-Mobile Samsung Galaxy S II SGH-T989] MAFU21:
Is there a way someone can put some images. My wife want to see it to install it to he gs2
[T-Mobile Samsung Galaxy S II SGH-T989] tribalartgod:
Install instructions:

-Make sure you have a current Recovery... I use TWRP 2.6.3.1 and it works fine

-Make a backup!!! ALWAYS!!!

-Full Wipe (I wipe internal SD also, but it's not required here)

-Install ROM

-Install Gapps

-Install Kernel

-Reboot, and enjoy

ART works flawlessly on this ROM, but Dalvik is default.
[T-Mobile Samsung Galaxy S II SGH-T989] evilsanta2:
Are the files uploaded anywhere other than AndroidFileHost? It doesn't seem to be finding any mirrors. Would like to try this ROM!

Thanks!

EDIT: AndroidFileHost is apparently having a problem on their side. Hope it gets rectified soon!
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
New kernel (v1.3.8) uploaded with some very minor changes. Battery life should be slightly improved.

Speaking of kernels, I'd like to clarify something about my ROM. The reason why my ROM is stable is not because of the ROM itself, it is because of my kernel. Look at the list of ROM features vs. kernel features in the OP. If I were to adjust my ROM so that other kernels could boot with it then there would be practically no reason to download my ROM. My ROM itself is very close to the official CM11 nightlies for this device; my kernel, on the other hand, is extremely unique from other kernels. Using a different kernel with this ROM would yield almost exactly the same effect as flashing said kernel on top of the official CM11 nightlies.
[T-Mobile Samsung Galaxy S II SGH-T989] e20140:
You are awesome. Can't believe you can still improve on battery life. I've not recharged since my last post 1d 16hr+ and 26% left. You should mention your previous post to post#1.

One word - Genius.

The only one bug I see is that CM camera bug - maybe you can look into it. Using a third party app like Camera ZOOM FX works fine. Going to try the new kernel.

Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
Yeah, I think the update is worth it:
[T-Mobile Samsung Galaxy S II SGH-T989] sagirfahmid3:
This might sound silly [MENTION=4800121]Sultanxda[/MENTION], but could you please include the zram module within the kernel? I like installing Linux distributions as chroots and distros sometimes take up quite a lot of RAM.

(Or if you don't want to include it for some reason, could you tell us how to go about adding the zram module to the kernel?)

Thanks!
[T-Mobile Samsung Galaxy S II SGH-T989] firewall105:
Is anyone having a problem with the mic/speaker when calling? Sometimes when I make calls the caller can't hear me. There is no sound coming out of the headpiece either.

Upon a reboot everything works again.
[T-Mobile Samsung Galaxy S II SGH-T989] tuxx1337:
I have a similar problem. Today every time I received or made a call, I couldn't hear anything, but the person on the other end could hear me perfectly. After restart, sound came back. Using T989D with 1.3.8 kernel, no changes or anything, just ART enabled.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
I don't want to include zRAM or swap support in general because I believe that these decrease performance on this device. zRAM increases CPU overhead, and the CPU on this device is 3 years old, so we don't want to bottleneck the CPU more. I didn't see any visual performance impact while using swap from my SD card, so I removed it from the kernel. To add zRAM to the kernel you would need to compile the kernel with this option enabled:

CONFIG_ZRAM=y

Dafuq, the audio & modem drivers in my kernel are untouched from stock Samsung sources, and I've never seen this issue in the Skyrocket forum. Have you ever had this problem with another ROM?
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
I've had no problems with calls, but I have yet to try using speakerphone with this ROM. Usually I never use that as the person on the other end has a hard time hearing me.
[T-Mobile Samsung Galaxy S II SGH-T989] e20140:
It's been reported that Snapchat and the new Hangout with Dialer will break audio & mic on CM11 ROMs. Same as in PA when I tried it.

Sultanxda, maybe you can have a crack at it? The new Hangout allows free calling for US and Canada! Nice if someone can debug or place a patch to force reset audio/mic.
[T-Mobile Samsung Galaxy S II SGH-T989] firewall105:
Hmm that could be it. I have Hangouts with Dialer installed. What's weird is that it doesn't always break audio/mic. Its pretty random. Sometimes it works just fine. After maybe a few hours on standby when I receive a call it breaks. At first I thought the audio volume was too low but its been set to the max.
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
Hangouts has caused problems since it was released. One reason I never install it and probably why I don't experience all these other issues.
[T-Mobile Samsung Galaxy S II SGH-T989] e20140:
Don't dismiss it as it works great with Tablets. I install it on my Tab4 and turn it into a WiFi phone.:)
[T-Mobile Samsung Galaxy S II SGH-T989] sagirfahmid3:
[MENTION=4800121]Sultanxda[/MENTION] I'm trying to compile the kernel with BTRFS support (module), but I'm stuck after "make menuconfig."

I've git cloned https://github.com/sultanxda/sultan-kernel-celox/ and set up my PATH for the gcc toolchain (the NDK downloaded from Google Android dev page).

I'm running Debian Jessie x64 and this is in bashrc: PATH=$PATH:/home/debian/Android/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin

Following this guide: http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source

$ cd ~/Android/sultan-kernel-celox

$ make ARCH=arm CROSS_COMPILE=arm-linux-androideabi- Sultan_hercules_defconfig

$ make ARCH=arm CROSS_COMPILE=arm-linux-androideabi- menuconfig (added BTRFS module this step...)

$ make -j5 ARCH=arm CROSS_COMPILE=arm-linux-androideabi-

scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/genksyms/lex.o
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
ccache: No such file or directory
Is your PATH set correctly?
/home/debian/Android/sultan-kernel-celox/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:993: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
HOSTCC scripts/genksyms/parse.o
CC scripts/mod/empty.o
ccache: No such file or directory
Is your PATH set correctly?
scripts/Makefile.build:305: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 2
scripts/Makefile.build:441: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
HOSTLD scripts/genksyms/genksyms
Makefile:510: recipe for target 'scripts' failed
make: *** [scripts] Error 2

Any help would be appreciated. It's my second time in 2 years that I've compiled a Linux kernel for Android. It sure is harder than compiling for PC architectures :p
[T-Mobile Samsung Galaxy S II SGH-T989] danishdish:
Thank you SultanXDA ...

Thanks for keeping our Hercules alive and happy.

:D
[T-Mobile Samsung Galaxy S II SGH-T989] kepler1729:
So we can use these 1080p boot animations on our old device?
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
No he has 480, there are several resolutions listed. Did you look under where it said "Download"?
[T-Mobile Samsung Galaxy S II SGH-T989] nikunrp:
Thank you so much, I will try this and see what happens :)
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
ccache is missing, install it:

sudo apt-get install ccache
[T-Mobile Samsung Galaxy S II SGH-T989] kepler1729:
EDIT: Nevermind
[T-Mobile Samsung Galaxy S II SGH-T989] sagirfahmid3:
[MENTION=4800121]Sultanxda[/MENTION], not working still. BTW, is the toolchain used version 4.7, 4.8, or 4.9? Google's NDK didn't have 4.7 for some reason. (I used 4.7 toolchain, maybe that could be it).

On the plus side, ccache error is gone. I should have caught that earlier.

make -j5 ARCH=arm CROSS_COMPILE=/home/debian/Android/arm-eabi-4.7/bin
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
/bin/sh: 1: Syntax error: "(" unexpected
scripts/Makefile.build:305: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 2
scripts/Makefile.build:441: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:510: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
/bin/sh: 1: Syntax error: "(" unexpected
/home/debian/Android/sultan-kernel-celox/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:993: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2

I'll go ask in the general kernel compile thread after your next reply since I don't want to clog up a ROM thread with kernel compile questions XD
[T-Mobile Samsung Galaxy S II SGH-T989] maven19:
instructions for rooting new rom

Hello all,

I came across the info about v4.4 accidentally...I am still running v4.2.1 from the cyanogen website. :crying:

Im a bit rusty, but Im assuming I would just follow the instructions here and load the rom:

http://xdaforums.com/showthread.php?p=32532260#post32532260

Most thanks :)
[T-Mobile Samsung Galaxy S II SGH-T989] eric93se:
Update to the latest recovery, whatever you have TWRP or CWM.

Download the zip files for the ROM, Kernel, latest Radio, Gapps if you use them. Links for them all in the first post except for the Radio, put them on your external SD card.

Backup your phone contacts.

Boot into your Recovery, wipe everything except your external SD card.

Install the ROM, Radio, Kernel, Gapps.

Reboot :)

After installing the latest Radio, you won't have to again when flashing new ROMs.
[T-Mobile Samsung Galaxy S II SGH-T989] DarkAdonis:
Does anyone know what the latest twrp recovery is?

Edit: Found it
[T-Mobile Samsung Galaxy S II SGH-T989] nikunrp:
Hi Sultan,

thanks for this amazing ROM. was curious if you can put in feature of having an option of "reboot in recovery" along with "normal reboot" when we want to reboot the phone. Thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] coch:
It's already there: Under "Developer options", enable "Advanced Reboot".

In the about screen tap on the build number several times to enable developer settings if you haven't enabled them already.
[T-Mobile Samsung Galaxy S II SGH-T989] Who.is:
Phon dont start

Hi, i installed latest kernel, rom and gaps. Installation was ok no problem all without error, befor installing i run factory reset. And when reset is done i reboot the phone, it ask to root and install super su, but i tryed to install and tryed do not install, but the pohon doesnt boot. It shows only samsung logo and then black screen.. and nothing happen. Can somebody help me?? I use TWRP 2.7.1.0. TY for reply and sory for my bad english
[T-Mobile Samsung Galaxy S II SGH-T989] eric93se:
Don't bother with factory reset, you should have just booted to TWRP and use 'Wipe' from there, wipe everything but the external SD card, then install everything. For your current situation, first try a battery pull and see if it will boot up. If that doesn't work, then pull the battery, install the battery and hold the power and the up/down buttons. When you see the samsung logo quickly let go of the power button (at least I think thats the right method). It should get you into recovery. Also you should update your TWRP to the latest.
[T-Mobile Samsung Galaxy S II SGH-T989] Who.is:
Ty for reply, i know how to get to twrp, and its no problem. And i have wiped all except the external sd card, and installed kernel then rom and then gaps... its right? Or i must first rom then gaps and last kernel?... TY
[T-Mobile Samsung Galaxy S II SGH-T989] eric93se:
@ who.is

ROM then the Kernel.

My point was that you want to wipe everything (except micro SD).
[T-Mobile Samsung Galaxy S II SGH-T989] Who.is:
yeah i. tryed to instal first rom then gapps and then kernel... but still no boot. it doesnt show the boot animated logo, only black screen... i record video and upload you will see...
[T-Mobile Samsung Galaxy S II SGH-T989] cpnfantstk:
This is my first Rom I'll be flashing. Do I need to flash the radio as well ?

---------- Post added at 02:57 PM ---------- Previous post was at 02:43 PM ----------

This is my first Rom I'll be flashing. Do I need to flash the radio as well ? Btw .I thought the rom had the kernel built in to it?
[T-Mobile Samsung Galaxy S II SGH-T989] coch:
Depends on which ROM you are currently running. I believe the cut-off is JellyBean (or is it KitKat?) which means that if you're coming from a pre-JB ROM and want to go to JB or later you'll need to flash the Radio. Otherwise i.e. if you already have JB or more recent, you should already have the correct radio and you won't need to flash it.
[T-Mobile Samsung Galaxy S II SGH-T989] cpnfantstk:
I have 4.1.2 jb stock rooted so I guess it's the latest one. Btw.. is the kernel a separate flash?. The OP says it's built in to the rom. Thanks for your help .
[T-Mobile Samsung Galaxy S II SGH-T989] coch:
You can flash the ROM only, the Kernel is built-in. However flashing the kernel separately allows you to tweak a few settings (overclock, undervolt, etc...) which you don't get when flashing the ROM even if the kernel is included in the ROM.

Also, sometimes only the kernel is updated rather than updating the whole ROM (you see on Page 1 this has happened at the beginning of January) and in these cases you'll want to flash the new kernel to take advantage of the latest changes.

As for the radio, you can verify yourself in your phone's about screen which version you currently have. If you're on T-Mobile you want UVMC6, if you're in Canada (Telus/koodo) you'll want TLMC4. If you have one of those already then you're all set.
[T-Mobile Samsung Galaxy S II SGH-T989] DarkAdonis:
My battery is draining unusually fast. I've lost 3% just while typing this
[T-Mobile Samsung Galaxy S II SGH-T989] en!gma:
Stuck on Boot Animation

Hi Sultan!

First off, thanks for making such a great ROM—I'm glad (and a little surprised) to see that TMO SGS2 development is still going strong. However, I ran into an issue with the latest version of the ROM and kernel from January 19th.

The phone was working normally when it started to do automatic app updates. After the first, it crashed and I haven't been able to figure out what's up. I tried re-flashing both the kernel and ROM, but that didn't help. I know I could just wipe the data partition and start over (and that's probably what I'll end up having to do), but I thought you might like a logcat to see what's up. So, here ya go: http://pastebin.com/GrvVNcFp

Edit: Looks to have been caused by Trivia Crack. Apparently the apk somehow became corrupted during the update process and as a result the whole system was choking when attempting to load it. So, never mind!
[T-Mobile Samsung Galaxy S II SGH-T989] silverm83:
CM-11 boots up, freezes, then reboots (SGH-T989)

Hello,

I have tried following instructions from multiple web sites and I am getting the same results.

1. CM-11 boots up

2. I get "android is upgrading" message and goes through updates 1 to 111

3. The system then reboots

4. The system then takes me to the welcome screen

5. After approximately 15-20 seconds it reboots

6. Steps 2-5 repeat themselves

Any thoughts or ideas as to what may be causing this? Am I doing something wrong?

I have tried using CMW 6.0.4.3. Ive also tried CMW 6.0.3.7

I've tried wiping data, /cache, and /system.

I've tried installing the kernel you mention on your web site

I installed the latest CM-11 for sght989

Any ideas?
[T-Mobile Samsung Galaxy S II SGH-T989] cpnfantstk:
Thanks for your help. I've successfully flashed this ROM. I've enjoyed my couple of hours of use with it. I do wish to try viper4android on it. Hopefully someone here has tried it on this ROM and it works properly. Thanks Sultan for this and making my first flash a good experience thus far.
[T-Mobile Samsung Galaxy S II SGH-T989] cpnfantstk:
I don't want to litter this thread this my questions so pardon. I searched and don't have the answer to these questions I have.

1) The Aroma installer. If I want to make changes to voltage or processor, do U simply flash the Kernel zip again ? Do I need to wipe anything if I do that?

2) I installed supersu and the superuser option disappeared which is my preference. Would that pose any issues?

3) Does viper 4 android work well with this Rom?

Thanks people .
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
I've noticed more lag since BLN has been introduced to the latest kernels. To be sure I reverted back to 1.6.0B and sure enough things are zippy just like before. I think I will sacrifice features for speed.
[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
This is because the input boost duration was reduced from 1200ms to 900ms (1.6.0B has it at 1200ms). Is it really that noticeable?
[T-Mobile Samsung Galaxy S II SGH-T989] ArtfulDodger:
As I sit here and type this, yes IMHO it is. In fact switching apps, music and all are back to the smoothness I had gotten accustomed to. I wondered if it was just me thinking this, thanks for the explanation. I knew something was different.
[T-Mobile Samsung Galaxy S II SGH-T989] cpnfantstk:
Is sweep2wake still functional in this kernel? I reflashed with sweep2 wake enabled and it does nothing. Another thing is the device runs pretty warm and that's without changing any settings. Otherwise this ROM is fantastic Sultan.
[T-Mobile Samsung Galaxy S II SGH-T989] martydom:
Need some help

Hi,

I installed custom firmware on my T989DTLMC4 a long time ago.

Currently I have;

CyanogenMod Version 10.2.0-hercules

Build Date: Dec 2, 2013

Kernel Version 3.0.89-cyanogenmod-g532452f3

Android Version 4.3.1

My phone is in pretty bad shape, its very laggy, apps crashing a lot, sd card reader giving errors, and the video recorder doesn't work. I was thinking of factory wiping my phone again but this time I thought I may as well upgrade cyanogen if I am able to.

I haven't been to this site in ages and its changed a lot. Can someone tell me where I need to go to read up on how to upgrade to the latest firmware? Will I be able to flash C11? Any help guiding me to the right threads would be appreciated. I apologize if I have offended anyone with my noobness.

Regards,
[T-Mobile Samsung Galaxy S II SGH-T989] kepler1729:
Get yourself the latest TWRP and flash that so that you now have a new recovery.

Then, go here: http://xdaforums.com/galaxy-s2-tmobile/development/rom-aosp-lollipop-preview-t2931716

Flash the ROM, then kernel (optional -- only if you want to use any of Sultan's modifications), then the gapps.

And not only will you be running CM11, but you'll actually be running CM12 :)
[T-Mobile Samsung Galaxy S II SGH-T989] ayr0:
Actually, Sultan's ROMS come with his kernel replacing the stock kernel. The separate kernel packages are for upgrading just the kernel.
[T-Mobile Samsung Galaxy S II SGH-T989] kepler1729:
Exactly. That's why I said that the kernel is optional.

Flashing the kernel separately also allows for you to make modifications like undervolting the screen, overclocking CPU/GPU, etc.
[T-Mobile Samsung Galaxy S II SGH-T989] ayr0:
I'm sorry. I misunderstood your post.
[T-Mobile Samsung Galaxy S II SGH-T989] danikvsn:
Your issue may be that you did not wipe your dalvik cache and cache partitions.

I am a relatively new user so I can't post links, but I'll copy what android geeks has to say, which is pretty much what I did

First of all, on your computer you need to download the proper update file.

Optional: download the Google apps package if it is not included on the firmware file.

Save the files on desktop; don’t unzip them.

Then, connect your handset with the computer.

Establish the connecting by using the USB cord.

Copy-paste or drag and drop the downloaded files from desktop to your phone’s (tablet’s) SD card.

Disconnect the devices by unplugging the USB cable.

Turn off your smartphone / tablet and wait a few seconds.

Then reboot your gadget into recovery mode.

Next, navigate through the recovery mode menu and select “wipe data factory reset”, “wipe cache partition” and “wipe dalvick cache”.

The system will now be wiped out, so that’s why the backup has been recommended before.

Up next, return to recovery main menu: select “+++go back+++”.

And choose “install zip from SD card” and “choose zip from SD card”.

Pick the update file and flash the same.

Optional: repeat this operation for applying the Google Apps package.

When the installation process ends, from recovery select “+++go back+++” and “reboot system now”.

You are done.

I upgraded just last night, and I have been able to bring new life to my s2, considering how buggy cm10.2 is. If you cwm installed, which you probably do considering you already have cyanogenmod, all you need to do is download the rom and the gapp zips in the first post onto your phone. I also recommend that in order to get to recovery mode easier, you enable developer mode (settings -> about phone -> tap build number 5 times), and enable advanced reboot, which will allow you to go straight to recovery from the restart menu.

Hope this helps! :D
[T-Mobile Samsung Galaxy S II SGH-T989] Dhanesh95:
New installation stuck in boot loop

So, the other day my friend asked me to root his SGH-T989 (Hercules) smartphone. I advised him to get a custom ROM considering how crappy Touchwiz is. :rolleyes: (Not trying to start a conflict here. Just my personal opinion.)

I came across this ROM and I really liked it. Also, he wanted to have Kitkat on his device. So, I downloaded all the necessary files, flashed CWM 6.0.4.4 and followed the instructions to install this ROM. Everything got installed perfectly and the ROM did boot. But, it got stuck on the language selection screen and then it went into infinite boot loops. :eek: It shows the bootanimation and then again reboots. I have no idea what the hell is happening here, but I need help ASAP.. :(

P.S: The power button is fully functional. No issues with that.
[T-Mobile Samsung Galaxy S II SGH-T989] RebelebeR:
I suggest trying to flash it again, if it still doesn't work, download the ROM and gapps again and then try again because the original download might be corrupt.. I don't care too much for cwm, but that is just me probably. I've always had good luck using twrp
[T-Mobile Samsung Galaxy S II SGH-T989] Dhanesh95:
I did use TWRP first to install the ROM but that gave me the same problem.. So I changed to CWM.. Again the same problem... And I've tried flashing the ROM for almost 6-7 times until now....
[T-Mobile Samsung Galaxy S II SGH-T989] 4xxxxL:
Did anybody noticed the voice recorder records with very low volume ? Same for Whatsapp
[T-Mobile Samsung Galaxy S II SGH-T989] cpnfantstk:
I checked. You're absolutely right. Do me a favor and check to see if sweep2wake works on your device. Mine doesn't.