matthewbooth / otaupdates Goto Github PK
View Code? Open in Web Editor NEWOver-The-Air Updates for Android ROMs from ICS to Lollipop
Home Page: http://ultimarom.com/
Over-The-Air Updates for Android ROMs from ICS to Lollipop
Home Page: http://ultimarom.com/
Check for updates in the background.
This relies on #58
A developer donate button should show if the developer set one, and open either PayPal or BitCoin depending on which is set
Addons Force Close upon opening now. Catlog sent..
Download ota package after exiting the program download interface, when the package download is complete, ota stop running
: Shutting down VM
: FATAL EXCEPTION: main
: Process: com.ota.updates, PID: 30682
: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@1a5690e6 is not valid; is your activity running?
: at android.view.ViewRootImpl.setView(ViewRootImpl.java)
: at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java)
: at android.view.WindowManagerImpl.addView(WindowManagerImpl.java)
: at android.app.Dialog.show(Dialog.java)
: at com.ota.updates.tasks.LoadUpdateManifest.onPreExecute(LoadUpdateManifest.java)
: at android.os.AsyncTask.executeOnExecutor(AsyncTask.java)
: at android.os.AsyncTask.execute(AsyncTask.java)
: at com.ota.updates.activities.MainActivity$CompatibilityTask.onPostExecute(MainActivity.java)
: at com.ota.updates.activities.MainActivity$CompatibilityTask.onPostExecute(MainActivity.java)
: at android.os.AsyncTask.finish(AsyncTask.java)
: at android.os.AsyncTask.access$600(AsyncTask.java)
: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java)
: at android.os.Handler.dispatchMessage(Handler.java)
: at android.os.Looper.loop(Looper.java)
: at android.app.ActivityThread.main(ActivityThread.java)
: at java.lang.reflect.Method.invoke(Native Method)
: at java.lang.reflect.Method.invoke(Method.java:372)
: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
: isApplicationStateBlocked userId 0 pkgname com.ota.updates
Write our own, or use Android Download Manager.
The ADM can only download to the internal storage, because Google's logic is shot. But many users have suggested using external storage, which would require a Download Service written from scratch.
I suggest that your message for unsupported ROMs should include an "Uninstall" button at the bottom so that users remove the app straight away, thereby avoiding the possibility that they open it again / another day and get frustrated. This should help reduce the number of 1* reviews received.
PS - I've also downvoted the stupid reviews I've seen.
Some functionality to download the rom json file and check it's latest version against our latest version and perform some necessary actions based on the result.
In the OTA.xml
SampleRom v1.1
In app it trims out the space and displays SampleRomv1.1 in Main screen and Download screen.
Hi,
since the last update and the modification on the storage code parts, on my devices the OTAupdates are not longer stored under "/storage/emulated/0/OTAupdates" but now under "/storage/emulated/0/storage/emulated/0/OTAupdates"
In twrp it is:
/sdcard/storage/emulated/0/OTAupdates
That means, the recovery script does not work and i have to flash it manually again. :(
Cheers,
Saint
Add seperation toggle for Addons Notifcation vs ROm Updates
us to define default time(build.prop) to check for updates.
New rom, but want to ensure it check for new updates right after flashing...
Display all the necessary licences for the app in a single page
The side drawer item for OTA Updates Pro should show as a "please support" text if the app was not bought, otherwise it should thank the user for their support
With direct link to addons to a file in dropbox. The File anme and description shows in OTA App as the description only.
When you click download: app downloads, when finish it shows cancel.If you click cancel OTA App fc's.
Add Categories to Addon section of app.
we could then have for example under Addons:
Themes
Themes Apps
Mods
Stock (Revert Mods)
This would expand just the way it looks is all. Make it collapeable, but the main screen just show whats new as always..
I would think just another metatag in the OTA.xml and of course code to read it.
I should switch to json parsing for addons and versions. JSON looks a lot easier to parse and should result in less problems
After flash the rom update the app try to install the zip files in the installafterflash folder but there is a problem with the path a "/" is missing between the sdcard and OTAUpdates version 2.5.1 2.5.2
-- Installing: /sdcardOTAUpdates/InstallAfterFlash/MaxxAudio_CM12_V3.zip
Finding update package...
I:Update location: /sdcardOTAUpdates/InstallAfterFlash/MaxxAudio_CM12_V3.zip
E:unknown volume for path
Add code to get a list of versions from the database
Hey, it's better, but not quite...
When you update the firmware in TWRP popping up:
E: Failed to sysMapFile '/sdcard/OTAUpdatescm-12.1-20150527-UNOFFICIAL-[NG]-eng-e975.zip'
E: Error installing zip file '/sdcard/OTAUpdatescm-12.1-20150527-UNOFFICIAL-[NG]-eng-e975.zip'
And here is how it should be:
/sdcard/OTAUpdates**/**cm-12.1-20150527-UNOFFICIAL-[NG]-eng-e975.zip
I have noticed that some devs have put the .ota.xml urls in with a new line character at the end. This is obviously not going to work, as it will 404. If you trim that sort of stuff before calling it, that would be good.
Clicking on a version shows a page very much like the page seen for the available updates. In fact, they should be identical
App should show the current app version in the about page
The OTA Updates appvstill force closes on android v5.1.1 CM12.1 when selecting addons, the app crashes, when you select changelog for rom the app crashes and even not doing anything the app crashes can you fix this?
Application takes off when opening addon...
...i made addona itself, I messed up nothing.
The sidebar drawer icon should open this Github page for information
The website item in the side drawer should only display if the developer sets one, and should open the developer website when clicked
Please add support for Android 6.0, and on romhut, too.
Addons should have the ability to be queued up for download
Parse rom information from romhut
Feature to allow a notification when addons are updated.
Im not fully sure whats going on with it after it updated the ota updates it immdeiatly crashes when opening it i do have the libbypass.so in /system/lib but i do not know why its crashing
Possible to add another line in build.prop to set the default theme to dark/light
This relies on #54 and should add the parsed information into the database
This relies heavily on #36 but would allow users to be notified on updates to individual addon categories
Switching to using /rom/{slug}/versions
will allow the app to show a history of versions, and also allow us to expand on this further in the future. It should also make the onboarding process for devs much easier.
Append ?redirect=true
to the current OTA urls when you release the app, and it will redirect them to use the new versions.xml/json. This will mean that both versions will work until all devs move over.
Write some code to create a list of AddonItems collected from the database on the device
EAch addon will automatically hide it's information and reveal it with a show more button
Display some information on the about page to show the author of the app and a link to the relevant app information (XDA, github, ultimarom)
Show the relevant app credits in the about us page
All files are downloaded to the directory /storage/sdcard0/storage/sdcard0/OTAUpdates/
Allow addons to be downloaded
Show the changelog information for the app in the about page
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.