yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
So guys, I'm not done just yet. There is something I forgot to do anyway. Which is, convert the original N910FDeodex.zip from a raw img to set_metadata. This means that 3.5GB (used and free space) will not be flashed into the system partition. With set_metadata, only the used space will be flashed. This means less write hits to the NAND. Besides that, it will be identical to the original zip. The revised debloated zip is already set_metadata, no need to mess with it.

However, I would also like to create a new zip that is based on the revised debloated zip. This one will cut to the bone, basically removing everything except critical functionality. For maximum space savings, better battery efficiency, less CPU/RAM usage.

So in total, you'll have 3 choices:

Original deodexed only zip with nothing removed

Revised debloated/deodexed zip

Super debloated/deodexed zip that is completely stripped down

And there will also be the stuff in the extras section of this post, so you can reinstall most removed stuff.

After this, I will be truly and fully done. I don't have a time estimate on when these 2 zips will be finished, maybe up to a week, due to time constraints.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I just wanted to say, while I'm working on these 2 zips, that in the near future I'll probably be building an actual custom ROM for the N910F. Along with my own custom kernel. I have yet to decide a name for these. My timetable for beginning work on these is up to 6 months, tops. That ROM will supercede this one and have many more changes.

I will probably be making multi-CSC support a priority, and it will be based on different but still updated N910F firmware. I may or may not make passing SafetyNet a priority. Like this one, it will be debloated. I want it to be the last stock-based ROM any F user will ever need.

A custom kernel is on a whole new level, much harder than ROM building. But I'll make it happen.

I just figured I would take this opportunity to solicit for testers, and to gauge the overall interest in these. We shall see...
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I'm actually finding it quite difficult to trim off any significant amount of fat. It seems my revised debloated zip covered just about everything. So, there may not be another debloat zip. I'll keep working on it though. I still intend to convert the original N910FDeodex.zip from raw img to set_metadata.
[Galaxy Note 4 Android Development (Snapdragon)] prkfsz:
[MENTION=7441667]AnonVendetta[/MENTION]

Tried to download the Revised script but download fails every time, and i tried all the download mirrors. You perhaps took it down temporarily to work on it?

Also getting really crappy download speed downloading the ROM. Will take a part of tomorrow to get it all. Will get back to you after it's done and i tried it out.

Glad to see it's been downloaded many times already - our little device still has it's fan club... :)
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=10891995]prkfsz[/MENTION]: I didnt remove anything. AFH can be hit or miss sometimes. If you're getting slow DL speed, try using Advanced Download Manager...should speed it up. Just be sure to compare the MD5 checksums to what is listed on AFH. That way you don't try to flash a corrupt file. You can use Hash Calc app for this.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
With [MENTION=5285430]kevintm78[/MENTION]'s permission (which I've already obtained), I will be posting slightly modded zips of Flashpoint v3 and v4 kernels.

The init.d scripts in his zips prevent Magisk modules from working. And probably breaks SafetyNet. I reported this to him recently in a private message, he gave the go ahead to do this.

If anyone is interested in testing for a custom ROM/kernel, say so in the thread. Or send a private message. I'm trying to get a group of interested people together. As soon as my gaming laptop returns from the manufacturer for repairs, I can start on that. The idea is to have a closed group of testers by invite only, then later do a public release when major issues are ironed out.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I have a question: Does anyone here have a premium SamMobile membership? There are dozens of N910FXXU1DRI2 firmwares there, and i'd like to assemble a collection. That way I can sort through them all to collect all the various CSC codes into one package. And I will use this as a basis for determining which one to base the custom ROM on.

A,premium membership will allow you to grab files at fast speeds, instead of the extremely slow, throttled speeds you get if you're only a free member. A monthly membership is around USD $7.74, or 6.50 euros. That is all the time we should need to grab everything. I can pay for a premium account for myself, but grabbing all the firmwares would take quite awhile (weeks). What is needed is:

Grab firmware

Send me the details on which files you got

Upload it to a fast host like Google Drive

Send me the link

I can do everything from there. If you can do more than one over the course of a month, great. Once we're done, just cancel the membership before the month is up.
[Galaxy Note 4 Android Development (Snapdragon)] prkfsz:
Don't have premium membership anymore, but i did got several -DRI2 firmwares:

N910FXXU1DRI2_N910FHTS1DQI1_HTS

N910FXXU1DRI2_N910FNEE1DRL1_NEE

The first one locked to one swedish operator (3), the other one is for nordic countries and unlocked.

I have one more firmware: HTS-N910FXXU1BOC3_N910FHTS1BOC1-20150313, but i don't really remember details about that one.

Let me know if they are interesting and i will try and hook you up. But i hardly remember how to use GoogleDrive anymore, been a really long time.. :D

AFH is obviously all miss right now. Tried downloading the ROM several times now, always fails when it's less than 1MB left. Rather annoying. Will try your downloading tips tonight.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=10891995]prkfsz[/MENTION]: I dont necessarily need to cover every possible CSC code. Just most of them. Esp since many of the DRI2 firmwares are carrier-specific. It's easy to tell, the carriers' name is in the title. I only want the ones that arent branded (no carrier in the name).

AFH is fine for me. But i DL from a 1GBPS wired fiber optics line at my home. DLs finish really, really fast, usually.

Your connection could be to blame. Or it could be the mirror you're DLing from. Somewhere along the way, on one end or the other, packets are being dropped (lost). A download manager can help alot, but i almost never use one except on mobile connection. Dont need to when i'm at home.

Edit: You offered a donation before, and i declined. I still dont want your money. However, if you want to help:

1. Set up a dummy Gmail account

2. Set up a dummy SamMobile account, using the Gmail to create the account

3. Pay for 1 month premium, set it to not autorenew

4. Send me the login details (log into SM once to make sure your card payment details arent visible in account settings)

Within a month, i'll have everything i need. And i'll upload all the firmwares to AFH so everyone can benefit
[Galaxy Note 4 Android Development (Snapdragon)] prkfsz:
My connection is fine, i changed the browser from Tor to another and most downloads work and really fast. But the main baseline ROM-file still cannot be verified after the download. Tried many times so far, same result every time. I can choose to keep the file and perhaps try and use it, but it doesn't really feel optimal to use a possibly corrupt file. Not really sure what the problem is but i'll try some more.

Regarding the SM account, i'd still rather donate, since this is exactly the type of thing i told you i am not really fond of doing since it's many small tasks in the whole. But I will try and find time to fix it during the weekend, and get back to you when it's done. I was actually considering renewing the premium membership there since i could use original firmware to some other devices i plan working on.

Still want the one -DRI2 variant i have? Nordic version, carrier-free.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I've just uploaded a set_metadata version of the original N910FDeodex.zip. It is otherwise identical to this zip, but converted from raw img format to set_metadata format. The 1st post of this thread is being edited to reflect this info.

I've also uploaded 2 modified versions of [MENTION=5285430]kevintm78[/MENTION]'s FlashPoint kernel. I have permission to do this. See the end of the 1st post of this thread for details.
[Galaxy Note 4 Android Development (Snapdragon)] prkfsz:
[MENTION=7441667]AnonVendetta[/MENTION]

ok, finally managed to download everything and give it a quick run.

Clean install:

Flashed the mini firmware zip first. Flashed the ROM, the debloating script and the microG installer. Then just couple of extras, just to remain the original feel..

For the short time i tried it out it seems to be running fine. And i really like how barebone it feels. Fresh and ... airy.. :)

Some thoughts:

- Are the video- and the gallery-app really necessary? I find especially gallery app annoying with all the required permissions. Plenty better alternatives. Video app? Usually i use VLC. But perhaps the system needs these apps?

- I really miss the S-Note app. And since even the Samsung store is stripped, i can't really download it. Not without some hassle anyway. Would it be possible to add S-Note APK on the list of extras?

- Perhaps i missunderstood you, but in the microG settings it read that there was no support for signature spoofing on this ROM. I didn't install Play store but i can't see that having to do with it? So in the second try instead of your microG installer, i used the original nanodroid patcher and then installer. Works fine, now all the boxes are ticked right away, except the UnifiedNI package. But i established already before that it wasn't necessary for my needs.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=10891995]prkfsz[/MENTION]: You flashed the mini firmware zip? Not from TWRP, I hope. It wouldnt have worked anyway. It's a tar file, you have to flash it with Odin.

Which debloat script? I posted 2 of them. Neither removes the stock Video player. I too prefer VLC. I just kind of got the feeling that removing the stock video player might prevent the gallery app from working correctly. Gallery app is necessary for setting lockscreen wallpaper, so i left it too.

S Note APK: https://www.apkmirror.com/apk/samsung-electronics-co-ltd/s-note/s-note-5-2-05-17-release/samsung-s-note-5-2-05-17-android-apk-download/

Yes, MicroG will say there is no native sig spoofing support, even though the box is checked. This is standard. I already built the sig spoofing patch into the ROM. This wont affect GApps users one way or the other.

My Play Store zip is optional, only if you need/use it.

You didnt even need to use the Nanodroid patcher, now you have 2 spoofing patches in your ROM...not necessary. They probably wont interfere with each other, but i cant be sure. You can flash the main NanoDroid zip (but not the patcher) on top of my revised ROM zip, but I wont support or help with this if you do. I just feel that ND is way too bloated, having used it before. I have already included all the bare essentials you need to have MicroG fully working (minus location provider support). Follow the instructions in first post, dont mix and match with other stuff. I cannot and will not be responsible if you flash anything not mentioned in the OP. Simply because, i dont create or maintain the other approaches of installing MicroG. I have no idea what changes they have made, without trying them first.

