Help with CM10.2 Development

doomboss

Senior Member
Jan 17, 2013
252
47
First i wanted to build a running kernel.

And here it is: a2109a-kernel5.zip - 4.62 MB

The kernel boots up on my installed cm10 from superhansi.
I don now if everything is ok with that kernel.
Antutu says 14450 points...

Right now i have started the brunch of cm10.2

I will tell you tomorrow if the build boots up.

Alright, looks like things are going good!! :D I am gonna ask you for the step you did to make kernel and ROM later too if you are willing to teach me :D :D
 

doomboss

Senior Member
Jan 17, 2013
252
47
First i wanted to build a running kernel.

And here it is: a2109a-kernel5.zip - 4.62 MB

The kernel boots up on my installed cm10 from superhansi.
I don now if everything is ok with that kernel.
Antutu says 14450 points...

Right now i have started the brunch of cm10.2

I will tell you tomorrow if the build boots up.

Antutu says around 13900 on my device :D

Do you think you can try to compile the Kernel with Linaro 4.8? I see you using the GCC 4.6 to make this Kernel, right??

Anyway, focus on the ROM first :p
 

Bender007

Member
Oct 2, 2013
24
17
That is just my first try.
Yes i will gonna build with a newer toolchain.
I tried linaro 4.7 but too much errors and i'm not a dev to fix all probs .

And i started a gitrepo so that everyone could See what i have done.
 

doomboss

Senior Member
Jan 17, 2013
252
47
That is just my first try.
Yes i will gonna build with a newer toolchain.
I tried linaro 4.7 but too much errors and i'm not a dev to fix all probs .

And i started a gitrepo so that everyone could See what i have done.

Yeah just use the toolchain that compile working Kernel first.

Link for your gitrepo please? :D
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
Go, go ,go, after you get a working cm10.2 rom , go and buy a Motorola moto x developer edition and start work on kitkat:D
Nice to see this tablet still has some life
Sent on my Moto X

Agreed this is a good tablet, mine is reaching 1 year old next month, still running ICS from tablet, but sdcard will run any version available.
 

Bender007

Member
Oct 2, 2013
24
17
I nearly fixed up all errors to use gcc 4.7 to compile the kernel.

The Kernel doesn't boot if i use any bmcdhd configs.

Without bmcdhd i get a booting kernel but no wifi.

So the work is still in progress..

nothing to show for now...
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
I nearly fixed up all errors to use gcc 4.7 to compile the kernel.

The Kernel doesn't boot if i use any bmcdhd configs.

Without bmcdhd i get a booting kernel but no wifi.

So the work is still in progress..

nothing to show for now...

You are having a conflict with building wifi modules, I looked at your kernel config from the kernel you uploaded, it's stock, just change to build ics wifi modules, you would then need to build and swap out all modules.

Your kernel config BCM

Code:
# CONFIG_BCM4329_RFKILL is not set
# CONFIG_BCMDHD_WEXT is not set
# CONFIG_BCMDHD_CFG80211 is not set
# CONFIG_BCMDHD_NOAPI is not set
# CONFIG_SD8797 is not set
# CONFIG_BCMDHD_FXN_125_120 is not set
# CONFIG_BCMDHD_FXN_195_89 is not set



My kernel BCM

Code:
CONFIG_BCM4329_RFKILL=y
CONFIG_BCMDHD_WIFI_CONTROL_FUNC=y
CONFIG_BCMDHD_HW_OOB=y
# CONFIG_BCMDHD_FXN_195_26 is not set
CONFIG_BCMDHD_FXN_FW_PATH="/system/vendor/firmware/bcm4330/fw_bcmdhd.bin"
CONFIG_BCMDHD_FXN_NVRAM_PATH="/system/etc/nvram_4330.txt"
CONFIG_BCMDHD_FXN_125_120=m
 
Last edited:

doomboss

Senior Member
Jan 17, 2013
252
47
Now I am getting this error
{
make: *** No rule to make target `vendor/lenovo/A2109A/proprietary/etc/bluetooth/bdaddr', needed by `/home/bio/CM10.1/out/target/product/A2109A/system/etc/bluetooth/bdaddr'. Stop.
}
The folder is empty :(
 

doomboss

Senior Member
Jan 17, 2013
252
47
Ok i managed to find the bdaddr file from our stock ROM, but here we go, another error.....:

{
Install system fs image: /home/bio/CM10.1/out/target/product/A2109A/system.img
/home/bio/CM10.1/out/target/product/A2109A/system.img+ maxsize=280203264 blocksize=135168 total=295396992 reserve=2838528
error: /home/bio/CM10.1/out/target/product/A2109A/system.img+ too large (295396992 > [283041792 - 2838528])
make: *** [/home/bio/CM10.1/out/target/product/A2109A/system.img] Error 1
make: *** Deleting file `/home/bio/CM10.1/out/target/product/A2109A/system.img'
}

I think i don't have enough space, is it??? or the system.img file has some size problem??
 

Bender007

Member
Oct 2, 2013
24
17
I have changed the bcmdhd settings but still no wifi...




But meanwhile i build a cm10.2 to see what happend.

and that's not much :rolleyes:

Just blackscreen. ADB says something from egl errors, audio power errors and a lot more...:confused:

If someone wanna take a look on it : cm-10.2-20131109-UNOFFICIAL-kai.zip

For me it's too late today.
 

doomboss

Senior Member
Jan 17, 2013
252
47
I have changed the bcmdhd settings but still no wifi...




But meanwhile i build a cm10.2 to see what happend.

and that's not much :rolleyes:

Just blackscreen. ADB says something from egl errors, audio power errors and a lot more...:confused:

If someone wanna take a look on it : cm-10.2-20131109-UNOFFICIAL-kai.zip

For me it's too late today.

How is your development going??

I tried your build too, got blackscreen too. I feel like there are some file missing on your source folder for your CM10.2 building. But idk, im not sure what is the problem. :( Anyway this is a good start :D
 
Top