yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Original Android Development] jcadduono:
I actually don't know I need to do more testing :( It used to crash at like 45% restoring data until I turned off MTP or unmounted those I don't know which thing worked for me lol.

As for my builds...it's just twrp 2.8.7.0 hlte, not even source just binaries copied over from twrp's ramdisk. I made a few text file modifications to build.prop and recovery.fstab and updated some other files using stuff from my cm12.1 ramdisk. It's a bit of a hackjob ok. I am hoping the majorly updated (idleKernel) fixes some issues mainly. I tested all the backup/restore functions and they work fine on my phone. MTP is even worse now though and doesn't even show up at all lol :D
[Galaxy Note 3 Original Android Development] Bushido76:
Maybe the access of an active MTP process to the phones mount points is the source of all issues. Or maybe the mounting itself is causing restore issues.

Do I understand right, that backing up an F2FS-data-partition and restoring it to an empty F2FS data partition is working in your build?

Is it possible to reactivate MTP? Sometimes when my /system is "down" I do need this option. ? But it was never reliable or stable in TWRP.
[Galaxy Note 3 Original Android Development] jcadduono:
Well when I tried mkfs.f2fs it was saying error in partition in use until I disabled MTP, dunno if that was just a coincidence though.

f2fs backup to f2fs restore works for me.

Nope it's totally broked. May or may not go looking for a solution. It will probably require android NDK and recompiling of TWRP sources... (I still can't figure out that stupid NDK)
[Galaxy Note 3 Original Android Development] svbarbosa:
MMC Error on mmcblk0p26 (/data)

Thanks for looking into this matter. I am afraid it is more likely to be a hardware error. :p

I have enabled the "mmc crc". Now I have to wait around 2 days for the mmc error to happen. Will keep you posted.

Two questions:

With the mmc crc enabled what happens if a crc error is detected? Will it produce a kernel panic?

Kernel Adiutor has a "software CRC control" option under "Misc Controls" that remains disabled. Is this another kernel setting not related to "mmc crc"?
[Galaxy Note 3 Original Android Development] jcadduono:
It's force disabled? Won't let you toggle it? That would be strange, it works for me. Yeah, it's the same option. Setting it in ikconfig though will make it stay on during init process though. Kernel Adiutor settings don't apply until about 10 seconds after lock screen comes up from boot.

The mmc crc software check should verify everything that gets written to emmc type block devices, and correct it if it doesn't match. You would still get a kernel panic on a fs read error. I wonder if errors=check in fstab instead would actually do anything to help. The chance of you having fs corruption is probably lower with it on, which is something that would be nice for you to confirm if you are no longer running into errors.

I've always run my system with crc checks off and never had any errors so I was hoping other people would be able to too. There's quite a few people reporting similar issues to you so I really am hoping it is related to the MMC CRC option. It would be the easiest fix to just have it always on by default instead.

You should probably go into TWRP and run fsck on all your partitions. To do this, go to:

Wipe -> Advanced Wipe -> Select one partition at a time -> Repair or Change File System -> Repair
[Galaxy Note 3 Original Android Development] svbarbosa:
Ikconfig works fine to set the "mmc crc". No problem there. It remains enabled after a reboot.

Kernel Adiutor "software crc" is still showing as disabled. So it is not affected by the lkconfig setting. I did not try to enable it.

Thanks for the twrp/fsck tip. Will do it right now.
[Galaxy Note 3 Original Android Development] Gggggas:
Hello to all,

Just wanted to report random soft reboots for me too, I dont have the experience to check any kind of errors.

I will also repair my partitions and set the mmc crc to on and see if I keep having the reboots.
[Galaxy Note 3 Original Android Development] justin1221:
Bro, v6.5.5 on Dark Au 3.5 is so damn smooth and quick. Your the **** man!
[Galaxy Note 3 Original Android Development] earl520:
+1

Im on rc2.1 , using 6.5.5 idle kernel. Scrolling is so smooth. And battery life is good. Do i need some tweakings here? Or leave it as it is?
[Galaxy Note 3 Original Android Development] silitek:
Little fine tune here. With FauxClock OV 249000, UV -12mV, Fiops..battery is more incredibly.
[Galaxy Note 3 Original Android Development] Bushido76:
I'd leave all settings as they are. Never touch a running system. ?

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

This morning I did:

- install the new idleKernel based TWRP recovery on my phone (you can find it in the OP)

- disable MTP in mount dialog

- not unmount any partitions

- made a backup of my f2fs /data partition (rm -rf unticked)

