Android :: Initializations Repo By $ Repo Init - U
Jun 6, 2009
I am using Virtual Box with KUbuntu Linux on x86(Windows XP) system and setting up system for Android Source SDK. I have installed repo through (curl http://android.git.kernel.org/repo >~/bin/repo). Now I am trying to initialize repo by $ repo init -u git://android.git.kernel.org/platform/manifest.git but here I am getting an error shown as follows:
Traceback (most recent call last): File "/home/tirtha/mydroid/.repo/repo/main.py", line 235, in <module> _Main(sys.argv[1:]) File "/home/tirtha/mydroid/.repo/repo/main.py", line 217, in _Main repo._Run(argv) File "/home/tirtha/mydroid/.repo/repo/main.py", line 123, in _Run cmd.Execute(copts, cargs) File "/home/tirtha/mydroid/.repo/repo/subcmds/init.py", line 218, in Execute self._SyncManifest(opt) File "/home/tirtha/mydroid/.repo/repo/subcmds/init.py", line 123, in _SyncManifest m.PreSync() File "/home/tirtha/mydroid/.repo/repo/project.py", line 1440, in PreSync cb = self.CurrentBranch File "/home/tirtha/mydroid/.repo/repo/project.py", line 271, in CurrentBranch b = self.work_git.GetHead() File "/home/tirtha/mydroid/.repo/repo/project.py", line 1226, in GetHead fd = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/home/tirtha/ mydroid/.repo/manifests/.git/HEAD'
I have try to go to the mentioned folder and it looks like /home/ tirtha/mydroid/.repo/manifest.git/HEAD rather '/home/tirtha/ mydroid/.repo/manifests/.git/HEAD'. Can anybody suggest me the reason of the error and any solution for this.
View 3 Replies
Jan 24, 2009
I'm new to Mac and android. I went through all the steps mentioned to prepare to get android source on Mac.
However after getting repo and changing it to executable I can't execute repo init -u .... I keep getting -bash: repo: command not found
my $PATH is /opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ bin:/usr/X11/bin
View 2 Replies
View Related
Jan 19, 2009
I am trying to download the android source onto a new ubuntu 8.10 installation on a x86 machine. All the steps worked fine until I tried to init the repo client. I get the following. I can't find anyone else having such an repo error. I did find an obscure message that said the python error might be due to a missing readline module. I tried to install lib32readline5-dev as in the download instructions and got the following error Any ideas anybody? I am somewhat new to linux but have had a fair amount of unix experience in the past. Code...
View 14 Replies
View Related
Oct 7, 2013
After I ran the curl to install the latest version of repo, when I attempt to run a repo init I get this error
Code:
dan@dan-laptop:~/aokp_jb$ repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr2 -g all,kernel,device,vendor
gpg: keyring `/home/dan/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/dan/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/dan/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: key 338871A4: public key "Conley Owens <cco3@android.com>" imported
gpg: Total number processed: 2
[URL ......
repo 1.12.4
gpg: Signature made Tue 01 Oct 2013 12:44:27 PM EDT using RSA key ID 692B382C
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.4'
View 3 Replies
View Related
Mar 15, 2010
When I wanted to get Android source code, I knew that I have to use "repo". So what is repo? Why do they use repo and not just use GIT?, and is there a GUI for repo that enables me to pause/resume syncing, because every time I get disconnected occasionally it seems that repo starts syncing from the beginning!
View 1 Replies
View Related
Jan 25, 2010
I am trying to get the source code for the android os. How do I repo sync a particular folder from the master branch?
View 1 Replies
View Related
Jul 3, 2009
i did repo sync platform/packages/apps/Contacts.git and i received the specific src files for that project now that i modified what i wanted, i want to ubild my changes and patch them to my current Android OS. I tried running make from working directory, but there is no makefile. How would i go about doing so?
View 2 Replies
View Related
Dec 30, 2009
I am working on the Android builtin Contact app. It can be build with "make Contact" in the repo. Now, I want to use a 3rd party jar, and how to package the jar into Contact.apk?
It is easy to include external jar for Eclipse Android project, but not for android git repo codes. I am afraid package/apps/Contact/Android.mk should be changed to include external jar, how to do it?
View 2 Replies
View Related
Nov 30, 2009
I was just wondering if I want to sync to the latest Eclair repo which one of the following would be the correct command? What is the difference between them? Currently I am using cupcake version and wanted to move up to eclair. Would I need to do any thing else as far as syncing and building the eclair branch? Currently I am using "Ubuntu 9.04 (Jaunty Jackalope)" and java version "1.6.0_16". Code...
View 3 Replies
View Related
May 15, 2014
My repo wont sync even with the flag -f?
View 9 Replies
View Related
Apr 21, 2010
I am trying to set up a private repository of Android source code while hosting the git trees on github as private repos. I have no problem changing the manifest.xml file to point to public git trees hosted on github in the same way that CynagonMod does, but when trying to point to private repos I get the following error when trying "repo sync":
Initializing project username/android_external_webkit ...
fatal: The remote end hung up unexpectedly
error: Cannot fetch username/android_external_webkit
Where username/android_external_webkit is of course a private github repo of the same name. I understand the error occurs since I did not specify my user name and credentials to github, but I fail to see how to do it in the manifest.xml with repo.
View 1 Replies
View Related
Apr 3, 2012
im trying to download the MIUI Patchrom from Github and the only way is through Terminal, how to download from a Repo?
[URL]
View 4 Replies
View Related
Feb 9, 2013
When I'm in the ~/kelso/android/ system directory in the terminal and try to repo sync,it just keeps saying " update repo to latest version 1.8" then it downloads a files and stops. I try to repo sync again and same thing...
I've googled for hours with no results. Back when I had Ubuntu 10.04 this was never an issue.now that I'm running a clean installed version of 12.10,compiling CM isn't going so smooth...
PC36100
View 1 Replies
View Related
Jul 15, 2012
I ran the command to sync with android-4.1.1_r1. Its literally been syncing for hours and still not done. I'm currently on /platform/pdk. As for Ubuntu, I've never used it before but I'm running the guide posted on XDA for building with Ubuntu and I've done everything to the point of syncing...which I'm waiting to advance after this is done.
When you have to pull the proprietary files it says to use the device name. In my case it would be Samsung_d2tmo (for T-Mobile sgs3) correct?
View 7 Replies
View Related
Mar 17, 2013
I'm trying to compile CM10.1 from source, but when trying to do a new repo sync I get this error:
Code:
fatal: duplicate project CyanogenMod/android_device_samsung_maguro in /home/nickamina/android/cm10.1/.repo/manifest.xml
View 2 Replies
View Related
Apr 4, 2009
I use the following command to fetch all the source code of android
repo init -u git://android.git.kernel.org/platform/manifest.git repo sync
but I can not get platform/external/alsa-lib.git and platform/hardware/ alsa_sound.git
I don't know what's the rule for repo to fetch the code from http://android.git.kernel.org/
View 2 Replies
View Related
Jul 13, 2009
I'm working for Freescale Semiconductor on the i.MX series linux BSP. Now we have android running well on i.MX515 platform, and hope to push android kernel repo into android.git.kernel.org. Then what's the process need us to follow? How reviews will be done? And what we should provide?
View 3 Replies
View Related
Jun 16, 2010
I have a camera by Cisco and like to stream it's video stream to my android phone. It's coded in MPEG4 so there should be no problem, but it's not working anymore (it worked with another camera a few weeks ago).
CODE:...................
View 1 Replies
View Related
Sep 29, 2009
There is a big database(15M) in my application, it is too big to download the apk if I publish the source database in myapp.apk. So I encode the db to binary files(300k). But the new problem is I should decode binary files and create the database(with data), this procedure take about several minutes, so I can NOT do this in SQLiteOpenHelper.onCreate(), this is too slow for user experience(though it is a one time procedure, it is still unacceptable).
My application has NO main activity entry in launcher, the main entry is Broadcast Receiver.on Receive, the information should display to user immediately when receiving the broadcast, so I have no chance to display a several minutes "Initializing, please waiting..." UI. The best chance to create database and init data immediately after install, but how to do this, is there any broadcast? or is there any AndroidManifest attribute?
View 3 Replies
View Related
Oct 6, 2009
I'm having a weird problem. When I try to update my DatePicker it crashes, but I dont understand why. Via the debugger I could see the date[] function is filled the way it should be. Do you guys see the problem? String[] date = dateofbirthNode.getStringValue().split("/"); // "12/31/1969" DatePicker dateofbirthView = (DatePicker)findViewById (R.id.editprofile_dateofbirth_picker); dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date [1]), Integer.parseInt(date[0]), null)Code...
View 4 Replies
View Related
Mar 18, 2009
I flashed my adp1 to firmware 1.1 following the instruction from HTC. http://www.htc.com/www/support/android/adp.html But after that, I want to modify the /init.rc, after I remount the rootfs as writable, I can edit or replace the /init.rc file. But the file will roll back the original version after reboot the phone. Before I modify the /init.rc, I install the busybox to the phone, then I use 'cp" command to replace the /init.rc Any one can give me some advice?
View 4 Replies
View Related
Sep 12, 2010
For something like a 'help I can't get up' app -- is there a way for a user to set a contact number, and then for the app to call that number in the future WITHOUT the user initiating the dialout? I've tried the below but there seems to be a problem. Code...
View 1 Replies
View Related
Jul 29, 2009
I am trying to get property which I set in init.rc in Java app. But it always return null. Java code:String value= System.getProperty("ro.MY_PROPERTY");I have check "getprop ro.MY_PROPERTY" in console, it do return "1". But not know why cannot get it in Java app.Code...
View 3 Replies
View Related
Oct 26, 2009
I want to modified the init.rc file to import a new configuration file by adding the following lines in the init.rc file import /data/myconfig/conf/init.rc trigger system And the file at /data/myconfig/conf/init.rc contains on system export TRIAL_EXPORT /trial/export/to/be/replaced The problem is that I cannot get the new export (TRIAL_EXPORT)to working. When I issue the command echo $TRIAL_EXPORT on the adb shell I do not get anything. Can somebody point out what is wrong in here?
View 2 Replies
View Related
Nov 8, 2010
I have a requirement to change network service permission(such as netd to 660 or something similar) for my application in order to access certain features. I dont want to edit init.rc file to make such changes. Since my application cannot be run in root mode, is there any alternative solution where i could do such modifications from my application point of view.
View 6 Replies
View Related
Feb 28, 2013
I have used my own graphics.c and postrecoveryboot.sh!But, after installing cwm recovery.img, it did not work!
Having this log:
Starting recovery on Wed Feb 27 20:14:47 2013
cannot open fb0: No such file or directory
CWM-based Recovery v5.0.2.8
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /boot mtd boot (null)
2 /cache yaffs2 cache (null)
3 /data yaffs2 userdata (null)
4 /misc mtd misc (null)
[Code] ......
I:Checking for extendedcommand...
active fb swap failed: Bad file number
I:Skipping execution of extendedcommand, file not found...
View 8 Replies
View Related
Mar 10, 2013
Application "init" ask for root from SuperSu? I just did, and denied it, but I've never seen it happen before. Is this normal?
View 6 Replies
View Related
Aug 30, 2013
All tutorials out there use script manager to enable tether on boot. I would like to avoid cluttering and make an init.d script to run each reboot.
My current syntax is:
#!/system/bin/sh
-A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE
but this isn't working...
View 1 Replies
View Related
Sep 23, 2010
(HTC Desire running 2.2) Sometimes the init process enters a busy loop, consuming all CPU time. This has happened to me three or four times now. When it happens, Android System Info shows 100% CPU usage and if you run top in a terminal emulator, you can see that it's the init process eating up the CPU.
This makes the phone real slow and the only cure I know of is a reboot.I was going to check out the logs while the init was looping, but I forgot. I don't know how to repeat this - today it happened when I exitted VLC Stream and Convert, but it happened before I even installed this application.
I think this happened before the 2.2 upgrade as well and my son said his Xperia X10 eats the battery real fast sometimes - so maybe the same problem exists in Android 1.6 already.
View 3 Replies
View Related
Sep 23, 2010
I have started to port Android on TCC89XX board, I download Android SDK. and applied the patch with kernel 2.6.29, the Processor is having armv6 instruction set. I am not able to see the network up ifconfig is not able to show the network devices.
Also I do not get why there is no "on" binary in the system/bin, system/xbin, the init.rc and init.goldfish.rc. I cannot get the zygote process up. create_socket throws error. If any one knows about this, please tell what I need to do correctly or point me to some correct URL's.
View 2 Replies
View Related