Hi guys, I compiled CM10 for galaxy5 but it did not boot because of bad ramdisk, how do I get stock CM10 ramdisk and how to add my device specific changes to it?
Please someone?
You can visit my github it is For gnex but you can use my tools.
Sent from my Galaxy Nexus using xda app-developers app
Will see, anyone else have solution?
Please someone?
dhalham said:
Please someone?
Click to expand...
Click to collapse
have you tried anarkia1976's idea?
I am 'trying'
Sent from my GT-S5830 using Tapatalk
I have the same problem with LG E400. The ramdisk that is generated when building CM10 keeps rebooting the phone. How can I build a proper ramdisk?
Using an old ramdisk from CM9 abd my new kernel and generating a boot.img from that boots the device and I can connect with adb but that's all, I have a blank screen and I can't see CM10 boot animation. Probably *.rc scripts from CM9 ramdisk aren't a good match for CM10.
Related
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
Hi guys, I compiled CM10 for galaxy5 but it did not boot, heres logcat http://pastebin.com/yPKgDwP2
Can anyone help me, why is it not booting?
Anyone?
Please someone?
Sent from my GT-S5830 using Tapatalk
Anyone?
I don't have experience with reading logcats.
But did you pull the device-specific files from your device and use them in your build?
Sent from my Desire S
Hi,
Im developing my kernel for Neo V. And after three days of soft bricking my neo v, i unbricked it with success to know and understand fully how flashtool works.
I have started sourcing and building but am still unsure of many things. Firstly, after building the kernel, may i ask how to build to boot.img? I dont seem to find a universal ramdisk source code but anyways it will be based on ICS. Please help if you know. Also, please preach me on making the boot.img work as it has failed me before in my previous works ive done privately.
Sent from my GT-I9100 using Tapatalk 2
Toolchain also
Sent from my GT-I9100 using Tapatalk 2
Tried searching for guides?on how to proceed further?
Sent from my MT11i using xda premium
brunomars said:
Hi,
Im developing my kernel for Neo V. And after three days of soft bricking my neo v, i unbricked it with success to know and understand fully how flashtool works.
I have started sourcing and building but am still unsure of many things. Firstly, after building the kernel, may i ask how to build to boot.img? I dont seem to find a universal ramdisk source code but anyways it will be based on ICS. Please help if you know. Also, please preach me on making the boot.img work as it has failed me before in my previous works ive done privately.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
This might help you mate http://forum.xda-developers.com/showthread.php?t=1748297
Not these! i need to inject my zImage into the boot.img. doesent work even if i try. just does not flash. flashtool keeps failing.
brunomars said:
Not these! i need to inject my zImage into the boot.img. doesent work even if i try. just does not flash. flashtool keeps failing.
Click to expand...
Click to collapse
there is a bug in the semc S1 bootloader... sometimes if the boot.img isnt of a correct size then the device will not boot... the workaround is to add a "filler" file (which is say 512KB file with junk data) to the ramdisk so as to increase the size of the final boot.img file...
Sent from my MT11i using xda premium
Ghostfreak NB said:
there is a bug in the semc S1 bootloader... sometimes if the boot.img isnt of a correct size then the device will not boot... the workaround is to add a "filler" file (which is say 512KB file with junk data) to the ramdisk so as to increase the size of the final boot.img file...
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Shall add CWM
Sent from my GT-I9100 using Tapatalk 2
Almost every custom kernel includes a recovery!
So you should as well do it!
Just my suggestion
Sent from my MT11i using xda premium
Check it out its out
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
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