[Q] [WEBTOP] Can't start WiMAX usb device - Atrix 4G Q&A, Help & Troubleshooting

Hi!
ROM - NottachTrix1.3.1
Kernel - 2.6.32.56-MB860-faux123-GB-024 1.30GHz
WebTop - GenTop2-20120509
I've tried to work with SWC-U200 - install madwimax, it can find device, but can't work with (see screenshot).
What should I do?

you need to git pull faux's kernel than enable tun tap in the menuconfig as modules and compile the modules, than copy them and the other files to the nonexistant dir that the system complains about.

crnkoj said:
you need to git pull faux's kernel than enable tun tap in the menuconfig as modules and compile the modules, than copy them and the other files to the nonexistant dir that the system complains about.
Click to expand...
Click to collapse
Nice idea, but why faux123 wrote:
faux123 said:
Version 0.0.1 (deprecated)
Added FakeShmoo OC/UV
Compiled with Tegra2 specific VFP optimizations, Tegra2 specific optimizations
Added BFQ I/O Scheduler
Added SLQB memory allocator
Added EXT4 support (NOT ENABLED YET)
Added CIFS + UTF-8 support (for windows shares)
Added TUN/TAP support directly
Added FUSE (file system in user space)
Added AVP overclock (system bus)
Merged WiFi Module into kernel source tree
Click to expand...
Click to collapse

I don't know that, maybe ask him ) anyhow that file is missing, and so you need to procure it. Probably the best way to do that, is to either crosscompile it or do just the modules on the atrix itself. Depending on your knowledge and a Linux pc with a cross toolchain either is the better idea

Resolved:
# mkdir /dev/net
# mknod /dev/net/tun c 10 200
# /usr/sbin/madwimax -qdo

Related

[KERNEL MODULE] Extra modules pack v0.1.3 (feat. overclock) [OMAP4 kernel 3.0.8]

