Related
Hi Guys,
I'm following this tutorial -->http://www.freeyourandroid.com/guide/compile-ics
but i don't understand this passage
OPTIONAL - Adding other devices to the list to build for
Note, this will take a lot of research; research I sadly don't have time to do for you. After writing this guide, I found another similar one on XDA so this part is taken from his guide, almost word for word (modified to fit our above steps) Thanks to dastin1015 for this section:
1) Find the github for your device you wish to add. (For me it is the HTC Hero CDMA)
2) Now navigate to the location you are going clone the device tree to:
cd ICS_SOURCE/device
mkdir htc
3) Clone the github device tree from remote to local: (The heroc would be whatever you want that folder to be named so make sure it is whatever standard name would be for your device, example: Nexus One [Passion], Nexus S [Crespo], Motorola Droid [Sholes], HTC Incredible [Inc], etc.)
git clone git://github.com/TeamICS/android_device_htc_heroc.git heroc
Click to expand...
Click to collapse
Can you help me please?
anyone will help you in this case...yours is a really simple question, and compile ICS from sources is not so easy. andy gave up working on it because of important bugs.
(te lo dico in italiano che facciamo prima: lascia perdere, è meglio)
translation: @raffy97, stop working on ics please if you don't know what you are doing
matteof93 said:
anyone will help you in this case...yours is a really simple question, and compile ICS from sources is not so easy. andy gave up working on it because of important bugs.
(te lo dico in italiano che facciamo prima: lascia perdere, è meglio)
translation: @raffy97, stop working on ics please if you don't know what you are doing
Click to expand...
Click to collapse
If he stops now, how will he learn anything? raffy as far as I know, the device specific parts are available in various git repo's, you could possibly use mik's repo or even the repo for the new CM 7.2 rom. Don't stop trying because you dont know how, just keep looking, thats how you learn. If I stopped because someone suggested it, I wouldnt be working as a desktop software developer today. If you dont get it to run on the P500, at least you gained valuable knowledge and experience no one can take away from you. You could possible even use the #void tutorial to get you started with a normal build before getting ics compiled
Good luck!!
Thanks a lot!
But i don't understand where look for the code....
Inviato dal mio LG-P500 usando Tapatalk
I wrote my previous post because i know the kind of project that raffy is developing....and i have already told him my opinion about it on androidworld.it
Inviato dal mio u8800pro usando Tapatalk
Raffy 97 said:
Thanks a lot!
But i don't understand where look for the code....
Inviato dal mio LG-P500 usando Tapatalk
Click to expand...
Click to collapse
You need to download code from github I think
Sent from my LG-P500 using XDA App
If you want to learn, read the ICS Phoenix thread from Andy.
On his repo you can find patched files to succesfully build ICS, but still a lot of work has to be done!
_Arjen_ said:
If you want to learn, read the ICS Phoenix thread from Andy.
On his repo you can find patched files to succesfully build ICS, but still a lot of work has to be done!
Click to expand...
Click to collapse
Indeed. Only stuff completed in andy's git is bionic,dalvik,vendor and device. I'm using only these but bionic,still CAF.
_Arjen_ said:
If you want to learn, read the ICS Phoenix thread from Andy.
On his repo you can find patched files to succesfully build ICS, but still a lot of work has to be done!
Click to expand...
Click to collapse
Thanks a lot tomorrow i try it.
I need to take https://github.com/andy572/android_vendor_lge_thunderg ?????
Better take all (except patches)
Otherwise you need to do a lot of patches yourself.
In the ICS Phoenix-thread you can find a boot.img with fixed kernel for touchscreen.
From the framework you need to take the master-branch
I don't know if you (the devs that are trying to bring ICS to p500) have read this, but i find it rather educational. Here are the links
http://rootzwiki.com/topic/10447-adreno200-open-source-userspace-driver/
http://androidforums.com/triumph-all-things-root/449772-road-android-ics-4-0-triumph-5.html
I hope that this will help, _Arjen_, bytecode , and especially Andy572, if you haven't read it until now.
Martin4os said:
I don't know if you (the devs that are trying to bring ICS to p500) have read this, but i find it rather educational. Here are the links
http://rootzwiki.com/topic/10447-adreno200-open-source-userspace-driver/
http://androidforums.com/triumph-all-things-root/449772-road-android-ics-4-0-triumph-5.html
I hope that this will help, _Arjen_, bytecode , and especially Andy572, if you haven't read it until now.
Click to expand...
Click to collapse
Thats something quite useful...!!
But,
Andy stopped the development for P500...
i have hopes on _Arjen_, lupohirp, and Bytecode...
hope something turns up...
Andy is still working with us on it
We cannot let him go, otherwise I get into my car and go to Munich
_Arjen_ said:
Andy is still working with us on it
We cannot let him go, otherwise I get into my car and go to Munich
Click to expand...
Click to collapse
Hahaha... lol... thats great..!!
Sent from my LG-P500 using XDA App
I am getting below warnings for several files while compiling ICS from andy's source:
Code:
<command-line>:0:16: warning: extra tokens at end of #undef directive [enabled by default]
Please help..
akshay.s said:
I am getting below warnings for several files while compiling ICS from andy's source:
Code:
<command-line>:0:16: warning: extra tokens at end of #undef directive [enabled by default]
Please help..
Click to expand...
Click to collapse
These are warnings only,FORTIFY_SOURCE does that too,you can remove it for avoiding errors. There's a patch in my GitHub if you want (it's GB but works anyway).
Bytecode said:
These are warnings only,FORTIFY_SOURCE does that too,you can remove it for avoiding errors. There's a patch in my GitHub if you want (it's GB but works anyway).
Click to expand...
Click to collapse
There are many files from framework_base, also from dalvik and packages (if i remember right).
do i need to comment those lines from all those files which r generating warnings.
Btw if i not wrong, all the warnings are considered as errors.
Bump!!!
also there are few warnings about sun java propriety classes like the one below
Code:
warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release import sun.misc.BASE64Encoder;
also there are other classes also which throws this **** warning.
pls help guys...
no need to help: why care about **** warnings?
Sorry guys i'm here
5) Connect phone to computer and make sure USB debugging is enabled and you have adb set up.
6) Extract Device Proprietary Files:
./extract-files.sh
Click to expand...
Click to collapse
i've connect the phone to the pc and the debug is on and the USB storage too...
but when i write ./extract-files.sh the terminal write: "file or directory don't exist"
What i've to do?
Hello, i wanna compiling C code to android binary file, as deamon_virtuos_oc, but i havn't find some infromation for this, in my folder i had Android.mk and virtuos_oc.c and how make virtouos_oc file from it?
Sorry, i'm noob in this...
noonamer said:
Hello, i wanna compiling C code to android binary file, as deamon_virtuos_oc, but i havn't find some infromation for this, in my folder i had Android.mk and virtuos_oc.c and how make virtouos_oc file from it?
Sorry, i'm noob in this...
Click to expand...
Click to collapse
You need to compile against the android toolchain. Ill post more information when I get home.
Sent from my SGH-I777 using xda premium
lithid-cm said:
You need to compile against the android toolchain. Ill post more information when I get home.
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
i try "make virtuous_oc" and i have this error
Code:
virtuous_oc.c -o
virtuous_oc
virtuous_oc.c:25:28: error: cutils/sockets.h: not found
Thread Close: i try using Crystax NDK that's all
Hi all! I'm trying to compile the CM9 for optimus one but I don't understand how to do it! I have already compiled the CM7 and there are successful but don't know where to put files and give commands with the sources of CM9! Can someone give me a hand?
What have you done/tried already?
I compiled the CM7 but I don't know how build the CM9! I don't know who commands give and where to put files
Can you help me?
Lupohirp has already started.to port cm9 to p500 there r still some bugs but it's getting there
Sent from my LG-P500 using xda premium
First sync cm9-source, instead of gingerbread you use ics.
Download device and vendorfiles from github.com/lupohirp.
Create following folders in device: lge and lge/thunderg (in time it will be p500 instead of thunderg)
Also download framework_base from his github and replace all files folder in framework/base in your working folder.
_Arjen_ said:
First sync cm9-source, instead of gingerbread you use ics.
Download device and vendorfiles from github.com/lupohirp.
Create following folders in device: lge and lge/thunderg (in time it will be p500 instead of thunderg)
Also download framework_base from his github and replace all files folder in framework/base in your working folder.
Click to expand...
Click to collapse
done!! And now?
markolino631 said:
done!! And now?
Click to expand...
Click to collapse
Now, Use your Brains.
ahhaah i have an error in the file AudioTrack.cpp when compile cm9! this is a error:
frameworks/base/media/libmedia/AudioTrack.cpp: In member function 'android::status_t android::AudioTrack::restoreTrack_l(android::audio_track_cblk_t*&, bool)':
frameworks/base/media/libmedia/AudioTrack.cpp:1206: error: 'clearAudioConfigCache' is not a member of 'android::AudioSystem'
make: *** [out/target/product/p990/obj/SHARED_LIBRARIES/libmedia_intermediates/AudioTrack.o] Errore 1
make: *** Attesa per i processi non terminati....
how to fix it?
how to fix this error? http://pastebin.com/m3D1vZQs
OMG, if you dont know how to solve compiler errors learn coding/bug fixing instead
of ask again and again for every **** error on a forum. Do you realy think someone want
to help you to learn programming??? i think no one will do so.
Compiling a rom from source code is not the right toy for bloody beginners, sorry if it
sounds to hard but this is the real life.
andy572 said:
OMG, if you dont know how to solve compiler errors learn coding/bug fixing instead
of ask again and again for every **** error on a forum. Do you realy think someone want
to help you to learn programming??? i think no one will do so.
Compiling a rom from source code is not the right toy for bloody beginners, sorry if it
sounds to hard but this is the real life.
Click to expand...
Click to collapse
bro just let him wait for the reply from someone and learn it the hard way...
why waste ur time????
maybe someone will help him but who knows...
look what I just asked one thing I did not ask that someone help me to solve the bugs! I just want to compile the rom! isn't that just because you are good you have the right to judge others.
markolino631 said:
look what I just asked one thing I did not ask that someone help me to solve the bugs! I just want to compile the rom! isn't that just because you are good you have the right to judge others.
Click to expand...
Click to collapse
i doesnt said a thing about the one is a bad programmer / another is better. i only
said that its sometimes better to learn things before get started with big projects
that can waste a lot of time. do what you want - its your time, not mine
so I have time to lose! However I managed to compile the cm7 for another phone! I'm having problems with only the cm9 and can't solve it!
Before you try to compile CM9, read Cyanogen's words of wisdom
perseus0807 said:
Before you try to compile CM9, read Cyanogen's words of wisdom
Click to expand...
Click to collapse
thats sooo true.
I read what is written and I understand that to compile the rom you need to develop but still do not know (I have only 15 years old)! However, I still try and just wondering if anyone can help me understand!
I can read code, but I can't code. Let me try to point you in a good direction, it has to do with the audio system.
Sent from my LG-VM670 using xda premium
i want to compile only god mod.apk from omfgb source. But i don't know how to compile only apk from source. also i want to compile some other apps from source but i really don't know how. Plz someone help me plz plz
Look at the apps manifest.
Ex.
Settings.apk
make -j$(grep -c ^processor /proc/cpuinfo) Settings
Sent from my Nexus S 4G using xda premium
E.g.
If you wanna compile framework-res.apk
Code:
$ make framework-res
Herpderp Defy.
lithid-cm said:
Look at the apps manifest.
Ex.
Settings.apk
make -j$(grep -c ^processor /proc/cpuinfo) Settings
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
thanks i have full omfgb source but wheni compile rom god mod never compile in zip so i asked. thnks
hesoyam27 said:
thanks i have full omfgb source but wheni compile rom god mod never compile in zip so i asked. thnks
Click to expand...
Click to collapse
i think now you need to add [solved] tag i'm not sure but i see on other posts
fatal: Couldn't find remote ref refs/heads/cm-10.2 Dose any dev know why im getting this error when i start "repo sync"
gavster26 said:
fatal: Couldn't find remote ref refs/heads/cm-10.2 Dose any dev know why im getting this error when i start "repo sync"
Click to expand...
Click to collapse
Did you try to sync cm-10.2 sources? Could you show us your manifest.xml and your local_manifest.xml?
If I were you I would try to do the repo init again and try syncing, maybe there was an error at the first repo init
mihahn said:
Did you try to sync cm-10.2 sources? Could you show us your manifest.xml and your local_manifest.xml?
If I were you I would try to do the repo init again and try syncing, maybe there was an error at the first repo init
Click to expand...
Click to collapse
i have tried repo init a few times still the same. i can't seam to open the repo folder to get the .xml files. im new to all this. I have just been modifying stock roms and now going to this next stage lol. harder than it looks
gavster26 said:
i have tried repo init a few times still the same. i can't seam to open the repo folder to get the .xml files. im new to all this. I have just been modifying stock roms and now going to this next stage lol. harder than it looks
Click to expand...
Click to collapse
plz give a bit detalied info.. and have u did each and every step correct cause it never happend to me
gavster26 said:
i have tried repo init a few times still the same. i can't seam to open the repo folder to get the .xml files. im new to all this. I have just been modifying stock roms and now going to this next stage lol. harder than it looks
Click to expand...
Click to collapse
That's no problem of course, we all had to start from a little knowledge and we've been learning much
You should check this tutorial for a full guide, but maybe you won't get a 100% working compilation because when cyanogenmod implements new functions in cm, there can be some errors while compiling you have to fix
mihahn said:
That's no problem of course, we all had to start from a little knowledge and we've been learning much
You should check this tutorial for a full guide, but maybe you won't get a 100% working compilation because when cyanogenmod implements new functions in cm, there can be some errors while compiling you have to fix
Click to expand...
Click to collapse
Ok my friend i will check it out thank you for your time
@mihahn will following that tutorial be ok for xperia j. I should have said which device i was trying to build for.
@mihahn will following that tutorial be ok for xperia j. I should have said which device i was trying to build for.