yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 5] muniz_ri:
**Root access required**

Download:

- G900A_OC4-OF2_Batch_DeBloater

Instructions:

1. Extract the G900A_OC4_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 DeBloater.bat file.

*** It is normal for apps to begin force closing prior to rebooting your device.
[AT&T Samsung Galaxy S 5] Player04:
Thanks!!!!!!!!!!!!!!!!!!!!!
[AT&T Samsung Galaxy S 5] muniz_ri:
No worries, use it myself and makes it easy.
[AT&T Samsung Galaxy S 5] shaklee3:
Can you specify what this actually removes? Thanks.
[AT&T Samsung Galaxy S 5] muniz_ri:
Use notepad++ or other text editor to see the lists in the debloater.bat file.
[AT&T Samsung Galaxy S 5] shaklee3:
Thanks!
[AT&T Samsung Galaxy S 5] ikerex:
I want to try this debloater.....but I use the Samsung Extreme Power Saver mode often. Will this remove any app/services that are necessary for that to function?? Thanks.
[AT&T Samsung Galaxy S 5] markber:
Nice work [MENTION=4708661]muniz_ri[/MENTION], how were these lists (Light, Medium, Extreme) defined?
[AT&T Samsung Galaxy S 5] i1135t:
I don't think it does. I can still turn regular & ultra power save mode on/off without any weird errors. Be warned using the extreme debloat as in the script it removes the GoogleContactsSync and GoogleCalendarSync. Just edit the batch file and remove the two and save before you run. Found out the hard way after the fact why my Google contacts were not syncable after customizing everything. If you've already run the that extreme option in debloater you will have to reflash the ROM and reconfigure it all form scratch.

Anyways, great contribution OP as it has given new life to my S5's battery. Now lasts much longer and runs great!
[AT&T Samsung Galaxy S 5] kdahlstrand:
Can this be used with OF3 also? Thinking yes, but thought I would ask.
[AT&T Samsung Galaxy S 5] jerrys0828:
Yes, it worked fine for me
[AT&T Samsung Galaxy S 5] olegy:
any change to get a similar one for G870A (active)?
[AT&T Samsung Galaxy S 5] digitalreflex:
I have a problem and am not sure how to fix it. I used this last night before bed and it worked great. This morning I realized I that the top level also wiped out my samsung acct and s health. So I tried to do a factor wipe and now I'm stuck in a loop where it keeps popping up "Unfortunately Samsung account has stopped" and I can't finish redoing the phone. I can add my gmail acct but it keeps going back to that when the popup occurs. I thought I could open Odin to just reflash - G900A_OF3_Stock_Rooted_Deodexed_ROM but I can't get Odin to see the phone and say "ready".

Any ideas?
[AT&T Samsung Galaxy S 5] meet2x4:
Phenomenal script, thanks! Wish I had time to make a GUI "front-end" based on this. Took me a bit to figure out which packages were exactly what.

Tip: If doing an extreme de-bloat, use TiBu to freeze com.samsung.android.securitylogagent(KNOX logging). It was causing battery drain due to wake locks since I removed just about every piece of Samsung bloat.
[AT&T Samsung Galaxy S 5] cybershawngates:
since we can't root lollipop, I found this program to be helpful: http://xdaforums.com/android/software/debloater-remove-carrier-bloat-t2998294 - here's my blocked apps list to import (right click and import).

EDIT: I did this and turned back on animations in developer settings (previously off to 0.5) - and a reboot. I think debloating things really helped speed up the phone - everything seems smoother.
[AT&T Samsung Galaxy S 5] ahbba:
just making sure, but will this work for samsung galaxy s5 SM-900A or is it for s5 active?
[AT&T Samsung Galaxy S 5] A0425A:
g900a=at&t s5
[AT&T Samsung Galaxy S 5] chiquito3:
Hello muñiz!

What is the line I have to delete from the light de-bloater option if I want to keep Finger Scan screeen unlocker?

I can't find the correct one to keep that feature.

---------- Post added at 11:16 AM ---------- Previous post was at 11:07 AM ----------

Forget abou it. It was the time settings for the lock to kick in.
[AT&T Samsung Galaxy S 5] thatguy222:
Terrific script. Just used it on OF3 and it worked beautifully. Thanks muniz!
[AT&T Samsung Galaxy S 5] the_dealer:
I can confirm that it will work for the g870a. I tried both oc5 and of3. Light, medium, and extreme all work. The extreme really impressed me with all the unnecessary bs that some debloaters miss.

[MENTION=4708661]muniz_ri[/MENTION] This works with g870a as well

Sent from my G870a on 38's.
[AT&T Samsung Galaxy S 5] Android0721:
Permanently remove?

I've run the extreme version of the debloate script and it work perfectly!! Unfortunately, the apps I removed (ANT, Maps, Hangouts, etc.) are reinstalling themselves. Is there a setting I need to enable/disable to keep them removed permanently?

Thanks!!
[AT&T Samsung Galaxy S 5] mschandler76:
If you've updated any of those apps it'll try and reinstall them after you debloat. Try and remove all of the updates for those apps.
[AT&T Samsung Galaxy S 5] Rakuu:
I made a bash version of this, it runs on the phone https://drive.google.com/file/d/0By1Zk8PEZHmhMnhhWC1Wc2JWZ3c/view?usp=docslist_api

Open terminal emulator, elevate to root, then do "sh /path/to/debloater.sh"

I've lightly tested this and honestly am not sure if its even functional, so no promises it won't completely screw you over [emoji14]
[AT&T Samsung Galaxy S 5] bogarty:
Most Samsung devices have a folder in "/system/app/" called "PreloadInstaller"(or something similar) that keeps a record of the bloat and reinstalls those apps on boot when they're missing. If you delete that folder, or at least move it somewhere else, then it should no longer reinstall any bloated apps. :)
[AT&T Samsung Galaxy S 5] atoddvr6:
For some reason, I am getting what you see on the attached image, Windows 7, then after displaying several lines I hit enter again and it goes back to the main menu. I've tried Light and Medium but not Extreme. The files are on my desktop and the latest Samsung USB drivers are installed and the phone is recognized by the computer.

At home I have Windows 10 and I can't download it because I get a Trojan Horse warning. Is anyone else having these issues?

[IMG="Debloater error"]http://i88.photobucket.com/albums/k166/atoddvr6/Screen%20Shot%202016-04-13%20at%208.52.49%20AM.png[/IMG]
[AT&T Samsung Galaxy S 5] robtfree:
hi where or can someone send me a direct link to G900A_OC4_Batch_DeBloater.rar ? everywhere i go it wants me to download other programs or apps. kinda like bloatware...would appreciate it much thanks seattle on beacon hill
[X 2014 General] AGISCI:
There have been many 5.1 full firmwares uploaded for XT1095, XT1096, XT1097, and XT1092:

http://www.filefactory.com/folder/dd05c058d3ff8dbe/?sort=created&order=DESC&show=25
[X 2014 General] AGISCI:
I have uploaded the XT1095 5.1 to my drive. The download should be much faster.

https://drive.google.com/file/d/0B1jFVjp5LrZrbjdxQWVYWjVRakk/edit?usp=docslist_api
[X 2014 General] Ownage516:
Wow, thanks!
[X 2014 General] Nicolae-Daniel:
Hey! Here is the one for XT1092 RETEU . You may add it to OP.

https://drive.google.com/file/d/0B-hH_8StWH5-VzMwRXdLZ0tTRWM/view?usp=sharing

I'll leave this here :

$ fastboot flash partition gpt.bin

$ fastboot flash motoboot motoboot.img

$ fastboot reboot-bootloader

$ fastboot flash logo logo.bin

$ fastboot flash boot boot.img

$ fastboot flash recovery recovery.img

$ fastboot flash system system.img_sparsechunk.0

$ fastboot flash system system.img_sparsechunk.1

$ fastboot flash system system.img_sparsechunk.2

$ fastboot flash system system.img_sparsechunk.3

$ fastboot flash system system.img_sparsechunk.4

$ fastboot flash system system.img_sparsechunk.5

$ fastboot flash system system.img_sparsechunk.6

$ fastboot flash system system.img_sparsechunk.7

$ fastboot flash modem NON-HLOS.bin

$ fastboot erase modemst1

$ fastboot erase modemst2

$ fastboot flash fsg fsg.mbn

$ fastboot erase userdata (not mandatory)

$ fastboot erase cache (not mandatory)

$ fastboot reboot
[X 2014 General] BungleMX:
How about those two, what happen if I don't flash them?

Some say there's a brick risk with those.
[X 2014 General] AGISCI:
It's only a risk if you are downgrading. If you are upgrading or flashing the same version, there is no risk.
[X 2014 General] trimax84:
Unless you're on Verizon's xt1096. The suspicion is that flashing those may preclude you from being able to use MoFo to flash a pre-rooted ROM. We have no other way to root, so I know people are planning to flash this file without gpt and motoboot included as a test. Here's hoping!

I'm uploading the Vzw file right now to share, since it took about 6 hours to download from that filefactory host.
[X 2014 General] AGISCI:
... Unrelated to what I said. We are talking about risking bricks, not about mofo.
[X 2014 General] trimax84:
Verizon 5.1 file: https://mega.co.nz/#!HtVThLzT
[X 2014 General] FunkyMcBain:
I see people saying no root on 5.1. I'm running 5.1 fully rooted. What am I missing
[X 2014 General] AGISCI:
No root on 5.1 VERIZON. There is root for xt1095, xt1092, xt1097, and maybe others.
[X 2014 General] trimax84:
Different carriers/devices. The Verizon Moto X currently does not have a 5.1 root or the ability to unlock the bootloader.
[X 2014 General] xSober:
Hi all,

Which firmware can I use to get 5.1 on my moto x xt1097?

I have 5.0.1 (claro Chile) 22.21.25.victara_retla.retla.en.01 amxcl
[X 2014 General] Haxxa:
MEGA Links need the decrytion key submitted with them - No one can download that file :/

I was going to modify the patch files and start some testing on the Verizon Moto X but I'll need the Firmware.
[X 2014 General] AGISCI:
You can use the 1097 from brazil retail or 1097 for movistar latin america. Another alternative would be to convert your firmware to 1095.

There will not be 5.1 for claro. Claro and Motorola had a fight. Claro no longer sells motorola phones, nor will be pushing firmware updates for them.
[X 2014 General] trimax84:
Whoops! Hi guys, I'm new here :p

https://mega.nz/#!HtVThLzT!5_3fSnkEq5fgiyxrSDODrl5Cr0lhrL6iutGPXYvV6qQ
[X 2014 General] JulesJam:
But very important info to those of us on the XT1096 nonetheless.
[X 2014 General] phillybizzle:
I am in desperate need of the 5.1 firmware for the XT1093 US Cellular ASAP
[X 2014 General] AGISCI:
http://www.filefactory.com/file/1fib372p0cbv/VICTARA_USC_XT1093_5.1_LPE23.32-21.3_cid9_CFC.xml.zip
[X 2014 General] newbienic:
Are you flashing these with mfastboot? Or Android SDK fastboot? I have a mac and would love to figure out how to restore my xt1095 without borrowing a PC. Thanks in advance! I should mention that I'm not asking for instructions on how to use fastboot on a mac, I'm pretty well versed in that, but moto has thrown me a curve ball with this whole moto fastboot thing...
[X 2014 General] Nicolae-Daniel:
No problem with the latest Android sdk. :)
[X 2014 General] newbienic:
Last thing, I just noticed you have a $ symbol before each command line... Is that necessary on a mac? I typically use ./fastboot and it works perfectly, but haven't tried it with my moto x on my Mac.
[X 2014 General] AGISCI:
No, the $ symbol is just to show you that it's a different command. You don't type the $.

Sent from my XT1095
[X 2014 General] rohithksaj:
Are u sure with that ????

Last time when I was on 4.4 and flashed original 4.4 ,I used these two lines ...but it showed failed.......
[X 2014 General] AGISCI:
What lines? I never said anything about lines! The bricks are caused by downgrading, because after the downgrade the partition table and bootloader can't be downgraded. Then when you try to take an OTA it bricks the device because the patition table and bootloader are wrong for the update.

The only true way to be safe after a downgrade is NOT take an OTA. If you want to go to a newer version after a downgrade, the safe way is flash via RSDLite or fastboot.

As far as the failed message, that just means it did nothing, it can't downgrade nor install the same version of partition or bootloader, so it does nothing. That is not what causes bricks, it is the OTA after a DOWNGRADE.

Sent from my XT1095
[X 2014 General] rohithksaj:
OK..thanks for the info..:):cool::D
[X 2014 General] AGISCI:
You're welcome. :)

Sent from my XT1095
[X 2014 General] newbienic:
Cool. Thank you very much. Everything went flawlessly. Now back to stock and used my Mac to do it! Happy guy... :)
[X 2014 General] greenturnedblue:
How can I flash the system.img if it is split up into 8 different files?
[X 2014 General] JulesJam:
you type 8 different commands just like what you quoted.
[X 2014 General] greenturnedblue:
I've never heard of having to do that but it worked and now im on 5.1 so im happy. Thanks! :)
[X 2014 General] Dark9781:
It's because the system image is too big to flash through normal fastboot. Moto has a special fastboot to flash their full image which they package with their images they provide on their site. It uses the sparsechunk method, but you only type one command and then it will automate the process since it is a single image.
[X 2014 General] Tykin:
But with the sparsechunks, we can flash via the normal fastboot provided by the sdk, right?
[X 2014 General] AGISCI:
Yes.

Sent from my XT1095
[X 2014 General] kylebeattie11:
I know i'm probably gonna sound stupid for this, I have the Retail GB XT1092 Moto X Pure Edition, if I slash the Retail EU version will I brick the device? Just the GB version is taking forever to d/l from FileFactory.

The GB Version i'm downloading is victara_retgb_xt1092_5.1_lpe23.32-25.1_cid7_cfc.xml.zip if anyone could upload it to a mirror site like MEGA it would be greatly appreciated!
[X 2014 General] enochpc:
Sorry for the newbish question, but if I run all the commands but omit flashing the recovery, I should maintain twrp while updating everything else to stock 5.1, correct?
[X 2014 General] mandrsn1:
Yup. That's exactly how it works.
[X 2014 General] Slack3r:
Here's a mirror of the XT1097 AT&T file :)

https://mega.co.nz/#!bN0BjKbI!zzq5b9wZBo-XFGNkcWtgw7mnXZgC5BWrEC-GZcGLELo
[X 2014 General] niko99:
iF somebody have rooted mofo xt1097 and he need to back before update here is my mirror to stock 5.0.2 AT&T xt1097

https://mega.co.nz/#fm/csEVWCoQ
[X 2014 General] thefunkydonkey:
It won't brick your device and will work fine. You will btw loose every future OTA as the phone detects a mismatch between your retEU image and retGB hardware and skips OTAs. Definitely not a good idea IMHO.
[X 2014 General] enochpc:
Just a follow up on my earlier post, lost recovery when I didn't flash the recovery partition. I rooted and installed twrp from the trwp app and all is good. So far things are running pretty smooth...
[X 2014 General] kylebeattie11:
Thanks for the info :) really appreciate it!
[X 2014 General] spencerchong:
is there a step by step guide to flash the STOCK firmware?

i'm rooted with the Nexus Experience ROM with TWRP recovery

okay I'm quite familiar with fastboot. can I list an example? I used to own a OnePlus One nd when I flashed TWRP on it, I placed the .img file in the folder where my command prompt can read C:\Users\myname

so I just need to extract the XT1095 zip, put all the files without folders into that same location where I used to flash TWRP,

open command prompt, type in those commands and it will be done?
[X 2014 General] gilnfld:
telus 5.1 OTA?

Hello All,

Anybody got some news/info about the telus 5.1 stock update? According to online sources the OTA rollout was expected to begin today and I was just wondering if anyone had received/heard anything about it?

gs
[X 2014 General] Jercote:
I saw one version of the TELUS software update schedule mentioning the date being July 18th and another version stating July 20th... Since the 20th is Monday I'll bet on that date.

Edit: added link: http://forum.telus.com/articles/53566/mobility/software-update-schedule
[X 2014 General] spencerchong:
thanks. I saw that, just wanted to confirm. I hope it goes well, don't wanna brick it!
[X 2014 General] gilnfld:
Thanks for link, Jercote! Yeah, I figured the 18th would most likely be the 20th due to weekend. Fingers crossed. I am hoping the telus 5.1 brings some better battery response. The stock 5.0.1 is barely getting me through the day....

gs
[X 2014 General] blinkin:
I'm coming from a NXROM 5.1.1 (http://nxrom.us) and wanted to ask which steps do I have to execute to safely flash the xt1092 reteu version. Are the steps mentioned below the right one? Or the first 2 steps are dangerous cause I'm downgrading (5.1.1 to 5.1)? Or the only issue will be taking OTA cause it may brick my device?

Thanks
[X 2014 General] Nicolae-Daniel:
Its safe.
[X 2014 General] Jack Sparrow xda:
No 1092 Retin so far! Anyone having it?
[X 2014 General] Nicolae-Daniel:
Isn't that RETEU?
[X 2014 General] Jack Sparrow xda:
No, thats European, I am looking for Indian 1092 with RETIN suffix.
[X 2014 General] Nicolae-Daniel:
http://xdaforums.com/showthread.php?t=3132045
[X 2014 General] AGISCI:
The eu is the correct firmware. Look at your picture, it says victara_reteu. And en.EU.
[X 2014 General] ice20978:
Can these be flashed on a stock recovery (locked, unrooted)?

I'm trying to figure out the easiest way to upgrade from 23.1.28 without wiping data....
[X 2014 General] AGISCI:
These are not flashed from any recovery. You can only flash them with fastboot or RSDLite.
[X 2014 General] aaravindan9:
Do I have to unlock my bootloader in order to use fastboot
[X 2014 General] gilnfld:
Hello AGISCI,

Can you please clarify something for me? I know these are RSD files and I have used them before -- I am just wondering if I can flash on telus canadian XT1097 with unlocked BL an RSD file for an XT1097 from another region. Can I flash RETLA ( latin america) with CID12 on my phone which is CID14 I believe, or will RSD return an error?

Thanks,

gs
[X 2014 General] AGISCI:
It should supposedly work, but I give no guarantees. Why would you want to do that anyway?
[X 2014 General] gilnfld:
Thanks for the quick reply.

I just see a slew of RETLA and other Latin American 5.1 XT1097 firmwares posted on the filefactory servers in the past 24-48hrs, and, I was jonesing to try one. BUT, alas perhaps a bit too risky will wait for the RETCA canadian release. I know I can do an OTA to the 5.1 which telus and wind are now pushing but I like the feeling of a freshly flashed phone via RSD lite. placebo effect most likely but, I like it...

gs
[X 2014 General] jidery:
I'm currently stuck on 23.1.28 can I just flash this to fix it?
[X 2014 General] Kwestion:
You're an all-star :) I used this in conjunction with a straight up 5.1 image on my XT1095 and it worked flawlessly. Thanks!
[X 2014 General] FunkyMcBain:
Are these all still just beta? I have a pure edition, actually it's a 97 converted to 95, and I find the latest build still pretty buggy
[X 2014 General] Tinchoska:
Australian 97's build is really cool. ... I don't think it's beta build

Enviado desde mi SM-T700 mediante Tapatalk
[X 2014 General] AGISCI:
None of these are beta. They are full final builds.
[X 2014 General] mrRobinson:
I have 1097 from att, I'm not familiar at all with the moto x world. I think i see a few autrailian builds posted, which did you use? I can just fastboot flash them?
[X 2014 General] FunkyMcBain:
That's not good
[X 2014 General] munchy_cool:
can someone upload mfastboot to google drive and PM me the link,

here - got it

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB4QFjAAahUKEwiU86uDiZLHAhVLGj4KHdJBAcg&url=http%3A%2F%2Fxdaforums.com%2Fattachment.php%3Fattachmentid%3D2427667&ei=mxLCVdS5Fcu0-AHSg4XADA&usg=AFQjCNE8e5dAv-eYK4eZAX8S9qr750Lzlg
[X 2014 General] ice20978:
Yeah, I was on stock (locked bootloader) 23.1.28, flashed this without wiping userdata and it works great.
[X 2014 General] tyus2:
This seems like a very useful post. I have a few questions though, because I am a newbie to Motorola.

1. Since these are full firmware files, can I use one for my specific device (xt1092) to restore to a completely stock (factory) condition and maybe lock bootloader for a sale of my device?

2. Just curious, what is the source of these firmwares, they look safe, but where do they come from?
[X 2014 General] AGISCI:
Yes, these can be used to restore back to stock.

They are leaks from official motorola repair centers.

They are 100% trustable because the are signed by motorola with a digital key that only they have, which means they have not been modified in any way.
[X 2014 General] tyus2:
Wow! Thank you so much for posting the link. It seems like it contains firmwares for all devices and is updated regularly. I can now install cyanogenmod without any worry.

I still have a question, can I flash stock 4.4.4 kk without bricking my device. I know I can't downgrade my bootloader, but even if my bootloader is unlocked, will updating via ota brick it? And if I flash 4.4.4, and I want to upgrade to 5.2.x (say) in the future, do I have to flash 5.1 first and then upgrade or directly flash 5.2.x and then further use OTA system in the future without bricking?

This seems confusing because on a nexus, I used to directly flash the factory image for downgrading. And upgrading didn't brick. Since these links are the complete factory images, can same be done?
[X 2014 General] AGISCI:
Yes, you can flash 4.4.4 kitkat, but absolutely do NOT take an OTA because chances are really high you will hard brick.

The safest way to upgrade again is to flash the full stock image of a newer version.
[X 2014 General] tyus2:
Great. Suppose I am on 5.1 Lollipop. I downgrade to kitkat, or better, I start using custom ROMs. And at the time Android 5.2.x is released and factory image is posted within the link you provided. Can I directly flash 5.1 or 5.2.x (or higher) rom and relock the bootloader and take any future OTA? Or is OTA system permanently broken once you flash custom ROM or kitkat? Sorry, I haven't been able to find answer to this question for a long time, its been bugging me.
[X 2014 General] AGISCI:
OTA is only broken after a downgrade. However if you flash the full 5.1 image then take the OTA to 5.2 or 6.0 or whatever it will be fine.

You just can't do an OTA WHILE it is downgraded.
[X 2014 General] tyus2:
Thank you so much for clarifying. Now I can begin to modify my device. Useful post, should be stickied.
[X 2014 General] tyus2:
I created Google Drive Mirrors for XT 1092 EU_ALL RETAIL.

5.1: https://drive.google.com/file/d/0B7JxhFhWuH8GY3QyWnhkTUh5aWM/view?usp=sharing

4.4.4: https://drive.google.com/open?id=0B7JxhFhWuH8GeEVuNEx3MnoyTE0
[X 2014 General] gtriamy:
Anyone with the 5.1 image for XT1095 able and willing to upload a faster mirror?
[X 2014 General] f4zf4z:
Hey all,

I'm trying to upgrade my gf's XT1092 from the first lollipop release (bootloader unlocked, previously rooted with CF-Autoroot). Thing is, I forgot she had TWRP recovery installed and when I accepted the OTA, the phone went to the recovery and sat there. When I rebooted to system, the phone turned itself off to recovery after a few seconds. I think it runs the OTA script or whatever that makes it flash the update. TWRP is in read-only, so it should update.

TWRP log shows this :

My phone thinks its a kitkat when it happens to be a lollipop, right ? Honestly, I'm not sure what I should do from there.
[X 2014 General] tyus2:
ON IT! Will let you have the GDrive Mirror.