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?
Related
Hey guys
First of all: I'm not good in develop! But i want to start with CM porting to our Gen8
I just get some infos from chulri how to port CM.
What have to be do:
Build-Scripts for CM on Gen8
Extract some Gen8 Binaries
Build the Kernel with Touchscreen Drivers
Build-Scripts for CM on Gen8
I started a Thread at the CM Forum about this I'll report here..
( http://forum.cyanogenmod.com/topic/24048-cm-port-to-archos-gen8/ )
Extract some Gen8 Binaries
I hope chulri will answere me soon so i can do this
Build the Kernel with Touchscreen Drivers
This have to be done from a guy who has Kernel Knowledge! Anyone?
If anyone's interested i could send a link with an how to, i've found onthe web
Everybody is invited to help to getting this Project started!
Greetz,
Lenn
I'm not a great porter, but I've shadowed a lot of porting with the cm roms, I'll try to do my part if you host the project on something like github(both kernel and rom). I also have a little bit of kernel development experience.
Scaryghoul said:
I'm not a great porter, but I've shadowed a lot of porting with the cm roms, I'll try to do my part if you host the project on something like github(both kernel and rom). I also have a little bit of kernel development experience.
Click to expand...
Click to collapse
Thats good You know more than me
I just could host the normal kernel and rom, because i've do nothing yet
(When chulri answered me i'll catch the original binaries, you can read this here: http://forum.xda-developers.com/showthread.php?t=1029507&page=3 )
You think you could the first step i described?
That would be assome
thank you for start the ball rolling!
Lennb said:
Thats good You know more than me
I just could host the normal kernel and rom, because i've do nothing yet
(When chulri answered me i'll catch the original binaries, you can read this here: http://forum.xda-developers.com/showthread.php?t=1029507&page=3 )
You think you could the first step i described?
That would be assome
thank you for start the ball rolling!
Click to expand...
Click to collapse
Not sure what you mean, you want me to explain how to extract the original binaries?
If you need a tester i'm your man ^^
(and if i can be of help with anything else learn me and i'll try ^^)
link should be this?
http://forum.cyanogenmod.com/topic/19647-archos-gen8/page__view__findpost__p__196966
Scaryghoul said:
Not sure what you mean, you want me to explain how to extract the original binaries?
Click to expand...
Click to collapse
First of all, Thanks for a help appear!!
I think he mean the step of porting CM7 to gen8 is:
1.Build-Scripts for CM on Gen8
2.Extract some Gen8 Binaries
3.Build the Kernel with Touchscreen Drivers
so, step 1 should be "1.Build-Scripts for CM on Gen8"..
Scaryghoul said:
Not sure what you mean, you want me to explain how to extract the original binaries?
Click to expand...
Click to collapse
I dont know, when chulri respone me i'll report it here
@eagleofdeath13
Thanks for support! Maybe you could search someone with Kernel knowledge who could do the first step, i think this is hard
@LeoNg628
Yep,sorry about that, thank you for correcting me
Thank goes to all you guys!
LeoNg628 said:
First of all, Thanks for a help appear!!
I think he mean the step of porting CM7 to gen8 is:
1.Build-Scripts for CM on Gen8
2.Extract some Gen8 Binaries
3.Build the Kernel with Touchscreen Drivers
so, step 1 should be "1.Build-Scripts for CM on Gen8"..
Click to expand...
Click to collapse
Yep,you're right
But i think its the hardest step and i've kernel knowledge,
We have to find someone with Kernel Knowledge who could do this
(Except chulri, i always ask him, but he has to much work right now..)
Oh, well I've never really created a build script before but there are plenty of guides instructing on how to do so.
Extracting the binaries usually consists of adb pulling all of the binaries required for the complication that are proprietary/closed source. I suppose you could just copy/paste them to your sdcard then copy to a computer if adb weren't around but that's just extra work.
As to which binaries we need, I'm not sure yet but we can cross that bridge in a bit.
To make the build script, we should probably analyze other build scripts for other devices and the directories for them.
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Also for whoever attempts to get a functional kernel for cm7 this page may be useful(or possibly me just making sure I read this later)
http://wiki.cyanogenmod.com/index.php?title=Howto:_Build_a_Kernel_Port
Scaryghoul said:
Oh, well I've never really created a build script before but there are plenty of guides instructing on how to do so.
Extracting the binaries usually consists of adb pulling all of the binaries required for the complication that are proprietary/closed source. I suppose you could just copy/paste them to your sdcard then copy to a computer if adb weren't around but that's just extra work.
As to which binaries we need, I'm not sure yet but we can cross that bridge in a bit.
To make the build script, we should probably analyze other build scripts for other devices and the directories for them.
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Also for whoever attempts to get a functional kernel for cm7 this page may be useful(or possibly me just making sure I read this later)
http://wiki.cyanogenmod.com/index.php?title=Howto:_Build_a_Kernel_Port
Click to expand...
Click to collapse
Thank you!
Okey, you really knows a lot more than i am
I'll do the binaries, just say me where they are?^^
Maybe you could try the Build script(s)...
And for the Touchscreen Driver:
We've to look for somebody who do the instructions i've found on the net
Scaryghoul said:
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Click to expand...
Click to collapse
Okey, i know this Thread, its great except the fact it don't support Archos ^^
I'll send a message at these guys about archos devices and parallels about our gen8 devices ad supported devices, so we could create our own script to do it from scratch like they've do
But i now i go to bed^^
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
chulri said:
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
Click to expand...
Click to collapse
I have Desire and Desire HD also Aria and Legend....but all is HTC...the hardware spec is not similar to Archos gen8....
chulri said:
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
Click to expand...
Click to collapse
Okey,thank you
there is no device similar to our archos that is supported
But is it possible to "mix" it?
Like:
Cpu - from a phone that has Arm Cortex A8
[...]
we put together all parts
woukd that be possible?
Yes, CPU might be the most important common part, then WiFi/BT, DSP (for hardware acceleration of videos), Sound, Touchscreen and in the end USB host port.
Lennb said:
Okey, i understand thank you very much, chulri!
I've searched but i dont found anything about writing build scripts on android...
Click to expand...
Click to collapse
I haven't found anything too, but I did some research in the beginning of this year: http://wiki.cyanogenmod.com/index.p...nMod_for_Sholes#Prepare_the_Build_Environment
After installing the repository on the build machine, you have all the build scripts from other devices and can copy and adapt them.
Lennb said:
Okey, then we'll do this step (binaries) in the end, i think the best would be to write the build scripts first? What do you mean?
Click to expand...
Click to collapse
Agreed
Lennb said:
i think we should write now on the developement thread, then the other guys could read it
Click to expand...
Click to collapse
Agreed too
chulri said:
Yes, CPU might be the most important common part, then WiFi/BT, DSP (for hardware acceleration of videos), Sound, Touchscreen and in the end USB host port.
Click to expand...
Click to collapse
Okey, but how do we get these firmwares out of the archos firmware?
http://wiki.cyanogenmod.com/index.p...nMod_for_Sholes#Prepare_the_Build_Environment
After installing the repository on the build machine, you have all the build scripts from other devices and can copy and adappt them.
Click to expand...
Click to collapse
Okey, i just have a windows pc, but i think i put linux on it
Ubuntu is the best for developening, isn't it?
I have to talk to my brother (with-owner of the pc)
I'll put a dual-boot system on my pc
I want Cyanogen!
Lennb said:
Okey, but how do we get these firmwares out of the archos firmware?
Click to expand...
Click to collapse
a) adb pull (this is what the "extract_files.sh" does)
b) root the device and copy files one by one
c) root the device, copy the filesystem image and extract the files by script
Lennb said:
Okey, i just have a windows pc, but i think i put linux on it
Ubuntu is the best for developening, isn't it?
I have to talk to my brother (with-owner of the pc)
I'll put a dual-boot system on my pc
Click to expand...
Click to collapse
So you start developing? If not, no need for linux at all
Lennb said:
I want Cyanogen!
Click to expand...
Click to collapse
4 days ago you wanted UrukDroid, 3 day ago you wantet Honeycomb, now you want CM, will you stay this time?
chulri said:
a) adb pull (this is what the "extract_files.sh" does)
b) root the device and copy files one by one
c) root the device, copy the filesystem image and extract the files by script
Click to expand...
Click to collapse
Sorry, im a noob I just don´t understand.
Adb pull is copy files over adb(command connection over usb); right?
So you start developing? If not, no need for linux at all
Click to expand...
Click to collapse
I try I reset my Pc anyway
4 days ago you wanted UrukDroid, 3 day ago you wantet Honeycomb, now you want CM, will you stay this time?
Click to expand...
Click to collapse
Same answer as in 2
from what i understand 2.2, 2.3 doesnt support usb hosting which is needed for the archos screen
is there a fix for that?
i know android 3.0, 3.1 support usb hosting...
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
Please...
Maybe we can do some little workshop for absolute beginners...
Builds take up to 4h now
Click to expand...
Click to collapse
After I have read this...
Can someone please post more about creation/compile time?
How to increase Speed of compile?
Only PC Hardware?
Compiler?
Linux or Win as OS for Compiler?
Thanx in advance.
Best Regards
I think that how faster the CPU how faster it builds, and I think that more ram also decrease build time? in combo with CPU
and your internet download speed, you must download files
There are hundreds of tutorials howto compile kernel/platform around on XDA. Really it's just matter of using Search.
Building up kernel can take around 5min~2h, building platform can take around 30min~8hours. Everything depends on amount of RAM and CPU cores u got, I'm building up kernel in around 10minutes and platform in about 1h 30mins, got some laptop intel i7 + 4GB RAM. There's way to speedup platform compilation using CCACHE, but it costs alot of disk space.
Compiling is impossible under Windows, even with Cygwin it would be hard to achieve. I'd recommend Ubuntu 10 or 11 (rather avoid 12). Mac will do too.
Compiling is impossible under Windows...
Click to expand...
Click to collapse
Maybe if I have time... this year... I will try to boot somewhere Linux...
Forgotten... maybe last time Suse loooong time ago installed...
Maybe 4 or 5 years ago...
I am Win Fanboy...
Really it's just matter of using Search.
Click to expand...
Click to collapse
I have not sooo much time for research by my self...
So I thought if we have soo many users in wait status...
They could translate for me in easy words...
Anyway... why not make Workshop for S8500 ...
If for each Android handset many Tutorails exists...
Then easier copy and paste and replace I9000 by S8500 if mandatory...
Not our main Devs...
I mean our enthusiastic waiters...
We have more then 10 users in this Android section... I hope...
Best Regards
I'd recommend Ubuntu 10 or 11 (rather avoid 12). Mac will do too.
Click to expand...
Click to collapse
http://www.ubuntu.com/download
Lesson 1...
Download Ubuntu...
Where to find recomended Version 10 or 11
Thanx in advance.
Best Regards
Why not Ubuntu 12.04 ?
Is there any problem with it ?
@adfree
Here you cand download any version you want
http://releases.ubuntu.com/
Sorry, you are limited to 8 thanks per day
Click to expand...
Click to collapse
Thanx cyber kamikaz
Maybe we could collect all Links to need files/Compiler etc...
Thanx in advance.
Best Regards
adfree said:
Maybe we could collect all Links to need files/Compiler etc...
Click to expand...
Click to collapse
There is a small tutorial made by Mike to install all the applications you need and to compile the sources from his repository
http://polishblood.pl/?page_id=9
I'm not sure if it's also for wave.
yakub234go said:
Why not Ubuntu 12.04 ?
Is there any problem with it ?
Click to expand...
Click to collapse
Many people, including me are experiencing various issues in Ub 12. These are usually fixable simple way but always... it's annyoing.
I would recommend you to use Ubuntu 11.
And download Code Sourcery 2009 which is mandatory for this badadroid project.
And here is a pretty good guide for you,
Link: http://forum.xda-developers.com/showthread.php?t=1186409
That tutorial includes the guide to install Ubuntu also.
If you get stuck anywhere post here or just PM me, i will try to do my best
A note on CodeSourcery2009 - it also isn't fully compatibile with our sourcetree and may fail during compiling WLAN drivers. I switched to AOSP toolchain lately and it works like charm. HOWTO there
http://source.android.com/source/building-kernels.html
New year, new attempt...
Maybe someone else is now able to compile own zImage and can give step by step instructions for noobs... like me.
Screenshots allowed.
Also hints how to download sources are welcome. :angel:
Also links etc... feel free to write most usefull hints.
Thanx in advance.
Best Regards
adfree said:
New year, new attempt...
Maybe someone else is now able to compile own zImage and can give step by step instructions for noobs... like me.
Screenshots allowed.
Also hints how to download sources are welcome. :angel:
Also links etc... feel free to write most usefull hints.
Thanx in advance.
Best Regards
Click to expand...
Click to collapse
I think that you are asking too much and maybe it is time to make the guide yourself . For some devices you can find this kind of "spoon fed" guide, but for most devices you have to figure out how to do most of this your self. The spoon feeding guides can be really helpful depending on how close they are to your own device, but you will actually have to search for them. Another great place to start is xda-university. It took me a few minutes to find this: http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source Perhaps this is would be a good place to start....
Need 64bits Linux
Maybe this would help http://source.android.com/source/building.html
adfree said:
New year, new attempt...
Maybe someone else is now able to compile own zImage and can give step by step instructions for noobs... like me.
Screenshots allowed.
Also hints how to download sources are welcome. :angel:
Also links etc... feel free to write most usefull hints.
Thanx in advance.
Best Regards
Click to expand...
Click to collapse
I can make such a TUT & will make one once i got free time
Best Regards
1 "problem" fixed...
"Working" with GitHub files...
If you follow 1 post in this Thread...
http://forum.xda-developers.com/showthread.php?t=1851818
FAQ IS RIGHT HERE, CLICK AND READ BEFORE POSTING
Click to expand...
Click to collapse
Clickclick... then you are here:
http://code.google.com/p/badadroid/wiki/FrequentlyAskedQuestions
Left site... Project Repositories Updated May 2, 2013
http://code.google.com/p/badadroid/wiki/ProjectRepositories
For instance Kernel... aka zImage...
Kernel GIT repository
https://github.com/Rebell/android_kernel_samsung_wave/
I swear I have not ever seen this ZIP Icon... maybe drunken or drugs or blind or braindead or all things together.
I thought only for registered users... but no Account needed to Download all files with 1 click.
My downloaded file android_kernel_samsung_wave-jellybean.zip is 124 MB big...
Later I will check how big is Platform repository...
Best Regards
http://forum.xda-developers.com/showthread.php?t=2276481
:good:
Thanx mylove90
Thanx Tigrouzen
I need more time for my Linux test PC... because 64 bit seems mandatory...
Meanwhile after I saw this today...
If you look into about phone you will notice that compile date is 8 May
Since that time i was trying several stuff like adding SmartassV2 governor but now my sources are corrupted !
I was trying to commit the changes on my repo but it didn't appear :S
Click to expand...
Click to collapse
Again few stupid questions...
Backup/Safety related...
1.
If 10 GB uncompressed is downloaded...
Someone tried to compress/Zip source ?
Maybe as ZIP archive less then 1 GB...
Then maybe not the latest Version, but better then downloading 10 GB ever and ever again...
2.
How to achieve Full Download of 10 GB as Windows Fanboy?
First success with 120 MB Zip was here:
http://forum.xda-developers.com/showpost.php?p=41350507&postcount=18
Is here 1 Button for Windows user...
Thanx in advance.
Best Regards
Adfree
You can download the sources but you have to understand how local_manifest.xml does it
But why to bother doing that while you can't compile on windows ?!
The sources downloaded are compressed already....just try to follow the TUT and you will find out that there is .repo folder with compressed sources downloaded
I guess i am just too noobish to Linux and don't understand how to fix my sources yet
Currently my main issue is time :S....I've to study to pass this year :S
Maybe other experts right here can help us
Best Regards
Hi..im a quite fresh android user after having iphone for the last 4 years....i have a huawei ideos x5 pro that for me at least is a great phone for his price..but the major problem is that we don't have devs for our phone...only one chinese guy that develops roms for at least 7 phones so we aren't his major concern...so im asking if there is a complete noob guide for compiling rom..fixing rom.
i have to tell you and please don't flame that even that i have knowlage over pc's i haven't any knowlage over programming and coding!!so if any guide can't help me it will be ok...i try! but if there is a guide that can help me step by step to understand the basics and then with a bit of research can figure it out the rest it will be helpful!!
Thanks!!
Sorry for my english!
http://lmgtfy.com/?q=make+android+custom+ROM
thewadegeek said:
http://lmgtfy.com/?q=make+android+custom+ROM
Click to expand...
Click to collapse
Yeah i know that...im asking for a user's entirely noob guide...1st time user guide...google is full with guides but not so novice guides!!
There isn't a "type this, click this, A,B,C" guide. That would be called just copying somebody's work. What you need to do is start reading through ALL the guides you can find, compile a kernel, read smali, change colors, mod pictures, unpack-repack boot.imgs. I can't give you a link and say "Read this tutorial and you will be a developer", that's just not how it works.
thewadegeek said:
There isn't a "type this, click this, A,B,C" guide. That would be called just copying somebody's work. What you need to do is start reading through ALL the guides you can find, compile a kernel, read smali, change colors, mod pictures, unpack-repack boot.imgs. I can't give you a link and say "Read this tutorial and you will be a developer", that's just not how it works.
Click to expand...
Click to collapse
ill give it a try thanks!!!
After reading a lot of guides...i can say that i didnt find anything so hard but i haven't try it so far so i can say for sure...but i stuck in one thing...somewhere on all the guides it sais to find your device tree...and many guides that are from samsung or htc using some github and some cyanogen brances...i have an huawei ideos x5 pro...where i will find those trees?do i need them for making the android source work with my device or the source from google is universal meaning that when im build the rom from sources.android.com the rom will work in my device??
pikachukaki said:
After reading a lot of guides...i can say that i didnt find anything so hard but i haven't try it so far so i can say for sure...but i stuck in one thing...somewhere on all the guides it sais to find your device tree...and many guides that are from samsung or htc using some github and some cyanogen brances...i have an huawei ideos x5 pro...where i will find those trees?do i need them for making the android source work with my device or the source from google is universal meaning that when im build the rom from sources.android.com the rom will work in my device??
Click to expand...
Click to collapse
You must have a device tree... If not you have to build your own... The rom built from source.android.com will only work with google nexus devices...
adiles said:
You must have a device tree... If not you have to build your own... The rom built from source.android.com will only work with google nexus devices...
Click to expand...
Click to collapse
So my hands is tied...nice!!there is no way that i can make a tree i don't have so much knowlage!! :/ too bad!!
pikachukaki said:
So my hands is tied...nice!!there is no way that i can make a tree i don't have so much knowlage!! :/ too bad!!
Click to expand...
Click to collapse
look for a device with similar hardware and copy that device tree, then try to make adjustments to get it working and voila. and ask that one dev if he can give you his device tree
I have read all things in xda about my u8800, and xda helps me know about root, install cwm, uprom..etc. thank all of you, thank xda
-Sent from my u8800-
Me Too!
lemonade747 said:
I have read all things in xda about my u8800, and xda helps me know about root, install cwm, uprom..etc. thank all of you, thank xda
Click to expand...
Click to collapse
I'm actually reading everything about my new device, Sony Neo L. This is pretty amazing! XDA rocks!
CrisisCorE said:
look for a device with similar hardware and copy that device tree, then try to make adjustments to get it working and voila. and ask that one dev if he can give you his device tree
Click to expand...
Click to collapse
Hardware we need the same cpu gpu or everything?sensors bt wifi etc?
Sent from my U8800PRO using xda premium
How can i get source code for Vision, since huawei doesnt let you download it?
Sent from my Vision
if u r good at linux, u can try this guide >>> http://handycodeworks.com/wp-content/uploads/2011/02/linux_versus_android.pdf
I compile linux kernels for desktop, but the android kernel is not the same. Cyanogen team and GOOGLE Android developers provides a comprehensive guide on building ur own ROM. But to build ur own OS, u need to understand each component carefully. I don't know abt android, but i am making Linux OS from scratch. I have kernel compiled, tool chain set up, now i am putting apps on it. But android uses DALVIK VM for Java apps, also .... U refer the pdf it will tell u. Once i finish making this OS, i'll focus on Android ROMS. They r similar to Linux OS, but require patches in kernel, a light c lib, new fs, a different vm (dalvik) and different ways of managing i/o interrupts and much more..
this link is on porting android on nokia >> http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Porting-Android-to-a-new-device/
this one is on linux on embedded systems >> http://www.lindusembedded.com/blog/2010/12/07/android-linux-kernel-additions/
Also, sorry to say but learn C/C++/Java . To make ROMS, atleast to make modifications and to understand the kernel u'll need C. Not very hard to learn, Good tuts on Lynda.com and other sites. And be good at Linux. Happy Learning
symantec.com/connect/blogs/linux-kernel-exploit-ported-android
Can anyone patch the 3.0.x sources? there is a module that fix this arighi.blogspot.com.es/2013/05/linux-perfevents-root-exploit-cve-2013.html . When 3.4 sources go out whould need fix also...
Sorry for my poor english.
Salud.
agises said:
symantec.com/connect/blogs/linux-kernel-exploit-ported-android
Can anyone patch the 3.0.x sources? there is a module that fix this arighi.blogspot.com.es/2013/05/linux-perfevents-root-exploit-cve-2013.html . When 3.4 sources go out whould need fix also...
Sorry for my poor english.
Salud.
Click to expand...
Click to collapse
If any dev here have NDK configured (my damn Internet is to slow to download Eclipse C++ extension) and is willing to spare some time on compiling the exploit, here is the code : https://github.com/hiikezoe/break_setresuid
Cheers
wolf849 said:
If any dev here have NDK configured (my damn Internet is to slow to download Eclipse C++ extension) and is willing to spare some time on compiling the exploit, here is the code : https://github.com/hiikezoe/break_setresuid
Cheers
Click to expand...
Click to collapse
no, this is not... it's only the basic exploit....
here is the complete one... (same dev BTW)
https://github.com/hiikezoe/android_run_root_shell
stormtrooper_mx said:
no, this is not... it's only the basic exploit....
here is the complete one... (same dev BTW)
https://github.com/hiikezoe/android_run_root_shell
Click to expand...
Click to collapse
Thanks, you are right. I was so tired yesterday that I misinterpreted the branches.
But I am afraid that it will need some basic modification, as it seem to be written for Xperia.
wolf849 said:
Thanks, you are right. I was so tired yesterday that I misinterpreted the branches.
But I am afraid that it will need some basic modification, as it seem to be written for Xperia.
Click to expand...
Click to collapse
as far as i have seen, it has some addresses for some phones, but, if the phone doesn't match those, it tries to autodetect the correct address for perf_events proc.
i tried to compile it, but i get some errors that i can't fix..... yet.... (i'm not a prof dev)
if someone can help, please do it... i want root on my unrootable phone: NEC MEDIAS 101T, android 2.3.5 (with perf_events enabled) kernel 2.6.35.7-perf
error at building the code
wolf849 said:
Thanks, you are right. I was so tired yesterday that I misinterpreted the branches.
But I am afraid that it will need some basic modification, as it seem to be written for Xperia.
Click to expand...
Click to collapse
Hi,
I wanted to test this exploit on my Xperia phone.
I went through the whole progress, but now when I wanted to 'ndk-build' the file, I got an error and have no clue what I did wrong.
Here's what I did:
Code:
[B]/android_run_root_shell#[/B] ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk
make: /home/<username>/build/core/build-local.mk: No such file or directory
make: *** No rule to make target `/home/<username>/build/core/build-local.mk'. Stop.
<username> is my username on the computer ofcourse . I run with privileged rights (root).
Any idea how to fix this? I have no dev skills AT ALL, so I just follow tutorial if I want to try something.
thanx in advance!