[Q] Is it possible to remove Bloatware with CWM Recovery ? - General Questions and Answers

I need to buy a Chinese phone and add gapps on it. No problem to do it since I can flash gapps package from CWM Recovery (custom one...) without rooting my phone...
I would like to know if there is any way to remove Bloatware with CWM (or other custom recovery) ?
Since Custom recovery have root access, it should be possible to remove anything unwanted, this without having to root the ROM itself... I am right?
All thread I have found recommends to...
Root, use application like Titanium Backup to do the clean and finally unroot (if root is not wanted)
or
Disable application from "Application management" menu...
I can't use first solution because AirWatch (Mandatory in our company) will not work anymore (Device compromised) even after Full unroot from SuperSu (I made the test) and I don't like the second solution (keeping the bloatware on the phone even if disabled)…
Any idea ? Thanks in advance and sorry if this topic as already been discussed... I didn't find it!

You can make a flashable zip to remove bloatware

utsha.saha.58 said:
You can make a flashable zip to remove bloatware
Click to expand...
Click to collapse
Thanks but honestly speaking I have no idea how to do that...
Any help, sample or link will be appreciated even if I will search on my side.

FredFromShanghai said:
Thanks but honestly speaking I have no idea how to do that...
Any help, sample or link will be appreciated even if I will search on my side.
Click to expand...
Click to collapse
I found it : http://forum.xda-developers.com/showthread.php?t=1721680
Thanks for the clue, I will dig this way!

Read this command " delete("/system/app/calendar.apk"); "
Add this command in your updater script and make a flashable zip with that updater script. Flashing it will delete the calendar app. Add more delete command lines in the updater script to remove those boalt wares
---------- Post added at 12:21 PM ---------- Previous post was at 12:20 PM ----------
Delete("/system/app/calendar.apk");
---------- Post added at 12:23 PM ---------- Previous post was at 12:21 PM ----------
If you need more help regarding this feel free to ask!

Thanks utsha.saha.58 !
One more question...
To get an apk list I want to first make a flashable zip with something equivalent to "dir *.apk>c:\AllApk.tx" in DOS in order to get a txt file on my SD card...
Then I can just copy and past all I want remove and create a list of delete command in a second flashable zip.
Do you know how to do that? Or is there some application that can do the trick ?

I just now remembered a better idea, download aroma file manager, flash it via cwm and delete anything you want! It's a file manger for recovery mode

Works great! Thanks!

Awesome

it will be big help

Related

[Resolved] Titanium Backup saying not enough space

I've flashed a new ROM and restored the app from Google Play.
Among them, Titanium Backup and it's Pro key.
First I've saw the error "not enough free storage".
Then uninstalled both the app and the key. Reinstalled.
Wipe dalvik cache and cache...
Nothing works more.
I can install but it always shown Version Pro (donation) - Thank you! but I cannot backup anything.
P.S. I do not have an .odex file in system\data folder (as suggested in other threads).
What can I do?
Technical said:
I've flashed a new ROM and restored the app from Google Play.
Among them, Titanium Backup and it's Pro key.
First I've saw the error "not enough free storage".
Then uninstalled both the app and the key. Reinstalled.
Wipe dalvik cache and cache...
Nothing works more.
I can install but it always shown Version Pro (donation) - Thank you! but I cannot backup anything.
P.S. I do not have an .odex file in system\data folder (as suggested in other threads).
What can I do?
Click to expand...
Click to collapse
Find the solution: http://forum.xda-developers.com/showpost.php?p=45457317&postcount=14
tobymacfreak said:
Follow these steps to fix...
1.) Open Preferences and choose backup folder location
2.) Select Detect and choose whole device
3.) Choose the option /storage/emulated/legacy
4.) Select Use the current folder
5.) Benefit
Click to expand...
Click to collapse
Thanks xda forum.
Technical said:
Find the solution: http://forum.xda-developers.com/showpost.php?p=45457317&postcount=14
Thanks xda forum.
Click to expand...
Click to collapse
having the same issue, but not being given the option to select a different directory..
faaaaq said:
having the same issue, but not being given the option to select a different directory..
Click to expand...
Click to collapse
It's on the TB Preferences: Backup location.
Technical said:
It's on the TB Preferences: Backup location.
Click to expand...
Click to collapse
yes, thats where i was, but it did not detect the legacy location and give me that option like it normally does. Tried editing the post after I figured it out, but I had to wait 5 minutes then didnt care any more lol. In the screen where you select to scan or use current, the back button goes up a level in the directories, so I just had to manually navigate to the proper location
Do for me the job!
https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en_GB
Why not use root?
Vincho said:
Do for me the job!
https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en_GB
Click to expand...
Click to collapse
Sadly This did not help me either. It's a root app — why not use root power to write to the SD card?
---------- Post added at 03:26 PM ---------- Previous post was at 02:49 PM ----------
Technical said:
What can I do?
Click to expand...
Click to collapse
Several fixes have suggested so far and different fixes have helped different people. So here an additional option wich migth help.
I moved the backup folder from it's previous location to /storage/B3EC-1310/Android/data/com.keramidas.TitaniumBackup/Backup using adb shell which is a lot faster then using a file manager which moves every file in a directory separately.
The B3EC-1310 is the ID of the SD card which will be different for every SD card.
Then I changed the location in Titanium Backup itself as well. That works for now but is still not perfect. I guess I need to change from the AOKP rom to a rom which does not protect the SD card.
AtlanDaGonozal said:
Sadly This did not help me either. It's a root app — why not use root power to write to the SD card?
---------- Post added at 03:26 PM ---------- Previous post was at 02:49 PM ----------
Several fixes have suggested so far and different fixes have helped different people. So here an additional option wich migth help.
I moved the backup folder from it's previous location to /storage/B3EC-1310/Android/data/com.keramidas.TitaniumBackup/Backup using adb shell which is a lot faster then using a file manager which moves every file in a directory separately.
The B3EC-1310 is the ID of the SD card which will be different for every SD card.
Then I changed the location in Titanium Backup itself as well. That works for now but is still not perfect. I guess I need to change from the AOKP rom to a rom which does not protect the SD card.
Click to expand...
Click to collapse
if i may know, what makes it imperfect? is there something bothering you during backup / restore?
and one more thank you for your help, its solution for me

[Q] "Couldnt capture screenshot"

Here's one for you boys,
Successfully rooted .77, LB on D6653 (thanks to zombiej79). Everything's running smoothly except for Screenshots. I get the "Content may be protected or the memory may be full" every time. Now some may think this isn't a big issue but i screenshot almost 20 times a day. its a major buzzkill.
Before you ask it's not while running an app its even on my homescreen/lockscreen. I've tried the following with no success:
- Downloading third party screenshot app with SU access
- Manually deleting the Pictures folder and sceenshots folder then recreating
- Wiping Change/Dalvik Cache
- Re-setting permissions in Recovery
If anyone has any idea's besides re-flashing it'd be greatly appreciated. If flashing is the only way can someone direct me to a guide on how to do it without re-rooting and downloading all my apps etc.
Just a thought have you flashed latest relese recovery? Maybe a r/w problem get root browser and try and set system to r/w see if it works
zombiej79 said:
Just a thought have you flashed latest relese recovery? Maybe a r/w problem get root browser and try and set system to r/w see if it works
Click to expand...
Click to collapse
Yeah! 2.8.1 nut's dual recovery? I've tried the whole r/w and no success.
The weird thing is I can't seem to delete the Pictures folder. It just comes back instantly every time after a refresh and I can't make another one (it doesn't tell me i can't it just disappear/reappears after i create/delete it), which makes me assume its the permissions, but all other r/w features work perfectly.
Do you save them to internal or sd?
---------- Post added at 11:46 PM ---------- Previous post was at 11:46 PM ----------
Im not a dev by any means lol but I know enough to get by
---------- Post added at 11:57 PM ---------- Previous post was at 11:46 PM ----------
Have you tried going to recovery and wiping cache?
---------- Post added 2nd February 2015 at 12:04 AM ---------- Previous post was 1st February 2015 at 11:57 PM ----------
Ok try this downkoad this app and install and run grant root and reboot then try screenshot again
---------- Post added at 12:04 AM ---------- Previous post was at 12:04 AM ----------
https://play.google.com/store/apps/details?id=nextapp.sdfix
https://play.google.com/store/apps/details?id=com.icecoldapps.screenshotultimate
Try this too sre if it can capture the screen
Okay the SD card fix did nothing, it's telling me everything already has the permissions. As for the screenshot app it worked, because it didn't save in the default location (/sdcard/pictures/screenshots) it saved in it's own app folder. Which brings me back to the fact I have no permissions in my internal storage. is their a way to change the Sony default screenshot save location?
It honestly has me stumped. Everytime i try to manually delete the folder @ sdcard/Pictures/Screenshots it will instantly re-create both folders it's self with a time stamp of 30/4/1970 and be non-writable.
Try settin your date and time manualy reboot and see what happens. Been trying to find something to help but not really sure. The folder have these permissions?
Only other thing I can think is reflash the. 77 zip dont wipe see if that corrects it. Wont lose any data that way
zombiej79 said:
Try settin your date and time manualy reboot and see what happens. Been trying to find something to help but not really sure. The folder have these permissions?
Click to expand...
Click to collapse
Solved.
So, I've narrowed it down to all Stock Xperia folders i can't change permissions or don't have permissions. Weird. but I've worked around it. I couldn't change/delete/rename or modify the folders without them suddenly re-appearing. But the system let me cut/move them (strange i know). so I've completely moved all folders to a trash folder and re-created new ones. and Bam. it works.
Here's a screenshot of my fully rooted working phone. Wish i could pay ya back for your efforts mate thanks!
Awesome man glad you got it worked out. No worries just happy to help thats how a Z3 should look

(MOD) Note 4 Lollipop Deodex/Mods (Dev-ed Only)

Instructions:
1. First you need to deodex your rom Deodex your Rom
I do offer a custom rom with all of these mods built in here MoROM
Here are all the other mods Individual. These WILL NOT work with stock rom without being DEODEXED FIRST. All of these are flashable in TWRP.
FLASHLIGHT QUICK TOGGLE
This will also add 3minit battery, disable Full battery notification, disable wireless charging notification and add app opps to the settings menu.
Flashlight.zip(flashable in TWRP).
If you would like these without 3minitbattery try this link
Flashlight W/out 3minitbattery
You must flash this after Flashlight Quicktoggle
5-way Reboot Menu
5-way Reboot Menu(flashable in TWRP)
Wifi Tether Mod
Wifi Tether Mod
Enable Native Call Recording
The recording will be stored in internal storage /storage/sdcard0/call
feature.xml
Disable Increasing Ringer
Disable Increasing Ringer
Disable Safe Volume Warning
Disable Safe Volume Warning
Disable IME Switcher Notification
Disable IME Switch
Hide Brightness Bar
Hide Brightness Bar
Thanks to @joeldroid
Thanks to @tdunham
Thanks to www.3minit.com
Anyone tried and had success with this......2x phone hung up so I don't know what's up
I am trying this again....I deodexed myself with version 2.5 because 2.4 would not work at all
EDIT* I deodexed successfuly with the batch deodexer in the OP, and used the ZIP you have and replaced with my deodexed files. Android Upgraded and I can tell it worked because it went from 101 to 320 as far as apps go. Booted first time with 0 issues. I am on DODOL launcher and have TouhWiz frozen.
Flashed the 5 way reboot it works!
FYI this process will drain your battery hard
bdorr1105 said:
I am trying this again....I deodexed myself with version 2.5 because 2.4 would not work at all
EDIT* I deodexed successfuly with the batch deodexer in the OP, and used the ZIP you have and replaced with my deodexed files. Android Upgraded and I can tell it worked because it went from 101 to 320 as far as apps go. Booted first time with 0 issues. I am on DODOL launcher and have TouhWiz frozen.
Flashed the 5 way reboot it works!
FYI this process will drain your battery hard
Click to expand...
Click to collapse
Can you post the ZIP that you used that worked? I've currently been sitting at the red Verizon screen for about 15 minutes and am starting to lose hope. Giving it about another 5 before I boot back into TWRP and restore my backup.
montesn said:
Can you post the ZIP that you used that worked? I've currently been sitting at the red Verizon screen for about 15 minutes and am starting to lose hope. Giving it about another 5 before I boot back into TWRP and restore my backup.
Click to expand...
Click to collapse
I Didn't use this one, I don't know whats causing the issues, it may be the other mods in addition. I used Joel Droids Batch Deodexer myself. I downloaded the zip from this thread and deleted the system app/priv-app and framework folders inside of it, and replaced it with the ones I deodexed myself.
1. You just go to your system folder with Root Explorer and copy priv-app, framework, app to your SD Card.
2. Copy those 3 folders from your SD Card to your Computer into a folder on the desktop. Name it whatever you want. I named it myrom
3. Run the Deodex program.
4. When it's finished, copy the 3 folders inside the my ROM folder and place it in the Zip folder you downloaded from this OP.
5. Reboot to recovery
6. Wipe Cache / Dalvik Cache
7. Flash the Zip
8. Wipe Cache / Dalvik Cache
9. Reboot
10. it will take about 15-30 minutes total to reboot
LET IT BOOT FIRST BEFORE DOING ANY INDIVIDUAL MODS
Flash the 5 way reboot individually if you want that. I did and even that took a long time to reboot. All is good on my end and I am deodexed
Just to be clear, when you say the sip from this thread, you're saying you started with "DeodexedLPModified.zip"?
Will doing all of that remove all of the modifications the OP originally touted? I was mainly attempting this for Mobile Hotspot.
montesn said:
Just to be clear, when you say the sip from this thread, you're saying you started with "DeodexedLPModified.zip"?
Will doing all of that remove all of the modifications the OP originally touted? I was mainly attempting this for Mobile Hotspot.
Click to expand...
Click to collapse
yes that same zip......you can individually flash the hotspot...all you have to do is get this to boot deodexed
I'm pretty sure all the mods individual will work if you deodex yourself. I'm working on making a full deodexed rom With the mods preinstalled. Lollipop is just being difficult.
balla48801 said:
I'm pretty sure all the mods individual will work if you deodex yourself. I'm working on making a full deodexed rom With the mods preinstalled. Lollipop is just being difficult.
Click to expand...
Click to collapse
What do you use to make a ROM, I want to do exactly that man I just don't know the steps to actually do that. Any help would be greatly appreciated
bdorr1105 said:
What do you use to make a ROM, I want to do exactly that man I just don't know the steps to actually do that. Any help would be greatly appreciated
Click to expand...
Click to collapse
archikitchen in ubuntu. You should be able to search and find everything to do it that way.
Followed your steps to the letter and ended up sitting at the red "Verizon" screen for over a half hour with no movement.
montesn said:
Followed your steps to the letter and ended up sitting at the red "Verizon" screen for over a half hour with no movement.
Click to expand...
Click to collapse
Who's steps, mine or the OP?
bdorr1105 said:
Who's steps, mine or the OP?
Click to expand...
Click to collapse
Sorry, meant to quote you, but followed the 8 steps you gave me. Didn't get any errors through any of the processes, but the phone wouldn't complete the boot.
montesn said:
Sorry, meant to quote you, but followed the 8 steps you gave me. Didn't get any errors through any of the processes, but the phone wouldn't complete the boot.
Click to expand...
Click to collapse
Absolutely strange....I had to do this several times until it finally worked...it worked first time tho when I ran the deodex tool and replaced all the files from the OP zip
bdorr1105 said:
Absolutely strange....I had to do this several times until it finally worked...it worked first time tho when I ran the deodex tool and replaced all the files from the OP zip
Click to expand...
Click to collapse
Unless I'm missing some unexpressed nuance in your seemingly very straightforward directions, that's exactly what I did.
montesn said:
Unless I'm missing some unexpressed nuance in your seemingly very straightforward directions, that's exactly what I did.
Click to expand...
Click to collapse
Ok so I added 2 steps and it makes it 10, after you flash the Zip do another dalvik and cache wipe, then reboot
After you run the zip.....wipe cache and do not flash any individual mods until you get a successful boot
bdorr1105 said:
Ok so I added 2 steps and it makes it 10, after you flash the Zip do another dalvik and cache wipe, then reboot
Click to expand...
Click to collapse
Attempting it again right now. Thank God for Quickcharge 2.0, cause that last attempt absolutely killed my battery. I'm back at 92% now.
---------- Post added at 11:25 AM ---------- Previous post was at 11:10 AM ----------
bdorr1105 said:
Ok so I added 2 steps and it makes it 10, after you flash the Zip do another dalvik and cache wipe, then reboot
After you run the zip.....wipe cache and do not flash any individual mods until you get a successful boot
Click to expand...
Click to collapse
Just hit 15 minutes on the Verizon logo....
---------- Post added at 11:33 AM ---------- Previous post was at 11:25 AM ----------
bdorr1105 said:
Ok so I added 2 steps and it makes it 10, after you flash the Zip do another dalvik and cache wipe, then reboot
After you run the zip.....wipe cache and do not flash any individual mods until you get a successful boot
Click to expand...
Click to collapse
About to hit 25 minutes at the Verizon logo. If I hit 30, I'm pulling the battery.
---------- Post added at 11:39 AM ---------- Previous post was at 11:33 AM ----------
bdorr1105 said:
Ok so I added 2 steps and it makes it 10, after you flash the Zip do another dalvik and cache wipe, then reboot
After you run the zip.....wipe cache and do not flash any individual mods until you get a successful boot
Click to expand...
Click to collapse
No luck. Restoring from a TWRP backup now.
montesn said:
Attempting it again right now. Thank God for Quickcharge 2.0, cause that last attempt absolutely killed my battery. I'm back at 92% now.
---------- Post added at 11:25 AM ---------- Previous post was at 11:10 AM ----------
Just hit 15 minutes on the Verizon logo....
---------- Post added at 11:33 AM ---------- Previous post was at 11:25 AM ----------
About to hit 25 minutes at the Verizon logo. If I hit 30, I'm pulling the battery.
---------- Post added at 11:39 AM ---------- Previous post was at 11:33 AM ----------
No luck. Restoring from a TWRP backup now.
Click to expand...
Click to collapse
Not sure what to tell you....I had a crap ton of problems to.....but I put my phone down and got a shower.....I couldn't even look
bdorr1105 said:
Not sure what to tell you....I had a crap ton of problems to.....but I put my phone down and got a shower.....I couldn't even look
Click to expand...
Click to collapse
So at this point is there no way to get the tether app to work other than getting your system deodexed? I know that it was just a matter of modifying a SQL databas, but I'm assuming that's changed.
montesn said:
Attempting it again right now. Thank God for Quickcharge 2.0, cause that last attempt absolutely killed my battery. I'm back at 92% now.
---------- Post added at 11:25 AM ---------- Previous post was at 11:10 AM ----------
Just hit 15 minutes on the Verizon logo....
---------- Post added at 11:33 AM ---------- Previous post was at 11:25 AM ----------
About to hit 25 minutes at the Verizon logo. If I hit 30, I'm pulling the battery.
---------- Post added at 11:39 AM ---------- Previous post was at 11:33 AM ----------
No luck. Restoring from a TWRP backup now.
Click to expand...
Click to collapse
If you want, navigate to /system and copy these folders with Root Explorer to your external SD card in a folder you create and name it System
1. app
2. framework
3. priv-app
Then copy that folder from your SD card to your Computer Desktop. Share that folder via Dropbox. Send me a link I will download it and deodex it for you. I will send you the completed zip. It's important that you pull them directly from your phone.....
I will send you the flashable zip file....I don't really ever give up until I find a solution

