[ROM][Ubuntu Touch][UNOFFICIAL] SM-T510/T515 - Samsung Galaxy Tab A 10.1 (2019)

antoine62

Senior Member
Jan 27, 2019
174
48
38
Did you ever get this to work/ any tips for trying because I really want this to work (I am trying at the moment).
I could retry to do it, i never got it to work. But its possible.

This tablet doesnt support treble, so we need to build the system image, or use the valeria treble port.

The only rom that i got to compile is postmarketos, but the tablet boot in a strange state, nothing working, but it doesnt reboot into download mode
 
Last edited:

Noobzer

New member
Aug 26, 2020
2
0
0
I have installed this on Tablet. It often goes to blank screen while in certain apps, especially the browser and app store. And while trying to do anything in the shell. This will be 1 kick ass OS when completed![emoji106]


Sent from my iPhone using Tapatalk
 

antoine62

Senior Member
Jan 27, 2019
174
48
38
Off-topic, but i got ubuntu touch to boot on my gtaxlwifi, i just need to fix the android container, and i will be able to have it to work like it should.

Currently only usb, ssh, and booting work (due to the android container not starting up).
 

klemen241

Senior Member
Jul 20, 2010
1,389
170
83
wifi not working? Connecting to my hotspot and its not workin. IT says connected, but its not

nevermind, started working after reset
 
Last edited:

demoneg

Member
Feb 21, 2011
18
0
0
That's a great project, I will start reverting back my tablet to LOS16 so I can test this! however I was looking into how to actually build my own images, I would like to try the AMR64 system image on those tablets, but Halium docs are a bit unclear on how to build the kernel specially for Halium9, I am working from those sources...

https://github.com/ubports/porting-notes/wiki/Halium-9
and @MIDHUN.V.NADH docs from here: https://github.com/midhunvnadh/android_device_halium_ubport

but I am not sure where should I put my kernel tree, do I still need device manifest.xml? where do I get that? and if there is anywhere a full guide to build the whole thing for the device, that would be great :) Thanks again for the great work!!!
 

MIDHUN.V.NADH

Member
Mar 28, 2016
30
11
0
Kollam
midhunvnadh.ml
@MIDHUN.V.NADH can you share the samsung_gta3xlwifi.xml you used to build the Halium9 with?
No biggie. I have given you all the sources in this thread.
To build the kernel, sync the halium build tree and use my device tree with the vendor tree and kernel source.
You just place those folders manually in device/samsung/gta3xlwifi and vendor/samsung/gta3xlwifi and kernel/samsung/gta3xlwifi respectively.
 

demoneg

Member
Feb 21, 2011
18
0
0
No biggie. I have given you all the sources in this thread.
To build the kernel, sync the halium build tree and use my device tree with the vendor tree and kernel source.
You just place those folders manually in device/samsung/gta3xlwifi and vendor/samsung/gta3xlwifi and kernel/samsung/gta3xlwifi respectively.
Thanks a lot !! I did all you said and got the make halium-boot command running, I got some warnings while building the kernel, not sure if I can just ignore those or those are important they are mainly ignoring some vendor files:

Here is an example:

art/build/Android.gtest.mk:97: warning: overriding commands for target `Stripped'
art/build/Android.gtest.mk:93: warning: ignoring old commands for target `Stripped'
art/build/Android.gtest.mk:106: warning: overriding commands for target `Uncompressed'
art/build/Android.gtest.mk:101: warning: ignoring old commands for target `Uncompressed'
art/build/Android.gtest.mk:116: warning: overriding commands for target `EmptyUncompressed'
art/build/Android.gtest.mk:111: warning: ignoring old commands for target `EmptyUncompressed'
art/build/Android.gtest.mk:121: warning: overriding commands for target `Uncompressed'
art/build/Android.gtest.mk:106: warning: ignoring old commands for target `Uncompressed'
art/build/Android.gtest.mk:126: warning: overriding commands for target `Uncompressed'
art/build/Android.gtest.mk:121: warning: ignoring old commands for target `Uncompressed'
frameworks/base/Android.mk:685: warning: overriding commands for target `/home/sherif/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
frameworks/base/Android.mk:649: warning: ignoring old commands for target `/home/sherif/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
frameworks/base/Android.mk:729: warning: overriding commands for target `/home/sherif/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
frameworks/base/Android.mk:685: warning: ignoring old commands for target `/home/sherif/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
frameworks/base/Android.mk:734: warning: overriding commands for target `/home/sherif/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties'
frameworks/base/Android.mk:690: warning: ignoring old commands for target `/home/sherif/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties'
libcore/JavaLibrary.mk:160: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/obj/ROOT/hybris-updater-unpack_intermediates/.jar'
libcore/JavaLibrary.mk:145: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/obj/ROOT/hybris-updater-unpack_intermediates/.jar'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/rild'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/bin/hw/rild'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/fstab.exynos7885'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/fstab.exynos7885'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/init/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/lib/hw/[email protected]'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/lib/hw/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/lib/hw/[email protected]'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/lib/hw/[email protected]'
build/make/core/Makefile:29: warning: overriding commands for target `/home/sherif/halium/out/target/product/gta3xlwifi/vendor/lib/hw/[email protected]'
but the kernel did build in the end

make[1]: Leaving directory '/home/sherif/halium/out/target/product/gta3xlwifi/obj/KERNEL_OBJ'
make: Leaving directory '/home/sherif/halium/kernel/samsung/gta3xlwifi'
depmod: WARNING: could not open /home/sherif/halium/out/target/product/gta3xlwifi/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.order: No such file or directory
depmod: WARNING: could not open /home/sherif/halium/out/target/product/gta3xlwifi/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.builtin: No such file or directory
[100% 99/99] Install: /home/sherif/halium/out/target/product/gta3xlwifi/halium-boot.img

#### build completed successfully (10:18 (mm:ss)) ####
which is great...

but running make systemimage causes the error below:
ninja: error: 'frameworks/native/data/etc/android.hardware.vulkan.level.xml', needed by '/home/sherif/halium/out/target/product/gta3xlwifi/vendor/etc/permissions/android.hardware.vulkan.level.xml', missing and no known rule to make it
18:59:42 ninja failed with: exit status 1
Any idea what I am missing?


Also which LOS16 did you flash after the original Android9?

And I am a bit lost on how to find a guide to compile ubuntu-touch it self , if you can share a link for the resources, that would be amazing and great help :)

Once I manage to get everything built and running, I will write up a detailed how to and share it, then I may be able to poke around and see if I can fix anything that isn't running correctly, I am not a developer, but I know my way around GNU/Linux systems
 
Last edited:

djyzeus

New member
Jul 21, 2010
1
0
0
Hello ! (sorry for my english) I manage to test your rom, but without any success, I follow all steps, but I'm stuck to the first page at boot, and now I can't flash anything on TWRP without having the same error of stuck at the first page, no android base rom boot up :( do you have ant idea of what happens? Regards.