- wipe /data partition (change/repair fs with rm -rf option unticked)

- check whether /data is really empty

- restore my f2fs /data backup with option rm -rf enabled

Result: Everything went fine - the new kernel (including the newer f2fs drivers) seems to improve the stabilitiy of all f2fs recovery operations. Now migrating to f2fs isn't a hack job anymore. ?
[Galaxy Note 3 Original Android Development] jcadduono:
Thanks!! Great to know it's working. I need to find a way to disable MTP on boot now to save a step hehe.
[Galaxy Note 3 Original Android Development] sbassios:
I read about f2fs,mtp and etc (i dont know what is it) and i want to ask,if i flash the kernel in my n9005 note 5 port rom,will i have any problem?or i have to wait?
[Galaxy Note 3 Original Android Development] stchoh:
hi mate, how about recording video? got blinking or not?
[Galaxy Note 3 Original Android Development] piats:
Hey James!

You might want to enable back modem / ril for cm13 kernel because sim card is now apparently recognized!

http://xdaforums.com/showthread.php?p=63918876
[Galaxy Note 3 Original Android Development] japoco_poz14:
Idle 6.5.5 with smokkierom 5.1.1 video work perfect. What's the problem?

Inviato dal mio SM-N920C utilizzando Tapatalk
[Galaxy Note 3 Original Android Development] alek889:
The problem is only on Darklord Rom.
[Galaxy Note 3 Original Android Development] bailey2408:
[MENTION=4819587]kevp75[/MENTION] - Any chance you are running some version of a s6 port? At least for me I've noticed when I'm running it on an s6 port it's not stable for me.. soft reboots galore.. But when I install it on a n5 port no reboots.. also when I install it on one of my tmobile roms its also stable.. leads me to believe its gotta be something somewhere in the s6 port..
[Galaxy Note 3 Original Android Development] Gggggas:
After having repaired all partitions via TWRP and set mmc crc to on in order to try to fix the soft reboots, unfortunately the problem wasn't fixed.

I still have random soft reboots.

[MENTION=5672995]jcadduono[/MENTION]I know you are busy but if there is anything you have in mind that I could try, feel free to let me know cause more users on hlte have the same issues.
[Galaxy Note 3 Original Android Development] kpirnie:
i do currently, with the proper version ;)

had same issue while on a darklord n5 port as well tho
[Galaxy Note 3 Original Android Development] Gggggas:
Same for me , s6 ports N5 ports or AryaMod I get soft reboots.
[Galaxy Note 3 Original Android Development] jcadduono:
soft reboots generally aren't kernel related, i really need logs here.

if it's read errors (unlikely since its a soft reboot) try doing a backup in twrp (you can try my version if you want to see if f2fs fixes it, if it is an unstable ext4 driver) and then restoring that backup, it will reform your file system.

otherwise, unstable overclocks or underclocks usually lead to reboots but not soft reboots, but its still possible if theres any remnants of another kernels bad rom hacking flash scripts, or if you are running fauxclock or something that is trying to set some weird stuff.
[Galaxy Note 3 Original Android Development] Gggggas:
Will try f2fs with your version and report back.

Other than that I do no oc or uv, use no kernel app and of course flash kernel cleaners.
[Galaxy Note 3 Original Android Development] Bushido76:
Hey JC, just an "educational" question from my side. ? Some years ago I did some kernel work on my SII and SIII but I have never experienced such an improvement of battery life in comparison with a stock kernel. So my question is: What would you say were the two or three most important commits in leanKernel or idleKernel which are responsible for that difference. Thx in advance.
[Galaxy Note 3 Original Android Development] jcadduono:
1. Adreno Idler down to 27 hz @ https://github.com/jcadduono/idleKernel-note3/commit/627925377e3fbf45095e3df35062201dcf947055

2. Imoseyon's interactiveX is pretty cool, I blame that second

3. the mdss fixes from codeaurora + moving some code into reliable sections of samsung panel driver could have helped a bit

for #1, not really applicable to other kernels unless they use adreno drivers

for #3, might be applicable to other kernels...depends.. the big issue there was that many commands were being sent repetitively in the background very unnecessarily. i got rid of all the unnecessary commands going on in those drivers. just a general rule when optimizing is to look for any actions going on that don't seem necessary.

but most importantly...the size of note 3 battery lol. also always get your batteries from reliable retailers that provide grade A cells like anker. most "genuine" samsung batteries online are fakes :L

IN COOL OTHER NEWS, twrp 6.5.6 MTP is alive and flawless

see the INSANE amount of coding i had to do to get it to work here:

https://github.com/jcadduono/idleKernel-note3/commit/16709847f663b3b668f85651dd1ef74b89d11e16

(to fix it properly in twrp sources, its even less coding lol)
[Galaxy Note 3 Original Android Development] Bushido76:
? It looks like hours of endless coding. ?

Thank you for the detailed explaination. Great ideas which are merged in idleKernel. ?

I thougt about buying a new phone at christmas but at the moment there is no real alternative out there. ?

---------- Post added at 10:07 PM ---------- Previous post was at 09:57 PM ----------

What could be the reason for the long boot time of the recovery? Sometimes recovery needs around 2 minutes to start. Is it optimizing on every boot?
[Galaxy Note 3 Original Android Development] jcadduono:
same boat :( i'm on a 2 year plan but it ended some time ago, i can just go grab a new phone for free (well, paid in my monthly bill) regardless of how expensive it is but there just isn't anything good! note 4 would be an upgrade sure but really, why bother when its getting so old lol. staring at gsmarena every day hoping that something comes out...

grrr i want more than anything a nexus phone with sdcard, removable battery, IR, but it will never happen!

i guess IR isnt so important since i fell in love with harmony 650 though <.>

but really i just don't get what's up with google and their hatred for sdcards, my galaxy nexus was awesome! (until i handed it down to my brother after getting my note 3 and it was destroyed in 5 days lol)

2 minutes?!?! at most it takes 15 seconds for me!

there's nothing to optimize since there's no java. i need to compile twrp sources so i can get recovery logging timestamps and see where its hanging though ><
[Galaxy Note 3 Original Android Development] Bushido76:
SmokkieRom is based on darklords note 5 rom. That's why I would expect video flickering there too.

---------- Post added at 10:28 PM ---------- Previous post was at 10:10 PM ----------

My N3 had it's second birthday some days ago. I bought a new screen protector and now it looks new to me. ?

I do not use the IR sensor, but I need ANT+ functionality and barometer for my outdoor activities. Together with 128 GB memory (or sdcard slot) and a non edged screen it does exist only one phone in the current smartphone generation - the Xperia Z5 premium. But: Very expensive, bigger than my N3 with smaller screen. Latest camera test wasn't promising but a heater (SD810) is built in. ? So for me the N4 would be the only alternative. But now I'm on standby to wait form the next device which will get idleKernel. ?
[Galaxy Note 3 Original Android Development] scoobyjenkins:
Sony Xperia Z5/ Z5 Premium looks promising! Just might take a while for development but could be worth waiting for. That would be my ideal next phone, in the meantime I have a OP2 on the way to play with, gonna be tough getting used to no on board expandable storage but will use an OTG memory stick for backups etc and if I'm not keen will sell and put the money aside towards the Z5 or get on contract. Love my Tab Z, it's badass on Slim/CM based roms. No more Sammy for me if they stick with exynos

Tapatalked that shiznit.
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
Hey jcadduono, no need to disable RIL in the CM13 builds anymore, we've got it figured out!

http://xdaforums.com/galaxy-note-3/...unofficial-t2953375/post63918876#post63918876

;P
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
alright so maybe I'm just being retarded

but I can't seem to get this kernel to build as a part of my personal CM build... it just dies really early on, saying it can't find Kbuild in include.

Am I being dense and missing something?

Pretty new to building CyanogenMod so it's very possible I'm derping hard.

Oops! didn't mean to double-post, sorry. I assumed it'd merge!
[Galaxy Note 3 Original Android Development] jcadduono:
Just waiting for a full cm13 build with fixed radios and no flashovers so I can verify it works before uploading another version for it!

yeah there's no android.mk you need to build cyanogenmod with its original kernel, or no kernel, and then build my kernel entirely separately and place into the redistributable zip or whatever.

it will only build using VARIANT=can/tmo/eur/etc PERMISSIVE=0/1 VER=X.X.X ./build.sh

it should be possible to find in the cyanogenmod makefile where it starts the build process for kernel and just replace it with some way to execute build.sh inside idlekernel folder, and you can edit build.sh to turn off building zip or tar.md5 and just use cp ik.zip/boot.img cmbuildlocationwhereboot.imgshouldbe

i have no rom building experience and use the vanilla linux / debian way to build kernels lol
[Galaxy Note 3 Original Android Development] kopitalk:
[MENTION=5672995]jcadduono[/MENTION] Minor issue, twrp-2.8.7.0-idleKernel-6.5.6-hlte-eur screen brightness setting is broken (same as the previous hltecan). The official twrp-2.8.7.0-hlte-eur screen setting is functional.
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
I could probably throw you a build to test with if you want in a little bit (whenever it finishes, doing a build right after a mka clean sucks)

Okay, just realized a problem with building your kernel separately. the kernel has its own ramdisk (obviously) which breaks the libril_shim required for rild to not barf over and over.
[Galaxy Note 3 Original Android Development] AM.8:
Do you have same tweaking or you leave it at it is??

Thanks

Gesendet von meinem SM-N920C mit Tapatalk
[Galaxy Note 3 Original Android Development] japoco_poz14:
What is changelog of 6.5.6? Can I flash with my philz recovery? I'm tw 5.0 with 6.5.5

Inviato dal mio SM-N9005 utilizzando Tapatalk
[Galaxy Note 3 Original Android Development] Bushido76:
6.5.6 doesn't change the kernel. It was just an update to the TWRP-idle recovery.
[Galaxy Note 3 Original Android Development] jcadduono:
just build it with stock cm kernel with these shims and send over (the whole zip, a tarred ramdisk, or boot.img) then i'll extract the ramdisk and update mine with it

this is probably just the exact same fix as the mtp issue...twrp pointed to the wrong location. i'll look into it

edit: it should be pointed to /sys/devices/mdp.0/qcom,mdss_fb_primary.184/leds/lcd-backlight/brightness

I:Specified brightness file '/sys/devices/mdp.0/qcom,mdss_fb_primary.173/leds/lcd-backlight/brightness' not found.
I:Found brightness file at '/sys/devices/virtual/lcd/panel/panel/brightness'

Off by a couple digits lol :D

Edit: It looks like I will have to make a build system for the whole TWRP because I can't cheat with symlinks. I could modify general panel lcd device to send brightness to qcom,mdss_fb_primary.184 though...

NAHHHHHHHHHH this sounds like a case for HxD, let's just turn that 173 into 184 using hex editor lmao

^ just did this, its fixed, accepting as legit commit

https://github.com/jcadduono/idleKernel-note3/commit/38d4b96f023fb49723812637bf37569e154b64f5
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
https://dl.dropboxusercontent.com/u/8664592/cm-13.0-20151121-UNOFFICIAL-hltetmo.zip

Standard disclaimers apply. Not responsible if it starts WWIII etc.

As well as the "Lyo is an idiot" clause, which means this very well may be broken entirely and yet it somehow works for me. If you try and flash it it might not flash the boot.img properly for reasons I don't understand.
[Galaxy Note 3 Original Android Development] jcadduono:
https://github.com/jcadduono/idleKernel-note3/commits/ik-cm13.0

nothing big :D compiling while i go shower, if you don't mind testing them when theyre up that would be great. i'm getting really sick of nandroiding all my partitions every day lol

test link here: https://idlekernel.com/test/cm13.0
[Galaxy Note 3 Original Android Development] Lyokacanthrope:
el bootloopo with selinux enforcing kernel

selinux permissive works fine

this is probably my fault though, I'm not sure if I ever really set up selinux properly for my build (I don't see a point as I disable selinux anyway to use spencommand, lol)

http://i.imgur.com/ZTr4xrB.png
[Galaxy Note 3 Original Android Development] kopitalk:
Screen brightness setting is working good now. Thanks!
[Galaxy Note 3 Original Android Development] jcadduono:
Now I wanna get usb mass storage for external sdcard working...that would be awesome.

also fix boot screen taking forever....

UPDATE: i'm awesome, usb mass storage is now an option in TWRP, and i still haven't compiled TWRP hahahha

HxD is the greatest tool ever.

https://github.com/jcadduono/idleKernel-note3/commit/d57b8a07dd06d68839547e9f944318071c64f9cf

I had to hex edit recovery binary again to change lun location for UMS, but it didn't fit, so I symlinked it to a shorter location in the ramdisk too

combined strategy effort bahaha!

by it didn't fit i mean you can't make strings bigger than original, but you can make them smaller and pad the rest of it with 00 (NULL)

:)

but this speed is not lol! i tried switching governor to performance and got 6.4 MB/s instead of 5.3 MB/s on interactiveX!

as an alternative, sliding my fingers around the touchscreen increased my transfer speed hahahahahhaha

reminds me of rapid pressing AB in pokemon when throwing a pokeball

UPDATE: new builds up for twrp!!!!!!! USB mass storage!
[Galaxy Note 3 Original Android Development] kpirnie:
While yur in there. .. ;)

