1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00
mobile-nixos/devices/samsung-a5y17lte
2021-02-28 15:53:12 -05:00
..
firmware samsung-a5y17lte/firmware: Init 2021-01-11 16:34:54 -05:00
kernel samsung-a5y17lte: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
default.nix samsung-a5y17lte: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
misc.json samsung-a5y17lte: Add additional autoport files 2021-01-09 16:26:28 -05:00
oem_props.json samsung-a5y17lte: Add additional autoport files 2021-01-09 16:26:28 -05:00
README.adoc samsung-a5y17lte: Add device-specific notes 2021-01-09 19:58:38 -05:00

= Samung Galaxy A5 (2017)
include::_support/common.inc[]

== Device-specific notes

=== Force-rebooting

To force-reboot the device, hold `Volume Down` + `Home` + `Power` for a couple
of seconds.

=== Odin mode

Holding `Volume Down` + `Home` + `Power` during power-up will go to the Samsung
specific *bootloader* mode.

=== Recovery

Holding `Volume Up` + `Home` + `Power` during power-up will boot the recovery
boot image.

=== Flashing system image

Using `heimdall` to flash `system.img`, either on the `USERDATA` or on the
`SYSTEM` partition seems to fail, for unclear reasons.

One can use TWRP to flash the partitions:

```
 $ adb shell dd of=/dev/block/platform/13540000.dwmmc0/by-name/SYSTEM bs=8M < .../system.img
 $ # or
 $ adb shell dd of=/dev/block/platform/13540000.dwmmc0/by-name/USERDATA bs=8M < .../system.img
```

////

// As of 2021-01-09, this seems broken, rndis does not seem to work.

An alternative is to temporarily flash the "android burn tool" and use `dd`
through `ssh` to flash the image.

```
 $ bin/ssh-initrd dd of=/dev/disk/by-partlabel/SYSTEM bs=8M < .../system.img
 $ # or
 $ bin/ssh-initrd dd of=/dev/disk/by-partlabel/USERDATA bs=8M < .../system.img
```

////