Jump to content


Photo

Developing rom

developing rom roms ubuntu

  • Please log in to reply
53 replies to this topic

#1 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 19 December 2014 - 02:40 PM

Hello, I think I have everything set up correctly. but I keep getting this error caleb@caleb-System-Product-Name:~/Groove$

 

make -j2 otapackage

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.1
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LRX22C
OUT_DIR=/home/caleb/Groove/out
============================================
Checking build tools versions...
************************************************************
You asked for an OpenJDK 7 build but your version is
java version "1.7.0_72" Java™ SE Runtime Environment (build 1.7.0_72-b14) Java HotSpot™ 64-Bit Server VM (build 24.72-b04, mixed mode).
************************************************************
build/core/main.mk:195: *** stop.  Stop.
 

How do I fix it? Running ubuntu 64-bit 

 

Thanks Bacu12


If I did something you like please add to my computer fund.












So I can help you more

#2 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 10:14 AM

you need the right java..run this

 

$ sudo apt-get --purge autoremove icedtea*
$ sudo apt-get --purge autoremove openjdk*
$ sudo apt-get --purge autoremove java-common libservlet2.5-java libxerces2-java libxml-commons-external-java libxml-commons-resolver1.1-java tzdata-java
 
Install Open JDK 7
 
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk


#3 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 11:10 AM

Ok thanks it fixed that part. but now it gives this Checking build tools versions...

find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
"ebtables is disabled on this build"
find: `phone/java': No such file or directory
find: `phone/java': No such file or directory
find: `dummy': No such file or directory
build/core/tasks/kernel.mk:91: **********************************************************
build/core/tasks/kernel.mk:92: * Kernel source found, but no configuration was defined  *
build/core/tasks/kernel.mk:93: * Please add the TARGET_KERNEL_CONFIG variable to your   *
build/core/tasks/kernel.mk:94: * BoardConfig.mk file                                    *
build/core/tasks/kernel.mk:95: **********************************************************
make: *** No rule to make target `otapackage'.  Stop.

 

 

How do I fix this? Thanks for helping me. I am kinda a noob. But I guess everyone started a noob. Thanks Bacu12


If I did something you like please add to my computer fund.












So I can help you more

#4 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 01:21 PM

yep we all do....before you mess with that error need to change a couple of things...your building cm engineering build..need to change that to userdebug..in lunch look for lunch_combo cm_(your device)-userdebug....if its not there add it to your vendersetup.sh in the device folder...example in mine it would be in device/samsung/jflte/vendorsetup.sh   add this line anywhere....add_lunch_combo cm_your device-userdebug.....now lunch again an choose that...then start the build with ...make bacon



#5 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 03:57 PM

Ok so I added add_lunch_combo cm_msm_8960-userdebug to vendersetup.sh Is that right? still giving same thing as before.


If I did something you like please add to my computer fund.












So I can help you more

#6 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:02 PM

Ok so I added add_lunch_combo cm_msm_8960-userdebug to vendersetup.sh Is that right? still giving same thing as before.

thats right ...so now you still have the kernel error?



#7 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 04:11 PM

Yes I do. Looks exactly the same as before. Would it be easier if I just re did everything related to the repo and device tree? 


If I did something you like please add to my computer fund.












So I can help you more

#8 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 04:13 PM

This is the tutorial I followed. http://forum.xda-dev...d.php?t=2320007


If I did something you like please add to my computer fund.












So I can help you more

#9 nobe1976

nobe1976

    I Void Warranties

  • Developer
  • 1,303 posts
  • Twitter:@nobe1976
  • LocationWhere I AM
  • Current Device(s):LG G2, ®∆z® |/|@xX Π¶, Motorola Bionic, Viewsonic GTablet

Posted 20 December 2014 - 04:16 PM

Where are tou pulling you msm8960 device from?

Sent from my VS980 4G


new_animated_sig.gif


#10 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 04:16 PM

Sorry wrong link I followed this tutorial. http://forum.xda-dev...d.php?t=2455005


If I did something you like please add to my computer fund.












So I can help you more

#11 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 04:17 PM

I am pulling my device from this git hub repo https://github.com/C...la_moto_msm8960


If I did something you like please add to my computer fund.












So I can help you more

#12 nobe1976

nobe1976

    I Void Warranties

  • Developer
  • 1,303 posts
  • Twitter:@nobe1976
  • LocationWhere I AM
  • Current Device(s):LG G2, ®∆z® |/|@xX Π¶, Motorola Bionic, Viewsonic GTablet

Posted 20 December 2014 - 04:18 PM

And that tut is like 2 years old.. Great for building 4.1.x and some 4.4, but not at all for 5.0

Sent from my VS980 4G


new_animated_sig.gif


#13 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 04:19 PM

Would you mind pointing me toward device tree?


If I did something you like please add to my computer fund.












So I can help you more

#14 nobe1976

nobe1976

    I Void Warranties

  • Developer
  • 1,303 posts
  • Twitter:@nobe1976
  • LocationWhere I AM
  • Current Device(s):LG G2, ®∆z® |/|@xX Π¶, Motorola Bionic, Viewsonic GTablet

Posted 20 December 2014 - 04:19 PM

Sorry wrong link I followed this tutorial. http://forum.xda-dev...d.php?t=2455005

Still same as above commit...

Sent from my VS980 4G


new_animated_sig.gif


#15 nobe1976

nobe1976

    I Void Warranties

  • Developer
  • 1,303 posts
  • Twitter:@nobe1976
  • LocationWhere I AM
  • Current Device(s):LG G2, ®∆z® |/|@xX Π¶, Motorola Bionic, Viewsonic GTablet

Posted 20 December 2014 - 04:20 PM

Would you mind pointing me toward device tree?

What bootloader are you tying to build for.

Sent from my VS980 4G


new_animated_sig.gif


#16 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:22 PM

prob has wrong sdk too...if he followed that



#17 nobe1976

nobe1976

    I Void Warranties

  • Developer
  • 1,303 posts
  • Twitter:@nobe1976
  • LocationWhere I AM
  • Current Device(s):LG G2, ®∆z® |/|@xX Π¶, Motorola Bionic, Viewsonic GTablet

Posted 20 December 2014 - 04:26 PM

prob has wrong sdk too...if he followed that

Actually after further researching the sdk isnt really important since its included in the prebuilts when pulled in.. FYI

Sent from my VS980 4G


new_animated_sig.gif


#18 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 04:27 PM

So it would be better to start over?


If I did something you like please add to my computer fund.












So I can help you more

#19 bacu12

bacu12

    Member

  • Superuser
  • 58 posts
  • Current Device(s):Motorola XT907 BlissPop v1.2, Acer A500

Posted 20 December 2014 - 04:28 PM

KK bootloader. I basically want to create my own version of cm 12.0 unofficial.  


If I did something you like please add to my computer fund.












So I can help you more

#20 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:29 PM

post a screenshot of your about phone the way it is now







Also tagged with one or more of these keywords: developing rom, roms, ubuntu

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users