yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Welcome to the Stock De-bloating Project!

The mission of this project is to provide a ROM without extensive modifications, it provides a clean ROM for you to choose what you install on it.

It's simply De-Odexed, De-Bloated and rooted.

You are responsible for what you do to your device so please don't complain if something breaks or goes wrong. I'm here to help though :highfive:

Version 5.7 [UNTESTED]

This version is untested, meaning it might not even flash or boot.

Version 5.7 Changelog:

Based on N910FXXU1DRF1

Odexed

Integrated updated Google Play-store v(11.6.18)

Firmware Information:

(PDA: N910FXXU1DRF1 CSC: N910FOXA1DRF1 CHANGELIST: 10100220 BUILD DATE: 08.06.2018)

(Android security patch level: 01.08.2017)

Download v5.7 ROM

[URL="https://www.androidfilehost.com/?fid=1322778262904010061"]V5.7b OTA [ Flash this after flashing the ROM ]

[/URL]

N910F Bootloader:

https://www.androidfilehost.com/?fid=1322778262903992555

N910F Modem:

https://www.androidfilehost.com/?fid=1322778262903992553

Magisk v17.1 [ ROOT ]

Bloatware

Installation Instructions:

N910F users update modem and bootloader from the links above

Make sure to have the latest version of TWRP installed

Download the ROM.zip and any bloatware that you want.

Move the files to the device and reboot into recovery mode

Flash the ROM.zip followed by any bloatware packages you downloaded.

Reboot into the system and go through the setup.

Reboot into recovery

Then flash the Magisk zip linked above for systemless root.

Reboot and enjoy :)

Don't report bugs until you have done a factory reset

>>>>>Viper4Android<<<<<​

N910F:

Bootloader

Modem

Download v5 ROM

Download Fix (Flash this on top v5)

Full Un-Debloated Stock N910FXXU1DPE1 ROM (DeKNOXed, DeOdexed, Rooted)

I will not be providing any additional mods (Themes, etc.) ​

​

Installation instructions:

Please make sure you have updated your bootloader and modem to match the ROM's base.

Install the latest recovery (TWRP recommended)

Download the ROM.zip and any bloat-ware you choose and copy it your internal or external storage of the device

Wipe /System /Data /Cache /DalvikCache /AndroidSecure

Flash the ROM.zip and the bloat-ware

Reboot and wait for the ROM to boot, it may take a while after a clean install.
​

ROM information:

DeOdexed

Based on N910FOXA1DPE1 firmware

Systemless Root - SuperSU Beta 2.72

BusyBox 1.24.2

Integrated updated Google Play-store v(6.7.07.E)

Integrated updated Google Web-view v(49.0.2623.105)

Integrated updated Google Play Services v(9.0.83)

Security Patch Level: 01 May 2016

ZipAligned

CSC tweaks

Build.Prop Tweaks

De-Knoxed

Most Touchwiz Apps removed

Stock kernel

​

Xposed Framework:

Xposed Framework Download the attachment with 'ARM' and NOT 'ARM64' SDK23=Marshmallow SDK22=Lollipop and then flash the file.

Download the Xposed Installer APK from the attachment from this thread​

Credits:

Chainfire for SuperSU

Wanam and Rovo89 for Xposed Framework
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Fixes:

Some root apps don't seem to function correctly?

Install 'BusyBox On Rails' and install the latest version.

Or trying flashing SuperSU
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Extras

Extra Add Ons for V5:

All Apps Multi-Window

Extended Reboot Menu

Private Mode Fix

Once / Always Button Enabler

Download here

>>>>>Stock Build.prop<<<<<

>>>>>Viper4Android<<<<< by AndrasLOHF
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Older Versions

Download Version 1.1 (Based on Android 5.1.1 - COI3) and its bloatware:

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

Download Version 2 (Based on Android 5.1.1 - COJ3) and its bloatware:

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

Download Version 3.1 (Based on Android 5.1.1 - COK2) and its bloatware:

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

Download Version 4.1 (Based on Android 5.1.1 - COL3) and its bloatware:

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

Download Version 4.7 (Based on Android 5.1.1 - CPC1):

https://www.androidfilehost.com/?fid=24459283995295762

Full stock (Based on Android 5.1.1 - CPC1)

https://www.androidfilehost.com/?fid=24457741883932729

Download Version 4.8 (Based on Android 5.1.1 - CPC2):

https://www.androidfilehost.com/?fid=24459283995298248

Full stock (Based on Android 5.1.1 - CPC2)

https://www.androidfilehost.com/?fid=24459283995297694

Stock Debloated ROM V4.9 (Android 5.1.1 CPC5)

Full stock (Based on Android 5.1.1 - CPC5)
[Galaxy Note 4 Android Development (Snapdragon)] gugas123:
Looks good ;)

Downloading
[Galaxy Note 4 Android Development (Snapdragon)] gugas123:
Running flawlessly.

this is a REAL clean rom. Without all the junk apps from samsung. Exactly what I wanted :)))))

awesome ?
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Glad you are enjoying it. :)
[Galaxy Note 4 Android Development (Snapdragon)] gugas123:
Do you know if I can install this kernel ?

https://www.mediafire.com/folder/rvxdm018fdm1o/EMOTION_KERNELS_NOTE4#h7pcesdix528c
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
You can make a back up (nandroid) and try it.
[Galaxy Note 4 Android Development (Snapdragon)] gugas123:
I'll test it at night and leave feedback ;)
[Galaxy Note 4 Android Development (Snapdragon)] sayou94:
Thank you for the rom. TW without bad apps from samsung. Exactly what I need

Edit: is it working with my gear S or I need to flash a bloatware?

Thanks
[Galaxy Note 4 Android Development (Snapdragon)] sxg75:
Thanks for this - maybe additionally you could provide a debloat-script which may be applied upon already existing COI installs?
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
I think I may have to upload additional files, I'll have a check.

Uploaded Gear Manager in bloat-ware folder
[Galaxy Note 4 Android Development (Snapdragon)] Eventyret:
Thank you for this. Running this with the Emodroid kernel and i love it!

Exactly want i wanted thank you for this!
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
You are most welcome
[Galaxy Note 4 Android Development (Snapdragon)] zenosteam:
:good:
[Galaxy Note 4 Android Development (Snapdragon)] liogia:
hi I want ask somethink.the grids are 5×5 both ?works with coh4 bl and modem ?

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk 2
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
There have been no modifications made, and I will not be providing any either, The instructions state that you must have the same bootloader and modem as the ROM base.
[Galaxy Note 4 Android Development (Snapdragon)] SavanTorian:
THIS is from @_alexndr ROMs, right, my friend? :o
[Galaxy Note 4 Android Development (Snapdragon)] patensas:
I would say yes, just like he stated in the OP, so what`s your point or question?
[Galaxy Note 4 Android Development (Snapdragon)] Motawa88:
delete
[Galaxy Note 4 Android Development (Snapdragon)] inwithyou:
F*up your phone, like mine did
[Galaxy Note 4 Android Development (Snapdragon)] Motawa88:
how to disable heads up notifications?
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Download and install SQlite editor

Settings Storage > Settings.db > Global > Search "Head"

Change the value from 1 to 0

Then save and reboot.
[Galaxy Note 4 Android Development (Snapdragon)] Motawa88:
where is settings storage?
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
Thanks for the zip, works great!
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
When you open SQlite Editor you will have to find it from the list.
[Galaxy Note 4 Android Development (Snapdragon)] Motawa88:
There is no list. I can search my filed and when I click scan database there is nothing.
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
There is a list, when you open SQ Lite Editor click on Settings storage then settings.db then global.
[Galaxy Note 4 Android Development (Snapdragon)] Crakz:
Hey again.

I've been trying to flash stock kernel, but no success.

The kernel shown in this thread :

http://xdaforums.com/note-4/snapdragon-dev/n910f-android-stock-5-1-1-kernel-root-t3208778

I tried to flash it through latest TWRP recovery and all i get is error.

The kernel im talking about is the first one the enforced.

Is there any other stock kernel that matches ?

Or is there way to fix the issue and flash the spoken kernel ?

And i have also issue with the camera app, it wont open, just stops.. familiar issue ?

Thank you.
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
Why don't you just flash Emotion kernel? It's stable, and you don't need to mess with the settings if you don't want to. Even though it is tempting, because you can tweak the sh*t out of it. ;) The best part of it is Faux sound anyway, which is a real improvement over the Note 4's stock sound driver.
[Galaxy Note 4 Android Development (Snapdragon)] Crakz:
First time i flashed this kernel with this rom, but as i complained about the battery life

And members suggested some kind of solutions, nothing helped.

Then i flashed other kernel and still my phone suffers battery drain...

So i suppose stock kernel will fix it ?

And what do i do about the stock camera app ?

Thank you.
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
I think I've read somewhere around here that the camera app make trouble if you wipe /system when you flash this rom. No idea if that's true, I wiped everything and it still worked. But you can try to reflash a stock COJ3 rom with Odin, then flash this rom witout wipe.

The battery drain can have numerous issues. In my case, it was a faulty sd card, which in turn made the media scanner go haywire. If your phone tends get hot quickly and hardly/slowly cool down, it's most likely an sd card issue. You can disable/enable medias scanner with this little app by Dr. Ketan to see if it helps. Alternatively, you can take out your extSd and see if you're still experiencing battery drain. If your extSd is the culprit, backup your data and format your extSd. if the problem persists, you'll probably need a new sd card.

There may be other reasons, but most likely not kernel related. I at least don't have any issues. My phone's battery life is excellent, especially since I have set my screen resolution to 1080p to reduce the cpu&gpu load.
[Galaxy Note 4 Android Development (Snapdragon)] Crakz:
Thanks for reply.

My sd card isn't faulty for sure i just think i mixed too much crap with it and im trying to go clean right now i mean stock rom and stock kernel then flashing emotion kernel and this rom.

I have no idea if its gonna work but im willing to try..

If its gonna be stupid to do all of this procedure please stop me befor i go mad :)

Thank you.
[Galaxy Note 4 Android Development (Snapdragon)] danandrei83:
stock camera doesnn´t work

first of all I want to give a huge thanks to the developer for this great and clean rom. Rom works very fine and smooth ... only one problem. the stock camera app doesn´t open at all, it just crush. any solution for this issue??? I´ve tried reinstall the rom, wipe dalvik/cache and no result? any idea?? cheers:good::good::good::good:
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Try this:
[Galaxy Note 4 Android Development (Snapdragon)] gugas123:
[MENTION=5378210]Battlehero[/MENTION]

is it possible to disable booting sound off?
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
You can use Wanam Xposed to disable boot sound.
[Galaxy Note 4 Android Development (Snapdragon)] Crakz:
Just to be clear, first time i flashed this rom everything worked perfectly (even the stock camera app ) just poor battery life.

After i tried flashing some other kernels but the resolt was the same plus stock cam app crushes.

Finally i flashed latest philz recovery ( thank you ), used it's great wipe options and flashed everything back again with this great rom and stock kernel.

Now everything works just fine with good battery life and even got the stock cam app working again.
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
It's most likely Google Play services. It is really annoying, there are ways to tame it by using App Ops and Greenify.
[Galaxy Note 4 Android Development (Snapdragon)] catolh:
I am having trouble with the stock camera app, i tried looking for an option to flash without wiping /system, but i could not find any in TWRP. And as far as i can see in the flashing logs, is that it automatically wipes /system.

Could there be another reason?
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
If you flash a stock COJ3 rom with Odin, then simply flash Battlehero's rom on top with TWRP (last version, 2.8.7.0), without wiping anything, it should work. IIRC, I did a full wipe, and it still worked, but the dirty flash method seems to be safest. Unlikely it will break anything, after all you're flashing a stock COJ3 rom over a stock COJ3 rom. :)
[Galaxy Note 4 Android Development (Snapdragon)] catolh:
Just flashed the Stock BTU COJ3, and flashed this rom over it, camera still crashes. And i can clearly see when this rom installs, that it wipes System. i just want a stock deodexed rom... :s
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
Just out of curiosity, could you try and flash the Emotion kernel? I flashed it right after the rom, before even booting up. Maybe this will fix your problem. The rom will still be stock, but you'll have lots of nice tweaking options, if you want to. Or you can just leave it as it is.

Or the rather simple approach: try to clear the camera's app data. I doubt this will help, but it's quickly done.

Else I'm out of ideas, the stock Odin / Battlehero TWRP method has definitely worked for other users. :confused:
[Galaxy Note 4 Android Development (Snapdragon)] catolh:
I tried both emotion kernel and clearing the camera data, nothing helped. I think i am giving up. But thanks for trying to help though! :)
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
Damn, there must be a way. There always is. ;)

Have you tried alexndr's rom? The one this one is based on? It's basically the same, only with more stock bloatware, which you can remove yourself if you like. I was using it before I found Battlehero's rom, and it's running just as fine. In this case, though, you really shouldn't wipe /system, I got a bootloop when I did so. The rom cleans everything by itself, so you don't need to wipe anything if you're coming from a COJ3 stock rom.
[Galaxy Note 4 Android Development (Snapdragon)] catolh:
I never wiped system, when i flash this or alexandr's rom it clearly says "Wiping /System" when it starts flashing. And the problems persist in alexander's rom as well.
[Galaxy Note 4 Android Development (Snapdragon)] chongox:
Thanks very much to the developers that made possible this work.

A superstock rom ready to pick and mix. Amazing!!!

I come from nameless rom or somenthingh like that was a 5.01 ROM

I followed the instructions, flash BL & CP (COJ3)

Wiped /System /Data /Cache /DalvikCache (no idea what is android secure)

Flashed rom and directinput/galaxyappstore/snoteandscrap../videoplayer/voicerecorder/

Phone is working BUT stock camera is not, also i cant sign in on the scrapbook. (snote was fine)

I will say this 2 are big ones for me (no happy to loose all my scraps) and camera is a must. shall i try the kernel that OP suggested to someone else?

many thanks!!!!

edit: I installed the emotion kernel and camera is working,

just i cant get to my collection of scrapbooks
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Samsung Account bloat ware might be required if you synced your scrapbook with Scloud.
[Galaxy Note 4 Android Development (Snapdragon)] chongox:
Thanks a lot, you are a super star.. im starting to fall in love with my phone again.. cheers
[Galaxy Note 4 Android Development (Snapdragon)] chongox:
went to bed and forgot to plug the charger

i had as little as 16%

when i wake up i have like 16%

What kind of sorcery is this?

[IMG="battery overnight"]https://i.imgur.com/ZTiFVde.png[/IMG]

Im dead and in paradise?
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
Dude, I haven't even managed to get it down to 16% yet. ;)
[Galaxy Note 4 Android Development (Snapdragon)] samurai_vara:
Its a super smooth room but the camera is not working. I see others also having this issue. Any fix?
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
wish to know that 2 !! why some has issue with camera in coj3 !!
[Galaxy Note 4 Android Development (Snapdragon)] chongox:
emotion kernel sorted the camera thingy in my case
[Galaxy Note 4 Android Development (Snapdragon)] Cauterize4:
(Ignore - posted to the wrong thread!)
[Galaxy Note 4 Android Development (Snapdragon)] HISOON:
I will stick with V1.1 until Marshmallow :)

V1.1 works great with me <3

Sent from my Note 4 N910F
[Galaxy Note 4 Android Development (Snapdragon)] 5nak3:
I've been reading this thread and I think I'm at a point where I've found a rom which I'm happy to use, so massive thanks for that!

However, before I go ahead and flash anything I have a question about the flashing process given that I'm coming from a completely stock unrooted phone.

Some of the other rom threads I've been reading include instructions such as:

This thread doesn't seem to mention anything about being rooted or having a custom recovery. The instructions simply state:

Now I'm assuming as the rom itself is already rooted I don't need to worry about being pre-rooted, but am I safe to simply upgrade my Bootloader and Modem via Odin (BL and CP options respectively) to the COJ3 version, and then using the Samsung stock recovery (vol-up, power, home) wipe my partitions and flash the rom in one go?

It's been a while since I've flashed a phone and I'm slightly at a loss given the number of different ways I've seen this phone can be flashed.
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
All you need to make sure is that you have a custom recovery (TWRP recommended)

Make sure your modem and bootloader match the ROMs base. (Links in the OP).
[Galaxy Note 4 Android Development (Snapdragon)] 5nak3:
Thanks for the quick reply. With that additional step my approach is looking to be along the lines of:

Flash custom recovery - I'm going with the recommended TWRP v2.8.7.0

Reboot phone and go back into download mode

Update BL and Modem to match the rom's base

Reboot into TWRP and wipe /System /Data /Cache /DalvikCache /AndroidSecure

Flash rom

Reboot and wait for the rom to boot

Do you think it would be possible to amend the first post to include the TWRP recovery requirement for those coming from stock / unrooted devices?
[Galaxy Note 4 Android Development (Snapdragon)] Narekrocks:
BTW in TWRP you can just use the wipe option and not worry about the different things.
[Galaxy Note 4 Android Development (Snapdragon)] 5nak3:
I just wanted to drop a quick note to say that I've successfully managed to get everything up and running from this thread. Finally a rooted and debloated stock rom :D

I have two questions however which I just can't find an answer to online:

Firstly, when I boot I see a message saying "kernel is not seandroid enforcing", I'm not stuck in a bootloop, TWRP recovery is working fine as is SU, can anyone shed some light as to why that message is present?

Secondly, my Bootloader, PDA and Baseband versions show as: N910FXXU1COJ3 - as I'd expect.

However, my CSC Version shows as: N910FH3G1COH3 - this relates to the latest CSC per my carrier.

I'm assuming this is because I left the default CSC setting during flash. Would it be ok to leave them as is?

It doesn't seem to cause any trouble, but thought I'd ask to check.
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
The message is shown because the kernel has been modified to allow root to work.

The CSC will be the latest one for your carrier and region.

Glad you are enjoying the ROM :good:
[Galaxy Note 4 Android Development (Snapdragon)] clavicle:
Tried it on 910g with nameless kernel, but wifi bug of not keeping up the password is not helping me to stick onto this rom. Tried changing kernel to Dr. Ketans too, but no. Any suggestions please?
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
This rom is for N910F, not 910G. Both variants are very similar, but IIRC, they don't support the same LTE frequencies, so they probably have different modems. Just a shot in the dark, but maybe that's why Wifi isn't working for you.
[Galaxy Note 4 Android Development (Snapdragon)] clavicle:
Thanks, I can understand it is a 910f rom, but I was trying it using op's solution of using same rom for both 910g and 910f. Other 910f roms are working, so I thought let's give it a try.
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
Ah, I see. Interesting, I wasn't aware of this. I guess we'll need Battlehero to sort this out. ;)
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Try flashing the file attached.
[Galaxy Note 4 Android Development (Snapdragon)] clavicle:
Thanks and that works perfectly with nameless kernel v5. Great!
[Galaxy Note 4 Android Development (Snapdragon)] axel92a:
COK2 base just released
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Version 3 is being uploaded.
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Update released: Stock De-bloated Version 3

Changelog:

Based on _alexndr's latest dev-base (COK2)

Integrated updated Google Play-store v(6.0.0)

Integrated updated Google Web-view v(46.0.2490.76)

Integrated updated Google Play Services v(8.3.0.1)

Removed S-Finder and Quickconnect toggles from notification drawer

Removed ~636mb of bloat-ware

Bootloader and modem must be updated

Boot-loaders and Modems

Download ROM

Download Bloat-ware
​
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
Great, thanks!

One question: will this zip wipe my user data, or can I simply dirty flash it over your COJ3 rom after updating BL/CP?
[Galaxy Note 4 Android Development (Snapdragon)] tomasz88:
Wifi no connect :(:(

---------- Post added at 10:26 AM ---------- Previous post was at 10:21 AM ----------
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Yeah, I'll look at the issue when I get home.
[Galaxy Note 4 Android Development (Snapdragon)] Asker76:
Recovery

Hi, phone will not go into the recovery mode (after flash extended Reboot menu).. My Phone hangs.. all other Menus operate very well! can you fix this? Thxss
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
I would recommend using Wanam Xposed to get extended reboot menu.
[Galaxy Note 4 Android Development (Snapdragon)] tomasz88:
no wifi fix :(
[Galaxy Note 4 Android Development (Snapdragon)] Xelasarg:
He's probably not home yet to look into the issue. :)
[Galaxy Note 4 Android Development (Snapdragon)] nberry1988:
cant flash in till wifi fix is done but ill try v2 first intill v3 is got working wifi im looking forward to using v3 as im a new user for this rom and it sounds great
[Galaxy Note 4 Android Development (Snapdragon)] axel92a:
Everyone have a problem with wifi or only tomasz88?
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
This is taking longer than expected because of the new way the ROM is packaged. I'm trying to fix the problem but I don't know how long it will take.
[Galaxy Note 4 Android Development (Snapdragon)] gugas123:
You have been doing a wanderfull job

Take all the time you need :)

Thank you for your continuous Dev. support
[Galaxy Note 4 Android Development (Snapdragon)] Battlehero:
Announcement:

Hello guys and girls,

After much thinking I have decided that it would be best that I create a de-Bloating script which should mean that it will work on almost all Touchwiz based ROMs and the user can simply edit the update-script to choose what is removed.

If there are any more suggestions you would like to give, please do so.

My guess is that that this will be favourable by many :confused:
[Galaxy Note 4 Android Development (Snapdragon)] Narekrocks:
Whatever works man. And that seems like a mich easier way than downloading the bloatware.