Making a Kernel? - Xperia Play Q&A, Help & Troubleshooting

Can someone teach me how to make a Kernel for GSM Just with Recovery and Root I know there's Doom's and Keirans But They Dont boot Correctly for me when I press Power only Stock and ICS does.
I know its hard once its done then I have Knowledge for the Future.

Making a kernel isn't a walk in the park. Just because you can compile something, doesn't make you a developer. I can compile CM7/9 fine but I haven't dared look at some of the source code yet.
Its something you need to learn slowly, try rom and app development first.
Sent from my R800i using Tapatalk 2

KeiranFTW said:
Making a kernel isn't a walk in the park. Just because you can compile something, doesn't make you a developer. I can compile CM7/9 fine but I haven't dared look at some of the source code yet.
Its something you need to learn slowly, try rom and app development first.
Sent from my R800i using Tapatalk 2
Click to expand...
Click to collapse
And where would you learn to do that?
Sent from my R800i using XDA

I'd say learn by doing. Grab some kernel sources from Github and try compiling them. If they don't compile, Google around and ask until you get it compiling successfully.
The first big challenge in kernel compiling is getting the right environment setup; getting the right OS/dependencies/toolchain is the first hurdle. Then look into the kernel sources and see what's going on.
Github is a great place to learn, as you can see people's changes and comments, to understand why they made changes.

Atarii said:
I'd say learn by doing. Grab some kernel sources from Github and try compiling them. If they don't compile, Google around and ask until you get it compiling successfully.
The first big challenge in kernel compiling is getting the right environment setup; getting the right OS/dependencies/toolchain is the first hurdle. Then look into the kernel sources and see what's going on.
Github is a great place to learn, as you can see people's changes and comments, to understand why they made changes.
Click to expand...
Click to collapse
Thanks Im not too Keen on Making a ROM all time or etc.
I just wanted to know how just for the future. Also My Xperia Bricked I have to go to O2 today lol.

Related

[DEV] Hero 2.6.29 kernel source [UPDATED WITH INFO BEN#23]

Hi guys,
After some work on the kernel I've managed to solve the issues with the device becoming barely usable because it drops in speed.
UPDATE 2: OC fully working up to 710Mhz. Check my last commit for more info. DO NOT MAX OUT THE CPU SPEED, WILL FREEZE UR PHONE
zImage and wlan.ko for those who want to repack their own boot.img and try it out:
zImage #23
wlan.ko #23
Update.zip's:
For BeHero+ 1.2
For Legendary 1.3.5
What I've done so far to the kernel:
OC up to 710Mhz Use OverclockWidget NOT SetCPU
Swap notify support for Compcache with Ramzswap
Ext4 support
Ext4 in ext3/ext2 support
Cramfs support
Squashfs support
Cifs
..... more to come, Toastcfh will provide me with a working OC patch hopefully whenever he has time same goes with BFS backport
Keep this thread only for developing and testing!
Github for my work on the kernel: http://github.com/behnaam/HeRo-2.6.29-GoDmOdE
Github for the untouched original kernel source: http://github.com/toastcfh/CdMa-HeRoC-2.6.29
Good start points for kernel compiling: http://wiki.github.com/behnaam/HeRo-2.6.29-GoDmOdE/, http://wiki.github.com/loxK/android-msm-2.6.27-hero/ and http://wiki.cyanogenmod.com/index.php/How_to_build_a_kernel_port
Huge props to Toastcfh for being polite and providing us with this source and also helping us starving Hero users out If you want to donate to someone, donate to him!
This is CDMA kernel with settings for GSM hero ?
behnaam said:
http://htcpedia.com/forum/showthread.php?p=59996#post59996
READ MORE THERE.
THIS IS CrOnOs KERNEL WAS BUILT UPON, USE THE HERO CONFIG TO COMPILE
SORRY FOR THE CAPS LOCK BUT IM HAPPY TO SHARE THIS
Madprops to toastcfh and sorry cronos for spoiling ur hype i guess :/
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
wow, how did you guys manage that? based on the github name I'm guessing this is based on the cdma source, how did you guys make them compatible with the gsm hero?
Re: [DEV] Kernel .29 source
These are real, you know your our hero.
Nobody can argue with you.
Thank you
Hopefully this will stop the arguments and push development forward.
Love you all
Re: [DEV] Kernel .29 source
I hope you don't mind a non-developer jumping in.
Just wanted to give big props for making this available to other devs,... no messing,... no piss arsing about.
Definitely an excellent example of community spirit.
-------------------------------------
Sent from my HTC Hero
thanks alot! I cant wait to get working on this!
looking forward to the onslaught of ROMs coming this weekend!!!
anybody care to compile this kernel with the Overcklock patch and upload a signed update.zip, that would be great
Updated kernel git thats fully working:
http://github.com/toastcfh/CdMa-HeRoC-2.6.29
behnaam said:
http://htcpedia.com/forum/showthread.php?p=59996#post59996
READ MORE THERE.
THIS IS CrOnOs KERNEL WAS BUILT UPON, USE THE HERO CONFIG TO COMPILE
SORRY FOR THE CAPS LOCK BUT IM HAPPY TO SHARE THIS
Madprops to toastcfh and sorry cronos for spoiling ur hype i guess :/
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Sorry to spoil guys. But this is not the cronos kernel
Feeyo said:
Sorry to spoil guys. But this is not the cronos kernel
Click to expand...
Click to collapse
Don't start further arguments, don't post if you have nothing of value to say. Until you release your so-called kernel sources, you'll have no way to prove that.
jaymac407 said:
don't post if you have nothing of value to say.
Click to expand...
Click to collapse
lol, irony
jaymac407 said:
Don't start further arguments, don't post if you have nothing of value to say. Until you release your so-called kernel sources, you'll have no way to prove that.
Click to expand...
Click to collapse
Jezus man. I am really unwanted in this forum. I am stating this is not the kernel sources where I build my rom on. The one I am using is goldfish sources with a few patches from me.
Feeyo said:
Jezus man. I am really unwanted in this forum. I am stating this is not the kernel sources where I build my rom on. The one I am using is goldfish sources with a few patches from me.
Click to expand...
Click to collapse
Feeyo, stick around, please! dont let the minority put you off!
It has happened before on XDA, lets not put off a talented dev so early into his rom dev career!
Ever wonder why some devs now live on other forums....
Lets all grow up a bit!
Just my 2p (no cents please, i'm british )
Feeyo said:
The one I am using is goldfish sources with a few patches from me.
Click to expand...
Click to collapse
so you broke into htc's server to steal the sdk emulator kernel source?
i agree...
Feeyo created a good stable and fast 2.1 rom and for that he is being treated as some kind of criminal (?!?!)
I hope you will stick around and create even more rockin' roms for us!!
minty1978 said:
Feeyo, stick around, please! dont let the minority put you off!
Click to expand...
Click to collapse
agreed, or find & new site & let everyone know where so we can follow.
this place is a hoot.
Could anyone apply the OC patch to this kernel please?
Feeyo said:
The one I am using is goldfish sources with a few patches from me.
Click to expand...
Click to collapse
For people who dont understand, he's saying that he hacked into HTC and stole the source code. So basically he claims to have hacked into an offline network and then multiple encrypted servers and downloaded the source code.
Look, just stfo from now on and stop bullshitting.
HTC screwed up, they accidentally uploaded a tarball with ALL devices kernel sources, when they uploaded the legend kernel source the first time and
some guys managed to download before it was removed.
shenshang said:
Look, just stfo from now on and stop bullshitting.
HTC screwed up, they accidentally uploaded a tarball with ALL devices kernel sources, when they uploaded the legend kernel source the first time and
some guys managed to download before it was removed.
Click to expand...
Click to collapse
OHHHHHHH I get it now!

[KERNEL][014] TripNRaVeR repacked for stock Sense base

I thought it would be great to post TripNRaVeR's CM9 kernels, extracted from his CM9 and repacked into our latest base
This kernel also includes an interesting "lagfree" kernel, use system tuner to try it out
Be sure to thank TripNRaVeR or donate for his work
Kernel source is available on his github
https://github.com/TripNRaVeR
Downloads
- TripNRaVeR Kernel 014 - repacked for Sense 1.29.401.11 ramdisk
TripNRaVeR Kernel 014 - repacked for Sense 1.29.401.11 ramdisk
just in case
xda will not like this :S
vladnosferatu said:
xda will not like this :S
Click to expand...
Click to collapse
why? franco's mentions him in his kernel and paul obrian get to post his modaco's rom in here
so whats wrong? his work is amazing
if a mod can tell us if this would be allowed, it would be great
I am not supporting Trips work, he does not like to share with the community...
the|gamer said:
I am not supporting Trips work, he does not like to share with the community...
Click to expand...
Click to collapse
he is sharing on modaco?
what am i missing, anyway lets close this i guess, seems im digging a mess
You are not allowed to post anything from him on xda -.-
As he don't like xda due some reasons and he doesn't share anything.
Btw on which cm9 are you running your one x
... You can press the thanks button, if you like. Makes me happy and motivates to help more people
alright sorry guys i had no idea
a mod can delete this
ill change this title
I dont get that, his work is used in several peoples custom kernels, are they not allowed to?
Also from what I see he publishes his work on git and gives permission for other devs to use it so whats not being shared? Im not arguing to say hey lets allow it just to understand what hes doing/done thats wrong.
Disclaimer:
TripNDroid Mobile Engineering accepts no claims for anything that may happen to youre device because of flashing our software. This is youre own responsibillity.
First, do not use my work without explicit permission! Secondly, XDA doesnt want my work on there "forum" therefore you dont have permission to use my work as a base and then post it on XDA. It will still be my work! Neither you have permission to use my work as a base for MIUI roms and then post it on XDA. None of this is my personal choice, it is XDA that doesnt want my work so obey the rules!
Click to expand...
Click to collapse
thats his opinion.
This kernel work just on cm9 or is compatibile with charmeleon,modaco and revolution rom?
Inviato dal mio HTC One X con Tapatalk 2
Drefsab said:
I dont get that, his work is used in several peoples custom kernels, are they not allowed to?
Also from what I see he publishes his work on git and gives permission for other devs to use it so whats not being shared? Im not arguing to say hey lets allow it just to understand what hes doing/done thats wrong.
Click to expand...
Click to collapse
Kernel source is available on my github
https://github.com/TripNRaVeR
well he shares his kernel sources now.
but i am not sure if you can do that hamdir.
Best way would be to ask him .
That's kind of my point his works there on git, and I know other dev's have asked for and received permission from him to use parts of his code in their own work.
He clearly is trying to distance himself from what ever the issue was that sparked all this, and is saying don't put his stuff on XDA because they wont like it. It seams to me like he's trying to be part of the overall developer community without antagonising XDA. It doesn't seam like he's doing anything wrong to warrant such a ban, that's this bit I don't understand what happened in the past etc.
XDA and TripNRaVeR have been in a dispute for a while, I think it's best not to post his work on the forum until everything's settled down.
Although it's probably an honest mistake on Hamdir's behalf, but there's a good reason that his work isn't published on XDA.
exactly his quote shows he doesnt mind sharing he just blames it on XDA
the idea behind this thread was to post his kernel repacked + modules to work on sense ROMs
anyway we will need someone from the mods to tell us how to proceed next
I'm not seeing what the problem is, the kernel is accompanied with the source/github.
.
is not necessary change modules??
I think it just don't like to share his ROM. He has made the kernel sources available so others can use it. so I think it's fine.
modules uploaded
now a mod can delete this or lock it, its up to him and xda top guys
no point in this discussing this any further

[ROM][CM9][Marvelc] CM9 release for the Marvelc (nightly)

I have compiled CM9 for the wildfires CDMA and have got it to boot. There is still alot wrong with it but this is taking over the CM7 project i was doing before this. I may go back and get CM7 stable when this is done though, just because I hate leaving things unfinished.
Anyways, so far I have used alot of modpunks folders and kernel and modified them to work with the cdma version of the wildfire s. Its still being worked on heavily however. If you would like to compile the rom, instructions below follow. Of course you will need to have the environment already ready to compile roms.
::::NEW::::
I set out to fix wifi, And in turn I actually fixed a lot of things. Enough that I classify it as a beta, so seeing as that. Download link is below. Please, only report logcats or unknown problems. Thanks
Code:
mkdir ~/cm9
cd ~/cm9
repo init -u git://github.com/simonsimons34/android.git -b ics
repo sync -j12
. build/envsetup.sh
lunch 5
make -j2 bacon
Note this rom doesnt function well but does boot. If you'd like proof a precompiled rom is located here in this folder. I will make them whenever i build a change, and send them off to my testers.
goo.im/devs/simonsimons34/marvelc/cm9
Credits:
Modpunk
Alquez
Jmz
For all Roms please post bugreports here. Dont duplicate them if on is already open. also please use the logcat and please pastebin it. explain how to recreate the problem, as well. Thanks. Without this the rom will never get better
https://github.com/simonsimons34/marvelc_device_cm9/issues/
Release1:
Downloads
For changelog before releases see the following. They are my github commits towards fixing things:
https://github.com/simonsimons34/marvelc_vendor_ics/commits/ics
https://github.com/simonsimons34/marvelc_device_cm9/commits/ics
Release1:
this is all thats broken:
hq video
mms for uscc (vmus works fine)
camcorder (video its in the libs)
Anything else, let us know!
Beta2test2:
Wifi fixed
wifi tether fix attemt (needs conferm)
camera/bt still broken
better HWA added in kernel and rom
Beta1test1:
took a go at fixing wifi and camera, could of made it worse needs testing
changed firmware for wifi
fixed line in buildprop
changed kernel config to try to fix wifi
Beta 1:
What Doesn't Work:
Camera
Bluetooth
Wifi
GPS
HQvideo is buggy (blame non opensource libs)
What Does Work:
Everything Else
unless I got some rotten downloads, neither one of those zips flash. (error 7)
That error 7 would be the recovery your using. I think i can say its not cwm official for cdma, yes?
works fine here when I tested it no mobile data wifi (maybe blue tooth) and no camera I'll test more tomorrow with logcats of everything
Sent from my HTC_A510c using Tapatalk
Good to see that the CDMA users are getting some ICS love
simonsimons34 said:
That error 7 would be the recovery your using. I think i can say its not cwm official for cdma, yes?
Click to expand...
Click to collapse
Yes. I always had trouble with the official. I'll switch today.
Sent from my HTC_A510c using Tapatalk 2
simonsimons34 said:
Anyways, so far I have used alot of modpunks folders and kernel and modified them to work with the cdma version of the wildfire s. Its still being worked on heavily however. If you would like to compile the rom, instructions below follow. Of course you will need to have the environment already ready to compile roms.
Click to expand...
Click to collapse
Why don't you just send me patches so we have just one tree instead of forking? Forking should normally only be the last option. There is a reason why the Liberty and Marvel have a common kernel tree. Less work and everyone gets the fixes.
I just couldn't figure out how to send you anything because of your choice of git sites. All my work is wide open on github so feel free
Sent from my Wildfire S A510c using Tapatalk 2
simonsimons34 said:
I just couldn't figure out how to send you anything because of your choice of git sites.
Click to expand...
Click to collapse
http://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project
Maybe you should read a git book. Your commit history is a mess and the changes are also not cleanly made.
simonsimons34 said:
All my work is wide open on github so feel free
Click to expand...
Click to collapse
Yes, I've already looked at the mess
modpunk said:
Your commit history is a mess and the changes are also not cleanly made.
...
Yes, I've already looked at the mess
Click to expand...
Click to collapse
Go clean it up then bro
Well I'm happy with my near perfect cm9 so I'll continue this and you yours for GSM? Sounds fair to me
Sent from my Wildfire S A510c using Tapatalk 2
There is no Google Play? I downloaded an .apk for it but wont open. Did i do this wrong, or is it a bug?
Sent from my Wildfire S A510c using XDA
you must install gapps. THIS ROM IS NOT FOR NOOBS YET
Seriously, I can't get this to flash. I've tried multiple recoveries. Official just freezes and the others throw errors. You know I'm not THAT much of a n00b. What is going on?
Sent from my HTC_A510c using Tapatalk 2
BigChillin said:
Seriously, I can't get this to flash. I've tried multiple recoveries. Official just freezes and the others throw errors. You know I'm not THAT much of a n00b. What is going on?
Sent from my HTC_A510c using Tapatalk 2
Click to expand...
Click to collapse
I had issues as well. I flashed clockwork mod through rom manager and then I was finally able to flash the rom.
All I get is freezes and restarts, no matter how I try to flash with this official. It's quite ironic really. Something that will FINALLY get me to shut up, and I can't flash it....
BigChillin said:
All I get is freezes and restarts, no matter how I try to flash with this official. It's quite ironic really. Something that will FINALLY get me to shut up, and I can't flash it....
Click to expand...
Click to collapse
Yeah I used to get a lot of freezes and restarts when I was a noob and did not know what I was doing wrong with the flashing until I figured out it was my recovery. My phone (CDMA) doesn't like CWM version 5.0.2.6 or 5.0.2.8 or whatever those versions are. I am using 4.0.1.5 and things flash fine without restart. I have not tried this ROM and will try it later when I get more time but if it's random restarts during flashing and backups, then change your CWM to version 4.
Hope this helps. If it doesn't, sorry that I misunderstood your problem.
---------- Post added at 05:05 AM ---------- Previous post was at 05:01 AM ----------
One more thing while I'm on this thread, does the phone get recognized as an Android phone under this ROM? I know with Sense 3.5, it didn't and so I could not install Swype Beta and I can't live without swype on this small phone. Thanks to whoever answers this.
BigChillin said:
All I get is freezes and restarts, no matter how I try to flash with this official. It's quite ironic really. Something that will FINALLY get me to shut up, and I can't flash it....
Click to expand...
Click to collapse
Rename the zip file. I've had this with twrp before and shoving a few _s on the end in front of the .zip seemed to work.
If that doesn't work I would normally rebuild but in your case you would re download so try that.
Sent from my HTC Wildfire S A510e using xda premium

Best kernel for battery life!!!

Hey im a big newbie, but I was able to port a ROM from Arc to Pro.
Now I want to create a battery saving kernel for our pro!
But... How do I start and how do I make it best battery saving??
Thanks alot mates!!!
arc knight 3.3 very good
lammy29 said:
arc knight 3.3 very good
Click to expand...
Click to collapse
thanks for reply. but isnt that for arC? I meant for the xperia pro. Is it possible to port KERNELS??? I was able to port an Arc rom to my Pro but I cant find tutorials on how to port kernels and maybe it is alot harder???
xperiap said:
but I cant find tutorials on how to port kernels
Click to expand...
Click to collapse
Have you looked HERE?
XperienceD said:
Have you looked HERE?
Click to expand...
Click to collapse
Yes, cant see any tutorials on how to port kernels... I think you too, huh?
I only want arc knight kernel [Xperia Arc / s] for my Pro. Maybe someone can do it??? Or help me do it im really a noob
xperiap said:
Yes, cant see any tutorials on how to port kernels... I think you too, huh?
Click to expand...
Click to collapse
I didn't no, but then again I'm not looking to port a kernel, so try asking your question in the section that's there to help, or read the material that's freely available using google (like I just did to see what's available) to help with your quest.
XperienceD said:
I didn't no, but then again I'm not looking to port a kernel, so try asking your question in the section that's there to help, or read the material that's freely available using google (like I just did to see what's available) to help with your quest.
Click to expand...
Click to collapse
I cant find any tutorial on how to potr kernels. So Im asking it in a thread.
Sorry if I posted in wrong place, but no subforum for the Pro.
Hi! Developing kernels is way to different than just porting ROMs. Also you don't port kernels you develop them from scratch. There's no way to port a kernel into another device.
Here's a very2 basic tutorial on building kernel for Xperia but you still won't understand it without proper knowledge.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
Here's the source code.
http://dl-www.sonymobile.com/cws/download/1/105/457/8/1339505718/4_1_B_0_431_tar.bz2
Take note that source code doesn't contain any modifications compiling that right away would just leave you a replica of stock kernel without overclocking, volting, tweaks etc.
Kernel development is a critical part of android customization and anyone is not recommended to play with it even for average developers. It could harm your device to the point that it would burn out or explode.
xperiap said:
I cant find any tutorial on how to potr kernels. So Im asking it in a thread.
Sorry if I posted in wrong place, but no subforum for the Pro.
Click to expand...
Click to collapse
My point was to try asking in the section dedicated to Android development, as you'll probably get better help or pointers than you will by posting it here, and if you've not found anything at all in regards to kernel building/porting then you're obviously not using google correctly.
Riyal said:
Hi! Developing kernels is way to different than just porting ROMs. Also you don't port kernels you develop them from scratch. There's no way to port a kernel into another device.
Here's a very2 basic tutorial on building kernel for Xperia but you still won't understand it without proper knowledge.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
Here's the source code.
http://dl-www.sonymobile.com/cws/download/1/105/457/8/1339505718/4_1_B_0_431_tar.bz2
Take note that source code doesn't contain any modifications compiling that right away would just leave you a replica of stock kernel without overclocking, volting, tweaks etc.
Kernel development is a critical part of android customization and anyone is not recommended to play with it even for average developers. It could harm your device to the point that it would burn out or explode.
Click to expand...
Click to collapse
WoW Riyal, who is this guy I see you everwhere, are you the BEST android developper???
Can u PLZZZ make Arc knight kernel for Xperia Pro ??? I have some money to donate if u want, or help me do and answering questions / problems im facing.
PLz reply thanks!
I'm not the best android developer in fact I am not an android developer.
I am a server administrator and a programmer and it's just I am also a linux kernel developer.
It just so happens that I am the only and sole android kernel developer which is this active for Xperia Pro. If you don't trust me feel free to approach any other developers like FXP and cross fingers that he would reply to you.
I'll try to look for any arc night sources if I found one I'll guide you if not then try ask the creator of arcnight for it's sources then I'll help you.
Ok here's a quick tutorial. I am not good at teaching things so I hope you understand that. I would also assume you have at least basic knowledge with linux and compiling stuff. If not then learn it first before proceeding.
1st.
You must have a linux machine. No windows only linux.
2nd.
download arcnight kernel sources here.
https://github.com/Jimbo77/Arc-Night-Kernel--4.1.C.0.7-/zipball/master
3rd.
go to kernel/arch/arm/configs/
You should be able to see lot's of config files there just pick these 2.
ArcKnight_defconfig
semc_iyokan_defconfig
4th.
Now compare both files make sure that everything in semc_iyokan_defconfig should be also in ArcKnight_defconfig
Ex. if a config in arcKnight says
# CONFIG_MACH_SEMC_IYOKAN is not set
while config in semc_iyokan_defconfig says
CONFIG_MACH_SEMC_IYOKAN=y
Then change arcknight's config and match it with iyokan's
5th.
Download eabi here.
https://sourcery.mentor.com/sgpp/lite/arm/portal/[email protected]=lite
6th
follow everything in here.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
7th.
in the line
ARCH=arm CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-eabi- make semc_zeus_defconfig
Click to expand...
Click to collapse
on sony's dev page change it instead to
ARCH=arm CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-eabi- make ArcKnight_defconfig
Click to expand...
Click to collapse
Done.
Note that I am not responsible if you brick your device. You are using a kernel made for Arc/Arc S and also I am not the developer of that kernel to assure you that it doesn't have any changes which would affect any specific device in any way.
I started and understand the setup etc. but not part 6, when I run terminal and type ''cd kernel'' it says
bash: cd: kernel: File or map doesnt exist
Click to expand...
Click to collapse
AND Ive downloaded eabi. Its a .bin file [is that ok?] and I cant open it! How can I open it??

How To Help/Report Bugs/ become a Dev

Hello!
I've been flashing ROMs for a while and I'm getting interested in development. While there are many guides for how to flash ROMs, etc. I couldn't find any post explaining how to begin if you want to become a dev.
Through some googling, there is useful information, but its dispersed, and I think it would be awesome if someone creates a beginner's guide in our SXS forum.
Things that should be covered in my opinion:
-how to help devs by reporting bugs (how to do it right?)
-understand android
-well how to develop?
I would do such a guide by myself, but I don't I think that I know enough about it.
I would really really appreciate help, as I think this will be very useful for any beginner. I'm not a native speaker, so apologise for any errors...
Sent from my Xperia S using xda app-developers app
mrmigg said:
Hello!
I've been flashing ROMs for a while and I'm getting interested in development. While there are many guides for how to flash ROMs, etc. I couldn't find any post explaining how to begin if you want to become a dev.
Through some googling, there is useful information, but its dispersed, and I think it would be awesome if someone creates a beginner's guide in our SXS forum.
Things that should be covered in my opinion:
-how to help devs by reporting bugs (how to do it right?)
-understand android
-well how to develop?
I would do such a guide by myself, but I don't I think that I know enough about it.
I would really really appreciate help, as I think this will be very useful for any beginner. I'm not a native speaker, so apologise for any errors...
Sent from my Xperia S using xda app-developers app
Click to expand...
Click to collapse
Well im a bit ahead of you
Im learning to code in "C" (what linux>android is coded i )
Im also learning to code in java (what android apps is coded in (not only that but the google "A.P.I's)
I havnt given too much information here but if you have a question then ask im quite sure me and alot of other people can answer them
~How to help devs
Xda Dev DB has a report a bug button. If a dev makes a thread in dev db then it will have these features
Some custom roms have a report a bug button.
~understanding android
Depends on what exactly you want to understand
~how to develop
I suggest starting with kernels
Try learning to add some changes (cpu OC/aditional patches , govenors and schedulers)
Then once you've mastered kernel editing then look for some of the Cyannogenmod Guides to building for your device
Once you've mastered that then well, you can develop anything that is coded in C anything based on C
First, thanks!
So basically I should start learning C? Do you have some websites which you can recommend me? (Beside Cyanogenmod's...)
Gesendet von meinem Xperia S mit Rayman's 4.4 KitKat
mrmigg said:
First, thanks!
So basically I should start learning C? Do you have some websites which you can recommend me? (Beside Cyanogenmod's...)
Gesendet von meinem Xperia S mit Rayman's 4.4 KitKat
Click to expand...
Click to collapse
Apart from websites, please do read Head First C and C: The Programming Language by Dennis Ritchie and Brian Keringhan. They are good books:thumbup:
And once you've got a good hang of the language, check out Linux Kernel Development by Robert Love. It's an awesome book.
Good luck
Sent from my LT26i using Tapatalk
mrmigg said:
First, thanks!
So basically I should start learning C? Do you have some websites which you can recommend me? (Beside Cyanogenmod's...)
Gesendet von meinem Xperia S mit Rayman's 4.4 KitKat
Click to expand...
Click to collapse
umm according to me learning C is important but it comes later..Before that you need to understand the following
1. Linux- When i started out, i had no idea how a linux system works and naturally half the time went in learning about it( Now i love it..)
My suggestion : try to install a linux based distro..i would suggest ubuntu...If you dont want to install another OS then just install virtualbox and install Ubuntu 12.04 or 13.04 and try to mess around with it..
2. Android- If you know a bit about linux then this will get simplified....you will know what a kernel means and how the partitions are different from Windows,why we root our devices,what is open source etc..
3-Next is your choice: You wanna build a ROM,a kernel,a tool is all upto you...first thing will naturally be getting the source...i agree with envious_data here...first try with building a kernel...you will learn loads...my suggestion...first build a kernel without tweaking anything.....i.e. stock kernel...then add tweaks and build(this is the time you'll need a bit of knowledge about C)
I can help you with one thing...if you wanna know a bit more about android then i had written a small guide here a few days back..
Also i have compiled a tool containing a few utilities..which should get you started....but don't rely totally on the tool...study and use the tool simultaneously if you are using it...you can download it through my signature...first link...
have fun coding....
Dark Wraith said:
umm according to me learning C is important but it comes later..Before that you need to understand the following
1. Linux- When i started out, i had no idea how a linux system works and naturally half the time went in learning about it( Now i love it..)
My suggestion : try to install a linux based distro..i would suggest ubuntu...If you dont want to install another OS then just install virtualbox and install Ubuntu 12.04 or 13.04 and try to mess around with it..
2. Android- If you know a bit about linux then this will get simplified....you will know what a kernel means and how the partitions are different from Windows,why we root our devices,what is open source etc..
3-Next is your choice: You wanna build a ROM,a kernel,a tool is all upto you...first thing will naturally be getting the source...i agree with envious_data here...first try with building a kernel...you will learn loads...my suggestion...first build a kernel without tweaking anything.....i.e. stock kernel...then add tweaks and build(this is the time you'll need a bit of knowledge about C)
I can help you with one thing...if you wanna know a bit more about android then i had written a small guide here a few days back..
Also i have compiled a tool containing a few utilities..which should get you started....but don't rely totally on the tool...study and use the tool simultaneously if you are using it...you can download it through my signature...first link...
have fun coding....
Click to expand...
Click to collapse
Actually I´m using Linux for a while now, and yes I love it, don´t want to use windows anymore. I also began some coding in C but anyway I was lacking a clear guide for where to begin. Maybe I should just begin building a kernel. I think the CyanogenMod Wiki explains that in a good way, doesnt it?
I´ll try your tool then, too! Thanks bro!
mrmigg said:
Actually I´m using Linux for a while now, and yes I love it, don´t want to use windows anymore. I also began some coding in C but anyway I was lacking a clear guide for where to begin. Maybe I should just begin building a kernel. I think the CyanogenMod Wiki explains that in a good way, doesnt it?
I´ll try your tool then, too! Thanks bro!
Click to expand...
Click to collapse
no cyanogenmod wiki contains guides to build cyanogenmod...if you are going for kernel...go for xda university tutorial and if you have any queries about C..you can pm me...i am not an expert but i know a few things...
If u are using my tool then do leave a feedback there as idk if anyone downloaded or used it....and idk if its good/bad/if it has bugs etc...
Perfect...thanks for the help
Gesendet von meinem Xperia S mit Tapatalk
Dark Wraith said:
no cyanogenmod wiki contains guides to build cyanogenmod...if you are going for kernel...go for xda university tutorial and if you have any queries about C..you can pm me...i am not an expert but i know a few things...
If u are using my tool then do leave a feedback there as idk if anyone downloaded or used it....and idk if its good/bad/if it has bugs etc...
Click to expand...
Click to collapse
A tool eh?
Link me to your tool. I'm good at breaking things... And finding bugs
(already found about 15 with my PS4 firmware xD)
Sent from my LT26i using XDA Premium 4 mobile app
Envious_Data said:
A tool eh?
Link me to your tool. I'm good at breaking things... And finding bugs
(already found about 15 with my PS4 firmware xD)
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Its in my signature......first one....
mrmigg said:
Hello!
I've been flashing ROMs for a while and I'm getting interested in development. While there are many guides for how to flash ROMs, etc. I couldn't find any post explaining how to begin if you want to become a dev.
Through some googling, there is useful information, but its dispersed, and I think it would be awesome if someone creates a beginner's guide in our SXS forum.
Things that should be covered in my opinion:
-how to help devs by reporting bugs (how to do it right?)
-understand android
-well how to develop?
I would do such a guide by myself, but I don't I think that I know enough about it.
I would really really appreciate help, as I think this will be very useful for any beginner. I'm not a native speaker, so apologise for any errors...
Sent from my Xperia S using xda app-developers app
Click to expand...
Click to collapse
Envious_Data said:
Well im a bit ahead of you
Im learning to code in "C" (what linux>android is coded i )
Im also learning to code in java (what android apps is coded in (not only that but the google "A.P.I's)
I havnt given too much information here but if you have a question then ask im quite sure me and alot of other people can answer them
~How to help devs
Xda Dev DB has a report a bug button. If a dev makes a thread in dev db then it will have these features
Some custom roms have a report a bug button.
~understanding android
Depends on what exactly you want to understand
~how to develop
I suggest starting with kernels
Try learning to add some changes (cpu OC/aditional patches , govenors and schedulers)
Then once you've mastered kernel editing then look for some of the Cyannogenmod Guides to building for your device
Once you've mastered that then well, you can develop anything that is coded in C anything based on C
Click to expand...
Click to collapse
Created a guide, in case you are interested
http://forum.xda-developers.com/showthread.php?t=2585260
Wooow!Thats awesome! I really appreciate that, thank you for spending your time on that! great man!
Gesendet von meinem LT26ii mit Tapatalk
Right now I' m on holidays, so I hadnt the chance to read everything yet...but... I screenshoted everything so its plane-friendly thank you, really, you made a great job!
Gesendet von meinem LT26ii mit Tapatalk
Dark Wraith said:
Created a guide, in case you are interested
http://forum.xda-developers.com/showthread.php?t=2585260
Click to expand...
Click to collapse
Bam, you got into the XDA-Portal news! Congratulations, another thanks, and a happy new year men!
Gesendet von meinem LT26ii mit Tapatalk
mrmigg said:
Bam, you got into the XDA-Portal news! Congratulations, another thanks, and a happy new year men!
Gesendet von meinem LT26ii mit Tapatalk
Click to expand...
Click to collapse
yeah two times...one for tool and once for guide........thx to the portal mods......anyways...Happy new Year to you too..

Categories

Resources