UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. aceclan
    A
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 0
    • Posts 13
    • Groups 0

    aceclan

    @aceclan

    3
    Reputation
    7
    Profile views
    13
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    aceclan Unfollow Follow

    Best posts made by aceclan

    • RE: Xiaomi Redmi 4X (santoni)

      @Danct12, can You help me with "build system image" from Github Actions?
      I need more info what to do after git clone...
      Or need to use something from marketplace?
      Why don't You share every fresh working image... The easiest way for "noobs like me 🙂

      Thanks in advance,
      Alex

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      I've succeeded.... 🙂

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)
      Dual Boot -> Sysadmin approach :)
      

      I am using right now dual boot stock fw / ubport - switching boot from TWRP.
      I write down thees steps to my self to remember and for everyone ho would like to try...
      Using stock because is good... (dm-verity, rooted , ad-aware .... ) , I could not find any rom with scheduled Power On/Off feature. Needed a solution without wipe. As I understand won't mix the stuff because rootfs.img and system.img is used on ubuntu touch so it will be separated.

      So try ubuntu for freedom:

      Having already an unlocked Redmi4x, with working StockRom, rooted, dm-verity, and TWRP installed.
      
      • Boot to TWRP recovery, Backup ALL stuff including DATA.

      • Copy TWRP folder outside from the phone , ex. to Your desktop.

      • Format Data, to remove encryption, otherwise ubport installer won't work.

      • Copy back the TWRP folder backups to phone and restore stock rom.

      • Fingerprint and unlock won't work so need these steps in recovery mode:

        Mount Data, System, and Delete from '/data/system' folder: files with .key extension and files with 'locksettings' keyword. Reboot to system. Everything should be fine , setup up again a security pattern. Fingerprints works after that.
        TWRP-pinreset1.png

      • Reboot to recovery and Backup stock Boot partition.

      • Backup to fasboot , flash halium-boot.img.

      • Reboot to Recovery, so ADB recovery is active , flash from Your Desktop:

        path/to/halium-install -p ut path/to/rootfs.tar.gz path/to/system.img
        
      • Backup Hallium boot partition.

      Now You can switch any time , just restore Boot partition. Enjoy 🙂 .

      Screenshot_2020-03-04-13-39-51.png

      posted in Xiaomi Redmi 4/4X
      A
      aceclan

    Latest posts made by aceclan

    • RE: Xiaomi Redmi 4X (santoni)

      Hi @Danct12 ,

      Can You please write a few words about "fixes" or "new features" on new compiled images?

      Best regards

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      Hi @suoko ,

      The switch is based on boot image flash (restore from TWRB th boot) and the Ubuntu is just two .img files : rootfs.img and system.img which will be mounted, during the boot. So the partitions won't be touched...
      The locations of img files (browse from TWRP) is on /data/ , while the location of Internal storage that You see in MIUI is /data/sdcard or /data/media/0 .

      Work like a charm...

      Best regards

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      @bisaalz , I think You forgot:

      fastboot flash boot halium-boot.img

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      @danqo6 , from the fastboot mode, check first:
      $ fastboot devices
      330915847d15 fastboot

      then download and use: Latest TWRP

      $ fastboot boot twrp-3.3.1-0-santoni.img
      Sending 'boot.img' (24844 KB) OKAY [ 0.783s]
      Booting OKAY [ 0.715s]
      Finished. Total time: 1.615s

      After Backup ALL and copy TWRP folder to Your PC,
      full format: Wipe/Format Data is needed to remove encryption

      Screenshot_2020-03-18-17-10-59.png

      After flash system.img and rootfs.tar.gz don't forget to boot again to fastboot and flash hallium-boot.img:
      fastboot flash boot halium-boot.img

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      @aceclan
      Resolved, flashed the anterior.

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      Hello @Danct12 ,

      Flashing again Your last build, Mon 09 MAR, without any wipe -> all my settings were kept, this is normal? This is a feature? ... because of user data is stored in santoni:/data/user-data/phablet ?

      Another problem network interface from computer disappearing during the UB boot.
      Appearing for a short time then disappear. 😞

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      @4htet , I also had many problems with halium-install, I've spent a lot of time to figuring out , using manjaro linux ...

      I've installed the : qemu-arm-static , binfmt-qemu-static, simg2img from simg-tools package

      and changed a line in function setup_passwd() ,from "halium-install/functions/distributions.sh"

         do_until_success sudo chroot "$ROOTFS_DIR" passwd $user
              to
         sudo chroot "$ROOTFS_DIR" passwd $user
      

      on the halium install script are described the dependencies:


      "
      Halium installer script
      Copyright (C) 2017 JBBgameich
      Copyright (C) 2017 TheWiseNerd

      License: GPLv3

      dependencies: qemu binfmt-support qemu-user-static e2fsprogs sudo simg2img
      "

      --
      best regards,
      Alex

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      @4htet , if You read again the steps I wrote:

      • Reboot to Recovery, so ADB recovery is active , flash from Your Desktop:

      path/to/halium-install -p ut path/to/rootfs.tar.gz path/to/system.img


      Explain:

      When You are in recovery mode and connect the USB cable, the ADB recovery mode is active. (I suppose You already have android SDK, ADB , fastboot tools...)
      To check use command:
      adb devices
      in fastboot :
      fastboot devices

      so in this step won't flash from TWRP GUI, just use TWRP for adb, and reboot.

      How to flash, was specified already by @Danct12 , read here:
      http://docs.ubports.com/en/latest/porting/installing-16-04.html

      the basic is ->
      path/to/halium-install -p ut path/to/rootfs.tar.gz path/to/system.img,

      Best regards,
      Alex

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)
      Dual Boot -> Sysadmin approach :)
      

      I am using right now dual boot stock fw / ubport - switching boot from TWRP.
      I write down thees steps to my self to remember and for everyone ho would like to try...
      Using stock because is good... (dm-verity, rooted , ad-aware .... ) , I could not find any rom with scheduled Power On/Off feature. Needed a solution without wipe. As I understand won't mix the stuff because rootfs.img and system.img is used on ubuntu touch so it will be separated.

      So try ubuntu for freedom:

      Having already an unlocked Redmi4x, with working StockRom, rooted, dm-verity, and TWRP installed.
      
      • Boot to TWRP recovery, Backup ALL stuff including DATA.

      • Copy TWRP folder outside from the phone , ex. to Your desktop.

      • Format Data, to remove encryption, otherwise ubport installer won't work.

      • Copy back the TWRP folder backups to phone and restore stock rom.

      • Fingerprint and unlock won't work so need these steps in recovery mode:

        Mount Data, System, and Delete from '/data/system' folder: files with .key extension and files with 'locksettings' keyword. Reboot to system. Everything should be fine , setup up again a security pattern. Fingerprints works after that.
        TWRP-pinreset1.png

      • Reboot to recovery and Backup stock Boot partition.

      • Backup to fasboot , flash halium-boot.img.

      • Reboot to Recovery, so ADB recovery is active , flash from Your Desktop:

        path/to/halium-install -p ut path/to/rootfs.tar.gz path/to/system.img
        
      • Backup Hallium boot partition.

      Now You can switch any time , just restore Boot partition. Enjoy 🙂 .

      Screenshot_2020-03-04-13-39-51.png

      posted in Xiaomi Redmi 4/4X
      A
      aceclan
    • RE: Xiaomi Redmi 4X (santoni)

      I've succeeded.... 🙂

      posted in Xiaomi Redmi 4/4X
      A
      aceclan