auto boot Huawei P6 on USB connection - Huawei Ascend P6, Mate

Hi guys
I am researching the Huawei P6 for a car head unit project. Is it possible to automatically boot the P6 upon USB power? Or can such a feature be added to a custom ROM? I'd be willing to donate to a developer to do this if it's possible. Thanks.
BTW, I am aware that the Nexus 7 is already has a custom rom with this feature built-in, but only the Huawei P6 fits the dimensions of my car's dash.

Jinster said:
Hi guys
I am researching the Huawei P6 for a car head unit project. Is it possible to automatically boot the P6 upon USB power? Or can such a feature be added to a custom ROM? I'd be willing to donate to a developer to do this if it's possible. Thanks.
BTW, I am aware that the Nexus 7 is already has a custom rom with this feature built-in, but only the Huawei P6 fits the dimensions of my car's dash.
Click to expand...
Click to collapse
There is an app "Auto Boot - Boot On Charge" in playstore. It boots when usb or charger is plugged in. I dont now if it fits your needs but its a start.

savudragosh2 said:
There is an app "Auto Boot - Boot On Charge" in playstore. It boots when usb or charger is plugged in. I dont now if it fits your needs but its a start.
Click to expand...
Click to collapse
It does not work on this phone, works on Samsung mostly.
Am looking for the same function, as I had a Sumsung before
Will let you know if I found a solution.

_Arjen_ said:
It does not work on this phone, works on Samsung mostly.
Am looking for the same function, as I had a Sumsung before
Will let you know if I found a solution.
Click to expand...
Click to collapse
Sorry.

@Jinster
Which rom-version are you using?

If u don't find the solution u search, u can find a software that puts the phone in airplane mode. I think 1% of battery is a good deal for half day.
The real problem could be te ambiental temperature.
To hot or cold it's not good for the phone.

Related

[Q] 2 questions about charging battery

hi everybody; im a new member here, and i have 2 questions if its possible
1- how to disable charging the phone via usb cable
2- when i charge the battery with wall charger ( blackberry charger) the screen is locked, is that an option or a bug?
im using miui rom the last one 1.10.21( wajkiui)
thanks a lot ....................
109 views and no one simple reply?!! wow! thanks anyway.....
1) You can't disable charging from usn, seen as there is no physical difference in the usb plug. Still the same electric pins providing electricity to it
2) Yes it probably is a bug, but if you search for it, you may know more on it. Bugs rarely happen to only one person
Sent from my CM7 Defy
crakeron said:
1) You can't disable charging from usn, seen as there is no physical difference in the usb plug. Still the same electric pins providing electricity to it
2) Yes it probably is a bug, but if you search for it, you may know more on it. Bugs rarely happen to only one person
Sent from my CM7 Defy
Click to expand...
Click to collapse
Ah! ok, thanks for replying ill search dor that, maybe because im using blackberry wall charger , i need the original one i suppose.
Hello, I use the original charger and Motorola had the same problem, both in MIUI Rom as the CM7. My screen does not crash, but is very slow, I tried several things but it does not. How to disable loading, try using aa option "USB Debugging" enabled and when you connect, use "usb storage". I hope this helps.
Cassinander said:
Hello, I use the original charger and Motorola had the same problem, both in MIUI Rom as the CM7. My screen does not crash, but is very slow, I tried several things but it does not. How to disable loading, try using aa option "USB Debugging" enabled and when you connect, use "usb storage". I hope this helps.
Click to expand...
Click to collapse
hi, for the usb connection, the screen will nt freez, everything is working good, ive heard tht sumsungs wall chargers will do the job,ill try yr tip, thks man. another thngs, it takes ages to complete charging..... i know its a 1500 mah, it was the same case with my i8910 sumsung and n97...
Cassinander said:
Hello, I use the original charger and Motorola had the same problem, both in MIUI Rom as the CM7. My screen does not crash, but is very slow, I tried several things but it does not. How to disable loading, try using aa option "USB Debugging" enabled and when you connect, use "usb storage". I hope this helps.
Click to expand...
Click to collapse
hi, well ive just tried a nokia charger, it works, no frezzing, and screen response well while charging. need to see if it will reach the 100 percent...

[Q] Auto start when connect to charger

Hi,
Ive googled about this matter and cant seem to find a solution for the galaxy tab s lte but for other samsung devices since s3 is possible.
Ive also tried the Auto Power On app (paid apps) both of them didnt work and requested a refund.
It seems that we have to modify the file /system/bin/playlpm or /system/bin/lpm or /system/bin/ipod for this to work.
Ive tried everything and still doesnt work on the galaxy tab s lte.
What i need is for the tablet to boot upon connected to charger when the state is off. Now all i can see is the battery icon stating its charging but never boot into android.
Anyone have any idea how to make this work for the galaxy tab s lte?
Cheers.
Well it begs the question as to why in the world would anyone want this?
I wouldn't want my tab on every time I charge it.
I think you would need a custom rom, don't the apps you can download/buy, need your device to be already running so they can shutdown or run an app or change a mode when they detect you plugging in or removing the charger.
John.
ashyx said:
Well it begs the question as to why in the world would anyone want this?
I wouldn't want my tab on every time I charge it.
Click to expand...
Click to collapse
ashyx said:
Well it begs the question as to why in the world would anyone want this?
I wouldn't want my tab on every time I charge it.
Click to expand...
Click to collapse
Why would anyone need this? Let me answer you.
Some of us use our android tablets in cars ... There's app to make the tablet shutdown when u turn off the engine and the power is disconnected (tons of them).
But when u start the engine back and the power is re-connected, the tablet wont turn on. Right now the only solution i can do is to use tasker to airplane mode on the device when the display is off, and airplane mode off when the display turns back on. This saves power so that the tablet doesnt run out of juice overnight in the car.
So most of this has to do with in-car tablet systems that you want it to boot up as you start your engine. I can custom rom my tablet to run CM12 however even CM12 doesnt boot up, some settings needs to be changed and im not sure which part so i need some help on this.
Cheers.
ashyx said:
Well it begs the question as to why in the world would anyone want this?
I wouldn't want my tab on every time I charge it.
Click to expand...
Click to collapse
And btw .... iPhone iOS Behavior is exactly like this ... So no body is begging the question of why anyone would want this ... Just you i guess
arsyan said:
And btw .... iPhone iOS Behavior is exactly like this ...
Click to expand...
Click to collapse
Another reason not to want it then
LOL thats a good one ....
Anyway back to serious matter ... Any one out here can help me with this problem? I think it would help a lot others too that are looking for a solution. a CM12 solution would be great also coz i can flash the tablet with CM12.
Thanks in advance.
arsyan said:
And btw .... iPhone iOS Behavior is exactly like this ... So no body is begging the question of why anyone would want this ... Just you i guess
Click to expand...
Click to collapse
C'mon. You and I both know that this is a niche scenario, and normally it's a bad idea. If your running low enough on battery to run you device dead, you want it to charge a while before turning on. We've all been waiting on a dead phone to get a few percentage points charged so that way it doesn't die immediately upon startup.
I've been leaving my Tab S on a constant power supply in the car. This means I have to turn it on and off manually. I have been toying with using Tasker to turn the screen on/off based on connection with a BT device that would be powered by an switched power source.
The problem I get is warning messages about trying to charge the battery while it is too hot or too cold.
stm8 said:
I've been leaving my Tab S on a constant power supply in the car. This means I have to turn it on and off manually. I have been toying with using Tasker to turn the screen on/off based on connection with a BT device that would be powered by an switched power source.
The problem I get is warning messages about trying to charge the battery while it is too hot or too cold.
Click to expand...
Click to collapse
Why dont u try this app https://play.google.com/store/apps/details?id=com.as.powerchecker it will close the android once ur power is disconnected from the car ...
As for turning it back on when u start. Still no solution ...
Any help guys? Last time asking ...
Using Tasker and Secure Settings, I can get the tablet to turn the screen on and off when the power is connected. If rooted, you could turn Airplane Mode on and off in Tasker also. But short of a change in the firmware, I have no idea how to power off and restart based on external power connection.
From what I remember, when CM12 was still buggy... when you connect a charger when it was powered off, it would show the battery icon and automatically reboot into recovery. Of course that was a bug, so I don't really know.
-DUHA
Same here, did you find an answer?
Same here but no solution found
Iam trying to set my tablet to auto start/boot when charger is connected in mini usb port. I didnot find lpm.sh in root\system\bin folder to modify. But i found ilm file with below script. Plz tell how to modify to make powered off tablet to boot when charger is connected.
Script to start "pm" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/ime.jar
exec app_process $base/bin com.android.commands.ime.Ime "[email protected]"
You can instruct init to reboot the device whenever charger mode is detected. Create a new .rc file or edit any existing one:
# /system/etc/init/off_mode_charge.rc
on charger
setprop sys.powerctl reboot,leaving-off-mode-charging
Source: https://android.stackexchange.com/q...ower-on-android-when-the-charger-is-connected

Question Android auto issues

Hi everyone, having weird issues with op9pro and new Mazda CX5 infotainment. I could get it connected a couple of times but it starts to disconnect everytime I use it.
I tried opo6 with a custom rom based on Android 10 and it works perfectly.
In my previous Mazda 6 the op9pro use to work without any issue.... I read around there are issues with AA and android 11 in general, with different cars, I tried various workarounds but it seems impossible to have a stable connection here... Am I the only one around? Some suggestions would be appreciated
I'm also having problems with AA on my car. Here is my work-around:
Standard power charging going on and off. Can't use Android Auto [work-around]
Work-around : https://forum.xda-developers.com/t/standard-power-charging-going-on-and-off-cant-use-android-auto-work-around.4258043/post-84822769 I'm having a problem when I plug my phone into my car usb-a for charging and Android Auto (AA)...
forum.xda-developers.com
You can read the full thread, I've tried a lot of things.
clavelm80 said:
I'm also having problems with AA on my car. Here is my work-around:
Standard power charging going on and off. Can't use Android Auto [work-around]
Work-around : https://forum.xda-developers.com/t/standard-power-charging-going-on-and-off-cant-use-android-auto-work-around.4258043/post-84822769 I'm having a problem when I plug my phone into my car usb-a for charging and Android Auto (AA)...
forum.xda-developers.com
You can read the full thread, I've tried a lot of things.
Click to expand...
Click to collapse
thx, already ordered a new cable, I will give it a try and trace it here!
wollax said:
thx, already ordered a new cable, I will give it a try and trace it here!
Click to expand...
Click to collapse
Changing cables did not solve the AA problem for me. Except the oneplus 3t cable, I've only tried with anker ones. Maybe I should have tried other brands.
Interesting thing, the Anker USB-C to USB-A USB2 cable has solved the problem with my older power-bank.
hi to all, changed cable, tried PTP workaround, it could work once or twice but later as you connect the phone to the car it won't work for sure .... a real pain .... the only way for me is to use the old OP6 with android 10 custom ROM with the car, and the OP9P (main device and number!) not connected at all with the car, using a BT headset to answer while driving ..... what a shame!
wollax said:
hi to all, changed cable, tried PTP workaround, it could work once or twice but later as you connect the phone to the car it won't work for sure .... a real pain .... the only way for me is to use the old OP6 with android 10 custom ROM with the car, and the OP9P (main device and number!) not connected at all with the car, using a BT headset to answer while driving ..... what a shame!
Click to expand...
Click to collapse
Have you tried setting don't optimize for aa, then when you plus your phone into your car hold on the notification. Change it to important then turn sound and vibration off for that notification
I had similar issues with my OP9. I then made sure USB debugging was on in developer settings and that fixed the issue.
toolhas4degrees said:
Have you tried setting don't optimize for aa, then when you plus your phone into your car hold on the notification. Change it to important then turn sound and vibration off for that notification
Click to expand...
Click to collapse
thanks for suggestion but no way, I can connect once the OP9P playing with usb in developer section settings, but it works once, and I have to delete the car from the phone and the phone from the car settings ! When I reconnect to the car the OP9P starts to opening AA and closes it quickly, it never connects as my old OP6 with android 10 and custom ROM does ....
Now I am waiting for amazon to deliver other usb cables from Ugreen, but I don't think they will solve my issue .... hope very soon a custom ROM will arrive for this OP9P so that I will probably solve this SW issue, not sure it is only on Goolge side the reason for this issue, I suppose it could be something on Oneplus Oxygen ....
XNine said:
I had similar issues with my OP9. I then made sure USB debugging was on in developer settings and that fixed the issue.
Click to expand...
Click to collapse
sure I have developer activated but it's not enough!
wollax said:
sure I have developer activated but it's not enough!
Click to expand...
Click to collapse
You need developer settings on.
You need to turn on USB Debugging.
If this still fails, try switching the DEFAULT USB CONFIGURATION to FILE TRANSFER from NO DATA TRANSFER.
You may need to reboot after this, you may not.
Default USB Configuration is found under the Networking section in Developer Options, between Tethering hardware acceleration and Show Bluetooth devices without names.
XNine said:
You need developer settings on.
You need to turn on USB Debugging.
If this still fails, try switching the DEFAULT USB CONFIGURATION to FILE TRANSFER from NO DATA TRANSFER.
You may need to reboot after this, you may not.
Default USB Configuration is found under the Networking section in Developer Options, between Tethering hardware acceleration and Show Bluetooth devices without names.
Click to expand...
Click to collapse
all settings are ok in the OP9P, but it works as usual only once and after I stop the car in never reconnects again! if I reboot OP9P sometimes it works again .... for me it's not the "right" way to use it.
the OP6 works perfectly you can connect and disconnect how many times you want it never fails!
let's wait for next oxygen updates and maybe also google patches for their SW .... thanks again for sharing your experience!
Here is an update, after some time trying various combinations, I realized this device works perfectly the first time you connect to the car, if you turn off the car for example to get some fuel for a few minutes or less, or if you disconnect the phone and reconnect it without waiting, op9p won't connect anymore, but if you wait like a quarter then it will work perfectly.... the old op6 is not doing like that!!!!
Anyway now I know how to make it work and I can handle it someway!

Need to disable magnetic sensor for in-car use

Hi all,
I purchased a Nexus 7 (2013) for the sole purpose of using it in my car (for OBD gauge monitoring).
I want to be able to take the tablet out of the car for outside use, updating and what not. I'm in the process of molding a fiberglass mount with wireless charger attached. It works great - the magnets will hold the tablet even under heavy G forces, and the charger is charging.
The problem is I didn't know about the "feature" that turns the screen off when a magnet is sensed!
What is the easiest way to disable the sensor? I will literally NEVER need it to be activated.
I'm new to androiding. When I got my device it was in the boot loop of death so I managed to Google my way through reloading the factory software, but I didn't particularly enjoy it.
Really hoping there's an easily downloadable solution.
claybo20 said:
What is the easiest way to disable the sensor?
Click to expand...
Click to collapse
ElementalX Kernel has "option to disable magnetic on/off".
You can install the kernel easily with Restock2 + Addons
Also note: ElementalX-N7-6.17 custom kernel - I recommend to preset "doubletap2wake" and "battery life extender". For car use also preset "USB OTG + charge mode"

Question Xiaomi Poco F3 - Android Auto

Hello guys!
I have a Poco F3 with the newest android and EMUI. I wanted to connect it with my car and it didnt work. After i plugged in my usb cable nothing happened. Already done more settings options to work but it still do not work.
The car is 2017. skoda octavia with active smartlink.
I hope so much if some of you can help me.
Rubaj said:
Hello guys!
I have a Poco F3 with the newest android and EMUI. I wanted to connect it with my car and it didnt work. After i plugged in my usb cable nothing happened. Already done more settings options to work but it still do not work.
The car is 2017. skoda octavia with active smartlink.
I hope so much if some of you can help me.
Click to expand...
Click to collapse
Have you tried going to settings; security; permissions; auto start and from there make sure android auto is set to auto start (and any other related apps you may find)
EDIT: also might want to make sure battery saver is disabled for android auto, but shouldn't make a difference
Rubaj said:
Hello guys!
I have a Poco F3 with the newest android and EMUI. I wanted to connect it with my car and it didnt work. After i plugged in my usb cable nothing happened. Already done more settings options to work but it still do not work.
The car is 2017. skoda octavia with active smartlink.
I hope so much if some of you can help me.
Click to expand...
Click to collapse
It's not about the car or software but instead it seems like it's the USB technology ruining it for MIUI devices. Try another cable that's preferably older that uses USB 2.0. If you can't find any, invest in a USB 2.0 hub and your problem should be solved. Haven't found any other solution yet. Good luck!
You can also go into developer options usb default configuration and play with that try file transfer
Just to let you know that my seat (uses the same discover_media head unit as the skoda) works perfectly fine with the cable that came with the Poco F3. Just plug and play, nothing more
I'm using the stock ROM, locked bootloader.

Categories

Resources