Dingoonity.org

GPD Consoles => GPD Android Devices => Topic started by: phh on September 25, 2017, 11:06:11 am

Title: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on September 25, 2017, 11:06:11 am
Hi all,

Here is an Android 7.1 for GPD XD:
- v4 https://we.tl/QZVjd1QWe8 (see #3 for older versions)
- Play Store: https://we.tl/yzZZ2mKb27 run install.sh (linux-only script, sorry)
Kernel source: https://github.com/phhusson/linux/tree/gpdxd-rk3288-7

Please note that this is HIGHLY EXPERIMENTAL.
Many things are not working, and I don't expect this ROM to be usable for day-to-day.

Things that work:
- Vulkan
- Adoptable Storage on microSD
- Audio out
- ...

Things that don't work:
- No Gamepad mapping tool
- DDR scaling

Known quirks:
- Bootloader doesn't support the screen, so you'll most probably see weird images at boot.
- WiFi doesn't survive a suspend, you need to reboot after a suspend to get Wifi back
- Sometimes the screen doesn't power up, though the backlight does. Don't worry, unplug your GPD XD, power it off for 30s, and power it back on. It should be good now.

ChangeLog:
v4:
- Enable suspend

v3:
- Fixed power button
- Fixed audio output (speaker and headphones)
- Forced permanent wake lock. No suspend, but no suspend crash either
- Fixed battery gauge

v2:
- Works on legacy flash tool
- LCD fix
- 1GB /system instead of 2GB

Have fun! And if you find this useful, tell me, so I keep working on it :)
(Also I'm curious about the usage of Vulkan, I haven't seen much except demos, so if it's useful for you, please tell!)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on September 25, 2017, 12:24:10 pm
That was quite unexpected. I hope you will keep working on it. Congratulations!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 25, 2017, 01:57:38 pm
** Edited this post to host the mirrors:

Android Exeperimental for GPD XD:
Version 01 (http://sectioneight.net/s8files/temp/GPDXD-Experimental-Droid7.1-v01.zip)
Version 03 (http://sectioneight.net/s8files/temp/GPDXD-Experimental-Droid7.1-v03.zip)
Version 04 (http://sectioneight.net/s8files/temp/GPDXD-Experimental-Droid7.1-v04.zip)

I test the versions for 3 things:
- Boots up ok
- Doesn't break/brick your GPDXD. ( not guaranteed - but i do flash the rom myself to take the same risk )
- Abilitiy to restore my old backup after I am done.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on September 25, 2017, 11:04:41 pm
Ok, this behaviour means you need a more recent rockchip flashtool. (like one which is able to flash an rk3399 should be good)
I can make an image which works with older versions of rockchip flashtool, but it makes the image bigger, takes more time to flash, ...
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on September 25, 2017, 11:09:16 pm
I don't know what this version is supposed to do but it just turns GPD into a brick at this point.

This person just registered and made 1 post. Very suspicious. I installed just to test it out and it doesn't load at all. It almost seems like that is the sole purpose of it. I get an image saying "erasing" with some sort of progress wheel.

I have flashed my gpd at least 200 times in the last month so this was just once more.

So until this guy elaborates on the firmware I do not suggest anyone installs. Just my opinion.

Yeah thats really fishy  :( . Still wouldn't write it off as a hoax. Take a look at his github: he forked the rk3288 branch of the linux kernel and made some significant changes/additions to it (over 1000 lines of code, 8 commits in 2 days) for XD button support, power supply driver, the XD's panel etc. some of it looks like some of it's derived from skeltons kernel. He even took the time to add a GPL2 license to the code.I'm not a kernel-dev but what i've seen of the code looks pretty legit. That seems like a metric ****-ton of work just for a hoax.

Take a look for yourself:
https://github.com/phhusson/linux/commits/gpdxd-rk3288-7

Also this github account wasn't created yesterday. He has been actively contributing to projects github since 2008 and has been a developer on the XDAndroid project back in the day ( a project aiming to port android 2.3 to phones shipped with windows mobile 6.X).

This probably is the real deal.

I'll see if I can get it to run on my XD but I first need to install a custom recovery and back up my existing rom. Took me forever to get it running exactly the way I want it and I don't wanna have to set-up everything all over again.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 26, 2017, 12:04:26 am
Quote
Yeah thats really fishy  :( . Still wouldn't write it off as a hoax.

agreed. that is why I added:

Quote
So until this guy elaborates on the firmware ..

=)

Quote
Ok, this behaviour means you need a more recent rockchip flashtool.

Ok I will try a newer tool.

Quote
I'll see if I can get it to run on my XD but I first need to install a custom recovery and back up my existing rom. Took me forever to get it running exactly the way I want it and I don't wanna have to set-up everything all over again.

Easiest way for custom recovery - I just finished it : https://youtu.be/4jzgLit4Bu0
I am sure you dont need the video but the files are here : http://sectioneight.net/gpd-xd/tutorials/gpd-xd-installing-custom-recovery-no-pc

Do CWM. Twrp doesn't work on legacy rom unless system (system.img) is partitioned using ext4. ( i just changed them yesterday )

If you want to change to ext4 version let me know. (it's easy) You can basically reinstall Legacy as an update and it will just change it with no changes to user data. Then you can flash twrp. Flashing recoveries takes like 2 seconds.

Just cause I like twrp better hehe.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 26, 2017, 12:16:45 am
I used RockchipBatchTool 1.8 which I think is the latest. Maybe I can use RK3xxx to repack it and try again.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on September 26, 2017, 12:50:42 am
I used RockchipBatchTool 1.8 which I think is the latest. Maybe I can use RK3xxx to repack it and try again.

As soon as I'm done backing up my stuff I can try flashing it with the upgrade tool for linux maybe that works.

Quote
If you want to change to ext4 version let me know. (it's easy) You can basically reinstall Legacy as an update and it will just change it with no changes to user data. Then you can flash twrp. Flashing recoveries takes like 2 seconds.

Just cause I like twrp better hehe.

yup I too prefer TWRP and ext4 is also pretty good to have. (ext3 is pretty old and ext4 has been the standard in linux for a while)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 26, 2017, 01:01:51 am
This is just to be super safe.

1.) Install CWM and make a CWM NandBackup.
2.) Install GPD Stock Recovery ( return old recovery )
3.) Grab the file from here and update your gpd. ( Link ) (http://"http://sectioneight.net/gpd-xd/tutorials/gpd-xd-how-install-roms-method-2")
4.) Install TWRP then make a TWRP backup.

** Make sure to grab the same Legacy Version you have now. 1.8, 1.6, 1.4. They are all updated to ext4.

You should have Legacy Rom in ext4. under Build info you should see the (ext4)



Quote
Ok, this behaviour means you need a more recent rockchip flashtool.

I tried AndroidTool_v2.38 and that didnt work either. Black screen

I was able to get into recovery. Tried a factory reset and nothing. I noticed the power button thing. I was able to nav with vol+ and vol- and holding them both down selects. Dunno if that is of use to you.
** nevermind I just read the recovery screen. It's the longpress that selects.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on September 26, 2017, 02:47:54 am
This is just to be super safe.

1.) Install CWM and make a CWM NandBackup.
2.) Install GPD Stock Recovery ( return old recovery )
3.) Grab the file from here and update your gpd. ( Link ) (http://"http://sectioneight.net/gpd-xd/tutorials/gpd-xd-how-install-roms-method-2")
4.) Install TWRP then make a TWRP backup.

** Make sure to grab the same Legacy Version you have now. 1.8, 1.6, 1.4. They are all updated to ext4.

You should have Legacy Rom in ext4. under Build info you should see the (ext4)



Quote
Ok, this behaviour means you need a more recent rockchip flashtool.

I tried AndroidTool_v2.38 and that didnt work either. Black screen

I was able to get into recovery. Tried a factory reset and nothing. I noticed the power button thing. I was able to nav with vol+ and vol- and holding them both down selects. Dunno if that is of use to you.
** nevermind I just read the recovery screen. It's the longpress that selects.

Too late dirty flashed the ext4 firmware and then twrp worked fine.

 After waiting for the backup I did a lowflash to wipe the nand and then an upgrade flash to install the fw with linux rockchip upgrade tool. getting the same result as PsyOps boots into black screen. Same with the recovery but after waiting 10 minutes it printed some errors, wiped data and cache and then started the recovery. After rebooting into windows to check if it will work with the batchtool, windows recognized the device and installed adb drivers but the device isn't recognized by adb.exe so no logcat for us   :(

i'll flash it again with batchtool and if that won't work I'll go back to legacy for the time being.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 26, 2017, 02:49:51 am
Using the recovery I think you can view some log files there too. I have no idea what they mean but I found them hehe.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 26, 2017, 03:06:23 am
Almost forgot, Commander flash this zip : http://www.sectioneight.net/s8files/gpd/tools/TWRP-theme.zip

It will fix the twrp resolution. It will make a folder on your sd card and save it there: /TWRP/Theme I think.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on September 26, 2017, 03:10:09 am
I just unpacked that update.img and it contains uboot (rockchip open source bootloader found on tvboxes for instance) and I remembered this:

The bootloader in rk3288 tablets is different from rk3288 tvboxes. If you flash the wrong bootloader from a tvbox you will brick it. Unfortunately, bootloader is close source, so nothing you can do. You would also need to make a ramdisk for linux, the one included in the xd won't work. But you don't.miss anything, i have run ubuntu in a tvbox and runs very poorly, bad performance and bad GPU Support, so cannot be used to emulate anything better than Android.

The bootloader in the xd is the allminiloader versi?n 2.2.5

So... wrong bootloader? would explain why it won't boot at all. Allthough the image also contains the miniloader.
seems I'm on the wrong track.

Almost forgot, Commander flash this zip : http://www.sectioneight.net/s8files/gpd/tools/TWRP-theme.zip

It will fix the twrp resolution. It will make a folder on your sd card and save it there: /TWRP/Theme I think.
cool I'll remember that when flashing back to legacy

UPDATE: well strike that. repacked the firmware and flashed and now the XD seems completely FUBAR. won't boot up, won't get into recovery, cannot get into flashmode - completely hardbricked. something must've gone really wrong. Maybe I can find a way do get into maskrom mode and fix it, if not I got a nice paperweight.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 26, 2017, 04:01:18 am
What exactly did you do?

Maybe the battery drain method could save it.

At one point I got my gpd to flash the GPD Logo for a second and it just looped doing that. Took a while but I held down the power button until it stopped. I almost had to time it when I held it down it didnt work the first time.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on September 26, 2017, 04:16:05 am
What exactly did you do?

Maybe the battery drain method could save it.


Well I unpacked the update.IMG and then repacked it using imgrepackerrk and then flashed it again with androidtool 2.3(seems i've messed something up there)  . flashed without problems and bam: green led of death. thought to myself "ok no biggie just power down, press vol+ and plug back in" and green light again. darn. kept it connected to the pc and pressed vol+ and power and got a green light again. vol- and power; green light. hooked up to the power adapter; green light. looks pretty bad, bricked a lot of android devices in my days and recovered all of them but this looks pretty bad. I doubt that draining the battery will do much in this case and that could take a while with nothing going on in the device except a green led glowing.

Also my pc doesn't recognize it at all. It's not even showing up in the device manager.

UPDATE: looks like some files got mixed up when I unpacked the legacy rom to compare it so it has probably has the wrong bootloader now. mea culpa. thats pretty much a hardbrick. the only thing that might fix it is maskrom mode but I don't even know if that works on the XD and even if it works I have to teardown the device to short the pins on the motherboard. biggest problem is finding out wich 2 pins to short to enter maskrom mode.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 26, 2017, 04:33:04 am
Keep us updated. I hope you can find a way to unbrick it.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on September 26, 2017, 11:21:24 am
As for the brick, the device can be in three states:
- powered on/suspend ==> long press on power button for 15 seconds to power off
- powered off ====> keep pressing volume+ button and plug USB cable
- battery drained ====> well same thing, though possibly it will need some time to raise above lower battery voltage limit

As for flashing, while you're unpacking, you can do simg2img system.img, this will make it compatible with your flashtool.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on September 26, 2017, 07:48:05 pm
What exactly did you do?

Maybe the battery drain method could save it.


Well I unpacked the update.IMG and then repacked it using imgrepackerrk and then flashed it again with androidtool 2.3(seems i've messed something up there)  . flashed without problems and bam: green led of death. thought to myself "ok no biggie just power down, press vol+ and plug back in" and green light again. darn. kept it connected to the pc and pressed vol+ and power and got a green light again. vol- and power; green light. hooked up to the power adapter; green light. looks pretty bad, bricked a lot of android devices in my days and recovered all of them but this looks pretty bad. I doubt that draining the battery will do much in this case and that could take a while with nothing going on in the device except a green led glowing.

Also my pc doesn't recognize it at all. It's not even showing up in the device manager.

UPDATE: looks like some files got mixed up when I unpacked the legacy rom to compare it so it has probably has the wrong bootloader now. mea culpa. thats pretty much a hardbrick. the only thing that might fix it is maskrom mode but I don't even know if that works on the XD and even if it works I have to teardown the device to short the pins on the motherboard. biggest problem is finding out wich 2 pins to short to enter maskrom mode.

When you connect yout XD to BatchTool, do you see a blue light instead of green? If that's the case you are in mask rom mode, probably because of a bad bootloader. You would need to shortcircuit nand, generaly even if you don't know what pins, just using a paperclip through all pins should do the trick, and make the system go to loader mode to reflash stock, legacy or the firmware you use.


About the kernel, there are things different from mine, joystick driver is different (no adc.js which I use in my kernel) so no ps3/xbox/null modes I guess.

My feeling is that this ROM is made using or porting firefly RK3399 SDK to RK3288. As far as I know, RK3288 SDK for nougat is beta and full of bugs, even the RK3399 is full of bugs. But that's just my guess. The maker of this rom is the one that can explain which one is using, because I only see kernel but not a device tree, so I suppose is firefly SDK and not aosp, but no idea because I don't have an XD to test or to help with the development
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on September 26, 2017, 08:14:44 pm
What exactly did you do?

Maybe the battery drain method could save it.


Well I unpacked the update.IMG and then repacked it using imgrepackerrk and then flashed it again with androidtool 2.3(seems i've messed something up there)  . flashed without problems and bam: green led of death. thought to myself "ok no biggie just power down, press vol+ and plug back in" and green light again. darn. kept it connected to the pc and pressed vol+ and power and got a green light again. vol- and power; green light. hooked up to the power adapter; green light. looks pretty bad, bricked a lot of android devices in my days and recovered all of them but this looks pretty bad. I doubt that draining the battery will do much in this case and that could take a while with nothing going on in the device except a green led glowing.

Also my pc doesn't recognize it at all. It's not even showing up in the device manager.

UPDATE: looks like some files got mixed up when I unpacked the legacy rom to compare it so it has probably has the wrong bootloader now. mea culpa. thats pretty much a hardbrick. the only thing that might fix it is maskrom mode but I don't even know if that works on the XD and even if it works I have to teardown the device to short the pins on the motherboard. biggest problem is finding out wich 2 pins to short to enter maskrom mode.

When you connect yout XD to BatchTool, do you see a blue light instead of green? If that's the case you are in mask rom mode, probably because of a bad bootloader. You would need to shortcircuit nand, generaly even if you don't know what pins, just using a paperclip through all pins should do the trick, and make the system go to loader mode to reflash stock, legacy or the firmware you use.

nah it's basically like a normal softbrick but it will not go into flashmode when connected to the PC or ligth up red when connected to the charger.


I disassembled the XD yesterday (don't try that at home kids) the biggest problem is gonna be getting to the NAND. couldn't take a look at the front of the motherboard because it is fixed in place with tiny little screws so I need to buy a small electronics screwdriver kit. also I have taken a couple of looks at photos of the motherboard and I can't see the NAND chip on there.

https://imgur.com/kfoe93Q

If it's under the the RF shielding covering most of the board, I'll have to get some acetone and desoldering braid to desolder and re-solder the whole thing. I'll see to that next week and probably post an update. I got a friend who does a lot of electronics tinkering maybe he's got the tools to do this. Gonna open a dedicated thread for this though as this is getting offtopic and if i succeed, some in-depth documentation could be useful for people running into the same problem.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on September 26, 2017, 08:52:48 pm
Maybe it is under the heatsink. I have never opened mine so not sure. The strange thing is that it doesn't show any light in batchtool. I hope you can repair it.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on September 26, 2017, 09:42:10 pm
About the kernel, there are things different from mine, joystick driver is different (no adc.js which I use in my kernel) so no ps3/xbox/null modes I guess.
Yup, I'd like to be able to push GPD XD support into Linux mainline, so no ps3/xbox emulation will be allowed.
Though, what I'm currently trying to do, is to make an Android application handle all gamepad => game stuff (either ps3/xbox emulation, or touchscreen emulation, ...)
This way it will work on all (rooted) Android devices/gamepad, not just GPD XD :P

Quote
My feeling is that this ROM is made using or porting firefly RK3399 SDK to RK3288. As far as I know, RK3288 SDK for nougat is beta and full of bugs, even the RK3399 is full of bugs. But that's just my guess. The maker of this rom is the one that can explain which one is using, because I only see kernel but not a device tree, so I suppose is firefly SDK and not aosp, but no idea because I don't have an XD to test or to help with the development
Well, that's not exactly firefly's rk3399 SDK, that's from another private SDK, but it looks really close.
I'll try to make something that works based on firefly rk3399's SDK, so that I can share all my changes.
So thanks for pointing me to this direction :-)

For the details of the work needed:
Rockchip dropped support for the PMIC, the WiFi chip, the audio chip, the touchscreen of the GPD XD.
For all of those, the code is actually there, but hasn't been updated for Linux 4.4

For the PMIC, I've actually sent mainline a basic support, so that's what I've integrated there.
It's still missing a lot. I'll keep working on the PMIC anyway to get a better mainline driver,
but I think it would be much faster to get a fully working device if someone just fixes Rockchip's code for it.

For the WiFi chip, I did some changes to make it build, changed a build init logic, and it seems to work, but I'm expecting bugs.

For audio, the good thing is that rockchip moved to a mainline method, and that our codec is supported in mainline!
So only minor configuration changes are required.

For the touchscreen, it has mainline support, I just had to enable it in kernel config \o/

For accelerometer, there is both a rockchip and mainline support. I need to switch to rockchip support, so that it works in Android.

For those who want to compare my kernel to rockchip's, do the delta with https://github.com/rockchip-linux/kernel branch release-4.4
You'll notice there are actually really little changes.


Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on September 26, 2017, 10:04:42 pm
Oh I see, well if it's private SDK I suppose you cannot share it. Though if it's from rockchip it won't be much different from firefly RK3399, because in the end all manufacturers just clone the repo that Rockchip provides to them, including GPD.

About the app you mention, try Tincore keymapper, basically it is what you want to do I think, since it can emulate several gamepads (xbox, ps3, mofa, shield etc.)

About SDK, the last thing I heard from GPD is that rockchip is dropping support for RK3288 because they are gonna stop producing them. No idea if it's true or not (it makes sense because GPD XD will be upgraded with a different SoC), but I suppose rockchip want to focus on RK3399,, which still needs a lot of love, I tested a firefly RK3399 with android 7.1 and was quite dissaspointing, and their linux distro ran pretty bad too. So I guess rockchip still has work to do.

The firefly RK3399 SDK is here if you want to take a look, though it's buggy.

https://gitlab.com/TeeFirefly/FireNow-Nougat/tree/Firefly-RK3399_Android7.1.1_MP_170829

Android M runs a bit better, but not so much.

Good luck with the development. Now that I am retired I am happy to see new people making firmwares for these devices.

Edit: Because of some mistakes using my english, but I am from Spain and my english is far from perfect, specially when I post using my phone LOL



Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 28, 2017, 08:02:18 am
How about you CommanderKitler? any update on your situation?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on September 29, 2017, 04:53:54 am
How about you CommanderKitler? any update on your situation?

As I said, I gonna open up a new thread if find I anything groundbreaking.

Only thing I can confirm right now is that draining the battery doesn't help in any way. Not a surprise though as I had it hooked up to the PC without the battery out of curiosity when I opened it up earlier and even then the only thing happening was the green led. The only thing interesting is that it does take a while for the green light to come up when the battery is drained (probably because it needs to have a certain charge to power up) but it comes up instantly without the battery installed. Maybe that's a quirk of the rk3288, usually most android devices don't respond at all when the battery is not installed.

The electronics guy I know is on holiday right now but he should be back next week so I gonna see to that then. Sucks that I messed up my XD but this could be an interesting opportunity to get some more information about the device. Anyways, don't worry, I gonna keep you guys in the loop :).
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: chent7 on October 02, 2017, 12:18:22 pm
There's just no way to get this to boot into the os for now

I tried repacking and flashing with imgRePackerRK, RK3xxx firmware tools 5.78.35.00, RKBatchTool 1.8, AndroidTool_Release_v2.38. Always ended up with the same thing, the recovery pops up for a few seconds with "erasing" and then black screen
EDIT: or there's just a black screen, I'm pretty lucky for not bricking my xd

I am not familiar with rockchip roms at all, hopefully someone will figure this out ;)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 02, 2017, 08:39:12 pm
Ok ok I'll make a non sparse-image...

Here it is:
http://dl.free.fr/mzOZDYNBB
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 02, 2017, 09:13:49 pm
yes we would appreciate a build that works on gpd xd. much appreciated.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Jutleys on October 03, 2017, 11:42:25 am
Anyone tried flashing the .img with rocktool flasher yet? will it flash?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Jutleys on October 03, 2017, 11:47:01 am
Ok ok I'll make a non sparse-image...

Here it is:
http://dl.free.fr/mzOZDYNBB

We would love you to keep working on this and get it working perfect gpd xd needs a updated rom bad there are many users out there inc me.I am willing to donate if we can get this at least a usable state and i am sure many will follow keep up the great work great project.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 03, 2017, 09:39:59 pm
Like to see a video of it working on the XD, I'm not just goner flash a untested ROM :)

Would love to see an updated ROM to atlest Android M so I can run Romflix  ;)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: chent7 on October 03, 2017, 10:20:37 pm
Left my PC running the whole night downloading the 2.08 gig rom file :'( :'(

I flashed the rom file this morning, however i'm still getting the black screen after the recovery message.

I left my 64gig XD on the charger, i'm probably gonna give it half a day until i'm done with uni. Then I'll force restart it to see if it works.
I might also unpack and poke around the files  ;)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 03, 2017, 11:29:06 pm
Black screen for me too.
Tried going into recovery and factory reset, but still get a black screen. Maybe there is another way to flash the fw. Either way I can't play with it too much atm. I am flashing back and forth so much already.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: chent7 on October 04, 2017, 12:08:03 am
Most likely it should be done with a flash tool most people are unaware of.
I havent been using my xd as much since im sick of jellybean.
As long as changes keep coming I'm very happy to do some flashing and testing.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 04, 2017, 10:43:30 am
So why are you running jellybean when kitkat is avalible or am I missing something, btw I hope we get a working Android 7 rom  8)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: chent7 on October 04, 2017, 01:43:07 pm
So why are you running jellybean when kitkat is avalible or am I missing something, btw I hope we get a working Android 7 rom  8)

