X306F - fastboot problems
-
Hi all,
had to purchase a X306F because I shattered the display of my X605
The X306F came with Android 11. Therefore I skipped installing Android 11.When trying to install UT everything works out until I'm encountering two problems:
fastboot delete-logical-partition product doesn't work:
$ fastboot delete-logical-partition product Deleting 'product' FAILED (remote: 'unknown command') fastboot: error: Command failed
fastboot flash system ubuntu.img doesn't work either:
$ fastboot flash system ubuntu.img Sending sparse 'system' 1/21 (131068 KB) OKAY [ 3.341s] Writing 'system' FAILED (remote: 'This partition doesn't exist') fastboot: error: Command failed
fastboot flash boot boot.img did work.
I'm running fastboot version 34.0.5-10900879.
Any idea what I'm doing wrong?
TIA
-
@muskist You need fastboot version found in platform-tools_r30.0.0-windows. Download from here.
Follow the Readme instructions:
*## Install:
- Download The latest devel-flashable-focal image from latest CI builds
https://gitlab.com/uports/h10/lenovo-m10-hd/lenovo-m10-hd/-/pipelines
Put the device in fastboot mode (bootloader)
Hold VOLUME DOWN + POWER BUTTON
- Flash the Ubuntu boot.img:
fastboot flash boot ./boot.img
-
Download recovery.img
-
Flash Ubports recovery.img:
fastboot flash recovery ./recovery.img
- Download vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta ./vbmeta.img
- Optinal flash custom logo
fastboot flash logo ./logo.bin
- Reboot to fastbootd
fastboot reboot fastboot
- Format userdata you may require fastboot binary version 30.0.0-6374843
fastboot format:ext4 userdata
- Delete product logical partition
fastboot delete-logical-partition product
- Resize system partition
fastboot resize-logical-partition system 3978565472
- Flash Ubuntu Rootfs:
fastboot flash system ./ubuntu.img*
- Download The latest devel-flashable-focal image from latest CI builds
-
I have done this know problem free on Windows 11. I use fastboot version from platform-tools_r30.0.0-windows to only change the userdata partition to EXT4. Replace the ./ in front of boot, recovery and so on with the folder that they are stored in (mine is called out).
Two points, many thanks to @rubencarneiro for the port and for updating the Readme which I noted a requirement of Android 11. The other point and this should be a given, it requires the bootloader unlocking. I used windows 11 and powershell and had to use:
./fastboot flashing unlock
From a previous post of mine on another thread.
-
@MrT10001 Thanks for yor reply.
@MrT10001 said in X306F - fastboot problems:
@muskist You need fastboot version found in platform-tools_r30.0.0-windows. Download from here.
I don't use windows and I don't have it around.
Follow the Readme instructions:
Well, I did :))
Everything went fine up to the commands I have mentioned above.And I did it again with fastboot v30.0.0 - same result.
Maybe the problem is this:
When I log in with
$ adb shell
and then do
# ls -la /dev/block/platform/bootdevice/by-name
I get a lot of partitions likelrwxrwxrwx 1 root root 21 2024-02-15 14:27 boot -> /dev/block/mmcblk0p31 ... lrwxrwxrwx 1 root root 20 2024-02-15 14:27 recovery -> /dev/block/mmcblk0p2 ... lrwxrwxrwx 1 root root 21 2024-02-15 14:27 userdata -> /dev/block/mmcblk0p40 ...
I'm missing a partition called "system" - shouldn't there be one?
Or maybe there is one somewhere hidden because
$ fastboot resize-logical-partition system 3978565472
does not cause an error.I'm confused (not unusual).
-
@muskist I therefore assume you have gone to this page?
Unzip that folder and in that folder put the boot.img, recovery.img, vbmeta.img and ubuntu.img. Run the command prompt from that folder and try again.
It took me a few attempts to get going, but I installed it four times now and it goes very smoothly.
-
Thanks, but same result.
You assumed right about the site I got fastboot v30.0.0 from.
But I didn't get a .zip but a single binary.
I copied it to the folder I stored boot.img, recovery.img, vbmeta.img and ubuntu.img in and used
./fastboot...
.Didn't work out.
-
@muskist When you reboot to fastboot do you get a fastbootd screen on the tablet? The tablet will reboot which takes a couple of minutes to get to fastbootd.
-
@MrT10001
Great! Thank you so much!I didn't get that README.md says "Reboot to fastbootd".
So when the device didn't boot up immediately after fastboot reboot fastboot (like it does after fastboot reboot bootloader)
I became impatient and pressed <Volume-down>+<Power> to end up in fastboot mode again.Now the device is up.
Thanks again!
And thanks to @rubencarneiro! -
@muskist That's nice to hear
-
-