Past 2017 top best forum
Today's Date
Nigeria free 2018 Gallery
9ja NOTICE: You are currently viewing this website as a Guest and are restricted from viewing some vital information. For more permissions on Earlyface.com.ng? Like posting Comments, Topics and Uploading contents without Verification And Moderator's approval. Fast loading and quick accessibility. Registration is required. Please Login or Register now to gain full access. It is fast and free!!

CLICK HERE NOW TO BECOME EARLYFACE MEMBER...


Author Topic: How to Install an Android OTA Update Without Losing Root  (Read 330 times)

0 Members and 1 Guest are viewing this topic.

Offline JEFFREY96

  • Global Moderator
  • Earlyface VIP
  • Posts: 13571
  • Vote for me: +1209/-140
  • Location: ISLAND
How to Install an Android OTA Update Without Losing Root
« on: April 24, 2016, 05:22:14 pm »


Over-the-air updates have long been the bane of many rooted Android users’ existences. It’s an endless battle: installing the update breaks root or won’t flash at all, but everyone wants the latest version of their mobile OS. Thanks to a new tool called FlashFire, the struggle may be over.
Why OTA Updates Don’t Play Nicely with Rooted Phones


Android is based on Linux, so Android devices come with a “root” user that functions like the Administrator user account on Windows. By default, Android doesn’t give you access to the root account. Rooting is the process of enabling access to the root account, installing the su binary. Applications can call su to gain elevated privileges, so they can break free from Android’s security sandbox and do more powerful things. Android doesn’t come pre-rooted because of the security problems this could lead to, especially for less technically inclined users.

The root process also installs an application like SuperSU, which controls access to the su binary, so you can choose which applications are allowed to have root access.

You’ll usually lose your root access when you install an operating system update. On Lollipop and earlier versions of Android, the over-the-air (OTA) update sets your Android system partition back to its factory state, removing the su binary. On newer devices with systemless root, it overwrites the boot image. And if you have a custom recovery, the OTA update may not be able to install itself at all.

Once upon a time, SuperSU had an “Survival Mode” that would let you flash updates, but that’s no longer around. Enter FlashFire.
What Is FlashFire?


FlashFire is powerful tool from Chainfire, the maker of SuperSU, that allows rooted users to perform a variety of actions, like flashing OTA updates and full zip files, create and restore backups, wipe data, and much more. It effectively eliminates the need to use recovery to manually backup or restore, and automatically handles un-rooting and re-rooting when flashing update files.

So far, it has been tested extensively on Nexus and Samsung devices, though theoretically it should work on most Android 4.2+ handsets. However, if you’re running a rooted device that’s getting a full version update—from Lollipop to Marshmallow, for example—things may get a little murky. Since there’s no way to root Marshmallow without an unlocked bootloader, you’ll completely lose root access if your device’s bootloader is locked. That’s unavoidable. If you’ve unlocked the bootloader, however, FlashFire should be able to preserve (or at least reinstate) root access once the update is finished.

So: while FlashFire isn’t guaranteed to work on every device, if you’ve gone the “official” route to root your phone, it will probably work.

It’s worth noting that FlashFire is in beta at the time of writing. That means features may not yet work as intended, and certain devices may experience more bugs than others. If you’re not scared away by such things, you’ll have to first join the beta program before you can download the app. I also encourage anyone interested to check this thread on XDA, too, before getting started.
How to Use FlashFire to Flash an OTA Update, Without Losing Root


When you get notified that there’s an update available for your device, the first thing you’ll want to do is go ahead and download it—but don’t install it. If you tell the update to go ahead and install, it will likely fail since you’re running a rooted device.



Instead, fire up FlashFire once the OTA has finished downloading. (If you don’t have it yet, join the beta program and then download the app.) It should automatically detect the update file and ask if you want to generate the actions to flash it. Go ahead and tap “OK.”



This will generate a screen that may seem a little overwhelming to novice users, but it’s essentially just a breakdown of what FlashFire intends to do with the OTA file. Each option is customizable if you tap on it—for example, if you don’t want to wipe the cache partition, simply de-select that option. You can also add various actions, but I wouldn’t necessarily recommend doing that right now.

