E90Post
 


 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Powertrain and Drivetrain Discussions > N54 Turbo Engine / Drivetrain / Exhaust Modifications - 335i > MHD Tuning - Powering Android device whilst plugged into OBD



Reply
 
Thread Tools Search this Thread
      12-20-2017, 10:43 AM   #1
Dino355
Lieutenant
Dino355's Avatar
United Kingdom
259
Rep
594
Posts

Drives: 2020 SB BMW M2 Competition
Join Date: Apr 2009
Location: London

iTrader: (13)

Question MHD Tuning - Powering Android device whilst plugged into OBD

Hi guys,

I have MHD running on my N54 and I'm using a Samsung Galaxy S5 via the USB OTG cable then the USB OBDII cable. The problem is when the phone is plugged in to OBD the phones battery drains. I'd like to have the gauges on MHD permanently on whilst I'm driving so I can monitor certain gauge readouts and also clear error codes on the fly so I'd like a solution to power the device whilst also plugged in to USB.

I want to hardwire a USB connection to power the phone and use a USB splitter after the OTG cable (and before the USB OBDII cable) to power the phone whilst using the MHD app and OBDII, will this work?

I realise there are some tablets out there with a separate usb and power connection but I don't want to run a tablet as I like the small size of the Galaxy S5

Also the USB splitter is USB 2.0 not USB 3.0 I'm guessing this shouldn't be an issue?

Here's the hardware I'm looking at using:

OTG USB


USB Male to 2 x Female splitter


USB Male to Male


USB Hardwire 12v to 5v


Thanks

Dino
__________________
F87 M2 Competition

Last edited by Dino355; 12-20-2017 at 10:55 AM..
Appreciate 0
      12-20-2017, 11:14 AM   #2
zero2sixtyZ
Colonel
United_States
1047
Rep
2,726
Posts

Drives: e92 + f15
Join Date: Jan 2012
Location: Cambridge, MA

iTrader: (4)

Garage List
Interested how this goes. Side note, considered converting to Qi wireless charging?
Appreciate 0
      12-20-2017, 11:36 AM   #3
Dino355
Lieutenant
Dino355's Avatar
United Kingdom
259
Rep
594
Posts

Drives: 2020 SB BMW M2 Competition
Join Date: Apr 2009
Location: London

iTrader: (13)

Quote:
Originally Posted by zero2sixtyZ View Post
Interested how this goes. Side note, considered converting to Qi wireless charging?
That's a good idea in principle however wireless dash chargers aen't that common yet and also I'd still need to plug in the usb cable for OBD to the phone so wireless charging doesn't really offer any real convenience except from the initial wiring instal.

One of the guys on a facebook group suggested I use this cable instead.



Means I lose the white OTG cable and the male to male usb cable so tidies things up.

Apparently which ever way I do it it should work. I'll order the rest of the cables and test it out before fitting. Will reply with results.
__________________
F87 M2 Competition
Appreciate 0
      12-20-2017, 12:39 PM   #4
BSG335
Driving in the slow lane
Australia
32
Rep
210
Posts

Drives: E92 N54
Join Date: Aug 2017
Location: Sydney

iTrader: (0)

Do you mind posting a link to the cable?
Appreciate 0
      12-20-2017, 01:00 PM   #5
addictedtoboost
Second Lieutenant
110
Rep
257
Posts

Drives: 2008 335xi E92
Join Date: Jul 2017
Location: Chicago IL

iTrader: (1)

Quote:
Originally Posted by Dino355 View Post
Hi guys,

I have MHD running on my N54 and I'm using a Samsung Galaxy S5 via the USB OTG cable then the USB OBDII cable. The problem is when the phone is plugged in to OBD the phones battery drains. I'd like to have the gauges on MHD permanently on whilst I'm driving so I can monitor certain gauge readouts and also clear error codes on the fly so I'd like a solution to power the device whilst also plugged in to USB.

I want to hardwire a USB connection to power the phone and use a USB splitter after the OTG cable (and before the USB OBDII cable) to power the phone whilst using the MHD app and OBDII, will this work?

I realise there are some tablets out there with a separate usb and power connection but I don't want to run a tablet as I like the small size of the Galaxy S5

Also the USB splitter is USB 2.0 not USB 3.0 I'm guessing this shouldn't be an issue?

Here's the hardware I'm looking at using:

OTG USB


USB Male to 2 x Female splitter


USB Male to Male


USB Hardwire 12v to 5v


Thanks

Dino
Just a heads up when you're running android it doesn't support usb host mode charging meaning you won't be able to charge while using MHD at the same time in your car without flashing a custom kernel and I suggest you buy the Asus Nexus 7 2013 or THe Asus Nexus 7 2012 model I've flashed both tablets successfully. I am using a 2013 nexus 7 tablet in my e92 daily. No issues charging. Check out this link https://mehrvarz.github.io/nexus-7-usbrom/
Appreciate 0
      12-20-2017, 01:19 PM   #6
Silent9n54
Captain
Canada
580
Rep
940
Posts

Drives: 2007 E92 335i
Join Date: Jul 2017
Location: Vancouver, Canada

iTrader: (0)

just put it into power saving mode... battery drain goes way down and i can have it on for a couple hours and not drain more than 20%
Appreciate 0
      12-20-2017, 02:19 PM   #7
Tim603
Colonel
Tim603's Avatar
United_States
488
Rep
2,283
Posts

Drives: 2007 335i E90
Join Date: Feb 2012
Location: North Canton, OH

iTrader: (8)

Garage List
2007 335i  [0.00]
I am surprised MHD does not have a bluetooth dongle/ app for gauges and diagnostics/logging. Thats a big reason I still run the jb4
__________________
Appreciate 0
      12-20-2017, 05:50 PM   #8
Dino355
Lieutenant
Dino355's Avatar
United Kingdom
259
Rep
594
Posts

Drives: 2020 SB BMW M2 Competition
Join Date: Apr 2009
Location: London

iTrader: (13)

Quote:
Originally Posted by addictedtoboost View Post
Just a heads up when you're running android it doesn't support usb host mode charging meaning you won't be able to charge while using MHD at the same time in your car without flashing a custom kernel and I suggest you buy the Asus Nexus 7 2013 or THe Asus Nexus 7 2012 model I've flashed both tablets successfully. I am using a 2013 nexus 7 tablet in my e92 daily. No issues charging. Check out this link https://mehrvarz.github.io/nexus-7-usbrom/
Thanks for the PM - I've ordered those cables.

As for the being able to charge your Nexus is that because it doesn't natively support OTG? My S5 does so would I need a custom kernel?
__________________
F87 M2 Competition
Appreciate 0
      12-21-2017, 12:09 AM   #9
addictedtoboost
Second Lieutenant
110
Rep
257
Posts

Drives: 2008 335xi E92
Join Date: Jul 2017
Location: Chicago IL

iTrader: (1)

Quote:
Originally Posted by Dino355 View Post
Thanks for the PM - I've ordered those cables.

As for the being able to charge your Nexus is that because it doesn't natively support OTG? My S5 does so would I need a custom kernel?
Yes the stock android kernel doesn't support host mode charging.No your S5 wouldn't work as these kernels are specific for 2013 Nexus 7 tablet.
Appreciate 0
      12-21-2017, 11:25 AM   #10
Dino355
Lieutenant
Dino355's Avatar
United Kingdom
259
Rep
594
Posts

Drives: 2020 SB BMW M2 Competition
Join Date: Apr 2009
Location: London

iTrader: (13)

Quote:
Originally Posted by addictedtoboost View Post
Yes the stock android kernel doesn't support host mode charging.No your S5 wouldn't work as these kernels are specific for 2013 Nexus 7 tablet.
Yup cables arrived today and device won't charge when using a Y splitter.

The links you sent me all relate to Nexus 7.
__________________
F87 M2 Competition
Appreciate 0
      12-22-2017, 12:22 AM   #11
addictedtoboost
Second Lieutenant
110
Rep
257
Posts

Drives: 2008 335xi E92
Join Date: Jul 2017
Location: Chicago IL

iTrader: (1)

Quote:
Originally Posted by Dino355 View Post
Yup cables arrived today and device won't charge when using a Y splitter.

The links you sent me all relate to Nexus 7.
Yes, as I stated in my earlier post above host mode charging will only work with a custom kernel flashed on a 2013 Google Nexus 7 tablet you can find on eBay for around $115 or less.
Appreciate 0
      12-22-2017, 01:22 AM   #12
neroneuman
First Lieutenant
47
Rep
351
Posts

Drives: 09 TiAg 135i MT
Join Date: Jun 2014
Location: Bay Area,CA

iTrader: (4)

Hey Buddy Dino335, it's me

As mentioned here, You would need usb otb charging enabled in your andorid kernel through custom rom. ElementalX kernel is one such free kernel and it supports below devices

http://elementalx.org/devices/
Appreciate 0
      12-24-2017, 10:04 AM   #13
Rob09msport
Lieutenant
United_States
128
Rep
488
Posts

Drives: 09 335 msport
Join Date: Nov 2016
Location: Mount Sinai ny

iTrader: (1)

Is it a kernel setting or would it be a setting in build prop or config sys maybe even xposed framework ill check but figured would see if someone already knew.
Appreciate 0
      12-25-2017, 12:10 AM   #14
V8bait
Lieutenant
406
Rep
574
Posts

Drives: e92 335i 6mt
Join Date: Oct 2011
Location: Houston

iTrader: (1)

Quote:
Originally Posted by Rob09msport View Post
Is it a kernel setting or would it be a setting in build prop or config sys maybe even xposed framework ill check but figured would see if someone already knew.
I believe it's just a kernal feature, I had it working on my galaxy s3 and galaxy s5, the s3 was on cm12 or cm13 iirc with a custom kernal and the s5 was on moar ROM with custom kernal. I had xposed and all the other typical things (busybox and such) but don't recall using it for the otg charging. Was just using a modified Y cable. My note 8 charges while logging but I have a magnetic wireless charger on the dash so yeah lol.
Appreciate 0
      05-05-2019, 09:22 AM   #15
PDR
Enlisted Member
1
Rep
35
Posts

Drives: 335
Join Date: Jan 2018
Location: Mystic, CT

iTrader: (0)

Sorry to revive an old thread, but I am in the process of trying to run a dedicated MHD gauge monitor through obd2 cable AND have the phone charge via the same cable. Ideally I’d like the phone to charge and automatically open gauges every time it powers on (phone will not have cellular and will be in car at all times attached to a ProClip mount).

Has there been any new software/developments that will help me do this? Or should I wait for new MHD dongle to come out rather than spend time and money on this install.

Thanks
Appreciate 0
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 12:17 AM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST