Difference between revisions of "Samsung Galaxy Ace II X (samsung-kylessopen)"

From postmarketOS
Jump to: navigation, search
m (Installation)
m (--no-fde removed (deprecated))
 
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
The Samsung Galaxy Ace II X (GT-S7560M) is also sold as the Samsung Galaxy Trend (GT-S7560).
 +
 
{{Infobox device
 
{{Infobox device
 
| manufacturer = Samsung
 
| manufacturer = Samsung
| name =  Galaxy Ace 2 x
+
| name =  Galaxy Ace II X
 
| codename = samsung-kylessopen
 
| codename = samsung-kylessopen
| image = File:Ace_II_X.jpg
+
| image = File:Samsung-kylessopen_Matchbox_Home_Preview.png
 
| releaseyear = 2012
 
| releaseyear = 2012
 
| originalsoftware = Android 4.0.4
 
| originalsoftware = Android 4.0.4
Line 18: Line 20:
 
| status_screen = Y
 
| status_screen = Y
 
| status_wifi = N
 
| status_wifi = N
| status_xwayland =  
+
| status_xwayland = -
 
| status_fde = N
 
| status_fde = N
 
| status_mainline = N
 
| status_mainline = N
Line 35: Line 37:
  
 
== Installation ==
 
== Installation ==
Before installing, ensure that your host computer and your copy of pmbootstrap is fully up to date and that your system has been rebooted since it was last updated.  
+
Before installing, ensure that your host computer and your copy of [[Installing_pmbootstrap|pmbootstrap]] is fully up to date and that your system has been rebooted since it was last updated.  
 
 
; 1. init
 
<source lang="bash">$ ./pmbootstrap.py init</source>
 
Select "samsung-kylessopen" as the target device and select a working recommended graphical interface.
 
 
 
; 2. install
 
<source lang="bash">$ ./pmbootstrap.py install --no-fde</source>
 
See the 'in progress' section regarding full disk encryption.
 
 
 
; 3. flash
 
Ensure that the USB cable is disconnected, then hold down {{button|Volume Down}} + {{button|Home}} for a few seconds as the system boots. This puts the device in flash mode. Once in this mode, enter <source lang="bash">$ ./pmbootstrap.py flasher flash_rootfs</source> to install the rootfs. Once this is finished, put yourself back into flash mode and enter <source lang="bash">$ ./pmbootstrap.py flasher flash_kernel</source> to flash the kernel.
 
 
 
== Graphical Interfaces ==
 
=== Matchbox ===
 
Matchbox is a free software (GPL v2+) window manager for the X Window System designed for embedded systems. It's latest stable release was in April of 2012, the same year this phone was known to be released in the UK. It's rather lightweight, displaying only one window at a time, and has its own software keyboard built in, making it the interface I recommend the most for this device.
 
 
 
=== Hildon ===
 
Hildon is an LGPL user interface for cell phones. It's optimized for single touch displays. Due to the lack of a software keyboard, I wouldn't recommend it for this device.
 
 
 
=== MATE ===
 
MATE is a fork of Gnome2 fork in response to the negative reception of Gnome3. It's initial release was in 2011 (GPLv2, LGPLv2) and it's still in active development. It doesn't come with a software keyboard and it can be slow and buggy at times. It feels more appropriate as a desktop interface.
 
 
 
=== Xfce4 ===
 
Xfce aims to be fast and lightweight, while still being visually appealing. It follows the Unix philosophy, with each component being its own project. It's latest stable release 2015, licensed under the GPL, LGPL and BSD licenses. It doesn't come with a software keyboard. I would recommend it about as much as I recommend MATE.
 
 
 
=== i3wm ===
 
i3wm is a tiling window manager for the X Window System. It's rather small and lightweight. It's initial release was in 2009 and is still in active development. It's licensed under the BSD license. It's highly keyboard driven, but doesn't come with a software keyboard. I would recommend this interface for users who own a hardware keyboard.
 
 
 
=== Weston ===
 
Weston is a demo Wayland compositor. While it runs nicely on this phone, it has very limited functionality. I personally wouldn't recommend it for everyday use.
 
 
 
=== Plasma Mobile ===
 
Plasma Mobile is a GPLv2 licensed smartphone interface. It's sadly painfully slow on this phone and rather buggy. I wouldn't recommend it.
 
 
 
== Apps ==
 
Check out: https://pkgs.alpinelinux.org/packages?branch=edge&arch=armhf
 
 
 
== Kernels ==
 
{{MR|345|pmaports}}{{issue|146|pmaports}}
 
=== Mainline ===
 
Builds and flashes just fine but doesn't boot past the Samsung splash screen. This is the kernel we want running on this device.
 
* Version: Latest
 
=== kylessopen-3.4.0-port ===
 
This kernel currently doesn't compile, but it's the newest kernel that supposedly works for this device. Getting this kernel working should make mainlining easier, and if it proves to be better than FrankenKernel, it'd become the new default kernel. "make:*** [Makefile:949: drivers] Error 2".
 
* Version: 3.4.0
 
 
 
=== FrankenKernel ===
 
This is the only known kernel capable of booting past the Samsung splash screen and besides the mainline kernel, it's the only one that compiles at all. This is the kernel that gets installed on this phone by default.
 
* Version: 3.0.101
 
 
 
=== klinkone.android_kernel_ba2x_2.0-1 ===
 
This version fails to build with "make: *** [Makefile:873: .tmp_vmlinux1] Error 1".
 
* Version: 3.0.79
 
  
=== Other kernels ===
+
=== init ===
All of these kernels fail to build but have similar messages when failing.  
+
<source lang="bash">$ pmbootstrap init</source>
 +
Select "samsung-kylessopen" as the target device and select a working recommended graphical interface.
  
==== LD fs/built-in.o ====
+
==== [[Interfaces|Graphical Interfaces]] ====
* 3.0.60 abrake.android_kernel_samsung_kylessopen
+
* [https://en.wikipedia.org/wiki/Matchbox_(window_manager)][[Matchbox]] - Recommended
* 3.0.60 codename13.kernel_samsung_kylessopen
+
* [https://en.wikipedia.org/wiki/Hildon][[Hildon]]
* 3.0.60 Majonez.android_kernel_ba2x_2.0-1
+
* [https://en.wikipedia.org/wiki/MATE_(software)][[MATE]]
* 3.0.31 codename13.android_kernel_ba2x_2.0
+
* [https://en.wikipedia.org/wiki/Xfce][[XFCE4]]
* 3.0.31 jonypx09.kernel_ba2x_2.0
+
* [https://en.wikipedia.org/wiki/I3_(window_manager)][[i3wm]]
* 3.0.8  daver18qc.android_kernel_samsung_kylessopen
+
* [https://en.wikipedia.org/wiki/Weston_(software)#Weston][[Weston]]
 +
* [https://en.wikipedia.org/wiki/Plasma_Mobile#Plasma_Mobile][[Plasma Mobile]] - Not recommended
  
==== LD arch/arm/mach-msm/built-in.o ====
+
=== install ===
These ones get further into compiling than the previous list, but fail soon after.
+
<source lang="bash">$ pmbootstrap install</source>
* 3.0.60 codename13.android_kernel_samsung_kylessopen
+
Full disk encryption currently doesn't work on this device, so it should be turned off for now.  
* 3.0.60 jonypx09.android_kernel_ba2x_2.0
 
* 3.0.31 jonypx09.new_kernel_kylessopen
 
* 3.0.8  jonypx09.android_kernel_samsung_kylessopen
 
  
==== codename13.android_kernel_samsung_kylessopen-CAF ====
+
=== flash ===
* Version: 3.0.31
+
Ensure that the USB cable is disconnected, then hold down {{button|Volume Down}} + {{button|Home}} for a few seconds as the system boots. This puts the device in flash mode. Once in this mode, enter <source lang="bash">$ pmbootstrap flasher flash_rootfs</source> to install the rootfs. Once this is finished, put yourself back into flash mode and enter <source lang="bash">$ pmbootstrap flasher flash_kernel</source> to flash the kernel[https://en.wikipedia.org/wiki/Kernel_(operating_system)].
This one appears to have issues regarding patches.
 
  
== In Progress ==
+
== Issues ==
 
Here is a list of tasks that are currently being worked on for this device, from highest priority to lowest.  
 
Here is a list of tasks that are currently being worked on for this device, from highest priority to lowest.  
  
=== Mainlining ===
+
{|class="wikitable feature-colors"
Mainlining is an important task for this device, because kernels and drivers that supposedly work for this device are scattered across various git repositories, usually forks of other projects, often heavily patched and abandoned. Relying on kernels that can have their repos deleted at any moment, that are often heavily fractured anyways probably isn't a good idea.
+
! Issue
 
+
! MR
All of these kernels claim to be for this device however, it's not known which of these kernels actually work and how well they work. FrankenKernel is the only exception as it is the kernel that gets flashed when installing this device. https://gitlab.com/samsung-kylessopen-kernels
+
! Wiki
 
+
! Description
=== Device regularly reboots itself ===
+
|-
This is almost certainly a watchdog issue, since the device reboots every 10 minutes. I'm currently working on disabling the watchdog. {{issue|242|pmaports}}
+
| {{issue|278|pmaports}}
 
+
|
=== Internet connection ===
+
| [[The_Mainline_Kernel]]
The internet works fine using [[USB_Internet]] however, thee are no interfaces shown that allow [[WiFi]]. This seems to be caused by the lack of the linux-firmware-ath6k firmware but even when loading it, it doesn't work. A kernel patch is likely necessary. See {{issue|248|pmaports}}.
+
| Device isn't mainlined.
 
+
|-
=== Audio ===
+
| {{issue|242|pmaports}}
The msm-audio card is detected however, turning up the volume on any channel except the master results in a crash.
+
|
 
+
|
=== FDE doesn't work ===
+
| Device reboots every 10 minutes.
FDE doesn't work at the current moment. See [[Osk-sdl]]. (framebuffer issues)
+
|-
 
+
| {{issue|248|pmaports}}
=== Error starting charging-sdl ===
+
|
The device boots into charging mode successfully, but charging-sdl doesn't launch, with "error starting charging-sdl". Check out [[Troubleshooting#CHARGING_MODE:_error_starting_charging-sdl|the troubleshooting page]] and [[Charging-sdl]]. (Same issue as FDE).
+
| [[WiFi]]
 
+
| No Wlan internet connection.
=== Bluetooth ===
+
|-
bluetoothctl doesn't do anything when run.  
+
| {{issue|249|pmaports}}
 +
|
 +
| [[Audio]]
 +
| Audio doesn't work.
 +
|-
 +
| {{issue|279|pmaports}}
 +
|
 +
|
 +
| Device sometimes freezes while booting.
 +
|-
 +
| {{issue|250|pmaports}}
 +
|
 +
| Framebuffer[https://en.wikipedia.org/wiki/Framebuffer]
 +
| osk-sdl and charging-sdl don't work.
 +
|-
 +
| {{issue|281|pmaports}}
 +
|
 +
| Bluetooth[https://en.wikipedia.org/wiki/Bluetooth]
 +
| Bluetooth doesn't work.
 +
|-
 +
| {{issue|280|pmaports}}
 +
|
 +
|
 +
| Distorted graphics before a window manager starts.
 +
|-
 +
|}
  
=== Scrolling graphics before DE ===
+
== Hardware ==
Before a desktop environment starts, the screen tends to flicker and scroll. It's a purely cosmetic issue.
+
{|class="wikitable feature-colors"
 +
! Hardware
 +
! Working
 +
! Drivers
 +
! Firmware
 +
! Info
 +
|-
 +
| Battery
 +
| Y
 +
|
 +
|
 +
| Model No: EB425161LU, 3.8v, Li-ion 5.70Wh, 1500mAh
 +
|-
 +
| Touch Screen
 +
| Y
 +
|
 +
|
 +
| Capacitive
 +
|-
 +
| Front Speaker
 +
| N
 +
|
 +
|
 +
|
 +
|-
 +
| Display
 +
| Y
 +
|
 +
|
 +
|
 +
|-
 +
| 3 buttons (home)
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| Microphone
 +
| N
 +
|
 +
|
 +
|
 +
|-
 +
| MicroUSB Port
 +
| Y
 +
|
 +
|
 +
|
 +
|-
 +
| JTag Port[https://en.wikipedia.org/wiki/JTAG]
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| 3 buttons (vol+pow)
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| SIM Card Reader
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| Back Speaker
 +
| N
 +
|
 +
|
 +
|
 +
|-
 +
| AUX Port
 +
| N
 +
|
 +
|
 +
|
 +
|-
 +
| Back Camera
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| Flashlight
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| Front Camera
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| MicroSD Card Reader
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| Atheros chip
 +
|
 +
|
 +
|
 +
| Likely WiFi but no confirmation in sight. 600SG-CF18 \n PPCRII_OOIC \n 1217 TM
 +
|-
 +
| White mystery chunk
 +
| N
 +
|
 +
|
 +
| DMSP1115ASM-40, A3425B2, Contains rear speaker & AUX
 +
|-
 +
| CSR7828
 +
|
 +
|
 +
|
 +
| Looks like a Qualcomm chip according to DDG, could be Bluetooth
 +
|-
 +
| eMMC[https://en.wikipedia.org/wiki/MultiMediaCard]
 +
| Y
 +
|
 +
|
 +
| Samsung KMJJS000WA-B409, 4GB rw, 768MB RAM 
 +
|-
 +
|
 +
|
 +
|
 +
|
 +
| Qualcomm RTR6285A
 +
|-
 +
|
 +
|
 +
|
 +
|
 +
| Qualcomm PM8029
 +
|-
 +
| SoC[https://en.wikipedia.org/wiki/System_on_a_chip]
 +
|
 +
|
 +
|
 +
| Qualcomm Snapdragon[https://en.wikipedia.org/wiki/Qualcomm_Snapdragon] S1 MSM7227A
 +
|-
 +
| CPU
 +
| Y
 +
|
 +
|
 +
| (integrated into SoC) single-core ARM Cortex-A5[https://en.wikipedia.org/wiki/ARM_Cortex-A5] 1GHz
 +
|-
 +
| GPU
 +
| Y
 +
|
 +
|
 +
| (integrated into SoC) singe-core Qualcomm Adreno[https://en.wikipedia.org/wiki/Adreno] 200 245MHz WVGA
 +
|-
 +
| Modem
 +
|
 +
|
 +
|
 +
| (integrated into SoC) UMTS/MBMS/GSM, Multimedia Broadcast Multicast Service baseband support
 +
|-
 +
| DSP[https://en.wikipedia.org/wiki/Digital_signal_processor]
 +
|
 +
|
 +
|
 +
| (integrated into SoC) 350MHz Qualcomm Hexagon QDSP5[https://en.wikipedia.org/wiki/Qualcomm_Hexagon] DSP
 +
|-
 +
| GPS
 +
|
 +
|
 +
|
 +
| (integrated into SoC) gpsOne[https://en.wikipedia.org/wiki/GpsOne] Gen 7 GPS module
 +
|-
 +
|}
  
== Contributors ==
+
Bluetooth is likely an external chip: "Bluetooth 4.0 (external WCN2243); 802.11b/g/n (external AR6003/5, WCN1314)"
* Lofenyy
+
WiFi is likely as well, but camera support is integrated.
* racer123
 
* platypro
 
  
== Notes ==
+
According to some websites this device may also have an FM radio, an accelerometer, a proximity sensor and a compass. I haven't found or discovered those peripherals myself but I know the device has a vibrator which most websites fail to mention. It's not on the list because I haven't physically found it yet.
* {{issue|1618}}
 

Latest revision as of 14:43, 5 July 2019

The Samsung Galaxy Ace II X (GT-S7560M) is also sold as the Samsung Galaxy Trend (GT-S7560).

Samsung Galaxy Ace II X
Manufacturer Samsung
Name Galaxy Ace II X
Codename samsung-kylessopen
Released 2012
Original software Android 4.0.4
Hardware
Chipset Qualcomm MSM7227A Snapdragon S1
CPU 1 GHz ARM Cortex-A5
GPU Adreno 200
Display 480x800 WVGA
Storage 4GB
Memory 768MB
Architecture armhf
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Broken
Xwayland
Unavailable
FDE
Broken
Mainline
Broken
Battery
Broken
3D Acceleration
Accelerometer
Audio
Broken
Bluetooth
Broken
Camera
GPS
Mobile data
SMS
Calls
USB OTG



Installation

Before installing, ensure that your host computer and your copy of pmbootstrap is fully up to date and that your system has been rebooted since it was last updated.

init

$ pmbootstrap init

Select "samsung-kylessopen" as the target device and select a working recommended graphical interface.

Graphical Interfaces

install

$ pmbootstrap install

Full disk encryption currently doesn't work on this device, so it should be turned off for now.

flash

Ensure that the USB cable is disconnected, then hold down Volume Down + Home for a few seconds as the system boots. This puts the device in flash mode. Once in this mode, enter
$ pmbootstrap flasher flash_rootfs
to install the rootfs. Once this is finished, put yourself back into flash mode and enter
$ pmbootstrap flasher flash_kernel
to flash the kernel[8].

Issues

Here is a list of tasks that are currently being worked on for this device, from highest priority to lowest.

Issue MR Wiki Description
pmaports#278 The_Mainline_Kernel Device isn't mainlined.
pmaports#242 Device reboots every 10 minutes.
pmaports#248 WiFi No Wlan internet connection.
pmaports#249 Audio Audio doesn't work.
pmaports#279 Device sometimes freezes while booting.
pmaports#250 Framebuffer[9] osk-sdl and charging-sdl don't work.
pmaports#281 Bluetooth[10] Bluetooth doesn't work.
pmaports#280 Distorted graphics before a window manager starts.

Hardware

Hardware Working Drivers Firmware Info
Battery Y Model No: EB425161LU, 3.8v, Li-ion 5.70Wh, 1500mAh
Touch Screen Y Capacitive
Front Speaker N
Display Y
3 buttons (home)
Microphone N
MicroUSB Port Y
JTag Port[11]
3 buttons (vol+pow)
SIM Card Reader
Back Speaker N
AUX Port N
Back Camera
Flashlight
Front Camera
MicroSD Card Reader
Atheros chip Likely WiFi but no confirmation in sight. 600SG-CF18 \n PPCRII_OOIC \n 1217 TM
White mystery chunk N DMSP1115ASM-40, A3425B2, Contains rear speaker & AUX
CSR7828 Looks like a Qualcomm chip according to DDG, could be Bluetooth
eMMC[12] Y Samsung KMJJS000WA-B409, 4GB rw, 768MB RAM
Qualcomm RTR6285A
Qualcomm PM8029
SoC[13] Qualcomm Snapdragon[14] S1 MSM7227A
CPU Y (integrated into SoC) single-core ARM Cortex-A5[15] 1GHz
GPU Y (integrated into SoC) singe-core Qualcomm Adreno[16] 200 245MHz WVGA
Modem (integrated into SoC) UMTS/MBMS/GSM, Multimedia Broadcast Multicast Service baseband support
DSP[17] (integrated into SoC) 350MHz Qualcomm Hexagon QDSP5[18] DSP
GPS (integrated into SoC) gpsOne[19] Gen 7 GPS module

Bluetooth is likely an external chip: "Bluetooth 4.0 (external WCN2243); 802.11b/g/n (external AR6003/5, WCN1314)" WiFi is likely as well, but camera support is integrated.

According to some websites this device may also have an FM radio, an accelerometer, a proximity sensor and a compass. I haven't found or discovered those peripherals myself but I know the device has a vibrator which most websites fail to mention. It's not on the list because I haven't physically found it yet.