[DEV] T710 CyanogenMod 12.1 Development thread

Edgrr000

Senior Member
Feb 8, 2013
140
98
0
Thanks! It's a big learning curve for me this is the first time i try to build a rom, but Google does a pretty good job at answering most of my questions.
i'll keep a close eye at your progress.

cheers
ok so i started from scratch building from the TeamEos tree. I set up all the files and parameters accordingly, and i followed the cyanogenmod wiki quite successfully up until i try to build a recovery image, or as a matter of fact whenever i try to build anything. It gives me an error in the cm.mk file; "PRODUCT_NAME must be defined.. stop." i tired changing that value to various different names and formats but i just can't figure it out. I'm sure it's something simple and the answer can be found here http://elinux.org/Android_Device but i have another problem, I'm running out of disk space haha!
I'll upload my sources to Github shortly
 

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
0
Prague
ok so i started from scratch building from the TeamEos tree. I set up all the files and parameters accordingly, and i followed the cyanogenmod wiki quite successfully up until i try to build a recovery image, or as a matter of fact whenever i try to build anything. It gives me an error in the cm.mk file; "PRODUCT_NAME must be defined.. stop." i tired changing that value to various different names and formats but i just can't figure it out. I'm sure it's something simple and the answer can be found here http://elinux.org/Android_Device but i have another problem, I'm running out of disk space haha!
I'll upload my sources to Github shortly
You're not defining the PRODUCT_NAME variable in cm.mk.

It should look like this
Code:
 PRODUCT_NAME := cm_gts28wifi
 

Edgrr000

Senior Member
Feb 8, 2013
140
98
0
This is what's in my cm.mk file

Code:
PRODUCT_NAME := cm_gts28lte
PRODUCT_DEVICE := gts28lte
PRODUCT_MANUFACTURER := samsung
PRODUCT_MODEL := SM-T715

PRODUCT_BRAND := samsung
TARGET_VENDOR := samsung
TARGET_VENDOR_PRODUCT_NAME := gts28lte
TARGET_VENDOR_DEVICE_NAME := SM-T715
and this is the error i'm getting

[email protected]:~$ make recoveryimage cm_gts28lte-eng
build/core/product_config.mk:243: *** device/samsung/gts28lte/cm.mk: PRODUCT_NAME must be defined.. Stop.

#### make failed to build some targets ####
 
Last edited:

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
0
Prague
This is what's in my cm.mk file

Code:
PRODUCT_NAME := cm_gts28lte
PRODUCT_DEVICE := gts28lte
PRODUCT_MANUFACTURER := samsung
PRODUCT_MODEL := SM-T715

PRODUCT_BRAND := samsung
TARGET_VENDOR := samsung
TARGET_VENDOR_PRODUCT_NAME := gts28lte
TARGET_VENDOR_DEVICE_NAME := SM-T715
and this is the error i'm getting

[email protected]:~$ make recoveryimage cm_gts28lte-eng
build/core/product_config.mk:243: *** device/samsung/gts28lte/cm.mk: PRODUCT_NAME must be defined.. Stop.

#### make failed to build some targets ####
Could you push your code?
 

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
0
Prague
device

Kernel

Vendor

This is it from me for now. i'm going to wipe my virtualbox as it already took up all my my storage space. I'll continue when i get a bigger drive or a different computer. Maybe a fresh build environment will solve my problems

Cheers
You're missing the android.mk. This results it starting at CM.mk which skipps a bunch of stuff. Check out the android.mk from my tree.
 

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
0
Prague
Hell yeah! It seems like my T810 is going to be a lot more fun to play with..? keep up the awesome job guys!??

Verstuurd vanaf mijn SM-G925K met Tapatalk

WOW!!! Keep at it!
Thanks guys. It seems to be boot looping because it tries to load the IR blaster HAL even though this device doesn't have one. I fixed this and i'm running a new build right now. Who knows if it will be our first boot. If there are allot of bugs I will make a buildbot and release nightlies until things seem to be stable. However I have a good feeling that CM will work quite well because after all, my sources are based on raymans sources for his note 4 rom/roms.
 

bassie1988

Senior Member
Oct 28, 2012
245
78
0
Tilburg
Thanks guys. It seems to be boot looping because it tries to load the IR blaster HAL even though this device doesn't have one. I fixed this and i'm running a new build right now. Who knows if it will be our first boot. If there are allot of bugs I will make a buildbot and release nightlies until things seem to be stable. However I have a good feeling that CM will work quite well because after all, my sources are based on raymans sources for his note 4 rom/roms.
You just made my day.. Santa!? i'll be happy to be a tester!

Verstuurd vanaf mijn SM-G925K met Tapatalk
 
  • Like
Reactions: CTXz

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
0
Prague
In the OP it was stated that 12.1 was being worked on. It's this still the case or have you moved on to Marshmallow? Just curious.

Sent from my not-so-stock SM-T810
Hey, i'm still at cm 12.1 until I can get it boot and fairly stable. But no worry, i'll mlove to 13 too.
 
  • Like
Reactions: workdowg

workdowg

Senior Member
Apr 17, 2011
1,556
691
0
Seneca Falls
@CTXz - Just to let you know when 810 testing comes I want in, this will be great with my future plans! One(maybe 2) quick questions... I'm looking to run Linux with Android in the chroot (see my thread) and need to know if the cwm-recovery has adb shell support? And do you by any chance know, at boot, what the kernel names the external sd card? is called something other than /dev/mmcblk1? Sorry for the little off topic.

From my LG-G4, Rooted running Stock 5.1
 

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
0
Prague
@CTXz - Just to let you know when 810 testing comes I want in, this will be great with my future plans! One(maybe 2) quick questions... I'm looking to run Linux with Android in the chroot (see my thread) and need to know if the cwm-recovery has adb shell support? And do you by any chance know, at boot, what the kernel names the external sd card? is called something other than /dev/mmcblk1? Sorry for the little off topic.

From my LG-G4, Rooted running Stock 5.1
Hey, last time I build CM recovery I had no adb permission. However that was still on my old kernel. I will rebuild a cm recovery and tell you ;)
 
  • Like
Reactions: workdowg