yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II N7105 Android Development] R0B3RTF1SH3R:
Procedure

Flash the F2FS compatible TWRP Recovery with Flashify for example

Boot into Recovery

Backup > Data

Save your internal SD card with one of the following options

Either reboot to system and copy files to your PC via USB (MTP)

Or pull files via adb (adb pull /data/media sd_backup)

Copy the kernel and the sdcard fix script to your created backup folder

Wipe > Advanced Wipe > Data > Repair or Change File System > Change File System > F2FS

Wipe > Advanced Wipe > Cache > Repair or Change File System > Change File System > F2FS

Copy the saved SD card content back to your device with: adb push sd_backup /data/media/0/

Afterwards the folder structure should look like this: /data/media/0/…Folders like DCIM, Music, Downloads, …

You can check with: adb shell ls -R /data/media

Restore > Choose backup > Data (the warning about ext4 backup doesn’t matter)

Advanced > Fix Permissions

Flash the sdcard Fix Permissions script with: Install > Choose sdcard fix zip

Wipe > Advanced Wipe > Cache & Dalvik Cache

Flash a F2FS compatible kernel with: Install > Choose kernel zip

Reboot to system
[Galaxy Note II N7105 Android Development] ay0503:
I didnt backup internal and im pretty screwed?? at least i have some backed up with most on my ext sd card
[Galaxy Note II N7105 Android Development] limjh16:
So your point is...? So what is FIOPS supposed to be good at since ROW is supposed to be good at read speeds?

apparently system f2fs is harder than data f2fs or something. Also for twrp try the newest version of twrp (3.0.0 or 3.0.1 or something like that) I think issues may have been fixed. Because for my phone there's a homemade or experimental alpha17 build which works a charm for f2fs.

---------- Post added at 07:40 PM ---------- Previous post was at 07:38 PM ----------

This should be added to OP [MENTION=6299732]PoisonNinja[/MENTION]
[Galaxy Note II N7105 Android Development] R0B3RTF1SH3R:
my point about ROW working faster at reading is, that with the questions this video will raise, eg. ROW , reading from ram/cached etc... but still FIOS should be faster.

I have a backup I use of cm11 with f2fs systemwide (minus cache, was having issues) and using fios sched. the thing is lightning fast. no other rom ive used was faster. (*actually there was a 01/01/2015 LP version by DT1980 who cooked fiops into it, that thing was sooooooooooooo fast it was crazy, however there was some issues with video playback etc so couldn't daily it)

also. that procedure has been around for a while. its for nexus 4 but has been known to work on all devices...
[Galaxy Note II N7105 Android Development] tenacres:
I would like to know how to stop the following message, Process system isn't responding, do you want to close? Wait or Ok?

It doesn't matter which one I press it comes back. The only thing that stops it for a while is to remove the battery. I have also tried reboot, wipe cache, and full reset, any help would be great.

Note 2 n7105 running latest update.
[Galaxy Note II N7105 Android Development] DJ-Studd:
Note to self: When switching FS to f2fs, make sure you're using the latest version of this ROM that has f2fs support...!!! Well, that wasted several hours. Whoops! :)
[Galaxy Note II N7105 Android Development] AntwnhsAnt:
What kernel is recommended for this ROM? I'm using the stock one that came with the ROM but I want to flash agni for the features.

Does the normal version of agni work or do I need the smdk one?

BTW I'm using the F2FS file system and everything works okay (haven't tried restoring anything though)
[Galaxy Note II N7105 Android Development] PoisonNinja:
I like it :p
[Galaxy Note II N7105 Android Development] PoisonNinja:
I recommend that cache be formatted to F2FS. F2FS improves write speeds more than read, and cache is constantly being written to. I could enable /system support (see here for how I enabled F2FS for data and cache), but system isn't being written to a lot, so I don't think there would be much of a benefit.
[Galaxy Note II N7105 Android Development] PoisonNinja:
You don't need to fix permissions. In fact, it could cause more issues then it fixes. Also, I recommend that you just flash the F2FS packages I linked. Less chance of error and easier. SDCard fix is also not needed. This ROM already includes a compatible kernel.

I already have basic instructions. If it's unclear, I can add some more details.

Never seen that before. I presume that a full reset means a clean flash?

It's OK. When I was testing this, I wasted almost an entire day wondering why it won't boot when it was because I didn't add this :D.
[Galaxy Note II N7105 Android Development] Darkwell_Habridge:
i have flashed this rom in e250k..everything is fine but the sim card is not working...can u please build a modem driver to resolve this issue..u can make a flashable file or apk for e250k modem to work in this case..any help will b highly appreciated..thank u
[Galaxy Note II N7105 Android Development] wroobi71:
Failed to change FS in /data

Hi guys,

I've tried to flash this ROM with F2FS but I have problem with changing the file system. When I try to install zip from OP that should change FS in /data I get:

Zip file is corrupt!
Error installing zip file '/external_sdcard/F2FS_DATA_FORMAT-I9305_NOTE-2-signed.zip'

When I try to change it by Advanced Wipe menu I get:

mkfs.f2fs -t 0 -r 32768 /dev/block/mmcblk0o16
process ended with ERROR: 1
Unable to wipe Data.
Error changing file system.

May I ask you for help or any advice, what to do?
[Galaxy Note II N7105 Android Development] PoisonNinja:
What TWRP are you using?
[Galaxy Note II N7105 Android Development] lolmensch:
when I did a factory reset (after changing data and cache to f2fs) it said in twrp 3.0.0 that cache is wiped by formatting mkfs.ext4. doesn't that revert the cache filesystem back to ext4?
[Galaxy Note II N7105 Android Development] wroobi71:
As you recommended in OP, I've installed lastest TWRP 3.0.0
[Galaxy Note II N7105 Android Development] PoisonNinja:
I don't have a E250k, so I can't test. This ROM has been tested on N7105, SGH-i317, and SGH-T889. You can try these:

E250L: ( https://mega.nz/#!H48WhbgQ!R9o9BS9-iMitR14AEnsg3c2sW3RLRokcC6qsBRE7liA )

E250S: ( https://mega.nz/#!WktG0bhS!3MrcAJLSizozNcBzHFPwdXQlJXod3AHomWlsl2T3Hnc )

E250K: ( https://mega.nz/#!v09ygJZS!48QYrtr7-GaX_EFaGFOJcHquIwK9glP0ZQ_n0PJ2q9M )

Taken from https://plus.google.com/103351758117889256758/posts/3KK4oRR7Huz
[Galaxy Note II N7105 Android Development] ay0503:
I have e250k and EVERYTHING is working flawlessly
[Galaxy Note II N7105 Android Development] PoisonNinja:
Good job! Try redownloading the file and flashing it again. I was able to flash it successfully on TWRP 3.0.0. If that doesn't work, download TWRP 2.8.7.0 and flash that. Then, try again.
[Galaxy Note II N7105 Android Development] malybru:
Mod Edit

Thread cleaned

May I remind you of the XDA RULES

6. Do not post or request warez.

If a piece of software requires you to pay to use it, then pay for it. We do not accept warez nor do we permit members to request, post, promote or describe ways in which warez, cracks, serial codes or other means of avoiding payment, can be obtained or used. This is a site of developers, i.e. the sort of people who create such software. When you cheat a software developer, you cheat us as a community.

Lucky patcher/freedom is deemed warez

Please do not discuss such things on XDA

Thank you

malybru

Forum Moderator
[Galaxy Note II N7105 Android Development] PoisonNinja:
A new section has been added. It tells you how to report bugs. If you follow it, it will make my life a lot easier in fixing your problem. Also included are instructions on how to build CyanogenMod (if you want to).
[Galaxy Note II N7105 Android Development] bruzay:
I'm using Agni Kernel V4.5.1 smdk 4x12 . Really smooth. I think the ROM has a built in kernel compatible with F2FS.
[Galaxy Note II N7105 Android Development] ay0503:
How do i use agni for e250 k installed but kernel did not chanhe to agni
[Galaxy Note II N7105 Android Development] bruzay:
Hello PoisonNinja

Please do I have to flash the F2FS zip files anytime I flash a new build ?
[Galaxy Note II N7105 Android Development] lolmensch:
no only when you reformat your filesystem to ext4 (which happens with an advanced wipe)
[Galaxy Note II N7105 Android Development] bruzay:
Hello PN

Is it possible for an sdcard to be partition so the phone could recognise part as internal phone storage and the other as portable storage for media and photos?
[Galaxy Note II N7105 Android Development] PoisonNinja:
No. AFAIK, the internal storage thing wipes the entire SD card.
[Galaxy Note II N7105 Android Development] murti52:
Hi.. Robert.... Can you tell me what exactly is FIOS and F2FS..?
[Galaxy Note II N7105 Android Development] R0B3RTF1SH3R:
FIOPS (Fair IOPS):

This new I/O scheduler is designed around the following assumptions about Flash-based storage devices: no I/O seek time, read and write I/O cost is usually different from rotating media, time to make a request depends upon the request size, and high through-put and higher IOPS with low-latency. FIOPS (Fair IOPS) ioscheduler tries to fix the gaps in CFQ. It's IOPS based, so it only targets for drive without I/O seek. It's quite similar like CFQ, but the dispatch decision is made according to IOPS instead of slice.

Benefits:

- Achieves high read and write speeds in benchmarks

- Faster app launching time and overall UI experience

- Good battery life

Disadvantages:

- Not very common in most kernels

- Not the most responsive IO scheduler (Can make phone lag)

- Not good at heavy multitasking

F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.[2]

The motive for F2FS was to build a file system that from the start, takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.

F2FS was designed on a basis of a log-structured file system approach, which it adapted to newer forms of storage. Jaegeuk Kim, the principal F2FS author, has stated that it remedies some known issues[3] of the older log structured file systems, such as the snowball effect of wandering trees and high cleaning overhead. In addition, since a NAND-based storage device shows different characteristics according to its internal geometry or flash memory management scheme (such as the Flash Translation Layer or FTL), it supports various parameters not only for configuring on-disk layout, but also for selecting allocation and cleaning algorithms.
[Galaxy Note II N7105 Android Development] limjh16:
Add on to above

F2FS advantages: faster read write speed faster (if I'm not wrong)

Disadvantage: heard that more prone to data loss in event of power outage
[Galaxy Note II N7105 Android Development] R0B3RTF1SH3R:
yes there a higher chance of data loss, I have had data loss from converting a class10 16gb sdcard to f2fs and then trying to mount it in windows via twrp only (think about it)... just dont do it.
[Galaxy Note II N7105 Android Development] wroobi71:
Ok, I've figured out what was wrong. Recently I'd changed my SD card and it turned out to be broken. So almost all transfered to it data was corrupted in fact... :( Stupid card made a lot of mess..

Lesson from that situation is that you sould always check MD5 before apply anything ;)

Anyway, thanks for support and - what is more important - for your effort in developing this ROM.
[Galaxy Note II N7105 Android Development] barabasy:
I am using this Rom as my daily driver and it is really stable. Thanks again PoisonNinja for making this rom so smooth.

Sim and Data are stable. At least every time I use them, they work. I did not monitor if they are constantly there.

Bluetooth is stable too as my android wear constantly gets notifications. Wifi is stable as well. Though, I don't have two routers to test roaming.

My battery life is not quiet good though. My deep sleep cannot exceed 50% whereas with lollipop for the same usage pattern I got 80% deep sleep. From Gsam battery app, doze is 0%. I am using the canadian sgh-i317m and I am wondering if there is something I need to do to enable doze.

When using wakelock detector, the first in the list is the Phone Service RILJ. Then Google Services.

I just flashed 2016-02-16 so I will see how it gies for the day.

I removed CMFileManager from system/app and disable ambient display.
[Galaxy Note II N7105 Android Development] PoisonNinja:
For Doze, try installing Naptime from Google Play and turn on "Aggressive Doze".

Why disable ambient display? It's a really nifty feature, and it doesn't use battery at all.
[Galaxy Note II N7105 Android Development] R0B3RTF1SH3R:
yeah one of my sdcards was doing that. copy the file over 5x until it would actually flash. must be corrupt sectors =/ i just tossed it. thats 3x sdcards killed a 4,8 and 16.. =(
[Galaxy Note II N7105 Android Development] tenacres:
on the latest build, I'm only losing about 3-5% battery life overnight as long as I turn off wifi. If I leave wifi on it does drain the battery a bit, even during the day if I charge it and leave wifi on, you can see it losing battery power even if your not using the phone.

I have noticed that you can't send photos with just mobile data on, you also have to have wifi on, not too sure if it has to be connected or just on.
[Galaxy Note II N7105 Android Development] R0B3RTF1SH3R:
hows the progress on fios/fiops scheduler? =D about to format and try f2fs
[Galaxy Note II N7105 Android Development] derpblock:
bug reporting or not

my screen rotation does not work while its on not in youtube or any other apps while it did with 12.1 i clean flashed and not sure if its a bug or there is a fix for it

greetz derpblock
[Galaxy Note II N7105 Android Development] bruzay:
Touch and hold the screen, then touch on the arrow sign above the widget option, then under home screen settings make sure allow rotation is checked or enabled.
[Galaxy Note II N7105 Android Development] barabasy:
After I installed the build 20160216, my phone suffered a massive battery drain. The graph in the battery history showed it was always awake and wifi being the battery eater. Using Wakelock Detector, wlan_rx_wake was keeping the phone awake for 6 hours. Googling about it and people reported dhcp handling. I then went to Developers options to turn on the legacy lollipop dhcp client but at first it did nothing. The phone was still kept awake. After turning wifi off/on, the phone stopped being kept awake. Turning the Legacy dhcp client off and cycling wifi off/on did not trigger the wakelock so far. Is it possible that the wifi driver still has some issue? I have 2 other android phones home and none if them has issue with dhcp on the wifi router.

I don't want to turn off wifi as I have data plan and would not to inadvertently consume it thinking I am on wifi.
[Galaxy Note II N7105 Android Development] derpblock:
Fixed it!! I did that already but i tried it again and this time i restarted the phone and it was fixed thx :D
[Galaxy Note II N7105 Android Development] barabasy:
I just noticed that the heads-up display is not working for my gmail notifications.

I am using 2016-02-16 build and Heads-up options is checked and gmail has the Allow peeking in Notifications.
[Galaxy Note II N7105 Android Development] mrsilva1986:
Hello to everyone, i installed the rom yesterday, so far so good, thanks by the way, i only have one problem, i have a mi band 1s and i cant use it to smart unlock my phone, the band works ok on the app but when i try to connect to smart unlock it stop working and it don't pair. Did anybody have the same problem? Thanks in advance.
[Galaxy Note II N7105 Android Development] barabasy:
I have a galaxy gear live android wear watch and the smart unlock feature works fine with it.

Once it was detected as a bluetooth device, I wad offered the option to add it as a trusted device for smart unlock.
[Galaxy Note II N7105 Android Development] tenacres:
ahh, glad I'm not the only one then, I could actually see the battery draining with just wifi on and not using the phone. I use wifi mostly as I don't have a big data plan. the bigger issue for me was not being able to send mms pics while I was out, they wouldn't send with just mobile data on.

Anyway these are small issues that I'm sure will be fixed, so I'd say a big thumbs up to PN! :good:
[Galaxy Note II N7105 Android Development] barabasy:
Tonight, I just experienced my first random reboot with this ROM after almost a week of use.

In fact the day was not that with build 20160216. There was always something keeping the phone awake. In the morning, it was the wifi. Then I cycle wifi off/on. Temporarily fixed the wakelock but phone was kept awake again. Then reboot. Wakelick gone for a bit then back. Wakelock detector indicated it was an I installed. Removed the app and reboot. Wakelick gone for a while but came back with PowerManagerService.Wakelock as the most kernel wakelock from Wakelock detector.

I ended up installing BetterBatteryStats which indicated RILJ as the culprit in the Partial wakelocks.

At that point I wanted to know if the phone radio is working properly. I first sent a SMS to the phone which the note 2 received. I then wanted to check if it can receive phone calls. I called in, note 2 stayed silent, no ringings even if on the other end it is like it is ringing. I then called the note 2 again and that time, I immediately got into the voicemail indicating that the phone is not reachable even if the note 2 was just sitting there. I called again and the same thing. I sent two SMS and note 2 did not receive.

I then went look at logcat and saw nothing specific to radio except "can't connect to atd socket". I even looked at the radio log and nothing.

At that point, I went to post on the forum when the phone started to be laggy and suddenly rebooted.

I think that the RILJ still has some issue. Not as severe as the resurrection mm rom but it is still there.
[Galaxy Note II N7105 Android Development] kepler1729:
This ROM is working amazing, many of the annoying, stupid bugs from Lollipop have been fixed (YouTube, Bluetooth audio stuttering, etc.) and everything is smooth. Thank you PoisonNinja!

I do have one bug, however, and that is that whenever I try to send or receive a MMS message of any kind, my mobile data cuts out (the ! shows up in the status bar data indicator). This is not fixed by going into airplane mode, or rebooting, etc. The only solution I've found is to delete the entire text message thread with the person who sent the MMS while in airplane mode, then turn off airplane mode, and LTE is back.

I have an SGH-T889 running on the T-Mobile network. I'm running the Feb. 16 build with the default kernel built into it.

I have gotten two logcats on my phone using Catlog, and I can view them on my phone, but MTP is not letting me access them (even when moved to another location), I cannot change their permissions, and Google drive is not letting me upload them. How can I retrieve them? (P.S. -- does this have something to do with F2FS?).
[Galaxy Note II N7105 Android Development] R0B3RTF1SH3R:
baseband has to match radio interface layer. (RIL)

if not. battery drain..

will report back when tested f2fs
[Galaxy Note II N7105 Android Development] xxjabberwockxx:
I'm on Tmo too, on the T889 and on every M ROM out, I've had to edit my APN. Edit the Tmo LTE APN's settings (I do just these two):

MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc

APN type: <Not set> OR Internet+MMS

Although I've tried both, I just use <Not Set> (blank it out) because it was easier every time I installed a ROM :)
[Galaxy Note II N7105 Android Development] bruzay:
I left my phone on WiFi with 15% battery level from 0210 and by 0740 this morning the battery drain and phone is off.
[Galaxy Note II N7105 Android Development] postx:
Charged to 100% yesterday and turned off wifi and flightmode in. Today after 24h phone is down to 22%, stats show that it was active all the time. Didn't had it in oder builds will downgrade and retest.
[Galaxy Note II N7105 Android Development] kepler1729:
Dang! That actually worked!

I hope we get an easier solution soon, though.
[Galaxy Note II N7105 Android Development] Mauro_Cepeda:
Anyone here having problem with the proximity sensor? Mine didn't work and I don't know if is a ROM problem or HWD damage.
[Galaxy Note II N7105 Android Development] PoisonNinja:
I'm not going to implement FIOPS. There is no CM13 version for any device, and CM12.1 code won't compile. You can see my failed experiment here. However, you can always use SIO, which performs very closely to FIOPS. That's what I'm using right now.
[Galaxy Note II N7105 Android Development] PoisonNinja:
It needs to be changed in CM's sources. See https://github.com/CyanogenMod/android_vendor_cm/blob/cm-13.0/prebuilt/common/etc/apns-conf.xml
[Galaxy Note II N7105 Android Development] barabasy:
My proximity sensor is working fine with this rom. The screen turns off when the phone is cliee to my ear.

You can use the Sensor Box available in the playstore to test each individual hardware sensor.
[Galaxy Note II N7105 Android Development] Mauro_Cepeda:
I tested with differents apps and does nothing. In addition I purchased a new one proximity sensor and replaced it and the same problem.

Any help?
[Galaxy Note II N7105 Android Development] kepler1729:
I made a pull request on github into the CM 13.0 branch with the suggested APN changes -- hopefully it gets accepted :)
[Galaxy Note II N7105 Android Development] xxjabberwockxx:
Oh goody :) Cuz...I don't know how to do that request thingy :)
[Galaxy Note II N7105 Android Development] DJ-Studd:
Running 20160216 (I think? It says 20160213 in settings, but I'm sure I flashed 16), with baseband N7105ZHUFOA1. Some incoming calls don't ring, I just receive an SMS from the telco saying that I missed a call; the phone on the other end rings.

Any thoughts? Being able to receive calls on a phone is a fairly important function! LOL

Cheers
[Galaxy Note II N7105 Android Development] PoisonNinja:
CM doesn't accept pull requests. You need to submit it through Gerrit. If you want, I can submit it for you...
[Galaxy Note II N7105 Android Development] PoisonNinja:
I haven't experienced that issue, though maybe I just missed the call and did't know :D. Don't worry about the build date, it only changes when I clean build (which is every few days). Does it show the missed call in the call log?
[Galaxy Note II N7105 Android Development] PoisonNinja:
Hey all, a quick update on official CM status! Today we figured out the RIL issue. See it at http://review.cyanogenmod.org/#/c/133622. I need to clean up a few things in the rules, but it's progress!
[Galaxy Note II N7105 Android Development] gathithow:
Congrats! PoisonNinja that means that coming soon we reicive official builds cm13 right? Keep on the hard work! Will be you the maintainer?
[Galaxy Note II N7105 Android Development] PoisonNinja:
Soon. rogersb11 will be the maintainer, but I'll see if I can help
[Galaxy Note II N7105 Android Development] DJ-Studd:
Ah, that's good to see that I wasn't going crazy. The missed call doesn't appear in the call log.

That's awesome, thanks for your hard work!
[Galaxy Note II N7105 Android Development] PoisonNinja:
Hi, I've submitted your patch to Gerrit. Track it's progress here.
[Galaxy Note II N7105 Android Development] kepler1729:
Thanks so much!

I hope it works -- I kinda had to guess at the structure of the APN file from the other entries.

Though since I've changed my APN, I've had horrible battery drain (no deep sleep) and wakelock detector is not giving me a specific wakelock. I'm using aggressive doze and everything.
[Galaxy Note II N7105 Android Development] postx:
Running now in 20160210 (settings) same test as bevor (no wifi & fligthmode) only 1% in 9h. Phone was in deepsleep all the time. So something must have changed in the last build causing phone from not sleep well;)