Samsung Galaxy Core Plus (samsung-cs02)

Samsung Galaxy Core Plus G3500 (Broadcom variant)

Contributors

 * Santeri3700

Maintainer(s)

 * Santeri3700

What works

 * Screen
 * Audio* (more information below)
 * USB Network
 * Wifi*
 * Touch
 * Proximity sensor
 * enable with
 * Accelerometer
 * enable with
 * Compass
 * enable with

What does not work

 * Setting up wifi using NetworkManager GUI/applet. (nm-applet never asks for the PSK, manually setting the password works and nmtui works too)
 * Everything else

Audio
Audio works partially and only with Alsa. PulseAudio doesn't seem to work even when changing the sample rate to 48KHz.
 * Playback only work with with the sample rate of 48KHz. Anything else than 48KHz results in silence or or crackling (and the logs say "underrun!!!")
 * Recording works only with the sample rate of 48KHz and mono only.

Alsa record & playback test:

Misc

 * CMDLINE:
 * Both 150kΩ and 619kΩ resistors work for a serial debug cable.

Bootloader / S-Boot 4.0
'''To abort auto-boot, press Enter while the phone is powered on. You will need a serial debug cable to be connected before powering on.''' Use command  to get started and use command   to print the output log if commands don't print output immediately. More instructions about the log level and debug printing can be found below.

Version:

Default : REBOOT_MODE: 0 : SWITCH_SEL: 1 : DEBUG_LEVEL: 20300 : KERNEL_LOG_LEVEL: 17484 : SUD_MODE: 0 : DN_ERROR: 0 : CHECKSUM: 3 : INT_RSVD6: 0 : INT_RSVD7: 0 : INT_RSVD8: 0 : INT_RSVD9: 0 : CMDLINE: console=ttyS2,115200n8 mem=738M cma0=0M carveout0=0M vmalloc=136M androidboot.console=ttyS2 logbuf_nocache=1 : STR_RSVD1: (null) : STR_RSVD2: (null)

How to enable S-Boot & Kernel debug output (persistent)

S-BOOT # setenv KERNEL_LOG_LEVEL 17740 argv[0]: setenv argv[1]: KERNEL_LOG_LEVEL argv[2]: 17740 S-BOOT # printenv : REBOOT_MODE: 0 : SWITCH_SEL: 1 : DEBUG_LEVEL: 20300 : KERNEL_LOG_LEVEL: 17740 <--- New log level appears here : SUD_MODE: 0 : DN_ERROR: 0 : CHECKSUM: 3 : INT_RSVD6: 0 : INT_RSVD7: 0 : INT_RSVD8: 0 : INT_RSVD9: 0 : CMDLINE: console=ttyS2,115200n8 mem=738M cma0=0M carveout0=0M vmalloc=136M androidboot.console=ttyS2 logbuf_nocache=1 : STR_RSVD1: (null) : STR_RSVD2: (null) S-BOOT # saveenv S-BOOT # reset

How to enter flash mode

 * Press volume down and the home key, then press the power button.
 * Maintain volume down and home pressed until a warning screen comes up
 * Press volume up to confirm

Links

 * WIP Device package (fork)
 * WIP Kernel package (fork)
 * WIP Firmware package (fork)
 * Kernel source
 * Good hardware information page