Android :: Upload Customer Compiled Linux Kernel - Replace
Jan 13, 2010
i want to add some features to linux kernel to run on my mobile (android based mobile perhaps). but i don't know who let me to upload my custom kernel. i want to buy such mobile phone. some restrictions about uploading custom kernel to phone:
1- replace existing kernel.
2- can use my phones functionalities: it is due to some drivers are closed source and i must use the vendor's kernel to use it's drivers.
I am having a serious problem. What i have in my hand : Linux Kernel 2.6.29 with Android Eclair patches and some board specific patches(as .patch files). Linux Kernel 2.6.32 with Android Froyo patches.
I want to deliver some event to android application. I thought it should pass the event to android framework library and then transfer the event to android application. Is there any clear sample about such scenario? or anyone can show me the hint how to make it work.
I flash makdroid v2 then after some days i also flash vm00 v29 kernel,and everything was working fine,so yesterday i switch off my phone and when i try putting it on,i get kernel panic upload mode,and i cant boot to the OS and recovery.i can ony go to download mode,so i tried to flash stock rom with odin but, odin does not detect my phone.
My Vibrant just crashed with this message, "user fault not kernel panic upload mode". All I was doing was updating a word document using the application FREETHINK which comes with the phone. I pulled the battery out and restarted, and went to do the same thing I was trying to do before the crash and it crashed again.I looked this message up online using "google". There isn't much. People seem to think it has to do with GPS, and it seems like it's a reoccurring problem, which factory reset will not fix. I'm switched back to my Blackberry, incase that it does reoccur. And I will call T-Mobile I guess or maybe try restarting again, and see if it crashes again doing something different other than FREETHINK.Not panicking yet.Anyone else experiencing this problem?I hope it doesn't reoccur,I'll let you know.
i successfully got into adb in recovery mode fairly easily on my ubuntu 10.4 laptop using the following method- this should also work for a linux live boot from a usb flash drive
in one terminal tail and follow log messages ~$ tail -f /var/log/messages
In another terminal run the loop
1. plugin usb and keep it plugged in 2. remove battery, eject sd card. 3. put battery in 4. press vol- and power 5. after around 6 seconds, your terminal with the log will show something like "new high speed USB..." 6. press vol- to select recovery 7. press the power button 8. IMPORTANT- as soon as you see a new log entry (something like "USB disconnect"), pop in the sd card
check your loop terminal for adb. if it doesn't work, repeat at step 2
I have some xml files with a custom format (based on the scxml specifications) that I want my program to read. I've already written the code to read it, but I'm running into problems actually reading the file itself. I want the file to be compiled with the apk, as it will not be changed at all during run time. So I put the file (test.xml) in the res/xml/ folder, and got the inputstream by using:
getResources().openRawResource(R.xml.test); But when I read in this inputstream it is complete jibberish, which makes me suspect it is being read in binary, as openRawResource() is often used for binary files like images, if I am correct. What is the correct way to do this?
Is there any 1.5 image going around for the emulator? I would like to try my apps with onscreen keyboard. Maybe someone is actually making nightly builds but I can't find any. PS: Not sure if it's appropriate to ask in this list.
I need to import a couple of jars that where compiled under the full implementation of java. I know that Android doesn't use all the packages that java has to offer. My question is: Is it possible to import them without creating errors? Is there a tool that can convert jars to android jars? if so, can some examples be provided.
I have vanilla linux kernel version 2.6.27. I want to apply android specific patches and convert it to android linux kernel 2.6.27. Where can a user find the patches to convert a normal vanilla kernel into android kernel?
I have an application which is based Android 1.5 but for enabling different screen types support I have to compile and package it with v1.6. When I install and run the resulted APK on my 1.5 emulator, everything works fine except that "Preferences" activity crashes every time I launch it!
When I revert back my API dependency to 1.5 and remove a few 1.6 specific config blocks from AndroidManifest.xml and compile/package it with 1.5, everything works just fine!
I am writing an application and due to various reasons I had to build it using make (froyo code) and not SDK. When I run my app on emulator it works fine. I have an Android device and code to build image for the device. When I build my app with device code, it builds fine. How ever, when I run the application, I get java.lang.ClassNotFoundException: <package.class> in loader dalvik.system.PathClassLoader[.]
A source file in my code is actually doing sourceClass = classLoader.loadClass(sourceName); sourceName here is pointing to a class I actually build (I have classname.java file in my code under correct package directory and package name). Note that this app is running fine on emulator, but on a device it is failing.
I verified that the .class file exists in out/target/common/obj/APPS/ xxxApp_intermediates/classes.jar, classes-full-debug.jar, classes-full- names.jar
There are so many apps in the market and I don't trust all of them. Is there a way to remove some permissions of the already compiled APK? It doesn't matter if I cannot sign it anymore with the original certificate of the developer. And is there also a way to add an error-handler into the .apk-file, so that the errors of the requested permissions will also be suppressed?
I was able to setup my android project to call a native function from a .so file. And actually I need to add box2d to my project, but I when I include the header files, it won't make. So basically my problem is how do I tell the make file to include a whole folder with header and cpp files.
I tried adding the path directly to the include statement just for the sake of testing it. The error goes away, but new errors come out.
A lot of Android apps are open source, but how can we make sure the person who finally uploads to the Google Market does not include some spyware just before uploading?
Background: Mobile apps security seems to be a growing concern, and I would like to reassure the users of my Open Source Android app. Solutions that require to modify the deployment process or application content are acceptable too.
I have compiled Android source code already (which I downloaded using GIT), and I am being editing the source code of an Application for testing on Emulator, each time I wanna see results I have to re-Compile the source code again using 'make' I am pretty sure that there is a way to partly-compile the image.
I spent a full day to get my Android SDK sources in my setup and compiled it successfully by doing the File System for x86 and also the SDK, everything was fine but when I tried to use it in my environment (Eclipse) and tried to compile my application (which is working fine on Froyo 2.2), I'm seeing some errors, which seems that I did not get the entire SDK with all the base packages included.
Steps to reproduce:
# repo sync to android sources. # make # make sdk # make Eclipse to point to the new SDK, generated at: .../out/host/ linux-x86/sdk/android-sdk_eng.david_linux-x86/ # generate a new AVD # launch it and run the application
I'm looking for an app, but don't know if it exists. Basically what I want is an app that I can but a little disclaimer blurb, or something similar on and then have my customer sign it, all on the phone without the need for paper. If this could also be a part of a data base to keep track of customer info, that would be better.
I am developing an Android application for a customer. I want to be able to provide them (no one else) incremental updates but I am not clear what the procedure should be.I don't want them to have to install development tools or root their phone. These are non technical folks who would have no idea how to accomplish root a phone or use a command line interface.When I develop iPhone applications for them this was easy. They just give me the device UDID and I send them a binary that can be drag and dropped into iTunes.How is this done on Android. I have tried loading the application from a web server but the devices says it is not allowed to be loaded because of security reasons. In setting->Applications there is no menu option to "Allow Unknown sources".
I'm having trouble uploading pictures I've taken on my DX to facebook through the "Quick Upload" option.I got a few uploaded, so I know it works, but now everytime I try, the status bad fills up all the way to "Uploading 100%" then it stalls before giving me the error "Can't send response now.Try again later."I've tried turning Wi-Fi on or off, but on both Wi-Fi and 3G it's not working.Thoughts?
With a few thousand customers, only 2 have complained of this problem. They install the app, then put the phone in standby/sleep mode (i.e. turning it off, but not shutting it down). When they turn it back on, my app's icon is reverted to the generic green and white android icon and the title shows as the class name of the app instead of the title. And, of course, the app no longer works. I am at a loss as to what to do. It seems like an android bug to me. And I think both customers are using a Motorola Droid. Anybody else heard of this? I am not sure what to search for on Google.