G900V_OD5-OE1_Batch_DeBloater (Windows, Linux, Mac)

**Root access required**
Download:
- G900V_OD5-OE1_Batch_DeBloater
- G900V_OE1_debloat_linux_mac by @klabit87
Instructions:
1. Extract the G900V_OD5_Batch_DeBloater folder onto your desktop.
2. Turn on USB Debugging from Developer Options and connect your device to your *PC.
3. Double-click DeBloater.bat to launch the program.
4. Select "Light," "Medium," or "Extreme" **debloating and press Enter.
5. Grant Root Access if primpted by your device and press Enter to begin.
6. Once complete press Enter to return to the Main Menu and select ***Reboot Device.
7. Last, select Exit from the main menu to end your session. Done!
* Make certain that you have Samsung Drivers installed.
** Use notepad++ or other text editor to view/edit the lists of removed apps in the DeBloater.bat file.
*** It is normal for apps to begin force closing prior to rebooting your device.
Very nice. Took the guesswork out for me.
The Mobile Hotspot icon is part of Settings. Is there any way to safely remove this icon?
Muniz here is the linux/mac version of your script.
Add to OP if you wish. G900V_OD5-OE1_debloat_linux_mac.zip
MD5: 04836594e91658fdb62761c87e37745a
klabit87 said:
Muniz here is the linux/mac version of your script.
Add to OP if you wish. G900V_OD5-OE1_debloat_linux_mac.zip
MD5: 04836594e91658fdb62761c87e37745a
Click to expand...
Click to collapse
Thanks, added to OP.
I converted this to a flashable zip with a script in it, but the setup wizard gets really pissed off. Anyone know how to disable that? I've looked around and nothing I've found thusfar works. I'd like to be able to modify it so I can flash it without having to boot the ROM first.
Thanks.
Nevermind, I wasn't deleting SamsungSetupWizard.apk. If I do that, it's fine.
The 'extreme' version is attached. ACtually, don't download it yet. Well, you can, but it's not the one I Wanted to upload. I think it's still on my sdcard. I'll get to it later.
@muniz_ri, would you please add the VZW Accessories and YouTube apps to the script? I'd recommend they go under Light and Medium, respectively.
I'll of course be installing YouTube from the Play Store, but it's nice to be able to move the app to SD once it's out of ROM, plus it's not an essential app that's required immediately following a wipe.
xxxstar said:
@muniz_ri, would you please add the VZW Accessories and YouTube apps to the script? I'd recommend they go under Light and Medium, respectively.
I'll of course be installing YouTube from the Play Store, but it's nice to be able to move the app to SD once it's out of ROM, plus it's not an essential app that's required immediately following a wipe.
Click to expand...
Click to collapse
Whenever I have the time to really go through it all, I will release a doubleplusextreme version that, ideally, will leave you with a play store and some tools. heh. What I'm going to try to do is split groups of files out from the original ROM into their own flashable zips.
OK, so I've used Extreme twice and both times, afterward, if I go to recovery, wipe cache/wipe data and reboot, the Setup app fails to complete successfully. Setup fails right after Google account setup and the app keeps restarting preventing getting to the homescreen.
Something in Extreme is not stable.
So far I only know how to get out of this loop by odin to 4.4.4, towelroot, flash OV5, then OE1 and try again.
xxxstar said:
OK, so I've used Extreme twice and both times, afterward, if I go to recovery, wipe cache/wipe data and reboot, the Setup app fails to complete successfully. Setup fails right after Google account setup and the app keeps restarting preventing getting to the homescreen.
Something in Extreme is not stable.
So far I only know how to get out of this loop by odin to 4.4.4, towelroot, flash OV5, then OE1 and try again.
Click to expand...
Click to collapse
The debloater has only been tested after the device has gone through the setup wizard.
Can anyone else validate that the extreme option makes the device unstable after a factory data reset? thx
xxxstar said:
OK, so I've used Extreme twice and both times, afterward, if I go to recovery, wipe cache/wipe data and reboot, the Setup app fails to complete successfully. Setup fails right after Google account setup and the app keeps restarting preventing getting to the homescreen.
Something in Extreme is not stable.
So far I only know how to get out of this loop by odin to 4.4.4, towelroot, flash OV5, then OE1 and try again.
Click to expand...
Click to collapse
The problem with Extreme is that it doesn't delete both setup wizards. You can use the flashable zip I posted instead--that should work.
---------- Post added at 02:49 AM ---------- Previous post was at 02:46 AM ----------
muniz_ri said:
The debloater has only been tested after the device has gone through the setup wizard.
Can anyone else validate that the extreme option makes the device unstable after a factory data reset? thx
Click to expand...
Click to collapse
Yeah, I vouch for that. The problem is that it doesn't delete SamsungSetupWizard _and_ SetupWizard, so one tries to invoke the other, fails, and restarts.
The flashable zip I uploaded works--unelss I uploaded the wrong one from my mess of a 'work' directory.
xxxstar said:
@muniz_ri, would you please add the VZW Accessories and YouTube apps to the script? I'd recommend they go under Light and Medium, respectively.
I'll of course be installing YouTube from the Play Store, but it's nice to be able to move the app to SD once it's out of ROM, plus it's not an essential app that's required immediately following a wipe.
Click to expand...
Click to collapse
blair.sadewitz said:
The problem with Extreme is that it doesn't delete both setup wizards. You can use the flashable zip I posted instead--that should work.
---------- Post added at 02:49 AM ---------- Previous post was at 02:46 AM ----------
Yeah, I vouch for that. The problem is that it doesn't delete SamsungSetupWizard _and_ SetupWizard, so one tries to invoke the other, fails, and restarts.
The flashable zip I uploaded works--unelss I uploaded the wrong one from my mess of a 'work' directory.
Click to expand...
Click to collapse
Thanks, I have added the setupwizard, youtube and accessories apps.
I can confirm that Extreme now accepts a factory data reset. Thanks!! This really is a great time saver.
A couple of thoughts on the script execution: I find I have to run it twice to get the list of apps to scroll in the command window and to fully clear out the apps from the device. May be associated with the timing of the USB debugging request on the device and when the commands are sent.
For future feature, it would be helpful to have a popup on the device to indicate completion and status, e.g. "x of y apps successfully deleted", etc. I don't even know if that's possible via adb.
There could be a level above "Extreme", which is basically removal of anything which is not integral to the system booting and, let's say, running apps you install which don't require Samsung-specific features/support.
Maybe call it "Ludicrous" ("Ludicrous Speed" from "Spaceballs") or "Slash-and-burn"? It should leave you with a play store and the phone app, maybe.
xxxstar said:
I can confirm that Extreme now accepts a factory data reset. Thanks!! This really is a great time saver.
A couple of thoughts on the script execution: I find I have to run it twice to get the list of apps to scroll in the command window and to fully clear out the apps from the device. May be associated with the timing of the USB debugging request on the device and when the commands are sent.
For future feature, it would be helpful to have a popup on the device to indicate completion and status, e.g. "x of y apps successfully deleted", etc. I don't even know if that's possible via adb.
Click to expand...
Click to collapse
The tool will only show an message/error if there was an issue deleting a file, so if you go from starting the process to seeing "done!" without any error message in between you can assume there were no errors and all files were successfully deleted.
Any issue with updates in the future?
Will there be any issue with updates in the future if I am debloated? I remember debloating a while back causing all sorts of issues.
mat2332 said:
Will there be any issue with updates in the future if I am debloated? I remember debloating a while back causing all sorts of issues.
Click to expand...
Click to collapse
Yes, ota updates will fail.
muniz_ri said:
Yes, ota updates will fail.
Click to expand...
Click to collapse
Is there a way to "rebloat" with your program?
Sent from my SM-G900V using Tapatalk
muniz_ri said:
The debloater has only been tested after the device has gone through the setup wizard.
Can anyone else validate that the extreme option makes the device unstable after a factory data reset? thx
Click to expand...
Click to collapse
Verified. I did the extreme debloat and then a factor reset. Setup failed after logging into gmail. Only fix was to go back to NCG and root and flash back to OE1
I have a flashable zip that I have tested, and it works, but only if I use Safestrap or tell Flashfire (by using "mount common paths") to mount /system beforehand.
https://www.androidfilehost.com/?fid=24052804347772843
There has to be some stupid error in there. I also attempted to do what you did in the ROM zip with wipedata.sh, and it still doesn't work. ARGH. Feeling pretty stoked at failing to run like three commands.
---------- Post added at 09:16 AM ---------- Previous post was at 09:15 AM ----------
speedycuban said:
Verified. I did the extreme debloat and then a factor reset. Setup failed after logging into gmail. Only fix was to go back to NCG and root and flash back to OE1
Click to expand...
Click to collapse
Both setup wizards have to be deleted. The batch files were updated, I think.
---------- Post added at 09:55 AM ---------- Previous post was at 09:16 AM ----------
Oh, also, there is more stuff to delete, e.g. all of the voices for SVoice. No sense keeping that around if it's deleted. There's plenty more besides that.

