UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Xiaomi Redmi 4X (santoni)

    Scheduled Pinned Locked Moved Xiaomi Redmi 4/4X
    xiaomiredmi
    111 Posts 41 Posters 50.0k Views 11 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • ? Offline
        A Former User
        last edited by A Former User

        Hey, I'm having some problems getting my 4X to boot into UT. I'm on Ubuntu 18.04 and downloaded latest System and Boot image from the Github. I also unlocked my bootloader and flashed newest TWRP. After that, I flashed Halium-Boot through fastboot. After booting back to TWRP( to get ADB to work) I started normally flashing with halium-install.
        Everything seems to be fine. It asked me for password and flashed system and rootfs to /data. After that while trying to boot the OS, it just locks up on Mi Logo and on dmesg -w I see:
        Screenshot from 2020-03-09 19-57-47.png
        Here's the last message from Halium-Install:
        Screenshot from 2020-03-09 19-59-03.png
        I really don't know what's the problem here. I tried reformatting /data, /system, /cache etc. and same results, I also tried installing LineageOS 16 (Official) and install ut on top of that but still the same thing.
        Any help is appriciated!

        flohackF Danct12D 2 Replies Last reply Reply Quote 0
        • flohackF Offline
          flohack @Guest
          last edited by

          @BlackOtton Well you are in emergency telnet mode, maybe you should use telnet to connect to the shown IP and see what dmesg says there ^^

          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

          1 Reply Last reply Reply Quote 0
          • Danct12D Offline
            Danct12 @4htet
            last edited by

            @4htet Make sure qemu-user-binfmt is installed on your host.

            4 1 Reply Last reply Reply Quote 0
            • Danct12D Offline
              Danct12 @Guest
              last edited by

              @BlackOtton Is your data partition f2fs? If it is then change it back to ext4.

              ? 1 Reply Last reply Reply Quote 0
              • 4 Offline
                4htet @Danct12
                last edited by 4htet

                @Danct12 Now booting on Ubuntu. Thx for ur help.

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @Danct12
                  last edited by

                  @Danct12 Thanks, reformatting /data to ext4 finally worked.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    aceclan @4htet
                    last edited by

                    @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

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      aceclan
                      last edited by

                      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. 😞

                      A D 2 Replies Last reply Reply Quote 0
                      • A Offline
                        aceclan @aceclan
                        last edited by

                        @aceclan
                        Resolved, flashed the anterior.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          danqo6 @aceclan
                          last edited by

                          @aceclan Your home directory should stay intact, I flashed my nexus 5 on legacy build with halium 7.1 build and everything worked fine.

                          1 Reply Last reply Reply Quote 0
                          • 4 Offline
                            4htet
                            last edited by

                            I tried to log in to google account to sync my contacts. But at the log in page, keyboard is not popping up( not showing) . And one more thing, my language BURMESE letters are not showing in sms. Showing only square characters. I tried to install fonts and it is saying read only file system. Any IDEA?

                            Danct12D 1 Reply Last reply Reply Quote 0
                            • B Offline
                              bisaalz
                              last edited by bisaalz

                              Please help me i tried everything always stuck at mi logo, i formated the data and flashed it and still stuck at mi logo never booted to ubuntu. please someone provide step by step process

                              Danct12D D A 3 Replies Last reply Reply Quote 0
                              • Danct12D Offline
                                Danct12 @4htet
                                last edited by

                                @4htet Keyboard not popping up at Google page is probably a UBports error, the same issue is on Oneplus 3.

                                And read-only file system, you can try sudo mount -o rw,remount / to remount the rootfs as root.

                                But your language issue is weird, it could be a UBports issue unless someone tested it on official supported device.

                                1 Reply Last reply Reply Quote 0
                                • Danct12D Offline
                                  Danct12 @bisaalz
                                  last edited by

                                  @bisaalz Format your /data partition as ext4.

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    danqo6 @bisaalz
                                    last edited by danqo6

                                    Same for me, format data as ext4 does not help. I am unable get any logs, dmesg -w on PC does not show anything, /sys/fs/pstore/console-ramoops file does not exist. I am unable to boot your recovery, sudo fastboot boot recovery.img show only mi logo. I tried to downgrade firmware, compile system by my own, many recovery images. But I am unable to boot this (and recovery from that post too). Some people on XDA have similar problem. I was using lastest MIUI 11.2 before.

                                    D Danct12D A 3 Replies Last reply Reply Quote 0
                                    • D Offline
                                      danqo6 @danqo6
                                      last edited by

                                      @Danct12 maybe we should update blobs, I am not sure what else to do.

                                      1 Reply Last reply Reply Quote 0
                                      • Danct12D Offline
                                        Danct12 @danqo6
                                        last edited by

                                        @danqo6 Perhaps you could try to flash a LOS 14.1 rom first and see if LOS loads.

                                        D 1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          aceclan @danqo6
                                          last edited by

                                          @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

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            aceclan @bisaalz
                                            last edited by

                                            @bisaalz , I think You forgot:

                                            fastboot flash boot halium-boot.img

                                            B 1 Reply Last reply Reply Quote 0
                                            • B Offline
                                              bisaalz @aceclan
                                              last edited by

                                              @aceclan I did everything you said flash every thing still stuck at mi logo but other android custom boots but ubuntu never boots

                                              Danct12D 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post