• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[TOOL] Vmobi Updater

Status
Not open for further replies.
G

g60madman

Guest
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
 
  • Like
Reactions: JerryScript
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!
 
Upvote 0
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.
 
Upvote 0
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.

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.
 
Upvote 0
Status
Not open for further replies.

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones