yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
All PC upgrades are complete and tested, so I'm about to get back to work on a ROM. I don't know how long it will be, but soon I'll be soliciting for testers. A new forum thread will be started for this ROM.

I'd also like to mention a cool app I recently found. It's called EFIDroid. it lets you multiboot more than one ROM on your phone. it's no longer being updated but still works. currently i'm dualbooting stock Marshmallow and Resurrection Remix Nougat. i dont think it will work with all newer ROMs that are Oreo+, but you can try anyway.

just be careful when using this app, because it replaces your boot.img with a custom bootloader.

Some downsides:

1. Must not use any version of TWRP newer than 3.0.2-0

2. not advised to use it if you dont have easy access to a PC and Odin, because if you dont have a boot.img/recovery.img to flash, you may find yourself softbricked

3. Some ROMs wont boot without the "SELinux permissive" setting enabled

i've currently got Magisk and modules working on both the stock and secondary RR ROMs. if you want Magisk modules to work, you must use the "loop all" option when creating the ROM in EFIDroid.

Do not flash Magisk zip in recovery either, it may overwrite EFIDroid bootloader. it is advised to extract your ROM's boot.img and use Magisk Manager to patch that file, then flash the img from TWRP. then just install Magisk Manager and you're set. it may ask for additional setup, let it do it and reboot. dont let the Manager update Magisk either, always use the boot.img patching method.

if you're feeling frisky then you can get it from:

https://xdaforums.com/showpost.php?p=71609627&postcount=83

there are several APKs out there, but this is the right one for SnapDragon Note 4.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
Does anyone know if the 5ghz band in hotspot is working in this rom?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: I haven't tested, but I think it should work. I can't think of any reason why it wouldn't. However, I don't see an option for 5ghz hotspot in the tethering options.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
Thanks Anon, could it be due to the region of the stock firmware you are using as to why it doesn't show the 5gz option in advanced settings? other stock firmwares do show this.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: I honestly don't know if the UK BTU firmware is supposed to show the 5ghz hotspot. Maybe there's some hidden way to enable it that I'm not aware of. It does also seem to be missing the option to enable Volte, but I think that's carrier dependent.

I personally use WiFi Tether Router to toggle hotspot on/off.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: I just tried turning on the 5hz hotspot in my Resurrection Remix Nougat ROM....it just says "error" and won't turn on. Works in 2.4ghz mode though. Maybe the N910F's hardware doesn't support 5ghz hotspot. I have been able to connect to 5ghz wifi networks, but not create a tethering hotspot.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
thanks for checking Anon, the hardware does support it. I do know that some UK firmwares have the 5ghz hotspot disabled.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
[MENTION=7441667]AnonVendetta[/MENTION] this rom is fantastic, smoothest one I have used so far.

Regarding the 5ghz hotspot feature, do you think it's disabled in the rom firmware? and if so, do you think it's possible to enable it?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: It may be possible, but I don't know how. I think the only solution is to use a different F Marshmallow firmware.

One thing you can try though:

Decompile framework-res.apk with APKTool. Open /res/values/bools.xml. there are lines in there that refer to 5ghz WiFi. Change those values to true, if they aren't already (just use common sense, true could also mean disable, depending on what the line says). Recompile and re-sign the APK. Push the apk to /system/framework/. In TWRP, chmod the permissions of this file to 0644 or 644. Reboot.

If you can't boot, then you probably need to disable Android's signature verification security measures. The simplest way to do this is to use Smali Patcher.

Google for APKTool M, if you want to try this. In the app's options, disable aapt2 and signature verification scheme v2. I recommend creating 2 modded APKS, one with original signature/manifest enabled, and the other without. Try booting with both of these APK's, before disabling signature verification.

While I'm preparing a new ROM, I will consider using a firmware that has it enabled by default. No promises though. I'm curious to know why you think there are any advantages with 5ghz over 2.5ghz. In my experience there is no significant improvement, and it can sometimes be worse. Also, you need to be aware that the device you're tethering to must be 5ghz capable. It must have a WLAN module that can connect to 5ghz WiFi. Creating a 5ghz hotspot is useless otherwise. My laptop is dual band, but many of my older devices aren't. They can't "see" 5ghz networks at all.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
Thanks for the responses. The reason I'm looking to use it is that where I live, I'm surrounded by overcrowded 2.4ghz channels, I have seen about 6 or more routers per channel. On 5ghz, it's barely used which is why I'm looking to use it. I used to have 5ghz hotspot on my Samsung S5. All my devices can connect to 5ghz channels so that's not a problem. When you say it can sometimes be worse, is it not as stable using it as 2.4ghz?

Regarding the instructions above, I don't feel confident at attempting that, I really only understand the basics and would be concerned about breaking something.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: I just edited those values...my phone boots, but no 5ghz hotspot. It was something I had noticed before but never tested.

With all the signal overcrowding you're talking about, that's a valid reason to want to use 5ghz.

In my experience 5ghz is less stable, but faster than 2.5ghz. I think the signal range is dramatically shorter too.

I never tether at home anymore, because T-Mobile is strict. Once you exceed the allowed limits, tethering basically stops working. And if you do manage to bypass it and tether anyway, they start sending threatening notices that you will be charged extra on top of your bill if you continue. Several yrs ago I was able to tether with impunity, sometimes using over 500gb per month. Without throttling, limits, or an increased bill. But that was before they cracked down.

My honest suggestion is to get a good, wired home Internet connection. Then set up a router and connect to its' Wi-Fi. Reserve tethering for when you're out of the house. That's how I do it now.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
[MENTION=7441667]AnonVendetta[/MENTION] thank you for checking. I'm actually from the UK on the (three plan) and have unlimited data, I have been using it this way for the last 8 years or so and have had no capping issues.

I'm really looking forward to the next ROM and hope 5ghz hotspot is included, I have subscribed to the thread because I think your work is the best so far for any ROM. I always think a stock debloated and stripped ROM is always the best option.

Many thanks for your work.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: With most carriers, unlimited data is almost never truly unlimited. And it doesn't mean "unlimited tethering" either.

Most carriers will throttle you after hitting a certain GB limit, after that you're slowed down. So they can technically sell you "unlimited" data. They also have the legal right to deprioritize you if you start hogging bandwidth. Also, when they say unlimited data, it means on the device itself. Once you start tethering to other devices, it doesn't count as unlimited anymore. They don't want people using their data plans in place of a real home Internet plan, I can understand where they're coming from. Back then, I had very little disposable income and was too cheap to pay a mobile and home Internet bill.

I suggest that you read your terms of service agreement in full, including the fine print, you'll see that I'm right.

As far as the new ROM, I'm not 100% sure it will happen. Implementing multi-CSC support is proving to be a real PITA. If that doesn't come together then it will be cancelled. My plan is for it to be be more of a true custom modded ROM, rather than just debloated stock like this one.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
[MENTION=7441667]AnonVendetta[/MENTION] I understand, and my plan has a throttle after 1TB data transfer (on the device or tethering) within a month. I don't use anywhere near that much so it works out for me.

Well, I hope it does come together for you and I appreciate you sharing when you have with us.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: Try flashing your carrier specific firmware from:

https://androidfilehost.com/?w=files&flid=316956

Let me know if it has 5ghz hotspot.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
[MENTION=7441667]AnonVendetta[/MENTION] I did try the HG3 firmware for my carrier that you shared https://androidfilehost.com/?fid=8889791610682936358 and also the EE version but neither shows the 5ghz
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: The link I posted has all of the N910F Marshmallow firmwares from SamMobile. They are completely original and unmodified. It might be worth testing all of the ones that have UK/Ireland in the name.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
[MENTION=7441667]AnonVendetta[/MENTION] I'll do that next weekend when I have time and report back
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
[MENTION=7441667]AnonVendetta[/MENTION] in the notification panel, shouldn't there be an icon for the flashlight? I can't remember now if the original stock firmware shows this.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
[MENTION=1919236]majestics[/MENTION]: The stock firmware does have some default icons in the area you're referring to, but the flashlight isn't one of them.

2 options:

Create a widget, there is a flashlight widget built into the firmware.

Or:

The others.xml I'm attaching. Copy it to /system/csc/, overwrite the original file. Change permissions of this file in TWRP (tap on it), then chmod to 0644 or 644. You will need to factory reset or clean flash, rebooting won't make the flashlight appear. Uninstall Magisk, format data/cache in TWRP, but not system, then reinstall Magisk, boot ROM.

Edit: extract the file from the zip first. I uploaded the file in its' original xml format, it was viewable but not downloadable.
[Galaxy Note 4 Android Development (Snapdragon)] Reinhard79111:
Hi AntonVendetta: Does your ROM still contain "Adapt Sound", i.e. the function to adapt loudspeaker output to your personal hearing?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@Reinhard79111: Yes, Adapt Sound is still in the ROM, in both the debloated and not debloated versions. I barely knew it was there, since I never use it and wasnt aware of its' purpose. It is located at /system/priv-app/Hearingdro_L.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
OK, so the ROM building is coming along at a steady pace. But I'm still not entirely sure all the blocks will fall into place how I hope they will. If I run into a major road block in the building process that I cant solve, it will probably be cancelled. The multi-CSC support is proving to be a major pain...complex stuff. But for now everyone should just assume that it's coming.

I've already came up with names for the ROM and kernel. VendettaROM and VendettaKernel, respectively. Not necessarily because I want to name it after myself, but for other reasons. Separate threads will be created for each, but I'm intending for them to be used together. The plan is to deliver the ROM and kernel as one unit.

Someone had previously used the name "Vendetta ROM" for another device, but it's old and seems to be cancelled. And that developer has been inactive for a very long time. I didnt get the name from them anyway, I dont think I will need to ask for permission to use it unless XDA staff intervenes.

In the coming days I hope to preemptively release the 1st kernel build (without the ROM). It will be compiled from the latest N910F stock Samsung Marshmallow source code.

It will have the following features:

1. Root restriction removed

2. Extended battery patch (for people like me who have bigger batteries)

3. SELinux permissive (not sure yet, I may leave it set to enforcing as the default)

4. Init.d script execution support on boot (optional, will release a separate version that doesnt have this)

Basically, it will be a close-to-stock kernel, at first. Once those things are integrated and it's stable, I'll slowly add more features. I'm still quite new to kernel building, so expect the first builds to not be entirely stable. If stability is more important to you than anything else, then use the pure stock kernel. However, I will need testers, people who are willing to take risks and accept that crashes will happen. And of course I'll be along for the ride with everyone who does test.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
This is great news @AnonVendetta looking forward to testing it!
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@majestics: The kernel building isn't going as planned, I hit some major snags yesterday. I got the kernel to build from stock Samsung source code. I flashed it from TWRP and the ROM booted. But then I noticed that Wi-Fi and mobile data were completely broken. Android crashes less than a min after booting, and it just keeps repeating until I restored the stock kernel. Not sure where to start figuring out what went wrong, but an experienced kernel developer has offered to help me (the guy who released FlashPoint kernel for the Note 4).
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
@AnonVendetta I tried a few roms but none of them show 5ghz. I guess I'll just have to leave that.

One thing I did want to ask is, I can't bring up the service mode with *#*#4636#*#* was this removed? I want to check the settings here as I have an issue where If I receive a call, it doesn't go back to 4g when finished, it stays on H+
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@majestics: I could flash all 68 of the DRI2 firmwares, but that would probably kill the phone's NAND/flash writes. And take a lot of time.

No, I didn't remove anything related to the service menu. Even the debloat scripts I posted won't touch that. Probably Samsung disabled the particular code you're trying to use, because it doesn't work for me either.

