Debloat script for samsung a7 2016, - Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re

Debloat script specially for samsung a7 2016 , its completly gona make your device bloatfree,
Thanx to @Windforce0511
here the thread https://forum.xda-developers.com/sa...lopment/script-nougat-debloat-script-t3649789
but its old , now samsung updated its apps and this script fails in removing some of the apps , so i just updated the script
i dont know whether its works on other devices or not you check it on your risk, most probably i guess it has to work , well god knows i have'nt checked it
https://mega.nz/#!5FgzkJSZ!QV61hZFbrLGcWTUmv3qahbPLYuXhJ1xEOcHcFrUU6Mg

Related

[UNOFFICIAL] Xposed for Samsung Lollipop by arter97

/* Intro */
3 months after the first functional Xposed for Lollipop by @rovo89 was introduced,
now here comes *somewhat* functional Xposed for Samsung Lollipop firmware.
Embrace yourself.
/* Technical background */
Why were Samsung users left out of the Xposed party?
Because Samsung has massively customized ART runtime included in their firmwares compared to AOSP.
And plus, because the system partition has so little space left, they have additionally implemented xz decompression on top of ART.
Those 2 main reasons has differentiated Samsung's ART from the rest of the ROM's ART.
More technical information on post 2.
/* Disclaimer */
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 project
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. Hard. A lot.
/* Prerequisite */
Due to my skills limitation, only deodex'ed ROMs are supported for now.
For more explanations, checkout post 2.
/* Supported firmwares */
Every ARMv7(32-bit) Samsung Lollipop Android 5.0 deodex'ed firmware should work.
But please note that I have tested this only on Galaxy S4, Note 3 and S5.
For 64-bit, please check http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960 by @wanam
For 32-bit on Android 5.1, I cannot develop on it as I don't have any 32-bit devices capable of running Android 5.1.
/* Before you download ... */
Donate to @rovo89
Donate to @wanam
Show your thanks to @_riddle
Without these people, this would not have been possible at all.
/* Details about binaries */
CyanogenMod's ART runtime changes merged - Performance improvements
Compiled using Linaro GCC 4.8
Method in-lining optimizations made in Android 5.1 merged
Few Android M ART runtime changes which were early-adopted by Samsung merged
-O3 and other compiler optimizations added
Release separated to "exynos" and "snapdragon" versions for more compiler optimizations
Optimize everything enabled
/* Download */
Attached below on XDA
/* How to install */
1. No matter what you do, back-up first.
2. Install XposedInstaller app from http://forum.xda-developers.com/showthread.php?t=3034811
3. Flash the attached Xposed framework zip on the custom recovery.
/* How to uninstall for V1 ~ V7 */
1. Flash the attached Xposed uninstaller zip on the custom recovery.
/* v75+ sticky note */
With v75 and up, this port do not longer touches core-libart.jar, thanks to @wanam.
This would potentially increase compatibility and fix other weirdness such as malfunctioning email app.
However, this introduces some variables.
First, there are more versions that you should choose.
Exynos and Snapdragon is quite self-explanatory, but there are now new "requestConcurrentGC" version for maximizing compatibility.
Don't know what to choose? Don't worry, it won't break your device if you install a wrong one.
If you install a wrong one, the installer will simply tell you that you should go with the other version.
As far as my testing goes, only the Korean Note 3 firmwares should install "requestConcurrentGC" version.
Uninstaller part have changed too.
You need to use uninstaller provided directly by @rovo89.
Do not use my uninstaller for v75 and up.
/* Technical information and Q&A */
Q: What took you so long?
A: @rovo89 has explained himself. http://forum.xda-developers.com/showpost.php?p=58949255&postcount=3
Q: Okay, you don't seem like a better developer than @rovo89. How did you do it?
A: Of course not. This is the main reason why deodex'ed ROM is a prerequisite.
Samsung has implemented all sorts of funny stuffs on their version of ART. See the link above.
To workaround this, converting a ROM to deodex'ed format somewhat brings back the oat formats to *AOSP-like* dex format(Huge thanks to @_riddle).
After deodexing is done, we can use source-built ART binaries with minimal modifications.
But due to my coding skills, I had to modify core-libart.jar to make it work again.
The core-libart.jar differs from every single device out there and it'll be a real headache to match with 1 ART binary version. That's why I've included the core-libart.jar on the installation zip file.
The included core-libart.jar has 2 different versions to correspond on the type of ROM user is using.
1 : Firmwares with appStartup
2 : Firmwares without appStartup
After deodexing, installing new ART stuffs, we can start the boot-up sequence.
Unfortunately again, /system/bin/installd passes some arguments that AOSP version of dex2oat do not understand. To bypass this, I've patched oat tools to ignore unimplemented arguments.
Now we can see the good old "Android is upgrading" pop-up and go have a cup of coffee while it dexopts all those hundreds of bloatwares.
Q: Fantastic, but now I get a continuous logcat burps - http://pastebin.com/MxeAE76n
A: To avoid that, that's why I've put 2 different versions of core-libart.jar. But unfortunately on those cases, my installer has failed to recognize which version your ROM uses.
During the installation, the installer will output a message on which core-libart.jar is installed on your system.
After you see that logcat stuffs, please change to the opposite version of core-libart.jar the installer told you.
So for example, if the installer says core-libart1.jar is installed, extract the zip and replace /system/framework/core-libart.jar with core-libart2.jar within the zip.
Q: How do I deodex my ROM?
A: @joeldroid and @svadev have an awesome tool for you to deodex your ROM.
Go check http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857 and http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
Both worked flawlessly for me.
Q: Gimme tha sources!
A: https://github.com/arter97/android_art/tree/samsung-lollipop
Q: AAA and BBB modules are incompatible!
A: Most likely because they don't support Touchwiz Lollipop *yet*.
Q: You mother father gentleman, you bricked my phone!
A: Unfortunately, I had tested those only on 3 devices which, ironically, has the same processor. Maybe Exynos family is not support, I don't know.
I told you to back-up beforehand. Post log and we can probably work together and add your device/ROM supported.
/* Changelog */
v75
Xposed v75 merged
(Fixes boot issue with latest Android 5.0 firmwares)
Method changed to use @wanam's XposedBridge
/* v75+ sticky note */
With v75 and up, this port do not longer touches core-libart.jar, thanks to @wanam.
This would potentially increase compatibility and fix other weirdness such as malfunctioning email app.
However, this introduces some variables.
First, there are more versions that you should choose.
Exynos and Snapdragon is quite self-explanatory, but there are now new "requestConcurrentGC" version for maximizing compatibility.
Don't know what to choose? Don't worry, it won't break your device if you install a wrong one.
If you install a wrong one, the installer will simply tell you that you should go with the other version.
As far as my testing goes, only the Korean Note 3 firmwares should install "requestConcurrentGC" version.
Uninstaller part have changed too.
You need to use uninstaller provided directly by @rovo89.
Do not use my uninstaller for v75 and up.
V6
Xposed v71 merged
Possible performance degradation issue fixed
Releases renamed to "exynos" and "snapdragon", now the "exynos" version is properly optimized for Exynos processor
Uninstaller added
Optimize everything enabled
V5
Xposed v65 merged - Now compatible with alpha4
Do not attempt to use uninstaller provided by rovo89, it will brick your device for now - TODO
V4
ART runtime & Xposed binary changes by rovo89 merged - Fixes logging and some other misc issues
CyanogenMod's ART runtime changes merged - Performance improvements
Compiled using Linaro GCC 4.8
Method in-lining optimizations made in Android 5.1 merged
Few Android M ART runtime changes which were early-adopted by Samsung merged
Few core-libart.jar smali durps fixed
-O3 and other compiler optimizations added
Release separated to "generic" and "krait" versions for more compiler optimizations
Generic - Devices with Exynos or other non-Krait Snapdragon SoCs; If you don't know which to choose, go with Generic.
Krait - Devices with Quadcore Krait Snapdragon SoCs.
V3
Another version of core-libart.jar added for GT-i9505 compatibility
(Firmwares without isMdfEnforced)
This update is unnecessary for devices which already runs Xposed with no issues.
V2
Source code modification attempted to hopefully fix boot issues with devices like Galaxy Alpha.
https://github.com/arter97/android_art/commit/eed217701cc2d3a57f940c5bd69b393c768777a9
This update is unnecessary for devices which already runs Xposed with no issues.
/* Known issues */
- Galaxy Alpha users apparently get a bootloop with this.
A kind user provided a logcat, will look into it ASAP.
Solved with V2.
- GT-I9505 users apparently get a continuous Google Apps FCs with this.
Solved with V3.
Thank you!!!!! How do we go about reverting it just in case anything were to happen? Does this have the same issue as darkera13's guide where you can't install apps?
Sweet! Any chance of supporting the S6 in the future?!
Damn no support for s6 edge
---------- Post added at 05:55 PM ---------- Previous post was at 05:54 PM ----------
Looks great though. No decomiling involved
SuperSmashedBro said:
Thank you!!!!! How do we go about reverting it just in case anything were to happen? Does this have the same issue as darkera13's guide where you can't install apps?
Click to expand...
Click to collapse
Exactly same .
Goood good
works fine on my galaxy s5 dous BOC2
xposed moudle and install apk normally works fine
darkera13 said:
Exactly same .
Click to expand...
Click to collapse
Which one is the original method yours or arter's?
I'm confused?
AMAZING!!!!!
arter you're genius!
noobiedev83 said:
Which one is the original method yours or arter's?
I'm confused
Click to expand...
Click to collapse
Me. I show a demo video 1 week ago. I public it first, even dont say but he base on my work is the true.
Xposed dont work with Samsung Lollipop Roms long time ago, the long time enough for all of you think this mission is impossible until i public my guide and he public after that about few hours.
darkera13 said:
Me. I show a demo video 1 week ago. I public it first, even dont say but he base on my work is the true.
Xposed dont work with Samsung Lollipop Roms long time ago, the long time enough for all of you think this mission is impossible until i public my guide and he public after that about few hours.
Click to expand...
Click to collapse
It should at least give you credit for that because I do remember seen your post a week ago
darkera13 said:
Me. I show a demo video 1 week ago. I public it first, even dont say but he base on my work is the true.
Xposed dont work with Samsung Lollipop Roms long time ago, the long time enough for all of you think this mission is impossible until i public my guide and he public after that about few hours.
Click to expand...
Click to collapse
Um, no offense but your method quite differs from mine.
I left out String.clear() and modified core-libart.jar to be compatible universally.
Your guide did not help me in anyways.
And I was also working on this weeks ago. Just didn't share it with the world which were *not-working* then.
arter97 said:
Um, no offense but your method quite differs from mine. And I was also working on this weeks ago. Just didn't share it with the world which were *not-working* then.
I left out String.clear() and modified core-libart.jar to be compatible universally.
Click to expand...
Click to collapse
You know what you do. Dont lie yourself.
To be honest, i tried both methods and @arter97 's methods worked for me without any hassle.
Kudos to you for making this work.
noobiedev83 said:
It should at least give you credit for that because I do remember seen your post a week ago
Click to expand...
Click to collapse
Here http://forum.xda-developers.com/showpost.php?p=60747729&postcount=2645
and here http://forum.xda-developers.com/showpost.php?p=60748574&postcount=29
darkera13 said:
You know what you do. Dont lie yourself.
Click to expand...
Click to collapse
Stealing is the least thing to do on my mind, as I have gone through the same thing over and over.
Ask my Twitter's followers.
I can personally guarantee you that I have not stolen anything from you.
Ask me how I did it more specifically, I'll happily explain it to you.
Working on Note 4 PopRocks Rom N910T
arter97 said:
Please note that I have tested this only on Galaxy S4, Note 3 and S5.
Click to expand...
Click to collapse
You think this will work on Albe95 S6 Rom port (GT-I9505)? :fingers-crossed:

