GithubHelp home page GithubHelp logo

adeadtrousers / android_device_unihertz_atom_lxl Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 6.0 545 KB

Common device tree for the Unihertz Atom L and XL

License: Apache License 2.0

Makefile 26.79% Java 7.55% Shell 2.98% C 3.22% Python 59.46%
android mediatek device-tree lineageos mt6771 android-10 unihertz atom-l atom-xl android-11 android-12l

android_device_unihertz_atom_lxl's Introduction

Common device configuration for the Unihertz Atom L and XL

This common device tree is intended for the usage in a LineageOS or similar building environment.

If you are looking for a special device tree for the usage in a TWRP or similar environment head over to https://github.com/ADeadTrousers/twrp_device_Unihertz_Atom_LXL.

The Unihertz Atom L (codenamed simply "Atom_L") and the Atom XL (codenamed simply "Atom_XL") are two rugged small smartphones from Unihertz, released in July 2020. They are both almost identical except the Atom XL offers an integrated digital mobile radio (DMR).

Dependencies

Additionally to this common device tree, you'll need one or both model device trees

and one or all of the four regional device trees

Releases

For the actual releases head on over to the device tree of the individual devices:

Documentations

Special Thanks To

android_device_unihertz_atom_lxl's People

Contributors

adeadtrousers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

android_device_unihertz_atom_lxl's Issues

Include Toolbox

Stock ROM comes with an app called Toolbox which includes various handy tools like a compass, a bubble level and so on.
It is a little bit blotched though for my taste and you are not able to hand pick the tools you want. I tried to and the phone started to bootloop.
So for now this will be a "wontfix" for now and this issue is for describing the cause.
That doesn't mean nobody else could try it. Anyone could fork this device tree and try get this to work.
The apks some would need are mainly on the product partition of the stock ROM and start with the name "Agui". Though I'm not sure that every single one of them is really needed and part of Toolbox.

DMR does not transmit or recieve audio when usb audio routing is active.

DMR app opens and is stable. Messaging works. When trying to speak on intercom, it looks like it is trying to transmit; mic button glows red when pressing and speaking. It also looks like it attempts to receive incoming audio; mic button will glow green when it detects that there is audio being transmitted on that channel.

Tested with:

  • Phone A - Atom XL - Factory Stock
  • Phone B - Atom XL - Lineage OS 18.1

Include IR-Remote

Stock ROM includes a handy little app to use as an universal infrared remote. At first I planned to include it but now I'm not so sure anymore:

  • Since the last update there are far more additional libraries needed.
  • Most of these hint a connection with alibaba/baidu (chineese google).
  • I read some reviews that it comes with a default set of devices and is not able to "learn" new instructions.

So that's enough for me not to include it. This issus is therfore a "wontfix" for now and serves as a explanation.
Maybe some time later when I have the time I'll search for a working (open source!) alternative to include instead.

Include FM radio

The FM radio app and everything needed for it seems to be on product.
But before I include it I want to make sure that there is not other option.
Best would be to have an "open source" alternative.

LiveDisplay is not working

I just got word that LiveDisplay isn't working at all.
The settings are there but it cannot be activated.

Notification LED not working

The notification LED does not work.
I found various settings (product build.prop, ueventd,rc) mentioning the three led colours and have already copied them but it's still not working. So anyone who knows how to get it to work is much appreciated.

Bluetooth audio channel isn't working

Since the switch to 18.1 a headset (or a car radio) can be connected to phone but while the app (e.g. vlc) can be controlled from the external device the sound is coming from phones speakers.

Mobil data is not working on Verizon (maybe not the only carrier)

The user it_unihertz_when_i_pee on xda made me aware that the data connection doesn't work for certain carriers. In his case it was Appalachian Wireless which is a subsidiary of Verizon.
https://forum.xda-developers.com/t/rom-10-0-unofficial-lineageos-17-1-for-unihertz-atom-l-and-xl-alpha-2022-01-31.4171407/post-86353079

The thing is that LOS reports the network as mcc=311 / mnc=480
https://forum.xda-developers.com/t/rom-10-0-unofficial-lineageos-17-1-for-unihertz-atom-l-and-xl-alpha-2022-01-31.4171407/post-86363279

While the stock rom reports it as mcc=310 / mnc=756
https://forum.xda-developers.com/t/rom-10-0-unofficial-lineageos-17-1-for-unihertz-atom-l-and-xl-alpha-2022-01-31.4171407/post-86389579
Which isn't even a valid combination according to https://www.mcc-mnc.com/

Therefore my best guess is that stock rom uses a different technique to determine the network settings. Maybe it's this
https://source.android.com/devices/tech/config/carrier

So maybe it's that ominous ims service that PeterCxy tried to get to work in his build for VoLTE
https://forum.xda-developers.com/t/rom-unofficial-lineageos-17-1-for-unihertz-atom-l-20200828.4139423/post-83157909

My problem here is I neither have problems with my carrier which works just fine with apns-conf.xml nor do I have a contract which includes VoLTE or anything "fancy". So I'm rather limited in testing / debugging for a solution. Currently all I can do would be blindly guessing what is missing or needs a change, do a build, send it half way around the globe to get it tested only to find out it still isn't working.

So every help is appreciated.

Audio jack does not work

Connecting headphones to audio jack you can hear the slight clicking noise they make on contact but nothing else happens.
In stock ROM you could see an icon in the status bar but not in Lineage.

Include more APNs

Some smaller carriers are neither on apns-conf.xml provided by unihertz nor the one provided by LOS.
With the parameter CUSTOM_APNS_FILE it should be possible to provide additional informations.
The underlying script is not able to correctly pass a xml file so a workaround is needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.