who can guide me develop custom ROM from Google Source code? - XPERIA X10 Android Development

make android ROM from source code, only generate some .img files,,,,how to generate the .sin file?

If you want that rom to work on the x10 its no use since you can't flash it.
Sent from my X10i using Tapatalk

Related

Editing a custom kernel

Is it possible for me to edit my kernel to allow higher clock frequencies? I am trying to achieve 1700-1800mhz
Can i extract the kernel from my ROM zip?
Do I simply edit 'scaling_available_frequencies','cpuinfo_max_freq' & 'UV_mV_table'?
If so how can I gain write access to this file? Any info appreciated!
SGSII
Latest cm7 nightly
13pointseven said:
Can i extract the kernel from my ROM zip?
Yes just open in win zip win rar etc and extract zimage .
jje
Click to expand...
Click to collapse
How do I open zimage
Sent from my GT-I9100 using xda premium
You can't unzip the zImage and make changes. You'll need to compile the kernel from source yourself.
Ok thanks for the reply. I am currently downloading the cm7 source code from github. Can you help with regard to overclocking?
Sent from my GT-I9100 using xda premium
You could try looking at the original overclocking commit and modifying it.
Why would you ever want 1.8GHz though? It'll almost certainly be unstable.
Sent from my GT-I9100
OK so what I've sussed out so far is as Oxygen ROM is cm7 based I can extract the boot.img from stable cm7 ROM (which is the kernel) and replace it with the Oxygen boot.img thus creating oxygen 2.3.1/wolverine, clockable to 1.6ghz.
I have found a tut on unpacking ramdisk, is this the boot.img?
If so can anybody tell me how id go about further increasing clock speed once unpacked?
Any help appreciated, cheers Andy
Sent from my GT-I9100 using xda premium
Like I said, it's not possible to change the available frequency steps in a compiled kernel. You can't unpack it and make changes, you've got to build it from source.
Thanks for the reply, I believe I have the source and instructions on compiling unsure what to edit. Am I rite in saying the kernel is generic to all devices and need tailoring to suite? Please forgive the noobness I like to dive in deep end. Hopefully studying comp sci in sept if I get my grades so maybe then ill be able to contribute to the forum a little better
Sent from my GT-I9100 using xda premium
As for why, my device runs real smooth even at 500mhz but have a friend who likes to gloat over a cf bench result id like to smash, that and learning more and as much as I can on android OS.
Sent from my GT-I9100 using xda premium

Kernel dev

I've managed to compile the latest source for our lovely device using a tutorial for the Thunderbolt. Is there a general guide related to our devices? Need to know folder structure and such for the 3D.
Sent from my PG86100 using xda premium
thedawn2009 said:
I've managed to compile the latest source for our lovely device using a tutorial for the Thunderbolt. Is there a general guide related to our devices? Need to know folder structure and such for the 3D.
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
HTC hasn't released the latest source for the kernel in 2.17.651.5 yet. What folder structure are you talking about? Compiling a kernel gives you zImage and the modules that work with the kernel you compile. You can use koush's anykernel updater zip which will place zImage into boot.img (kernel+RAMDisk) and copy the modules to \system\lib\modules.
mwalt2 said:
HTC hasn't released the latest source for the kernel in 2.17.651.5 yet. What folder structure are you talking about? Compiling a kernel gives you zImage and the modules that work with the kernel you compile. You can use koush's anykernel updater zip which will place zImage into boot.img (kernel+RAMDisk) and copy the modules to \system\lib\modules.
Click to expand...
Click to collapse
Not folder structure, I wasnt clear my apologies. I have anykernel updater. I was just seeing if there was any specific folder that listed all the compiled modules or if I had to go and manually pull them from each folder. I've been practicing with the .3 source just to get a feel of basic kernel dev.
Sent from my PG86100 using xda premium

Boot.img extract?

i want to extract a boot.img but everytime i try it doesnt get the ramdisk folder out.. is there a boot.img in which i can easily extract the zimage and ramdisk folder just using dsxdia's kitchen?
i cant seem to extract the zimage and ramdisk folder from any kernel?..
galaxys3lover said:
i want to extract a boot.img but everytime i try it doesnt get the ramdisk folder out.. is there a boot.img in which i can easily extract the zimage and ramdisk folder just using dsxdia's kitchen?
i cant seem to extract the zimage and ramdisk folder from any kernel?..
Click to expand...
Click to collapse
Just use android kernel kitchen by Championswimmer. It is truly amazing and does the job very well.
Sent from my LT26i using xda app-developers app
abcdjdj said:
Just use android kernel kitchen by Championswimmer. It is truly amazing and does the job very well.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
i tried .. it still says zimage not found.. can u please explain to me how to for example use kappa or lupus kernel into a rom?
i am creating a rom using stock .ftf file and i want to include a custom kernel into this rom.. how do i go about it??? please help?!
galaxys3lover said:
i tried .. it still says zimage not found.. can u please explain to me how to for example use kappa or lupus kernel into a rom?
i am creating a rom using stock .ftf file and i want to include a custom kernel into this rom.. how do i go about it??? please help?!
Click to expand...
Click to collapse
Oh no no. You are going the Samsung way I guess. In all Sony phones, we dont have a recovery partition. That means that we can't flash kernels from CWM. The only way is fastboot. So no way to include kernel in your rom zip file. Sorry. At the most you can only recommend users to use a particular kernel.
Sent from my LT26i using xda app-developers app
abcdjdj said:
Oh no no. You are going the Samsung way I guess. In all Sony phones, we dont have a recovery partition. That means that we can't flash kernels from CWM. The only way is fastboot. So no way to include kernel in your rom zip file. Sorry. At the most you can only recommend users to use a particular kernel.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
OHHHH!!... but in the tutorial by nero young on how to build a custom rom .. he has a sk17i and he uses his own custom kernel when he builds the rom... http://forum.xda-developers.com/showthread.php?p=26283930
so if i cant use a custom kernel .. how do i extract the kernel.sin into the rom?
Basically you just can't flash kernel with the phone.
Usual practive in our phones is to include th boot.img in the rom file and ask it to be extracted and flashed via fastboot through pc.
Hope it helps
Don't know about the tuto
galaxys3lover said:
OHHHH!!... but in the tutorial by nero young on how to build a custom rom .. he has a sk17i and he uses his own custom kernel when he builds the rom... http://forum.xda-developers.com/showthread.php?p=26283930
so if i cant use a custom kernel .. how do i extract the kernel.sin into the rom?
Click to expand...
Click to collapse
You don't have to worry about the kernel when building a rom on stock rom. Just work on the system and you should have a proper working rom.
Sent from my LT26i using xda app-developers app
abcdjdj said:
You don't have to worry about the kernel when building a rom on stock rom. Just work on the system and you should have a proper working rom.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
THANK YOU SO MUCH FOR YOUR HELP!!
so i just skip the step when he says i have to add a custom kernel... and not add any kernel at all??..
i mean should i atleast extract the kernel.sin into the working folder ..??
am using dsxdia's kitchen..
galaxys3lover said:
THANK YOU SO MUCH FOR YOUR HELP!!
so i just skip the step when he says i have to add a custom kernel... and not add any kernel at all??..
i mean should i atleast extract the kernel.sin into the working folder ..??
am using dsxdia's kitchen..
Click to expand...
Click to collapse
Yes. Kitchen requires a kernel for the working folder. Btw why do you need kitchen? If you need any help for developing your rom, just pm me.
Sent from my LT26i using xda app-developers app
I am just learning ROM development.. and I saw this tutorial by Nero young and thought that was the way to do it .. what other way to do it??
Sent from my GT-I9300 using Tapatalk 2
galaxys3lover said:
I am just learning ROM development.. and I saw this tutorial by Nero young and thought that was the way to do it .. what other way to do it??
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Dude you can directly add root and busybox.and whatever you want. Check your pm.
Sent from my LT26i using xda app-developers app
Hi,
You can use the attached META-INF folder. It has only the basic stuff like basic symlinks and permissions required for the rom to work properly. Just check the comments in the updater-script to know where to add your tweaks.
Good luck developing
abcdjdj

[Q] Perform ./extract-files.sh without device?

I am trying to compile a kernel for LGE-P690 from CM ICS source but i don't have the device in my hand i searched all over the net for vendor files but i was unsuccessful in finding vendor files for ics but i found one for gingerbread so is there anyway i could perform ./extract-files.sh without device or can i convert gingerbread vendor files to ics if so how elaborate and tell me please. I am in desperate need for help.
Sent from my LG-P350 using Tapatalk 2
Chain Hacker said:
I am trying to compile a kernel for LGE-P690 from CM ICS source but i don't have the device in my hand i searched all over the net for vendor files but i was unsuccessful in finding vendor files for ics but i found one for gingerbread so is there anyway i could perform ./extract-files.sh without device or can i convert gingerbread vendor files to ics if so how elaborate and tell me please. I am in desperate need for help.
Sent from my LG-P350 using Tapatalk 2
Click to expand...
Click to collapse
If theres not already a master ICS source for your phone(No device tree),then yes you have to use the custom ICS rom on your phone so it can copy the right proprietary files to the source you repoed,or it will not run,you will get bootloops or a soft brick.
eugeneeaster18 said:
Hey, do you have a noobs guide on making a device tree. I know how to compile cyanogenmod, but I have this low legacy device, the Samsung Dart, and it doesnt have a device tree. I want to make ics or jb for it, but have not a clue how to make a tree, all my other phones are htc and samsungs, they already have some.
Click to expand...
Click to collapse
http://linux-sunxi.org/Starting_a_CyanogenMod_device_tree
I have the device tree my question is how to perform ./extract-files.sh without device or is there a way to convert gingerbread vendor files to ics.
Sent from my LG-P350 using Tapatalk 2
Anyone help me please
Sent from my LG-P350 using Tapatalk 2
Ignore this post
Sent from my LG-P350 using Tapatalk 2
Ignore this post
Sent from my LG-P350 using Tapatalk 2

[REQUEST] port twrp to smultron

I am a twrp fan and at the moment the only kernel I found including twrp is the lupus. But on my rom's OP lupus kernel is not recommended and the most compatible kernel is nAa 2.6.32. I have pm nAa asking him to build a version of his kernel with twrp but I didn't even got an answer. Then I asked for help on the official twrp site but didn't get answer, too. I have also tried to follow the instructions to build twrp with my own but I'm a completely noob on kernel and recovery developing. My last change was to find a way to decompile lupus and nAa kernels and replace the nAa 's cwm with the lupus' s twrp, but the folder structure wasn't the same. So I decided to ask, kindly for help. Are you a dev /advance user or just know a little about kernel compiling? Do you have a lot of free time? If yes, then try to help me by providing me a working recovery.img or give me a detailed, step to step and noob friendly guide to do it myself!
PS: I'm using smultron and I don't have Ubuntu or cygwin installed on my pc.
Sent from my Xperia Mini using XDA Premium 4 mobile app
Come on! I can provide any file you need and test the alpha or beta build. Also, I installed cygwin.
Sent from my Xperia Mini using XDA Premium 4 mobile app
if you're looking for guides on howto compile twrp, here it is
http://forum.xda-developers.com/showthread.php?t=1943625
an0nym0us_ said:
if you're looking for guides on howto compile twrp, here it is
http://forum.xda-developers.com/showthread.php?t=1943625
Click to expand...
Click to collapse
I know this guide. It is to complicated for me and also I dont have fast internet, so it will take ages to download the sources. Any way to edit an existing boot.img to make it work on my device?
Sent from my ST15i using XDA Premium 4 mobile app

Categories

Resources