[Ubuntu touch] Rolex/Redmi4a

asymcon

Senior Member
Jun 30, 2017
74
4
0
Zabierzów
Hi Fred,
thanks for this port, going to test as soon as I get my hands on a spare rolex, because my only one is daily driver. I'm a bit unsure on the installation steps though. First portion is just to install through twrp, but few pages later, the steps below were needed.
Coming from clean system/data/vendor, with only TWRP installed, nothing else

How to install:
1.Format data (if ur device encrypted and no storage left)
2.just flash with twrp
3.reboot

How to install(is different with normal rom install)
-firts download offcial twrp https://dl.twrp.me/rolex/twrp-3.3.1-0-rolex.img.html
-then flash official twrp
-and then reboot into fastboot mode
-in computer exe command "fastboot flash boot halium-boot"
-after flash reboot into recovery and mount data partition
-in computer terminal execute "git clone https://gitlab.com/JBBgameich/halium-install.git && cd halium-install"
-then execute "./halium-install -p ut "path to rootfs" "path to halium system.img""
-The script will copy and extract the files to their proper places, then allow you to set the phablet user’s password.
-then after install complete reboot your phone
 

DevilUsr

Senior Member
Apr 18, 2018
154
93
0
Aceh
Hi Fred,
thanks for this port, going to test as soon as I get my hands on a spare rolex, because my only one is daily driver. I'm a bit unsure on the installation steps though. First portion is just to install through twrp, but few pages later, the steps below were needed.
Coming from clean system/data/vendor, with only TWRP installed, nothing else
Caused I won't make zip(twrp) installer again
 

asymcon

Senior Member
Jun 30, 2017
74
4
0
Zabierzów

badcloud

Senior Member
Dec 10, 2019
56
5
0
Can u take log
Code:
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.278333] IRQ12 no longer affine to CPU1
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.278336] IRQ13 no longer affine to CPU1
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.278339] IRQ14 no longer affine to CPU1
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.278342] IRQ15 no longer affine to CPU1
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.278345] IRQ16 no longer affine to CPU1
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284281] suspend ns:    3012284274224      suspend cycles:     367565561770
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274] Enabled clocks:
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   xo_a_clk_src:3:3 [19200000]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   pnoc_a_clk:1:1 [19200000]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   bimc_a_clk:1:1 [739901440]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   bimc_msmbus_a_clk:1:1 [739901440] -> bimc_a_clk:1:1 [739901440]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   pnoc_keepalive_a_clk:1:1 [19200000] -> pnoc_a_clk:1:1 [19200000]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   a53ss_c1_pll:1:1 [1094400000, 2] -> xo_a_clk_src:3:3 [19200000]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   gcc_boot_rom_ahb_clk:1:1 [0]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   gcc_apss_tcu_clk:1:0 [0]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   gcc_smmu_cfg_clk:2:0 [0]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   apss_ahb_clk_src:1:1 [19200000] -> xo_a_clk_src:3:3 [19200000]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   gcc_mss_cfg_ahb_clk:1:1 [0]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   gcc_mss_q6_bimc_axi_clk:1:1 [0]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   gcc_usb2a_phy_sleep_clk:1:1 [0]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   gcc_gfx_tcu_clk:1:0 [0]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   a53ssmux_bc:1:1 [1094400000] -> a53ss_c1_pll:1:1 [1094400000, 2] -> xo_a_clk_src:3:3 [19200000]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274]   a53_bc_clk:2:1 [1094400000, 2] -> a53ssmux_bc:1:1 [1094400000] -> a53ss_c1_pll:1:1 [1094400000, 2] -> xo_a_clk_src:3:3 [19200000]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274] Enabled clock count: 16
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284274] resume cycles:     367930823242
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284647] Detected VIPT I-cache on CPU1
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.284707] CPU1: Booted secondary processor [410fd034]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.285811] Detected VIPT I-cache on CPU2
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.285860] CPU2: Booted secondary processor [410fd034]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.286925] Detected VIPT I-cache on CPU3
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.286974] CPU3: Booted secondary processor [410fd034]
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.288563] PM: noirq resume of devices complete after 0.746 msecs
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.293496] PM: early resume of devices complete after 4.395 msecs
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.297861] PM: resume of devices complete after 4.354 msecs
Apr 29 23:51:07 ubuntu-phablet kernel: [ 3012.299972] PM: Finishing wakeup.


---------- Post added at 10:05 PM ---------- Previous post was at 09:53 PM ----------

OK, so the 2nd installation method applies?
If by 2nd method you mean the method referred to in https://forum.xda-developers.com/showpost.php?p=82352525&postcount=33, then yes.
Yes.
And rootfs path of the device? Could you provide an example?
By "path to rootfs" (in the command "./halium-install -p ut "path to rootfs" "path to halium system.img""), he meant "path of file 'ubuntu-touch-hybris-xenial-edge-arm64-rootfs.tar.gz'"

File is downloaded from https://ci.ubports.com/job/xenial-h...-touch-hybris-xenial-edge-arm64-rootfs.tar.gz

Example of "path to rootfs":
"/home/<user>/Downloads/ubuntu-touch-hybris-xenial-edge-arm64-rootfs.tar.gz"
 

suoko

Senior Member
Jan 7, 2010
531
22
0
Tokyo
I wanted to test apps with clickable but developer mode has problems I guess, my PC cant recognize the device.
Did you try to access via adb?
 

badcloud

Senior Member
Dec 10, 2019
56
5
0
Thanks

For manual method try to cat /bin/mtp-enable and executed showed output
Running first line of /bin/mtp-enable causes device to freeze up

Maybe I'll try reinstalling UT sometime or I'll wait for next update

Edit: Works after clean install :)
 
Last edited:

suoko

Senior Member
Jan 7, 2010
531
22
0
Tokyo
I solved with clickable ssh, no need for adb .
I see 3d works, stellarium app for example does worK, but webgl is not enabled for morph browser. Is it possible?