Jump to content


Photo

Compiling CM9 (and maybe CM10) for Blade

* * * * * 7 votes

  • Please log in to reply
797 replies to this topic

#61
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

I had that too just a few hours ago. when doing the prebuilds command, it creates the proprietary folder inside

~/coldfusionx/cm9
INSTEAD of inside
~/coldfusionx/cm9/vendor/cm
copy it across and.. well I hope it manages because honestly I'm still compiling for a few hours now!


ah yes that only recently got updated to allow it to run outside the cwd, so if you've not repo sync'ed first it wouldn't work.

the alternative of course is just to cd into the ~/coldfusionx/cm9/vendor/cm/ directory and run ./get-prebuilts from there.

  • 2

#62
shmizan

shmizan

    Addict

  • Members
  • PipPipPipPipPip
  • 574 posts
  • Devices:ZTE Blade
didn't know that. looking in the prebuilts file I saw basedir and thought it means the cm9 folder.

I don't know what's taking so long.. it's nearly 2 hours now and still compiling. sej, is it really necessary to completely delete the "out" folder before every new build? it will take ages.. CM7 was finished in 30-40 minutes tops


  • 0

Orange San Francisco, Upgraded to Gen 2 with TPT Helper (custom partition layout: 150-sys, 302-data, 4-cache)
CyanogenMod 10


#63
asm19

asm19

    Enthusiast

  • Members
  • PipPipPip
  • 213 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE-Blade & Huawei U8800
  • Twitter:@miguel_salmeida
sej7278

Now I saw this update on the color banding:
http://review.cyanog....com/#/c/14765/

Is it better to revert this update:


http://review.cyanog....com/#/c/14498/ ?

Take a look at it :)

  • 0
Phone: ZTE - Blade (TPT v10 stock)
ROM: Self compiled CyanogenMod 9 (UNOFFICIAL 20120627)

#64
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

Now I saw this update on the color banding:
http://review.cyanog....com/#/c/14765/

Is it better to revert this update:

http://review.cyanog....com/#/c/14498/ ?


nope, the first one (not colour banding actually) is going to need to be rebased as our colour banding fix got merged (and is already in 15/04).

as the webrtc arm6 patch got merged too we've got no gerrit or github patches to apply now (only our own coldfusionx/tilal github repo's).

  • 0

#65
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

didn't know that. looking in the prebuilts file I saw basedir and thought it means the cm9 folder.

I don't know what's taking so long.. it's nearly 2 hours now and still compiling. sej, is it really necessary to completely delete the "out" folder before every new build? it will take ages.. CM7 was finished in 30-40 minutes tops


well it shouldn't be neccessary, you could do a "make installclean" instead, but if you're pulling in a new kernel it won't work, and it doesn't seem to set environment variables such as the build date properly either.

cm7 took me 30-40mins too, so your cm9 shouldn't take more than an hour assuming we have similar hardware. most of the build is cpu-bound. laptops and atoms take hours due to crap disk/cpu.

are you using ccache? do an "export USE_CCACHE=1" before the build and it will cache some of the C files in ~/.ccache

  • 0

#66
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,761 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Open C
  • Twitter:@konstatuomio
Tom G has pushed Blade's ICS device tree into CyanogenMod github.
https://github.com/C..._blade/tree/ics

I think this should be used to compile CM9 from now on. If/when CM9 for Blade goes official, it will be this one...

  • 0

#67
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

Tom G has pushed Blade's ICS device tree into CyanogenMod github.
https://github.com/C..._blade/tree/ics

I think this should be used to compile CM9 from now on. If/when CM9 for Blade goes official, it will be this one...


yup and proprietary, coldfusionx won't be needed much longer it seems (except crescent/skate i guess)

looks like we're going official (hint) just got to get the githubs added to repo i guess.

when its possible to build i'll update the instructions for cm9

Edited by sej7278, 16 April 2012 - 10:53 AM.

  • 1

#68
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,761 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Open C
  • Twitter:@konstatuomio

when its possible to build i'll update the instructions for cm9

Already compiled one. It only needs
TARGET_PREBUILT_KERNEL := device/zte/blade/kernel
to be added into boardconfig. Something like this is already under way.

I have no idea what the knows bugs list might be, but camera preview seems to be working (flickering as hell though). On the down side adb doesn't work in my build.

Edit. I actually take back that working camera preview. It worked on the first time, but now it's just a mess.
Edit2. lol and adb works when you remember to put usb debugging on. :D

looks like we're going official (hint) just got to get the githubs added to repo i guess.

Yep, that's where I first spotted it and noticed that there was something going on. ;)

  • 0

#69
shmizan

shmizan

    Addict

  • Members
  • PipPipPipPipPip
  • 574 posts
  • Devices:ZTE Blade
with all this work they BETTER make us official :) but what about all the changes tilal is making/made?

  • 0

Orange San Francisco, Upgraded to Gen 2 with TPT Helper (custom partition layout: 150-sys, 302-data, 4-cache)
CyanogenMod 10


#70
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

with all this work they BETTER make us official :) but what about all the changes tilal is making/made?


tom_g has already been looking at some of the coldfusionx work (and abandoned most of it lol) as someone was submitting our github patches to gerrit, plus i think a lot of the original work was with help from tom_g.

  • 1

#71
shmizan

shmizan

    Addict

  • Members
  • PipPipPipPipPip
  • 574 posts
  • Devices:ZTE Blade
I wonder why my mms.apk is 2mb and includes so many emoji pngs unlike your build, sej?

  • 0

Orange San Francisco, Upgraded to Gen 2 with TPT Helper (custom partition layout: 150-sys, 302-data, 4-cache)
CyanogenMod 10


#72
k.d.11

k.d.11

    Regular

  • Members
  • PipPip
  • 117 posts
  • Devices:Zte Blade
Hey guys any more feedback on the latest cm9 build? Has tomG finally enabled hw accel in this build?any chance someone can upload the build somewhere if its better than his previous alpha 7 ?

  • 0

#73
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

Hey guys any more feedback on the latest cm9 build? Has tomG finally enabled hw accel in this build?any chance someone can upload the build somewhere if its better than his previous alpha 7 ?


its a lot easier to build now, we're semi-official, essentially its just:

git clone https://github.com/koush/proprietary_vendor_zte.git -b ics
copy the blade directory to vendor/zte

apply this and this patch

export CM_NIGHTLY=1
. build/envsetup.sh
lunch cm_blade-userdebug
make bacon -j8

at the moment i doubt its going to be any/much different to coldfusionx, the kernel has had some work but it still has battery issues apparently. camera doesn't work and won't ever possibly, so yes hardware acceleration must be enabled, although the adreno libs aren't the same as the coldfusionx or xda-dev ones or the old non-accelerated ones, so god knows where he got them from!

holy moly tom_g's is 15mb larger than coldfusionx, that can't all be from using full instead of mini.........

Edited by sej7278, 17 April 2012 - 12:13 PM.

  • 3

#74
..Abel..

..Abel..

    Enthusiast

  • Members
  • PipPipPip
  • 250 posts
  • Devices:Zte Blade / Dell XCD 35
  • Twitter:@Ace_Able

Hey guys any more feedback on the latest cm9 build? Has tomG finally enabled hw accel in this build?any chance someone can upload the build somewhere if its better than his previous alpha 7 ?

I wanna try too! : ) if someone can upload!

  • 1

Posted Image
JELLY BEAN :)


#75
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

I wanna try too! : ) if someone can upload!


its not worth it, for the moment coldfusionx 15/04 is faster imho, what for the cm9 repo to settle a bit and tom_g releases a nightly.

  • 1

#76
..Abel..

..Abel..

    Enthusiast

  • Members
  • PipPipPip
  • 250 posts
  • Devices:Zte Blade / Dell XCD 35
  • Twitter:@Ace_Able

its not worth it, for the moment coldfusionx 15/04 is faster imho, what for the cm9 repo to settle a bit and tom_g releases a nightly.


ok ! THanks ! :)

  • 0

Posted Image
JELLY BEAN :)


#77
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade
Edit: Never mind, interpretation issue.

Edited by Sulthekk, 18 April 2012 - 03:41 PM.

  • 0

#78
targetbsp

targetbsp

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 4,017 posts
  • Gender:Male
  • Devices:Hudl 2, Blade V
You're reading it wrong. :D Gotta love how ambiguous english is! there are various devices made by ZTE upon which we have got unofficial builds of CM9 working.

  • 0
My Blade site - includes vanilla KANGS's of CM7. Also available: modified GB Gapps with various market versions, mini ICS Gapps for 160mb system partitions and Flash for ARMv6
CM7 Blade changelog

#79
asm19

asm19

    Enthusiast

  • Members
  • PipPipPip
  • 213 posts
  • Gender:Male
  • Location:Portugal
  • Devices:ZTE-Blade & Huawei U8800
  • Twitter:@miguel_salmeida
How to force the repo sync after our changes?
Is that to me is giving me error doing repo sync, for example:


Syncing work tree:  60% (150/249)  error: Your local changes to the following files would be overwritten by checkout:
	services/surfaceflinger/Layer.cpp
Please, commit your changes or stash them before you can switch branches.
Aborting
Syncing work tree: 100% (249/249), done.  

Edited by asm19, 18 April 2012 - 05:34 PM.

  • 0
Phone: ZTE - Blade (TPT v10 stock)
ROM: Self compiled CyanogenMod 9 (UNOFFICIAL 20120627)

#80
Loren82

Loren82

    Enthusiast

  • Members
  • PipPipPip
  • 270 posts
  • Gender:Male
  • Location:Bilbao
  • Devices:ZTE Blade - Xperia U - Moto G
I feel upset in this thread, but a guy in the thread coldfusionX hit this link, do not really know what it is, looks like a plate made, could be compatible with ARMv6, I have no idea, but leave the link if it is worth something. Thanks.

http://www.raspberry...rg/archives/592

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users