I'm tinkering with building and installing Android from source. Basically I've got it down fairly well, but I seem to have run into a bit of a problem with the wlan module, probably from HTC.
Having pulled the 2.6.27 kernel sources and built that with a .config pulled from the phone, and using that as the kernel image instead of the prebuilt one, I get the following wifi failure message in dmesg:
wlan: version magic '2.6.27-00205-gf2dabc0 preempt mod_unload ARMv6 ' should be '2.6.27-00392-g8312baf preempt mod_unload ARMv6 '
probably because the .config I pulled from the phone has:
So I rebuilt with the '00205' localversion and now I get in dmesg:
[61.122497] wlan: Unknown symbol trout_pwrsink_set
but trout_pwrsink_set was changed to htc_pwrsave_set way back in February:
[ARM]: trout: Switch from trout_pwrsink -> htc_pwrsink 33/8933/1 http://android.git.kernel.org/?p=kernel/msm.git;a=commitdiff;h=44a01f...
I'm clearly getting an obsolete wlan module somehow, Any ideas for how I can get a wlan module that goes with the '00392' kernel would be appreciated.
Today i get the master code. when I compile ALSA, and it says external/alsa-lib/src/shmarea.c:27:21: error: sys/shm.h: No such file or directory what should I do now? now i copy the shm.h from the former version android. can be ok?
I would like to know how could I create a repository.xml to be read by the AVD Manager with only the 1.5 version? What is the repository.xml format?
The reason of doing this it's because I will be teaching some classes about Android in a Post Graduation, but the Internet link is too slow. So I am trying to set a local repository to help me with time.
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?
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...
<3>[ 154.264768] bcm4329: version magic '18.104.22.168-cyanogenmod-g1ad182f preempt mod_unload ARMv7 ' should be '22.214.171.124-cyanogenmod-g704f542 preempt mod_unload ARMv7 '
I've successfully built the samsung-kernel-crespo kernel from the cyanogenmod git. I unpacked a working ramdisk from a nightly and repacked it with my kernel, when i try to load the module i get the above error, The "extraversion" info that in the "about phone" tab in sittings is 126.96.36.199-cyanogenmod-g704f542, as well as the version of the modules. but for some reason the kernel is looking for that 'g1ad182f ' instead.
I loaded the module via fastboot boot boot.img and i didnt full on flash it to the phone. I backed up the working kernel module and put the new one in /system/lib/modules, rebooted the kernel and the wifi is still giving me an error.
If i try to manually insmod the module and it hangs, if i use modprobe then lsmod it says its "loading" but never loads.
the phone im working on is a nexus s if that matters.
If a kernel does not have the Advanced Routing feature (which is needed for VPNC widget - Cisco VPN) is it possible to add this via module like tun.ko module? The Adv. Routing is not needed for connecting but the connection is soon lost.
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.
CC [M] drivers/net/wireless/bcmdhd/wl_cfgp2p.o drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_act_frm_search': drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: error: array subscript is above array bounds [-Werror=array-bounds][code].....
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...
I am porting Android to a real hardware device. I have written an ALSA driver and it works well. But I don't know how to add it to Android. Can you give me some suggestions? Thanks very much.( I can not endure the muted world any more[?])
I am using a Mac with Eclipse Galileo, trying to load Android code from a public repository. I tried 'Checkout from SVN' and the URL is: http://secrets-for-android.googlecode.com/svn/trunk/secrets-for-android-read-only This is from the website: http://code.google.com/p/secrets-for-android/source/checkout
I get the error: Error validating location: "org.tigris.subversion.javahl.ClientException: Bad URL passed to RA layer svn: URL 'http://secrets-for-android.googlecode.com/svn/trunk/secrets-for-android-read-only' non-existent in revision 114" Keep location anyway? I'm currently using this svn client in Eclipse to manage my own secure repository on another website, so I know it's installed correctly and works.
I'm having a lot of difficulty installing the ADT plug in under Eclipse 3.5 (Galileo)... I have tried both http and https access to the Eclipse update site, and in both cases I get the following errors:
An error occurred while collecting items to be installed: No repository found containing: binary,org.eclipse.jdt_root, 3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ (second line repeated about 20x for various missing files)
I found a post (http://tinyurl.com/yc2cr28) where removing/re-adding the source URL in Eclipse is also recommended. This didn't help the "No repository found" errors.
Has anyone else experienced/resolved this issue? I am running the "Eclipse for Java Developers" from Eclipse.org, and the Sun Java 5 JDK.
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!
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?
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.