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

PsyOps (OP)

  • *
  • Posts: 414
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #15 on: August 28, 2017, 06:45:14 pm »
Any idea about /data folder. Is there a way to include some data to firmware?

skelton

  • *****
  • Posts: 6372
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #16 on: August 28, 2017, 07:48:39 pm »
As far as I know only apps that are installed in data, but not the data of the apps, because data app is formatted during recovery process
Retired

PsyOps (OP)

  • *
  • Posts: 414
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #17 on: August 28, 2017, 08:54:45 pm »
Any way that you know of to change the format of an update.img made for rockchipbatch tool, to work with cwm/twrp?
RomManager is a powerful app and could be used to update/install any rom. I used it to backup and restore and it was super easy. 

As a developer skelton, how hard would it be for you to walk me through:
https://forum.xda-developers.com/showthread.php?p=32965365#post32965365
or
https://forum.xda-developers.com/showthread.php?t=1866545

By either using RomManager Or GooManager, the process could be super simplified and it would take care of the data wipe needed after fresh install. It is all done from inside android home.

skelton

  • *****
  • Posts: 6372
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #18 on: August 28, 2017, 09:05:51 pm »
As far as I know, ROM manager works with official TWRP made by TWRP people. I think the cwm/TWRP made by crewrktablets is not official, so not sure if can be recognized by that soft.
The only way would be making the ROM manually in a zip format, but not sure if this can be done with Rk devices, I never tried. Even crewrktablets that make a lot of firmwares for Rk devices use IMG format
Retired

PsyOps (OP)

  • *
  • Posts: 414
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #19 on: August 28, 2017, 09:10:13 pm »
RomManager is CWM i think, same maker. ( It supports twrp now though ) and Goomanager Is TWRP.

If I can find a way to change them from img to zip it could make everything much much easier. Flash without a need of a pc/mac/linux box. It would mean download "update.zip" for root. Then install RomManager. Then install ROM. Also would make the backUp/Restore process super easy.

It would make the process very very very noob friendly as well as make it easier for mac/linux users.

PsyOps (OP)

  • *
  • Posts: 414
    • 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: 6372
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)

  • *
  • Posts: 414
    • 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: 6372
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)

  • *
  • Posts: 414
    • 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: 6372
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: 68
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)

  • *
  • Posts: 414
    • 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)

  • *
  • Posts: 414
    • 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)

  • *
  • Posts: 414
    • 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 »

 

Post a new topic
Post a new topic