Totally meant kitkat... I should stick with numbers next time :-[
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 04, 2017, 06:12:24 pm
I've realized the vendor partition was also sparsed.
This time, I've tested the generated image on legacy flash tool, so it should really work for everyone... I hope...
Here it is:
https://we.tl/scAC1QvfSi

Here are the changes of this version:
- Changed LCD init order ( https://github.com/phhusson/linux/commit/23db2b0a5a3799c3c7de81118a9d2ea1ee83bba8 )
- Changed system.img to 1GB
- vendor0.img is no longer sparsed
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 04, 2017, 07:44:41 pm
@phh Do you have a GPD XD?

P.S Who's got the balls to try it lol
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 04, 2017, 08:25:57 pm
Flashed and it loaded.

Anything you need tested or anything I can do with this to help you figure stuff out?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 04, 2017, 08:29:05 pm
Flashed and it loaded.

Anything you need tested or anything I can do with this to help you figure stuff out?

So share some pics what's working and whats not ect :)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 04, 2017, 08:44:45 pm
I am not too familiar with 7.0 so I have to figure this stuff out.
It flashed, loaded and I am just looking to see if it has PlayStore added.

First thing I noticed is I just formatted my SD Card is exfat for experimenting with twrp and legacy rom, and when I loaded 7.1 it says my card is damaged and I need to reformat. So I may reformat it using the samsung app that is installed in this 7.1.

Ill see if i can figure out a way to screenshot.

I also noticed while I was browsing in whatever browser it has installed, it kind of did a softreboot i think, like a crash and then went to lock screen. For a bit it looked like the bottom right of the screen was flickering. It seems to have gone away.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Jutleys on October 04, 2017, 08:46:20 pm
Let us know what?s working and what?s not so far thanks looks like the rom need some serious debugging loads of coffe and time sitting there looking at all the code sound like my cup of tea.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Jutleys on October 04, 2017, 08:50:51 pm
I am willing to test for the op if he needs beta testers.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 04, 2017, 09:09:13 pm
I will help when I can, but for the most part I will be flashing and playing with it for a bit before I flash back into my backups for my own projects. But I will try to help where I can.

You will have to go to settings to change how it connects with usb to transfer files. Just tap build number 5 times under "About Tablet" to open developer settings. The usb thing is under there somewhere.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 04, 2017, 09:25:42 pm
Quote
Ill see if i can figure out a way to screenshot.

You can take a screenshot by holding power+volume down.

Should work
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 04, 2017, 09:26:59 pm
Quote
Ill see if i can figure out a way to screenshot.

You can take a screenshot by holding power+volume down.

Should work

Quote
Things that don't work:
- Audio
- power button in Android
- Suspend
- No Gamepad mapping tool

Looking for a way around it
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 04, 2017, 09:36:28 pm
Ok use your phone lol
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 04, 2017, 11:17:54 pm
I've noticed the instability as well.
It appeared when I enabled WiFi driver, so that sounds like it will be very annoying to track.

For GMS, I've taken opengapps, and added a script:
https://we.tl/yzZZ2mKb27
Run install.sh from the extracted folder (sorry that will work only from Linux)
You'll need to factory reset from the settings after installing it.

What I'm interested in:
- If you are able to reproduce reliably the reboot, tell me how
- If you see bugs, well, tell
- In the list of things that are not working, what would be the highest priority to fix?
- Why is Android 7 useful for you? I'm especially curious about actual usages of Vulkan. The demos are nice, but that's not of any use... I tried running The Talos Principle, which runs Vulkan, but it requires S3TC, which the Mali doesn't have :(
- I can't force anyone, but I'd love to see people doing custom ROMs based on this one, so I don't have to care about Google apps, emulators, gamepad mapping, ...
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 04, 2017, 11:24:59 pm
any idea if rk3xxx tools can extract/pack this rom?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 04, 2017, 11:30:08 pm
Nice to see this being worked on, I think it would be a good idea to update the original post with the updated .img and info

ruffnutts
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on October 05, 2017, 06:18:14 am
Well I'd say the biggest advantage of Android 7 on the XD would be... Android 7 on the XD. Vulkan and a Lot of the other New features are great and all but the biggest issue with being stuck on 4.4.4 is compatibility. More and more Android devs compile their apps for higher API levels and are slowly abandoning kitkat. Having a basic AOSP Android 7.1 would mean expanding the GPD XD's lifetime and usefulness by a fair margin. With skelton retired and GPD abandoning the device for a New revision with a different SoC, the future of the RK3288 XD looks a bit dire. Also I am sure that the community would customize a working version for gaming purposes.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 05, 2017, 07:56:25 am
What CommanderKitler said, plus I would love to try romflix frontend because that only works on Android 5 and above :(

ruffnutts

video

https://www.youtube.com/watch?v=B9dy25BefWU&t=134s
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 05, 2017, 08:47:46 am
*deleted
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 05, 2017, 09:17:23 am
Your links not working  ???
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 05, 2017, 09:22:36 am
moved to your post ruff** doesn't belong here
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 05, 2017, 09:32:02 am
Got it thanks man :) 8)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 06, 2017, 08:23:48 pm
Any progress on this?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: chent7 on October 07, 2017, 10:30:04 am
Trying to get TWRP or root to work, no luck so far

BTW:
Oma made TWRP 3.1.1.0 for nougat: http://crewrktablets.arctablet.com/?wpfb_dl=3137

There are still some graphical glitches with this one but no where near as bad as the old twrp
Anyway TWRP won't detect anything, even though I thought this rom was in ext4

I tried rooting to use flashfire, but we can't use a flashable solution. Unpacking/repacking system.img causes a boot loop, no pc root solutions also never works.
One thing I will try is to mount system.img in ubuntu and try to root it that way

Edit: boot.img solution also doesn't work with magisk
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 09, 2017, 09:17:26 am
FWIW the firmware is already rooted, you just need to call adb root
So with adb remount, you should be able to install a SU in /system
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: chent7 on October 09, 2017, 10:44:10 am
FWIW the firmware is already rooted, you just need to call adb root
So with adb remount, you should be able to install a SU in /system

Just realized how incredibly stupid i was for not reading properly through the posts...
Thanks for that.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 09, 2017, 03:17:48 pm
@phh are you still wotking on the rom?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 10, 2017, 05:04:43 pm
Slowly, but yes
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 12, 2017, 11:12:08 pm
New version, with audio output, power button, battery gauge and at least suspend doesn't kill the device (though it doesn't really suspend)
https://we.tl/pGtSwK5c77
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: BelaGuez on October 13, 2017, 06:40:40 am
Registered on this board after a few days of lurking just to say keep it up phh!!!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 13, 2017, 03:06:36 pm
New version, with audio output, power button, battery gauge and at least suspend doesn't kill the device (though it doesn't really suspend)
https://we.tl/pGtSwK5c77

Might be wise to post new versions in the original post at the start, phh thanks for your hard work :)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 13, 2017, 04:54:52 pm
Unless I failed, I did this time
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 13, 2017, 07:16:10 pm
New version, with audio output, power button, battery gauge and at least suspend doesn't kill the device (though it doesn't really suspend)
https://we.tl/pGtSwK5c77

This one is not working using flash tool. Do I install it differently?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 13, 2017, 07:50:47 pm
Hum, the file looks too small, I guess I failed the upload
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 13, 2017, 08:10:44 pm
You may also want to leave the links to the old files up and just keep the main link updated. let me know if you need somewhere to upload them too. I can give you ftp to my site if you need a host. It's not the fastest, but if you need it let me know.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 13, 2017, 08:14:33 pm
The more you can make this compatible with batchtool on a single flash, the more people you will get to try it out and help out with trooubleshooting and bugs. There is a facebook group with interest in this project too.

