Download Latest Version localedata.jar (843.2 kB)
Email in envelope

Get an email when there's a new version of Supernova Rom

Name Modified Size InfoDownloads / Week
Parent folder
Android.mk 2011-11-26 993 Bytes
BitVector.c 2011-11-26 2.5 kB
BitVector.h 2011-11-26 961 Bytes
Common.h 2011-11-26 339 Bytes
DevAudio.c 2011-11-26 2.8 kB
DevConsoleTty.c 2011-11-26 1.3 kB
DevEvent.c 2011-11-26 11.7 kB
DevFb.c 2011-11-26 8.0 kB
DevLog.c 2011-11-26 14.1 kB
DevPower.c 2011-11-26 3.9 kB
DevVibrator.c 2011-11-26 1.1 kB
FakeDev.c 2011-11-26 9.0 kB
FakeDev.h 2011-11-26 3.5 kB
Globals.h 2011-11-26 7.3 kB
Init.c 2011-11-26 5.7 kB
Intercept.c 2011-11-26 24.5 kB
LaunchWrapper.c 2011-11-26 8.1 kB
Log.c 2011-11-26 1.8 kB
Log.h 2011-11-26 299 Bytes
README.txt 2011-11-26 919 Bytes
SimMgr.c 2011-11-26 24.9 kB
SimMgr.h 2011-11-26 1.8 kB
SysPower.c 2011-11-26 3.0 kB
Util.c 2011-11-26 245 Bytes
Util.h 2011-11-26 39 Bytes
Totals: 25 Items   138.8 kB 0
This shared library is used with LD_PRELOAD to wrap the Android runtime
when used with the desktop simulator.

Because LD_PRELOAD is part of the environment when gdb and valgrind are
invoked, the wrapper can "see" activity from both of these (more so gdb
than valgrind).  For this reason it needs to be very careful about which
"open" calls are intercepted.

It's also important that none of the intercepted system or library calls
are invoked directly, or infinite recursion could result.

Avoid creating dependencies on other libraries.


To debug wrapsim, set WRAPSIM_LOG to a log file before launching, e.g.

% WRAPSIM_LOG=/tmp/wraplog.txt simulator

For more verbose logging, you can enable the verbose forms of CALLTRACE
and CALLTRACEV in Intercept.c.

To build, you will need to have the 32-bit libaudio2 development package
installed. On Ubuntu Hardy, do something like:
% sudo apt-get install lib32asound2-dev
Source: README.txt, updated 2011-11-26