Sorry, apk can't be generated :(. It is only possible with java sources. So ignore the
last step.
And another possibility is to use the Android build system: the idea is to add PowerTop
sources inside Android sources and build everything at the same time.
Hope this help,
Christophe.
From: PowerTop [mailto:powertop-bounces@lists.01.org] On Behalf Of Prigent, Christophe
Sent: Wednesday, November 20, 2013 3:15 PM
To: Mukherjee, Adrip; powertop(a)lists.01.org
Subject: Re: [Powertop] PowerTop Installation issue
Hi Adrip,
I never tried on Android but I think you need to install the NDK, and use the NDK to build
PowerTop.
It is well documented here:
http://developer.android.com/tools/sdk/ndk/index.html
Here are simplified steps to give you an idea:
Place sources + "Android.mk" in your .../project/jni folder
Build the native code by running $NDK/ndk-build "APP_ABI := x86" script from
your project directory (APP_ABI := x86 is used for Intel Architecture).
Then you can build the Android apk, for example, using Eclipse.
Christophe.
From: PowerTop [mailto:powertop-bounces@lists.01.org] On Behalf Of Mukherjee, Adrip
Sent: Wednesday, November 20, 2013 12:33 PM
To: powertop@lists.01.org<mailto:powertop@lists.01.org>
Subject: [Powertop] PowerTop Installation issue
Hi ,
This is Adrip from Intel India PCCG group. Recently I was trying to install
powertop in my HSW PVT2 system having Android JellyBean internal version . According to
the installation steps listed here:
To build and install PowerTOP type the following commands,
./configure
./make
./make install
Its failing to configure with a message : "permission denied" even though I have
rooted my terminal emulator. Can you please tell me what I need to follow to run the
powertop tool on Android in a Haswell SDS system.
regards
Adrip
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.