5,593,793 Members 46,705 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL][3.0.31][OC, CIFS, TUN]intersectRaven's Kernel 07/31/2012 17:34

Tip us?
 
intersectRaven
Old
(Last edited by intersectRaven; 31st July 2012 at 10:34 AM.)
#1  
Recognized Developer - OP
Thanks Meter 986
Posts: 1,947
Join Date: Mar 2010

 
DONATE TO ME
Default [KERNEL][3.0.31][OC, CIFS, TUN]intersectRaven's Kernel 07/31/2012 17:34

This is my personally compiled kernel for the Kindle Fire with a few optimizations.

Acknowledgments:
DooMLoRD - for helping greatly in my initial trials on how to create kernels for the Fire
g1011999 - for providing a working .config
paulobrien - insecure boot image
franciscofranco - for some of the ARM optimizations which I've missed since I stopped modding the N1
hashcode - the 3.0 kernel base

Features:
- compiled using Mjolnir
- CPU overclocking code from OMAPZOOM repositories
- ARM code optimizations

What doesn't work:
same bugs as Hashcode's

Download URL:
http://intersectraven.euroskank.com/kernels/

Latest Changes:
20120730_08XX:
- backported cleancache and zcache improvements from 3.4

20120709_1619:
- added further tweaks to interactive scheduler
- rebased experimental optimization to minimize chance of faulty merge

20120703_1041:
- rebased to hashcode's 3.0.31 kernel with support for the touchscreen filter
- added an experimental optimization which in theory should make the kernel a bit more responsive...at least in theory...

20120619_2251:
- numerous ARM optimizations (most from the 2.6 series)
- ported CM's changes to the interactive governor and low memory killer
- GPU driver is compiled into the kernel

20120601_1145:
- integrated latest BFQ release 4 for selection (not default) in SetCPU

20120513_1557:
- integrated shutdown fix from hashcode

20120512_2044:
- first 3.0 release with almost all my tweaks

20120216_1740:
- final fix for TUN without module (if it still doesn't work, going to module in next release)
- UTF8 support for file systems
- some optimizations

20120211_1219:
- minor update for fixing OpenVPN based VPNs

20120207_19XX:
- unification release (unified all my modifications with my Galaxy Nexus kernel and restarted from scratch)
- ARM optimizations
- OC without thermal control
- compiler optimizations
- CIFS and TUN enabled
- now based on 2.6.35.14
- now in zip version for easier flashing

***DEPRECATED***
Instructions (stock WiFi driver):
1.) Boot to fastboot
2.) Test first using fastboot boot command

Instructions (custom WiFi driver):
1.) Turn off WiFi.
2.) Use adb push command to push tiwlan_drv.ko to /sdcard/
3.) Using root explorer, rename tiwlan_drv.ko from /system/etc/wifi to tiwlan_drv.ko.bak.
4.) Usring root explorer, copy tiwlan_drv.ko from /sdcard/ to /system/etc/wifi. Make sure permissions are same with other files in directory together with owner and group being set to root.
5.) Reboot to fastboot and TEST FIRST using fastboot boot command

Detailed instructions are on the next post.
***DEPRECATED***

GitHub:
http://www.github.com/intersectRaven/kindle-kernel
LG Nexus 4 Occam 4.3 CyanogenMod 10.2 - iRom
HTC One 4.3 CyanogenMod 10.2 - iRom
Nexus 7 (2013) 4.3 CyanogenMod 10.2 - iRom

Buy me a beer (or something...)
BitCoin donations accepted:
169j1kriHAtqd64mG5curpVxrxsY92Wi47
The Following 38 Users Say Thank You to intersectRaven For This Useful Post: [ Click to Expand ]
 
intersectRaven
Old
(Last edited by intersectRaven; 31st December 2011 at 05:28 AM.)
#2  
Recognized Developer - OP
Thanks Meter 986
Posts: 1,947
Join Date: Mar 2010

 
DONATE TO ME
Detailed Instructions:

Turn off your device's WiFi.
From your command prompt issue the ff. commands:

Code:
adb shell
su
idme bootmode 4002
reboot
This will cause your kindle to reboot to fastboot mode. Issue the ff. commands:

Code:
fastboot -i 0x1949 boot bootnew.img
This will cause the Kindle to boot TEMPORARILY to the new kernel which I assume you downloaded from me.
If it doesn't boot normally, you can turn off your Kindle by holding down the power button for at least 10 seconds then turn it on again.
This will boot your Kindle to fastboot mode again.

If the kernel didn't work:

Code:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
This will reboot your Kindle back to normal.

If the kernel worked, here's how to flash it permanently:

Code:
fastboot -i 0x1949 flash boot bootnew.img
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
This should boot up with the new kernel.

Once you've booted up properly, issue the ff. commands to replace your stock WiFi driver with the new one.

Code:
adb push tiwlan_drv.ko /system/etc/wifi/
adb shell
su
cd /system/etc/wifi
chmod 644 tiwlan_drv.ko
Ensure that the permissions, owner and group settings for the new WiFi driver are correct by issuing:

Code:
ls -l
Turn on your WiFi.
LG Nexus 4 Occam 4.3 CyanogenMod 10.2 - iRom
HTC One 4.3 CyanogenMod 10.2 - iRom
Nexus 7 (2013) 4.3 CyanogenMod 10.2 - iRom

Buy me a beer (or something...)
BitCoin donations accepted:
169j1kriHAtqd64mG5curpVxrxsY92Wi47
The Following 12 Users Say Thank You to intersectRaven For This Useful Post: [ Click to Expand ]
 
intersectRaven
Old
(Last edited by intersectRaven; 31st December 2011 at 11:05 AM.)
#3  
Recognized Developer - OP
Thanks Meter 986
Posts: 1,947
Join Date: Mar 2010

 
DONATE TO ME
Partition Backup Instructions:

From your command prompt, issue the ff. commands:

Code:
adb shell
su
This should give you superuser command prompt on your Kindle Fire. To confirm,
you should see a # as your command prompt. Next, issue the ff. commands to backup the smaller partitions to your sdcard. Make sure that the sdcard isn't mounted on your computer so that it is accessible to the Kindle Fire.

Code:
dd if=/dev/block/mmcblk0p1 of=/sdcard/xloader.bin
dd if=/dev/block/mmcblk0p2 of=/sdcard/bootloader.bin
dd if=/dev/block/mmcblk0p3 of=/sdcard/dkernel.bin
dd if=/dev/block/mmcblk0p4 of=/sdcard/dfs.bin
dd if=/dev/block/mmcblk0p5 of=/sdcard/recovery.bin
dd if=/dev/block/mmcblk0p6 of=/sdcard/backup.bin
dd if=/dev/block/mmcblk0p7 of=/sdcard/boot.bin
After executing those commands, you can now mount the sdcard through USB and copy those files to your HD for backup purposes. The remaining partitions through 8 - 11 can be backed up as well but I'll leave that to your own discretions. These partitions were chosen because they're either critical or unreplicable.

You can also use adb to pull the images above directly to your PC. Here're the commands to do so:

Code:
adb pull /dev/block/mmcblk0p1 xloader.bin
adb pull /dev/block/mmcblk0p2 bootloader.bin
adb pull /dev/block/mmcblk0p3 dkernel.bin
adb pull /dev/block/mmcblk0p4 dfs.bin
adb pull /dev/block/mmcblk0p5 recovery.bin
adb pull /dev/block/mmcblk0p6 backup.bin
adb pull /dev/block/mmcblk0p7 boot.bin
LG Nexus 4 Occam 4.3 CyanogenMod 10.2 - iRom
HTC One 4.3 CyanogenMod 10.2 - iRom
Nexus 7 (2013) 4.3 CyanogenMod 10.2 - iRom

Buy me a beer (or something...)
BitCoin donations accepted:
169j1kriHAtqd64mG5curpVxrxsY92Wi47
The Following User Says Thank You to intersectRaven For This Useful Post: [ Click to Expand ]
 
JackpotClavin
Old
#4  
JackpotClavin's Avatar
Recognized Developer
Thanks Meter 2057
Posts: 760
Join Date: Feb 2011
Location: New York

 
DONATE TO ME
for stock only?
The Following User Says Thank You to JackpotClavin For This Useful Post: [ Click to Expand ]
 
intersectRaven
Old
#5  
Recognized Developer - OP
Thanks Meter 986
Posts: 1,947
Join Date: Mar 2010

 
DONATE TO ME
Quote:
Originally Posted by JackpotClavin View Post
for stock only?
Yeah. There's still a couple of glitches though. Seems connecting USB crashes everything.
LG Nexus 4 Occam 4.3 CyanogenMod 10.2 - iRom
HTC One 4.3 CyanogenMod 10.2 - iRom
Nexus 7 (2013) 4.3 CyanogenMod 10.2 - iRom

Buy me a beer (or something...)
BitCoin donations accepted:
169j1kriHAtqd64mG5curpVxrxsY92Wi47
The Following User Says Thank You to intersectRaven For This Useful Post: [ Click to Expand ]
 
Veritass
Old
#6  
Veritass's Avatar
Senior Member
Thanks Meter 42
Posts: 232
Join Date: Nov 2011
Location: Albany
And wifi doesn't work? O.o

Sent from my Kindle Fire using xda premium
 
intersectRaven
Old
#7  
Recognized Developer - OP
Thanks Meter 986
Posts: 1,947
Join Date: Mar 2010

 
DONATE TO ME
Quote:
Originally Posted by Veritass View Post
And wifi doesn't work? O.o

Sent from my Kindle Fire using xda premium
Yup. That's why it's marked INCOMPLETE in the title.
LG Nexus 4 Occam 4.3 CyanogenMod 10.2 - iRom
HTC One 4.3 CyanogenMod 10.2 - iRom
Nexus 7 (2013) 4.3 CyanogenMod 10.2 - iRom

Buy me a beer (or something...)
BitCoin donations accepted:
169j1kriHAtqd64mG5curpVxrxsY92Wi47
 
intersectRaven
Old
(Last edited by intersectRaven; 9th December 2011 at 06:15 AM.)
#8  
Recognized Developer - OP
Thanks Meter 986
Posts: 1,947
Join Date: Mar 2010

 
DONATE TO ME
Stock Wifi works now!

*a bit flaky though...drops every now and then...still fixing...
LG Nexus 4 Occam 4.3 CyanogenMod 10.2 - iRom
HTC One 4.3 CyanogenMod 10.2 - iRom
Nexus 7 (2013) 4.3 CyanogenMod 10.2 - iRom

Buy me a beer (or something...)
BitCoin donations accepted:
169j1kriHAtqd64mG5curpVxrxsY92Wi47
 
DooMLoRD
Old
#9  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 34105
Posts: 12,226
Join Date: Jul 2010
Location: Pune, Maharashtra
great work mate!!!

have u uploaded sources to git?

also can u please send link of correct toolchain to use?
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z1, Z, SP, T | WISHLIST: Sony Xperia Z2

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z / Xperia SP / Xperia Z1 / Sony ZU GPe / Xperia Z1 Compact / Xperia Z2, Z2 Tablet / Xperia T2 Ultra

My Apps on Google Play Store | Follow me on Twitter!
 
N23
Old
#10  
Senior Member
Thanks Meter 16
Posts: 143
Join Date: Mar 2007
Have you tried to compile the bluetooth module? I still believe that the Kindle has Bluetooth support

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes