• 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

[SM-G850F][SLTE] CyanogenMod 12.1 UNOFFICIAL BETA8 (Android 5.1) - UPDATE: 2015-10-22

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
ABOUT THE GALAXY ALPHA CM-12.1 PROJECT

I'm working on getting CyanogenMod working on the Galaxy Alpha since October 2014. This ROM is not complete. There are still features which are not fully working and there are for sure things which need bugfixing. Please check the Known Bugs section before reporting issues.

I work on this project for FREE and putting in a lot of hours into it. A small donation would help to buy better tools to improve the development some day.

RECOVERY

To be able to install the ROM you need a recovery. I suggest to use my TWRP Recovery build. You can find it here.

BACKUP

Before installing the ROM you should create backups. The most important backup is to create one of the EFS partition and store it on safe place on your computer. If something goes wrong you need to restore this partition. It holds information about your device, like the MAC address for your wifi and information for the radio.

DOWNLOAD

You are storing very sensitive information on your phone. You always have to be careful what ROMs you flash and whom you trust. If you don't trust me then don't use my ROM or compile it from source by yourself.
The ROM will be gpg signed with my key 0xCC014E3D. You can verify the ROM with 'gpg --verify cm-12.1-20150901-UNOFFICIAL-slte-beta1.zip.asc '.

Detailed information and instruction for Windows can be found here.

Download BETA

FLASHING THE ROM

As this is a Lollipop (Android 5) based ROM you need to flash sboot (bootloader) and the modem image from one of the latest LL releases. Or install a LL ROM via the Samsung update option. You can find the latest stock ROM here. Suggested modem version is: G850FXXU2COI3 or newer

I suggest to put the ROM on a USB disk and use a USB OTG cable to flash the ROM. It is also possible to put it on the emulated sdcard and flash it from there.

GAPPS

I suggest to use Open GAPPS.

REPORTING BUGS

Give the programmer some credit for basic intelligence: if the program really
didn't work at all, they would probably have noticed. Since they haven't
noticed, it must be working for them. Therefore, either you are doing something
differently from them, or your environment is different from theirs. They need
information; providing this information is the purpose of a bug report. More
information is almost always better than less.
Before reporting bugs, please check the KNOWN BUGS list below and read THIS HOWTO

XDA:DevDB Information
[ROM][SM-G850F] CM-12.1 UNOFFICIAL ROM, ROM for the Samsung Galaxy Alpha

Contributors
modpunk, raymanfx, bonuzzz, kyasu
Source Code: https://git.cryptomilk.org/projects/android/android_device_samsung_slte.git/

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: TWRP/CWM Recovery
Based On: CyanogenMod

Version Information
Status: Beta
Current Beta Version: 8
Beta Release Date: 2015-10-22

Created 2015-09-01
Last Updated 2015-10-26
 
Last edited:

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
KNOWN ISSUES
  • RIL: SMS broadcast subscriptions aren't working (generic failure)
  • MEDIA: HEVC videos don't work
  • INCALL: Some SLTE devices need 10-30 seconds to wake the screen on an incoming call
  • VOIP: Not tested (could someone please test)

CHANGELOG
2015-10-22 + BETA8
  • audio: Should be completely working now
  • ril: Fixed network operator search

2015-10-15 - BETA7
  • audio: More fixes to get audio fully working
  • audio: Fixed voice recording (camcorder should work fine now)
  • audio: Fixed media playback (especially over bluetooth)
  • camera: Fixed remaining camera issues (using LL blobs now)
  • Kernel: Smaller kernel image using XZ compression now
  • Kernel: Updated arizona sound driver

2015-10-10 - BETA6
  • More fixes to the audio HAL
  • Improved PowerHAL (VSYNC and LOW_POWER) support
  • This version includes the latest Security fixes for Android, see the Android Patchlevel in Settings -> About Phone.

2015-10-07 - BETA5
  • Fixed audio calls (wideband)
  • Fixed audio calls with bluetooth headset and carkit
  • Fixed audio recordings
  • This version includes the latest Security fixes for Android, details see here.

2015-10-02 - BETA4
  • Fixed bluetooth call playback (mics are not working yet)
  • Fixed two mic control in audio HAL
  • Fixed firmware loading on wisol devices
  • New sensor HAL
  • Improved boot time

2015-09-17 - BETA3
  • Added bluetooth headset support
  • Added support for noise suppression
  • Better sound quality on wideband connections

2015-09-03 - BETA2
  • Fixed flashing issue with TWRP
  • Set addtitional build information

2015-09-01 - BETA1
  • Initial release
 
Last edited:

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
FREQUENTLY ASKED QUESTIONS

"It doesn't work."

Give the programmer some credit for basic intelligence: if the program really didn't work at all, they would probably have noticed. Since they haven't noticed, it must be working for them. Therefore, either you are doing something differently from them, or your environment is different from theirs. They need information; providing this information is the purpose of a bug report. More information is almost always better than less.

Please read How to Report Bugs Effectively

My modem doesn't work, what can I do?

Did you flash the latest MODEM firmware from the latest Lollipop release? The suggested firmware is at least G850FXXU2COI3 or newer

How do I use adb/logcat go get logs from my device

You can find a good tutorial here.
 
Last edited:
  • Like
Reactions: mhsn7

miszko77

Senior Member
May 8, 2010
61
14
0
Gdynia
I have problem with flashing. I tried with suggested TWRP. Flashing rom takes 1 second and ends with successful information

Edit. "Unable to mount /system" twrp error
 
Last edited:

lukrangelu

Senior Member
Oct 10, 2013
58
12
0
33
Iapu
I have problem with flashing. I tried with suggested TWRP. Flashing rom takes 1 second and ends with successful information

Edit. "Unable to mount /system" twrp error
I have same problem

---------- Post added at 09:58 PM ---------- Previous post was at 09:57 PM ----------

I am using 2870. Anyway I flashed recovery with odin. May this be a problem?
I am using 2.8.7 also
 

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
I have same problem

---------- Post added at 09:58 PM ---------- Previous post was at 09:57 PM ----------



I am using 2.8.7 also
Could you connect with 'adb shell' to the recovery and run 'getenforce'. Then get me the log and avc_msg file with:

adb pull /tmp/recovery.log
adb pull /proc/avc_msg

and paste the file somewhere ...
 

lukrangelu

Senior Member
Oct 10, 2013
58
12
0
33
Iapu
Could you connect with 'adb shell' to the recovery and run 'getenforce'. Then get me the log and avc_msg file with:

adb pull /tmp/recovery.log
adb pull /proc/avc_msg

and paste the file somewhere ...


-a - directs adb to listen on all interfaces for a connection
-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is running.
-s <specific device> - directs command to the device or emulator with the given
serial number or qualifier. Overrides ANDROID_SERIAL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
-H - Name of adb server host (default: localhost)
-P - Port of adb server (default: 5037)
devices [-l] - list all connected devices
('-l' will also list device qualifiers)
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number is specified.
Using this command with no additional arguments
will disconnect from all connected TCP/IP devices.

device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward --list - list all forward socket connections.
the format is a list of lines with the following format:
<serial> " " <local> " " <remote> "\n"
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb forward --no-rebind <local> <remote>
- same as 'adb forward <local> <remote>' but fails
if <local> is already forwarded
adb forward --remove <local> - remove a specific forward socket connection
adb forward --remove-all - remove all forward socket connections
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>
- push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
('-s' means install on SD card instead of internal storage)
('--algo', '--key', and '--iv' mean the file is encrypted already)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories)
adb bugreport - return all information from the device
that should be included in a bug report.

adb backup [-f <file>] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]
- write an archive of the device's data to <file>.
If no -f option is supplied then the data is written
to "backup.ab" in the current directory.
(-apk|-noapk enable/disable backup of the .apks themselves
in the archive; the default is noapk.)
(-obb|-noobb enable/disable backup of any installed apk expansion
(aka .obb) files associated with each application; the default
is noobb.)
(-shared|-noshared enable/disable backup of the device's
shared storage / SD card contents; the default is noshared.)
(-all means to back up all installed applications)
(-system|-nosystem toggles whether -all automatically includes
system applications; the default is to include system apps)
(<packages...> is the list of applications to be backed up. If
the -all or -shared flags are passed, then the package
list is optional. Applications explicitly given on the
command line will be included even if -nosystem would
ordinarily cause them to be omitted.)

adb restore <file> - restore device contents from the <file> backup archive

adb help - show this help message
adb version - show version num

scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb get-devpath - prints: <device-path>
adb status-window - continuously print device status for a specified device
adb remount - remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:

- If <directory> is not specified, both /system and /data partitions will be updated.

- If it is "system" or "data", only the corresponding partition
is updated.

environmental variables:
ADB_TRACE - Print debug information. A comma separated list of the following values
1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.




would it be this?
 

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
Thanks a lot modpunk,
initial bug after doing wipe incl. Cache, dalv.cache and using same minimal gapps that works in kyasus cm12.1
I dont have network setting up, sim card not detected and cannot manually activate it.
Again thank you for your work,
blubberor
Read the bug report section in the initial post, provide logcat for system/main and also radio. This is a beta version you should at least know the basics how to get information from the device ...
 

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
Here you are.
The recovery reports:

Code:
You have an installed system that isn't signed with this build's key, aborting...
script aborted: Can't install this package on top of incompatible data. Please try another package or run a factory reset
Can't install this package on top of incompatible data. Please try another package or run a factory reset
This is a pretty obvious message to me. You need to wipe system and data in order to install the ROM.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone