# Custom OBD2 XML file cannot be imported?

**URL:** <https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520>\
**Category:** General Discussion\
**Created:** [January 23, 2023, 9:15pm UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520 "2023-01-23T21:15:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragonzsoul](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dragonzsoul](https://forum.realdash.net/u/dragonzsoul)\
**Post date:** [January 23, 2023, 9:15pm UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/1 "2023-01-23T21:15:46Z")

</div>

Hi Everyone,

Long time RD user here! I just joined because I want to add a custom PID (oil temp). I modified the OBD2 XML file, but cannot import it to the device (Pixel 4 running Android 13 and Pixel 7 running Android 13 Beta).

I get a “failed to parse file, file not found” message.

I’ve tried directly transferring to the device, as well as loading from Google Drive.

The original XML file from the github won’t load either.

Can anyone advise on how I can use a custom XML file?

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [January 24, 2023, 9:42am UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/2 "2023-01-24T09:42:43Z")

</div>

We discussed this over the email?

I do not know what the problem may be. The XML files you sent me on email was not a RealDash XML file. Something must happen to the file when you transfer it into your device. Another option is that you have not given RealDash a permission to access your files on Android settings.

---

<div class="post-metadata">

**Author:** ![dragonzsoul](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dragonzsoul](https://forum.realdash.net/u/dragonzsoul)\
**Post date:** [January 24, 2023, 7:52pm UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/3 "2023-01-24T19:52:31Z")

</div>

We did, but I was hoping other members might be able to assist.

I tried using the actual file provided from the github, but i can’t import it either. I’ve granted Real Dash all permissions. I run into the same issues on both devices.

I don’t think I’m the only one right?

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [January 25, 2023, 6:54am UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/4 "2023-01-25T06:54:39Z")

</div>

> [@](#):
>
> I don’t think I’m the only one right?

Currently to my knowledge you are 😃

Could you make a video of how you copy and import the XML file? Maybe I can spot something that goes wrong.

---

<div class="post-metadata">

**Author:** ![dragonzsoul](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dragonzsoul](https://forum.realdash.net/u/dragonzsoul)\
**Post date:** [January 25, 2023, 9:44pm UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/5 "2023-01-25T21:44:28Z")

</div>

Absolutely! I’ll email you with it

---

<div class="post-metadata">

**Author:** ![dragonzsoul](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dragonzsoul](https://forum.realdash.net/u/dragonzsoul)\
**Post date:** [January 25, 2023, 9:53pm UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/6 "2023-01-25T21:53:19Z")

</div>

Actually, easier to post here

[https://drive.google.com/file/d/11WhgwSis6r\_SxoBK2F-XXIb3UdGG0p3D/view?usp=sharing](https://drive.google.com/file/d/11WhgwSis6r_SxoBK2F-XXIb3UdGG0p3D/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [January 26, 2023, 6:52am UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/7 "2023-01-26T06:52:42Z")

</div>

I would need to know how you take the XML from GitHub, see the contents of the XML file, and how you transfer that file to your mobile phone. I believe something happens at that stage.

---

<div class="post-metadata">

**Author:** ![dragonzsoul](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dragonzsoul](https://forum.realdash.net/u/dragonzsoul)\
**Post date:** [January 26, 2023, 7:00am UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/8 "2023-01-26T07:00:53Z")

</div>

I went to the github ([https://github.com/janimm/RealDash-extras/tree/master/OBD2](https://github.com/janimm/RealDash-extras/tree/master/OBD2)) found the obd2 xml, right clicked, saved the file. I emailed it to myself and downloaded the file onto my phone.

I get the same error message if I transfer via a cable.

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [January 26, 2023, 10:06am UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/9 "2023-01-26T10:06:06Z")

</div>

That is the problem. If you do it like that, you will get the entire GitHub page into your saved file.

You can either:

- Clone the repository to your computer with Git and then copy the file to your device.
- Download the entire repository as zip file from GitHub, unzip, and then copy the file.
- Open the XML file in GitHub and use ‘Copy Raw Contents’ button and paste them to a text file.

---

<div class="post-metadata">

**Author:** ![dragonzsoul](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dragonzsoul](https://forum.realdash.net/u/dragonzsoul)\
**Post date:** [January 26, 2023, 6:08pm UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/10 "2023-01-26T18:08:35Z")

</div>

I right clicked on the OBD2 XML file, and saved that. I’ll try your steps though

---

<div class="post-metadata">

**Author:** ![dragonzsoul](https://forum.realdash.net/letter_avatar_proxy/v4/letter/d/d2c977/32.png) [@dragonzsoul](https://forum.realdash.net/u/dragonzsoul)\
**Post date:** [January 26, 2023, 7:19pm UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/11 "2023-01-26T19:19:03Z")

</div>

Well, to anyone who had issues because they don’t know how to properly export a XML file, Jani was right. His steps worked!

I feel dumb, but will be testing my custom PID later!

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [January 27, 2023, 10:05am UTC](https://forum.realdash.net/t/custom-obd2-xml-file-cannot-be-imported/1520/12 "2023-01-27T10:05:33Z")

</div>

Happy to hear you are making progress :thumbs:
