{"id":1638,"date":"2021-01-05T20:15:12","date_gmt":"2021-01-05T19:15:12","guid":{"rendered":"http:\/\/localhost\/miosito\/?p=1638"},"modified":"2021-11-09T17:32:00","modified_gmt":"2021-11-09T16:32:00","slug":"ubuntu-touch-ubport-xiaomi-redmi-note-8","status":"publish","type":"post","link":"http:\/\/localhost\/miosito\/en\/ubuntu-touch-ubport-xiaomi-redmi-note-8\/","title":{"rendered":"Ubuntu touch (ubport) Xiaomi Redmi Note 8"},"content":{"rendered":"
Hi everyone, I managed to get Ubuntu touch working pretty well on the Xiaomi Redmi Note 8 smartphones (ginkgo).<\/p>\r\n\r\n\r\n\r\n\r\n\r\n
Before we move on to the installation here’s what’s wrong:<\/p>\r\n\r\n\r\n\r\n
Otherwise at least of what I’ve tried everything goes, including dual sim, video, photos, gps, bluetooth, SSH, fingerprint reader and various apps from the open store.<\/p>\r\n\r\n\r\n\r\n\r\n\r\n
First of all I consider that you have backed up, and that you are ready to “fiddle” with pc and smartphones.<\/p>\r\n\r\n\r\n\r\n\r\n\r\n
A) You need to unlock the Xiaomi boot-loader and install the TWRP recovery<\/p>\r\n\r\n\r\n\r\n\r\n\r\n
follow this guide ONLY up to step 2. including optional steps: guide-unlocking-bootloader-twrp<\/a><\/p>\r\n\r\n\r\n\r\n\r\n\r\n B) Download the following files to your pc:<\/p>\r\n\r\n\r\n\r\n C) Install Ubuntu touch by following these steps<\/p>\r\n\r\n\r\n\r\n\r\n\r\n In recovery TWRP go to advanced and enable sideload (remember that for each step you must close sideload and reopen it otherwise it gives an error)<\/p>\r\n\r\n\r\n\r\n\r\n\r\n Here are three of my screenshots (they are made by pressing the power button for a few seconds, it will open a menu where you can reboot, shut down and take screenshots)<\/p>\r\n\r\n\r\n\r\n E) Now you are ready to use Ubuntu but to manage it from pc you’ll have to configure SSH (both from PC and smartphones):<\/p>\r\n\r\n\r\n\r\n\r\n\r\n From PC (I used Ubuntu 20.04, but it’s good for all Debian based:<\/p>\r\n\r\n\r\n\r\n\r\n\r\nssh-keygen\r\n NB: the basic password is phablet I recommend to change it<\/p>\r\n\r\n\r\n\r\n\r\n\r\n Now you can finally have fun with Ubuntu touch<\/p>","protected":false},"excerpt":{"rendered":" Hi everyone, I managed to get Ubuntu touch working pretty well on the Xiaomi Redmi Note 8 smartphones (ginkgo). Before we move on to the installation here’s what’s wrong: la telecamera frontale i programmi x11 non andranno in Libertine Anbox non funziona (apps android, ma va su note 7 quindi penso basti un altro kernel […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[159,154,152,156,157,153,150,151,9,155],"_links":{"self":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts\/1638"}],"collection":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/comments?post=1638"}],"version-history":[{"count":0,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts\/1638\/revisions"}],"wp:attachment":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/media?parent=1638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/categories?post=1638"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/tags?post=1638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<\/figure>\r\n\r\n\r\n\r\n\r\n
\r\nOnce you have generated the key you will find it in ~\/.ssh\/id_rsa.pub\r\n
\r\nNow copy it into your cell phone (I used the wifi transfert app \r\nthat you can find in the store, or via bluetooth with another app that\r\n transfers files, or use dropbox or other)\r\n
\r\nFrom Ubuntu touch smartphone:\r\n
\r\nput the file in \/home\/phablet\/ (i.e. the user home)\r\n
\r\nopen the terminal and give\r\n
\r\nmkdir \/home\/phablet\/.ssh\r\n
\r\nchmod 700 \/home\/phablet\/.ssh\r\n
\r\ncat \/home\/phablet\/id_rsa.pub >> \/home\/phablet\/.ssh\/authorized_keys\r\n
\r\nchmod 600 \/home\/phablet\/.ssh\/authorized_keys \r\n
\r\nchown -R phablet:phablet \/home\/phablet\/.ssh\r\n
\r\nsudo android-gadget-service enable ssh\r\n
\r\nNow from PC open the terminal and give\r\n
\r\nssh phablet@10.42.0.197 (from hotspot the ip should be the same, \r\nor your ip of the cell phone connected in wifi)\r\n\r\n\r\n\r\n\r\n\r\n