This last push I made to get people to use custom recovery may help too. Having a backup helps in going back and forth between testing and just going back to playing the gpd.

Either way, your work is appreciated.

** If there is anything I can do to help out let me know. i am a linux nub but will install whatever version of linux and help you make things more compatible for release if you help me set it up, only if it will speed up the process. I don't want you slowing down trying to help me out.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 13, 2017, 11:52:34 pm
Ok for keeping old versions.
Could you mirror them and give me the URL?

The error was a PEBKAC, I upload a really old file :)
I've refreshed the op with the correct firmware
All firmwares I'll send will be compatible with the old flash tool.

Since my changes for the PMIC (= power button + battery gauge), I'm experiencing a lot of screen init issue
Because of this, I recommend not to use the current version

Thanks for your comments, that's helpful.
Perhaps if I get the motivation, I'll ask you to validate before sending updates :)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: illuminerdi on October 14, 2017, 01:38:28 am
You are a hero for doing this, thank you so much. I'm still waiting for it to be a bit more stable but I'm definitely onboard with what you're doing, thanks so much for all your hard work in bringing Android 7 to the XD!!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 14, 2017, 01:59:57 am
Cool. ok so far...

v03:
- Power button doesnt work, it ends up rebooting. Doesn't seem like its just a restart but somehow maybe its trying to shut down but doesn't.
- The screen does seem a little funky. Trying to assign a background gets a little weird, doesn't set right.
- Notification bar was offscreen for a bit but it reset just fine.
- The card doesn't read right. Says corrupt or something. Reads fine with legacy/stock rom. I used a 2GB card and it was reading it ok, so i don't know if that helps.


If there are specific things you need testing let me know. I will update this post with more stuff as I find it.

** I edited post #3 to add the mirrors in
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on October 14, 2017, 12:48:50 pm
That's amazing and i hope you will keep working on it, phh. You probably noticed that the XD development is gone, and since GPD had the terrible idea of releasing a new XD with a new soc this will probably be the only chance for the original XD users for having a new Android version. Also thanks PsyOps for the help you're giving to him.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: chent7 on October 14, 2017, 01:34:09 pm
So...I tired installing SuperSU. Kept getting bootloops. If anyone edit the batch file and look at the section I have commented out, that's where the problem is.

logcat: https://drive.google.com/open?id=0B_PWaYbCn_Ped2dueXFWMDVxVzA

I did get it to work eventually, and both flashfire and xposed works.
However, in some cases you may lose root access and you have to run the script with adb debugging.
A FACTORY RESET IS NOT NEEDED
DO NOT UPDATE THE BINARY IT WILL CAUSE BOOTLOOPS

The link is here (windows only): https://drive.google.com/open?id=0B_PWaYbCn_PebEZ2VkxVUFpGX0U

Google Play Store can be flashed after this with flashfire for someone without a linux machine

If someone can figure out something I didn't notice to implement SuperSU fully please let me know  ;)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on October 14, 2017, 03:05:00 pm
That's amazing and i hope you will keep working on it, phh. You probably noticed that the XD development is gone, and since GPD had the terrible idea of releasing a new XD with a new soc this will probably be the only chance for the original XD users for having a new Android version. Also thanks PsyOps for the help you're giving to him.
Well, it's not that GPD had that idea. they are forced to do it, because RK3288 will be out of stock. So current XD was going to end manufacturing anyway. New model will be called XDS and will use an hexa core MTK, the same that comes with xiaomi mi pad 3. They have a proto ready to test.
I am not defending GPD though, I understand your point they could release a new android version for RK3288, although they had issues to get a perfect stable firmware as far as they told me, so I suppose they resigned for that reason. They never gave me a recent SDK yo try to port it by myself, so I am late to the party.
No idea what mali libs use this 7.1 release, I hope they are different from the ones used in LP or android M, because Saturn emulation works bad with them. But maybe the SDK phh has in his possesion has new ones provided  by RK.
I am not confident with new XD model anyway, unless is too cheap the GPD WIN is a much better device in all means, and even if it's more expensive, it costs every penny,
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on October 14, 2017, 04:04:31 pm
Hi Skelton, thanks for sharing these informations. Sorry phh about going offtopic, but my criticism about what GPD is doing is that this device should have a completely different name (kind of have it by using XDS), and also a different design as well. I'm saying this because here in Brazil most of the people had just began to know the XD by the beginning of the year. Funny thing is that the biggest complain is regarding Android 4.4 which many people are calling heavily outdated. Since most of the chinese stores which are advertising still have the original in stock i guess many uninformed will end up flashing the XDS firmware into the XD. That's why i call it a bad move.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on October 14, 2017, 04:16:33 pm
Don't worry, MTK firmware files cannot be flashed in RK ones, so I don't think people brick them. The XD is almost two years old, and the RK3288 is even older, so I suppose that if rockchip stps producing them, GPD is forced to change it. I suppose the name change would help to avoid the confussion I guess.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: c4ffeineaddict on October 14, 2017, 11:21:19 pm
Well, it's not that GPD had that idea. they are forced to do it, because RK3288 will be out of stock. So current XD was going to end manufacturing anyway. New model will be called XDS and will use an hexa core MTK, the same that comes with xiaomi mi pad 3. They have a proto ready to test.

Where did you read this?  I've tried looking for info on XDS/XD 2 and haven't been able to find anything


Sent from my iPhone using Tapatalk
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on October 15, 2017, 08:31:34 am
Well, it's not that GPD had that idea. they are forced to do it, because RK3288 will be out of stock. So current XD was going to end manufacturing anyway. New model will be called XDS and will use an hexa core MTK, the same that comes with xiaomi mi pad 3. They have a proto ready to test.

Where did you read this?  I've tried looking for info on XDS/XD 2 and haven't been able to find anything


Sent from my iPhone using Tapatalk

A GPD developer told me about it.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: typingsux on October 16, 2017, 02:23:19 pm
This is cool  :o
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 17, 2017, 10:00:59 pm
New release (v4):
https://we.tl/QZVjd1QWe8

Now suspend works. I haven't tested battery life, perhaps suspend is useless at the moment.
Please note that wifi is killed by suspend, so you'll need to reboot after suspend to get wifi back.
I had to disable DDR frequency scaling, I'm a bit afraid of the results, both in performance and battery life...

I also have a GPD Q9. I think porting should be easy.
Are there some people interested in its support?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 17, 2017, 10:17:20 pm
The gms file you had posted, I tried installing it but it gave a bunch of "Command not found".

Hm i suspect this has to do with classpath doesnt it?

Anything in particular that you would like tested in this new version?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: jackal27 on October 17, 2017, 10:24:10 pm
That's amazing and i hope you will keep working on it, phh. You probably noticed that the XD development is gone, and since GPD had the terrible idea of releasing a new XD with a new soc this will probably be the only chance for the original XD users for having a new Android version. Also thanks PsyOps for the help you're giving to him.
Well, it's not that GPD had that idea. they are forced to do it, because RK3288 will be out of stock. So current XD was going to end manufacturing anyway. New model will be called XDS and will use an hexa core MTK, the same that comes with xiaomi mi pad 3. They have a proto ready to test.

DAMN. I just KNEW they were going to release a new GPD XD right after I finally bought one. Uuuuuuugh.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 17, 2017, 11:25:08 pm
New release (v4):
https://we.tl/QZVjd1QWe8

Now suspend works. I haven't tested battery life, perhaps suspend is useless at the moment.
Please note that wifi is killed by suspend, so you'll need to reboot after suspend to get wifi back.
I had to disable DDR frequency scaling, I'm a bit afraid of the results, both in performance and battery life...

I also have a GPD Q9. I think porting should be easy.
Are there some people interested in its support?

I know there's no mapping tool but what about the gamepad app that selects the ps3 driver or xbox? thanks for you hard work btw  8)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 17, 2017, 11:46:01 pm
I will take the app from stock/legacy and just install on 7.1 and see if that works


Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 18, 2017, 02:04:42 am
v04:
+ I noticed the power light is now green and not a shady orange color, im guessing something is working better now
- Google Play does not work, it keeps crashing and wont connect. Doesnt work properly, crashes a bunch.
- SD card still comes up with error - doesn't read it right - It was a 128gb Fat32 MicroSD card that didnt work. My 2gb MicroSD Fat32 works fine. Don't know if that helps.
- GPD turns on when you try to charge it with usb. Tried turning it off while it was plugged in and it just reboots.
- Wifi started acting up. Was off, tried to turn on, and it would crash/reboot android. After a few reboots it was working again.




** I updated post #3 with mirror site to version 04 **

Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: HercTNT on October 18, 2017, 04:44:16 am
New release (v4):
https://we.tl/QZVjd1QWe8

Now suspend works. I haven't tested battery life, perhaps suspend is useless at the moment.
Please note that wifi is killed by suspend, so you'll need to reboot after suspend to get wifi back.
I had to disable DDR frequency scaling, I'm a bit afraid of the results, both in performance and battery life...

I also have a GPD Q9. I think porting should be easy.
Are there some people interested in its support?

I would. I have a q9 and would love to see this.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 18, 2017, 09:41:46 am
Quote from: PsyOps
+ I noticed the power light is now green and not a shady orange color, im guessing something is working better now
Erm sorry, but green means it doesn't suspend. The LED should be off when in suspned
Quote from: PsyOps
- Google Play does not work, it keeps crashing and wont connect. Doesnt work properly, crashes a bunch.
Erm, works for me

Quote from: PsyOps
- SD card still comes up with error - doesn't read it right - It was a 128gb Fat32 MicroSD card that didnt work. My 2gb MicroSD Fat32 works fine. Don't know if that helps.
That might help indeed, I'll check that, thanks.

I know there's no mapping tool but what about the gamepad app that selects the ps3 driver or xbox? thanks for you hard work btw  8)
Nope, ps3/xbox was done in driver, and it's a brand new driver, so the app won't be compatible.

I would. I have a q9 and would love to see this.
Ok, I'll see what I can do. (Though I'll do not as many releases, it's too annoying to build both)

The gms file you had posted, I tried installing it but it gave a bunch of "Command not found".
It requires to have adb installed system-wide (apt install adb)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: NightStorm1000 on October 18, 2017, 10:05:16 am
Wow! Thats great! Android 7.1 on my GPD XD. Now I can finally use Parsec on it to play all my PC Games on it. Moonlight was way to Laggy.

