yashsingh1/xdaforums huggingface dataset:
[Galaxy S II I9100G Android Development] pereira6david:
Hey guys,

I've discovered some things, to build the galaxy s2 CM, a script cal a directory called C1-Common and I think we have a T1 or TI (not sure) board.

A question I have, the source are released by samsung so we can change some files in the CM repo from the samsung source?

Another one, the CM repo is in fact a prebuild, so not exactly the source code (correct me if I'm wrong), so we can't use the files of samsung.

Regarding all those things, I try to build a rom from samsung source but fail...

If I'm right we need to change the folder we want from samsung source too google source.

Another problem is that samsung source are from 2.3.5 and google source are 2.3.7...
[Galaxy S II I9100G Android Development] :
Here for 'G' c1 folder is different.
[Galaxy S II I9100G Android Development] abhis3k:
Have you finished the extract-files.sh? Else no way to go forward. At least make device and vendor folders and upload them to github so others can help solve problems too.
[Galaxy S II I9100G Android Development] rascal123:
thank you in advance for all your hard work devs
[Galaxy S II I9100G Android Development] pereira6david:
I'm working on doing a clean folder as lite as I can to upload it to github. It's 3Gb now...

for the extract-files.sh we have made some work but don't know yet if everything is in.

I try to find wich device with CM have similar chip and I try to use samsung source to pick up the correct driver.

I'm very new in dev and I'm not a developper in anything so it take quiet a long time to understand how it work.

If you want to have a look to the extract-files.sh
[Galaxy S II I9100G Android Development] kldoc:
I don't know if you already know about that, but the config file for the kernel sources ( Samsung's sources) are located in /arm/arm/t1_default , there are other files inside regarding the config, the audio chip, since you had troubles finding it, seems to be TWL6040, actually all hardware is defined there. Hope that helps :)
[Galaxy S II I9100G Android Development] pereira6david:
Yes, it help, thanks
[Galaxy S II I9100G Android Development] Garrafone:
Thank you in advance for this great work devs!

I dont know if this can help, but yesterday 2.3.7 CM 7.2 RC1 was released to LG Optimus 3D (P920), and the O3D have TI OMAP 4430 too, and PowerVR SGX540 GPU, same as i9100G.

Regards!
[Galaxy S II I9100G Android Development] pereira6david:
Great news! I've sync my rep yesterday, will have a look this evening!

Thanks for the news!
[Galaxy S II I9100G Android Development] :
only camera and display these are the differences.

:D
[Galaxy S II I9100G Android Development] pereira6david:
Unfortunatly the source code isn't available yet...

I will try to port it waiting for the source code!!!
[Galaxy S II I9100G Android Development] :
cm7.2 source code available ;)
[Galaxy S II I9100G Android Development] pereira6david:
If so I have to sync again. It's not in the git.

I've worked to port the 920 rom but stuck at boot without errors... Is there another way than logcat to see logs?
[Galaxy S II I9100G Android Development] :
use adb logcat ?
[Galaxy S II I9100G Android Development] pereira6david:
yes, I use in fact droid explorer.

Here is the log of my ported P920 rom.

If someone have an idea...
[Galaxy S II I9100G Android Development] kldoc:
You've got errors in mounting partitions apparently, partitionning errors ?

I though our G was on /external-sd not /ext-sd ?

"might" need to repartition from other thread i saw about this error ...

I can't answer for sure, only testing might give you the answer ...
[Galaxy S II I9100G Android Development] pereira6david:
Yes it's about and sd-ext partition but I'm not sure the LG need an sd-ext. (it used on some low internal ROM for some device eg:HD2)

I try to partition my sd with cwm but it doesn't work.

Will try to partition using debian and make an other test.

Finally I've found the use of an sd-ext partition, they use a app2sd script. Not sure this is the reason of the stuck..
[Galaxy S II I9100G Android Development] hermanchb:
awaiting for your good news ~
[Galaxy S II I9100G Android Development] pereira6david:
It will take time!!!
[Galaxy S II I9100G Android Development] kldoc:
We're definitively going to need a mutual repo to share files, at least to keep the work already done in a safe place, would be sad to lose everything in the future ... This until Cyanogen Mod for G is released officially, not going to happen anytime soon :(

---------- Post added at 05:28 PM ---------- Previous post was at 05:00 PM ----------

Ok, for the omapcam files, the path are :

/system/ducati/dcc/omapcam/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/

/system/ducati/dcc/omapcam/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/

a lot of files in each folder ...

---------- Post added at 05:37 PM ---------- Previous post was at 05:28 PM ----------

remote object '/system/base_image_sys_m3.xem3' does not exist

remote object '/system/base_image_app_m3.xem3 does not exist

Exact path seems to be :

/system/ducati/base_image_sys_m3.xem3

...

other files present there, don't know if needed or not ...
[Galaxy S II I9100G Android Development] pereira6david:
Committing to github...
[Galaxy S II I9100G Android Development] kldoc:
pereira6david, as soon as you're done with the github, can you share the link ?
[Galaxy S II I9100G Android Development] pereira6david:
of course I will.

For the moment I get some error message, I think I've tried to commit to big at a time.

I've got a lot of fatal: git status --porcelain failed

Uploading repo, will be up in few hours at https://pereira6david@github.com/pereira6david/CM7-9100G.git

I surely had to have a look at the fork as the working directories are from cyanogen git...

Once it will be online I will make a test to see if I can have the repo working on my computer or you'll tell me.
[Galaxy S II I9100G Android Development] HLG114:
Come. We are waiting for good news about 9100G. Thank all !
[Galaxy S II I9100G Android Development] pereira6david:
The most interesting folders are not reachable.... :mad:

I've a look to see what I can do.
[Galaxy S II I9100G Android Development] kldoc:
hlg114, there is still a fair amount of work to be done, everybody can help by finding the good files to.put in the extract-files.sh, this is the very first step and we're still not done, want it goes.faster ? Give us a hand, you are all very welcome :)

---------- Post added at 05:53 PM ---------- Previous post was at 05:49 PM ----------

pereira6david, thank you very much for your efforts in setting up the repo for our i9100g.

Having all these things done will give a real good start for an aosp rom :)
[Galaxy S II I9100G Android Development] pereira6david:
It's ok, the git is up. :D

You can find it on github

https://pereira6david@github.com/pereira6david/CM7-9100G.git

git://github.com/pereira6david/CM7-9100G.git

---------- Post added at 10:25 PM ---------- Previous post was at 09:53 PM ----------

I've got problem while trying to sync my brand new git

here is to shell out, if someone have an idea on how to fix it

nours@toshiba:~/CM$ repo init -u git://github.com/pereira6david/CM7-9100G.git -b master

fatal: manifest 'default.xml' not available

fatal: manifest default.xml not found

nours@toshiba:~/CM$ repo sync j-16

Traceback (most recent call last):

File "/home/nours/CM/.repo/repo/main.py", line 385, in <module>

_Main(sys.argv[1:])

File "/home/nours/CM/.repo/repo/main.py", line 365, in _Main

result = repo._Run(argv) or 0

File "/home/nours/CM/.repo/repo/main.py", line 121, in _Run

copts, cargs = cmd.OptionParser.parse_args(argv)

File "/home/nours/CM/.repo/repo/command.py", line 42, in OptionParser

self._Options(self._optparse)

File "/home/nours/CM/.repo/repo/subcmds/sync.py", line 126, in _Options

self.jobs = self.manifest.default.sync_j

File "/home/nours/CM/.repo/repo/manifest_xml.py", line 215, in default

self._Load()

File "/home/nours/CM/.repo/repo/manifest_xml.py", line 255, in _Load

self._ParseManifest(True)

File "/home/nours/CM/.repo/repo/manifest_xml.py", line 273, in _ParseManifest

root = xml.dom.minidom.parse(self.manifestFile)

File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse

return expatbuilder.parse(file)

File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 922, in parse

fp = open(file, 'rb')

IOError: [Errno 2] No such file or directory: '/home/nours/CM/.repo/manifest.xml'
[Galaxy S II I9100G Android Development] pereira6david:
Anyone had tried the git?

Does it work for you or do I have to fix some things?
[Galaxy S II I9100G Android Development] kldoc:
Sorry, too busy today, i really don't have the time to test is right now :(
[Galaxy S II I9100G Android Development] abhis3k:
If you are having problems with new git note the errors and do git stash before report sync.
[Galaxy S II I9100G Android Development] pereira6david:
I think my problem is local. I need someone to test.
[Galaxy S II I9100G Android Development] kldoc:
i will try to test tomorrow, had too much work today, and couldn't have free time at home ...
[Galaxy S II I9100G Android Development] pereira6david:
No problem, I continue my work one my own and I will commit.
[Galaxy S II I9100G Android Development] pereira6david:
Trying to build....

inally after 10 minutes building I've got an error..

If someone have an idea

frameworks/base/media/libstagefright/OMXCodec.cpp:4951: warning: this decimal constant is unsigned only in ISO C90

frameworks/base/media/libstagefright/OMXCodec.cpp:5033: warning: this decimal constant is unsigned only in ISO C90

target thumb C++: libstagefright <= frameworks/base/media/libstagefright/SampleIterator.cpp

frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android::OMXCodec::setVideoInputFormat(const char*, const android::sp<android::MetaData>&)':

frameworks/base/media/libstagefright/OMXCodec.cpp:1774: error: 'OUTPUT_BUFFER_COUNT' was not declared in this scope

target thumb C++: libstagefright <= frameworks/base/media/libstagefright/SampleTable.cpp

make: *** [out/target/product/galaxys2g/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Erreur 1

make: *** Attente des tâches non terminées....
[Galaxy S II I9100G Android Development] kldoc:
It's in the base framework, are you sure you're not missing any file ?

---------- Post added at 05:45 AM ---------- Previous post was at 05:23 AM ----------

http://code.google.com/p/android/issues/detail?id=19956

This might be related, i don't find much more infos related to that particular problem, either you've got some file missing, or it's an error similar to the one reported here ... All i know it's in the base framework, and it's like a call is made to a non existant function or something like this ...
[Galaxy S II I9100G Android Development] pereira6david:
Yes I think i missed some files in my extract-files.sh

I will have a look this evening.
[Galaxy S II I9100G Android Development] pereira6david:
After having a look at you link, I'm not sure I miss a file. It appears it's a problem with 2.3.5 compiled files. There is a solution in there. Will try it and see.

Thanks for the help!
[Galaxy S II I9100G Android Development] kldoc:
i wish people could learn to read, the very little help i give is only by reading and analysing, everybody can do that ...
[Galaxy S II I9100G Android Development] pereira6david:
Sorry but I haven't time to search yesterday evening, it was time to sleep! I just ask to earn some time!
[Galaxy S II I9100G Android Development] kldoc:
My comment wasn't for you pereira6david, actually, you're doing an incredible job here, it was rather for people who come here, ask for faster release, and don't help ... :(

I also lack time to help you more this week, i try to do the research on the really few free moments that i have, but it's really hard to find those free moments this week ...
[Galaxy S II I9100G Android Development] kldoc:
pereira6david, i got back home, i can help you again with research, give us some feedback :)
[Galaxy S II I9100G Android Development] pereira6david:
I haven't done anything since last update. I tried to change some conf file regarding the link you gave me but without luck!
[Galaxy S II I9100G Android Development] pereira6david:
Perhpas a possible solution...

