Xiaomi Redmi 4X (santoni)
-
@aceclan can u explain detail how to flash system.img from twrp?
-
@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 devicesso 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.htmlthe basic is ->
path/to/halium-install -p ut path/to/rootfs.tar.gz path/to/system.img,Best regards,
Alex -
@aceclan Thanks for your reply. I followed your instructions. Now , when the terminal tell me to set password, this message is showing continuously. "chroot: failed to run command 'passwd' : Exec format error failed, please try again"
Edit: Now I know that I cant chroot into rootfs on my redmi4x which means qemu-user-static is not working on my Ubuntu 19.04. Still can`t find the fix for that.
-
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:
Here's the last message from Halium-Install:
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! -
@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 ^^
-
@4htet Make sure
qemu-user-binfmt
is installed on your host. -
@BlackOtton Is your data partition f2fs? If it is then change it back to ext4.
-
@Danct12 Now booting on Ubuntu. Thx for ur help.
-
@Danct12 Thanks, reformatting /data to ext4 finally worked.
-
@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 TheWiseNerdLicense: GPLv3
dependencies: qemu binfmt-support qemu-user-static e2fsprogs sudo simg2img
"--
best regards,
Alex -
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. -
@aceclan
Resolved, flashed the anterior. -
@aceclan Your home directory should stay intact, I flashed my nexus 5 on legacy build with halium 7.1 build and everything worked fine.
-
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?
-
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
-
@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.
-
@bisaalz Format your /data partition as ext4.
-
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. -
@Danct12 maybe we should update blobs, I am not sure what else to do.
-
@danqo6 Perhaps you could try to flash a LOS 14.1 rom first and see if LOS loads.