Hello,
I'm trying to build CyanogenMod 7 from scratch for my Galaxy S II(GT-I9100G) following this Wiki
http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II:_Compile_CyanogenMod_(Linux)
Click to expand...
Click to collapse
Does anybody hopefully have an idea, what the problem might be?
Here are the log file;
buildlog_12_03_2012.txt
cyanogen_galaxys2g.mk
Click to expand...
Click to collapse
Also no extract-files.sh script is available for my device. I Need the files for a CM7/CM9 Port.
I have Changed the title of the thread as it was misleading
-sayan- said:
Hello,
a newbie here,
I'm trying to build CyanogenMod 7 from scratch for my Galaxy S II(GT-I9100G) following this Wiki
Does anybody hopefully have an idea, what the problem might be?
Here are the log file;
Click to expand...
Click to collapse
Thank you for trying to dev for our G version!!
The cyanogen source are for the 9100 version, not for our 9100G.
Have you got the proprietary files from your current rom?
There is a script for that but it's made for the 9100 version so the files the script try to get aren't the same in our 9100G.
There is lot of work to do to modify this and I imagine some conf file in the compil routine to modify...
There is a lot of work. If you can make it you will be like a king for us
Anyway, if you need help to test some kind of things, I can try. I've tried to port a rom from a 9100 to a 9100G but stuck on some mistake and didn't find any help
I suggest to wait for ICS version to work on, what do you think of this?
Yup both are different bt procedure is same..
Got propitary files, and yeah I know there is lot of modification.
am working on cm 7.2 if successfull then i can try ICS for sure
lets hope
Pls Devs help mee to find out wheres my fault. and guide me to device and vendor folder.
Some possibles answer
`No rule to make target `xxx', needed by `yyy'.'
This means that make decided it needed to build a target, but then couldn't find any instructions in the makefile on how to do that, either explicit or implicit (including in the default rules database). If you want that file to be built, you will need to add a rule to your makefile describing how that target can be built. Other possible sources of this problem are typos in the makefile (if that filename is wrong) or a corrupted source tree (if that file is not supposed to be built, but rather only a dependency).
For that one I can't remember if this is in the proprietary file (if yes it doesn't have to be build so this is the error)
Edit: it appears we build "libaudio.so" from sources.
# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES := \
vendor/samsung/c1-common/proprietary/libcamera.sobj/lib/libcamera.so \
vendor/samsung/c1-common/proprietary/libril.sobj/lib/libril.so \
vendor/samsung/c1-common/proprietary/libsecril-client.sobj/lib/libsecril-client.so \
vendor/samsung/c1-common/proprietary/audio/libaudio.sobj/lib/libaudio.so \
for antoher one
`warning: overriding commands for target `xxx''
`warning: ignoring old commands for target `xxx''
GNU make allows commands to be specified only once per target (except for double-colon rules). If you give commands for a target which already has been defined to have commands, this warning is issued and the second set of commands will overwrite the first set.
No explanation needeed I think.
Can you share you'r building files? As this I can help you more.
pereira6david said:
Some possibles answer
Edit: it appears we build "libaudio.so" from sources.
# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES := \
vendor/samsung/c1-common/proprietary/libcamera.sobj/lib/libcamera.so \
vendor/samsung/c1-common/proprietary/libril.sobj/lib/libril.so \
vendor/samsung/c1-common/proprietary/libsecril-client.sobj/lib/libsecril-client.so \
vendor/samsung/c1-common/proprietary/audio/libaudio.sobj/lib/libaudio.so \
Click to expand...
Click to collapse
another problem is no "extract-files.sh" file is available for my device.
will actually donate if u get dis **** working
Sent from my GT-I9100G using XDA
-sayan- said:
another problem is no "extract-files.sh" file is available for my device.
Click to expand...
Click to collapse
Yes, the challange is to find all the proprietary files to be extracted, modified the script (the easiest thing) and modify all the build script to replace good file name regarding G version files.
I've modified this extract.sh to extract our files but with non G name to see if it can help me with some error but didn't help me so much. I've got a building error like your's.
I've seen we have different cpu, gpu, audio.
WiFi and Bluetooth chip seems to be the same, mount point are the same except for the external sd card.
After finding how to replace those file in compil, I guess conf file for G chip should be modified.
Correct me if I'm wrong or if you have find other things.
What I didn't understand is the variant of the powervr files with a number at the end, don't know what this mean.
I think there are not huge changes between 4460 & 4430, minor changes.
whats say ?
attachment of half edited extract-files.sh.
Hi,
I have this f**king G version too, and I'm interresed in helping such a CM port to that device.
I'm a developer, but I'm new in the Androïd world. How can I help ?
I can try to build at home, on my Fedora station.
Thanks.
Profitroll said:
Hi,
I have this f**king G version too, and I'm interresed in helping such a CM port to that device.
I'm a developer, but I'm new in the Androïd world. How can I help ?
I can try to build at home, on my Fedora station.
Thanks.
Click to expand...
Click to collapse
follow this wiki or search here in xda.
http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II:_Compile_CyanogenMod_(Linux)
Click to expand...
Click to collapse
use Ubuntu 10.04/11.10.
-sayan- said:
follow this wiki or search here in xda.
use Ubuntu 10.04/11.10.
Click to expand...
Click to collapse
And do not hesitate to ask us.
I'm not a developper, I'm just an "little advance linux user" loving to flash my phone so your help will be helpfull and we can exchange in french in PM for more precise things.
-sayan- said:
I think there are not huge changes between 4460 & 4430, minor changes.
whats say ?
attachment of half edited extract-files.sh.
Click to expand...
Click to collapse
I had a look to your modified extract file.
this file is a little bit different in 9100 than in 9100G /system/bin/BCM4330B1_002.001.003.0221.0264.hcd
The 9100 is 0265...
My modifications are "raw" the destination file is the same as the origin, only the origine file had different name
Trying to execute the original script gave us all the file wich have different name or didn't exist. I think those one had to be changed.
Am I true?
I think nearly all those files need to be changed.
CPU, GPU, audio too, we don't have a yamaha but it seems we had a ducati??
Attached is y extract file wich I had modified few day before, didn't make another try yet.
With this one I didn't have any extraction errors but I guess some file are missing.
yeah
mine was fully edited now. dont know whether it is right or wrong.
pereira6david said:
I had a look to your modified extract file.
this file is a little bit different in 9100 than in 9100G /system/bin/BCM4330B1_002.001.003.0221.0264.hcd
The 9100 is 0265...
Click to expand...
Click to collapse
already changed.
I think nearly all those files need to be changed.
CPU, GPU, audio too, we don't have a yamaha but it seems we had a ducati??
Attached is y extract file wich I had modified few day before, didn't make another try yet.
With this one I didn't have any extraction errors but I guess some file are missing.
Click to expand...
Click to collapse
Thnx for your effort.
Dont know what we had. galaxy nexus and ours both are same right ? may be minor changes.
SayaN said:
already changed.
Thnx for your effort.
Dont know what we had. galaxy nexus and ours both are same right ? may be minor changes.
Click to expand...
Click to collapse
Good, I will hae a look at your file.
Galaxy nexus S had a Samsung exinos.
I've find that we have some similarity with the motorola droid 3.
We really have to find what are the appropriate proprietary files.
pereira6david said:
Good, I will hae a look at your file.
Galaxy nexus S had a Samsung exinos.
I've find that we have some similarity with the motorola droid 3.
We really have to find what are the appropriate proprietary files.
Click to expand...
Click to collapse
one correction this device(I9100G) has ducati.
and yes droid 3, droid bionic, droid razr, droid razr max all are omap4430.
Here is my modified extract file. I've made some correction on your's.
I think I miss ducati libs.. don't know wich it is.
in /system/device/samsung/galaxys2/BoardConfig.mk , we have too find what is the "TARGET_BOARD_PLATFORM" wich is smdkv310 for 9100.
same for BOARD_FM_DEVICE but I guess it could be the same.
We need very detailled informations for our phone.
Do you know where to find it?
I have also building error
make: *** Pas de règle pour fabriquer la cible « out/target/product/galaxys2/system/lib/libaudio.so », nécessaire pour « out/target/product/galaxys2/system/lib/libaudioflinger.so ». Arrêt.
Sorry for the french message, but it says no rules to build libaudio necessary for libaudioflinger...
What I've noticed is that in the folder system/out/target/product/galaxys2/obj/lib/ libaudio.so appear while libaudioflinger not.
So I guess the problem came from here..
See the complet log file.
Related
11/26/07 update:
I've placed the project on hold for a while. I've been too busy to work on it and so instead, I'm working on an optimized ROM for my Wing. I might end up just using that ROM as the base ROM. It's based on the Touch-IT.
Update: Still working on release v0.4. So far, so good. No bugs found, yet.
Success! Tested AND Working flashed on my Wing!!!
Here it is! Version 0.3
All the passwords are: "ding"
Step one:
Download the Kitchen files:
Save them somewhere, say a folder called "Ivan's Kitchen."
Step two:
Download the OEM and SYS folders:
Dump them into the Working_Folder within the EasyBakeOven folder that you extracted on the first step.
Step three:
Download the ROM folder and follow the same instructions as step two.
Step four:
Download the Packages into the OEM folder.
Step five:
Run the RunMe file. Choose if you want the BioTouch. Choose if you want Office. Check what programs you want. Click on the little green "play" button. When it says "Done." at the bottom, close that window and follow the prompts.
This is a BuildOS kitchen. Download the packages and just double click on the batch file I made you.
Make sure you have enough harddrive space... I tried it on my laptop and I kept getting REALLY small os.nb files. lol
Now I just need someone to make me some good atwork... or I can make one myself.
BUGS Fixed:
V0.3
Camera Packages - Removed the camera packages and restored the original camera.
CommManager Packages - Updated their registry to reflect the Herald's wifi.
Removed Touchflo ghost icon. It was a mistake from my end. It's an icon pointing to nothing.
V0.2
Too many to fix... Just ignore the fact that V0.1 ever happened...
If upgrading from the previous version:
Download these files and the file attached and overwrite the current set. Delete the two camera folders under the OEM folder.
If not, download the whole thing again.
If you downloaded the original broken Alpha release: Trash it. Download the newest one. That one had more holes that swiss cheese.
Bugs found and how to fix them.
I missed an extra file when I updated the camera fix. I'll fix it on the next release. For now just delete the file "Camera.lnk" from the OEM\OEMAPPS folder.
11/19/07 - Nevermind, I completely broke the camera again. I'll have it fixed soon. I'll have to look through the original ROM and find the missing files.
V0.4 Coming Soon!
Changes so far:
Fix extra camera.lnk
Set packages needed for a basic working ROM to be selected by default.
More packages!!
Thank you's goes to:
God for giving me the patience to work on this.
ITJE for his base ROM
LordPhong for his Touch-IT fixes
mattk_r for inspiring me with his kitchen and for most of the packages
Warning:
Any damages caused by your ROM to your phone is solely your resposibility. The chances of you really bricking your phone are slim to none. As long as it's a WING. I haven't tested this on anything else.
Also, if you have a 64bit OS: Don't even try to use the flashing tool. It will not work.
Packages and Screenshots
This kitchen's base ROM builds a 12mb pagepool.
You'll have to use the pagepool changer to get it to your liking.
I'll be listing all packages in a few hours.
Here are a few screenshots.
Reserved
Reserved
---------------------------------------
good ish, looking forward to it. One question, for the programs and tweaks, are you just going to include the most popular, or can requests/suggestions be made?
oh yes. very anticipated. This has the ability to JUST add biotouch, that is, without the cube? If so, mad props to you.
Also, two questions
1. Will I be able to change the base rom?
2. Can I get it to spit out the .nbh file from the RUU? Just for us CID-unlocked people?
fzzyrn said:
oh yes. very anticipated. This has the ability to JUST add biotouch, that is, without the cube? If so, mad props to you.
Also, two questions
1. Will I be able to change the base rom?
2. Can I get it to spit out the .nbh file from the RUU? Just for us CID-unlocked people?
Click to expand...
Click to collapse
I'm still working on the possibility of seperating.... we'll see...
As far as your questions go:
1. Yes.... BUT, you will have to STRIP the ROM down in order to avoid errors from the kitchen. (Not as hard as it sounds, mostly just searching for the duplicate files that the kitchen throws an error out for. Just time consuming.)
The base ROM is just that. Basic as can possibly be. If you want a newer version of the OS and are up to stripping down that ROM for my kitchen, I'll add it here without a problem. This is more of a collection of works from all parts of this community, so if anyone wants to add packages to the lot, porting over newer versions of wm6 or whatever it may be (like art work,) they're more than welcomed to.
Does it go "ding" when it's done?
falconeyez said:
Does it go "ding" when it's done?
Click to expand...
Click to collapse
lol. I'll add that to my todo list. (j/k... maybe)
Great work! Can't wait till its online.
The perfect solution for "cooking" your own Rom without the diffult (but most of all time consuming) proces of getting into Hypercore kitchen. Finally within the reach of my limited sparetime.
You could try to contact Itje about the differences between Wing and Herald?
Keep us posted on the proceedings!
Good Work!
Just one question.
Does it allow us to change the language?
jappo01 said:
You could try to contact Itje about the differences between Wing and Herald?
Click to expand...
Click to collapse
I've being trying to PM every herald cook that I know of for a few weeks now, to no avail. No one has responded.
This sounds like a very, very good thing. I've been wanting something like this since I started playing with different ROMs.
very nice. morphgear?
nice work cant wait. have a question i have morphgear(nes emulator) and i actually paid for it. i was wondering since its an execution file can that be converted into a oem package for my own use with this kitchen?
xingeng said:
Does it allow us to change the language?
Click to expand...
Click to collapse
I hadn't thought about that... I'll look up that thread that has the info about how to change the language.
10 minutes later... Why can't I find it? I know it's here somewhere. I've seen it countless NEEDLESS times...
ok... this is silly. Find it for me and I'll take a look. lol
teamrinse said:
nice work cant wait. have a question i have morphgear(nes emulator) and i actually paid for it. i was wondering since its an execution file can that be converted into a oem package for my own use with this kitchen?
Click to expand...
Click to collapse
If you have the cab, then it's doable. Even if you don't, technically it still is...
Ok, Here you go.
http://forum.xda-developers.com/showthread.php?t=311078&highlight=dirty
This thread tells how to translate english into any other language.
ivanmmj said:
I hadn't thought about that... I'll look up that thread that has the info about how to change the language.
10 minutes later... Why can't I find it? I know it's here somewhere. I've seen it countless NEEDLESS times...
ok... this is silly. Find it for me and I'll take a look. lol
Click to expand...
Click to collapse
ivanmmj said:
The Kitchen is ready. It's Wing only for now because I haven't had the time to research on the differences between it and the normal Herald. .
Click to expand...
Click to collapse
hi man,I found that there are no different between all kinds of herald,only one is c858 without WIFI.
others all the same except keyboard layout.
ok and flash your nbh with jspl will be comfortable.
BUT should notice that IPL SPL not less than 4.00
or flash with ruu if you are hardspl.
cheers
canonyang_China said:
hi man,I found that there are no different between all kinds of herald,only one is c858 without WIFI.
others all the same except keyboard layout.
ok and flash your nbh with jspl will be comfortable.
BUT should notice that IPL SPL not less than 4.00
or flash with ruu if you are hardspl.
cheers
Click to expand...
Click to collapse
Cool. Now I just need the registry values for the regular herald's keyboard layout.
Downloading to test...
Im getting an error message when it starts to build. Is anyone else trying this besides me?
the file 'temp/packages2f1ae01a-04e8-11dc-8314-0800200c9a66.rgu' already exists
Hi!
This is probably just a simple noob question but anyway
When i extract a rom in kovskykitcken and tries to build it, buildos says it's missing all the rgu files in the original packages. Do someone have a simple solution to this?
wipal001 said:
Hi!
This is probably just a simple noob question but anyway
When i extract a rom in kovskykitcken and tries to build it, buildos says it's missing all the rgu files in the original packages. Do someone have a simple solution to this?
Click to expand...
Click to collapse
Are you extracting from an OEM ROM? If not, some chefs protect their ROMs by merging all of the RGU files into one big file at the time of cooking.
It's the same in both the original oem and jack's
I found one that works, thank you for your help
I removed all the RGU to keep the rom as clean as possible and I am NOT building my rom based on the kitchen method.
Okey, great to know
on xperia removal of rgu means little on storage (but it ment a great deal when I had my Herald )
But there are many rgu files, and deleting them speeds up the process of opening/browsing windows dir on your device.
itje said:
But there are many rgu files, and deleting them speeds up the process of opening/browsing windows dir on your device.
Click to expand...
Click to collapse
Yeah, every little bit count here.
Yeah i noticed how really long time it takes to browse the win dir on the device, is it a simple process? could it be done with a kitchen or is there any other tool you need?
I'm also really curious about the tools you use to build your roms?
wipal001 said:
I found one that works, thank you for your help
Click to expand...
Click to collapse
Frustrating post - which one, how, where etc, please ?
I think all these works, atleast the swedish one
I've spent the better part of 5 hours trying to come across information on ROM development.
My question is two part. What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
I have a feeling there's a lot I don't know. Perhaps the answer is in front of my face, but I've been looking for a long time and definitely have tried so please don't just say "use the search fuction" or "google it"
Devs normally don't like to share the info but there's a guide here:
http://ctso.me/2010/02/building-an-android-rom-–-part-1-5/
But the info is in other places to the google-android page might have some info to. You must be using a linux OS to actually build anything, windows is a no-go...
Quick and helpful, thanks!
Luckily I did just put the latest ubuntu on my laptop.
If anyone else wants to chime in with some helpful resources please do!
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
halfmonty said:
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
Click to expand...
Click to collapse
He was just lying, he spammed various threads while talking about other devs.
Ace42 said:
He was just lying, he spammed various threads while talking about other devs.
Click to expand...
Click to collapse
first he's 14 then he's 12...next he'll be a spoiled 8 year old. you just watch.
I'm glad I checked this post. I was curious about ROM developing myself. Thanks for the post.
Is it me, or does that guy have more then one account...
At the risk of taking this further off topic... what guy?
But really my main concern is how to make a rom so, any other help from anyone would be good. Thanks!
Bump?
I'm sure somebody knows something
What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Click to expand...
Click to collapse
If you would like to compile android source code (create a rom from scratch) the best place to start would be:
http://forum.androidspin.com/showthread.php?t=2004
or
Chris Soyars' blog: http://ctso.me/2010/01/building-an-android-rom-part-1/
OpenEclair github readme: http://github.com/openeclair/android
Official AOSP Guide: http://source.android.com/download, http://source.android.com/download/using-repo, http://source.android.com/documentat...ding-for-dream
Instructions on creating and signing update.zip files can be in a few places herre on xda. Check the themes section I'm pretty sure I saw a few there.
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
Click to expand...
Click to collapse
Install the rom on a handset & do a nandroid backup. It will produce the img files you will need for the AVD
Dude, you're awesome, thanks!
When extracting a ROM does it matter what ROM it is? I tried to upload the GSM Energy GTX Cookie ROM from July 24, and it said that there was an error while importing the file.
"Can't extract files or build packages from IMGFS structure. Please make sure the ROM is not corrupted, that it's an original ROM updated released by the manufacturer and not an user-generated ROM."
I thought this might mean that I needed an actually stock ROM so I have looked for stock t-mobile ROMs and they are all in the .exe file type.
I'm a little confused, anyone care to help a noob out real quick? Thanks!
May be you will get mor luck with answer here? Dont you think?
hehe, I was frustrated because I wasn't getting an answer, I sent airextreme a PM and he never answered. I posted here so that people could help me with TP2 specific things (like if someone suggested a different kitchen for the tp2 or something like that). I know, it wasn't the right thing to do. I would delete this thread If i could.
For reference to other people airextreme replied with this: "You have to import the EXE file: the kitchen will unpack it as long as it's a recognized one"
khoyifish said:
When extracting a ROM does it matter what ROM it is? I tried to upload the GSM Energy GTX Cookie ROM from July 24, and it said that there was an error while importing the file.
"Can't extract files or build packages from IMGFS structure. Please make sure the ROM is not corrupted, that it's an original ROM updated released by the manufacturer and not an user-generated ROM."
I thought this might mean that I needed an actually stock ROM so I have looked for stock t-mobile ROMs and they are all in the .exe file type.
I'm a little confused, anyone care to help a noob out real quick? Thanks!
Click to expand...
Click to collapse
u need to use a stock ROMs first to set up the kitchen i used the tmobile then u could get a sys matching xip. make sure you follow instructions on running the kitchen
There are some ROMs around that are deodexed and zipaligned. The ROMs around here unfortnately are themed (not to my taste) and/or have removed Samsung stuff that i use. I want a nearly untouched FW (i remove a few Samsung apps on my own).
So i'm searching for an automated method (that can also be used for future FWs) to deodex and zipalign the files of my phone (maybe only some binaries or java applications and a batch file).
I can manage to pull/push all files from/to /system/app and /system/framework but i'm not able to do the rest...
Also very interested in this. Or a clean kitchen or a how to on making a kitchen to mod our roms.
dutchcow said:
Also very interested in this. Or a clean kitchen or a how to on making a kitchen to mod our roms.
Click to expand...
Click to collapse
I just wanted to create a thread about MODIFYING / CREATING CUSTOM ROMS FOR THE i9000.
Does anyone know how to modify (for example, Tayutama's JPM Full ROM) ROMs?
I googled and just found some HTC ROM HowTo's.
Check my signature for all the tools u shud need in terms of deodexing, editing apks, creating signed update.zip. Thats all you really need i think :\
A zipaligner is missing.
yes that'd be perfect! trying to optimize my device myself here too.
if there's no automated way could someone be so kind to post some instructions as to how?
found some stuff on the g1 forums but i'm not sure if it'll work...
Adevem said:
yes that'd be perfect! trying to optimize my device myself here too.
if there's no automated way could someone be so kind to post some instructions as to how?
found some stuff on the g1 forums but i'm not sure if it'll work...
Click to expand...
Click to collapse
+1, i want to do this myself too , and let devs do more imporant things
Could someone with more knowledge help us out with the basics?
+1 for me!! Now one has reply since last year, but proably there is some app that came out that does all this or nobody whant to doit any more...
So?? How to deodex/zipalign proper hand made roms??
PIRATA! said:
+1 for me!! Now one has reply since last year, but proably there is some app that came out that does all this or nobody whant to doit any more...
So?? How to deodex/zipalign proper hand made roms??
Click to expand...
Click to collapse
Quite an old topic, you'd be better off just creating a new thread.
Use this: http://forum.xda-developers.com/showthread.php?t=633246