[Q] Modify OTA Install Script

With the news that Google will be releasing monthly OTA updates, I am wondering if we can create a method to apply OTA updates on rooted/modified devices (e.g. modify the update.zip itself to bypass whatever checks it performs)?
I run stock, but with root, xposed, and many system applications removed. Returning to 100% stock each month, updating, then re-modifying is a tedious process that I am not looking forward to.
Does anyone have experience with how the OTA updates work? Is it even possible to modify the update.zip to remove the check for a stock /system?
See post 4055 by @efrant, http://forum.xda-developers.com/showthread.php?p=62311056
Sent from my Nexus 9 using XDA Free mobile app
Yes it is possible to modify the script. You will have to browse through it, delete the assert lines that pertain to each system file you modified, and also delete any patch and permission lines for each of the files you modified.
So as you can see, it is much easier to just flash the system and boot images when they are posted, then make your changes (root, Xposed, etc.), rather than modifying the OTA script.
Sent from my Nexus 5 using Tapatalk
Thank you both, definitely easier just to flash the factory image and re-modify. I'll have to make my own update.zip to automate the process for future updates.
I wonder if Google will be releasing new factory images for each OTA; I hope and assume so.
So we have to flash only system.IMG and boot.IMG from the latest factory? Only these 2 files?
Tnx
---------- Post added at 02:26 PM ---------- Previous post was at 02:25 PM ----------
I have only root....
ironia. said:
So we have to flash only system.IMG and boot.IMG from the latest factory? Only these 2 files?
Tnx
---------- Post added at 02:26 PM ---------- Previous post was at 02:25 PM ----------
I have only root....
Click to expand...
Click to collapse
Yes since only boot/recovery/system have changed.
So done
Strange that ota notification is still here after first reboot.
Installed it and now is gone

Categories

Resources