Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: [N-ROM] Tenchi's Decatf-AOSP ROM Nougat Android 7.x for ADAM [WIP]

  1. #11
    Member
    Join Date
    Mar 2016
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tenchi View Post
    I am using Borkata's kernel with modifications, see source link on front page. I have also ported Decatf's kernel and am testing to see how it performs.


    Borkata told me to port a rom,for example kitkat, I need a different kernel..but since adam and gtab are very similar I thought that I could start from that...You're talking about kernel's porting...Can you indicate me some guide/tutorial for doing that? I'm new on it, but being an old tablet I 'd like to have hands-on experience . Thanks

  2. #12
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ralex View Post
    Borkata told me to port a rom,for example kitkat, I need a different kernel..but since adam and gtab are very similar I thought that I could start from that...You're talking about kernel's porting...Can you indicate me some guide/tutorial for doing that? I'm new on it, but being an old tablet I 'd like to have hands-on experience . Thanks
    I didn't have a guide per say, but I can tell you that you need to copy at least the minimum from your gtab kernel into my or decatf's kernel the following:
    -arch/arm/configs/gtab-defconfig (May have to merge some parts with my tegra_smba1006_defconfig file)
    -arch/arm/mach-tegra/board-gtab files along with appropriate lines from Kconfig and Makefile (some code may need to be changed to conform to new kernel)
    -drivers/ any gtab specific drivers along with appropriate lines from Kconfig and Makefile
    -any include/ specific to gtab

  3. #13
    Member
    Join Date
    Mar 2016
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tenchi View Post
    I didn't have a guide per say, but I can tell you that you need to copy at least the minimum from your gtab kernel into my or decatf's kernel the following:
    -arch/arm/configs/gtab-defconfig (May have to merge some parts with my tegra_smba1006_defconfig file)
    -arch/arm/mach-tegra/board-gtab files along with appropriate lines from Kconfig and Makefile (some code may need to be changed to conform to new kernel)
    -drivers/ any gtab specific drivers along with appropriate lines from Kconfig and Makefile
    -any include/ specific to gtab

    OK,thanks.
    Where can I find both kernel you mentioned?
    I also found this 3.1 kernel for gtab on git https://github.com/fosser2/android-t...al/drivers/net . Is it good as starting point?
    Other question is : How can I figure out what deconfig file I need under arch/arm/configs/? I see many files...I guess is tegra_smba1002_defconfig for gtab...there's also tegra_smba1006_deconfig file....
    Regarding -arch/arm/mach-tegra/board-gtab files Do I need to move all files starting with board-smba1002..to -arch/arm/mach-tegra/ of your kernel ? What does it mean "along with appropriate lines from Kconfig and Makefile" ? I see these files under -arch/arm/mach-tegra/ Do I have to move as they are or I need some editing? If so , how?
    Same question , as above, for the driver folder..
    Sorry for all of these questions but I'm newbie
    Last edited by ralex; 11-10-2016 at 12:20 PM.

  4. #14
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ralex View Post
    OK,thanks.
    Where can I find both kernel you mentioned?
    I also found this 3.1 kernel for gtab on git https://github.com/fosser2/android-t...al/drivers/net . Is it good as starting point?
    Other question is : How can I figure out what deconfig file I need under arch/arm/configs/? I see many files...I guess is tegra_smba1002_defconfig for gtab...there's also tegra_smba1006_deconfig file....
    Regarding -arch/arm/mach-tegra/board-gtab files Do I need to move all files starting with board-smba1002..to -arch/arm/mach-tegra/ of your kernel ? What does it mean "along with appropriate lines from Kconfig and Makefile" ? I see these files under -arch/arm/mach-tegra/ Do I have to move as they are or I need some editing? If so , how?
    Same question , as above, for the driver folder..
    Sorry for all of these questions but I'm newbie
    Here is a link to my changes https://github.com/TenchiMasaki/andr...ommits/aosp7.0 as a guide what needs to be changed
    Here is decatf's tree https://github.com/Decatf?tab=repositories

    Looks like a good starting point, maybe just copy security and fs to that kenel. Some additional changes may be required which can be found by compiling.
    Last edited by tenchi; 11-10-2016 at 07:50 PM.

  5. #15
    Member
    Join Date
    Mar 2016
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tenchi View Post
    Here is a link to my changes https://github.com/TenchiMasaki/andr...ommits/aosp7.0 as a guide what needs to be changed
    Here is decatf's tree https://github.com/Decatf?tab=repositories

    Looks like a good starting point, maybe just copy security and fs to that kenel. Some additional changes may be required which can be found by compiling.

    I only need to copy those two folders (fs and security) to kernel fosser2 or do i also need to copy the other files/folders you mentioned before?
    After that , shall I start compiling?

  6. #16
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ralex View Post
    I only need to copy those two folders (fs and security) to kernel fosser2 or do i also need to copy the other files/folders you mentioned before?
    After that , shall I start compiling?
    For starters those two will do for now until you hit compile errors. There may be some files in include directory that need to be copied if there are errors. You can search for the missing symbols in include directory if there are any.

  7. #17
    Member
    Join Date
    Mar 2016
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tenchi View Post
    For starters those two will do for now until you hit compile errors. There may be some files in include directory that need to be copied if there are errors. You can search for the missing symbols in include directory if there are any.

    OK, please tell me if it is right :

    1) I go to https://github.com/TenchiMasaki/andr...7/tree/aosp7.0 and download this branch in zip format
    2) I go to https://github.com/fosser2/android-t....1.10-rel-15r7 and download this branch in zip format
    3) Unzip both and then I copy both fs and security folders from yours to fosse2's kernel
    4) Zip the fosser2 kernel and try to compile.

    In the event I've got errors I need to look at your include folder to copy any missing file.

    Thanks again !

  8. #18
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ralex View Post
    OK, please tell me if it is right :

    1) I go to https://github.com/TenchiMasaki/andr...7/tree/aosp7.0 and download this branch in zip format
    2) I go to https://github.com/fosser2/android-t....1.10-rel-15r7 and download this branch in zip format
    3) Unzip both and then I copy both fs and security folders from yours to fosse2's kernel
    4) Zip the fosser2 kernel and try to compile.

    In the event I've got errors I need to look at your include folder to copy any missing file.

    Thanks again !
    That should do it, but you need not copy missing files in include, just the files that you encounter compile errors that require a specific include file for. You can search for the variable in question in include using "fgrep -r variable *". Maybe have to re-compile and repeat process until no more errors occur.

  9. #19
    Member
    Join Date
    Mar 2016
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tenchi View Post
    That should do it, but you need not copy missing files in include, just the files that you encounter compile errors that require a specific include file for. You can search for the variable in question in include using "fgrep -r variable *". Maybe have to re-compile and repeat process until no more errors occur.

    I noticed while I'm unzipping both your kernel and fosser2 kernel at certain point a window pops-up telling if the following file already exists and ask me if I want to replace it ....What do I need to choose ? Yes to all or No to all ??

  10. #20
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ralex View Post
    I noticed while I'm unzipping both your kernel and fosser2 kernel at certain point a window pops-up telling if the following file already exists and ask me if I want to replace it ....What do I need to choose ? Yes to all or No to all ??
    Are you using Windows? You need ubuntu Linux to compile...

Page 2 of 3 FirstFirst 123 LastLast

Remove Ads

Similar Threads

  1. Replies: 106
    Last Post: 10-18-2016, 08:45 PM
  2. Replies: 20
    Last Post: 02-24-2016, 03:19 PM
  3. Replies: 35
    Last Post: 10-08-2015, 04:50 PM
  4. Replies: 7
    Last Post: 09-22-2015, 02:38 AM
  5. Replies: 37
    Last Post: 07-04-2015, 12:04 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •