Script Debloated/De-Knoxed Lite/Full CM12.1 - Stock 6.0.1 (Rom Clean) J5 2015

Search This thread

By Zonik

Senior Member
Jul 27, 2016
1,084
5,908
133
Lima
www.facebook.com
Tired of installing a rom and not know that eliminate fear of leaving the system unusable, I made some scritp to do the work for you. Leave a clean rom and without fear of (Bootloop) is like having your (rom lite) :angel:

Code:
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this File
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */

Requirements:
Code:
-Have rooted the phone
-Have TWRP
-Make a backup of your rom

Installation:
Code:
-Flash for recovery and reboot

Full Debloated- De-Knoxed Stock J5 6.0.1

Apps eliminated:

Code:
delete_recursive("/system/app/BasicDreams");
delete_recursive("/system/app/BBCAgent"); 
delete_recursive("/system/app/ChocoEUKor");
delete_recursive("/system/app/CoolEUKor");
delete_recursive("/system/app/EasymodeContactsWidget");
delete_recursive("/system/app/EasyOneHand3");
delete_recursive("/system/app/ELMAgent");
delete_recursive("/system/app/EmergencyLauncher");
delete_recursive("/system/app/EmergencyModeService");
delete_recursive("/system/app/EmergencyProvider");
delete_recursive("/system/app/GalaxyAppsWidget_Phone_Hero");
delete_recursive("/system/app/GearManagerStub");
delete_recursive("/system/app/Gmail2");
delete_recursive("/system/app/PhotoPhase");
delete_recursive("/system/app/Kies");
delete_recursive("/system/app/KnoxAppsUpdateAgent");
delete_recursive("/system/app/KnoxAttestationAgent");
delete_recursive("/system/app/KnoxFolderContainer");
delete_recursive("/system/app/KnoxSetupWizardClient");
delete_recursive("/system/app/KnoxSwitcher");
delete_recursive("/system/app/Gmail2");
delete_recursive("/system/app/MSSkype_stub");
delete_recursive("/system/app/Kies");
delete_recursive("/system/app/KnoxAppsUpdateAgent");
delete_recursive("/system/app/MyKNOXSetupWizard");
delete_recursive("/system/app/RCPComponents");
delete_recursive("/system/app/RoseEUKor");
delete_recursive("/system/app/SamsungTTS");
delete_recursive("/system/app/SecurityLogAgent");
delete_recursive("/system/app/SysScope");
delete_recursive("/system/app/talkback");
delete_recursive("/system/app/UniversalMDMClient");
delete_recursive("/system/WebManual");
delete_recursive("/system/priv-app/EasyLauncher2_Zero");
delete_recursive("/system/priv-app/FotaAgent");
delete_recursive("/system/priv-app/KLMSAgent");
delete_recursive("/system/priv-app/ManagedProvisioning");
delete_recursive("/system/priv-app/SamsungBilling");

Disappear Knox about the device:

Edit build prop
Code:
ro.config.knox=0
ro.secure.storage.knox=false
Save changes and restart

Download:


Lite Debloated- CM12.1

Apps eliminated:

Code:
delete_recursive("/system/app/Browser");
delete_recursive("/system/app/Camera2"); 
delete_recursive("/system/app/CMFileManager");
delete_recursive("/system/app/Email");
delete_recursive("/system/app/Exchange2");
delete_recursive("/system/app/FM2");
delete_recursive("/system/priv-app/CMUpdater");

Full Debloated- CM12.1

Apps eliminated:
Code:
delete_recursive("/system/app/Browser");
delete_recursive("/system/app/Camera2"); 
delete_recursive("/system/app/CMFileManager");
delete_recursive("/system/app/Email");
delete_recursive("/system/app/Exchange2");
delete_recursive("/system/app/Eleven");
delete_recursive("/system/app/Galaxy4");
delete_recursive("/system/app/HoloSpiralWallpaper");
delete_recursive("/system/app/LatinIME");
delete_recursive("/system/app/LiveWallpapers");
delete_recursive("/system/app/LiveWallpapersPicker");
delete_recursive("/system/app/NoiseField");
delete_recursive("/system/app/PhaseBeam");
delete_recursive("/system/app/PhotoPhase");
delete_recursive("/system/app/PhotoTable");
delete_recursive("/system/app/PicoTts");
delete_recursive("/system/priv-app/CMUpdater");
delete_recursive("/system/priv-app/AudioFX");
delete_recursive("/system/priv-app/Trebuchet");

Nota: Decide which is best for you, if you use another launcher / keyboard equalizer can use the full debloated

Download Debloated Lite:


Download Debloated Full:


If I was helpful, do not forget to press the button thanks. :)
 

#Henkate

Senior Member
Feb 1, 2012
3,485
3,120
253
25
フェアリーテイル
There are more apps which can be removed safely.
On stock rom 5.1.1 odexed, i have 48 apks in system/app (175 mb total) and 46 apks in system/priv-app (146 mb total). and still have to remove some apks which I've forgot.
Google Play Store and Play Services are also bloatware.
 
Last edited:

raheelkhattal

Senior Member
Mar 2, 2015
57
23
0
There are more apps which can be removed safely.
On stock rom 5.1.1 odexed, i have 48 apks in system/app (175 mb total) and 46 apks in system/priv-app (146 mb total). and still have to remove some apks which I've forgot.
Google Play Store and Play Services are also bloatware.
i don't understand how can you stay without Google play? Lol :laugh:.there are thousands of apps that depend on play services
 
Last edited:

By Zonik

Senior Member
Jul 27, 2016
1,084
5,908
133
Lima
www.facebook.com
There are more apps which can be removed safely.
On stock rom 5.1.1 odexed, i have 48 apks in system/app (175 mb total) and 46 apks in system/priv-app (146 mb total). and still have to remove some apks which I've forgot.
Google Play Store and Play Services are also bloatware.

If there are more, even I didn't do the debloated stock 5.1.1, but if I take away the play store and services you will become crazy haha
Some or almost all in need of it.
 

Razorbak34

Senior Member
Dec 11, 2015
153
55
0
Can I flash this rom in J500FN only with twrp without root? If yes, Do i get root after flashing it? Because I don't want it.
 
Last edited:

Razorbak34

Senior Member
Dec 11, 2015
153
55
0
Its a "SCRIPT " not a ROM
My bad, didn't see I wrote rom. Pardon, edited.

EDIT: I tried flashing it without root only with TWRP and it works correctly on J500FN.

EDIT 2: Well, now I can't install software updates. When I click in settings / about phone / software updates nothing happens. :/
 
Last edited:
  • Like
Reactions: paulo boë

#Henkate

Senior Member
Feb 1, 2012
3,485
3,120
253
25
フェアリーテイル
Same here, I'm guessing something was removed that had to do with the software updates function?

Yeah, that's not really good. @zonik Can you make a new version without removing software update?

As far as I remember, you need to re-add FotaAgent.apk and SysScope.apk or open updater-script with Notepad ++ if you are on Windows and delete the 2 lines for these apks.

Probably UniversalMDMClient.apk is needed too, I don't remember right now, but I have a detailed list on my PC, but I cannot access it now.
 

MiLToS_666

Senior Member
Sep 5, 2009
71
25
0
Nea Makri
As far as I remember, you need to re-add FotaAgent.apk and SysScope.apk or open updater-script with Notepad ++ if you are on Windows and delete the 2 lines for these apks.

Probably UniversalMDMClient.apk is needed too, I don't remember right now, but I have a detailed list on my PC, but I cannot access it now.

When you have the time, please let us know which files we need to restore back and provide those files too as they have been already removed by the script! :)
 

androfan86

Senior Member
Nov 4, 2016
128
54
28
Riyadh
Same here, I'm guessing something was removed that had to do with the software updates function?
Why should u depend on software updates after debloating your phone? Updates will again bring back the unwanted stuff which you dont like. :confused:
dont rely on system updates, just flash and have fun ;)

---------- Post added at 05:23 AM ---------- Previous post was at 05:17 AM ----------

When you have the time, please let us know which files we need to restore back and provide those files too as they have been already removed by the script! :)
Zonik clearly mentioned at the begining of this post to back up your phone before flashing this script. If u havent backed up your previous rom then I guess Odin method will help u.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Tired of installing a rom and not know that eliminate fear of leaving the system unusable, I made some scritp to do the work for you. Leave a clean rom and without fear of (Bootloop) is like having your (rom lite) :angel:

    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this File
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    Requirements:
    Code:
    -Have rooted the phone
    -Have TWRP
    -Make a backup of your rom

    Installation:
    Code:
    -Flash for recovery and reboot

    Full Debloated- De-Knoxed Stock J5 6.0.1

    Apps eliminated:

    Code:
    delete_recursive("/system/app/BasicDreams");
    delete_recursive("/system/app/BBCAgent"); 
    delete_recursive("/system/app/ChocoEUKor");
    delete_recursive("/system/app/CoolEUKor");
    delete_recursive("/system/app/EasymodeContactsWidget");
    delete_recursive("/system/app/EasyOneHand3");
    delete_recursive("/system/app/ELMAgent");
    delete_recursive("/system/app/EmergencyLauncher");
    delete_recursive("/system/app/EmergencyModeService");
    delete_recursive("/system/app/EmergencyProvider");
    delete_recursive("/system/app/GalaxyAppsWidget_Phone_Hero");
    delete_recursive("/system/app/GearManagerStub");
    delete_recursive("/system/app/Gmail2");
    delete_recursive("/system/app/PhotoPhase");
    delete_recursive("/system/app/Kies");
    delete_recursive("/system/app/KnoxAppsUpdateAgent");
    delete_recursive("/system/app/KnoxAttestationAgent");
    delete_recursive("/system/app/KnoxFolderContainer");
    delete_recursive("/system/app/KnoxSetupWizardClient");
    delete_recursive("/system/app/KnoxSwitcher");
    delete_recursive("/system/app/Gmail2");
    delete_recursive("/system/app/MSSkype_stub");
    delete_recursive("/system/app/Kies");
    delete_recursive("/system/app/KnoxAppsUpdateAgent");
    delete_recursive("/system/app/MyKNOXSetupWizard");
    delete_recursive("/system/app/RCPComponents");
    delete_recursive("/system/app/RoseEUKor");
    delete_recursive("/system/app/SamsungTTS");
    delete_recursive("/system/app/SecurityLogAgent");
    delete_recursive("/system/app/SysScope");
    delete_recursive("/system/app/talkback");
    delete_recursive("/system/app/UniversalMDMClient");
    delete_recursive("/system/WebManual");
    delete_recursive("/system/priv-app/EasyLauncher2_Zero");
    delete_recursive("/system/priv-app/FotaAgent");
    delete_recursive("/system/priv-app/KLMSAgent");
    delete_recursive("/system/priv-app/ManagedProvisioning");
    delete_recursive("/system/priv-app/SamsungBilling");

    Disappear Knox about the device:

    Edit build prop
    Code:
    ro.config.knox=0
    ro.secure.storage.knox=false
    Save changes and restart

    Download:


    Lite Debloated- CM12.1

    Apps eliminated:

    Code:
    delete_recursive("/system/app/Browser");
    delete_recursive("/system/app/Camera2"); 
    delete_recursive("/system/app/CMFileManager");
    delete_recursive("/system/app/Email");
    delete_recursive("/system/app/Exchange2");
    delete_recursive("/system/app/FM2");
    delete_recursive("/system/priv-app/CMUpdater");

    Full Debloated- CM12.1

    Apps eliminated:
    Code:
    delete_recursive("/system/app/Browser");
    delete_recursive("/system/app/Camera2"); 
    delete_recursive("/system/app/CMFileManager");
    delete_recursive("/system/app/Email");
    delete_recursive("/system/app/Exchange2");
    delete_recursive("/system/app/Eleven");
    delete_recursive("/system/app/Galaxy4");
    delete_recursive("/system/app/HoloSpiralWallpaper");
    delete_recursive("/system/app/LatinIME");
    delete_recursive("/system/app/LiveWallpapers");
    delete_recursive("/system/app/LiveWallpapersPicker");
    delete_recursive("/system/app/NoiseField");
    delete_recursive("/system/app/PhaseBeam");
    delete_recursive("/system/app/PhotoPhase");
    delete_recursive("/system/app/PhotoTable");
    delete_recursive("/system/app/PicoTts");
    delete_recursive("/system/priv-app/CMUpdater");
    delete_recursive("/system/priv-app/AudioFX");
    delete_recursive("/system/priv-app/Trebuchet");

    Nota: Decide which is best for you, if you use another launcher / keyboard equalizer can use the full debloated

    Download Debloated Lite:


    Download Debloated Full:


    If I was helpful, do not forget to press the button thanks. :)
    2
    Can you make another one for Stock 5.1, please?

    Here is the blot list:


    /system/priv-app

    AndroidForWork
    AutomationTest_FB
    DSMForwarding
    DSMLawmo
    Excel_SamsungStub
    FmmDM
    FmmDS
    FotaClient
    IMSLogger+
    Kies
    KLMSAgent
    Samsung Billing
    SecEmailComposer-mass
    SecEmailProvider-mass
    SecEmailSync-mass
    SecEmailUI-mass
    SecEmailWidget-mass
    SPPPushClient_Prod
    SyncmlDM
    Word_SamsungStub
    wssyncmlnps2

    /system/app

    AllshareFileShare
    AllshareFileShareClient
    AllshareFileShareServer
    atfwd
    Bluetooth Test
    Bridge
    Chrome
    ChromeCustomizations
    Drive
    FactoryCamera_FB
    Hangouts
    Gmail2
    KnoxAttestationAgent
    KnoxFolderContainer
    KnoxSetupWizardClient
    Maps
    MobileTrackerEngineTwo
    MSSkype_stub
    OneDrive_Samsung
    OneNote
    RCPComponents
    SecurityLogAgent
    SPenSDK3
    SPrintSpooler
    SwitchKnoxI
    SwitchKnoxII
    SysScope
    talkback
    UniversalMDMClient
    WebManual
    WlanTest
    My Interests

    Must Remove:
    SPDClient

    I will make it for you tomorrow with the apks mentioned.

    EDIT: I didn't have access to PC yesterday.


    I have made the flashable zip which remove the apps mentioned by you.
    You find it here: https://www.androidfilehost.com/?fid=745425885120704834 .
    1
    reserved for more scripts
    1
    Thanks alot sir :D

    Send from my J500F using PBS v8.1
    1
    Can you provide your list of apps which is safe to remove, it will be very useful for me,

    I said that i dont have a list :D
    When i tested my kernel on Touchwiz Marshmallow, i have removed the apks without writing them somewhere. Btw, personally i removed Smart Manager too because its just a crap which uses internal memory and RAM.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone