rom
Data mapping and persistence toolkit for Ruby
ROM » Home
I am trying to create an application that will have a service running in the background that will be capable of injecting touch screen events into whatever activity is running. I am able to inject events into an Activity that is part of my application by calling Instrumentation.sendPointerSync(motionEvent);
However if I try to do this without an activity from my application running I get a permission error saying that I don't have the INJECT_EVENTS permission. I've added this permission to my manifest like this: <uses-permission android:name="android.permission.INJECT_EVENTS"></uses-permission>
Its still throwing the same permission exception though. After a bit of searching I've gotten the answer that in order to receive the INJECT_EVENTS permission your app must be signed by the same signature that the system is signed with. I am unclear however what exactly this means. I am going to have to find a custom rom build it and sign it with the same signature that the application is signed with. Then install the custom rom on my device, then install my app and I'll be able to inject the touch events correctly? If this is the case am I better off starting with a custom rom that is already put together, like one from this page Or is it a situation where I am going to need to grab a git copy of the android project and build the whole thing myslef? And either way does anyone know of a place you could point me that would get me working in the right direction to make this happen?
Source: (StackOverflow)
Does anyone know if this it is possible to run a Custom ROM on a AVD?
ANd how can I do this?
Thanks
Source: (StackOverflow)
I'm testing several modifications of Cyanogen MOD ROM's. It's not really comfortable to test them on real device. So the question: is it possible to install custom ROM (in particular CyanogenMod) on standard (or non-standard) Android emulator?
Source: (StackOverflow)
Is it possible rip game resources from a .smc file? Specifically art, music, sprites, etc. How does an emulator copy the system it emulates?
Source: (StackOverflow)
I'm trying to bring up a 4.4 android build for my droid razr HD. It compiles cleanly, but when I try to install it fails with the following error in the recovery log:
ApplyParsedPerms: removexattr of /system/xbin/zipalign to 0 failed: Operation not supported on transport endpoint
script aborted: set_metadata_recursive: some changes failed
set_metadata_recursive: some changes failed
E:Error executing updater binary in zip '/external_sd/MSI/update-XenonHD-11-07-13-signed-xt926.zip'
Error flashing zip '/external_sd/MSI/update-XenonHD-11-07-13-signed-xt926.zip'
So... I did a fair amount of research into the changes made by AOSP in build and bootable/recovery, including comments others have made on this issue, and I'm thinking it's a missing seandroid configuration for /system/xbin. It's definitely something about items in /system/xbin because when I remove zipalign from the build, it errors out on tcpdump, and so on..
Is this indeed a sepolicy configuration that's missing? Is there something else I need to check?
Can anyone tell me how to include xbin without having to mess with the files residing there?
Thanks, appreciate your time!
Source: (StackOverflow)
Here is my problem:
Recently, I'm interest in the android rom, I want to change and rebuild them.
So, I did some test on my XOOM, it's very easy to flash something into the machine.
I got some rom from MOTOROLA (http://developer.motorola.com/products/software/),
they are some img file, and I want to know what's inside, I hope to unpack them.
I tried the "unyaffs", it said "broken img file".
I try to mount them, it works great on the system.img, and I can get the file inside.
When I want to mount userdata.img by "mount -o loop userdata.img /mnt/userdata"(the same as system.img),
it tells me "mount: you must specify the filesystem type",
so I try the "mount -t ext2 -o loop userdata.img /mnt/userdata",
it said "mount: wrong fs type, bad option, bad superblock on...".
So, how to get the file inside the "userdata.img"?
Source: (StackOverflow)
I want to fill my device disk space with any dump data as part of stress testing.
I tried writing bytes into a file in external storage; obviously larger & more spacious the disk is longer it will take to get filled. [approx half a minute for 1GB]
Can we do anything from adb shell in this case?
I checked creating dump data using dd command:
dd if=/dev/zero of=/tmp/tempFiller.deleteMe bs=1024 count=$COUNT
which basically copies dump data to destination file
Hence it also takes significant time. [approx 1 minute for 1GB]
Is there any faster approach? for a normal user / super user?
I also tried fallocate, truncate & mkfile commands in adb shell, but none of these commands are found even inside su. I guess these are bash commands & installing bash shell in Android device will require the device to be rooted.
fallocate -l 10G gentoo_root.img
truncate -s 10M output.file
mkfile 10240m 10Gigfile
Source: (StackOverflow)
I'm developing S/W for some device which uses Linux O.S.
So, the size of libraries (RAM/ROM) which I use is very important.
How can I easily calculate RAM / ROM required by my software? (including libraries I used).
I think it's too easy question for experienced Linux developer.
Source: (StackOverflow)
I read "custom ROM" and "customized firmware" all over the internet.
To my understanding ROM stands for Read Only Memory. Despite that I see links to files, that I suppose, are filesystem images, containing an operating system with preinstalled libraries and applications. What are these actually? Why do people refer to these as ROMs?
Also: cyanogen-mod's official description says: "[...] is [...] firmware distribution [...] increase [...] over Android-based ROMs [...] these versions of Android [...]". So they seem to use firmware, hardware component storing the firmware, and operating system interchageably. Do I see that right? Why is that?
Source: (StackOverflow)
I'm compiling an Android ROM from source, and I have several apps that compile, but into data/app on the phone. They're uninstallable through the phone settings. I want them to be impossible to uninstall from the phone, and to compile into system/app instead of data/app.
Any advice?
edit:typo
Source: (StackOverflow)
I have a requirement that goes like this:
We have custom Android devices with custom ROM installed on them. I need to be able to install an update for this custom ROM through an app.
What I was thinking to solve this problem was to download the custom rom from a server via ftp and then issue "some kind of command" to execute the ROM from my app, but the problem is I don't know what command to issue in order to execute this ROM.
Do you know how can I install that custom rom programmatically?
Source: (StackOverflow)
I've got a problem. I'm developing an android application that scans for wireless accesspoints/routers. I've been testing a couple of devices and I'm getting scan rates of 2, 1, 0.5, 0.1 etc. scans per second.
My goal is to reach 10 scans per second because a router can send beacons 10 times a second. And we need this for our application.
Is there away to make this possible? Perhapse hack a rom and replace the wifi drivers? I've been looking in to this but I can't find anything about this frequentie inside the driver.
The driver used is BCM4329 driver, I can't find any datasheets of the BCM4329 so it's kinda hard to figure this out.
Thanks in advance.
flitjes
Source: (StackOverflow)
Does anyone know what language ROMs (such as GBA ROMs) are coded in? I'd also like to know if there would be a simplistic way to decompile these ROMs.
Source: (StackOverflow)
Why is an operating system software
loaded from hard disk than from a rom
chip?
I was asked this question and I am unable to find the answer.
Can someone explain.
Thanks.
Source: (StackOverflow)