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
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
hell_lock said:
Click to expand...
Click to collapse
You upgrade a kernel version, by upgrading the kernel updates for that version.
lithid-cm said:
You upgrade a kernel version, by upgrading the kernel updates for that version.
Click to expand...
Click to collapse
Can u elaborate sir?
Sent from my GT-S5360 using XDA
hell_lock said:
Can u elaborate sir?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
It is pretty self explanatory.if you want a 3.0+ kernel, then merge a 3.0+ kernel into your source. Most aosp kernel track from the linux kernel. I am not going to get into the step by steps about it, that you can google.
lithid-cm said:
It is pretty self explanatory.if you want a 3.0+ kernel, then merge a 3.0+ kernel into your source. Most aosp kernel track from the linux kernel. I am not going to get into the step by steps about it, that you can google.
Click to expand...
Click to collapse
But the 3.xx kernel sources are not released for my phone so what should I do?
Sent from my GT-S5360 using XDA
hell_lock said:
But the 3.xx kernel sources are not released for my phone so what should I do?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
One of 4 things, Wait, merge from the linux kernel, merge from a 3.0+ device with similar hardware, or cry about it.
lithid-cm said:
One of 4 things, Wait, merge from the linux kernel, merge from a 3.0+ device with similar hardware, or cry about it.
Click to expand...
Click to collapse
I will choose option 3. Do u know what files should be changed?
Sent from my GT-S5360 using XDA
hell_lock said:
I will choose option 3. Do u know what files should be changed?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
No, pending your source, and the other source, there are way to many different changes that could take place. I would use a tool like beyond compare and diff the folders to see what files are different, then based on your experience, start making changes, compile test, rinse and repeat.
lithid-cm said:
No, pending your source, and the other source, there are way to many different changes that could take place. I would use a tool like beyond compare and diff the folders to see what files are different, then based on your experience, start making changes, compile test, rinse and repeat.
Click to expand...
Click to collapse
I am ready to do that.. Can u tell me how can I reduce the chances of hard brick by doing this intensive testing?
Sent from my GT-S5360 using XDA
hell_lock said:
I am ready to do that.. Can u tell me how can I reduce the chances of hard brick by doing this intensive testing?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Before you start working on it, nandroid backup your system. Its just the kernel, so you can always revert via recovery. Though you should already know that.
lithid-cm said:
Before you start working on it, nandroid backup your system. Its just the kernel, so you can always revert via recovery. Though you should already know that.
Click to expand...
Click to collapse
One wrong step in kernel can hard brick my phone right? Seniors in my forum have taught me not to mess with a kernel unknowingly cuz it has high chances of hard bricking the phone.
Sent from my GT-S5360 using XDA
hell_lock said:
One wrong step in kernel can hard brick my phone right? Seniors in my forum have taught me not to mess with a kernel unknowingly cuz it has high chances of hard bricking the phone.
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
That is crap the kernel gets initialized during boot, unless your kernel is flashing a recovery as well, or your using a device without a dedicated recovery?
What do you mean by a dedicated recovery? I am using a samsung phone and we have a recovery mode and a download mode. We have both a permanent cwm and a zip fiw cwm(temporary).
Sent from my GT-S5360 using XDA
the dedicated recovery is a partition on is own, so lets say your mtd/emmc is structured like this
boot
recovery (this should be the dedicated recovery)
system
data
therefore you will be able to delete/flash/reflash the boot without affecting the tablet/system/other partitions
There are some devices that have a different recovery structure (tablets based on the rockchip soc)
Thanks for the help you both! I will learn more about partitions in my phone and come back on this thread.
Sent from my GT-S5360 using XDA
I guess most Samsung phones doesn't come as a recovery partition, it comes as an extra ramdisk as mentioned here.
Anyways I've flashed boot.img which I've compiled, and the first boot was a bootloop, of course. And after doing some changes, compiled again and flashed, and it was a success. So I don't think Kernels can hard-brick the device (IMO though).
For samsung...as long as you have download mode your in the clear...with download mode you can use Odin or heimdall to flash a working kernel or even stock software to return to stock.
Samsungs do not have a partition for recovery...its its own ramdisk..."recovery-ramdisk.img" so you can lose both recovery and boot with a kernel but with download mode and heimdall all you have to get is a working kernel with a working recovery, open terminal and type "heimdall flash --kernel kernelnamehere.includinganyfileextention" so "heimdall flash --kernel boot.img"
Sent from my SGH-I997 using Tapatalk 2
You guys rightly said! We have a ramdisk included with a zImage in a boot.img. I have also seen cases where the recovery mode doesnt come but the download mode is still intact.
A guy from our forum once flashed a s2 kernel on my Y and he hard bricked it. No modes were opening on his phone but according to the theory given by you guys, atleast the download mode should have been working! Care to explain me why that happened? I think the same thing will happen with me when I use sources of other phone for my kernel.
Sent from my GT-S5360 using XDA
So what I read from this thread, if you don't have a recovery dedicated for your device you would hard brick it???
Coz I tried n tested some kernels
They didn't work out -but it was a soft brick
Not a hard brick
I had not made those
Now I'm willing to try once I get some hold on building kernels
And I have a Sony Xperia Neo V
It doesn't have stock recovery like Samsung so if I make or atleast try to make kernels on my own, would I risk my phone getting hard bricked???
Or just soft brick?
Ty for your time!
Sent from my MT11i using xda premium
Can someone provide me the perfect tutorial to build a rom ? From the start using a base rom plz tell the environment required and how can compile ?? im asking this coz i tried using cygwin to create a touchwizz themed cm9 rom ended with no result either the phone wont boot or i get status 6 error !!! Plz anyone help
Sent from my GT-S5830 using xda premium
You know codes.
Using a base is "porting" a ROM not building one.
There are a bunch here on porting, but in the end its a lot of trial and error. Reading logcats, an working from there.
Since the ported ROM wasn't built for your device, there's no specific directions on how to do it and have it work for every device out there.
Sent from my PC36100 using Tapatalk 2
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
Anyone plz help.i m trying to create a jelly bean custom rom.plz tell me how to create jelly bean custom rom
i can tell yur not a developer, u can build from source provided by google or CyanogenMod etc... They all have guides how to build depending on ur device. the process requires a computer on a Linux system such as Ubuntu or others. The requirements are posted around google.
Sent from my SPH-D710 using Tapatalk 4 Beta
q
zimlokks said:
i can tell yur not a developer, u can build from source provided by google or CyanogenMod etc... They all have guides how to build depending on ur device. the process requires a computer on a Linux system such as Ubuntu or others. The requirements are posted around google.
Sent from my SPH-D710 using Tapatalk 4 Beta
Click to expand...
Click to collapse
i am not a developer and dont wana be...just want to create an update of jelly bean for my mt6575 gingerbread device... anyone can help
thanks
whats the brand and name of the device, it all depends on how many people actually have the device and if its capable of running the Jellybean OS
Sent from my SPH-D710 using Tapatalk 4 Beta
Gfive
zimlokks said:
whats the brand and name of the device, it all depends on how many people actually have the device and if its capable of running the Jellybean OS
Sent from my SPH-D710 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Gfive luminous e660 running on mt6575 gingerbread.i successfuly installed cwm recovery 5.5 on it.
well it may be possible, building from source that is. but i myself cant help, dont have a computer in hand, do u know if they have released kernel source? if so that can help with custom kernels, maybe leading to ics, even jellybean if its possible. But kernel source is highly preferred, since it can help the building process. also since this phone isnt a knows device here were i am at i cant help or troubleshoot.
Sent from my SPH-D710 using Tapatalk 4 Beta
Q
I m really thankful you reply to my post.there is no source of kernel.my kernel version is 2.6.35.7
Q
zimlokks said:
well it may be possible, building from source that is. but i myself cant help, dont have a computer in hand, do u know if they have released kernel source? if so that can help with custom kernels, maybe leading to ics, even jellybean if its possible. But kernel source is highly preferred, since it can help the building process. also since this phone isnt a knows device here were i am at i cant help or troubleshoot.
Sent from my SPH-D710 using Tapatalk 4 Beta
Click to expand...
Click to collapse
No kernel source.kernel version is 2.6.35.7..is there any way to create from dsixdas android kitchen?
not really i think, u can always try but the chances of it actually working are slim as they can be.
Sent from my SPH-D710 using Tapatalk 4 Beta