Skip to content
Open

l #2

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
系统检测更新器
新版系统检测更新器
===========

开源说明
Expand All @@ -8,28 +8,37 @@

2.如果你对本项目感兴趣或者有什么意见或建议,欢迎联系[510146422@qq.com](mailto:510146422@qq.com)

3.因为最近在更新魔趣,所以用魔趣图片作为样例

使用教程
---------------
1.申请github账号,将我的的OTA_TEST开源项目Fork

2.了解安卓开发的朋友可以直接将我的项目导入,进行修改编译(签名需要使用系统签名)
2.了解安卓开发的朋友可以直接将我的项目导入,进行修改编译

3.普通机油可以反编译我提供的成品(MIUI版本,需要导入MIUI资源框架),打开
注意:调用SystemProperties.get("ro.mk.version");
需要导入layoutlib.jar 具体可以参考http://blog.sina.com.cn/s/blog_6b597ccb0100ywrw.html

res\values\strings.xml,修改version_url(版本号),update_info_url(更新日志),
3.普通机油可以反编译SudaUpdater\bin中的成品

disk_url(百度网盘),最后别忘了用我提供的工具签名
打开res\values-zh-rCN\strings.xml,修改base_url(基准地址)

https://raw.githubusercontent.com/ghbhaha/OTA_TEST/Server/version
https://raw.githubusercontent.com/ghbhaha/OTA_TEST/bacon_mokee/

(将ghbhaha改成你的账号,该地址为打开version后点击raw得到的)
解释:https://raw.githubusercontent.com/你的账号/项目名/分支名/

https://raw.githubusercontent.com/ghbhaha/OTA_TEST/Server/update_info
4.在github中编写更新日志,版本号,更新定位网址

(将ghbhaha改成你的账号,该地址为打开update_info后点击raw得到的)
version:当前版本

当你需要更新时,修改OTA_TEST/version,uodate_info就可以了
info_版本号:相应版本对应日志

网盘可以分享出一个文件夹专门用来存放刷机包(ota或整包)
ydss_url:更新下载所需定位的网址

具体可以参考https://github.com/ghbhaha/OTA_TEST/tree/bacon_mokee

界面截图
---------------
![Image text](https://github.com/ghbhaha/OTA_TEST/blob/Android_New/screenshots/Screenshot_2014-12-29-14-19-55.png)
![Image text](https://github.com/ghbhaha/OTA_TEST/blob/Android_New/screenshots/Screenshot_2014-12-29-14-19-59.png)
![Image text](https://github.com/ghbhaha/OTA_TEST/blob/Android_New/screenshots/Screenshot_2014-12-29-14-20-04.png)
Binary file removed Sign_Tools/platform.pk8
Binary file not shown.
27 changes: 0 additions & 27 deletions Sign_Tools/platform.x509.pem

This file was deleted.

Binary file removed Sign_Tools/signapk.jar
Binary file not shown.
3 changes: 0 additions & 3 deletions Sign_Tools/请将apk文件拖到我身上.bat

This file was deleted.

Binary file removed SudaRomUpdate.apk
Binary file not shown.
4 changes: 0 additions & 4 deletions SudaRomUpdate/.settings/org.eclipse.jdt.core.prefs

This file was deleted.

32 changes: 0 additions & 32 deletions SudaRomUpdate/AndroidManifest.xml

This file was deleted.

32 changes: 0 additions & 32 deletions SudaRomUpdate/bin/AndroidManifest.xml

This file was deleted.

Binary file removed SudaRomUpdate/bin/SudaRomUpdate.apk
Binary file not shown.
Binary file removed SudaRomUpdate/bin/classes.dex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed SudaRomUpdate/bin/classes/com/sudarom/update/R$id.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed SudaRomUpdate/bin/classes/com/sudarom/update/R.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed SudaRomUpdate/bin/res/drawable-xhdpi/icon.png
Binary file not shown.
Binary file removed SudaRomUpdate/bin/resources.ap_
Binary file not shown.
85 changes: 0 additions & 85 deletions SudaRomUpdate/gen/com/sudarom/update/R.java

This file was deleted.

Binary file removed SudaRomUpdate/libs/android-support-v4.jar
Binary file not shown.
Binary file removed SudaRomUpdate/res/drawable-xhdpi/btn_bg_pressed.png
Binary file not shown.
Binary file removed SudaRomUpdate/res/drawable-xhdpi/icon.png
Binary file not shown.
Binary file removed SudaRomUpdate/res/drawable-xhdpi/ota_btn_bkg.9.png
Binary file not shown.
Binary file not shown.
82 changes: 0 additions & 82 deletions SudaRomUpdate/res/layout/activity_main.xml

This file was deleted.

11 changes: 0 additions & 11 deletions SudaRomUpdate/res/values-v11/styles.xml

This file was deleted.

12 changes: 0 additions & 12 deletions SudaRomUpdate/res/values-v14/styles.xml

This file was deleted.

18 changes: 0 additions & 18 deletions SudaRomUpdate/res/values-zh-rCN/strings.xml

This file was deleted.

7 changes: 0 additions & 7 deletions SudaRomUpdate/res/values/dimens.xml

This file was deleted.

20 changes: 0 additions & 20 deletions SudaRomUpdate/res/values/styles.xml

This file was deleted.

Loading