Author Topic: [ROM] LegacyROM 1.5 GPD-g7 Kitkat  (Read 43193 times)

skelton (OP)

  • Posts: 6894
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #20 on: August 27, 2014, 07:00:40 pm »
About my retirement, I consider myself retired but if Rockchip release new SDK (like android 4.4.4 or L or something) I will try to update at least the GPD devices I have. (except g7)

Just gonna piggyback a question on this one, how exactly do you go about these custom roms? Is the process anywhere near simular to building Cyanogenmod?

Quite similar. except that the final result require some Rockchip tools to make a img image, instead of a flashable zip. CyanogenMOD is just AOSP with modified framework, like Rockchip AOSP.

For instance, you can take a look to the building process in Radxa Rock (a RK3188 development board).
For GPD devices is pretty similar.

http://wiki.radxa.com/Rock/Android_Build
« Last Edit: August 27, 2014, 07:03:18 pm by skelton »
Retired

Amon_Re

  • Posts: 28
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #21 on: August 27, 2014, 07:25:53 pm »
Just gonna piggyback a question on this one, how exactly do you go about these custom roms? Is the process anywhere near simular to building Cyanogenmod?

Quite similar. except that the final result require some Rockchip tools to make a img image, instead of a flashable zip. CyanogenMOD is just AOSP with modified framework, like Rockchip AOSP.

For instance, you can take a look to the building process in Radxa Rock (a RK3188 development board).
For GPD devices is pretty similar.

http://wiki.radxa.com/Rock/Android_Build

Cool, thx for the info, so it's not (completely) black magic  ;) Might give this thing a go once work quiets down a bit. Is amlogic similar?

skelton (OP)

  • Posts: 6894
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #22 on: August 27, 2014, 07:37:10 pm »
Amlogic is quite similar too. It just creates a zip file.

Of course this is for ROMS made from source like this one. If source is not available, then the custom roms are generally a repacked stock rom, generally debloated with some minor changes that can be made without compiling from 0. (like my rom for GPD Q88+ for instance)

Retired

illuminerdi

  • Posts: 186
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #23 on: August 27, 2014, 09:18:04 pm »
Of course this is for ROMS made from source like this one. If source is not available, then the custom roms are generally a repacked stock rom, generally debloated with some minor changes that can be made without compiling from 0. (like my rom for GPD Q88+ for instance)

So what would prevent someone from porting something like CM11 to these RK3188 devices or specifically to the GPD G5/G7?  Is it just a matter of nobody ever doing it, or are there missing source(s) from GPD or Rockchip that prevent porting it?

If nothing is missing and it's just a matter of nobody having done it, I might look into doing it myself...

skelton (OP)

  • Posts: 6894
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #24 on: August 27, 2014, 09:56:16 pm »
Of course this is for ROMS made from source like this one. If source is not available, then the custom roms are generally a repacked stock rom, generally debloated with some minor changes that can be made without compiling from 0. (like my rom for GPD Q88+ for instance)

So what would prevent someone from porting something like CM11 to these RK3188 devices or specifically to the GPD G5/G7?  Is it just a matter of nobody ever doing it, or are there missing source(s) from GPD or Rockchip that prevent porting it?

If nothing is missing and it's just a matter of nobody having done it, I might look into doing it myself...

CM11 can be done for RK3188, in fact it is available for some tablets with this chipset. But it will be just CM using Rockchip stuff that require some time to merge (for instance to have HW accelerated video), so no new features that make a difference, except aesthetical ones.. In fact, the currently cm11 for rk3188 use a jellybean kernel instead of kitkat without selinux.
I personally never was a big fan of CM, I don't like using unified datamedia layout, and CM11 has many issues with CIFS support, which I use constantly. Selinux needs to be disabled in CM RK3188

I personally like clean AOSP roms with no much options in framework and just use Xposed to add what I need. But it just my liking.

Anyhow, if someone wants to try here you have a reference device tree for radxa rock (rk3188):

https://github.com/jungleji/android_device_rockchip_radxarock

To compile kernel, ask GPD for the kernel or use my one. Just compile using a TARGET_PREBUILT_KERNEL and ready to go.
Retired

illuminerdi

  • Posts: 186
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #25 on: August 28, 2014, 02:50:31 pm »
I personally like clean AOSP roms with no much options in framework and just use Xposed to add what I need. But it just my liking.

CM is a lot of fluff, but I think some people might like it, so I might go down that route in the future, however I did some research and decided I'm going to pursue CM porting at a later date, so I wanted to ask you about something else in the mean time.

I found some tools to modify RK3188 kernel .img files, and the rest is pretty easy once you have the kernel for the device built.  I've compiled linux distros and kernels in the past, so I'm pretty familiar with how to do all of this, I've just never actually *done* it, and I think this might be a good time for me to learn.

How would you feel about assisting me with/letting me port LegacyRom to other RK3188 devices that you aren't actively supporting (JXD, iPega, etc)? 

