[How-to] Disable OTA updates on Stock + Rooted ROMs

Search This thread

rocket321

Senior Member
Jan 29, 2009
797
521
I see this question come up once in a while here, and I had a similar thread on the ET4G about this so I thought I'd recreate it here for you S3 folks. I recently flashed to LJ7 to do some testing and while there was getting bugged by the OTA update, so I tried this method out and confirmed it does work on the S3 as well.

[How-to] Disable OTA updates on Stock + Rooted ROMs

1. Download FOTAKill.apk* and copy to your Phone/SD
2. Use a root explorer (such as ES Explorer) to copy the file to /system/app
3. If the update already downloaded, use your root explorer to delete it from /cache
4. reboot

If the update notice is still in the notification bar after the reboot, simply swipe it away. That should be the last time you are ever prompted to update via OTA. Even if you manually go to system update and click check now it will no longer offer you the OTA. You can simply delete the apk from /system/app to reverse this mod.

*Credit for the apk goes to the CM team and or the folks who create the gapps packages!

*If anyone would like to make a CWM flashable I would be happy to add it here and give you credit.
 

Attachments

  • FOTAKill.apk
    22.5 KB · Views: 34,828

topherk

Senior Member
Nov 16, 2010
778
503
Los Angeles
I see this question come up once in a while here, and I had a similar thread on the ET4G about this so I thought I'd recreate it here for you S3 folks. I recently flashed to LJ7 to do some testing and while there was getting bugged by the OTA update, so I tried this method out and confirmed it does work on the S3 as well.

[How-to] Disable OTA updates on Stock + Rooted ROMs

1. Download FOTAKill.apk* and copy to your Phone/SD
2. Use a root explorer (such as ES Explorer) to copy the file to /system/app
3. If the update already downloaded, use your root explorer to delete it from /cache
4. reboot

If the update notice is still in the notification bar after the reboot, simply swipe it away. That should be the last time you are ever prompted to update via OTA. Even if you manually go to system update and click check now it will no longer offer you the OTA. You can simply delete the apk from /system/app to reverse this mod.

*Credit for the apk goes to the CM team and or the folks who create the gapps packages!

*If anyone would like to make a CWM flashable I would be happy to add it here and give you credit.

CNexus created a really good sticky guide to talk about OTAs. You might want to post this over there. Could you let us know what FOTAKill does? Does it work regardless of phone/carrier?
 
  • Like
Reactions: UltraCon79

rocket321

Senior Member
Jan 29, 2009
797
521
CNexus created a really good sticky guide to talk about OTAs. You might want to post this over there. Could you let us know what FOTAKill does? Does it work regardless of phone/carrier?

I expect it will work on other carriers/phones but only speak for devices I personally test it on.

The apk works by overriding the built in android OTA service. It has traditionally been included in Gapps packages as a way to disable carrier updates on AOSP roms but works just as well on stock based roms.

Sent from my SPH-L710 using xda app-developers app
 
  • Like
Reactions: BrooklynNY

EVObastard

Senior Member
Jan 26, 2013
826
535
Philladelphia
I must be doing something wrong. I am unable to move the file, I keep getting "file is read only"

Update: I found that if you click on the downloaded apk that it installs itself in the correct folder however it still did not work for me.

I am on the DaRTHSTAULKER ROM S3 vX
Screenshot_2013-02-23-22-05-58.jpg
 
Last edited:

CNexus

Senior Member
May 17, 2012
9,009
13,993
~/android
I must be doing something wrong. I am unable to move the file, I keep getting "file is read only"

Update: I found that if you click on the downloaded apk that it installs itself in the correct folder however it still did not work for me.

I am on the DaRTHSTAULKER ROM S3 vX
View attachment 1914304

You need to mount /system as RW
If your file manager does not give you the option to do so, go into a terminal and type the following:
Code:
mount -o remount,rw /system

The app needs to installed as a system app, if you simply install it by selecting it, it will be installed as a user app. Uninstall, mount system as ready write, and copy it to /system/app
 

EVObastard

Senior Member
Jan 26, 2013
826
535
Philladelphia
So do I move the hole file or extract the app then move that?
NM I noticed it's a .apk file :fingers-crossed:
Ok, that worked it's now in my app list, thank you hopefully this does it.

Sprint GS3 Rooted, DaRTHSTAULKER X
 
Last edited:

CNexus

Senior Member
May 17, 2012
9,009
13,993
~/android
Ok so I took a look inside the apk and heres how it works
  • App gets triggered when: Google Services state is changed; Android device checks in the the Google servers; and when Android device finishes booting (BOOT_COMPLETE)
  • If there is, it gets the info from the Google Services Framework intent (url, time, etc), logs it, and then cancels the notification
  • Sets the link to be empty (" ") and overrides the GSF notification, and then clears the notification
  • Removes the notification and OTA data from the Google Services Framework database


Attached is a universal flashable (meaning, for any Android device) that puts FOTAKill.apk into your /system/app.

EDIT: File pulled for the moment...
 
Last edited:

EVObastard

Senior Member
Jan 26, 2013
826
535
Philladelphia
Ok so I took a look inside the apk and heres how it works
  • App gets triggered when: Google Services state is changed; Android device checks in the the Google servers; and when Android device finishes booting (BOOT_COMPLETE)
  • If there is, it gets the info from the Google Services Framework intent (url, time, etc), logs it, and then cancels the notification
  • Sets the link to be empty (" ") and overrides the GSF notification, and then clears the notification
  • Removes the notification and OTA data from the Google Services Framework database


Attached is a universal flashable (meaning, for any Android device) that puts FOTAKill.apk into your /system/app.

EDIT: File pulled for the moment...

This is great, I am standing by. Since I did it the other way should I redo it this way? (I would guess no) Also I was going to ask if it worked for my wife's E4GT but sounds like this new one you are making will. TIA
 
  • Like
Reactions: CNexus

CNexus

Senior Member
May 17, 2012
9,009
13,993
~/android
This is great, I am standing by. Since I did it the other way should I redo it this way? (I would guess no) Also I was going to ask if it worked for my wife's E4GT but sounds like this new one you are making will. TIA

The file itself will work on ANY phone because it blocks the GSF app. I would recommend just using a root browser to put it in /system/app for the moment, i pulled the file because it somehow wiped my entire /system partition (yeah, i dont know either) so i didnt want anyone else to have issues.

And no, you dont need to redo it with the zip im making, it wont change anything.

Also, im not modifying the file in any way, I'm just making a zip that will flash it on any device.
 
  • Like
Reactions: EVObastard

rocket321

Senior Member
Jan 29, 2009
797
521
This definitely works on the ET4G, I had that phone before the S3 and used it to stay on a GB rom for a long time.

Sent from my SPH-L710 using xda app-developers app
 
  • Like
Reactions: EVObastard

andee39

Senior Member
Mar 17, 2013
1,080
829
New York
Disabling OTA updates

Hi,

Would anyone know if the FOTAKill.apk procedure works on a Galaxy S3 flashed to Boost or would that not make a difference? :confused:

Thanks.
 

andee39

Senior Member
Mar 17, 2013
1,080
829
New York
Thanks. A friend had mentioned to me he read about freezing SDM 1.0 but I don't have that file and wasn't sure if it was related to being flashed to Boost. I searched and came across your post but wasn't sure if I would run into a similar type issue. Will give it a try and fingers crossed it works!

Thanks again! :cool:
 

maf49

Member
Aug 1, 2010
10
0
Fota will not paste into Apps folder

Every time I try to copy or cut and paste the file never goes into the apps folder. My phone is rooted using Mr. Robinsons method.I have tried two different root explorers witht he same results.
 

Ragnar

Retired Forum Moderator
Jul 11, 2011
6,187
5,482
Valhalla
Every time I try to copy or cut and paste the file never goes into the apps folder. My phone is rooted using Mr. Robinsons method.I have tried two different root explorers witht he same results.

Have you changed the read/write settings in the root explorer apps? They default to read only in order to edit you have to change to write.

Sent from the future via Tapatalk 4
 
  • Like
Reactions: maf49

maf49

Member
Aug 1, 2010
10
0
Have you changed the read/write settings in the root explorer apps? They default to read only in order to edit you have to change to write.

Sent from the future via Tapatalk 4

System folder and app folder both have owner rwx group rx and other rx. there is a checkbox to add w but it wont keep the setting
 

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    I see this question come up once in a while here, and I had a similar thread on the ET4G about this so I thought I'd recreate it here for you S3 folks. I recently flashed to LJ7 to do some testing and while there was getting bugged by the OTA update, so I tried this method out and confirmed it does work on the S3 as well.

    [How-to] Disable OTA updates on Stock + Rooted ROMs

    1. Download FOTAKill.apk* and copy to your Phone/SD
    2. Use a root explorer (such as ES Explorer) to copy the file to /system/app
    3. If the update already downloaded, use your root explorer to delete it from /cache
    4. reboot

    If the update notice is still in the notification bar after the reboot, simply swipe it away. That should be the last time you are ever prompted to update via OTA. Even if you manually go to system update and click check now it will no longer offer you the OTA. You can simply delete the apk from /system/app to reverse this mod.

    *Credit for the apk goes to the CM team and or the folks who create the gapps packages!

    *If anyone would like to make a CWM flashable I would be happy to add it here and give you credit.
    5
    I must be doing something wrong. I am unable to move the file, I keep getting "file is read only"

    Update: I found that if you click on the downloaded apk that it installs itself in the correct folder however it still did not work for me.

    I am on the DaRTHSTAULKER ROM S3 vX
    View attachment 1914304

    You need to mount /system as RW
    If your file manager does not give you the option to do so, go into a terminal and type the following:
    Code:
    mount -o remount,rw /system

    The app needs to installed as a system app, if you simply install it by selecting it, it will be installed as a user app. Uninstall, mount system as ready write, and copy it to /system/app
    4
    Ok so I took a look inside the apk and heres how it works
    • App gets triggered when: Google Services state is changed; Android device checks in the the Google servers; and when Android device finishes booting (BOOT_COMPLETE)
    • If there is, it gets the info from the Google Services Framework intent (url, time, etc), logs it, and then cancels the notification
    • Sets the link to be empty (" ") and overrides the GSF notification, and then clears the notification
    • Removes the notification and OTA data from the Google Services Framework database


    Attached is a universal flashable (meaning, for any Android device) that puts FOTAKill.apk into your /system/app.

    EDIT: File pulled for the moment...
    3
    Here's a flashable http://db.tt/lfeO3giy fix permissions after flashing just in case

    Sent from my ANTHRAX sniffing GS3
    2
    That's correct, if you just click it and install like a normal app it won't work because it needs to be installed as a system app.

    Sent from my SPH-L710 using xda app-developers app
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone