Disable App Kill on standby? - MTCD Android Head Units General

Running a Px5 android 8.0 unit from Eonon running Malysk rom.
From what I understand, these units do a "shutdown" sequence when the car ignition is shut off. As far as it looks to me, a service is just closing open apps and going to sleep/standy. When ignition is turned back on, the OS resumes and re-opens last focused app.
This function is great for obvious reasons to prevent wake-locks, wake-events, etc and also very inconvenient for even more obvious reasons. Spotify app doesn't seem to like being killed unexpectedly and 1/100 resumes, the app resets itself and needs to be logged back in, content needs redownloaded, etc.
Is there such a way to disable app-killing upon ignition-off ? How can we modify this service?

stevey500 said:
Running a Px5 android 8.0 unit from Eonon running Malysk rom.
From what I understand, these units do a "shutdown" sequence when the car ignition is shut off. As far as it looks to me, a service is just closing open apps and going to sleep/standy. When ignition is turned back on, the OS resumes and re-opens last focused app.
This function is great for obvious reasons to prevent wake-locks, wake-events, etc and also very inconvenient for even more obvious reasons. Spotify app doesn't seem to like being killed unexpectedly and 1/100 resumes, the app resets itself and needs to be logged back in, content needs redownloaded, etc.
Is there such a way to disable app-killing upon ignition-off ? How can we modify this service?
Click to expand...
Click to collapse
Yes, question asked before. Suggest modded hal9k room or search forums for how to mod app kill.

Related

PowerAmp on KLD Head Unit Autostarting every time.

