N910F-Linux
Requirements
Software
Ubuntu Touch
Download it from PwOSS - Repo or from tygercraft.duckdns.org - trltexx.
Get the file to your phone. Use an external micro SD card if it's possible.
TWRP recovery
Get the recovery from twrp.me
ADB drivers
Got to searx.pwoss.org (or whatever you prefer) and search for "adb drivers windows linux and mac". You can follow a tutorial there.
Arch Linux & Manjaro Linux:
sudo pacman -S android-tools
1.1.4. Heimdall
Download Heimdall from glassechidna.com.au
This is necessary to install TWRP.
Arch Linux & Manjaro Linux:
sudo pacman -S heimdall
HowTo
If you got every requirements then we can go further with the first step (2 steps in total).
Get yourself a coffee or tea and let's go through this.
Step 1 - Heimdall
Reboot to bootloader
Reboot your phone and hold VOL-DOWN, Power Button and the Home Button until you see a warning message. Now VOL-UP and you'll see an Android logo and "Downloading ..." etc..
Connect your phone via USB to your computer.
Start Heimdall
Device detection
Start Heimdall and go to Utilities. Click on Detect by Detect Device. You can see by Output Device Detected.
Create .pit file
Now you have to create a .pit (Partition Information Table) file.
Click on Save as by Download PIT and choose a folder and name -> Save -> Download.
Output:
Heimdall v1.4.2
Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
PIT file download successful.
Ending session...
Releasing device interface...
Flashing TWRP
Go to Flash and click on Browse by PIT. Use the just created .pit file.
Click on Add by Partitions (files) and choose by Partition Details / Partition Name RECOVERY. Click on Browse by File and choose twrp-'latest-version'-trlte.img.
Now click on Start.
Check if an installation line appears on your phone.
You can also see a process in Heimdall under Status. It should look like this:
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
PIT file download successful.
Uploading RECOVERY
0%
6%
13%
19%
26%
32%
39%
46%
52%
59%
65%
72%
79%
85%
92%
98%
100%
RECOVERY upload successful
Ending session...
Rebooting device...
Releasing device interface...
Trouble?
For Linux. If you encounter errors while trying to download your .pit file, you must create a new file on your computer and add the following:
sudo nano /etc/udev/rules.d/79-samsung.rules
ATTRS{idVendor}=="04e8", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="04e8", ATTRS{product}=="Gadget Serial", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{MTP_NO_PROBE}="1"
ctrl + x & yes
sudo systemctl restart systemd-udevd
Try it again. You may need to restart Heimdall if it's still running.
Step 2 - Recovery
Reboot to new recovery
After that, you can reboot your phone to the recovery. Hold VOL-UP, Power Button and the Home Button until you reach the new recovery TWRP.
Backup with TWRP
Before we flash Ubuntu Touch let's do a "quick" backup of your system.
Click on Backup and Select every Partition and Swipe to Backup.
Go back to the main view.
Ubuntu Touch
Click on Install and Select Storage and choose Micro SD card. Look for Ubuntu_Touch_Note_4_Phone.zip click on it and Swipe to confirm Flash. Wait until it's done (10 - 15 min possible). And wipe the Cache.
Go back to the main view.
That's it. Enjoy
Problems?
If you encounter problems, simply create an issue.