If you have a custom recovery like TWRP installed, FlashFire will back it up before starting the process, and restore it afterwards.


Once you’ve finalized the set of instructions, hit the “Flash” button. It will give a warning that it can take a bit of time for FlashFire to load, and a couple of black screens may appear. Go ahead and tap “OK” again.



After that, FlashFire will reboot and you’ll see a myriad of scrolling text on the display. Leave the device alone to do its thing—that’s just FlashFire running the needed commands. When it’s finished, it’ll reboot with the update flashed and root restored. Boom. So simple.



What to Do if Flashing the OTA Doesn’t Work

If you’ve modified your device in a way that prevents FlashFire from applying the update—maybe you’re running a custom kernel, or the /system partition has been modified by the Xposed Framework, for example—then the update will “fail.” There’s currently no notification that the update wasn’t applied, so you’ll have to jump into the Settings > About phone menu and see if the build number has changed. If not, then you know the update wasn’t applied (there’s also a good chance Android will notify you that the update still needs to be installed).

When this happens, the best thing to do is to download the factory image for your device if it’s available. In this example, I’ll be flashing the newest update (April 2016 security patches) onto my Nexus 7.

Once downloaded, copy the factory image’s .tgz file to your phone’s internal storage or SD card.

Open up FlashFire and tap the floating action button (the red button with the plus) in the bottom right corner. Select “Flash firmware package.”



This will open up a file manager of sorts, which should default to the root internal storage folder. Scroll down until you find the file you just moved to the device.



Once you select the image file, FlashFire will scan the archive to verify its contents, then present a list of what can (and will) be flashed. You’re free to select what you want here—if you have a custom recovery and want to keep it that way, simply de-select the “recovery” option, for example.



Once you’re ready to flash, just tap the checkmark in the upper right corner. You’ll once again be presented with the list of actions before it proceeds, so if you want or need to change anything, now’s the time.


After you’ve confirmed all the steps, hit the “Flash” button. You’ll see the same warning about FlashFire taking some time to load and that a couple of black screens may appear. Just hit “OK.”


FlashFire will reboot and do its thing. Since it’s flashing a full image file and not just a simple update, it could take a little while for it to finish. Once it does, however, it’ll reboot and you’ll be good to go.
   
