[ROM+KERNEL][7.1.1_r38] Candy7 - Onyx - Sultan's cam [OMS][04/18/17]

Status
Not open for further replies.

CertifiedBlyndGuy

Retired Forum Moderator / Inactive Recognized Deve
Jun 11, 2014
1,936
2,983
113
Boulder


This is Candy7. 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.



@gimmeitorilltell @NoSpamDan @kdp162 @CertifiedBlyndGuy @rohitporoli @axxx007xxxz @Flashalot @Venomtester @Darknites @javelinanddart @calebcabob



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
Recents:
-Multi-window
-OmniSwitch
-Immersive mode
-Clear all button
-Memory bar
Advanced power menu:
-On The Go Mode
-Screen record
-Adjustable dialog background shade
-Sound panel
Expanded desktop
Lockscreen:
-Battery charging current overlay
-Adjustable shortcuts
-Weather (OmniJaws)
Statusbar settings:
-Ticker (disable heads up when in use)
-Weather panel
-Clock/battery configuration
-Traffic indicators
-Quick settings tile config
-Immersive messages
-Force expanded notifications
-Carrier label
-Tap to sleep
Buttons settings:
-Long-press/double-tap actions
-Volume rocker
-Playback control
-Volume key answer
-Disable HW keys
Pie control
Navigation bar:
-Adjust colors
-Smartbar/fling
-Pulse
Screenshots:
-three-finger swipe
-adjust framing
Snapdragon Music & Gallery
TugaBrowser
Substratum
Magisk
Night Light
A pretty cool dark theme
SlimLauncher
Slim's configurable gesture setup

More is to come, we are never done...

Flashing Steps <you really shouldn't need these>:

Coming from another ROM
1) Download Candy7.zip (See Post #2)
2) Download 7.1.1 GApps (optional - See Post #2))
3) Boot into recovery (TWRP/MR)
4) Full wipe (Dalvik Cache, Cache, System, Factory Data Reset)
5) Flash Candy7.zip
6) Flash GApps
7) Reboot

Updating from a previous CandySeven release
1) Download Candy7.zip (See Post #2)
2) Boot into recovery
3) Flash Candy7.zip
4) Wipe Dalvik cache and cache
5) Reboot

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.
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!

* See Post #2 for Downloads

* See Post #3 for FAQ/Known Issues


-Please give the first boot a good few minutes.
-Still in a beta stage with new additions and fixes being added constantly...


Special thanks to LineageOS, SlimRoms, Omni, GZR, AOSPA, and all the rest who make their source open. We can't do this on our own.

Additionally, I would like to personally thank @NoSpamDan & @freshgiammi for helping with getting Sultan's HAL working elsewhere. A huge thanks to @Sultanxda as well for his brilliant work on the camera HAL, and for making it open source. It's greatly appreciated!

XDA:DevDB Information
Candy7 - Onyx - Sultan's cam, ROM for the OnePlus X

Contributors
CertifiedBlyndGuy, gimmeitorilltell, NoSpamDan, freshgiammi, Sultanxda
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP+CAF

Version Information
Status: Stable
Current Stable Version: v3.3
Stable Release Date: 2017-04-16
Current Beta Version: v3.2
Beta Release Date: 2017-03-25

Created 2017-03-26
Last Updated 2017-04-24
 

CertifiedBlyndGuy

Retired Forum Moderator / Inactive Recognized Deve
Jun 11, 2014
1,936
2,983
113
Boulder



See Post #3 for a list of what is working or not if you have concerns. Thanks!


ROM:
Candy-onyx-7.1.1.Stable.v3.3-OFFICIAL-20170417-2207.zip

GAPPS
Beanstown106's Dynamic GApps
Open GApps (Pico recommended due to included packages)

RECOVERY
TWRP v3.1.0 or newer

FIRMWARE
Just ensure that you have updated to OOS 3.1.4's firmware and you will be fine... For those that have not, you can find it here.

KERNEL
By default, I ship this with a modified version of Franco's kernel. It's a great base, and I have added a few features such as Mako hotplug, my thermal driver, and Zen Decision, but it isn't quite there in the features department so as to maintain stability. My personal kernel, Ewok can be found here, but MultiROM is not supported with it due to how CAF handles kexec. If you do use my kernel, please state so when reporting bugs otherwise I can not help you. DO NOT USE THIS ON ANY OTHER ROM.

Previous builds:
 
Last edited:

CertifiedBlyndGuy

Retired Forum Moderator / Inactive Recognized Deve
Jun 11, 2014
1,936
2,983
113
Boulder
FAQ / Known Issues

Q: Can I use a third-party kernel?
A: No. I did not ship this with thermal blobs as my kernel does not need them. I also use a 3 phase power HAL instead of Qualcomm's HAL which is bound to cause issues with kernels that ammend the init. If you experience any issues with any other kernels, don't even bother reporting it. I won't help you.

Q: Can you port the HAL alone to other ROMs?
A: No, stagefright hardening is implemented into the HAL so changes had to be made for the sepolicy as well, but the maintainer can implement so long as they maintain authorship. If this can't be abided by, I will make the HAL parts of my tree closed source on the first attempt to steal the work that has been done. Proper credit to me, freshgiammi, and NoSpamDan must be given as well if you plan to implement it within your ROM out of common curtesy.

Not Working/Not Present (yet):
*Panorama does not, nor never will work fully. Sultan even disabled it in his version of Snap. If you accidentally open the panorama option, you need to clear Snap's data
*You tell me....
 
Last edited:

MrMysakovichCZ

Senior Member
Feb 2, 2016
186
37
0
Nice!!! Perfect I will try it
EDIT: Good ROM,but this ROM is not for me. It has lot of features and it is pre rooted. It is not like stock.
 
Last edited:

CertifiedBlyndGuy

Retired Forum Moderator / Inactive Recognized Deve
Jun 11, 2014
1,936
2,983
113
Boulder
Looks good - but I have reservations of using it as a daily driver given how quickly you abandon your projects.
I understand. Completely up to you. I never abandoned anything. I brought it back. Those kernel sources date all the way back to June and I've been a part of Candy since August of last year. I'm not going anywhere
 

CertifiedBlyndGuy

Retired Forum Moderator / Inactive Recognized Deve
Jun 11, 2014
1,936
2,983
113
Boulder
I have compiled Candy 9 times since this morning in an attempt at fixing this, and it appears I am getting closer. I just wanted to say that I am genuinely sorry that this went under my nose. I had pushed an initial build a week ago, and the camera issues were not noticed. It turns out that the problem is in fact my HAL as OMX fails to initialize whenever taking a photo, and because of that Snap crashes. I would really like a log of the LTE issues one of you reported as I do not use data on my device, so I have no way of debugging that. Remember... You should always log stuff with adb when something like this happens otherwise I can't do my part as the developer. Again, I am sorry, but in time, this will get fixed ASAP. I was hoping it'd be smooth sailing, but I really am having a hard time taking into account that this just passed me by after tens of builds over the last week, and so much time spent debugging everything. I wont post updates or anything like that. I don't want to clutter XDA, but I do have a little bit of work to do that is obviously going to take more than 9 attempts. It isn't like these are instant either. They take hours at a time lol. Well, hopefully I can get this fixed today. If not, again, I am so sorry

Edit: So far I've managed to fix manual mode and the green tint with fast and slow motion recording. The shutter is still broken however, but that should be fixed soon. Stick around ;)
 
Last edited:

CertifiedBlyndGuy

Retired Forum Moderator / Inactive Recognized Deve
Jun 11, 2014
1,936
2,983
113
Boulder
Will test for sure if camera became stable and with a good result !
Is 4K video recording will be functionnal or is planned to?

PS : I will test Freedcam raw capture for sure.
Yes, all the features of Sultan's camera will be supported here. I have to debug a few more things and work out some issues first. Built 15 times yesterday to test camera stuff, and got kinda far so I hope for the best. It'll get fixed
 
  • Like
Reactions: gllark
Status
Not open for further replies.