Samsung Galaxy Grand Neo (samsung-baffinlite)

== Contributors ==
* knuxify
== Maintainer(s) ==
* knuxify
== Device owners ==
== How to enter flash mode ==
* Recovery: Power+VolUp
* Download/Odin: Power+VolDown+Home
== Installing ==
Follow the Installation guide. To flash to the device, boot into Download/Odin mode by holding the Volume Down + Home buttons while powering on the device, then run the pmbootstrap flasher commands to flash.
== Notes ==
The device freezes under heavy load (such as installing certain apps through apk).
Audio works for a split second and then crashes.
== Serial ==
This device uses the microUSB carkit debug cable, and works with 150K and 619K resistors.
By default, there's no bootloader log output; you need to mash the Enter key before "!" appears, then type "log", then reset. You should now be able to see the full bootloader logs. (See also: Samsung Galaxy Core Plus (samsung-cs02))
== Mainline status ==
There's mainlining work being done for this device by knuxify; currently it can boot to the initramfs, but lots of stuff is still broken. See the current mainlining progress issues. The mainline kernel is not packaged in pmOS yet, but will be once the most important issues are resolved.
Element type 	Element 	Works?	Notes
Chipset 	BCM23550 	P 	DTS in mainline. All 4 cores work, but frequency is stuck at bootloader settings. USB does not work. Suspend does not work.
Graphics 	Videocore IV 	P 	Videocore IV is supported in mainline, but there is no DRM driver for the Kona framebuffer. Managed to get working graphics with simple-framebuffer.
USB-OTG switch 	FSA9485 	Y 	Similar to the FSA9480, which is in mainline; has some additional bits for supporting audio docks.
Touchscreen 	MELFAS MMS144 	Y 	Appears to be near identical to the MMS136, which is supported by the mms114 driver.
WiFi, Bluetooth 	BCM4330 	P 	Driver in mainline. Bluetooth tries to initialize (untested, missing firmware in my test image), WiFi does not show up despite being in the DTS and the driver being compiled.
Display 	HX8369, SC7798 	N 	HX8369 is in mainline, SC7798 is not in mainline. HX8369 is definitely used on the single-sim models, whether the SC7798 is used anywhere is unclear.
Camera 	Samsung S5K4ECGX (rear) and DB HiTek DB8V61M (front)	N 	s5k4ecgx was in mainline but got dropped, db8v61m is only in Broadcom downstream.
PMU 	BCM59054 	P 	Regulators are mostly supported; only missing feature is regulator modes. Still missing charger support, etc.
Backlight 	KTD3102 	N 	Not in mainline
Proximity/ambient light sensor	Sharp GP2AP002 	Y 	Driver in mainline
Geomagnetic 	Alps HSCDTD008A 	Y 	Supported in mainline by the Asahi Kasei AK8974 driver
Accelerometer, magnetometer 	Bosch BMC150, BMA255(?) 	Y 	Driver in mainline
== Internals ==
File:Samsung Galaxy Grand Neo board 1.jpeg|thumb|600px|
File:Samsung Galaxy Grand Neo board 2.jpeg|thumb|600px|
File:Samsung Galaxy Grand Neo board 3.jpeg|thumb|600px|
File:Samsung Galaxy Grand Neo board 4.jpeg|thumb|600px|
File:Samsung Galaxy Grand Neo board TX.png|thumb|600px|Location of TX pins on the board, according to the service manual (notice they're covered by the PCB mask)
== See also ==
* Merge request
* WIP mainline kernel
* 
* 
* Samsung_Galaxy_Grand_Neo_(samsung-baffinlite)/Downstream_notes
* New sources
* Old sources