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

skelton

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

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

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

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

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

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

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

skelton

  • *****
  • Posts: 6377
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #40 on: August 31, 2017, 10:23:11 pm »
I use Java 6 (I installed it a long time ago), and Java 7 for lollipop (ROMs for my phone, not XD)

To compile a kernel Java is not needed. Java is for full sdk or firmware. Try with openjdk Java 6.
http://openjdk.java.net/install/

The config to compile the kernel of my GitHub is rockchip_defconfig.

Have in mind that compiling it with no changes is the same as using my kernel.img

Let me know how it goes, it's night in my country and time to bed for me jeje
« Last Edit: August 31, 2017, 10:28:40 pm by skelton »
Retired

PsyOps (OP)

  • *
  • Posts: 420
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #41 on: August 31, 2017, 10:28:28 pm »
I was wanting to experiment with trying to compile twrp and cwm and possibly a full rom ( not likely, but why not ).

skelton

  • *****
  • Posts: 6377
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #42 on: August 31, 2017, 10:32:54 pm »
In that case you will need Java 6, try with openjdk 6, it should work I guess, you need to download cyanogen or Omni source for 4.4  probably but I never compiled cwm for rockchip, only for amlogic old devices like jxd s7300 and s5110b, which was jellybean.
Maybe crewrktablet people can help more than me with cwm for rockchip devices, but they rarely share anything like device tree or other code. I personally never tried for rockchip because I never use cwm or TWRP in this devices
Retired

PsyOps (OP)

  • *
  • Posts: 420
    • Section Eight
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #43 on: August 31, 2017, 10:40:01 pm »
Yeh I dont think the crewrkteam will be much help. No reply.

Hm right now I have home/jdk1.6.0_45 . That mean it installed?
but when i type : java -version
I get:
The program 'java' can be found in the following packages:
*default-jre
and lists 5 more.

Try sudo apt install <select package>

I tried installing default default-jre but it is installing 8 JRE
« Last Edit: August 31, 2017, 10:42:09 pm by PsyOps »

skelton

  • *****
  • Posts: 6377
Re: Skelton - Help me compile a new Legacy possibility?
« Reply #44 on: August 31, 2017, 10:47:01 pm »
In theory you already have Java 1.6 which is what you need.
Retired