[MOD]Samsung J330 Knox and apps cleaner - Samsung Galaxy J3 (2017) ROMs, Kernels, Recoveries

Samsung J3 2017 J330 Knox and apps cleaner script
For stock odex Rom. When installing on deodex, the Play Market may crash!
Flash from TWRP
Before installation, look at which applications will be removed!
If you need anything, just delete the line called apk from updater-script
The script deletes Knox and all unnecessary related to it. Also removes apk the unnecessary ones to me.
List of which apk will be deleted:
"/system/app/BBCAgent",
"/system/app/Bridge",
"/system/app/ELMAgent",
"/system/app/KnoxAppsUpdateAgent",
"/system/app/KnoxSetupWizardClient",
"/system/app/UniversalMDMClient",
"/system/app/KnoxAttestationAgent",
"/system/app/KnoxCOMModeCocktailProvider",
"/system/app/KnoxFolderContainer2",
"/system/app/KnoxSwitcher",
"/system/app/KnoxRemoteContentsProvider",
"/system/app/MDMApp",
"/system/app/KNOXSetupWizardClient",
"/system/app/RCPComponents",
"/system/app/SecurityLogAgent",
"/system/container",
"/system/etc/secure_storage/com.sec.knox.store",
"/system/preloadedkiosk",
"/system/preloadedmdm/MyKNOXManager",
"/system/preloadedsso",
"/system/priv-app/SPDClient",
"/system/priv-app/KLMSAgent");
Removing Samsung Apps...");
"/system/app/AllshareFileShare");
"/system/app/Duo");
"/system/app/SPrintSpooler7");
"/system/app/SBrowser_5.2");
"/system/app/CoreApps_SDK_2017");
"/system/app/SecureFolderSetupPage");
"/system/app/Stk");
"/system/app/Stk2");
"/system/app/talkback");
"/system/app/Photos");
"/system/app/WebManual");
"/system/app/Drive");
"/system/app/Facebook_stub");
"/system/app/FactoryCameraFB");
"/system/app/FBAppManager_NS");
"/system/app/FlipboardBriefing");
"/system/app/GearManagerStub");
"/system/app/Hangouts");
"/system/app/SmartSwitchAgent");
"/system/app/MSSkype_stub");
"/system/app/Music2");
"/system/app/Videos");
#
"/system/priv-app/DiagMonAgent");
"/system/priv-app/AutomationTest_FB");
"/system/priv-app/Excel_SamsungStub");
"/system/priv-app/SOAgent");
"/system/priv-app/FotaAgent");
"/system/priv-app/FBServices");
"/system/priv-app/GalaxyAppsWidget_Phone_Hero");
"/system/priv-app/SCloudServiceHero");
"/system/priv-app/GameHome");
"/system/priv-app/OneDrive_Samsung_v3");
"/system/priv-app/SecEmail_N");
"/system/priv-app/HealthService");
"/system/priv-app/PowerPoint_SamsungStub");
"/system/priv-app/SamsungBilling");
"/system/priv-app/SHealth5");
"/system/priv-app/SPPPushClient_Prod");
"/system/priv-app/Word_SamsungStub");
"/system/priv-app/Velvet");
"/system/priv-app/SamsungCloudDreamNewIcon");
"/system/priv-app/serviceModeApp_FB");
"/system/priv-app/Word_SamsungStub");
"/system/priv-app/FBInstaller_NS");
"/system/priv-app/GalaxyApps_3xh");
"/system/priv-app/GameTools");
"/system/priv-app/SamsungMembers");
"/system/priv-app/SecureFolder");
"/system/priv-app/Finder_v7");
Changes the build.prop line:
Code:
ro.config.knox=0
ro.config.tima=0
ro.config.timaversion=0
Download:
View attachment KnoxBloatClean_J330.zip

Would will work on SM-327U??

what lines i have to remove from updater script in order to use samsung cloud after patch?

lemlis said:
Samsung J3 2017 J330 Knox and apps cleaner script
For stock odex Rom. When installing on deodex, the Play Market may crash!
Flash from TWRP
Before installation, look at which applications will be removed!
If you need anything, just delete the line called apk from updater-script
The script deletes Knox and all unnecessary related to it. Also removes apk the unnecessary ones to me.
List of which apk will be deleted:
"/system/app/BBCAgent",
"/system/app/Bridge",
"/system/app/ELMAgent",
"/system/app/KnoxAppsUpdateAgent",
"/system/app/KnoxSetupWizardClient",
"/system/app/UniversalMDMClient",
"/system/app/KnoxAttestationAgent",
"/system/app/KnoxCOMModeCocktailProvider",
"/system/app/KnoxFolderContainer2",
"/system/app/KnoxSwitcher",
"/system/app/KnoxRemoteContentsProvider",
"/system/app/MDMApp",
"/system/app/KNOXSetupWizardClient",
"/system/app/RCPComponents",
"/system/app/SecurityLogAgent",
"/system/container",
"/system/etc/secure_storage/com.sec.knox.store",
"/system/preloadedkiosk",
"/system/preloadedmdm/MyKNOXManager",
"/system/preloadedsso",
"/system/priv-app/SPDClient",
"/system/priv-app/KLMSAgent");
Removing Samsung Apps...");
"/system/app/AllshareFileShare");
"/system/app/Duo");
"/system/app/SPrintSpooler7");
"/system/app/SBrowser_5.2");
"/system/app/CoreApps_SDK_2017");
"/system/app/SecureFolderSetupPage");
"/system/app/Stk");
"/system/app/Stk2");
"/system/app/talkback");
"/system/app/Photos");
"/system/app/WebManual");
"/system/app/Drive");
"/system/app/Facebook_stub");
"/system/app/FactoryCameraFB");
"/system/app/FBAppManager_NS");
"/system/app/FlipboardBriefing");
"/system/app/GearManagerStub");
"/system/app/Hangouts");
"/system/app/SmartSwitchAgent");
"/system/app/MSSkype_stub");
"/system/app/Music2");
"/system/app/Videos");
#
"/system/priv-app/DiagMonAgent");
"/system/priv-app/AutomationTest_FB");
"/system/priv-app/Excel_SamsungStub");
"/system/priv-app/SOAgent");
"/system/priv-app/FotaAgent");
"/system/priv-app/FBServices");
"/system/priv-app/GalaxyAppsWidget_Phone_Hero");
"/system/priv-app/SCloudServiceHero");
"/system/priv-app/GameHome");
"/system/priv-app/OneDrive_Samsung_v3");
"/system/priv-app/SecEmail_N");
"/system/priv-app/HealthService");
"/system/priv-app/PowerPoint_SamsungStub");
"/system/priv-app/SamsungBilling");
"/system/priv-app/SHealth5");
"/system/priv-app/SPPPushClient_Prod");
"/system/priv-app/Word_SamsungStub");
"/system/priv-app/Velvet");
"/system/priv-app/SamsungCloudDreamNewIcon");
"/system/priv-app/serviceModeApp_FB");
"/system/priv-app/Word_SamsungStub");
"/system/priv-app/FBInstaller_NS");
"/system/priv-app/GalaxyApps_3xh");
"/system/priv-app/GameTools");
"/system/priv-app/SamsungMembers");
"/system/priv-app/SecureFolder");
"/system/priv-app/Finder_v7");
Changes the build.prop line:
Code:
ro.config.knox=0
ro.config.tima=0
ro.config.timaversion=0
Download:
View attachment 4369498
Click to expand...
Click to collapse
ro.config.timaversion doesnt matter. also your missing important build.prop lines. like ro.config.rkp. i dont have this device but you can look at my modifed build.prop for the sm-j327t1 for reference.

thepcwiz101 said:
Download:
ro.config.timaversion doesnt matter. also your missing important build.prop lines. like ro.config.rkp. i dont have this device but you can look at my modifed build.prop for the sm-j327t1 for reference.
Click to expand...
Click to collapse
Do you mind if i use this on new samsung builds?

Is there a step-by-step guide to apply this patch??
How much extra free space can you get with it???
Recently I bought a used J320V to have as a second phone, but just after a factory reset, there was only 1.2GB free of 8GB internal memory (still none of the applications I use on a day to day basis had been installed)...
this makes it practically unusable. :crying:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

[Q]IMPOSSIBLE DEODEX > encrypted dalvik-cache

I learned tems that the NOTE 3 does not work deodeks.
I also heard that the application of the recovered Titanium backup does not work
This comes from the fact that the dex files could not move in / data / dalvik-cache
disprove me please?
A.S._id said:
I learned tems that the NOTE 3 does not work deodeks.
I also heard that the application of the recovered Titanium backup does not work
This comes from the fact that the index files could not move in / data / dalvik-cache
disprove me please
Click to expand...
Click to collapse
I really doubt dalvik-cache is encrypted. That would be A LOT of overhead.
Certainly not impossible to deodex either.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
tnx for reply, but i made deodex some time, and with zipalign, and without - this can't boot system.
Going only to bootanimation and that's all.
I think framework can't start...
And why after titanium restore app, dex files do not appear into dalvik-cache?
A.S._id said:
And why after titanium restore app, dex files do not appear into dalvik-cache?
Click to expand...
Click to collapse
Possible Titanium needs to be updated to work properly on the Note 3. Try manually creating a folder as su in dalvik-cache and create a file.
su
cd /data/dalvik-cache
mkdir test
cd test
touch testfile
If that works, then I would assume something with how Titanium works has changed.
Latest update..
A.S._id said:
tnx for reply, but i made deodex some time, and with zipalign, and without - this can't boot system.
Going only to bootanimation and that's all.
I think framework can't start...
Click to expand...
Click to collapse
Hmmm... My latest Pre-ROOTED DeOdexed Package (Apps & Framework) for SM-N9005 is working just fine!!
TESTING in progress but System is up and running...
All files deodexed and no errors has been reported so far..
Next for testing is Pre-Rooted DeOdexed KNOX FREE ROM (CWM)... in progress...
stay tuned

[FIX][CM12] LMK Fixer and ADJ

I make my own script for LMK (low memory killer) and adj.
Init.d doesn't work on CM12 so the unique way to make it automatically at boot is with an paid app.
"Boot Shell + Pro Version" (no spoiler)
1. Download Boot Shell and buy Pro version (you also can "buy" it on Aptoide , but highly recommended support the developer is the correct way)
2. Open it , in lateral menu and select "New script" and put it a name. (Ex: LMK)
3. Copy and paste it:
Code:
chmod 644 /sys/module/lowmemorykiller/parameters/adj
echo '0,58,117,176,529,1000' > /sys/module/lowmemorykiller/parameters/adj
chmod 644 /sys/module/lowmemorykiller/parameters/minfree
echo '12288,15360,18432,21504,24576,30720' > /sys/module/lowmemorykiller/parameters/minfree
4. In app settings select "Execute script at boot"
5. Restart and enjoy best RAM management
Credits:
@BlueFlame4 one part of the code
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
..
Does Music apps run better on background? My only problem with CM12 was that Google Music closed A LOT while on background.
Yes is for that , better ram management
Hi,
I don't want to sound rude but am I supposed to get partial credits for this?
I forgot it , sorry @BlueFlame4
How many apps can you run in the background now? Do you also have Facebook app inbetween them? Wasn't there an app called Kernel Audiator which does the same thing?
XT1033 CM12 Nightly. Upon screen off this script undoes itself... No clue why
Odd, it works on the weekly build and on the Asia retail soak...
good job
This script does the work. Thank you man @Lans98. I really needed multitasking which is absent in current cm.
Well I have a query
can i just place the script in init.d folder to make it work?
Working 100% for me now. Cm12 nightlies. Xt1033. Thanks
Why is showing an error when I select "execute and show output"? Then I suppose it does not execute fine at boot :S

[ZIP][TEMPLATE] Adaptive Junk Remover

My first smartphone was the Samsung Galaxy S2. And I was shocked how Samsung "destroys" their own device by adding - sorry for the harsh words - idiotic and useless apps.
Samsung is the main reason why many people (most apple users) are mocking Android.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Samsung is the worst manufacturer in adding useless apps. Who needs 23 hubs for social, fitness, books, games, blablabla and 3 app stores? And 2 music players?
Nobody, I guess... That's why I deleted the useless apps from /app and /priv-app after every update and that was awful.
Some weeks ago I made this flashable zip which allows me to delete all unnecessary (at least for me!!!) apps with one flash. I made it for personal use with my OPO and BlissPop. I don't need NFC or CellBroadcastReceiver. Never.
Every ROM is different. Every ROM has same apps in /system but also different ones. That's why I'm sharing a template for the flashable zip, not a ready-2-flash-zip.
Adaptive Junk Remover
1. download the provided zip file for KK / L
2. open it with WinRAR (the best program)
3. browse to \META-INF\com\google\android
4. open the file called updater-script with Notepad++ (also the best program)
5. a) you will see this (for a ROM based on Android 5.0.x // CM12), the delete_recursive tag is necessary because L stores apps in subfolders
b) you will see this (for a ROM based on Android 4.4.x // CM11)
6. you have to add the apps you want to remove, have a look inside your /app and /priv-app folder
7. a) enter the folder name (CM12): delete_recursive("/system/app/FOLDER-NAME"); or delete_recursive("/system/priv-app/FOLDER-NAME");
b) enter the app name (CM11): delete("/system/app/APP-NAME.apk"); or delete("/system/priv-app/APP-NAME.apk");
maybe you have also .odex files, delete them with delete("/system/app/APP-NAME.odex");
8. if you've finished save the file, WinRAR asks to update the zip-file, affirm that (!!!IMPORTANT!!!)
9. flash the zip in your custom recovery
!!!WITHOUT GUARANTEE!!!
delete only apps you know they're safe to remove (link, link, link, etc.)
be aware that some apps share their libs, etc.
if anything goes wrong, for example FCs, simply reflash (dirty) your ROM and delete the FC'ed app from the updater-script of the Junk Remover
if you have questions, feel free to ask
my updater-script for my OPO running BlissPop looks like this, using it after every update, no FC, no other issue
Code:
delete_recursive("/system/app/AntHalService");
delete_recursive("/system/app/BasicDreams");
delete_recursive("/system/app/CMWallpapers");
delete_recursive("/system/app/Eleven");
delete_recursive("/system/app/Email");
delete_recursive("/system/app/FaceLock");
delete_recursive("/system/app/Galaxy4");
delete_recursive("/system/app/HoloSpiralWallpaper");
delete_recursive("/system/app/HTMLViewer");
delete_recursive("/system/app/LiveWallpapers");
delete_recursive("/system/app/LiveWallpapersPicker");
delete_recursive("/system/app/MonthCalendarWidget");
delete_recursive("/system/app/NfcNci");
delete_recursive("/system/app/NoiseField");
delete_recursive("/system/app/OpenCamera");
delete_recursive("/system/app/PhaseBeam");
delete_recursive("/system/app/PhotoPhase");
delete_recursive("/system/app/PhotoTable");
delete_recursive("/system/app/PicoTts");
delete_recursive("/system/tts");
delete_recursive("/system/app/PrintSpooler");
delete_recursive("/system/app/Stk");
delete_recursive("/system/app/Terminal");
delete_recursive("/system/app/VisualizationWallpapers");
delete_recursive("/system/app/WhisperPush");
delete_recursive("/system/priv-app/CellBroadcastReceiver");
delete_recursive("/system/priv-app/CMAccount");
delete_recursive("/system/priv-app/DeviceControl");
delete_recursive("/system/priv-app/Mms");
delete_recursive("/system/priv-app/MmsService");
delete_recursive("/system/priv-app/ScreenRecorder");
delete_recursive("/system/priv-app/Tag");
delete_recursive("/system/priv-app/Velvet");
delete_recursive("/system/priv-app/VoiceDialer");
Nice. Thanks for sharing. You did a great job explaining how to go about this and the script/zip works great. Thanks for taking the time.
oak said:
Nice. Thanks for sharing. You did a great job explaining how to go about this and the script/zip works great. Thanks for taking the time.
Click to expand...
Click to collapse
Thanks for the feedback!
Will need to make one for myself.
Sent from my Nexus 6 using Tapatalk
This worked like a charm. Thanks.

[Guide] About cannot click into Developer Options - Solution

There are some ROMs cannot click into Developer Options and then the app stops responding.
These ROMs have been updated for several times but the problem still not be solved.
Here is one of the solutions for you:
1. Download the ROM you want.
2. Double click it and click into "system".
3. Copy "Build.prop" to desktop or another folder you prefer.
4. Open "Build.prop" you copied with "notepad.exe", find and delete the following words and then save the file:
"ro.frp.pst=/dev/block/bootdevice/by-name/config"
5. Replace the original file "Build.prop" with the one you revised just now.
6. Flash the new ROM as normal, finally you will find that you can go into Developer Options successfully !
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Or you could just edit build.prop right from your devic without a root enabled file browser. And instead of deleting the string you can put a # between so#ro and reboot and the problem is solved and it's much simpler.
se7ensde said:
Or you could just edit build.prop right from your devic without a root enabled file browser. And instead of deleting the string you can put a # between so#ro and reboot and the problem is solved and it's much simpler.
Click to expand...
Click to collapse
Could you tell me which app can revise dev without root? Thanks~
Use Something like "Build Prop Editor", its 57.45 times easier
Im_Mattgame said:
Use Something like "Build Prop Editor", its 57.45 times easier
Click to expand...
Click to collapse
“Build Prop Editor” also needs to use after root.
It seems that no apps can edit build.prop without root.
adrian2015 said:
“Build Prop Editor” also needs to use after root.
It seems that no apps can edit build.prop without root.
Click to expand...
Click to collapse
I think it was a typo & he meant "with a root editor".

Status bar logo remove help !

there is an ad logo he uses, I couldn't remove it in any way, can you help me? SOUNDSTREAM logo remove pls
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Depending on how it was implemented by the manufacturer it may be possible to use Androids integrated System UI tuner and its status bar settings.
You can access it via developer options or by using an app like this:
System UI Tuner - Apps on Google Play
Shortcut to the hidden System UI Tuner tool in Android 9 and newer.
play.google.com
Thanks but I tried it didn't work .
Then you have to life with the logo because the status bar customizing is placed in Android framework related files you can't replace easily.
Can't I access system files and delete png? This ad is making me very uncomfortable.
I don't know your unit so I can't tell you how to access file system in write mode.
I expect the logo is placed inside one of the basic jar files in framework folder on system partition.
Theoretically it would be possible to replace it with a fully transparent png but I (maybe) can only help if you somehow manage to get full system access.
TorstenH said:
I don't know your unit so I can't tell you how to access file system in write mode.
I expect the logo is placed inside one of the basic jar files in framework folder on system partition.
Theoretically it would be possible to replace it with a fully transparent png but I (maybe) can only help if you somehow manage to get full system access.
Click to expand...
Click to collapse
...
Excellent finding.
It may be possible to flash an alternative firmware.
TorstenH said:
Excellent finding.
It may be possible to flash an alternative firmware.
Click to expand...
Click to collapse
be careful. read the instructions and get a complete DUMP. There is also a scatter file and test points if you get a brick. It is a warning that these units do not work with the SP Flash tool for more than 5 minutes. There may not be time to upload the new firmware. Be aware of that. Let us know how you progress

Categories

Resources