Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,210 Members 48,874 Now Online
XDA Developers Android and Mobile Development Forum

[APP][DEV] Update me [ROM MAKER] - 2.0.3 - PUSH NOTIFICATION - (updated 2012-09-13)

Tip us?
 
acquariusoft
Old
(Last edited by acquariusoft; 13th September 2012 at 08:11 AM.)
#1  
acquariusoft's Avatar
Senior Member - OP
Thanks Meter 392
Posts: 789
Join Date: May 2006

 
DONATE TO ME
Default [APP][DEV] Update me [ROM MAKER] - 2.0.3 - PUSH NOTIFICATION - (updated 2012-09-13)



Hi,

i have created the app "Update me" for help all rom makers.
With this app you can easily configure a system for automatic check rom update, plugin, theme, ecc.

The app is also available in a modded version in Megatron Rom for Asus tranformer with more of 600 download and good review on market, the thead is here:
http://forum.xda-developers.com/show....php?t=1583100

What makes this application?
  • Push notification for send check to new rom
  • Push notificatio for send message to rom's users
  • Check for new rom available
  • Show list of kernel which can be downloaded, download it and reboot to recovery
  • Show list of plugin which can be downloaded, download it and reboot to recovery
  • Show list of themes which can be downloaded, download it and reboot to recovery
  • Check md5 for download file
  • Check new rom on startup
  • check new rom every hours
  • android version
  • Create your custom tab with name and icon
  • Support all hosts as external links

Link for download

website
http://win.acquariusoft.com/updateme/

Android > 3
https://play.google.com/store/apps/d...usoft.UpdateMe

Android > 2
https://play.google.com/store/apps/d...teMeSmartphone

Direct link
http://dl.dropbox.com/u/3681387/UpdateMe.apk
http://dl.dropbox.com/u/3681387/UpdateMeSmartphone.apk

How to configure
The program is easily to configure.
in your rom you need only a file named update_me.xml in the system folder.
The file must be like this:

Code:
Select Code
<?xml version="1.0" encoding="UTF-8"?>
<RomConfig>
    <RomName>Name rom</RomName>
    <RomVersion>0.1.0</RomVersion>
    <RomCheckUrl>http://www.me.com/update_me_ckeck.xml</RomCheckUrl>
    <RomElemUrl>http://www.me.com/update_me_parts</RomElemUrl>
    <CheckMD5>0</CheckMD5>
    <RebootRecovery>0</RebootRecovery>
</RomConfig>
and 2 other file must to be placed online:
- a file with rom info for check new rom availability
- a file with element for rom.

ATTENTION
When the rom is update, the new rom MUST contains a modified update_me.xml with new version,otherwise the app show always the message "new rom available"

an example config is available here
http://dl.dropbox.com/u/3681387/config_example.zip

the pack of available icon for tabs can download here
http://dl.dropbox.com/u/3681387/icons.zip
in the pack icon named icon_0.png is the number 0 of the config ;D


Supported file host
  • direct download file host
  • public folder on dropbox, box.net, etc
  • goo.im
  • xdafileserver.nl
  • androidfilehost.com
  • all other host as external link

How use push notification on your rom
  • Register on http://win.acquariusoft.com/updateme
  • Go on "Registered" -> "Rom list" menu
  • choose a uid (uniqueid) for the rom. Max 16 chars. and insert a new rom name (need only for list, can be different from name inserted in the config). If uid is already used a message is promped
  • if it's all ok, you see your rom inserted.
  • now you can inserted your uid in the config using updateme.otauid in the build prop and <OtaUid>xxx</OtaUid> in the xml
  • when new version is available if you go to info of rom you can send new version check and message to all users!


How check md5 work
if check md5 is enabled for a file, the program check for a file name with the same name of file plus .md5sum like: app.zip and app.zip.md5sum
with contains md5 plus filename.
if the host is goo.im the md5 is read directly from page

Donate
if you like my work, donate me a beer!!!!

i have create a new app on the market for donate 3 €.
https://play.google.com/store/apps/d...pdateMe.donate
for now it don't allow new feature but in the future i'll add some feature only for donate user.

Extra
Also i have create a new site for the project
http://win.acquariusoft.com
for registered user is possible upload your xml file for public access without limitation of time, in the future more stuff ;D
for now registration is now available on the site, so if you want an account send me a pm with username, password and email.

Donator (tnx to all)
  • krarvind
  • TamCore
  • core720
  • barikke74
  • pglmro
  • pcrao.n
  • jeff
  • TRothe
  • jensmeyer1
  • makowskimaq


If you have ideas for improve the program, find some bug or other write on this thread

Beta version of program was posted here before post on market for all
Attached Thumbnails
Click image for larger version

Name:	2012-04-09 13.19.42.jpg
Views:	16974
Size:	16.1 KB
ID:	992182   Click image for larger version

Name:	2012-04-09 13.19.51.jpg
Views:	14281
Size:	14.8 KB
ID:	992183   Click image for larger version

Name:	2012-04-09 13.19.57.jpg
Views:	13135
Size:	14.5 KB
ID:	992184   Click image for larger version

Name:	2012-04-09 13.20.05.jpg
Views:	12262
Size:	14.4 KB
ID:	992185   Click image for larger version

Name:	2012-04-09 13.20.12.jpg
Views:	11978
Size:	16.5 KB
ID:	992186  

The Following 120 Users Say Thank You to acquariusoft For This Useful Post: [ Click to Expand ]
 
acquariusoft
Old
(Last edited by acquariusoft; 13th September 2012 at 08:12 AM.)
#2  
acquariusoft's Avatar
Senior Member - OP
Thanks Meter 392
Posts: 789
Join Date: May 2006

 
DONATE TO ME
Help with translation
This is the last string to translate for the program.
http://dl.dropbox.com/u/3681387/strings.xml
if you wanna see this app in your language translate and send me ;D

Beta version

no version available


Official version changelog

2.0.3
bug fix

2.0.2
  • [add][donated version] Disable push notification
  • [add] <CwmFlipSdcard> tag in xml or updateme.cwmflipsdcard in build.prop for enable cwm flip sd card for default
2.0.1

  • [add] Turkish translation (tnx to mamunda)
  • [improve] Click on a push notification message open a window for see the complete message
  • [improve] update german translation (tnx to hawkeyexp)


2.0.0

  • [add] Push notification for send command to check new rom and send message to the rom's users (if you send check new rom command and there is not new version available no message is show. For test use send message if there is no new version available).
  • [add] updateme.lighttheme=1 or <LightTheme>1</LightTheme> for enable default light theme (only if user not have selected black theme in option
  • [add] Now with tag <ExternalLink>1</ExternalLink> in the check and parts files you can host your file on every host. when the user download the file, the browser is used for download the file, so you can use all host (rapidshare,fileshare,ecc)
  • [add]downloaddir parameter in the build.prop and DownloadDir in xml for set defauld download dir. If the user select a dir, this override this setting!
  • [add] add check if downloaded file size is correct, if not an error message is showed
  • [change] Now default folder is sdcard\UpdateMe (only on new installation or wipe cache)
  • [improve] update franch translation (tnx toel_liberator)
  • [improve] less memory and no data downloaded when disable rom auto-check is selected



1.3.4
  • [fix]little bug fix
  • [improve] some code clean
  • [improve] update translation
  • [add] add polish translation

1.3.3
  • [improve] now click on list element donwload file like disk image

1.3.2
  • [new] add dev-host support
  • [fix] fix some problem on load some xml.
  • [fix] show more line of text in element list.
  • [improve] some code clean
  • [improve] update german translation
  • [improve] update italian translation
1.3.1

  • [new] Installed apps and script tab can be hide by default by rom config and the option can be modified in settings by user
  • [improve] update french translation
  • [improve] little improvement in element layout
1.3.0

  • [new] Now is possible have more than one <RomElemUrl> tag in config and build.prop, so you can split xml in more file in you want share with more rom
  • [new] Add images for element ( tag <ImageUrl>)
  • [new] Add thumbnail for element ( tag <ThumbnailUrl>)
  • [improved] Improved element layout with button for downoad
  • [new] Manage installed apps
  • [new] Confirm dialog when download a file
  • [new]Progress bar on notification area when download a file
  • [new] add<DestChmod> in tab element for set value for chmod after move file to Dest. Default is 0644
  • [new] <Wipe> tag for show the text in the message that this file need a full wipe
  • [new] if wipe if enabled a checkbox is showed in the dialog afterdownload a fileand if selected,when choose reboot and install , wipe operation is made
  • [new] on downloaded file now there is a checkbox for made a full wipe before install files
  • [new] checkbox for wipe when install downloaded files
  • [new] add French language
  • [new] add Korean language
  • [fix] fix bug when created scripts have empty fields.
  • [fix] correct file name on service like goo.gl
1.2.0

  • [new] add script section for download script from the site http://win.acquariusoft.com
  • [new] add your custom script (saved on sdcard/update_me/my_script.xml)
  • [new] added spanish translation (tnx to Joaquín Padilla)
  • [new] share your rom info with your friends
  • [fix] fix some missing properties read from config
  • [fix] md5 url tag and md5 tag now work also in rom check
  • [improved] update german translation
  • [improved] update hebrew translation
  • [improved] show message on start info download
  • [improved] optimized data exchange
  • [fix] now all screen use light theme if selected
  • [fix] error on download on some server

1.1.5

  • [new] choose time between rom check
  • [new] disable rom check (not show alert notification of new rom)
  • [improved] reorganized settings section
  • [new] add advertise in settings page (please support the app!!)
  • [new] donate app remove ads in Update me and Update me Smartphone


ver 1.1.4

  • [new] support for 4ext
  • [new] now the user can choose reboot type in settings. Default is value in config
  • [new] inserted alternative url for md5 file for element
<MD5Url></MD5Url>
  • [new] inserted md5 of element in the xml file with tag
<MD5></MD5>
  • [fix] no more exception on wrong version format, but wrong formatted cannot be p****d so check work wrong. if you wan insert a message extra you must insert a version like 1.2.3. beta1
  • [new] Error message if no config available
  • [new] List of compatible roms with page link on config->compatible rom list
  • [fix] fix more bug on CWM and OSR (tnx to krarvind)
ver 1.1.3

  • [new] add filter for elements
add <FilterName>transformer</FilterName> in update_me.xml
and <Filter>transformer</Filter> on tab element for filter
see example of config for details
  • [new] now the configuration can be stored in build.prop, the name are the same but lowercase
updateme.name
updateme.version
updateme.urlcheck
updateme.urlelement
updateme.useragent
updateme.reboottype
updateme.filter
if use this delete update_me.xml or it override build.prop properties
  • [new][smartphone] available light theme
  • [new] added option to flip sdcart do emmc to cwm flash
  • [new] install multiple zip on recovery (go to config->downloaded files) (work only if single install work)
  • [fix][smartphone]when app is hide and reshow, it show the same page, also on download (dumraden bug)

ver 1.1.2
  • [new]new button on download for choose to install directly on recovery
the rom maker must add
<RebootType>1</RebootType><!-- 0 no install,1 install on cwm, 2 install openrecoveryscript -->
to update_me.xml in /system
for enable the button
  • [improved] update german translation
  • [fix][android>3] change title on small screen
  • [fix][smartphone] fix rotate
  • [fix] move app don't work if desc is empty
  • [fix] change donate text



ver 1.1.1
  • [new] now the version can be in format x.x.x.x
  • [new] show version number on all element
  • [new][smartphone] now image in tab are available in smartphone version
  • [new][android>3] option for choose light theme
  • [improved] rewritten more code, so is more easy to develop ;D
  • [fix] fix bug on xml p****r
ver 1.1.0

  • [new] Now is possible create your personal tab with name and icon
  • [new] The update_me logo image now can be a png
  • [new] Translation in Hebrew (tnx to firefds)
  • [fix] new the update_me logo is centered
  • [fix] rotate bug (now really!)
  • [improve] more icont (tnx to Flukzr)

ver 1.0.6
  • [new] Add ics icon style (tnx to Flukzr)
  • [new] The tags
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
now works also in rom
  • [new] add <Dest> in app section for copy the downloaded app in a location like /system/app/ (es: <Dest>/system/app/</Dest>) (tnx to krarvind)
  • [fix] bug of not show logo image
  • [fix] On MDPI devices, the taskbar notification icon is blurry
  • [fix] rotate bug

ver 1.0.5
  • Added logo you must put the image to system/update_me.jpg
  • Bug fix
  • Check for new rom now on the rom section
  • Check for new rom now now show a wait dialog
  • Added wakelock when download a file
  • Update some icon

ver 1.0.4
  • bug fix
  • Show alert message when check rom in settings

ver 1.0.3
  • bug fix
  • support to sourceforge host
  • add app section for download apk and install directly
ver 1.0.2
  • bug fix
  • add cancel on download dialog
  • add german translation (tnx hawkeyexp)

ver. 1.0.1
  • fix bugs
  • new button in option for reboot in recovery
  • Added UserAgent field in update_me.xml for change userAgent

ver. 1.0.0
  • First version available
The Following 20 Users Say Thank You to acquariusoft For This Useful Post: [ Click to Expand ]
 
acquariusoft
Old
(Last edited by acquariusoft; 9th October 2012 at 01:21 PM.)
#3  
acquariusoft's Avatar
Senior Member - OP
Thanks Meter 392
Posts: 789
Join Date: May 2006

 
DONATE TO ME
Compatible roms
  • OpenSensation Link
  • Brainmaster's CM9 & Black CM9 Link
  • Spartan Rom Link
  • Sensation & XE GhostXSeries Link
  • Slim ICS Link
  • Epsilon Project Link
  • Optimus 3D CyanogenMod 7.2 Link
  • Revolution Custom Rom GS2 by SconcauTeam Link
  • MIUI V4 for i9000 Link
  • TsunamICS Link
  • Catalyst MIUI Link
  • Phone-Bricker Link
  • Epsilon Project LP7 Link
  • JetMOD™3.0-Micromax A75 Link
  • Tiramisu+ I.C.E. A.G.E. Link
  • SuperStock Link
  • Revolution Custom Rom GS1 by SconcauTeam Link
  • RevoNote odex project by SconcauTeam Link
  • INFINITUM LBR Link
  • Clean AOPK Link
  • LeWa Os Link
  • INFINITUM-LBR (Samsung Captivate) Link
  • INFINITUM-LBR (Samsung Vibrant) Link
  • SilverLight™ Link
  • MyUI Euphoria Link
  • RebelROM Link
  • RebelROM Link
  • cm9 nightlies for mediacom Link
  • JetMOD™2.2 Link
  • GSIII revolution ROM by SconcauTeam Link
  • ZeroOneS3 Link
  • Team Sonic- FreeGS3 Link
  • Epsilon Project v4 Link
  • Light by TugaPower TEAM Link
  • MIUI v4 ICS Apside Edition Link
  • CriskeloROM Link
  • RGUI Link
  • LilBitMod Link
  • SmartRazr Latam Link
  • NovAndroid Link
  • Cr@zy SliVeR Link
  • JellyBam AOSP Link
  • JellyBam AOKP Link
  • JetMOD Link

FAQ

Some link inserted in my xml file don't work

Some link with strange caracters don't work in xml, you must surround the link by CDATA tag like
Code:
Select Code
<DonateUrl><=!=[=C=D=A=T=A=[http://forum.xda-developers.com/donatetome.php?u=xxxxxx]=]=></DonateUrl>
How can i call you app from my app?

Simple, insert this code if you use Update me
Code:
Select Code
Intent intentDeviceTest = new  Intent("android.intent.action.MAIN");
intentDeviceTest.setComponent(new ComponentName("com.acquariusoft.UpdateMe","com.acquariusoft.UpdateMe.UpdateMeActivity"));
startActivity(intentDeviceTest);
And if you use Update me Smartphone
Code:
Select Code
Intent intentDeviceTest = new  Intent("android.intent.action.MAIN");
intentDeviceTest.setComponent(new ComponentName("com.acquariusoft.UpdateMeSmartphone","com.acquariusoft.UpdateMeSmartphone.UpdateMeActivityOld"));
startActivity(intentDeviceTest);
The Following 21 Users Say Thank You to acquariusoft For This Useful Post: [ Click to Expand ]
 
TamCore
Old
#4  
TamCore's Avatar
Senior Member
Thanks Meter 1055
Posts: 643
Join Date: Jul 2010
Location: Düsseldorf

 
DONATE TO ME
Thanks! I'll try it with my OpenSensation nightlies. I have only one feature request: It would be nice if we could configure a custom User-Agent.
Blog // Twitter // Google+ // github // something else
 
acquariusoft
Old
#5  
acquariusoft's Avatar
Senior Member - OP
Thanks Meter 392
Posts: 789
Join Date: May 2006

 
DONATE TO ME
Quote:
Originally Posted by TamCore View Post
Thanks! I'll try it with my OpenSensation nightlies. I have only one feature request: It would be nice if we could configure a custom User-Agent.
yes, i can do.
For what operation do you need a custom user-agent?
xml download, or also rom and other thinks download?

Inviato dal mio Transformer TF101 usando Tapatalk
The Following User Says Thank You to acquariusoft For This Useful Post: [ Click to Expand ]
 
acquariusoft
Old
#6  
acquariusoft's Avatar
Senior Member - OP
Thanks Meter 392
Posts: 789
Join Date: May 2006

 
DONATE TO ME
Version 1.0.1 beta with support to custom user agent

in update_me.xml

add a UserAgent field with the string for user agent.

tell me if work
Attached Files
File Type: apk UpdateMe.apk - [Click for QR Code] (56.0 KB, 273 views)
The Following 2 Users Say Thank You to acquariusoft For This Useful Post: [ Click to Expand ]
 
TamCore
Old
#7  
TamCore's Avatar
Senior Member
Thanks Meter 1055
Posts: 643
Join Date: Jul 2010
Location: Düsseldorf

 
DONATE TO ME
Custom UserAgent works fine. Thanks! But I have two problems:
1. When I press "Info" the App crashes. (Logcat)
2. When I go into Settings and press "Check for ROM update" the App crashes. (Logcat)
Blog // Twitter // Google+ // github // something else
 
acquariusoft
Old
#8  
acquariusoft's Avatar
Senior Member - OP
Thanks Meter 392
Posts: 789
Join Date: May 2006

 
DONATE TO ME
Can i see you update_me.xml?

where you have put it?

Inviato dal mio Transformer TF101 usando Tapatalk
The Following User Says Thank You to acquariusoft For This Useful Post: [ Click to Expand ]
 
TamCore
Old
#9  
TamCore's Avatar
Senior Member
Thanks Meter 1055
Posts: 643
Join Date: Jul 2010
Location: Düsseldorf

 
DONATE TO ME
Code:
Select Code
$ adb shell cat /system/update_me.xml
<?xml version="1.0" encoding="UTF-8"?>
<RomConfig>
    <RomName>test</RomName>
    <RomVersion>20120408</RomVersion>
    <RomCheckUrl>http://files.tamcore.eu/android/update_me_check.xml</RomCheckUrl>
    <RomElemUrl>http://files.tamcore.eu/android/update_me_parts.xml</RomElemUrl>
    <UserAgent>test</UserAgent>
</RomConfig>
Blog // Twitter // Google+ // github // something else
 
acquariusoft
Old
#10  
acquariusoft's Avatar
Senior Member - OP
Thanks Meter 392
Posts: 789
Join Date: May 2006

 
DONATE TO ME
the problem is romversion.
this field must have the format 1.0.0. you can do something like 2012.4.9
also in the other config files

Inviato dal mio Transformer TF101 usando Tapatalk

The Following 2 Users Say Thank You to acquariusoft For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes