Giter Club home page Giter Club logo

ota-update-centre's Introduction

OTA(Over The Air) update application for devices supported by OTA Update Center. Not all ROMs/Devices are currently supported by the application.

ota-update-centre's People

Contributors

vetruvet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ota-update-centre's Issues

WiFi prompt does not wait for action

When starting app on phone and an update is available the WiFi off warning pops up to either Exit, Ignore, or go to WiFi settings but immediately after that the download prompt comes up and hides the WiFi option.

In other words you never get the opportunity to decide on WiFi or not.

The expected result is you decide on WiFi then get the download prompt.

Reboot and install on SGS3.

When OTAUpdater is done downloading the rom, witch works great then the install script it makes for CWM link the file to /storage/sdcard0/OTA-Updater/rom name. Problem is just there is no /storage/sdcard0 and if i do the install manual from the CWM it shows just as /sdcard/OTA-Updater/rom name

It was like that on RC2.

On RC3 it dont even reboot after it have downloaded the rom.

This is the logcat from the reboot. And it do ask for SU access and that is granted.

V/OTAUpdater::Download( 4708): Found old zip, checking md5
V/OTAUpdater::Download( 4708): old zip md5: de44b769d29aad148f561f11cd612436
I/Choreographer( 4708): Skipped 178 frames! The application may be doing too much work on its main thread.
I/dalvikvm( 4708): Jit: resizing JitTable from 4096 to 8192
D/su ( 5274): Found file
D/su ( 5274): this is the last character 101 of the string
D/su ( 5274): Comparing s /system/bin/sh, 14 to /system/bin/sh
D/su ( 5274): 10022 com.updater.ota executing 0 /system/bin/sh using shell /system/bin/sh : sh
W/System.err( 4708): java.lang.SecurityException: Neither user 10022 nor current process has android.permission.REBOOT.
W/System.err( 4708): at android.os.Parcel.readException(Parcel.java:1425)
W/System.err( 4708): at android.os.Parcel.readException(Parcel.java:1379)
W/System.err( 4708): at android.os.IPowerManager$Stub$Proxy.reboot(IPowerManager.java:519)
W/System.err( 4708): at android.os.PowerManager.reboot(PowerManager.java:557)
W/System.err( 4708): at com.updater.ota.ListFilesActivity$5$1.onClick(ListFilesActivity.java:258)
W/System.err( 4708): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
W/System.err( 4708): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 4708): at android.os.Looper.loop(Looper.java:137)
W/System.err( 4708): at android.app.ActivityThread.main(ActivityThread.java:4928)
W/System.err( 4708): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 4708): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 4708): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
W/System.err( 4708): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
W/System.err( 4708): at dalvik.system.NativeStart.main(Native Method)
W/InputMethodManagerService( 2206): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41971518 attribute=null
D/AndroidRuntime( 5277):
D/AndroidRuntime( 5277): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 5277): CheckJNI is OFF
D/dalvikvm( 5277): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 5277): Added shared lib libjavacore.so 0x0
D/dalvikvm( 5277): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 5277): Added shared lib libnativehelper.so 0x0
D/AndroidRuntime( 5277): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 5277): Shutting down VM
D/dalvikvm( 5277): GC_CONCURRENT freed 99K, 88% free 491K/4096K, paused 1ms+0ms, total 5ms

Failed to find update package on Rezound Internal SD Card

This is the results in CWM Recovery

ClockworkMod Recovery v5.8.1.4
Finding update package
Opening update package
Verifying update package
E: Failed to open /sdcard/OTA-Updater/download/Business_ICS4.0.3_Sense4.0_1.7.zip (No such file or directory)
E: Signature verification failed
Installation aborted

The results in AmonRa is similar

RA Revamped
Build : RA-Vigor-v3.15-getitnowmarketing
Finding update package
Can't mount /sdcard/OTA-Updater/download/Business_ICS4.0.3_Sense4.0_1.7.zip
Installation aborted.

I believe this is a known issue on the Rezound/Vigor being unable to mount internal SDCARD in recovery.

NOTE: SDCARD is the internal and SDCARD2 is external. There is also a symlink on SDCARD for ext_sd to SDCARD2

Download works But install doesn't

Hey,

Im using this wonderful OTA app for my S1 rom (2.3.6 based, semaphore kernel - CWM).
After the download the app reboots in to e3 recovery and now CWM, so the rom isn't installed.
It finds the file on the SD but can't flash is because its not CWM ! - Signature verification failed

RC4 by the way.

I would gladly appreciate any ideas to help fix this,

Yoel.

Force close without data connect

app verison :rc-3
device:Motorola DROID2 GLOBAL
ROM: stock 4.5.629

If I start otaupdater without a mobile data connect or only a wifi connect, the app will force close.
Only mobile data or both mobile data & wifi is OK

Signature verification failed

Actually Im not sure if that error causes by the unsigned rom.. I got this error

CWM V5.8.0.9
Finding update package
Opening update package
Verifying update package
E:signature verification failed
Installation aborted

When i try to install it manually from recovery than no problems.

Maybe try to disable in the app verification solve that problem?

I tried four dofferent methods to check that error.. and there is a result - the same error

I used SmartApk tool which can sign zips
I used signed zip file - did not re-sogn it, used as it is
I re-sign zip
I used the kithcen for making roms to make a NEW zip file without any signatures. just. put some apk files and that it and complie it to a rom, still the same problem..

Please check that, because i dont think that it is only me have such error.

Thank you very much.

Rotate issue

While you downloading a file and if you rotate the screen, downloading bar will disappear and you will be not able to continue or refresh it..then it can goes to recovery and stuck on splash screen..

Signature fails much...

try finding a way to disable signature check?

ota-update-centre / src / com / updater / ota / ListFilesActivity.java

-- line 254
-- os.writeBytes("echo '--update_package=" + path + "' >> /cache/recovery/command\n");
++ os.writeBytes("echo 'install_zip("" + path + "");'" + " > /cache/recovery/extendedcommand\n");

or

++ os.writeBytes("echo 'install_zip("" + path + "");'" + " > /cache/recovery/command\n");

??

Update Install

Samsung captivate with Helly Bean variant of cm10, recovery 6.0.1.0. Update app rc4 can not find downloaded update path. Error: Can not mount sdcard0, Installation aborted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.