[KERNEL][MTD][EI22]EpicMTD-TWKernel-v1.0[GPL] - Epic 4G Android Development

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

Related

{GPL}[Kernel][Tool] ZenKernel HTC Kernel Overclocked UnderVolted + AnyKernel 8-29-10

AnyKernel zips will only replace the kernel in your boot.img.
To define a boot.img:
Kernel(zImage) + ramdisk(root file system + init scripts) = boot.img
Where AnyKernel came from:
While searching for different kernels for my Motorola Droid I stumbled on a great idea implemented by Koush. Basically it will split the boot.img from recovery while your phone is running then replace the kernel and make a new boot.img and flash it along with the correct modules for the kernel.
I figured I would implement it on the CDMA Hero and it worked out.
This will work on any rooted rom with a custom recovery running Sense UI including the stock rom.
------------------------------------------------------------------------------------------------------------------------------------------------------------
Here are the undervolted and overclocked kernels for Sense ROMS
These kernels are built from the HTC heroc-2.6.29-bc0d2ccf source with toasts overclock patch modified by darchstar/Decad3nce to include undervolt.
The git repo for this is @ http://github.com/zenulator/htc-heroc-2.6.29-bc0d2cff
The GPL license can be read @ http://www.gnu.org/licenses/gpl.html
ZenKernel-HTC-08122010 no perf lock
It has perf lock disabled to allow full overclocking with out the need use setcpu to disable perf lock. The clock speeds will stay at what ever the target rom uses unless you running a rom with no overclock built in. If so it will scale from 19mhz to 768mhz.
Download
ZenKernel-HTC-08122010 perf lock
Same as above but with perf lock enabled. It will run at stock values on any sense Rom until you use setcpu. To overclock it you will need to set setcpu to autodetect and then disable perf lock inside setcpu.
Download
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
StockVoltage Overclocked Kernel:
This kernel is built from the same source as the rest except the voltages were changed to stock values. It will max out at 691 and the governor is set to performance.
Download
Setcpu is free for xda memebers and can be found here:
http://forum.xda-developers.com/showpost.php?p=3638937&postcount=1
Instructions:
Download the update and copy it to the root of your sdcard.
Reboot into recovery.
Nandroid (just in case you want to go back)
Flash the update
Reboot
Check Settings > About phone > Software information > Kernel version
_____________________________________________________________________________
If you wish to modify this with another kernel just extract the update and replace the zImage in the kernel directory with the one you want and replace the corresponding modules. Then rezip and resign and flash. It will work on any 2.1 sense rom regardless of boot.img.
Damn good work zenulator I am downloading it now and will test thoroughly tomorrow and see how it go's.
Thanks for the hard work.
Works great, using it with your beta ROM. Lock screen lag is gone
I got used to it so I barely noticed it... but now it seems a lot faster
I know you just started this and it says for sense. But I gotta ask is there anyway that this will work with froyo? I'm not a fan of overclock roms because of the lag when you push the menu key till when you screen is actually ready to go. And this gives me hope
of having a kernel that doesn't do that
thatguythatdid said:
I know you just started this and it says for sense. But I gotta ask is there anyway that this will work with froyo? I'm not a fan of overclock roms because of the lag when you push the menu key till when you screen is actually ready to go. And this gives me hope
of having a kernel that doesn't do that
Click to expand...
Click to collapse
Yes it will work for froyo if you modify it and put in the correct zImage (kernel). It won't work with the update I posted since it's made for Sense roms and uses HTC's Synaptics driver which isn't compatible with AOSP 2.2 Froyo/Cyanogenmod.
If you want a AOSP kernel with no overclock and no ability to overclock at all then I can do that but not for a couple days. If you ask darch he might be able to do it quicker since he already has everything set up and most likely only two files will need to be changed before a compile.
zenulator said:
Yes it will work for froyo if you modify it and put in the correct zImage (kernel). It won't work with the update I posted since it's made for Sense roms and uses HTC's Synaptics driver which isn't compatible with AOSP 2.2 Froyo/Cyanogenmod.
If you want a AOSP kernel with no overclock and no ability to overclock at all then I can do that but not for a couple days. If you ask darch he might be able to do it quicker since he already has everything set up and most likely only two files will need to be changed before a compile.
Click to expand...
Click to collapse
Thanks for the reply I'm gonna give the new kernel a chance to see how it does
Excuse my ignorance but how is this different from Standard DarchKernel vUV2 691 MHz found here http://forum.xda-developers.com/showthread.php?t=705074 ?
That's what I'm using and it already says
Kernel version
2.6.29-cyanogenmod
[email protected] #6
Thanks for this zen works great
this is undervolted correct? does this really help the battery life?
c00ller said:
Excuse my ignorance but how is this different from Standard DarchKernel vUV2 691 MHz found here http://forum.xda-developers.com/showthread.php?t=705074 ?
That's what I'm using and it already says
Kernel version
2.6.29-cyanogenmod
[email protected] #6
Click to expand...
Click to collapse
Uhh. I'm going to give a brief explanation.
AnyKernel is a tool created by Koushik Dutta found here on github.
The beauty of it is that it can flash/add a kernel to any boot.img regardless of ramdisk. It literally does the unpacking of the boot.img, extracting of the ramdisk, deletion of the original kernel and repacking of the boot.img together with the kernel of your choice.
The difference with this is probably changes in base address/cmd line and possible how it's extracted(haven't looked at it). Very awesome tool nonetheless, and is a lot more efficient that going through the process of coupling the kernel with each specific ramdisk before releasing a boot.img.
That's how it's different from your quoted "kernel".
Decad3nce said:
Uhh. I'm going to give a brief explanation.
AnyKernel is a tool created by Koushik Dutta found here on github.
The beauty of it is that it can flash/add a kernel to any boot.img regardless of ramdisk. It literally does the unpacking of the boot.img, extracting of the ramdisk, deletion of the original kernel and repacking of the boot.img together with the kernel of your choice.
The difference with this is probably changes in base address/cmd line and possible how it's extracted(haven't looked at it). Very awesome tool nonetheless, and is a lot more efficient that going through the process of coupling the kernel with each specific ramdisk before releasing a boot.img.
That's how it's different from your quoted "kernel".
Click to expand...
Click to collapse
I understand the explanation but have to ask what rge different change. I know this will just change the kernal from the boot imiage which is great and it has the HTC synaptic drivers in the kernal but that kernal with the HTC drivers has already been implemented into the latest boot.imgs. its a cool concept and would make it easier to change just the kernal for a one shot stop when a newer kernal comes out but as of right now that's the same kernal most of the sense based roms have already implemented into them at this time. If im wrong I'm sorry.
Now with the HTC Synaptics driver included, the swipe action once the screen is on is no longer lagged. However, I notice that there is still lag from the time the power button is hit to the time the screen comes on as compared to stock where there is almost no lag. Is there some other driver or something that causes this?
Well just an update but it has been very smooth so far, 8 hours as still smooth . Great job. Screen rotation and scroll seem quicker also .
Sent from my HERO200 using XDA App
Papa Smurf151 said:
I understand the explanation but have to ask what rge different change. I know this will just change the kernal from the boot imiage which is great and it has the HTC synaptic drivers in the kernal but that kernal with the HTC drivers has already been implemented into the latest boot.imgs. its a cool concept and would make it easier to change just the kernal for a one shot stop when a newer kernal comes out but as of right now that's the same kernal most of the sense based roms have already implemented into them at this time. If im wrong I'm sorry.
Click to expand...
Click to collapse
This will just make it a lot easier instead of having multiple boot.img for different roms like in the other thread. Plus this will work on other roms not supported in the other thread. I know the kernel brings nothing new but for instance if someone wants to overclock my old ZenHero they can now do that. Or if someone just rooted their phone and installed RA or some other recovery this is all they need to over clock and still keep their stock system.
So when someone makes a new kernel they can use this and have it work on any Rom instead of just a specific Rom.
Sent from my HERO200 using XDA App
zer0vette said:
Now with the HTC Synaptics driver included, the swipe action once the screen is one is no longer lagged. However, I notice that there is still lag from the time the power button is hit to the time the screen comes on as compared to stock where there is almost no lag. Is there some other driver or something that causes this?
Click to expand...
Click to collapse
I've always wondered about this delay with the OC kernels as well.
Sent from my HERO200 using XDA App
zenulator said:
This will just make it a lot easier instead of having multiple boot.img for different roms like in the other thread. Plus this will work on other roms not supported in the other thread. I know the kernel brings nothing new but for instance if someone wants to overclock my old ZenHero they can now do that. Or if someone just rooted their phone and installed RA or some other recovery this is all they need to over clock and still keep their stock system.
So when someone makes a new kernel they can use this and have it work on any Rom instead of just a specific Rom.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Makes sense. I thought about it actually and it will make things easier. I used it earlier today on a boot.img I flashed first that had the ramdisk mod for battery tweak but I think was missing the HTC synaptic driver. Lag is all gone and it worked great.
Papa Smurf151 said:
Makes sense. I thought about it actually and it will make things easier. I used it earlier today on a boot.img I flashed first that had the ramdisk mod for battery tweak but I think was missing the HTC synaptic driver. Lag is all gone and it worked great.
Click to expand...
Click to collapse
It's definitely going to make it easier for me at least since I plan on doing a bunch of new kernels based on toasts and darchstars work. As well as the official HTC kernel with toasts overclock.
Sent from my HERO200 using XDA App
zenulator said:
It's definitely going to make it easier for me at least since I plan on doing a bunch of new kernels based on toasts and darchstars work. As well as the official HTC kernel with toasts overclock.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Now this is what I'm talking about
I was looking for something like this. Darchstar is one helluva dev, but it seems like the only kernels in use these days are Toasts (base) then modded toast kerenels by Darchstar (which are great as well). But I'd like to see a couple of tweaks fixed in the most recent Kernel #6 such as the typo that Uroshiol mentioned that is located in the actual zImage in the DArchstar uv2 kernel 710 with freememkiller
Nice nice work ya'llz and great stuff Zen... makes the addition of new kernels a breeeeze
Wait...so there is an under volted, oc kernel available for nfinite's .6 stock rom that eliminates the menu button wake lag?? i dont like the lag but deal with it. although if there is a way to eliminate the lag, please share!!
Zen, you're definitely an unsung hero (no pun intended I swear) around these parts and I for one definitely appreciate your work. Cheers!

