Android modding on Manjaro Linux
odin4
heimdall-grimler-git
thor-flash-utility -- https://github.com/Samsung-Loki/Thor
android-tools (adb + fastboot)
kate /etc/udev/rules.d/51-android.rules
Get vendor and device number with lsusb
Add text:
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="685d", GROUP="plugdev"
Create group "plugdev":
sudo groupadd plugdev
Add user to group:
sudo usermod -a -G plugdev $USER
heimdall detect
heimdall flash --RECOVERY recovery.img
Immediately press the buttons to enter recovery mode, else TWRP will be overwritten.
adb sideload rom.img
- Flash ROM
adb reboot download
- Reboot into Download Mode
adb start-server
adb kill-server
fastboot flash recovery recovery.img
Download Mode: Vol+ + Vol- + Power
Recovery Mode: Vol+ + Power
Switch off: Vol- + Power
Links:
Lineage 18.1: https://lineage.razuuu.de/devices/a7y18lte.html
Tools and Recovery: https://drive.google.com/drive/folders/1b-s_1GhU0FYjiWkPSkdyjO6glefOWsKa
eOS: https://community.e.foundation/t/unofficial-build-samsung-galaxy-a7-2018-a7y18lte-for-e-os-r/53207
Experiences:
Lineage OS 18.1 and DotOS work, in eOS the Wifi doesn't work, Elixier and ArrowOS freeze
Download Mode: Vol- + Home + Power
Recovery Mode: Vol+ + Home + Power
Switch off: Vol- + Power
Links:
Lineage 14.1: https://xdaforums.com/t/unofficial-rom-lineageos-14-1-for-galaxy-tab-e-sm-t561-sm-t560.3903780
LightROM: https://xdaforums.com/t/t560-kitkat-01-jan-2020-v10-lightrom.3716039/
Experiences:
Lineage 14.1 works but is very slow; LightROM is the better choice, as it is much faster
Download Mode: Vol- + Power (with USB-cable inserted)
Recovery Mode: Vol+ + Power (with USB-cable inserted)
In Lineage 20.1 the Wifi doesn't work. Lineage 21.1 works flawlessly.