Home Artists Posts Import Register

Downloads

Content

With the last update we hand-crafted a GPD XP compatible HDMI output dock!

With this update we once again improve the docking capabilities of the GPD XP by adding USB storage (USB stick, card-reader, hard drive, solid-state drive) and USB HID (mouse, keyboard, gamepad) passthrough support!

To make use of these new docking features, please ensure both your GPD XP and Raspberry Pi (4+ preferred) are running the latest builds of their respective Android / UniDock firmwares attached to this post!

Dock updates aside: the built-in fan will now turn off when the screen is turned off, and the navigation buttons (recent apps & back) can now be switched (because GPD decided to swap the button order mid-production for some reason).

How to install: Unpack the attached files using 7zip and follow the included instructions found inside README.txt.

For those needing the Google Play Store: The GPD XP is a read-only partition device, which means flashing Google Play app packages (via a recovery) isn't possible. Magisk is shipped out-of-box though, allowing the install of system-less Google Play packages like MagiskGapps. The included README.txt contains a section explaining how to.

For those needing root: Magisk is included out of box and only needs to be activated on first boot. A WiFi connection is required for the initial Magisk activation.

For those needing HDMI output: Please refer to the following tutorial to build yourself your very own UniDock, giving you access to HDMI output & USB device passthrough (mass storage / HID) support!

Changelog

  • Added support for UniDock USB mass storage passthrough (USB stick, card-reader, hard drive, solid-state drive)
  • Added support for UniDock USB HID passthrough (mouse, keyboard, gamepad)
  • The built-in fan now turns off when the screen does & resumes (if previously enabled) when the screen turns back on
  • The recents apps & back navigation buttons can now be swapped (Settings -> System -> Buttons -> Extras)

Fixable known issues

  • The built-in touchscreen mapper offsets are slightly shifted while in UniDock mode (this will be fixed in a future revision)

Files

Comments

Anonymous

could you do a lineage os build for the GPD XP PLUS too ?

Anonymous

I just updated and the fan stops running when the screen is off. Excellent work.

Anonymous

Same for me, however only on the highest setting. When on the 'light' fan setting it shuts off, but seems to pulse on/off.

Anonymous

Hi, While my installing by double-clicking ”XPTool.exe" in windows, it is stopped after "Rebooting device into dynamic bootloader" and keep waiting for the device. What I should do for now? Is it bricked?

blackseraph

Go into device manager, you probably are missing a driver there. Find the unidentified device, right click it and choose install drivers, then pick ADB composite device from the list of device drivers. The install will then continue.

Anonymous

Thanks for the comments. But the device is now identified as " unidentified usb device " and can't choose a "ADB composite device". And now the power button of the device seems not to be working any more...

blackseraph

You need to "force install" the driver by picking "display unsupported devices". Mind you that might not be the exact wording. I'm a Linux user and just tell you from memory.

Anonymous

Thanks. The situation is... the device is recognized as a “Unknown USB Device (Device Descriptor Request Failed)” in “Universal Serial Bus controllers” section of Device Manager in my PC. So I can’t choose a driver which is not for a USB device such as an Android device. And I can’t put the power on of my device any more. Any way I will struggle a bit more by myself. I had successfully installed LineageOS to my XD+ and X18S, but this time somehow I failed.

blackseraph

Just nudge me on Discord if you do need 1:1 help getting it up and running again.

Anonymous

Thanks.

Anonymous

In original Firmware when you set the on-screen controllers, there is a "Mode2" option to move the right stick freely, this option does not exist in LineageOS, the right stick is locked in "Mode1".The option to change the resolution is also not available, and if you try to use a third-party app to change the resolution, the touches do not match.

blackseraph

I'll look into it. A fix for the resolution issue is already in the works though.

NightStorm1000

Hm. Somehow cant install this. It just hangs after: [INFO] Rebooting device into dynamic bootloader... [INFO] Waiting for device... And I looks like the XP is in SPFlash Mode now. Connecting and Disconnecting every few Seconds with "MediaTek USB Port" appearing and dissapearing in Device Manager. Only way to get it running again is to reflash stock. Any Idea how to fix it?

NightStorm1000

Seems like it has something to do with the Stock 1.40 Firmware mine shipped with. Cant even Download the Stock Package linked in the README to the Device.

Anonymous

I saw this posted on reddit: https://www.reddit.com/r/GPDXP/comments/qzo5uj/comment/hly9at2/?utm_source=share&utm_medium=web2x&context=3 "If anyone get some issues with this, don’t forget to unlock the bootloader and disable the dm-verity by flashing the vbmeta with an empty vbmeta.img. If you don’t, your device will bootloop once flashed with the patched boot.img." I don't have time to look into that yet, but maybe that is the problem?

Anonymous

Saw your previous discussion with Christian regarding the last three items failing to flash. I'm getting the same thing on my XP - were there any ideas there? I have also successfully restored to 1.36 with the Mediatek flash tool. [INFO] Rebooting device into dynamic bootloader... [INFO] Waiting for device... [INFO] Determining active boot slot... [INFO] Active boot slot: a [INFO] Deleting logical partition system_b... [INFO] Creating 0-byte logical partition system_b... [INFO] Deleting logical partition product_b... [INFO] Creating 0-byte logical partition product_b... [INFO] Deleting logical partition vendor_b... [INFO] Creating 0-byte logical partition vendor_b... [INFO] Deleting logical partition system_b-cow... [INFO] Deleting logical partition system_a-cow... [INFO] Scanning for optional local ROM... [INFO] Flashing product: FAILED [INFO] Flashing system: FAILED [INFO] Flashing vendor: FAILED

Anonymous

The screen stays black and the update / refresh will not start.

blackseraph

SPFlash mode should always work, regardless of which bootloader you are currently on.

Anonymous

I think the MTK drivers are not working with my win 10. I have installed the drivers but they are not working. The Lineage I tried to install on Mac OS. There is no SPF for Mac OS. Next weekend I will try again a few more things to get this device back alive.

blackseraph

I've installed those just fine on Windows 10 and 11. Mind sending a screenshot of your device manager with the device connected and in the right mode?

Anonymous

I managed to get the mtk driver to work. Then I reflashed 1.4 stock firmware = OK. But now I have problems installing the linage-os. The last few steps in the procedure shows FAILED. I have changed (copied to ROM folder) the boot.img from the 1.4 stock-firmware. Same error again. Log: INFO] Deleting logical partition system_b... [INFO] Creating 0-byte logical partition system_b... [INFO] Deleting logical partition product_b... [INFO] Creating 0-byte logical partition product_b... [INFO] Deleting logical partition vendor_b... [INFO] Creating 0-byte logical partition vendor_b... [INFO] Deleting logical partition system_b-cow... [INFO] Deleting logical partition system_a-cow... [INFO] Scanning for optional local ROM... [INFO] Flashing system: FAILED [INFO] Flashing vendor: FAILED [INFO] Flashing product: FAILED [INFO] All done! Returning to Android... [INFO] Press Enter to exit the application! The XP does not boot after this flashing.

Anonymous

OK. That works, thank you. Now: How to get the Playstore on the device? There is no Magisk or TWRP

blackseraph

The reason there's no Magisk is because you swapped the boot image. The only file you should copy over from 1.40 is preloader.img. So... Start with a fresh unpack of LineageOS, copy the 1.40 preloader.img file over, and reflash one more time. You will have Magisk after that. And with that you can install Litegapps to get your Play Store up and running.

Anonymous

Hi, I had returned back to stock firmware but I'm getting the "Your device is currupt and can't be trusted" I used the SP-flash with stock firmware from readme. Is there anyway to fix this so I dont get that error on start up everytime?

blackseraph

You can try locking your bootloader but I really wouldn't do that. There's too many ways non-techies can mess things up that way.

Anonymous

I had already tried that after returning to stock ended up must of been something that failed when it locked up on first time tried to flash lineage. I just did Format all + Download on SP-flash and it fixed it. Have you found a perm solution for the Device is not certified? I did the thing on google to allow but had a few apps wouldn't let me download and got a constant warning over public signed stuff.

blackseraph

Certification on uncertified devices is always hit & miss. This has been a cat & mouse game with Google that started all the way back when CTS was first introduced... I am currently experimenting with some ProtonAOSP patches on the RG552 branch with somewhat acceptable results and hope to merge those in for all other supported devices as well.

Anonymous

Great! yeah I love your work on the rom though not a fan of Bloatware. A request though would be to at least have a version that removes the emergency calls only/Telephone functions. Data/text only like the Stock rom has.

Anonymous

My 3 yr olds children tend to hit the emergency call button all the time. I dont have a actual plan for it.

Anonymous

May I ask what is actually triggering the Playstore isnt certified? Is it magisk and root stuff ? Or it it simply the custom rom? I had heard if it detects magisk it will automatically not be trusted. I really don't need root but I use playstore all the time anyway to use a Bare android installation with core playstore services.

blackseraph

The lack of a proper fingerprint & strongbox key. You can circumvent these things partially by patching the framework & init though, which is what I've done for the RG552 11 builds. It's not perfect but it works for most things. There's of course additional checks beyond that on an app to app basis (property checks, environment checks, etc.), but there just isn't a 100% reliable way to catch all of these.

Anonymous

Guessing debloating the stock rom wouldn't work either?

Anonymous

Thought of something big you could try to add. Is there anyway you can get the Samsung Dex services on the rom and spoof it so you use samsung desktop will run on it? (Allows your android apps and stuff on your desktop through your phone)

Anonymous

Hey the build does add phone functionality right? double checking before i flash it again. I got a extra free phone line with my new plan thinking about putting it in the device.

Anonymous

Can't unpack files for XP Dock or XD (original) android 9. Plz help.

Anonymous

How do i turn the unidock.7z into a unidock.img? Its failing to extract with 7zip and breezip.

Anonymous

Can gpd xp plus be used?