Need help with editing APKs using various tools URGENT!!! - Droid 2 Android Development

So, I've got a lot to say and will try to be as thorough as possible. I will answer questions if needed to know certain issues of mine better. I'm sure I'll probably forget a couple things but will say what's going on to the best of my ability.
I'd like to say I am in a real bind and my folders are a complete mess with WAY too many tools and I don't think I need them all. But these are tools that were suggested to me or in a link containing several more tools. I am no longer going to edit APK files or do anything else till my issues are resolved and I've been given the best suggested tools that are CURRENT (please no outdated stuff). I can provide links to most of the tools or suggestions that were given to me if needed. I've bookmarked every link.
I don't know who is going to see and read this but really do hope someone can work with me on fixing up my issues I'm having with all this. Also, if this thread has responses from whomever, could you also tell me where each folders should go and what needs to have its' own folder?
Here is my current set-up:
2 folders on C:\ directory (contains: android-sdk-windows and Android folders and separate)
In android-sdk-windows\platform-tools folder it contains:
lib (folder)
llvm-rs-cc.exe
source.properties
aapt.eve
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
aidl.exe
dexdump.exe
dx.bat
NOTICE.txt
finishedpngs (folder)
framework (folder)
SystemAppsOriginal (folder containing my original /system/app APKs from Droid 2)
projects (folder containing nothing yet but placing specific APK(s) here)
eclipse (folder)
Eclipse Workspace (folder belonging to eclipse program)
SDK (folder containing another SDK just like android-sdk-windows, don't know why I have this now)
NotePad ++ (folder)
Update Modifier (folder)
PNG Gauntlet (folder)
XMLEditing (folder when I get to editing XMLs I'll place it here for work)
xUltimate Draw9Patch (folder)
xUltimate Theme Optimizer x64 (folder)
xUltimate (folder)
xUltimate Color Converter (folder)
APK Manager (folder)
These are all on my laptop on the c:\android-sdk-windows\platform-tools folder. The reason I put them all in there is because some of them are requiring adb.exe and those 2 DLL files to be able to function on but it's not working like that. So, what I did was copy adb.exe, AdbWinApi.dll, and AdbWinUsbApi.dll into the APK Manager and Update Modifier folders so the Script.bat would work. Now I don't know if that was a good idea or not. It worked on making them operate but I'm getting errors in the APK Manager when I need to compile stuff, or adb push back to phone. It's not working correctly.
In Android folder:
PSPad (folder containing the program to read and supposedly edit XMLs)
RSDLite (goes with SBF)
SBF (contains the zip to restore my Droid 2 back to stock)
The rest are misc. stuff that's just screenshots and stuff not associated with my issues
Only success I have been able to do was run Command Prompt and do adb pull and adb push which runs through the adb.exe in the android-sdk-windows\platform-tools folder.
I had to boot into recovery via Clockwork bootstrap, unmount system and then do the adb push on one of my APK when I was finished editing just PNG image files. No .9.png image files. I hear you need APK Manager to take care of issues with that due to boundaries and chunks being lost or messed up.
I have tried several different methods. Only success was finally doing adb pull and adb push through android-sdk-windows tool but that took me ALL weekend. I'm not talking 3 or 4 hours. I'm talking from 9am to noon, lunch break, then till 3am in the morning and then repeat on Sunday morning till 2am. I DO NOT want to go through that again yet I'm still trying to sort through all this mess and eliminate tools and such and get the right things and MAKE them work according to how they are suppose to function.
I don't know if all those extra tools are suppose to be in the platform-tools or not. I don't know what else to do here. Like I said, I went through several methods but most are applied to what the dev has like for G1's and other phones. My phone is the Motorola Droid 2 A955 build.
I was able to successfully push Music.apk back to the phone and see the changes I made. I was happy. All I did was just change the colors in the PNG image files. I really want to do more than this. Even to .9.png image files, XMLs, smali and baksmali and all that and eventually get onto creating my own theme.
Also, I do have the latest version of Java. I have entered my environment variables. Check here to see what I did:
Under System variables:
Variable Name: adb
Variable Value: c:\android-sdk-windows\platform-tools
Variable Name: Path
Variable Value: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre6\bin;
My laptop build: Dell Inspiron 1525 with Windows Vista 32 bit x86
I have 3 threads at the DroidForums site but I had to edit this thread because I can't post outside links till I've posted more than 8 times. I've been a member here for a couple months, just haven't really posted much. I do more reading and researching here on the XDA forum rather than posting, which is what I've been doing for the last 3 days. If you need links to see my more thorough issues then I can provide links by PMing you with them.
Bottom line: All I'm asking is someone who knows my issues to work with me getting this mess sorted out and placing the folders in right places, getting adb to work with multiple scripts that rely on the adb.exe and those 2 dll's, and pointing me to the right direction so I can get out of the woods finally.
Sorry this is long but people understand more when things are laid out more thoroughly, which lacks in a lot of these threads explaining instructions and resolving issues.

Please close this thread. I will be working on my own since I have solved most of these issues on my own and there is no response to this thread in helping.

Related

aapt.exe....not in tools folder

I am trying to get myself set up to dig more into stuff...and need to put the aapt into my command path. (I think I understand that...)
BUT...I have no aapt.exe in my tools folder.
...I have SDK and Eclipse. They work well enough to get me through tutorials.
Anyone run into this and did something get messed up? Reading googles site they talk like it should just be there. I have: abd.exe, adbwinapi.dll, etc...there is no file before that.
wrong tools folder i guess. i'll leave this here though. the aapt.exe is in the platform/android-#/tools folder (where # is the version you decide to choose..I used 8)
sigh.

Dex2Jar tutorial/help?

I found dex2jar that is intended to convert .dex files to human readable .class files in java. The tutorial however is not very complete and even after putting both the .apk and the dex2jar unzipped file into a folder and running the code in command prompt, all I receive is the opening of dex2jar.sh. I do not find the .jar file that should be generated in the same folder. Anybody with experience with dex2jar want to post a tutorial or some help?
1. dex2jar.sh file.apk
2. profit
I feel like an idiot right now. The sh file is for Linux computers, I am on windows, so I should have ran the batch file.
im going to bump this thread...
i am having some problems with dex2jar right now. ive been able to properly run baksmali, but for some reason im not able to run dex2jar.
im on windows 7, and ive tried saving the .zip file to a folder then unzipping with command prompt, and etc. however, this process does not unzip for me. maybe, i need to look up the unzip command lines to make sure, if im even entering the informaiton correctly. though, i assume that i could just unzip the .zip program into a folder using winace, or something. And, the dex2jar program would work the same. i might be wrong, but i manually unzipped dex2jar to a folder.
then, since my phone is rooted. I easily have access to classes.dex files. So, I put the classes.dex files in the same folders as the dex2jar files and etc.
now, i run command prompt and try to pull up all the directories to the dex2jar.bat and classes.dex files. after i have the directories set up. I run the command line of dex2jar.bat classes.dex
and usually gives me an error of
'java' not recognized on internet or/and external etce etc etc..
ive had the same error with baksmali, but i was doing something wrong, as in the file system and using the wrong command line.
i've tried moving up a few directories too the lib files, and running the dex2jar-0.0.7.8-SNAPSHOT.jar file, (or whatever it is called) in the command line with classes.dex and it gives an error, but the last line says batch (or something) is operational.
SORRY, for the lOOOOOOOnnnng run down, but i really need help.
@badmonopoly
Initially, I struggled a bit, but here's what i did to make it work (on XP)
1. Extract all the files in the zip file to a folder. You can use any extracting tool in windows.
2. Copy you .dex file to this folder.
3. Run setclasspath.bat. This should be run because this data is used in the next step.
4. Go to Windows Command prompt, change the folder path to the folder where you extracted the zip file in step 1 and run the command as follows:
dex2jar.bat classes.dex
5. Tada!! Your jar file will be ready in the same folder.
Hope this helps..
P.S.: You need to have Java installed on your Windows machine for this to work.
this is what you're looking for:
http://forum.xda-developers.com/showthread.php?t=873466
I got it all working but i have one problem probably a noob question but how do i get it back to a dex?
ok well nevermind smali and baksmali is way easier to use
jar2dex
HI I have got a serious problem and i have edited one of this but now i need to convert jar file to dex how ???? this is really serious for me plz help!!!
msri3here said:
@badmonopoly
Initially, I struggled a bit, but here's what i did to make it work (on XP)
1. Extract all the files in the zip file to a folder. You can use any extracting tool in windows.
2. Copy you .dex file to this folder.
3. Run setclasspath.bat. This should be run because this data is used in the next step.
4. Go to Windows Command prompt, change the folder path to the folder where you extracted the zip file in step 1 and run the command as follows:
dex2jar.bat classes.dex
5. Tada!! Your jar file will be ready in the same folder.
Hope this helps..
P.S.: You need to have Java installed on your Windows machine for this to work.
Click to expand...
Click to collapse
Great...........Nice Work
msri3here said:
@badmonopoly
Initially, I struggled a bit, but here's what i did to make it work (on XP)
1. Extract all the files in the zip file to a folder. You can use any extracting tool in windows.
2. Copy you .dex file to this folder.
3. Run setclasspath.bat. This should be run because this data is used in the next step.
4. Go to Windows Command prompt, change the folder path to the folder where you extracted the zip file in step 1 and run the command as follows:
dex2jar.bat classes.dex
5. Tada!! Your jar file will be ready in the same folder.
Hope this helps..
P.S.: You need to have Java installed on your Windows machine for this to work.
Click to expand...
Click to collapse
cant open the file.
file is corrupted
why??

Theming the phone

Hello all,
I am new here and just got my Galaxy S 4g. I am used to creating themes on the iphone and am getting very frustrated with this phone so far. I have rooted my phone, and also downloaded go launcher and a couple widgets. and a couple different file explorers.
Problems I am having is that everyone says the apps and themes are located in the phones data folder. My data folder is always blank with nothing inside. I search for the exact name or location of the apps and it says 0 files. I look at the apps running and details of them tell me they are in the /data folder, but My folder says empty. I even have the show hidden files checked.
Also I am trying to find a way to browse the phones files (not the memory card files) from my computer. I have now read over hundreds of pages of searches and can not find any answers.
Please help me.
the files that you are going to want to find are the framework-res.apk and twframework.apk.
those files are located in the system/framework/
i use android commander to push and pull files cause it is the easiest for me. you will need winrar to unzip the apk's but if you want to edit the .9.png's you will need APK manager to unpack the .9.png's and Ultimate Compiler to recompile after you edit or the png's will stretch wrong and look horrible.
There is a link on the main Android Themes page on XDA that has a wonderful write up in PDF about theming...
ill see what else i can post when i have time later to help you out.

[UTILITY][10-8-2012] APK Manager for Mac OS X, Intel only, v3.0

So almost everyone here should be pretty familiar with android, and that means you've probably heard of (and maybe even used yourself) the windows tool APK Manager by fellow XDA member Daneshm90.
Early last year I started to port the windows 4.9 version to mac using the outdated linux script for a base. And I had some early success at the time with simply using macports to install sox, optipng, etc. And then my computer crashed (double drive failure in July, 2011) and I gave up for the time being. Recently though I was excited to find that someone else tried to do the same thing, XDA member MAD Industries released a very basic port for mac.
Sadly though, a quick diff of his script and the outdated linux version shows that it was still woefully behind the windows version. And so I started working (once again) on my own port of APK Manager for Mac OS X, with my goal to not only bring this current to the windows feature set, but exceed it in many ways.
I've built in 32/64-bit architecture checking, and compiled and include the required missing binaries to re-enable optimizing png images and ogg files. I'm also including a .terminal file for easily configuring the default display, and a copy of my NEW favorite fixed-width font, Bitstream Vera Sans Mono.
And now some notes, and requests:
PLEASE note: this is currently INTEL only, but it supports both 32-bit and 64-bit all-in-one with architecture checking built-in to the script.
PLEASE note: if your computer is running OS X 10.7.X, "Lion" then it does not include a java runtime by default, please download it here first: http://support.apple.com/kb/DL1421
PLEASE note: due to the length of some of the strings used in the menus, etc., in order to not need to scroll your terminal window, you must adjust your default columns and rows settings. You can set this automatically by using the include "JocelynCustom.terminal" file, and you can also find simple instructions to set this yourself in the README.txt
PLEASE read the included readme for installation and very basic (for right now) usage instructions. I welcome any and all feedback on improvements for the readme file.
PLEASE report any and all bugs or generally wonky behavior, preferrably by posting here in this thread, or by posting a comment back on my blog.
LASTLY, please if you re-post this anywhere else, including blogs, other forums, etc. I would greatly appreciate if you would at least give me credit, and link back to my blog (http://girlintroverted.wordpress.com/) or at the very least, link back here to this post.
WHEN UPGRADING, DO NOT COPY OVER THE CONTENTS OF THE "other" directory or the root directory unless you absolutely know what you're doing.
IMPORTANT: Please see the second post in this thread for update notes, issues, concerns, etc. thanks
Download apk manager v2.2.5 here: http://www.mediafire.com/?o4idx4en9ldnwx4
Download migration tool v1.4 here: http://www.mediafire.com/?hbhftv9195tk86t
v3.0 BETA INFORMATION
May 11, 2012 - beta version of v3.0 is online now on github, if you want to help test it, I suggest backing up your old apk_manager directory entirely, and then going here, and reading the simple install instructions:
https://github.com/jocelynmallon/apkmanager
The basic install is pretty simple though: open terminal, cd into whatever directory you want the apkmanager folder to be created in, and run:
cd into whatever directory you want the apkmanager folder to be created in, and run:
Code:
git clone git://github.com/jocelynmallon/apkmanager.git
launch APKManager.app and follow all the instructions.
Also, git is utterly retarded when it comes to the OSX 'icon' resource files (for custom folder icons) so by default, the folder icon isn't included with 3.0+, but you can download it and apply it yourself still. Link is on the wiki here:
https://github.com/jocelynmallon/apkmanager/wiki/Basic-Information
and thank you very much to anyone that helps test this!
Cheers everyone
IMPORTANT!
5-11-2012 - v3.0 BETA notes
Some notes about the new v3.0 beta released today.
First, please backup your entire old apk_manager directory before you install/clone the 3.0 git repo. My OCD got the better of me when it came to releasing 3.0, and I ended up trashing my entire git repo/history (from v1.0-2.2.5) and starting a new history when I was ~90% through the 3.0 dev process. Because of that, your old directory will cause problems, DO NOT CLONE/INSTALL 3.0b into your old 1.X/2.X directory.
Second, for those comfortable with the command line that really want to help test APK Manager, there are four 'hidden' menu options in most menus (main menu, debug/settings menu, auto-updates menu, signing menu, clean menu) that turn on a variety of debugging options.
96) turns on 'trace mode' (set -x) for the entire script, once the main loop starts. This will make the script basically unusable for people, please only use this if you can reproduce a bug, and are saving the entire terminal output to submit an issue/error log.
97) turns on 'verbose mode' (set -v) for the entire script, once the main loop starts. This will cause some display issues, but the script will remain mostly usable.
98) turns on 'error mode' (set -e) for the entire script, once the main loop starts. This basically causes the script to exit if any condition/test/command fails. Not really useful on its own, but very useful in combination with option 96 or 97.
99) turns on a very (and I do mean VERY) simple debug information display between main apk manager header and most menus. This shows the current PID, the last exit/return code (Currently non-functional) and the last directory change.
So, if you can reproduce any bugs, please close apk manager, and delete your log.txt. Then open APK Manager again, and on the main menu, choose option 98, then next choose option 96. Then reproduce the bug, and copy/paste the entire terminal output into a log on pastebin.com, gist, etc., and send it to me. And of course, if you feel confident debugging and fixing it yourself, then fork the apkmanager repo, and send me a pull request with your changes.
4-14-2012 IMPORTANT!
An update to the issue below. This has been resolved in version 2.1 of APK Manager, and should not present any issues moving forward. However, because the old user settings and private keys were stored locally, inside the apk_manager directory, in order to save these before upgrading, I've created a migration utility/script, that needs to be run before you upgrade.
The link to this migration utility is in the original post in this thread, and the tool is also included in the APK Manager disk image starting with versions 2.1.1.
To run this tool:
mount the "Migration Utility.dmg"
Copy Migrate.app to your old root apk_manager directory.
Copy Migrate.sh to your old apk_manager/other directory.
From your old root apk_manager directory, run Migrate.app
Verify that the script completed without any errors
OPTIONAL - for those paranoid, you can double check that it worked manually. Execute the following commands in a terminal:
Code:
cd $HOME
ls -la | grep .apkmanager
cd .apkmanager
ls -la
4-13-2012 IMPORTANT!
AFFECTS all versions of apk manager prior to v2.1 (forthcoming release as of 4/13/2012.)
If you use any advanced signing functionality, you must backup your existing private key(s) and keystore(s) before upgrading to a new version of APK Manager.
Forthcoming version 2.1 will have a separate, automated, one-time backup & upgrade script to run, and all future versions will have automatic backup of key(s) and keystore(s) built in.
By default they get created and saved in the apk_manager/other/.keystores directory. This is a hidden directory by default. You can do one of several different things to unhide/view this directory, and backup your keystore(s).
I'm outlining one simple method here.
Enable 'show hidden files' in Finder. From a terminal copy and paste the following two lines:
Code:
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
Finder will restart after those two lines, browse to your apk_manager/other directory and make sure you see the .keystores folder (it should be dimmed compared to regular folders.)
Copy this folder and all contents somewhere safe (desktop, user home directory, user backup folder, dropbox, etc.)
Proceed with your upgrade (usually just delete the old apk_manager folder and copy over the new one, you might need to manually move project folders, etc. too)
Copy/Paste your saved .keystores directory into your new apk_manager/other folder
Test advanced signing functionality to ensure everything still works.
Once you've verified everything is working, run the following code to turn off viewing all files/folders in finder:
Code:
defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder
CHANGELOG
10-8-2012
fixed a couple bugs that were introduced with some changes to homebrew and pngcrush
updated smali.jar and baksmali.jar to version 1.4.0
fixed a few various typos
updated the built-in pngout downloader to download the newest version (May 30, 2012)
changed the "view changelog" option on the debug menu to use "git log" if you used homebrew & git to install
added the ability to forcibly reset the "home" directory by holding the command/apple key when launching APKManager.app
removed all the little "b/beta" tags I could find since this seems good enough for a "real" 3.0 release finally
4-28-2012
v2.2.5 uploaded! - Fixed "adb log" function. I have no idea how or when I broke this, but it was yet another boneheaded mistake.
4-28-2012
v2.2.4 uploaded! - Fixed a bug in the "batch sign with private key" option that would cause the signing process to fail if the key and keystore password weren't identical.
4-24-2012
v2.2.3 uploaded! - I'm retarded and somehow failed to include zipalign in every release. Fixed.
Added zipalign path information to debug/binary info screen.
Replaced all instances/uses of 'which' with 'command -v' instead.
Fixed an obscure bug that could cause infinite loop in the function to check and set png optimization tool.
4-20-2012
v2.2.2 uploaded! - Updated 32-bit optipng to v0.7.1 (Somehow I forgot to update the 32-bit binary when I last updated the 64-bit version)
Minor changes to the way debug/binary version info is scraped and displayed. I personally think this new method is cleaner, and more consistent.
Fixed bug in binary display screen (debug menu, option 2) whereby pressing "any key" did not actually close the screen and return to debug menu.
Updated other/Migrate.sh to dynamically pull the APKManager version banner from whichever other/Script.sh version is present, when its run. This should mean the end of unnecessary updates to Migration Utility.dmg, purely to bump the APK Manager version information.
4-17-2012
v2.2.1 uploaded! - Updated pngcrush to 1.7.27 (yep, that's it, lol)
4-16-2012
v2.2 uploaded! - Integrated color scheme selection into one single script, and removed the separate 'black text on light backgrounds' script file since its no longer needed.
Added new option to the "Clean" menu to reset/change color scheme.
Fixed a few obscure bugs with the apktool selection menu.
Added the actual apktool jar file in use to the debug menu information.
Changed the way the default apktool.jar symlink is created in order to prevent APK Manager from ever linking 'mod' versions by default.
Added a new custom icon for the apk_manager folder (CC by-nc-sa) Jocelyn Mallon, 2012
4-15-2012
v2.1.2 uploaded! - Fixed a bug causing decompile/compile errors due to old framework files not being deleted when changing apktool versions.
Added 2 new apktool versions, an upgraded 1.4.2 version, and 1.4.3 ICS Mod. For most instances, 1.4.3 is still the best option to use.
4-14-2012
v2.1.1 uploaded! - Fix brain-dead mistake regarding user settings & private key migration.
Packaged "Migration Utility.dmg" with APK Manager for easier upgrading from previous versions.
4-14-2012
v2.1 uploaded! - Migrated user settings and private keys to new location ($HOME/.apkmanager) to ensure preservation when upgrading.
Bumped copyright/CC info in various files to 2012
4-12-2012
v2.0.1 uploaded! - Quick hotfix for directory check/creation for advanced signing options.
4-12-2012
v2.0 uploaded! - Re-packaged into a DMG (mac disk image) file to alleviate potential unzip/setup errors.
Updated a lot of the various binaries to latest versions (adb, sox, optipng, pngcrush, etc.)
Added a new option to view java source, this has a lot of potential issues/caveats so please read the CHANGELOG.txt for more information.
Re-worked and (hopefully) simplified debug menu for the millionth time.
Added Chocolat.app to list of text editors/viewers http://chocolatapp.com/
Lots of stuff I probably missed, please read README.txt and CHANGELOG.txt for full details.
10-18-2011
v1.2.1 uploaded! - Mostly bugfixes for a few really stupid bugs I introduced in 1.2. If you had problems running APK Manager because of "missing programs" or "not in PATH" errors (from a clean install) it was my crappy coding skills, and it should be fixed now.
I honestly don't think I added any new features, just bug fixes and code cleanups.
10-10-2011
v1.2 uploaded! - Added another png tool option, pngout. Unfortunately, due to the licensing restrictions, it is illegal to redistribute the actual pngout binary, so instead, APK Manager will download and install the binary upon first attempted use of pngout. This means that if you never use pngout, it will never be downloaded.
Completely re-worked the adblog.txt function, now completely automated, and, with much clearer instructions.
Added two additional text editor/log viewer options: sublime text 2, and vico. Just like all the rest, they both require command line support to be installed in order to function.
Cleaned up adb shell, ddms, and draw9patch options so that they all now automatically close the new tabs that they open, and when necessary, will kill and re-start adb.
1.2 might be the last release. I had fun learning how to write shell script for this, but the overwhelming lack of interest in this project has already started to make it no fun for me. And well, its already basically good enough for everyday use, there's just not much else to keep adding.
10-8-2011
v1.1 uploaded! Please see Changelog.txt for full details.
switched some code back to a "portable" syntax and changed back to /bin/sh env in case users have a login shell other than bash set.
cleaned up and re-arranged debug menu again, it should be a lot less cluttered, and easier to use overall now.
fixed a few bugs in the startup check, hopefully nobody ever encountered them, they were pretty embarrassing, lol.
added option to choose between optipng and pngcrush for png optimization functions, and the setting is persistent between launches of APK Manager.
Good work man. Let me know if you'd like to collaborate or borrow ideas. I wrote Android-Utility and it is currently on v1.0.2 and development is active.
Tommy
Android-Utility Linky
tommytomatoe said:
Good work man. Let me know if you'd like to collaborate or borrow ideas. I wrote Android-Utility and it is currently on v1.0.2 and development is active.
Tommy
Android-Utility Linky
Click to expand...
Click to collapse
Hi Tommy,
Thanks for the compliment and the offer to work together. I'm not really sure how much else I'm going to add, but I did take a nod from your tool and add the option to choose between optipng and pngcrush. Mostly I added that just because optipng hasn't been updated in forever, and pngcrush just had an update last month.
So I compiled both 32-bit and 64-bit specific binaries of the newest pngcrush (v1.7.17) and included them with v1.1 of APK Manager.
Anyway, your tool is pretty amazing, I'm rather intimidated by how many features you have, lol.
Thanks again, cheers
s0niqu3 said:
Hi Tommy,
Thanks for the compliment and the offer to work together. I'm not really sure how much else I'm going to add, but I did take a nod from your tool and add the option to choose between optipng and pngcrush. Mostly I added that just because optipng hasn't been updated in forever, and pngcrush just had an update last month.
So I compiled both 32-bit and 64-bit specific binaries of the newest pngcrush (v1.7.17) and included them with v1.1 of APK Manager.
Anyway, your tool is pretty amazing, I'm rather intimidated by how many features you have, lol.
Thanks again, cheers
Click to expand...
Click to collapse
Back at you man. Yeah last week I went crazy. I went from version 1.0.2 to version 1.0.7 in three days. There's always something new that can be added.
Don't be intimidated! AU and apkmanager each have their places. I aimed to create a tool that encompasses everything to do with Android while apk manager focuses on modifying apks. Surprisingly however while I wrote the tool for mac users, I've had mote Linux users for au. But the mac community needed some love and attention, and now it has two tools to choose from
tapatalk signature here. lovely.
version 1.2 released, this might be the last release, I can't think of anything else to add really, and well, nobody really cares either, lol.
great work
1.2.1 uploaded with a few bugfixes, please re-download, and I'm really sorry I didn't catch them sooner until someone messaged me today.
Wow, this is amazing! So glad I don't need to boot into WinXP just to use apkmanager. I just downloaded the newest version, followed all instructions, and everything is working perfectly. Thanks for including all the extras such as terminal settings. Great for semi-noobs like myself.
Can't wait to try this tool out. Thanks for all the hard work in putting it together.
this not working anymore? Says applet version unsupported
Nhialor said:
this not working anymore? Says applet version unsupported
Click to expand...
Click to collapse
Yes same here
Hey,
Sorry, I'm pretty much stopped doing any work on android, but if you can describe the error in more detail, I'll look into it and try and fix the problem.
Sorry about that.
s0niqu3 said:
Hey,
Sorry, I'm pretty much stopped doing any work on android, but if you can describe the error in more detail, I'll look into it and try and fix the problem.
Sorry about that.
Click to expand...
Click to collapse
OK cool.
So it's not possible to start the setup file, because it's unsupported and starting the apk manager directly is also not possible because it has to be in the root directory
Gesendet von meinem Desire S mit Tapatalk
Kolo39 said:
OK cool.
So it's not possible to start the setup file, because it's unsupported and starting the apk manager directly is also not possible because it has to be in the root directory
Gesendet von meinem Desire S mit Tapatalk
Click to expand...
Click to collapse
Hi again,
Ok, so first, you can set the root directory manually if you open up the APKManager.command file with a text editor.
Look for the following:
Code:
# Set path to use this script in .command mode
# ENTER the POSIX path to your root APK Manager
# Directory between the quotation marks
MAINDIR=""
and inside the MAINDIR="" paste the full path to your apk_manager directory
for example, mine looks like:
Code:
MAINDIR="/Volumes/LappyHD/Android/apk_manager"
then you need to manually make the entire directory executable, so open a terminal window, and type:
Code:
chmod -R ug+x /Volumes/LappyHD/Android/apk_manager
But replace the path with the correct path for your setup (the same one you used in the .command file.)
Of course, that's not the solution for everyone, and I'd like to figure out why the setup script isn't working. I tried the setup script myself today on 10.7.3, x86_64 and it still works fine for me, so can you post some information about your mac, version information, java version installed, etc.?
sorry again about this, but hopefully I can get this fixed asap.
cheers,
s0niqu3 said:
Hi again,
Ok, so first, you can set the root directory manually if you open up the APKManager.command file with a text editor.
Look for the following:
Code:
# Set path to use this script in .command mode
# ENTER the POSIX path to your root APK Manager
# Directory between the quotation marks
MAINDIR=""
and inside the MAINDIR="" paste the full path to your apk_manager directory
for example, mine looks like:
Code:
MAINDIR="/Volumes/LappyHD/Android/apk_manager"
then you need to manually make the entire directory executable, so open a terminal window, and type:
Code:
chmod -R ug+x /Volumes/LappyHD/Android/apk_manager
But replace the path with the correct path for your setup (the same one you used in the .command file.)
Of course, that's not the solution for everyone, and I'd like to figure out why the setup script isn't working. I tried the setup script myself today on 10.7.3, x86_64 and it still works fine for me, so can you post some information about your mac, version information, java version installed, etc.?
sorry again about this, but hopefully I can get this fixed asap.
cheers,
Click to expand...
Click to collapse
I try this in the next days
My Mac Book Pro end 2011 has all updates installed (Lion 10.7.3)
---------- Post added at 05:17 PM ---------- Previous post was at 05:07 PM ----------
Ahh okay I fixed it!!!
The Unarchiver was not able to extract all files from the zip. So files doesn't work. But by using OSX Unarchiver everything works
Thanks a lot for this port!!
Kolo39 said:
I try this in the next days
My Mac Book Pro end 2011 has all updates installed (Lion 10.7.3)
---------- Post added at 05:17 PM ---------- Previous post was at 05:07 PM ----------
Ahh okay I fixed it!!!
The Unarchiver was not able to extract all files from the zip. So files doesn't work. But by using OSX Unarchiver everything works
Thanks a lot for this port!!
Click to expand...
Click to collapse
Hi again,
I'm glad you got it figured out. I think I'll start packaging it as a DMG file instead of a zip, and just made a custom background image to explain about copying the apk_manager folder somewhere.
I've also been working on updating it a little bit the past couple days, and will have a new version soon.
Cheers!
Uploaded version 2.0 update!
This adds a couple new features, some bug fixes, and re-packages the entire thing in a disk image, to hopefully alleviate those unzip/setup errors.
Please see OP for download link, and second post for changelog.
OP update with v2.0.1, hotfix for advanced signing options, please download the newest version.

Add APK - repack system.img

I was looking for a similar topic but I did not find one. Refers to problems with running applications added to "system.img".
I bought UMIDIG S for my father-in-law. It is based on a mediatec chipset. Unfortunately, soft is tragic, and there is no full translation, so I decided to bury it a bit in "system.img".
I can easily install the file in Linux and make changes in it. I can delete applications, I can make changes in configuration files and "buikd.prop".
Unfortunately, all APK files were uploaded to "system.img" even though I set permissions 755 for directories, and 644 for directories. Although the files are root: root, after uploading such "system.img" none of these applications works for the phone. The system sees them and tries to load. Unfortunately, applications hang because of errors. The system informs that the application hangs, and does not load its window. The icons of these applications and the names do not appear either (applications have green robocik as icon, and domain name, e.g. com.android.clock ....)
I am asking for advice. How to add APK files to the unzipped "system.img" so that after packing and uploading to the phone there were no errors ???
Do you have found how add app in system.img?
It's all around, but you can replace apps with others. In the linux system, unpack the img, and mount them. Then you can freely rename files as well as move files within the .img mount point
I chose the applications or other files I did not need, and moved them to the directories (which I named my applications). If the application needed libraries, you also had to get files in a similar way, and place them in arm or arm64 directories.
Then prepared files "stuffed" with data, using the command DD. That is, dd if = (source file) of = (the recipient file at the system.img mount point).
Thanks for reply, so this only on Linux? For Windows there is something?
Markosv76 said:
Thanks for reply, so this only on Linux? For Windows there is something?
Click to expand...
Click to collapse
I do not know, I do not use Windows. Certainly you can in a similar way from BSD systems, probably from Android and MacOS. I read something that Microsoft can somehow support linux shell, but I do not know the details. You can always use some distribution that works with a pendrive.
Thanks, I will try again
Markosv76 said:
Thanks, I will try again
Click to expand...
Click to collapse
You can use Virtual Box to run a Linux distro inside Windows or you can try using Cygwin.
Sent from my LGL84VL using Tapatalk
jaroslawstrauchmann said:
I was looking for a similar topic but I did not find one. Refers to problems with running applications added to "system.img".
I bought UMIDIG S for my father-in-law. It is based on a mediatec chipset. Unfortunately, soft is tragic, and there is no full translation, so I decided to bury it a bit in "system.img".
I can easily install the file in Linux and make changes in it. I can delete applications, I can make changes in configuration files and "buikd.prop".
Unfortunately, all APK files were uploaded to "system.img" even though I set permissions 755 for directories, and 644 for directories. Although the files are root: root, after uploading such "system.img" none of these applications works for the phone. The system sees them and tries to load. Unfortunately, applications hang because of errors. The system informs that the application hangs, and does not load its window. The icons of these applications and the names do not appear either (applications have green robocik as icon, and domain name, e.g. com.android.clock ....)
I am asking for advice. How to add APK files to the unzipped "system.img" so that after packing and uploading to the phone there were no errors ???
Click to expand...
Click to collapse
did you find a solution to this? please reply if yes, I am having the same problem

Categories

Resources