I have the ARChon runtime installed as an extension in Chrome and compiled the APK with Twerk. However, when I go to the resulting folder, I see no executable files. Am I missing something?
Thank you.
Related
1.How to remove and add apps before build from CM source,and when it's done,the zip files have everything just what i want.
2.How to add Google apps before build form CM source,so i can have a zip include all google apps.
And ofcause not rebuild the zip.
I add and remove apk on system/app before package the rom.
ripclawrings said:
I add and remove apk on system/app before package the rom.
Click to expand...
Click to collapse
Do you mean dsixda's kichen?
There is no folder system/app in the CM source project.
When you are working with source, its not called system/app
all apps that are going to be baked into the ROM will be in the folder /packages/apps.
So here are the basic steps:
1.Place your app source code in /packages/apps (just drop the source folder in)
2.Create 'Android.mk' file for the app (if the app was made in eclipse, its likely to have res/R.java which is autogenerated by eclipse. This needs to be removed as the system will not recognize it.)
3.Edit /build/target/product/core.mk (or similar) and add your application in the list of PRODUCT_PACKAGES. (if you dont add it to the main make files, the app wont be compiled and it wont be in the update.zip when it is finished.
4.Run make.
IF you feel this is too complicated. create the update.zip and use dsixda's kitchen to edit the zip, add the apk manually and then resign it.
Hope this helps!
demoneyes905 said:
When you are working with source, its not called system/app
all apps that are going to be baked into the ROM will be in the folder /packages/apps.
So here are the basic steps:
1.Place your app source code in /packages/apps (just drop the source folder in)
2.Create 'Android.mk' file for the app (if the app was made in eclipse, its likely to have res/R.java which is autogenerated by eclipse. This needs to be removed as the system will not recognize it.)
3.Edit /build/target/product/core.mk (or similar) and add your application in the list of PRODUCT_PACKAGES. (if you dont add it to the main make files, the app wont be compiled and it wont be in the update.zip when it is finished.
4.Run make.
Click to expand...
Click to collapse
Thanks for the reply. However, could you elaborate on PRODUCT_PACKAGES. Where is it? And what is it?
Was trying to run a jar file(non j2me/ real time os on its own) but java code with a main....
As android is a java machine, how can i run a received jar file build on windows??
All tips are welcome
Enthusiastic Gio User
Very glad with the work done
But sometimes a pusher for results( nothing bad intended)
It's not that simple.
Of course, android is Java based, but doesn't include all standard java libraries (i.e. graphical libs awt and swing).
If you are sure, that your .jar file is 100% compatible then create android project, include that .jar as a library and use it there.
Hi,
when I download ZC 6.0_Rejuvenated http://forum.xda-developers.com/showthread.php?t=2155803, Avast in my computer (and 11 other AV on virustotal.com) reports virus in ROM (Android:SMSSend-PX[Trj] in NavBar.apk). Can I download anywhere the ROM without a virus? Do you have same problem?
Last update was in 2014-03-12. Can I expect that there is any new version corrected vulnerabilities?
@michal.652
I think it's a false positive. However ,thats the last and final version. Saqib Nazm no longer develops for MDPI.
@karandpr
Is there any possibility * .zip file to edit and remove NavBar.apk of ROM? I tried ROM unzip, delete untrustworthy (insecure) apk, packed into a zip and install but the installation is corrupted (Error: Installation aborted.) Replace * .apk another file with the same name also did not help. Finally I watched in the META-INF\MANIFEST.MF there is SHA1 for folder system\app, where is NavBar.apk. Can I create new SHA1 for folder system\app without NavBar.apk? How? I tried create the SHA1 for folder using Total Commander but it creates SHA1 only for files, not folder.
michal.652 said:
@karandpr
Is there any possibility * .zip file to edit and remove NavBar.apk of ROM? I tried ROM unzip, delete untrustworthy (insecure) apk, packed into a zip and install but the installation is corrupted (Error: Installation aborted.) Replace * .apk another file with the same name also did not help. Finally I watched in the META-INF\MANIFEST.MF there is SHA1 for folder system\app, where is NavBar.apk. Can I create new SHA1 for folder system\app without NavBar.apk? How? I tried create the SHA1 for folder using Total Commander but it creates SHA1 only for files, not folder.
Click to expand...
Click to collapse
In Windows use 7zip archiver.
Open the archive
Delete the file in the archive
and you are good to go.
SHA1 has no effect since that checksum is not verified in recovery.
Perfect, it's working! Thank you very much!
I tried unzip (with 7zip), deleted the file and zipped again. But not occurred to me to delete a file in the zipped file. I am in installation so I'm going to finish. I hope that now it be without problem.
Almost without problem. ANT+ doesn't working. :crying: ANT+ Heart rate belt working with another mobile. I have everything what I need: ANT Radio Service (4.14.0), ANT+ Plugins Service. In this Xperia with official GB 2.3.4 and official ICS ANT+ working perfect. Can I find out if the service is running? For example in terminal? Any advice or a solution?
Edit:
I try this: ANT+ fix and ANT+ works.
I'm testing clear voice during the call - the other side heard me fitfully/jerkily (=not cleanly, I don't know how I can say it. )
I wanted to disable the Flash to black/screen update function on my yotaphone 2 e-ink's screen as it really disturbes me. I worked out there was a setting to do this in the phones SDK app.
I decompiled the YD_YotaphoneSDK.apk app and changed some of the settings in the classes.dex files so as to disable the full screen refresh (i.e change the backscreenmanager waveform mode to A2). I then recompiled the YD_YotaphoneSDK.apk app however when I attempt to install it on my YotaPhone it states 'Parse Error- There was a problem while parsing the package'.
Im pretty sure it needs to be resigned but cannot workout how, when i attempt to do so in android studio i get the following error: Error:Android Source Generator: [YD_YotaphoneSDK] Package is not specified in AndroidManifest.xml
Can anybody with some relevant experience give my some suggestions of how I can resign or enable this recompiled version of the APK to be installed on my yotaphone.
I have attached the edited apk file
Regards
Friends can u tell me how to check whether the apk is protected or not? Any gui tool or method there?Bcoz some successfully compiled apk using apktool get auto closed due to this issue i guess.. please help friends..Thanks.
Note:I Decompiled this below app successfully but compiled app close automatically on opening or launching in phone.
App Download Link
YouCut Video Editor _ Video Maker MOD v1.430.1114.apk
Zippyshare.com - Free File Hosting
www47.zippyshare.com
Krishcena said:
Friends can u tell me how to check whether the apk is protected or not? Any gui tool or method there?Bcoz some successfully compiled apk using apktool get auto closed due to this issue i guess.. please help friends..Thanks.
Note:I Decompiled this below app successfully but compiled app close automatically on opening or launching in phone.
App Download Link
YouCut Video Editor _ Video Maker MOD v1.430.1114.apk
Zippyshare.com - Free File Hosting
www47.zippyshare.com
Click to expand...
Click to collapse
Did you sign it afterwards? What did you modified inside this apk ?
Bro i just removed arm 64 lib folder from lib folder that's it, i even tried without any modifications just decompiled and compiled again but again app auto closed in phone bro.help bro please.
Note:i signed the app after compiled bro with both original signature and aapt2 signature in each try attempts.You check that app and help me bro please.thanks.
Krishcena said:
Bro i just removed arm 64 lib folder from lib folder that's it, i even tried without any modifications just decompiled and compiled again but again app auto closed in phone bro.help bro please.
Note:i signed the app after compiled bro with both original signature and aapt2 signature in each try attempts.You check that app and help me bro please.thanks.
Click to expand...
Click to collapse
Looks your APK should only make use of 32-bit native libraries, is meant to be run on devices with a CPU architecture of armeabi, armeabi-v7a and x86 , because you removed the 64-bit libraries drom APK's lib folder.
FYI:
When you install an APK on Android, the system looks for native library directories (armeabi, armeabi-v7a, arm64-v8a, x86, x86_64, mips64, mips) within the lib folder of the APK, in the order specified by Build.SUPPORTED_ABIS.
If your app happens to have an arm64-v8a directory with missing libs, the missing libs will not be installed from another directory, the libs will not be mixed. This means that you must provide the full set of your libraries for each architecture.
If not the app crashes.
jwoegerbauer said:
Looks your APK should only make use of 32-bit native libraries, is meant to be run on devices with a CPU architecture of armeabi, armeabi-v7a and x86 , because you removed the 64-bit libraries drom APK's lib folder.
FYI:
When you install an APK on Android, the system looks for native library directories (armeabi, armeabi-v7a, arm64-v8a, x86, x86_64, mips64, mips) within the lib folder of the APK, in the order specified by Build.SUPPORTED_ABIS.
If your app happens to have an arm64-v8a directory with missing libs, the missing libs will not be installed from another directory, the libs will not be mixed. This means that you must provide the full set of your libraries for each architecture.
If not the app crashes.
Click to expand...
Click to collapse
Bro i even tried without any modifications i mean i just decompiled the app and again compiled the app and sign it too,but this untouched compiled apk too auto closing on launching in phone bro.Please Check that app and help bro please
Krishcena said:
Bro i even tried without any modifications i mean i just decompiled the app and again compiled the app and sign it too,but this untouched compiled apk too auto closing on launching in phone bro.Please Check that app and help bro please
Click to expand...
Click to collapse
To get the very reason why an app crashes typically people do a LOGCAT.
jwoegerbauer said:
To get the very reason why an app crashes typically people do a LOGCAT.
Click to expand...
Click to collapse
App auto closing. Bro in phone.where can i get logcat from phone bro?
Just can't believe it.
Look inside here:
[Tutorial] How To Logcat
Here's how to use logcat: There are two main ways to do a logcat, within android, and through adb. Logcat within android can be done one of two ways, through a Logcat app: Here are two good examples are either: aLogcat or Catlog I prefer...
forum.xda-developers.com