Author Topic: Skelton - Help me compile a new Legacy possibility?  (Read 14203 times)

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #20 on: August 28, 2017, 09:12:19 pm »
Looking at those threads for compiling, how hard would it to build a version for GPD XD?
« Last Edit: August 28, 2017, 09:25:16 pm by PsyOps »

skelton

  • Posts: 6894
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #21 on: August 28, 2017, 09:19:56 pm »
Looking at those threads for compiling skelton, how hard would it to build a version for GPD XD?
I never tried for XD, but would be downloading Omni ROM source or cyanogen one for 4.4., make some edits for recovery and some modifications, because cwm don't include Rk format like kernel.img or uboot.img. I think people from crewrktablets can give a better answer for it, since they are more experienced in that. But in the end it would be the same as the recovery they made.
Retired

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #22 on: August 28, 2017, 09:38:27 pm »
I think I am getting over ambitious. i will finish making a rom and go from there. Your help so far is appreciated. I have been getting the hang of putting apps in and stuff. I will try and customize a rom as best as I can.

skelton

  • Posts: 6894
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #23 on: August 28, 2017, 10:21:20 pm »
You can also configure one and then make a nandroid backup and distribute It that way.
Retired

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #24 on: August 29, 2017, 05:12:16 pm »
Any idea how would I go about getting my hands on an "update-binary" script from this rom?

skelton

  • Posts: 6894
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #25 on: August 29, 2017, 06:07:27 pm »
Do you mean for cwm? In theory the root update
Zip that gpd provides should include one.
Retired

CommanderKitler

  • Posts: 129
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #26 on: August 29, 2017, 06:34:45 pm »
Any idea how would I go about getting my hands on an "update-binary" script from this rom?

I guess you're referring to an "updater-script" as the update-binary is a binary that reads the said script. You probably have to write that script yourself, shouldn't be to difficult to do with a tutorial though. If you wan't a reference on how a script should look, just download any other rom in a zip format and check the updater-script (device doesn't matter as long as it's just for reference)

Tutorial on all that:
https://forum.xda-developers.com/showthread.php?t=1931585

If you're missing the binary itself, Here's the source code:


https://github.com/james34602/update-binary/blob/master/jni/update-binary/

You need to pull it from git and cross-compile it for armv7 devices with the android-NDK. You'd need linux, cygwin or a VM running linux for that. maybe there is a pre-compiled one around somewhere on the web but I haven't had any luck finding one


Do you mean for cwm? In theory the root update
Zip that gpd provides should include one.
Yeah that should work.

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #27 on: August 29, 2017, 07:43:57 pm »
Thnx I rhink that works.

Currently I am trying to work this out: https://forum.xda-developers.com/showthread.php?t=1461712

I doubt I can but I will try.

Anyone that has a GPD XD and CWM, can see what it looks like by flashing this zip.
It doesn't flash, modify, add, delete ANYTHING. it is just a demo. No risk hehe.
http://www.mendingheart.com/myfiles/aroma-2.56-test.zip

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #28 on: August 30, 2017, 02:00:25 am »
Ok I have a question for you skelton. I did some experimenting. First off I dont think there is a problem with TWRP as far as a risk for it to burn any image onto screen. The resolution is off but it crops it, so i dont see how that would be a problem. Ok so:

I installed stock rom ( unmodified ) then installed CWM - No problems
I installed stock rom ( unmodified ) then installed TWRP - No problems

I installed Legacy Rom 1.8GHz ( unmodified ) then installed CWM - No problems
I installed Legacy Rom 1.8GHz ( unmodified ) then installed TWRP - Does not want to flash - It says it completes it, but nothing gets flashed. I tried an app and a bootanimation. Both fails.

Now I considered asking help from crewrktablets. But I suspect that maybe it has to do with the rom. any ideas?

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #29 on: August 30, 2017, 02:02:02 am »
I have an idea. Next I will make a rom with Stock, but include your kernel, then try it again.

** Tried it. Whatever it is I think it is in the kernel. TWRP doesn't work with your kernel.
** Tried 1.4 , 1.6, 1.8, and twrp doesn't flash with any of them. Works on Stock 3.4.2 though. Dunno what it is.

The main reason I have been messing with twrp is because of its ability to work with TWRPManager. That app is able to start the flashing process within android. You start the app and give it a zip to flash, and it will do it with options to wipe all data. I am guessing it writes a script for twrp then reboots to recovery, does the flashing, wipes data, then reboots automatically. Same goes for full nandroid backups. You can do straight from TWRPManager inside android.
« Last Edit: August 30, 2017, 05:30:17 am by PsyOps »

skelton

  • Posts: 6894
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #30 on: August 30, 2017, 07:59:40 am »
My rom shouldn't be different when using or flashing cwm ir twrp, because partitions , and parameter file are similar. My kernel is just customize but has the same rockchip signature. I suppose they problem is more with cwm or twrp, that are not good to flash rockchip ROMs.
Retired

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #31 on: August 30, 2017, 05:00:50 pm »
Well I am just troubleshooting it to try and find what the difference is. I was also able to use Flashify. Another app that works in conjunction with CWM/TWRP. That also works on stock and not with new kernel.

** well twrp doesnt work with it. Meaning it's twrp and not the apps.

Do you think it could possibly be the spoof to nexus? Some apps ask for model maybe when they install?

Hm. Maybe Ill try to backup the kernel off of stock and put into your rom.

If you have any suggestions for me to try just let me know. The last few days I have flashed my GPD XD 20+ times or so. So one more time wont matter  :).

skelton

  • Posts: 6894
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #32 on: August 30, 2017, 05:58:21 pm »
My kernel is just a kernel.img similar to stock, It shouldn't make a difference. In fact i remember reading in legacyrom thread people using my ROM and twrp (not sure what versi?n of twrp), so twrp should work with my rom. I don't understand your question about the Nexus spoof, the rom is already sppofed to Nexus. That is to give more apps show as available in Play store, in stock some apps don't appear on Play store. Do you want to remove the spoof or keeping it? This is done on the build.prop.
About suggestions, i would make the rom in img format and then people can install cwm if they want.
In img format is easier to install and recovery does the wipe yo system.so everything should work ok with It.
« Last Edit: August 30, 2017, 06:00:38 pm by skelton »
Retired

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #33 on: August 30, 2017, 06:45:44 pm »
Quote
Do you think it could possibly be the spoof to nexus? Some apps ask for model maybe when they install?
yeh that is just me being a nub and trying to troubleshoot. I was certain it had nothing to do with it, but doesn't hurt to ask.

I do not mean to bug you, especially knowing you don't have an xd and I hope I don't frustrate you. I am learning more and more about the xd and it is helping me. Maybe I can break my thinking process down a little bit to give you an idea of where I want to go with all of this.

By playing with ideas of how to pack the rom and playing with recoveries, it seems like the ideal way of setting things up would be ( assuming everything worked right )..... Uh I'll post that later, I just found something that may help but I do have a few questions.

If i pack the rom with rkxxx, does that mean I can change the name to update.img and it should update using the android app installed?

skelton

  • Posts: 6894
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #34 on: August 30, 2017, 06:53:06 pm »
Of course, you can rename It to update.img
Retired

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #35 on: August 30, 2017, 07:13:31 pm »
Just found out that if you: start from stock, use update to root, you can install flashify and flash a recovery. Both TWRP and CWM installed with no problems. This could lead to complete clean and safe rom install and recovery install all without needing PC. Together with Aroma installer it could make it quick and painless with the greatest amount of mods.

Light Rom
Diff Kernel installs
Complete App customization ( bloatware or super slim, including launchers )
Possible theme ( customize how launcher w/shortcuts look right from install )

Just a few ideas.

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #36 on: August 30, 2017, 09:33:08 pm »
Ok so i have no clue why TWRP does not work with whatever mods you made to kernel. None whatsoever. I took your kernel and put it into a stock image and still nothing.

The only reason I am fighting this so hard is because TWRP together with TWRP Manager is:
1.) It can flash (Rom or Zip) from inside android OS without having to start in recovery.
2.) It can also automate the wipe of dalvik/cache when it does that.
3.) Has touch capabilities inside recovery. This would make the aroma installer MUCH MUCH easier.

CWM and TWRP can both backup and restore nand backups from inside android OS.

Ok well I think im ganna try to ask someone from the crewrktablets if they have any ideas.

Just for peace of mind, skelton do you think you could compile your 1.8 kernel by itself as a kernel.img for me?
If not I understand. It should be the same as getting it from the extracted img or from my twrp/cwm backups. I just need one more step in the troubleshooting process is all.

Thnx for your help in all of this. and again if it is too much of a bother for the isolated kernel I am ok with you just saying " sorry I can't"  :)

skelton

  • Posts: 6894
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #37 on: August 30, 2017, 10:37:23 pm »
But if I compile a new kernel would be exactly the same kernel.img file that comes with the ROM, it wouldn't be different in any way. My kernel is just a kernel.img like in stock. The changes shouldn't matter at all to flash it with TWRP. If TWRP doesn't like my kernel there is nothing I can do, is a TWRP issue.
Retired

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #38 on: August 30, 2017, 10:44:00 pm »
Yeh that is what I thought. Thnx. I did send Oma a pm in the crewrk forums. Maybe he has a different suggestion.

I just put your kernel img into the firmware build. No need to flash with twrp/cwm. I'm almost done with the whole idea of twrp. Just waiting on a reply from oma hopefully. If not I will proceed with twrp out of my head.

PsyOps (OP)

  • Moderator
  • Posts: 916
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #39 on: August 31, 2017, 10:12:46 pm »
It never fails i swear. I will not be able to compile anything because I am a nub. BUT I did want to start just to get more experience in this. However as I am always jinxed I cant even install java6 ( this is the java needed for kitkat yes) on ubuntu. I am a nub in linux and it turns out the default location where ppl get java is no longer hosting it. webupd8team. So anyone know how would I go about installing java6. Or can I just install the latest?


What java did you use skelton?
« Last Edit: August 31, 2017, 10:21:29 pm by PsyOps »

 

Post a new topic