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

From postmarketOS
Jump to: navigation, search
m (LD fs/built-in.o)
m
Line 74: Line 74:
  
 
== Kernels ==
 
== Kernels ==
 +
{{MR|345|pmaports}}
 
=== Mainline ===
 
=== 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.
 
Builds and flashes just fine but doesn't boot past the Samsung splash screen. This is the kernel we want running on this device.
Line 124: Line 125:
 
=== Internet connection ===
 
=== Internet connection ===
 
The internet works fine using [[USB_Internet]] however, thee are no interfaces shown that allow [[WiFi]]. This is likely a firmware/driver issue.
 
The internet works fine using [[USB_Internet]] however, thee are no interfaces shown that allow [[WiFi]]. This is likely a firmware/driver issue.
 
+
{{issue|247|pmaports}}
 
=== Audio ===
 
=== Audio ===
 
The msm-audio card is detected however, turning up the volume on any channel except the master results in a crash.  
 
The msm-audio card is detected however, turning up the volume on any channel except the master results in a crash.  

Revision as of 07:25, 6 May 2019

Samsung Galaxy Ace 2 x
Manufacturer Samsung
Name Galaxy Ace 2 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
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.

1. init
$ ./pmbootstrap.py init

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

2. install
$ ./pmbootstrap.py install --no-fde

See the in progress regarding full disk encryption.

3. 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.py flasher flash_rootfs
to install the rootfs. Once this is finished, put yourself back into flash mode and enter
$ ./pmbootstrap.py flasher flash_kernel
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

pmaports!345

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

All of these kernels fail to build but have similar messages when failing.

LD fs/built-in.o

  • 3.0.60 abrake.android_kernel_samsung_kylessopen
  • 3.0.60 codename13.kernel_samsung_kylessopen
  • 3.0.60 Majonez.android_kernel_ba2x_2.0-1
  • 3.0.31 codename13.android_kernel_ba2x_2.0
  • 3.0.31 jonypx09.kernel_ba2x_2.0
  • 3.0.8 daver18qc.android_kernel_samsung_kylessopen

LD arch/arm/mach-msm/built-in.o

These ones get further into compiling than the previous list, but fail soon after.

  • 3.0.60 codename13.android_kernel_samsung_kylessopen
  • 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

  • Version: 3.0.31

This one appears to have issues regarding patches.

In Progress

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

Mainlining

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.

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

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. pmaports#242

Internet connection

The internet works fine using USB_Internet however, thee are no interfaces shown that allow WiFi. This is likely a firmware/driver issue. pmaports#247

Audio

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

FDE doesn't work at the current moment. See Osk-sdl. (framebuffer issues)

Error starting charging-sdl

The device boots into charging mode successfully, but charging-sdl doesn't launch, with "error starting charging-sdl". Check out the troubleshooting page and Charging-sdl. (Same issue as FDE).

Bluetooth

bluetoothctl doesn't do anything when run.

Scrolling graphics before DE

Before a desktop environment starts, the screen tends to flicker and scroll. It's a purely cosmetic issue.

Contributors

  • Lofenyy
  • racer123
  • platypro

Notes