[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
[IMG="CandyRoms logo"]http://i1278.photobucket.com/albums/y503/DanoNH/XDA/Candy_Si_X_banner_zpsb0gf52k4.png[/IMG]

This is CandySiX. Built straight from source with commits from a variety of different Sources/ROMS. We wanted to give the users a fun, fully customizable ROM. We aim to add more features as this project progresses.

Check us out on the web @The-Candy-Shop

[MENTION=5020670]matthew0776[/MENTION] [MENTION=3947779]mar5hal[/MENTION] [MENTION=4779996]gimmeitorilltell[/MENTION] [MENTION=5088242]Cuzz1369[/MENTION] [MENTION=5066258]rc420head[/MENTION] [MENTION=4678269]Flashalot[/MENTION] [MENTION=5092898]Venomtester[/MENTION] [MENTION=4157305]Darknites[/MENTION] [MENTION=5795145]javelinanddart[/MENTION] [MENTION=5349944]calebcabob[/MENTION] [MENTION=4435460]NoSpamDan[/MENTION]

ROM

DEVICES/KERNELS

Disclaimer: We here at The CandyShop are not responsible for any bricks you may obtain. Please follow the thread rules and steps and everything will be gravy. Remember, backing up before flashing is always recommended.

FEATURES

Choose from CMTE or OMS (RRO Layers is DEPRECATED)

Battery bar

LCD density options

Multi-window

Status bar customization

Quick setting customization

Quick setting pull down options

Force expand notifications

Time contextual headers in panel

Dark UI switch

Advanced power menu

Extra IME options

In-Call vibration options

Lockscreen customizations:

-Shortcuts

-Music visualizer

-Weather​

Animations:

-Power menu

-List view

-System

-Toast​

Navbar customization (CMTE only):

-SmartBar

-Fling

-Pulse​

Hardware Buttons settings:

-Slim Hardware key rebinding

-Long-press/double-tap actions

-Volume rocker​

On the Go mode

Screenshot Crop & Share

Fully charged notification and toggle

CPU info overlay (Developer options)

Snap camera (Sultan's)

More to come, we are never done...

CHANGELOG

WARNING!

This is a Virtually Repartitioned ROM!

What this means is that you will need to take some special steps to flash this ROM. Don't worry, it's not that hard, and you will be able to return to stock with Odin at any time. The cool thing is that it will support a ton of app and app data storage and will behave like a more modern device.

The basic idea with virtual repartitioning is that the partitions are renumbered from the stock numbering, but not resized. So the most important parts of this are (as an FYI, you don't need to know this ;) ):

-The 2GB /data partition becomes a most adequate 2GB /system partition for the ROM and GApps.

-The 12GB Internal SD partition becomes /data, so you have that space to install apps.

It is strongly recommended to use an External SD card to store the ROM/flashing files and for backups, etc., however it is not mandatory. If you do not have an External SD and you need to format the /data and /Internal storage partitions, you will have to copy the files you need from your PC again. Easy peasy, right?

FAQ/NOTES:

When formatting the device, first go to the Mount menu and make sure none of the partitions you want to format are mounted. If they are, formatting will fail.

Make sure you have NOT selected Mount USB Storage, and that the MTP button says "Enable MTP", which means it is DISABLED. If either of these are enabled, then formatting may fail.

The /system partition is formatted as EXT4.

The /data and /cache partitions can be formatted as either EXT4 or F2FS.

The Internal Storage should be formatted as EXT4 or F2FS.

The External SD card (if you have one) would be best formatted as FAT, which you can do in your computer. When the ROM boots, it will detect the card and offer you one of two different ways to use it, as "Internal storage" that will only work with your device for security (requires formatting and encryption by Android), or as "Portable storage" that will work in other devices.

CAUTION: With Internal, you will have to entirely format your card if you have issues and it can not be used in ANY other device. In fact, it will become invisible in file managers because it becomes an extension to the Internal SD card storage. Format the ExternalSD card to Internal Format

at your own risk

.

When formatting /data, the default behavior is that /data/media is not deleted. In order to wipe /data/media, you need to either go to TWRP > Wipe > Advanced wipe > Format data, or delete the folder manually through the file manager in TWRP.

TWRP > Wipe > Advanced wipe > Format data is also needed if you plan to use device encryption, because this step allows for a space at the end of /data to contain the encryption information. Without this, encryption will fail!

IMPORTANT: If you have flashed a modified PIT file, flash back the STOCK PIT. You can also return to stock by using Odin and a Factory Image.

If you are trying to get back to the stock partitioning:

Flash a stock TWRP recovery ZIP or IMG file, or use Odin to push a TAR recovery over. After doing this you need to reboot your device into Recovery to load up the newly flashed version, and format each of the partitions to their defaults (ext4, for the most part). If you encounter errors formatting, reboot back into Recovery and try again.

Check SamMobile.com for stock ROM packages. (There is a Stock ROM version in my AFH account which should be used for recovery purposes only.) Odin should also find the device if it's in download mode and you can flash a stock ROM back on it if you want.

If you are not sure you used the correct recovery or you just want to check the partition structure (I may ask for this), you can run each of these commands from an adb prompt, and save the output to a file for linking in the thread for help/analysis:

blkid

cat /proc/mounts

df

INSTALLATION STEPS:

Here is what you need to do; please follow the below steps carefully!

Connect your device to your computer and FULLY BACK UP YOUR FILES from both your Internal and External Storage!

While you are backing up your files, download the following files to your computer:

A custom TWRP recovery for virtually partitioned ROMs (see Post 2).

The ROM zip file (see Post 2).

A 6.0 Gapps package, pico recommended for now. (optional - see Post 2).

Copy all of these files to your device's External SD card. If you don't have an External SD card, then you will need to copy them over from your computer after formatting your internal storage.

MAKE A NANDROID BACKUP!

Using your EXISTING RECOVERY, format /system, /data, /cache and /Internal Storage.

Flash a VIRTUAL REPARTITIONED RECOVERY.

REBOOT to Recovery to use the new one.

Select Wipe > Advanced Wipe > System, then press the "Repair or change file system" button. Choose "Change File System" and select EXT4. Swipe to apply.

Press the back button and verify the Size: and Free: values at the top. The System partition should be 2GB. Press the Repair button and swipe to apply.

For good measure, now press the Resize button and swipe to apply.

Repeat steps 1-3 for the Data partition, choosing EXT4 or F2FS as the file system, then Repair and finally Resize.

Repeat steps 1-3 for the Cache partition, choosing EXT4 or F2FS as the file system, then Repair and finally Resize.

Reboot to Recovery and wipe /system again.

Flash the CandySiX zip

Flash Gapps (nano or pico Open GApps or BaNks ones, etc.). You may have to experiment a little.

Reboot and Enjoy

Please give first boot a good several minutes. If you get stuck at the boot animation for a long time, try removing your ExternalSD card and reboot without it.

IMPORTANT - PROBLEMS/ISSUES:

If you have issues, I need the following:

Logs from you (logcat, last_kmsg, dmesg) linked to on pastebin.com or hasteb.in, showing the failure.

A clear description of the steps that I need to take to exactly reproduce the problem.

State what flavor build you are on: CMTE, Layers, OMS, etc...

Please DO NOT complain about problems and offer nothing to help fix it. I reserve the right to ignore you for not following insructions...

NO ETA REQUESTS!

Special thanks to @gimmeitorilltell, @bryan2894, CyanogenMod, SlimRoms, Omni and all the rest who make their source open, we can't do this on our own.

XDA:DevDB Information

[ROM-DISCONTINUED][SGH-T989][6.0.1_r61][AOSP+CAF][CMTE+OMS][MM] CandySiX - Hercules, ROM for the T-Mobile Samsung Galaxy S II

Contributors

NoSpamDan, gimmeitorilltell

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.0.x

Based On: AOSP

Version Information

Status: No Longer Updated

Current Stable Version: 3.2

Stable Release Date: 2016-02-11

Created 2016-01-01

Last Updated 2017-01-05