1. Are you ready for the Galaxy S20? Here is everything we know so far!
Thread Status:
Not open for further replies.

[TOOL] Vmobi Updater

Discussion in 'Archived Threads' started by g60madman, Jul 28, 2013.

  1. g60madman

    g60madman Guest
    Thread Starter

    So you want to update your ROM's like the CM Team with an auto update? Well thanks to mobstergunz he pointed me in the right direction for using OTA Updater. I have edited their stock app and made some changes to it for Team Vmobi. Here is the source code README with more details

    https://github.com/vmobi-jfltevzw/android_packages_apps_VmobiUpdater/blob/cm-10.1/README.md

    To see an example of the build.prop here is mine for the S4
    https://github.com/vmobi-jfltevzw/android_device_samsung_jfltevzw/blob/cm-10.1/system.prop#L21-L26

    Each time you create a new ROM you simple only need to change the following
    otaupdater.otatime=20130724-1014
    otaupdater.otaver=0.9.0

    Even though the branch is cm-10.1 (4.2.2) it will work on any ROM no matter the version of android even though their site states it only works through 4.1.2. Also to edit your own PayPal Donation link inside the app you can edit the following file line.

    https://github.com/vmobi-jfltevzw/a...ob/cm-10.1/src/com/otaupdater/Config.java#L29

    Once you sign up for an account on their site you setup some base info on the location of the .zip ROM the MD5 and all that jazz so it does all the updating like a breeze as you move to new version and does the MD5 hash so users are guaranteed smooth updates.

    Enjoy :D
     

    Advertisement

    JerryScript likes this.
  2. JerryScript

    JerryScript Android Expert

    I made a built-in updater for my old BACKside-IHO rom for the OptimusV. It required my own version of CWM-Green which had hooks for doing various installlation methods automatically (wipes and installs without making selections in recovery, prevents user errors). You can view an instructional video I made with screencast here: https://www.youtube.com/watch?v=R8d50Wn7XAo

    I was going to port it over to the Victory, but this will save a lot of work. Thank you!
     
  3. g60madman

    g60madman Guest
    Thread Starter

    You bet :) they way this works is users won't get the update till you install the ROM and have it listed on OTA. That way you have a running ROM at the very least :)
     
  4. JerryScript

    JerryScript Android Expert

    BTW- It's very easy to create the hooks for automatic updating with CWM. It's simply a matter of checking the boot commands (which you of course set with an app). I built in options for automatic wipes with just cache+dalvik, complete wipes, automatic backup, automatic install with appropriate wipes, and automatic backup+install+wipes. I've often wondered why this isn't a feature of recoveries in general, soooo many users wipe things they don't need to, or format something they shouldn't in recovery. It should be much more user friendly.
     
  5. dsmryder

    dsmryder Android Expert

    Yeah, I think that we as the DEVs of the ROM should be the ones who control what needs to be cleared as we should know what was changed and how it should get updated.
     
Loading...

Share This Page

Loading...