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 76.2k 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.
      • 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
                          • A Offline
                            alex000090
                            last edited by

                            Is it possible to build the boot image with anbox support?

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

                              @bisaalz Please try to flash LineageOS 14.1 (just that, don't install Ubuntu), and reboot.

                              If LineageOS 14 boots, can you try to install Ubuntu again? Perhaps this is needed first, I have not updated my device firmware for months now.

                              B 1 Reply Last reply Reply Quote 0
                              • U Offline
                                ub_santoni
                                last edited by

                                I don't know how to open the download page, where should I click to get this pagealt text
                                How can i get to the download link?

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  alex000090 @ub_santoni
                                  last edited by

                                  @ub_santoni You should tap on green tick.

                                  U 1 Reply Last reply Reply Quote 0
                                  • U Offline
                                    ub_santoni @alex000090
                                    last edited by

                                    @alex000090 It's amazing, thank you

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

                                      @Danct12 Can u give me lineage os 14.1 link

                                      R Danct12D 2 Replies Last reply Reply Quote 0
                                      • R Offline
                                        Rafa @bisaalz
                                        last edited by

                                        @bisaalz I found this: https://www.androidfilehost.com/?fid=890129502657590301

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

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            maciekrz12
                                            last edited by

                                            Hi @Danct12
                                            I followed your steps but I cannot get it working (as contrary to LOS 16).
                                            Halium seems ok

                                            ❯ fastboot boot ../../fastboot/imgs/halium-boot.img
                                            downloading 'boot.img'...
                                            OKAY [  0.507s]
                                            booting...
                                            OKAY [  0.792s]
                                            finished. total time: 1.299s
                                            

                                            Using halium scirpt seems to work

                                            ❯./halium-install -p ut ../redmi_4/ubports-touch.rootfs-xenial-armhf.tar.gz ../redmi_4/system.img
                                            ...
                                            * daemon started successfully
                                            .halium-install-imgs.kdniI/rootfs.img: 1 file pushed. 29.4 MB/s (3221225472 bytes in 104.455s)
                                            I:    Pushing android image to /data via ADB
                                            .halium-install-imgs.kdniI/system.img: 1 file pushed. 29.2 MB/s (530046976 bytes in 17.321s)
                                            
                                            real	2m4,878s
                                            user	0m0,895s
                                            sys	0m4,792s
                                            I: Cleaning up
                                            umount: .halium-install-rootfs.YfPsB: not mounted.
                                            

                                            Reboot dmesg -w output

                                            [  580.375260] usb 1-10: USB disconnect, device number 8
                                            [  591.295694] usb 1-10: new high-speed USB device number 9 using xhci_hcd
                                            [  591.316082] usb 1-10: device descriptor read/8, error -32
                                            [  591.444080] usb 1-10: device descriptor read/8, error -32
                                            [  591.887680] usb 1-10: new high-speed USB device number 10 using xhci_hcd
                                            [  591.908635] usb 1-10: New USB device found, idVendor=18d1, idProduct=d001, bcdDevice= 3.18
                                            [  591.908640] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                                            [  591.908643] usb 1-10: Product: Failed to boot
                                            [  591.908646] usb 1-10: Manufacturer: Halium initrd
                                            [  591.908648] usb 1-10: SerialNumber: halium-initrd
                                            [  591.911580] rndis_host 1-10:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-10, RNDIS device, ce:bd:52:32:a7:cb
                                            [  591.929671] rndis_host 1-10:1.0 enp0s20f0u10: renamed from usb0
                                            

                                            SSH does not seem to work (either by using connect script or manual setup)

                                            ./connect.py -p ssh -u phablet                                                                  
                                            * The device seems to be connected as enp0s20f0u10
                                            * Connecting using ssh
                                            ssh: connect to host 10.15.19.82 port 22: No route to host
                                            

                                            Telnet is working though but:

                                            cat /var/lib/lxc/android/rootfs/ueventd*.rc|grep ^/dev|sed -e 's/^\/dev\///'|awk '{printf "ACTION==\"add\", KERNEL==\"%s\", OWNER=\"%s\", GROUP=\"%s\", MODE=\"%s\"\n",$1,$3,$4,$2}' | sed -e 's/\r//' >
                                            /usr/lib/lxc-android-config/70-[santoni].rules
                                            cat: can't open '/var/lib/lxc/android/rootfs/ueventd*.rc': No such file or directory
                                            /bin/sh: can't create /usr/lib/lxc-android-config/70-[santoni].rules: nonexistent directory
                                            

                                            Additionaly

                                            ls -la /var/
                                            total 0
                                            drwxr-xr-x    3 0        0               60 Jun  2 22:38 .
                                            drwxr-xr-x   22 0        0              460 Jun  2 22:39 ..
                                            drwxr-xr-x    2 0        0               40 Jun  2 22:38 lock
                                            
                                            
                                            ls -la /lib/
                                            total 144
                                            drwxr-xr-x    7 0        0              180 Mar  6  2020 .
                                            drwxr-xr-x   22 0        0              460 Jun  2 22:39 ..
                                            drwxr-xr-x    2 0        0              740 Mar  6  2020 aarch64-linux-gnu
                                            -rwxr-xr-x    1 0        0           144064 May  8  2016 klibc-l2KWxiQhsOhwWkxGl3jGkrDaJnQ.so
                                            lrwxrwxrwx    1 0        0               28 Mar  6  2020 ld-linux-aarch64.so.1 -> aarch64-linux-gnu/ld-2.24.so
                                            drwxr-xr-x    2 0        0               80 Mar  6  2020 modprobe.d
                                            drwxr-xr-x    3 0        0               60 Mar  6  2020 modules
                                            drwxr-xr-x    3 0        0               80 Mar  6  2020 systemd
                                            drwxr-xr-x    3 0        0              100 Mar  6  2020 udev
                                            

                                            Any ideas?

                                            M Danct12D 2 Replies Last reply Reply Quote 0
                                            • M Offline
                                              maciekrz12 @maciekrz12
                                              last edited by

                                              • sorry for mistake - the first one was
                                              fastboot flash boot ../../fastboot/imgs/halium-boot.img
                                              
                                              1 Reply Last reply Reply Quote 0

                                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                              With your input, this post could be even better 💗

                                              Register Login
                                              • First post
                                                Last post