yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@prkfsz: if he saw 9GB, it's probably because the system apps also use space in the data partition (data is usually the biggest partition on any Android device). So when it shows him 9GB, it is calculating the space used in both system and data. If you want that space back, then you have to delete whatever is hogging it. But that comes with its' own potential issues.

I will once again say that an app like DiskInfo will give a much more accurate estimate. And AGAIN, the system partition is only 3.5GB at most (it is exactly 3,774,873,600 bytes, which converts to 3.5GB).

If you don't want to use official Play Store, then install MicroG's FakeStore instead. It is an empty package that pretends to be PS, and it uses the same package name as PS (com.android.vending). It basically does nothing except say "hey, yeah, I'm PS" when apps look for it. It may be useful in cases where you dont want PS, but some apps will look for it. This may help mitigate your Signal battery drain. You can get it from MicroG's official download page.

Yeah, I ditched MicroG months ago. It would just glitch out and reset its' settings. Or crash every now and again. Location provider functionality was iffy. And it seems that some of my apps didn't play nice with it. I used MicroG as my go to for several years, then these issues started happening. I really didn't want to let it go, and spent over 6 months scratching my head and searching for solutions. It eventually got to the point where I had spent more time troubleshooting it than it was worth. So I went back to GApps, which is more bloated but also more reliable.
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
i can confirm even when showing 9bg when making a backup with twrp its under 3gb

strange thing new install on 1 phone 2.4gb and other phone 2.7gb

anyway its small

why i like it small not because of space but because of time when backup and restore

now only if i could sort my banking app its called bankia btw

thank you
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
please help on one phone 6.0.1 works fine

on my other phone if i flash this firmware or even my 6.0.1 backup it dont boot and it keeps rebooting but if i flash android 10 phone boots fine

how i can fix this?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@speedspeed1: TWRP compresses the backups with tar compression, that's why they are smaller.

Your banking app not working is probably because SafetyNet is failing. I mentioned that on this page. Nothing I can do to fix SN issues, they're not my fault. I only know that this ROM *WAS* passing SN when I released it months ago, but not as of recently. I think you'll probably get more help with this in Magisk XDA subforum.

NEVER restore a backup from another phone onto a different phone, even if they have the same model/firrmware/ROM versions. If your other device is a Note 4 N910F, try clean flashing this ROM from TWRP. Make sure to wipe data/cache for a clean start. If it still doesn't boot, then you may need to flash the UK BTU firmware with Odin on a PC, then flash this ROM afterwards. You're fine to make a backup on that phone and restore it, but don't try to use it on other Note 4s.
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
ok flashed with odin after flashed this and working again

what you mean i cannot use backup from other n910f on other n910f phone?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@speedspeed1: I mean exactly what I said. If you make a backup on an N910F, don't try to use it on another N910F. Or any other Note 4 variant/other phone. You must make the backup/restore *ONLY* on the *SAME* phone that you intend to use it on.
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
could you explain me why? interested to know
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@speedspeed1: Because it usually won't work, for one reason, as you've already found out. And there is likely to be a discrepancy with incompatible data, or incompatible firmware. Different phones also have different serial #s, IMEIs, etc. I've tried doing this several times before on a handful of Android devices, it rarely worked.
[Galaxy Note 4 Android Development (Snapdragon)] gwm121:
Is there a link now to a completely working rom for note 4 snapdragon with g apps, please can someone point me to this thx. Is this a debloated marsmallow rom, or more recent one. Is a "stock rom" marshmallow but debloated.

Ive learnt to instal twrp, flash a rom, when you talk about kernals ets soz thats above my knowledge.

Prefer the note 4 to any other fone, miss the huge bright alert led on my new redmi note8 (£120) but the note 4 is unusable with freezes and camera shutdowns with all the pie roms i loaded, .. Id go back to marshmallow samsung if an easy reflash through twrp
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
dont think so but just flash rom and flash gapps and thats you sorted
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I never noticed any ROMs that were based on the latest DRI2 firmware. What I've released is the only one. This is more of a debloated stock ROM than a true custom ROM with custom features.

If you want any of the 68 pure original DRI2 firmwares, you can find them on my AndroidFileHost profile. They're Odin flashable only, you can't flash them from TWRP. You could also try using FlashFire, but that doesn't work with latest Magisk, and you also need a permissive kernel. If you want to go that route then I suggest temporarily using SuperSU and Ram Kernel/FlashPoint kernel. They were all collected from SamMobile. I also created a short topic about it on XDA.

As for why I removed GApps:

1. The GApps included by Samsung are way out of date

2. People that want GApps can flash the latest OpenGApps nano zip, which gives them a ROM that has the Google components fully updated. People that want MicroG can use my MicroG installer, or install it manually. People that don't want GApps or MicroG don't have to do anything, I've already removed nearly all GApps components except the critical stuff. By doing it this way, I've set up a baseline ROM that is a good starting point for all 3 groups.
[Galaxy Note 4 Android Development (Snapdragon)] gwm121:
thankyou for maing note 4 still usable,

please could you repost the link to the fully working stock debloated marshmallow and confirm flash g apps nano version marshmallow ? at same time without a clean or switch off between the 2 flashes thankyou

a big problem now with note 4 is quite a few apps say unable to run on this old android version, example the sonos app, would these run on this?

The other problem is the stupid changes to menus like the double down from top swype to get settings, the swype up to swich on instead of marshmallow swype right..or is it the other way round.. i can never remember when using both fones....
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@gwm121: Read the first post of this thread, all the ROM info is there. And complete instructions. I don't support dirty flashes, clean flashes only. If you dirty flash my ROM, don't report issues.

And the answer to your second question: Any app that is incompatible with Marshmallow won't run on this ROM. It's beyond my control. Apps are usually compiled with a maximum SDK level, anything above that generally won't run. Marshmallow 6.0.1's SDK level is 23.

You can try using the Xposed modules InstallerOpt or XInstaller to force the installation of apps that are incompatible. But they usually still won't work.

Another suggestion is to try using an older version of the app.
[Galaxy Note 4 Android Development (Snapdragon)] gwm121:
HI and again big thanku for making this rom....

I understand now.. the first post of thead is not top post here u have to arrow back .. done

So ive got the link and instruction. Thanks

1. after this link posted u talked about problems with kernals etc.. is this link a fully fully working marshmallow please ie the alterations with kernals not a problem

3 In your opinion is a note 4 better off running this debloated stock marshmallow or aicp pie.... the aicp has the same controls and gestures as a modern fone and runs recent apps, but takes ahes to load and camera freezes it intermittently ???????

... One someone like me has learnt to root, load twrp flash rom, its real hard to get back the original (copy taken didnt work) !

Seems a wonderful idea to have a twrp version of stock marshmallow, especially debloated. Strange that samsung wont give a rom link to a customer who legitamately bought the fone.. As you know the latest fone ive got isnt sammy its redmi.

.. Dirty flash... IYou are very concerned about this, from what ive read a clean flash is taking the eraze options offered by twrp as default, and flashing gapps immediately without coming out or switching off fone Right?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@gwm121: I'm only working on a custom kernel, it's not public yet, and may never happen. Very arduous work, you have to be really patient. And you will run into problems along the way.

The kernel included with this ROM is pure stock. I have also separarely released a modded version of FlashPoint kernel. I would say that either is stable.

For the Note 4, I prefer stock ROM over custom like AICP. Stock has always been more stable for me. However, on most other devices I prefer ROMs that are based on AOSP/LineageOS. My main reason is that I don't like all the bloat that comes with stock. And custom has more customizability.

A clean flash is:

1. Wiping data/system/cache in TWRP

2. Flash ROM zip

3. Flash GApps, custom kernel, extras, etc (optional)

4. Reboot into ROM

A dirty flash is:

Flashing ROM zip without wiping data/cache. This is known to potentially cause numerous bugs due to conflicting data. So to avoid opening this can of worms, I only want reports from users that clean flash.

Feel free to dirty flash, but if you run into issues then you should boot into TWRP, wipe data/cache but not system, then reboot into ROM. By doing it this way, you can avoid clean flashing while still getting pretty much what amounts to the same thing. Oftentimes this will resolve any issues you're having. But if they're still occurring after this, then it's probably a ROM issue.

An exception to the above is if you have deleted/modified anything in the system partition. Then a full clean flash is advised when diagnosing issues.
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
@AnonVendetta since my banking app refused to work i taken stock image run the debloatscript andremoved some apps anything else i can easy remove to reduce size more?
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
@speedspeed1: Not really, no. My debloat script reduces it down to about as small as it can get without sacrificing critical functionality. I could probably trim it even further, but it would require lots of testing.

If you really want your banking app to work, then I suggest running the pure stock ROM without any modifications.