Some extra kernel modules for you & me.
Modules :
filesystem
ntfs.ko (read/write support)
cifs.ko (with extra attributes)
kernel hacking
symsearch.ko (Unexported symbol finder by Skrilax_CZ)
CPU scaling governor (back ported from other dev)
cpufreq_interactiveX.ko [@] (interactiveX V2 governor by imoseyon)
early suspend support and hotplugging
cpufreq_hotplugX.ko [@] (hotplugX governor by imoseyon)
early suspend support and tweaks
cpufreq_smartass2.ko [@] (SmartassV2 governor by erasmux)
cpufreq_pegasusq.ko [@] (Samsung multi-core governor)
based on modification done by Gokhanmoral
cpufreq_boostedASSv2.ko [@] (a modified smartassv2 governor)
ported from BMc08GT
CPU/GPU frequency control
cpu-control.ko [@] (Tweak CPU frequency & voltage to your like)
my 1st kernel module. based on milestone overclock & opptimizer.
I/O scheduler
sio-iosched.ko (Simple IO scheduler)
based on Noop, Deadline and V(R) IO schedulers. In android world, simple is better
modules with [@] mark requires symsearch.ko to operate
Click to expand...
Click to collapse
These kernel module will work for most Motorola omap4 device. (kernel 3.0.8 only)
Disclaimer : I don't write all of these modules. Only make a few changes/tweak for it to work on our device. Enjoy!
Kernel version : 3.0.8
Kernel source : 67.42.17.XT910S.SKT.en.KR
Compiler setup : CodeSourcerey arm-2012.03-56-arm-none-eabi (-O2 optimization)
Build revision : Project Lense build *.*
Change logs:
0.1.1
- Add Simple I/O scheduler.
0.1.2
- Recompile with -O2 flag. I notice some instability when using -O3 flag
- Tweaked sio scheduler
- Add tweaked pegasusq governor.
0.1.3
- Add cpu overclock/underclock module
- Add boostedASSv2 governor
Click to expand...
Click to collapse
Source code :
https://github.com/ProjectLense/kernel_omap4_spyder
- branch extra_kernel_module
Download link :
extra_kernel_modules_0.1.3.zip - contains all the modules
init.d_n_governor_installer_0.1.3.zip - optional. init.d installer (load all modules to memory on startup).
Update : Add a preview of Tweakerz app.
- Include all kernel module. Module are loaded from app storage.(no install /alter system partition.)
- Load/unload kernel module on-the-fly (No save setting or set on boot option)
- Set CPU voltage/freq via GUI (No persist option yet)
[/LIST]
Easy Install method: (For init.d)
Reboot to recovery
Install extra_kernel_modules_0.1.zip
Install init.d_n_governor_installer.zip (Thanks to core720)
Click to expand...
Click to collapse
Install guide for adding init.d script via Script Manager - SManager app
1.Extract all *.ko files from extra_kernel_modules_0.1.2.zip to /system/lib/modules
2.Open Script Manager, Create new script / modify existing script
Code:
#!/system/bin/sh
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpufreq_interactiveX.ko
insmod /system/lib/modules/cpufreq_hotplugX.ko
insmod /system/lib/modules/cpufreq_smartass2.ko
insmod /system/lib/modules/cpufreq_pegasusq.ko
insmod /system/lib/modules/sio-iosched.ko
3.Save to /system/etc/init.d/
Click to expand...
Click to collapse
Q: How to load a cpufreq governor
1.Load symsearch.ko
2.Load your choice of governor
3.Enable it
Code:
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpufreq_interactiveX.ko
echo interactivex > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Click to expand...
Click to collapse
Q: What is the best cpu-freq governor
maybe this will help you choose/tweak
CPU Governors explained
Pegasusq Governor
Click to expand...
Click to collapse
Q: How to load cpu frequency/voltage (underclock/overclock)
1.Load symsearch.ko
2.Load cpu_control.ko
Code:
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpu_control.ko
Click to expand...
Click to collapse
Q: How to change cpu frequency & voltage
echo id frequency(Mhz) voltage(mV) > /proc/cpu_control/tweak_cpu
example :
Code:
echo 0 196 980 > /proc/cpu_control/tweak_cpu
echo 1 500 1195 > /proc/cpu_control/tweak_cpu
echo 2 750 1320 > /proc/cpu_control/tweak_cpu
echo 3 1000 1388 > /proc/cpu_control/tweak_cpu
echo 4 1350 1410 > /proc/cpu_control/tweak_cpu
ICS kernel default voltage&frequency table
Code:
[B]Id Freq Volt(mV)[/B]
0 300 1025
1 600 1200
2 800 1325
3 1000 1388
4 1200 1398
GB kernel default voltage&frequency table
Code:
[B]Id Freq Volt(mV)[/B]
0 300 1025
1 600 1200
2 800 1313
3 1000 1374
4 1200 1375
** voltage min : 830mV, max : 1410mV
Click to expand...
Click to collapse
More/Details about cpu_control.ko module
To view ICS default frequency-voltage table
Code:
cat /proc/cpu_control/opp_table_default
To view current frequency-voltage table
Code:
cat /proc/cpu_control/opp_table_current
To view current CPU & GPU frequency
Code:
cat /proc/cpu_control/frequency_current
Click to expand...
Click to collapse
whirleyes said:
cpufreq governor install method
1.Load symsearch.ko
2.Load your choice of governor
3.Enable it
Code:
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpufreq_interactiveX.ko
echo interactivex > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Click to expand...
Click to collapse
Will this survive a reboot Whirleyes?
NO.. use init.d or custom init to have it persist.
I've upload new version of bootmenu with 2nd-init support today.
Just waiting for Google Play to start distributing it
Awesome!
"67.42.17.XT910S.SKT.en.KR" is our Razr(Korea Razr).
is that kernel source has been opened?
Thanks for your work!
I'll try to test on my razr.
J.Y.Daddy said:
Awesome!
"67.42.17.XT910S.SKT.en.KR" is our Razr(Korea Razr).
is that kernel source has been opened?
Thanks for your work!
I'll try to test on my razr.
Click to expand...
Click to collapse
see this thread for all link .. ICS source code is now available!
good work
I've created an installer that includes support for automatic load init.d modules so they can select with SetCPU or other similar program....
core720 said:
I've created an installer that includes support for automatic load init.d modules so they can select with SetCPU or other similar program....
Click to expand...
Click to collapse
Thanks.. but to be more efficient, I would like to have them separated.
1. User install my module pack. (extra_kernel_modules_*.zip)
2. User install init.d loader. (init.d_n_governor_installer.zip
core720 said:
I've created an installer that includes support for automatic load init.d modules so they can select with SetCPU or other similar program....
Click to expand...
Click to collapse
I tried to use your flashable zip. It doesn't work, but I found that after I chmod 777 the 90module in the init.d folder it works flawlessly. So I think you need to add that set permissions to your script.
*edited for grammar issues. It was bugging me that my You're and Your was wrong.
Fix....
I don't think the ntfs.ko is working right. I just formatted an sd card with ntfs to test it out after loading the module and it pulls it as a blank sdcard.
Will this work on an XT910? Is the kernel source any different from the 67.42.17.XT910S.SKT.en.KR?
robertwhitten87 said:
I don't think the ntfs.ko is working right. I just formatted an sd card with ntfs to test it out after loading the module and it pulls it as a blank sdcard.
Click to expand...
Click to collapse
don't blame the ntfs.ko, it's MotoBlur problem.(vold limitation)
You have to mount your NTFS partition manually.
DJFliX said:
Will this work on an XT910? Is the kernel source any different from the 67.42.17.XT910S.SKT.en.KR?
Click to expand...
Click to collapse
These modules will work on any 3.0.8 kernel
whirleyes said:
don't blame the ntfs.ko, it's MotoBlur problem.(vold limitation)
You have to mount your NTFS partition manually.
Click to expand...
Click to collapse
Yeah, I realized that after I commented and was playing around some more. Motoblur is the one throwing the blank sd card issue, not the system itself.
So I think it's time to go back to playing. I'm loving the new governor.
does anyone have an init.d script they could throw up to run one of these on boot?
whirleyes said:
Q: How to load a cpufreq governor
I flashed the zips and have not been able to automatically pick the governor while in setcpu.
I loaded up terminal and did the commands you posted but those didnt work unless i substituted /system/lib for /system/bin. Doing that I can now select interactivex. I'd love for the init.d scripts to work so I dont have to fumble around with this every boot. My rom does have init.d support.
Is there a reason for the difference on my phone? I have a razr maxx and running the newest kernel from build 214 and on Arctic rom.
Thanks.
Click to expand...
Click to collapse
Thank you for this. I loaded both zips & init.d works perfectly for me on an OG Razr running the stock 211 rom/214 kernel combo. Everything is available to select & it all runs at boot. System Tuner Pro is what I use to select the governor/scheduler settings.
Sent from my DROID RAZR using Tapatalk 2
Thanks for the modules! They work perfectly. I was wondering if its possible for you to write a script/module that would support editing vsel values for undervolting the cpu. Would be really helpful in extending battery life.
evonc said:
Thanks for the modules! They work perfectly. I was wondering if its possible for you to write a script/module that would support editing vsel values for undervolting the cpu. Would be really helpful in extending battery life.
Click to expand...
Click to collapse
Try check OPPtimizer Projekt, maybe tekahuna has recompile it for ICS.

[21st Feb][Rc-4][JB][3.0.65][CWM] SIRI KERNEL ★ Making your S Advance Fly! :D ★

[21st Feb][Rc-4][JB][3.0.65][CWM] SIRI KERNEL ★ Making your S Advance Fly! :D ★
Hello,
So I am finally here! As I promised, I'll be hacking Kernels when Jellybean is out!
READ THE OP AND EVERYTHING PROPERLY BEFORE ASKING ANY QUESTIONS!
Just a small introduction:
Through this Kernel, my aim is to provide a fast yet bloat-free user experience. Hence , I have decided against adding 30 different governers or 10 different I/O Schedulers. I like to keep stuff neat and minimalistic. Big thanks to Cocafe, Diego and Shaan for their testing, help and especially Cocafe for whatever patches I have used from his Kernel and for helping me out with the recovery.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DISCLAIMER:
** I do not own the device **
INDEX:
1] Frequently asked Questions + Instructions (Read this well once)
2] Changelogs
3]"] Download Links
FEATURES
General Features
Updated to LATEST Linux 3.0.65
Compiled with Linaro Toolchain GCC 4.6 with Optimizations
Cleaned off Debug stuff, which slows down the Kernel (FRAME POINTER, Log Buffer Size is 64KB)
Hacks to improve battery! (Disabled SVNET Wakelocks, Removed APE Request from vibrator driver)
Optimized CRC32 Algorithms
Optimized Filesystem Mounts for better Disk I/O
Code rewrites whereever necessary.
Charger Current Control! (Refer to FAQ!)
Sound Boost Control! (Refer to FAQ!)
Android Logger Disabled(++Performance) (Check FAQ on how-to enable)
Lowmemory Killer and Logger updated to Android-3.4
All Section Mismatch Warnings fixed, since they could cause bugs.
ARM Specific Features
ARM specific optimizations and other compiler optimizations
Optimized ARM RWSEM Algorithm
Enabled ARCH Power and Disabled GENTLE FAIR SLEEPERS
ARM: Add optimised swahb32() byteswap helper for v6 and above
Removed Force Upload Mode (Causes A forced Kernel panic when you press Volume down + headset jack plugged in)
REMOVED ALL OF SAMSUNG's DEBUG CRAP which slowed down the Kernel!
Freed the Kernel of almost every possible debug that could slow it down.
JRCU (Improves smoothness and responsiveness)
Optimized ARM AES and SHA1 Routines
I/O and Filesystem
Cleancache Enabled
CIFS Enabled
IO SCHEDULERS: SIO,VR,ROW,CFQ.
Some I/O Related patches.
NOATIME and NODIRATIME mounts set as default.
Fsync Toggle (Ezekeel)
Network
Proportional Rate Reduction in TCP - By Google
TUN/TAP Enabled
Support to change WiFi Power Management Policy to PM_FAST (Read FAQ)
Vpnclient support (Module)
Added more TCP Congestion Avoidance Algorithms: Westwood, Veno, Illinios, Vegas. Cubic(default). [ Choose which gives you the best speed! ]
Linux Memory Management
SLUB Memory Allocator (Better than the SLUB -> Default)
Tweaked all VM parameters for best performance
Upstream Linux memory management patches merged.
RAMDISK
No Compression for RAMDISK (++boot speed)
XZ Compressed Kernels.
Auto-Root Feature
Support to run init.d scripts on boot
Auto /efs backup (Needs testing)
CPU
Governers: Interactive,Conservative,Performance,Hotplug,PegasusQ
Performance Governer is now core-aware, both cores are turned on for max performance (AndreiLux)
Interactive Governer synced with Android 3.4 Kernel.
Touch to boost CPU (Refer to FAQ!)
Lots more! Flash and see for yourself!!
Reserved
changelogs
Code:
[b][color="red"]SIRI Kernel[/color][/b]
[u][b][color="darkred"]SIRI Kernel rc-1[/color][/b][/u]
[list]
[*][b]Initial release[/b]
[/list]
[u][b][color="darkred"]SIRI Kernel rc-2[/color][/b][/u]
[list]
[*][b][u][b][color="red"]Updated to latest Linux 3.0.60[/color][/b][/u][/b]
[*] Fixed sound boost control
[*] Added WiFi PM FAST toggle (Check FAQ)
[*] Disabled all samsung debug crap drivers for a faster kernel
[*] Disabled lots of debug (KGDB,FRAME POINTER) that can slow down the kernel
[*] Other patches from Mainline Linux and other repos
[/list]
[u][b][color="darkred"]SIRI Kernel rc-3[/color][/b][/u]
[list]
[*][b][u][b][color="red"]ClockworkMod Recovery! (big thanks to cocafe and diego) [/color][/b][/u][/b]
[*][b][u][b][color="red"]Updated to Linux 3.0.65[/color][/b][/u][/b]
[*] Fsync on/off toggle (Ezekeel)
[*] JRCU Forward Ported (original patch by Joe Korty :) )
[*] PegasusQ governer added (On public demand! )
[*] Improvements to the sound control driver, the ab8500 asoc is now powered on when sound control is enabled.
Added code for jack detection, which will be useful for future use. Fixed the balancing issues.
Improved it to work better!
[*] Samsung phone svnet wakelocks disabled. Should improve battery.
Svnet wakelocks held the highest wakelock timeouts.
[*] charger control interface-
I wrote an interface to change the usb and ac charger currents.
You can now increase the speed of USB and AC charge.
Simply by increasing the charge currents. (Refer to FAQ)
Max for usb and ac is 900mA, the device will charge fast, but use at your own risk.
[*] Interactive governer synced with google's android 3.4 repo.
[*] Touch to boost interface-
rewrote a better implementation for this.
You can boost the cpu to a selected speed when you touch the screen. (refer to faq)
will boost overall performance and smoothness when enabled.
[*] Android low-memory killer driver synced with Google's android 3.4 repo.
[*] Android logger driver (logcat) synced with Google's android 3.4 repo.
[*] Android logger (logcat) is disabled for better performance.
You can enable it if you wish (refer to faq)
[*] Optimized crypto arm aes and sha1 routines.
[*] Performance governer is now core-aware. Both cores will be turned on when governer is enabled.
(thanks to andreilux for this patch)
[*] Toggle for mali l2 max reads (thanks cocafe!)
[*] Fixed all section mismatches. These could cause issues. But i have fixed them.
[*] Disabled lots of verbose debugging.
[*] Rewritten tspdrv vibrator driver-
Rewrote the i2c_write function for efficiency.
Removed all the crap debug macros, and removed the request_ape_opp
which would cause battery drains.
[*] [url="https://github.com/Adipat/android_kernel_samsung_janice/commit/28bb445211ed41ff2d1f9c7a8f395de55bfd789b"]patch to fix depleting entropy[/url] (please refrain from using seeder and other fixes)
[/list]
[u][b][color="darkred"]SIRI Kernel rc-4 (Coming soon!) [/color][/b][/u]
[list]
[*] Charging derps fixed. Also temporarily disabled Charge Control, will be added back in rc-5 with fixes.
[*] Vibrator(Haptic Feedback) Fixed.
[*] J4FS partly fixed. Will add full fix in next release.
[STRIKE]J4FS works perfectly now! reboot recovery and reboot download commands work like a charm.[/STRIKE]
[*] Added TCP Congestion Avoidance Algortithms: westwood, vegas, illinios, veno. (Refer to FAQ's!)
[*] Added easy control scripts, you can now tweak stuff easily! ;)
[/list]
FAQ- (READ this well before asking me anything!)
1] I am not responsible for any hard/damage caused. You are choosing to make these modifications at your own risk!
2] Do not use any third party init.d scripts!
3] Configurable Tweaks- You can choose to enable/disable some of my Kernel implementations.
EASIER WAY TO TWEAK! READ THIS !!
OR
[*] Sound Boost-
By enabling sound boost, you can get a considerable improvement in the overall headset volume output.
Connect your headphones/earphones, then enable it with the below command.
Code:
echo "1" > /sys/kernel/sound_control/sound_boost
[B]To Disable, echo "0" .[/B]
[*] Touch Boost Feature-
Touchboost feature , when enabled boosts the CPU speed on touch input.
So, whenever you touch the screen or are scrolling through, the CPU speed will get boosted(locked) to a set frequency.
This could possibly improve the gaming performance.
Code:
echo "1" > /sys/kernel/touchboost/enable
[B]To Disable, echo "0" .[/B]
After enabling it. You can tweak some more stuff.
Boost Frequency: Change the frequency of CPU boost. Default is 800Mhz.
Code:
echo "1000" > /sys/kernel/touchboost/freq_boost
[B]Above command sets it to 1Ghz boost. You can try 200, 400, 800 which are the supported values.[/B]
Boost Timeout Time to keep CPU Boosted. Whenever the timeout ends, the CPU will be restored back to normal. Default is 0.
Max supported is 10 seconds. To change the value.
Code:
echo "3000" > /sys/kernel/touchboost/timeout
[B]Above command sets it to 1 seconds. Value is in milli seconds, 1000 milliseconds = 1 second.[/B]
[*] Enable Logger (Logcat)
Logger is disabled by default to improve performance.
However, app debugging won't work. Even the logcat command won't work.
Code:
insmod /lib/modules/logger.ko
[B]To enable Android logger.[/B]
Code:
rmmod logger.ko
[B]To disable Android logger.[/B]
[*] Fsync On/Off
Fsyncs are enabled by default in my Kernel for safety purposes.
You can choose to disable it-
Effects of disabling Fsyncs:
Pros:
When Fsyncs are disabled, the Filesystem I/O operations are reduced. This could result in a possible increase in I/O benchmarks.
Other advantages could be increase in device responsiveness,performance and battery improvements since the disk I/O is reduced.
Cons:
It can cause filesystem corruption if there is a system freeze. Could have other side effects too.
Code:
echo "0" > /sys/class/misc/fsynccontrol/fsync_enabled ("1" to enable, default is enabled)
[*] Charger Current Control-
You can increase the charger input current for fast charge.
The default for USB is 500mA and AC Charger is 600mA.
Max supported value is 900mA for safety!
You can try values between 300-900mA.
Example-
Code:
echo "700" > /sys/class/misc/charge_control/usb_current
echo "700" > /sys/class/misc/charge_control/ac_current
[*] Mali L2 Cache Max Reads-
Default: 28KB
You can try 48.
-> You can try other values.
Example-
Code:
echo xx > /sys/module/mali/parameters/mali_l2_max_reads
[*] TCP Congestion Avoidance-
You can now change the TCP Congestion Avoidance Algorithm used in the Kernel as per the one which works best for you!
Personally, I prefer using westwood as I get better speeds with it. But you are free to try others too.
Default is cubic.
Other supported ones in my Kernel are westwood, veno, vegas, illinios.
You could read more about it here.
Example-
Code:
echo "westwood" > /proc/sys/net/ipv4/tcp_congestion_control
Choose the options and configs that work best for you!
Settings get resetted on reboot.
For permanent settings, add the commands to a text file and push them to /system/etc/init.d .
This will preserve the settings every time you reboot.
[*] INSTRUCTIONS (READ THIS CAREFULLY! AND FLASH! )
-> Download the zip from Downloads Section (rc-4 and above)
-> Extract it, you will find two files.
-> I9070_CWM_FLASHABLE_SIRI_KERNEL_rc-XX.zip (This zip is a CWM/TWRP Flashable zip)
-> I9070_SIRI_KERNEL_rc-XX.bin.md5 (This is flashable via dd method or frapetis app)
Method 1: (Flash via Recovery)
rc-4 Onwards-
-> Make sure you have CWM or TWRP Installed, if no, then install the recovery.
-> Place zip in sdcard
-> Install zip via CWM Recovery
-> Enjoy!
Method 2:
Versions Before rc-4.
-> Download Kernel (.bin.md5)
-> Place it in your Internal sdcard.
-> Open terminal emulator or ADB Shell.
-> Run EXACTLY the commands given below.
-> Wrong command will brick, so be careful.
Code:
$ su
# dd if=/sdcard/I9070_SIRI_Kernel-rc-3.bin.md5 of=/dev/block/mmcblk0p15
# reboot
Method 3:
YOU CAN ALSO USE THIS EXCELLENT APP TO FLASH YOUR KERNELS!
Enjoy tweaking your device!
DOWNLOADS
DOWNLOAD SIRI KERNEL - rc 4
(Download and extract the zip, and then check the README or read the above post for instructions on how to flash)
Click this button-
--------------------- OLD VERSIONS NOT RECCOMENDED -------------------------
DOWNLOAD SIRI KERNEL - rc 3
DOWNLOAD SIRI KERNEL - rc 2
Download Siri Kernel - rc 1
------------------------------------------------------------------------------
A NOTE-
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to this kernel. If you want to include my kernel in your project or use my source code, please mention it in your post, give proper credits.
Opensource does not mean 'Out-of-credit'
ROM cooks/kangers: Please do not bake my Kernel in your ROMs. If the user wishes, he/she can flash the ROM and then flash my Kernel seperately.
Sources
CREDITS-
shut_down (For Extensive testing!)
Cocafe, Diego (CWM Recovery, testing, Big thanks! )
Shaan (Testing and feedbacks!)
gokhanmoral , AndreiLux (For their inspiring work! )
simone201 (For replying to my queries)
okay just tested it...
kernel log: http://pastebin.com/qaivmJxm
cifs module wont load, dhd module fails to bring the interface up (check the log).
Code:
$ lsmod
scsi_wait_scan 557 0 - Live 0xbf082000
bthid 4940 0 - Live 0xbf01f000
param 11349 0 - Live 0xbf017000 (P)
j4fs 67164 1 - Live 0xbf000000 (P)
$ mount | grep mmc
/dev/block/mmcblk0p3 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p2 /modemfs ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p4 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p5 /data ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p1 /mnt/.lfs j4fs rw,relatime 0 0
what else do you need?
diego-ch said:
okay just tested it...
kernel log: http://pastebin.com/qaivmJxm
cifs module wont load, dhd module fails to bring the interface up (check the log).
Code:
$ lsmod
scsi_wait_scan 557 0 - Live 0xbf082000
bthid 4940 0 - Live 0xbf01f000
param 11349 0 - Live 0xbf017000 (P)
j4fs 67164 1 - Live 0xbf000000 (P)
$ mount | grep mmc
/dev/block/mmcblk0p3 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p2 /modemfs ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p4 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p5 /data ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p1 /mnt/.lfs j4fs rw,relatime 0 0
what else do you need?
Click to expand...
Click to collapse
So wifi is broken.
CIFS I will build into the Kernel, Module is too big. Btw is that a ram console dump?
Sent from my GT-I9003 using XDA Premium HD app
Adi_Pat said:
So wifi is broken.
CIFS I will build into the Kernel, Module is too big. Btw is that a ram console dump?
Sent from my GT-I9003 using XDA Premium HD app
Click to expand...
Click to collapse
thats kmsg output
Sent from my GT-I9070 using xda app-developers app
Two great developers cooking something....waiting for the dish... keep going guys you rock
@Adi_Pat @diego-ch
Can you add some ingridients too cook from this sources also kernel for I8160? I would love to test one.
arroyo said:
@Adi_Pat @diego-ch
Can you add some ingridients too cook from this sources also kernel for I8160? I would love to test one.
Click to expand...
Click to collapse
That's the Ace 2 right? I am waiting for Samsung to drop Jellybean, pointless working on old kernel when we are going to get something better. I will merge both the sources then.
Sent from hell..!
Adi ..
I am some how not confident of samsung releasing the new JB in november.
I am no techie. But i have a question.. I was using Spice mi 410 and developers have ported cm10 on 2.6.35 kernel yes with some bugs but it still working smoothly ..
and several versions of ICS
Is it not possible to do the same on our device i know JB is kernel version 3.0
Sent from my GT-I9070 using xda app-developers app
Any update on this?
varun.chitre15 said:
Any update on this?
Click to expand...
Click to collapse
Thought of waiting for Samsung to drop JB.
Adi, i know you. Why don't you help me port CM.
Besides, even i am thinking of delaying CM.
The devs at Samsung know how to clusterfck the device. Waiting for JB now. I was going to start working on OC, but i see you have already begun.
I will fork your repo and look into it now.
Cheerz..
Shaaan said:
Adi, i know you. Why don't you help me port CM.
Besides, even i am thinking of delaying CM.
The devs at Samsung know how to clusterfck the device. Waiting for JB now. I was going to start working on OC, but i see you have already begun.
I will fork your repo and look into it now.
Cheerz..
Click to expand...
Click to collapse
I thought its pointless to waste time on GB (Linux 2.6.35) now. Samsung would surely release a better Kernel source (3.0 or maybe 3.1.10) . Plus I don't have the device with my so my focus is presently on other Projects at the moment(i9003). PM me your gtalk , we can continue out chat there
So this Project is on a hold.
Oh hey there Adi , seems like you're not just working on the R o.o
Sent from my GT-I9070P using xda app-developers app
CallMeVentus said:
Oh hey there Adi , seems like you're not just working on the R o.o
Sent from my GT-I9070P using xda app-developers app
Click to expand...
Click to collapse
Uh.. didn't get you dude.
Adi_Pat said:
Uh.. didn't get you dude.
Click to expand...
Click to collapse
Weren't you involved in the Galaxy R forums ?
Sent from my GT-I9070P using xda app-developers app
CallMeVentus said:
Weren't you involved in the Galaxy R forums ?
Sent from my GT-I9070P using xda app-developers app
Click to expand...
Click to collapse
Yeah I still am!
Sent from my GT-I9003 using xda premium
Erm..bump
Sent from my u8800

[Q] how init.d support is implemented in cyanogenmod?

Can someone explain how init.d support is implemented in CyanogenMod? Link to the relevant github source file/files would be the best.
Is is supported for all devices automatically or a special section (something like busybox run-parts) needs to be added to init.rc file in android_device_<VENDOR>_<NAME> repository?
If anyone interested I think I found the answer to my question:
In a device specific init.rc (e.g. https://github.com/CyanogenMod/android_device_sony_montblanc-common/blob/ics/config/init.rc) there is usually a call to sysinit:
Code:
exec /system/bin/sysinit
and sysinit is a script that runs run-parts: https://github.com/CyanogenMod/android_vendor_cm/blob/ics/prebuilt/common/bin/sysinit

[Kernel][Jan 12]Experimental v12 [JB 4.1.2]

This kernel is self-used.
So something has not been added.
If you want,just tell me and problem you encounter.
Kernel Features:
General:
- Kernel version 3.0.y
- 390MB RAM
- Useful optimization flags
- jRCU [Joe Korty]
- Dynamic dirty page writebacks
- Timer slack controller
- Dynamic management of the minimal timer slack value during suspend/resume
- LowMemoryKiller management of not killable processes
- Android Logger Disabled(++Performance) (Check HOW TO on how-to enable)
- Frandom Read Me!
- Entropy tweaks.
- Cleaned off Debug stuff, which slows down the Kernel (FRAME POINTER, Log Buffer Size is 64KB).
- CWM 5
- LZ4 for Zram swap.
- Elf.3 included for better battery.
- DVFS(Dynamic Voltage and Frequency Scaling).What is DVFS? [Cocafe]
- Disable sched debug stuff
- Optimized SLUB memory allocator
- Optimized ARM RWSEM
- Low memory killer updated to Android 3.10
- Do not kill process
- ARM ThumbEE
- Build with neon
- Remove old version sha1 implementation
- Optimized AES and SHA1 routines for ARM cpu architecture
- Optimized string and memcopy libs
- Ram Console support
- L2 cache max reads writable
- Disable mali state tracking
I/O and Filesystem
SIOplus
CFQ
Deadline
ROW
V(R)
Zen
Noop
CPU
Pegasusq
Conservative
Ondemand
Performance
Interactive
Lazy
Wheatley
Sakuractive
Hotplug
SmartAssV2
Lionheart
Lulzactiveq
Nightmare
Dyninteractive
Download:
Experimental Kernel Stock:
ExperimentalSTOCK-12
Experimental Kernel CM10:
Experimental-CM10-12
Experimental Kernel ASOP:
ExperimentalASOP-12
MIUI v5 Kernel by akkufix:
MIUI v5 Kernel
Module Content::
Logger(Read How-to enable it)
CIFS(Required for SAMBA server)
and other non essential module
Credits:
Cocafe
Mujeni
Akkufix
alivanov79
stratosk
Christopher83
Source:
Github
Changelog:
12/01/2014
-clean and fixed source
-UKSM(disbaled by default)
-ABBamp Audio(thanks @cocafe)
-SLQB memory allocator
11/12/2013
-removed all experimental stuff
-removed DVFS
-fixes and tweaks
04/12/2013
-updated source to 3.0.101
-changed default lmk values
-KSM
-fix and tweaks
07/11/2013:
-fixed reboot problem
-remove compressed copy from zram in-memory
-backport zram from 3.7 kernel
-backport zsmalloc from 3.7 kernel
-lz4 compression for zram
-lz4 compressor module
-lz4 Cryptographic API
-included more Governor
-included more IO scheduler
14/10/2013:
- Change rcu to jRCU for reduced RCU memory usage and optimized for multi-core CPU
- SLQB slab allocator
- Memory compaction
- Built with -O3 optimization flag (both kernel and modules)
- Dynamic dirty page writebacks
- Dynamic management of the minimal timer slack value during suspend/resume
- Change default LMK minfree vlaues.
- Tweak VM params
- Updated governor
- Tweaked IO scheduler
04/09/2013
-Clean Source
-Kexec support
-Automatic zipalign and fstrim
-Not Killable Processes
08/08/2013
-DVFS
-zcache updated to 3.8
-ZRAM updated to 3.8
-replace xvmalloc with zsmalloc used by zcache and zram from 3.8 kernel
-tweak and fixes
31/07/2013
-added dyninteractive
-Tweak and fixed (rwsem,mutex,binder,etc)
-390MB RAM
-Removed DVFS
-XZ kernel compression
20/07/2013
-600mhz added back again
-added HotplugX and Lazy governor
-revert back to 385MB RAM(since lots of user are having random reboot problem)
18/07/2013
-fined tune DVFS...so no more lag with lower freq
-no more random reboot
-added Sakuractive governor
-added SIOplus IO
-increased RAM to 390MB
01/07/2013
-DVFS(Dynamic Voltage and Frequency Scaling)
-Fixes the freq bug(you can now set max and min.check out HOW-TO)
-Better Battery Life
-Hotplug governor cleanup
-388RAM(Much Stable)
-Tweaks
-Added reference 05exp init.d script
25/06/2013
Verison 7.0
-Updated kernel to 6.2.A.1.100
-Auto Hotplug
-CWM5
-Optimized crypto for ARM
-OOM Fixes
-Removed some governor
-Added some governor
-Bug and Fixes
12/06/2013
Version 6b
-390MB RAM
-added Lulzactivew,Lulzactiveq and Lazy Governor
-added zen and row IO
-minor fixes
Version 5
-Started from sratch
-Added 600Mhz
Experimental:
-ported and tweaked some Governor(Hyper,Dynainteractive,InteractiveX,Pegasusq,Hotplug,Interactive) for sola from latest Nexus kernel.
-Tweaks and fixes
07/06/2013
Version 4
-Added some new governor
-Remove some mali tweak
-Removed some governor
-Fixes
05/06/2013
Version 3
-Compiled using latest Linaro 4.8 with optimisation
-Frandom as module
-Logger compiled as module(free up some memory)
-other fix and tweak
04/06/2013
Version 2
-Fix Mali Tweak
03/06/2013:
Version 1
-Initial Version
HOW TO:
Here are some intructions/tips about how to play with the kernel.
Terminal is needed.
If you want to change the values,it needs su permission.
If you get 'Permisson denied',you need su permisson.
If the devices lost responses,hold power button 8s to reboot.
You can cd to the folder first,then do echos.
( CPU Freqs )
With DVFS,we cannot tweak min/max scale freqs via apps like SetCPU or nofrill.
but there are two ways you can change cpu freq:
by using this app
[APP][ROOT][4.0+] Performance Control - Open Source
Click to expand...
Click to collapse
or
by using terminal
cd /sys/power
Click to expand...
Click to collapse
For example: set 800Mhz as max limited
echo 800000 > cpufreq_max_limit
Click to expand...
Click to collapse
* When you switch on/off,power saving mode,this tweak will be overrided.
* If you want it to be permanet edit 05exp file in init.d.
No-fills CPU shows a wrong freqs
This is NOT issue. No-fills will show you Dynamic Min/Max scaling freqs,DVFS(dynamic voltage and frequency system) will adjust Min/Max freq according to system load.
Open SetCPU,it shows you real freqs.Or check sysfs directly.
Click to expand...
Click to collapse
ABBamp Audio
Please note that listening to too high volume music over 1 hour or more can damage your ears.
Too high volume can make your external speakers/headset overload or damage them.
First, why do i call it `AMP`?
Because most of our tweaks are about gain(volume)
Our codec is simple, It doesn't have any hardware EQ (although i want...)
ABBamp sysfs entries are in:
Quote:
/sys/kernel/abbamp
Click to expand...
Click to collapse
* Use RootExplorer to view this folder,there are lots files
Tweaks will take effects immediately!
Most tweaks will accept inputs like "on", "off" (no quotes)...
So, say "on" to enable this tweak, then this tweak will apply the value stored/inputed
View(cat) these files, most of them will give you useful infomation about this tweak.
They will show you the volume in dB of gain
`cd` to /sys/kernel/abbamp first then do echos, will be more convenient.
[AnaGain3] (Headset analog gain path):
Enable tweaks:
echo on > /sys/kernel/abbamp/anagain3
Click to expand...
Click to collapse
Disable tweaks:
echo off > /sys/kernel/abbamp/anagain3
Click to expand...
Click to collapse
Gain control: (min:0 ,max: 15) Lower value,higher volume (default: 0[+4dB])
echo left=?? > /sys/kernel/abbamp/anagain3
Click to expand...
Click to collapse
echo right=?? > /sys/kernel/abbamp/anagain3
Click to expand...
Click to collapse
Write both left and right channels:
echo gain=?? > /sys/kernel/abbamp/anagain3
Click to expand...
Click to collapse
Not Killable Processes
This feature allows to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
[APP][ROOT][4.0+] Performance Control - Open Source
Logcat
I have made android logger(logcat) as module to free more RAM.
Create a new init.d script:
Quote:
#!/system/bin/sh
insmod /system/lib/modules/logger.ko
Click to expand...
Click to collapse
Then you can use logcat command.
EGL Driver
To use Mali hardware egl driver only:
Edit /system/lib/egl.cfg
Quote:
0 0 android
0 1 mali
Click to expand...
Click to collapse
To
Quote:
0 0 mali
Click to expand...
Click to collapse
Init.d script
Please install busybox in system first
I recommend you install busybox via apps
Create a new folder named 'init.d' in /system/etc
Set the permisson of init.d foler to 0777(rwxrwxrwx) (at least has read and exec permission)
Set the owner to 0.0 (root root)
Put some scripts (any name you like) in init.d folder with permisson 0777 (rwxrwxrwx) (at least has read and exec permission)
Scripts with right permisson will be runned when system boots.
zRAM/SWAP
zRAM is optimized for Android. It is not lazy anymore.
Using zRAM will take a little CPU, because it needs to compress/decompress memory.
Recommended compressing about 18% of RAM, about 100 mb.
Setup disksize first: (example: 96mb= 96×1024×1024)
echo 100663296 > /sys/block/zram0/disksize
Click to expand...
Click to collapse
* Larger size more RAM will be compressed.
* Too large size might make phone lag
To enable:
Code:
mkswap /dev/block/zram0
swapon /dev/block/zram0
To check how many does it use:
cat /sys/block/zram0/num_reads
cat /sys/block/zram0/num_writes
cat /proc/meminfo | grep swap
Click to expand...
Click to collapse
* We can get other info in its sysfs
[SWAP]
1. Format/resize external SDCard via computer first.
Enable:
mkswap /dev/block/mmcblk1p1
swapon /dev/block/mmcblk1p1
Click to expand...
Click to collapse
2. Using a FILE as swap RAM: (Create a continuity file first)
su
cd /cache
dd if=/dev/zero of=swapfile bs=1024 count=81920
mkswap swapfile
swapon swapfile
Click to expand...
Click to collapse
Then we will have an 80mb swap RAM.
Last_dmesg
Some Help about posting kernel bugs -last_kmsg:
After you have a random reboot do this to get last_kmsg.txt file:
- via Terminal Emulator apk form play store : do
this:
Open the app, type:
su
Click to expand...
Click to collapse
hit enter.
type(withoutall the spaces) :
cat(space)/proc/last_kmsg(space)>(space)/sdcard/last_kmsg.txt
Click to expand...
Click to collapse
and hit enter.Then go to your internal memory with any
file explorer and you will finde the last_kmsg file
and please post it here.
UKSM
UKSM is more advanced than KSM algorithm which is developed by Chinese.
UKSM is faster 20x than KSM, and it has been disabled by default.
Here is a document about HOW-TO use UKSM in its WebSite.
http://kerneldedup.org/en/projects/u...ge/usage0-1-2/
if you want stop uksm run:
echo 0 > /sys/kernel/mm/uksm/run
Click to expand...
Click to collapse
for (re)activating:
echo 1 > /sys/kernel/mm/uksm/run
Click to expand...
Click to collapse
* I have set cpu_governor mode to quiet by default in order to get smooth.
* If feel laggy, try to disable UKSM.
etch04 said:
FAQ
Click to expand...
Click to collapse
what version?
v3.0.08?
Flashed.. kernel is very smooth with excperience rom
no bads so far..
will provide feedback soon
Hows the battery life? Please report
and the kernel gives the ability to tweak our GPU? Like OC and stuff??
(Im not really into kernel and stuff. Sorry)
Can you please add interactive governor??
Cheers:thumbup:
Sent from my MT27i using xda app-developers app
dwaipayanray95 said:
Hows the battery life? Please report
and the kernel gives the ability to tweak our GPU? Like OC and stuff??
(Im not really into kernel and stuff. Sorry)
Click to expand...
Click to collapse
No you can not overclock your gpu but tweak some parameter like l2 cache which can improve performance a bit when used with right setting. I'll update the post soon on how to do it.
Awesome! Looking forward to it
and battery life? Better than Munjeni's?
rakz992 said:
Can you please add interactive governor??
Cheers:thumbup:
Sent from my MT27i using xda app-developers app
Click to expand...
Click to collapse
Interactive is included, I just forgot to include it on the post.
dwaipayanray95 said:
Awesome! Looking forward to it
and battery life? Better than Munjeni's?
Click to expand...
Click to collapse
More or less.. it guess there's not much difference or maybe it's the same.can't be sure about that.
etch04 said:
More or less.. it guess there's not much difference or maybe it's the same.can't be sure about that.
Click to expand...
Click to collapse
Okay thanks
WIll report soon!
Testing!!
worked
Sent from Mayudroid
could u please make your kernel with touch CWM?
because in 6.0.2.8 doesnt work mounting SD-card and Internal memory...
Everything is smooth.. No much battery drain.. Sched_mc_power_savings is missing in sys/devices/system/cpu... Fine job :thumbup:
Sent from my MT27i using xda app-developers app
if it can help you
Commits for gpu clock control interface (MALI400)
So far very good, for me the the best battery life on JB and very smooth and stable. No glitches or hiccups.
Keep it up. Very good job.
Pegasusq/Sio...
Eth4n said:
if it can help you
Commits for gpu clock control interface (MALI400)
Click to expand...
Click to collapse
I don't think it possible right now because it need platform specific dvfs interface.the link u posted is above is for exynos and it would not work with ux500.there is no working implementation of ux500 of which I know and it beyond me implement it.
I gonna try this kernel. BTW will you add Linaro optimizations and frandom? This kernel will be smoother with them
Sent by typing on my Xperia Sola with my fingers using xda premium

[Kernel][26/11/14][LG][D855|F400|D852]Rin Kernel 1.8.5[KITKAT]

RIN Kernel for D855/P/K | F400/K/S/L | D852
Close to stock with some sugar added ... delicous!
Hey guys and girls,
you may have seen my unified stock kernel thread already (or may not, but doesn't matter). This kernel is my attempt to build up on the fixed source and add some additional features for us mod lovers to thinker with and to personalize your device to your usage. For now, I'll keep it close to my stock source and just pull some additional features and fixes in, but not to much. That may change in the future (maybe even soon), but for now, I'll stick to that paradigm.
First of, DISCLAIMER, I'm not responsible for bricked devices, dead unicorns, rainbows with missing colors, world war, nose bleed, void warranty (you know that already, don't you? your warranty is void now and it's your fault ) or any other harm happening to your device, you or people around you!
What does it serve? (Features)
Built with sabermod 4.9 toolchain
IO Schedulers
BFQ
CFQ
DEADLINE
FIFO
FIOPS
NOOP
ROW (default)
SIO
TRIPNDROID
VR
ZEN
Governors
Adaptive
Conservative
DanceDance
IntelliActive
IntelliDemand
Interactive (default)
Lagfree
Lionheart
OnDemand
Performance
Powersave
SmartassV2
Userspace
Wheatley
Smartmax
TCP Congestion Algorithms
BIC
Westwood
Vegas
Veno
Yeah
HTCP
Cubic (default)
Reno
init.d support
intelliplug
intelli thermal v2
Memutil optimizations
Voltage control
SoundControl
OC to 2.7GHz and UC support
Cpu limiter
2-Way Call Recording support
Simple GPU Algorithm
Simple_ondemand GPU Governor fixed
exFat support
ntfs support (bugged)
Oversharpening fix
DriveDroid support
android logger sysfs toggle (disabled by default)
high priority workqueue
Many under the hood fixes
Stability
More to come
How to apply it? (Installation)
IMPORTANT: Read through all the requirements, steps and warnings before you do anything, if any requirement doesn't match or you don't know what one or more of the steps below mean or do, ask before you do any of them, if you don't know how all the steps can be done, let it be, I warned you, if you don't do and something bad happens, I'll just laugh at you!!
Requirements? Yes!
D855/P/K, F400/K/S/L, D852
Custom Recovery
Stock or Stock based ROM (no AOSP)
How to flash the kernel?
Download zip
Place on internal or external SD
Reboot to recovery
Choose install zip
Search for the downloaded zip
Confirm flashing
Wipe cache
Reboot
Have fun
How to boot unbumped kernels?
Only needed for the img files prior version 1.7
Plugin your device to the PC
Open a terminal and execute
Code:
adb shell # open a shell over adb
su # change to superuser
dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of=/storage/external_SD/stock-laf.img # backup the stock download mode to your external sd
exit # exit the superuser shell
exit # exit the adb shell
adb pull /storage/external_SD/stock-laf.img . # backup the download mode image from you external sd to the PC
adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf # remove the stock download mode
BEWARE, THIS WILL REMOVE YOUR DOWNLOAD MODE!!! YOU WON'T BE ABLE TO FLASH KDZ FILES BEFORE YOU RESTORED IT!!!!
Turn off the device completely, plug in the USB-cable, if you pulled it out and start the device by holding vol up + power till you see some white text on the screen, fastboot should be written somewhere on the screen, afterwards execute the following command on the PC (while in the directory you've downloaded the kernel image to).
D855:
Code:
fastboot boot D855-rin-1.6.img # boot the kernel
F400:
Code:
fastboot boot F400-rin-1.6.img # boot the kernel
BEWARE, NEVER USE FLASH AT FASTBOOT ONLY BOOT, IT WILL TRIGGER SECURITY OF THE LOCKED BOOTLOADER AND YOU WON'T BE ABLE TO BOOT ANYMORE!!!!
You're done now and booted to the custom kernel!
How to make sure you're running the kernel?
To check if you properly booted into the kernel execute this in the command line (terminal emulater or through adb shell):
Code:
cat /proc/version
it should show
Code:
Linux version 3.4.0-rin-g58903a9-dirty ([email protected]) (gcc version 4.9.1 20140710 (prerelease) (crosstool-NG linaro-1.13.1+bzr2673 - Linaro GCC 2014.07 - Cortex-A15) ) #53 SMP PREEMPT Thu Aug 14 13:26:42 CEST 2014
Once more a warning READ IT!!:
BEWARE, when you reboot you'll boot to the stock kernel, you'll have to boot the custom kernel over fastboot every time, when you boot normally, you'll be on the stock kernel, this won't lead to issues, but you'll miss the benefits of this kernel, I know that's not optimal, but the best we can get with the locked bootloader.
How to restore Download mode?
Code:
adb shell # open a shell over adb
su # change to superuser
dd if=/storage/external_SD/stock-laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf # restore the stock download mode from the backup on your external sd
Changes? (Changelog)
26.11.2014/1.8.5
Less frequency steps to UC (better performance for governors hitting each step)
Oversharpening fix (Credits to @Skin1980)
Kernel now flashed with dd within recovery
Added external radio-iris-transport module to fix fm radio
20.11.2014/1.8
lollipop support (credits to @Skin1980 and his rooted ramdisk)
build with sabermod 4.9
Graphite build flags
NTFS support
sysfs interface for android logger (Logger disabled by default)
TCP cong algorithms (BIC, Westwood, HTCP, Vegas, Veno, Yeah)
More frequency steps between 300Mhz and 2.7Ghz
17.11.2014/1.7.2
Raise max microvolt at cpu for pm8941 and pma8084 (Possible Green Screen Fix)
Additional warnings fixed
11.11.2014/1.7
D852 support added
images bumped
flashable zip
init.d support (busybox required)
AIO optmimizations enabled
intelli plug added (credits to @faux123)
****load of warnings fixed
23.10.2014/1.6
D850 support added
Simple GPU Algorithm Support
Overclocking up to 2.76 Ghz
exfat support
intelli-thermal v2 added
smartmax governor added
memutil optimizations
build with NEON kernel mode
2-way call recording patch
DriveDroid cdrom emulation support
Faux SoundControl
Simple-OnDemand fixed
Cpu Freq Limiter
some small fixes and enhancements
17.08.2014
Support for F400 variants added
14.08.2014/1.0.1
net/ipv4|include/asm-generic: Enhancement of out of bounds fix
14.08.2014
Initial release
Full list of commits can be found here
Where to get it from? (Download)
AndroidFileHost | xda | dev host | google drive | trialsrider1
Let me test!! (Beta Testing Community)
Google+ LG G3 Beta Testing Community
Show me the so(u)rce(ry)! (Source Code)
https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-kitkat
Donators (huge thanks, you're simply great )
@Toneman07
@Helloworld294
@shaarky
@Dreamxtreme
@guyd
@mosincredible
@tobitege
@AndroidUzer
Credits
XDA
Google
LG
@HolyAngel
@faux123
@KAsp3rd
@myfluxi
@trialsrider1
@Skin1980
@Lord Boeffla
@GuneetAtwal
@DooMLoRD
If you like my work, please show your appreciation by pressing the thanks button, if you want to do more, i've nothing against a little donation, but I'm as happy when you just thank me by pressing the button
XDA:DevDB Information
Rin Kernel, Kernel for the LG G3
Contributors
Tectas
Source Code: https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-kitkat
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.8.5
Stable Release Date: 2014-11-26
Created 2014-08-14
Last Updated 2015-01-09
Any questions? (FAQ)
How can I toggle the android logger?
File Explorer Method:
Go with a root explorer to /sys/kernel/logger_mode and open the logger_mode file.
Remove everything inside that file and put the number 1 to enable and 0 to disable the logger into it and save the file.
Terminal Method:
Enable the logger
Code:
echo 1 > /sys/kernel/logger_mode/logger_mode
Disable the logger
Code:
echo 0 > /sys/kernel/logger_mode/logger_mode
My internal sd is not working, what to do?
Open adb shell or a terminal emulator and type
Code:
su
restorecon -v -R /data/media
Eccellent!first build for d855,I'm really happy for this!
Is it for 16g,32g or all version?
-------------------LG G3 [D-855]
recovery = stock..
kernel = stock..
rom = stock..
-------------------previous phones:
-ZOPO ZP990 = rom by me
-XPERIA PLAY = kernel by me
-LG L7 = change with xperia play
-MOTOROLA FLIPOUT = OC 1,2ghz
DanieleD'Ignazio said:
Eccellent!first build for d855,I'm really happy for this!
Is it for 16g,32g or all version?
-------------------LG G3 [D-855]
recovery = stock..
kernel = stock..
rom = stock..
-------------------previous phones:
-ZOPO ZP990 = rom by me
-XPERIA PLAY = kernel by me
-LG L7 = change with xperia play
-MOTOROLA FLIPOUT = OC 1,2ghz
Click to expand...
Click to collapse
Works on both.
Sorry I already posted in the source thread, prolly shoulda posted here. Can you do a 851 version? Or will this version work for 851?
Hello, good job, when F400K?
luchino71 said:
Hello, good job, when F400K?
Click to expand...
Click to collapse
When someone sends me the stock boot image for ram disk
Sent from my LG-D855
This can be useful?
https://dl.dropboxusercontent.com/u/30244475/boot.img
luchino71 said:
This can be useful?
https://dl.dropboxusercontent.com/u/30244475/boot.img
Click to expand...
Click to collapse
Yup, perfect, thanks
Thank you for your kernel :good:
So far so good....just test it and I will reporting to you if I found some bugs
1.0.1 is up, small ipv4 fix included
sweet thanks buddy
any chance of this working on the 851
I'd just like to say.. congrats for being the first in the OG Dev section! Bugged me not seeing anything here.
Congratulations for the First Custom Kernel for LG G3...
I wish LG G3 can use LOKI like G2
too bad we still can't boot custom kernel every reboot
btw Smooth Works you got here
awesome bro, just awesome
Good job,bravo
CheesyNutz said:
any chance of this working on the 851
Click to expand...
Click to collapse
Sure, just go to D851 original development section, download the zip of rin, extract the boot image and do the steps described here, just replace the image name to boot, but I'd recommend simply flashing the zip
Sent from my LG-D855
is there a way to make the phone boot on your kernel without a computer ? script or anything ?
Tapatalked from my LG G3
atxbang56 said:
is there a way to make the phone boot on your kernel without a computer ? script or anything ?
Tapatalked from my LG G3
Click to expand...
Click to collapse
Unfortunately not yet, the bootloader has to be more or less tricked to be able to boot the kernel.
Sent from my LG-D855
Tectas said:
Unfortunately not yet, the bootloader has to be more or less tricked to be able to boot the kernel.
Sent from my LG-D855
Click to expand...
Click to collapse
ok I understand (hope that this bootloader unlocked will come soon). so just other questions please :
- onDemand works well with your kernel ?
- is there any other usable governor for gpu ?
I think I'm gonna try to install adb and fastboot at work if I have a reboot or something like that.
thank you for your hard work for such a locked phone....
Tapatalked from my LG G3

Categories

Resources