UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. EliCh
    E
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Groups 0

    EliCh

    @EliCh

    1
    Reputation
    1
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    EliCh Unfollow Follow

    Best posts made by EliCh

    • RE: Possible to reduce bootimg size or resize /boot?

      Oh it seems that I have post a stupid question ...

      After searching, I learned that there is an adapted version of gparted (named parted or parted for Android) to edit DPT.

      Whence it is easy to remove and remake partitions, just like working on desktop systems.

      posted in Porting
      E
      EliCh

    Latest posts made by EliCh

    • RE: Possible to reduce bootimg size or resize /boot?

      Oh it seems that I have post a stupid question ...

      After searching, I learned that there is an adapted version of gparted (named parted or parted for Android) to edit DPT.

      Whence it is easy to remove and remake partitions, just like working on desktop systems.

      posted in Porting
      E
      EliCh
    • RE: Need help at creating xml file for repo

      I search on github and found CyanogenMod/android_device_samsung_p5113.

      From this repo and cm.dependencies therein I suggest your manifest should look like

      <?xml version="1.0" encoding="UTF-8"?>
      
      <manifest>
        <remote name="github" fetch="https://github.com/CyanogenMod/" />
        <project name="android_device_samsung_p5113" path="device/samsung/p5113" remote="github" revision="cm" /> 
        <project name="android_device_samsung_p5100" path="device/samsung/p5100" remote="github" revision="cm" /> 
        <project name="android_kernel_samsung_espresso10" path="kernel/samsung/espresso10" remote="github" revision="cm" />
        <project name="android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm" />
      
      </manifest>
      

      I'm not sure if it has properly settle down sources needed for your devices, please check it carefully.

      Btw, note that the docs you mentioned works for halium>=7.1, which based on cm>=14. However the latest support for your device is cm12.1. It seems that you should at first adapt your source to fix some new features provided from cm14. It is a huge work ...

      (Yay... in fact that is what I have experienced on my device... lol)

      posted in Porting
      E
      EliCh
    • RE: 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 ...

      I am trying to understand how it modify DPT however reviewing source code is a hard work ...

      posted in Porting
      E
      EliCh
    • RE: Possible to reduce bootimg size or resize /boot?

      @keneda Currently a cm-based MIUI OS runs on my phone but this is my first trail to porting halium boot to a device

      posted in Porting
      E
      EliCh
    • RE: Possible to reduce bootimg size or resize /boot?

      @applee Oh yes, I misunderstood the categories. Thanks !

      posted in Porting
      E
      EliCh
    • Possible to reduce bootimg size or resize /boot?

      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 !

      posted in Porting
      E
      EliCh