Go Back   Android Forums > Android Development > ROM Development
ROM Development Dev lounge for our ROM developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old March 24th, 2012, 07:15 PM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2012
Posts: 216
 
Device(s):
Carrier: Not Provided

Thanks: 42
Thanked 89 Times in 63 Posts
Default CM7 build errors

I'm trying to build CM7 for the LG AS855 Ignite but have hit a roadblock. I have extracted all files from the phone. It appears to be related to the CameraHal.h. Any files that this header file refers are missing and I can't seem to find them anywhere. Anyone know how to fix this or where I should look for more info?

Here's the start of the errors I'm getting.
LG Ignite CM7 Build Error - Pastebin.com

Craptorman is offline  
Reply With Quote
sponsored links
Old March 24th, 2012, 07:19 PM   #2 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

When you say you extracted the files from the phone, the phone is already running CM7 right?
SUroot is offline  
Reply With Quote
Old March 24th, 2012, 08:12 PM   #3 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2012
Posts: 216
 
Device(s):
Carrier: Not Provided

Thanks: 42
Thanked 89 Times in 63 Posts
Default

No CM7 yet. Starting from scratch, a new device. I used the LG P970 repo to base mine on. There is a file extract-files.sh that copies files to "vendor/$VENDOR/$DEVICE/proprietary/".

I'm quite new to this so I might not be going about things correctly. Have been reading and looking at other's projects trying to learn.
Craptorman is offline  
Last edited by Craptorman; March 24th, 2012 at 08:19 PM.
Reply With Quote
Old March 24th, 2012, 09:54 PM   #4 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Yes I'm aware of the extract-files.sh. There is an unzip too, but this is designed to extract working proprietary files from a CM7 ROM for your device. It doesn't work taking them from non-cm7 roms. Maybe you'll be lucky but from my experience it has never worked. The CM guides all say you must have CM running on the device first.

To be honest, learning development whilst trying to build the first rom for a new device is particularly difficult. The latter really should only be done by experienced developers. I've been developing a while but not at that level. I do not believe I would be able to take source and get it working on a device completely on my own.

Best of luck though, please keep us updated.
SUroot is offline  
Reply With Quote
Old March 24th, 2012, 10:23 PM   #5 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2012
Posts: 216
 
Device(s):
Carrier: Not Provided

Thanks: 42
Thanked 89 Times in 63 Posts
Default

Thank for the info. I had seen several places that said the extracted files needed to be from a working CM7 rom as well. I found another post where they said it just needed to be a working rom. I'll keep working on it and hopefully get somewhere.
Craptorman is offline  
Reply With Quote
The Following User Says Thank You to Craptorman For This Useful Post:
SUroot (March 25th, 2012)
Old March 25th, 2012, 08:43 AM   #6 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Im sure its possible. Someone took the CM9 source and got it working on the HTC desire over on XDA. How, I do not know.
SUroot is offline  
Reply With Quote
Old May 31st, 2012, 06:14 AM   #7 (permalink)
New Member
 
Join Date: May 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have been searching a way to replace system app with other app. I successfully replaced my music app in cyanogenmod 7.2 with a miui music app through root explorer but when I tried to do same with the message app nothing happens and the message app disappears from the app drawer.
Please tell me a way to replace it
1) by root explorer.
2) by flashing a zip of that app.

I have a link where a tutorial on replacing a system message app is given but it is for custom rom

(galaxyacehvgagames.blogspot.com/search/label/Trick)

Can you also tell me is it possible to make a flashable zip of any .apk file.
I really need to do this thing as in default mms.apk there is no option to select recipients from contacts. Every time sending the message I have to write a name each and every person which is frustrating. Please guys help me.
atishey23 is offline  
Reply With Quote
Old June 1st, 2012, 07:10 PM   #8 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Most Miui apps are custom and will not work on other ROMs. Only other MIUI app I know works is the camera. You won't get messages working.

Try 3rd party apps like Go SMS...
SUroot is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > ROM Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:34 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.