[Q] Download System Source without Ubuntu - Android Q&A, Help & Troubleshooting

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.

Related

[Q] This new Official ICS Kernel..?

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

[Q] Open source OTA updates?

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

[LIBRARY] LibXposed - Simplify xposed framework

I've started started to create a library which makes using xposed more easy and includes features you normally have to develop on your own.
I hope that much people will contribute to make this library bigger.
current featues:
- use a settings app to configure your injections and notify them about changes instantly
- add/remove entries in Settings application
Sourcecode:
https://github.com/M1cha/android_library_libxposed
My eye are blinking and I'm crying right now...
Thanks sir and best wishes to you
omg good luck sir
m11kkaa said:
I've started started to create a library which makes using xposed more easy and includes features you normally have to develop on your own.
I hope that much people will contribute to make this library bigger.
current featues:
- use a settings app to configure your injections and notify them about changes instantly
- add/remove entries in Settings application
Sourcecode:
https://github.com/M1cha/android_library_libxposed
Click to expand...
Click to collapse
Great work dude ! Count me in for any contribution.
Just cloned and ran through.... This is fantastical and awesome work! Thank you very much!
Sent from my SGH-I337 using Tapatalk
I just saw that XPosed provides a XSharedPreferences class which directly opens the prefs of another apps. I think that this is better than my solution. But still be can extend this lib with much more features.
m11kkaa said:
I just saw that XPosed provides a XSharedPreferences class which directly opens the prefs of another apps. I think that this is better than my solution. But still be can extend this lib with much more features.
Click to expand...
Click to collapse
I have been using the XSharedPrefs in a module I am doing, but I can't make it work Live, after changes I have to reboot.
I saw that some github xposed modules use the sendBroadcast to update the prefs on the fly, but I can't make it work.
mcbyte_it said:
I have been using the XSharedPrefs in a module I am doing, but I can't make it work Live, after changes I have to reboot.
I saw that some github xposed modules use the sendBroadcast to update the prefs on the fly, but I can't make it work.
Click to expand...
Click to collapse
Then my solution in this library isn't useless yeah
How to Install ?! :/
androidsupersu said:
How to Install ?! :/
Click to expand...
Click to collapse
Same as any other library:
- clone git repo
- import it to eclipse ("existing android project into workspace")
- add the project as dependency to your app
m11kkaa said:
Same as any other library:
- clone git repo
- import it to eclipse ("existing android project into workspace")
- add the project as dependency to your app
Click to expand...
Click to collapse
Can anyone do this for me ?! Im not a pro i'm not a realy developer:/ i can't do this :/
androidsupersu said:
Can anyone do this for me ?! Im not a pro i'm not a realy developer:/ i can't do this :/
Click to expand...
Click to collapse
If you're not a developer you are at the wrong place here.
This isn't any app you can install. It's a library for developers.
m11kkaa said:
If you're not a developer you are at the wrong place here.
This isn't any app you can install. It's a library for developers.
Click to expand...
Click to collapse
Where's the source? I see only a compiled java jar.
AdamOutler said:
Where's the source? I see only a compiled java jar.
Click to expand...
Click to collapse
What do you mean? the source is on github:
https://github.com/M1cha/android_library_libxposed
The "XposedBridgeApi.jar" is just the XposedApi, this library is based on top of this.
The source of this library itself is in the src folder
m11kkaa said:
What do you mean? the source is on github:
https://github.com/M1cha/android_library_libxposed
The "XposedBridgeApi.jar" is just the XposedApi, this library is based on top of this.
The source of this library itself is in the src folder
Click to expand...
Click to collapse
Oh, sorry.. Im not used to the mobile interface on github. I thought SRC was the title. I use desktop generally. Threw me off, sorry.
AdamOutler said:
Oh, sorry.. Im not used to the mobile interface on github. I thought SRC was the title. I use desktop generally. Threw me off, sorry.
Click to expand...
Click to collapse
no problem. github mobile isn't that good

[Q] Is there a Chromium for Android APK?

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.

[q] [help] [confused] building from source

After doing some research I'm fall down at great confusion. If anyone can help me, I'll be very thankful. My Internet connection is very poor & not secure. If I will download any compressed source and Internet connection is not available at the time of Process. 'Is it possible to build a rom from that downloaded source without Internet.?'
If you don't mind then give some forums link please .
-thankyou ( @LahKeda , @corphish, @andii_nr)
Hungryhacker said:
After doing some research I'm fall down at great confusion. If anyone can help me, I'll be very thankful. My Internet connection is very poor & not secure. If I will download any compressed source and Internet connection is not available at the time of Process. 'Is it possible to build a rom from that downloaded source without Internet.?'
If you don't mind then give some forums link please .
-thankyou ( @LahKeda , @corphish, @andii_nr)
Click to expand...
Click to collapse
All you just need is just to get the compressed source of any ROM you want and then decompress it and you can build it without any problems .-I've build cm12.1 , cm13 , slimkat and slimLP from compressed source -.
By the way , you may need internet connection to get some packages are needed to build android from source like java , gcc ...etc ...
You can download any ROM you want from here ===>https://www.androidfilehost.com/?w=files&flid=87142
yeah I appreciate your Great Work.
LahKeda said:
All you just need is just to get the compressed source of any ROM you want and then decompress it and you can build it without any problems .-I've build cm12.1 , cm13 , slimkat and slimLP from compressed source -.
By the way , you may need internet connection to get some packages are needed to build android from source like java , gcc ...etc ...
You can download any ROM you want from here ===>https://www.androidfilehost.com/?w=files&flid=87142
Click to expand...
Click to collapse
one more question to you...
Is Building android from source different from having Internet or without Internet.?
And what should I download 'repo or without repo'.
Thanks for your response.
Hungryhacker said:
one more question to you...
Is Building android from source different from having Internet or without Internet.?
And what should I download 'repo or without repo'.
Thanks for your response.
Click to expand...
Click to collapse
No. We don't need repo to build a rom. As far as i know, it is used to bring fixes and updates for the source.
thanks
nagato said:
No. We don't need repo to build a rom. As far as i know, it is used to bring fixes and updates for the source.
Click to expand...
Click to collapse
if i download without repo...then I can't upload or sync with github...isn't it?
Hungryhacker said:
one more question to you...
Is Building android from source different from having Internet or without Internet.?
And what should I download 'repo or without repo'.
Thanks for your response.
Click to expand...
Click to collapse
Hungryhacker said:
if i download without repo...then I can't upload or sync with github...isn't it?
Click to expand...
Click to collapse
-If you don't have repo you won't be able to fetch new updates from ROM repository ,but you can solve this problem by installing the repo too and extract it to ROM source .
-If you don't have repo that doesn't mean that you can push to github , actually github has nothing to do with repo !
-Having internet while building isn't necessary but you will need it if you come into troubles like wrong java version or missed packages !
thanks a lot
your words gives me much clearance.... Thank You very much.... Then I may go through different guides relates to building rom from source.
Thanks for your response.
Thanks a lot
your words gives me much clearance.... Thank You very much.... Then I may go through different guides relates to building rom from source.
Thanks for your response.

Categories

Resources