Just flash one of these with Odin and leave it alone (don't install TWRP or root):

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

You can use ADB to debloat the ROM without root or TWRP (PC required):

https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/amp/

This won't really remove system files like Titanium would, it just disables them so they don't use battery/resources or space in the data partition.

If you prefer to use the ROM I've provided, then I suggest that you ditch the banking app and access your account in a Web browser instead. Doing it this way won't run into SafetyNet issues. I access my other Wells Fargo account this way, no issues.
[Galaxy Note 4 Android Development (Snapdragon)] gwm121:
Hi I searched the thread but couldnt find the latest debloated stock android discussed here is anybody able to point me to a link please.. samsung 910f uk vesrion from samsung

Anyone know of a later rom on which EVERYTHING works? link?

I guess its time to junk the note 4 and move on to the £150 chinese 6.8 inch fones... without infra red, removable battery..sytus... its getting to be a pain when buy new kit manufacurer needs app to set it up, and old android wont run it.

ACIP rom is the nearrest ive found to someting which works, however every so often the camera freezes the fone, and its very very slow loading, my searches cant find any updated acip with these problems resolved, anyone else???
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
Seriously?! You clearly didn't search very hard. Try reading the 1st post of this thread.

Damn, I can't stand lazy/ignorant people sometimes. I've had thoughts of cancelling the ROM/kernel work, simply because a clueless user will always come along asking asinine questions. And it is clear that they are too lazy to read.
[Galaxy Note 4 Android Development (Snapdragon)] speedspeed1:
AnonVendetta could you upload this version but normal? so not deodexed?​

i flashd other file to phone and wifi not autoconnect anymore

only this deodexed works but my bank app not working

so if you could upload the original file would be very apreciated

thank you
[Galaxy Note 4 Android Development (Snapdragon)] Unidave199:
@AnonVendetta Thanks for all your hard work! I have been curious how I can work more with ROM development and reading all your posts helps give a clue on how the process works. I am using a rooted SM - N910P (Sprint) but curious if one can run a ROM built for N910F if I keep my current baseband or will a 910F Baseband/Bootloader work even in the US? If there is aything I can do to help you test I would be happy to help if I can.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I'm not THAT experienced with development myself, but I can give you some pointers via PM if you want to contact me that way.

You can probably use an F ROM on your P model, but you will still need to use a P kernel or you probably won't be able to boot. My personal suggestion is to grab the latest P firmware from SamMobile, then customize that instead. I can help, but you'll be doing most of the work and testing, I don't own a P.

Another ROM is under way for the N910F, but I can't say when it will be ready, or if ever. It boots but there are serious issues. I'm pretty sure I can make it happen. A custom kernel on the other hand might be out completely, I've run into tons of issues trying to build a kernel. It's a lot of headache and troubleshooting.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
You can find unmodified Odin flash able copies of all the N910F Marshmallow stock ROMs. Just check my AndroidFileHost developer profile. There are 68 zips in total, and I have not modified them AT ALL. Pure zips from Samsung, all in their odexed/not deodexed original form.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
Just wanted to give a bit of an update:

The custom ROM is still in progress, but work is slow. I work on it whenever I have enough time.

As for a custom kernel of my own, it may not happen. Compiling kernels from source code is proving to be very difficult and time consuming.

However, I have decided that I like Emotion kernel more than any other other kernel for our N910F. It's more stable than anything else i've found. And it very, very rarely crashes. It also doesnt have mobile data cutout issues, unlike Ram/FlashPoint kernels. My only gripe with it is the root restriction. I know how to remove/disable this, but getting the kernel to compile hasn't worked out yet. Also, Magisk doesnt work with this kernel, but I think I've figured out how to get around this. For root, you will need to use SuperSU/Phh Superuser. If you're looking for an excellent F kernel for the stock ROMs, this is the best there is.

Bad news: 2 days ago my dog knocked my phone into the toilet. I got it out, dryed it thoroughly. It's now sitting in a bag of rice, to soak up any moisture there might be. At first it wouldn't turn on, but I tried again today, it does charge and turn on now. But because I suspect it is probably water damaged. I will use it as a test phone only.

Good news: I found a new N910F for sale on eBay for $140! As well as a new TQTHL 11800mah battery! This is the same setup I had before. It will take a few weeks to arrive. As soon as I get it, I want to test to be sure it is actually new and working correctly. Then it will become my primary Note 4.
[Galaxy Note 4 Android Development (Snapdragon)] suse_:
AnonVendetta , thanks a lot for your valuable work!​
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
Bad news: the old Note 4 that fell into the toilet is messing up pretty bad. It seemed fine for a few days, but now it's random rebooting like crazy. I should be able to salvage its' big TQTHL battery and the pen, they seem fine. The replacement I bought is OK too. I'll probably go on eBay and buy yet another new N910F to supplement the one I just bought. I really need a reliable phone that I can use for testing only, while using the other as the main phone.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I'm wondering if anyone here is getting a random smart card manager crash while running this ROM? If so, was it before or after debloating? I've been getting this for awhile now. It's not serious, but I had to ask.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I just bought a Galaxy Tab S7+ 512GB wifi tablet! I've been wanting this for months. Expensive, but i think it will be worth the wait. I'm going to use it for a few months without bootloader unlocking/rooting/etc. If i like it enough to keep it, then i will root it, and most of my development efforts will shift to that device.

However, the Note 4 is still my all-time favorite Android phone, i'll still continue to work on it.

In the short term, i want to release a new debloat script for this ROM. I think i did a bit too much debloating, which caused things like random Smart Card Manager crashes. Unlocking with a pin code is also not working. I'm pretty sure these are related to Knox being removed, a custom kernel, or both. I'm going to try spending quite a while hunting down which system apps need to be left alone, for these to continue working.

In the longer term, a new ROM is in the works, it just needs alot of testing.

I'm still trying to get a successful build/compile of Emotion Kernel without the root restriction. I'm sure it's just a matter of time before i figure it out. Once that's done, i'll happily sponsor EK as being the recommended kernel for this ROM.
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
I am busily preparing a new ROM update, I hope to have it ready and posted within a few weeks.

This time the emphasis won't be on debloating, it will actually be a bit bigger than what I've released up until now. I'm focusing more on fixing issues that I've discovered, and integrating more features. This will make it more of a custom ROM than a stock debloated ROM.

I'll probably also be including a slightly modified version of Emotion kernel, one that allows Magisk to install. The original Emotion kernel releases use SuperSU as the default root, Magisk can't install on top of it. I haven't been able to secure permission to use it, but if the Emotion kernel maintainers complain then I'll remove it.
[Galaxy Note 4 Android Development (Snapdragon)] wiki1919:
Big thanks to vendetta for putting effort on model . Hats off to you sir.
[Galaxy Note 4 Android Development (Snapdragon)] prkfsz:
@AnonVendetta

Saw this first now..

I have been using your debloated rom as a daily driver on one of the phones for almost a year. During all that time the rom has been rock-solid and I have not been experiencing any crashes or reoccuring error messages.

I use a totally debloated rom and only a handfull of original apps:

Gallery, S Note, Calculator, CLock, Contacts, S Planner, Video, Voice recorder.

Then couple of widgets: Weather, clock and date.

I use MicroG on top of that.

Some other user apps, like Signal, email apps and some others.

It's been a long time since but I think i remember installing also some of those that were more or less necessary like webview, and others that perhaps don't really show in the app list (could it have been widevine and some others?)

Can't find smart card manager on apps list either, excuse me if this sounds ignorant..

The only serious down side to this setup is the grotesque battery drain that i don't believe could be attributed to any of the (handfull of) other apps i am. Tried the phone with Signals internet access choked for a while and there was no difference. The battery was rather new and already from the beginning it got down to 0 in the evening with only minor usage. But, being only a light user, i can live with this. I carry extra batteries and charger with me in case.

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

Truth to be said, very reluctantly i am considering moving to another, newer mobile phone. I do love my goldie because this piece of technology for me ticks ALL the right boxes, including aesthetics. But with security in mind, I don't really feel confortable running roms based on Marshmallow anymore, despite it being really stable. And the present development for the N4 is rather shaky (all honor to the developers that still struggle, tho). There are SIM issues and battery issues, which is for me not acceptable on a daily driver. Selinux is permissive and so on.

All honor to you too for still struggling with this! (y)(y)(y)
[Galaxy Note 4 Android Development (Snapdragon)] AnonVendetta:
What I'm uploading is a slightly modified Emotion kernel.

Changes:

1. SuperSU removed from boot.img, either Magisk or SuperSU will work. I recommend Magisk 21.4, higher versions don't work

2. Init.d script execution support removed (flash @osm0sis's init.d support injector zip if you need it, this must be done after the kernel but before root)

3. Busybox removed (flash your own Busybox zip if you need it)

Besides those changes, it's pretty much the same as the original Emotion kernel zip that I based it on.

The kernel is unrooted by default, you will need to flash root on your own if needed. I don't believe it will pass SafetyNet.

It should also work with both extended and stock batteries, despite the name.

All of the original Emotion kernel zips don't work with Magisk, because the Magisk installer detects SuperSU and refuses to install. I've fixed this.

If Magisk offers an update either for itself or for the manager app, don't allow it. You will lose root access if you do, and will need to uninstall/reinstall Magisk from TWRP. Also disable "check for updates" in Magisk options. All other functionality like Magisk Hide, systemless hosts, and modules should work fine.

Only use this with stock N910F Marshmallow firmwares! Do NOT flash on top of other Android versions, custom ROMs like RR, or other Note 4 non-F variants.