Home  Main Website     Git     Matrix     Searx    

PwOSS - Wiki

Changes in 3ca56a8: added linux content for note 4 and pinephone
content/mobile/linux.md
... ...
@@ -0,0 +1,40 @@
1
+# Linux
2
+<center>
3
+If you want to add your phone-installation, go to [PwOSS - Gitea](https://git.pwoss.org/PwOSS/Wiki/src/branch/master/content/mobile/linux/devices) and start a pull request.
4
+</center>
5
+------
6
+
7
+[[_TOC_]]
8
+
9
+&nbsp;
10
+
11
+# Pine64
12
+At the core of our philosophy is the notion that PINE64 is a community platform. A simplistic point of view, often offered up and referenced online, is that ‘PINE64 does hardware while the community does the software’. While this depiction is not inaccurate, it is also a gross oversimplification. The fact that PINE64 is community driven doesn’t simply entail a one-way reliance on the community or partner projects for software support; it means that the community gets to actively shape the devices, as well as the social platform, of PINE64 from the ground up. The goal is to deliver ARM64 devices that you really wish to engage with and a platform that you want to be a part of. As such, the community – PINE64 – and the company PINE Microsystems Inc. are interlocked and intertwined, but separate entities.
13
+
14
+&nbsp;
15
+
16
+## PinePhone
17
+The PinePhone is a smartphone created by Pine64, capable of running mainline Linux and supported by many partner projects. The "BraveHeart" edition was the first publicly-available version of the phone, though it came without a fully functional OS (factory test image) and was geared specifically towards tinkerers and hackers. People looking for a stable consumer-grade phone should wait for the final release, which is expected to occur in March 2020 and will be available for at least five years.
18
+
19
+[Installations](/content/mobile/linux/devices/samsung/galaxy/note-4/pinephone)
20
+
21
+&nbsp;
22
+
23
+# Samsung
24
+Samsung has quite a few good phones out there. But Samsung is also very annoying. They have so many different kinds of the same phone which is not really obvious.
25
+The __Galaxy Note 4__ for example has __25 different kinds__. That's the reason, you have to find out the model number first before you download / flash any Custom-ROMs, TWRP etc.
26
+
27
+Some has another modem, two sim slots or whatever, but the main different can be the CPU. Qualcomms Snapdragon [Wikipedia](https://en.wikipedia.org/wiki/Qualcomm_Snapdragon) or Samsungs Exynos [Wikipedia](https://en.wikipedia.org/wiki/Exynos).
28
+The Snapdragon CPU has a very good support (Custom-ROMs). We suggest to try to get a Snapdragon CPU.
29
+
30
+## Galaxy
31
+
32
+### Note 4
33
+Released, October 2014.
34
+
35
+The Galaxy Note 4 is still a very good phone and now also with Linux possibilities!
36
+
37
+#### [N910F](/content/mobile/linux/devices/samsung/galaxy/note-4/n910f-linux)
38
+#### ...
39
+
40
+&nbsp;
... ...
\ No newline at end of file
content/mobile/linux/_Footer.md
... ...
@@ -0,0 +1,8 @@
1
+[&#60;&#60; back](/)
2
+<center>
3
+[&#8679;UP&#8679;](#)
4
+<br>
5
+<br>
6
+<<Navigation("Navigate Mobile", "content/mobile/linux/")>>
7
+</center>
8
+[&#60;&#60; back](/content/mobile/linux)
content/mobile/linux/devices/pine64/pinephone/_Footer.md
... ...
@@ -0,0 +1,8 @@
1
+[&#60;&#60; back](/)
2
+<center>
3
+[&#8679;UP&#8679;](#)
4
+<br>
5
+<br>
6
+<<Navigation("Navigate Mobile", "content/mobile/linux/")>>
7
+</center>
8
+[&#60;&#60; back](/content/mobile/linux)
... ...
\ No newline at end of file
content/mobile/linux/devices/pine64/pinephone/pinephone.md
... ...
@@ -0,0 +1,69 @@
1
+# PinePhone
2
+<center>
3
+The PinePhone installation guide.
4
+<br />
5
+[pine64](https://pine64.org/) <br />
6
+[pine64-wiki](https://wiki.pine64.org/index.php/PinePhone) <br />
7
+
8
+</center>
9
+------
10
+
11
+[[_TOC_]]
12
+
13
+# postmarketOS
14
+
15
+[postmarketos.org](https://postmarketos.org/)
16
+[PinePhone - pmOS wiki](https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone))
17
+
18
+We are sick of not receiving updates shortly after buying new phones. Sick of the walled gardens deeply integrated into Android and iOS. That's why we are developing a sustainable, privacy and security focused free software mobile OS that is modeled after traditional Linux distributions. With privilege separation in mind. Let's keep our devices useful and safe until they physically break!
19
+
20
+&nbsp;
21
+
22
+## Install pmbootstrap
23
+```
24
+pikaur -S pmbootstrap
25
+```
26
+
27
+&nbsp;
28
+
29
+### pmbootstrap init
30
+```
31
+mkdir -p ~/software/pmbootstrap && cd ~/software/pmbootstrap
32
+```
33
+```
34
+pmbootstrap init
35
+```
36
+
37
+&nbsp;
38
+
39
+## Format SD CARD
40
+Format your SD CARD with GPARTED or with the command `mkfs.ext4 /dev/mmcblk0`.
41
+
42
+> Make sure it's your SD CARD!
43
+
44
+&nbsp;
45
+
46
+## Install
47
+```
48
+pmbootstrap install --sdcard=/dev/mmcblk0
49
+```
50
+
51
+&nbsp;
52
+
53
+# Ubuntu Touch
54
+
55
+[ubports](https://ubports.com/)
56
+
57
+Ubuntu Touch is made and maintained by the [UBports Community](https://ubports.com/community/about-the-community). A group of volunteers and passionate people across the world. With Ubuntu Touch we offer a truly unique mobile experience - an alternative to the current most popular operating systems on the market. We believe that everyone is free to use, study, share and improve all software created by the foundation without restrictions. Whenever possible, everything is distributed under free and open source licenses endorsed by the Free Software Foundation, the Open Source Initiative.
58
+
59
+Ubuntu Touch is a mobile version of the Ubuntu operating system for mobile devices. However, unlike other 'flavors' of Ubuntu, it is more accurately an extract of parts of Ubuntu. It is adapted to run naturally in a mobile, touch-screen environment but is also capable of functioning as a desktop computer while in "desktop mode". This aforementioned converging of environments from device to device is where the term "Convergence" originates. You can find more technical details on our [github page](https://github.com/ubports).
60
+
61
+&nbsp;
62
+
63
+## Downloads
64
+Download the [rootfs](https://ci.ubports.com/job/rootfs/job/rootfs-pinephone/) (img.gz) and extract it.
65
+
66
+```
67
+sudo dd bs=4M if=~/Downloads/ubuntu-touch-pinephone.img of=/dev/mmcblk0
68
+```
69
+Or use Etcher.
content/mobile/linux/devices/samsung/galaxy/note-4/_Footer.md
... ...
@@ -0,0 +1,8 @@
1
+[&#60;&#60; back](/)
2
+<center>
3
+[&#8679;UP&#8679;](#)
4
+<br>
5
+<br>
6
+<<Navigation("Navigate Mobile", "content/mobile/linux/")>>
7
+</center>
8
+[&#60;&#60; back](/content/mobile/linux)
... ...
\ No newline at end of file
content/mobile/linux/devices/samsung/galaxy/note-4/n910f-linux.md
... ...
@@ -0,0 +1,225 @@
1
+# N910F-Linux
2
+<center>
3
+This tutorial is for Samsung Galaxy Note 4 model N910F.
4
+</center>
5
+------
6
+
7
+[[_TOC_]]
8
+
9
+# Requirements
10
+
11
+## Software
12
+
13
+&nbsp;
14
+
15
+### Ubuntu Touch
16
+
17
+Download it from [PwOSS - Repo](https://repo.pwoss.org/mobile/linux/samsung/galaxy/note4/n910f/ubuntu_touch/) or from [tygercraft.duckdns.org](http://tygercraft.duckdns.org/UBPorts/) - trltexx.
18
+Get the file to your phone. Use an external _micro SD card_ if it's possible.
19
+
20
+&nbsp;
21
+
22
+### TWRP recovery
23
+
24
+Get the recovery from [twrp.me](https://twrp.me/samsung/samsunggalaxynote4qualcomm.html)
25
+
26
+&nbsp;
27
+
28
+### ADB drivers
29
+> Got to [searx.pwoss.org](https://searx.pwoss.org/) (or whatever you prefer) and search for "adb drivers windows linux and mac". You can follow a tutorial there.
30
+
31
+&nbsp;
32
+
33
+__Arch Linux & Manjaro Linux:__
34
+```
35
+sudo pacman -S android-tools
36
+```
37
+
38
+&nbsp;
39
+
40
+### 1.1.4. Heimdall
41
+
42
+Download _Heimdall_ from [glassechidna.com.au](https://glassechidna.com.au/heimdall/)
43
+> This is necessary to install TWRP.
44
+
45
+__Arch Linux & Manjaro Linux:__
46
+```
47
+sudo pacman -S heimdall
48
+```
49
+
50
+&nbsp;
51
+
52
+# HowTo
53
+
54
+If you got every [requirements](/content/mobile/linux/devices/samsung/galaxy/note-4/n910f-linux#1-requirements) then we can go further with the first step (4 steps in total).
55
+
56
+Get yourself a coffee or tea and let's go through this.
57
+
58
+## Step 1 - Heimdall
59
+
60
+### Reboot to bootloader
61
+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..
62
+Connect your phone via USB to your computer.
63
+
64
+&nbsp;
65
+
66
+### Start Heimdall
67
+
68
+&nbsp;
69
+
70
+#### Device detection
71
+Start Heimdall and go to __Utilities__. Click on __Detect__ by _Detect Device_. You can see by _Output_ __Device Detected__.
72
+
73
+&nbsp;
74
+
75
+#### Create .pit file
76
+Now you have to create a .pit (Partition Information Table) file.
77
+Click on __Save as__ by _Download PIT_ and choose a folder and name -> __Save__ -> __Download__.
78
+
79
+Output:
80
+
81
+```
82
+Heimdall v1.4.2
83
+
84
+Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
85
+http://www.glassechidna.com.au/
86
+
87
+This software is provided free of charge. Copying and redistribution is
88
+encouraged.
89
+
90
+If you appreciate this software and you would like to support future
91
+development please consider donating:
92
+http://www.glassechidna.com.au/donate/
93
+
94
+Initialising connection...
95
+Detecting device...
96
+Claiming interface...
97
+Setting up interface...
98
+
99
+Initialising protocol...
100
+Protocol initialisation successful.
101
+
102
+Beginning session...
103
+
104
+Some devices may take up to 2 minutes to respond.
105
+Please be patient!
106
+
107
+Session begun.
108
+
109
+Downloading device's PIT file...
110
+PIT file download successful.
111
+
112
+Ending session...
113
+Releasing device interface...
114
+```
115
+
116
+&nbsp;
117
+
118
+#### Flashing TWRP
119
+Go to __Flash__ and click on __Browse__ by _PIT_. Use the just created .pit file.
120
+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__.
121
+Now click on __Start__.
122
+
123
+Check if an installation line appears on your phone.
124
+
125
+You can also see a process in Heimdall under _Status_. It should look like this:
126
+```
127
+Initialising connection...
128
+Detecting device...
129
+Claiming interface...
130
+Setting up interface...
131
+
132
+Initialising protocol...
133
+Protocol initialisation successful.
134
+
135
+Beginning session...
136
+
137
+Some devices may take up to 2 minutes to respond.
138
+Please be patient!
139
+
140
+Session begun.
141
+
142
+Downloading device's PIT file...
143
+PIT file download successful.
144
+
145
+Uploading RECOVERY
146
+0%
147
+6%
148
+13%
149
+19%
150
+26%
151
+32%
152
+39%
153
+46%
154
+52%
155
+59%
156
+65%
157
+72%
158
+79%
159
+85%
160
+92%
161
+98%
162
+100%
163
+
164
+RECOVERY upload successful
165
+
166
+Ending session...
167
+Rebooting device...
168
+Releasing device interface...
169
+```
170
+
171
+&nbsp;
172
+
173
+#### Trouble?
174
+For Linux.
175
+If you encounter errors while trying to download your .pit file, you must create a new file on your computer and add the following:
176
+```
177
+sudo nano /etc/udev/rules.d/79-samsung.rules
178
+```
179
+```
180
+ATTRS{idVendor}=="04e8", ENV{ID_MM_DEVICE_IGNORE}="1"
181
+ATTRS{idVendor}=="04e8", ATTRS{product}=="Gadget Serial", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{MTP_NO_PROBE}="1"
182
+```
183
+ctrl + x & yes
184
+```
185
+sudo systemctl restart systemd-udevd
186
+```
187
+Try it again. You may need to restart Heimdall if it's still running.
188
+
189
+&nbsp;
190
+
191
+## Step 2 - Recovery
192
+
193
+### Reboot to new recovery
194
+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.
195
+
196
+&nbsp;
197
+
198
+#### Backup with TWRP
199
+Before we flash Ubuntu Touch let's do a "quick" backup of your system.
200
+Click on __Backup__ and __Select every Partition__ and __Swipe to Backup__.
201
+
202
+> Go back to the main view.
203
+
204
+&nbsp;
205
+
206
+### Ubuntu Touch
207
+Click on __Install__ and __Select Storage__ and choose __Micro SD card__.
208
+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_.
209
+
210
+> Go back to the main view.
211
+
212
+&nbsp;
213
+
214
+That's it. Enjoy
215
+
216
+&nbsp;
217
+
218
+<br>
219
+<br>
220
+<center>
221
+ <p class="small" class="title"><strong>Problems?</strong></p>
222
+ <p class="small">
223
+ If you encounter problems, simply create an [issue](https://git.pwoss.org/mobile/installation/issues).
224
+ </p>
225
+</center>
... ...
\ No newline at end of file