[SCRIPT] Nougat DEBLOAT Script - Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re

Hello everyone,
Galaxy A 2017 Series 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 use 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

Thanks!
But wow that are alot removed Apps?!
And i assume you'r are running smooth with no errors, awesome!

Worked like a charm!
No side effects or cons so far.

warning on SM-320F Dual Sim
a lot of apps will have errors

duffy64 said:
warning on SM-320F Dual Sim
a lot of apps will have errors
Click to expand...
Click to collapse
I have the SM-320F Dual Sim model and I didn't encounter any issues at all.

Instructions to use........it's ok I just flash it. All looks good.

Tried on Nougat Sm-A510F. Seems fine. Thanks

Thank you for your work.

Yes, thank you very much for the good job! Works perfect!

problem: K9 mail, program open, when I open letter, program closed

Windforce0511 said:
Hello everyone,
Galaxy A 2017 Series 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 use 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
Click to expand...
Click to collapse
Can you tell what is the difference with Package Disabled app?
What I ask is :
Your script permanently erases apps from the system and frees space-probably good for speed and battery
Package Disabler stop apps from running but not erases them from system,
on the other hand is very convenient to enable them when you need and disable again.
Personally I use your applist but in Package Disabler.
I think that your script would be the best solution if it could create a backup folder with erased apps so I could restore them anytime I needed

How to use the script?

amlbuton said:
How to use the script?
Click to expand...
Click to collapse
Just flash it.

Windforce0511 said:
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.
Click to expand...
Click to collapse
Completely crashed my A320FL running 6.0.1 (odexed), I have to admit, I modified the script, so less apps would be deleted (added # in front of the lines as you recommended), but nothing else. The phone restarts within few seconds just after booting.
Flashed all the original apps through recovery and tons of "app closed" windows appear, which make phone completely unusable. Have to reflash it completely.
Any idea what happened? I attached my modified script below.
Man, do I hate Samsung's stock firmware...

Same here, rendered my SM-A320FL running 6.0.1 (stock Galaxy ROM) completely unusuable. It boots and starts up, but as soon as I unlock the SIM card, it reboots after 5 sec. Without using SIM card it's okay - but useless. And a few Galaxy Apps like Health, Note are still there...
I gave it a shot, reflashed my A320FL with a 6.0.1 stock rom and commented out a lot of entries in your script, and after that it worked. Interesting would be a diff between the original and the modified script, which of these deleted components would cause such behaviour on 6.0.1.
Will update to Nougat next and try your (unmodified) script again.
J.

I did the ROM update to Nougat and tried your script again. It works. So the "SIM-reboot-loop bug" on my A320FL seems to be occuring on Android 6 only.
One more question: does your script need root to properly remove all apps? Some Galaxy Apps are still there and running in the background (Health, Galaxy Widget...) and also Facebook App Manager/Installer.
Also I would like to keep the Google speech keyboard (speech to text, the "microphone symbol" in the keyboard), after your script it is gone. Any idea what is the name of the package, so I can comment it out? Is it GoogleTTS?
Thanks

Available on stock rom does not have to install TWRP

huma_mr said:
Available on stock rom does not have to install TWRP
Click to expand...
Click to collapse
Use Package Disabled.

Dor71 said:
Use Package Disabled.
Click to expand...
Click to collapse
you guide yourself is not.thank

Nice work.

Related

Rom (port) aokp cm10

removed for reconstruction
Downloading this now, will flash and report.
I want my unicorns
MarkInDaPark said:
Downloading this now, will flash and report.
I want my unicorns
Click to expand...
Click to collapse
Forgot screenshots:
Okay, played for a few minutes and these are my results so far;
AOKP settings crash easily, for example by trying to change processor speeds // Only on first boot
Annoying "Preparing USB Storage" notification, SD card works though // Only on first boot
ROM is snappy and speedy
The install procedure was confusing; I'd like to see it just as a normal flashable ZIP, this is useless rice
Wake on trackpad doesn't work (is the script included, as in the Zeu CM10?) // The script is included in /system/bin/trackballwake, and it works
ROM feels slightly bloated (don't include all these third party apps in the future!) // Removed a lot of bloat by TBP and ROM accually had some space left. It's very crowded stock.
Also, is it allowed to include gapps in this manner?
MarkInDaPark said:
Okay, played for a few minutes and these are my results so far;
AOKP settings crash easily, for example by trying to change processor speeds // Only on first boot
Annoying "Preparing USB Storage" notification, SD card works though // Only on first boot
ROM is snappy and speedy
The install procedure was confusing; I'd like to see it just as a normal flashable ZIP, this is useless rice
Wake on trackpad doesn't work (is the script included, as in the Zeu CM10?) // The script is included in /system/bin/trackballwake, and it works
ROM feels slightly bloated (don't include all these third party apps in the future!) // Removed a lot of bloat by TBP and ROM accually had some space left. It's very crowded stock.
Also, is it allowed to include gapps in this manner?
Click to expand...
Click to collapse
You have to do same trick as per original CM10, i.e set "keep Wifi on during sleep" to "always". Also after create/sign in your google account, give it a reboot.
Aroma installer, if proper configured allows you to customize your rom while flashing. You can also, after flashing rom, go back to aroma and check system info (model, name, device,storage, cpu, LCD density and other details)
Trackballwake is same as Zeu CM10
The difference on this rom is it creates /data folder during flashing and install whatever non-system apps you want in this folder, leaving more space in system folder. So you can customize the rom as you like by adding/removing apps in the zip file, "data folder", before flashing. I found it useful as every time i flash a rom i have to spend time installing market, gps fix, antutu, terminal emulator and all other stuff i need.
Also apps in the zip file "data/app" folder being user apps you can uninstall them easy after flash.
Most if not all of the supplementary apps got them from other roms posted on this site. They are free anyway and i don't sell them.
Will it work on hboot 1.00 s-on
Sent from my Legend using xda app-developers app
ic3141 said:
You have to do same trick as per original CM10, i.e set "keep Wifi on during sleep" to "always". Also after create/sign in your google account, give it a reboot.
Click to expand...
Click to collapse
I can't even connect to my WiFi network, but I can't do that in CM10 either, so I guess it's some router problem or something.
ic3141 said:
Aroma installer, if proper configured allows you to customize your rom while flashing. You can also, after flashing rom, go back to aroma and check system info (model, name, device,storage, cpu, LCD density and other details)
Click to expand...
Click to collapse
...Do people really want this? I don't get the point of an 'installer'. We have the glorious ZIP flash - the way God meant us to install ROMs.
Configuring ROM during flash? No. I think many people agree that we want a clean AOKP. You could make two zips; one clean AOKP, and one with your bloat/"useful apps" so that those who can't be arsed to download 7 apps (or restore them from earlier) can do so by flashing a zip.
ic3141 said:
Trackballwake is same as Zeu CM10
Click to expand...
Click to collapse
Yep, works fine.
ic3141 said:
The difference on this rom is it creates /data folder during flashing and install whatever non-system apps you want in this folder, leaving more space in system folder.
Click to expand...
Click to collapse
More space? I found myself with a studdering, slow system after a few reboots. Looking in TBP, I noticed that I had 45kB free in /system.
Removed some system apps and I had 3 MB left. Isn't that less than CM10?
ic3141 said:
So you can customize the rom as you like by adding/removing apps in the zip file, "data folder", before flashing. I found it useful as every time i flash a rom i have to spend time installing market, gps fix, antutu, terminal emulator and all other stuff i need.
Click to expand...
Click to collapse
Ever heard of Titanium Backup? Much simpler than fiddling with a ton of apks.
ic3141 said:
Most if not all of the supplementary apps got them from other roms posted on this site. They are free anyway and i don't sell them.
Click to expand...
Click to collapse
Uh yes, but if you read and responded to what I was typing, i said "gapps". Notice the "g", meaning "google" in this case. This is a set of proprietary google-apps, which are to be provided seperatley for all non-AOSP builds due to licensing.
ic3141 said:
removed for reconstruction
Click to expand...
Click to collapse
I have decided to wait a while for a more stable JB rom (thanks to Zeubea).
Will post the port for the last nightly built together with a small surprise: MIUI 2.10.26 (quite stable) and 2.11.23 (a lot of diff still required)

[ROM] Debloated BNH5 ported from TMobile, rooted, deodexed, no knox, Download Booster

** DISCLAIMER: I AM NOT A DEVELOPER. I DO THIS AS A HOBBY AND SHARE MY FINDINGS IN CASE SOMEONE ELSE FINDS THEM USEFUL. **
** THIS WORKED ON MY DEVICE BUT IT MAY NOT WORK ON YOURS. APPLY AT YOUR OWN RISK **​
This is a de-bloated version of the latest KitKat 4.4.2 Rom from T-mobile, i.e. G900TUVU1BNH5. I ported it to ATT and stripped it down to basics. Here is what you will find in this ROM:
Calculator, Calendar, Camera,Clock, Ctontacts, Email, Gallery, Google search and voice, stock browser, Google maps, Memo, Phone and SMS, Music player, My Files, Play Store,Video, Voice recorder, and Youtube.
Everything else has been removed. The zip file size is just under 700MB.
Other features:
1- Pre-rooted and deodexed.
2- Knox, security apps, and updater disabled (your phone will no longer update itself without your knowledge)
3- Call recording enabled.
4- SDcard write restrictions removed.
5- Tethering restrictions removed.
6- Download Bosoter functional on AT&T network.
Requirements:
1- Safestrap or custom recovery.
2- To begin with, you should be on ATT NCE4 rom or a variant of that. It has been reported that this is incompatible with NG3
Download link:
Mega https://mega.co.nz/#!tlcnwBJb!tqGDImZ-HOVKVi_ykMGzNG20qgEOXfS7cxMLdQCtsp0 (version 3)
Instructions:
This is a flashable zip. Boot to recovery to flash it. I strongly recommend a clean wipe before flashing a new Rom.
After reboot, leave the phone alone for 10 minutes before you use it. After the first reboot the data connection takes a while to be recognized. If it does not connect after 10 min, enable and disable airplane mode and it should be fine after that.
There are a few more megs that can be squeezes out of this still so I will update this to a version 2 in the next few days.
A Word about Debloating
There is a misconception that if the size of a ROM is smaller it leaves more usable space on the phone. That is not true. For example, in Galaxy S5, around 2.5GB is earmarked for the system rom, whether it is filled or not. So if you make a very small ROM the space you save is still earmarked for the system and will not show up as free space on your SDcard or whatnot, unless you repartition your /system (bad idea) or manually open some storage space in /system and use it (poor idea). Therefore, in debloating this ROM I mostly removed the elements that constantly run in the background and make the system slow and left a lot of what is not actively used intact, even if they were big in size.
Credits:
JustArchi for creating ArchiKitchen
Screenshots
Applications that come with the rom.
V1: Initial release
V2: Baby crying detector and Samsung Dictionary removed
V3: Removed: T-mobile boot up and power off insignia, non-essential media files, non-US-English VODB and sipdb files. non-essential libraries. Fixed a potentially fatal typo in the update script.
Okay, kind of confused here... This is V1 and your other NH5 thread is V2. Whats the difference between this and the other? More "debloated"?
joe3681 said:
Okay, kind of confused here... This is V1 and your other NH5 thread is V2. Whats the difference between this and the other? More "debloated"?
Click to expand...
Click to collapse
The rom on the other thread is not de-bloated. The file in that thread has every single file that came with the stock ROM. The knox and updater and security files are all in there and just disabled, in case someone just decides to go back to full stock.
In this thread I have removed a long list of apps and directories and libraries. That is why the file here is half the size of the one on the other thread.
I tested this on ANCE base. No FC or hangup. Smooth as butter.
Loving what you're doing here. No-frills, simple rom.
Keep up the good work. I like that the things that normally run in the background are removed, it's great
Edit: Chrome says the file is Malware when I download from MEGA. You probably didn't upload malware but that's what it's telling me. Just letting you know
skyrocketeer said:
Loving what you're doing here. No-frills, simple rom.
Keep up the good work. I like that the things that normally run in the background are removed, it's great
Edit: Chrome says the file is Malware when I download from MEGA. You probably didn't upload malware but that's what it's telling me. Just letting you know
Click to expand...
Click to collapse
Chrome is trying to be cautious here because it sees an install script and a file marked as executable inside a zip file and freaks out. Or it could be because MEGA has been associated in the past with malware download. Whatever the reason, this conservative approach results in false alarms which is known for Chrome. See for example: https://torrentfreak.com/chrome-blocks-utorrent-as-malicious-and-harmful-software-140716/
I suggest that you either ignore the chrome warning, click on "show all downloads" and locate the file and recover it, or download it with Firefox. In either case, after you are done downloading, scan it with a reputable virus scanner of your choice. I just downloaded it myself, scanned it with McAfee Enterprise Edition and it is clean.
Anybody encounter binary updater error while flashing this? Coming from DK rom
l34rn said:
Anybody encounter binary updater error while flashing this? Coming from DK rom
Click to expand...
Click to collapse
If you are not using safestrap make sure you have the latest TWRP or CWM installed. If you use safestrap please describe what kind of error you get. You can use the log utility to save the output of the install script on the SD card to see later what the error is.
I don't seem to be able to sync my contacts. The contact option is not listed under the google account. Calendar is not there either and the calendar won't sync.
Sent from my SM-G900T using XDA Free mobile app
gregthomas129 said:
I don't seem to be able to sync my contacts. The contact option is not listed under the google account. Calendar is not there either and the calendar won't sync.
Sent from my SM-G900T using XDA Free mobile app
Click to expand...
Click to collapse
That is because the sync functions are removed. Use the not-debloated version if you need this feature.
najoor said:
That is because the sync functions are removed. Use the not-debloated version if you need this feature.
Click to expand...
Click to collapse
Any chance you can give a location to just this apk? I really like the ROM but need Google Contact Sync.
pixeldrew said:
Any chance you can give a location to just this apk? I really like the ROM but need Google Contact Sync.
Click to expand...
Click to collapse
Alright. Download the non-debloated version from here:
http://forum.xda-developers.com/att...-g900tuvu1bnh5-ported-tmobile-rooted-t2900780
Unzip it and and look under system/app and system/priv-app. All the apks are there. Pick and choose whatever you want.

Debloat MIUI ROM

Hello
There are some system apps I won't ever use, so it would make sense to not even install them.
Is it possible to debloat a MIUI ROM (for example the official chinese dev ROM) by editing the content of the zip file prior flashing?
Is there a "safe list" with apps that can be removed without causing instabilities?
Guojun said:
Hello
There are some system apps I won't ever use, so it would make sense to not even install them.
Is it possible to debloat a MIUI ROM (for example the official chinese dev ROM) by editing the content of the zip file prior flashing?
Is there a "safe list" with apps that can be removed without causing instabilities?
Click to expand...
Click to collapse
Just install xiaomi.eu rom. Basically it's a debloated chinese rom with european languages added.
Can anyone tell me how can i run Google Apps in my mi5 chaina dev Android 7 based rom. I can't flash gapps. In twrp it's asking device decrypt password. Any other way to flash gapps or some other way?
aipbd said:
Can anyone tell me how can i run Google Apps in my mi5 chaina dev Android 7 based rom. I can't flash gapps. In twrp it's asking device decrypt password. Any other way to flash gapps or some other way?
Click to expand...
Click to collapse
use playstore installer, look on internet.... after that download app you need
Guojun said:
Hello
There are some system apps I won't ever use, so it would make sense to not even install them.
Is it possible to debloat a MIUI ROM (for example the official chinese dev ROM) by editing the content of the zip file prior flashing?
Is there a "safe list" with apps that can be removed without causing instabilities?
Click to expand...
Click to collapse
I'm attaching my personal miui debloater, it is recovery flashable. look the updater-script file for details of what i normally remove, it is pretty self-explanatory I'll maybe improve/increase list of removed apps later on, but it is already a good start..
if you need gapps, be sure to comment out rows 23-24 and most of the rows from 55 up before flashing.
for best effect, flash this upon clean flash, immediately after flashing miui rom zip
cheers
FcukBloat said:
if you need gapps, be sure to comment out rows 23-24 and most of the rows from 55 up before flashing.
cheers
Click to expand...
Click to collapse
I found your script very interesting, I wanted to do something like that... the commented lines are apps that become a problem if you uninstall them? For example /system/app/VoicePrintService, /system/data-app/Music lines are disabled.
In any case thanks for the file it is a good start.
at a certain point i got the phone not booting anymore because of too aggressive debloat, so yes i restored some apps i thought could be related to get rid of bootloop and didn't have time to determine exactly which one was the culprit..
but music no, you can remove it if you want, but i liked it so i preferred to keep it
FcukBloat said:
I'm attaching my personal miui debloater, it is recovery flashable. look the updater-script file for details of what i normally remove, it is pretty self-explanatory I'll maybe improve/increase list of removed apps later on, but it is already a good start..
if you need gapps, be sure to comment out rows 23-24 and most of the rows from 55 up before flashing.
for best effect, flash this upon clean flash, immediately after flashing miui rom zip
cheers
Click to expand...
Click to collapse
Thanks, any update version of yours. Personally, I do also remove several things and some even make some function not working (e.g. scrolling screen capture not working anymore). Not sure which one make it fail, though. Too many aggressive debloat.

Remove Galaxy A40 bloatware

I have just acquired a Samsung Galaxy A40 phone. In my opinion, it has one of the best size/price/performance ratios on the market, reason why I bough it.
However, one very sad point about it is that there is still no LineageOS or any other custom ROMs to this phone, forcing myself to stick to the Samsung ultra-bloated distribution.
Having to accept this fact, my first action was to clean the phone the best I could, by removing any unnecessary crap from Sansumg and others from Google, Linkedin, Facebook and anything not strictly necessary. I based my list on some available (find ref on the script), but I also added some other useful commands.
Let me know if this works out for you, and if you have any point to add to the list. Find it attached on the Gist below:
https://gist.github.com/joaofl/7671e7e96a760e9b368992d6694a33d9
Before running it, I recommend reading the comments on the scrip, so that you dont end up without keyboard for example.
Hope it suites you!
By the way, do you have any information on when or if there is anybody working on a custom ROM (Lineage preferably) for this device?
EDIT:
There is no need to be root!
Disabling Galaxy A40 bloatware
joaofl said:
...clean the phone the best I could, by removing any unnecessary crap from Sansumg and others...
Click to expand...
Click to collapse
Instead of removing system apps you can simply disable them which is easily reversible.
If the Disable button is grayed-out in the Settings > App > app's info see this XDA article: How to disable any pre-installed system app bloatware on Android without root using adb
***
joaofl said:
I have just acquired a Samsung Galaxy A40 phone. In my opinion, it has one of the best size/price/performance ratios on the market, reason why I bough it.
However, one very sad point about it is that there is still no LineageOS or any other custom ROMs to this phone, forcing myself to stick to the Samsung ultra-bloated distribution.
Having to accept this fact, my first action was to clean the phone the best I could, by removing any unnecessary crap from Sansumg and others from Google, Linkedin, Facebook and anything not strictly necessary. I based my list on some available (find ref on the script), but I also added some other useful commands.
Let me know if this works out for you, and if you have any point to add to the list. Find it attached on the Gist below:
https://gist.github.com/joaofl/7671e7e96a760e9b368992d6694a33d9
Before running it, I recommend reading the comments on the scrip, so that you dont end up without keyboard for example.
Hope it suites you!
By the way, do you have any information on when or if there is anybody working on a custom ROM (Lineage preferably) for this device?
Click to expand...
Click to collapse
I need root permissions to do this
But will this run without rooting the phone?
EDIT: It works!
Beautiful.
I'm new with Galaxy A40, i'm really not a fan of Samsung but it was great to have the idea of making a phone lower than 15cm that is my need for lot of reasons.
I was just preparing to remove some system apps like bixby and samsung launcher, than i found out this script but... may you please give a description of most incomprehensible apps in the list?
Instructions
A big thanks to joaofl for getting this list together for us!!!
Here's some info that might help others...
- This article has info (it's further down in the page) on how to use the script (you copy and paste it into Windows command promt/cmd as admin and after installing ADB... link in the article below).
https://piunikaweb.com/2019/03/25/samsung-galaxy-s10-remove-bundled-bloatwares-without-root/
- There's a typo in the script... Lines 84 onwards on the code has a typo where it says 'pm' rather than 'adb'. Changing that before you paste it into cmd fixes it.
Charlie Cooper said:
A big thanks to joaofl for getting this list together for us!!!
Here's some info that might help others...
- This article has info (it's further down in the page) on how to use the script (you copy and paste it into Windows command promt/cmd as admin and after installing ADB... link in the article below).
https://piunikaweb.com/2019/03/25/samsung-galaxy-s10-remove-bundled-bloatwares-without-root/
- There's a typo in the script... Lines 84 onwards on the code has a typo where it says 'pm' rather than 'adb'. Changing that before you paste it into cmd fixes it.
Click to expand...
Click to collapse
Indeed, there were some errors there. I updated the script now, and it should work better now.
and NO, you dont need to be root to run it.
I prefer to remove stuff instead of disabling it, as it free up some space. Worst case, you need to restore the phone.
Yesterday I disabled a lot of unnecessary apps on my Galaxy A40. At a certain point the device was locked an a message said something about "not authorised removal of billing/paying apps". I had to do a hard recovery because I could not enable any of the apps. In fact I could do nothing with the phone
I mention this because on all the lists I found on the internet the billing/paying apps are listed as bloatware/unnecessary which was not true in my case. My A40 is customised by hutchison (drei) maybe this has something to do with it.
edit: the package name which is locking the phone is
com.samsung.android.kgclient
HTH and have a nice day!
Does anyone know if a factory reset from Settings will restore all the apps removed via this process?
EDIT: It does.
Can you say which apps cannot be removed OR disabled?
Weasler said:
Can you say which apps cannot be removed OR disabled?
Click to expand...
Click to collapse
Do not remove Samsung Payment Services (using root), if you do you will get a locked/unusable device, it will show 'Device locked because Payment services was uninstalled without authorization' and reflash will be needed.
Tony il Capo said:
Do not remove Samsung Payment Services (using root), if you do you will get a locked/unusable device, it will show 'Device locked because Payment services was uninstalled without authorization' and reflash will be needed.
Click to expand...
Click to collapse
Thanks, I'll just stick to disabling apps until I get to know this phone a bit better! The battery monitor doesn't say I have anything chewing up CPU and I'm only losing a few % overnight on idle (even with LED notification fix) so I must have optimized a good bit already.
hello,
good idea !!
i have done the same with luckypatcher (need root)
i forgot this way.... easy with adb
thank you.
Hi, just uninstalled apps using ADB and the script from Page 1. All is fine, even though I forgot to install G-board beforehands, I just sent it from laptop to install on A 40 afterwards.
Amazing job. phone feels lighter and smooth now.
Thank you !!! @joaofl @curiousrom and @costa11
I want remove all samsung on my new galaxy A40, but:
I need to be root.???
I can backup first my original firmware??? And then if there are problems restore this backup??
I need simple use to consume los battery.
Thanks
ruloes said:
I want remove all samsung on my new galaxy A40, but:
I need to be root.???
I can backup first my original firmware??? And then if there are problems restore this backup??
I need simple use to consume los battery.
Thanks
Click to expand...
Click to collapse
Adb doesn't need to be Rooted to be used
Just activate USB debugging(see tutorial about développer mode), and use cmd from your PC (and have adb.exe in a directory for sure)
Pay attention that the phone will Ask you to confirm the authentication as soon as you set "adb start-server"
For the backup, you have already asked it in another thread in which i answered you.
Envoyé de mon SM-A405FN en utilisant Tapatalk
I don’t understand the backup thread, where?
I did it with adb but now.... what else
ruloes said:
I don’t understand the backup thread, where?
I did it with adb but now.... what else
Click to expand...
Click to collapse
I just recover all my files from another Samsung Galaxy to new A40 with own Samsung account backup . There is also Google backup but it is not complete . Samsung backup satisfied me a lot . Just register , sign in Samsung account and from phone settings click on backup .
No need root , of course .
Regarding removing bloatware there are plenty of tutorials on this subject . Just look for it . It's all about adb shell cmd and activate debugging mode from phone . You need also an apk inspector from Google Play to know for sure name of apk you want to uninstall . Don't touch system apks , lists with bloatwares can be uninstalled you can find here on xda (galaxy phones) .
Personally I remarked besides their importance , apks like Calendar and Google Search eat a lot battery . I don't need these apks so I got rid of those and another and I can say battery was semnifically improved . I use also dark mode (from usb debugging) , native digital wellbeing for nights and all-in-one tools apk for some special android characteristics like boost , boot , clean etc
It's important to mention all apks uninstalled still remained in android backup image so they can be restored from phone factory reset .
Succes !
I clean my A40 from the bloatware with the script and I lost the recents app screen of One UI.
Now my recent list is the stock of Android 9. Moreover I totally lost the recents screen when navbar is in gesture mode.
Someone can help me to understand which apk are related with my issue?
Script:
https://gist.github.com/joaofl/7671...33d9#file-clean-samsung-galaxy-a40-bloatwares
Thank you for the efforts. I am a new buyer of A40 and I hope the community grow up!
mrmysterious said:
I clean my A40 from the bloatware with the script and I lost the recents app screen of One UI.
Now my recent list is the stock of Android 9. Moreover I totally lost the recents screen when navbar is in gesture mode.
Someone can help me to understand which apk are related with my issue?
Script:
https://gist.github.com/joaofl/7671...33d9#file-clean-samsung-galaxy-a40-bloatwares
Thank you for the efforts. I am a new buyer of A40 and I hope the community grow up!
Click to expand...
Click to collapse
I suggest factory reset then remove again certain bloatware . Don't touch system apks . Also try to backup your system to Samsung Cloud .

Stock N910F - de-googled?

Hi all.
Noob here on the forum, my very first post so i am not allowed to post this where i imagine this would belong - the 'Original Android development'. That's why it is posted here.
First of all, i wish to express my sincere gratitude to all you people that work hard on making it possible for rest of us mortals to make the best of those small devices that somehow managed to become so big parts of our lives.. I have been following the forum for a while and been using some things posted here to fiddle with several devices without actually bricking any of them as yet. And this is the first time i felt the need of actually asking for help and/or guidelines.
Anyhew - here's the thing: i still run a N910F on stock marshmallow as my main device. (Please no lectures about this). And lately i came to really, really resent mr.Google. I did make a Lineage version of the Android Pie work together with microG (without google), and that actually is rather sweet, runs smooth as silk. I run that on my backup N910F device. (Ok, so i am a Note 4 freek, sue me).
But for different reasons, actually mainly because i really appreciate the s-pen, i want to continue using stock rom on my daily driver so now i am looking for a google-free version of the stock marshmallow for the N910F (trlte) model. I tried to find it here on the forum, but i couldn't, or i couldn't understand the terminology. Haven't found in the rest of the internet either. So i would appreciate if somebody here could either:
1. point me to the direction of such a version if it's already existing, or
2. give me very specific information as to how i could de-google the stock rom by myself. Either on the device or in Windows. I haven't used adb or fastboot yet, but perhaps i could learn if i don't have to take a class in engineering first…
Or could i simply use Titanium backup and just delete (freeze first of course) all the apps that have 'google' in their name?
The third option is perhaps that some kind sould de-googles the stock rom for me and lets me download it. I would donate, of course.
I would really appreciate all the pointers you could give me.
Regards,
prkfsz
Nope, the N910F stock firmwares are definitely not de-Googled. Flash one for yourself and see. I would recommend flashing a LineageOS/AOSP-based ROM, they are generally Google-free.
If you are really insistent on running stock, then do this to completely de-Google it:
In Titanium backup, search for 'goo', this will find almost all Google apps on the ROM. Uninstall them.
Also, download the latest OpenGapps ARM 6.0 nano zip from opengapps.org. Extract the gapps-remove.txt file from the zip. Use the contents of that file as a reference, find all the files listed in it, manually delete them. The reason for this is that Titanium will miss some things.
Now you should be mostly if not entirely Google-free.
Once you have done that, you can optionally patch your ROM for signature spoofing support, and install MicroG, which is an open source Google Play Services alternative. These 2 steps are optional, your choice.
Very simple. I've done this before, things will work fine overall. But some things (apps) requiring Google components may not work correctly, if at all. MicroG can help mitigate this to an extent. You've been warned.
I'm running Resurrection Remix Nougat v5.8.5 (Android 7.1.2), SPen works fine here. Every app I've tested that can use the pen, works fine. There is really no reason to stay with stock just for pen functionality. I also like the huge amount of customization options that RR has compared to stock. And I can use Substratum (no go on stock) with all black themes, for battery savings.
Thank you! Wasn't aware of the google-remove.txt file within gapps. Will definitelly use it. Otherwise it's like i thought: use Titanium and just go loose on everything that starts with 'go'...
I know about microG and use it regularly. Happy customer…
I do like stock marshmallow on note 4 and want to run it as long as it can go. I will perhaps try the RR nougat you suggested on the backup unit. Even tho i am in no particular need of customisation.
Thanx again.
prkfsz said:
Thank you! Wasn't aware of the google-remove.txt file within gapps. Will definitelly use it. Otherwise it's like i thought: use Titanium and just go loose on everything that starts with 'go'...
I know about microG and use it regularly. Happy customer…
I do like stock marshmallow on note 4 and want to run it as long as it can go. I will perhaps try the RR nougat you suggested on the backup unit. Even tho i am in no particular need of customisation.
Thanx again.
Click to expand...
Click to collapse
You might find this of some interest.
https://forum.xda-developers.com/android/general/guide-degoogle-device-install-microg-t4058743
I'm afraid i got stuck here and i need a bit further assistance.. :-/
Coming from stock marshmallow on Galaxy Note 4. I uninstalled google things first using Titanium. Then manually cleaned some leftovers using file manager in TWRP (not sure i did the right way), altho it looked quite empty in the /system map. Another time erased just the Google Play-services before going to TWRPs file manager and it looked just as empty. At both occasions i lost auto-rotate. Is this normal?
After deleting all the google (and in the second try only google play services app) i tried just for the heck of it to run the Nanodroid patch file but i got an error message that it couldnt deodex services.jar file, which was pretty much expected. My skills are not sufficient for deodexing files so i tried other approaches for patching. Smalipatcher - the damn thing couldn't even see i had admin privileges in Win no matter what i did and just refused to run alltogether.
Then i tried the link that was put here by @MrJavi in the post above (thank you sir!). Did everything as the tutorial says, got no error message, everything seemed to run smooth and the apps i chose were installed. (altho TWRP did freeze a couple of times during aroma setup so i had to reset by taking out the battery). When i wanted to set up the microG settings, the microG icon and the app is nowhere to be found. The modul named NanoDroid exists and is activ in Magisk, but it's not possible to open it.
Last, but not least of course, i tryied patching with fake gapps module in Xposed, but Xposed of course does not want to play nice with mr.Samsung. Even when i try and run Xposed from Magisk...
Not sure how to proceed from here.. I'm thinking of switching my starting point to the already deodexed version of marshmallow i thought i saw around here, because it would be easier to patch.
If it's still out there available for download, which i don't take for granted anymore nowadays..
But i would like to make it work on my device anyway. So, if anyone has any ideas, they will be so welcome.
Perhaps Samsung knox is causing issues with Xposed framework/installer. The link below is for a different "Samy" but the the Knox remover is a flashablw .zip made specifically for the Note 4 .
https://www.google.com/amp/s/forum....-how-to-deodex-root-remove-knox-t3458921/amp/
https://www.google.com/amp/s/forum....al/toad-source-android-deodexer-t3848307/amp/
Always take a full Nandroid backup by checking all partition beforehand and save to your external sd card. You can then choose to flaah an Aroma Google debloater .zip .
https://forum.xda-developers.com/android/software-hacking/aroma-google-services-debloater-t3668456
Mr. JAVI said:
Perhaps Samsung knox is causing issues with Xposed framework/installer. The link below is for a different "Samy" but the the Knox remover is a flashablw .zip made specifically for the Note 4 .
https://www.google.com/amp/s/forum....-how-to-deodex-root-remove-knox-t3458921/amp/
https://www.google.com/amp/s/forum....al/toad-source-android-deodexer-t3848307/amp/
Always take a full Nandroid backup by checking all partition beforehand and save to your external sd card. You can then choose to flaah an Aroma Google debloater .zip .
https://forum.xda-developers.com/android/software-hacking/aroma-google-services-debloater-t3668456
Click to expand...
Click to collapse
wow, those were really some good links! thanks, @mr.javi. However....
tried the first link and to work with firmware but the ext4uninstaller does not want to recognize the ext4 file (wtf??), regardless from where i download the software and regardless what ext4 file and from what firmware (tested a few), and without that part working it was pretty much impossible to go on. So i ran only the deknoxing tool through twrp. No error. But still when i try and install the xposed - boom! it will not boot. Not even damn zip uninstaller for magisk will work as it should..
Tried the second link with the TOAD. Weird: some versions get recognized as malware by my antivirus and windows does not want to run other versions for safety reasons. Strange..
Tried the third and that de-googling script is rather sweet.
But my conclusion from all this is that it is not so hard to exorcise the google, but to patch the rom in the next step... If i understand correctly i have to get the rom deodexed first to be able to patch it with nanodroid?
I tried some deodexing tools on pc, but i'm not really sure if i'm doing it correctly. I take it i have to copy some folders (/apps, /framework and one more) from the phone to the computer to work with them there, but i get error message when i try to copy files through file manager in twrp. Am i supposed to do it some other way? And can you do that directly in the phone? I tried an app called 3c -all in one-toolbox that has native option of deodexing but i get error message there, something about classes i think, i don't remember and i can't see it now cause the phone is just being reflashed..
Any more thoughts and ideas? As usual, grateful for anything you can give me.
AnonVendetta said:
Once you have done that, you can optionally patch your ROM for signature spoofing support, and install MicroG, which is an open source Google Play Services alternative. These 2 steps are optional, your choice.
Very simple. I've done this before, things will work fine overall. But some things (apps) requiring Google components may not work correctly, if at all. MicroG can help mitigate this to an extent. You've been warned.
Click to expand...
Click to collapse
HOW?! did you manage to patch it??
prkfsz said:
wow, those were really some good links! thanks, @mr.javi. However....
tried the first link and to work with firmware but the ext4uninstaller does not want to recognize the ext4 file (wtf??), regardless from where i download the software and regardless what ext4 file and from what firmware (tested a few), and without that part working it was pretty much impossible to go on. So i ran only the deknoxing tool through twrp. No error. But still when i try and install the xposed - boom! it will not boot. Not even damn zip uninstaller for magisk will work as it should..
Tried the second link with the TOAD. Weird: some versions get recognized as malware by my antivirus and windows does not want to run other versions for safety reasons. Strange..
Tried the third and that de-googling script is rather sweet.
But my conclusion from all this is that it is not so hard to exorcise the google, but to patch the rom in the next step... If i understand correctly i have to get the rom deodexed first to be able to patch it with nanodroid?
I tried some deodexing tools on pc, but i'm not really sure if i'm doing it correctly. I take it i have to copy some folders (/apps, /framework and one more) from the phone to the computer to work with them there, but i get error message when i try to copy files through file manager in twrp. Am i supposed to do it some other way? And can you do that directly in the phone? I tried an app called 3c -all in one-toolbox that has native option of deodexing but i get error message there, something about classes i think, i don't remember and i can't see it now cause the phone is just being reflashed..
Any more thoughts and ideas? As usual, grateful for anything you can give me.
Click to expand...
Click to collapse
You're very welcome @prkfsz
https://mtkcustomroms.com/deodex-stock-rom-custom-rom-without-pc-2018/
https://how-to-easily-deodex-android-stock-rom-without-pc/
Mr. JAVI said:
You're very welcome @prkfsz
https://mtkcustomroms.com/deodex-stock-rom-custom-rom-without-pc-2018/
https://************/how-to-easily-deodex-android-stock-rom-without-pc/
Click to expand...
Click to collapse
Thanx again, @Mr. JAVI! :good:
Both links are about the same app and i've tried that one recently, so it seems like we think rather alike.
I get the exact same error message like the guy that wrote that one comment at the bottom of the second link (error saying "needs rebuild classes.dex").
And strangely enough when i open the deodexing window in the app it says that of the number of apps in the rom not all are odexed (says something like "deodexed 124/187"), which is rather perplexing because it's on the freshly installed stock (from nandroid backup directly after factory reset). So I tried to fool the app and get all the apps odexed first, but that didn't fly either..
Btw, thanks for the advice before - i always back the device upp (all partitions) before messing with it.. I forgot to do that on one device before and instantly regretted it..
-------------------------------------------
Edit: the second link in your last post was dead so i tried to correct it in my message, but xda forum doesn't like that.
Tried to post in the right link here in the message too, but that didn't work either for some reason.
but searching the phrase 'how to easily deodex Android stock rom without pc' will give you the first search result.
Oat2dex.jar
https://www.google.com/amp/s/forum....eral/tool-deodex-tool-android-l-t2972025/amp/
https://github.com/testwhat/SmaliEx/releases
---------- Post added at 01:14 PM ---------- Previous post was at 12:43 PM ----------
prkfsz said:
Thanx again, @Mr. JAVI! :good:
Both links are about the same app and i've tried that one recently, so it seems like we think rather alike.
I get the exact same error message like the guy that wrote that one comment at the bottom of the second link (error saying "needs rebuild classes.dex").
And strangely enough when i open the deodexing window in the app it says that of the number of apps in the rom not all are odexed (says something like "deodexed 124/187"), which is rather perplexing because it's on the freshly installed stock (from nandroid backup directly after factory reset). So I tried to fool the app and get all the apps odexed first, but that didn't fly either..
Btw, thanks for the advice before - i always back the device upp (all partitions) before messing with it.. I forgot to do that on one device before and instantly regretted it..
-------------------------------------------
Edit: the second link in your last post was dead so i tried to correct it in my message, but xda forum doesn't like that.
Tried to post in the right link here in the message too, but that didn't work either for some reason.
but searching the phrase 'how to easily deodex Android stock rom without pc' will give you the first search result.
Click to expand...
Click to collapse
Well to tell you the truth, even a full Nandroid backup couldn't fix a dm-verity/drk issue on one of my Note 4's. Up until then I have always recovered from softbricking my devices. Stubborn as I am, I spent hours and hours and hours o no avail. I connected my other N4 but still kept trying to revive my old N4. It wasn't until a year and a half later, assisting another member that I came across a possible solution and it worked. Spent more time than my old N4 was worth but my record is untarnished non the less. lol I sure hope you never ever encounter either of thoughts @prkfsz .
Mr. JAVI said:
Oat2dex.jar
https://www.google.com/amp/s/forum....eral/tool-deodex-tool-android-l-t2972025/amp/
https://github.com/testwhat/SmaliEx/releases
---------- Post added at 01:14 PM ---------- Previous post was at 12:43 PM ----------
Well to tell you the truth, even a full Nandroid backup couldn't fix a dm-verity/drk issue on one of my Note 4's. Up until then I have always recovered from softbricking my devices. Stubborn as I am, I spent hours and hours and hours o no avail. I connected my other N4 but still kept trying to revive my old N4. It wasn't until a year and a half later, assisting another member that I came across a possible solution and it worked. Spent more time than my old N4 was worth but my record is untarnished non the less. lol I sure hope you never ever encounter either of thoughts @prkfsz .
Click to expand...
Click to collapse
And i thought i was stubborn for this, insisting on tweaking an age-old os and spending hours on looking for solutions.. thank you!
Not sure about what that issue you mentioned was, since i'm not really on that experience level, but i'm sure it was a mean one.. lol Good job of fixing it! I ended up a few times in similar situations (not with that high level issues apparently) and i just couldn't let go untill i resolved them or bricked them completelly... Luckily haven't bricked anything even tho i play mostly with older devices so it wouldn't be such a waste. But as you too apparently feel - unblemished record is a matter of pride..
And yes, i too recently understood that nandroid backup isn't allmighty - it can't for instance save certain safety settings, fingerprints and such. I always thought of nandroid backup like a 'clone' feature on PC. Loved that..
Aanyhew - back to business.
I hit the wall here again, the same one as with Fulmics deodexer. It's not that it isn't working, it's that i don't know how to point it to the right maps for deodexing.
As far as i understand, i have to copy those 3 folders from the phone to the PC, do the deodexing on the pc, and then move back to the phone and replace the original folders. Is this correct? I tried doing this in TWRPs file manager using micro sd card, but i gott error message that it wouldn't copy all the files for some reason. Should i use some other method of copying those folders to the PC?
Perhaps a stupid question but is there any way to let the deodexer on the pc find the folders directly on the phone?
As always - a huge thank you from the struggling noob, @Mr. JAVI. :good:
Perhaps this is the Xposed framework and installer that might be compatible with your N910f
https://forum.xda-developers.com/note-4/themes-apps/unofficial-xposed-v87-3-magisk-v18-t3897017/amp/
As far as TWRP you might be able to patch it and save internal data with Tipatch apk. The drawback is you backups will be much larger.
https://www.google.com/amp/s/forum....pp-twrp-tipatch-backup-internal-t3831217/amp/
PS: Thsnks for the compliment my friend but I'm still learning. Modifications is just a hobby of mine. We learn from each other here on XDA.
PC : skills are not my strong point . Your skills with PC far
exceed your ability. I actually bought a laptop years ago, just so I could flash TWRP Odin and root . The complete ssd laptop cost alot more than my Note 4. I port or create my own flashable .zips. Although, I've never been faced with having to deodex a custom rom, simply because there readily available from the developers on xda for the n910p. Sucks there hasn't been one developed for your n910f.
Something posted by @IBNobody
"Anything past Magisk v15.3 will not pass SafetyNet on QI5.*
Magisk v15.4+ added a check in its Magiskhide subsystem that looks a service (logd) to be loaded. That service is not running on our stock or slightly modified QI5 build. If this service check fails, Magiskhide does not get loaded. If Magiskhide is not running, it can't hide Magisk from the SafetyNet checks.
(You'll know if this is affecting you because the Magisk Manager app won't remember any settings you make in the Magisk Hide tab.)*
Our only options are:
1. Build our own fork of Magisk that skips this check.
2. Enable logd by modifying the init.rc file in boot.img. (logd is commented out. I have not tried un-commenting it.)
3. Remain on v15.3."
DQ15 is the Sprint firmware 6.0.1 and not n910f but it could be the same with yours as well.
A slightly lower version Xpoaed framework api 23
https://androidfilehost.com/?fid=529152257862685344
Mr. JAVI said:
Perhaps this is the Xposed framework and installer that might be compatible with your N910f
https://forum.xda-developers.com/note-4/themes-apps/unofficial-xposed-v87-3-magisk-v18-t3897017/amp/
As far as TWRP you might be able to patch it and save internal data with Tipatch apk. The drawback is you backups will be much larger.
https://www.google.com/amp/s/forum....pp-twrp-tipatch-backup-internal-t3831217/amp/
PS: Thsnks for the compliment my friend but I'm still learning. Modifications is just a hobby of mine. We learn from each other here on XDA.
PC : skills are not my strong point . Your skills with PC far
exceed your ability. I actually bought a laptop years ago, just so I could flash TWRP Odin and root . The complete ssd laptop cost alot more than my Note 4. I port or create my own flashable .zips. Although, I've never been faced with having to deodex a custom rom, simply because there readily available from the developers on xda for the n910p. Sucks there hasn't been one developed for your n910f.
Click to expand...
Click to collapse
Laptop cost way over Note 4? I see i'm not the only one..... ehh, let's say determined bloke around here haha.. Hope it was worth it.. And btw creating your own flashable zips is way above my level of skills, i can tell you that, my friend. Never did that, nor am i planning to. But since i am stubborn (or so i've heard.. lol) and i feel uttermost distaste for mrGoogle and, like you said, noone has apparently done the deodexing the stock N910F - I am simply forced to take matters into my own hands. Flashing a pie and microG is ... apparently too easy. Besides, i am already running that on one of my spare Note 4s.. And i appreciate xda, just like you say people can give each other a hand. What i dislike tho is lots of dead download links... Oh, well..
ok, back to business again.
I guess i am going to need a more detailed help now.
I tried with that version of Framework you linked to. At that page the link for Xposed installer app for Magisk is dead. Tried to play a little with the other file, the version 87.3 of Xposed and just flashed it in TWRP, but nothing happens.
As far as the Tipatch, excuse my ignorance but i have to ask here: what difference would it make for deodexing to be able to copy internal storage? I am thinking it's other folders that need to be copied, like /system.
Apart from that, i love the idea of Tipatch! Will install it anyway.
--------------------------------------------------------
I am beginning to realize that there are not many reasonable options left, since i'm not sure it is worth much more time and effort on my part. I am not going to be an engineer over this..
So there is but one more question to perhaps get solved before i run out of options and go with custom Pie anyway.
And that is - how do i copy the needed 3 folders intact to PC for deodexing software? I can't find that information anywhere together with this pc based deodexers.
Oh well. I have vague memory of ES file manager being mentioned somewhere. So i guess that will be my last attempt before i give up. Unless some new solution emerges.
Mr. JAVI said:
Something posted by @IBNobody
"Anything past Magisk v15.3 will not pass SafetyNet on QI5.*
Magisk v15.4+ added a check in its Magiskhide subsystem that looks a service (logd) to be loaded. That service is not running on our stock or slightly modified QI5 build. If this service check fails, Magiskhide does not get loaded. If Magiskhide is not running, it can't hide Magisk from the SafetyNet checks.
(You'll know if this is affecting you because the Magisk Manager app won't remember any settings you make in the Magisk Hide tab.)*
Our only options are:
1. Build our own fork of Magisk that skips this check.
2. Enable logd by modifying the init.rc file in boot.img. (logd is commented out. I have not tried un-commenting it.)
3. Remain on v15.3."
DQ15 is the Sprint firmware 6.0.1 and not n910f but it could be the same with yours as well.
A slightly lower version Xpoaed framework api 23
https://androidfilehost.com/?fid=529152257862685344
Click to expand...
Click to collapse
Ok, i managed to actually copy the system directory from the phone to the pc using Root explorer app. And none of the deodexers work. Fulmics says it needs smali and baksmali versions over 2.2 even tho i fed it with versions 2.4. SVADeodexerforart runs through all the files without actually doing anything. Logfile shows error 'cannot acces jar file' on all 300+ files.
So i believe this is it for me at this point. I just can't see how further struggle would be meaningsfull since it would just take even more time and i already invested way too much of it on this. But i guess being stubborn has it's price.. :silly:
I want to extend my sincere gratitude, @Mr. JAVI, for your patience, tips and guidelines. I think if it wasn't for you i would given up much quicker.. Which perhaps would've been a smart thing to do... But i wouldn't learn anything..
We will probably bump into each other more times here, since we seem to share the common affection towards a certain gadget.
all the best to you
prkfsz said:
Ok, i managed to actually copy the system directory from the phone to the pc using Root explorer app. And none of the deodexers work. Fulmics says it needs smali and baksmali versions over 2.2 even tho i fed it with versions 2.4. SVADeodexerforart runs through all the files without actually doing anything. Logfile shows error 'cannot acces jar file' on all 300+ files.
So i believe this is it for me at this point. I just can't see how further struggle would be meaningsfull since it would just take even more time and i already invested way too much of it on this. But i guess being stubborn has it's price.. :silly:
I want to extend my sincere gratitude, @Mr. JAVI, for your patience, tips and guidelines. I think if it wasn't for you i would given up much quicker.. Which perhaps would've been a smart thing to do... But i wouldn't learn anything..
We will probably bump into each other more times here, since we seem to share the common affection towards a certain gadget.
all the best to you
Click to expand...
Click to collapse
I am just one of the "common folk". One of my hobbies is modifying my rooted Note 4. I have learned from my failures as well. The creating custom zips is not as hard as you think, in fact it was a failed camera .zip fash that ended in FC's. I came up with an idea to take the previous working camera .zip. left the meta-imf and replaced tge rest with an N7 camera from another rom and fkashed it. It's much easier explained with screen shots.
One of my favourite apps is ZArchiver apk. Downliad it and you'll see why. Ext4, tar, zip, roms, jar, apks and more. Freaking Awesome!!!
https://play.google.com/store/apps/...pk&pcampaignid=APPU_1_YUIBX4STE-aD9PwPh7ylmAg
Its like gold and did I mention free? lol
Welcome to XDA @prkfsz
Mr. JAVI said:
I am just one of the "common folk". One of my hobbies is modifying my rooted Note 4. I have learned from my failures as well. The creating custom zips is not as hard as you think, in fact it was a failed camera .zip fash that ended in FC's. I came up with an idea to take the previous working camera .zip. left the meta-imf and replaced tge rest with an N7 camera from another rom and fkashed it. It's much easier explained with screen shots.
One of my favourite apps is ZArchiver apk. Downliad it and you'll see why. Ext4, tar, zip, roms, jar, apks and more. Freaking Awesome!!!
https://play.google.com/store/apps/...pk&pcampaignid=APPU_1_YUIBX4STE-aD9PwPh7ylmAg
Its like gold and did I mention free? lol
Welcome to XDA @prkfsz
Click to expand...
Click to collapse
Why thank you good sir, @Mr. JAVI! :good:
Every noob should get this friendly a welcome..
See? All that meta-inf, FC-talk is a bit over my lever right now. But i will check out your tool. Might come in handy for some future project. And free it is you say? Sold! haha
As for this project i had, i had to abandon it for now. I realized it wasn't the degoogling that was the problem, but the patching afterwards, and the deodexing that turned out to be downright impossible to get done. And it just gotten too time-consuming in relation to how much time i actually have and how much win i would get out of it. So i took the easy way for now and i went with the custom Pie. I do want the audio from the headphones..
@prkfsz: I used Tingle patch to integrate signature spoofing. You have a few options:
Tingle patch (requires deodexed framework.jar)
Needle patch (requires deodexed framework.jar)
Nanodroid patcher (requires deodexed services.jar)
Haystack patch (requires deodexed services.jar)
Smali patcher (services.jar can be odexed or deodexed, it will deodex and patch the file for you)
FakeGApps (requires Xposed)
Options 1/2/4/5 require a PC. Options 3/6 can be done on device without PC.
Hope this helps!
I don't really have a lot of time to go into detail, but if either of you are looking for a comprehensive way to properly deodex a ROM, check out SuperR's Kitchen. There a free and paid/donate versions. The free version can do what you want just fine.
I had recently used this to deodex the latest stock MM UK firmware for the N910F. In addition to deodexing, the Kitchen can also customize your ROM, and even build a zip that you can flash in TWRP. It flashed and booted fine for me. Once you have done this, you can debloat the ROM (or let the Kitchen do it for you). It won't remove all Google stuff by default, but you can configure it to delete pretty much any file/directory in the system partition. My advice is to use the Kitchen's debloater/Knox removal features, then use gapps-remove.txt and a root file manager to delete the rest. Once you have debloated/deodexed, you can then easily signature spoof patch with any of the tools I mentioned in my previous post.
I have also discovered that you can also run the Tingle patch without a PC, by using QPython3 app. Just supply the deodexed framework.jar and build.prop, it will do the rest. Grab the Tingle master zip from GitHub, unpack it into QPython3's scripts directory on the internal storage, then provide the 2 files into input folder, and run main.py from within the app. You will find the patched jar file in output folder, replace your ROM's framework.jar with the patched one. Use Signature Spoofing Checker to confirm that it worked. I don't think root is required, but it's better to have it anyway, just enable root in QPython3 settings.
Some last notes: don't use Titanium to debloat Google apps, it may also remove some needed shared library files that Android uses. Namely, a library file called libgnustl_shared.so, which will cause autorotation to not work. Use Titanium to determine the locations of Google apps, then delete them manually. This will keep the shared library files while still deleting the apps. On top of this, use gapps-remove.txt.
But while you are debloating, there may be 2 Google apps present that you should not remove, period:
/system/app/WebViewGoogle
/system/priv-app/GooglePackageInstaller
The first is needed by Android and apps to provide webview functionality (this might not sound important, but it is). The 2nd is needed to install apps, remove it and you won't be able to install any app from anywhere (Play Store, manual APK install, etc).
On the subject of Xposed, do *NOT* install the Xposed installer from the Magisk Manager downloads. It isn't designed to work on stock Samsung MM firmware, you won't be able to boot. Use the custom Xposed by wanam (available on XDA). Or you can google for "Xposed kevintm78", this will come up with an AndroidFileHost link that you can install from Magisk. The latter is just a systemless Magisk version of Wanam's Xposed.

Categories

Resources