[Q] Git for jailbroken RT? - Windows RT General

Hi everyone,
I use Git for source code management but haven't found a Git client for WinRT. Does anybody know a solution?
Git is open source and can be download from git-scm.com. A pure java version called jgit is available from eclipse.org which I already tried to port using IKVM but without success.
Thanks!

Sadly there isn't one. I can't remember off the top of my head why (and as you can imagine, searching for git on these forums, even in the ported software thread gives alot of results) but there was a reason for why it couldnt be ported right now, probably MinGW or cygwin.
Subversion is available right now as an alternative and thats about it I think.

Related

Samsung Galaxy Tab Development Environment

Hello developers,
I'm starting this thread because I'm interested in designing a development environment for the Samsung Galaxy Tab so that developers, like myself, can have an easy environment for modifying the Android OS. I'll be aiming this environment at all Android Devices but I want to start with the Samsung Galaxy Tab.
At the moment I don't have much of a structure for this project, nor much direction, so if anyone has any ideas for what tools etc I should include in this please let me know. If anyone wants to get on board with the project it would also be appreciated. Send me an email.
tool ideas:
- integrating the GCC and Javac compilers into the environment.
- integrating a way to generate make files and to build from these files.
- GUI for editing files from the kernel and application framework.
- easy to use way of setting up branches for projects with the Repo and Git included in the Android Source Code.
Count me in. I am getting a Tab tonight and I plan to develop for it. Currently, I have got the froyo source on my machine and want to integrate the open source code that Samsung released for this device.
Has anyone successfully built a custom ROM using the Samsung source code? Any help on this will be appreciated.
Awesome!
I've got Froyo working on the Tab, which I built from the source code from the android open source project website but it's just a generic build from the straight source, nothing special. not with the samsung code though. do you have any links for it?
I've put a small amount of stuff into the Dev Environment, most just shell files etc to make installing everything easier. One click sort of thing.
My first task though is going to be to try and fix the failure that is the Samsung display driver. Most noticeable are the 4 by 1 widgets that don't stretch across the whole screen.
After that I'm going to start work on a GUI for the environment and the iOS Emulator.
thoughts?
Whats wrong with Android SDK and Eclipse?
It's not the most straight forward thing. I'm looking to make something that includes its own libraries too. It's aimed at beginning developers mostly, so you can literally download one file which includes everything you'll need then start editting and then one click to compile and have it all work. Simplicity
I'm also interested in this... The SGT is my first android device, and my company will want android apps for internal and external uses... and a one click dev environment would be a most welcome option!
DevShroom said:
I've got Froyo working on the Tab, which I built from the source code from the android open source project website but it's just a generic build from the straight source, nothing special. not with the samsung code though. do you have any links for it?
Click to expand...
Click to collapse
Straight up AOSP? Could you have a crack at CM?
Anything you need, including testers, I'm in.
I have programmed some programs in android. If you need my help, i will be glad to help,
Sent from my GT-P1000 using Tapatalk
i'm currently setting up a new galaxy Tab ubuntu 10.10 VM but I always fail at installing java5-jdk, but when im ready i'm going to have a look at the CM and AOSP source and i !try! to port CM to the tab!
I am working on a custom rom , if you need any help do not hesitate
yann06 said:
I am working on a custom rom , if you need any help do not hesitate
Click to expand...
Click to collapse
are u building from source or are you modifing a stock rom?
DevShroom said:
Hello developers,
I'm starting this thread because I'm interested in designing a development environment for the Samsung Galaxy Tab so that developers, like myself, can have an easy environment for modifying the Android OS. I'll be aiming this environment at all Android Devices but I want to start with the Samsung Galaxy Tab.
At the moment I don't have much of a structure for this project, nor much direction, so if anyone has any ideas for what tools etc I should include in this please let me know. If anyone wants to get on board with the project it would also be appreciated. Send me an email.
tool ideas:
- integrating the GCC and Javac compilers into the environment.
- integrating a way to generate make files and to build from these files.
- GUI for editing files from the kernel and application framework.
- easy to use way of setting up branches for projects with the Repo and Git included in the Android Source Code.
Click to expand...
Click to collapse
I'll be interested in getting involved in a community driven project for the SGT. I'm a unix admin with lots of experience in the OS and system development field. Interested in what ideas you have on this.
Try using openjdk. It works for me.
Sent from my GT-P1000 using Tapatalk
Thanks everyone for the positive feedback on all this! it'll be good to have as many people on board as possible.
if you have troubles downloading the sun-java5-jdk there is a good tutorial on it on this site, it doesnt come as part of the repository by default so until you add it in sudo apt-get install sun-java5-jdk will not work.
atm i am only working with AOSP not CM, i am trying to set this dev environment up for a nice simple build and then i'll start working on more complex builds so we can start developing custom roms.
@paulshields - do you know much about linux/android drivers? i wanna fix the widget sizing problem on SGT but my driver knowledge is limited