How about some DriveDroid action ;)
[Galaxy Note 3 Original Android Development] jcadduono:
What do you mean I use drivedroid all the time
[Galaxy Note 3 Original Android Development] Bushido76:
That's great news! I'm not sure whether "binary" commits are the intention of GITHUB but the result is a big improvement. ?

What would be the most simple way to get USB mass storage working in my tochwiz 5.0.1 rom? Since Androids and Samsung "step back" to MTP I never got a reliable connection for the transfer of huge amounts of data. Most file recovery programs can't access MTP storage too.
[Galaxy Note 3 Original Android Development] kpirnie:
maybe im thinkin of somethin else?

the one that lets u boot a pc from an iso on yur phone?
[Galaxy Note 3 Original Android Development] bladecgn:
Still having the min brightness issue. Could you have a look into it? 6.5.3 with Temasek (Cyanogen based).
[Galaxy Note 3 Original Android Development] jcadduono:
I could make a shell script that unmounts extsdcard, then switches storage mode to mass storage, then sets up the storage lun, then mounts extsdcard to the file lun ...was thinking of doing that earlier and putting it in sbin so like /sbin/umson /sbin/umsoff

I can also add a -3 flag to umson to put the phone in USB 3.0 mode but that's a hassle because TouchWiz is weird and turns it off every 5 mins or so saying OK your trial of USB 3.0 is over lol

But you could also do what I do and just install drivedroid. When you want to use ums with sdcard you always have to go into settings and storage and unmount it though or you will get fs corruption.

Add a new image on drivedroid, extSdCard label:

/dev/block/mmcblk1

In drivedroid mount as writable storage

Plug your phone in!

Can't look into it don't have the issue and you haven't provided any information on the issue.

Yup that's drivedroid its been compatible since leankernel 6.2 I think. I use it to install Windows or Linux on computers. It is awesome. The only thing that doesn't work properly with it is burning CDs and booting from ISO with UEFI. But with UEFI you can just extract ISO to root directory of a drivedroid storage image and it will boot. (Has to be formatted as fat32 or ntfs though)
[Galaxy Note 3 Original Android Development] ibosilj:
When using this kernel on cm12.1 i'm having mobile radio active bug, but whit temasek kernel there is no such bug. Could the fix be implemented in the kernel or is it rom related stuff?

http://xdaforums.com/showpost.php?p=62551461&postcount=17685
[Galaxy Note 3 Original Android Development] jcadduono:
ROM only bug. Can't be fixed in kernel.
[Galaxy Note 3 Original Android Development] Kamy:
[MENTION=5672995]jcadduono[/MENTION] just a heads up that MTP for THE FIRST TIME in the history of the Note 3 custom recovery is working flawless and I kiss you for this. :good: I had lots of trouble before as building aroma installer for aryamod and the aroma failed for an unauthorized syntax and even recovery couldn't save the log then I had to search over hundreds of lines to see what was the culprit.
[Galaxy Note 3 Original Android Development] Bushido76:
Because USB mass storage mode is more reliable and more compatible it would be great, if we would have an automatic solution. USB 3.0 - with the problems you mentioned - is not really neccesary, as the speed is limited by the storage card - at least in my case. ? Thanks in advance for your effort. ?
[Galaxy Note 3 Original Android Development] dkonect:
Perfect kernel, for now it's simply the best. I'm on 5.1.1 (dark_au_note 5 V3.5), all works flawlessly, powerful and battery friendly, no lag, no delay on Lockscreen (it's the trouble on all other's kernel) all is simply perfect . (I use kernel adiutor for be more easy to tweaks)

Now I can move without taking my charger in my pocket, a lot of thanks for this marvellous kernel
[Galaxy Note 3 Original Android Development] scpion:
What do u guys use to adjust the screen color? I tried kernel aduitor, kcal.. All settings doesn't survive a reboot. Set on boot is checked. I am on darklord n5 port. I searched, it's been asked before but there doesn't seems to be a reply on it..
[Galaxy Note 3 Original Android Development] dkonect:
With kernel adiutor, all tweaks stay after reboot (with the screen adjust, my screen is really black (contrast)
[Galaxy Note 3 Original Android Development] kpirnie:
Nice! Didnt even realize that, and I been on Lean since around the 3.x series LOLOLOLOL

That's so cool :D
[Galaxy Note 3 Original Android Development] Adywizard:
Is this normal??

2 Days since last charge and 8h SOT.

Sent from my space craft using power of the mind