• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM-DISCONTINUED][SGH-T989][6.0.1_r61][AOSP+CAF][CMTE+OMS][MM] CandySiX - Hercules

Status
Not open for further replies.

NoSpamDan

Recognized Developer
Jan 12, 2012
4,174
9,816
113


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




@matthew0776 @mar5hal @gimmeitorilltell @Cuzz1369 @rc420head @Flashalot @Venomtester @Darknites @javelinanddart @calebcabob @NoSpamDan



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:

  1. 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.
  2. 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.
  3. The /system partition is formatted as EXT4.
  4. The /data and /cache partitions can be formatted as either EXT4 or F2FS.
  5. The Internal Storage should be formatted as EXT4 or F2FS.
  6. 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.
  7. 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.
  8. 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!
  9. 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.
  10. If you are trying to get back to the stock partitioning:
    1. 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.
    2. 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.
  11. 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:
    1. blkid
    2. cat /proc/mounts
    3. df

INSTALLATION STEPS:

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

  1. Connect your device to your computer and FULLY BACK UP YOUR FILES from both your Internal and External Storage!
  2. 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).
  3. 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.
  4. MAKE A NANDROID BACKUP!
  5. Using your EXISTING RECOVERY, format /system, /data, /cache and /Internal Storage.
  6. Flash a VIRTUAL REPARTITIONED RECOVERY.
  7. REBOOT to Recovery to use the new one.
    1. Select Wipe > Advanced Wipe > System, then press the "Repair or change file system" button. Choose "Change File System" and select EXT4. Swipe to apply.
    2. 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.
    3. For good measure, now press the Resize button and swipe to apply.
  8. Repeat steps 1-3 for the Data partition, choosing EXT4 or F2FS as the file system, then Repair and finally Resize.
  9. Repeat steps 1-3 for the Cache partition, choosing EXT4 or F2FS as the file system, then Repair and finally Resize.
  10. Reboot to Recovery and wipe /system again.
  11. Flash the CandySiX zip
  12. Flash Gapps (nano or pico Open GApps or BaNks ones, etc.). You may have to experiment a little.
  13. Reboot and Enjoy
  14. 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:
  1. Logs from you (logcat, last_kmsg, dmesg) linked to on pastebin.com or hasteb.in, showing the failure.
  2. A clear description of the steps that I need to take to exactly reproduce the problem.
  3. 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
 

NoSpamDan

Recognized Developer
Jan 12, 2012
4,174
9,816
113
Downloads



Make sure you have FULLY READ and FULLY UNDERSTAND the OP (Post 1) above before following any steps!


RECOVERY
BaNks just announced they aren't supporting TWRP versions below 3.0.
@bryan2894 has a Flashable 3.X version you can flash here:
https://androidfilehost.com/?fid=24545065934258236
(My previous TWRP 2.8.7.0 for Virtual Partitioned ROMs: TWRP_2.8.7.0.VP_hercules_NSD.zip)

TWO ROM VERSIONS: Effective 26July2016, choose from CMTE or OMS/Substratum!
(You can NOT flash one on top of the other... If you decide to switch and try the other one, you MUST Clean Flash!)

DOWNLOAD CMTE (CM Theme Engine based) ROM:
CandySiX-celox-3.2-OFFICIAL-0903.zip

DOWNLOAD OMS/Substratum themed ROM (Substratum app required - Guide to using Substratum):
CandySiX-celox-3.2.S-OFFICIAL-0910.zip

GAPPS
"Normal" BaNks Dynamic GApps
Open GApps
Your best bet is to flash a Pico GApps package made for Android Marshmallow which doesn't have an included keyboard or any keyboard modifications. Watch out for GApps that replace Gallery too!

EXTRAS
- If you want to remove the built-in SuperSU, flash this in recovery after the ROM: SuperSU_Root_Remover.zip

Previous ROM versions for convenience (can be found on my AFH account unless they are OTAs).

DO NOT FLASH a CMTE ROM on top of an OMS or LAYERS version. You must CLEAN FLASH if switching theme engines!

OMS/Substratum-based:
CandySiX-celox-3.2.S-OFFICIAL-0902.zip
CandySiX-celox-3.2.S-OFFICIAL-0817.zip
CandySiX-celox-3.2.S-OFFICIAL-0808.zip
CandySiX-celox-3.2.S-OFFICIAL-0807.zip

CMTE-based:
CandySiX-celox-3.2-OFFICIAL-0817.zip
CandySiX-celox-3.2-OFFICIAL-0809.zip
CandySiX-celox-3.2-OFFICIAL-0807.zip
CandySiX-celox-3.1-OFFICIAL-0728.zip

Layers-based (deprecated):
CandySiX-celox-2.3-OFFICIAL-0514.zip

Previous GApps versions can be found on my AFH account here.
 
Last edited:

NoSpamDan

Recognized Developer
Jan 12, 2012
4,174
9,816
113
FAQ/Info

Due to several requests, here is some further information...

DISABLE HARDWARE CAPACITIVE KEYS AND LIGHTS
NOTE: This information is now outdated, as I've added ROM features for it. I'll leave it here, but hidden for now...

Several have asked about this. I am working on an in-ROM setting for each, but I simply haven't had the time. For now you can do it manually if you like.
If you decide to try/use the following instructions, please understand that you do this entirely at your own risk

Some people like to use the NavBar soft keys (on-screen). If this is you, below you will find some commands you can use to disable the built-in Hardware Keys and Hardware Key Lights.

***NOTE: Both the HW Keys switch and the HW Key Lights switch are a WIP and do not currently work properly!

Using adb or a terminal emulator app (or the built-in one that you can install in your app drawer by enabling Settings > Developer Options > Local terminal), issue the commands under the HW Keys option you want to apply.

For each item listed, copy/paste or type the commands, one line at a time, and EXACTLY as they are shown. Press ENTER after each command.

  1. Open adb or the terminal emulator app and issue the following commands to start a shell with root access. Press ENTER after each command.
    (Be sure to accept any Superuser root access propmpts you receive while doing this.)
    Code:
    adb shell
    su root
  2. Now issue one or a combination of the following:
    • To DISABLE Hardware Touch KEYS:
      Code:
      echo 0 > /sys/class/sec/sec_touchkey/keypad_enable
    • To ENABLE Hardware Touch KEYS:
      Code:
      echo 1 > /sys/class/sec/sec_touchkey/keypad_enable

You should be able to use the ScreenFilter app from the Play Store to disable the HW Key lights. You can even disable the Screen Filter notifications if you like (long-press on the notification, then select the "i" button), but beware this could trick you later.

Enjoy!
 
Last edited:

NoSpamDan

Recognized Developer
Jan 12, 2012
4,174
9,816
113
Just a heads-up, make sure you grab this build or newer for now: CandySiX-alpha-hercules-OFFICIAL-0101-06.zip

(The previous "UNOFFICIAL" builds had broken vendor blobs and no mobile data.)

EDIT: I have updated Post 2 with a modified BanKs Dynamic GApps version that has the keyboard libraries removed. Temporarily fixes the AOSP keyboard FC. You can get Google Keyboard after setting up your account on the Play Store...
 
Last edited:

edwin270

Senior Member
May 2, 2010
243
142
0
Tema
www.edsysinc.webs.com
My assessments after set up.............this rom is rocking crazy fast than cm13 (no offense) even when browsing and using play store.

Issues for me:
1. One issue is the constant show of "sd card" info after reboot (am cool with that for now).
2. No navigation bar toggle (my captivative navigation is off and I use on screen navigation to get around everytime).
3. No DPI change option (Know will come with time as above but I hate the 240 default ,too big for me)

But with Xposed, I managed to fix all of the above with the exception of "sd card" constant nagging.

This rom rocks, will update if I find any issues.
Thanks.
 
Last edited:
  • Like
Reactions: bigtom624

NoSpamDan

Recognized Developer
Jan 12, 2012
4,174
9,816
113
My assessments after set up.............this rom is rocking crazy fast than cm13 (no offense) even when browsing and using play store.

Issues for me:
1. One issue is the constant show of "sd card" info after reboot (am cool with that for now).
2. No navigation bar toggle (my captivative navigation is off and I use on screen navigation to get around everytime).
3. No DPI change option (Know will come with time as above but I hate the 240 default ,too big for me)

But with Xposed, I managed to fix all of the above with the exception of "sd card" constant nagging.

