nyuuzyou/wikis huggingface dataset:
Samsung Galaxy A6+ 2018 (samsung-a6plte)

== Users owning this device ==
== How to enter flash mode ==
* Recovery: Power on the device by holding and .
* Download: Hold and while plugging the device to a computer with a USB cable.
* lk2nd: Power on the device by holding and .
== Unlocking the bootloader ==
# Enable developer mode by tapping on the build number seven times in Settings → About phone → Software information
# Return to the main settings page and go to the developer options
# In developer options, enable OEM unlocking. Make sure you have an internet connection if it doesn't show up.
== Installation ==
# Unlock the bootloader if not done.
# Select the edge branch, then a6plte and your favorite UI with pmbootstrap init
# Generate the rootfs with pmbootstrap install to install postmarketOS to the phone or pmbootstrap install --sdcard /dev/sdX to install it on an SD card.
# Reboot into download mode
# Flash lk2nd (alternative bootloader that provides a standard fastboot interface) with pmbootstrap flasher --method=heimdall-bootimg flash_lk2nd. The device should automatically boot into lk2nd afterwards.
# Flash postmarketOS with pmbootstrap flasher flash_rootfs or pmbootstrap flasher flash_rootfs --partition userdata to flash it to the bigger userdata partition. Skip this step if you have installed postmarketOS to an SD card.
# Reboot the phone with fastboot reboot or by selecting START in lk2nd with the power button.
== Gallery ==
File:Samsung-a6pltexx.png|Plasma Mobile
== Hardware details (hwtest) for A6PLTE ==
Category 	Model 	Path 	Status 	Value
framebuffer 	msmdrmfb 	/sys/class/graphics/fb0 	working	
drm 	 	/sys/class/drm/card0-DSI-1 	working	1080x2220
camera 	sr556 20-0028 	/dev/v4l-subdev17 	broken 	
camera 	s5k2x7sp 20-0010 	/dev/v4l-subdev18 	broken 	
camera 	s5k2p6sx 21-002d 	/dev/v4l-subdev19 	broken 	
accelerometer	lsm6dsl_accel 	/sys/bus/iio/devices/iio:device2	working	
gyroscope 	lsm6dsl_gyro 	/sys/bus/iio/devices/iio:device1	working	0.01, -0.03, -0.0 rad/s
vibrator 	gpio-vibrator 	/dev/input/event4 	working	
input 	gpio-keys 	/dev/input/event0 	working	
input 	s6sy761 	/dev/input/event1 	working	
input 	pm8941_pwrkey 	/dev/input/event2 	working	
input 	pm8941_resin 	/dev/input/event3 	working	
input 	samsung-a2015 Headset Jack	/dev/input/event5 	working	
Audio works with speakers, and with jack or bluetooth headset.
== See also ==
* Device specifications
* 
*
Samsung Galaxy A6 2018 (samsung-a6lte)

== Contributors ==
* sleirsgoevy
== Users owning this device ==
== How to enter flash mode ==
* Recovery: Power on the device by holding and .
* Download: Hold and while plugging the device to a computer with an USB cable.
* Hard reboot: Press and hold and for 7 seconds.
== Unlocking the bootloader ==
# Enable developer mode by tapping on the build number seven times in Settings → About phone → Software information
# Return to the main settings page and go to the developer options
# In developer options, enable OEM unlocking. Make sure you have an internet connection if it doesn't show up.
== Installation ==
# Unlock the bootloader if not done.
# Select a6lte and Xfce4 UI with pmbootstrap init
# Generate the rootfs with pmbootstrap install to install postmarketOS to the phone or pmbootstrap install --sdcard /dev/sdX to install it on an SD card.
# Generate the flashable images with pmbootstrap export. They will be stored in /tmp/postmarketOS-export, or you can specify another location like this: pmbootstrap export /home/user/Downloads/pmos
# Reboot into download mode
# Flash postmarketOS with heimdall flash --BOOT /tmp/postmarketOS-export/boot.img --SYSTEM /tmp/postmarketOS-export/samsung-a6lte.img (replace the paths if necessary). If you installed to an SD card, specify only the BOOT argument. Also you may choose the bigger USERDATA partition for the system image.
# The phone should reboot straight into postmarketOS.
Note: installation with pmbootstrap flasher flash_kernel and pmbootstrap flasher flash_rootfs will probably work, but this is untested.
=== Alternative Installation ===
If installation with heimdall/pmbootstrap flasher fails you could use the recovery-zip method, see Installation_from_recovery_mode.
Note: if you desire to use the bigger partition, use pmbootstrap install --android-recovery-zip --recovery-install-partition=USERDATA
== Mainline status ==
* Pinctrl works, clock controller missing drivers
* Display, touchscreen, eMMC and external sdcard full work
* Wi-Fi and Bluetooth work
* Fuelgauge works (thanks @Tooniis), but is not enabled in the current .config
== Notes ==
* Putting calls on hold and having several calls active simultaneously is not supported
* Mobile data currently connects on IPv4 only
* Wi-Fi does not connect out of the box. To connect to a network, after adding the network normally, open nm-connection-editor, edit the connection you're trying to activate, and set the "Cloned MAC address" setting to "Do not change". This should be fixed now, but YMMV.
== See also ==
* Device specifications
* Initial merge request
* 
*
Samsung Galaxy A71 (samsung-a71)

== Contributors ==
* WiiPlayer2
== Users owning this device ==
== How to enter flash mode ==
Download Mode: Hold down the and keys while plugging in the USB cable.
Recovery Mode: Hold down the and keys while plugging in the USB cable.
== Installation ==
Use pmbootstrap to build your own installation image.
== See also ==
* Device Info HW database entry
* GSMArena page
* Kernel fork
* pmaports fork
Samsung Galaxy A72 (samsung-a72q)

== Contributors ==
* User:Map220v
== Users owning this device ==
== How to enter flash mode ==
To enter one of these modes phone must be connected to PC (usb-c headphones and phones might also work)
* Odin Mode: Power on the device with both and buttons. Then click to confirm.
* Recovery: Power on the device with both and buttons.
== Unlocking the Bootloader ==
Samsung made this easy (thankfully):
Reboot into Download mode (hold down and while plugging it into a computer) and hold down .
This way, you can also relock the bootloader (with the only benefit being that the message at the Beginning is gone, no more Knox)
== Installation ==
First, install pmbootstrap.
After that, set up the device to be used:
$ pmbootstrap init
Channel [edge]:
Vendor [samsung]: samsung <- enter this
Device codename [i9100]: a72q <- enter this
Enable this package? (y/n) [y] <- you probably want non-free firmware
User interface [plasma-mobile]: <- choose any UI by your preference. Plasma Mobile works without issues :)
...
Then, create the rootfs image (and install it on sd card if you want)
$ pmbootstrap install (--sdcard=/dev/whatever_your_sdcard_is if you want to install to sd card)
 
