I know you can get OTA updates on a custom ROM via rom manager but its proprietary. Are there any open source solutions to OTA updates on custom roms?
SHAWDAH said:
I know you can get OTA updates on a custom ROM via rom manager but its proprietary. Are there any open source solutions to OTA updates on custom roms?
Click to expand...
Click to collapse
One open source OTA update solutions for custom roms is OTA-UpdateCenter. It's open source and easy to start using, you can check it out here, and check out the source code on their github. Let me know if you have any other questions.
shimp208 said:
One open source OTA update solutions for custom roms is OTA-UpdateCenter. It's open source and easy to start using, you can check it out here, and check out the source code on their github. Let me know if you have any other questions.
Click to expand...
Click to collapse
Yea I saw that while googling around but it seems pretty... outdated.
https://github.com/OTAUpdateCenter/ota-updater-2.0/graphs/contributors
I saw the cyanogenmod ota updater which seems good.
http://www.androidpolice.com/2012/0...ng-rom-manager-for-its-own-ota-update-system/
SHAWDAH said:
Yea I saw that while googling around but it seems pretty... outdated.
https://github.com/OTAUpdateCenter/ota-updater-2.0/graphs/contributors
I saw the cyanogenmod ota updater which seems good.
http://www.androidpolice.com/2012/0...ng-rom-manager-for-its-own-ota-update-system/
Click to expand...
Click to collapse
What you could do is fork the cyanogenmod OTA updater and then modify it to suit your own needs fairly easily.
shimp208 said:
What you could do is fork the cyanogenmod OTA updater and then modify it to suit your own needs fairly easily.
Click to expand...
Click to collapse
That seems like the best solution, thanks.
Hello, we have dedicated own OTA server. We cann't use OTA UpdateCenter or other services. What is the best way for use OTA update in aosp?
I have S905x with AOSP provided by amlogic. For OTA update, OTAUpgrade2 app is used.
I set...
Code:
PRODUCT_PROPERTY_OVERRIDES += \
ro.product.firmware=0002\
ro.product.otaupdateurl=h_t_t_p/myurl/myfile
It works. I see incoming requests in my HTTP log. But i don't know the structure and format of checked file (I think, it contains actual_version, url_to_zip, md5...). Thus when I start UPDATE&BACKUP and press "online update button", "No New Version Discovered message" is showed. I tried find in source code, but I think, this all is in one library without source codes (/vendor/amlogic/apps/OTAUpgrade2/libs/libotaupdate.jar). I could not find anywhere on the internet that file format. Thank you for help.
cizek.milan said:
Hello, we have dedicated own OTA server. We cann't use OTA UpdateCenter or other services. What is the best way for use OTA update in aosp?
I have S905x with AOSP provided by amlogic. For OTA update, OTAUpgrade2 app is used.
I set...
Code:
PRODUCT_PROPERTY_OVERRIDES += \
ro.product.firmware=0002\
ro.product.otaupdateurl=h_t_t_p/myurl/myfile
It works. I see incoming requests in my HTTP log. But i don't know the structure and format of checked file (I think, it contains actual_version, url_to_zip, md5...). Thus when I start UPDATE&BACKUP and press "online update button", "No New Version Discovered message" is showed. I tried find in source code, but I think, this all is in one library without source codes (/vendor/amlogic/apps/OTAUpgrade2/libs/libotaupdate.jar). I could not find anywhere on the internet that file format. Thank you for help.
Click to expand...
Click to collapse
Did you find a solution? The protocol or any ready-to-use server application?
Thanks
Related
Okay so I'm currently downloading this 'Opensource_Update4.zip' file from Opensource, which I assume is the Official Kernel?
Just a few quick questions that I'd appreciate your help with guys:
1. Am I correct in what I just said above?
2. If so, do I just flash the file through ODIN?
3. Will this wipe my phone back to factory settings?
4. Will this affect my device being rooted?
Thanks in advance
New_World_Order said:
1. Am I correct in what I just said above?
Click to expand...
Click to collapse
No.
New_World_Order said:
2. If so, do I just flash the file through ODIN?
Click to expand...
Click to collapse
Again: no.
New_World_Order said:
3. Will this wipe my phone back to factory settings?
Click to expand...
Click to collapse
You will not be able to flash this, as it's not a flashable kernel, but SOURCE CODE.
So many wrong things in just one post
VAXXi said:
No.
Again: no.
You will not be able to flash this, as it's not a flashable kernel, but SOURCE CODE.
So many wrong things in just one post
Click to expand...
Click to collapse
Woaaaaaah I need a huge slap.
Would you be so kind as to explain please? :$
Sent from my GT-I9100 using XDA
Not really, as it's quite long
But the tl;dr version is: what Samsung published today is the source code (human readable code) for the ICS kernel. The ICS kernel is the "core" of the system, if you want. By compiling the source code, you obtain the machine code (specifically one zImage file) which runs on your device.
They are forced to publish the sources due to GPL requirements, but they're not very helpful in doing this. Inside the source code, there's still binary code (device drivers, etc) which cannot be published due to various agreements with the hardware manufacturers. Having this source code, even incomplete as it is, allows developers to see how the binary code is treated; this way, they can improve their code or even develop open-source replacements for the closed binary part of the kernel.
VAXXi said:
Not really, as it's quite long
But the tl;dr version is: what Samsung published today is the source code (human readable code) for the ICS kernel. The ICS kernel is the "core" of the system, if you want. By compiling the source code, you obtain the machine code (specifically one zImage file) which runs on your device.
They are forced to publish the sources due to GPL requirements, but they're not very helpful in doing this. Inside the source code, there's still binary code (device drivers, etc) which cannot be published due to various agreements with the hardware manufacturers. Having this source code, even incomplete as it is, allows developers to see how the binary code is treated; this way, they can improve their code or even develop open-source replacements for the closed binary part of the kernel.
Click to expand...
Click to collapse
Hahahaa okay thanks...
I think I'll just leave it alone! :')
Sent from my GT-I9100 using XDA
Hi guys I am creating a new ROM and I would like to change the database of updates of CyanogenMod to receive updates released by me and not relased by CyanogenMod, as I do?and how do I get the anonymous stats to me and not to CyanogenMod? Thanks for the answers and excuse me for my bad english
Are you talking about your github log? It will be updated as you commit your changes.
thewadegeek said:
Are you talking about your github log? It will be updated as you commit your changes.
Click to expand...
Click to collapse
But how do I make him get the updates from my Github account and not from CyanogenMod account? What file should I change?
---blacksoul--- said:
But how do I make him get the updates from my Github account and not from CyanogenMod account? What file should I change?
Click to expand...
Click to collapse
You need to be more specific as in what you mean by updates. Rom updates as in downloading the lastest rom when there is a new version, changelogs? What?
lithid-cm said:
You need to be more specific as in what you mean by updates. Rom updates as in downloading the lastest rom when there is a new version, changelogs? What?
Click to expand...
Click to collapse
I want the ROM update itself (obviously, the first requiring the consent of the user) when I release a new version and that the anonymous statistics come to me and not to CyanogenMod
Ok so you want to have a OTA updater, and you want to collect anonymous statistics. Write a Java app that checks a server, compares the version of the current ROM with the one present there, if it's less then downloads the file and prompts the user to reboot into recovery. As to the statistics, that's in the CyanogenMod repo, and if you can't figure it out you shouldn't be collecting them.
thewadegeek said:
Ok so you want to have a OTA updater, and you want to collect anonymous statistics. Write a Java app that checks a server, compares the version of the current ROM with the one present there, if it's less then downloads the file and prompts the user to reboot into recovery. As to the statistics, that's in the CyanogenMod repo, and if you can't figure it out you shouldn't be collecting them.
Click to expand...
Click to collapse
Sorry maybe Google translator sucks but I do not understand the issue of anonymous statistical
Hello
My internet is too slow so i want go to my friend and please him to download Android source. My Question is - where I Found full Source Code of Android? I Found this
http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/2.2.2_r1/
Click to expand...
Click to collapse
But I Don't know it is this.
Can you help me? Thanks
The full AOSP source code is on github:
https://github.com/android
You can download it all there.
Sent from my Galaxy Nexus running Android 4.2 JB
Thanks - i see this Page but I don't know how I Can Find Source Code Aps and System core from android 2.2.2?
cheqolada said:
Thanks - i see this Page but I don't know how I Can Find Source Code Aps and System core from android 2.2.2?
Click to expand...
Click to collapse
Here is the System Core for Froyo (2.2.x) https://github.com/android/platform_system_core/tree/froyo-release. You can find the source code for the app packages by going to https://github.com/android as previously mentioned and then selecting the app package repository you want for example "packages_apps_phone". Then in the upper right hand corner above the app package name you should see a button that says branch select that then froyo-release for the branch name. This will allow you to view the source code for the apps from Froyo 2.2.x. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
Here is the System Core for Froyo (2.2.x) https://github.com/android/platform_.../froyo-release. You can find the source code for the app packages by going to https://github.com/android as previously mentioned and then selecting the app package repository you want for example "packages_apps_phone". Then in the upper right hand corner above the app package name you should see a button that says branch select that then froyo-release for the branch name. This will allow you to view the source code for the apps from Froyo 2.2.x. Let me know if you still have questions .
Click to expand...
Click to collapse
Thanks You very much but I Have one more question. Can I Find in this all elements in froyo-relase(app,System_core) or i must download every zip from every 'platform'? I never download from github and I can't find this.
cheqolada said:
Thanks You very much but I Have one more question. Can I Find in this all elements in froyo-relase(app,System_core) or i must download every zip from every 'platform'? I never download from github and I can't find this.
Click to expand...
Click to collapse
You have to download the zip file for every app package you want the source code for unfortunately. So for example if you wanted both the browsers source code and the phones source code you would have to download the source code zip for both platform_packages_apps_browser and platform_packages_apps_phone.
I found some build instructions at chromium.org and some public repo (not google's) at github, but so far no apk.
I'm asking because I couldn't find a video or demo of chromium running on android either which makes me wonder if it works at all or just limited to a webview basic mode.
MGREX said:
I found some build instructions at chromium.org and some public repo (not google's) at github, but so far no apk.
I'm asking because I couldn't find a video or demo of chromium running on android either which makes me wonder if it works at all or just limited to a webview basic mode.
Click to expand...
Click to collapse
I saw it once and tried researching it but could not find it again. Not 1 apk but 2. You need them both. I do not remember their names.
mint-an said:
I saw it once and tried researching it but could not find it again. Not 1 apk but 2. You need them both. I do not remember their names.
Click to expand...
Click to collapse
Sounds like some modded whatsapp apks I seen, but couldn't find anything either
Wonder how difficult would it be to couple the chromium-based webview with a browser UI
MGREX said:
I found some build instructions at chromium.org and some public repo (not google's) at github, but so far no apk.
I'm asking because I couldn't find a video or demo of chromium running on android either which makes me wonder if it works at all or just limited to a webview basic mode.
Click to expand...
Click to collapse
https://storage.googleapis.com/chro...oid/32eaa6c2911c647846e31071e4e02efe56c8cd1c/
mint-an said:
I saw it once and tried researching it but could not find it again. Not 1 apk but 2. You need them both. I do not remember their names.
Click to expand...
Click to collapse
here is the link
download the zip
4Freedom said:
https://storage.googleapis.com/chro...oid/32eaa6c2911c647846e31071e4e02efe56c8cd1c/
here is the link
download the zip
Click to expand...
Click to collapse
Needs to be flashed via custom recovery?
Dr. Krieger said:
Needs to be flashed via custom recovery?
Click to expand...
Click to collapse
nope, last version 15-01-2015 download from here https://www.googleapis.com/download...oid.zip?generation=1421347610268000&alt=media
Yes, but it gets released everyday.
The trick with the official build of Chromium for Android is that it's constantly being released by the Chromium team.
These builds don't auto-update, so you need to install new builds occasionally( I install a new build every day, personally).
I put together an app getChromium that's available on Google Play(can't link anything in here yet) that securely pulls the latest build from the official repository and installs it.
Code's on github.
andDevW said:
The trick with the official build of Chromium for Android is that it's constantly being released by the Chromium team.
These builds don't auto-update, so you need to install new builds occasionally( I install a new build every day, personally).
I put together an app getChromium that's available on Google Play(can't link anything in here yet) that securely pulls the latest build from the official repository and installs it.
Code's on github.
Click to expand...
Click to collapse
You should place the link to your app here for the playstore
ink718 said:
You should place the link to your app here for the playstore
Click to expand...
Click to collapse
The app wasn't being used correctly by most of the users acquired on Google Play, so I've actually permanently moved it to GitHub. https://github.com/andDevW/getChromium. People all over the world were using it to install Chromium and then uninstalling it, unaware that the Chromium browser they're using will never update itself.
hi
been trying to download repo for cynogenmod but have failed with numerous attempt. it is a huge file. is it possible to download just the required files to make cwm recovery 11 ? for kitkat? if possible how ?
Regrettably, no. You will need to repo sync the entire source code
shoey63 said:
Regrettably, no. You will need to repo sync the entire source code
Click to expand...
Click to collapse
alrite,
Code:
:git fetch aosp --tags tag android-4.4.4_2 +refs/tags/android-4.4.4_r2:refs/tags/android-4.4.4_r2
getting error on this one, can i download it manually from ?
https://android.googlesource.com/platform/prebuilts/sdk/+refs
Before going through the pain of doing that, does your device have Cm11 device tree?
shoey63 said:
Before going through the pain of doing that, does your device have Cm11 device tree?
Click to expand...
Click to collapse
no. as per my knowledge . My device is Lg g3 f460 k (snapdragon 805 variant). on kitkat 4.4.2. i searched far and wide but nothing related to it.
I only have 2 options now,
sync cm 12 (not sure if i could build a recovery here that will work in kitkat)
download individual files and put it the respective folders.
It would be better to start with cm11, which is known to be compatible with your device, as you have kitkat. But Cm12 has, at least in the later revisions, his own Recovery, which only offers a part of the options.
Spartaner25 said:
It would be better to start with cm11, which is known to be compatible with your device, as you have kitkat. But Cm12 has, at least in the later revisions, his own Recovery, which only offers a part of the options.
Click to expand...
Click to collapse
okay got everything but there is sdk folder missing in prebuilts.. help me download it manually perhaps ? my version of android is 4.4.2