[Q] Compiling and Porting Native Applications and Libraries to Android

Hello, I would like to add libusb library to my Nook Simple Touch. I read few documents how to port and compile it. As it seems to me there are two options:
1.Putting your sources into the Android source tree and compiling them with the Android tool chain.
I'm new to this and my questions may sound stupid but I don't want to mess things up.
I found only NTS kernel source, but which android source tree I need to use and where to find it?
2.Compiling your sources statically with another tool chain.
Do I need to use Android NDK?
Is it possible to make an update zip containing ported library?
I need some directions for further reading. Thank you! Best regards, Andy

[Q] Android 4.4.2 Clock app source code to modify in Android Studio?

I'm looking for the Android 4.4.2 Clock app source code to modify in Android Studio.
Is that possible to find?
I don't need to replace the clock app or to change the whole Android 4.4.2 OS. But I would like to use the built in Clock application (source code) to make another application with just a few modifications.
I saw a clock application on the Google Play store that said it was the stock clock with modifications. That's where I got the idea that finding the Google source code for its Clock application might be possible. Ideally it would be a project file ready to use in Android Studio.
Thanks.
Is this it?
https://android.googlesource.com/platform/packages/apps/DeskClock/+/eclair-passion-release
You can download whole android source tree including alarm app from here: http://source.android.com/source/downloading.html
VoiceScripter said:
I'm looking for the Android 4.4.2 Clock app source code to modify in Android Studio.
Is that possible to find?
I don't need to replace the clock app or to change the whole Android 4.4.2 OS. But I would like to use the built in Clock application (source code) to make another application with just a few modifications.
I saw a clock application on the Google Play store that said it was the stock clock with modifications. That's where I got the idea that finding the Google source code for its Clock application might be possible. Ideally it would be a project file ready to use in Android Studio.
Thanks.
Is this it?
https://android.googlesource.com/platform/packages/apps/DeskClock/+/eclair-passion-release
Click to expand...
Click to collapse
Thank you. Will I be able to run any of that in Android Studio (0.8.9)?
I am able to run the Android Studio included samples, but no luck running samples that were not included with Android Studio. Like the samples on this page...
https://developer.android.com/samples/index.html
Currently, I'm going to try the method on this page...
https://github.com/gdg-hudson-valley/android-samples
Thanks.
Run? you can compile any source code in Android Studio, whether it will run or not depends on which SDK you select and what target platform you use assuming you don't induce errors with mods.
VoiceScripter said:
Thank you. Will I be able to run any of that in Android Studio (0.8.9)?
I am able to run the Android Studio included samples, but no luck running samples that were not included with Android Studio. Like the samples on this page...
https://developer.android.com/samples/index.html
Currently, I'm going to try the method on this page...
https://github.com/gdg-hudson-valley/android-samples
Thanks.
Click to expand...
Click to collapse
When I say "Run", I'm talking about the little arrow in the Android Studio toolbar that says "Run".
I am able to run samples in Android Studio. The built-in applications were easy. The Android samples from this page were problematic.
http://developer.android.com/samples/index.html
Now I can run those Android samples too, thanks to this useful page.
https://github.com/gdg-hudson-valley/android-samples
Everything functions properly with the samples in Windows, the applications run on my USB-connected Android tablet.
So I looked at the webpage you provided.
http://source.android.com/source/downloading.html
There, it says that Linux (or a virtual machine in Windows) is necessary. So I installed Linux and then Java and then Android Studio. I didn't download the whole source code like on that page, but I imported (previously downloaded through Git in Windows) the Deskclock source code and ran it. Instead of 63 errors, it produced 67 errors.
I have installed every single SDK, in fact every single checkbox in the SDK Manager. Everything was there. Seems to me like its a problem with IDE configuration files. But I know it can be done. That's how ROM makers produce their ROMs.
I got the Deskclock application from this Android source repository page.
https://android.googlesource.com/?format=HTML
Must I use Linux as described on that page you provided to download the source described there in order to make any of the stock applications run in Android Studio? If so, I will get back into Linux and try that way.
Thanks.
No you don;t need Linux, you can download the source code in pieces rather than use GTHUB.
JUst Google "android clock example" you will find dozens of example apps and source code
VoiceScripter said:
When I say "Run", I'm talking about the little arrow in the Android Studio toolbar that says "Run".
I am able to run samples in Android Studio. The built-in applications were easy. The Android samples from this page were problematic.
http://developer.android.com/samples/index.html
Now I can run those Android samples too, thanks to this useful page.
https://github.com/gdg-hudson-valley/android-samples
Everything functions properly with the samples in Windows, the applications run on my USB-connected Android tablet.
So I looked at the webpage you provided.
http://source.android.com/source/downloading.html
There, it says that Linux (or a virtual machine in Windows) is necessary. So I installed Linux and then Java and then Android Studio. I didn't download the whole source code like on that page, but I imported (previously downloaded through Git in Windows) the Deskclock source code and ran it. Instead of 63 errors, it produced 67 errors.
I have installed every single SDK, in fact every single checkbox in the SDK Manager. Everything was there. Seems to me like its a problem with IDE configuration files. But I know it can be done. That's how ROM makers produce their ROMs.
I got the Deskclock application from this Android source repository page.
https://android.googlesource.com/?format=HTML
Must I use Linux as described on that page you provided to download the source described there in order to make any of the stock applications run in Android Studio? If so, I will get back into Linux and try that way.
Thanks.
Click to expand...
Click to collapse
I appreciate your attempts to help, but you should know by now that I'm putting much effort into doing this. It is apparently not a trivial thing.
When one "Googles" the term "android clock example" it produces a grand total of five results that are mostly off-topic.

building from source

Hi,
Amazon release source code as is required by GPL. That is great but to reproduce a binary needs compiler information.
All the stuff I find here on modifying these devices seems to be based on downloading someone else's binaries and hoping they are clean and actually relate to the OS version I have. This info does not always seem to be provided.
If I want to build busybox and su using gcc and copy them across using adb , where can I find the required build info ?
I guess guys here building ROMs must be doing this.
Thanks.

General Manifest FIle

Hello Fellow developer and programmer, I'm building a custom by using Ressurection Remix as a base, While I'm initializing the repo an error occurred, How to solve that. The Error is repo is not reccoginzsed as an internal or external command, I have installed the repo, thanks for the reading the post
LMGTFY - Let Me Google That For You
For all those people who find it more convenient to bother you with their question rather than to Google it for themselves.
bfy.tw
Deadshot0x7 said:
Hello Fellow developer and programmer, I'm building a custom by using Ressurection Remix as a base, While I'm initializing the repo an error occurred, How to solve that. The Error is repo is not reccoginzsed as an internal or external command, I have installed the repo, thanks for the reading the post
Click to expand...
Click to collapse
Download repo and make executable. Basic stuff man. Google as suggested above.
William.trem said:
Download repo and make executable. Basic stuff man. Google as suggested above.
Click to expand...
Click to collapse
thanks btw I'm new to custom rom
Deadshot0x7 said:
thanks btw I'm new to custom rom
Click to expand...
Click to collapse
I'm working on porting one myself. Repo is available within the Ubuntu apt-get repository. That can be a simpler way to install. However I'd suggest the curl & chmod method method for the latest binary as well as getting good experience.
Source control tools | Android Open Source Project
source.android.com
Downloading the Source | Android Open Source Project
source.android.com
2 sec to google
Follow the instructions to add the repository, then do an initial repo sync, I hope you have plenty of drive space cos some roms can take up many GB
The manifest instructions even link you to the guide for setting up git and repo
Ubuntu is usually the best platform for this, it might work in Windows subsystem for Linux but I've never tried so couldn't tell you.
Haven't built a rom for a while but you used to add device tree urls in .repo/local_manifests/roomservice.xml, it's probably still done the same way. (.repo is a hidden folder by default so, in Ubuntu, you would press CTRL+H to get it to show up)
If you don't know how to install repo then you will likely need to do a LOT of reading before you can even think of firing off a build.
djsubterrain said:
Follow the instructions to add the repository, then do an initial repo sync, I hope you have plenty of drive space cos some roms can take up many GB
The manifest instructions even link you to the guide for setting up git and repo
Ubuntu is usually the best platform for this, it might work in Windows subsystem for Linux but I've never tried so couldn't tell you.
Haven't built a rom for a while but you used to add device tree urls in .repo/local_manifests/roomservice.xml, it's probably still done the same way. (.repo is a hidden folder by default so, in Ubuntu, you would press CTRL+H to get it to show up)
If you don't know how to install repo then you will likely need to do a LOT of reading before you can even think of firing off a build.
Click to expand...
Click to collapse
Currently having success within WSL v1 Ubuntu.

Categories

Resources