Jump to content


Photo

Developing rom

developing rom roms ubuntu

  • Please log in to reply
53 replies to this topic

#21 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:31 PM

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

Sent from my VS980 4G

ah...thats good to know



#22 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:31 PM

So it would be better to start over?


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

Well CM has room service so all you need is the cm12 branch of msm8960 and let room service pull in the rest.

Sent from my VS980 4G


new_animated_sig.gif


#23 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:36 PM

delete your kernel and device stuff expt device folder that has that edit i gave you...do lunch and let it pull in your kernel and propietary files


  • nobe1976 likes this

#24 bacu12

bacu12

    Member

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

Posted 20 December 2014 - 04:43 PM

So keep cm-12.0 rom source but delete device source. 


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












So I can help you more

#25 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:44 PM

So keep cm-12.0 rom source but delete device source. 

yes



#26 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:46 PM

you dont want to pull that again do you haha...takes forever lol



#27 bacu12

bacu12

    Member

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

Posted 20 December 2014 - 04:48 PM

Here is about phone

Attached Files


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












So I can help you more

#28 bacu12

bacu12

    Member

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

Posted 20 December 2014 - 04:52 PM

now were do I pull the device source to? same folder as rom source?


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












So I can help you more

#29 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:53 PM

Here is about phone

long as your kk and not jb bootloader your good



#30 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:54 PM

So keep cm-12.0 rom source but delete device source.

Yes... delete device/motorola/msm8960 & qcom-common, vendor/motorola, and kernel/motorola. While you are at it device/qcom also....
Then "repo sync".
Then ". build/envelope.sh && lunch"
Choose the device you are building
Then make it happen

Sent from my VS980 4G


new_animated_sig.gif


#31 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:54 PM

now were do I pull the device source to? same folder as rom source?

yes...lunch will do it for you



#32 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 04:56 PM

do what nobe said ^



#33 bacu12

bacu12

    Member

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

Posted 20 December 2014 - 05:03 PM

what does this mean? caleb@caleb-System-Product-Name:~/Groove$ repo sync

/home/caleb/bin/repo: line 2: syntax error near unexpected token `newline'
/home/caleb/bin/repo: line 2: `<!DOCTYPE html>'

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












So I can help you more

#34 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 05:09 PM

what did you type to get that?



#35 bacu12

bacu12

    Member

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

Posted 20 December 2014 - 05:11 PM

repo sync


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












So I can help you more

#36 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 - 05:18 PM

Now if you want to do it the way CM sets there build setup you are going to do as this way and forget what I previously posted,

 

Within your build folder you should have a folder named "device"  and with in that folder you should have another folder named "mototola". If they aren't there create  them. 

 

Now open the terminal window so that is reflects the /device/motorola folder. Then in the terminal window paste the command below.

$ git clone https://github.com/CyanogenMod/android_device_motorola_moto_msm8960.git -b cm-12.0

Then press enter.. That will pull in just that device that you are going to need. Once it is done rename the folder to moto_msm8960. So your path to that folder from the build directory is as so "/device/motorola/msm8960

 

Then cd back to your build directory and you are going to enter in these two command.

 

$ prebuilts/misc/linux-x86/ccache/ccache -M 25G
$ . build/envsetup.sh; brunch full_moto_msm8960

Your terminal will start building and pulling in the dependencies that are marked in that device folder..


new_animated_sig.gif


#37 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 - 05:21 PM

 

what does this mean? caleb@caleb-System-Product-Name:~/Groove$ repo sync

/home/caleb/bin/repo: line 2: syntax error near unexpected token `newline'
/home/caleb/bin/repo: line 2: `<!DOCTYPE html>'

 

 

Delete your bin folder then enter this in terimnal

 

$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 
Then
$ chmod a+x ~/bin/repo

new_animated_sig.gif


#38 bacu12

bacu12

    Member

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

Posted 20 December 2014 - 05:29 PM

I am now syncing repo. 


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












So I can help you more

#39 bacu12

bacu12

    Member

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

Posted 20 December 2014 - 05:39 PM

Ok its done syncing what next?


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












So I can help you more

#40 Bama

Bama

    Needs Beer

  • Superuser
  • 582 posts
  • Locationsalem,al

Posted 20 December 2014 - 05:47 PM

...







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

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users