Samsung Galaxy Tab 3 7.0 lt02wifi SM-T210R 4.4.2 Debloat Script - v4

Samsung Galaxy Tab3 lt02wifi SM-T210R 4.4.2 Debloat Script v4
I've tried finding other debloat scripts but unfortunately they either removed too much, or not enough.
This one removes everything that's junky, but still leaves some OK apps such as S Memo, Calculator, etc.
This checks for presence of lt02wifi device, but you could edit the script and make it work on other devices ...
This should be run on latest 4.4.2 firmware, and it should be run from TWRP recovery.
Please have a current backup in case something goes wrong, although it really shouldn't
I've also kept Samsung Account, yes it's needed by some stuff in the Settings menu, and yes you can freeze it,
but it really doesn't do much if you just tell it to go away after it wants to setup a new Samsung Account.
You can also reset the device to factory settings after running this, and nothing will crash on first run.
v4 - added some more stuff to remove,- keyboard languages.
Note: If you've run a previous version, you can still run v4,- not going to hurt anything.
Code:
Apps & Folders removed:
system/app/AccuweatherDaemon.apk
system/app/AccuweatherDaemon.odex
system/app/BasicDreams.apk
system/app/BasicDreams.odex
system/app/Books.apk
system/app/ChatON.apk
system/app/ChromeWithBrowser.apk
system/app/Drive.apk
system/app/Dropbox.apk
system/app/DropboxOOBE.apk
system/app/ELMAgent.apk
system/app/ELMAgent.odex
system/app/FaceLock.apk
system/app/Flipboard.apk
system/app/GameHub_2.0_Note_JBP_Oldkey.apk
system/app/Gmail2.apk
system/app/GMS_Maps.apk
system/app/GoogleSearchWidget.apk
system/app/GoogleSearchWidget.odex
system/app/GoogleTTS.apk
system/app/Hangouts.apk
system/app/HelpHub.apk
system/app/HelpHub.odex
system/app/ICS_Herowidget_Tablet_Main.apk
system/app/ICS_Herowidget_Tablet_Main.odex
system/app/ICS_Herowidget_Tablet.apk
system/app/ICS_Herowidget_Tablet.odex
system/app/ICS_YahooNews_Tablet.apk
system/app/ICS_YahooNews_Tablet.odex
system/app/ICS_YahooStock_Tablet.apk
system/app/ICS_YahooStock_Tablet.odex
system/app/INDI_Server.apk
system/app/KeyguardWidget.apk
system/app/KeyguardWidget.odex
system/app/LearningHub_Stub.apk
system/app/Magazines.apk
system/app/MediaUploader.apk
system/app/MobilePrint3.apk
system/app/MobilePrint3.odex
system/app/MobilePrintSvc_CUPS.apk
system/app/MobilePrintSvc_CUPS_Backend.apk
system/app/MobilePrintSvc_Epson.apk
system/app/MobilePrintSvc_HP.apk
system/app/MobilePrintSvc_Samsung.apk
system/app/MobilePrintSvc_WFDS.apk
system/app/Music2.apk
system/app/PanningTryActually.apk
system/app/PanningTryActually.odex
system/app/PhotoTable.apk
system/app/PhotoTable.odex
system/app/PlayGames.apk
system/app/PlusOne.apk
system/app/PolarisOffice5_Tablet.apk
system/app/PreloadInstaller.apk
system/app/PreloadInstaller.odex
system/app/ringtoneBR.apk
system/app/ringtoneBR.odex
system/app/SamsungTTS_white.apk
system/app/SamsungWatchON.apk
system/app/SCONE_Android_ProxyService_NoPersistent.apk
system/app/SecTabletDualClockDigital.apk
system/app/SecTabletDualClockDigital.odex
system/app/SmartBriefing4x2.apk
system/app/SmartBriefing4x2.odex
system/app/SPlannerAppWidget.apk
system/app/SPlannerAppWidget.odex
system/app/SPrintSpooler.apk
system/app/SPrintSpooler.odex
system/app/Street.apk
system/app/Tablet_SamsungWidget_ProgramMonitor.apk
system/app/Tablet_SamsungWidget_ProgramMonitor.odex
system/app/talkback.apk
system/app/TravelService.apk
system/app/TravelService.odex
system/app/TravelWidget.apk
system/app/TravelWidget.odex
system/app/Videos.apk
system/app/YahoonewsDaemon.apk
system/app/YahoonewsDaemon.odex
system/app/YahoostockDaemon.apk
system/app/YahoostockDaemon.odex
system/app/YouTube.apk
system/priv-app/DSMForwarding.apk
system/priv-app/DSMForwarding.odex
system/priv-app/DSMLawmo.apk
system/priv-app/DSMLawmo.odex
system/priv-app/FotaClient.apk
system/priv-app/FotaClient.odex
system/priv-app/GroupPlay_25_tablet.apk
system/priv-app/KLMSAgent.apk
system/priv-app/NoiseField.apk
system/priv-app/NoiseField.odex
system/priv-app/PageBuddyNotiSvc2.apk
system/priv-app/PageBuddyNotiSvc2.odex
system/priv-app/PhaseBeam.apk
system/priv-app/PhaseBeam.odex
system/priv-app/S-Voice_Android_tablet_vlingo.apk
system/priv-app/SamsungApps_Tablet.apk
system/priv-app/SamsungLink18.apk
system/priv-app/sCloudBackupApp.apk
system/priv-app/sCloudDataRelay.apk
system/priv-app/sCloudDataSync.apk
system/priv-app/sCloudSyncBrowser.apk
system/priv-app/sCloudSyncCalendar.apk
system/priv-app/sCloudSyncContacts.apk
system/priv-app/sCloudSyncSNote.apk
system/priv-app/SecLiveWallpapersPicker.apk
system/priv-app/SecLiveWallpapersPicker.odex
system/priv-app/SNS.apk
system/priv-app/SPPPushClient_Prod.apk
system/priv-app/SyncmlDM.apk
system/priv-app/SyncmlDM.odex
system/priv-app/TextMemoWidget_SmartPhone.apk
system/priv-app/TextMemoWidget_SmartPhone.odex
system/priv-app/TrimApp_tablet.apk
system/priv-app/Velvet.apk
system/lib/libchrome.1985.135.so
system/lib/libpolarisexternel.so
system/lib/libpolarisexternelSDK.so
system/lib/libpolarisoffice5_tablet.so
system/lib/libpolarisofficeSDK_tablet.so
system/sipdb/fr_CA.zip
system/sipdb/ko_KR.zip
system/sipdb/zh_CN.zip
system/sipdb/zh_HK.zip
system/sipdb/zh_TW.zip
system/tts/lang_SMT/smt_ko_KR.lng
system/tts/lang_SMT/smt_ko_KR_f01.am
system/tts/lang_SMT/smt_ko_KR_f01.cfg
system/tts/lang_SMT/smt_ko_KR_f01.dt
system/tts/lang_SMT/smt_ko_KR_f01.qs
system/tts/lang_SMT/smt_zh_CN.cart
system/tts/lang_SMT/smt_zh_CN.pb
system/tts/lang_SMT/smt_zh_CN_f01.am
system/tts/lang_SMT/smt_zh_CN_f01.cfg
system/tts/lang_SMT/smt_zh_CN_f01.dt
system/tts/lang_SMT/smt_zh_CN_f01.qs
system/media/audio/ui/camera_click.ogg
system/media/audio/ui/Camera_click_short.ogg
system/media/audio/ui/PowerOn.ogg
system/media/audio/ui/Shutter.ogg
system/media/audio/ui/Shutter_multiple.ogg
system/preloadedkiosk
If you find any bugs just reply to this thread ...
Enjoy, this should make the device a little faster
.
Thanks OP. It worked on my SM-T210R except that it did not remove Dropbox & ChatOn.
Think I can live with that.
Thought about putting another ROM but this is all needed.