I reinstalled Android on my KLD head unit today, and redownloaded PowerAmp to play my media files.
This time, however, it insists on running every time the radio reboots or turns on. I know these firmwares like to launch "last running" apps sometimes if they've fully turned off, but something else is going on here. I can make sure to completely exit PowerAmp. But whenever I restart my car after it's been off, or reboot the head unit in any way, when it finished booting up, it goes right back to PowerAmp and starts playing again.
I do not have an autostart config setup, and I've checked everything in the options and can't figure out how to make it fscking stop loading every time I start my car.
So for now I've uninstalled PowerAmp. Does anyone have advice how I can have it actually installed but not load itself every time my device reboots?
Also check the setting to do with starting player on card detection (I think it's in android settings somewhere)

Note 4 Suddenly Having a Multitude of problems. Hardware Issue?

Hello, I have had my Note 4 for quite some time now and have not had any issues with it up until the last month or so.
At first it started out as just a hiccup every now and then, an example would be when I play music via bluetooth to my Jeep CD Player, I would sometimes have to turn bluetooth off then back on to get it to connect or reconnect.
Now things are getting out of hand. Here is a list of problems I have on a daily/hourly basis and seemingly at random times. I cannot reproduce any of these problems (except the NFC problem) on demand.
I have noticed that rebooting the phone will clear up these issues (except NFC) for a short time, SOMETIMES. Other times a reboot does nothing to help the situation.
Keyboard Lag
Sometimes when I press the keys the phone vibrates indicating a key press and magnifies the key that is being pressed, but fails to enter anything in the text box/input field. For the record I am using Swiftkey. I have noticed that this happens most often when I open an app via "popup notification." For example, if I were to receive an IM or SMS I would tap on the notification that pops up, which then switches to/opens the corresponding app. It is then I will more often than not have this issue. To remedy this I have to close and re-open the app, sometimes several times causing the keyboard to open and close, several times... Sometimes when I TAP a key, the phone will behave as though I have held the key down or performed a "long press." This issue is not exclusive to the keyboard, it often happens anywhere on the screen and with any app, usually indicating that I have been "long pressing" for about 1-2sec at a time.
NFC Does Not Work
One day while I was at work I attempted to add the office printer via NFC. To my surprise I was unable to turn on NFC via the "quick settings" drawer. In the quick settings panel the NFC icon would light up, as if it were turning on, and then just turn right back off again, this happens consistently. I went into setting to enable NFC that way and I am stuck with a slider that is actually in the "on" position but greyed out, I am unable to interact with it.
Bluetooth Connectivity
I have a JVC CD player in my Jeep, I often use YouTube or Google Play Music when I drive. Usually I do not have any problems connecting to the CD player at first, but after about 30-60sec of playback the audio goes blank. The app says that it is still playing however no audio can be heard. Then it will suddenly come back on after about 5-10sec, and here is where it gets strange. After the audio comes back on after this "hiccup" the playback is fast, as in it is playing at 2X's it's normal speed, makes the vocals sound like chipmunks. This will continue indefinitely until I turn on the screen, unlock the phone, then shut the screen off. Then the audio goes on playing fine. This happens with both YouTube and Play Music, while using YouTube the video gets sped up as well. I also experience issues with connectivity where sometimes at random the phone will just disconnect from the CD player, and refuse to reconnect until I have rebooted the phone, or if it does reconnect I get no audio until the phone is rebooted. I notice that this ONLY happens when connected via bluetooth. If I turn bluetooth off while this is happening music will play over the phone's speaker perfectly normal. My CD player has a hands free feature, and I do not seem to have any issues with phone calls, it's only with music playback do I have problems.
Originally I thought it was my CD player acting up, however in light of the other problems, and the fact that I tested it with my tablet and two of my friend's phones without issue, I don't think the CD player is the problem.
Sluggish/Glitchy UI
Sometimes when the phone really freaks out, the UI behaves very strangely. Sometimes notification Icons will hover above the running app, other times the whole screen will lock in place for a few seconds. Sometimes if the screen is locked up, I will shut it off, then turn it on, shut it off, turn it on. However as I press the power button to turn the screen on and off, nothing is happening, the screen just stays black while the "back" and "recent apps" buttons light up at the bottom. Then when the screen does finally come back in it will flash on and off quickly in accordance with how many times I pressed the power button. While all this is happening, if I hold the power button to turn the phone off, the power/reboot menu will appear without incident. Sometimes when I am swiping to unlock the phone, it does not register the full swipe. Basically it acts/appears as though I lightly touched the screen and moved my finger a half inch even though I have drug my finger all the way across the screen. To remedy that issue I have to SLOWLY drag my finger across the screen and then it unlocks without incident. I have also noticed that when I go to "swipe away" a notification, especially one that has "information" in it, it will swipe off the information but leave the notification there and display the app name the notification was from. An example would be, if I just installed an app (for example YouTube) from the Play Store, the notification will say "YouTube has been successfully installed." When I swipe either left or right to remove that notification, a "white ghost box" or "overlaying top layer" with the "successfully installed" text in it will slide away. However it leaves behind a green box/notification that says "Google Play Store" and that remains until I shut the screen off and turn it back on.
NFC Will Not Turn On
I simply cannot get NFC to turn on, the slider is in the ON position but is greyed out as I mentioned earlier. I would post a picture but I guess there is a 10post rule before I can do that. I have given up on NFC, mostly because I rarely use it, so it's really not that big of a deal.
Initializing the Camera
I use an app called "Telegram" instead of SMS messaging, thus I use Telegram to share pictures with friends. Sometimes, again I am not able to reproduce this problem on demand, the problem comes and goes seemingly at random. The camera will take more than 30-60sec to initialize, while I am waiting for it I am stuck with a black screen. If the camera doesn't initialize, shutting the screen on then off will take me back to the telegram app. I never get an error message or anything. Other times when I try to use the camera it pops on instantly and works flawlessly. Originally I thought this was a problem specific to telegram, however in the name of science I tested it with the default camera app and get the same results.
USB File Transfers
I'm not really sure this is specific to my phone, but whenever I transfer files from my PC to the phone or from the phone to PC, it is PAINFULLY slow. It's even painfully slow when the PC just displays what is in the folder. However I can't say for sure this is related because I never attempted to transfer files until I started having these issues, at which point I thought it would be a good idea to start backing things up.
Gets Stuck in 3G Mode
This happens rarely, not even sure that it's related but I felt that it was worth mention.
What have I done to try to remedy this problem you ask?
So far I have performed a non-root ADB nandroid backup, just in case factory resetting the phone didn't work.
I have factory reset the phone 2 times, I see no improvements.
I have cleared out my SD card/removed SD card
I removed and/or shut off bloatware apps (Yes I tested the phone without removing/disabling bloatware, still having the same issues)
Wiped cache via Recovery
I am not sure what else I can really do to fix the phone, I am starting to think that this is a hardware issue. I should mention that there was no significant event that I feel would cause these malfunctions. System update installed and worked perfectly up until this last month, I have not dropped the phone from significant height, the phone has an otterbox anyway. I have not gotten the phone wet, it has not been left outside, this phone has not seen any abuse what-so-ever. I just started having these problems out of the blue and they seem to be getting progressively more frequent and longer lasting. If I don't get any ideas from here I am going to try to get Verizon to replace the phone via insurance, however I don't have high hopes for that because I have grandfathered unlimited data and this is not the "original" phone that I had when I added the insurance option, so I am not sure it's covered.
Does anyone have any ideas on what could be causing this or anything I can do to correct it or try to troubleshoot it?
Any help is greatly appreciated!
Phone Information is as follows:
Samsung Galaxy Note4
Model: SM-N910V
Android Ver: 5.0.1
Baseband Ver: N910VVRU2BOG5
Build#: LRX22C.N910VVRU2BOG5
HW Ver: N910V.05
Verizon Wireless
Non-Root, Default Launcher, Not modified in any way.
I realize that this is a long post but whenever I ask for help I like to be detailed. If I left out any information that might be helpful please let me know.
Unfortunately, it looks very much like components on your logic board are going bad. Sometimes a few specific things will go bad that don't actually make the phone unusable, but make it act similar to what you are explaining. It wouldn't be worth the money you'd have to pay someone to track down the bad components and replace them. If you really like the note 4, I would just make a full backup with kies while you can, buy a new phone and restore your backup.
All of Kies backups do NOT restore to a new phone! Only contacts, messages and call logs will restore on a new phone. Use Samsung Smart Switch or Helium. Good luck
Sent from my SM-N910V using Tapatalk
outcasted2003 said:
All of Kies backups do NOT restore to a new phone! Only contacts, messages and call logs will restore on a new phone. Use Samsung Smart Switch or Helium. Good luck
Sent from my SM-N910V using Tapatalk
Click to expand...
Click to collapse
I see. I didn't know that because I've always restored my backups to the same phone. Thanks for the info.

Joying slooowww operation

I installed the Joying 7inch model in my car this weekend, and I'm generally happy with the unit. However, I've run into some severe lock ups due to some sort of processing bottleneck. Basically, I turn on the car, connect to my cellphone hosted hotspot, and then I can't get the unit to operate. Play Music hangs at the start up screen and I get the same result from other apps. I've hit the "rocket" button to clear the cache and clicked on the app switching button to kill all apps..with no impact.
Tonight the whole unit restarted on my way home and then it seemed to operate the way it should.
Does this sound like a softeware issue? Would the Maylesk ROM improve this situation?
These things tend to happen, and ironically I've had it happen to my phone when syncing bluetooth to certain car stereos. Same deal, only way to get it to work again is a hard reset. Try to isolate the issue by using someone else cell phone and see what happens.
Even if you can isolate it to that, I'd say try your luck with a Malaysk ROM as well and see how it goes. You'll definitely appreciate the upgraded versatility and functionality it brings to the table, plus that may solve your problem.

Is there a way to start a app after unit wakes up from sleep mode with tasker?

Hi people, I am using a speedcam app which loads at start with Autorun Autostart and goes back to homescreen.
Now when the HU goes in sleep mode the speedcam app gets closed and wont load on wake up. Is there a way to make it happen with tasker?
I am on latest Malaysk rom at a RK3066 800x480, got paid version of tasker.
Use Xposed-MTC-Managers whitelist to keep the app from going to sleep
http://forum.xda-developers.com/android-auto/mtcb-software-development/xposed-modules-units-t3263966
Thanks for putting me to right direction, greatly appreciated, it is done and tested, working like charm. :good:
Now I need some more reading I guess, after two years not reading here about this unit I have to gather more information. Everything is like I wanted, just need to figure out how to start playing music with poweramp after wake up.
Reptile-X said:
just need to figure out how to start playing music with poweramp after wake up.
Click to expand...
Click to collapse
There is a Tasker profile for Monitor Start, but you can't add Tasker to the no sleep whitelist. It used to work great for me but broke it the other day, while changing a bunch up.
This post talks about pausing media when the unit goes into sleep
http://forum.xda-developers.com/and...delay-shutdown-app-continues-playing-t3370774
I'm bad at documentation, should be clear if your used to Tasker. Let me know if you need further details.
carter.w.jason said:
This post talks about pausing media when the unit goes into sleep
http://forum.xda-developers.com/and...delay-shutdown-app-continues-playing-t3370774
I'm bad at documentation, should be clear if your used to Tasker. Let me know if you need further details.
Click to expand...
Click to collapse
I am familiar with tasker, using at 4 devices at home for home automation and some other stuff. I don't have it on the HU to be honest, but use it on my phone to activate Hotspot on my phone when my phone connects to HU.
If we can capture an event it should be pretty easy to setup, I need to observe what the HU does when it wakes up to see if I can see something useful. Unfortunately I had a surgery last week and I am not allowed to sit longer than 10 minutes so have to wait couple weeks.
Resuming music on Poweramp after wake up.
carter.w.jason said:
I'm bad at documentation, should be clear if your used to Tasker. Let me know if you need further details.
Click to expand...
Click to collapse
Found a way to start playing music with tasker at Poweramp when the head unit wakes up, it is not the cleanest or best way I guess but it does the job.
Like I said before, I have tasker on my phone and that makes possible to turn on mobile hotspot when my phone connects to my head unit. I am telling this because I am using this WIFI connection on my head units tasker to activate Poweramp music play.
On the head unit I have installed the tasker and put it in the whitelist of MTC Manager.
First I tried to make profile: [State ]> [Net]>[BT Connected] but this did not work because tasker could not get to BT devices list, and leaving empty should work but that did not work either .
So I made another profile: [State ]> [Net]>[WIFI Connected]---- [SSID: Chose your mobile hotspot] (you can leave the other options empty)
Then I made task: [Media]>[Media Control]----[Cmd: Play [Simulated Only]] [App: Choose Power Amp] (leave the other options empty)
This works good but you have to turn off option “Play music on device boot” in Head Unit app, this is needed because tasker simulates the play button of Poweramp and that makes the music paused after first boot, Head Unit app starts the music and couple seconds later if the WIFI connection established tasker will pause the music.
The downside of this workaround is when you first boot the device it takes a while before music starts playing since tasker starts pretty later than most other apps in the head unit.
The best way to get this work is finding an event or state or even action from head unit which only occurs when the head unit wakes up.
Reptile-X said:
The best way to get this work is finding an event or state or even action from head unit which only occurs when the head unit wakes up.
Click to expand...
Click to collapse
Got it working, com.microntek.startApp is sent out when the HU wakes from sleep.
carter.w.jason said:
Got it working, com.microntek.startApp is sent out when the HU wakes from sleep.
Click to expand...
Click to collapse
Thanks for headsup
Today I was trying the original MTCmusic app since there was a lot improvements done, I like it so far it integrates a lot better with screen saver and other stuff so I will give it a go for couple days, if i don’t like it I will go back to poweramp.
But I am glad that you found out what’s getting broadcast when the radio wakes up because I (or other forum users) can use it on other stuff too.
carter.w.jason said:
Got it working, com.microntek.startApp is sent out when the HU wakes from sleep.
Click to expand...
Click to collapse
Ok but what you choosing in Tasker?
greg_z said:
Ok but what you choosing in Tasker?
Click to expand...
Click to collapse
Read post #4
Thx. I managed to set command before sleep but after wake up doesn't work for me. I'm on PX5. How to see debug informations?

Few questions about my avin avant 2

I've got a new avin avant 2 system build in my car. I tried contacting the developer of the system for a few questions, but he won't reply.
But i see that it is a mtcb device so i thought I ask it here.
1: When turning off my car while playing spotify it would keep playing until the device turns itself completely off after 30 seconds. now I see that you can pause it by using tasker of some sort. But when I turn my car back on (cold boot) it starts spotify again but not play the last song it was when turning it off. I have to search the song again and then play it again from the beginning. Is there something to do about this or is it a spotify limitation.
It would be awesome if it shows the last song and I only have to press play instead of searching it again. Or better it would start itself. A friend of mine told me he has an android head unit himself and it would play spotify where it left off. Don't know if that's a lie though
2: Is there any profit when installing an custom firmware? Let's say the one from Malaysk? Would it be faster or something? I'm not really a root guy so xposed is something I'm not interrested in (for now).
What would be the benefits?
3: maybe this is a stupid question so my apologies beforehand: I want to replace the radio software with a different one because when a radio station name is to long it would take up 2 rows and the 6 quick station buttons are placed a row below, behind the search buttons. So choosing a station is a difficult task if a radio station name is too long. I saw a different radio software where the search buttons are not present on the lower row but more at the top. that would be ideal. But I downloaded a new apk from xda. placed it on a sd card. tried installing the apk. But it says this app cannot be installed. Am I doing something wrong? (probably yes ).
4: I have a universal avant 2 (6'95") Which does not have a reset button (at least at the front) It has touch buttons (Eject dvd, power, home, volume + and volume -) Is there a way to go into recovery without a reset button? and what if the radio hangs?
I think this is it for now.
My unit is a Joying Jeep specific model (MTCD and Android 5.1) with the Malaysk V4 ROM, so some of this might not apply to your Avant
1 - i think this has to do with Internet access. Specifically when you turn on your vehicle and the head unit either returns from sleep or boots. In my month or so of use, I have found that I have seen all scenarios. Sometimes it boots to the last song and I can play from where it left off, sometimes it just starts the song over again, sometimes I start from scratch. I think that if you have an internet source when the radio boos or wakes up, then it will find the last song. If you do not have internet access, then it is a crapshoot. I try to turn on my hotspot when I hit my remote start, and I have had much more success playing the current/last song. However I do Pause Spotify right before I shut off my vehicle.
2 - you have to read a ton to figure out all the benefits. For most I would assume the expanded storage. On my Joying initially only 2 gigs were available for apps, but with Malaysk you get the full 12 or 13 or whatever. And the DPI is adjusted. On the stock Joying ROM everything was a little too big, but with Malaysk, things fit the screen better
3 - I dont use the actual Radio at all, I even disabled the app. So I dont know, but i think Malaysk fixes this
4 - no idea
CadillacMike said:
My unit is a Joying Jeep specific model (MTCD and Android 5.1) with the Malaysk V4 ROM, so some of this might not apply to your Avant
1 - i think this has to do with Internet access. Specifically when you turn on your vehicle and the head unit either returns from sleep or boots. In my month or so of use, I have found that I have seen all scenarios. Sometimes it boots to the last song and I can play from where it left off, sometimes it just starts the song over again, sometimes I start from scratch. I think that if you have an internet source when the radio boos or wakes up, then it will find the last song. If you do not have internet access, then it is a crapshoot. I try to turn on my hotspot when I hit my remote start, and I have had much more success playing the current/last song. However I do Pause Spotify right before I shut off my vehicle.
2 - you have to read a ton to figure out all the benefits. For most I would assume the expanded storage. On my Joying initially only 2 gigs were available for apps, but with Malaysk you get the full 12 or 13 or whatever. And the DPI is adjusted. On the stock Joying ROM everything was a little too big, but with Malaysk, things fit the screen better
3 - I dont use the actual Radio at all, I even disabled the app. So I dont know, but i think Malaysk fixes this
4 - no idea
Click to expand...
Click to collapse
Thank you for your reply,
My biggest question is: Do you experience a speed difference between stock and Malaysk rom? or is it about the same? I experience a fast downgrade of speed while using the radio. I wish it was possible to auto clean processes every couple of minutes or so. But maybe the Custom Firmware handles the speed better?
andytuinman3 said:
Thank you for your reply,
My biggest question is: Do you experience a speed difference between stock and Malaysk rom? or is it about the same? I experience a fast downgrade of speed while using the radio. I wish it was possible to auto clean processes every couple of minutes or so. But maybe the Custom Firmware handles the speed better?
Click to expand...
Click to collapse
you could probably set that up with some app. Malaysk has the "speed" option, rocket icon, that cleans something. ES Task Manager has a way to kill stuff, and you can add apps to the ignore file. I had mine set to ignore Spotify and Google Maps and I would kill stuff like that.
I only had stock for about a week, so I can't really say if there is a speed difference. It is all a matter of setting expectations I think. Nothing is lighting fast, it is not a Samsung S7 Edge in the dash. I also went through and disabled as much stuff as possible.
For the most part, I just use my Joying for 3 things:
Music - Spotify
GPS - Google Maps, sometimes Waze, sometimes iGO
Bluetooth - phone calls or audio from my phone
So I have disabled a ton of stuff. There is still some lag, especially with Google Maps. It is worth noting I also had lag using Google Play Music and Google Calendar. I bailed on Google Music for Spotify. However i just like Google Maps better than any other Nav, so I have learned to deal with it. I also have a calendar app, but i dont use that every day. For the record it is aCalendar
CadillacMike said:
you could probably set that up with some app. Malaysk has the "speed" option, rocket icon, that cleans something. ES Task Manager has a way to kill stuff, and you can add apps to the ignore file. I had mine set to ignore Spotify and Google Maps and I would kill stuff like that.
I only had stock for about a week, so I can't really say if there is a speed difference. It is all a matter of setting expectations I think. Nothing is lighting fast, it is not a Samsung S7 Edge in the dash. I also went through and disabled as much stuff as possible.
For the most part, I just use my Joying for 3 things:
Music - Spotify
GPS - Google Maps, sometimes Waze, sometimes iGO
Bluetooth - phone calls or audio from my phone
So I have disabled a ton of stuff. There is still some lag, especially with Google Maps. It is worth noting I also had lag using Google Play Music and Google Calendar. I bailed on Google Music for Spotify. However i just like Google Maps better than any other Nav, so I have learned to deal with it. I also have a calendar app, but i dont use that every day. For the record it is aCalendar
Click to expand...
Click to collapse
What do you mean by disabeling alot of stuff? WHat kind of stuff and how do you disable it? maybe i can clear some memory too in that way. sorry if I ask stupid questions .
Well I just go through Settings > Apps and then go through and disable stuff i do not need.
One example is the Radio, i never use it, so I clear cache, clear memory, then disable. I will have to a take a look to see what all I disabled. I know the Malaysk ROM will add a bunch of stuff that some people like, but I have no need for, such as Titanium Backup, so I got rid of it. Joying adds Torque and some Live Wallpapers, so say you dont use those ever, just go into the App settings and disable it

Categories

Resources