Hi,
Is the above possible? I found some guides for CYM but none for our phone...
any advice would be highly appreciated
10x
Alon
They aren't finished building cm for our phones yet... They are working on it though. Add for
an emulator, I asked that question a long time ago and I was told since there are so many Android devices and each one is different it would be useless for the manufacturer to build an emulator... The only way we could have one for our phone is to build it ourselves... Which would required a butt load of time and knowledge of many different things like Java, Linux, kernel building, scripting, etc...
Sent from my SGH-T959V using XDA App
thomas.raines said:
They aren't finished building cm for our phones yet... They are working on it though. Add for
an emulator, I asked that question a long time ago and I was told since there are so many Android devices and each one is different it would be useless for the manufacturer to build an emulator... The only way we could have one for our phone is to build it ourselves... Which would required a butt load of time and knowledge of many different things like Java, Linux, kernel building, scripting, etc...
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
so currently there is no way we can test our ROMs on emulator?
alon2 said:
so currently there is no way we can test our ROMs on emulator?
Click to expand...
Click to collapse
Well you can try to build the samsung sources against the aosp source code. The AOSP source code comes with the android emulator pre-compiled so you can test out your roms.
FBis251 said:
Well you can try to build the samsung sources against the aosp source code. The AOSP source code comes with the android emulator pre-compiled so you can test out your roms.
Click to expand...
Click to collapse
can you please elaborate on this one?I'm not sure I followed
alon2 said:
can you please elaborate on this one?I'm not sure I followed
Click to expand...
Click to collapse
http://source.android.com/source/building.html
FBis251 said:
http://source.android.com/source/building.html
Click to expand...
Click to collapse
OK...I'll see what I can understand from that
10x
Related
Greeting guys,
The guys at Milestone & Droid's forum had successfully ported CM7 to their phone. Due to the locked bootloader and no official froyo update, the lease we can do is porting CM6 to our phone.
Due to my limited experience on rom cooking, i would like to seek guide and help from the experts. thank you.
Build from source: http://android.doshaska.net/cm6build
http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Sholes
Wiki page: https://www.droid-developers.org/
I saw a video of it in youtube for the milestone. This would be cool if someone could make this work for our phone and it would be stable. I like the time and effort that is put into these froyo builds, but they are not stable like eclair.
Brian5475E said:
I saw a video of it in youtube for the milestone. This would be cool if someone could make this work for our phone and it would be stable. I like the time and effort that is put into these froyo builds, but they are not stable like eclair.
Click to expand...
Click to collapse
Dexter 1.3 vanilla and Dexter 1.3 with bugfix v2 and 3 is rock solid here, so dunno what you're talking about.
IMHO, If you just want a stable ROM,we should give our devs some time so they can iron out the issues-in-hand. They're not working with team as CM guys, so please be patient.
But on the other hand, you're a great big fan of CM and currently stuck with XT which can't get CM out of the box, you may try.
spiderx_mm said:
IMHO, If you just want a stable ROM,we should give our devs some time so they can iron out the issues-in-hand. They're not working with team as CM guys, so please be patient.
But on the other hand, you're a great big fan of CM and currently stuck with XT which can't get CM out of the box, you may try.
Click to expand...
Click to collapse
Getting an unofficial CM on XT720 is my ultimate goal, but I don't know how to do it yet. I'm learning about Android by fixing bugs/tweaking Dexter's ROM.
I pulled the CM6 sources and tried to build and follow the instructions on nadlabak's website. It seems like CM6 hasn't been built in a while so there are some bit-rot problems. For example it can't pull down the rom-manager stuff. I don't know if we need that or not. We don't (yet?) have rom-manager for XT720. Then there's the issue of the proprietary files. The proprietary files that need to be saved for Milestone (nadlabak's extract-files.sh script) doesn't match the files on XT720. So we'll have to work that out as well.
Mioze7Ae said:
Getting an unofficial CM on XT720 is my ultimate goal, but I don't know how to do it yet. I'm learning about Android by fixing bugs/tweaking Dexter's ROM.
I pulled the CM6 sources and tried to build and follow the instructions on nadlabak's website. It seems like CM6 hasn't been built in a while so there are some bit-rot problems. For example it can't pull down the rom-manager stuff. I don't know if we need that or not. We don't (yet?) have rom-manager for XT720. Then there's the issue of the proprietary files. The proprietary files that need to be saved for Milestone (nadlabak's extract-files.sh script) doesn't match the files on XT720. So we'll have to work that out as well.
Click to expand...
Click to collapse
I think they use Androidiani Open recover instead of Rom Manager on Milestone's CM.
I feel that the more people involve on this project the better. Just my thought.
helmi666 said:
I think they use Androidiani Open recover instead of Rom Manager on Milestone's CM.
I feel that the more people involve on this project the better. Just my thought.
Click to expand...
Click to collapse
What I meant was that compiling cm2mm 6 requires the ROM-Manager source code, but the download of that source fails. I think the git just moved, but I haven't tried chasing it down yet.
Mioze7Ae said:
What I meant was that compiling cm2mm 6 requires the ROM-Manager source code, but the download of that source fails. I think the git just moved, but I haven't tried chasing it down yet.
Click to expand...
Click to collapse
Just let me know what you need. I'll try my best to ask around. I really hope more people will join this 'Quest'
helmi666 said:
Just let me know what you need. I'll try my best to ask around. I really hope more people will join this 'Quest'
Click to expand...
Click to collapse
ROM-Manager source code,
Mioze7Ae said:
What I meant was that compiling cm2mm 6 requires the ROM-Manager source code, but the download of that source fails. I think the git just moved, but I haven't tried chasing it down yet.
Click to expand...
Click to collapse
svn checkout http://svn.codespot.com/a/eclipselabs.org/rom-manager/trunk/ rom-manager-read-only
Hey guys lithid here again with another helper script, and how-to. As some of you may know I have recently decided to start building kernels. While I still work on roms, I found kernels to be strange, and sometimes difficult. So instead of taking that knowledge and holding it to myself, I figured I would release it here and hopefully it could open the doors for more people working on kernels.
Basically I created a script, that would do the entire build process for a kernel, it would copy the config you want from arch/arm/configs, assigned the compiler, then compile the kernel. Now after the first time I compiled this I did a copy and paste to Koush's AnyKernel updater, while that was fine and only took a min or two, I found it really annoying to do it everytime, specially when I am testing changes to the compiled kernel. So I added in a any-kernel folder to my built environment. I also added the tool-chain compiler I would be using as well into my repo.
AnyKernel folder
Cross Compiler
Now this was great. I didn't have to build anything manually, all's I needed to do was sign the zip and then push it to my phone.
Then I thought (being so lazy) why not just have this script auto-sign the zips for me and place them in my home folder? So I did. I also added in my own keys so the signature is mine! =P
Auto-Sign
Now for the fun stuff, recently there have been some roms out there that use a slightly different flashing method. Well I solved that as well. Now the script not only builds one update.zip for the compiled kernel. It creates 3 one for each rom type.
Synergy Nightly
Synergy Godmode
Universal (All other sense roms)
Click to expand...
Click to collapse
So everything is basically done. Devs would be able to implement my script into their kernel environment to build kernels for all roms that are supported here on XDA.
How to:
NOTE: You will need to get a list of applications installed and be running linux for this to work. I used Ubuntu 11.04 for all my building needs. If you want a quick list of packages you will need to install first click here there you can install corresponding packages to compile this.
Code:
git clone https://[email protected]/lithid/Htc-Sense-Freedom-Kernel.git
cd Htc-Sense-Freedom-Kernel
./build-it.sh {version #}
That's it!
Here is an example:
Error:
Code:
[email protected]:~/Development/Htc-Sense-Freedom-Kernel$ ./build-it.sh
Written by Lithid
[Error]: Expected 1 parameter, got 0.
Usage: bash build-it.sh v# [BUILD VERSION]
Good:
Code:
[email protected]:~/Development/Htc-Sense-Freedom-Kernel$ ./build-it.sh v0.3
Here is a link to the script if you are interested in seeing what I wrote. Of course it will be updated over and over again. Just figured this would be something Devs and/or users who are inspired to be devs to build a kernel without no knowledge really.
This is nice, very nice. I think I would start with building the AOSP source first. But by the time I've done that, this'll probably be finished! So thanks for the information!
This looks pretty nice thanks for the right up and links I'll definitely be checking this out some more when I get to my PC.
Sent from my PC36100 using XDA App
Love it bro. Good stuff
Oh, is mdpi still an issue with this tutorial? =P
barnacles10 said:
Love it bro. Good stuff
Oh, is mdpi still an issue with this tutorial? =P
Click to expand...
Click to collapse
Yes, how did you know?
Sent from my PC36100 using XDA Premium App
You are the android king
Sent from my PC36100 using XDA App
Lol'ed so hard at this line in the script.
"function just_sign_the_fucking_zip()"
RileyGrant said:
Lol'ed so hard at this line in the script.
"function just_sign_the_fucking_zip()"
Click to expand...
Click to collapse
Gotta have some fun sometimes huh? It gets lonely writing scripts sometimes, I like to add a little bit of personality to my stuff. lol
lithid-cm said:
Gotta have some fun sometimes huh? It gets lonely writing scripts sometimes, I like to add a little bit of personality to my stuff. lol
Click to expand...
Click to collapse
thanks to that.
post 700 lol.
Holy crap!! Ran the script and right out of the box it compiled and everything is there! This is great! Now I can start poking around!
lithid-cm said:
Gotta have some fun sometimes huh? It gets lonely writing scripts sometimes, I like to add a little bit of personality to my stuff. lol
Click to expand...
Click to collapse
Exactly and gnomelook might be somthing 4 you if you like to change ubuntus look ^^
Sent from my PC36100 using XDA Premium App
I really been wanting to learn to make kernels but AOSP searched round some think you could steer me in the right direction?
Dozenboy0012 said:
I really been wanting to learn to make kernels but AOSP searched round some think you could steer me in the right direction?
Click to expand...
Click to collapse
I would look into the cyanogenmod kernel. It's on cyanogenmods github.
Sent from my PC36100 using XDA Premium App
Is smartass better to run or performance better? Alot of people been talking about smartass
Sent from my PC36100 using XDA Premium App
smartboy36 said:
Is smartass better to run or performance better? Alot of people been talking about smartass
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
It depends on what your looking for, try them each out and see which works better. Every phone is different.
Sent from my PC36100 using XDA Premium App
smartboy36 said:
Is smartass better to run or performance better? Alot of people been talking about smartass
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
I tend to stick with smartass, oh wait we are talking about the kernel...
They both are working so perfectly but performance is my favorite
Sent from my PC36100 using XDA Premium App
Hey lithid, is there a way to do this without Linux? I don't have an extra pc? Thx man
Sent from my PC36100 using Tapatalk
gotshores said:
Hey lithid, is there a way to do this without Linux? I don't have an extra pc? Thx man
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Not unless your computer is a mac. Building on windows is currently not supported.
This is a noble effort but what happens when a user wants to add/subtract to/from a kernel and they are not familiar with c/c++? Copy/paste will go so far especially if they can't tell the difference between a newer version of source code on someones git and the original.
Actually understanding the source is a better way of learning to build kernels instead of having an auto script do everything.
I just finally got a stable gingersense evo kernel built because certain edits (which worked on froyo kernels) would cause the kernel to lag and wifi to throw errors. If the user doesn't know how to troubleshoot, this script becomes almost moot.
I only use two scripts when I compile kernels; one to set the cc, clean the build dir, and open the dir in nautilus and the other to boot my phone into recovery to push the modules then boot into fastboot and flash the zImage.
Again it's a noble effort but things like this (and dsixdas kitchen) make it too easy for novice users to make/build these items and we end up with dozens of threads of base build items that either don't present anything marginally better than the last or unstable items due to the lack of knowledge needed to provide extended support. Dsixdas kitchen is a great tool for saving time (I use it too but learned how to root a rom by hand) but it makes it too easy for novices to build roms.
Sorry for the longwinded post and I'm not bashing the effort...just trying to point out that some things should not be made so easy for specific reasons.
See page 19 for the seventh build.
Good job! Nice and clean in a new topic. KUTGW!
Sent from my HTC Desire using XDA App
Freaging sweet!
(sorry for spam but this is exciting)
Excellent stuff.
So will that mean close to full HWA?
If we're running any of the ICS builds which have the hardware hacks, this applies, right?
texasice said:
@ those who flashed Chaosz-X new kernel you need to remove this line from build.prop
Code:
ro.config.disable_hw_accel=true
Click to expand...
Click to collapse
@rootSU: I think it does, because it scores almost the same as GB Sense ROMs, and it gets pretty decent FPS at Quadrant (certainly smooth enough), so I think it works fine.
@pnw: haven't tested that, but you can give it a try, it seems pretty logical that it would help
Can't wait for the 3.0 kernel
Sent from my HTC Desire using XDA App
I flashed this on the p2 build, but my wifi would not turn on... I reverted back to my nandroid right before the flash...
sent from my HTC desire using xda premium
mattmanwrx said:
I flashed this on the p2 build, but my wifi would not turn on... I reverted back to my nandroid right before the flash...
sent from my HTC desire using xda premium
Click to expand...
Click to collapse
chaoz tried including the wifi module you use in the kernel in the system/lib folder? can't find it there on the newest kernel. This messed things up for tristan earlier
Oh crap, forgot to supply the bcr4329.ko indeed.
I'm going to try to get a running 3.0 by tonight, if I don't have it finished this evening, I'll upload the WiFi module from the build (using 2 different OS's to work on, Linux for compiling, and Windows for everything else, and working in Win is much easier for me ;p)
Edit: beginning with the really lame methods of getting 3.0 to run, first attempt is done I think, just copied over files, and modified some of them, nothing really special, starting compiling in 5 minutes.
I flashed over p2 with the camera fix and the camera no longer works. Should I reapply the camera fix?
*child said:
I flashed over p2 with the camera fix and the camera no longer works. Should I reapply the camera fix?
Click to expand...
Click to collapse
But does your wifi work? It didn't work for me...
Not too sure about the camera... it should work... as the added is just libs... the kernel does look at the libs, but doubt it would make a difference... just my guess...
sent from my HTC desire using xda premium
Wifi did not for me. Camera worked but I didn't test it extensively.
Sent from HTC Desire
Camera and wifi doesnt work But HW ac. is fine more speed
Wi-Fi also does not work
Chaosz-X first of all, thanks for the work you've done so far. I believe i can port it over to the n1 using the zip you uploaded. Second, please learn git so you can push your changes to github. (i know you said you hate git but, youre developing a kernel; in comparison git is way easier to understand) It will be much easier for other devs to follow your progress, and port your changes to other qsd8k devices badly in need of hwa.
texasice said:
Chaosz-X first of all, thanks for the work you've done so far. I believe i can port it over to the n1 using the zip you uploaded. Second, please learn git so you can push your changes to github. (i know you said you hate git but, youre developing a kernel; in comparison git is way easier to understand) It will be much easier for other devs to follow your progress, and port your changes to other qsd8k devices badly in need of hwa.
Click to expand...
Click to collapse
cant wait 3.0 kernel for n1
texasice said:
Chaosz-X first of all, thanks for the work you've done so far. I believe i can port it over to the n1 using the zip you uploaded. Second, please learn git so you can push your changes to github. (i know you said you hate git but, youre developing a kernel; in comparison git is way easier to understand) It will be much easier for other devs to follow your progress, and port your changes to other qsd8k devices badly in need of hwa.
Click to expand...
Click to collapse
How could he even develop a linux kernel if he is better in using windows? Dont you have to be a kernel dev to do those things?
Some devs are crossing strange lines - 4 sure . Hope you get it done for our Nexus ONE my friend
cheers
sweet..kernel 3.0!!
waiting ..waiting..
bunnahabhain said:
How could he even develop a linux kernel if he is better in using windows? Dont you have to be a kernel dev to do those things?
Some devs are crossing strange lines - 4 sure . Hope you get it done for our Nexus ONE my friend
cheers
Click to expand...
Click to collapse
People start with windows at a young age
Sent from my HTC Desire using xda premium
Android is a great OS, and flashing new roms is one of the best experiences when it comes to your device
I know how to root, flash roms, kernels, and radios, but I want to know more. I'd like to get into rom development, mainly from source code.
I do have experience with computer languages. I can build a nice website in Notepad using HTML. JavaScript is no problem either. I also dabbled in CSS.
What exactly should I know to eventually know the ins and outs of rom development? What languages, PC environments, etc?
KayxGee1 said:
Android is a great OS, and flashing new roms is one of the best experiences when it comes to your device
I know how to root, flash roms, kernels, and radios, but I want to know more. I'd like to get into rom development, mainly from source code.
I do have experience with computer languages. I can build a nice website in Notepad using HTML. JavaScript is no problem either. I also dabbled in CSS.
What exactly should I know to eventually know the ins and outs of rom development? What languages, PC environments, etc?
Click to expand...
Click to collapse
You will need a Linux distro to build rom source and most of it is in Java C+ and C++
Or u can just use dsixda's online kitchen. It the UOT kitchen
QuantumFoam said:
Or u can just use dsixda's online kitchen. It the UOT kitchen
Click to expand...
Click to collapse
He asked about learning Tom development and those are not even close
Sent for a corner cell in Arkham
zelendel said:
He asked about learning Tom development and those are not even close
Sent for a corner cell in Arkham
Click to expand...
Click to collapse
Yes. But he didn't ask about making a rom from source. He could take an existing rom, modify the ui and release it as his own version :
Oh well. Who am I to contradict a senior mod
QuantumFoam said:
Yes. But he didn't ask about making a rom from source. He could take an existing rom, modify the ui and release it as his own version :
Oh well. Who am I to contradict a senior mod
Click to expand...
Click to collapse
No he didn't but what you described is coming to an end very soon.
Sent for a corner cell in Arkham
zelendel said:
No he didn't but what you described is coming to an end very soon.
Sent for a corner cell in Arkham
Click to expand...
Click to collapse
Really? The ROM kitchens are closing?
QuantumFoam said:
Really? The ROM kitchens are closing?
Click to expand...
Click to collapse
No but posting roms done this way will be. Remember this is a development site. Focusing on real development
Sent for a corner cell in Arkham
zelendel said:
No but posting roms done this way will be. Remember this is a development site. Focusing on real development
Sent for a corner cell in Arkham
Click to expand...
Click to collapse
Well you're right.
I hope op got his answer
Hey, so the best way is to jump right into development. Go and download the official AOSP tree. This side will guide you:
http:
//source.android.com/source/downloading.html
So you need to be able to handle a linux machine, should know about java and c/c++, git and repo. Do not get frustrated it is really a lot of stuff that you will need on your way. But it is worth it.
I recommend that you start with stock AOSP as this is staight forward and should build stable. A google development device is a must have to verify your roms as those are official supported and as newbie you really do not want to start hacking/porting/steeling/manipulating device drivers to get things working .
If you passed this hurdles you can start to modify small parts of the system an so on...
Good luck and have fun
Much appreciation. Thanks have been given.
Sent from my iPad using Tapatalk HD
How do I build my own Nexus S kernel?
I cloned the samsung.git at source.android.com
Do I need to download the kernel source tarball at www,kernel.org as well ? or is this not needed ?
What if I want to build a kernel like AIR Kernel ?
I only would like to make a few adjustments and add a few things.
If you need yo ask how to build a kernel, you shouldn't build one in first place.
Sent from my galaxy using xda premium
djjonastybe said:
How do I build my own Nexus S kernel?
I cloned the samsung.git at source.android.com
Do I need to download the kernel source tarball at www,kernel.org as well ? or is this not needed ?
What if I want to build a kernel like AIR Kernel ?
I only would like to make a few adjustments and add a few things.
Click to expand...
Click to collapse
+1
Sorry, but this is not the appropriate forum for this kind of questions. Search around XDA, there are tons of tutorials about kernel development.
Sent from my HTC EVO 3D X515m
inFECT2 said:
If you need yo ask how to build a kernel, you shouldn't build one in first place.
Sent from my galaxy using xda premium
Click to expand...
Click to collapse
False. A couple of years ago I wanted to overclock my phone more but at the time no one would release a kernel with that extra step. I knew zero linux, but through lots of reading, and support from XDA I was able to install a linux distro, setup the environment, modify the kernel as I wanted and compiled. I cracked the top 10 with that kernel in that benchmark everyone was using back then. Anyway, it was a very rewarding experience but took quite a bit of patience and a few trips to IRC.
I used this as one of my resources: http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
Good luck!
irishrally said:
False. A couple of years ago I wanted to overclock my phone more but at the time no one would release a kernel with that extra step. I knew zero linux, but through lots of reading, and support from XDA I was able to install a linux distro, setup the environment, modify the kernel as I wanted and compiled. I cracked the top 10 with that kernel in that benchmark everyone was using back then. Anyway, it was a very rewarding experience but took quite a bit of patience and a few trips to IRC.
I used this as one of my resources: http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
Good luck!
Click to expand...
Click to collapse
Of course its all about reading manuals, howtos, tuts etc.. i remember my first grsec kernel. locked myself out of the system *facepalm* anyways, i didnt mean to be rude, just stating the obvious. The OP sounds like he didnt made the basic research, thats why i said what i said. Maybe iam wrong, maybe not!
Whatever, the provided links should give him a good start. Also, searching for kernel howtos via xda search enginge helps a lot too.
I did do some basic research. I have compiled a kernel before. But that was about 1 year ago. But everything is saying something different.
Every tutorial is different somehow. Some look even outdated.
I mainly want to do some tests with bus speeds and cpu frequencies. And I want to do some tests with live_oc modifying its source code. But I need a base to start.
$ export ARCH=arm
$ export SUBARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ cd omap
$ git checkout <commit_from_first_step>
$ make panda_defconfig
$ make
Click to expand...
Click to collapse
it looks like there is a mistake on the source.android.com tutorial.
Shouldn't that be
$ export CROSS_COMPILE=arm-eabi-4.4.3
or am i mistaken
http://source.android.com/source/building-kernels.html
$ git checkout <commit_from_first_step>
What do I do with this ??? I tried various things nothing is working. I think it's the last thing holding me back.
I have no files in my samsung folder. They are all hidden :/ They are downloaded but hidden.