Mod Android Auto GUI to show large clock on bottom command bar - Android Auto General

I own a Mazda CX-5 and recently paid for the upgrade of the infotainment to add Android Auto.
The main issue is that once AA is running the clock becomes almost unreadable! it's too small an overlaid on the app (mostly Waze for my purposes).
I would like to be able to move the clock to the bottom bar of AA in order to ensure it's always there and way bigger then now.
I started by decompiling the AA APK etc... but then come to the conclusion that probably someone else already tried something like that and that in general here in the forum there will surely be some kind of guide on how to decompile/repackage the AA and which layouts/bundles to edit for which result: unfortunately I didn't find any such guide
So my questions:
1 - is already out there any AA rebuild which puts a large clock in the bottom bar?
2 - if not: is there any guide on how to open and repackage AA and which are the main requirements to make it work again after repackaging?
3 - if not: at least some steps on how to mod some layouts and repackage in a way which allows it to work?
4 - if not: anyone willing to share suggestions on issues I'll meet (i.e. google signature required for AA, special permissions etc...) ?
5 - if not: anyone out there who already tried (and failed) willing to share his experience so that I don't start the try-fail process from scratch?
thanks everyone for helping!
p.s.: no Xposed at current stage since I'm using the company's phone and I'm not willing to root it, thanks!

Hi, i know this a old post and i'm sorry if my English is a little bad. You resolve the clock problem? I buy a CX 5 too and have same problem and question.

There's an option to do just so with Substratum and the theme Extras For AA

Having the same problem I made a small application which gives the time all the time:
[CLOCK] 0.2 Always displayed
-Some car radios do not display the time when an app is in full screen (waze). So I developed a small application that displays the time permanently. Usage: install the app and start. The position can be modified by sliding, it will be memorized...
forum.xda-developers.com

Related

Contest: BMW theme for car ICE system

Mods: Hope that's ok to post this here, otherwise, please feel free to move it to the appropriate section.
As the title says I am looking for a front-end interface that will run on a double din screen radio/in-car-entertainement system for BMW cars with IBUS.
The interface must provide the following:
- Full screen - vertical view only.
- Icons must show on the screen, providing quick access links to different features (Video, GPS, Audio, OBC functions, CD changer, etc). Icons representing those functions must be designed too.
- A general settings menu that provides access to those icons settings (Path of the application for instance etc).
- A choice of different icons must be available (3-4 per function is enough) and can be changed by the end user.
- The theme must use the BMW amber color somehow (Around the icons for example, and or as a background color). But not too much amber color all over the place either.
- The theme must have other colors available (Same as previous point), but provide the user with a choice of blue, green for instance instead of the amber.
- Must provide an exit button
- Must install as an application (And shown on the applications list) and run in the background all the time (unless exited)
- Must be light but robust.
- A specific icon called (On Board Computer) must be created too and a custom interface designed for it too. The custom interface will show options such as mileage, fuel consumption (Average, current, but also reset) etc. A basic application showing these right now will be enough. We have the IBUS library for those functions.
- The interface must be open source released under BSD license.
- The interface must look professional, no naked body parts, tuned BMW cars with crazy kits in the background etc, just professional.
Please post your mockups and code, even basic code at first, it can be worked out over the next few weeks.
A vote will be started as soon as the themes have been posted.
I will give 250US to the winner of the poll
Thanks for our time
As an e39 owner, I am highly anticipating this! I loathe coding too much to make my own attempt
Can't wait to see what you guys come up with. It very well may end up in my car in the near future!
I really hope some of the great devs we have here can pull through and figure this one out... a whole community of drivers would benefit from the innovation and hardwork
I cant wait to see the end result.
LMAO, yeah good luck with this one. Sounds a little scammish to me.
hi,this is interesting one...lets give some support here!
@djquick
""Sounds a little scammish to me.""
scammish? why you say that? friend...
djquick said:
LMAO, yeah good luck with this one. Sounds a little scammish to me.
Click to expand...
Click to collapse
Definitely not a scam.
I wish I had lots of free time on my hands to post scams on the internet, but I don't.
This front-end interface will be used on the first (TBC?) open source radio full in car entertainment system used in BMW cars.
Cheers

[App] Tile World Clock, Now Supports Wide Tile, more customizations available