This rom rocks, will update if I find any issues.
Thanks.
I would call those preferences, not issues... :p
1. Swipe away the notification unless you have not initially set up the card (you didn't quote the notification message you are getting).
2. Nav bar is in the next build... are your touch light buttons broken?
3. DPI may be forthcoming, not sure.

EDIT: Navbar does not appear to be present in the new build. Looking into it.
 
Last edited:

NoSpamDan

Recognized Developer
Jan 12, 2012
4,174
9,816
113
About the first build if we talk about performance, you can put beta because the rom works super fast. For a fledgling rom it is excellent. It would alfa because it lacks certain configurations and features (such as screen capture, buttons Turn off lights ...) but it is significant that installs Facebook, which in other roms including lollipop did not occur. Thanks!
Depends what version you are runnig because Vol Dn. + Power has always been for screenshot, plus in my last build, there were Power menu customizations like Screen Shot for those who prefer that method. Look in Settings > Candy Interface.

CandySiX was maturing on the previous CyanogenMod base but the decision was made to switch to an AOSP base. Come CAF repos are needed and still some CM too, but things are speeding back into shape! Next build should have NavBar (I hope). Will be testing soon. :)
 
  • Like
Reactions: yaseenarafath

NoSpamDan

Recognized Developer
Jan 12, 2012
4,174
9,816
113
New build with more features is in Post 2: CandySiX-alpha-hercules-OFFICIAL-0105-05.zip

Sorry, no time to outline the changes but should have Quick Unlock, new boot animation and several other updates...

EDIT: Seems like there is no boot animation, but it indeed boots...

I'm looking into it, but in the interim you can flash the stock Google one:
http://forum.xda-developers.com/devdb/project/dl/?id=16024
 
Last edited:

Lucky2say

Member
Jan 6, 2016
29
2
0
Bootloop

New build with more features is in Post 2: CandySiX-alpha-hercules-OFFICIAL-0105-05.zip

EDIT: Seems like there is no boot animation, but it indeed boots...

I'm looking into it, but in the interim you can flash the stock Google one:
http://forum.xda-developers.com/devdb/project/dl/?id=16024
Flashed the bootanimation zip now stuck in bootloop..

Anyways awesome ROM!
Fast and stable
Thanks for this.. =)

2 issues though: a) phone reboots when using camera flash (perhaps on low battery)
b) external SD card is not mounted it only shows as a portable storage - no ext SD in gallery etc.
 
  • Like
Reactions: rsasothy

NoSpamDan

Recognized Developer
Jan 12, 2012
4,174
9,816
113
Flashed the bootanimation zip now stuck in bootloop..

Anyways awesome ROM!
Fast and stable
Thanks for this.. =)

2 issues though: a) phone reboots when using camera flash (perhaps on low battery)
b) external SD card is not mounted it only shows as a portable storage - no ext SD in gallery etc.
Bootloop? Please explain further, because it's not the boot animation file. I personally flashed the boot animation zip found in the downloads section and it works perfectly.

If you get in bootloop or have a camera flash issue (if it wasn't because of low battery), plug the device into your PC and get a dmesg log while in an adb shell, or reboot to recovery and pull a /proc/last_kmsg log. Also log the issue with logcat and post the logs on pastebin, providing the links here please. I can't fix what I can't reproduce or see in a log.

If you formatted your external SD card as portable that is how it will be used... (not as internal). Try reformatting it within the ROM.

Cheers!
 

Lucky2say

Member
Jan 6, 2016
29
2
0
Cheers![/QUOTE]
Bootloop? Please explain further, because it's not the boot animation file. I personally flashed the boot animation zip found in the downloads section and it works perfectly.
My bad.. I may have done something wrong tweaking settings and stuff. I changed DPI, it got bootloop, I formatted external card using TWRP VP, it got bootloop, etc. I reflashed ROM, Gapps and bootanimation. Now it's working fine.

have a camera flash issue (if it wasn't because of low battery)
I've switched to google camera app and the problem is gone. (Even with low battery)

If you formatted your external SD card as portable that is how it will be used... (not as internal). Try reformatting it within the ROM.
Honestly, I didn't know that marshmallow has introduced the new portable function for External SD. I was looking for the old way of External SD mount (I don't know what to call it.) again it was my fault.

plug the device into your PC and get a dmesg log while in an adb shell, or reboot to recovery and pull a /proc/last_kmsg log. Also log the issue with logcat and post the logs on pastebin, providing the links here please. I can't fix what I can't reproduce or see in a log.
I didn't post the logs because the problems were caused by my side. I shouldn't have disabled some apps and flashed boot animation after using the rom.

As you might have figured out i'm a noob (guilty! I know I deserve to die! =P ), one more thing, there's no youtube, calender, calculator and browser apps included in the package/rom. Or is it just me?

This is a perfect rom.
Many Thanks!
 
Last edited:
Status
Not open for further replies.