I have a test app in CS5 and tried to package it using the Android SDK.
I guess there was some problem in setting up the Android SDK and it states that the archquery.jar is missing. How can I assure that the setup is fine? I dont even see any uninstall option so that I can reinstall. Even with a prerelease, can I publish the app...I remember having read somewhere that I cannot distribute it.
While using the Windows packager - I do not find the AIR 2.0 and AIR 2.5 folders, to point to the adt.jar, however, I am able to locate adt.jar in the lib folders of the AIK 2.0 and AIK 2.5 in Flash CS5. Will those references be valid enough? The packager version that I am using is 0.4.2 and it also requires pointing to the JAVA.exe, however, I do not see packaging options for 'dmg', instead, I see 'Package exe' along with the 'Package apk'. I am able to create an xml, and a p12 self signed certificate along with the swf for the 'AIR for Android' app in CS5, but while building an apk, using the certificate and the xml, I am stuck with an error (Usage Error - Incorrect Arguments) and cannot proceed further.
Related
I recently worked on a theme for some home alternative apps but when I tried to compile it in Eclipse, things seemed to be missing (for example Keytool and Jarsigner) which are not in my SDK directory anywhere.
I was able to get the theme to work by using the APK from someone else's, replacing the images with mine and signing using the Autosign tool downloaded from XDA but I was unable to change the name of the app in the Manifest.
So my question is, is there a way to compile in Windows at all? Reading the guide on the developers.android page didn't answer anything for me.
Also, would there be anyone willing to walk me through that? If not, just knowing if its possible is enough for me.
Windows 7 64-bit
im on windows 7 64 and I can compile my apps without any problem. right click on the folder of your app -> android tools -> export as signed / unsigned (which ever you prefer)
The "keytool" and "jarsigner" programs are in the JDK, which you'll need to get from Oracle (formerly known as Sun). Set the JAVA_HOME environment variable to the JDK directory; in my case, C:\Program Files\Java\jdk1.6.0_18, and add the JDK's bin path--in my case, C:\Program Files\Java\jdk1.6.0_18\bin--to your PATH environment variable. You may need to logoff/logon or reboot for everything to settle out. If you get the latest JDK, the paths should end in _20 instead of _18.
jarsigner is not needed in eclipse as eclipse will sign and zipalign the apk for you.
File | Export
Choose Android | Export Android Application
Create a new keystore via the tool and it will automatically sign and zipalign creating a nice new apk for you
I have a test app in CS5 and tried to package it using the Android SDK.
I guess there was some problem in setting up the Android SDK and it states that the archquery.jar is missing. How can I assure that the setup is fine? I dont even see any uninstall option so that I can reinstall. Even with a prerelease, can I publish the app...I remember having read somewhere that I cannot distribute it.
While using the Windows packager - I do not find the AIR 2.0 and AIR 2.5 folders, to point to the adt.jar, however, I am able to locate adt.jar in the lib folders of the AIK 2.0 and AIK 2.5 in Flash CS5. Will those references be valid enough? The packager version that I am using is 0.4.2 and it also requires pointing to the JAVA.exe, however, I do not see packaging options for 'dmg', instead, I see 'Package exe' along with the 'Package apk'. I am able to create an xml, and a p12 self signed certificate along with the swf for the 'AIR for Android' app in CS5, but while building an apk, using the certificate and the xml, I am stuck with an error (Usage Error - Incorrect Arguments) and cannot proceed further.
This is my first post as an XDA member. I apologize in advance for any thing I may miss in communication. I also appreciate every thing about this website and the people in it, being that now there are endless opportunities paved for modifying my cell phone.
I install java and jdk, also the adt bundle, and apk manager and had everything up and running perfectly. I even went through and changed the logo of an app, and the name of the app through the projects folder, after decompiling apk. then successfully recompiled the app, signed it, put it on my phone and it runs great.
However, I tried to decompile an another apk at a later time, and it errored. Then afterward the apk manager no longer worked properly. It will open up, I can select option 22, then select whatever I have put in the modded folder, but whenever I try to decompile or extract the apk, the apk manger automatically closes. I have tried uninstalling all java, and adt bundle and apk manager, and going through and redo all the pat variales. Still same result.
Here is the log:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
Lost was unexpected at this time.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Here are my variables:
Variable Name: Variable Value:
ADB C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\platform-tools\adb
Path ;C:\Program Files\Java\jre7\bin
;C:\Program Files\Java\jdk1.7.0_10\bin
;C:\AndroidSDK
;C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\platform- tools
;C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\tools
;C:\Program Files (x86)\Java\jre7\bin
_______________________________________________________________________________________________________
My brain is racked, I have searched everywhere and no solution revealed to me, hence the post. Thank you in advance.
I'm trying to covert a thin-client RDP system into a standalone linux system. I'd like to run a lighthttp server on it and auto-boot it to chromium (on start up).
The device comes with a crappy RDP interface and has a method for installing software UPGRADES via FTP. --- Confirmed working.
Doing some research on the web I was able to find an update package for this device. ATTACHED AS TORRENT FILE.
Using CENTOS I've tried to extract the RAMDISK but Linux doesn't seem to know how to extract the file type. I've tried a ton of scripts from xda-devs none seem to work.
I've tried just changing the system dir to see if I can get that work but it seems that the new image doesn't take to the device. I did see that the scripts have checksum info in them but not sure how to repackage or change them to adjust for the new changes.
I do see the build.prop file with a ton of ANDROID stuff and the package is APK signed. Thus I'm thinking it's an ANDROID setup. Also I see that the device is using busybox.
Any help or ideas how to get this doing what I need it?
Thanks!
chavenor said:
I'm trying to covert a thin-client RDP system into a standalone linux system. I'd like to run a lighthttp server on it and auto-boot it to chromium (on start up).
The device comes with a crappy RDP interface and has a method for installing software UPGRADES via FTP. --- Confirmed working.
Doing some research on the web I was able to find an update package for this device. ATTACHED AS TORRENT FILE.
Using CENTOS I've tried to extract the RAMDISK but Linux doesn't seem to know how to extract the file type. I've tried a ton of scripts from xda-devs none seem to work.
I've tried just changing the system dir to see if I can get that work but it seems that the new image doesn't take to the device. I did see that the scripts have checksum info in them but not sure how to repackage or change them to adjust for the new changes.
I do see the build.prop file with a ton of ANDROID stuff and the package is APK signed. Thus I'm thinking it's an ANDROID setup. Also I see that the device is using busybox.
Any help or ideas how to get this doing what I need it?
Thanks!
Click to expand...
Click to collapse
Any ideas out there?
Bump?
ROM Explorer
From time to time I need to extract some files from various Android ROMs. So far I downloaded the ROM file and then started to search for further tools to extract files from the downloaded ROM. If all went well I ended up with an image I could open with ext4_unpacker to finally extract the files I needed. This whole procedure took a lot of time, involved tools from unknown sources and often simply didn't work. So I decided to create my own tool.
ROM Explorer can directly open the following files:
zip archives with img or new.dat entries
Samsung md5 archives
Sony ftf archives
Huawei update.app archives
img/ext4 image files
lz4 image files (used by Samsung)
sin fies (used by Sony)
In case you have a file which is not supported let me know. Maybe I find the time to add support. Or simply add it yourself - ROM Explorer is Open Source.
Usage
Download the installer and run it or build your own version with Visual Studio 2017.
Start the executable. You will see a window similar to ext4_unpacker. In the first line you select a file, in the second line you can choose an archive entry if the file is an archive file.
Loading a file or archive entry can take a significant amount of time and disk storage. ROM Explorer may need to create temporary files with several gigabytes. A fast flash disk helps a lot!
You can extract files or folders by dragging and dropping them to Windows Explorer.
Downloads
ROM Explorer 0.9
ROM Explorer 0.9.1
Thanks To
ROM Explorer would not exist without the distributed knowledge of this forum. Especially I want to thank worstenbrood, Androxyde, IgorEisberg for their work.
So I'm waiting for your comments - but be patient it may take some time for me to react
Reserved for whatever purpose...
Wew
Let me try and report you back
Thank you I will try this out. Thanks too for making it open source
Not Running on Windows 7 x64
samidos said:
Not Running on Windows 7 x64
Click to expand...
Click to collapse
0.9.1 should fix this. Be sure to first uninstall before installing 0.9.1.
After hours of google search and downloading countless apps that dont work I found this. This app is legit and works on windows 10 64bit. Thank you for your work.
Your app is GREAT! Thanks for sharing it.
Edit: Answered my own question. Windows 10 tip "Run As Administrator" and dont drag files "to the desktop" but instead to an Explorer window.
Can this program find the differences between compiled ROMs?
I ask this question because Xiaomi on the Mi 9 released an initial kernel with sourcecode that was changed over time without updating the GitHub https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/cepheus-p-oss and because of this change, the ROMs have something different between how they connect to the cameras. The old ROM versions (4/1/2019 and before) connect fine to the cameras, but post that date, a custom kernel built from the GitHub source will fail to connect to the cameras. Since the change has not been made open source on GitHub, there has to be another way to find and patch new kernel builds in order for them to work. Would your software be able to extract these changes? If not, do you have any other ideas which may? Much appreciated.