http://groups.google.com/group/android-building/browse_thread/thread/fb8f48025c95ddd3?pli=1
[Galaxy S II I9100G Android Development] pereira6david:
Syncing codeaurora git to have driver for omx.

It could solve the problem. Regarding kldoc link it seems to be the solution. I also made some research and find always codeaurora as the possible solution.

I hope to try again this weekend if everything goes well.

kldoc, have you tried to use my git? Does it work?
[Galaxy S II I9100G Android Development] kldoc:
i'm sorry, personnal troubles at the moment, didn't even had the time to turn on my computer. Pretty bad week :( Hope i'll have more time at the begining of next week, can't do anything at the moment ...
[Galaxy S II I9100G Android Development] pereira6david:
No problem, take care of yourself and your family first.

CM7 can wait!!
[Galaxy S II I9100G Android Development] HLG114:
Good luck to you and your family.
[Galaxy S II I9100G Android Development] kldoc:
Well things seems to get a little better, thanks for your support guys ...

I really miss a usable solution to get an Ubuntu distro running on external device, my usb key is too slow, one of my hard drive died a week ago, and i don't know exactly when i'll be able to do some testing ... I was about to change latop, but with intel delay on ivy bridge, i still don't know which latop i'll take, waiting for the new models to show up :(

Until then i can help with a little bit of research, but that's it, not enough to support that project entirely, hope more advanced linux users can come here and do some testing ...
[Galaxy S II I9100G Android Development] pereira6david:
Ubuntu became heavier and heavier! You find a debian distro, it's much more light and stable but less "good looking".

On my part I stuck on the same error. I think this is due to the difference of release, 2.3.7 for cyanogen and 2.3.6 for my proprietary files...

What do you think?
[Galaxy S II I9100G Android Development] kldoc:
This was in one of the link i posted earlier, it isn't proper solution, but if it can helps building until the solution to fix this error comes up ...

http://code.google.com/p/android/issues/detail?id=19956

The site is up, but you could be right on the difference in version ...

Modify the commented code according to your own error log ...
[Galaxy S II I9100G Android Development] superatmos:
David,

I don't think the issue is because of that. The repo, I guess, isn't updating properly or something.. else you shouldn't actually get these kind of errors. I can suggest you, for time being, to comment out the lines which are producing errors. Hope that shouldn't be a big deal..

and I checked your git for CM7... mate you need to do still few things in the device folder itself. I observed that "kernel" hasn't been updated with I9100G one.. p920 kernel is different from I9100G. It needs to be updated.

and init files need to be updated for I9100G.

Hope I was of some help.
[Galaxy S II I9100G Android Development] ronhoover88:
@super cant find your github...would like it if you linked it...
[Galaxy S II I9100G Android Development] pereira6david:
Thanks for your help! It's a pleasure to see you're interested in our project.

I know the kernel isn't good, I haven't tried to change this, I'd never compiled a phone kernel yet. I don't know exactly what too keep or not, what to use as a module or not...

Actually it's not yet a problem.

What init file do I need to update? I've made a lot of changes/test I haven't committed to git yet. I've to have a look on what to commit or not and comit.

I don't think I'll be able to work a lot on this week.

Another point, if you want I can add you as collaborator on my git. Tell me.

Everyone who want to help is Welcome!

For the repo wich isn't well synced, I've tried to work on another folder cloning again CM repo but have the same error.

Perhaps I miss a proprietary file or a conf wich isn't good or my proprietary folder structure wich isn't good.
[Galaxy S II I9100G Android Development] pereira6david:
I've tried those modifications but we don't have all the file they have and for those we had, i'ven't success, the same error still occure...
[Galaxy S II I9100G Android Development] pereira6david:
I've forgotten, the recovery isn't changed too.
[Galaxy S II I9100G Android Development] superatmos:
Hey,

I am building it on my PC. Once it comes to some stage, I can upload it to git.

---------- Post added at 01:15 AM ---------- Previous post was at 01:11 AM ----------

I still see that p920 init files are there. They just need to be replaced with init.rc and init.t1.rc from I9100G.

I am following samsung device folder and trying to build. Its still in progress. Will let you know once it comes to good level.

As for the errors, please try to comment them out and build. Once it builds successfully, then you can try to resolve those errors.
[Galaxy S II I9100G Android Development] pereira6david:
Oh great, I haven't noticed that init.dummy.rc was init.t1.rc.

You're just what I need!!! A great help.
[Galaxy S II I9100G Android Development] omkarpatil:
repo sync error

How did you solve this error? Even i get the same error with your git repo..

[Solution]:

Delete the ./repo folder in workspace and use this instead:

repo init -u git://github.com/pereira6david/CM7-9100G.git --repo-branch=master --no-repo-verify
[Galaxy S II I9100G Android Development] superatmos:
Glad I was of some help. I was able to build my source. I tried to flash on device but it didn't boot up. :(

Check my post here .

Anyone.. just let me know if you know any solution regarding that.

I will try to put my source on to git soon. My internet is too damn slow. :( and yeah I do need some guidance on using git. :)
[Galaxy S II I9100G Android Development] Junereth:
hey guys, i just wanted to drop an encouraging reply from a fan of your dedication! i'd love to help but i only have one working pc and it's in my office, and also i'm completely clueless as to how you're doing what you're doing. but i just wanted to encourage you guys with a word of thanks for picking this project up and doing a huge favour for the growing I9100G community out there! :D
[Galaxy S II I9100G Android Development] omkarpatil:
Didnt work :(

Still stuck at the above error..

Can anyone help me please??

Can someone who has successfully synced the repo, zip the .repo folder in workspace and share with me?? I think that would solve my problem?? Preferrably david's repo..
[Galaxy S II I9100G Android Development] pereira6david:
I've had a look to your post but I'm not able to help you but I really think that you can get some informations from 9100 version and 9100 devs.

To setup your git you can follow this guide, it's well done and if you have any question you can ask me.

http://help.github.com/linux-set-up-git/ and this one too http://learn.github.com/p/normal.html

---------- Post added at 08:12 PM ---------- Previous post was at 08:11 PM ----------

I'm having a look to see what I can do to help you.

It will take some time for me to init and clone the git.

I've perhaps found a solution for the repo error. I'm testing this and I'll tell you if it's ok.
[Galaxy S II I9100G Android Development] pereira6david:
I've been able to sync my repo except a connection issue.

You can try again.
[Galaxy S II I9100G Android Development] omkarpatil:
Do you have a manifest.xml file?
[Galaxy S II I9100G Android Development] pereira6david:
I've made one based on cyanogen one.

I had to verify if it's ok. Me or anyone else.
[Galaxy S II I9100G Android Development] codeworkx:
http://xdaforums.com/showthread.php?t=1583091
[Galaxy S II I9100G Android Development] pereira6david:
Regarding what codeworkx have done in few days and what we have done in few weeks... we're really little, very very very little....
[Galaxy S II I9100G Android Development] kldoc:
He's a member of the main dev team in Cyanogenmod, and an experienced developper on android, nothing can replace that ;) logically he knows perfectly the framework and so on, where we know absolutely nothing ^^
[Galaxy S II I9100G Android Development] codeworkx:
few hours :-P

but i went into a big problem.

cannot open framebuffer device and gralloc.

no graphics. -.-
[Galaxy S II I9100G Android Development] kldoc:
Problem with the drivers you are using ?

Err, i don't think i can be of any help, you're way more advanced than me in linux and dev knowledge ^^
[Galaxy S II I9100G Android Development] H15@M:
maybe can try other phone driver..

try user other phone video driver like.

Samsung—SGX540(S5PC110-111) + Cortex-A8

Samsung Galaxy S

Samsung Samsung Galaxy Tab

Samsung [[Vibrant, i997 Infuse 4G, Galaxy S 4G, Nexus S, i897 Captivate, S8530 Wave II]]

Galaxy Nexus
[Galaxy S II I9100G Android Development] pereira6david:
Regarding the speed of codeworkx I'm going to delete my git, we doesn't need it anymore... I'm useless for him, I'm like a baby discovring everthing and he's a grand father knowing almost everything!!!
[Galaxy S II I9100G Android Development] kldoc:
David6pereira, i wanted to personally thank you for all the efforts and work you provided to that project. Hope you can learn from Codeworkx works to help you become a great android dev :)
[Galaxy S II I9100G Android Development] pereira6david:
Thank you and thank you too for your help!!!
[Galaxy S II I9100G Android Development] :
codey its the same soc like optimus 3d, razr :p
[Galaxy S II I9100G Android Development] Sivabalan:
Please vote the poll to get CyanogenMod for your GT-I9100G.

Guys,

Please vote the poll in the following link to get CyanogenMod on your I9100G.

http://xdaforums.com/showthread.php?t=1583091

You can find the poll at the top of the thread. Please spread the news.
[Galaxy S II I9100G Android Development] Sivabalan:
ICS for GT-I9100G in india is available now!!!

http://xdaforums.com/showthread.php?t=1679210
[Galaxy S II Q&A, Help & Troubleshooting] smbh9099:
new I9100G china rom I9100GZCLC1

password:www.52samsung.com

I9100GZCLC1.7z

http://115.com/file/ansahugh#
[Galaxy S II Q&A, Help & Troubleshooting] ahmedadam:
what version rom?
[Galaxy S II Q&A, Help & Troubleshooting] manishdev:
If u wuld list the features and mod u applied it wuld be better for me to chk d buggs
[Galaxy S II Q&A, Help & Troubleshooting] ahmedadam:
2.3.6 ؟؟؟؟؟؟
[Galaxy S II Q&A, Help & Troubleshooting] Przekret:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GINGERBREAD
ro.build.display.id=GINGERBREAD.ZCLC1
ro.build.version.incremental=ZCLC1
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.6
ro.build.date=Wed Feb 29 17:56:41 KST 2012
ro.build.date.utc=1330505801
ro.build.type=user
ro.build.user=se.infra
ro.build.host=SEP-51
ro.build.tags=release-keys
ro.product.model=GT-I9100G
ro.product.brand=samsung
ro.product.name=GT-I9100G
ro.product.device=GT-I9100G
ro.product.board=omap4sdp
ro.product.cpu.abi=armeabi-v7a
# Samsung Specific Properties
ro.build.PDA=I9100GZCLC1
ro.build.hidden_ver=I9100GZCLC1
ro.build.changelist=1000900
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=zh
ro.product.locale.region=CN
ro.wifi.channels=
ro.board.platform=omap4
# ro.build.product is obsolete; use ro.product.device
ro.build.product=GT-I9100G
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I9100G-user 2.3.6 GINGERBREAD ZCLC1 release-keys
ro.build.fingerprint=samsung/GT-I9100G/GT-I9100G:2.3.6/GINGERBREAD/ZCLC1:user/release-keys
# Samsung Specific Properties
ro.build.PDA=I9100GZCLC1
ro.build.hidden_ver=I9100GZCLC1
ro.build.changelist=1000900
ro.tether.denied=false
ro.flash.resolution=1080
# end build properties

Download:

https://hotfile.com/dl/149635103/972042b/GT-I9100G_CHN_I9100GZCLC1_I9100GOZHLC1_I9100GZCLC1.zip.html
[Galaxy S II Q&A, Help & Troubleshooting] _AnAkIn_:
Has anyone noticed any differences with LA1 or LB1?
[Galaxy S II Q&A, Help & Troubleshooting] nic.stl:
Delete please ...