• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

Building my own ROM...

12 posts in this topic

Posted

Just out of interest I'd like to build my own ROM to use with my G300. How straightforward is that to do with CM 10.1? I use Linux.

0

Share this post


Link to post
Share on other sites

Posted

Well it depends if your modifying a ROM which is easier but building one from source takes longer and might be harder but I haven't tried the latter myself. Linux is usually the preferred os for developers as far as I know :P

0

Share this post


Link to post
Share on other sites

Posted

Well, if you are just modifying the build, and you want to do simple modifications like ui changes, performance tweaks etc, you can just pretty much follow these steps:

1. Find a ROM

2. Unzip the contents into a work folder

3. Start making your ROM

4. When done, zip it back up

5. Using a tool, zipalign and sign the ROMs contents.

That should be the very basic steps. This is what we call ROM modding, or cooking.

0

Share this post


Link to post
Share on other sites

Posted

I'll ask here in order to not open another dev thread. I'm compiling CM10.2 from sources (for remember how to do it... i was a rom-maker on Galaxy Ace forums)

I'm having some troubles with audio libs. I can't continue at this point:

device/huawei/u8815/audio/AudioHardware.cpp: In function 'android_audio_legacy::AudioHardwareInterface* android_audio_legacy::createAudioHardware()':

device/huawei/u8815/audio/AudioHardware.cpp:4288:30: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioHardware'

device/huawei/u8815/audio/AudioHardware.h:182:7: note:   because the following virtual functions are pure within 'android_audio_legacy::AudioHardware':

hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:347:29: note:     virtual android_audio_legacy::AudioStreamOut* android_audio_legacy::AudioHardwareInterface::openOutputStream(uint32_t, audio_output_flags_t, int*, uint32_t*, uint32_t*, android::status_t*)

make: *** [/home/cristo/android/out/target/product/u8815/obj/SHARED_LIBRARIES/audio.primary.u8815_intermediates/AudioHardware.o] Error 1

true


Somebody knows wgat's happening... it's the first time that i see this error :S

0

Share this post


Link to post
Share on other sites

Posted

I'll ask here in order to not open another dev thread. I'm compiling CM10.2 from sources (for remember how to do it... i was a rom-maker on Galaxy Ace forums)

I'm having some troubles with audio libs. I can't continue at this point:

device/huawei/u8815/audio/AudioHardware.cpp: In function 'android_audio_legacy::AudioHardwareInterface* android_audio_legacy::createAudioHardware()':

device/huawei/u8815/audio/AudioHardware.cpp:4288:30: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioHardware'

device/huawei/u8815/audio/AudioHardware.h:182:7: note:   because the following virtual functions are pure within 'android_audio_legacy::AudioHardware':

hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:347:29: note:     virtual android_audio_legacy::AudioStreamOut* android_audio_legacy::AudioHardwareInterface::openOutputStream(uint32_t, audio_output_flags_t, int*, uint32_t*, uint32_t*, android::status_t*)

make: *** [/home/cristo/android/out/target/product/u8815/obj/SHARED_LIBRARIES/audio.primary.u8815_intermediates/AudioHardware.o] Error 1

true


Somebody knows wgat's happening... it's the first time that i see this error :S

Who's sources are you using?

0

Share this post


Link to post
Share on other sites

Posted

Who's sources are you using?

Im with dazzo sources... maybe some changes at his github?

0

Share this post


Link to post
Share on other sites

Posted

Im with dazzo sources... maybe some changes at his github?

I actually asked him on IRC if I could compile 4.3 with his source for personal use, but he said no as he has not released it himself. He also said it would probably be hard to even get it working.

If you want to attempt to compile, ask Dazzozo first for permission and maybe even help. Join the IRC channel below to contact him:

#huawei-g300[/code]

1

Share this post


Link to post
Share on other sites

Posted

I'll ask here in order to not open another dev thread. I'm compiling CM10.2 from sources (for remember how to do it... i was a rom-maker on Galaxy Ace forums)

I'm having some troubles with audio libs. I can't continue at this point:

device/huawei/u8815/audio/AudioHardware.cpp: In function 'android_audio_legacy::AudioHardwareInterface* android_audio_legacy::createAudioHardware()':

device/huawei/u8815/audio/AudioHardware.cpp:4288:30: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioHardware'

device/huawei/u8815/audio/AudioHardware.h:182:7: note:   because the following virtual functions are pure within 'android_audio_legacy::AudioHardware':

hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:347:29: note:     virtual android_audio_legacy::AudioStreamOut* android_audio_legacy::AudioHardwareInterface::openOutputStream(uint32_t, audio_output_flags_t, int*, uint32_t*, uint32_t*, android::status_t*)

make: *** [/home/cristo/android/out/target/product/u8815/obj/SHARED_LIBRARIES/audio.primary.u8815_intermediates/AudioHardware.o] Error 1

true


Somebody knows wgat's happening... it's the first time that i see this error :S

Not on my pc so I'm gonna tell you from what i remember.

Goto AudioHardwareInterface.h snd there is somewhere a line audio output t_flags comment that out. Or even better check out Dazzozo patches.

0

Share this post


Link to post
Share on other sites

Posted

I actually asked him on IRC if I could compile 4.3 with his source for personal use, but he said no as he has not released it himself. He also said it would probably be hard to even get it working.

If you want to attempt to compile, ask Dazzozo first for permission and maybe even help. Join the IRC channel below to contact him:

#huawei-g300[/code]

Where is the address for connect to the irc?

I'll try to contact him

0

Share this post


Link to post
Share on other sites

Posted

Where is the address for connect to the irc?

I'll try to contact him

Its #huawei-g300

0

Share this post


Link to post
Share on other sites

Posted

I talkeg with dazzo, unknow problem for him too...

Not on my pc so I'm gonna tell you from what i remember.

Goto AudioHardwareInterface.h snd there is somewhere a line audio output t_flags comment that out. Or even better check out Dazzozo patches.

I tried to change it, but problem persists... I hope that you can help when you have your PC near :S

0

Share this post


Link to post
Share on other sites

Posted

Damn maybe I didn't noticed that i was using jellybean branch of CM instead cm-10.1

syncing repo and I'll se if works now... what a noob fail :P

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.