Jump to content

Compiling CM9 (and maybe CM10) for Blade


Guest sej7278

Recommended Posts

Guest sej7278

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

Link to comment
Share on other sites

Guest TheWhisp

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Goog god. I wouldn't say it could be that bad :) so I certainly wouldn't even think that removing the animation would fix this. Thanks for the hint. ;)

Link to comment
Share on other sites

Guest sej7278

The bootanimation takes up all the VRAM and locks the system up.

another reason bootanimation must die. its always been a bit of a memory monster, and slows the boot by up to 50%

Link to comment
Share on other sites

Guest tilal6991

another reason bootanimation must die. its always been a bit of a memory monster, and slows the boot by up to 50%

Lol. DIE DIE DIE.

Link to comment
Share on other sites

Guest zeelog

newbie question,not sure if it's the right thread...am trying to compile my very first cm10 based rom, am i supposed to find a flashable zip after running the make bacon -j8 command - or should i use adb to flash? any help is greatly appreciated, thanks.

Link to comment
Share on other sites

Guest jventura

newbie question,not sure if it's the right thread...am trying to compile my very first cm10 based rom, am i supposed to find a flashable zip after running the make bacon -j8 command - or should i use adb to flash? any help is greatly appreciated, thanks.

You will find a zip file in out/device/product/blade/..

Edited by jventura
Link to comment
Share on other sites

Guest zeelog

thanks mate, for some reason i can't find it under that folder..thing is i didn't notice any errors while building...also i don't have a folder device under the out folder, but target - product - blade. no zip files under that folder..

Link to comment
Share on other sites

Guest jventura

thanks mate, for some reason i can't find it under that folder..thing is i didn't notice any errors while building...also i don't have a folder device under the out folder, but target - product - blade. no zip files under that folder..

Yeap, its out/target/product/blade/.. But yes, check the terminal after compilation, it says the location of the zip file..

Link to comment
Share on other sites

Guest zeelog

thanks guys, had to restart from scratch 'cos for some reason image was not building correctly, anyhow i've built a new environment on a separate machine, followed all instructions and finally i can see the final zip file under the location you indicated above..thanks for your help

Link to comment
Share on other sites

Guest Loren82

guys, I just saw on google + the news that the blade not count on support beyond CM7 :( , I wanted to get Cyanogen sources that are on github, but not how it works, I have an account on github, and I can add his sources to my account?, I have to order them in some way, download them to my pc and then upload? ... thanks

Link to comment
Share on other sites

Guest Ganster

Does anyone try to compile this project http://limoa.sourceforge.net/ ? I think, it can be used for faster video playing...

I try to compile it for Android, but have some problems with cross-compilation:

1) Library hasn't normal configuration script, and by default it compiles to host architecture. Not hard to fix, modules can be configured and compiled "one after one".

2) Library requires glibc(libthreads, and others shared libs), and need to port it to bionic implementations...

3) It need to be integrated to libstagefright... I think it not to hard, because library implements standart OpenMAX IL 1.1 (ICS uses 1.0.1, but may be it has not many changes).

Anyone interested?

Link to comment
Share on other sites

Guest sej7278

guys, I just saw on google + the news that the blade not count on support beyond CM7 :( , I wanted to get Cyanogen sources that are on github, but not how it works, I have an account on github, and I can add his sources to my account?, I have to order them in some way, download them to my pc and then upload? ... thanks

you need to fork these repo's - you don't have to download to your pc unless you make changes.

https://github.com/C...evice_zte_blade

https://github.com/C...-kernel-msm7x27

https://github.com/s...tary_vendor_zte (9.0)

https://github.com/H...tary_vendor_zte (7.x)

that will give you backups of the official 7.x and semi-official 9.0 stuff. for unofficial cm10 use KonstaT's repo's:

https://github.com/K...evice_zte_blade

https://github.com/K...-kernel-msm7x27

https://github.com/K...tary_vendor_zte

Edited by sej7278
Link to comment
Share on other sites

Guest Loren82

you need to fork these repo's - you don't have to download to your pc unless you make changes.

https://github.com/C...evice_zte_blade

https://github.com/C...-kernel-msm7x27

https://github.com/s...tary_vendor_zte (9.0)

https://github.com/H...tary_vendor_zte (7.x)

that will give you backups of the official 7.x and semi-official 9.0 stuff. for unofficial cm10 use KonstaT's repo's:

https://github.com/K...evice_zte_blade

https://github.com/K...-kernel-msm7x27

https://github.com/K...tary_vendor_zte

Thanks, repositories know them, did not know what it's like added to my account. Thanks, just had to give the fork button, OMG!

Link to comment
Share on other sites

  • 3 weeks later...
Guest Ganster

Any instruction updates? As I see, android_device_zte_blade was deleted in latest revisions of ics branch too(I have an empty folder /device/zte/blade in alredy initialized sources folder).

So, I need to copy files from https://github.com/C...evice_zte_blade to this folder manually?

And what about command lunch cm_blade-userdebug? It still working, or I need to apply any patches?

Edited by Ganster
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.