After that, flash the kernel by doing
$ pmbootstrap flasher flash_kernel
and if you didn't install to an SDCard, flash the rootfs by running
$ pmbootstrap flasher flash_rootfs
After installation download emptyDTBO.img and flash using heimdall or TWRP.
== Status table explanation ==
This table explains more in detail why some features are marked as partial (P) or Broken (N). Generally it's because feature works with some limitations, or is a "work-in-progress":
Component	Status	Notes
Screen 	P 	Changing brightness causes graphical artifacts(It's recommended to disable automatic brightness control)
Audio 	P 	Only audio from built in stereo speakers works.
Calls 	N 	Can recieve and make calls but call audio missing.
== Notes ==
Issues with DEs etc.:
* framebufferphone: has issues with Touch
* xorg: doesn't work/crashes on adreno 618 (wayland/xwayland works fine)
== See also ==
* Mainline kernel
* Merge Request for the device
* NotebookCheck Page about the used SOC
* GSMArena page about the phone
Samsung Galaxy A7 2015 (samsung-a7)

== Users owning this device ==
== How to enter flash mode ==
Press Volume Down, Power, and Home all at the same time to boot to Odin mode. After lk2nd is installed, press Volume Down and Power at the same time.
== 3D acceleration ==
Instead of 60 fps in video modeinclude/drm/drm_mipi_dsi.h, panel s6e3fa2-ams549eh01 runs at 30 fps in command mode. The framerate is reduced to 5/6x drm/panel: panel-samsung-s6e3fa2-ams549eh01: Reduce the framerate to 50 fps on mainline, and it runs at only 25 fps now. Ideally, we should found a solution to covert the panel to video mode.
== Touchscreen ==
There is no successful attempt on SM-A700H for now.
$ dmesg | grep cyttsp5
[ 14.031305] cyttsp5 6-0024: Error on deassert int r=-6
[ 14.031344] cyttsp5 6-0024: Fail initial startup r=-19
== Ambient Light/Proximity Sensor ==
The driver for tmd3782 ambient light/proximity sensor is not available.
== Reboot Loop ==
There are some issues on the hardware, which cause endless reboot even you have a 100% charged battery.
== See also ==
* Samsung Galaxy A3 2015 (samsung-a3)
* Samsung Galaxy A5 2015 (samsung-a5)
* 
* 
== References ==
Samsung Galaxy A7 2018 (samsung-a7y18lte)

== Maintainer(s) ==
* M0Rf30
== Users owning this device ==
== How to enter flash mode ==
In a turned off state, press + + then press to continue.
== How to go back to TWRP ==
If you're stuck in system loading and you can't enter the Download mode, press + to force shutdown.
At reboot (on Samsung logo and vibration), press + until the recovery splash comes out.
 
== Installation ==
Like other heimdall phones, heimdall doesn't seem to like the subpartitions in the SYSTEM partition.
It's recommended to use the android recovery zip installer with TWRP on the phone, but you can also install to an SD card/USB Drive and flash the boot.img using heimdall.
NOTE: On firmware versions later than Dec 2021, TWRP may have graphical glitches and/or bootloop (unbrick by draining/disconnecting battery). It is recommended to downgrade your firmware version.
=== Installing with recovery ===
$ pmbootstrap install --android-recovery-zip
$ pmbootstrap export
Then copy the zip to an SD card or similiar and install it from TWRP.
=== Installing to external SD/USB ===
$ pmbootstrap install --sdcard=<SDCARD/USB LOCATION>
$ pmbootstrap flasher flash_kernel
=== Other details ===
3 variants are reported from the following dts files:
* exynos7885-a7y18lte_eur_open_00.dts (rev00) SM-A750G (Hong Kong)
* exynos7885-a7y18lte_eur_open_01.dts (rev01) SM-A750F/DS (EMEA)
* exynos7885-a7y18lte_eur_open_03.dts (rev02) SM-A750FN/DS (Europe)
== See also ==
* Initial merge request
* 
*
Samsung Galaxy A8+ 2018 (samsung-jackpot2lte)

== Contributors ==
* VDavid003
== Maintainer(s) ==
== Users owning this device ==
== Notes ==
Merge request is yet to be done, device package is based on Samsung Galaxy A8 2018 (samsung-jackpotlte)
== How to enter flash mode ==
In a turned off state, press + + then press to continue.
== Installation ==
Like other heimdall phones, heimdall doesn't seem to like the subpartitions in the SYSTEM partition.
It's recommended to use the android recovery zip installer with TWRP on the phone, but you can also install to an SD card/USB Drive and flash the boot.img using heimdall.
=== Installing with recovery ===
$ pmbootstrap install --android-recovery-zip
$ pmbootstrap export
Then copy the zip to an SD card or similiar and install it from TWRP.
=== Installing to external SD/USB ===
$ pmbootstrap install --sdcard <SDCARD/USB LOCATION>
$ pmbootstrap flasher flash_kernel
Samsung Galaxy A8 2018 (samsung-jackpotlte)

== Contributors ==
* VDavid003
* Dakotath
== Maintainer(s) ==
* VDavid003
== Users owning this device ==
== How to enter flash mode ==
In a turned off state, press + + then press to continue.
== Installation ==
Like other heimdall phones, heimdall doesn't seem to like the subpartitions in the SYSTEM partition.
It's recommended to use the android recovery zip installer with TWRP on the phone, but you can also install to an SD card/USB Drive and flash the boot.img using heimdall.
=== Installing with recovery ===
$ pmbootstrap install --android-recovery-zip
$ pmbootstrap export
Then copy the zip to an SD card or similar and install it from TWRP.
=== Installing to external SD/USB ===
$ pmbootstrap install --sdcard=<SDCARD/USB LOCATION>
$ pmbootstrap flasher flash_kernel
== See also ==
* Initial merge request
* 
* 
* Mainline kernel (device tree)
* Minimal S-Boot Wrapper
Samsung Galaxy Ace (samsung-s5830)

== Users owning this device ==
== What works ==
* kernel booting! (maximum-attention hook)
* splash screen
== What doesn't work ==
* usb networking, debug-shell/initramfs hook usb connection
* Everything else (untested)
* Flashing (maybe works for people not using VirtualBox for pmbootstrap?)
== Modes ==
* Download/ODIN: Hold PWR + HOME + VOL DOWN during boot, then press VOL UP when asked.
* Recovery: Hold PWR+HOME during boot.
* RAMDUMP: Hold PWR+HOME+VOLUP during boot.
== Installation ==
WORK IN PROGRESS, ATTEMPT AT OWN RISK
There are likely better ways to do this, but this is all I could get working.
# Install rootfs to an sd card using `pmbootstrap install --sdcard=/dev/mmcblk0`
# On a Windows PC, Download Odin Multi Downloader v4.38
# Run pmbootstrap export --odin
# Grab boot.img-samsung-s5830 from /tmp/postmarketOS-export. Rename it to boot.img, then use 7zip to compress it into a .tar archive
# In Odin, load Cooper_v1.0.ops and select your boot.tar as the BOOT image. Then press start.
== Notes ==
* This device covers the S5830, S5830D, S5830B, S5830L and S5830T, which are revisions of the same device. The S5830i is a different device and has its own port. S5830C and S5830M are unknown.
== Gallery ==
File:samsung-s5830.jpg|thumb|left|Splash screen
== See also ==
* TWRP
* Kernel Fork used
* pmaports progress
Samsung Galaxy Ace 3 3G (samsung-logan)

== Contributors ==
* AppData 174
== Users owning this device ==
== How to enter flash mode ==
* Download mode: While the device is turned off, hold + + , and confirm the action by pressing thereafter.
* Recovery mode: While the device is turned off, hold + + .
== Installation ==
 pmbootstrap init # Choose samsung-logan
 pmbootstrap install
 # Boot into download mode before running the command below
 pmbootstrap flasher flash_rootfs
 # Boot into download mode again
 pmbootstrap flasher flash_kernel
=== Hardware Acceleration ===
# Open aports/device/testing/device-samsung-logan/APKBUILD in a text editor and add mesa-egl to the depends
# Rebuild the device package: pmbootstrap build device-samsung-logan --force
# Run pmbootstrap install --fde
However, the image will be much bigger than the system partition, so you will need to either flash it to another partition or an SD card.
=== USB Internet ===
See USB Internet.
=== Display ===
If your device is stuck on the postmarketOS splash screen on startup (or the screen is black) and you are using LightDM, connect to your phone via SSH and run this command:
 loginctl show-seat seat0
If CanGraphical is no or 0, open the LightDM config in a text editor:
 sudo vi /etc/lightdm/lightdm.conf
Find the line where it says #logind-check-graphical=true and replace it with logind-check-graphical=false.
Restart the device and it now should work.
== See also ==
* Initial merge request (Not merged at the time of writing)
Samsung Galaxy Ace 3 Duos (samsung-logands)

== Maintainer(s) ==
* AppleCross 
== Contributors ==
* AppleCross 
== Users owning this device ==
== How to enter flash mode ==
* Download mode: While the device is turned off, hold + + , and confirm the action by pressing thereafter.
* Recovery mode: While the device is turned off, hold + + .
== Installation (Android Recovery Zip) ==
 pmbootstrap init # Choose samsung-logands
 pmbootstrap install --android-recovery-zip 
 pmbootstrap export
 # Find installation .zip in '/tmp/postmarketOS-export' folder.
 # Put .zip on SD card. 
 # Boot into recovery mode
 # Install .zip using recovery tool like CWM or TWRP.
== Installation ==
 pmbootstrap init # Choose samsung-logands
 pmbootstrap install
 # Boot into download mode (Odin mode) before running the command below
 pmbootstrap flasher flash_rootfs
 # Boot into download mode again
 pmbootstrap flasher flash_kernel
=== WiFi ===
Wifi isn't working properly, there are two problems:
* Broadcom Wifi kernel module isn't installing automatically.
* Connection to Wifi doesn't work, only Wifi scanning is working.
see this comment from MR for installing the kernel module manually.
== Photos ==
600px| Samsung Galaxy Ace 3 Duos motherboard
340px| Samsung Galaxy Ace 3 Duos motherboard
== See also ==
* Initial merge request
* WiFi, USB info and lightdm config
* 
*
Samsung Galaxy Ace 3 LTE (samsung-loganrelte)

== Contributors ==
* Ungeskriptet
* User0
== Maintainer(s) ==
* User0
== Users owning this device ==
== Additional notes ==
* The device boots close-to-mainline since .
* Rebooting and shutting the device down from booted pmOS doesn't work.
== Pictures ==
File:Samsung-loganrelte.jpg
File:Samsung-loganrelte-neofetch.png
== How to enter flash mode ==
* Download mode: While the device is off hold , and to boot it into download mode, afterwards confirm the operation by pressing .
* Recovery mode: While the device is off hold , and to boot it into recovery mode.
== Installation ==
 pmbootstrap init;
 # Select samsung-loganrelte, select "console" as UI
 pmbootstrap install;
 pmbootstrap flasher flash_rootfs --partition userdata;
 pmbootstrap chroot
 # Run the commands below in the chroot
 fastboot erase system;
 fastboot reboot;
 exit
To SSH into it, wait ~30-40 seconds after rebooting, then (re-)connect the device via USB (this is important) and SSH into it with ssh user@172.16.42.1
== See also ==
* 
* Initial merge request
* Mainline merge request
* 
*
Samsung Galaxy Alpha (samsung-sltexx)

A tiny, yet quite powerful Samsung phone. Presented in 2014, the Alpha features one of the earliest octa-core Exynos CPUs, matched with a 4.7" AMOLED display and 4G modem.
== Contributors ==
== Users owning this device ==
== How to enter flash mode ==
Turn off, then hold down volume down, home key, and press the power button at the same time. See this video
== Installation ==
No port at the moment. Sadly, this 32-bit Exynos has zero mainline support at the moment. Since it was only used on Alpha, A7 and Meizu MX4 Pro, it is quite unlikely that a mainline port will see the light soon.
== See also ==
* Downstream kernel source
* Exynos mainline porting
* Unofficial Lineage OS port
* TWRP port
Samsung Galaxy Amp (samsung-kyle)

== Contributors ==
* Linusw
* Newbyte
== Users owning this device ==
== Installation ==
The mainline kernel can only be booted through U-Boot, not directly with the Samsung bootloader. U-Boot is installed as intermediate bootloader on the boot partition, so it does not replace the Samsung bootloader entirely. 
Boot into Download Mode using + + and follow the the NovaThor U8500 U-Boot installation instructions to install U-Boot.
Finally, just follow the Installation guide.
== See also ==
* Initial MR: 
* Upstream device tree
Samsung Galaxy Avant/Galaxy Core LTE (samsung-afyonltecan)

== What works ==
* Flashing
* Booting
* USB Networking
== What does not work ==
* Display turns off after Samsung logo
* Everything else untested
== How to enter flash mode ==
Press and hold + + simultaneously. Then click to confirm.
== How to enter recovery mode ==
Press and hold + + simultaneously.
== Installation ==
Installation guide. Heimdall installation is not tested.
Samsung Galaxy Beam (samsung-gavini)

== Contributors ==
* Linusw
* Newbyte
== Users owning this device ==
== Installation ==
The mainline kernel can only be booted through U-Boot, not directly with the Samsung bootloader. U-Boot is installed as intermediate bootloader on the boot partition, so it does not replace the Samsung bootloader entirely. 
Boot into Download Mode using + + and follow the the NovaThor U8500 U-Boot installation instructions to install U-Boot.
Finally, just follow the Installation guide.
== See also ==
* Initial MR: 
* 
* Upstream device tree
Samsung Galaxy Camera

Galaxy Camera code and model names
Retail brand	Marketing name 	Device / code name	Model 	Notes
Samsung 	Galaxy Camera 	gd1 	EK-GC100 	
Samsung 	Galaxy Camera 	gd1att 	EK-GC100 	AT&T
Samsung 	Galaxy Camera 	gd1can 	EK-GC100 	Canada
Samsung 	Galaxy Camera 	gd1ktt 	EK-KC100K	KT
Samsung 	Galaxy Camera 	gd1ltelgt 	EK-KC120L	LTE LG U+
Samsung 	Galaxy Camera 	gd1lteskt 	EK-KC120S	LTE SK Telecom
Samsung 	Galaxy Camera 	gd1ltevzw 	EK-GC120 	LTE Verizon Wireless
Samsung 	Galaxy Camera 	gd1skt 	EK-KC100S	SK Telecom
Samsung 	Galaxy Camera 	gd1wifi 	EK-GC110 	Wi-Fi
Samsung 	Galaxy Camera 	gd1wifiany 	EK-GC110 	Wi-Fi
Samsung 	Galaxy Camera 	u0lte 	EK-GN100 	LTE
Samsung 	Galaxy Camera 	u0lte 	EK-GN120 	LTE
Samsung 	Galaxy Camera 2	sf2wifi 	EK-GC200 	
Source: https://storage.googleapis.com/play_public/supported_devices.html
Category:Devices
Samsung Galaxy Camera (samsung-gd1)

== How to enter flash mode==
Press and (completely) simultaneously. Zoom right to continue.
To enter recovery, press and (halfway) simultaneously.
== What works ==
* Nothing
== Mainline Kernel ==
There is currently no mainline kernel available but it should be possible to mainline this device. Have a look at Midas on Mainline for work on mainlining very similar devices.
== Downstream kernel ==
* downstream mirror
* defconfig variable CONFIG_MACH_GC1 is used 
== External links ==
* 
* Replicant issue
Category:Devices
Category:Not booting
Samsung Galaxy Chat (samsung-zanin)

== Contributors ==
* Nimayer
== Maintainer(s) ==
* Nimayer
== Users owning this device ==
== How to enter flash mode ==
From off state, press and hold + , then release and hold the other.
A confirmation dialog will appear, you need to press to confirm. 
== SD card Installation ==
Note that flashing the pmOS kernel will increase the counter shown in ODIN mode (CUSTOM BIN DOWN)
If this is important to you, you can reset the counter. There’s a way to do this in Android, but not currently in postmarketOS
* Build the image on your computer and prepare the SD card
 $ pmbootstrap init
 $ pmbootstrap install --sdcard=/dev/mmcblk0
* Put the phone in ODIN mode and connect it to your computer
 $ pmbootstrap flasher flash_kernel
== Issues ==
* The touchscreen works in `ts_test` but does not work in Weston or i3wm
* The Sym key does not work and gives no output in `xev`
On Android the key can be used to type symbols.
On pmOS this does not work (it only works as the Alt key), 
so currently there is currently no way of typing symbols.
Probably a custom keymap is needed
== See also ==
* Initial merge request
* 
* 
* Specs on GSMArena
*
Samsung Galaxy Core 2 Duos (samsung-kanas)

== Users owning this device ==
== How to enter flash mode ==
Hold Volume Down + Home + Power.
== Technical details ==
* The device uses a Richtech RT8973A Micro-USB Interface Controller (or "USB port accessory detector"), which connects to the SoC's USB and UART one the one side, and to the USB connector on the other side. 619k resistance is listed as "Factory Mode Boot ON-UART"
== See also ==
* Wikipedia page
* FCC files
* Discussion about Haimdall on Core 2 Duos
* alleged kernel
* schematics
Samsung Galaxy Core LTE (samsung-afyonlte)

== Contributors ==
* Bastindo
== Users owning this device ==
== Alternative names ==
The Samsung Galaxy Core 4G is the same device (SM-G386F) as this one. It may only be a local variation for France.
== How to enter flash mode ==
* Press and hold + + . Then press to confirm.
Unfortunately, heimdall doesn't work properly with this device, so you have to use Odin on Windows to flash it.
== Installation ==
Not yet
== Mainline ==
This device uses a very obscure SoC which doesn't have any mainline support.
== See also ==
* Kernel source