Jump to content


Photo

Compiling CM9 (and maybe CM10) for Blade

* * * * * 7 votes

  • Please log in to reply
797 replies to this topic

#761
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150

that seems to have fixed it, had to pull in burstlams (well, teamics's) gcc 4.5 kernel fixes, not sure why i never saw that on cm9 though.

does github have an easy web-interface way of cherry-picking commits into your repo, rather than having to fork, branch, checkout and merge via the cli, there must be an easy way to do it and keep history; i think i'm over-complicating it.


Afraid not.

  • 0
If you like my work or if I helped, click the Plus button.

#762
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,436 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Blade III

that seems to have fixed it, had to pull in burstlams (well, teamics's) gcc 4.5 kernel fixes, not sure why i never saw that on cm9 though.

Or you could have just cloned it from my github. :P

ICS still used the old Android toolchain (gcc 4.4.x). If you haven't noticed JB uses a new Android toolchain (gcc 4.6.x). There was no need to do that on ICS (well, it was done for couple of kernel sources when the linaro (gcc 4.7.x) was hyped out of proportion).

Nice patch in the gerrit. Seems to sorts the aac -> libstagefright thing (at least it compiled, haven't tested on device yet).
http://review.cyanog....com/#/c/19257/

  • 0

#763
sej7278

sej7278

    Hardcore

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

Or you could have just cloned it from my github. :P

ICS still used the old Android toolchain (gcc 4.4.x). If you haven't noticed JB uses a new Android toolchain (gcc 4.6.x). There was no need to do that on ICS (well, it was done for couple of kernel sources when the linaro (gcc 4.7.x) was hyped out of proportion).

Nice patch in the gerrit. Seems to sorts the aac -> libstagefright thing (at least it compiled, haven't tested on device yet).
http://review.cyanog....com/#/c/19257/


aac enc/dec patch too: and http://review.cyanog....com/#/c/19258/

urgh, i might as well just use your kernel from github lol, was supposed to be a learning exercise, but its just turning into a lot of googling.

its odd, google document android at the api level, but there's fsck all useful information on porting to an actual device. on xda they seem to thinking "porting tutorials" consist of running extract-files.sh or unzipping a flashable zip, are there any clued up people left on xda?

  • 0

#764
Hayden3430

Hayden3430

    Enthusiast

  • Members
  • PipPipPip
  • 227 posts
  • Devices:ZTE Blade
Seems like Burstlams is compiling CM10 for the blade after all :)
Link: http://bbs.hiapk.com...115435-1-2.html

The skate and Cresent have builds, waiting with great anticipation.

Edited by Hayden3430, 16 July 2012 - 08:21 PM.

  • 1

#765
TheWhisp

TheWhisp

    Newbie

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Devices:GT-S6500D
Maclaw says that he didn't disable aac and libsr (srec), so they have fixed it, I guess.

  • 0

#766
sej7278

sej7278

    Hardcore

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

Maclaw says that he didn't disable aac and libsr (srec), so they have fixed it, I guess.


i bet you believe in father christmas and the tooth fairy too don't ya? :P

  • 0

#767
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade

Maclaw says that he didn't disable aac and libsr (srec), so they have fixed it, I guess.


Have they ever released a working build? -.-

  • 0

#768
TheWhisp

TheWhisp

    Newbie

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Devices:GT-S6500D

i bet you believe in father christmas and the tooth fairy too don't ya? :P


:D that's why I wrote "I guess"

  • 0

#769
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,436 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Blade III
Again, please don't hijack this thread to discuss about this. I've been already asked not to post any ROMs on this thread. :P This is for developers only and just something to play with. I'm not interesting in hearing what bugs it has (there still are many) and what doesn't work (quite a lot). To get RIL working, you need to 'chmod 777 /data/radio/*' in adb shell or terminal. To get root, flash the latest superuser and su from superuser homepage. I'll write more somewhere sometime tomorrow.

cm-10-20120716-KonstaKANG-blade-prealpha.zip
http://www.mediafire...yg3avb6r9w4jbqh
md5:f31c9a7e7ea72594a8e3c08f59f3b665

Thanks to everyone who's been working on CM10 and thanks to Lalit for sorting out the hw accelleration (even though I'm not a fan of using a prebuilt ;)).
Sources are in my github.

  • 11

#770
ufizo

ufizo

    Enthusiast

  • Members
  • PipPipPip
  • 222 posts
  • Gender:Male
  • Location:Roorkee, India
  • Devices:DELL XCD35
  • Twitter:@ufiz0

Seems like Burstlams is compiling CM10 for the blade after all :)
Link: http://bbs.hiapk.com...115435-1-2.html

The skate and Cresent have builds, waiting with great anticipation.


From that page, using google translate gave me this:

安卓网广招各路能人贤士
不错啊,我昨天就在modaco论坛看到几位大神在讨论,今天看到了b大。呵呵,给力

Andrews net wide to recruit the brightest genius Magi
Ah well, yesterday seen in modaco forum several Great God in the discussion today, see the b. Oh, to force


:D :D
Google translate is a funny tool.

Edited by ufizo, 17 July 2012 - 08:20 AM.

  • 0

#771
kmotala