I can do all the porting myself if you aren't interested in being involved, but I'd need either your sources or other involvement from you such as supplying precompiled versions of your changes (if possible or not changes to things like Kernel code).  Anything I do that involves you in any way will give you full, clear credit, however I know people have stolen your work in the past so I understand if you are not willing to hand over sources to someone you don't know very well.

I'm not looking to steal/kang your work, I just want to get more devices updated and try to unify some of the roms in this scene so that there isn't so much disparity between manufacturers like GPD/JXD/iPega, etc

skelton (OP)

  • Posts: 6894
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #26 on: August 28, 2014, 03:20:54 pm »
No problem for me if you want to port it, as long as the support to users is given by you. Have in mind that I don't support devices I don't own. If a company wants my support, the first thing they need to do is sending me a sample.

There are some aspects you need to consider in the porting though. You'll have to use stock kernels from the original devices, like iPEGA or JXD. G7 kernel in other devices won't work just as it is. iPEGA and JXD only have Jellybean kernels (not sure if JXD released something with kitkat), so the rom you need to port is the Legacy based on JB. The reason is that bootloader in JB and KK are different in Rockchip, and Kiktat adds a metadata partition that doesn't exist in JB (Selinux too), so you cannot use kitkat kernels in Jellybean.

Also, if stock kernel from other devices like JXD or iPEGA has some issues, like a bad refresh rate, it will be difficult to fix that without proper source code from these devices, so it would be a LegacyROM with a buggy stock kernel.

Also, stock mapper by GPD won't work in other devices, because joystick driver will be different, specially the way they are connected internally to the mainboard.

So, to sum up, basically until JXD or iPEGA release an official kitkat stuff, the ROM you can port is the Jellybean one.

Anyhow, if I can assist you somehow, let me know, though I cannot test anything because I don't have any JXD device or the iPEGA one.

Oh another thing I almost forget, apart from kernel, you should need to modify parameter file included in RK devices to determine the size of partitions (I don't know the nand memory in other devices).

About the full SDK, GPD can hate me if I distribute them. Though you can contact them and probably they will release it to you. The kernel changes are in my github though (although kernel is quite unusable if you don't have kernel source code for JXD or iPEGA), or at least a defconfig file for those devices
« Last Edit: August 28, 2014, 03:27:13 pm by skelton »
Retired

illuminerdi

  • Posts: 186
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #27 on: August 29, 2014, 09:10:32 pm »
Yeah, that's some of the stuff I want to look into - a friend of mine is an absolute *genius* with Linux, so he might be able to help me massage some stuff into working, if I have some time this weekend I'll look into setting up a build environment to start building roms with, and I'll contact you if I get to a point where I could use some of your help with problems that you've already solved in your roms.

skelton (OP)

  • Posts: 6894
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #28 on: September 11, 2014, 11:46:58 am »
I have been informed that there will be a new batch of G7 called G7A, which is exactly same device, but some internal components are different so firmware is different, so this ROM won't work on these models. I suppose some of the internal components are no longer in stick and they are forced to use new ones to continue producing it.
Retired

wmoecke

  • Posts: 7
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #29 on: September 15, 2014, 03:08:45 pm »
PATCHES:
We have included several patches in the rar than can be flashed via Quickflasher. Just copy them to mnt/sdcard/quickflasher. Patches are the following:

 Kernel Overclocked: Is the kernel included in the rom but overclocked to 1,6 ghz
 Kernel_standard: The kernel that comes by default with this firmware, in case you need to re-install it.

Hi Skelton, y saludos desde Brasil. Muchas gracias por m?s este buen trabajo.

I have just got my hands on a brand new GPD G7 (16GB version). I spent about a week already setting it up with my favorite games, apps and emulators. I had also ordered a few TF memory cards with it to store roms, and now I can finally say I am good to go.
I have to say that its performance has astounded me, I had a JXD S7300 and it pretty much left me disappointed. This one is a different animal, first off it came already factory-rooted, had fewer chinese bloatware apps (easily removed) and the look and feel is something pleasing to the eye and hands. I love the analog sticks in this unit (I hated the ones in the JXD). I also like the stock gamepad mapper app that came with it (also better than the one that came with JXD), I can just set it once and forget it - with JXD I had to constantly invoke the custom setting for each game, this one remembers everything automatically. There is a small shortcoming with regards to the mapping of the A and B buttons, which cannot be independently mapped via the app (but once I figured out that they are linked together with the "Start" and "Select" buttons I was OK with it). I also liked to know that there are 2 extra buttons, tucked underneath each analog stick. Cool.  ;)

Regarding the patches above I was wondering, if I could just patch my unit with the "Kernel_Overclocked" patch without installing your custom firmware (mine is v1.1.6-2014), or is it mandatory to reformat the unit with your firmware first - in other words, if I flash my stock firmware with your "Kernel_Overclocked" patch, will it break?

I really would like to keep the stock firmware because I've already spent a considerable amount of time carefully installing and configuring my games & apps, and I really like it the way it is now - having to redo it all over again would be extremely frustrating.  ???
« Last Edit: September 15, 2014, 03:46:26 pm by wmoecke »

skelton (OP)

  • Posts: 6894
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #30 on: September 15, 2014, 03:27:44 pm »

You can't. Stock firmware has a kernel also inside of boot.img, so even if you flash my kernel.img, your device will use stock kernel inside boot.img instead of my kernel. Also, I suppose your device is JellyBean so even if you could flash my custom kernel, you would lose stock mapper because joystick driver is different in the JB version.

Your device also has 16 GB, so perhaps is the new batch that GPD is making, so I am not even sure that you can use my ROM, but not sure about that,
Retired

wmoecke

  • Posts: 7
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #31 on: September 16, 2014, 03:34:27 am »
Ok, thanks for the info.
As I said before, I am very happy with my device, it's been lots of fun testing it and setting it up with my favorite games and apps. The speed and quad core performance are fairly decent so far, I've tested it with lots of resource-intensive games.
The only thing that bothers me a little is the D-Pad. I think it is too hard to do combo moves in fighting games. I have to perform these on the analog stick if I want to play decently.

Maybe in the future I'll open it up to see if there's any way I can hack the D-Pad a bit to make it softer to play with.

HercTNT

  • Posts: 695
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #32 on: September 16, 2014, 06:16:00 am »
Ok, thanks for the info.
As I said before, I am very happy with my device, it's been lots of fun testing it and setting it up with my favorite games and apps. The speed and quad core performance are fairly decent so far, I've tested it with lots of resource-intensive games.
The only thing that bothers me a little is the D-Pad. I think it is too hard to do combo moves in fighting games. I have to perform these on the analog stick if I want to play decently.

Maybe in the future I'll open it up to see if there's any way I can hack the D-Pad a bit to make it softer to play with.
http://boards.dingoonity.org/gpd-devices/(g5a)-reduce-dpad-clicky-noise/

look here for your d-pad fix by midnight.

nielo360

  • Posts: 493
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #33 on: September 19, 2014, 05:40:58 pm »
WOW, what did you do? the color on the screen is leaps and bounds better, no more blue tint it actually shows normal whites, games look way better.

Menelkir

  • Posts: 13
    • Menelkir's Blog
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #34 on: October 14, 2014, 03:07:43 am »
Hi Skelton
I've tried to send a pm but I'm unable.

I'm about to receive this device this week, and since I have some experience building android roms and linux, I want to help with development to this device. Do you have a git repository?

Another question, I see there's a cwm available for this device (don't know yet how good is because I don't have the device yet). Is secure? If yes, do you have a flashable zip? Thanks.
« Last Edit: October 14, 2014, 03:17:09 am by Menelkir »

skelton (OP)

  • Posts: 6894
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #35 on: October 14, 2014, 08:18:07 am »
For the CWM, I use the one included in arctools.apk, that you can find in arctablet. Basically install that app and you can download and flash CWM using the app (you can select the manuPC one or the Oma one, both work).

For the git: https://github.com/skelton/

I don't have a g7 anymore, so nice to see someone else that can continue with development.

Retired

Menelkir

  • Posts: 13
    • Menelkir's Blog
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #36 on: October 14, 2014, 09:50:47 am »
For the CWM, I use the one included in arctools.apk, that you can find in arctablet. Basically install that app and you can download and flash CWM using the app (you can select the manuPC one or the Oma one, both work).

For the git: https://github.com/skelton/

I don't have a g7 anymore, so nice to see someone else that can continue with development.

Thanks for your reply. When I had time (and the device) I'll try to figure out something.
Just in case, GPD had released the kernel source? I didn't find any information about that.

skelton (OP)

  • Posts: 6894
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #37 on: October 14, 2014, 10:18:36 am »
Check my git, the kernel is there for G7 (the kitkat one). There is no public release by GPD, so to speak, but the one in my git will work.

However, when you get the device, check if it's a g7 or a g7A (I don't know if this is explicit in settings/about device), because it seems there is a new batch called g7A with different kernel/hardware, so in that case you will need a different kernel source, because probably there are some drivers that are different or missing.
« Last Edit: October 14, 2014, 10:22:50 am by skelton »
Retired

Menelkir

  • Posts: 13
    • Menelkir's Blog
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #38 on: October 14, 2014, 10:21:57 am »
Check my git, the kernel is there for G7 (the kitkat one).

However, when you get he device, check if it's a g7 or a g7A, because it seems there is a new batch with different kernel/hardware, so in that case you will need a different kernel source.

Yeah I've already forked on my git account to see it later.
I read about g7 and g7a, hope isn't g7a but I'll see it tomorrow when i receive the equipament.

Menelkir

  • Posts: 13
    • Menelkir's Blog
Re: [ROM] LegacyROM 1.5 GPD-g7 Kitkat
« Reply #39 on: October 15, 2014, 11:11:51 pm »
I'm playing around with the stock rom, I've already figured out to things that will increase the performance : governor sio can help a lot, I see lots of slowdowns while loading. Also, I think some governors can helpit, like smartass. i'll test something when I go back home.