Since the keyboard disappearing issue has been resolved with the new ROM, it may be a good time to share the Tile World Clock Tool.
Features:
1. Pin the clock for any timezone you choose to your desktop
2. Clock will be updated every minute.
3. 8 different clock types to choose from.
4. Dynamic updated tile according to your theme.
Disclaimer: The clock on the tile may not be correct for various reasons. Please use the system clock for important times.
1. When background updating is working, the clock may delay for 1 minute.
2. When backgrond updating is not working for various reasions, for example, battery saving mode. The clock on the tile will stop.
2012.01.11: Update to 2.2. Minor update. The clock will be slightly more accurate (Delay within 5 seconds in my test)
2012.01.31: Update to 2.3. Supporting Wide Tile as requested. Require InterOp Unlock. This version may not be very stable at this moment. Is this the first Home Brew that supports dynamic wide tile?
Help Needed: Is there any good code who can save PNG file with low footprint and high quality?
2012.02.29: Found a really memory efficient PNG encoder. Now it is time to continue my development.
2012.03.14: Update to 2.5. More customization options available. You can even choose a picture from your library as background.
2012.03.22: Added a slightly updated new 2.5 XAP. Changed a few background images. Fixed a bug so that two line style Time/Date is correctly displayed at center.
For me it took around 5-6 (sometimes around 10) minutes to update the tile, with background tasks running. Nothing can be done i guess.
But an awesome app, nonetheless.
Thanks
Very Nice App. I had no issues in time update with background update turned on. We also did a video review on wpxbox http://www.youtube.com/watch?v=YBoreopVpuk
I will suggest you to give user option to how often they want to which can be anything between one minute to 30 minutes.
A bit more but you can think of combining reminders with each tile so it triggers them in that time zone.
Thanks.....Good application works properly on my Omnia 7
wpxbox said:
Very Nice App. I had no issues in time update with background update turned on. We also did a video review on wpxbox http://www.youtube.com/watch?v=YBoreopVpuk
I will suggest you to give user option to how often they want to which can be anything between one minute to 30 minutes.
A bit more but you can think of combining reminders with each tile so it triggers them in that time zone.
Click to expand...
Click to collapse
Thanks for the review.
Is there anyone interested in a clock that can delay upto 30 minutes?
As for the reminder, I think counting down and time ellapsed/stop watch could be good ideas.
could you make this app luks more offficial? Obiviously you used the wired font fron the default OS tile font, it need tweaks
xyhchina said:
could you make this app luks more offficial? Obiviously you used the wired font fron the default OS tile font, it need tweaks
Click to expand...
Click to collapse
That's good suggestions that I should take. Unfortunately, I am not so good at UI designing. If you have more specific suggestions, pleaes let me know.
Delay till 30 minutes can be only suitable for one set of time, When I get to sleep. Saves Battery. Please do correct me if I am wrong.
If you could make the tile look the the HTC sense flip clock this would get a gazillion downloads especially if it does update properly every minute
Sent from my PI39100 using XDA Windows Phone 7 App
wpxbox said:
Delay till 30 minutes can be only suitable for one set of time, When I get to sleep. Saves Battery. Please do correct me if I am wrong.
Click to expand...
Click to collapse
In my app, this won't happen. I mentioned this in response to your suggestion to allow user to select how frequent they could update the clock.
Aaron McCarthy said:
If you could make the tile look the the HTC sense flip clock this would get a gazillion downloads especially if it does update properly every minute
Sent from my PI39100 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
The clock images can change but no animation is possible. But my intention is to match the tile format since art is not my specialty. If anybody interested in making it more beautiful, please let me know.
Clock Name bug
I discovered a bug when entering a Clock Name that uses a space such as "New York". After using a space I am unable to enter any more characters - the keys no longer worked. But, I could get around this by exiting the app and starting it again and continuing the "York" part of the clock name.
Other people that only include cities without a space in the name would not encounter this bug.
So far, a good & practical app otherwise as I have only used it for 20 mins.
Well done!
Another cool app after the office/pdf uploader. I really like it !
Could you allow to add a custom background (.jpg) image for the live tile ?
Greetz
contable
devassist said:
I discovered a bug when entering a Clock Name that uses a space such as "New York". After using a space I am unable to enter any more characters - the keys no longer worked. But, I could get around this by exiting the app and starting it again and continuing the "York" part of the clock name.
Other people that only include cities without a space in the name would not encounter this bug.
So far, a good & practical app otherwise as I have only used it for 20 mins.
Well done!
Click to expand...
Click to collapse
Can't find any code in this page that will lead to this behavior. And the same issue did not appear in my test. However, your symptom looks very similiar to the keyboard disappearing bug of Mango. You may want to upgrade to 8107 or disable background task to verify.
contable said:
Another cool app after the office/pdf uploader. I really like it !
Could you allow to add a custom background (.jpg) image for the live tile ?
Greetz
contable
Click to expand...
Click to collapse
Any specifics for this request? Select a picture from the phone library? If so, that will involve quite a bit of image resizing work.
Thunder_ said:
Can't find any code in this page that will lead to this behavior. And the same issue did not appear in my test. However, your symptom looks very similiar to the keyboard disappearing bug of Mango. You may want to upgrade to 8107 or disable background task to verify.
Click to expand...
Click to collapse
Yes, you are right. It was a problem at my end. Thanks!
Thunder_ said:
Disclaimer: The clock on the tile may not be correct for various reasons. Please use the system clock for important times.
Click to expand...
Click to collapse
Actually this problem happen on my mozart with mango 8107 rom. The time just stop at battery save on and close screen. Sometimes need repin clock tile then work again. Hope next version fix that issue.
anyway , this is awesome project. Thank you!
eric1204 said:
Actually this problem happen on my mozart with mango 8107 rom. The time just stop at battery save on and close screen. Sometimes need repin clock tile then work again. Hope next version fix that issue.
anyway , this is awesome project. Thank you!
Click to expand...
Click to collapse
This is a limitation of WP7. I have no idea how to fix it at this moment.
Thunder_ said:
Any specifics for this request? Select a picture from the phone library? If so, that will involve quite a bit of image resizing work.
Click to expand...
Click to collapse
Selecting a picture from the picture hub only allows to use .jpg files.
I would prefer to choose a picture from the isolated storage of your app so it´s possible to use .jpg or .png files. The files can be copied easyly to the isolated storage with Windows Phone Power Tools. Just a suggestion...
Anyway it´s great. I have tested it over the night and the tile didn´t stop to work.
The difference to the system time is max. 1 minute....
contable said:
Selecting a picture from the picture hub only allows to use .jpg files.
I would prefer to choose a picture from the isolated storage of your app so it´s possible to use .jpg or .png files. The files can be copied easyly to the isolated storage with Windows Phone Power Tools. Just a suggestion...
Anyway it´s great. I have tested it over the night and the tile didn´t stop to work.
The difference to the system time is max. 1 minute....
Click to expand...
Click to collapse
Understand your point. Don't think this a common request but I will try when I got time.
As for the time difference, my application currently runs every 60 seconds. That's where the difference comes from. But I recently found a way to reduce the difference to, let's say, five seconds. I upload the new verion when I complete it.

[APP][5.0+]OBD2 Plugin for Android Auto - Use Torque with AndroidAuto

Update 30.11.2022
End of life and open source.
Due to lots of changes both in Android and in my life, I do not have the possibility to maintain / update the code any further, therefore I've decided to open source.
Code is accessible: https://github.com/borconi/obd2aa
I will like to thank all of those who supported this project.
App Requirement
Torque Pro
OBD2 Reader
Android Auto compatible headunit or at least a copy of the Headunit Reloaded App (see signature).
This app will have limited functionality if you are using Android Auto on a your phone, the only functions you will be able to use is to see are notification about the speed cameras and street card!
Gauges and torque data will NOT work!
Previous XDA purchases can be reclaimed here: https://www.b3itlabs.com/download.php
How to purchase:
Visit: https://www.b3itlabs.com/prod.php?id=2
Instructions on how to get it running:
Option 1 - Will work on any phone & car/headunit combination, however the following features won't: - AutoPlay Music, 6 Tap limit remover, DPI change
After installing the app from XDA Labs, sign up for beta testing here: https://play.google.com/apps/testing/uk.co.boconi.emil.obd2aa and update the app
Once app is updated, make sure you disable auto-update in PlayStore then please uninstall it and reinstall it from XDA Labs.
With your screen unlocked, plug in the phone to the car, when prompted which app to use make sure you select "Android Auto"
Option 2 - Might NOT work on some device combination (for sure it won't work on Xiaomi phones), but if this method works all functions of the app are available
Install
Make sure you do not have any other 3rd party app Android Auto app installed.
Open the app and hopefully it will be quite self explanatory on how to set it up (choose colours, set gauge number, etc)
Open Android Auto (on the phone), go to About, tap the "About Android Auto" header 10 times, once you are a developer from the 3 dotted right corner menu select "Start Headunit Server" (ROOT users can skip this step!)
Close Android Auto
MAKE SURE YOUR SCREEN IS UNLOCKED and connect to the car, when prompted which app to use select "OBD2AA" and always (this needs to be done one time only) - If you are a HUR user select Android Auto and always! (If you do not see the prompt to chose, please go to settings -> apps -> all apps -> Google Play Services -> Clear Defaults and then try again)
Select the last tab on the right, by pressing it again you should see an app selector and choose OBD2AA
Give it a bit of time to start pulling the data from Torque.
Change log
Version 3.2 and 3.3 released 04/11/2018
Fix "drunk" map effect on Sync 3 units
Fixed rooted devices not being able to start headunit server.
Added option to change DPI for your screen!
Added option to auto play music on start
Added option to select default start screen.
Version 3.1 releases 26/08/2018
Compatibility fix for Pie devices.
Tap limit remover now working on all device
Tap limit remover allows Maps to be searchable even when driving.
Can be used for those who have problem with the parking brake wire.
Freeze issues fixes.
Important notes
Version 3.0 releases 05/07/2018
Compatibility fix for AA 3.0 and above.
Added option for overriding 6 tap limits
Added option for Bluetooth Audio output.
Important notes
Thanks to @slash_m_a_x for the support offered on this.
- Some users have reported choppy audio when using the app, this will mainly be due to the speed of the phone, the buffer on the car/headunit and other factors which are out of my control, if that is the case and you cannot use the app please feel free to contact me for a refund.
- Bluetooth Audio output might not work on all devices, it does depend how the car/headunit handles the Bluetooth. There will be devices which completely disable A2DP/Bluetooth capabilities of the car when Android Auto is running. In this case all the sound will be heard from the phone speaker rather then the car speakers.
- Tap limit will be disabled only for cars/headunits which are equipped with a GPS.
- In rare cases it can happen that after unplugging the phone from the headunit you will see a message which says that you are still connected to Android Auto, simply Force Stop the Google Play Services.
- You always need to make sure that Headunit Server is running on the phone (unless you have root), if the icon bothers you simply hide it.
Change log
Version 2.0 releases 17/01/2018
Added new layout option
Added styled gauged
Option for custom background on each gauge.
Option for custom needle on each gauge
Removed integration for CamSam/Blitzer.de (fully integrated now)
Possibility to change needle color
Possibility to adjust arch (indent, position, length) when using custom bg
Separated speed camera settings
Option to only download speed cam db over Wifi
Fixes for min/max value
Speed camera warnings over car speaker (Thanks @martoreto for the how-to)
Street info card
Added French translation (Credit to @fbike for doing the translation)
Added Danish (Credit to @Gunde for doing the translation)
Added Finnish (Credit to @Pyrres for doing the translation)
Added Spanish (Credit to @madabase for doing the translation)
Added Italian (Credit to @ilgaspa for doing the translation)
Version 1.6a - releases 03/10/2017
Fixed negative input for min/max values
Code cleanup
Added Greek language (credit to @sosimple for translating)
Version 1.6 - releases 29/09/2017
Fixes for custom PIDS
Fixes on Graphics rendering.
Fixed overlapping text
Fixed PSI/BAR conversion
Enhanced the gauge style.
Different approach for torque data pulling.
Moved to service should start work automatically when connected to the car
Added Supports PID alarms from Torque.
Added Toggle/Collapse layout for Pid settings.
Added Preview button with random data
Added Option to toggle units display
Added notification cleanup on exit
Added translation for DE,HU,RO (Credit to @FormelLMS for DE)
Added import/export setting option
Added option for colored text
Added TPMS option/screen
Added option to override car's headlights based on day/night
Added warning screen if nothing is configured to prevent black screen with no information.
Added more settings and move them to separate Settings options.
Added customizable background
Added search for PIDs
Added Support for Heads-Up notification
Added Speed camera warnings (powered by CamSam Plus)
Supported settings/Features:
3 x Colors for each gauge
Text color
Toggle needle, arch,units,scale,decimal and text for each gauge.
Variable number or gauges ( 1 - 15 )
Set warning limit for each gauge (percentage). This will be calculated relative to the given PID max value which is retrieved from Torque at runtime.
Possibility to set gauge in reverse mode. (example fuel tank)
Units will be converted automatically based on your Preferences in Torque
TPMS Screen (if you have PID's for TPMS data)
Possibility to use custom background/needle for each gauge
Low Fuel warning
Warm Engine warning
Speed Camera Heads Up Warning
Option to Overwrite Headlights state based on calculated sunset/sunrise
How to use it?
Open app and select each PID you want to display on your screen, adjust the number or gauges you want to see adjust the preference for each PID. If you want to use custom background/needle and interested on how to, please read HERE
Locking Pid values
On some PID's Torque reports wrong min/max values, by default if while using the application a reported value is higher/lower than the initially reported range, the app will adjust the range to the new values. However in some cases this is not desired and you will like to specify manually what is the min and max value for the give PID. In this case, simple edit the minimum/maximum for the pid and they will become locked, meaning the app won't make any adjustments.
By editing, it means you have to change the min or max value, the lock is triggered by the first keypress on this input fields.
The lock will be automatically removed when you select a different PID for the same gauge.
Preferences menu
Alternative pulling - Only enable this option if you have difficulties getting gauges updated, it uses an old deprecated method of obtaining data so should not really be used.
Enable debugging - Only enable it if you have problems with the app and I requested you to collect a bug report, otherwise it will spam the logs for no reason.
Automatically start Torque on Android Auto - Nothing to explain here
Launch FartKontrol on start - launches a Danish Speed Camera app (useless outside Denmark)
Custom Background (any background you will like to use instead of the black color)
Demo - When enabled random data is generated for the PID's just to see how things will look (in case you do not have an OBD2 adapter), so don't enable it.
Pid Alarms section. You can set up a low level fuel warning (displayed as a heads up notification) and a notification when the engine is warmed up. There a several PID options for both of this, pretty self explanatory.
TPMS Settings
- You set up the 4 PID's for TPMS, this will be used to display the tyre pressure values on the TPMS screen inside Android Auto
Speed Camera
Show current street card - Displays information about current street (name and speed limit if know). This information is updated once in 5 seconds and at a minimum distance of 200 meters so it's not 100% accurate it's more for general information.
Enable speed camera warnings - This will enable the app to display speed camera warning when driving, like any app which does this it relies on a database, which means it does NOT guarantee that it will warn you of all the cameras, and it might also produce false warnings. All options are pretty self explanatory.
Export & Import
- Allows you to export your current app configuration file which can later be imported (grate way of saving time of re-doing everything) after a clean install or so. The format use for Export & Import is JSON so if you want you can manually edit/adjust the values. Please see following post for more details about the sturcture/value/meanings
Permissions
Read notification permission - Only required so the app can read the notifications from CamSam and display them on AA scren
Locations - Only required if you want the app to overwrite the day/night theme based on sunset/sunrise
Storage - Only needed if you want to use your personal image as a background and/or planning to import/export settings
Can I create my own layout for the gauges?
- Yes, see instructions below:
Here is an example of the XML structure required, once you created the XML please send it over by email to [email protected] and I will include it in the next build.
Code:
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:tag="wrapper_layout">
<!-- Left column -->
<View
android:layout_width="226dp"
android:layout_height="226dp"
android:layout_gravity="center_vertical|start"
android:tag="gauge_2"
/>
<!-- Middle column -->
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:tag="gauge_1" />
<!-- right column -->
<View
android:layout_width="226dp"
android:layout_height="226dp"
android:layout_gravity="center_vertical|end"
android:tag="gauge_3" />
</FrameLayout>
Important
Each view must contain a tag, which is formated like in the example, where the number corresponds to the Gauge number from the setting screen.
The layout which wraps everything together must have a tag called: wrapper_layout
You are free to use any Layout you want, except ScrollView.
How to produce bug report?
Step 1 you need to enabled debugging in OBD2AA app, then follow this instruction set:
2. Enabling Developer Mode
Open Settings > About phone.
Scroll down to the Build number.
Tap the Build number 7 times in quick succession until "You're now a developer" appears.
Return to the Settings menu and select Developer options.
At the top of the screen, make sure 'Developer options' is set to On (green).
Scroll down to Debugging and enable both USB debugging and Bug Report Shortcut on (green).
Tab on Logger buffer sizes: Default setting is 256K. Select 16M to help capture more information for debugging. Of note, it can affect the apps performance especially with lower spec phone, so change it back after you have finished submitting bug reports.
3. Capturing a Bug Report
It's very important to do this right after you experience the issue again, so your device can log at least one occurrence of the issue.
Hold the Power button down until the menu appears.
Select Take bug report. and wait for the device to capture the bug report.
Tap the 'Bug report captured' notification when it appears.
Share the bug report. (I recommend to email it to yourself.)
Download the bug report to your computer.
Send the bug report by email to [email protected]
I have decided to open up my software, meaning I have made the source code available on GitHub, but it's only available for personal use, and you are not allowed (under any form) to redistribute your own version of the app. You can download and compile it yourself if you wish to do so, and you can implement your own changes for your own personal use, but you cannot create clones of the software which you redistribute under your own name. Source can be found here: https://github.com/borconi/obd2aa.
Due to the fact that there are some irresponsible developers out there, who created video apps for moving cars, which was one of the main reasons Google blocked 3rd party apps, I won't be updating the code on github any more, to try to prevent those developers to use my technique to overcome the limits. If you are developing a 3rd party app and you will like to know more about how I have done this, you are always welcome to contact me. If your project is something useful, I will be more then happy to share things with you.
This does not mean it is now a free app and apk can be freely shared!
Amazing work Emil, this along with your (and ofcourse @mikereidis) Headunit Reloaded app is perfect for Android Auto on the cheap ,
Gotta subscribe to this thread! The possibility of custom PIDs would be of huge interest to me.
Seems like its stuck without any option to change on Kmph rather than mph for speed etc, its set to mph in torque
fma965 said:
Seems like its stuck without any option to change on Kmph rather than mph for speed etc, its set to mph in torque
Click to expand...
Click to collapse
Yeap a few things to iron out....
Just to tired to work on it tonight.... it was a long one yesterday to get the alpha done for today but planning to work on it this weekend....
Emil Borconi said:
Yeap a few things to iron out....
Just to tired to work on it tonight.... it was a long one yesterday to get the alpha done for today but planning to work on it this weekend....
Click to expand...
Click to collapse
No worries, i wrote that quickly... other than that seems good, still figuring out what my car supports though. thinking about selling my tablet setup and buying the same car thing as me
fma965 said:
No worries, i wrote that quickly... other than that seems good, still figuring out what my car supports though. thinking about selling my tablet setup and buying the same car thing as me
Click to expand...
Click to collapse
Well I love my setup but I HATE my handsfree, have to come up with some solution for that because it's cr...
Emil Borconi said:
Well I love my setup but I HATE my handsfree, have to come up with some solution for that because it's cr...
Click to expand...
Click to collapse
does it not support external microphones?
fma965 said:
does it not support external microphones?
Click to expand...
Click to collapse
No. I have to try with a USB soundcard (which I use with my Odroid) but haven't got the chance yet, or I might just hook my himbox to the AUX in and use it that way. The built in mic is almost unusable especially over 30 MPH.
And first version of the app is live!
Bought, installed and looking good.
I've got the Prius PIDs plugin installed in Torque so I can see the data on my Prius C.
Only about half those PIDs are available to be selected, it looks like it's hitting the maximum number of allowed items in the "Select PID" list.
Great, could you please tell me, where I can find it?
FormelLMS said:
Great, could you please tell me, where I can find it?
Click to expand...
Click to collapse
The XDALabs app was a pain, I had to:
Install the XDA app from the Play Store
Log in
Install the XDALabs app it prompted me to install
Log in again
Then open Emil's link from the first post in the XDALabs app.
Ok, thank you. Any chance to have this in play store?
Hi.
Sorry for the pain caused by XDA labs, unfortunately Google play rejected the app submission so I cannot make it available trough that channel.
As for custom PIDs yes intending to support them in the future. Currently torque doesn't provide a method to expose them to 3rd parties so I need to speak with Torque developer if that is possible, alternatively I will need to fallback to manual PID configuration.
I will see if I can build a quick webpage to host/sell the app could potentially make it easier to get the app, but it will make it more difficult to keep it updated.
Emil Borconi said:
Sorry for the pain caused by XDA labs, unfortunately Google play rejected the app submission so I cannot make it available trough that channel.
Click to expand...
Click to collapse
Understood, I had a feeling Google wasn't going to allow it.
One of the issues with XDA is that you can get there via the web but it's not obvious at all how to buy it from there.
Then you have to jump through hoops to get the right app.
Emil Borconi said:
As for custom PIDs yes intending to support them in the future. Currently torque doesn't provide a method to expose them to 3rd parties so I need to speak with Torque developer if that is possible, alternatively I will need to fallback to manual PID configuration.
Click to expand...
Click to collapse
It's already showing around half of the Prius custom PIDs, it's like the list just runs out of space for more items.
edit:
Screenshot link
leonkernan said:
Understood, I had a feeling Google wasn't going to allow it.
One of the issues with XDA is that you can get there via the web but it's not obvious at all how to buy it from there.
Then you have to jump through hoops to get the right app.
It's already showing around half of the Prius custom PIDs, it's like the list just runs out of space for more items.
Click to expand...
Click to collapse
I'll send you a logging version at some point this weekend just to see if how much data Torque actually send over. For example it doesn't show any of my custom PIDs for KIA.
Thanks for this, it is awesome..
A magnificent add to the current great app.
Here is photo of my test
too low ISO 320.
My Observation:
1: I added in Gauge 2 : Volts(CM), then put "13.5" in W.Level 1, and 12 in W.Level 2, when I switch to ODB2AA it wont open and switch back to the current tab.
then I changed W.Level 1 to "13" and it works, so looks like it wont accept a decimal value!, don't know if its a bug or error from my side.
2: Each time I switch to the OBD2AA tab it takes 13s for the data to be pulled.
3: Just once "no data pulling", I had to unplug/plug usb to work.
suggestion:
* It would be good if there is a timeout option for the data pulling to stop, so no 13s delay when switch back and forth in that time, I don't know if it is applicable in AA.
Great job Emil.
MAJED.y said:
A magnificent add to the current great app.
Here is photo of my test
My Observation:
1: I added in Gauge 2 : Volts(CM), then put "13.5" in W.Level 1, and 12 in W.Level 2, when I switch to ODB2AA it wont open and switch back to the current tab.
then I changed W.Level 1 to "13" and it works, so looks like it wont accept a decimal value!, don't know if its a bug or error from my side.
2: Each time I switch to the OBD2AA tab it takes 13s for the data to be pulled.
3: Just once "no data pulling", I had to unplug/plug usb to work.
suggestion:
* It would be good if there is a timeout option for the data pulling to stop, so no 13s delay when switch back and forth in that time.
Great job Emil.
Click to expand...
Click to collapse
Check your email The version you are mentioning is the Beta, the release version has all those sorted
Sorry I'm moving too fast

Just tweak it

XIAOMIEU/miGlobe/ROS cleanup actions
BOOT SCRIPT
What it does:
* choose 7 categories of app removal
* disable 36 apps as per post 6 (preferred method, ppl can reenable)
* uninstall super sticky apps (i'd still prefer disabling by renaming, but didn't work)
* remove usage access for google (this is the only part not working - because of custom ROM, they say)
* recover hostname modified by xiaomi (privacy) (hardcoded, but could read it from settings in future)
* remove weird XiaomiEU app icons
* disable wifi diagnostics
* disable dumping of network
Download: file attached
Installation:
- run in su terminal or add to any startup script
ADAWAY LIST
What it does:
* adds as many Xiaomi servers to adblocker as possible
Download: file attached
Installation:
- open Adaway menu on the left and choose 'Your lists'
- click menu button on the top right and choose 'Import all lists'
- choose your file, and apply
What actions are needed after MIUI ROM is installed and what is already improved:
[automated] to disable:
Code:
Browser, Cloud Print, CloudServiceSysbase, com.mui.translation.xmcloud, com.xiaomi.micloudsdk.SdkApplication, Digital Wellbeing, Email, Google, Feedback, File Manager, Google Backup Transport, Google Calendar Sync, Google Contacts Sync, Google One Init Setup, Google Partner Set Up, Joyose, Mi Account, Mi Cloud, Mi Cloud backup, Mi Credit, Mi Video, Mi Wallpaper Carousel, MiCloudSync, Music, NextPay, Xiaomi service framework
[automated] to delete (can't disable):
Code:
FindDevice, Miuidaemon, MiuiHome, Xiaomi service framework
Disabling MiuiHome helps a lot as this launcher causes gfx problems (empty black screen) even when it's not selected as home provider.
Another tasks post flash weekly update:
- [automated] root magisk 19 (with one click in L.R.Team TWRP)
- [enhanced] reenable hosts in Adaway including attached custom Xiaomi blacklist
- [automated] remove /system/media/theme/miui_mod_icons
- [not working yet] redisable app permissions, 'Usage Access' and 'Modify system settings' (the later ensures first two are not enabled later - the aggressive Xiaomi/Google apps ignore user choices and help each other to restore permissions user doesn't like)
- redisable Device Admin, Trust admin (find my device, smart lock)
- [automated] LOG_PATH_FLAG=0 in cnss_diag.conf and /data/vendor/wlan_logs/ transformed to file - this is usually kept after ROM upgrade, this is where WiFi spying and tcpdumpin' takes place
- [automated] xiaomi pushes "Mi9" hostname, that's not privacy sensitive, need to setprop net.hostname [YOURNAME] on each boot (e.g. 3C script)
original bash
Oh i hate MIUI so much, but have to live with it until alt ROMs will come, fully supporting fingerprint, bluetooth, camera.
This MIUI (EU) is so aggressive overwriting all apps and dialogs in the system, and it's overall ugly and unnecessarily complex (except pro-looking charging animation, 24h wallpaper, and AOD). It blocks starting apps by default, it blocks app notifications by default. Battery ops are a joke, and all memory cleaner triggers kill virtually everything running. Zero respect for high prio notif apps running. It's so modified that tons of xposed modules won't have impact. It even annoys with data connection dialogs, download operations.. they stick their nose everywhere. I don't trust this company at all, so i've taken stronger measures and zero byte to Xiaomi policy.
In first round of making this phone less retail and more pro is
- revoke all authorizations (get the hell out Xiaomi)
- stop feeding device ids (oh they even have choice for it, but i need more complex and trustful blocking via Xposed) to xiaomi apps
- delete xiaomi account, now that won't stop findDevice and other cloud nonsense from running (contradiction to Xiaomi statement findDevice not supported on unlocked bootloaders)
- disable xiaomi packages via titanium/3c:
Code:
BugReport.apk
CloudBackup.apk
CloudService.apk
CloudServiceSysbase.apk
GoogleBackupTransport.apk
Joyose.apk
MiGalleryLockscreen.apk
MiVideo.apk (useless app without DLNA)
Music.apk (useless app without DLNA)
NextPay.apk
ThemeManager.apk
but hey, it's not always possible, some apps can't be disabled, this aggression can be stopped by not deleting but renaming the files in /system/[priv-]app e.g.:
Code:
FindDevice.apk.disabled
MiuiDaemon.apk.disabled (can be disabled but will still show up, what)
MiuiHome.apk.disabled
- firewall block any remaining xiaomi apps to stop Baba/Baidu etc connections
Rinse and repeat til you see no data transferred in the network monitor.
Some UI fixes already done:
- AOD doesn't show any notifs -> use "MIUI AOD Notification icon" xposed module, however, it will show too much (not configurable)
- Notch is ugly like hell, can't smart-crop it like OnePlus(R) -> use Notch Remover app (i'd like some system solution rather, due to performance reasons)
- AI button can be fully configured, forget MIUI choices and install xposed Edge
- Device health, the new feature, is hidden, just trigger it via activities, then create the app icon via its UI for convenience
- several vanilla dialogs are accessible via Settings search or activities like appops, notifications
- navigation [bar] enhanced by xposed Edge
I applaud:
- existing offline cron-able backup (although it won't save 90% of system settings which is so needed on this ROM)
- complex data usage configuration
- not hiding call recording, no need for xposed tweaks
- good battery info (wide icon, great animations and LED confirmation), oh yeah, Qi people do need this for practical reasons
- all recent micro tweaks like click on clock on quick settings opens clock
-notif. light, samsung style - great , double tap wake, raise2wake (producing too many smp2p-sleepstate wakelocks) - also great
I (or hopefully a ROM author) would like to fix this:
- remove their Security (which i think includes all memory and battery handling), PermissionManager nonsense
- remove status bar alarm icon, just go already! (fix via xposed and 3c didn't work! it's on the left)
- reduce status bar height to align with notch (xposed plugin didn't work)
- show batt% when notifs are expanded (batt% is literally nowhere to be shown, not in Battery details either, unless you turn on % status bar icon which is annoying, want to see % only when expand quick settings just like on other phones - that is user friendly)
- this UI overwrite app icons, omg..why.. of course i don't use their lausy home app (which doesn't even bring Pie swipe-to-apps action), but twisted icons will show up in all system dialogs
- Pie navigation [bar] is only good in vanilla pie, Samsung OnePlus and Xiaomi managed to destroy it by customizations, would love AOSP style in full screen mode (navbar-less), Xiaomi additionally created "original" swipe-from-right Back action, which interferes with GBoard swipes
- how to enable either Oreo or original Pie recents? used to tweak it via xposed Edge on note9,6t
- the MAC is not randomized, are you kidding me + device name you set won't matter when you make connections, they push Mi9-Mobile name, i don't like both for privacy reasons
- weather widget (where is it), linking weather cities to clock cities
- AOD only on notification with a preview (OnePlus style)
- voice navigation in Camera, this will require a different app
- remove all stupid confirmations with timeouts with several seconds
- "this UI overwrite app icons" -> fixed by using Global dev version
i tried the Global Dev ROM http://en.miui.com/download-361.html and i was shocked that it's the same firmware except those ****ty icons! not much missing, very very little things only.. few more processes (like facebook snitchware), the firewall blocked them proactively.. no byte sent. will be cleansed quickly. i saw Night mode and 48mpix mode in camera briefly but it depends on kernel somehow. weird. so weird brand.
doggydog2 said:
-notif. light, samsung style - great , double tap wake, raise2wake (producing too many smp2p-sleepstate wakelocks) - also great
Click to expand...
Click to collapse
Getting massive smp2p-sleepstate wakelocks - even with double tap and raise to wake disabled. Any idea what else could be causing this?
DavidRJ said:
Getting massive smp2p-sleepstate wakelocks - even with double tap and raise to wake disabled. Any idea what else could be causing this?
Click to expand...
Click to collapse
AOD, double tap to wake, pocket lock, handwave gesture, out-of-pocket gesture..some of those.. i just tested disabling this wakelock and it didn't help battery life. but i have a parasitic magisk/xposed drain now so maybe i don't spot the difference right now.
Achieved good battery life in the end. No bad wakelocks at all. I have a temporary AOD set, d.tap to wake, so this is not causing it. Now i will turn on Pocket lock back. I guess just like it was written in the other thread, the wakelocks are caused by the doze gestures ("Phh" menu in Settings).
Vaste majority of glitches above are fixed in the AOSP ROM. Definitely far better than any Xiaomi ROM tested. Next time i wouldn't waste any time with Xiaomi software IF the classic root unfriendly functionality works (fp, bt-car, cam..). That will be precondition for a buy in future, and 2 week unlock period will be considered hard too. If OnePlus will put QC/QI to model 8, that'll be the next phone.
Root-friendly brands:
1/ OnePlus (all easy, ROM is ok to keep, all functions kept) - WINNER
2/ LG (pretty easy, lil bit functionality can be lost, but they keep back fingerprint & community don't care about their new models -> dead brand)
3/ Xiaomi sort of (difficult unlock, terrible software, very difficult flashing, all functions kept)
4/ Samsung sort of (problems with some functionality, more and more obstacles for developers, Knox, bad battery....tired of it)
Gutripping list - what to do after installation/upgrade of MIUI
moved to first post
Why don't you just buy another phone? It's easier...
What's worse for one.... Isn't for another.
I have got pretty good SOT 6 hours on wifi around 5 on mobile network.
I like Miui...and all the Chinese oehhhh they are spying tin foil head stuff come on...
XiaomiEU app icons can be removed here: non-destructively rename /system/media/theme/miui_mod_icons (thanksgod)
Magisk compatible: 19.0+ (not booting with any earlier version)
QuickStep compatible: no
Still can't find link to Running services, they really care to hide it. This activity Settings\com.android.settings.RunningServices gets overwritten by app info which counts size on disk but at least give backdoor to original app properties.
*justintime* said:
Why don't you just buy another phone? It's easier...
What's worse for one.... Isn't for another.
I have got pretty good SOT 6 hours on wifi around 5 on mobile network.
I like Miui...and all the Chinese oehhhh they are spying tin foil head stuff come on...
Click to expand...
Click to collapse
my SOT is easily above 10hours sadly i can't find a modern phone, with rootability, wireless charging, fingerprint not in the back. forget SD card, notches and tons of other requirements.. so this is a list:
https://www.gsmarena.com/results.php3?nRamMin=6000&chkWCharging=selected&idFingerprint=5
discount unrootable huawei, nokia and i'm literally stuck with just S10 and Mi9. it's so bad situation. S10 struggles with root yet as Samsung created yet another tricks. Soon rooting will be a hate speech and we'll be arrested
Thank you for looking into all this and writing it up here.
I was tempted to give MIUI a go temporarily since everything else is early stages right now, but I think I'll wait for the GSIs instead. And hey, "just buy another phone or willingly give up your privacy to megacorps and the government" is pretty great if you'd like to live in a dystopia at some point
xephyris said:
Thank you for looking into all this and writing it up here.
I was tempted to give MIUI a go temporarily since everything else is early stages right now, but I think I'll wait for the GSIs instead. And hey, "just buy another phone or willingly give up your privacy to megacorps and the government" is pretty great if you'd like to live in a dystopia at some point
Click to expand...
Click to collapse
@doggydog2 grow up.... Playing a game who has the largest....?? I was just saying with it the phone and software isn't that bad.
Buy a Pixel or OP
@xephyris
Ghehehe man man man..... Like you have privacy in 2019...wake up...
So giving all your **** to Google is no problem for you...?
Are you using miui.eu from (xiaomi.eu) or global rom EU version?
The op sounds like he came here to promote Oneplus for some reason.
(duplicit)
@xephyris thanks, GSI is strong already except the fingerprint not excellent. i'm watching git changes, literally reading the code, and can't wait for more fixes.. for an AOSP - not bad status already with fp,bluetooth,camera,aptx working. Let's talk about other device AOSPs with features missing.. GSI is generic but when devs actually own the device, the progress is far batter (FlokoRom being the best, now new TWRPs progressing).
 @*justintime* don't understand what you blab about, i was just saying what is the situation. as you're long member, you should have remembered the golden times where all this stuff was easy and you could choose any mobile. and no "nonsense to fix in next generation" existed like notches or back fingerprints. also i'm giving little to Google, have zero ads, cleaned fingerprints of my internet activity, device data is cloaked etc to the extent i actually don't need to clean up Xiaomi processes. i do have privacy in 2019.. that's something i'm not even describing here as it's generic, here i fight the specific xiaomi bloat. when i sniff my network connections or trace personal data usage, i am satisfied. it's very clean.
 @rasmali ..and not promoting, as i spend too much time to fix this Xiaomi, it's pretty hard from unlock process, TWRP problems, Gapps problems, battery issues, camera issues to the MIUI. Also tested all ROMs, kernels, recoveries so i'm sharing/getting the knowledge to make sure we all later profit. maybe i'll script the cleanup process from post #6. true the OnePlus is cool, i did just single flashing/restoring process there for me and one for another person, and it's perfectly working from A to Z.. it's shocking easy compared to Mi9. just lacking QC+Qi:/
Keep posting updates, as you im trying to find a solution for the Running services.
any way to disable xiaomi service framework without causing problems?
bilal91 said:
any way to disable xiaomi service framework without causing problems?
Click to expand...
Click to collapse
Which problem you have disabling it through adb?
denzel09 said:
Which problem you have disabling it through adb?
Click to expand...
Click to collapse
i've heard it could cause a bootloop...have you done it through adb and can you direct me towards how you did it?
doggydog2 said:
Delete (can't disable):
Code:
FindDevice, Miuidaemon, MiuiHome, Xiaomi service framework
Click to expand...
Click to collapse
Introducing Xposed plugin "MIUI Anesthetist".
It will help disable the above ultra-sticky services which cannot be disabled (and we're not talking about normal system dialogs, we're disabing with root tools already).
However the author doesn't realise the spy company Xiaomi made 2 of them even more ultra-sticky: Miuidaemon, Xiaomi service framework.
The Xiaomi invented the way to load those even when disabled. As you can see in "Running services"* the processes are active.
*I'm kidding - you won't see it there as Xiaomi disabled this transparency tool, you need another root tool to check running processes.
So you still need to rename them in /system/[priv-]app folder.
Plus the FindDevice "disabled" with help of this plugin will make many error popups by another part of the system which tries to trigger it at all cost.
so it looked good first, as disabling would ultimately bring the convenience of setting and forgetting even during ROM updates.
That's not the case, so there's still maintenance needed as in the post 6.

Android graphics

I wonder if anyone can help me. I've been programming for some time but I'm new to Android development and am struggling a bit with the graphics and canvas systems on Android Studio.
This is what I want to do:
1. Draw some background graphics on screen (have done this in the onDraw function)
2. Have an 'interrupt' function run every x seconds (have done this with Handler)
3. Use this function to add graphical elements to the screen (i.e. a circle in a random position)
Step 3 is where I'm struggling. I can draw a circle and call invalidate to update the screen but what it seems to do is draw the circle, blank the screen then draw the onDraw elements again. I want it to add a circle so that I get an extra one on the screen every time the function runs.
Not sure if I've explained this properly but can anyone suggest a solution?
TIA

Categories

Resources