[ROM][UBtouch][SM-T58X] Ubuntu Touch for the galaxy tab a 2016

Search This thread

antoine62

Senior Member
Jan 27, 2019
183
52
Ubuntu touch for the galaxy tab a 2016 wifi and galaxy tab a 2016 lte (untested)

Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

What is it?

As the title said, this is Ubuntu touch for the galaxy tab a 2016, a GNU/Linux os.

What is Ubuntu Touch?

Ubuntu Touch is the touch-friendly mobile version of Ubuntu.
This operating system is developed and maintained by UBports: An international community of passionate volunteers.
This means Ubuntu Touch is 100% community driven and independent.

What is Halium?
Halium is the collaborative project to unify the Hardware Abstraction Layer for projects which run GNU/Linux on mobile devices with pre-installed Android.

/!\ This is NOT an android based OS, android apps wont run without anbox (currently unavaible). Do NOT flash magisk, gapps or any android related zip on top of it.


What's working:

Actors: Manual brightness
Sensors: Touchscreen
Sensors: Rotation
Network: WiFi
Misc: Battery percentage
Misc: AppArmor patches applied to kernel (Kernel 3.4, 3.10, 3.18)
Misc: Shutdown / Reboot
Misc: RTC time is used after reboot

Working with additional steps:
GPU: Boot into UI

What's not working:

Only 5 apps works, will try to fix it
Problems with waking from sleep.

Misc: Anbox patches applied to kernel
Misc: Offline charging
Sound: Earphones
Sound: Loudspeaker
Sound: Microphone
USB: MTP access

-- Will not work due to the treble port breaking them --
Sensors: GPS - SM-T580 only
Sound: Volume control

Untested:
Actors: Torchlight
Camera: Flashlight
Camera: Photo
Camera: Video
Camera: Switch between back and front camera
Cellular: Carrier info, signal strength - SM-T585 only
Cellular: Data connection - SM-T585 only
Cellular: Incoming, outgoing calls - SM-T585 only
Cellular: MMS in, out - SM-T585 only
Cellular: PIN unlock - SM-T585 only
Cellular: SMS in, out - SM-T585 only
Cellular: Change audio routings - SM-T585 only
Cellular: Voice in calls - SM-T585 only
Endurance: Battery lifetime > 24h from 100%
Endurance: No reboot needed for 1 week
GPU: Hardware video decoding
Misc: Online charging
Misc: Recovery image
Misc: Reset to factory defaults
Misc: SD card detection and access - only for devices that support it
Network: Flight mode
Network: Hotspot
Sensors: Automatic brightness
Sensors: GPS - SM-T585 only
Sensors: Proximity
(USB: ADB access - disabled atm due to no middleware)

How to install:
https://github.com/antoine62/android_kernel_samsung_exynos7870/wiki/How-to-install

How to update:
TODO

Tanks to:
@Valera1978 for the treble port & everybody who contribued to it
@CactiChameleon9 for helping me
The ubports team

Status:UNSTABLE
Kernel sources: https://github.com/antoine62/android_kernel_samsung_exynos7870/
 

Attachments

  • screenshot20201124_172637660.png
    screenshot20201124_172637660.png
    253.7 KB · Views: 1,027
  • screenshot20201124_172555621.png
    screenshot20201124_172555621.png
    688.1 KB · Views: 1,026
  • screenshot20201124_172438218.png
    screenshot20201124_172438218.png
    935.8 KB · Views: 1,024
Last edited:

antoine62

Senior Member
Jan 27, 2019
183
52
I somehow fixed touch not working after waking up by building it using the full halium sources, i will soon make a new release, and im still searching why apps doesnt work.

Offline charging and bluetooth may be easy to fix too.

EDIT: Nvm its still broken
 
Last edited:
  • Like
Reactions: Kostareka

antoine62

Senior Member
Jan 27, 2019
183
52
I think that i will retry to build halium using the lineage-16.0 branch, using the outdated treble port will just bring issues, and i may have know why the system image didnt worked: i used the wrong rootfs & i didnt apply patches...
 
  • Like
Reactions: Kostareka

Kostareka

Senior Member
May 25, 2020
174
108
I think that i will retry to build halium using the lineage-16.0 branch, using the outdated treble port will just bring issues, and i may have know why the system image didnt worked: i used the wrong rootfs & i didnt apply patches...

Wait for these fixes and thank you for all the work and I hope it's a good ROM;)
 
  • Like
Reactions: antoine62

antoine62

Senior Member
Jan 27, 2019
183
52
I got the system image to build without errors, so this mean that we will not need the treble port anymore, but apparently the halium7 rootfs installation is different from the halium9 version.
 

Chuppah_ST

Member
Aug 5, 2018
7
2
I installed the rom by following all the exact same steps but apparently when I try to start some apps such as file manager, openstore, terminal etc. they immediately crash.
I don't really know how could I solve the problem.
Any help?
 
Last edited:
  • Like
Reactions: antoine62

antoine62

Senior Member
Jan 27, 2019
183
52
I installed the rom by following all the axact same steps but apparently when I try to start some apps such as file manager, openstore, terminal etc. the immediately crash.
I don't really now how could I solve the problem.
Any help?

Wait for a fix, its "normal". That's why the rom is unstable. I'm working on fixing this when i have some free time, and i dont have a lot of free time currently.

It may also be fixed on the non-gsi build that i cant install curently 😅
 
  • Like
Reactions: twfs and Kostareka

antoine62

Senior Member
Jan 27, 2019
183
52
there is a non-gsi build?

Yes, not released currently.
That's what i was doing during the last 2 weeks.

It will be easier to debug this one because i have more control over the vendor and there's no problem with sound and gps.

I may stop building for smt-585, because modem will never work if i cant debug it, and maybe the same thing for gps, and the sm-t580 versikn should work on the sm-t585.
 

Chuppah_ST

Member
Aug 5, 2018
7
2
Yes, not released currently.
That's what i was doing during the last 2 weeks.

It will be easier to debug this one because i have more control over the vendor and there's no problem with sound and gps.

I may stop building for smt-585, because modem will never work if i cant debug it, and maybe the same thing for gps, and the sm-t580 versikn should work on the sm-t585.

sad cuz I have sm-t585
 

antoine62

Senior Member
Jan 27, 2019
183
52
I may build for the sm-t585 then, but you will need to help me to debug ril if you want it. Anyway, before doing this, i need to debug halium9 because the non-gsi build doesnt boot to ui (black screen, no spinner), but it boots to ubuntu touch and usb work
 

Chuppah_ST

Member
Aug 5, 2018
7
2
I may build for the sm-t585 then, but you will need to help me to debug ril if you want it. Anyway, before doing this, i need to debug halium9 because the non-gsi build doesnt boot to ui (black screen, no spinner), but it boots to ubuntu touch and usb work
For sure i'll help you, maybe we could chat on telegram to make things easier, don't knoe.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Ubuntu touch for the galaxy tab a 2016 wifi and galaxy tab a 2016 lte (untested)

    Code:
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    What is it?

    As the title said, this is Ubuntu touch for the galaxy tab a 2016, a GNU/Linux os.

    What is Ubuntu Touch?

    Ubuntu Touch is the touch-friendly mobile version of Ubuntu.
    This operating system is developed and maintained by UBports: An international community of passionate volunteers.
    This means Ubuntu Touch is 100% community driven and independent.

    What is Halium?
    Halium is the collaborative project to unify the Hardware Abstraction Layer for projects which run GNU/Linux on mobile devices with pre-installed Android.

    /!\ This is NOT an android based OS, android apps wont run without anbox (currently unavaible). Do NOT flash magisk, gapps or any android related zip on top of it.


    What's working:

    Actors: Manual brightness
    Sensors: Touchscreen
    Sensors: Rotation
    Network: WiFi
    Misc: Battery percentage
    Misc: AppArmor patches applied to kernel (Kernel 3.4, 3.10, 3.18)
    Misc: Shutdown / Reboot
    Misc: RTC time is used after reboot

    Working with additional steps:
    GPU: Boot into UI

    What's not working:

    Only 5 apps works, will try to fix it
    Problems with waking from sleep.

    Misc: Anbox patches applied to kernel
    Misc: Offline charging
    Sound: Earphones
    Sound: Loudspeaker
    Sound: Microphone
    USB: MTP access

    -- Will not work due to the treble port breaking them --
    Sensors: GPS - SM-T580 only
    Sound: Volume control

    Untested:
    Actors: Torchlight
    Camera: Flashlight
    Camera: Photo
    Camera: Video
    Camera: Switch between back and front camera
    Cellular: Carrier info, signal strength - SM-T585 only
    Cellular: Data connection - SM-T585 only
    Cellular: Incoming, outgoing calls - SM-T585 only
    Cellular: MMS in, out - SM-T585 only
    Cellular: PIN unlock - SM-T585 only
    Cellular: SMS in, out - SM-T585 only
    Cellular: Change audio routings - SM-T585 only
    Cellular: Voice in calls - SM-T585 only
    Endurance: Battery lifetime > 24h from 100%
    Endurance: No reboot needed for 1 week
    GPU: Hardware video decoding
    Misc: Online charging
    Misc: Recovery image
    Misc: Reset to factory defaults
    Misc: SD card detection and access - only for devices that support it
    Network: Flight mode
    Network: Hotspot
    Sensors: Automatic brightness
    Sensors: GPS - SM-T585 only
    Sensors: Proximity
    (USB: ADB access - disabled atm due to no middleware)

    How to install:
    https://github.com/antoine62/android_kernel_samsung_exynos7870/wiki/How-to-install

    How to update:
    TODO

    Tanks to:
    @Valera1978 for the treble port & everybody who contribued to it
    @CactiChameleon9 for helping me
    The ubports team

    Status:UNSTABLE
    Kernel sources: https://github.com/antoine62/android_kernel_samsung_exynos7870/
    2
    I installed the rom by following all the axact same steps but apparently when I try to start some apps such as file manager, openstore, terminal etc. the immediately crash.
    I don't really now how could I solve the problem.
    Any help?

    Wait for a fix, its "normal". That's why the rom is unstable. I'm working on fixing this when i have some free time, and i dont have a lot of free time currently.

    It may also be fixed on the non-gsi build that i cant install curently 😅
    2
    I got the system image to build without errors, so this mean that we will not need the treble port anymore, but apparently the halium7 rootfs installation is different from the halium9 version.
    1
    Update:
    I wasnt able to work on the port since a while, but i did today, and i wasnt using the correct device tree, so i used the non-treble one, and it fails, some files in the vendor are missing, once again, i hate this tablet.

    Anybody here could tell me how can i get them? Thx.

    Once i fixed this it should boot to gui.
    I hope you are still working on the project, I will try to flash the rom on my device.