• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROM][WIP]Triump 2.2.2 Alpha From Source

Thanks, I have been working to get a device folder setup, separate from the 7630_surf folder. I just got it to build a lil while ago from the triumph folder, about to test it out right now. Once I get it situated, and apparently fix some stuff now, as some functionality was lost after the switch, I'll post it to my github.

And anybody who wants to pull the source this is what I used to pull it in.
Code:
$ repo init -u git://codeaurora.org/platform/manifest.git -b  froyo_pumpkin  -m M7630AABBQMLZA203030.xml
$ repo sync -j4
I use -j16 but it all depends on your machine, I suggest -j4 as it should work for anybody.

Take the packages from
Triumph WX435 - Browse /WX435/CAYM_D_0_1010_2039_BP_2037_CDA_1024 at SourceForge.net
and integrate them in to the corresponding folders. Like build_2_038.tar.tgz is /build and system_core_2_038.tar.tgz is /system/core. Replace the kernel folder and set the defconfig to FB400_defconfig or use the stock prebuilt kernel. You will still have to put the stock boot.img but the source reads from the kernel I believe. I started with the 7630_surf folder and made a vendorsetup.sh in the msm7630_surf folder with
Code:
add_lunch_combo msm7630_surf-eng
and started adding things to the configs in the msm7630_surf folder.

If any body has questions feel free to ask. I'll try to get as much info out there as I can, I'm still trying to understand some of the code myself.

I'm currious as to why you are using msm7630. I know we have a msm8655, and I know tickerguy and Issac used the 7x30 board because it seemed simular. I wonder if they started down the wrong path and we could get some benifit by using a different board.... Wacha think?
 
I'm currious as to why you are using msm7630. I know we have a msm8655, and I know tickerguy and Issac used the 7x30 board because it seemed simular. I wonder if they started down the wrong path and we could get some benifit by using a different board.... Wacha think?

Well, if you look at all of the kernels for all of the variants, including ours, they all use the 7x30 configs. So it seems to be the logical conclusion. And also I found, after I started the jb build, that it is called in the source from motorola, in the build file.
 
Well, if you look at all of the kernels for all of the variants, including ours, they all use the 7x30 configs. So it seems to be the logical conclusion. And also I found, after I started the jb build, that it is called in the source from motorola, in the build file.

Yeah, I did a search after I posted and it seems like th 8655 is based on the 7x30. I think it's like the old Pentium processors and Xeon processors. The Xeon basicly had more cache. I think the chipsets would have been a better analogy.

By the way, I'm seeing if I can follow your foot steps to GB
 
Yeah, I did a search after I posted and it seems like th 8655 is based on the 7x30. I think it's like the old Pentium processors and Xeon processors. The Xeon basicly had more cache. I think the chipsets would have been a better analogy.

By the way, I'm seeing if I can follow your foot steps to GB
Sorry I was in bed, about to go to sleep when I replied.
This is the line in /build/core/config.mk from Motorola/FIH that I was talking about.
Code:
#>>> Add by Reach
include $(TOPDIR)device/qcom/msm7630_surf/msm7630_surf.mk
#<<< Add by Reach
 
Thanks, I have been working to get a device folder setup, separate from the 7630_surf folder. I just got it to build a lil while ago from the triumph folder, about to test it out right now. Once I get it situated, and apparently fix some stuff now, as some functionality was lost after the switch, I'll post it to my github.

And anybody who wants to pull the source this is what I used to pull it in.
Code:
$ repo init -u git://codeaurora.org/platform/manifest.git -b  froyo_pumpkin  -m M7630AABBQMLZA203030.xml
$ repo sync -j4
I use -j16 but it all depends on your machine, I suggest -j4 as it should work for anybody.

Take the packages from
Triumph WX435 - Browse /WX435/CAYM_D_0_1010_2039_BP_2037_CDA_1024 at SourceForge.net
and integrate them in to the corresponding folders. Like build_2_038.tar.tgz is /build and system_core_2_038.tar.tgz is /system/core. Replace the kernel folder and set the defconfig to FB400_defconfig or use the stock prebuilt kernel. You will still have to put the stock boot.img but the source reads from the kernel I believe. I started with the 7630_surf folder and made a vendorsetup.sh in the msm7630_surf folder with
Code:
add_lunch_combo msm7630_surf-eng
and started adding things to the configs in the msm7630_surf folder.

If any body has questions feel free to ask. I'll try to get as much info out there as I can, I'm still trying to understand some of the code myself.

Ok, I'm one step closer. mergd all of the MT files with the CAF files. I think you mean a default config by defconfig? And you meant the 7630_surf under /device/qcom?
 
Ok, I'm one step closer. mergd all of the MT files with the CAF files. I think you mean a default config by defconfig? And you meant the 7630_surf under /device/qcom?
Ok in device/qcom/msm7630_surf/AndroidBoard.mk change
Code:
 ifeq ($(KERNEL_DEFCONFIG),)
    KERNEL_DEFCONFIG := msm7630-perf_defconfig
endif
to
Code:
ifeq ($(KERNEL_DEFCONFIG),)
    KERNEL_DEFCONFIG := FB400_defconfig
endif
But, make sure you have our kernel instead of the included kernel.

And in BoardConfig.mk change
Code:
BOARD_KERNEL_CMDLINE := console=ttyDCC0 androidboot.hardware=qcom
to
Code:
BOARD_KERNEL_CMDLINE := console=ttyMSM1 androidboot.hardware=qcom
I have also stripped all of the files that are the same between all the released Moto source and the CAF source. Here is the zip:
Triumph Source Code Diffs CAF.zip (3.62MB)
This is all of the code even the kernel, only the files that are different are included.

Good luck! If you have any questions just ask.

Also, you should use the /kernel/AndroidKernel.mk from the CAF source as it has rules to make KERNEL_HEADERS_INSTALL := $(KERNEL_OUT)/usr, that some files depend on, I just found that out yesterday as I was messing with the GB version.
 
[snip]... I started with the 7630_surf folder and made a vendorsetup.sh in the msm7630_surf folder with
Code:
add_lunch_combo msm7630_surf-eng
and started adding things to the configs in the msm7630_surf folder.

If any body has questions feel free to ask. I'll try to get as much info out there as I can, I'm still trying to understand some of the code myself.

How do you know what to put in a vendersetup.sh? All I've found are ones that other people made. I would love to know what it is that makes it work.
Also, you should use the /kernel/AndroidKernel.mk from the CAF source as it has rules to make KERNEL_HEADERS_INSTALL := $(KERNEL_OUT)/usr, that some files depend on, I just found that out yesterday as I was messing with the GB version.

And I already deleted the kernel contents and extracted the stock one to it. I did add the line tward the beginning.

Never mind. I just read the vendersetup.sh that's included in our CM7, I thought it was something special.

Moo haha. I was able to grab the AndroidKernel.mk from a clone I grabbed. That was fun, but I was able to get it going.
 
Back
Top Bottom