-
Hi everyone,
I have struggled for days to revive my old device (Huawei MT7 / PE) with Ubuntu Touch. And finally passed the compilation.
However, what bothered me is that the output halium-boot.img is of size 17700864 while partition /boot is of size 14680064.
Are there any way to resize eMMC blocks of Android devices?
Or are there some drivers unnecessary for Ubuntu that I can remove them from kernel?
Any other ideas are welcome.
Thanks at all !
-
Hi and welcome @elich
If I understand (at least a bit) your post, you're trying to port Ubuntu Touch to your device (Huawei MT7).
So I moved your post to the porting category.Thanks for your efforts to bring Ubuntu Touch to a broader public..
-
-
@elich
Did you previously install a custom rom on this phone ?
From then did you reinstall last halium compatible factory rom on the device (the one you based your port on)? -
@elich said in Possible to reduce bootimg size or resize /boot?:
However, what bothered me is that the output halium-boot.img is of size 17700864 while partition /boot is of size 14680064.
Are there any way to resize eMMC blocks of Android devices?
I am not an expert but as far as I know it should be possible if you can flash TWRP to the phone first ?!
I have seen some posts in the past where some guys were messing with the partitions of a phone and I think they were succesfull...
Please check XDA Developers Forum for more information and as always : Good luck!
-
@applee Oh yes, I misunderstood the categories. Thanks !
-
@keneda Currently a cm-based MIUI OS runs on my phone but this is my first trail to porting halium boot to a device
-
@nero355 Thanks for your suggestion !
I heard that TWRP is useful but I found it provides partition tool only for ext4 blocks ...
I am trying to understand how it modify DPT however reviewing source code is a hard work ...
-
Oh it seems that I have post a stupid question ...
After searching, I learned that there is an adapted version of
gparted
(namedparted
orparted for Android
) to edit DPT.Whence it is easy to remove and remake partitions, just like working on desktop systems.
-
-
@elich said in Possible to reduce bootimg size or resize /boot?:
@nero355 Thanks for your suggestion !
I heard that TWRP is useful but I found it provides partition tool only for ext4 blocks ...
Weird...
I can remember the same guys doing some F2FS related things too ?!
-
@nero355 yes, twrp does f2fs