kmotala

    Regular

  • Members
  • PipPip
  • 105 posts
Great news!!! KonstaT, Sej, Burstlam you are BIG Developers!!

  • 0
My page blade.az.pl. If I help you , you can help me :)

#772
gunapriyan

gunapriyan

    Enthusiast

  • Members
  • PipPipPip
  • 219 posts
  • Gender:Male
  • Devices:ZTE Blade
There is no word to say thanks Mr.Konsta.......Anyway BIG thanks....

  • 0

#773
Felsch

Felsch

    Regular

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
  • Devices:Y300, Nexus 7(2013)
  • Twitter:@_ravir
The source of CM10? How big is it? the same as CM9 or bigger or smaller ... ?

If I know, I think I gonna try compiling it myself, the compiling CM9 did work :).

  • 0

#774
sej7278

sej7278

    Hardcore

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

The source of CM10? How big is it? the same as CM9 or bigger or smaller ... ?

If I know, I think I gonna try compiling it myself, the compiling CM9 did work :).


16gb download, about the same again in out/, so with a 1gb ~/.ccache, you need at least 33gb free space, pretty much the same as cm9.

it takes a few minutes longer to compile than cm9 (80mins on 8gb 3.2ghz core2quad with a warm ccache).

have a look at KonstaT's instructions for now (i will re-edit this one for cm10 once it stabilizes a bit)

http://www.modaco.co...10-android-411/

  • 0

#775
Felsch

Felsch

    Regular

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
  • Devices:Y300, Nexus 7(2013)
  • Twitter:@_ravir

16gb download, about the same again in out/, so with a 1gb ~/.ccache, you need at least 33gb free space, pretty much the same as cm9.

it takes a few minutes longer to compile than cm9 (80mins on 8gb 3.2ghz core2quad with a warm ccache).

have a look at KonstaT's instructions for now (i will re-edit this one for cm10 once it stabilizes a bit)

http://www.modaco.co...10-android-411/


Ah ok, 16gb is quite a lot of bandwidth, so I thought I asked :). I'll gonna try it when it's indeed more stable, don't need a starter prying in some really advanced stuff :)

  • 0

#776
TheWhisp

TheWhisp

    Newbie

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Devices:GT-S6500D
it's like 6GB, not 16.

  • 0

#777
sej7278

sej7278

    Hardcore

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

it's like 6GB, not 16.


yeah you're right, i was passing the wrong flags to du (showing space used, not filesize)

$ du -csh *
112K abi
48K android
16M bionic
6.2M bootable
4.7M build
118M cts
38M dalvik
77M development
13M device
5.2M docs
1.7G external
942M frameworks
6.4M gdk
41M hardware
501M kernel
39M libcore
112K libnativehelper
4.0K Makefile
29M ndk
308M packages
36K pdk
292M prebuilt
2.0G prebuilts
24K repo
44M sdk
8.6M system
107M vendor
6.2G total

6.2gb download including konstat's 3 repo's

  • 0

#778
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
It is also possible to remove some irrrelevant packages from repo manifest to save more bandwidth and space.

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#779
TheWhisp

TheWhisp

    Newbie

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Devices:GT-S6500D
I'm getting bootloop, tried all different kinds of things... but I'm not able to fix this:

I/ServiceManager(  283): Waiting for service media.audio_flinger...
I/ServiceManager(  283): Waiting for service media.player...
W/IMediaDeathNotifier(  283): Media player service not published, waiting...


Have anybody else had this problem? I've no ideas left... Thanks.

  • 0

#780
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
Now I am getting bootloop. Something about binder. I am quite in line with tilal's github so I'm curious
if I'm just missing some CM patch? Or is it something else?
E/ProcessState(  473): Using /dev/binder failed: unable to mmap transaction memory.
F/ProcessState(  473): Binder driver could not be opened.  Terminating.
F/libc    (  473): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 473 (zygote)
I/DEBUG   (  112): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  112): Build fingerprint: 'google/soju/crespo:4.0.4/IMM76D/299849:user/release-keys'
I/DEBUG   (  112): pid: 473, tid: 473, name: zygote  >>> zygote <<<
I/DEBUG   (  112): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG   (  112):	 r0 00000027  r1 400428f9  r2 400428f9  r3 deadbaad
I/DEBUG   (  112):	 r4 00000000  r5 ffffffff  r6 40117058  r7 40117064
I/DEBUG   (  112):	 r8 bea02890  r9 4ba42ea0  sl 4ba42e8c  fp bea028a4
I/DEBUG   (  112):	 ip 40025fa4  sp bea02400  lr 400439b5  pc 40040072  cpsr 40000030
I/DEBUG   (  112):	 d0  400000003eaaaaab  d1  3ff00000007c9c98
I/DEBUG   (  112):	 d2  3ff0000000000000  d3  bf62cda764a98eab
I/DEBUG   (  112):	 d4  bf66c0c55ca9076a  d5  bfb1be5a93a83e1d
I/DEBUG   (  112):	 d6  4af9393000000000  d7  000000634e42b4ae
I/DEBUG   (  112):	 d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  112):	 d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  112):	 d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  112):	 d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  112):	 scr 80000010

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users