Here is a link to a list of dialer codes for the N910F (most probably work, but I won't test all of them...no telling what they might do):

N910F Dialer Codes
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
so does this have latest security patches?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@speedspeed1: No, and I can't add them. Only Samsung can do that. It's been quite awhile since they last released an update for our model. It's safe to say that the F model (and all other N4 variants) are officially discontinued where support is concerned.
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
in that case could you explain what does this have added over original firmware?

thank you
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@speedspeed1: Did you read the 1st post of this thread? Anything I did add should be mentioned there, and most of it is optional. But honestly, I didn't really add much of anything, mostly just deodexed and debloating.
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
ok i found out its also debloated

but after installing and running the script its still about 9gb

i tried lineage and thats only 4gb

is it not possible get this stock firmware this size?

thank you
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@speedspeed1: You're definitely mistaken about the 9gb. The system partition on our phone is only around 3.5gb, which includes both free and used space. If you flashed my N910F Deodex Set Metadata zip, then there should be no more than around 2GB in use. And the debloat script would reduce that by a lot. Can you post a screenshot?

As far as getting the stock ROM to LOS's size, that would be extremely difficult to do. I would have to cut out quite a bit, including some stuff that provides critical functionality. So no, probably not going to happen.
[Galaxy Note 4 Android Development (Snapdragon)] gwm121:
First.. thankyou to dec a you who are making roms, appreciated.

Note4 is the best fone I ever had, syylus, infra red, big bright message alert led,

as some apps began not to work on the old operating system and the later operating systems became so different from old ones I began flashing roms.

Not one worked completely and properly.

Id so love a rom that either put back the original samsung one less bloat, or a pie o p q rom which worked properly, thats everyting, camera, bluetooth, wifi possibly even volp

Ive ended up buying a chinese note 8 £120, it works faultlessly, no stylus, alert led tiny.

Ill continue to pop in here as id love my note4 to work properly as well. Again huge thanks to rom developer.

... Is there a completely working version of this rom with a previous kernal?... Why replace the kernal? ... im newbie at rom stuff so how kernal works out of my league.
[Galaxy Note 4 Android Development (Snapdragon)] prkfsz:
I have to confirm that after install the system says some 9gb is occupied. I don't really have all that much stuff on the phone, couple of pictures and videos and not sure what 'others' from the picture is) , but already whole 10gig is occupied (see pictures). I too was surprised to see that, but i don't really care since i don't need that much space for that i am using the phone for.

Want to thank you again, @AnonVendetta, for this awesome piece of ROM, haven't had any issues whatsoever so far. The only thing that bugs me is that Signal app just chews ridiculous amounts of battery due to the lack of Play Services (or Store or whatever), but i chose not to have that on the phone so it's not the ROMs fault.

Thank you! (y)(y)(y)
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
I agree, @AnonVendetta has tweaked the best stock rom I have used. Nice, clean, slim and everything works. great work!
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@gwm121: Why replace the kernel?...because I can. And because it will give me experience as a kernel dev when I move on to other devices. I've just ordered a Galaxy S7+ 500GB WiFi tablet on Amazon. I've already checked, the bootloader is unlockable and it can be rooted. I bought it mainly for Android gaming, will still keep the Note 4 until it stops working.

@prkfsz: As I said, the info you're getting is misleading. I never trust what it says in Settings > Storage. The system partition is no bigger than 3.6GB at the most. I suggest to all that you use an app like DiskInfo if you want accurate space estimates. The free version should work fine.

If you want to flash Google apps, feel free to install an OpenGApps zip. But don't use anything higher than the Nano zip if you want to keep things slim. If you flash the Stock or higher zips, important system apps may be removed.

Or you can just use the MicroG installer I've provided.

Another option is to not use OpenGApps or MicroG. Which is pretty much what the revised ROM zip already is, it contains neither. This gives you a truly GApps-free system with nearly no Google components (except Google's WebView/package installer, which are critical). But if you choose this route, many apps that depend on Google stuff may not work.

With the way I've set it up, all 3 options will work. I've left the choice up to the user to decide which one they want.

Another thing I'd like to note is that this ROM will no longer pass SafetyNet. It seems Google has changed up the game. I can assure everyone here, it's nothing I've done. It used to pass, but not now. It doesn't pass even if I use the very first, original deodex zip with nothing changed/removed. Any requests asking me to fix this will be ignored, because I can't. I refuse to fight an ongoing battle with Google which is ultimately a losing game.
[Galaxy Note 4 Android Development (Snapdragon)] majestics:
@AnonVendetta that wasn't me who asked about the Kernel
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@majestics: I quoted the wrong user. Editing the post now.
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
i have a problem with my banking app

normally on other images i use magisk and hide an it works

but on this image its not working?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@speedspeed1: It has everything to do with SafetyNet, it's probably failing. I can't fix this. Read my last long post on this page.

You can install a SafetyNet verifier app from Play Store to see if this is the case.

Although, I do use 2 banking apps (one for checking and another for my credit card) on my modded ROM, they work fine.

You may want to try asking for help in the Magisk XDA subforum. If it's the app of a big bank like Wells Fargo or Bank of America, you might be screwed. Their apps don't work for me either. I'm a member at a small local credit union, their app has always worked for me. Even with root, Xposed, unlocked bootloader, TWRP, custom kernel, lots of mods.
[Galaxy Note 4 Android Development (Snapdragon)] prkfsz:
@AnonVendetta

Regarding free space, it's not really so important to me if the system is 4 or 9gigs. I don't need that much space. I just confirmed the other guy's observation. But i am thinking for those who perhaps need that space - if the system itself sees 9gigs taken and not 4, then it doesn't help if you can check the free space with some other apps, you still can't use that 5gigs even if it technically is free space?

As for google stuff - i chose not to install GApps and don't really miss it. I installed the microG that you provided. But it does not contain Play Store (Phonesky) and i chosed not to install google's own. i guess this is what makes problems for Signal and some other apps. Things do work but the battery drainage is unbelievable and i think i will have to install it anyway.

You mentioned a while ago that you ditched microG yourself. May i ask how so and what you use now?