yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Android Development] forest1971:
Sorry [MENTION=4141005]Lanchon[/MENTION] for the mistake. I opened two github at the same time so mixed up.

I could not find the code below applied in the core.c

https://github.com/CyanogenMod/android_kernel_samsung_smdk4412/blob/cm-11.0/drivers/mmc/core/core.c

@@ -1482,7 +1482,10 @@ static unsigned int mmc_mmc_erase_timeout(struct mmc_card *card,
{
unsigned int erase_timeout;

-	if (card->ext_csd.erase_group_def & 1) {
+	if (arg == MMC_DISCARD_ARG ||
+	(arg == MMC_TRIM_ARG && card->ext_csd.rev >= 6)) {
+	erase_timeout = card->ext_csd.trim_timeout;
+	} else if (card->ext_csd.erase_group_def & 1) {
/* High Capacity Erase Group Size uses HC timeouts */
if (arg == MMC_TRIM_ARG)
erase_timeout = card->ext_csd.trim_timeout;
[Galaxy Note GT-N7000 Android Development] abdullahchoudhary97:
one question...

is it working for [MENTION=799465]bauner[/MENTION]'z beta 5...???

and how to use trimm function...???

and when to TRIMM before flashing the kernel or after flashing kernel...???
[Galaxy Note GT-N7000 Android Development] Lanchon:
oh ok! well that only affects the timeout waiting for the emmc to finish a command. it wont brick or anything. the worst thing that can happen is driver giving up on command because emmc takes long. AFAIK we don't see that happening so no problem. whoever merged that seemed to understand the emmc standards and chose that implementation. since it works, i wont second guess that.

the important part of the fix is here:

https://github.com/CyanogenMod/andr...12/blob/cm-11.0/drivers/mmc/card/block.c#L963

where it issues discard commands instead of trim commands.
[Galaxy Note GT-N7000 Android Development] sanioclement:
RR rom 5.3.1 with R9 kernel

anyone know why r9 taking longer time to charge ?
[Galaxy Note GT-N7000 Android Development] ishanbhatnagr96:
Sorry for being a pain in the back, but is r5 OCled trim enabled?

Thanks :)
[Galaxy Note GT-N7000 Android Development] ShonkUK:
I stopped using my N7000 around a year ago as it was just so stuttery

anyway i turned it on about an hour ago for the first time in about 10 months

and it was painful compared to my S3 LTE stuttering all ver the place (TW XXLTD Debloated)

Flashed the zImage with mobile odin

Black screen realised it needed new mali drivers

flashed them

trimmed the filesystem

geez it feels as fast as my S3 LTE in the menu's now

It really did need a trim no stuttering at all now

I just thaught it was getting old
[Galaxy Note GT-N7000 Android Development] ShonkUK:
Noticed r5 a few mins later..

any chance of the source for r5 so i can set it up so i dont have to use tegrak (hate it)

or if your bored you could do it :o

Been running these speeds ever since i owned it its stable at them

CPU Max Speed 1.6 ghz @ 1300mv

GPU 400 @ 1000mv

not sure what your lower speeds are

I use 160mhz @ 900mv with tegrak (only allows 2 steps)
[Galaxy Note GT-N7000 Android Development] sabadollah:
trim after updating rom

Do we need to run fstrim.zip everytime after flashing the the ROM update and raw kernel?
[Galaxy Note GT-N7000 Android Development] ThunderBolt_BR:
Exynos 42xx HWC

Hi [MENTION=5145944]GeeckoDev[/MENTION],

I read a few pages back that you started to port i9300's HWC from nameless on Exynos 42xx. Any news on that?

Thanks for your work!
[Galaxy Note GT-N7000 Android Development] GeeckoDev:
I will post an update on this subject once I get something interesting.
[Galaxy Note GT-N7000 Android Development] sanioclement:
I am using RR rom 5.3.1 on N7000 can i use this CM based Raw kernel (latest) , Please advise.

----------------------

could not wait , I just flashed so far good
[Galaxy Note GT-N7000 Android Development] sanioclement:
Thanks for TRIM script, I am not sure what is trim but I know i can feel the speed of the rom while using it. my question is here how many times i have to trim each time i flash the rom? thanks
[Galaxy Note GT-N7000 Android Development] urviagarwal:
You need to run trim one time after flashing a ROM..
[Galaxy Note GT-N7000 Android Development] sanioclement:
Thank you.
[Galaxy Note GT-N7000 Android Development] azlav:
i flashed r9 kernel over RR 5.3.1, and i can't turn of backlight completely, it still turn on while being touch even i ticked the turn off backlight...of course i already compared it before i flash the kernel...

report complete!
[Galaxy Note GT-N7000 Android Development] sanioclement:
I am also running on same setup facing the same here.
[Galaxy Note GT-N7000 Android Development] cheaterdawaq:
I was also looking for a setup like that.
[Galaxy Note GT-N7000 Android Development] sanioclement:
Display dimmer is my alternative to make it more dimmer
[Galaxy Note GT-N7000 Android Development] kazuna69:
[MENTION=5145944]GeeckoDev[/MENTION], :highfive:

any thoughts of releasing new one for beta 7 ? ;)
[Galaxy Note GT-N7000 Android Development] zeu55:
+1 to this

sent from my GT-N7000 Powered by Nightowl CM12 beta 7
[Galaxy Note GT-N7000 Android Development] WereCatf:
What's wrong with using the current one for beta 7?
[Galaxy Note GT-N7000 Android Development] kazuna69:
nothing, except different user have different taste over something, :confused:

no offence,

I didn't ask for any request/ETA's from the devs, just curious/thoughts/opinions/discussion on either the dev considering to have it for version bauner's beta 7 ;)

the stock kernel a great, nothing flaws :highfive:
[Galaxy Note GT-N7000 Android Development] WereCatf:
You're not answering the question, though: what do you want changed and why in your opinion there should be a new one specifically for beta 7 when even the current one works just fine with it? There is no point in creating a "new" one with no changes just for the sakes of having a new one, so certainly you must be expecting some change there.
[Galaxy Note GT-N7000 Android Development] kazuna69:
was it obvious? :confused:

I do mention

:confused:

since RAW kernel has it's own "flavour", bauner's stock has it own "taste", there's no reason "re-mentioning" whatever in the OP,

once again, no offence,

I do wonder why you kept asking the same question when the answer already stated it's definition and context,

again, people's opinions/thoughts were subjectives, it can be translated/define in many ways,

try to understand it will ya? ;)

cheers :highfive:
[Galaxy Note GT-N7000 Android Development] LAKAME_MAN:
I think you misunderstood his question. He was asking what's wrong with the current version of Raw kernel, not the stock kernel of BETA7, which is why your answer about "different tastes" doesn't answer his question.
[Galaxy Note GT-N7000 Android Development] WereCatf:
Aye, that's exactly what I was asking. The current Raw-kernel works fine, I'm using it myself and I see no specific reason to make a new version just for beta 7. I mean, if there were some obvious bugs or such then sure, but I'm not aware of any bugs that'd prevent one from using the current Raw-kernel with beta 7.
[Galaxy Note GT-N7000 Android Development] abdullahchoudhary97:
and when to trimm...? before flashing GAPPS or after that...?
[Galaxy Note GT-N7000 Android Development] firestonez:
Hi,

Can I request a raw kernel for mokee.?

Thanks
[Galaxy Note GT-N7000 Android Development] WereCatf:
After you've flashed everything else you were going to flash.
[Galaxy Note GT-N7000 Android Development] kazuna69:
pardon/forgive me for my mistakenly understand then :highfive:

well, I'm not sure what's kept bothering me over the old raw kernel,

I'm not sure, my experience using the beta 4 version of this raw kernel is slightly different from the other user :confused: :rolleyes: :confused:

hanged/freeze at whatsapp :silly::silly::silly::silly::silly::silly::silly::silly::silly::silly::silly::silly::silly::silly::silly:

that's all, thanks for letting me know my mistakenly understand over the statements, :highfive:

honestly, I couldn't get it at beginning :eek:
[Galaxy Note GT-N7000 Android Development] KTTech:
USB Fast charge support?

It is an awesome kernel, but I miss only one thing: the fast charge support. It is painfully slow to charge the battery, when not using the original AC charger with the original cable (for example in my car). It is possible to implement the fast charge support?
[Galaxy Note GT-N7000 Android Development] GeeckoDev:
Yep, that's something I noticed when coming back from Raw Kernel TW.

raw/AOSP is very slow and raw/TW too fast (not very good for the battery), I will adjust that soon.
[Galaxy Note GT-N7000 Android Development] KTTech:
Thank you :) 1000mA charging current would be just fine (0,4C rate, very safe, Samsung's factory default), it's not harms the battery (the temperature of the battery - if it's goes too high - and the number of charges kills the LiIon batteries, not the moderate charging current). Currently the phone easily can draw much more power from the battery than it chargres when not in the original wall charger (or not properly matched usb port).
[Galaxy Note GT-N7000 Android Development] TheVic!:
Kernel Tweaker

Hello [MENTION=5145944]GeeckoDev[/MENTION].

First I wanted to thank you for the awesome Raw kernel. Been using it for bauners excellent cm12 rom and I feel it makes my battery last a lot longer.

I have an app called kernel tweaker. This app has some options to adjust CPU and GPU parameters and UV table. But when I open GPU param and UV table, it says that this rom doesn't support it and that i need a custom kernel that supports it. Is there any chance that you can make this kernel open for adjusting? Im a noob when it comes to this, so maybe it isn't open for a reason... But just wondering....
[Galaxy Note GT-N7000 Android Development] Camalio:
I'm using bauner's NightOwl ROM, and 'm facing problems installing your kernel. When I boot into recovery to flash it, it doesn't get recognized. On moving to the path of the kernel file, I get a message saying no files found. Help !!
[Galaxy Note GT-N7000 Android Development] mahmoud fayed:
Installed raw kernel r9 with NightOwl cm12 beta6, overall performance is good but with some games I notice some slowness, also when I disable button backlight from settings it is not disabled completely as it lights upon touching buttons but not the display.
[Galaxy Note GT-N7000 Android Development] jogai:
Will there be an update for recent ROMs? (i.e.: nightowl b8 & cm12 nightlies)
[Galaxy Note GT-N7000 Android Development] tamaraxxx:
will their be new updates off the kernel witch can be expected soon? i'm using your kernel on the RR lollipop but experience soon lag the last few days.
[Galaxy Note GT-N7000 Android Development] svbarbosa:
Which raw_kernel for KitKat Slim rom?

I have flashed r9_omni for Slim Rom after flipping a coin. So far it is running great, but I am wondering if I was lucky or if I made the right choice.

Comments anyone?
[Galaxy Note GT-N7000 Android Development] Lanchon:
finding out where slim forks from might be better than coin
[Galaxy Note GT-N7000 Android Development] svbarbosa:
Slim is pure AOSP based. Back to the coin...

Hope [MENTION=5145944]GeeckoDev[/MENTION] will enlighten us.
[Galaxy Note GT-N7000 Android Development] abhiparab23:
does r9 for cm12 has touch recovery?
[Galaxy Note GT-N7000 Android Development] sanioclement:
Yes
[Galaxy Note GT-N7000 Android Development] abhiparab23:
if yes then only i will install it.....r u sure na?
[Galaxy Note GT-N7000 Android Development] drvijayanand:
After flashing this kernel and trim, note feels like a new flagship device. I had thought note is slow because of it's old processor. Thank you developers.
[Galaxy Note GT-N7000 Android Development] abzjji:
What ROM are you using with this kernel? I'm on slimsaber. Can I use the omni raw 9?
[Galaxy Note GT-N7000 Android Development] Bonumy:
Can you tell me please what exactly did you install?

I have install cm11 base 2015-03-23 with trim from Lanchon.

Do I need also this kernel?

Do I have to install trim and this kernel after flashing new nightly cm11?

Thanks.
[Galaxy Note GT-N7000 Android Development] drvijayanand:
Flashed 16.03 cm11.then this kernel, then trim. Used this script zip for trimming. The script can be found in page 102 of this thread (just in case you need it)
[Galaxy Note GT-N7000 Android Development] GeeckoDev:
Announcing Raw Kernel r10

Changes over r9 :

* Slightly tweaked charging current up from 450 to 550mA

* Compatible with CM12.1 preview. CM12 isn't supported anymore because the memory leaks make it too painful to use.

Download :

* raw_kernel_r10_omni.zip for Omni 4.4

* raw_kernel_r10_cm121.zip for CM12.1 preview (kudos to [MENTION=799465]bauner[/MENTION])

* raw_kernel_r10_cm11.zip for CM11

Keep in mind that Kernel Samepage Merging and zRAM are disabled in this kernel. These two features are trading CPU time for less memory pressure, but I'm hoping we won't need this anymore with the imminent release of Android 5.1.1 that should fix all the remaining leaks. Android 5.1 is already working quite decently! :good:
[Galaxy Note GT-N7000 Android Development] KTTech:
Thank you :)

I found that using different cable (and a charge DCP chip) enable to charge AC mode, with 950mAh with the older kernel too (at least the current meter shows it, and I was able to charge the phone even with running navigation with bright screen).

It is possible to apply this AC mode into the Kernel? The Dirty Unicorns 8.2 support USB AC mode switch (implemented in quick settings too).
[Galaxy Note GT-N7000 Android Development] GeeckoDev:
AC mode applies 650mA current (default value in Raw TW). I chose a value in between to stay easy on the battery.
[Galaxy Note GT-N7000 Android Development] KTTech:
Hmm... my current meter shows it slightly different... with the supplied Samsung travel charger and cable it draws 970mA@5V, I just checked w r10 Omni version :) The phone can take up w auto brightness in daylight with navigation (CPU runs constantly full power) around 930-960mAh. Usually the stock charger designed to give enough power to run the phone without battery (of course the battery in the phone, but not drawing energy from it, even slowly can charge). This is why would be the switch to AC USB mode from kernel (of course, with stock charger or high quality, USB mode change support 3rd party charger can do it, but the cheep cables and chargers usually not).
[Galaxy Note GT-N7000 Android Development] Hank87:
The stock charging current in the galaxy note is 1A with the wall charger (AC) and about 500-600 mA with usb from pc.

650 mA for AC is very slow, it will need almost four hours for a full charge, in the stock rom it need only 2,5 hours (1A x 2.5 hours = 2.5 Ah) [MENTION=5145944]GeeckoDev[/MENTION]
[Galaxy Note GT-N7000 Android Development] Jack4L_:
The r10 12.1 preview is compatible with 12.1 b1?

Thanks!
[Galaxy Note GT-N7000 Android Development] GeeckoDev:
[MENTION=4683835]KTTech[/MENTION] [MENTION=4595544]Hank87[/MENTION]

Stock values for Samsung JB kernel can be read here. 650mA for AC mode, 450mA for USB. So 550mA seems reasonable to me. ;)

Should be, I didn't upgrade yet.
[Galaxy Note GT-N7000 Android Development] bauner:
There are no init changes in the beta1
[Galaxy Note GT-N7000 Android Development] KTTech:
Still, your kernel (r10 and r9 too) charge the phone in AC mode with cca. 960mAh (with good cable and proper charger) ;) The current meter of my Metex M-3800 won't lie (of cource I checked with a simple inline USB voltage/current flow meter, and it shows the same) :)

When the battery fully depleted, I can charge fully within 2.5 hours, that shows the current readings are fine (the battery's capacity cca. 2500mA).

The only thing I need is a switch to change the USB mode from data to AC mode (for that cables and chargers that don't support the "data communication"). And it requires support from the kernel. Something like this.
[Galaxy Note GT-N7000 Android Development] rahatbek:
can i use it with resurrection LP 5.1 rom?

i answer myself yes, i'd flashed it. works good. but sometimes freeze. how can i overclocked on this kernel?
[Galaxy Note GT-N7000 Android Development] 180490:
which version should i install on slimrom to have root access? i want trim supportt and root :D
[Galaxy Note GT-N7000 Android Development] will5:
Hi guys, I´d asked in another thread with no luck.

Anyone know how to raise the cpu throttle temp level? Im getting cpu throttling on very demanding games (cpu underclock to 800mhz after a few minutes). I read somewhere that throttle temp is set by default at 65C, maybe raising until 70 could help. Not sure if there is any app that can change this.

Thanks.
[Galaxy Note GT-N7000 Android Development] drbobb:
It takes over four hours to charge the battery to full. IMHO that's a bit long.

I'm using the original Samsung AC charger (just replaced the cable because it broke), and running r10 on CM11.
[Galaxy Note GT-N7000 Android Development] elevul:
Nice, SlimSaber + Raw Kernel (had to flash SuperSU for root) + TRIM is incredible, it makes everything SO FAST! :laugh:
[Galaxy Note GT-N7000 Android Development] davidcie:
What's the current rating on this charger? There have been many Samsung chargers over the years. Also, for comparison, it takes about three hours to charge my HTC One M7 from about 20% to full (it's got 2300mAh of capacity) on the Samsung charger I've got plugged in nearby.
[Galaxy Note GT-N7000 Android Development] drbobb:
Well the rating is 1 A, and my experience is it usually took under 3 hours to fully charge the battery under most other kernels, over 4 h is a significant difference.
[Galaxy Note GT-N7000 Android Development] davidcie:
That's indeed the stock rating, so no problems on the charger front unless it's giving up the ghost and not actually supplying 1A.

Fair enough... unfortunately don't have the Note so cannot time the charging for you :( We'll have to wait for other reports.
[Galaxy Note GT-N7000 Android Development] drbobb:
I also tried other chargers, and a powerbank I usually carry - same result.
[Galaxy Note GT-N7000 Android Development] gleb_grid:
Dear Geecko, thx for the kernel. BUT I've noticed a strange bug - my phone can't reboot into recovery mode on the kernel. Infinite "rebooting" and nothing else... Before I installed ROM I used clean script, which delete all parts of old kernels.

AND often there is a very long deleting apps process. It spend about 1-2 minute :(

I reinstalled my CM11 nightly with your kernel many times, but there were same bugs. Thx4answer.
[Galaxy Note GT-N7000 Android Development] miku1024:
Hey geecko can you set thermal throtle at 75°c on your cm12.1 kernel like bauner's kernel

Thanks

Sent from my GT-N7000 feat hatsune miku
[Galaxy Note GT-N7000 Android Development] cybernalin:
I'm currently On Omini 4.4.4 I need flash raw_kernel_r10_omni.zip So how do i do that can you guys give me step how do i flash this kernel and i also need to install Trim but i don't have trim for omini 4.4.4 anyone has this files please post here​
[Galaxy Note GT-N7000 Android Development] KTTech:
The supplied trim.zip is the same for all RAW kernel version. Or you can download an app from play (for example: Lagfix Free).
[Galaxy Note GT-N7000 Android Development] cybernalin:
Successfully flashed rawkernel.... Can you post the link for trim.zip i couldn't find it... Thanks for your reply
[Galaxy Note GT-N7000 Android Development] elevul:
Here:

;)
[Galaxy Note GT-N7000 Android Development] cybernalin:
Thank you very much now my Phone feel like new :highfive::good::victory:
[Galaxy Note GT-N7000 Android Development] :
Using this with DU Battery Saver makes for a fast and efficient charging but it does kill my gaming a bit, which negates the battery advantage. However, it is still one of the best in terms of fluidity
[Galaxy Note GT-N7000 Android Development] mjrifath:
Guys could anyone confirm me the latest raw kernel working with ressurectio remix 5.4.2 cm12.1

Thanks
[Galaxy Note GT-N7000 Android Development] ramshif:
i m on stock 4.1.x i have rooted my phone now which cwm to flash ?( i m on stock recovery) and is there any relationship between my kernel and cwm? i mean shall i have to flash different types of cwm for different fone of note n7000 ?
[Galaxy Note GT-N7000 Android Development] drbobb:
I'm using the TouchWiz r5 together with Cheese ROM, and all is fine except for audio apps, that stutter a lot - both when streaming and when playing local content. My most used apps are Play Music, and Tunein Radio Pro, so this issue is quite annoying. Does anyone else observe this, any workaround?
[Galaxy Note GT-N7000 Android Development] zacharias.maladroit:
any chance to re-upload especially raw_kernel_r10_cm121.zip ?

the site doesn't really do anything (it's always showing that the site is slow and/or slow to respond)

Many thanks in advance :good:

+1
[Galaxy Note GT-N7000 Android Development] ThaiDai:
no problem downloading it, see attachment
[Galaxy Note GT-N7000 Android Development] GeeckoDev:
Might be caused by your ad blocker, try to disable it to access the website.
[Galaxy Note GT-N7000 Android Development] zacharias.maladroit:
thank you ! :)

a mal-functioning adblocker great :silly:

I was sure that I had white-listed the page but it was still not working,

temporarily disabling it worked :good:

thank you
[Galaxy Note GT-N7000 Android Development] stdog21:
Charging limit

Hello.First of all i whant to say thank you for you custom CM12.1 kernel.

Guys in this thread (http://xdaforums.com/showthread.php?t=1706160&page=3)

says that "the SMB328 in our device appears to have a hidden undocumented (well, undocumented in anything we have access to) current limit of 700-750 mA".

Can you try to up the charging limit more to 600-700 mA?
[Galaxy Note GT-N7000 Android Development] svbarbosa:
TWRP

[MENTION=5145944]GeeckoDev[/MENTION], thanks for your amazing work.

Any chance of having TWRP in a future release CM12.1 Kernel? Please say yes...
[Galaxy Note GT-N7000 Android Development] freedmm:
liquiqsmooth kernel

hi mr [MENTION=5145944]GeeckoDev[/MENTION]. im trying to compile liquidsmooth lp. it s booting. but two big issue. one of them wifi doesnt work, and second one when turnof the screen, phone restarts. any suggestion about this isssues please let me know.
[Galaxy Note GT-N7000 Android Development] KalZakath:
Hi [MENTION=5145944]GeeckoDev[/MENTION] Is there possibility that you would try to complile 3.1x kernel for cm12.1 with for example DorimanX sources?
[Galaxy Note GT-N7000 Android Development] GeeckoDev:
Nope that would be mostly useless. I started working on backporting Galaxy Mega 2 drivers though. It's an Exynos 4415 phone with 3.4 kernel and new graphics stack ;)
[Galaxy Note GT-N7000 Android Development] KTTech:
In your case, you've got cable problems. I found that the cables in the market is a piece of sh *t. I tried over 20 pcs of USB->MicroUSB cables, and with most of them, the phone cannot charge the rated 1A in AC mode (some of them supplied only 250-300mA, with the same original charger). I bought 24/28AWG USB->MicroUSB cables from Ebay (they're not cheap, but not so expensive...) and the charging current is 960-980mAh in AC mode, so they are perfect (I ordered 2x2 pcs from 0.5m length to my car, and all of them working fine). The Kernel I used for testing was the RAW r10 Omni with DU 8.2.
[Galaxy Note GT-N7000 Android Development] KalZakath:
Any progress with it?
[Galaxy Note GT-N7000 Android Development] drbobb:
Well no I don't think so - I've used the same cable in other circumstances and had no issues with it, right now I use it with my new Zenphone 2 and a Quick Charge adapter, and it works according to expectations.
[Galaxy Note GT-N7000 Android Development] KTTech:
You're new phone not uses the same charging circuit as the N7000 (as well, it uses different communication with the charger)... Change the cable to a proper one (as I described), and the charging time will be OK. (You can measure the current flows to the USB port with an special USB voltage/current meter equipment - or a simple digital multimeter with a modified cable -, to check the charging current).
[Galaxy Note GT-N7000 Android Development] :
I'm still using the charger came with this phone. I can feel a little bit fast charge when with raw kernel compared before I used this kernel. If I want more faster, normally I will turn off my note and charging it.