[DISCONTINUED][KERNEL][GPL][13 JUN - r6] franco.Kernel 3.0.15

Status
Not open for further replies.
Search This thread

franciscofranco

Recognized Developer
Dec 9, 2010
24,724
136,402
Carcavelos
updated to version #5. Got the app ;)


Franco, Why did you removed the OC support and you do have any plans to bring it back?

I never had OC :)

Ok last night I did a rebase and removed useless code. Also staying at 2.6.35.7 to avoid problems coming from stupid and useless mainline kernel patches. Going to test this over the day and see how it goes but initial testing looks veeery good.

Sent from my GT-N7000 using xda premium
 

mrdindon

Senior Member
Oct 14, 2011
102
11
permission problem..

ok, I installed v5 over cf-root (xla6) and the installation went fine.
I went to use tun.ko but could find it in /lib/modules...
I then realized I had a permission problem...
trying fix_permissions script gives me bus error..
and trying to run "fix permission" from cwm doesn't work...
Any idea of what I should do ?
 

mdrjr

Senior Member
May 5, 2008
76
64
39
SP
I never had OC :)

Ok last night I did a rebase and removed useless code. Also staying at 2.6.35.7 to avoid problems coming from stupid and useless mainline kernel patches. Going to test this over the day and see how it goes but initial testing looks veeery good.

Sent from my GT-N7000 using xda premium

Ok, Now i'm confused. I can't remember if it was #2 or #3. But SetCPU allowed overlock. up to 1.6something.

Samsung releases patch's to kernel or their full kernel?

---------- Post added at 03:03 PM ---------- Previous post was at 02:48 PM ----------

ok, I installed v5 over cf-root (xla6) and the installation went fine.
I went to use tun.ko but could find it in /lib/modules...
I then realized I had a permission problem...
trying fix_permissions script gives me bus error..
and trying to run "fix permission" from cwm doesn't work...
Any idea of what I should do ?

If the file isnt there this isn't a permission problem.
It's the file missing.

Use Francos App to load Tun module. Works like a charm.
 

mrdindon

Senior Member
Oct 14, 2011
102
11
well... I used to load the module from openvpn client directly when needed..
cant figure out why I cant anymore... the file was there but with wrong owner.
I changed it but still no luck.
And the "fix permission" script are not working either from shell or cwm... any idea ?
 

stesteste

Senior Member
Apr 12, 2011
1,209
317
Ok, Now i'm confused. I can't remember if it was #2 or #3. But SetCPU allowed overlock. up to 1.6something.

Samsung releases patch's to kernel or their full kernel?

---------- Post added at 03:03 PM ---------- Previous post was at 02:48 PM ----------



If the file isnt there this isn't a permission problem.
It's the file missing.

Use Francos App to load Tun module. Works like a charm.

c what does tun do...... Installed v5 everything is good no issues. Just what's tun do

galaxy note
 

mrdindon

Senior Member
Oct 14, 2011
102
11
tun module

Tun is a module used to connect vpn networks using openvpn for example.

Can somebody help me with this permission issue ?

when you go in shell with better terminal, su -,then find / -name tun.ko, I get a load of permission denied...

Can somebody tell me how can I fix it ?

Also, using fix_permissions is shell gets me bus error and fix permissions in CWM doesn't change anything...
 

mdrjr

Senior Member
May 5, 2008
76
64
39
SP
Tun is a module used to connect vpn networks using openvpn for example.

Can somebody help me with this permission issue ?

when you go in shell with better terminal, su -,then find / -name tun.ko, I get a load of permission denied...

Can somebody tell me how can I fix it ?

Also, using fix_permissions is shell gets me bus error and fix permissions in CWM doesn't change anything...

Tun is just a virtual ethernet (providing layer 2). Anyways.

Lets see.
Code:
# pwd ; ls -l tun.ko ; uname -a
/lib/modules
-rw-r--r--    1 501      20           25986 Feb 17 00:00 tun.ko
Linux localhost 2.6.35.13-franco.Kernel-5 #13 SMP PREEMPT Fri Feb 17 02:14:07 WET 2012 armv7l GNU/Linux
# insmod tun.ko
# lsmod
tun 13408 0 - Live 0xbf05d000


All working as intended. Re-download and re-flash and try to use francos app to load the module.
 

mrdindon

Senior Member
Oct 14, 2011
102
11
ok... got it working this way:
in openvpn setting, had to choose to "load kernel module before starting openvpn"

before, it used to load the module only when a connection was initiated then unload the module when connection drops...
Now, using "load kernel module before starting openvpn" the module start, the connection works but when i quit the app the module keeps loaded.... not a big deal but still I cant figure it why it used to work and not anymore...
Like I sais... not a big deal....my vpn is working now ;)
probably a problem with the openvpn client.

have a good day :)

---------- Post added at 04:31 PM ---------- Previous post was at 04:19 PM ----------

...sorry to send a lot of reply to this thread... just want to enjoy this nice kernel :)

Franco, do you think you will implement something to be able to mount sdcard / ext sdcard in CWM with your kernel ?
I would make it way easier to make system backups :)

I'm not a coder at all so maybe I dont use to correct words... but basicaly I would just like to backup/restore my system the way I used to do it with CF-Root through CWM

Thanks for your help !
 

jager13

Senior Member
Nov 23, 2011
274
101
Beirut
franco with cwm and redpill?

Hey franco,
would it be possible to have 2 different kernels? like
1st kernel: franco #5 with CWM recovery (the one already posted)
2nd kernel: franco #5 with RedPill recovery

Since some like the cwm recovery (only external SD can be mounted to pc) and others prefer the RedPill (in which you can mount sd card and external Sd card to pc)

In any case, thank you for the most battery friendly kernel i've flashed ... for now :)
 

fixfox2

Senior Member
Aug 9, 2010
247
68
for Franco #5
ondemand is NOT the default governor.

Is it possible to change the default governor from Conservative to Ondemand please?

thanks
 

naresh9876

Senior Member
Jun 25, 2010
73
7
Jakarta
What governor are you using btw? Can you try to reproduce the sleep of death and then start adb? If you can start adb with the screen of death then I'm 99% sure it's a rom problem because if it was kernel **** it would simply kill the phone altogether.

when i installed ur kernel and fired up setcpu it was showing conservative, i changed it to ondemand and still the sleep of death happens.

weird things is i had my fren who is also using gnote,same config as i am (CheckRomV5 too), to install this kernel and no problem there. its just my phone and some others on this thread and i am pretty sure that its not ROM problem as some of us down here are using different ROMs but are still facing this issue.

I would be glad if you could fix this and maybe be willing to donate in return for ur amazing work on this kernel.;)
 

tedman

Senior Member
Dec 14, 2005
52
4
I never had OC :)

Ok last night I did a rebase and removed useless code. Also staying at 2.6.35.7 to avoid problems coming from stupid and useless mainline kernel patches. Going to test this over the day and see how it goes but initial testing looks veeery good.

Sent from my GT-N7000 using xda premium


#5 seems much easier on the battery compared to #4, but I will need more time to be sure. I did change the governor to ondemand if that's interesting to know. But again a job well done!

Does the rebase and removal of useless code resulted in #5 or will it be gonna be #6?
 

franciscofranco

Recognized Developer
Dec 9, 2010
24,724
136,402
Carcavelos
#5 seems much easier on the battery compared to #4, but I will need more time to be sure. I did change the governor to ondemand if that's interesting to know. But again a job well done!

Does the rebase and removal of useless code resulted in #5 or will it be gonna be #6?

Going to be on #6. Testing it through the day. Seems pretty good so far. When I get home I need to tweak one thing or two but Im quite happy at this moment!

Sent from my GT-N7000 using xda premium
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 390
    Stock XXLPY/LPF only - confirmed and working. You Should not boot on AOSP/CM9 roms.

    This is what my kernel is made off:
    * Initramfs with the usual stuff (root, CWM support, recovery etc) based on CF-Root LPY
    * Partitions properly mounted in the ramdisk to take the most out from the device
    * VM values tweaked up for maximum performance/battery
    * Conservative tweaked and made the default governor
    * I/O boosted - I/O dirty writeback system backported from 3.2
    * CFS scheduler tweaked for maximum interactivity
    * CFS Autogroup enabled
    * Deadline I/O scheduler by default
    * TCP Westwood+ congestion scheduler by default as its more suitable for this kind of devices
    * Kernel stripped of debug **** - the only debugs that stayed were: logcat, printk and kallysms (for Voodoo Louder support)
    * CRC32 library that is used by a lot of internal kernel mechanics completely patched up to the latest version
    * The usual Franco's magic
    * SLUB memory allocator
    * Wi-Fi power management - echo 1 > /sys/module/dhd/parameters/wifi_pm (this is only available with wifi is turned on. This boosts wifi signal and its specially useful for screen_off streaming, but it might waste a little extra battery)
    * Lots more to be seen on my repository

    Changelog:
    r6:
    * All governors removed but one - pegasusq from Samsung
    * Merged gokhanmoral work on this cpufreq driver - all credits to him. Also cleaned up a defined but unused function
    * fsync() calls reintroduced to match stock behavior. The device actually runs faster/smoother with this enabled - also safer for data integrity (this has nothing to do with superbrick bug)
    * Disable mali-400 tracking debug
    * Merged two stability hotplug patches from mainline Linux kernel
    * Added two modules to userpsace where one can see how many times the CPU was hotplugged in and hotplugged out: cat /sys/module/stand_hotplug/parameters/ cpu_up_nr and cat /sys/module/stand_hotplug/parameters/ cpu_down_nr
    * Removed overclocking at all - it was causing heat and stability issues. If you want OC use Tegrak app
    * Some config cleaning

    r5:
    * Added overclock to 1,6Ghz
    * Some fixups on cpufreq.c files on exynos arch directory
    * initramfs updated to CF-Root v5.6 - all props to Chainfire

    r4:
    * Some Wi-Fi driver fixes (might help fixing those obtaining IP derps)
    * Tons of warnings fixed for a more stable kernel - don't we all want a clean compilation?
    * Compiled with special compiler flags for some extra bits of performance
    * Fixed a section mismatch - this warnings are one of the worse kind and can possibly lead to big problems. This one is fixed

    r3
    * Removed MMC_CAP_ERASE - workaround to fix the superbrick bug - thanks Entropy512 for all the research and shared knowledge with us for this god damn bug
    * Re-activated dynamic hotplug - the system seems to run smoother with this option and according to Entropy it gives us lower idle drain specially while the system is holding a wakelock

    r2
    * Initramfs fixed - recovery works, CWM works etc

    r1
    * Based on Samsung update3 for ICS kernel 3.0.15 - it contains the hardbrick bug so flash at your own rish or just extract the zImage and to /data/local, fire up adb shell and type this: dd if=/data/local/zImage of=/dev/block/mmcblk0p5 bs=4096 and then reboot
    * Contains all the features wrote above plus some small ****s available on my git
    * App will be updated in the next 12 hours with a full ICS layout plus tons of useful features. The current version won't load this new kernel version for ICS so don't bother checking it. I'll announce when the new app update is up

    F.A.Q:
    1. My device rebooted or crashed, how can I help?
    A: Get me /proc/last_kmsg or logcat.
    2. Battery sucks, my device is not entering deep sleep. FIX PLOX!
    A: Fix it yourself, it's an app waking your device up not the kernel's problem. Also make sure you let your device settle for at least 2 charging cycles. Typically apps like Facebook and Google Maps can cause problems since they wake it up pretty much all the time
    3. Signal is dropping since I flashed the kernel, amg u sucks!
    A: The kernel has nothing to do with gsm/cmda signal. Make sure you have the latest radios
    4. Do I need to wipe anything when flashing this kernel?
    A: No.
    5. Does this kernel has X or Y mod?
    A: Learn to read, everything you need to know is in the features list, changelog or public repo.
    6. Don't use 3rd party init.d scripts!!!

    franco.Kernel updater app for Galaxy Note features:
    #2.0
    * Completely re-written app
    * Ice Cream Sandwich theme
    * New CPU frequencies panel
    * Governor Control
    * Settings panel with Power Modes with my own specialized presets
    * XDA thread link in the menu button
    * Other settings and options

    Download: http://minooch.com/franciscofranco/Galaxy%20Note/ (flashable with CWM recovery)
    (Thanks minooch for the hosting)
    franco.Kernel updater app: https://market.android.com/details?id=com.franco.kernel.note
    franco.Kernel updater app from Android Pit: http://www.androidpit.com/en/androi...nco.kernel.note/franco-Kernel-for-Galaxy-Note

    Sources: https://github.com/franciscofranco/GT-N7000-ICS-3.0.y
    39
    I hope that my absence made my point clear. I will compile a proper new kernel and if I see dumb questions again I'll just stop building anything for this phone.
    38
    Ok I've had enough of dumb questions or ideas that have been jumping around so this is going to be a angry post before I stop coming here helping others with pertinent questions/suggestions:

    ****ING SEARCH. "AMG WIFI NO WARK PLZ i NIID WIFI SUCK KERNEL BUBAI". No, how about you search a god damn **** for the first time in your life? Certain firmwares are having problems with wifi connecting even with stock kernel so THAT IS NOT A KERNEL ISSUE. I've been running Wi-Fi like a mad man since the source was deployed and it WORKS. Some users have fixed it by reflashing with a different program or wiping or whatever. Just search for once.

    "HARDBRICK IS FIXED?!?!? PLX ANSWERZ ME NAO". Search the hell up. Thats one of the most covered topics in this thread or XDA in general. I've applied a workaround based on Entropy's suggestion and based on one Samsung engineer. It's NOT ****ing fixed, it's a workaround that might prevent it from happening. It's not confirmed. If you need more information search!!!

    "OMG HOW THIS COMPARES TO SPEEDMOD KARNEL OR STOCK KARNAL?!?! TELL NOW" . Try it and see for yourself. This Kernel might give you super god mode on your Note or might not. My usage is different than any of you, for me its god mode, for you might be something different. JUST STOP ASKING THIS!!

    "HOW DO I FLUSH THIS KARNAL?!??!?". If I see once more question like this **** I swear that I'll get you an infraction and reported to a moderator. IF you don't know how to ****ing flash then SEARCH. If you don't know how to search then bye.

    I'm pretty serious. If this surge of idiotic questions keep coming I won't post again here besides updating the OP when I feel like it. This is for everyone, don't bother crying, I don't care. Use your brain for once.
    37
    Franco is that kind of guy i guess, he's just ignoring people when they report bug :), same thing was happening with his GB kernel #10, i think there was at least 100 people tellin him that he has a problem with SOD and what he did? Nothing, just ignored them :D
    I guess now it's the same thing with WiFi :)

    Sorry what are you implying? I have 3 ****ing kernels to manage and I actually provide full user support for the 3 of them not just post the kernels and kkthxbai.
    I also have apps to manage and fix which takes a ****ing lot of time.
    I do have a family and a girlfriend that actuly needs my attention as well.
    And im on university preparing my future.

    Yet with all the above I still manage to deploy quality work. Complain? Do better please.

    As for the wifi I said I have no issues. I cant reproduce I cant fix. I saw no logs no nothing only ****ing "amg no wifi fix plox".

    And now Im going to lunch with a friend on the beach. Have a nice day.

    Sent from my GT-N7000 using xda premium
    34
    Franco , Franco where r u ?
    Another big moment in Gnote history.

    @Galaxy Note™…

    I'm here. Time to go hardcore, I have a kernel and an app to re-program ;)