ABSTRACT (i.e., TLDR version)
I present a way to integrate Texter; Tasker; a preferred SMS app that also gives popup notifications; and SL4A+Perl such that when using Texter, I can mark incoming SMS as read; clear notifications; clear popups; and re-sleep the phone. Profiles+scripts in the second post.
INTRODUCTION
In a nutshell: I wanted to use Tasker to remove notifications of unread SMS messages while using Texter. This proves difficult because I use an SMS app that has popup notifications. These profiles+scripts exit the popup notification, clear the unread notification, then puts your phone back to sleep.
Texter is an Android app/Google Chrome extension that lets you send SMS messages from your computer with your phone number. Super cool! It's kind of glitchy at times but overall a solid app, and it'll get better with time. It's currently in closed beta but they're adding new people all the time. I'd hop on that ASAP.
Texter clears unread SMS notifications when you hit "Close" or "Reply", but by Android design it cannot clear the notification bar and LED. I keep my phone on my desk when using my computer, so having the unread notification on both my phone and my computer are kind of annoying. So I wanted to use Tasker to clear those notifications. Turns out Tasker cannot mark messages as read itself, so I use SL4A and the Android port of my favorite scripting language, Perl. It's easy to write a script using SL4A and Perl for Android (or your language of choice - but I provide a Perl script, so you may as well use that) to clear unread SMS notifications for you.
OVERVIEW OF PROFILES
This first post will be a discussion of each profile I use; next post will have the profiles/scripts themselves, and possibly a changelog as I mess around with this system.
My system consists of 5 profiles and 1 widget-task:
WIDGET-TASK: USE TEXTY
This task simply sets or clears a variable %TEXTY, to denote if we are at a computer and would prefer to use Texter vs our phones to send SMS messages. It also sets a permanent notification and changes the widget icon to show that you're in Texter-mode vs regular SMS mode.
PROFILE: TEXTY ACTIVE
This is the heart and soul of the profile scheme. When you receive an SMS, if %TEXTY is set it fires the Perl script that clears your SMS notification, then opens your preferred SMS app to clear the notification bar. Bonus: if you use a popup SMS notification (GO SMS, Handcent, Chomp, etc), this will also clear the popup for you!
PROFILE: TEXTY DISPLAY ON/OFF
Naively using %SCREEN to denote if the screen is on/off to enable or disable Texter functionality does not work all the time - I have found that my phone sometimes lags between receiving a text message and actually popping up the notification. So if %SCREEN ~ on, the main profile might not fire the go-back-to-sleep tasks.
Thus we need a way to account for this lag. I created a new variable %TEXTYSCN that denotes when the screen is on/off, accounting for that lag. Basically, I wait 15 seconds after screen on before setting %TEXTYSCN = on; if the screen has been on for that long, it's probably because I wanted to use it.
When I set %TEXTYSCN = off, I wait 15 seconds beforehand IF IT'S ALREADY SET TO OFF. This seems weird at first, but it's kind of like an interrupt handling mechanism - if you receive a text, your screen will turn on. That starts the 15 second count before %TEXTYSCN = on - until those 15 seconds are up, %TEXTYSCN ~ off. Now that the popup notification is cleared, the display shuts off. If we flipped %TEXTYSCN = off right now and we're inside that 15 second timer, %TEXTYSCN will get set back to on - and subsequent popup notifications won't get cleared. Note that I only wait if %TEXTYSCN ~ off. If it's on, that means we're choosing to sleep the phone after we've used it for something.
[NOT SURE IF NEEDED, NEEDS MORE TESTING] PROFILE: PHONE OFFHOOK/IDLE
Not sure if I need these profiles yet - all it does is disable the main profile if we're on a call, and restart it once we hang up. GO SMS doesn't popup notify when I'm in a call, and after a call I can clear the notifications as I please. I'm not entirely sure of using the main profile during calls yet (what happens if I get a text in the middle of a call and my screen was off at the time? It'll run the main profile, GO HOME, then display off. This might be disorienting the next time I look down and I'm at the Home screen rather than the In-Call screen) so I'll just disable the clear-SMS. Maybe in a later iteration I'll disable the go-home part but clear SMS.
ON TO POST #2!
APPS YOU NEED
See post #1 for links to all required apps.
Android 2.2+
Tasker
Texter
SL4A
Perl for Android (or your interpreter of choice, but the script I provide is for Perl)
INSTALLATION <----VERY IMPORTANT! DOES NOT WORK STRAIGHT OUT OF THE BOX.
Download Tasker_Texty_V1.2.zip. Place all files ending with "prf.xml" into /sdcard/Tasker/profiles . Place Texty.tsk.xml into /sdcard/Tasker/tasks . Import all profiles and tasks by opening Tasker; hit Menu; hit Profile Data; "Import One Profile" and "Import One Task". Place markSMSread.pl into /sdcard/SL4A/scripts .
Create the Texty (it's now officially named Texter, but I didn't want to bother changing the words in the profiles, not to mention "Texty" sounds way better to me) widget on your home screen. Check out the Tasker website if you need help on how to do this.
Open up the "Texty Profile" profile. Change "Load App" from "Messaging" to your favorite SMS app (or keep it as default if that's what you prefer.)
Remove the "Type: System Lock" action, and replace it with "Display->System Lock". You will need to give Tasker administrative capabilities.
As necessary, change the "wait" values in the Texty Active; Texty Display On; and Texty Display Off profiles. See below, "Scripts and Profiles", on the rationale for this.
Enjoy the wonderful amalgamation of Texter, Tasker, and Android! Happy texting
ADVANCED: SCRIPTS AND PROFILES
I include this section redundantly so people can see what exactly goes into the setup. This way you can be confident that you're customizing your profiles exactly how you want to, and you can see my rationale for why I used certain numbers, variables, etc.
Tasker cannot clear the unread SMS notification on its own, so I use SL4A to do it. Here is the Perl script I use (you can of course use your own script and programming language if you'd like):
Code:
use strict;
use warnings;
use Android;
# See http://goo.gl/Qw0WK for original code
my $droid = Android->new();
my $msgs = $droid->smsGetMessageIds(1);
my $i = 0;
while ($msgs->{result}[$i]){
$droid->smsMarkMessageRead([$msgs->{result}[$i]], 1);
$i++;
}
I will assume you're familiar with Tasker language. At some point I will just post profiles you can import. If you need help with any steps, just ask! I'll do my best to respond in a timely fashion.
Note before importing/creating profiles: You need to make sure %TEXTY is clear on boot. I don't know if variables are cleared on phone restarts; I took no chances and wrote into my Boot profile to clear %TEXTY. If someone can let me know, that would be appreciated.
WIDGET-TASK: "TEXTY"
Initial Icon: Texty app look
Notes: You may need to write everything without the "Set Widget Icon"; make the widget; then edit the task and re-make the widget. Tasker looks for widgets to change icons, and it can't change the icon of a non-existent widget.
1) If %TEXTY ! Set
2) Notify (title: "Texty Active"; icon: whatever you want; permanent: ON)
3) Set Widget Icon (name: Texty; icon: whatever you want, I use the stock SMS icon)
4) Variable set (%TEXTY to 1)
5) Stop
6) End If
7) If (%TEXTY Is Set)
8) Set Widget Icon (name: Texty, icon: original Texty icon)
9) Notify Cancel (title:"Texty Active")
10) Variable Clear: %TEXTY
11) End If
PROFILE: TEXTY ACTIVE
Condition: Event: Received Text
Notes: Mess around with the wait statements to see if there's a sweet spot. You might find a 2 second wait might open and close your SMS program before the popup notify comes up. I'm still trying to find all the right numbers myself. (I think I've settled on 5, but that could change all willy-nilly like)
1) If %TEXTY is set
2) Wait 5 seconds
3) IF %TEXTYSCN !~ on
4) Load App: your SMS app of choice (to clear the notification bar and/or popup notifies)
5) SL4A: markSMSread.pl
6) Wait 1 second
7) Go Home
8) System Lock
9) End If
10) End If
PROFILE: DISPLAY ON
Condition: Event: Display On
Notes: Adjust the wait: if it's too long, the main profile will clear your popup notify and sleep your phone if you receive a message soon after starting to use your phone; too short and the main profile might not clear your popup notify at all [see the wait statement in the Texty Active profile]
1) If %Texty Is set
2) Wait 10 seconds
3) Variable set: %TEXTYSCN to on
4) END IF
PROFILE: DISPLAY OFF
Condition: Event: Display Off
Notes: Adjust the wait: if it's too long, the main profile won't clear your popup notify if you receive a text shortly after display turns off; too short and %TEXTYSCN might accidentally get flipped to on.
1) If %Texty is set
2) Wait 15 seconds IF %TEXTYSCN ~ off
3) Variable set: %TEXTYSCN to off
4) End if
PROFILE: PHONE OFFHOOK
Condition: Event: Phone Offhook
1) Profile Status: Texty Active -> Off IF %TEXTY is set
PROFILE: PHONE IDLE
Condition: Event: Phone Idle
1) Profile Status: Texty Active -> ON
PROFILE: CLEAR TEXTYSCN
Condition: Event: Variable cleared: %TEXTY
1) Variable Clear: %TEXTYSCN
Conclusion
I hope my work has helped anyone else as obsessive as I am about the meshing of their technology. I am of the school of thought that anything I do on my phone I should be able to do on my computer, and vice versa - I use Chrome to Phone, android2cloud, etc - I don't ever want to be tethered to any single device. These Tasker profiles have gotten me one step closer to realizing that dream.
CREDITS
brandall: for his excellent Tasker work! He was the inspiration for me to write this post up.
Max from the android-scripting Google group: for helping me create the markSMSread.pl script.
The developers of Texty, Tasker, GO SMS, and SL4A. Without them, there wouldn't be us.
TO DO
further testing to find edge cases, etc
CHANGELOG
Code:
v1.2:
-->fixed import bug - because System Lock action requires admin capabilities, Tasker would not import. Now requires user to manually add action.
-->restored markSMSread.pl workaround - Texter only clears SMS when you hit "close" or "reply", but the notification does not go away.
-->added more installation instructions
v1.1:
-->removed markSMSread.pl workaround - Texter now clears SMS notifications on its own.
-->added v1.1 .zip to easily import profiles.
v1.0:
-->initial release
Please hit the Thanks button if I helped you with your Texter experience!
Nice work mate!
Sent from my HTC Desire HD using XDA Premium App
Tasker profiles updated to v1.1! Texter now clears the SMS notification when you hit "Reply" or "Close" in Chrome. So I removed the SL4A workaround to clear SMS notifications for you. I am still testing for edge cases, and might bring back the workaround if the SMS doesn't clear the vast majority (or all) of the time. Also finally added profile .zip so you can just import your tasks instead of fiddling with the UI so much.
The Texty Active profile won't load into Tasker. It gives me an error.
bartimeus said:
The Texty Active profile won't load into Tasker. It gives me an error.
Click to expand...
Click to collapse
What's the error say? Details would be nice to help out on this.
Sorry about that, forgot my manners.
"Error: import of Texty_Active.prf.xml
failed: failed to import profile data."
Thank you for coming up with and supporting these.
bartimeus said:
Sorry about that, forgot my manners.
"Error: import of Texty_Active.prf.xml
failed: failed to import profile data."
Thank you for coming up with and supporting these.
Click to expand...
Click to collapse
Hmm, that's not a very illuminating error message What version of Tasker are you running, and what version of Android? The "Screen Lock" task in this profile requires Tasker to get admin capabilities; maybe Tasker does not allow one to import anything that requires root/admin capability.
Also, do you have the stock Messaging app installed? I use "Load App: Messaging" by default.
I am not at home right now but when I get home I will upload a profile that does not have the "Screen Lock" task. If that imports properly, you will have helped me close a tough bug thanks!
I am running version 1.0.17, Android 2.3(Cyanogenmod 7 Nightly 100) Phone is Inspire 4G.
I have the stock messaging app but use Handcent as my main one.
bartimeus said:
I am running version 1.0.17, Android 2.3(Cyanogenmod 7 Nightly 100) Phone is Inspire 4G.
I have the stock messaging app but use Handcent as my main one.
Click to expand...
Click to collapse
Try to import the attached profile. I removed the "System Lock" task. I have a feeling that'll let you import.
In other news, I think I will add back the markSMSread.pl SMS-clearing workaround. Without it, the popup notify is killed but the unread notification remains. Once you hit close/reply in Texter, it will mark the SMS as read - but that doesn't clear the notification. Once I get verification that the "System Lock" task is what's causing problems, I'll update to v1.2.
Okay, it let me import that file. Now I have all 6 profiles and the task imported. How do I switch the app it uses from Messaging to Handcent?
bartimeus said:
Okay, it let me import that file. Now I have all 6 profiles and the task imported. How do I switch the app it uses from Messaging to Handcent?
Click to expand...
Click to collapse
Great. In the Texty Active profile, hit "Open App" and select Handcent from it.
You'll also need to re-add the System Lock action (hit the plus sign, Display->System Lock) and put it under "Go Home" if you want the screen to dark after it receives a text message.
Thanks for verifying this bug for me. As I said, I will upload v1.2 with the markSMSread.pl workaround as soon as I can. I'll also remove the System Lock action; users will have to add them themselves.
Version 1.2 added to second post. It brings back the Perl workaround - Texter only clears the unread SMS notification when you hit "Reply" or "Close". Even though it clears the unread notification in the system, it does NOT clear the notification bar. (This is especially true if you're not using the stock Messaging app.)
Also, there was a bug (feature?) where Tasker could not import the "Texty Active" profile - this is because the "System Lock" action I use to sleep the phone requires admin capability. You must add this action yourself and allow Tasker admin privileges, if it asks.
Finally, install instructions updated to reflect the use of the Perl script and adding the "System Lock" action.
Thanks to bartimeus for helping debug!
Running into the same error as before when I try to import the Texty: Active profile....
What do we do after we make the widget? Do we have to hit it and activate the task and just leave it running all the time?
I couldn't find anything called "Perl for Android" on the market so I only installed SL4A, do I have to DO anything with this once I have it installed and the script in the correct folder?
Lastly, when I go in and add the the Lock command it asks me for code, what do I need to enter? It says "Error: Code: Please enter text"
bartimeus said:
Running into the same error as before when I try to import the Texty: Active profile....
Click to expand...
Click to collapse
crap. i'll look into what could be causing that. Did you import before installing SL4A? I wonder if the profile can't find SL4A upon import and then fails. In the meantime, I do list the exact steps you need to produce the profile on your own, so you could create the profile yourself. I'm really sorry about that - this is my first time writing profiles and sharing them with other people, so I'm sure there will be issues in the process.
What do we do after we make the widget? Do we have to hit it and activate the task and just leave it running all the time?
Click to expand...
Click to collapse
Hit the widget whenever you want to use Texty at your computer. When you're done, hit it again. I think it would only be useful to turn off the popup notify and kill the new-SMS notification if we're sitting at the computer. So yes, when you're using Texty, you should leave the task running the entire time.
I couldn't find anything called "Perl for Android" on the market so I only installed SL4A, do I have to DO anything with this once I have it installed and the script in the correct folder?
Click to expand...
Click to collapse
Check the link to Perl for Android in the first post. This is absolutely required - SL4A does not provide the script interpreters, just the API to use them
Lastly, when I go in and add the the Lock command it asks me for code, what do I need to enter? It says "Error: Code: Please enter text"
Click to expand...
Click to collapse
Note that there is a difference between "Lock" and "System Lock". You should be using the latter, not the former.
Okay, I figured out that it is a passcode that it wants. I couldn't find something called System Lock under Display but I will look again.
Nevermind. I am dumb. I found System Lock
I guess tasker hadn't updated in forever or something but I have it all working now. Perl Installed and SL4A installed. All seems well enough, just need to wait for a text now =P
Thank you.
bartimeus said:
Nevermind. I am dumb. I found System Lock
I guess tasker hadn't updated in forever or something but I have it all working now. Perl Installed and SL4A installed. All seems well enough, just need to wait for a text now =P
Thank you.
Click to expand...
Click to collapse
Haha, no worries! Non-market Tasker doesn't really remind you to update that often. I guess I should put in the OP that you need the latest version of Tasker; I can't guarantee older versions, as you just found.
I appreciate any feedback about the profile system I set up. I'm always trying to tweak it, and really I find myself playing with the numbers kind of regularly to hit the "sweet spot".
Been looking for something like this...great job....errr, I should say, just set this up, hope it works and if it does, then great job.
Now if only I could get something similar for all the other notifications I take action on on my computer (calendar appts, gchat etc.) Gmail works fine
I know this is wicked old, but the Perl Script does not work anymore... I have a 4.2.2 ROM and it won't mark them as read.
Hey guys,
I just made a location and time based profile management app called Migrate (publisher Illuvation LLC). This is my first android app and it's free. It's supposed to be an easy to use app. Right now it toggles wifi, bluetooth and ringer. You can also add notes that pop up in the notification bar when you first arrive at a location or a time profile is activated.
I'm already working on new features but i want to make sure that the core of it(the location and time profile switching is solid on different devices). Post any bugs or features that you'd like to see to make this app different from the others. The UI is still a work in progress and I think I'm going to improve the notification layout.
Thanks guys! Just grab it on the market by putting Migrate in quotes or searching by publisher (Illuvation).
Version 1.0.0.322
-New UI
-Google maps for better accuracy when entering address
Version 1.0.0.291
-Time profiles can now be set using days of the week instead of occurring everyday
-Option to disable "default profile" added to "settings"
-Length of time Wi-Fi is used for location polling has been decreased (worst case run time is 10 seconds per poll)
9-7-2011 Version 1.0.0.274
-Fixed bug where text to speech occurred during phone calls
-Migrate will no longer override any changes made to settings outside the app. Migrate will change settings on next profile change
-Improved location polling for better battery life
9-1-2011 - Version 1.0.0.258
-Text-to-Speech now added for all incoming text messages (previously only for reminders).
8-31-2011 - Version 1.0.0.253
-Added text to speech option in settings for reminders
-Notifications now coincide with phone notification settings
-Fixed light notification bug for time profiles
-Improved battery life due to enhanced location polling algorithm
-Faster performance
8-26-2011 - Version 1.0.0.224
-Added automatic reply to text messages
-Enhanced notification bar
-Fixed automatic dismissal of notes on location profiles
-UI changes
No GPS
Forgot to mention. This does not use GPS!!! It's really good on battery life.
very interested mate, going test it. but it shown GPS in screen shot?
I guess i should update the screenshots. That was a mistake. I changed that button to say "Location." Thanks for pointing that out.
New version on the market. Feedback appreciated. Thanks
Any features anyone would like to see?
New version
New version in the market now!!
Text to Speech improved
Added text to speech for all text messages. It'll tell you the sender by checking your contacts and read the message out loud.
Updated the app. Text to Speech no longer occurs during phone calls. The app will no longer override changes made outside the app until another profile is activated.
If you "exit profile manager" through the menu button, does that turn Migrate off? Should there always be an icon in the notification area when it is working?
nyonya said:
If you "exit profile manager" through the menu button, does that turn Migrate off? Should there always be an icon in the notification area when it is working?
Click to expand...
Click to collapse
Exit Profile Manager completely closes Migrate. Yes, when Migrate is running there will always be an icon in the Notification area.
barban7 said:
Exit Profile Manager completely closes Migrate. Yes, when Migrate is running there will always be an icon in the Notification area.
Click to expand...
Click to collapse
Thanks. Would it be possible to make it an option whether or not to display the notification?
nyonya said:
Thanks. Would it be possible to make it an option whether or not to display the notification?
Click to expand...
Click to collapse
I can make that an option. I'll incorporate that in one of next few updates.
I've found an issue. I have a profile set up to turn on Wi-Fi in a specific location (my apartment). When I left for work this morning it turned off Wi-Fi - good. But throughout the day Wi-Fi will turn on for a short amount of time regularly - I assume when Migrate scans for location. So far, in about 4 hours it's been on for 31 mins - and I haven't left my desk (work is far from home). Could you fix this bug? Thanks!
nyonya said:
I've found an issue. I have a profile set up to turn on Wi-Fi in a specific location (my apartment). When I left for work this morning it turned off Wi-Fi - good. But throughout the day Wi-Fi will turn on for a short amount of time regularly - I assume when Migrate scans for location. So far, in about 4 hours it's been on for 31 mins - and I haven't left my desk (work is far from home). Could you fix this bug? Thanks!
Click to expand...
Click to collapse
Has it been on for 31 minutes straight or is that the total time over 4 hours?
barban7 said:
Has it been on for 31 minutes straight or is that the total time over 4 hours?
Click to expand...
Click to collapse
That's the total time over 4 hours, in short periods of time.
nyonya said:
That's the total time over 4 hours, in short periods of time.
Click to expand...
Click to collapse
Working on a fix. It'll put it on the market by the end of the weekend. There's an option in "Settings" to not use the wifi when checking for location in the meantime.
New Version
Updated version now on the market. Change log in main post.
Update
New Version with UI enhancements and Google Maps in Market now.
Calendar Silencer is an app that is responsible for muting your phone during meetings / dates / movies .... and unmuting your phone when the meeting ended.
features included:
import events from all or specified calendars
creating filters based on words or phrase that you don't want your event to include
enable notification before the alarm start
choose silent mode (silent , silent + vibrate)
Precede event to now in case meeting start early
postpone event based on user's interval
open original event to edit
Auto schedule events ( auto poilot mode ) - full version feature
contacts exception - enable specified contacts to override silent mode full version feature
quick tutorial - settings
specify which calendars you want to watch - default all.
choose silent mode - silent or vibrate.
enable notifications - enable this to receive notification a minute before the event start .
choose time to scan - select how much time you wish for the app to scan ahead.
quick tutorial - settings
from the main screen slide left or press the right button on the top right corner to move to events screen.
from the events screen tap menu and "update from calendar" to get a list updated events.
tap on an event to get list of actions.
actions include :
schedule - this will schedule the event to mute when the event start
delete - delete the event from application database - not from the calendar itself
create filters - create filters from this event's title
start event now - start event now and schedule unmute when the events suppose to end for early starting meeting
postpone event for meeting the goes beyond expected
open event - open original event event in calendar for editing purpose
from the events screen slide left or press the right button on the top right corner to move to filters screen.
note that in free version there is only 1 type of filters which are "ignore this" filter.
this filter type will specify words that if found in the event title the event will be ignored/
full version feature - auto schedule filter
this filter type will auto schedule an event if the the filter exist in the event title/
from the filters screen slide left or press the right button on the top right corner to move to exceptions screen. this screen can be reached from main screen
select contacts for whom the phone will ring even in silent mode
http://market.android.com/details?id=com.swarly.silencer.app
enjoy and rate
Jesus... This is pretty darn handy for school.
Testing it now!
very handy...wish this had been around sooner as I bought Tasker and configured a bunch of profiles to serve the same purpose as what this app seems to do much more simply. Looks great
Not bad
How about Touchdown support? That would make this incredibly handy for Exchange users!
navalynt said:
How about Touchdown support? That would make this incredibly handy for Exchange users!
Click to expand...
Click to collapse
Touchdown actually does not sync anything to the device.
since this app read local synced events it can't read Touchdown settings or data (events for that matter).
If you wish to use Exchange calendar you can always sync your exchange account to the device using ActiveSync like this
settings -> accounts and sync -> add account -> Microsoft Exchange ActiveSync
once you synced you device this app will be able to read Exchange calendar.
anyway thanks for the advice and ill try to add support for remote Exchange
update:
i added an "add new calendar account " button in settings for those who don't have their account configured
I bought the full version but just can't get it to work.
I went to "Events list" and pressed menu > Update from calendar, and I can see all my events in the list. But it just says "will schedule - event".
Then I go to the "Filters list" and see "all. schedule", yet my phone does not go silent when my events start.
The on/off button is very confusing. When the button is red and says "off", does it mean that it is off, or that I should press it if I wish to turn it off?
Thanks!
8ESP said:
I bought the full version but just can't get it to work.
I went to "Events list" and pressed menu > Update from calendar, and I can see all my events in the list. But it just says "will schedule - event".
Then I go to the "Filters list" and see "all. schedule", yet my phone does not go silent when my events start.
The on/off button is very confusing. When the button is red and says "off", does it mean that it is off, or that I should press it if I wish to turn it off?
Thanks!
Click to expand...
Click to collapse
Hi.
the on/off button indicate the current state, meaning when the button is green and it's say "on" that mean that auto schedule is enabled
"all schedule" is the default filter that indicate that all events will be scheduled.
please pay attention that even event will be scheduled automatically only if the on/off button is in "on" state.
Pay attention that Calendar Silencer will not schedule events that already in progress, for example if you have event that start in 12:00 and you started the auto schedule in 12:05 the event will not be schedule.
if you enabled notifications please notice that the notification will disappear once the event has started, pressing the notification will clear the notification but also will cancel the alarm
let me know if have any more problems
Still nothing.
http://i.imgur.com/4avGn.png
http://i.imgur.com/Upp6O.png
http://i.imgur.com/U0UXg.png
What am I missing?
MIUI rom HTC Desire.
*edit*
It was MIUIs fault, thanks for the support Swarly!
The app now works brilliantly! Highly recommended!
fix for MIUI Rom
Disable option Settings>Programs>Calls>Anti wiretapping and it should work
I've been using a different app that seems to have this same feature set, and has been around longer.
How is this better than other competing apps that perform the same functions?
timehunter said:
I've been using a different app that seems to have this same feature set, and has been around longer.
How is this better than other competing apps that perform the same functions?
Click to expand...
Click to collapse
I cant compare these competing apps you are talking about because i don't know exactly what apps are you talking about .
I can answer you this:
before i wrote this app i looked in the market for something that will fulfill these requirements:
easy to use
work with synced calendars like exchange or Gmail calendar
will have to option to fire and forget
i downloaded several apps including paid ones and I couldn't find what i was looking for.
the ones that was simple couldn't work with synced calendars.
and those who could work with synced calendars were overkill ( profile apps that could do almost anything ) were to complicated to operate and demanded a lot of configurations and frustration.
So I decided to do my best to fulfill the goals i wrote to myself and try to keep it as simple as possible .
Because I cant look at every tool/app that exist in the market there may be an app out there that does serve the same functionality , but odds are that it either not do exactly the same or is a lot more complicated then this one.
Regards
Swarly
error during level 2
i've been using tasker but recently i starder cleaning my app list and noticed that i was using a mighty appp like tasker for just silencing the phoe when i was "busy" in my calendar.
i found your app which probably does what i want but i got intro trouble with it. i get an error when i try to turn it on (error during level 2) and the app crashes when i want to switch to the events tab (second tab).
also i haven't been able to test the filter option: i just want my phone to go silent when o am "busy" in the calendar - that's it. does the filter option allow for such a setup?
I've been looking for something like this since I first got an android phone THanks!
cpitzu said:
i've been using tasker but recently i starder cleaning my app list and noticed that i was using a mighty appp like tasker for just silencing the phoe when i was "busy" in my calendar.
i found your app which probably does what i want but i got intro trouble with it. i get an error when i try to turn it on (error during level 2) and the app crashes when i want to switch to the events tab (second tab).
also i haven't been able to test the filter option: i just want my phone to go silent when o am "busy" in the calendar - that's it. does the filter option allow for such a setup?
Click to expand...
Click to collapse
hi
Unfortunately busy mode is not yet supported in this app but its a good idea i will add asap.
please check the program version I'm updating and fixing bug almost on daily basis.
the current program version is 1.2.24
additionally if you can please report the problem using the report error button so i can have an idea about where to start looking for problems
about the error please let me know what kind of device you have
finally I started my semester and once the courses started i found some bugs and problems with my app
* fixed bug for overlapping event
* fixed bug with contact exception functionality
* minor bugs regarding event scheduling were fixed
I'll publish another big update soon that will be focused on performance.
as promised I released big update
major Performance update - from now list load faster and scroll much smother
overlaping event detection method was changed from the core from now no more false detection that caused problems
added warings to warn users that don't have calendars installed
as always I"m open to new suggestions and improvement ideas
This version is deprecated. The new version is here
MCU version: MTCD_ХХХХ, MTCE_ХХХХ, MTCP_ХХХХ
Firmware version: 4.0.0 (01.02.2020)
Version of the latest OTA update: 4.2.2 (06.02.2022)
About firmware:
Firmware for car head units on the MTCD-MTCE platform with Rockchip PX5 (rk3368), PX6 (rk3399), PX30 (rk3326) processors and a screen resolution of 800x480, 1024x600 or 1280x720 based on Android 9 .
This is a further development of the Hal9k Mod v3 based on Android 8.
# Thanks AndroidAutoShop for the equipment provided for development.
The basic version of the firmware, in the form in which it is posted here, is distributed free of charge for private use and has no performance limitations
Commercial use of firmware or its parts and algorithms is prohibited
Any change to the firmware of the head unit is a potentially dangerous operation. Therefore, the Mod is provided on an “as is” basis. The author is not responsible for any possible negative consequences.
The main advantages of this firmware:
Stock design
High stability
Advanced functionality
Correction of existing errors and deficiencies in stock firmware
Customizability. All additions and modifications can be customized to your taste.
Changes are made directly in the application code, without using the Xposed framework
Increased responsiveness compared to the stock + the ability to independently improve this indicator
System requirements ( Settings> System> About device (About tablet) )
The model starts with px5 (rk3368) or px6 (rk3399) or px30 (rk3326_mid)
Android version starts with 9 or 8.0 or 6.0
The MCU version starts with MTCD or MTCE . Further there can be any letters, two, three, four - it does not matter.
"About device" screen samples
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It is also necessary to be able to enter the recovery mode.
Firmware Reviews:
Video review by Alex's Android Radio (English)
Video review by Alex's Android Radio (Deutsch)
Video review by ES. (Русский)
List of changes:
4.2.2 OTA-package (06.02.2022)
Fix for OK Google - App removed
Version 5 Notification
4.2.1 OTA-package (10.03.2021)
Minor bug fixes
Updated translations
4.2.0 OTA-package (06.09.2020)
Updated base firmware to version 202005
Minor bug fixes
Updated translations
4.1.0 OTA-package (25.07.2020)
Updated base firmware to version 201912
Changed rules for distributing processes by processor cores
This had a positive effect both on the system as a whole and on the GPS.
GPS starts working normally about a minute after waking up from prolonged (night) sleep
Added screen filter for additional screen dimming in night mode
For the convenience of controlling the brightness level in this mode, a slider has been added next to the daytime brightness
Added the ability to adjust the volume from third-party applications
Added configurable autostart of packages or activities and services after starting the OS
A new way to install additional launchers included in the firmware.
They are now installed as updates to the built-in launcher. The widgets are working fine.
If there are widgets in the folder with the launcher, then first you need to install them, and then the launcher
Replaced KGL and ZH launchers with HA and HA2. Added exclusive launcher from Alex's Android Radio
Other launchers not included in the firmware are located here
Fixed a bug with getting covers from some players and the Radio application
Added display of radio station logos on the widget in the built-in launcher
Added the ability to disable the display of pop-up messages over the launcher
Fixed a bug of restarting third-party applications that worked before going to sleep
Fixed image mirroring bug when switching from front to rear camera
Pressing the Fcam button again now closes the front camera app
Added the ability to disable the device shutdown message
Tap on the clock widget in the built-in launcher now starts the screensaver instead of the clock
Added GPS chip reset to factory defaults when GPS receiver advanced setting is disabled. Relevant for PX30
Updated ViPER4Android FX and GPS Test Plus apps
Updated translations
4.0.2 OTA-package (05.04.2020)
Added to "Advanced GPS receiver setup":
Possibility of a choice of frequency of measurements for the GPS receiver: 1,2,5 and 10 Hz
Ability to use BeiDou satellites instead of Glonass (only for PX5 and PX6)
The Navi button now switches between the navigation application and the last launched player, which is included in the "List of media players that should not work together"
Third-party applications can now set the time zone on the device. Tested on the latest version of Navitel 9.12.58
If the application has already been installed, then to enable this mode, you must reinstall it
Especially for BMW car owners, the function "Replacing key codes" from Mod v3 is returned
Added the ability to send media information from embedded applications to third-party widgets
Added the ability to control embedded media applications from third-party widgets
Added the ability to display logos of radio stations on the screen saver and in media widgets for the embedded radio app
Files with logos should be located in the Pictures/Radio folder created on the device’s internal memory
Format: PNG, JPG. Image sizes up to 320x320
File names: 10250.png (102.50 MHz) for the default group of radio stations. A10340.png, B10340.jpg, etc. (103.40 MHz) for other groups
A new design of pop-up messages with media information has been made
Added the ability to adjust the duration of the display of such messages
Added default album art for embedded media applications. You can replace them with yours in the settings.
Added the ability to include packages without a launcher in the white list
Fixed display of screen saver on devices where large font is selected in the settings
New in screen saver:
You can swap the indicators on the left and right
Added ability to select text color for indicators
In addition to Yandex.Weather, the temperature can be taken from Accuweather and Yahoo.Weather notifications
You can remove information about the track number from pop-up messages. This also affects the screen saver
Temperature and voltage now appear on the screen saver immediately after it starts
Fixed a bug in the rear view camera application, due to which the application crashed if you turn on the navigation bar
Pause for third-party media players when making a call or pressing the Mute button
4.0.1 OTA-package (09.01.2020)
Advanced configuration of the GPS receiver chip, which includes:
Use of Galileo and IMES satellite navigation systems in addition to existing ones. The number of visible satellites increased by about a third
Frequency of measurements of geolocation increased by 10 times. Navigation apps respond faster to changes in course or speed
The lag of the marker from the real position is reduced to the minimum, which means that navigation applications report faster about the upcoming maneuver
Enabled positioning acceleration AssistNow Autonomous. A cold start of the GPS receiver takes about one minute.
A dynamic navigation model is set - for cars, not for phones, as set by default
Any differential correction satellites are used
Unfortunately, not all of this works for PX30 devices, since they have a less functional GPS receiver chip
Updated GPS Test Plus application (see screenshot). The satellites marked in circles are GPS on the left of the screen and Galileo on the right
Ability to configure the speed of the USB OTG port (USB 2.0 or USB 1.1). This allows you to remove clicks that interfere with listening to music via USB DAC.
Ability to set default TTL in the range from 63 to 65
Ability to disable the Ethernet interface for using Wi-Fi without physically disconnecting the USB modem. Ability to configure Ethernet interface parameters
The ability to mirror the image from the front view camera by default. Useful for those who put a rear view camera on the front of the car.
Color selection for dynamic parking lines
The ability not to turn off the sound from other applications after launching the applications AV input and DVR
Gesture control and background playback enabled for the Video application
The ability to disable option "Mute button pauses playback"
Added a black list of applications that do not allow to start the screen saver. Now you can make the screen saver always run, except when the applications in the list are on the screen
The z-link application should work
Bugs fixed in the default launcher:
Now you can create widgets "Direct dial" and "Direct message". Both widgets will launch a phone call to the selected number
The radio frequency on the widget is not reset after changing the theme
Updated script from b-max for reconnecting freezing USB hubs
4.0.0 (24.11.2019)
Full root access is preinstalled (Magisk v20.1)
It is possible to write to system partitions, control access to applications, hide root from some applications, and install additional modules
The built-in update does not work on Rockchip devices.
Firmware is completely reodexed with optimization for the processor. This gives some increase in system speed.
Scrolling a long name in the phone book
Equalizer call button in Radio, Music and Video
New actions for buttons on the steering wheel, including double actions (example: the "Back" button will hang up when there is an active call)
All elements of the status bar are in the same style and change their color depending on the background color. All items can be disabled
Removed restriction on 4 icons in the status bar
Navi and F-Cam tiles added
Players added to the "List of media players that should not work together" no longer close when going to sleep
An alternative Equalizer has been added to OEM. It is installed as an update of the built-in Equalizer using the ApkInstaller application.
The interface shown in the screenshot appears only on devices with DSP !
Return to the stock version by removing updates in the properties of the "Amplifier" application
New screensavers
In applications, translation into different languages has been fixed and added (now 12 languages have been changed).
Thanks to our translation team:
de maus05, Toto1365, Ati_gangster
el grigoris_a
it mrgiaco, DanveRt
cs Bugscze
hr dankec2000
hu didu73
nl ZeroZorro
fr mykerinos1
sv kupa
es segu45
pl tomkam
ua DanveRt
Inherited from previous versions:
Added the ability to receive OTA updates via the Internet
Added Lada logo
Added support for init.d
You can put your scripts in the /etc/init.d folder and they will be launched at system startup
New default settings:
English language and date format, time zone CET
Screen saver timeout - 2 minutes, options added: 10 and 30 minutes
Watching video while driving - enabled
GPS time update - enabled
Navigation sound mode - mixing
Navigation mixing ratio - 2
Prohibition of connection to data services in roaming
Rreversing volume - 4
Screen brightness at night - 20%
Added the ability to adjust the speed at which the video will be disabled
Added auto tuning APN for Tele2
Deleted applications: System Tests and EasyConnected
Gmail, Google Speech Synthesizer, Google Maps and YouTube transferred from system applications to third-party
Now they can be simply deleted in Settings if they are not needed.
Added the latest Russian voice package for Google Speech Synthesizer. Speech synthesis works without a network connection
The latest Russian language pack for offline speech recognition is preinstalled
Added synchronization of Contacts and Calendar with Google account
Time zones updated to the latest version
Preinstalled ViPER4Android
Added the ability to change the ringtone to any of the ringtones in the folder (not for all Bluetooth modules)
Added the ability to change the default TTL to bypass restrictions on the distribution of the Internet from mobile devices
Added script from b-max for reconnecting freezing USB hubs
By default it is turned off, it can be turned on in the Mod Settings
Added ability to disable full-screen keyboard
Added the ability to transfer the status bar to the bottom of the screen (Experimental option)
A list of applications that have access to USB devices has been made
Allows you to get rid of the annoying request for access
In Launcher, the date is displayed in the format corresponding to the setting in the "Date and Time" menu
Added background for messages from CanBus app
Contacts application turned on
Contacts and Google applications now call via MTCDialer without additional settings
A list of applications that allow to start the screen saver has been made
You can add, for example, a third-party launcher or player
Added a white list of applications that do not close when going to sleep, with the ability to configure
A list of media players that restart after sleep has been made
I have included a PCRadio player on this list. Now it starts playback correctly after waking up from sleep, if it was started while going to sleep
In its settings, you must enable the switch "Resume playback when the application starts." You also need to remove it from the white list, if it was added to it.
Added the ability to disable restarting applications that worked before going to sleep
Made a list of navigational apps that muffle other sounds when playing voice prompts.
The list should include all navigation applications, including the one that is set by default to the Navi button.
Added the ability to assign the last launched navigation application to the Navi button, to switch between navigation and player
A separate list of navigation applications using the Speech Synthesizer has been made to muffle other sounds when playing voice prompts
To use it, you need to add the navigation application to the "List of navigational applications using TTS that muffle other sounds" and select "Text-to-speech engine that muffle other sounds"
Added volume control in the style typical of AV equipment from the 7floor module
Added the ability to display the volume control on top, in the middle or at the bottom of the screen
Added the ability to adjust the time during which the volume control remains on the screen after changing the volume value
A list of media players that should not work together has been made. This list is an addition to the corresponding system list.
If one of the players included in this list is launched, then the rest are closed
Added the ability to edit the list of applications that are switched by the Mode button
Added the ability to select applications that will run instead of stock apps. You can start your player with a button on the steering wheel
The size of the number on the volume control is increased and made white
Added items to Settings: Home app (launcher selection), Navigation bar (located on the left in some firmwares), Start navigation after boot, Mobile network and For developers
In Settings - About device, an item with system information has been added
An on-screen power button has been made in the status bar.
Single tap - start the screen saver.
Double tap - take a screenshot.
Triple tap - kill the active application.
Long press - shutdown menu.
Added items to the shutdown menu: Restart, Safe mode, Recovery mode
Added the ability to disable all elements of the status bar
Disabled by default: Home button, Storage icons, Volume and Screen brightness icons. The Back button is moved from right to left. All items are customizable
Added the ability to lock the device as on regular Android system
The lock is turned on after the device reboots or wakes up from sleep
You can also turn on the lock after starting the Android screensaver or manually from the shutdown menu
Added volume control depending on speed
Added display of pop-up messages with media information from third-party media players.
Third-party media players must be added to the appropriate list.
Added list of applications that will work in full screen mode (immersive mode)
In the Bluetooth application, the name field in the phone book is expanded
During a call, if you minimize the notification, the lower part of the screen remains clickable
Also, the notification does not overlap the status bar, if it is below
Added display of pop-up messages with information about the track played through A2DP
It is possible to adjust the size and color of the font and the duration of the message
In the Video application, the playlist is expanded and the replay is disabled by default
Sorting in alphabetical order, not case sensitive for lists of folders and tracks
In the Music application, the playlist is expanded and the replay is disabled by default
Added downloading lyrics from the network
The player is paused when an incoming call or pressing the Mute button
Sorted in alphabetical order, not case sensitive for lists of folders and tracks
Added display of pop-up messages with information about the track being played. It is possible to adjust the size and color of the font and the duration of the message
Skipped to the next folder in the list after playing the last track in the current folder in sequential playback mode
Added the transition to the previous/next folders by the buttons of the steering wheel seekdown/seekup and by a long tap on the screen buttons prev/next
Radio - the moving RDS text has been removed from the buttons of the saved stations. Added the ability to assign names to saved radio stations
If the name for the stored frequency has not been previously set, text from RDS is proposed.
Added display of pop-up messages with information about the radio station. It is possible to adjust the size and color of the font and the duration of the message
Added the ability to select a group of radio stations
If you are going to another place where other radio stations work, you can select another group and tune the stations again, and upon returning home, select the default group again and your settings will be restored
Added custom parking lines. Thanks for Incognito+
The functionality of Screensavers (Daydream) is included. This allows you to install any screensaver from the Play Market
In order for the Android screensaver to work, it must be turned on in the Mod Settings
A new screensaver has been added, which displays the time and date, information from players (not only stock ones), volume level, speed, as well as temperature and voltage if this data is available
To display the real temperature you need a CAN adapter and the presence of temperature in the status bar, and to display the voltage - MCU 2.93 and higher
It is possible to customize the appearance of the screen saver: colors, background image, maximum value for the speed indicator
There is a display of covers for most third-party players and radio station icons for PCRadio
For correct operation, I recommend adding your players to the "List of media players that should not work together"
There is a display of recommendations when moving along the route for Yandex.Navigator, Yandex.Maps, Google Maps, Sygic GPS Navigation & Maps
There is a temperature display from Yandex.Weather notification, if temperature data does not come from the CAN adapter
During the screen saver’s operation, the volume control is not shown
Added the ability to select from 12 regular screen savers
6 launchers and their widgets (AY, GS, HCT2, HCT3, KGL, ZH) have been added to OEM.
For Tasker fans, the ability to assign the numbers 1-9, 0, and the symbols * and # to the steering wheel buttons has been added.
Intent = "com.microntek.report.event"
Extra "type" = "key"
Extra "value" = button code.
Other changes aimed at improving stability and usability.
A lot of work has been done to provide support for new Android 9 firmware, although this is not visible from the outside.
The ideas of some improvements are taken from the module xposed-mtce-utils and other modules with permission of the author, MVG-V70. Thank him very much for that.
But implemented without using the Xposed framework.
Installation:
When switching from any other firmware, user data will be cleared automatically!
When upgrading from a previous version, wipe data is not required. But it is recommended if there are any problems.
For stable operation of the device, it is recommended to update the MCU firmware to the latest: 3.40 and higher, or to the latest version available for your device
You can obtain the MCU firmware from the seller of your HU or search in cs-x collection
Update from Android 9:
The installation is similar to a regular firmware update
Copy the firmware file update.zip to a USB flash drive / SD memory card formatted in FAT32
Insert a USB flash drive / SD memory card into the device
In the window that appears, click "Install"
After installation, the device will automatically restart one more time to complete the installation of Magisk.
When installing from a SD memory card, installation may take longer!
Update from Android 6, 8:
Requires updating the recovery version to Android 9
Simple and safe way: Use the application ModInstaller Pro (link to the application in the readme.txt file, which is located in the archive with the firmware or in my signature at the bottom of this post)
Complicated and unsafe way: look for information in this thread
Update from Android 8 with saving data:
Only for PX5 devices!
The archive contains 2 special packages that can be used to switch from Android 8 without data loss
Connect to the HU with Android 8 firmware (Mod v3.x) one USB flash drive formatted in FAT32.
There should be enough free space on the flash drive to save the device’s internal storage
Install the package update.zip from the folder backup8 from the same flash drive or from the SD card
A multivolume archive with your data (userdata*) will be created on the USB flash drive.
Install mod v4.x by the method above
After the full installation of Android 9, connect a USB flash drive with archive to the HU
Install the package update.zip from the folder restore9 from the same flash drive or from the SD card
Reboot the HU.
The first boot of Android 9 after restoring the archive from Android 8 may last longer than usual. The system needs time to convert data
This method does not guarantee full functionality of all third-party applications that were installed in Android 8.
If you encounter any problems - reset device to factory settings
Additions:
EasyConnected from stock firmware
Automatic backlight control for PX5-based head units
Internet speed in status bar
Autostart applications
FAQ:
Q: How to get OTA updates?
A: Information is on my site. You will find the link in the archive with firmware or in my signature at the bottom of this post
Q: How to automatically install my applications after installing the firmware?
A: Create the hct folder on the flash drive with the firmware, the apk folder in it and put your apk in it. They will be automatically installed after the installing the firmware.
Q: How to connect the OBD adapter?
A: This can be done both from the Bluetooth application, and from the Bluetooth item in the settings. The main thing - before you click on the adapter found, you must wait until the scan finished. Wait until the spinning circle disappears in the Bluetooth application or until the inscription "Search..." changes to the inscription "Refresh" in Settings. Then pairing goes smoothly. If the phone is already connected, you will need to temporarily disconnect it.
Q: How to start any application from a button on the steering wheel?
A: Mod settings - Manage applications - Applications that run instead of the stock . Assign any of the six applications that you don’t use to the button, then choose a replacement for it in the form of some kind of player, for example. This button will start your player
Q: Bluetooth MD725 does not work, although everything worked in Android 6!
A: If the MD725 type 2 Bluetooth module is installed in your HU, then it will not work in Android 9. The reason is that its driver was removed from Android 9.
Q: How do I know if I have such a Bluetooth module?
A: On the first page of the factory settings, in item BT, MD725 is selected. The getprop bt.md725.type command executed in the terminal answers "2"
Solution: replace the module with type 1
Q: Bluetooth SD-968 does not work, although everything worked in Android 8!
A: If the SD-968 Bluetooth module with firmware made in March 2017 or earlier is installed in your HU, then it works in Android 8, but does not work in Android 9.
Solution: replace the module driver /system/bin/sdsdk968 with the old version. Do not forget to set permissions 755 on the file.
Or replace the module with another type
Known Issues:
Mod is a modified factory firmware.
I can only be responsible for the changes in the device that I made. All of them are listed in the "List of changes" section.
Everything else, both good and bad, is inherited from the factory firmware.
I try to fix bugs found in the stock, but this I can’t always do it.
If you do not agree with this, do not install this firmware.
On some devices with a PX5 processor, the screen backlight sometimes does not turn on after exiting sleep mode.
After rebooting the device with the RST button or turning off the ignition for about 20-30 seconds, it continues to work.
The same problem exists on the stock and on newer version of the stock
Download:
PX5: Google Drive
PX6: Google Drive
PX30: Google Drive
If you want to help translate Mod into your language, please open this folder.
When you decide to place your translation in this folder, send me a personal message with your Google email. I will give you access.
If you think we need to translate other applications, write to me about it. I will add resources to the folder.
Version 4.0 screenshots
Version 4.0 screenshots
4.0.2 - 4.1.0 screenshots
Nice to see a dedicated English thread for this ROM here.Been waiting for this for a long time.
In regard to the ROM, nothing to say because it´s amazing. Been using this since Dec and have only had a black screen twice till date. With the stock Rom, i have this every week. So this is an improvement.
the only issue i have is my default music player 50% of the time dont automatically continue playing after waking up from sleep.
Good job Hal9k
Congratulations @Hal9k_ for this fantastic ROM....glad to know the english thread finally is here..
Enviado desde mi SM-G975F mediante Tapatalk
Thanks for starting new thread for Mod 4
Like to give some infos and suggestions about the newest Mod 4. My headunit is a PX5 from Dasaita with 4GB/32GB. Originally bought with Android 8. Installed in a Honda HRV 2016.
Until now I've found some issues in this rom. Generally it's working really well.
radio app: the field for the RDS text is imho too small. No chance to get any info from this tiny scrolling text while driving. Better redesign the app and place the RDS text below the frequency band with full width (see screenshot).
radio app: in night mode the additional settings (stereo, local, FMx..) in the right circle, where the frequeny or channel name is visible, cannot be seen because the fontcolor doesn't change with day/night mode. It's the same darkgrey like in day mode (see screenshot).
screen saver: the font for speed and volume looks very digitally ugly (old style) and is hard to read. Better use the same font like for the time.
sleep mode. I used the auto sleep mode to get the fast boot up. But now I had to replace a 10 month old battery of the car. Seems the rom takes to much energy while sleeping? Can you check this to be sure it's no problem in the rom? In the moment I'm using the complete shutdown to avoid problems. Also other people mentioned this topic.
Hal9k_ said:
Firmware version: 4.0.0 (01.02.2020) rebuild
MCU version: MTCD_ХХХХ, MTCE_ХХХХ
About firmware:
Firmware for car head units on the MTCD-MTCE platform with Rockchip PX5 (rk3368), PX6 (rk3399), PX30 (rk3326) processors and a screen resolution of 800x480, 1024x600 or 1280x720 based on Android 9 .
This is a further development of the Hal9k Mod v3 based on Android 8.
# Thanks AndroidAutoShop for the equipment provided for development.
The basic version of the firmware, in the form in which it is posted here, is distributed free of charge for private use and has no performance limitations
Commercial use of firmware or its parts and algorithms is prohibited
Any change to the firmware of the head unit is a potentially dangerous operation. Therefore, the Mod is provided on an “as is” basis. The author is not responsible for any possible negative consequences.
The main advantages of this firmware:
Stock design
High stability
Advanced functionality
Correction of existing errors and deficiencies in stock firmware
Customizability. All additions and modifications can be customized to your taste.
Changes are made directly in the application code, without using the Xposed framework
Increased responsiveness compared to the stock + the ability to independently improve this indicator
System requirements ( Settings> System> About device (About tablet) )
The model starts with px5 (rk3368) or px6 (rk3399) or px30 (rk3326_mid)
Android version starts with 9 or 8.0 or 6.0
The MCU version starts with MTCD or MTCE . Further there can be any letters, two, three, four - it does not matter.
"About device" screen samples
View attachment 4943947View attachment 4943949View attachment 4943951
It is also necessary to be able to enter the recovery mode.
Firmware Reviews:
Video review by Alex's Android Radio (English)
Video review by Alex's Android Radio (Deutsch)
Video review by ES. (Русский)
List of changes:
4.0.1 OTA-package (09.01.2020)
Advanced configuration of the GPS receiver chip, which includes:
Use of Galileo and IMES satellite navigation systems in addition to existing ones. The number of visible satellites increased by about a third
Frequency of measurements of geolocation increased by 10 times. Navigation apps respond faster to changes in course or speed
The lag of the marker from the real position is reduced to the minimum, which means that navigation applications report faster about the upcoming maneuver
Enabled positioning acceleration AssistNow Autonomous. A cold start of the GPS receiver takes about one minute.
A dynamic navigation model is set - for cars, not for phones, as set by default
Any differential correction satellites are used
Unfortunately, not all of this works for PX30 devices, since they have a less functional GPS receiver chip
Updated GPS Test Plus application (see screenshot). The satellites marked in circles are GPS on the left of the screen and Galileo on the right
Ability to configure the speed of the USB OTG port (USB 2.0 or USB 1.1). This allows you to remove clicks that interfere with listening to music via USB DAC.
Ability to set default TTL in the range from 63 to 65
Ability to disable the Ethernet interface for using Wi-Fi without physically disconnecting the USB modem. Ability to configure Ethernet interface parameters
The ability to mirror the image from the front view camera by default. Useful for those who put a rear view camera on the front of the car.
Color selection for dynamic parking lines
The ability not to turn off the sound from other applications after launching the applications AV input and DVR
Gesture control and background playback enabled for the Video application
The ability to disable option "Mute button pauses playback"
Added a black list of applications that do not allow to start the screen saver. Now you can make the screen saver always run, except when the applications in the list are on the screen
The z-link application should work
Bugs fixed in the default launcher:
Now you can create widgets "Direct dial" and "Direct message". Both widgets will launch a phone call to the selected number
The radio frequency on the widget is not reset after changing the theme
Updated script from b-max for reconnecting freezing USB hubs
4.0.0 (24.11.2019)
Full root access is preinstalled (Magisk v20.1)
It is possible to write to system partitions, control access to applications, hide root from some applications, and install additional modules
Firmware is completely reodexed with optimization for the processor. This gives some increase in system speed.
Scrolling a long name in the phone book
Equalizer call button in Radio, Music and Video
New actions for buttons on the steering wheel, including double actions (example: the "Back" button will hang up when there is an active call)
All elements of the status bar are in the same style and change their color depending on the background color. All items can be disabled
Removed restriction on 4 icons in the status bar
Navi and F-Cam tiles added
Players added to the "List of media players that should not work together" no longer close when going to sleep
An alternative Equalizer has been added to OEM. It is installed as an update of the built-in Equalizer using the ApkInstaller application.
Return to the stock version by removing updates in the properties of the "Amplifier" application
New screensavers
In applications, translation into different languages has been fixed and added (now 12 languages have been changed).
Thanks to our translation team:
de maus05, Toto1365, Ati_gangster
el grigoris_a
it mrgiaco, DanveRt
cs Bugscze
hr dankec2000
hu didu73
nl ZeroZorro
fr mykerinos1
sv kupa
es segu45
pl tomkam
ua DanveRt
Inherited from previous versions:
Added the ability to receive OTA updates via the Internet
Added Lada logo
Added support for init.d
You can put your scripts in the /etc/init.d folder and they will be launched at system startup
New default settings:
English language and date format, time zone CET
Screen saver timeout - 2 minutes, options added: 10 and 30 minutes
Watching video while driving - enabled
GPS time update - enabled
Navigation sound mode - mixing
Navigation mixing ratio - 2
Prohibition of connection to data services in roaming
Rreversing volume - 4
Screen brightness at night - 20%
Added the ability to adjust the speed at which the video will be disabled
Added auto tuning APN for Tele2
Deleted applications: System Tests and EasyConnected
Gmail, Google Speech Synthesizer, Google Maps and YouTube transferred from system applications to third-party
Now they can be simply deleted in Settings if they are not needed.
Added the latest Russian voice package for Google Speech Synthesizer. Speech synthesis works without a network connection
The latest Russian language pack for offline speech recognition is preinstalled
Added synchronization of Contacts and Calendar with Google account
Time zones updated to the latest version
Preinstalled ViPER4Android
Added the ability to change the ringtone to any of the ringtones in the folder (not for all Bluetooth modules)
Added the ability to change the default TTL to bypass restrictions on the distribution of the Internet from mobile devices
Added script from b-max for reconnecting freezing USB hubs
By default it is turned off, it can be turned on in the Mod Settings
Added ability to disable full-screen keyboard
Added the ability to transfer the status bar to the bottom of the screen (Experimental option)
A list of applications that have access to USB devices has been made
Allows you to get rid of the annoying request for access
In Launcher, the date is displayed in the format corresponding to the setting in the "Date and Time" menu
Added background for messages from CanBus app
Contacts application turned on
Contacts and Google applications now call via MTCDialer without additional settings
A list of applications that allow to start the screen saver has been made
You can add, for example, a third-party launcher or player
Added a white list of applications that do not close when going to sleep, with the ability to configure
A list of media players that restart after sleep has been made
I have included a PCRadio player on this list. Now it starts playback correctly after waking up from sleep, if it was started while going to sleep
In its settings, you must enable the switch "Resume playback when the application starts." You also need to remove it from the white list, if it was added to it.
Added the ability to disable restarting applications that worked before going to sleep
Made a list of navigational apps that muffle other sounds when playing voice prompts.
The list should include all navigation applications, including the one that is set by default to the Navi button.
Added the ability to assign the last launched navigation application to the Navi button, to switch between navigation and player
A separate list of navigation applications using the Speech Synthesizer has been made to muffle other sounds when playing voice prompts
To use it, you need to add the navigation application to the "List of navigational applications using TTS that muffle other sounds" and select "Text-to-speech engine that muffle other sounds"
Added volume control in the style typical of AV equipment from the 7floor module
Added the ability to display the volume control on top, in the middle or at the bottom of the screen
Added the ability to adjust the time during which the volume control remains on the screen after changing the volume value
A list of media players that should not work together has been made. This list is an addition to the corresponding system list.
If one of the players included in this list is launched, then the rest are closed
Added the ability to edit the list of applications that are switched by the Mode button
Added the ability to select applications that will run instead of stock apps. You can start your player with a button on the steering wheel
The size of the number on the volume control is increased and made white
Added items to Settings: Home app (launcher selection), Navigation bar (located on the left in some firmwares), Start navigation after boot, Mobile network and For developers
In Settings - About device, an item with system information has been added
An on-screen power button has been made in the status bar.
Single tap - start the screen saver.
Double tap - take a screenshot.
Triple tap - kill the active application.
Long press - shutdown menu.
Added items to the shutdown menu: Restart, Safe mode, Recovery mode
Added the ability to disable all elements of the status bar
Disabled by default: Home button, Storage icons, Volume and Screen brightness icons. The Back button is moved from right to left. All items are customizable
Added the ability to lock the device as on regular Android system
The lock is turned on after the device reboots or wakes up from sleep
You can also turn on the lock after starting the Android screensaver or manually from the shutdown menu
Added volume control depending on speed
Added display of pop-up messages with media information from third-party media players.
Third-party media players must be added to the appropriate list.
Added list of applications that will work in full screen mode (immersive mode)
In the Bluetooth application, the name field in the phone book is expanded
During a call, if you minimize the notification, the lower part of the screen remains clickable
Also, the notification does not overlap the status bar, if it is below
Added display of pop-up messages with information about the track played through A2DP
It is possible to adjust the size and color of the font and the duration of the message
In the Video application, the playlist is expanded and the replay is disabled by default
Sorting in alphabetical order, not case sensitive for lists of folders and tracks
In the Music application, the playlist is expanded and the replay is disabled by default
Added downloading lyrics from the network
The player is paused when an incoming call or pressing the Mute button
Sorted in alphabetical order, not case sensitive for lists of folders and tracks
Added display of pop-up messages with information about the track being played. It is possible to adjust the size and color of the font and the duration of the message
Skipped to the next folder in the list after playing the last track in the current folder in sequential playback mode
Added the transition to the previous/next folders by the buttons of the steering wheel seekdown/seekup and by a long tap on the screen buttons prev/next
Radio - the moving RDS text has been removed from the buttons of the saved stations. Added the ability to assign names to saved radio stations
If the name for the stored frequency has not been previously set, text from RDS is proposed.
Added display of pop-up messages with information about the radio station. It is possible to adjust the size and color of the font and the duration of the message
Added the ability to select a group of radio stations
If you are going to another place where other radio stations work, you can select another group and tune the stations again, and upon returning home, select the default group again and your settings will be restored
Added custom parking lines. Thanks for Incognito+
The functionality of Screensavers (Daydream) is included. This allows you to install any screensaver from the Play Market
In order for the Android screensaver to work, it must be turned on in the Mod Settings
A new screensaver has been added, which displays the time and date, information from players (not only stock ones), volume level, speed, as well as temperature and voltage if this data is available
To display the real temperature you need a CAN adapter and the presence of temperature in the status bar, and to display the voltage - MCU 2.93 and higher
It is possible to customize the appearance of the screen saver: colors, background image, maximum value for the speed indicator
There is a display of covers for most third-party players and radio station icons for PCRadio
For correct operation, I recommend adding your players to the "List of media players that should not work together"
There is a display of recommendations when moving along the route for Yandex.Navigator, Yandex.Maps, Google Maps, Sygic GPS Navigation & Maps
There is a temperature display from Yandex.Weather, if temperature data does not come from the CAN adapter
During the screen saver’s operation, the volume control is not shown
Added the ability to select from 12 regular screen savers
6 launchers and their widgets (AY, GS, HCT2, HCT3, KGL, ZH) have been added to OEM.
To install the launcher:
Run the ApkInstaller application, Install - OEM - Launcher code (for example, AY) - install .apk file
Press Home - the request "Use LaucherXX as Home" appears
Select the installed launcher and click "Just once" or "Always."
In the latter case, this question will no longer appear, a new launcher will always be used.
To install launcher widgets, you must:
Install .apk widgets and launcher
Add any widget to your desktop
Give permission (see screenshot).
Delete the launcher and reinstall (or clear the launcher data)
For Tasker fans, the ability to assign the numbers 1-9, 0, and the symbols * and # to the steering wheel buttons has been added.
Intent = "com.microntek.report.event"
Extra "type" = "key"
Extra "value" = button code.
Other changes aimed at improving stability and usability.
A lot of work has been done to provide support for new Android 9 firmware, although this is not visible from the outside.
The ideas of some improvements are taken from the module xposed-mtce-utils and other modules with permission of the author, MVG-V70. Thank him very much for that.
But implemented without using the Xposed framework.
Installation:
When switching from any other firmware, user data will be cleared automatically!
When upgrading from a previous version, wipe data is not required. But it is recommended if there are any problems.
For stable operation of the device, it is recommended to update the MCU firmware to the latest: 3.40 and higher, or to the latest version available for your device
You can obtain the MCU firmware from the seller of your HU or search in cs-x collection
Update from Android 9:
The installation is similar to a regular firmware update
Copy the firmware file update.zip to a USB flash drive / SD memory card formatted in FAT32
Insert a USB flash drive / SD memory card into the device
In the window that appears, click "Install"
After installation, the device will automatically restart one more time to complete the installation of Magisk.
When installing from a SD memory card, installation may take longer!
Update from Android 6, 8:
Requires updating the recovery version to Android 9
Simple and safe way: Use the application ModInstaller Pro (link to the application in the readme.txt file, which is located in the archive with the firmware or in my signature at the bottom of this post)
Complicated and unsafe way: look for information in this thread
Update from Android 8 with saving data:
Only for PX5 devices!
The archive contains 2 special packages that can be used to switch from Android 8 without data loss
Connect to the HU with Android 8 firmware (Mod v3.x) one USB flash drive formatted in FAT32.
There should be enough free space on the flash drive to save the device’s internal storage
Install the package update.zip from the folder backup8 from the same flash drive or from the SD card
A multivolume archive with your data (userdata*) will be created on the USB flash drive.
Install mod v4.x by the method above
After the full installation of Android 9, connect a USB flash drive with archive to the HU
Install the package update.zip from the folder restore9 from the same flash drive or from the SD card
Reboot the HU.
The first boot of Android 9 after restoring the archive from Android 8 may last longer than usual. The system needs time to convert data
This method does not guarantee full functionality of all third-party applications that were installed in Android 8.
If you encounter any problems - reset device to factory settings
Additions:
EasyConnected from stock firmware
Automatic backlight control for PX5-based head units
Internet speed in status bar
Autostart applications
FAQ:
Q: How to get OTA updates?
A: Information is on my site. You will find the link in the archive with firmware or in my signature at the bottom of this post
Q: How to automatically install my applications after installing the firmware?
A: Create the hct folder on the flash drive with the firmware, the apk folder in it and put your apk in it. They will be automatically installed after the installing the firmware.
Q: How to connect the OBD adapter?
A: This can be done both from the Bluetooth application, and from the Bluetooth item in the settings. The main thing - before you click on the adapter found, you must wait until the scan finished. Wait until the spinning circle disappears in the Bluetooth application or until the inscription "Search..." changes to the inscription "Refresh" in Settings. Then pairing goes smoothly. If the phone is already connected, you will need to temporarily disconnect it.
Q: How to start any application from a button on the steering wheel?
A: Mod settings - Manage applications - Applications that run instead of the stock . Assign any of the six applications that you don’t use to the button, then choose a replacement for it in the form of some kind of player, for example. This button will start your player
Q: Bluetooth MD725 does not work, although everything worked in Android 6!
A: If the MD725 type 2 Bluetooth module is installed in your HU, then it will not work in Android 9. The reason is that its driver was removed from Android 9.
Q: How do I know if I have such a Bluetooth module?
A: On the first page of the factory settings, in item BT, MD725 is selected. The [color = darkblue] getprop bt.md725.type [/color] command executed in the terminal answers "2"
Solution: replace the module with type 1
Q: Bluetooth SD-968 does not work, although everything worked in Android 8!
A: If the SD-968 Bluetooth module with firmware made in March 2017 or earlier is installed in your HU, then it works in Android 8, but does not work in Android 9.
Solution: replace the module driver /system/bin/sdsdk968 with the old version. Do not forget to set permissions 755 on the file.
Or replace the module with another type
Known Issues:
Mod is a modified factory firmware.
I can only be responsible for the changes in the device that I made. All of them are listed in the "List of changes" section.
Everything else, both good and bad, is inherited from the factory firmware.
I try to fix bugs found in the stock, but this I can’t always do it.
If you do not agree with this, do not install this firmware.
On some devices with a PX5 processor, the screen backlight sometimes does not turn on after exiting sleep mode.
After rebooting the device with the RST button or turning off the ignition for about 20-30 seconds, it continues to work.
The same problem exists on the stock and on newer version of the stock
Download:
PX5: Google Drive
PX6: Google Drive
PX30: Google Drive
Version 4.0 screenshots
Click to expand...
Click to collapse
Fantastic work @Hal9k_
I've just had a look at your website and saw the below, which seems to suggest that this base version is free, but to receive updates, you must pay; that is all (OTA) updates are paid for - is that correct? Or will you be releasing updates here, without payment? Please clarify.
Hal9k_ said:
If you want to support my project and receive timely online updates (OTA), subscribe to them here. This is the only way to get updates for the current version.
To do this, pay the indicated amount using one of the methods below.
Click to expand...
Click to collapse
I could be wrong, but are you saying the only way to get version v4.0.1 is to pay to receive the update via OTA? How about all future updates, those too paid?
Manfred.62 said:
Thanks for starting new thread for Mod 4
radio app: the field for the RDS text is imho too small. No chance to get any info from this tiny scrolling text while driving. Better redesign the app and place the RDS text below the frequency band with full width (see screenshot).
radio app: in night mode the additional settings (stereo, local, FMx..) in the right circle, where the frequeny or channel name is visible, cannot be seen because the fontcolor doesn't change with day/night mode. It's the same darkgrey like in day mode (see screenshot).
Click to expand...
Click to collapse
I agree in 100%. The radio player is a definite failure. I did not think that there could be a worse radio application than the one I had pre-installed, and it seems that it could be worse. In addition, the whole due to the low contrast between panels / fonts gives the impression as if it was created in low resolution.
marchnz said:
Fantastic work @Hal9k_
I've just had a look at your website and saw the below, which seems to suggest that this base version is free, but to receive updates, you must pay; that is all (OTA) updates are paid for - is that correct?
Or will you be releasing updates here, without payment? Please clarify.
I could be wrong, but are you saying the only way to get version v4.0.1 is to pay to receive the update via OTA? How about all future updates, those too paid?
Click to expand...
Click to collapse
On the russian forum is clear. This thread is just a replica of the russsian one ...but in english.
Only 4.0.0 version is free.
All the upgrades will be in form of OTA updates and only paying the 10usd (one unique payment) you can be able to get them.
If major update (like android 10) comes...I suppose he will create a mod 5.0.0 for free and OTA updates again by the same previous subscription (no other payment for 5.x.x upgrades if you were subscribed to 4.x.x)
Am I correct?
Enviado desde mi SM-G975F mediante Tapatalk
I am fine with paykng for support. I already sent serial number and paid just reading how to upgrade to 4.0 I have latest 3 hal9 is that andriod 8 don't care about keeping settings apps ect so I flash via sd card and I am done? It's will come auto after that?
Love this program has kept the px5 alive and looking forward to more
---------- Post added at 04:12 AM ---------- Previous post was at 03:55 AM ----------
Mod pro paid to oh well didn't want to save info anyways. How do I know my it will work sent payment no confirmation or anything sent via mail?
Hi everyone I ask you a little help. I tried to install on my erisin px5 modinstaller bro purchased from Hal. after installing the recovery with the Android 9 option the display remains black and the illuminated keys and the radio no longer starts. Can anyone tell me how to solve? thank you
Sorry for english
Right, i think it was 10 Dollars, then you get a serial wich you have to set to get OTA-updates.
I have payd both, Malaysk an Hal9k_ because both have deserved it.
Regards
Manfred.62 said:
sleep mode. I used the auto sleep mode to get the fast boot up. But now I had to replace a 10 month old battery of the car. Seems the rom takes to much energy while sleeping? Can you check this to be sure it's no problem in the rom? In the moment I'm using the complete shutdown to avoid problems. Also other people mentioned this topic.
Click to expand...
Click to collapse
This will be coincidence rather than cause. Was the battery flat at any time? Can leave my car sitting idle for weeks with auto sleep mode and the battery holds just fine. Auto sleep mode hardly consumes power.
Thank you very much for opening a thread where the px6 is included with this Rom, I have installed the full version and so far it is luxurious, until now and since I put it on, I have not observed any fault attributable to the Hal9k, I have a fault but it is hardware already that for a while and for no apparent reason, it crashes when starting, it remains in the cameras without any speed stuck in the car, then it returns with normal operation and occasionally the camera comes out again.
As I have been able to verify, it gives me that it is the motherboard, I have already spoken with the Chinese and, in guarantee, it sends it to me.
With respect to hal9k, as I said, everything is correct, right now without failures.
Many thanks to hal9k for making a good rom and to @ segu45 in this case for their Spanish translations.
Sorry for my English
Greetings.
---------- Post added at 01:11 PM ---------- Previous post was at 01:00 PM ----------
ikerg said:
On the russian forum is clear. This thread is just a replica of the russsian one ...but in english.
Only 4.0.0 version is free.
All the upgrades will be in form of OTA updates and only paying the 10usd (one unique payment) you can be able to get them.
If major update (like android 10) comes...I suppose he will create a mod 5.0.0 for free and OTA updates again by the same previous subscription (no other payment for 5.x.x upgrades if you were subscribed to 4.x.x)
Am I correct?
Enviado desde mi SM-G975F mediante Tapatalk
Click to expand...
Click to collapse
Well, as I understand it, it is as you indicate, you pay € 10 and the updates that come will no longer have to make any more payments.
I do not know if when I can Android 10 if it is possible, we will have to pay again since I understand that it will be a full Rom and not a mod.
However, as far as I know, with that one payment, for the moment everything that is going out, is coming via OTA to all those who have paid.
Greetings.
With version 4.0.1, I can continue to play audio even when switching to AV In. However, when I get out of AV In my SWC for skipping songs no longer works. Only restarting the unit fixes the problem. I'm on a PX6 unit for reference
@Manfred.62
I'll think about the Radio app
I didn't change anything about sleep mode.
@marchnz
There, on the site, it is written:
The code will continue to work all the time while I make updates for this version of the Mod.
"this version" is Mod v4.
Perhaps in the future a new free version will be released with all the changes that will be made by then, if a new version of the stock firmware appears and I decide to do it. But I can’t promise it for sure.
@ikerg
The thread is dedicated to Mod v4. Won't look that far.
@scoote2014
I usually reply to emails in the evening, Moscow time.
@mrtony95
Tony, I read in my email that you've already done everything yourself. Is that so ?
@Realistichat
I couldn't reproduce it. Make a video
I have a problem with the installation of the update. I have a px5 MTCE device, unfortunately it throws out an error as in the picture.
Does anyone have any idea how to solve it?
MCU
Hi, i have this model of PX5:
https://pl.aliexpress.com/item/32848518906.html?spm=a2g0s.9042311.0.0.27425c0fAao1In
Wich MCU should I install? MTCE GS 3.4? Actually I have Mtcd_gs_v2.9c
ModInstaller Pro
Hello, good afternoon, I made the donation but I don't know how to get ModInstaller Pro for updating my equipment.
can you help me
thanks
tricz said:
I have a problem with the installation of the update. I have a px5 MTCE device, unfortunately it throws out an error as in the picture.
Does anyone have any idea how to solve it?
Click to expand...
Click to collapse
Hi,,
"rk3368" is PX6... so you have downloaded the mod for PX6-Devices, but you own a PX5-Device. Download the right package, copy it to your USB or SD ans install
Yours
Markus
---------- Post added at 05:45 PM ---------- Previous post was at 05:43 PM ----------
j-miguelr said:
Hello, good afternoon, I made the donation but I don't know how to get ModInstaller Pro for updating my equipment.
can you help me
thanks
Click to expand...
Click to collapse
Hi,
you will get a mail from hal9k with a link to your personal modinstaller-apk. Download, move it to your device (USB / S-Card) and install...