(Guide) (GSI) (Ubports) How To Flash Ubuntu Touch GSI In Redmi Note 7/7S

jaxx08

Senior Member
Jun 1, 2017
281
115
43


I'm Not Responsible For Bricked Device, Dead SD Cards & Other Stuffs, Flash It At Your Own Risk

As There Are No Threads About How To Flash Ubuntu Touch GSI, So I Made One To Help Others As Well, So Lets Start With

What Is Ubuntu Touch?
Ubuntu Touch is the touch-friendly mobile version of Ubuntu. This operating system is developed and maintained by UBports: An international community of passionate volunteers. This means Ubuntu Touch is 100% community driven and independent.

Ubuntu Touch - A Different Approach
Ubuntu Touch offers a completely different approach to using your smartphone or tablet than using other mainstream operating systems. The OS is built on Ubuntu, which provides us with a secure and stable base system used by millions of people across personal computers, servers, IoT devices and even the international space station.

The intuitive user interface allows you to access all of your phone's features by swiping from the edges of the screen to access your apps, tools and settings all with one hand and no on-screen buttons. It looks great and feels smooth.

All The Files Is From Erfan Abdi
Thanks To @erfanoabdi For Giving Me The Required Files & For GSI Too

Files Required For Flashing:
1. Orange Fox Recovery Or TWRP
2. Lineage OS 16.0
3. Halium Boot Img
4. Ubports GSI Installer
Links For Files Given Below

How To Flash:
1. First Of All Wipe System, Data, Vendor, Cache & Dalvik Cache
2. Flash Lineage OS 16.0
3. Format Data (Or You Can Format Data In The End)
4. Flash Halium Boot Img As Boot
5. Flash Ubports GSI Installer Zip

Working:
Mostly Everything Except The Bugs Mentioned Below

Bugs:
Recents Apps List Is A Bit Laggy

AB/A-Only/System-as-root?
This GSI is compatible with any partition types.

Notes:
This Is Not Android Based, It Is Linux Which Is Ported To Android Device.
Default Password is "phablet"
•Don't Try Flashing This GSI On Android 10 As It Might Give Bootloop Or Stuck On Logo, This GSI Requires Android 9 Firmware As Base & I Also Personally Asked Erfan & He Told Me To Use LOS 16.0 (See 'More Info' Below)
•Don't Flash Magisk, Migrate Or Any Other Zip Which Is For Android
•If You Are Going To Flash With Android 10 Then Make Sure To Flash Halium Boot, As It Is Required To Boot Ub Touch & If You Managed To Boot It Then Let Me Know!

Need Video Reference On How To Flash?
Watch This

Download Links:
Download Lineage OS 16.0
Download Halium Boot
Download Ubports GSI Installer

Ubports Website
More Info On How To Flash & Troubleshooting

This Could Be A Better Replacement For Android, I Hope The Development Goes Well.
So Enjoy Using Ubuntu On Your Device!!
 
Last edited:

garyn4

Member
Jul 16, 2020
5
0
0
calls

Hi, I have when the phone goes to sleep mode, the phone itself becomes unavailable for calls or after some time when incoming nothing is heard.
 

jaxx08

Senior Member
Jun 1, 2017
281
115
43
Install Anbox By Following This Steps

## Run the following commands in Ubuntu Touch Terminal ONLY!!!
## Because ADB doesn't work with pc yet

sudo mount -o rw,remount /
sudo apt update
sudo apt install anbox-ubuntu-touch android-tools-adb
mkdir /home/phablet/anbox-data
mkdir /home/phablet/anbox-data/data
touch /home/phablet/anbox-data/.enable
sudo chmod -R o+wrx /home/phablet/anbox-data/data
sudo start -q anbox-container

## To install apps

sudo mount -o rw,remount /
adb devices

## You should see an emulator device here, continue to install
adb install /{path to apk}/{name of apk}.apk
## It will get installed and show up in launcher
 
  • Like
Reactions: garyn4

garyn4

Member
Jul 16, 2020
5
0
0
Install Anbox By Following This Steps

## Run the following commands in Ubuntu Touch Terminal ONLY!!!
## Because ADB doesn't work with pc yet

sudo mount -o rw,remount /
sudo apt update
sudo apt install anbox-ubuntu-touch android-tools-adb
mkdir /home/phablet/anbox-data
mkdir /home/phablet/anbox-data/data
touch /home/phablet/anbox-data/.enable
sudo chmod -R o+wrx /home/phablet/anbox-data/data
sudo start -q anbox-container

## To install apps

sudo mount -o rw,remount /
adb devices

## You should see an emulator device here, continue to install
adb install /{path to apk}/{name of apk}.apk
## It will get installed and show up in launcher
Is it possible to install any applications?
Total Commander works, and Whatsapp or Opera after installation send the phone to rebut and so until you delete it.
 

jaxx08

Senior Member
Jun 1, 2017
281
115
43
Is it possible to install any applications?
Total Commander works, and Whatsapp or Opera after installation send the phone to rebut and so until you delete it.
I didn't tested these apps, but some apps like telegram, Spotify is laggy, running the apps you mentioned might be laggy too
 

skad00sh

Senior Member
Aug 25, 2013
271
660
0
Pune
@jaxx08 @erfanoabdi Thanks for this. I really appreciate your work.
I've been flashing ROMs since so many years. But on my RN7 I did not flash any ROMs.
Saw this post and instantly decided to install Ubuntu.

Thanks for the great video. I followed all the steps written in the OP as well as shown in the video.
After everything is flashed I rebooted the device.
I kept it on boot logo for appx 30mins.
But it did not boot.
Have I missed something?
How To Flash:
1. First Of All Wipe System, Data, Vendor, Cache & Dalvik Cache
2. Flash Lineage OS 16.0
3. Format Data (Or You Can Format Data In The End)
4. Flash Halium Boot Img As Boot
5. Flash Ubports GSI Installer Zip
 
Last edited:

garyn4

Member
Jul 16, 2020
5
0
0
You need to remove any encryption from your smartphone, otherwise ubuntu touch will not start.

@jaxx08 @erfanoabdi Thanks for this. I really appreciate your work.
I've been flashing ROMs since so many years. But on my RN7 I did not flash any ROMs.
Saw this post and instantly decided to install Ubuntu.

Thanks for the great video. I followed all the steps written in the OP as well as shown in the video.
After everything is flashed I rebooted the device.
I kept it on boot logo for appx 30mins.
But it did not boot.
Have I missed something?
 

nishat islam

Senior Member
Dec 22, 2017
96
8
8
thats very nice. even tho, i dont understand whats the benefits of ubuntu...

instead of other rom (linage name with something) can i do it with HAVOC?

if i dont use magisk (being rooted), how could i edit system file?
 

skad00sh

Senior Member
Aug 25, 2013
271
660
0
Pune
You need to remove any encryption from your smartphone, otherwise ubuntu touch will not start.
Ohh, that's what happened while installing other Android 10 ROMs. (though MIUI worked). Can you point me to a thread which will guide me how to remove encryption.
Update 1:
There was no password on the device.
Also, I did format my internal storage. So there shouldn't be any encryption issue. Maybe the issue is caused by recovery?

Update 2:
I clean flashed using twrp. Wiped internal as well.
I tried to boot into lineage and it successfully did.
Again clean wiped everything except system. (wiped internal as well).
Flashed halium boot and Ubuntu GSI installer. Wiped everything again.
Still stuck on Redmi logo.
thats very nice. even tho, i dont understand whats the benefits of ubuntu...
Ubuntu is pretty different than Android.
If you have used Ubuntu on PC you'll know.
 
Last edited:

garyn4

Member
Jul 16, 2020
5
0
0
Ohh, that's what happened while installing other Android 10 ROMs. (though MIUI worked). Can you point me to a thread which will guide me how to remove encryption.
.
The firmware must be 9 android! In TWRP OrangeFox, before firmware
1. menu - partition management - Data - red button "clear Data" - enter "yes" and confirm (internal memory will be cleared),
2. in the menu - settings - MIUI OTA, select disable forced encryption.