Themes / Apps / Mods Vivo X70 Pro+ debloat script. OriginOS - Vivo X70 Pro+

Hey folks,
personally i don't like all these stock roms, filled up with hundreds of apps, most of them are junk to me.
So i collected the package names and wrote a small script to get rid of them.
Please check before using, if u need any of these apps!
If so, you can commend the lines out. Just add "::" before the line
The stock baidu keyboard gets also removed!
Install any alternative BEFORE removing the stock one...
Classic disclaimer - i'm not responsible if anything gets wrong Use at your own risk.
Simply run them inside the adb folder. (You need the adb tools)
You can find them here -> https://developer.android.com/studio/releases/platform-tools
Thanks and have a nice day.

Related

[SCRIPT] MIUI Revamped Bloatware Removal

Hey everyone, I'm not sure why all of the 3rd party apps on MIUI Revamped are installed as system apps and we can't remove, so I made a little script to remove all those. Here's how:
Download my script attached and remove the .txt ending so it ends in .sh
- Download Gscript Lite from the market.
- Start Gscript, leave it to take Superuser access, and close it
- a new folder called "gscript" was created on your internal sdcard;
- Copy my script in gscript folder on internal sdcard:
/sdcard/gscript
- Start Gscript and then press:
Code:
Menu --> Add script --> Load file
select the script, and check 'Need SU' if not already clicked, then save;
- A new script is added!
- Press on the script you want and it will run thru and remove those apps!
**If you want to customize which apps get removed**
Open the script with a text editor and remove lines from there or add more.
To find the name of the app, you can open the MIUI Revamped ROM download and go into the System/app folder and look at the app names.
HAVE FUN!!!
I appreciate your effort but sounds like using adb or rootexplorer would be easier. If this causes problems with my rom it will be removed. Download revamped for what it is.if you don't like what's in revamped then run stock. You really should have asked before having peopl altering my rom. If you uaw this and encounter problems DO NOT REPORT IN ReVaMpED thread.
nickmcminn60 said:
I appreciate your effort but sounds like using adb or rootexplorer would be easier. If this causes problems with my rom it will be removed. Download revamped for what it is.if you don't like what's in revamped then run stock. You really should have asked before having peopl altering my rom. If you uaw this and encounter problems DO NOT REPORT IN ReVaMpED thread.
Click to expand...
Click to collapse
You are entirely too offended by this. We all use your rom because we love how it runs, but all the live wallpapers and extra apps, A LOT of people don't use. And until now I have been removing them via adb or other root uninstallers. It takes too long since you update your rom every friday. Quick question, why put all these 3rd party apps in the system/app folder? You completely missed the point of my post. It could very well have something to do with how you build your rom, I don't know I'm not a developer. Again, I'm not sure why you are so offended. If I was tweaking the hell out of your rom or something I could understand but its just removing some apps. Why the hostility?
lupascu.marius said:
You are entirely too offended by this. We all use your rom because we love how it runs, but all the live wallpapers and extra apps, A LOT of people don't use. And until now I have been removing them via adb or other root uninstallers. It takes too long since you update your rom every friday. Quick question, why put all these 3rd party apps in the system/app folder? You completely missed the point of my post. It could very well have something to do with how you build your rom, I don't know I'm not a developer. Again, I'm not sure why you are so offended. If I was tweaking the hell out of your rom or something I could understand but its just removing some apps. Why the hostility?
Click to expand...
Click to collapse
Because sir for you never asked us to make these mods. Second there's no hostility just speak the truth. There are proper ways to go about things and this sir isn't. I am standing 100% behind my partner, except he doesn't want this take down and i do. All this does is cause problems and confusions. IF YOU USE THIS TO ALTAR OUR ROM, PLEASE DON'T REPORT BUG'S.
once again no personal attack just there is a proper way of doing things thank you.
Thread in hiatus while we investigate...
Regards,
M_T_M
@OP...I will contact you via PM soon.

De-Bloat Script

I used psouza4's Bloatware Removal for Droid 3 script to remove the bloat from my Bionic: http://forum.xda-developers.com/showthread.php?t=1238472.
While it got most of it, it left behind a few apps due to name changes in apps between the 2 devices. After SSH-ing into my device I compared the names of the lingering apps with the ones in the script and made the proper changes.
I saw in his post that some people were looking for a more refined way of removing Motorola's widgets, so I added that to the bottow of the script for users to uncomment if they want to remove specific widgets instead of all or nothing.
Lastely, I tossed in a few other options that would have to be uncommented to run, such as removal of QuickOffice, File Browser, and Browser. The latter 2 will need replacements installed prior to removing them or problems will occur (or so I've read).
That being said, I will not post the script until I get the OK from psouza4 to repost his work with my changes. Also, if this has been done already (I couldn't find it...and yes, I looked) then please let me know and I won't bother. Stay tuned if you're interested in using it. Hopefully I can repost it for new Bionic owners like myself.
Diff Output
Attached is the diff output I ran against my edit and the original script. The first entry of each comparison is my edit to the original command in the script.
Scripts
Attached are the de-bloat and restore scripts based on psouza4's Droid 3 work.
n00b Question:
Does this just freeze all bloat or does it remove it completely?
Easy answer I'm sure... I just want to be sure I understand what this does.
-Thanks
Darca said:
n00b Question:
Does this just freeze all bloat or does it remove it completely?
Easy answer I'm sure... I just want to be sure I understand what this does.
-Thanks
Click to expand...
Click to collapse
it renames the files with a .bak extension so the OS can't see them, and therefore wont load them.
by not deleting them you can run the restore script to remove the. bak extension. i had to do this today to update my bionic (the update fails upon installation if it cant see the apps you renamed.
make sure to follow the instructions in psouzas post with regards to using a program such as script manager.
Thank you!

[Q] Personalizing custom ROM

Greetings.
I'd like to know if it's safe, possible, and okey to merge, or - maybe - should I say edit a custom ROM files (apk's) before applying it to my device. I mean, for example, lets say I'd like a different launcher installed by default from a custom ROM, taking GingerDX v028b.zip; unpacking it, and changing "nemuslauncher.apk" for "adwlauncher.apk"? Then I'd zip it again and would that work?
[IF] My wild guess is that there could be a config 'kind of file' in which the program processes (or whatever) it's mentioned on what to do, in this case what I said before wouldn't be valid.
Then, can I outsmart it by renaming "adwlauncher.apk" to "nemuslauncher.apk" and replacing it?
By this method, or idea, what I actually want to acomplish is a cleaner install of a custom ROM, already personalized with the apps I want running on my device.
- Is this a good idea, or should I just stick to the normal process of flashing, installing what I want, and removing the stuff "what I want" should replace?
(I'm obviously not planing on sharing my resulting .zip as my own, in any case, if I'd share it, it would be personally sent by PM ONLY to the staff that developed the ROM, treating my .zip like just a simple alternatively looking version of the same ROM, giving it to them in a manner of appreciation to do with it whatever they want )
Answering myself..
I just tried it out, had to just add apks to the app folder.. simply as that :silly:
Tho, replacing launcher wasn't just as simple as that, I don't recommend it. I mean, I removed nemuslauncher.apk and placed adw's, and it looked fine when booting, tho it started misbehaving and basically, adw launch was broken, and nemus wasn't installed, yet option to choose between the two appeared..
(would be nice to get more info about this..)
Ended up with a new clean install, installing the launcher I wanted, and removing Nemus by my own means, which didn't end up as clean uninstall as I'd like it to be..
And, anyways, figured out connecting device in debugging mode with Flashtool I can install apks easily - uninstall too, but it didn't uninstall nemus..

[MOD] [P6800] DXMD3 Stock Jelly Bean Phabletized! [HELP WANTED - SCRIPTING PROBLEMS]

DXMD3 Stock Jelly Bean Phabletized!​
DISCLAIMER TIME:
First thing's first: I am not a chef, nor am I a developer of any sort. This was just an experiment and it worked. All I'm doing is sharing the results and the method of achieving them.
Also, I am in no way responsible if you mess up your device. That said, these modifications are mostly harmless and reversible, if you follow the instructions to the letter. (Worst case scenario: You flash stock JB again or restore a nand backup and you're safe.)
Oh and your device must be rooted. You can't go around changing things if it's not.
I do need a bit of help with some things, you can read the help wanted section at the bottom of the post,
If you're still interested, read on.
INTRO SPEECH:
I've always wanted the phablet experience on my 7.7, but all of the roms I've tried had imperfections (if ever so slight). If any developers are reading this, please do not take this as an insult. Your roms are wonderful masterpieces. I admit I couldn't even begin to understand how much knowledge and hard work is poured into them. I just wanted a 100% daily driver to have and to hold, meaning as few updates as possible (oh the irony). The closest I could find to a perfect rom was the PAC rom by @daniel_hk, but it always started acting out after a couple of weeks. Might have also been my apps or a combination of apps that did this, I don't know. The customization options on PAC are… It's simply amazing. If you're up for it, do check it out in the development thread. Out of all the roms I've tried, I liked PAC the best. That was a message from our (non)sponsors (my personal opinion). Then I tried E-Robot, which is almost stock – I'd say it's a Note 8 rom modified for our 7.7. But it still didn't feel right. I went back to the stock JB rom and started thinking I could simply alter build.prop's dpi setting and get phablet on stock JB. I was half-right. I did alter it and got phablet mode, but a lot of apps stopped working, a few of them crucial (phone, contacts, …). So I started replacing those apps with apps from the E-Robot rom. And it worked. I've identified and replaced most of the apps and the rom is very smooth. I dare say it's even smoother than E-Robot.
List of apps that need replacing:
- Accuweather
- Most mini apps
- Pen memo
- Camera
- Gallery
- Calculator
- S Planner / Calendar
- Phone
- Contacts
- TouchWiz Launcher
- Task manager
- Memo (text memo)
List of apps I haven't yet found replacements for (HELP WANTED, see below):
- Samsung keyboard
- Reader's hub
APPS YOU'LL NEED:
I like ES File Explorer the most, you can use other file managers if you like. LINK
I find it easiest to flash roms with Mobile ODIN. LINK
If you're not interested in purchasing Mobile Odin, you can look it up on XDA forums. It's available for free.
7zip. You'll need to unzip the package. LINK
APP SUBSTITUTION PACKAGE:
LINK
Please, do not mirror this as these instructions are not yet 100% complete.
INSTRUCTIONS:
Read first. Then apply.
1) Get the stock DXMD3 Jelly Bean on www.samfirmware.com
2) I can't stress this enough: Back up all of your files on your internal storage. All of them. I will not be blamed for the loss your lolcat collection.
3) Flash it with Mobile Odin and choose to root the rom and inject superuser
4) A custom recovery is probably a good idea. Use either CWM or TWRP and make a full system backup. Just in case. Easiest to flash with Odin.
5) Unzip the "PHABLETIZE!" package to your tablet internal storage.
6) Default home to a custom launcher. Just in case. I used Apex. (You'll be replacing TouchWiz, remember?) Also, Install a custom keyboard. The stock keyboard isn't happy with 213dpi. I use Jelly Bean Keyboard.
7) Turn on "Root Explorer" mode in ES File Explorer (side menu, accessible from the top left bluish globe icon)
7a) Alternatively, you can use LCDDensity from Play. I haven't tested this personally. This is a recommendation from obbeguin. Skip step 8.
8) Make a backup of your build.prop file. Edit the build.prop to be used by the system (/system/build.prop): "ro.sf.lcd_density=160" changed to "ro.sf.lcd_density=213" (the one between rild.libargs and ro.lcd_brightness)
9) Restart and marvel at the half-finished glory of phablet mode.
10) Here is where you would see TouchWiz crash and you'd be stuck if you hadn't defaulted to a custom launcher in step 6. Luckily, you did.
11) Open ES, navigate to /system/app/ and start replacing the apps from the package. Yes, manually. I don't know how to make a CWM flashable package, so again, yes, manually. (HELP WANTED) I'd also recommend backing up the original files (just copy them to a backup folder on your storage). All apps should replace just fine, since they crash when launched anyway. You should also backup and delete their odex counterparts. Do not replace those.
12) I haven't included the camera and gallery apks. The gallery wasn't working well and I found a replacement here. Not sure yet if I can hijack his files to use in my zip so I'm posting a link for the time being. Also, I've found I like the SGS4 dialer and messaging app much better than the tablet apps from Note8. Look for it here.
13) Restart
14) If you have any issues with any of the apps, first try clearing their caches and data or wiping dalvik cache and cache in recovery mode.
I'd also recommend SkyHigh's custom kernel. I like it and it allows me to use ExFat on my external SD card. It's no NTFS, but large files (>4GB) get across just fine and it works on my computer and in my tablet without a hitch.
And for that extra "Startled Android" effect, I went with Xposed framework and per-app dpi settings. Not quite paranoid but does the job ok.
If you like the Samsung keyboard, you might want to give this one a go. Suggested by @stenny
HELP WANTED SECTION:
As written before, I need some help. It would be tons easier to just flash a CWM package over the stock JB and get phablet mode. Trouble is, I can't build it. Getting around to this one. Got around to it. Now I'm having scripting problems. If anyone is script savvy, please check out the code below.
I have no clue where to find a replacement Reader's hub app – one that works on 213dpi instead of 160dpi If anyone knows where I could find it, please leave a comment.
Don't hesitate to leave your feedback in the comments.
Unhide to see the script code.
#!/sbin/sh
# remove old backup
[ -d /sdcard/phabletize/backup ] && rm -r /sdcard/phabletize/backup
# backing up original apk
echo "Backing up /system/app/"
busybox mkdir -p /sdcard/phabletize/backup/system/app
busybox mkdir -p /sdcard/phabletize/system/app
cd /sdcard/phabletize/list/
for f in $(ls)
do
echo "Processing $f"
busybox cp /system/app/$f /sdcard/phabletize/backup/system/app/
busybox rm /system/app/$f
done
echo "Backups done for system apps"
# backing up original build.prop
echo "Backing up /system/build.prop"
cp /system/build.prop /sdcard/phabletize/backup/system/build.prop
echo "Backup done for build.prop"
# delete odex files and old apk files
echo "Deleting original odex and apk files from /system/app"
cd /sdcard/phabletize/list
for f in $(ls)
do
echo "Processing $f"
busybox rm /system/app/$f
done
echo "Original odex and apk files deleted. Don't worry. You still have your backup."
# for each of the system apps needing processed
echo "Copying modified apks to /system/app"
cd /sdcard/phabletize/system/app
cp -p * /system/app
echo "Finished copying modified apks"
# copy modified build.prop
echo "Copying modified build.prop to /system"
cd /sdcard/phabletize/system
cp -p build.prop /system
echo "Finished copying modified build.prop"
# the end
echo "All done. Enjoy you Phabletized 7.7 JB"
The above left my tablet in a bootloop stuck on the bootanimation turned landscape and distorted/stretched. I was trying to accomplish the following: back up the original apks and build.prop file to a folder on the sdcard. The list of apks needing backups would be determined from the list of apks in the replacement folder. And copying the replacement apks and build.prop file to the proper folder in /system.
I hope I've proofread this enough times so that it's decent...
Screenshots:
They're big. There are many, Unhide to see.
Mostly just showing off the Samsung apps. From my experience, most apps are a lot easier to handle on a bigger dpi. Again, if on some apps you don't like the change...go with Xposed framework.
Undoubtedly you'll notice how the fonts in the Settings app seem smaller than the rest of the rom and the alarm clock app seems bigger. You're right. They are. That's Xposed + App settings hard at work. I want the alarm clock buttons big when I'm smacking the **** out of my tab in the morning (300dpi) and don't need the big fonts when I'm fiddling with the settings (160dpi).
By the way, don't mind the "25% brightness" (I had it at -28% on some other screenshot). That's just Lux. It helps keep the display at a comfortable level in the dark. A screen filter basically. I also found this and this very helpful on a big screen and fiddly-sometimes-hard-to-press-when-your-hands-are-messy-when-cooking-and-just-need-to-look-at-the-recipe-one-more-time buttons (the other two persistent notifications).
Coming soon: Flashable zip. I'll get around to it, I promise. Having trouble scripting the thing. Take a look at the help wanted section if you think you can help. Thanks.
It is wonderful seeing someone try to create something for our Tablets...
I wish I could help in your efforts but instead I can only thank and applause you...
Good luck...
actually... e-robot doing the same thing that you're doing... replacing the apk from note 8.0 to 7.7 but they did alter some apk to fit their mod.
btw. you can use the keyboard from e-robot as well. but you need to find all related lib files to make it work on 7.7
Conserning cwm flashable zips... I don't know the syntax either. But I just use a zip from gapps and delete all the contents and modify the outputted text. Don't use a zip from a rom because they often wipe stuff.
Sent from my GT-p6800 using xda app-developers app
Lemme start by giving you a well deserved thanks and excellent job.
Can you maybe post a few screenshots and maybe even a video of you have time?
Sent from my GT-P6800 using xda app-developers app
zip
You can use the app "app2zip". It shows you all installed apps, then you choose yours from your pack and
click create. This zip file is then flashable in the recovery.
edan1979 said:
actually... e-robot doing the same thing that you're doing... replacing the apk from note 8.0 to 7.7 but they did alter some apk to fit their mod.
btw. you can use the keyboard from e-robot as well. but you need to find all related lib files to make it work on 7.7
Click to expand...
Click to collapse
Doesn't e-robot have some issues? I got the distinct feeling it wasn't quite so stock. I might be wrong though.
EDIT: Now I remember! I couldn't get over the flickering wifi icon in the status bar. Annoyed the **** out of me. Trivial, I know. I could live with something not working quite right if it wasn't visible most of the time.
{Diemex} said:
Conserning cwm flashable zips... I don't know the syntax either. But I just use a zip from gapps and delete all the contents and modify the outputted text. Don't use a zip from a rom because they often wipe stuff.
Sent from my GT-p6800 using xda app-developers app
Click to expand...
Click to collapse
Good tip. Thanks!
vivalamoza said:
Lemme start by giving you a well deserved thanks and excellent job.
Can you maybe post a few screenshots and maybe even a video of you have time?
Sent from my GT-P6800 using xda app-developers app
Click to expand...
Click to collapse
I'll take some and post asap.
konsolen said:
You can use the app "app2zip". It shows you all installed apps, then you choose yours from your pack and
click create. This zip file is then flashable in the recovery.
Click to expand...
Click to collapse
Can this create a single zip for multiple apps or is it one app = one zip?
It creates one ZIP file. So exactly what you looking for.
Just a quick update:
I'm working on a cwm flashable zip that would back up the original apk and odex files and copy the new ones in place. Plus, I've been toying around with other versions of system apps.
I will be posting everything in the next few days - after I test it out.
Cheers
paranoiadk said:
DXMD3 Stock Jelly Bean Phabletized!​
INSTRUCTIONS:
Read first. Then apply.
1) Get the stock DXMD3 Jelly Bean on www.samfirmware.com
2) I can't stress this enough: Back up all of your files on your internal storage. All of them. I will not be blamed for the loss your lolcat collection.
3) Flash it with Mobile Odin and choose to root the rom and inject superuser
4) A custom recovery is probably a good idea. Use either CWM or TWRP and make a full system backup. Just in case. Easiest to flash with Odin.
5) Unzip the "PHABLETIZE!" package to your tablet internal storage.
6) Default home to a custom launcher. Just in case. I used Apex. (You'll be replacing TouchWiz, remember?) Also, Install a custom keyboard. The stock keyboard isn't happy with 213dpi. I use Jelly Bean Keyboard.
7) Turn on "Root Explorer" mode in ES File Explorer (side menu, accessible from the top left bluish globe icon)
8) Make a backup of your build.prop file. Edit the build.prop to be used by the system (/system/build.prop): "ro.sf.lcd_density=160" changed to "ro.sf.lcd_density=213" (the one between rild.libargs and ro.lcd_brightness)
9) Restart and marvel at the half-finished glory of phablet mode.
10) Here is where you would see TouchWiz crash and you'd be stuck if you hadn't defaulted to a custom launcher in step 6. Luckily, you did.
11) Open ES, navigate to /system/app/ and start replacing the apps from the package. Yes, manually. I don't know how to make a CWM flashable package, so again, yes, manually. (HELP WANTED) I'd also recommend backing up the original files (just copy them to a backup folder on your storage). All apps should replace just fine, since they crash when launched anyway. You should also backup and delete their odex counterparts. Do not replace those.
12) Restart
13) If you have any issues with any of the apps, first try clearing their caches and data.
Click to expand...
Click to collapse
Concerning the point 7 & 8, wouldnt it be easier to just use LCDDensity for root ?
Using it, it is must more easy to change the density without even having to manually modify the build.prop file... And the phablet mod start for any density higher than 180..
And for people who forgot to install a second launcher, they no need to panic..
They can still go to the tablet settings using the notification bar, even if Touchwiz doesnt work.
There, they can check they are connected to internet and install a second launcher by logging on google play by using a PC.
obeguin said:
Concerning the point 7 & 8, wouldnt it be easier to just use LCDDensity for root ?
Using it, it is must more easy to change the density without even having to manually modify the build.prop file... And the phablet mod start for any density higher than 180..
And for people who forgot to install a second launcher, they no need to panic..
They can still go to the tablet settings using the notification bar, even if Touchwiz doesnt work.
There, they can check they are connected to internet and install a second launcher by logging on google play by using a PC.
Click to expand...
Click to collapse
Never heard of LCDDensity before, but I'll add it to the instructions.
You're correct, the phablet ui starts at 180 (176 I believe), but the navigation bar keys are off center when lcd density is not set to 213.
Sort of defeats the purpose of phablet ui for me. Personally, I changed to a smaller dpi (for a smaller status bar - 195) and removed the navigation bar with the qemu.hw.mainkeys switch. I mainly navigate thru gestures (using GMD Gesture Control) anyway.
Again, you're correct. But when starting out on a freshly flashed rom, some might happen to skip the part where they connect to the wifi or connect their google account. Besides, I've seen Play being hesitant to install and update on it's own - sometimes it requires you to launch it before you get update notifications and automated app downloads which requires a launcher. I want the instructions to be as foolproof as possible. That's why I'll be making a separate flashable zip with a custom home and keyboard, just in case.
On that topic, do you know anything about scripting? I'm having trouble with the update script. Check out the first post.
You can try this note 8 samsung keyboard, it work on both tablet and phablet ui.
http://forum.xda-developers.com/showthread.php?t=2228836
Sent from my GT-P6800 using XDA Premium 4 mobile app
paranoiadk said:
DXMD3 Stock Jelly Bean Phabletized!​
DISCLAIMER TIME:
First thing's first: I am not a chef, nor am I a developer of any sort. This was just an experiment and it worked. All I'm doing is sharing the results and the method of achieving them.
Also, I am in no way responsible if you mess up your device. That said, these modifications are mostly harmless and reversible, if you follow the instructions to the letter. (Worst case scenario: You flash stock JB again or restore a nand backup and you're safe.)
Oh and your device must be rooted. You can't go around changing things if it's not.
I do need a bit of help with some things, you can read the help wanted section at the bottom of the post,
If you're still interested, read on.
INTRO SPEECH:
I've always wanted the phablet experience on my 7.7, but all of the roms I've tried had imperfections (if ever so slight). If any developers are reading this, please do not take this as an insult. Your roms are wonderful masterpieces. I admit I couldn't even begin to understand how much knowledge and hard work is poured into them. I just wanted a 100% daily driver to have and to hold, meaning as few updates as possible (oh the irony). The closest I could find to a perfect rom was the PAC rom by @daniel_hk, but it always started acting out after a couple of weeks. Might have also been my apps or a combination of apps that did this, I don't know. The customization options on PAC are… It's simply amazing. If you're up for it, do check it out in the development thread. Out of all the roms I've tried, I liked PAC the best. That was a message from our (non)sponsors (my personal opinion). Then I tried E-Robot, which is almost stock – I'd say it's a Note 8 rom modified for our 7.7. But it still didn't feel right. I went back to the stock JB rom and started thinking I could simply alter build.prop's dpi setting and get phablet on stock JB. I was half-right. I did alter it and got phablet mode, but a lot of apps stopped working, a few of them crucial (phone, contacts, …). So I started replacing those apps with apps from the E-Robot rom. And it worked. I've identified and replaced most of the apps and the rom is very smooth. I dare say it's even smoother than E-Robot.
List of apps that need replacing:
- Accuweather
- Most mini apps
- Pen memo
- Camera
- Gallery
- Calculator
- S Planner / Calendar
- Phone
- Contacts
- TouchWiz Launcher
- Task manager
- Memo (text memo)
List of apps I haven't yet found replacements for (HELP WANTED, see below):
- Samsung keyboard
- Reader's hub
APPS YOU'LL NEED:
I like ES File Explorer the most, you can use other file managers if you like. LINK
I find it easiest to flash roms with Mobile ODIN. LINK
If you're not interested in purchasing Mobile Odin, you can look it up on XDA forums. It's available for free.
7zip. You'll need to unzip the package. LINK
APP SUBSTITUTION PACKAGE:
LINK
Please, do not mirror this as these instructions are not yet 100% complete.
INSTRUCTIONS:
Read first. Then apply.
1) Get the stock DXMD3 Jelly Bean on www.samfirmware.com
2) I can't stress this enough: Back up all of your files on your internal storage. All of them. I will not be blamed for the loss your lolcat collection.
3) Flash it with Mobile Odin and choose to root the rom and inject superuser
4) A custom recovery is probably a good idea. Use either CWM or TWRP and make a full system backup. Just in case. Easiest to flash with Odin.
5) Unzip the "PHABLETIZE!" package to your tablet internal storage.
6) Default home to a custom launcher. Just in case. I used Apex. (You'll be replacing TouchWiz, remember?) Also, Install a custom keyboard. The stock keyboard isn't happy with 213dpi. I use Jelly Bean Keyboard.
7) Turn on "Root Explorer" mode in ES File Explorer (side menu, accessible from the top left bluish globe icon)
7a) Alternatively, you can use LCDDensity from Play. I haven't tested this personally. This is a recommendation from obbeguin. Skip step 8.
8) Make a backup of your build.prop file. Edit the build.prop to be used by the system (/system/build.prop): "ro.sf.lcd_density=160" changed to "ro.sf.lcd_density=213" (the one between rild.libargs and ro.lcd_brightness)
9) Restart and marvel at the half-finished glory of phablet mode.
10) Here is where you would see TouchWiz crash and you'd be stuck if you hadn't defaulted to a custom launcher in step 6. Luckily, you did.
11) Open ES, navigate to /system/app/ and start replacing the apps from the package. Yes, manually. I don't know how to make a CWM flashable package, so again, yes, manually. (HELP WANTED) I'd also recommend backing up the original files (just copy them to a backup folder on your storage). All apps should replace just fine, since they crash when launched anyway. You should also backup and delete their odex counterparts. Do not replace those.
12) I haven't included the camera and gallery apks. The gallery wasn't working well and I found a replacement here. Not sure yet if I can hijack his files to use in my zip so I'm posting a link for the time being. Also, I've found I like the SGS4 dialer and messaging app much better than the tablet apps from Note8. Look for it here.
13) Restart
14) If you have any issues with any of the apps, first try clearing their caches and data or wiping dalvik cache and cache in recovery mode.
I'd also recommend SkyHigh's custom kernel. I like it and it allows me to use ExFat on my external SD card. It's no NTFS, but large files (>4GB) get across just fine and it works on my computer and in my tablet without a hitch.
And for that extra "Startled Android" effect, I went with Xposed framework and per-app dpi settings. Not quite paranoid but does the job ok.
If you like the Samsung keyboard, you might want to give this one a go. Suggested by @stenny
HELP WANTED SECTION:
As written before, I need some help. It would be tons easier to just flash a CWM package over the stock JB and get phablet mode. Trouble is, I can't build it. Getting around to this one. Got around to it. Now I'm having scripting problems. If anyone is script savvy, please check out the code below.
I have no clue where to find a replacement Reader's hub app – one that works on 213dpi instead of 160dpi If anyone knows where I could find it, please leave a comment.
Don't hesitate to leave your feedback in the comments.
Unhide to see the script code.
#!/sbin/sh
# remove old backup
[ -d /sdcard/phabletize/backup ] && rm -r /sdcard/phabletize/backup
# backing up original apk
echo "Backing up /system/app/"
busybox mkdir -p /sdcard/phabletize/backup/system/app
busybox mkdir -p /sdcard/phabletize/system/app
cd /sdcard/phabletize/list/
for f in $(ls)
do
echo "Processing $f"
busybox cp /system/app/$f /sdcard/phabletize/backup/system/app/
busybox rm /system/app/$f
done
echo "Backups done for system apps"
# backing up original build.prop
echo "Backing up /system/build.prop"
cp /system/build.prop /sdcard/phabletize/backup/system/build.prop
echo "Backup done for build.prop"
# delete odex files and old apk files
echo "Deleting original odex and apk files from /system/app"
cd /sdcard/phabletize/list
for f in $(ls)
do
echo "Processing $f"
busybox rm /system/app/$f
done
echo "Original odex and apk files deleted. Don't worry. You still have your backup."
# for each of the system apps needing processed
echo "Copying modified apks to /system/app"
cd /sdcard/phabletize/system/app
cp -p * /system/app
echo "Finished copying modified apks"
# copy modified build.prop
echo "Copying modified build.prop to /system"
cd /sdcard/phabletize/system
cp -p build.prop /system
echo "Finished copying modified build.prop"
# the end
echo "All done. Enjoy you Phabletized 7.7 JB"
The above left my tablet in a bootloop stuck on the bootanimation turned landscape and distorted/stretched. I was trying to accomplish the following: back up the original apks and build.prop file to a folder on the sdcard. The list of apks needing backups would be determined from the list of apks in the replacement folder. And copying the replacement apks and build.prop file to the proper folder in /system.
I hope I've proofread this enough times so that it's decent...
Click to expand...
Click to collapse
Didn't work for me, lots of apps couldn't be pasted in system/app even after R/W, I even tried to do it in TWRP and it still failed
vivalamoza said:
Didn't work for me, lots of apps couldn't be pasted in system/app even after R/W, I even tried to do it in TWRP and it still failed
Click to expand...
Click to collapse
My suggestions:
You sure you're rooted?
You might have free space issues. Try disabling and uninstalling the apps from titanium backup and then pasting the apps in place. Samsung roms are pretty huge and fill the available space almost to the limit.
Pasting sometimes didn't work for me when the apps were running. Try closing them from a task manager. I always did the modding after a fresh boot on a fresh rom.
I hope this is helpful.

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 .

Categories

Resources