[INFO]Init.D Support For Stock Rom/Kernel[Devs] - Micromax A110

As per XDA rules, developers are not allowed to release their rom with stock kernel or Custom kernel till its Source Code is released .
As we know Kernel (Boot.img) plays important role in adding init.d support in the rom for executing several Tweaks .... I searched around XDA and the web on about Adding Init.D support to the Custom Rom.
i got XDA Thread HERE.. i got it working for my rom
Developers who are about to release their Rom may take a look at it and can activate init.d support to their roms
Hope it Helps Others!

Related

[Kernel Source] ToAsTcfh-Eclair-2.6.27 {Updated- Apr30, 2010} Murder-Kernel

this is my 2.6.27 source for eclair builds of android. this has been a long time project with lots of help from some great friends. i consider this a community kernel so all are welcomed to it, to use in their builds or what not. all thats asked is for all who use it, to give credit for using this source. just as u would for using anyone elses work. thats just to be fair to those who help maintain this kernel.
thanx:
maejrep
flipz
quietblongs
phhusson
MrPippy
tmzt
bzo
and if i forgot u ill add u later
current commits:
-msm_hw3d support for Donut and Eclair builds (ported patches made by phhusson and MrPippy)
-synaptics touch driver (backported from .29)
-msm_camera (backported from .29 by maejrep)not yet working
-compcache sources
-overclocking and the ability to scale all current freqs (major thanx to phhuddson, bzo, and maejrep for all the help)
-backported ext4 support
-fixed freq tables to show correct clock speeds
-backported BFS (Brain **** Scheduler) version 316
new commits and patches are welcomed. please submit them for review.
http://github.com/toastcfh/htc-2.6.27-heroc
Enjoy
reserved
...........................................
Good job Hopefully these fixes make it into all the awesome ROMs out there (yours included)
So this is the much anticipated OpenGL and Multitouch?
I actually grabbed the source from github /jhansche/htc-2.6.27-heroc last night. Got it compiled and running and I have to say it works nicely. Loving the OpenGL, but especially the multi-touch!
You guys are awesome. Thank you for all your hard work!
PRGUY85 said:
So this is the much anticipated OpenGL and Multitouch?
Click to expand...
Click to collapse
Sure is. This is the code base that got me the highest-on-Hero-so-far 29.9fps bench on neocore that I posted a screenshot of in his thread.
Amazing work guys
damn it I really need to get a linux setup so I can compile the kernels. I WANT THIS!!!!!! AAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGG!
Hope this gets incorporated soon into the latest 2.0.1/2.1 AOSP ROMs...also is this compatible with Gumbo's Kernel?
PRGUY85 said:
Hope this gets incorporated soon into the latest 2.0.1/2.1 AOSP ROMs...also is this compatible with Gumbo's Kernel?
Click to expand...
Click to collapse
this is a kernel it is not a rom.
PRGUY85 said:
Hope this gets incorporated soon into the latest 2.0.1/2.1 AOSP ROMs...also is this compatible with Gumbo's Kernel?
Click to expand...
Click to collapse
i'm pretty sure that this is a kernel, so your question's a bit confusing. maybe i'm just delirious?
I know its a kernel dude....still it can get incorporated into those ROMs builds like everyone has been waiting to do so...
What I'm saying is that with this now the ROM makers can get OpenGL and Multitouch on their ROM releases, something everyone has been waiting for.
soooo who wants to be so nice as to compile this to zip so people can flash it
PRGUY85 said:
I know its a kernel dude....still it can get incorporated into those ROMs builds like everyone has been waiting to do so...
What I'm saying is that with this now the ROM makers can get OpenGL and Multitouch on their ROM releases, something everyone has been waiting for.
Click to expand...
Click to collapse
yes that is true but you also asked if it was compatable with gbhils kernel that is why it was a little confusing.
Avalaunchmods said:
soooo who wants to be so nice as to compile this to zip so people can flash it
Click to expand...
Click to collapse
lol I wanst going to be the one to ask but I was kinda hoping someone would.
PRGUY85 said:
I know its a kernel dude....still it can get incorporated into those ROMs builds like everyone has been waiting to do so...
What I'm saying is that with this now the ROM makers can get OpenGL and Multitouch on their ROM releases, something everyone has been waiting for.
Click to expand...
Click to collapse
Yes, this codebase (the last few days' commits at least) will enable hw3d and multitouch, and can be applied to any .27 kernel that is based on the htc-heroc-2.6.27 code that HTC released (which I should hope is all of them )
And yes, any kernel can be integrated into a ROM, as long as the ROM doesn't rely on custom kernel changes (e.g., squashfs is not enabled in this codebase, but if the developer already has squashfs in his own kernel codebase, he can apply these latest commits to his code, and compile a new kernel with both squashfs and gl+multutouch support, if that's what his ROM requires)
wtphoto said:
yes that is true but you also asked if it was compatable with gbhils kernel that is why it was a little confusing.
Click to expand...
Click to collapse
Yea I'm no tech guy/developer...just asking if on a ROM a dev could include this as well as the ability to setcpu which is available by way of Gumbo's kernel.
wtphoto said:
lol I wanst going to be the one to ask but I was kinda hoping someone would.
Click to expand...
Click to collapse
im excited so i had to go for it
wtphoto said:
lol I wanst going to be the one to ask but I was kinda hoping someone would.
Click to expand...
Click to collapse
You can't add just a kernel to an update.zip and flash it -- kernel gets combined into the boot.img, which is included in the update.zip for every ROM. boot.img also has the stuff that goes into / (like init.rc scripts), and so not every ROM will be compatible with the same boot.img, and you can't just flash a boot.img by itself via zip (you can via flash_image in recovery, but still, some ROMs require the boot.img that it was designed for, due to init ramdisk )
So, this is more something for the ROM developers and the not-so-faint of heart. In reality, it's not that hard to build the boot.img, and you can actually unzip your favorite ROM's zip, unpack the boot.img, then rebuild a new boot.img using that ROM's initrd and your own custom kernel, then flash just the boot.img using flash_image, and it won't even require a wipe. That's again assuming the ROM doesn't rely on anything custom in the kernel it was released with.
PRGUY85 said:
Yea I'm no tech guy/developer...just asking if on a ROM a dev could include this as well as the ability to setcpu which is available by way of Gumbo's kernel.
Click to expand...
Click to collapse
ok I see what you where asking now majrep already answered most of it but yeah I belive that they could get the setcpu thing going in this kernel.

