Android Car, need to be restarted every key on - General Questions and Answers

I have my android in car, and im selling android stereo to clients!
They ask me they want when they turn off the key and turn it on again after few seconds they need the android to be restarted!
Because the current mode is: when they turn off the car key for 2 - 5 hours, the android still backed up the data in the last state, but they want to restart the android for every key TURNED OFF & ON!
I have an android, i entered to the sleep option; i saw sleep time: DO NOT SLEP - 1 DAY DELAYED - 2 DAYS DELAYED - 3 DAYS DELAYED!
i choosed the DO NOT SLEEP mode, and i saw its working but im not sure if it working correctly or not!
Because the meaning say's: DO NOT SLEEP, it mean the car android will still 'ON' forever

this should help to power on on start.
Code:
fastboot oem off-mode-charge 0
for shutdown you can use Macrodroid.

alecxs said:
this should help to power on on start.
Code:
fastboot oem off-mode-charge 0
for shutdown you can use Macrodroid.
Click to expand...
Click to collapse
Please can you explain more?
The android head unit is not rooted.
How to run the command?
I want for every key off, the android restarted automatically, i dont need it to keep sync. The last data time.

Macrodroid is just one of these automation apps, just do a research.

alecxs said:
Macrodroid is just one of these automation apps, just do a research.
Click to expand...
Click to collapse
Thanks for your reply,
But how the 'Macrodroid' helps me to turn off the android for every engine off' ?
1) But the problem, i think the macro app cannot detect the key if it turned the engine or not !
2) You forget that if i turn on the key , the optical wires also will stop working , (and here the head unit will be turned off automatically because there is no light into the car)

of course you need power line of clamp 15

alecxs said:
of course you need power line of clamp 15
Click to expand...
Click to collapse
What mean power line of clamp 15

Sorry it was a quick german translation
https://www.wikipedia.org/wiki/DIN_72552

Related

MDA Compact Assistance

I have just purchased the above smartphone and am having trouble finding the answers to a few basic questions:-
1. How do you turn off the MDA? The manual tells you to hold power button down for 2 seconds but this does not work. Aslo tried holding down for various time ranges. T-Mobile support tells me that you have to take out the battery which seems unreal given the number of places mobiles are banned.
2. Can you use the MDA functions without the phone (e.g. MP3 Player or Organiser while on a plane)?
Any assistance would be greatly appreciated
Kind Regards
hut1
I believe these devices do not actually turn off. Holding down the power button puts the device in to standy mode.
There is feature called 'Flight Mode' (check it out in your manual); This is the feature you would switch off in 'no mobile phone areas'. The 'phone' side of the device will not operate when in this mode but the rest of the PDA functions will.
hut1 said:
1. How do you turn off the MDA? The manual tells you to hold power button down for 2 seconds but this does not work.
Click to expand...
Click to collapse
You have to press the power button for a short time -> Just press and release..... This turns off the display. The phone part will still be working.
hut1 said:
T-Mobile support tells me that you have to take out the battery which seems unreal given the number of places mobiles are banned.
Click to expand...
Click to collapse
In this case the MDA is completly off....
hut1 said:
2. Can you use the MDA functions without the phone (e.g. MP3 Player or Organiser while on a plane)?
Click to expand...
Click to collapse
Yes you can. Therefor you´re able to turn of wireless communcations (Bluetooth and GSM) by activating flightmode....
HTH
Stefan
You can never fully turn off a PocketPC- if you do, it will lose its memory and wipe everything in memory (not storage card). This can only happen if you remove the battery or don't charge for a long time.
However, turning off the phone with the power button puts it in standby mode, it's still awake to respond to schedules/alarms/phonecalls etc, but otherwise it's not doing much.
To go to flight mode, click on the network icon next to the clock and choose flight mode.
V
First Time on this forum and what a swift response, thanks to all for your answers, I now have it sussed and faith is once more restored in my MDA

How to Disable ICS bugfix/bugreport?

Hi, everyone. I always accidentally press my NS' power + volume up buttons, which activates the bugfix/bugreport email window.
Is there any way to safely disable this feature?
Thanks in advance.
Sorry to ask, but what? You mean you press them when powering up the phone? If not, could you post a screenshot?
Transmitted from somewhere in space... from my Nexus S... and Tapatalk.
flodb113 said:
Sorry to ask, but what? You mean you press them when powering up the phone? If not, could you post a screenshot?
Transmitted from somewhere in space... from my Nexus S... and Tapatalk.
Click to expand...
Click to collapse
Yes, I accidentally press them when powering on or off my NS. Try holding the power and volume up buttons. Your NS will vibrate and bring up your default email app and compose a bugfix/bugreport email for you.
IIIV said:
Yes, I accidentally press them when powering on or off my NS. Try holding the power and volume up buttons. Your NS will vibrate and bring up your default email app and compose a bugfix/bugreport email for you.
Click to expand...
Click to collapse
Exactly what I am searching online for. I always get the sharing options appear out of nowhere and only realise that it is trying to send a bug report.
After some extended searching, I finally knew how it was activated. By pressing Volume up + Volume down + power button, you will feel a vibration after a second or so, that's when the bug reporting initiated.
http://code.google.com/p/ics-crespo...rc?r=a3b8746ae7e80de2f9db08a9e8094f6587b4b675
However, I have no idea how to disable it. It become very annoying especially when waking up the phone from sleep and you find that your device is lagging because of the bug report generation.
Any help?
ghost_301 said:
Exactly what I am searching online for. I always get the sharing options appear out of nowhere and only realise that it is trying to send a bug report.
After some extended searching, I finally knew how it was activated. By pressing Volume up + Volume down + power button, you will feel a vibration after a second or so, that's when the bug reporting initiated.
http://code.google.com/p/ics-crespo...rc?r=a3b8746ae7e80de2f9db08a9e8094f6587b4b675
However, I have no idea how to disable it. It become very annoying especially when waking up the phone from sleep and you find that your device is lagging because of the bug report generation.
Any help?
Click to expand...
Click to collapse
Turn off USB debugging.
The solution that I've found, without turning off USB debugging, is renaming the file "bugmailer.sh" (to something like "bugmailer.sh-backup"), which is found in /system/bin.
P.S. For me, I need USB debugging turned on, because it is required by Titanium Backup, which I often use. If you don't need USB debugging turned on all the time, you could just turn it off, like Uni7 posted, and it'll also solve this issue.
IIIV said:
The solution that I've found, without turning off USB debugging, is renaming the file "bugmailer.sh" (to something like "bugmailer.sh-backup"), which is found in /system/bin.
P.S. For me, I need USB debugging turned on, because it is required by Titanium Backup, which I often use. If you don't need USB debugging turned on all the time, you could just turn it off, like Uni7 posted, and it'll also solve this issue.
Click to expand...
Click to collapse
You shouldn't need USB debugging for TB on any new rom. From official FAQ:
40. Why does Titanium Backup demand that the Android Debugging Bridge (ADB) be enabled? I don't develop on my phone and don't want this.
The only reason is that on some ROMs, earlier versions of Superuser (the app that grants root privileges) didn't work properly if ADB (USB debugging) was disabled. This is why I added the warning at startup.
Nowadays, on most ROMs you can leave USB debugging disabled in your phone settings and also disable that warning in Titanium Backup. The option is: MENU -> Preferences -> "Warn if no USB debug".
Click to expand...
Click to collapse
Uni7 said:
You shouldn't need USB debugging for TB on any new rom. From official FAQ:
Click to expand...
Click to collapse
Thanks for the info, it works! Never know it's the USB Debugging option, guess I never explore deep enough.
Thanks again!
Uni7 said:
Turn off USB debugging.
Click to expand...
Click to collapse
[CM9 nightly] unluckly this doesn't help
IIIV said:
The solution that I've found, without turning off USB debugging, is renaming the file "bugmailer.sh" (to something like "bugmailer.sh-backup"), which is found in /system/bin.
P.S. For me, I need USB debugging turned on, because it is required by Titanium Backup, which I often use. If you don't need USB debugging turned on all the time, you could just turn it off, like Uni7 posted, and it'll also solve this issue.
Click to expand...
Click to collapse
mcalamelli said:
[CM9 nightly] unluckly this doesn't help
Click to expand...
Click to collapse
Sent from my ice cream powered Nexus S
mcalamelli said:
[CM9 nightly] unluckly this doesn't help
Click to expand...
Click to collapse
have you solved this problem ?
ghost_301 said:
Exactly what I am searching online for. I always get the sharing options appear out of nowhere and only realise that it is trying to send a bug report.
After some extended searching, I finally knew how it was activated. By pressing Volume up + Volume down + power button, you will feel a vibration after a second or so, that's when the bug reporting initiated.
http://code.google.com/p/ics-crespo...rc?r=a3b8746ae7e80de2f9db08a9e8094f6587b4b675
However, I have no idea how to disable it. It become very annoying especially when waking up the phone from sleep and you find that your device is lagging because of the bug report generation.
Any help?
Click to expand...
Click to collapse
Same here on my Galaxy Nexus...anyone eager to help us out?
I have the same problem. HELP
This is a manual bug report triggered by pressing both volume keys and the power button at the same time. It will vibrate once when you do it and then it takes a good minute or two for it to compile the report. The phone will then vibrate 3 times quickly when the report is ready, but only if the phone is awake and unlocked. So, for example, if you hit the power button to check the time and happen to press all three buttons or your TPU case (just an example) is holding down your volume buttons, then it will trigger then. You won't actually see the results until the next time you unlock the device. They are addressed to your default email address unless your ROM developer adds an email to them. Obviously being stock this would not be the case.
If you want to get rid of this feature, go to /system/bin and rename bugmailer.sh to bugmailer.sh.bak or delete it. Then reboot and no more bugmailer.
chandradithya said:
This is a manual bug report triggered by pressing both volume keys and the power button at the same time. It will vibrate once when you do it and then it takes a good minute or two for it to compile the report. The phone will then vibrate 3 times quickly when the report is ready, but only if the phone is awake and unlocked. So, for example, if you hit the power button to check the time and happen to press all three buttons or your TPU case (just an example) is holding down your volume buttons, then it will trigger then. You won't actually see the results until the next time you unlock the device. They are addressed to your default email address unless your ROM developer adds an email to them. Obviously being stock this would not be the case.
If you want to get rid of this feature, go to /system/bin and rename bugmailer.sh to bugmailer.sh.bak or delete it. Then reboot and no more bugmailer.
Click to expand...
Click to collapse
While I appreciate the fact that you are helping out, please do not take my responses from another forum and paste them here verbatim as your own.
Source: http://rootzwiki.com/index.php?/topic/18671-Disable-bug-report-error-messaging?#entry488123
I should add that in addition to the way mentioned above that will completely disable it, disabling USB debugging should also disable it in 4.0.4.
Sent from my brain using human to phone transport technology.

Re help with galaxy tab 2 power button !

help with samsung galaxy tablet 2 power button !
*Hi guys*I'm finally making the move and have bought a Samsung galaxy tablet 2 for my bmw e46 dash but have found a problem and wondered if any of you guys have a work around for it ?As you know the power button is on the edge of the tablet externally so once it's installed behind the dash you can't push it to either lock the screen or take it out of sleep mode and also it doesn't matter have a proximity to sensor built in etc*Any idea how I can press this power button while it's behind the dash either by the touchscreen using an app or another way that anybody can think of cause I'm stuck ??*So help ppl**
I've read some people use an app called TASKER to set it so that when they crank the car (giving the tablet power thru the charger) the screen comes on and stays on till its turned off. maybe check more into that?
use a custom rom with volume key waking up option.
Athhar said:
use a custom rom with volume key waking up option.
Click to expand...
Click to collapse
If he won't have access to his power button after mounting the tablet in the dash, he probably won't have access to the volume buttons either.
here is a thread from another site where a guy put a nexus 7 into the dash of his vette http://ls1tech.com/forums/stereo-electronics/1584175-c6-android-tablet-stereo-dash-install.html
If your'e thinking about doing a hardware mod , Try AdamOutler (XDA TV) He does some pretty cool stuff and may offer some solid advice. Knows his stuff thats for sure.
XDA unboxing /tutorial Adam Outler style
Guess you could move the power button onto the dash itself if the device is getting built into it as a permanent fixture ? Not that id have a clue how to do that lol.
Not making any mod to the tab: You may mount a solenoid, http://www.solenoidcity.com/solenoid/solenoidcatalog.htm on the dash to actuate the switch. Will require some mechanical / electrical skill to accomplish the job..
fixed?
did you ever find a solution.. I have the same car and the same issue
Thanks!
Thing is you can easily get apps from store to
1.lock screen
2.turn off tab
3.toggle volume
But real problem comes with turning on tab...
Though you can turn on tab from sleep via some apps called smartawake and others(believe of there are lot of them on play)
By these apps you can turn on tab using proximity sensor(it will work),vibrations
But for instance when your tab gets off you have to press power button.
That can be done by pressing in physically or a hardware hack(you got to open up your tab and do stuff with your power buttons.like providing external switch to it etc)
Droidlover123 said:
Thing is you can easily get apps from store to
1.lock screen
2.turn off tab
3.toggle volume
But real problem comes with turning on tab...
Though you can turn on tab from sleep via some apps called smartawake and others(believe of there are lot of them on play)
By these apps you can turn on tab using proximity sensor(it will work),vibrations
But for instance when your tab gets off you have to press power button.
That can be done by pressing in physically or a hardware hack(you got to open up your tab and do stuff with your power buttons.like providing external switch to it etc)
Click to expand...
Click to collapse
Hey guys I am having a similar problem with my galaxy tab install in the car. I come out in the morning and the tablet is dead. I am currently charging it via usb but was planning on putting a power inverter in the glove box for faster charging (maybe?) What I would really like to do is to be able to extend the power button leads to an external button that I can mount in the dash. Anyone done this before or have any suggestions?
Someone recommended Tap Tap App (lock and unlock the screen with a double tap on the proximity sensor) around here. I've tried it and it works.
ketut.kumajaya said:
Someone recommended Tap Tap App (lock and unlock the screen with a double tap on the proximity sensor) around here. I've tried it and it works.
Click to expand...
Click to collapse
Yea that would work for turning the screen on and off, but im talking about if the tablet dies completely. It will be getting charge when I turn the car back on but I wouldn't be able to turn the tablet back on itself because I can't get to the power button.
bots444 said:
Yea that would work for turning the screen on and off, but im talking about if the tablet dies completely. It will be getting charge when I turn the car back on but I wouldn't be able to turn the tablet back on itself because I can't get to the power button.
Click to expand...
Click to collapse
Your Tab will boot into charge mode. Maybe you can change the init script logic: if boot into charge mode, wait a minute, and then reboot into normal mode.
ketut.kumajaya said:
Your Tab will boot into charge mode. Maybe you can change the init script logic: if boot into charge mode, wait a minute, and then reboot into normal mode.
Click to expand...
Click to collapse
Now that would be awesome. I am a total noob with stuff like that. How would you even go about something like that?
bots444 said:
Now that would be awesome. I am a total noob with stuff like that. How would you even go about something like that?
Click to expand...
Click to collapse
There are some changes that can be made to the kernel to boot the os when powering the tablet. I had this behavior on my lgp500 as a bug on cm builds. To keep the display on you can check keep display on during charging.
Sent from my GT-P3110 using xda app-developers app
bots444 said:
Now that would be awesome. I am a total noob with stuff like that. How would you even go about something like that?
Click to expand...
Click to collapse
I'll try. But now I am so tired, back from my real work duty. A short break after driving my car for about 3 hours, 1 hour from home 3.49AM here
Just to over simplify the first thing that came too my mind was a knob with an off set round plug on the other side...turn the knob you push the button..
Sent from my GT-P3110 using xda app-developers app
ketut.kumajaya said:
Someone recommended Tap Tap App (lock and unlock the screen with a double tap on the proximity sensor) around here. I've tried it and it works.
Click to expand...
Click to collapse
we can use below command to start the device when power plug is on.............:laugh:
fastboot oem off-mode-charge 0

Clean Boot without Autostart or auto close all apps while shutting down

heyho,
1 year ago, there was a thread for this issue:
https://forum.xda-developers.com/an...-head-units-qa/prevent-autostart-app-t3379853
meanwhile there is no really solution available?
so now:
-is there any way to let the unit starts clean after ACU-timeout (power off)?
if not, how can i auto close all apps while shutting down message appears?
If you use power menu and manually shutdown the HU before you turn off the ignition, is it working ?
unfortanetly no, still the same.

Huawei mate 8 auto boot when charged

Hi Folks,
Good Day!
I have a Huawei Mate 8 running in Nougat, EMUI 5.0.1.
I want to automatically boot my phone on when charged so the initial
state of the phone is OFF and when a power applies (charged) it should automatically boots.
I see almost tutorials for doing this but most of them is only applicable on old Samsung Devices.
I also tried to unlock bootloader and do a "fastboot oem off-mode-charge 0" but no LUCK.
I hope someone helps me with this.
Thanks and Have a nice day.
You can use scheduled power on and off in settings > smart assistance while charging
hamadazh said:
You can use scheduled power on and off in settings > smart assistance while charging
Click to expand...
Click to collapse
Hi thanks for your reply. I think scheduled power off and on is not the applicable on my problem. I want to use my phone in my car that automatically boots when a car charger or power applied.
qwerandhong said:
Hi thanks for your reply. I think scheduled power off and on is not the applicable on my problem. I want to use my phone in my car that automatically boots when a car charger or power applied.
Click to expand...
Click to collapse
Have you found a solution?

Categories

Resources