Samsung Galaxy S4 (samsung-jflte): Difference between revisions
Appearance
GrantM11235 (talk | contribs) m →Installation: Re-enter Download Mode |
GrantM11235 (talk | contribs) https://gitlab.com/postmarketOS/pmaports/merge_requests/58 |
||
Line 11: | Line 11: | ||
| gpu = Adreno 320 | | gpu = Adreno 320 | ||
| storage = Internal storage and external micro SD | | storage = Internal storage and external micro SD | ||
| display = | | display = 1080x1920 AMOLED | ||
| memory = 2G ram | | memory = 2G ram | ||
| architecture = armhf | | architecture = armhf | ||
| status_usbnet = Y | | status_usbnet = Y | ||
| status_flashing = | | status_flashing = Y | ||
| status_touch = Y | | status_touch = Y | ||
| status_screen = Y | | status_screen = Y | ||
| status_wifi = Y | | status_wifi = Y | ||
| status_xwayland = | | status_xwayland = | ||
| status_fde = | | status_fde = Y | ||
| status_mainline = | | status_mainline = | ||
| status_battery = | | status_battery = Y | ||
| status_3d = | | status_3d = | ||
| status_accel = | | status_accel = | ||
Line 37: | Line 37: | ||
== Contributors == | == Contributors == | ||
* i9505_someone (rrooij on GitHub) | * i9505_someone (rrooij on GitHub) | ||
* [[user:GrantM11235|GrantM11235]] | |||
== Maintainer(s) == | == Maintainer(s) == | ||
Line 54: | Line 55: | ||
* X11 | * X11 | ||
* Keyboard and mouse with USB OTG adapter | * Keyboard and mouse with USB OTG adapter | ||
* Initramfs password entry for full disk encryption | |||
== What does not work == | == What does not work == | ||
Line 60: | Line 62: | ||
* 3D acceleration | * 3D acceleration | ||
* Wayland default on screen keyboard | * Wayland default on screen keyboard | ||
== How to enter flash mode == | == How to enter flash mode == |
Revision as of 01:33, 23 October 2018
WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it. The processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly. |
![]() Galaxy S4 | |
Manufacturer | Samsung |
---|---|
Name | Galaxy S4 |
Codename | samsung-jflte |
Released | 2013 |
Hardware | |
Chipset | Qualcomm APQ8064T Snapdragon 600 |
CPU | Quad-core 1.9 GHz Krait 300 |
GPU | Adreno 320 |
Display | 1080x1920 AMOLED |
Storage | Internal storage and external micro SD |
Memory | 2G ram |
Architecture | armhf |
Software | |
Original software | Android 4.2.2 (Jelly Bean) |
postmarketOS | |
Category | testing |
Pre-built images | no |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
No data |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
No data |
SMS |
No data |
Mobile data |
No data |
Miscellaneous | |
FDE |
Works |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Contributors
- i9505_someone (rrooij on GitHub)
- GrantM11235
Maintainer(s)
What works
- Compiling the latest lineageos kernel with some patches applied
- Booting a graphical screen when installing PostmarketOS as recovery zip in TWRP.
- Network connection via USB and SSH access
- Screen works
- Brightness can be changed by echoing a value to /sys/class/backlight/panel/device/backlight as root
- Wifi with properietary blobs
- Touch screen
- Wayland
- X11
- Keyboard and mouse with USB OTG adapter
- Initramfs password entry for full disk encryption
What does not work
- Touch screen requires a reboot to work in some rare cases
- 3D acceleration
- Wayland default on screen keyboard
How to enter flash mode
Press volume down + the power button to enter Download Mode. It is now possible to use Heimdall for flashing.
Installation
- Install pmbootstrap
pmbootstrap init
pmbootstrap install --no-fde
- Put your S4 in Download Mode (Volume Down + Power) and connect it with USB
pmbootstrap flasher flash_kernel
- After the kernel is flashed, the device will reboot. Hold the volume down button while it boots up to re-enter Download Mode
pmbootstrap flasher flash_rootfs
Wifi
Once the device has been successfully initialized, enable it:
$ sudo ip link set wlan0 up
Configure wpa_supplicant (only necessary on encrypted networks):
$ sudo su - # wpa_passphrase $YOUR_SSID > /etc/wpa_supplicant/wlan0.conf <enter passphrase here and press Enter> # exit
Connect to network using wpa_supplicant:
$ sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wlan0.conf
If your network uses DHCP, start the DHCP client:
$ sudo udhcpc -i wlan0