Difference between revisions of "Samsung Galaxy S III mini (samsung-golden)"

From postmarketOS
Jump to navigation Jump to search
(→‎Mainline: update)
 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Infobox device
 
{{Infobox device
 
| manufacturer = Samsung
 
| manufacturer = Samsung
| name = Galaxy SIII mini
+
| name = Galaxy S III mini
 
| codename = samsung-golden
 
| codename = samsung-golden
 
| image = File:samsung-golden.jpg
 
| image = File:samsung-golden.jpg
Line 7: Line 7:
 
| releaseyear = 2012
 
| releaseyear = 2012
 
| originalsoftware = Android 4.1.1
 
| originalsoftware = Android 4.1.1
| chipset = ST-Ericsson NovaThor U8500
+
| chipset = [[ST-Ericsson NovaThor U8500]]
| cpu = 1 GHz dual-core ARM Cortex-A9
+
| cpu = 1 GHz dual-core Cortex-A9
| gpu = ARM Mali-400 MP1
+
| gpu = Mali-400 MP1
| storage = 8GB
+
| storage = 8 GB
 
| display = 480x800 AMOLED
 
| display = 480x800 AMOLED
| memory = 1GB
+
| memory = 1 GB
| architecture = armhf
+
| architecture = armv7
 
| status_usbnet = Y
 
| status_usbnet = Y
 
| status_flashing = Y
 
| status_flashing = Y
Line 19: Line 19:
 
| status_screen = Y
 
| status_screen = Y
 
| status_wifi = Y
 
| status_wifi = Y
| status_xwayland =  
+
| status_xwayland = Y
 
| status_fde = Y
 
| status_fde = Y
| status_mainline =  
+
| status_mainline = Y
 
| status_battery = Y
 
| status_battery = Y
| status_3d =  
+
| status_3d = Y
| status_accel =  
+
| status_accel = Y
| status_audio =  
+
| status_audio =
| status_bluetooth =
+
| status_bluetooth = P
| status_camera =
+
| status_camera = N
 
| status_gps =  
 
| status_gps =  
 
| status_mobiledata =  
 
| status_mobiledata =  
 
| status_sms =  
 
| status_sms =  
 
| status_calls =  
 
| status_calls =  
 +
| status_otg = P
 
| booting = yes
 
| booting = yes
 
}}
 
}}
Line 37: Line 38:
 
== Contributors ==
 
== Contributors ==
 
* ''[[user:CUB3D|CUB3D]]''
 
* ''[[user:CUB3D|CUB3D]]''
 +
* ''[[user:Minecrell|Minecrell]]''
  
 
== Maintainer(s) ==
 
== Maintainer(s) ==
Line 42: Line 44:
 
<!-- This person needs to be willing to answer questions from users of this device -->
 
<!-- This person needs to be willing to answer questions from users of this device -->
 
* ''[[user:CUB3D|CUB3D]]''
 
* ''[[user:CUB3D|CUB3D]]''
 +
* ''[[user:Minecrell|Minecrell]]''
  
== What works ==
+
== Users owning this device ==
* Display
+
{{Device owners}}
* Touchscreen
 
* USB network
 
* FDE
 
* weston
 
* osk-sdl
 
* WIFI
 
* X11
 
  
== What does not work ==
+
== 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. pmbootstrap can only support one bootloader configuration at the moment, which is why U-Boot is also recommended when installing the downstream kernel.
 +
 
 +
Boot into Download Mode using {{Button|Power}} + {{Button|Volume Down}} + {{Button|Home}} and follow follow the [[ST-Ericsson_NovaThor_U8500#U-Boot_on_Samsung_NovaThor_U8500_Devices|the NovaThor U8500 U-Boot installation instructions]] to install U-Boot.
 +
 
 +
Finally, just follow the [[Installation guide]].
 +
 
 +
== Mainline ==
 +
'''Working (v5.12-rc1):'''
 +
* Display including full brightness control
 +
* GPU (Mali-400 MP using Lima)
 +
* Touchscreen
 +
* WiFi
 +
* Bluetooth (partial - at least on my device scanning for other devices works but it keeps disconnecting when connecting to other devices; not sure why)
 +
* IMU (Accelerometer + Gyroscope)
 +
* USB
 +
* Flashlight (turn on/off in Phosh drop down menu)
 +
 
 +
'''Not working:'''
 +
* Audio
 
* Camera
 
* Camera
* Most likely everything else
+
* Battery - Device doesn't seem to charge and doesn't display any fuel gauge information. Maybe it's possible to enable AB8500 fuel gauge and charging support found in mainline?
 +
* ...
  
== How to enter flash mode ==
+
=== Bluetooth ===
Hold volume down + home + power together, then press volume up to bypass warning.
+
Bluetooth does not have any Bluetooth device address (bdaddr or "MAC address") set after boot at the moment. To make Bluetooth work, you need to manually configure one:
  
== How to enter recovery mode ==
+
# apk add bluez-btmgmt
Hold volume up + home + power together.
+
# btmgmt public-addr <bdaddr>
  
== How to connect to wifi ==
+
where <code><bdaddr></code> is a MAC address like <code>53:33:6d:69:6e:69</code>.
First enable to therface with
 
<pre>sudo ip link set wlan0 up</pre>
 
Then add this to /etc/network/interfaces
 
<pre>auto lo
 
iface lo inet loopback
 
auto wlan0
 
iface wlan0 inet dhcp</pre>
 
Then run <pre>echo 'wpa_supplicant_args="-i wlan0 -D wext"' | sudo tee /etc/conf.d/wpa_supplicant</pre>
 
Then add the ssid and passphrase for the network
 
<pre>wpa_passphrase <SSID> | sudo tee /etc/wpa_supplicant/wpa_supplicant.conf</pre>
 
Then restart the services
 
<pre>sudo /etc/init.d/networking restart
 
sudo /etc/init.d/wpa_supplicant restart</pre>
 
Finally check for a connection and enable dhcp
 
<pre>iw wlan0 link
 
sudo udhcpc -b -i wlan0</pre>
 
If it worked then <pre>ip a</pre> Should show an ip address
 
  
== About 3D ==
+
The Bluetooth controller should then show up in <code>bluetoothctl</code>:
3D acceleration is possible as seen in linux sunxi
 
<br>
 
http://linux-sunxi.org/Mali
 
  
== Installation ==
+
# apk add bluez
View [https://wiki.postmarketos.org/wiki/Installation_guide Installation guide.]
+
# rc-service bluetooth start
 +
$ bluetoothctl
  
 
== Experience ==
 
== Experience ==
The best user interface to install is XFCE4.
+
'''Downstream:''' The best user interface to install is XFCE4. Other ones do lag, or just don't respond. Especially KDE Plasma.
Other ones do lag, or just don't respond.
+
 
Especially KDE Plasma.
+
'''Mainline:''' Plasma Mobile and Phosh should work okay.
 +
 
 +
=== DSI Scaling Error in Phosh===
 +
If your are running phosh, and the scaling is wrong so that you cannot type in the password to unlock the initial login screen, this can be fixed by changing this file <code>/usr/share/phosh/phoc.ini</code> like this:
 +
 
 +
  [output:DSI-1]
 +
  scale = 1
  
== See also ==
+
== See Also ==
* {{github|1428}} initial PR
+
* Initial PR: {{MR|1428}}
 +
* {{Device package|samsung-golden}}

Latest revision as of 23:10, 1 March 2021

Samsung Galaxy S III mini
Samsung Galaxy SIII mini
Samsung Galaxy SIII mini
Manufacturer Samsung
Name Galaxy S III mini
Codename samsung-golden
Released 2012
Category testing
Original software Android 4.1.1
Hardware
Chipset ST-Ericsson NovaThor U8500
CPU 1 GHz dual-core Cortex-A9
GPU Mali-400 MP1
Display 480x800 AMOLED
Storage 8 GB
Memory 1 GB
Architecture armv7
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Works
Mainline
Works
Battery
Works
3D Acceleration
Works
Accelerometer
Works
Audio
Bluetooth
Partial
Camera
Broken
GPS
Mobile data
SMS
Calls
USB OTG
Partial



Contributors

Maintainer(s)

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. pmbootstrap can only support one bootloader configuration at the moment, which is why U-Boot is also recommended when installing the downstream kernel.

Boot into Download Mode using Power + Volume Down + Home and follow follow the the NovaThor U8500 U-Boot installation instructions to install U-Boot.

Finally, just follow the Installation guide.

Mainline

Working (v5.12-rc1):

  • Display including full brightness control
  • GPU (Mali-400 MP using Lima)
  • Touchscreen
  • WiFi
  • Bluetooth (partial - at least on my device scanning for other devices works but it keeps disconnecting when connecting to other devices; not sure why)
  • IMU (Accelerometer + Gyroscope)
  • USB
  • Flashlight (turn on/off in Phosh drop down menu)

Not working:

  • Audio
  • Camera
  • Battery - Device doesn't seem to charge and doesn't display any fuel gauge information. Maybe it's possible to enable AB8500 fuel gauge and charging support found in mainline?
  • ...

Bluetooth

Bluetooth does not have any Bluetooth device address (bdaddr or "MAC address") set after boot at the moment. To make Bluetooth work, you need to manually configure one:

# apk add bluez-btmgmt
# btmgmt public-addr <bdaddr>

where <bdaddr> is a MAC address like 53:33:6d:69:6e:69.

The Bluetooth controller should then show up in bluetoothctl:

# apk add bluez
# rc-service bluetooth start
$ bluetoothctl

Experience

Downstream: The best user interface to install is XFCE4. Other ones do lag, or just don't respond. Especially KDE Plasma.

Mainline: Plasma Mobile and Phosh should work okay.

DSI Scaling Error in Phosh

If your are running phosh, and the scaling is wrong so that you cannot type in the password to unlock the initial login screen, this can be fixed by changing this file /usr/share/phosh/phoc.ini like this:

 [output:DSI-1]
 scale = 1

See Also