Thank you so much for your effords
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: irwannasit on October 18, 2017, 11:21:12 am
Looks promising. Keep it up!

Sent from my ASUS_T00N using Tapatalk

Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 18, 2017, 01:15:56 pm
Wow! Thats great! Android 7.1 on my GPD XD. Now I can finally use Parsec on it to play all my PC Games on it. Moonlight was way to Laggy.
This looks cool.
Have you tested it?
What's their pricing model? I can't see any price anywhere
Or they are getting money from Amazon/Paperspace when you rent a computer there?

Edit: Ah... they only support Windows as a host... Not for me then
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 18, 2017, 06:43:15 pm
The gms file you had posted, I tried installing it but it gave a bunch of "Command not found".
It requires to have adb installed system-wide (apt install adb)

Yeh I figured it out thnx. I'll play around with it more in a bit. - Thnx again for your work.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 18, 2017, 10:37:06 pm
After you stabilize the build more, are you planning on clocking the cpu at 1.8GHz. It says its currently running at 1.6GHz. Or maybe have a second release?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on October 18, 2017, 10:56:14 pm
After you stabilize the build more, are you planning on clocking the cpu at 1.8GHz. It says its currently running at 1.6GHz. Or maybe have a second release?

Good Question, like to see a releae with google play built in and root  8)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ker on October 19, 2017, 09:21:46 am
Wow! Thats great! Android 7.1 on my GPD XD. Now I can finally use Parsec on it to play all my PC Games on it. Moonlight was way to Laggy.

Thank you so much for your effords
O_O Didn't know about Parsec. I've just connected a GPD Win to my PC and it works great!!! I'll try it in a Rpi3 this weekend

Do you know if Android client has any kind of virtual controler? I've tried it in a mobile but I cannot see any option.

It would be awesome to run it in our GPD XD!!!

Enviado desde mi SM-G950F mediante Tapatalk

Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: HercTNT on October 19, 2017, 09:31:43 am
Quote from: PsyOps
+ I noticed the power light is now green and not a shady orange color, im guessing something is working better now
Erm sorry, but green means it doesn't suspend. The LED should be off when in suspned
Quote from: PsyOps
- Google Play does not work, it keeps crashing and wont connect. Doesnt work properly, crashes a bunch.
Erm, works for me

Quote from: PsyOps
- SD card still comes up with error - doesn't read it right - It was a 128gb Fat32 MicroSD card that didnt work. My 2gb MicroSD Fat32 works fine. Don't know if that helps.
That might help indeed, I'll check that, thanks.

I know there's no mapping tool but what about the gamepad app that selects the ps3 driver or xbox? thanks for you hard work btw  8)
Nope, ps3/xbox was done in driver, and it's a brand new driver, so the app won't be compatible.

I would. I have a q9 and would love to see this.
Ok, I'll see what I can do. (Though I'll do not as many releases, it's too annoying to build both)

The gms file you had posted, I tried installing it but it gave a bunch of "Command not found".
It requires to have adb installed system-wide (apt install adb)
I completely understand. It's not really worth creating a build just for two people. Even more so, if it does not have google play in the custom rom it would not be of a lot of use to me either. I would appreciate anything you can do and thank you in general for trying :)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: NightStorm1000 on October 19, 2017, 11:26:20 pm
Wow! Thats great! Android 7.1 on my GPD XD. Now I can finally use Parsec on it to play all my PC Games on it. Moonlight was way to Laggy.
This looks cool.
Have you tested it?
What's their pricing model? I can't see any price anywhere
Or they are getting money from Amazon/Paperspace when you rent a computer there?

Edit: Ah... they only support Windows as a host... Not for me then

The Programm itself is Free. You can either rent a Cloud PC from Somewhere over the Parsec Marketplace http://parsec.tv/add-computer/rent or download the Software and install it on your PC to Act as a Host.
The Dev said on Discord that they gonna support Linux as a Host in a few Weeks from Today

Wow! Thats great! Android 7.1 on my GPD XD. Now I can finally use Parsec on it to play all my PC Games on it. Moonlight was way to Laggy.

Thank you so much for your effords
O_O Didn't know about Parsec. I've just connected a GPD Win to my PC and it works great!!! I'll try it in a Rpi3 this weekend

Do you know if Android client has any kind of virtual controler? I've tried it in a mobile but I cannot see any option.

It would be awesome to run it in our GPD XD!!!

Enviado desde mi SM-G950F mediante Tapatalk



Didn't find any myself. The Android Client is pretty much a Alpha right now and the Devs said that they gonna improve it very soon.

You can Vote on Android 4.4 Support if you want: https://parsec.canny.io/feedback/p/android-44-support-gpd-devices
There you can also create a feature Request for the Onscreen Gamepad if you want.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ker on October 20, 2017, 02:12:17 pm
Wow! Thats great! Android 7.1 on my GPD XD. Now I can finally use Parsec on it to play all my PC Games on it. Moonlight was way to Laggy.
This looks cool.
Have you tested it?
What's their pricing model? I can't see any price anywhere
Or they are getting money from Amazon/Paperspace when you rent a computer there?

Edit: Ah... they only support Windows as a host... Not for me then

The Programm itself is Free. You can either rent a Cloud PC from Somewhere over the Parsec Marketplace http://parsec.tv/add-computer/rent or download the Software and install it on your PC to Act as a Host.
The Dev said on Discord that they gonna support Linux as a Host in a few Weeks from Today

Wow! Thats great! Android 7.1 on my GPD XD. Now I can finally use Parsec on it to play all my PC Games on it. Moonlight was way to Laggy.

Thank you so much for your effords
O_O Didn't know about Parsec. I've just connected a GPD Win to my PC and it works great!!! I'll try it in a Rpi3 this weekend

Do you know if Android client has any kind of virtual controler? I've tried it in a mobile but I cannot see any option.

It would be awesome to run it in our GPD XD!!!

Enviado desde mi SM-G950F mediante Tapatalk



Didn't find any myself. The Android Client is pretty much a Alpha right now and the Devs said that they gonna improve it very soon.

You can Vote on Android 4.4 Support if you want: https://parsec.canny.io/feedback/p/android-44-support-gpd-devices
There you can also create a feature Request for the Onscreen Gamepad if you want.
Done!

Enviado desde mi SM-G950F mediante Tapatalk

Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Karoi on October 21, 2017, 12:40:48 pm
Can someone explain me what I need to flash this? I'm on LegacyROM now and I want to try this out and help by providing feedback. But I can't seem to find which program I need to use to flash the v4 image. Thanks!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 21, 2017, 02:05:37 pm
If anyone needs help on installing come to discord chat : https://discordapp.com/invite/Qb3f6WV
Or you can try me on irc chat: http://sectioneight.net/gpd-xd/live-chat

Best chance of finding me online is discord, I have it on my mobile.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on October 30, 2017, 10:24:27 am
How goes it phh? any testing you need done?

Things i would like to see (high priority):
- Fix the sd card issue.
- somehow get twrp to work - someone tried and it didnt pick up partition correctly ( maybe format whatever partitions in ext4 like system.img ?? )

lower priority:
- Preroot
- gms installed
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on November 08, 2017, 02:59:12 pm
Any progress on this?  ;D ;D ;D
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: chikcne on November 13, 2017, 02:47:24 am
I'm interested in this, PPPSSPP now supports Vulkan so Vulkan support is always welcome.

Has anyone tried it out with PPSSPP yet?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: johannes on November 29, 2017, 04:13:06 pm
Any news about this?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: jpapex on November 29, 2017, 10:29:04 pm
Also replying to see if this project is still alive. Now that we have Vulkan support, I'm hoping Battlefront II (PSP) will run a little smoother in ppsspp.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on November 30, 2017, 12:00:49 pm
Latest commit were from 17 october. We should keep some realistic expectations about it.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Jenova on December 03, 2017, 08:53:11 am
I'm gonna attempt to install this ROM... see what happens... lol.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Jenova on December 03, 2017, 11:02:33 pm
So, i installed Android 7.1 last night. Wasn't a big fan.

- Many apps are missing from the install such as GAMEPAD APP for ps3/xbox automatic configuration or the google play store.
- Barebones ROM in general; no wallpapers/interface has drastically changed from what most users are used to/doesnt really improve emulation speed either.
- I don't even think it improves standard ghz the XD comes with; 1.6 or 1.8 options are not there.
- MicroSD card is NOT recognized at all. I tried various methods for it to be read, no success.
- Most links for the ROM itself don't exist anymore... i had to research for Psyops links in order to download it in the first place.
- Had difficulty being able to mount the OS to windows 10 initially. Once a certain driver is installed & switching to debugging mode/MTP connection... I was FINALLY able to mount it to windows 10 in Explorer to transfer files.

The ROM works but needs a lot of further development. Also, since rockchip is 32bit, I doubt the latest 7.1 nougat can take advantage of the specs of the XD. If further development is made, I'm for it... but as it stands now, I do NOT recommend it for most users.

I'm changing back to LegacyROM when I get a chance & reset all my apps/settings back to the way they were.

 ???
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: SynbiosZero on December 04, 2017, 12:34:11 am
So, i installed Android 7.1 last night. Wasn't a big fan.

- Many apps are missing from the install such as GAMEPAD APP for ps3/xbox automatic configuration or the google play store.
- Barebones ROM in general; no wallpapers/interface has drastically changed from what most users are used to/doesnt really improve emulation speed either.
- I don't even think it improves standard ghz the XD comes with; 1.6 or 1.8 options are not there.
- MicroSD card is NOT recognized at all. I tried various methods for it to be read, no success.
- Most links for the ROM itself don't exist anymore... i had to research for Psyops links in order to download it in the first place.
- Had difficulty being able to mount the OS to windows 10 initially. Once a certain driver is installed & switching to debugging mode/MTP connection... I was FINALLY able to mount it to windows 10 in Explorer to transfer files.

The ROM works but needs a lot of further development. Also, since rockchip is 32bit, I doubt the latest 7.1 nougat can take advantage of the specs of the XD. If further development is made, I'm for it... but as it stands now, I do NOT recommend it for most users.

I'm changing back to LegacyROM when I get a chance & reset all my apps/settings back to the way they were.

 ???

Thank you for the review, I was planning to test latest version, I want to use MAME core (Retroarch) with latest version (which doesnt work on KitKat) and Vulkan (PPSSPP), but I need a full-working OS... Thanks for your time testing it ;)

And thanks to the people behind porting this Android version, maybe one day we all can update our XDs with all we have now on KitKat! :D
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on December 06, 2017, 09:52:44 pm
So, i installed Android 7.1 last night. Wasn't a big fan.

- Many apps are missing from the install such as GAMEPAD APP for ps3/xbox automatic configuration or the google play store.
- Barebones ROM in general; no wallpapers/interface has drastically changed from what most users are used to/doesnt really improve emulation speed either.
- I don't even think it improves standard ghz the XD comes with; 1.6 or 1.8 options are not there.
- MicroSD card is NOT recognized at all. I tried various methods for it to be read, no success.
- Most links for the ROM itself don't exist anymore... i had to research for Psyops links in order to download it in the first place.
- Had difficulty being able to mount the OS to windows 10 initially. Once a certain driver is installed & switching to debugging mode/MTP connection... I was FINALLY able to mount it to windows 10 in Explorer to transfer files.

The ROM works but needs a lot of further development. Also, since rockchip is 32bit, I doubt the latest 7.1 nougat can take advantage of the specs of the XD. If further development is made, I'm for it... but as it stands now, I do NOT recommend it for most users.

I'm changing back to LegacyROM when I get a chance & reset all my apps/settings back to the way they were.

 ???

The Rom is very barebone and it is probably not gonna change as it is not intended as a replacement for Legacyrom. It is more like a basic framework to build something like legacy rom on top (at least it's gonna be that as soon as all the bugs are ironed out). If this ever reaches a stable state it is probably the best thing that happened to the device since legacyrom as it's trying to merge GPD XD support into the linux kernel. And while we won't see huge performance improvements compared to legacy, having a open source android 7 for the XD gives the device a future it wouldn't have otherwise. We are already experiencing problems with app support (look at kodi or some Retroarch cores like n64 or MAME) and in the future it is gonna get worse with devs abandoning kitkat.

So this project is as impressive as it is important to the future of the device but:

PSA: at the time of writing THIS ROM IS NOT IN A STATE WHERE IT COULD BE USED AS A DAILY DRIVER AND IT IS HIGHLY EXPERIMENTAL. It is missing some very needed features and optional stuff you're already used to from using legacyrom. If you're not a developer or at least really curious about vulkan there is no real reason to install this rom.

Some infos about your review:

- The GAMEPAD APP is missing for a reason - the author is trying to get the XD button support merged into the linux kernel removing the need for a gamepad app emulating xbox or ps3 controllers

- Google play store is usually missing from open source roms and needs to be flashed using a Gapps package

- Overclocking is not implemented by default and needs to be implemented into the kernel to work


Our best bet is to keep an eye on the github page and hope this project is going somewhere.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on December 06, 2017, 10:03:02 pm
uh what commander said hehe.

Anyone testing it is just supposed to root around android and see if there are any bugs. Right from the start PHH mentioned he is hoping to release this in hopes that someone LIKE skelton ( he is retired ) would pick it up and develop a rom for it.

baby steps.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on December 07, 2017, 10:10:51 am
FWIW I'm currently very busy with Android 8.0/Project Treble stuff ( cf https://forum.xda-developers.com/project-treble/trebleenabled-device-development/experimental-phh-treble-t3709659 )

It's fairly unlikely that I'll come back to the GPD XD development any time soon.
Sorry guys

Edit: If someone wants to take this over based on Firefly RK3399 Android 7, I can still help
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on December 07, 2017, 11:40:27 am
Phh are you using the firefly rk3399 SDK that is in their gitlab webpage? Maybe you can upload your SDK in a tarball and maybe someone can take a look and contin?e from there.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on December 07, 2017, 03:45:40 pm
No, I'm using a private rockchip SDK... That's why it would need to start again based on public Firefly RK3399 SDK
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on December 07, 2017, 04:33:52 pm
I see. Well, firefly rk3399 in theory includes rk3288 files i guess, so someone should start that way. Not sure about uboot though.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on December 08, 2017, 12:17:53 pm
For u-boot, this tree works:
https://github.com/rockchip-linux/u-boot/tree/rkproduct (NOT master branch)
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ruffnutts on December 08, 2017, 03:40:12 pm
Sad times really wanted Android 7 on my XD  :'(
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: johannes on December 09, 2017, 03:57:22 pm
Me too. I suppose I will sell it and get the Xd plus.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: e-ghost on May 07, 2018, 05:09:24 am
May I ask a stupid question?
Since GPD XP+ came with Android 7.0 then can we port it's apps (say, gamepad app / EMU) to this GPD XD Android 7.1 firmware? Will it able to make it works? I really wish we can enable Vulkan for this RK3288 to unleash it true power.

Just a thought. Thanks a lot!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on May 07, 2018, 05:55:55 pm
May I ask a stupid question?
Since GPD XP+ came with Android 7.0 then can we port it's apps (say, gamepad app / EMU) to this GPD XD Android 7.1 firmware? Will it able to make it works? I really wish we can enable Vulkan for this RK3288 to unleash it true power.

Just a thought. Thanks a lot!

Sadly, no.
While the original and the plus model look the same, the internal components are not that similar at all. Different SoCs, GPUs and drivers means that you can just port vulkan (for instance) between the plus and standard XD. Emulators don't need to be ported but will only work if the developer of the EMU targets android 4.4 or lower. To get vulkan and newer emulators the XD needs only one thing: a newer Android version.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on May 07, 2018, 06:52:25 pm
In theory this alpha of android 7 support vulkan, but other things didn't work correctly.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: e-ghost on May 08, 2018, 04:29:58 am
Hi CommanderKitler,

Sorry I may ask silly question as I have limited Linux knowledge  :-*. May I ask what components are different? I think phh has provided the big piece in terms of Android 7.1 with CPU and GPU with Vulkan support so running latest EMU should not be a problem? Does it produce sound while playing latest EMU? Can we port the gamepad app from XD+ to this experimental Android 7.1 for XD? (From previous post by phh, seems he intended to put gamepad support in kernel but not yet completed. Then will it give us room to use non-kernel app to add-on gamepad support?)

So what is missed is gamepad, hdmi or propably power management (sleep)? Can we re-use any app from XD+ rom to make it works?

Thanks a lot!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: CommanderKitler on May 08, 2018, 08:29:52 am
Well it seems like most of the major issues in the kernel are fixed (v4 seems to be able to suspend) and you could flash the rom and probably run any emulator with vulkan support fine.

As for the Gamepad - it does work it is just lacking an app to emulate ps3/xbox controls or map the buttons in another way (just taking the GPD XD+ gamepad app wont work though as there are differences in how input is handled) if the Emulator used does support input mapping that should not be a problem though. Someone would need to make their own Gamepad app for this rom if needed.

I don't know much about the hdmi - maybe the support yet has to be implemented into the kernel or the rom but I highly doubt any of the GPD XD+ apps will fix that.

there seem to be other issues like the wifi driver not working quite right.

The biggest problem seens to be the rom itself, being pretty much WIP and thats probably not gonna change anytime soon.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on May 08, 2018, 12:47:51 pm
@skelton @CommanderKitler Since you guys knows a lot about it, i've been thinking. From where this ROM is right now, would it be possible for someone with the proper knowledge resume phh's work and develop it into a fully working version of Android 7.1?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on May 08, 2018, 02:31:37 pm
Supposedly yes, unless some driver is a bit tricky. But only phh has the private SDK that he used to make this rom. I think he discontinued it though.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on May 08, 2018, 03:00:45 pm
Supposedly yes, unless some driver is a bit tricky. But only phh has the private SDK that he used to make this rom. I think he discontinued it though.


So, only the kernel source that he shared won't be enough?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on May 08, 2018, 03:19:09 pm
that helps of course , (in fact he cherrypicked some things from my kernel, lile LCD timings), but some drivers need userspace libraries that usually come with full SDK. I suppose he cannot share the full source for some reason (a NDA probably), For gamepad he used a different approach, but it is a HID gamepad. The gamepad modes of XD 4.4 can be used too, the driver is in my github.

Anyhow, about Vulkan, only PPSSPP would benefit for it I guess, and maybe retroarch, but that's it. I suppose the biggest improvement would be more android game support. Overclocked seems to be removed from his kernel too (it seems in new RK kernels 4.4x they use speeds in a different manner).

Buy yeah, someone with knowledge, but specially time and motivation could do a 7.1 ROM or even Oreo maybe. I asked GPD several times if they had access to a more modern SDK, but they never replied, probably because that would stop sales (even more, because I don't think it is selling too well) for xd +.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on May 08, 2018, 03:45:51 pm
that helps of course , (in fact he cherrypicked some things from my kernel, lile LCD timings), but some drivers need userspace libraries that usually come with full SDK. I suppose he cannot share the full source for some reason (a NDA probably), For gamepad he used a different approach, but it is a HID gamepad. The gamepad modes of XD 4.4 can be used too, the driver is in my github.

Anyhow, about Vulkan, only PPSSPP would benefit for it I guess, and maybe retroarch, but that's it. I suppose the biggest improvement would be more android game support. Overclocked seems to be removed from his kernel too (it seems in new RK kernels 4.4x they use speeds in a different manner).

Buy yeah, someone with knowledge, but specially time and motivation could do a 7.1 ROM or even Oreo maybe. I asked GPD several times if they had access to a more modern SDK, but they never replied, probably because that would stop sales (even more, because I don't think it is selling too well) for xd +.

Thanks for the information, Skelton. Although kitkat isn't really so outdated right now it would extend the original XD lifespan a little bit with a newer android version. Honestly i don't think that this could happen. Maybe black seraph could be interested with a patreon campaign, but i was disappointed that so many people had downloaded the original legacy rom, but almost no one donated.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on May 08, 2018, 04:36:14 pm
Well, that happens unfortunately. Maybe GPD or a seller can send a device to Black Seraph or developer Rafaboom (which is developing for xiaomi mi pad 3 and showed interest on discord), for newer firmwares for Xd or Xd plus- In the case of Xd plus at least a firmware that currenty works ok, because it still seems a beta.....?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 11, 2019, 07:33:47 am
I just tried this have it working but NO SOUND? Can anyone help?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 11, 2019, 08:19:45 am
It is experimental - many bugs.
This project has also been abandoned. No more work on it, sorry.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 13, 2019, 01:22:16 am
I got it working no worries, good ROM honestly, Wifi drops are only issues I see, feels faster than the 1.8ghz Legacy ROM I usually use. Some apps do not work, like the Play Store and some other emulators like Classicboy, etc... Still, Most of the main ones do work fine. This gives new life to any GPD XD! Nice to have some support for the XD Rk3288 and get Vulkan going for once! Great work!

FYI - Black Seraph's GPD WIN - Android Oreo ROM is incredible... SUPPORT HIM! N64 Emulation is flawless and Vigilante 8 runs perfect with 12 cars on screen no glitches! It has issues too, but is more powerful than any android handheld I have tried to date. I guess that z8700 ATOM is decent with a x86 build of Oreo!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 13, 2019, 05:42:08 am
Hey can someone link me the PLAY STORE file that was deleted off the sharing site? It is gone now.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 13, 2019, 05:42:49 am
- Play Store: https://we.tl/yzZZ2mKb27 run install.sh (linux-only script, sorry)

That file is what I need
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: ker on September 13, 2019, 03:27:35 pm
I got it working no worries, good ROM honestly, Wifi drops are only issues I see, feels faster than the 1.8ghz Legacy ROM I usually use. Some apps do not work, like the Play Store and some other emulators like Classicboy, etc... Still, Most of the main ones do work fine. This gives new life to any GPD XD! Nice to have some support for the XD Rk3288 and get Vulkan going for once! Great work!

FYI - Black Seraph's GPD WIN - Android Oreo ROM is incredible... SUPPORT HIM! N64 Emulation is flawless and Vigilante 8 runs perfect with 12 cars on screen no glitches! It has issues too, but is more powerful than any android handheld I have tried to date. I guess that z8700 ATOM is decent with a x86 build of Oreo!
Does Steam Link app work in this rom?

Enviado desde mi SM-G950F mediante Tapatalk

Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 13, 2019, 08:44:33 pm
ROM works well enough, but all the the Google Apps, framework are missing, the root is all messed up too. Sadly the app support is not the most current too. BUT, Yaba Sanshiro 2.60 runs most games almost PERFECT on Nougat.

If ROOT could be fixed and the Goggle Apps could be installed, this ROM would only have 2 main  issues, WIFI drops, and the Bootloader screen garbage issues in the UI.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 13, 2019, 08:47:12 pm
Sadly the XD RK3288 is not getting too much love now. It is ashamed... If this kernel had Skelton's OC to 1.8ghz and a proper config for the app store and proper ROOT, the XD would have NEW LIFE in support. Sucks honestly... RK3288 is not hard to develop for, I however suck at dev and any attempt I have made to dump/compile my own ROMs has been futile. I just do not have the smarts like our friend Skelton, other hackers out there :(
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on September 14, 2019, 12:10:49 am
Thanks for letting us know your experience with this rom. It's really a shame that this rom didn't developed any further. It's funny considering right now that the XD Plus has some problems with Yaba Sanshiro and the newer versions worked with no issues for the original. Skelton is retired from android development. Maybe Black Seraph could be interested into creating a patreon for this development, but is there someone who still owns the original GPD XD?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 14, 2019, 02:31:05 am
Well I figured out to change my default resolution and DPI without needing proper root, so honestly, I do not need it fully ROOTed now. I only ever use ROOT for Overclocking/CPU control + changing higher resolution/dpi for the more demanding apps/emus. To be honest guys, the main issue I have now is the lack of Google services and the Google PlayStore. I tried to use the Gapps APK and nothing will download. I also tried to apply a custom .zip of GAPPs VIA the built in Nougat recovery menu, it will not install that zip update, I get an error about the package being wrong? Damn, so CLOSE! If I could get proper Google services working on here, that would make the XD Rk3288 device much more usable than using the Legacy 1.8ghz ROM I use now.

Does anyone have that link for the Linux command to install the Play Store? Can someone tell me how to addd Google framework and services to a device with no ability to add Goggle accounts/Play Store?

FYI - The WIFI drops are not too common, so that is not my main issue with this device, Proper ROOT would be nice though. It needs the 1.8ghz OC and the Play Store apps/framework. It is good getting Vulkan and having ANDROID 7.1 is just worlds better for the more modern and demanding emus.

The XD has proper Mail drivers, so Saturn emulation is DAMN good with no glitches like other closed source drivers.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 14, 2019, 02:37:10 am
So in a nutshell, these are the issues that need to be fixed in order to make this PERFECT.

- Fix WIFI drops
- Fix/Add Google Play/Services/Framework
- Fix/Repair PROPER ROOT for full access even on reboot
- Add 1.8ghz Overclock to the V4 rev ROM for full CPU speed

Anyone have any ideas how this can be done? I am willing to do the edits and get this done, just need some guidance. I wish I could de-compile that ROM, and change the CPU clock values to 1.8ghz, then re-compile. Making some sort of ROOT update .zip for the modified ROM would be great too. Adding Google apps and frameworks to the ROM would be great too. A real problem is the custom recovery options have garbage GUI and do not work right. The SD/USB/NAND partitions will not MOUNT, I get errors every time I use them with this ROM.


I am trying to fix these issues myself, I just need some help. I know people edit ROMs all the time, I am sure I could fix these issues. I could at least recompile that ROM with 1.8ghz OC in the kernel. I also want to add Google services/Play Store, etc. Proper ROOT needs to be fixed too, SU is not working right and after Re-ROOTing on a reboot it is all gone. The Wifi drops are an issue but I have no clue what to do about them.


If anyone has some resources to help me do this, please let me know. I just need to de-compile the ROM and change some vaules then re-compile it. Adding Google services/frameworks and Play Store would be great too. This project needs to at least be finished with the community. The XD has a quite decent RK3288 with proper Mail drivers and emulation could be really good! I would still give credit to those that created these ROMs, etc. I just want to be the hands to get this going and done.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 14, 2019, 06:53:32 am
Thanks for letting us know your experience with this rom. It's really a shame that this rom didn't developed any further. It's funny considering right now that the XD Plus has some problems with Yaba Sanshiro and the newer versions worked with no issues for the original. Skelton is retired from android development. Maybe Black Seraph could be interested into creating a patreon for this development, but is there someone who still owns the original GPD XD?

No problem man, listen if you have any resources where I can decompile then EDIT the ROM, then rebuild/compile the changes into that edited ROM, that would be great! I really want Google APPs to work on this too so any help there is appreciated too. Yaba Sanshiro 2.60 is working really damn well with the XD and Nougat! I want this ROM perfected. The XD+ is a joke for Saturn emulation. Having the XD with Vulkan and Nougat is amazing!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: onthebridge on September 14, 2019, 01:50:23 pm
but is there someone who still owns the original GPD XD?
I just bought one :D

Radioboy86 thanks for keeping this alive, hopefully a developer will put a new life into this
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 14, 2019, 02:22:56 pm
The fixes should be simple, I have never developed before, but I think if someone links me some resources and tools... I could adjust the OC to 1.8ghz, add Goggle Play/Framework/Services and maybe even fix ROOT too. I admit the latter seems out of my wheelhouse. I just need to figure out a way to decompile the ROM and "see" the values and adjust them. Adding Goggle stuff for Play Store SHOULD be easy with GAPPS installer/zip but I cannot get it to flash the right ARM 32-Bit package it needs.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 14, 2019, 02:25:42 pm
but is there someone who still owns the original GPD XD?
I just bought one :D

Radioboy86 thanks for keeping this alive, hopefully a developer will put a new life into this

No problem man, back when the first RS-97 GBA CART model handhelds emerged here... I think I was one of the first people to post about the potential of the device and light a fire of interest in the community to mod/flash it and get the Dingoo A320 "spiritual" successor we all wanted since the A380/A380e model fiasco lol. MAYBE I can light that fire here for the XD Nougat ROM WIP?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 14, 2019, 02:29:02 pm
I am telling you guys, this ROM with a XD RK3288 is pretty dope. I have owned the damn Nvidia Shield Tegra K1 Portable Debugger handheld and it was impressive! This XD has the potential to destroy even that beast...
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on September 14, 2019, 07:14:21 pm
No problem man, listen if you have any resources where I can decompile then EDIT the ROM, then rebuild/compile the changes into that edited ROM, that would be great! I really want Google APPs to work on this too so any help there is appreciated too. Yaba Sanshiro 2.60 is working really damn well with the XD and Nougat! I want this ROM perfected. The XD+ is a joke for Saturn emulation. Having the XD with Vulkan and Nougat is amazing!

Sorry i can't help you with development. I don't know anything about it. @skelton is retired from developing, but i believe he can help you or at least give you some directions. He's still around Dingoonity. There's also BlackSeraph, but he hadn't logged into his account since january, but it's very active on gpd xd reddit as MrColdBird. Man, i really hope that you could fix this. Nougat for the original XD would be an amazing swansong for it.  ;D ;D ;D
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 14, 2019, 10:57:32 pm
Yep, well I will do some research and see what I can do. Sucks that the XD RK3288 gets no love nowadays.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 14, 2019, 11:48:44 pm
Okay so I do have root access in ADB and the # symbol is there when I force "su" in the command window. I have changed  the governor to performance, but on reboot it is gone. Does anyone know how I can make these changes stick on reboot? I know that a ADB tool I used to change the DPI and resolution keeps the settings when I reboot, so can I get the CPU scaling mode changes to stick after reboot on this ROM too? I fear I need to de-compile this ROM and edit what needs to be done, then re-compile.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 15, 2019, 05:02:51 am
GPDXD-Experimental-Droid7.1-v03.zip has been extracted into Update3.img

I de-compiled/extracted that ROM image and have a series of various IMG/Kernel files now, including the BOOT.img
I have looked all over and used many command based tools for Windows and I cannot get that BOOT.img to extract.
I need that BOOT.IMG to extract as well as get those other files broken down so I change the text values as needed.

Seems like there is NO tools to do this for Rk3288 devices. I need one specific to RK3288. It took a long time to find one that could break down that ZIP into and IMG, and then break that down into the many IMGs/KRNLs files,etc...

I know I am close. Does anyone have any tools that can BREAK down and allow extracting of RK3288/XD ROMs/IMGs, etc? I have tried Android Kitchen, and many others but they all report the BOOT.IMG as wrong and will not extract it.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 15, 2019, 05:04:50 am
imgRePackerRK.exe&imgrepackerrk version 1.06 (windows&linux)

THIS tool broke down the ROM/IMG into the deeper parts, still I need to break them down more. I need BOOT.IMG to extract into Ramdisk, etc...
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 15, 2019, 08:07:35 am
Okay I am done, head is killing me. That ROM Phh made is not extracting correctly with ANY tool I try, the files and directories are just not right and I obviously need ALL of the TOOLs he used to make that ROM and compile it. I am sure I could edit some things and fix the parts needed, but I need some help and all the current links that did fix things like the Goggle GApps and Play Store are GONE from the servers. Any help would be great. I need it.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 15, 2019, 10:40:21 am
http://sectioneight.net/s8files/temp/gpd-xd-gms.zip
http://sectioneight.net/s8files/temp/GPDXD-Experimental-Droid7.1-v04.zip
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 15, 2019, 12:47:28 pm
Hey what are those files? Thanks BTW. I spent hours trying to edit that ROM but I have no idea what I am doing. Not as easy as I assumed. I thought I could just edit the txt values and de-compiling and rebuilding would be easy as pie!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 15, 2019, 12:55:32 pm
http://sectioneight.net/s8files/temp/gpd-xd-gms.zip
http://sectioneight.net/s8files/temp/GPDXD-Experimental-Droid7.1-v04.zip

Okay so I see one is the Google framework. How can I install this friend? Do I need Linux or can I use a Windows GUI tool?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 15, 2019, 12:59:08 pm
I noticed that REV04 has no sound on my XD, and REV03 does have sound. That is so odd... Are the files named wrong? This ROM deff is confusing, still thanks for the help. I really wish we could smooth out the edges and offer this to folks with a normal RK3288 XD. So much of a pain.

Yeah just checked again, the sound is broken on that REV04 IMG ROM, so odd... Do you guys have that issue too?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 16, 2019, 05:53:36 am
Could someone please tell me if there is anyway of controlling CPU gov and speed without making/editing a new rom? The ROOT on this ROM is not giving me permissions too, so all the apps looking for ROOT cannot find the SU/# root that is installed on the ROM. I tried KingoRoot and it's ROOT tool worked, but the ROOT access is removed on a reboot.

I would also like to know how I can install GoogleApps.zip with the .sh installer. I tried some tools in Android for installing .sh scripts but none worked. Is there a recovery ROM that works with his ROM? The ones I tried have a glitched menu and do not mount things correctly. I know I need to flash Open GApps in a zip with the recovery menu right? I would be so grateful for any help you have man.


I would be thrilled if I could just do these things to the ROM...

- Add Goggle Play and framework for 7.1
- Fix the semi-working root permissions for apps asking for SU/# access...
- Control the CPU governor to access "performance"

I now have given up on recompiling a ROM with CPU freq set at 1.8GHz. I did not realize he made this ROM with confidential resources/SDK tools supplied by Rockchip and designed for dev-work on the XD RK3288...
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 16, 2019, 06:20:09 am
FWIW the firmware is already rooted, you just need to call adb root
So with adb remount, you should be able to install a SU in /system

Need someone to explain this to me. I want to do this for the ROM. Clueless AF.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 16, 2019, 06:22:46 am
So...I tired installing SuperSU. Kept getting bootloops. If anyone edit the batch file and look at the section I have commented out, that's where the problem is.

logcat: https://drive.google.com/open?id=0B_PWaYbCn_Ped2dueXFWMDVxVzA

I did get it to work eventually, and both flashfire and xposed works.
However, in some cases you may lose root access and you have to run the script with adb debugging.
A FACTORY RESET IS NOT NEEDED
DO NOT UPDATE THE BINARY IT WILL CAUSE BOOTLOOPS

The link is here (windows only): https://drive.google.com/open?id=0B_PWaYbCn_PebEZ2VkxVUFpGX0U

Google Play Store can be flashed after this with flashfire for someone without a linux machine

If someone can figure out something I didn't notice to implement SuperSU fully please let me know  ;)


Anyone have these links still?
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 16, 2019, 06:32:59 pm
https://drive.google.com/open?id=0B_PWaYbCn_PebEZ2VkxVUFpGX0U

SuperSU-v2.46-XD.rar

That is the file I need, Google link is dead
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: PsyOps on September 18, 2019, 08:19:59 pm
I am looking for it.

Try : https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip?retrieve_file=1
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 19, 2019, 08:42:20 am
Thanks man. I will try that. At this point I am done trying to fix the ROM, I mean it was closed source. I had no idea until I read this whole thread lol. Thanks for the help through.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: onthebridge on September 19, 2019, 02:12:21 pm
Thanks man. I will try that. At this point I am done trying to fix the ROM, I mean it was closed source. I had no idea until I read this whole thread lol. Thanks for the help through.
Have you tried contacting the original developer? He is quite active on xda forums

Enviado desde mi MI 8 SE mediante Tapatalk

Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on September 19, 2019, 09:43:06 pm
I did try contacting him, Skelton and Black Seraph did too. Hell at least I tried lol. Just let me know if you guys find out more too. I would love for this lil ROM to be polished and fixed up to perfection too!
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: elemile on September 20, 2019, 02:16:30 pm
Thanks man. I will try that. At this point I am done trying to fix the ROM, I mean it was closed source. I had no idea until I read this whole thread lol. Thanks for the help through.

Thank you very much for reviving this. I'm also very willing to patreon a project to get this done. Could you provide videos of the current sate of the ROM and its advantages? Say, how Vulkan works on PPSSPP (if at all) with demanding games like GoW; or running streaming programs not compatible with original XD, like Parsec.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Nootboot64 on September 22, 2019, 11:12:52 pm
My reason for wanting this (however unfeasible) is to squeeze some extra fps outta dolphin. If a 7.1 rom could help me do this (which it probably will, with dolphin 5.0 rather than 4.0) then I'll throw as much money as I have at it.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: tiagao_extremo on September 23, 2019, 11:38:39 pm
My reason for wanting this (however unfeasible) is to squeeze some extra fps outta dolphin. If a 7.1 rom could help me do this (which it probably will, with dolphin 5.0 rather than 4.0) then I'll throw as much money as I have at it.

Dolphin doesn't seems to be possible for the original XD, even with nougat. If you want better gamecube emulation, but far from perfect, you would need the XD Plus. The main reason for a nougat rom for the original XD would be the latest yaba sanshiro versions, since right now the original xd runs the sega saturn emulator better than the plus. Also for the vulkan api and being able to play a few more games which requires a new android version and that's it.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Nootboot64 on September 24, 2019, 12:07:31 am
My reason for wanting this (however unfeasible) is to squeeze some extra fps outta dolphin. If a 7.1 rom could help me do this (which it probably will, with dolphin 5.0 rather than 4.0) then I'll throw as much money as I have at it.

Dolphin doesn't seems to be possible for the original XD, even with nougat. If you want better gamecube emulation, but far from perfect, you would need the XD Plus. The main reason for a nougat rom for the original XD would be the latest yaba sanshiro versions, since right now the original xd runs the sega saturn emulator better than the plus. Also for the vulkan api and being able to play a few more games which requires a new android version and that's it.
Sorry, I should've been more specific. I have reason to believe someone is making a 32 bit version of dolphin 5.0. You are probably right though, as my only evidence is this guy I've never heard of saying he would in the comments of a YouTube video.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Radioboy86 on October 05, 2019, 07:10:58 am
Here is the reply I got from the creator. If anyone wants they can contact him to perfect this ROM...

"As far as I know, I was simply using rockchip's SDK Nougat as-is (except for the changes I mentioned in the post).

If you have issues when trying that, ping me (preferably on IRC #linux-rockchip @ freenode or telegram
@phhusson
). I think I still have the full source tree."
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on October 05, 2019, 02:29:52 pm
I don't have an account at XDA. but if he wants to share the SDK he used, he can upload it. Though I don't have an xd anymore I don't mind to take a look or try to help someone if he wants to build a rom.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Nootboot64 on October 05, 2019, 06:47:48 pm
I have an account at XDA (just saying), and I'd absolutely be willing to put my XD out to be a crash-test dummy if necessary (also just saying).
What qualifications do android devs need? I'm not saying it's easy, but I'd be willing to help if I can.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on October 06, 2019, 07:27:48 pm
I don't think you need special quaifications, of course the more you know about coding or programmer the better, but I did all my firmwares in the past just by self-learning and reading plenty of tutorials and checking other people's work to learn. Though I never considered myself a dev, despite all the roms I did for JXD/GPD in the past
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Nootboot64 on October 18, 2019, 04:23:06 pm
I just really hope it is possible, or at least plausible.
It would improve the lifespan of the og XD for much longer.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: foxsevent on October 18, 2019, 07:42:54 pm
I just really hope it is possible, or at least plausible.
It would improve the lifespan of the og XD for much longer.
Honestly i'd just advice buying the XD+, you get better performance, 64bit CPU, bluetooth, Android 7.0 hopefully soon to be 9.0.

Android 7.1 won't help with performance and even compatibility wise it won't be much help as 7.1 is starting to be obsolete.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: phh on October 28, 2019, 03:07:25 pm
Hello there,

Looks like I lost my original sources, sorry. But I think you can take any nougat rk3288 sdk, replace the kernel with mine (or cherry-pick my patches), and you should be good to go. Feel free to ping me (though not here, I really don't come here often as you'd have noticed) for help if some stuff are missing. (for vulkan, simply symlink libGLES to vendor/lib/hw/vulkan.rk3288.so)

My 7.1 gives something that original GPD XD firmware doesn't have that can bring increased compatibility and performance, which is vulkan support.

Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: Nootboot64 on November 04, 2019, 10:44:41 pm
Soo... with this new info given by phh, is anyone thinking about working on this further?
Not trying to be greedy or anything, just wondering.
Title: Re: [EXPERIMENTAL] Android 7.1 for GPD XD
Post by: skelton on November 05, 2019, 08:05:42 pm
I personally never found a nougat SDK for RK3288, only for other rockchip devices that I am not sure if it's usable for RK3288 or not (never tried because I don't own an XD anymore).I guess the main point is to find a public nougat SDK for the rK3288, if Phh knows where to get one, I guess anyone interested can begin to try stuff, because kernel is available. I am not sure if there are active devs with an XD that are interested or not. During my legacyrom times, I was alone in development for GPD devices until XD+ (device that I also made some contributions too by the way).
Anyhow, the main thing is to get a RK3288 SDK for nougat and that an active dev who owns an XD want to start developing stuff.

If someone wants to try, I don't mind to take a look to some stuff to help, but that's it, because I retired from android development and now I am in another projects non android related and not by the name of Skelton.