[Galaxy Tab S Android Development] :
Stable build: 20151112

EDIT: [MENTION=3052425]Hannibal226[/MENTION]: May I ask for mirroring this build, please?

EDIT2: gits are up to date. This stable version is build from branch cm-12.1 (at the moment all three branches (cm-12.1, current-12.1 and 121-work) are on the very same commits. As always I will continue to develop on 121-work)

-----

Please refer to posting #3 on how to report an issue.

I consider the builds from 20151112 on as non-beta and stable.

Don't expect nightlys. I'm planing one build per 10 - 14 days. [MENTION=1409248]lionheartk[/MENTION] is pushing upstream updated builds from time to time. You can find them in the thread when he publishs them - so read the thread. When hunting down an issue or implementing new features, I will push test-builds in the thread - not here in OP.

CyanogenMod (pronounced /saɪ.'æn.oʊ.dʒɛn.mɒd/) is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices.

http://wiki.cyanogenmod.org/w/About

#include

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

Credits

[MENTION=4193974]Barracuda77777[/MENTION] (without his contributitions and encouragement there would be no cm11 rom. He alone saved me from loosing myself in source code! Whenever I got stuck he came up with the brilliant change or the day saving idea. Thank you, brother!)

[MENTION=3511708]UpInTheAir[/MENTION] (most of the code changes in the kernel from the last 10 days before Christmas are from his SkyHigh kernel. He let me use his code, and most important: he explained with endless patience to me what I was doing... ;) To reflect this the default branch of our kernel is no longer cm-11.0 but cm-11.0-sh [sh for small sister of SkyHigh]. Thank you, mate!

[MENTION=3857343]crpalmer[/MENTION] (for picassowifi device and kernel gits - the base [MENTION=4193974]Barracuda77777[/MENTION] and me sstarted of from)

[MENTION=2346758]eousphoros[/MENTION] (for his device git: the base for [MENTION=3857343]crpalmer[/MENTION]s work)

[MENTION=1409248]lionheartk[/MENTION] for providing twice-a-weak-builds.

[MENTION=4375260]diegocr[/MENTION] for getting rid of repackrom.

[MENTION=4305965]halaszk88[/MENTION], [MENTION=3332811]faux123[/MENTION] and all the others I forgot

Unique Features

Features not to find in cm at the moment:

sswap support (using sswap binary for utilizing the swap partion of chagallwifi)

init.d support - only if you use [MENTION=631273]Chainfire[/MENTION]'s SuperSu (not possible with build in superuser)

modulized kernel and module loading support through init.d script 01moduleload

Known Issues

MHL has no sound and wrong colors

If you map MENU to a capacitive key (no matter if key itself or "long press", it will not work - workaround: do not map MENU to anything at all, then the apps are forced to show action overflow menu (aks 3 dot menu) - works on some apps (i.e. bootloguptime) on others not.

Some minor crackling when using bt-audio the same time as 2.4GHz wlan (5Ghz wlan is issue free).

No real issue, but a not currently supported feature: no onscreen navbar. If you want it - no problem: This is your chance to give something to the community!!! Untill you fixed it, you can use this untested workaround

YOU tell us... ;)

Before reporting issues install the most recent release, read the thread and in doubt do a clean flash. For reporting an issue, please read posting number three

Installation

I recommend the latest twrp build from @ashyx thread, 'cause it supports f2fs, while the original twrp for chagallwifi is still lacking f2fs support.

Do a nandroid backup (and try at least once a restore to be sure it works - reboot to recovery in between backup and restore)

Download the flashable zip and check md5 checksum

read thread (reread postings 1 to 5)

Always do a "clean flash" as described in posting #2 (if you are already on my cm12 rom you can try a "dirty flash" as described in #2 - if you come from any other rom "clean flash" is mandatory!)

(optional: flash gapps)

Recomended

Third party installations of busybox may affect rom; read this.

opengapps: opengapps.org. I use the nano package form arm, versikn 5.1.

Source code

Device: https://github.com/nvertigo/android_device_samsung_chagallwifi

Kernel: https://github.com/nvertigo/android_kernel_samsung_chagallwifi

Binaries: https://github.com/nvertigo/android_vendor_samsung_chagallwifi

Standard build branch is current-12.1.

(Due to heavy work in progress git repositories are not always up to date.)

WARNING: try to not ask already answered questions - this will lead to bad karma, which leads to unwanted side-effects in your life. Kidding, of course - but really try to read the thread.

Changlog and Download

Mirrors are welcome. Thank you in advance!

For cm-12 upstream changelog please consult: http://www.cmxlog.com/12/#

Build 20151113

I'm quite proud to call this build the first non-beta, stable release. As I can tell from the user testing of the last test builds, this is the most reliable, media compatible and nearly issue free combination of the configurations we tested. it has chagalls native kitkat mali blobs. Most of the other blobs are from kitkat, too - only wifi-, bt- and widevine blobs are lollipop. I reverted the introduction od lollipop OMX-blobs, 'cause the lollipop ones were introducing some small issues with media playback.

If you expirience bt-audo issues, when using 2.4GHz wlan at the same time, you can try flashing an other audio_policy.conf from here. Depending on your bt-audio-device, time of day, moonphase and humidity one or an other will give better results.

Changelog:

Update mali blobs to native chagall version.

BoardConfig.mk: derp: fix wrong path. — nvertigo (HEAD -> 121-work

Boardconfig.mk: updated graphics and FIMGAPI settings. — nvertigo

cm.mk: remove \ from last line. — nvertigo

Update to BOJ1: wifi and bluetooth. See also the changes in the vendor-git. — nvertigo

audio: desabled offloading again; makes things worse. — nvertigo

add 48k sampling rate for a2dp — Franco Rapetti

audio: added audio offload. Idea from cm's i9500 git. — nvertigo

BoardConfig.mk: cleanup and beautyfy. — nvertigo

Revert "audio_policy.conf: update from N9005." — nvertigo

Disable journaling on system image for save space — nexor (nvertigo/current-12.1, current-12.1

audio: Fix ril log tag. — Andreas Schneider

hal: audio: Match HAL function prototypes. — Andreas Schneider

Various storage fixes — Sinisa (thermskin

fstab.universal5420: fix vold warnings — Sinisa (thermskin

device.mk: Add permissions for bluetooth and voip — Andrew Tarabaras

Add firmware path for Station, fixes wifi hotspot — Andrew Tarabaras

patches: adjusted OMX-google-ffmpeg.diff to upstream. — nvertigo

audio_policy.conf: update from N9005. — nvertigo

patches: adjusted OMX-google-ffmpeg.diff to upstream changes. — nvertigo

rootdir/etc/fstab.universal5420: enabled the additional use of f2fs for /cache and /data. From UpInTheAir@xda — nvertigo

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12.1-20151112-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: http://charlesingo.mine.nu/ftp/nvertigo/cm-12.1-20151112-UNOFFICIAL-nvertigo-chagallwifi.zip.md5sum

Mirror:

http://xdaforums.com/showpost.php?p=63820133&postcount=1594 Thanx to [MENTION=3052425]Hannibal226[/MENTION]

Happy Flashing!

History

Build 20150413

Updated from cm-12.0 to cm-12.1 - cm-12.1 is based on AOSP 5.1. Remeber to update your gapps package to 5.1. I recommend pa gapps pico: http://xdaforums.com/paranoid-android/general/5-1-x-5-0-x-4-4-x-pa-gapps-mirror-t3069879

ROM: http://162.220.240.98/ftp/nvertigo/cm-12.1-20150413-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: bdc8dc0937ac7416bad5314a45896719#

Mirrors:

http://xdaforums.com/showpost.php?p=60089014&postcount=893 Thanx to [MENTION=3052425]Hannibal226[/MENTION]

Build 20150331

Another sepolicy fix allows the cm-12.0 bootanimation to show up immidietly on boot. ccode is reverted to 00.

Changlog:

sepolicy: allow surfacflinger to add Exynos.HWCService. — Nvertigo

chagallwifi: init: Do not override init.rc! — Christopher R. Palmer

chagallwifi: init: Remove reference to init.recovery.universal5420.usb.rc — Christopher R. Palmer

Revert "Compile stock and Samsung MTPs together [AndreiLux]" — Nvertigo

Revert "enable CONFIG_USB_ANDROID_SAMSUNG_MTP again." — Nvertigo

Revert ccode to 00. — Nvertigo

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150331-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: 7161aed1b89f7190702dc5abe77a6f18

Mirrors:

http://xdaforums.com/showpost.php?p=59820711&postcount=806 thanx to [MENTION=3052425]Hannibal226[/MENTION]

Build 20150319

This build has a significant advantage: I fixed sepolicy in a way (see git for details), that it's NOT necessary any longer to flash [MENTION=631273]Chainfire[/MENTION]s SuperSU. Init.d is working right out of the box. Also Titanium has fixed its problems with cm's superuser. I have adjusted the OP accordingly, so I recommend you read OP again.

I also worked again on MTP and UMS: UMS is only working without problems, if you DON'T use move2sdvard, 'cause sdcard gets unmounted to present it as mass storage to the device on the other end of your usb-cable. BUT: MTP is presenting internal AND external memory WITH ALL DIRECTORIES and not only media containing directories - so you can use it at least on windows machines as substitute for UMS.

The kernel modifications I introduced with rhe seperate keenel are included in roms kernel, and I set ccode for 2.4GHz to EU.

Changelog:

wifi country code: set ccode to EU for 2.4GHz to enable channel 12 and 13. — Nvertigo

Revert "selinux: make init.d work again." — Nvertigo

sepolicy: allow debuggerd access to mali. — Nvertigo

sepolicy: vold: allow module_request. — Nvertigo

sepolicy: fix init.d support for 01moduleload and 10systemtuning. — Nvertigo

include/linux/sched.h: fix my derp from incomplete conflict resolving. — Nvertigo

defconfig: enable CONFIG_CRYPTO_AES_ARM_BS. — Nvertigo

defconfig: adjusted cyanogenmod_chagallwifi_defconfig after incorparating manta's 5.1 from exynos5420. — Nvertigo

for not in cm tree building: adjust CROSS_COMPILE; can be overwritten on command line. — Nvertigo

HID: input: generic hidinput_input_event handler — David Herrmann

net/compat.c,linux/filter.h: share compat_sock_fprog — Will Drewry

sk_run_filter: add BPF_S_ANC_SECCOMP_LD_W — Will Drewry

ARM: pull in <asm/simd.h> from asm-generic — Ard Biesheuvel

crypto: create generic version of ablk_helper — Ard Biesheuvel

ARM: 8120/1: crypto: sha512: add ARM NEON implementation — Jussi Kivilinna

ARM: 8119/1: crypto: sha1: add ARM NEON implementation — Jussi Kivilinna

ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures — Jussi Kivilinna

crypto: arm-aes - fix encryption of unaligned data — Mikulas Patocka

CRYPTO: Fix more AES build errors — Russell King

ARM: add .gitignore entry for aesbs-core.S — Russell King

ARM: add support for bit sliced AES using NEON instructions — Ard Biesheuvel

ARM: move AES typedefs and function prototypes to separate header — Ard Biesheuvel

ARM: 7837/3: fix Thumb-2 bug in AES assembler code — Ard Biesheuvel

ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling — Ard Biesheuvel

ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible — Dave Martin

arm/crypto: Add optimized AES and SHA1 routines — David McCullough

ARM: add seccomp syscall — Kees Cook

CHROMIUM: ARM: r1->r0 for get/set arguments — Will Drewry

CHROMIUM: ARM: arch/arm: allow a scno of -1 to not cause a SIGILL — Will Drewry

CHROMIUM: arch/arm: select HAVE_ARCH_SECCOMP_FILTER — Will Drewry

CHROMIUM: arch/arm: move secure_computing into trace; respect return code — Will Drewry

CHROMIUM: arch/arm: add asm/syscall.h — Will Drewry

cgroup: remove synchronize_rcu(

power: Avoids bogus error messages for the suspend aborts. — Ruchi Kandoi

freezer: shorten freezer sleep time using exponential backoff — Colin Cross

seccomp: Use atomic operations that are present in kernel 3.4. — Robert Sesek

seccomp: implement SECCOMP_FILTER_FLAG_TSYNC — Kees Cook

seccomp: allow mode setting across threads — Kees Cook

seccomp: introduce writer locking — Kees Cook

seccomp: split filter prep from check and apply — Kees Cook

sched: move no_new_privs into new atomic flags — Kees Cook

Fix execve behavior apparmor for PR_{GET,SET}_NO_NEW_PRIVS — John Johansen

seccomp: add "seccomp" syscall — Kees Cook

seccomp: split mode setting routines — Kees Cook

seccomp: extract check/assign mode helpers — Kees Cook

seccomp: create internal mode-setting function — Kees Cook

CHROMIUM: seccomp: set -ENOSYS if there is no tracer — Will Drewry

seccomp: fix build warnings when there is no CONFIG_SECCOMP_FILTER — Will Drewry

seccomp: ignore secure_computing return values — Will Drewry

seccomp: use a static inline for a function stub — Stephen Rothwell

ptrace,seccomp: Add PTRACE_SECCOMP support — Will Drewry

seccomp: Add SECCOMP_RET_TRAP — Will Drewry

signal, x86: add SIGSYS info and make it synchronous. — Will Drewry

seccomp: add SECCOMP_RET_ERRNO — Will Drewry

seccomp: remove duplicated failure logging — Kees Cook

seccomp: add system call filtering using BPF — Will Drewry

seccomp: kill the seccomp_t typedef — Will Drewry

arch/x86: add syscall_get_arch to syscall.h — Will Drewry

Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privs — Andy Lutomirski

prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread. — Ruchi Kandoi

mm: add a field to store names for private anonymous memory — Colin Cross

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150319-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: d3164baca1f11987a61a306f87d7985f

Mirrors:

http://xdaforums.com/showpost.php?p=59573116&postcount=693 Thanx to [MENTION=3052425]Hannibal226[/MENTION]

Build 20150310

fix vulnerability to FREAK attack in Browser.apk. Until cm (there are curtently two diffrent suggestions in gerrit to fix this) commits a fix, every rom builder can do this before brunching:

pushd external/chromium_org/third_party/openssl
git fetch http://review.cyanogenmod.org/CyanogenMod/android_external_chromium_org_third_party_openssl refs/changes/39/90739/1 && git cherry-pick FETCH_HEAD
popd

kernel: gone back a few steps (for details see git). After patching kernel to 3.4.106 and applying some additional commits, I hoped increasing speed and decreseaing battary usage, I realized in many loading cycles, that one or some of the additional commits slightly decrease battery life (the opposide of my intention) - so I removed them again. Sadly I have not the time to examine, which commit really did the bad. I will push the questionable commits in branch "questionable". Everybody can test which commit is the culprit patch. My gut feeling suggests the "squash 'enhanced power efficiency' patch" commit. I would be very thankful for help on testing, 'cause it's very time consuming. You need AT LEAST two complete recharging cycles to make an educated decission. Thanx in advance.

UMS mode: fix write acces to device.

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150310-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: 77cc7bc67818f1251dcf295482fddd65

Mirrors:

http://xdaforums.com/showpost.php?p=59363050&postcount=578 thanx to [MENTION=3052425]Hannibal226[/MENTION]

Build 20150305

Changed wifi countrycode back to 00 (rememner to adjust this to the country code your wifi router is operating in, if expirience wifi issues)

Updated f2fs driver

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150305-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: 4229d8df0afd698fe0c10dfaed3327db

Mirrors:

http://xdaforums.com/showpost.php?p=59253368&postcount=540 thanx to [MENTION=3052425]Hannibal226[/MENTION]

Build 20150228

KODI/XBMC and some games,no input issue solved.

Power off charging fixed.

Updated kernel to 3.4.106.

Cherry picked some effiziency changes from SkyHigh (thanx to [MENTION=3511708]UpInTheAir[/MENTION]

USB UMS mode fixed.

Added mdnie mode setting to init.d/10systemtuning. From: rklrkl@xda.

Make wifi 2.4GHz channel 12 (and perhaps channel 13) working again.

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150228-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: e6ff3a48b31826cfc5c1e31211062e2e

Mirrors:

http://xdaforums.com/showpost.php?p=59161974&postcount=501 thanx to [MENTION=2290901]Retiredfinally[/MENTION]

http://xdaforums.com/showpost.php?p=59175868&postcount=507 thanx to [MENTION=3052425]Hannibal226[/MENTION]

http://xdaforums.com/showpost.php?p=59179113&postcount=509 thanx to [MENTION=4365162]Bantryred[/MENTION]

Build 20150203

fix move to sd card. (*)— Nvertigo

fix power off charging (lpm charging) partly. (**) — Nvertigo

chagallwifi: sepolicy: Fix denial killing CM's SetupWizard — Christopher R. Palmer

chagallwifi: bluetooth: Fix audit denial — Christopher R. Palmer

sepolicy: fix gpsd: simplify file_contexts; restrict gpsd access to files to the required rights. — Nvertigo

chagallwifi: wifi: Switch to world regulatory domain. — Christopher R. Palmer

(*) Works even if wiping system to do a rom-flash, but be carefull: it takes time. If you have moved some apps to sdcard wait for 10 minutes or so after boot seems completed before logging in. On a test I was impatient and the apps seems to have gone from homescreen (nova) and appdrawer, but after a while they was back in app-drawer and I had to readd them to home screen. If waiting a bit before logging in, everything is in place.

Remember when apps are moved to sd, that a nandroid WILL NOT(!) INCLUDE THE MOVED APPS.

Not all apps are movable. If you move apps, that require root, you will be asked again to allow root (like you just reinstalled them).

(**) power off charging IS working. It charges and does not emergency reboot to recovery any longer. It even shows the sammy charging animation, BUT gpio keys (power, volume and home) do not work. So you can't reboot, while plugged in. You also can't switch on screen with animation again. If you want to reboot, plug off device, then the screen will come on with charging status. Wait til it goes black again, wait for three more seconds, and start your device normally with the power button.

This build is done from the 12-work branches of my three gits. I will push this status to current-12.0 soon.

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150203-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: 2d0c5826ba5d2ba1d2f3761c5165664a

Build 20150128

fixed selinux for gps

fixed selinux for init.d support works only if you flash [MENTION=631273]Chainfire[/MENTION]'s SuperSU

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150128-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: 36bc597e89be0af6233abf4f4824bc69

Build 20150125

fixed netflix

adjusted battary capacity to our 7900 mAH specs

all upstreammcommits till 20150125 18:00 h UTC

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150125-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: ac0d1198c4100b407bcc46a01235c6c7

Build 20150123

Set selinux to permissive for now. This fixes: gps and init.d support. repo synced: 20:00 20150123 UTC.

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150123-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: d5fc4388c383e9b8a5beb9aa67cde5e2

Build 20150121

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12-20150121-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: f2a0a10cd867b34a3d3107ef5640b9c8