[KERNELS] Looking for Kernel Developers for Kernel Manager!

Hey everyone! I wanted to introduce a new project with a very simple but ambitious goal: create a place where all kernel developers can submit kernels easily and reach a much wider audience with ease.
Using Kernel Manager to flash kernels takes less than 30 seconds, generally, and it is extremely simple for end-users to find a kernel, filter by kernel features (BFS, CFS, HAVS, SBC, etc) download/install kernels, and submit ratings for their favorites.
We need from kernel developers like YOU! Submitting a kernel to Kernel Manager is totally free and we even provide hosting for you! Submitting kernels is easy!
If you use IRC, join us in freenode in #kernel-manager!
THIS LINK IS FOR KERNEL DEVELOPERS SPECIFICALLY! Go to http://kernels.teamw.in and register for an account! Once it's approved, you can easily enter new kernels, which immediately show up in the app. The app is currently available in the market.
Please feel free to provide me with any feedback you have, or feature requests in order to make this a great tool for all of android to utilize!
Also, I posted the official CyanogenMod kernel in Kernel Manager!
So if there aren't any kernel devs who have uploaded their kernels to KM yet, you can at least see the flashing process and if it's something you'd use .
Enjoy!
This is an awesome idea. Have you
tested with gtab? I know rom manager had trouble flashing files.
Sent from my ADR6300 using Tapatalk
Oozura said:
This is an awesome idea. Have you
tested with gtab? I know rom manager had trouble flashing files.
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
I haven't tested it - but there's a kernel there if someone is willing to test it. I double checked the flashing process and it *should* work, but...
i know shinzul is just here for kernel manager but if team win wants to take on the massive project that is the gtab ( hardware acceleration on aosp gingerbread/emmc mounting issues / clockwork mod) this thing could really be awesome... we have two kernel devs for the gtab pershoot and clemsyn
Cool app! Right now only the cm7 kernel is available for the gtab. Hopefully more get added
Calukin and pershoot would be amazing if they could get these into Kernel Manager -- I've been anticipating the day!

SGH-I727R (Rogers) source now available!

At the usual place, Samsung OSRC. I'll get a kernel up soon
Incidentally this is the 2nd time Samsung has responded to an open source release request within 24 hours, loving it
Sent from my SAMSUNG-SGH-I727 using XDA App
Nice Find!
Sweeeeet.....
Sent from my SGH-I727R using Tapatalk
not development topic
Where can i find I727R stock kernel?
I'll have it posted in my kernel thread shortly, along with overclock/uv kernel. Stock at&t kernel is already there.
Sent from my SAMSUNG-SGH-I727 using XDA App
Stock rogers and AT&T kernel CWM zips are now posted in my kernel thread, you can use these to restore kernel/init script/lights driver that are replaced by my custom kernel.
If there's any interest in an un-modded but re-packed AT&T/Rogers kernel to enable init.d support, adb insecure, etc. I can put one of those together too - I'm sure some people would like to run a ROM with init.d support but not a modified kernel.

[KERNEL][MTD][EI22]EpicMTD-TWKernel-v1.0[GPL]

EpicMTD-TWKernel-v1.0​
Since there aren't a lot of different kernels available yet for running TouchWiz(TW) roms on MTD, and I've been rather bored while on winter break from college, I decided to put together a basic kernel that is as close to stock as possible while still supporting MTD. This will make a great base for other developers to start off of (I've been doing some work of my own based off of this, but its not ready to be released yet).
This is forked from Rodderik's github, and most of the changes for MTD where cherry-picked from Tortel's github. I got init.d working, modified the kernel build script, and wrote scripts to build the boot.img from the zImage (kernel and first stage initramfs), second stage initramfs, and recovery. I also disabled as many debugging options as possible in the kernel to decrease its memory use and increase its performance. A few other unused kernel features were disabled, and all tweaks and unnecessary parts have been removed from the init.rc file. The tweaks were removed since they can all be done from init.d scripts, and had the potential to interfere with tweaks done in init.d scripts.
This probably isn't the best [fastest] for a day to day kernel, but it does perform surprisingly well, and I have been getting some great data speeds. Been using it for a few days with no crashes.
Features:
MTD Boot
TW Support
Kernel debugging disabled
Kexec (untested)
Schedule autogroup patches
No CIQ
Size of initramfs reduced
Initramfs and Recovery use modules compiled in tree with the kernel (might help stability)
Clockwork recovery 5
DO NOT FLASH THIS IF YOU ARE NOT ALREADY ON AN MTD ROM!
DO NOT FLASH THIS IF YOU ARE ON CYANOGEN MOD!​
Download:
EpicMTD-TWKernel-v1.0.zip - 5.7 MB
Source:
GitHub
Info for developers:
If you want to build this kernel from source, I recommend using arm-eabi-4.4.3 or arm-eabi-4.4.0 from the android source repo. (Thanks earthbound for the info!) Both of them seem to work fine with the current source. The code sourcery toolchain works, but it prevents the soft key light from turning off while the screen is on.
Thanks:
Tortel
Rodderik
Earthbound
Everyone in the CM7 team
And the following people who are listed as authors of many of the commits I used:
Mike Kasick
noobnl
DRockstar
Felix Radensky
nullghost
nubecoder
Did I forget anyone? PM me if I did...
FIRST!
Awesome, the more MTD kernels the better! Btw, I'm tracking MTD ROMs and kernels here: http://forum.xda-developers.com/showthread.php?t=1405547
And away we go....
Sent from my PG86100 using xda premium
Say thanks if you agree the a dual boot kernel for cyanogen mod 7 and touch wiz based roms would be a good idea. Especially for those of us who miss their 4g connection.
Sent from my SPH-D700 using xda premium
jamice4u said:
Say thanks if you agree the a dual boot kernel for cyanogen mod 7 and touch wiz based roms would be a good idea. Especially for those of us who miss their 4g connection.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
I agree that it is a good idea although I NEVER use my 4G lol, it would definitely increase options and more availability to mtd roms, CyanogenMod and MIUI are the only roms I know of that aren't TW so by allowing us to have mtd with TW it would be loads better. and it would also still allow us to switch back and forth I say, bring on the dualboot mtd/tw kernel!
Most of the touch wiz based roms are converting to mtd.
Sent from my SPH-D700 using xda premium
hey zman, I think the permissions you set on gpsd in your init.rc breaks gps.
Code:
chmod 0777 /system/vendor/bin/gpsd
Using your initramfs in my kernel, GPS was broken and logcat showed permission denied errors in relation to GPS. After switching the permissions to 0755 in my kernel, gps started to work again.
jamice4u said:
Say thanks if you agree the a dual boot kernel for cyanogen mod 7 and touch wiz based roms would be a good idea. Especially for those of us who miss their 4g connection.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Earthbound kernel and this kernel have kexec (or however you spell it) support... = dual boot compatible...
Sent from my SPH-D700 using Tapatalk

[Request] Custom GB Kernel with OC/UV capabilities only

Is there someone that can make a custom kernel for GB starting from Samsung sources?
For custom I mean with OC and configurable voltage and built with optimized toolchains.
I know this take time and GB is outdated, but I'll like to have a clean optimized and stable kernel to apply tweks on init.d
I've tried to do it by myself reading guides and using the tools I've find on XDA but without success. (I'm a mess).
hiej said:
Is there someone that can make a custom kernel for GB starting from Samsung sources?
For custom I mean with OC and configurable voltage and built with optimized toolchains.
I know this take time and GB is outdated, but I'll like to have a clean optimized and stable kernel to apply tweks on init.d
I've tried to do it by myself reading guides and using the tools I've find on XDA but without success. (I'm a mess).
Click to expand...
Click to collapse
why you don't use brood kernel ?
you may ask Markey97 to do this , he had a ginger kernel before I think :
http://forum.xda-developers.com/member.php?u=4926193
alireza7991 said:
why you don't use brood kernel ?
you may ask Markey97 to do this , he had a ginger kernel before I think :
http://forum.xda-developers.com/member.php?u=4926193
Click to expand...
Click to collapse
broodkernel is good but there's no voltage control.

Categories

Resources