[ROM][ODIN][RFS/EXT4][Journal On/Off][NOCIQ] EC05Plus

Based on the Official EC05 Samsprint Tar provided by k0nane
EC05Plus 2.0 Has Been Indefinately delayed.. if I get time, I will finish it off and release it. In the mean time here is links to 1.1 courtesy of Firon. Please find a post by him and thank him.
http://firon.net/xda/StockEC05NOCIQ-EXT4.tar.md5
http://firon.net/xda/StockEC05NOCIQ.tar.md5
ROM was delayed due to a kernel bug, then my remote build box was down, so I took the time, and added a few more features... I have the kernel fixed and pushing this to a few people to test should be done by tomorrow...
New Version is uploading. 2 flavors. A user configurable zip installer, that requires the zip files and an EC05Plus.cfg file. The cfg file dictates to the installer how you would like your install to go, and it looks like this:
EC05Plus.cfg
Code:
#### Backup Data Partition User Apps and Data
EC05Plus.backup = yes
#### This option sets how we will format on install the options are as follows
#### RFS (RFS Across all partitions)
#### EXT4Data (only the data partition is journaled)
#### EXT4Journal (Journaling across all partitions)
#### EXT4NoJournal(No journaling on any partitions)
EC05Plus.formattype = EXT4Data
#### Set keytimer delay via mkasicks patch
EC05Plus.keytimer = 3
#### Built-in ADBlocking
EC05Plus.adblock = yes
The second one is a prerooted RFS ODIN tar. There isn't an EXT4 version this time, but I am providing the zip file for conversion. Also the zip file for No journal should you wish to go that route.
Both versions have the same features, my new kernel, and ClockworkMOD 3.1.0.1 from DRockstar and koush
As always, my aim is a snappy stable rom. Its smooth, and as far as I know nothing is broken, but of course until you try it I don't know for sure.
Version 2.0
New EC05Plus Kernel 1.0 Compiled from Source
Voodoo Color
Voodoo Sound 9
Mkasicks Keytimer Delay Patch
Init.d Support
Nullghosts sysfs Scaling freqs fix
Custom bootanimation.zip support
Custom MinFree RAMBooster Settings
DualFS RFS/EXT4 Support
CWM 3.1.0.1 Recovery
Wired Tether Fix(mkasick)
Wireless Tether Fix(mkasick)
Default governor Ondemand
New RFS/EXT4 User Configuable Zip Installer with Journaling on or off
3 different Configurable Journaling Options for EXT4
Configurable AD-Blocking
ROM Manager Compatible
FuguMods
Modified SQLite.so
Crutchlite to enable downloading of all files in stock browser
Dalvik2Cache
SDCard Read-Ahead Cache Tweak
CWM 3.1.0.1
Fixed Stock Keyboard
Fixed Timer Notification
Louder Notifications (Roderick)
Updated init.d tweaks for smoother experience
Version 1.1
Reverted bionic to no2chems 1.0 instead of 1.1 to fix WIFI, camcorder, and Youtube
Fixed 1x icon for statusbar
Removed full battery popup
Removed Throttling Service
Version 1
Pre-rooted
ClockworkMod 2.5 or 3.0.0.6
Deodexed, Png-Optimized, and Zipaligned
CarrierIQ removed (thanks to k0nanes help)
GPS NTP/XTRA Fix and RIL Crash workaround by mkasick
TWS Fix by mkasick
Volume Rocker tweak by mkasick (Ringer/Vibrate/Silent)
Modified Dalvick/libdvm by no2chem
Updated bionic by no2chem
Logprovider.apk fixed to remove SMS from call log by k0nane
Font changed to Sony font, to fix Touchwiz lockscreen date glitch
Repacked stock kernel to include support for EXT4, init.d scripts, and to disable CIQ service
Turn Journaling Off for the ODIN Tar
Convert ODIN Tar from RFS 2 EXT4
Flash this for stock font and to fix the SamSprint Glitch on the TWLockscreen
EC05 Plus Font Fix
Ad-Blocking Host File.. Flash in CWM2 or 3. Will work in any version of android afaik.
Ad-Blocking Host CWM Zip
Kernel Source:
https://github.com/chris41g/EC05Plus-Kernel
Big thanks to:
k0nane
DRockstar
nubcoder
nullghost
rodderik
orkkis
Insan|ty
Decad3nce
Uberpinguin
DevinXtreme
noobnl
bikcmp
and everyone else who tested or gave me some pointers...
THANK YOU, THANK YOU, THANK YOU.. This is pretty much EXACTLY what I been looking for.. a stock rom with noCIQ and the TWS fix.. I cant wait to get off work and ODIN this..
I will report back on how it works out for me...
Nice!!! i might take the rfs one and put it on my sisters phone with dreams pink theme, she will be happy!!
Great work will hit thanks when im on a computer with that button.
That EXT4 one looks sweet
This is something I've been hoping someone would create! For those of us that are Mac users, anyone care to take the files and whip up a flashable zip?
Thx. Bro.
Sent from my SPH-D700 using XDA Premium App
odub303 said:
This is something I've been hoping someone would create! For those of us that are Mac users, anyone care to take the files and whip up a flashable zip?
Click to expand...
Click to collapse
+10000000 plz I would be ever so happy.
Sent from my SPH-D700 using XDA Premium App
odub303 said:
This is something I've been hoping someone would create! For those of us that are Mac users, anyone care to take the files and whip up a flashable zip?
Click to expand...
Click to collapse
Shouldn't be that hard, I might do it if I get a few minutes in the next few days. Doesn't heimdall work on mac??
Sent from my SPH-D700 using XDA App
chris41g said:
Shouldn't be that hard, I might do it if I get a few minutes in the next few days. Doesn't heimdall work on mac??
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Heimdall does not work on the Mac for the Epic 4G. It only works for SGS devices that have a certain updated SBL (implemented by Samsung in most of the SGS official froyo tarballs). Unfortunately, the Epic 4G does not yet have this magical SBL .
Thanks again!
Yay! Thanks for this!
Just to make sure I'm clear: this doesn't have any OC or UV in the kernel by default, right? (Both OC and UV make my phone cry.)
Stock kernel, only changed the initramfs.. to load ext4 modules, disable ciq and enable init.d support. I didn't recompile the actual kernel, or I would have actually built ext4 support in instead of modules, and I would have added the keyboard fix...
Sent from my SPH-D700 using XDA App
Will the keyboard fix work with this?
Dayne23 said:
Will the keyboard fix work with this?
Click to expand...
Click to collapse
Read my post right above yours.. the keyboard fix will only work if you flash a kernel that has it compiled in it... Drockstars clean kernel is a good option..
Sent from my SPH-D700 using XDA App
edit: nvm, should have read all the posts first, my question was answered
May be a silly question but does the ext4 version have journaling on by default or will we have to back up and restore to turn it on. Thanks in advance.
Sent from my SPH-D700 using Tapatalk
By default they are both rfs... going into recovery is what converts the cwm3 version to ext4, which is journaling on..
Sent from my SPH-D700 using XDA App
chris41g said:
By default they are both rfs... going into recovery is what converts the cwm3 version to ext4, which is journaling on..
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Sweet ty.
10 char
Sent from my SPH-D700 using Tapatalk
broke wi fi for me when i odined this coming from stock ec05.
broke as in how? my wifi works fine... im using it on my phone now??
it wont connect unless i make my network open wont connect wpa/wpa2
edit using ext4 version reflashed got the same results

[KERNEL][ICS][07-04-12] AniDroid-Hardened-TF101 (2.6.39.4)

AniDroid-Hardened-TF101 Kernel​
Short Kernel information:​
AniDroid-Hardened Kernel is the first Hardened kernel for Android that uses GRSecurity subsystem to provide different useful Security functionality.
AniDroid-Hardened Kernel now is in early stage of developing but it's almost ready for using and testing on Asus Transformer TF101 and Google (Samsung) Nexus S devices ​
Provided Features:
Linux Kernel version 2.6.39.4
GRSecurity version 2.2.2 with different security features enabled by default (see GRSecurity Feature List for details)
EXT4, NTFS, CIFS support
init.d support
Compatible with any OTA-based and AOSP ICS Roms
1024 Kb ReadAhead support
Automatic Process Group Scheduling
-fstack-protector buffer overflow detection
GRSecurity Feature List:​
Kernel Memory Protection (restrict read/write access to /dev/kmem, /dev/mem, and /dev/port)
Active Exploits Protection (deter exploit bruteforcing, active kernel exploit response)
Role Based Access Control (RBAC)
Filesystem Advanced Protection (including advanced security for applications running in CHROOT environment)
Full Kernel Auditing (event logging for many kernel events)
Executable Protection (deter ptrace-based process snooping)
Network Protection (TCP/UDP blackhole and LAST_ACK DoS prevention)
Managing support via Sysctl Interface
CPU Frequence Scaling Governors:​
Ondemand (Default)
Interactive
Conservative
Powersave
Performance
IO Schedulers:​
CFQ (Default)
Noop
Deadline (tweaked for flash devices)
Simple IO (SIO)
Links:​
Current Kernel Binaries:
AniDroid-Hardened-TF101-Alpha1.zip
Other Kernel Binaries:
Old binaries on SourceForge
Kernel Source:
Will be available on GitHub soon..
Changelogs and issues info:​
Alpha 1 known issues:​
BCM4329 WiFi kernel module temporarely doesn't work
SU is temporarely cause "Permission denied"
WARNING!!!
AniDroid-Hardened-TF101 Kernel is still need testing!
So, you can flash and use this kernel at your oun risk! ​
Thanks to msticninja, guevor, eugene373, koush, ezekeel, supercurio, morfic, franciscofranco, sztupy, reddv1, byeonggonlee!!!
​
Great to see another kernel option. Awesome work, mate!
I'll give it a try.
hi!great to see new kernelz every week!after reading all the features in the nexus 3ad,i wonder if you'll put some of them un future in this tf's build...some of them i use every day on smartphones and are very Usefull..like touchwake,liveOC,BLX , fast charge and others..(fast charge especially)glad to test this kernel now,hoping that wifi works,anyway thanks for the hard work and keep it up in future release!i'll report how it goes...
sert00 said:
hi!great to see new kernelz every week!after reading all the features in the nexus 3ad,i wonder if you'll put some of them un future in this tf's build...some of them i use every day on smartphones and are very Usefull..like touchwake,liveOC,BLX , fast charge and others..(fast charge especially)glad to test this kernel now,hoping that wifi works,anyway thanks for the hard work and keep it up in future release!i'll report how it goes...
Click to expand...
Click to collapse
As far as I know, fast charge from a computer USB port isn't possible on the tf101 because it requires 12v to go into fast charge mode where a normal USB port only provides 5v.
Congrats on getting the kernel compiled with your changes. I'll post some fixes tomorrow that you might want to pull to your git. I have to be honest though, I don't really see the point of grsecurity on android. Do people actually get hacked?
noted but will flash when somebody got the balls to try...
Sent from my Transformer TF101 using xda premium
j3tt3 said:
noted but will flash when somebody got the balls to try...
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
Never mind the balls, I don't see the point of flashing a kernel where wifi and SU (both quite critical in my opinion) don't work.
Basically, su won't work with GRSec because of the RBAC model. Another way needs to be found
Sent from my LT26i using XDA
K900 said:
Basically, su won't work with GRSec because of the RBAC model. Another way needs to be found
Sent from my LT26i using XDA
Click to expand...
Click to collapse
SU will work as privileged user can be allowed to run privileged operations useful for such apps as Titanium Backup and so on ..it's not GRSec issue - vanilla asus source have tha same issue for me.. it's either compiler or ramdisk problem..
novic_dev said:
SU will work as privileged user can be allowed to run privileged operations useful for such apps as Titanium Backup and so on ..it's not GRSec issue - vanilla asus source have tha same issue for me.. it's either compiler or ramdisk problem..
Click to expand...
Click to collapse
I meant that you need to either allow switching to root, which defeats the whole purpose of GRSec or use its own access controls, which needs to be done in apps.
Sent from my LT26i using XDA
K900 said:
I meant that you need to either allow switching to root, which defeats the whole purpose of GRSec or use its own access controls, which needs to be done in apps.
Sent from my LT26i using XDA
Click to expand...
Click to collapse
It will be an App
Sent from my Nexus S using xda premium

[KERNEL] Basic MIUI modified

I am starting up my own route of android development working with team acid and AntonX to make sure all the best features work in AOSP roms like MIUI, and in the future AOSP and BML CM7 if we make them . This is a BML kernel so don't flash it if you are running the MTD CM7. It is CWM flashable or you can extract the zImage and flash with heimdall.
This is a branch of AntonX's kernel so UV/OC, voodoo sound, and BLN are all there.
Do not flash this on a stock rom, this includes Valhalla black, AOSP style (no it's not AOSP), or anything that isn't MIUI, Cyanogenmod (BML), or AOSP (if we ever get it ).
Changes to come:
Currently working with initramfs to remove voodoo lagfix, speed up boot time, and add touch recovery.
Credits:
AntonX, this is a branch of his kernel
Team Acid, for putting up with me and their kernel work
Bhundven, for being the best dev ever, his original kernel, new initramfs and all his work fixing CM7, and his always helping me out when I'm in a pinch
m4xm4n and Bhundven for the vibrate fix on CM7 ported to BML
Changelog:
Release one:
Branched from AntonX kernel. Adds vibrate functionality to AOSP
Click to expand...
Click to collapse
Release two:
Updated source base to AntonX's 1.1.0 kernel.
Disabled some debugging.
Implements new initramfs for faster boot. (Thanks Bhundven!!)
Should be faster and more stable.
Now comes in OC and non-OC flavors.
Click to expand...
Click to collapse
Downloads:
Release 1
Release 2 (non-OC) (OC/UV)
Updated non-OC version. It was the OC version a second time. Oops.
Source:
https://github.com/hampsterblade/Galaxy_S_4G_Kernel
Would this work on a ported ics ROM that isn't cm based, but is stock based (from nexus)?
Sent from my BAMF SGH-T959V!
downlaoding!
"Putting up with me"? You make us laugh with all them jokes, plus a bunch of interesting conversations. I'm glad you're on IRC so often. I'm also glad to see you develop for this phone.
thomas.raines said:
Would this work on a ported ics ROM that isn't cm based, but is stock based (from nexus)?
Sent from my BAMF SGH-T959V!
Click to expand...
Click to collapse
If it's BML it's worth a shot. Let me know if it works for you .
Just a general reminder: there is a "Thanks" button for a reason. Please do not post just to say thanks, just hit the button.
I noticed you thanked m4xm4n for the "vibrate fix on CM7 ported to BML" will this fix the miui weak vibration bug?
ChadBFlores said:
I noticed you thanked m4xm4n for the "vibrate fix on CM7 ported to BML" will this fix the miui weak vibration bug?
Click to expand...
Click to collapse
Yes read the whole op...*cough*changelog*cough*
Sent From a Galaxy S with 4G
Sad news is, my computer screwed up a flash and now I'm bricked. So I won't be deving for a while til I get to a t-mobile store
Woo think god, I managed to fix it. Lesson learned, don't flash from my front USB port.
hampsterblade said:
Sad news is, my computer screwed up a flash and now I'm bricked. So I won't be deving for a while til I get to a t-mobile store
Woo think god, I managed to fix it. Lesson learned, don't flash from my front USB port.
Click to expand...
Click to collapse
Indeed; stick with the ones mounted on the motherboard if you can
hampsterblade said:
m4xm4n for the vibrate fix on CM7 ported to BML
Click to expand...
Click to collapse
The "vibrate fix" aka the switch to aries-vibrator from vibetonz was actually bhundven. I just dinked around with vibetonz until I yelled "f**k it" and flipped over the table. Bryan then made the switch.
m4xm4n said:
The "vibrate fix" aka the switch to aries-vibrator from vibetonz was actually bhundven. I just dinked around with vibetonz until I yelled "f**k it" and flipped over the table. Bryan then made the switch.
Click to expand...
Click to collapse
Noted
OP updated with new release.
hampsterblade said:
OP updated with new release.
Click to expand...
Click to collapse
Uh oh...I think the two links are exactly the same (non OC) version
Sent from my SGH-T959V using xda premium
daothanhduy1996 said:
Uh oh...I think the two links are exactly the same (non OC) version
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
fixed.
I'm quite stupid but can you explain "OC and Non-OC flavors"
NVM I figured it out haha.
hampsterblade,
You did the wrong thing on github, you have lost all history for the project. If for any reason my project is gone, nobody will know what have been modified. You should have forked. It's not too late, you haven't made too many changes. I did exactly the same mistake originally, but FBis helped me to recover.
And why have you uploaded the whole toolchain??? You are not going to make changes to it, are you?
Since updating this kernel to the non oc version I can't uv with tegrak
Sent from my galaxy s 4g using XDA app

[Kernel] JB/ICS Kernels V2.57 Linaro 12-27-12 Flashable zip works with ANY ROM

First off, here is the github
https://github.com/pio-masaki/at100-kernel.git
Everything I do for this kernel is done there.
Now that's out of the way, here are some highlights:
Beginning of OC code (yes, an OC ICS kernel)
Added a slew of governors for your choosing
Added a couple i/o schedulers
Slight CFLAG tweaking
This is a work in progress!
If you have issues feel free to report, but this is my first ever kernel project, and it may take some time for me to address them!
Dos and Dont's in this thread:
No flaming, please. If someone asks a question thats been asked before, simply remind them and if you would, link the post or thread containing the answer. Replies like "Use search" don't help at all. Saying "Next time, use the search, the information is here" is of course what I would like to see. XDA will be better for this.
No ETAs! I can not, and will not, make any promises on when I can fix, build, or otherwise even think about this kernel, or any rom, period. Asking for ETAs, even politely, will either go unanswered, or reminded of this note.
Issue reporting: I always welcome issue reports, of course, however keep in mind, the point made above is also covering this, I may not have time to address an issue immediatly, though I will try to post back and acknowledge that I have seen the issue, or to ask further questions. Please include as much information as possible, settings for speed, governor, IO, profiles in use for screen off (which I advise against), cpu control app in use, etc. Dmesg would be nice as well, use pastebin, we don't want to see an 8K line post of a log
Changelog:
Experimental V0.1 10-02-12
First "release" for testing. This is internal build 8, and from this point on, will be labeled and numbered as releases, IE if this does ok, next will be Alpha 1, or experimental V0.2, etc.
Added OC code
Experimental V0.2 10-05.12
Second release for testing. Does now include the CODE for voltage control, but is not enabled yet. I didn't enable it to help prevent issues with instabilities from UV being confused with kernel issues. GPU OC is active, 320/400 MHz 2D/3D. Does not play well with ICS, CM10 use only.
Experimental V0.3 10-06-12
Rewrote alot of the upper end speed/voltage/timing code from 1.508 to 1.472, VT, haptic feedback fix? Proved unstable to the point of being unusable. Pulled.
Stable V0.4 10-06-12 "Caspar"
Reverted to V0.1 OC code after the disaster of V0.3. Left out voltage control code, implemented GPU OC as previous in V0.2, VT is enabled, possible haptic fix (not likely). Governors and IO schedulers should remain as before, min/max settings should remain as before. 1.5 is likely still broken.
Experimental V0.5e "Melchoir" 10-18-12 ICS only
All new CPU Speed tables, overall max is lowered from 1.5 which froze to 1.478, and more speeds in between. Those who used the Shiva Kernel will be familiar with the speed range. GPU OC is bumped up 20mhz in 2D/3D. SmartassV2 code added. The kernel has branched since V0.4 and is now a JB and an ICS specific design, one doesn't work for the other anymore, sorry to say. "Melchoir" is the ICS branch kernel, "Balthesaur" is the JB branch kernel which is included in the CM10/Kuroikaze builds.
"Melchoir" V2.4 ICS
Experimental support of CIFS and slight config changes to maybe improve kernel performance. Branch from "Caspar" and includes speeds, governors, IO schedulers and any previous bugs. 1.5Ghz is likely still broken.
"Balthesaur" V2.75 Linaro JB NON OC
Experimental fixes for ExFat corruption issues.
No CPU or GPU OC
Built with Linaro 4.7 toolchain with some optimizing tags turned on
Retains Governors and IO Schedulers from the OC version
Instructions
Download the zip from the link given below
Boot into CWM
Wipe cache
Wipe dalvik cache
Install from zip
Install the kernel zip
Reboot
First boot will take longer as the caches are being rebuilt
Let kernel settle for 10 minutes
Reboot
Let kernel settle for 5 minutes
Begin normal usage and setting up
System Tuner has been reported to work with great success.
Downloads
Experimental OC 1 | Mirror
*note* 1.5Ghz is unstable, please limit to 1.4Ghz for testing.
Experimental V0.2
*note* 1.5Ghz is unstable, please limit to 1.4Ghz for testing. Only for CM10.
Experimental V0.3
*note* completely unstable, pulled.
Stable V0.4 "Caspar" ICS
*note* 1.5Ghz is unstable, please limit to 1.4Ghz for testing.
Experimental V0.5e "Melchoir" ICS
*note* does not boot. See change log for information. ICS only kernel. Please have V0.4 zip handy in case this kernel goes ballistic or doesn't boot, etc.
Experimental V2.4 "Melchoir" ICS
*note* likely retains the 1.5GHz lockup issue.
Balthesaur V2.75 Linaro No OC JB ONLY
Non OC kernel by request. Built with Linaro and current 2.75 source. For use with Jellybean ROMs only. Retains IO Schedulers and Governors, just no CPU or GPU overclock at all. Possibly includes fixes for exfat corruption (planned for U6, but may as well)
Revert kernel
Favum ICS kernel | Mirror
Use this in CWM, same as before, to restore the boot.img and modules for Favum ICS, it may work for other Official based ICS, may not, untested.
Notes and Updates
Mirrors added, V0.1 initial release
V0.2: GPU OC 320/400 MHz 2D/3D. Does not play well with ICS, use only with CM10.
Kernel naming and what they mean:
As the kernel development for Jellybean gained momentum, changes to the kernel source and drivers made the kernel no longer compatible with BOTH ICS and JB, so a new branch needed to be built, one for each android version.
Caspar = The trunk kernel, the first base which all other kernels are built from, contains the original OC settings, governors and schedulers, but not much else, pretty stock.
Melchoir = The First branch, this is for ICS only, and is slightly more updated then the JB kernel, but not by far, is pretty stale development wise while I work on the JB kernel.
Balthesaur = The second branch, this is for JB only, and is the more updated and recent and heavily developed kernel by far.
Each kernel release is still compatible with ANY ROM, however it MUST be of the proper android version, Meclchoir should be flashed only to ICS and Balthesaur should only be flashed to JB. Caspar, should you choose to use it, is ICS only as well.
Do not flash these to other android versions, including Honey Comb, they may boot but they will certainly not function correctly.
FAQ
Q: How does this work with any ROM?
A: Installs by taking apart the current boot image, replacing the kernel binary, repacking then reflashing the boot image, and copies the matching modules into your system/lib folder. It keeps the existing ramdisk, which is why it works in between both ICS and JB.
Q: Where did you get your source changes from?
A: Source changes are coming from ezTerry and Godmachine, with guidance from Godmachine. Changes by ezTerry may come from other places, however I can not verify that, and its from his github.
Q: Is this included in any ROM?
A: Yes, this kernel is included with my CM10 builds, including Kuroikaze-Thrive
Thanks go out to:
First off, godmachine / linux society! We've had our spats (rather, I've had mine) however his guidance made this possible.
ezTerry: for giving us the first modded Acer Iconia kernels, also basing some of this work on his work on ezT20 kernel.
Da-pharoah for as always encouraging my work and to try new things.
tybar over at thriveforums.org (he may also be here?) for his work on CM10 and supplying the initial source this began with.
The rest of the guys pitching in over there!
Very excited to see a kernel! Could you possibly post a stock kernel as well that can be flashed back to if needed as this gets refined? Just trying to cover all contingencies.
Sent from my AT100 using Tapatalk 2
wigginst said:
Very excited to see a kernel! Could you possibly post a stock kernel as well that can be flashed back to if needed as this gets refined? Just trying to cover all contingencies.
Sent from my AT100 using Tapatalk 2
Click to expand...
Click to collapse
That depends on the ROM being used so no, I hadn't planned on it. I probably could but its per ROM which is quite a few lol
Sent from my Galaxy Nexus using Tapatalk 2
Ok. Was just thinking of a backup in case. Flashed it to favum and letting it settle right now.
Sent from my PG86100 using Tapatalk 2
On jbreezy darkside ROM v2 he modified the ram disk a bit would that interfere with installing this kernel?
Edit: nevermind you said it keeps the existing ram disk
Could you make a revert for his darkside ROM? Sorry for being a pain
Sent from my AT100 using xda app-developers app
stevie13.xo said:
On jbreezy darkside ROM v2 he modified the ram disk a bit would that interfere with installing this kernel?
Edit: nevermind you said it keeps the existing ram disk
Sent from my AT100 using xda app-developers app
Click to expand...
Click to collapse
Yeah unless something is different with the kernel binary as well, which I doubt, it shouldnt cause a problem.
As far as I know its the first kernel from source for ics so I don't think any issues will come up.
Edit: I'll try to get a revert zip up for dark side as well, the favum won't work, different ramdisk I think.
Sent from my Galaxy Nexus using Tapatalk 2
Are u saying I can use this kernel on my phone or some specific phone only?
ramoneC said:
Are u saying I can use this kernel on my phone or some specific phone only?
Click to expand...
Click to collapse
For the device this forum is for? In other words its for the Toshiba thrive 10" tablet. Flashing this on anything else can lead to no boots or even bricks. Its for any ROM, not device.
Sent from my Galaxy Nexus using Tapatalk 2
I nearly was going to brick my phone /: maybe not cos your updater-script might have been aborted but the main thing was I could not download it because of some sqlite error
God damn goo.im I've been waiting for an oc ics kernel for a minute.. A long minute
me checking the site every minute isn't helping probably either
Can I flash a kernel for similar phone which has similar buttons and screen resolution and sensors but different board base and hope it works?
ramoneC said:
Can I flash a kernel for similar phone which has similar buttons and screen resolution and sensors but different board base and hope it works?
Click to expand...
Click to collapse
Generally speaking, no. What device are you talking about?
Sent from my Galaxy Nexus using Tapatalk 2
old galaxy s5830 < wont matter if it bricked
ramoneC said:
old galaxy s5830 < wont matter if it bricked
Click to expand...
Click to collapse
This kernel won't flash let alone boot on that lol
Sent from my Galaxy Nexus using Tapatalk 2
I have decided to buy googles phone henceforth so I wont have to worry about updating
stevie13.xo said:
God damn goo.im I've been waiting for an oc ics kernel for a minute.. A long minute
me checking the site every minute isn't helping probably either
Click to expand...
Click to collapse
Mirrors are up.

Categories

Resources