[SCRIPT] Nougat DEBLOAT Script

Hello everyone,
Galaxy A comes with much more bloatware than most other phones, it has apps preinstalled that some of us probably will never use.
Some of those apps may even run at boot and consume RAM and CPU. For this purpose I made a small very effective script and that will remove huge amount of applications. This script works on de-odexed and odexed ROMs and you can use it even for Marshmallow ROMs, so this is ALL-IN-ONE solution.
I created the script when Nougat came out and I'm using it all the time without any problems.
* You can easily edit script and add character ' # ' to exclude certain APP from deleting *
REMOVED STUFF:
https://docs.google.com/document/d/1UQ5RqlQSDXi9AZkKWhCdv21bTWNyDrx4Sf1jsbox-Nk/edit
Galaxy A 2016 and 2017 are both supported
wow, how to use that script please?
unzip and batch inside to hit up?
thx
punkrockfan said:
wow, how to use that script please?
unzip and batch inside to hit up?
thx
Click to expand...
Click to collapse
just flash it in recovery

Qu1ckR00t on Samsung devices

So, for those who know don't know already, a new zero-day (CVE-2019-2215) was recently found that applies to a majority of devices that run Oreo and higher, and a PoC application created by Grant Hernandez has been made to demonstrate the potential of this exploit when it comes to rooting. The code of this PoC application has been released onto GitHub and you can check it out in the links below, and maaaaaybe this means that the code can be customized to work on Snapdragon Samsung devices (no idea about Exynos) as this has been tested only on Pixel 2 devices, and in my own attempt in running the app, the process hangs after a few seconds. Sadly, there are a good amount of downsides with this PoC, mainly that Magisk is installed in core-only mode, and installed without a patched boot image. According to Grant, installing other Magisk environments and or updating it can possibly cause DM-Verity and you'd need to do a clean install.
I just wanted to share this with you guys, maybe we can utilize this for the greater good, and hopefully get some stuff going for Samsung devices with this as the base.
PS: The October security update patches this vulnerability, so if you already updated, yikes.
Related links
https://github.com/grant-h/qu1ckr00t
https://github.com/kangtastic/cve-2019-2215/blob/master/cve-2019-2215.c
The PoC of Hernandez manipulates kernel data structures, the user process credentials, that are protected by Samsung real time kernel protection (RKP). Normally, the PoC should therefore not work on Samsung devices, or am I wrong with that?
The original PoC was reported to work on S8 and S9. But i fear this was only due to the PoC did not trigger RKP. Will have a look at the original PoC, to assess that ...
i think the Samsung Knox version is decisive. This document states, RKP only protects kernel data structures on selected devices: (search for Real-time Kernel Protection (RKP))
In the 2018 version this comment is missing, indicating newer Knox versions protect kernel data structures on all devices: (Search for Knox Deep Dive: Real-time Kernel Protection (RKP))
In this case the PoC of Hernandez will not work.
Sorry this is pretty unrelated, but would it be possible to use this on a new lg g8 on september patches? Haven't had any luck asking in forums over there hoping this forum is a bit more active. Thanks
antintin said:
Sorry this is pretty unrelated, but would it be possible to use this on a new lg g8 on september patches? Haven't had any luck asking in forums over there hoping this forum is a bit more active. Thanks
Click to expand...
Click to collapse
It's kinda active here but I wouldn't hold my breath waiting for help with an LG in a Samsung note 9 forum tbh.

SAMSUNG GALAXY A7 2016 (LINEAGE OS 18.1) ANDROID 11

Hey guys ummmm i found this cool lineage os 18.1 for galaxy a7 2016 (a7xelte) that works awesome and i have been looking for it for days and so maybe i can help someone who has the samsung galaxy a7 2016 and wants make it fast and crisp while running android 11....
The sim toolkit app is buggy and i cant access it but all in all its cool and fast ....try it out.
And maybe modify (to even fix sim toolkit) i would highly appreciate.
Please if you are a dev or anything kindly help me fix this issue as i try to access my sims on the toolkit but it shows nothing without even an error message.
It shows that its loading and just stops and does not proceed.
Lets revive this awesome phone which is not even recognized as a device on xda
Thanks for reading and have a good day.
ISSUES:
-Memory card reading is wrong....detects my 32gb mem as a 2gb one
-Sim toolkit
I will reflash this os again and see if everything gets fixed..stay tuned and feel free to help with the os. Its super awesome with just some quirks we can work out.
EDIT: Please visit another thread where i found the original poster for this rom and he is developing it nicely so pls just go to his thread here : https://forum.xda-developers.com/t/...for-a310-a510-and-a710.4321901/#post-85505157
This thread is awaiting deletion....so go there instead
Thread closed per OP request.

Categories

Resources