To be getting all EarlyFace confirmed Updates (latest news in town, free browsing cheats, hottest FREEBIES, post-UTME tips, school matter and Exam stuff) for free through your Facebook and Twitter profile;
 
  • CLICK HERE to Like EARLYFACE on Facebook
  •  
  • CLICK HERE to Follow EARLYFACE on Twitter

  •    
    How To Create A Topic On Earlyface
     
    How To Create A Topic or Post On Earlyface as a Novice.

    Offline Aubreyj469

    • VIP MEMBER
    • Golden Member
    • *
    • Posts: 737
    • Vote for me: +42/-7
    • Location: Akwa ibom
    • HomeTown: Uyo
    @Jeffrey96: can it work on a phone that is running Android 4.4.2 ?
    #Tecno Y6


    If possible then how?
    Aubreyj469
    Follow me on Twitter: @Johnaubrey5

    Offline JEFFREY96

    • Global Moderator
    • Earlyface VIP
    • Posts: 13571
    • Vote for me: +1209/-140
    • Location: ISLAND
    @Jeffrey96: can it work on a phone that is running Android 4.4.2 ?
    #Tecno Y6


    If possible then how?

    yes it should , but am not really sure about Tecno  product.
       
    To be getting all EarlyFace confirmed Updates (latest news in town, free browsing cheats, hottest FREEBIES, post-UTME tips, school matter and Exam stuff) for free through your Facebook and Twitter profile;
     
  • CLICK HERE to Like EARLYFACE on Facebook
  •  
  • CLICK HERE to Follow EARLYFACE on Twitter

  •    
    How To Create A Topic On Earlyface
     
    How To Create A Topic or Post On Earlyface as a Novice.

    Offline Aubreyj469

    • VIP MEMBER
    • Golden Member
    • *
    • Posts: 737
    • Vote for me: +42/-7
    • Location: Akwa ibom
    • HomeTown: Uyo
    yes it should , but am not really sure about Tecno  product.

    OK....... but the downloading link is not working, I can't  find it on Google PlayStore too
    Aubreyj469
    Follow me on Twitter: @Johnaubrey5

    Offline JEFFREY96

    • Global Moderator
    • Earlyface VIP
    • Posts: 13571
    • Vote for me: +1209/-140
    • Location: ISLAND
    OK....... but the downloading link is not working, I can't  find it on Google PlayStore too
    check again or click here
       
    To be getting all EarlyFace confirmed Updates (latest news in town, free browsing cheats, hottest FREEBIES, post-UTME tips, school matter and Exam stuff) for free through your Facebook and Twitter profile;
     
  • CLICK HERE to Like EARLYFACE on Facebook
  •  
  • CLICK HERE to Follow EARLYFACE on Twitter

  •    
    How To Create A Topic On Earlyface
     
    How To Create A Topic or Post On Earlyface as a Novice.

     

    Related Topics

      Subject / Started by Replies Last post
    1 Replies
    720 Views
    Last post July 16, 2013, 04:04:30 pm
    by Davidsonesson
    0 Replies
    246 Views
    Last post May 09, 2016, 12:51:39 pm
    by 1st
    0 Replies
    182 Views
    Last post May 19, 2016, 08:49:29 pm
    by toto
    0 Replies
    522 Views
    Last post May 26, 2016, 02:35:43 pm
    by toto
    0 Replies
    329 Views
    Last post June 09, 2016, 05:01:05 pm
    by jacko
    1 Replies
    161 Views
    Last post April 10, 2017, 10:28:12 pm
    by kelvinchinedu
    0 Replies
    3121 Views
    Last post February 19, 2020, 01:38:11 am
    by Naijcrackgist

    Updated Topics

    UK FOOTBALL POOLS COUPON | 20TH APRIL 2024 | WEEK 42: X-02-X X-07-X X-15-X X-21- by wedco893
    April 14, 2024, 07:27:05 pm

    UK FOOTBALL POOLS COUPON | 13TH APRIL 2024 | WEEK 41: X-35-X by wedco893
    April 13, 2024, 05:10:53 pm

    CORRECT: 2024/2025 WAEC SSCE EXPO/RUNZ SUBSCRIPTION(MIDNIGHT DELIVERY) by MANDINHO
    April 12, 2024, 12:04:04 pm

    CORRECT: 2024/2025 JAMB RUNS SUBSCRIPTION( REFORMED PACKAGES) by MANDINHO
    April 12, 2024, 08:22:14 am

    How to Create USA🇺🇲 TikTok Account that Can Earn You Money - Make Money on TikTok by Wiz.gee
    April 09, 2024, 04:52:42 pm

    Application Guide The Nigeria Immigration Service (NIS) has announced it 2024 Recruitment. Applications are hereby invit by afrocablenews2
    April 08, 2024, 01:32:07 am

    How to Avoid Problem During This ELECTION! Period (Election Trials) by afrocablenews2
    April 08, 2024, 01:25:09 am


    FBLike US on Facebook.. TWFollow US on Twitter..

    Portal
    Forum
    RSS Feeds
    FAQ
    Members Intro
    Announcements
    Privacy Policy
    Terms Of Use
    Partners
    About Us

    Problem Solutions
    Global News
    Sports
    Celebs
    Politics
    Gists In Town
    General
    Song Lyrics
    Dating
    Religion

    Examination
    Post-UTME/Admission
    School News
    Online Reading
    Scholarship
    Education
    Entertainment
    Download Links
    Stories
    Fashion

    MTN NG
    9Mobile NG
    Airtel NG
    Glo NG
    World Networks
    Pc Tweaks
    Mobile Phone
    Computer Tips
    WebMaster
    Programming

    Browsing Cheats
    Net Tricks
    Health n Welfare
    Latest Jobs
    EarlyFace Group Of Nigeria © 2022