I'm looking at the .c files for the Rhodium sound, and I want to waste my life and try to get the sound working by pure dumb luck lol. I just need to know how I can compile these, and I guess they go into the intrd?
You could either post them for others who are trying the same thing, Or PM Reefermatness or one of the other Android Devs and ask them directly.
You have to compile the kernel
http://htc-linux.org/wiki/index.php?title=QuickDeveloperStartGuide#Kernel
Thank you! and I assume I can run all these commands in the Terminal?
Related
How would one go about development of a custom rom for the Nexus one. Are there good resources, developers out there that can help?
Thanks - Dave
This is one of those things that just happens there are no steps and guide for being a developer, take a look at the stock rom and see what you can do.
You will be better off teaching yourself than having too much guidance. Plus trial and error happens when you play around with something..If you have your build envi setup that will help and you should be using linux on your pc, you can barely do anything major from windows.
Can look at this for an idea:
http://forum.xda-developers.com/showthread.php?t=566235
You dont need to use this ---> in your title--> this is better
Please try to post here,people use this section for winmo roms and other hacks
http://forum.xda-developers.com/forumdisplay.php?f=456
Hi y'all.
I am new to development and would like to get started with some small kernel modifications.Seeing the fact that I am a speed freak(even if I cannot notice improvements,just knowing that my CPU runs at higher values feels gooooooood!) I decided to start from what I miss from some roms(like LeeDroid Mod),the option to overclock.
I searched inside my system files and found in /sys/devices/system/cpu/cpu0/cpufreq a file called cpuinfo_max_freq which contains the value 998000(the maximum frequency) and scaling_max_freq which also contains the value 998000.I tried changing these values to 1382000(too much,I know...),saved the file,but when I opened it again it was back to 998000.
I was doing all this with ASTRO,but then it occured to me that I would need Root Explorer.However Root Explorer is a paid app and currently no paid apps are available here(I live in Greece).
So now I am thinking of reinstalling the rom but with these values changed from my pc,inside the .zip file.I don't know if that'll work though,I'd think it'd be much more complex,not just change two values and job done.
With that in mind,I'd like to ask if doing something like that would do the trick or if I need to recompile the kernel.If that's the case,how do I recompile it?
Please bear in mind that I am a total newbie and these are my first steps into developing.Until now I had only been installing what other people had already made.I decided to start learning so someday I will be able to contribute to the community.So please don't be harsh with me or treat me like I'm some stupid guy.
And I put the thread in development because I believe it fits here and maybe some other people learn from things said here.If the mods decide it doesn't fit here,then please move it to general or Q&A.
I sincerely hope some of the great minds here help me.I acknowledge that most of you here aren't random guys,but developers with talent and many contributions to the community,that's why I ask here.Thanks in advance!
Don´t know if you know...if... forget the post
In non Sense Roms the source is out..so you can overclock....HTC have not released the source yet..so we don´t can overclock
just for info...with kind regards..Alex
Alex-V said:
Don´t know if you know...if... forget the post
In non Sense Roms the source is out..so you can overclock....HTC have not released the source yet..so we don´t can overclock
just for info...with kind regards..Alex
Click to expand...
Click to collapse
They haven't released the source yet?That I didn't know...Stupid guys that they are,they're making our lives more difficult!
Anyway,the point of the thread isn't only how I can overclock my device,but to learn.If the source was available,would that be the way?
Thanks Alex-V!
Edit:BTW,does anyone have any idea when they will release the source code?I believe that it won't be long...
tolis626 said:
They haven't released the source yet?That I didn't know...Stupid guys that they are,they're making our lives more difficult!
Anyway,the point of the thread isn't only how I can overclock my device,but to learn.If the source was available,would that be the way?
Thanks Alex-V!
Edit:BTW,does anyone have any idea when they will release the source code?I believe that it won't be long...
Click to expand...
Click to collapse
mmhh don´t know it also...but at this time we can underclock via set cpu and the permanent perflock disable.ko and some cpu covenors (thanks flohimself) and undervolt (thanks iscaela)
look to this post..ihave posted some links..you need a patched init.rc in the kernel to load the modules on start
http://forum.xda-developers.com/showpost.php?p=8048986&postcount=12
I'd give all that a shot but you know,someone else has it working for me!
However I searched the .zip of OpenDesire 4.0.4 and didn't find any options regarding the clock speed.I thought I could begin there...
tolis626 said:
I'd give all that a shot but you know,someone else has it working for me!
However I searched the .zip of OpenDesire 4.0.4 and didn't find any options regarding the clock speed.I thought I could begin there...
Click to expand...
Click to collapse
i think it´s direct in the kernel of open desire....if you use dsixda's HTC Android Kitchen..you can extract the kernel
with kind regards...Alex
I am in need of a kernel with loop enabled. I am in the newest OTA, if one doesn't exist I could use some help compiling one from the newest source, I have everything I need to do it on my Linux machine I am stuck trying to find which makefile to edit and where the .config file containing CONFIG_DEV_BLK_LOOP is located.
If it matters at all I would much rather compile my own kernel so I can learn something new.
Thanks for any help guys!
Sent from my White Evo 4G
Really!? I am not lazy or dumb, I have gone through a lot of kernel threads and it is not stated wether or not loop is enabled, all I am looking for is a kernel close to stock with loop enabled, come on guys I know someone here knows of one, if not is ANYONE willing to work with me while I learn to make one?
matthewjulian said:
Really!?
Click to expand...
Click to collapse
LOL. I'm on the more technical side, program for a living and have compiled a share of Linux kernels in my life, and I'm not quite sure what you are referring to. Sadly most of the sharper devs pretty much handle these forums in a one-way manner, they put out stuff, but they rarely read other people's posts. There are plenty of people that like to help out, but most of those folks aren't going to know anything about compilation.
The makefile you need to edit is in the root of the kernel source. The very first one that you see.
I am referring to loop devices support, this enables me to boot ubuntu on my Evo, it is one line of code that needs to be un-commented and changed to "CONFIG_DEV_BLK_LOOP=y
I am just lost,I was following this tut here http://htcevohacks.com/htc-evo-hacks/how-to-build-your-own-htc-evo-4g-android-kernel/
but the directions seriously slack off from step 11 onward, any ideas?
Do you by chance want to install Ubuntu on your phone? I think I saw something pertaining to that in some instructions I browsed over a while back.
lithid-cm said:
Grab the latest HTC source code:
edit the makefile:
Code:
CONFIG_DEV_BLK_LOOP=y
Then compile the kernel. There are plenty of how tos for kernel compiling. Let me know if you need more direction.
Click to expand...
Click to collapse
I have all the files I need, I was following the tut at htcevohacks.com but the instructions seriously slack off & there are numerous makefiles in multiple folders on top of that I can't seem to find what file contains the line config_dev_blk_loop, could you point me to a more complete walk-through please, oh and I am on the latest OTA with the newest kernel and radios.
Bump for desperation,chewed up almost 3 days of my time...
Sent from my White Evo 4G
Bump for this simp
Ok, well I guess I am gonna just have to PM each Dev individually about each individual kernel, damn all I need is a how-to or tut on kernel compiling (which the search function apparently can't find) or someone that knows of a 2.2 kernel with loop devices enabled. Oh well.
I'm pretty sure netarchy kernels are loop back enabled. Ask around there maybe.
Sent from my PC36100 using XDA App
nukedukem said:
I'm pretty sure netarchy kernels are loop back enabled. Ask around there maybe.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
YAAY! LMFAO, I will ask there, sorry I'm excited but I have been trying to get this working for a while; I would much rather learn to build it myself but I will take what I can get for now.
IF ANYONE knows where there is an in-depth tutorial on how to compile a kernel from the newest source I would be extremely appreciative, THANKS
Did you ever find or get your Complie to work? I tried for a while to compile the stock Kernel, then gave up. I took a stab in the dark and flashed a stable netarchy kernel. unfortunatly that Kernel didn't have Loop devices enabled (Pulled Config file and Unzipped it) I like the Kernel I am running but need to find a way to get ubuntu running.
Netarchy does have loop enabled, I am running Netarchy ___(will find which version later can't remember) but yeah I am running Lakia Linux
now(network security testing, think Backtrack 3) as well as another new Linux image from a guy here, anyways I think you need Netarchy universal cfs havs less no sbc 4.2.2
Sent from my White RLS5 Evo
Ok, so after having a million questions I thought I'd write up a quick little 'how to' with regards to porting.
And now the warning
Read and learn first, doing this could cause serious issues with your tab or even brick it. The tab is really tough, and hard to brick if you do everthing right but it could still happen. I'm not responsible if it does.
Where to start
Get good at reading, google searching and searching XDA. Lots of porting discussion regarding other phones can apply to the tab.
Learn to use Heimdell
Have a linux distro available, either by virtual box, or natively.
Technomancer where it all began
I've said it before and I'll say it again, without techs work miui wouldn't have been possible.
Reference technomancers thread here: http://forum.xda-developers.com/showthread.php?t=931857 on how to download the cm7 + sgt source, you're also going to want to follow the kernel making part, cause most likely you'll need to make adjustments to the init.rc which is inside the initramfs and requires building the kernel again.
porting x build
Get X build onto your computer and extract the update.zip for it.
Copy the boot.img into your linux environment and extract it using splitbootimg.pl script (note: Google it, plus this doesn't work with samsung builds). Compare the init.rc to your init.rc (from the sgt cm7 kernel source root folder). Specifically the most important part here is the PATH, LD_LIBRARY_PATH statement and BOOTCLASSPATH lines.
Build your kernel with the updated init.rc and flash with heimdell, it should still boot your cm7/miui build (if you were running it before) albeit with errors.
The system
Now following the awesome list of proprietary files (either from your source folder or technomancers github link) check the galaxytab-common-vendor-blobs.mk for the GT-P1000. It lists every file you need that's propreitary to the tab and where to put it.
Also you'll probably need the debuggerd from /system/bin on the cm7 build.
Compare the /system/build.prop of the cm7 build to your port, make sure the ril info is the same as well as the ro; model, brand, device, board, and platform lines.
Create an update.zip (or whatever you want to call it.zip) and try it.
It's not booting
Logcat is great, but I really suggest using the ddms from the android sdk tools. It's color coded, and gives a much nicer view of what's happening.
Using winmerge in windows or a linux file compare program start checking what other bin files may be missing that you require. Special notice to the xbin folder.
It works! I want to post it!
Ok, first up, make sure you have permission if this is someone elses custom build you've ported. Most people/groups are really good about it assuming you ask first and give them credit in your post.
Also credit everyone who helped, answered a question or sent you in the right direction. (it's just polite)
Second your going to want to make sure your update.zip flashes the kernel, read the update_script from the cm7 build to understand how it works.
So that's it for a start. roll up your sleves, gather your courage and get to it!
Please if you have other tips, add them to the thread, what's better 1 or 2 'developers/porters' or 100?
Thanks. This is very useful for me.
Thanks,
Following this method, with slight alterations to adjust, I was able to port an i9000 phone build to the tab in about 10 minutes, it's really not terribly that difficult once you have the right steps.
The first couple times are usually frustrating but after that you get the hang of it
Hi mssmison Thank you for your guide,it will be very useful in the future! I have only one request,how can I contact you? I have a proposal for you about a dev team (regarding an old think tank)
Thanks for the guide...
Is there any ROM left to port by the way?
Sent from my GT-P1000 using XDA Premium App
I know nothing much of ROM Development but I do have the basic foundation knowledge and I wish to commence in releasing a modded ROM soon as a start...
As a start can anyone give a pointer of the following :
1. Boot image » what is required to extract / modify ?
Note : Please do not re-quote as I will be making changes as we go along
So let us discuss and explore so that we can learn together....
Sent from my GT-I8150 using xda premium
I was thinking of doing the same andy. Asked cow to see if he would like to point me in the right direction.
I had to abandon my idea as new house i moved into i dont have any internet to work off so had to put my plans on hold. But here is what i was told what is basically needed for cooking roms.
1) Download Kitchen:
http://forum.xda-developers.com/showthread.php?t=633246
2) Download your stock ROM
3) Extract system.img.ext4, cache.img.ext4 and boot.img from stock ROM, put into Kitchen's original_rom folder
4) Do this for SGW: http://forum.xda-developers.com/show...8&postcount=12
- No need to upse KezzaPlane's updater script anymore
5) Run ./menu in kitchen and follow the instructions
On part 3. If you want to use a different kernal( Oc one or simply Cow's oc kernal) please make sure to ask for the use of the kernal first and then use that boot.img and replace it into the rom that you are going to cook.
hi, thank you very much for the information, so far i have downloaded eclipse ee, and the android sdk but had zero idea where to start lol
i was so motivated when arco started and released his ics rom that i wanted to do my share as well, i have experience in coding in java but also wanted to know what else to do, then i bumped on this post, thanks a lot man!
snwman said:
4) Do this for SGW: http://forum.xda-developers.com/show...8&postcount=12
Click to expand...
Click to collapse
um unfortunately that link doesn't seem to work, may i ask for the full link?
this is awesome, i will support this thread. pls someone provide clear informations on how and what needed