[Q] How to make a new Kernel? - Galaxy Ace S5830 General

Hello friends,
sorry for noob question, i want modify a Kernel, but i need the source file or i can use the .zip flashable file? What software i need to do the modify? i.e. I want analyze the BlackHawk kernel and Battery Extender Beta 1 for make a new kernel with the best of both.
Tks!

1- use the search button, or the almighty google. Theres already similar thread before asking howto compile kernel and i've already answered there.
2- u need linux+some linux experience+kernel source+gedit/geany+patience.

It's not easy pal
Sent from my GT-S5830 using XDA

Related

Help for Newbies, All questions & Answers for X10.

Request senior members to help
Hi Guy's,
A similar thread was opened by a forum moderator in another forum so i have contacted Pilot and going to give it a try.
The aim is to help newbies/beginners/anybody by answering any questions/issues they have in this thread, they can ask what ever they want no matter what rom/kernel or anything else they are having difficulty with, a place where they feel no threat for asking such questions.
The thread is to be run by not me but all senior members who are willing to help, the aim is to clear the Dev threads of all the unnecessary questions that are becoming more frequent and making it harder and harder to follow rom development.
For those seeking help, always try and help yourself first, most things can be found here..
http://forum.xda-developers.com/showthread.php?t=678513
If you feel you still need help then fire away, hopefully somebody will have answers for you, please keep questions related to roms in develpopment not stock roms but will cover everything from adb to wlod's.
Please, if you have been helped in anyway by members do not forget to leave thanks.
As usual any new question threads started and not aimed here will be removed by the moderators so please lets keep our development forum clean.
Can i just add that a lot of questions are being asked that can be found in the sticky's, please read those first as most things are covered there.
Thanks guy's for you help.
good idea!
well lets start a little something off then..
1) is there a way to implement voltage control on startup without the need of an app? if so, how?
2) i cant seem to change boot animation. tried changing bootanimation in the normal system/media folder & data/local folder via xrecovery install custom zip file.. any ideas?
thank you!
Awesome idea mate!!
Now anyone can ask questions without creating a new thread or getting burnt!!
@topic: dunno why but my CPU spy seems not to be working, fc'ing all the time even after rebooted. I am on DooM's 3b kernel using J's ROM.
Thank you!!
Warm Regards
kLouD
Sent from my x10i on CM7 custom dk kernel via xda premium app.
Mobzter said:
good idea!
well lets start a little something off then..
1) is there a way to implement voltage control on startup without the need of an app? if so, how?
2) i cant seem to change boot animation. tried changing bootanimation in the normal system/media folder & data/local folder via xrecovery install custom zip file.. any ideas?
thank you!
Click to expand...
Click to collapse
well i got some idea with the bootanimation thing , like the bootanimation.zip file which u want to use .. jus copy it into the system/media folder when it asks for overwrite jus do it no need to flash it ..i did it on Wolf's Rom and it worked flawlessly for me ..hope it works for u too!!
thank me if it helped u !!
kloud_ said:
Awesome idea mate!!
Now anyone can ask questions without creating a new thread or getting burnt!!
@topic: dunno why but my CPU spy seems not to be working, fc'ing all the time even after rebooted. I am on DooM's 3b kernel using J's ROM.
Thank you!!
Warm Regards
kLouD
Sent from my x10i on CM7 custom dk kernel via xda premium app.
Click to expand...
Click to collapse
dude like even i had this problem , on Ericks Rom ..coz i used to update the patchs released by him on top of another and another .... like i used to follow the steps as mentioned by Erick .. but still i used to get FC's .. so what i did is once i flashed the full ROM (cleared everythin) and flashed the latest Patch and voila !! my cpu Spy started working again .. i think that problem comes when we try to update once patch on top of another and so on ...
jus gave my opinion !!
hope it helps you !!
thank me if it did !!
acerulz said:
dude like even i had this problem , on Ericks Rom ..coz i used to update the patchs released by him on top of another and another .... like i used to follow the steps as mentioned by Erick .. but still i used to get FC's .. so what i did is once i flashed the full ROM (cleared everythin) and flashed the latest Patch and voila !! my cpu Spy started working again .. i think that problem comes when we try to update once patch on top of another and so on ...
jus gave my opinion !!
hope it helps you !!
thank me if it did !!
Click to expand...
Click to collapse
Ah! Yes, now that you mention it, Thanks for reminding me. I forgot to make a clean install. Will do so now!!
Thanks once again.
Warm Regards,
kLouD
Sent from my x10i on CM7 custom dk kernel via xda premium app.
GOOD IDEA!
Very good idea, I also think this should be sticky.
But:
It should have a better thread name like:
Questions regarding roms FCs/Errors/Reboots/WLODs go HERE!
Or something that could let extremely clear that if they want to ask something that are not directly a development(but regarding it) should go in here.
Another but, rsrsrs:
The thread should remain only about roms that are developed in here, anything regarding original SE rom, unless tweaked and posted in this area should go to Q&A.
You deserve a thanks!
acerulz said:
well i got some idea with the bootanimation thing , like the bootanimation.zip file which u want to use .. jus copy it into the system/media folder when it asks for overwrite jus do it no need to flash it ..i did it on Wolf's Rom and it worked flawlessly for me ..hope it works for u too!!
thank me if it helped u !!
Click to expand...
Click to collapse
was going to try it after i updated my rom files and weirdly enough it just started to work. appreciate the help though!
TheRuan said:
Very good idea, I also think this should be sticky.
But:
It should have a better thread name like:
Questions regarding roms FCs/Errors/Reboots/WLODs go HERE!
Or something that could let extremely clear that if they want to ask something that are not directly a development(but regarding it) should go in here.
Another but, rsrsrs:
The thread should remain only about roms that are developed in here, anything regarding original SE rom, unless tweaked and posted in this area should go to Q&A.
You deserve a thanks!
Click to expand...
Click to collapse
Thanks for the support buddy and the thanks.
I did wonder about the name, maybe something clearer is needed, will see how it goes but thanks for the advice.
Your other point is valid but it would be better if we do not put restrictions on what can be asked in the op as it defeats the whole idea of the thread.
I think that you should also have a set layout for each problem that way it's easier for people to understand what's going on and it's also easier for other people with the same problem to search
Just a thought
yournameshouldbehere said:
I think that you should also have a set layout for each problem that way it's easier for people to understand what's going on and it's also easier for other people with the same problem to search
Just a thought
Click to expand...
Click to collapse
Hopefully buddy if the question has been answered before they will learn to use the thread search function.
smartgardens said:
Thanks for the support buddy and the thanks.
I did wonder about the name, maybe something clearer is needed, will see how it goes but thanks for the advice.
Your other point is valid but it would be better if we do not put restrictions on what can be asked in the op as it defeats the whole idea of the thread.
Click to expand...
Click to collapse
No, I mean, no restrictions at all should be done when they question, it should be more like advises, something like:
inside the thread > First post:
You can ask/question anything in here but keep in mind this is guided for ROM developed in xda not for stock roms.
Questions regarding stock rom may be question on Q&A if not already answer that, if you have doubts regarding the best place you can try here no problems with that.
The only request for the thread should be that the questions must be related some how to errors/failures/wlods after using some apps or tweak, requests, doubts regarding new stuff.
As stock doubt like:
Does x10 flash led works good? should i buy a x10? rsrsrsrs
With time a FAQ can be added to the first post to keep the thread clean and be even more helpful to newbies.
Mobzter said:
2) i cant seem to change boot animation. tried changing bootanimation in the normal system/media folder & data/local folder via xrecovery install custom zip file.. any ideas?
Click to expand...
Click to collapse
If you made your own Bootanim make sure the zip is uncompressed (ie the files were added with "store" as the compresion other wise it will no worky
then just like @acerulz said adb push or copy it over the excisting one @ system/media/
Pvy.
well i am using stock 2.3.3 rom (not rooted)
now my Questionis are
1) any other 2.3.3 rom will all function working(most of other roms are not having teathering or wifi working perfecly)
2) i am not getting Background sound while playing game like Asphalt5 or AVATAR.
can any one provide me solution for both question.
thank you
watting for Quick Reply ....
chauhanjayc said:
well i am using stock 2.3.3 rom (not rooted)
now my Questionis are
1) any other 2.3.3 rom will all function working(most of other roms are not having teathering or wifi working perfecly)
2) i am not getting Background sound while playing game like Asphalt5 or AVATAR.
can any one provide me solution for both question.
thank you
watting for Quick Reply ....
Click to expand...
Click to collapse
Hi Buddy,
As your issues you are saying with the games are to do with stock then i do not think anybody here can help you, ask in the Q&A forum see if anybody is having the same problem.
With the wifi, all the roms i know of are fully working, read through some threads and see which rom you would like, it is your personal choice but which ever one you choose there will always be updates to iron out any problems if there are any.
Mac address change
I have a question/request:
How do we change Mac address?
That it is possible I'm sure it is, the problem is that the maximum I could do was to change it for some time(until the adapter was turned off and on again.
I need this to be able to use it on my job as I have only the right to have one mac address.
Being able to use communicator at the office would be very nice, as for now i have to carry the laptop around.
Sometime ago I've tried to question this in Q&A but got no good answer/no help
[Q] X10 Mac Address Change/Spoof How to?
In there I was guided to check this:
Changing(spoofing) MAC address
If someone could help me on this?
In my opinion this would be something that could even become a new option in all roms if the Devs that have knowledge to make it happen like it.
Thanks in advance!
hey devs..
nice to have this most wanted thread..
can any one update me with the upgradation of the current WB 4.0.4 rom stock kernel like 4.1 and so on..
thanks in advance..
bhupengaitonde said:
hey devs..
nice to have this most wanted thread..
can any one update me with the upgradation of the current WB 4.0.4 rom stock kernel like 4.1 and so on..
thanks in advance..
Click to expand...
Click to collapse
Hi Buddy,
What exactly do you want to know, what rom are you using now, are you already on wolfs rom?
colossus said:
Hi Buddy,
What exactly do you want to know, what rom are you using now, are you already on wolfs rom?
Click to expand...
Click to collapse
hey dude..
i am presently on WB 4.0.4 stock rom. it sometimes is laggy.. not always.. i was bit curious abt the new version where this beautiful rom is even enhanced..
damn this rom is awsome.. battery is also reasonably consumed..
upgradation is definitely awaited and appreciated..
thanks in advance..
Hi guys,
I'm new to modifying Android's roms and here is my problem.. I bought a used SE x10 which has 2.1 firmware.. I heard about 2.3.3 official SE update and went to there website, backed up my data, opened my PC companion to update but it surprised me to keep telling me that my phone is "already up to date"!!
I asked about that and someone told me if the guy who used the phone before me did install a custom rom to my phone before, official ways to update my phone wont work..
so please help and advise me.. either by giving me a solution to that, or to give me a link where i can find answers for my questions..
thank you in advance for your support..
my device info found at "about phone":
Model number: X10a
Firmware version: 2.1-update1
Baseband ver.: 2.1.54
Kernel ver.: 2.6.29
Build number: 2.1.A.0.435

Need help with ICS kernel

Hey guys, I am working on ICS. I am a total noob at kernels aka I can't do anything, I need to unpack the kernel and change the init.rc, so it would be great if one of ya'll could help me with it: HERE IS THE LINK TO THE STEPS, there are only two steps so if you could it would be very helpful. Here is the link to the kernel: HERE and here is the link to the github of that kernel: HERE
Again, I appreciate anyone that helps me.
So just so I'm clear. You can't code yourself so you made this thread hoping to get someone else to do it for you? Or am I missing something.
Sent from my MB860 using xda premium
http://lmgtfy.com/?q=Unpack+kernel
theres bunchload of kernel unpacking tutorial if u know howto use the search button
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[Question] How do I edit a ROM??

Hi, i'm new to the ROM building/editing stuff. I've read a lot about building ROM's from scratch, but thats not what i'm interested in. I would like to know if, and if i can how, i can edit an existing rom for the Samsung Infuse 4g such as the stock rom and replace stock apps. I want to just edit some of the system/apps like the stock launcher, stock messaging app, etc and replace them with different ones that i already have downloaded. I don't want to edit any of the really deep/internal stuff just the stock applications that are loaded on the phone. Pretty much i want to theme it i guess you could say. Can anyone help me out or point me in the right direction?? Thanks in advanced. I'm looking forward to working with custom ROM's.
bump. can anyone help a guy out??
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
How do you flash new rom on your samsung. Is it a .zip file and you flash it via cwm?
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600
cjtulowiecki said:
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
Click to expand...
Click to collapse
Assuming your file is a .zip file, you could just replace the applications you want (found in the "system/app" folder) on the zip, and sign it afterwards with a tool like AndroidSigner. It works for me
dsixda's kitchen
I haven't used this, but I have seen other ROM modders talk about this application called Kitchen (by dsixda). The link to the post is http://forum.xda-developers.com/showthread.php?t=633246
From the looks of it, it fits your bill.
you have Output the /system and do some work like change themes and other stuff and their is guys in Android Development and Hacking>Android Software Development
First off, thanks for all your replies, I appreciate getting some assistance. To answer most questions, yes I have the rom as a .zip file and flash it with cwm. I will try to replace the apps I want and then look into signing it ( which I don't know a whole lot about, but ill Google it.)
Sent from my SAMSUNG-SGH-I997 using XDA
Yeah so the apps are in /system/apps/ You can replace them easily, but You have to set good permisions
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600

boot.img creation from the stock ftf

Hi everyone,
I'm noob here. I'm using Xperia S. And now learning mote about android.
However I have a question, how can I make boot.img from my ftf file?
Sure, I extracted the ftf, decrypt the kernel.sin into kernel.elf.
From kernel.elf, I decrypt it again and get 4 files, one image (I suppose it is kernel zImage), one ramdisk.gz, one file forgotten and another is elf.4.
Okay, now the problem comes.
The main purpose of me is to change the bootlogo of my Xperia S.
I searched for a day to change the bootlogo, most need to add the rle file into boot.img file (ramdisk).
For sure I read through the site how to unpack, edit and repack the boot image.
The kernel and ramdisk of mine are extracted from ftf but not existing custom Rom,
1. Can I directly use the mkbootimg program to create boot.img? Will it work out?
2. Do I need to aware of any parameters or setting for Xperia S? Since I worried that different devices have diff setting.
3. Is it better to make it on linux? I found mkbootimg.c in c language file but not precompiled program as tutorial, the link given is broken. Can work also?
Sorry, I'm really quite new and very noob, I tried searching and many other things, but still can't figure it out.
Hope that pros here can help me...
Sent from my LT26i using xda app-developers app
Trevor Chuah said:
Hi everyone,
I'm noob here. I'm using Xperia S. And now learning mote about android.
However I have a question, how can I make boot.img from my ftf file?
Sure, I extracted the ftf, decrypt the kernel.sin into kernel.elf.
From kernel.elf, I decrypt it again and get 4 files, one image (I suppose it is kernel zImage), one ramdisk.gz, one file forgotten and another is elf.4.
Okay, now the problem comes.
The main purpose of me is to change the bootlogo of my Xperia S.
I searched for a day to change the bootlogo, most need to add the rle file into boot.img file (ramdisk).
For sure I read through the site how to unpack, edit and repack the boot image.
The kernel and ramdisk of mine are extracted from ftf but not existing custom Rom,
1. Can I directly use the mkbootimg program to create boot.img? Will it work out?
2. Do I need to aware of any parameters or setting for Xperia S? Since I worried that different devices have diff setting.
3. Is it better to make it on linux? I found mkbootimg.c in c language file but not precompiled program as tutorial, the link given is broken. Can work also?
Sorry, I'm really quite new and very noob, I tried searching and many other things, but still can't figure it out.
Hope that pros here can help me...
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
how did you decrypt kernel.sin ? can you explain step by step ? Im also a noob
ShivangDave said:
how did you decrypt kernel.sin ? can you explain step by step ? Im also a noob
Click to expand...
Click to collapse
For how to decrypt the kernel.sin, you can use Flashtool (not Sony official one)
Under Tools (perhaps I remember correctly), there is a option about decrypt SIN, and then you can choose the kernel.sin you want to decrypt.
Have to tried kernel kitchen?
neectron said:
Have to tried kernel kitchen?
Click to expand...
Click to collapse
Yes, I tried Kernel Kitchen by champion at that time after I asked this question since nobody answer this thread.
I use command way to perform this boot.img creation also. It work that time. now forgot some part dy.
Trevor Chuah said:
Yes, I tried Kernel Kitchen by champion at that time after I asked this question since nobody answer this thread.
I use command way to perform this boot.img creation also. It work that time. now forgot some part dy.
Click to expand...
Click to collapse
Oh,now I see question is so old
neectron said:
Oh,now I see question is so old
Click to expand...
Click to collapse
yeah, very old. haha
Anyway, thank you for your kindly reply.
Moving my way toward developer (super noob developer). haha

[Help] Flashing compiled kernel

Hello guys,
I have compiled the stock kernel from source for kenzo and got the Image and Image.gz files.Source
Now what are the next steps to flash the kernel/make it bootable?
Please help. Thx
first of all this thread is in wrong forum,please use q/a section for asking questions.
coming to topic,you can either take stock kernel,unpack and replace your Image to it, repack it and flash or your can use varunchitre's or osmosis' anykernel flashable zip.
neonkat said:
first of all this thread is in wrong forum,please use q/a section for asking questions.
coming to topic,you can either take stock kernel,unpack and replace your Image to it, repack it and flash or your can use varunchitre's or osmosis' anykernel flashable zip.
Click to expand...
Click to collapse
Sorry and thx.
I think my question wasnt clear. Sorry for that. I want to generate dt.img of stock kernel, that wlan module (is that required? If yes then how to generate).
In stock kernel there is no dtbtool in scripts. Please help me
Devam03 said:
Sorry and thx.
I think my question wasnt clear. Sorry for that. I want to generate dt.img of stock kernel, that wlan module (is that required? If yes then how to generate).
In stock kernel there is no dtbtool in scripts. Please help me
Click to expand...
Click to collapse
*for generating dtb,you need dtbtool(get DtbtoolCM[Cm kernel]from hereand check its readme for command).
*modules have now been disabled and are built along with kernel,so no need for them.
building dtb is not necessary everytime unless and until you play with any dtsi file.
look at here

Categories

Resources