Or you can just ask me if something else might cause issues, I'll try to answer.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
1st post of this thread has just been updated.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
Tonight i'm going to try compiling [MENTION=5285430]kevintm78[/MENTION]'s FlashPoint v4 kernel from source code. There is a longstanding root restriction in his kernel (and many other stock-based Sammy kernels) that I would like to resolve, it prevents certain apps from working properly. i've known about this for a long time, but couldnt quite put a finger on exactly *WHAT* was behind it. I contacted him, he says there are a few lines in the kernel defconfig file that need to be edited/removed to resolve this.

I like FP more than any other kernel for the N910F, if i can banish this restriction once and for all, I will gladly and fully sponsor/support FP as the recommended kernel for this ROM, and for any ROM i build in the future.

But in the end, I would like to compile my own kernel from Samsung source code. In addition to a custom ROM, this is a long term project. Test compiling FP is just training wheels for the real thing.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I failed to compile FlashPoint from source. Spent 4 hours on it, all i got in return was a mountain of errors. Gonna send [MENTION=5285430]kevintm78[/MENTION] a PM to see where I messed up.
[Galaxy Note 4 Android Development (Snapdragon)] ginopico:
After about three days of use no noteworthy problem... great work!! I'm using nano and magisk and about eighty applications and everything flows very smooth even comparing to android 10 roms... a new Flashpoint would be great... Thank you for your work dev
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1192295]ginopico[/MENTION]: See what i mean? Debloating really can work wonders. Although, to say it's as fast as Android 10 ROMs, that's a big compliment. I'm not a fan of these new ROMs myself, too many bugs. And no native Xposed. EdXposed is OK but it's not as compatible as the Wanam's Xposed.

Which zips did you flash? You can use the modded FlashPoint zips I posted if you want a custom kernel. 1st post of this thread lists what changes I made.

If i can ever get this root restriction thing removed, I'll upload that too.
[Galaxy Note 4 Android Development (Snapdragon)] ginopico:
[MENTION=7441667]AnonVendetta[/MENTION]

I flashed the Baseline zip ... even the installation was quite quick. In the next few days I'll take a look at the kernels. Thank you again
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1192295]ginopico[/MENTION]: I'm still working on a super debloated zip that cuts even deeper than the baseline zip. I'm looking to trim away every bit of excess fat. It will basically only have the stock contacts/gallery/messages/phone, and other critical system apps. Those apps arent safe to delete anyway. Removing contacts/phone causes a bootloop, removing messages makes certain stuff in Settings not work. And removing the gallery will make it impossible to set lockscreen wallpaper (can still set home screen wallpapaper, but only the stock gallery can set lockscreen wallpaper).

I will probably also add a 3rd party keyboard to replace Samsung keyboard, an alternative file manager to replace stock My Files. And a good open source launcher to replace TouchWiz Home (Lawnchair looks good and has Pixel Launcher features...and it's 100% free).

Through exhaustive analysis i've determined that i can cut away up to 500mb of files without compromising critical functionality.
[Galaxy Note 4 Android Development (Snapdragon)] Reinhard79111:
Please do not delete the stock camera!
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=7742540]Reinhard79111[/MENTION]: If i delete the stock camera, I will provide an open source replacement. And provide a flashable zip to reinstall stock camera.

I dont get why so many people like the stock camera. It's not that great anyway. It's not like it produces stunning photos. The best free camera app is Open Camera. Best paid camera is Footej. Both of these are better than stock camera.

The idea is to create a lean, modular ROM that has only the essentials. So that it is up to people to install their own fave apps. Flashable zips have already been provided to replace most of the removed stuff. It's more work when flashing, but you get to pick and choose what you want, while skipping what you dont want.

If you dont like my approach to this, then I suggest that you use one of the overbloated stock-based custom ROMs. Of which there are many.

Or you can pay me outright to do it how you want. But i dont accept donations, since I dont trust PayPal.

I'm almost done with a super debloat zip. On a cold 1st boot, i've gotten the boot time down to around 270 secs. This is, of course, assuming that are clean flashing the ROM, and that you dont flash GApps, root, or extras. Once you add stuff the time goes up. Even if dalvik cache is wiped, it still optimizes and boots very fast.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
Edit: For some reason XDA posted my last post twice. I cant delete it, so i'm editing the dupe instead.
[Galaxy Note 4 Android Development (Snapdragon)] Reinhard79111:
Thanks. I see your point. Yes, of course, the camera app can be replaced by others.

Maybe I should have wished for non deletion of pen functionality. Because this is something that can't be replaced.

Well, anyway. I really love your efforts to create a ROM that is as slim as possible. :good:
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=7742540]Reinhard79111[/MENTION]: I'm not touching anything that would make the pen not work. Because I do use it sometimes. I really dont think Air Command, Side View, or MultiWindow is necessary though.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
Bad news: All work is temporarily on hold. I opened up the borrowed desktop PC to clean out dust, because it was running really hot. I ended up snapping one end of a plastic clip that holds a ribbon cable down. Without that cable held in, a critical part of the PC wont work, so I cant build.

So now i either have to source a new clip. Or tape it down good with Kapton electronics tape. Neither of those seem to be easily available locally. Will probably take a few days to fix.

But since most of the work is already done, it shouldnt be a big deal.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I managed to find a store that sells the tape, an industrial supply store whose customers are mainly businesses rather than individuals. Just had to call around for a few hrs. Apparently this stuff isnt commonly available, unless you want to buy online. So the PC is working again.

More good news: With the help of [MENTION=5285430]kevintm78[/MENTION], I managed to compile his Flashpoint v4 kernel from source code. I had asked him about a root restriction at kernel level that has been bugging me for a long time, he PMed back that he was aware of it. And told me how to fix it. Just had to edit a few lines in a text file and recompile. But compiling was the hard part, i got numerous errors. Over the past few days i finally got a successful compile. I've now built that kernel image into his FPv4 boot.img. It booted up just fine, and the issue is completely gone.

This restriction is some BS that Samsung builds into their stock kernels, it's up to devs to disable it...most dont. If you're rooting, it will probably affect you sooner or later, but it's not obvious. I'll go into more detail later. For now, I want to test it for at least a week before I upload a zip. I'll maybe even list my steps, in case anyone wants to try it themselves (you need a PC that runs Linux, virtual machine is fine). I want to see if it crashes and how often.

This is my first time compiling a kernel from source, it's definitely aggravating work that requires patience. And it's risky because sometimes things wont work out how you expected. These devs deserve alot of thanks for what they do.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I just subbed to SamMobile premium for 30 days. I intend to download all the DRI2 firmwares. Then I will parse through all of them to collect the CSCs.

I'll also be opening a separate thread for them. My plan is to upload all of them to AndroidFileHost, then post links.

These will only be official firmware packages, no mods. You'll have to flash them with Odin or Heimdall.

I only plan to post DRI2 firmwares, but I will accept requests for older F firmwares. However, once the sub expires, I dont plan to resub, so you'll have to ask quickly. Many of the older firmwares are only available to premium accounts, which is why I'm offering.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
OK, so I want to say that the super debloat ROM zip is pretty much cancelled. However, i will probably post one more debloat script, just flash it on top of what you've already installed from me. It will have the same effect.

I've already downloaded all 68 DRI2 firmwares from SamMobile, I'm almost done uploading them to AFH. I've extracted them to get to the CSC stuff so I can parse through it and decide what's necessary. Once that's done I'll choose one as the basis for a custom ROM (most likely wont be based on UK BTU), then get to work. No idea how long this will take, I've never done it before. My guess is a month, minumum.

After that I'll start soliciting for testers and create a new thread.

A custom kernel is in the gameplan too, but it will come after the ROM, for sure. Kernel building is much harder than ROM building. Once that's out, I wont support any kernel but mine, and maybe FlashPoint.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I've just finished uploading all the DRI2 firmwares.

Thread and link here:

https://xdaforums.com/note-4/general/n910fxxu1dri2-mega-firmware-collection-t4159389

These are the same as what you would get from SamMobile, except you should be able to download faster from AFH. I've even checked each zip's hash value and double checked them with Odin. I'm sure none of them are corrupt or modified. The UK BTU firmware is also there.

This collection also includes the carrier-branded firmwares.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
A few weeks ago I met a girl that i like alot, we've spent alot of time together and it has occurred to me that we are very compatible. It seems that she feels the same way. I've been waiting quite a long time for "the right one", and i think i've found her. I'm the type of guy that's not into casual dating, I hold out for that perfect someone. i have high expectations of a life partner.

So for now, a ROM/kernel are on the back burner but not cancelled, I'm still working on them but the progress is slower. For a few months at least, I want to maximize my time with her to see if it works out long term. She understands and respects that I have my niche set of hobbies/interests. Some of which are shared between us. Since I'm very introspective, I also like to have "me" time alone to do my own thing.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
The ROM work is coming along pretty well, I'm about half done with parsing through the CSCs I've collected.

My gaming laptop has returned from the factory for repairs. But now I'm in the process of installing 64GB RAM, a new CPU, an upgraded video card, and new SSDs. I expect that to take about 3-4 weeks, because I have to to run stability tests on everything. It's pretty much unusable until that's done...which means no ROM work.