yashsingh1/xdaforums huggingface dataset:
[Android Software Development] _neutron_:
Thanks, but that is no different to what i have already found

C:\Program Files (x86)\Java\jre6\bin%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

There is no gap in systemroot but it is showing that when i made the post

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\****>java -version
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\****>

--------------------------------------------------------------------------
|28/07/2012 -- 13:08:04.25|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
'java' is not recognized as an internal or external command,
operable program or batch file.
--------------------------------------------------------------------------
|28/07/2012 -- 13:24:28.94|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
'java' is not recognized as an internal or external command,
operable program or batch file.
--------------------------------------------------------------------------
|28/07/2012 -- 13:30:40.38|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
'java' is not recognized as an internal or external command,
operable program or batch file.

i must be missing something really basic, but i cant figure it out...
[Android Software Development] raziel23x:
Humor me SMS install the jdk 1.6 version and try again I want to test something
[Android Software Development] _neutron_:
ok, im running windows7 ultimate 64bit...so i should install

yes?
[Android Software Development] raziel23x:
64 bit version
[Android Software Development] _neutron_:
ok, 64 bit version installed to:

path has been amended to:

C:\Program Files\Java\jdk1.6.0_33\bin%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

again, theres no gap, xda just shows it that way
[Android Software Development] raziel23x:
Adding it to the system path and then tell me what the App says
[Android Software Development] raziel23x:
If that does not work completely remove java run a registry cleaner.

Reboot

Just instal the 64 bit jdk 6 reboot then make sure it is in the system path

Reboot

Then try the tool again
[Android Software Development] _neutron_:
path has been amended to:

C:\Program Files\Java\jdk1.6.0_33\bin%SystemRoot%\system32;%S ystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT% \System32\WindowsPowerShell\v1.0\

again, theres no gap, xda just shows it that way

Thanks for taking the time to do this by the way...its very appreciated
[Android Software Development] raziel23x:
I just posted about uninstall all traces of java and cleaning the registry and reboot ing after each step and just install the jdk 64 bit 6 that may fix it but make sure when u uninstall everything manually delete all traces of java from the environment settings
[Android Software Development] _neutron_:
ran registry cleaner

uninstalled all java

rebooted

installed only jdk 6 (not jre)

amended path to:

C:\Program Files\Java\jdk1.6.0_33\bin

rebooted

ran multitool

multitool states java not found
[Android Software Development] raziel23x:
Hum hire about install reg java 1.6 64 bit so both the normal java and jdk its installed
[Android Software Development] _neutron_:
its working!!

i dont know whats different...but it liked it...multitool opens and runs!!

Thank you soooo much for taking the time and having the patience

(gonna donate now)

---------- Post added at 02:48 PM ---------- Previous post was at 02:43 PM ----------

donation made

ID0GR54736DP290431J
[Android Software Development] raziel23x:
Thanks you did not have to. I am glad our is now working for you
[Android Software Development] _neutron_:
it was my pleasure

only problem i have now is i cant install the android sdk (wont find the jdk without a path - if i add a path, multitool stops working)
[Android Software Development] raziel23x:
This is really weird I have not ever came across this issue before at all even your original problem is beyond me why it happened heck it happened to someone else and It took us a few hours to get his issue resolved and it was a mixture of corrupt files on his computer to the point that he had to do a clean install to his windows xp machine to get these steps to even work
[Android Software Development] raziel23x:
at least the APK Multi-Tools Version Does not need the Android SDK anymore since it is a stand alone application now that only needs java installed
[Android Software Development] raziel23x:
Download this

http://miui.connortumbleson.com/other/apktool/apktool_1.4.9.jar

Rename it apktool.jar overwrite the one in the other folder with it but first download the latest version off Github overwrite evening in the APK multi-tool folder with it then over write apktool with that download link.

Place both you're framework-Res and systemui in the other folder

Run

The setup.bat

Select the install frameworks option install both though files.

Then try again with the decompile and recompile
[Android Software Development] _neutron_:
im just downloading

or do i need all the downloads?
[Android Software Development] raziel23x:
Download the entire APK-Multi-Tools folder. And overwrite you're copy with the files inside it
[Android Software Development] toxicstone:
Ok so i have problems, tried to google but as i dont have knowledge about this it seems hard to find answers.

So i placed the .apk file in place-apk-here-for-modding and open up APK Multi-Tool, picked Extract apk and it went fine, but now i cant open up "AndroidManifest" i have no problem to opening the extrected version on APK manager that a tried out first but in apk multi-tool i just get XMl failed (translated from swedish so its not 100% correct).

I was moving to multi tool cause i didnt get it right with adb and signing but now i have this problem.

regards

edit: Was afried i would have this problem so a tried it:

extract the original apk, dont do any changes, zip it and sign it, but it wouldnt install on my phone?

In bout cases im doing something wrong i know that but its hard for me to now what even if a try to read it out, im only going to replace icons, changes apk name on app name and where it says something else in settings or "program" etc so it isnt something advance.
[Android Software Development] raziel23x:
Use option 9 that is the 1 u want
[Android Software Development] AndyOpie150:
Question: How would I go about extracting, de-compile, compile a .odex file? I tried just changing the .odex to .apk (it worked on the .jar files) but it didn't work on the odex. Do I need to figure out how to de-odex the file first, or is there a time saving trick to doing it with your progam?
[Android Software Development] raziel23x:
not sure why you would want to edit them
[Android Software Development] toxicstone:
Big thanks

edit: And little help :P sorry but its little hard.

Should a:

nr9 Decompile

nr1 Extract

modify

nr3 Zip

nr11 Compile

nr4 or 12 Sign (dunno why there is nr4 and 12)

regards
[Android Software Development] maped:
someone can share one version of apk-multitool which is able to decompile and recompile the systemui of jelly bean :)?

It's not possible that some are able to decompile jelly beans and some not :o ... and then always with the same error 22 file not found! Dunno that file is not found

Thanks in advanced ;)
[Android Software Development] AndyOpie150:
Curiosity, thought I would see what was generated by the dexopt-wrapper.
[Android Software Development] raziel23x:
Well the main problem is with having the magic build of aapt. For Dundee reason it its being hit and miss with each update from Google.
[Android Software Development] raziel23x:
Well done good news and bad news I have jelly bean working using my tool but the bad news it is hit and miss depending on the jelly bean ROM and user.

So far the test shows a 2 out of 3 success rate so release of 1.0.7 is not ready but is on Github for testing.
[Android Software Development] trm96:
I am getting an error message, here is the log:

java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:163)
at brut.androlib.Androlib.build(Androlib.java:180)
at brut.androlib.Androlib.build(Androlib.java:175)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:159)
... 4 more

HTC Evo 3D ICS Sense 3.6
[Android Software Development] raziel23x:
Did you pull:

framework-res.apk

twframework-res.apk

com.htc.resources.apk

SystemUI.apk

And place them in the other folder and install the with the setup frameworks install scripts
[Android Software Development] sUsH667:
just me?

is it just me or is the homepage down for some reason?

always getting this:

"P**** error: syntax error, unexpected '<' in /home/apkmulti/public_html/index.php on line 39"

EDIT: the "P****" got censored, it's "P a r s e"... ;)

greetz,

sUsH
[Android Software Development] raziel23x:
It is being fixed add we speak
[Android Software Development] alkhafaf:
Hello raziel

Your new version v1.0.6 got a problem in the window sizing of UI. I can not see the options cuz the window is small. I think it is related to adding the ad to the path.
[Android Software Development] raziel23x:
Screen shot please
[Android Software Development] mysterio619:
--------------------------------------------------------------------------
|Fri 08/03/2012 -- 13:45:55.77|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:\Users\prashanth\Desktop\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\prashanth\Desktop\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\prashanth\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x010404d7
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302f9
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030307
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030307
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x010301ea
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301e9
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)

can anybody help with this.........i am not able to decompile systemui.apk........i have tried several roms systemui.apk and i still didnt succeeed :(
[Android Software Development] Renate:
I can't say. It might have been helpful if you had posted the invoking command line.

It looks like you are mixing path syntaxes for the -t flag specifying frameworks.

You did process the frameworks somehow using apktool if?
[Android Software Development] mysterio619:
i didnt get u......are u asking me what options did i inoke in the script??.......first i set the current project by pressing 22 and then 9 for decompiling.....in a few seconds it throws a error......
[Android Software Development] Spannaa:
SystemUI.apk needs option 10, not 9 as it's a proprietary rom apk.

Then you need to drop framework-res.apk & twframework-res.apk (dependencies) into the window before proceeding with the decompile.
[Android Software Development] mysterio619:
thank you spannaa it worked finally :):)
[Android Software Development] raziel23x:
I am sorry I have neglect to have indepth faqs and guides on site.

I am working on adding a wiki for users to adding documentation on the proper use of the tool.

I week add the basic info and them users can add to.
[Android Software Development] mysterio619:
I am getting error while compiling.....it decompiled successfully please help

THE LOG IS TOO BIG SO ATTACHED
[Android Software Development] vomer:
can someone please direct me on how to get this working on mac osx lion?
[Android Software Development] raziel23x:
You can't but there is a Mac version done by another guy over on rootzwiki
[Android Software Development] vomer:
Name or link pls?

Sent from my Galaxy Nexus
[Android Software Development] raziel23x:
http://rootzwiki.com/index.php?/top...k-Manager-For-Mac-Os-X,-Intel-Only,-v3.0-beta
[Android Software Development] shoutokuyaki:
Sir...

In my lappy i got...

"system file specified"

I just decompile my SystemUI
[Android Software Development] raziel23x:
added a mailing list

Mailing List:

Google Group Email mailing List
[Android Software Development] alkhafaf:
Hello raziel23x

I am just wondering

y is this warning appears when compiling SystemUI.apk? I did not change anything I decompiled then recompiled just for testing.

any problem can happen with this?
[Android Software Development] raziel23x:
Did you user option 10 for decompile and drag and drop dependencies into it before recompile
[Android Software Development] alkhafaf:
nope, What r the dependencies for SystemUI.apk, and also for framework-res.apk, twframework-res.apk ?
[Android Software Development] raziel23x:
Did some changes to see if I can fix the issue with The keep option to work with none system applications.

Started work on trying to get batch optimize to work.

I will be working on making minor fixes to see if I can get all the bugs out from the original breakage.

I have no ETA to when I will be officially releasing 1.0.7 as I still have a lot of work left to do.
[Android Software Development] raziel23x:
HTC?
[Android Software Development] raziel23x:
There had been a lot of bugs fixed and changes for the full list if changes check out Github for the list of changes and for up to the minute changes download APK multi-tool mobile off the Android market as i post my Github commits to the official blog. Basically I copy and paste my commits to the blog for the users who do not follow my Github accounts
[Android Software Development] alkhafaf:
nope, samsung, i9000 stock
[Android Software Development] raziel23x:
Drop both frameworks folks on it also make sure to run the Set up file and select the instal option and install any of the files you see by placing a copy of of reach apk file in the other folder before selecting each option and them if all that does not work

Place a copy of your (de)compile error log in this thread

http://xdaforums.com/showthread.php?t=1755243

As it does not sound like a multi-tool issue but a apktool.jar issue and attach a copy of both frameworks and the systemui in that thread so that IBotPeaches can debug
[Android Software Development] raziel23x:
APK Multi-Tool Windows Version 1.0.7 Released

Version 1.0.7

Updated to next minor build number

Updated Setup.bat Fixing Installing Framework-Res

Fixed Issue With 'apktool' is not recognized as an internal or external command,operable program or batch file."

Fixed Issue with Installing Framework-Res pointing to a incorrect folder that no longer exist

Fixed Issue when Running Installing Framework-Res scripts that the scripts will close after installing instead of going back to the menu.

Updated APKTOOL.JAR to 1.4.9

Added Custom AAPT that was built to work with JELLY BEAN

Fixed issues with setup

Made a few changes to the setup bat to fix alignment size and other misc issues

Fixed Spelling

Did some changes to see if I can fix the issue with The keep option to work with none system applications.

Trying to get batch optionmize to work

Replacing odt with a actual manual in html

Fixed Bug with KEEP Folder not exstracting for None System Applicaitons

Tweaked how the Signed and Unsigned files are compiled adding a small underscore between the recompiled file and the added prefix added by the scripts

Tweaked the option 11 for non system apks

I added the option to allow you to transfer the old key file over to the apk in case you did minor changes so be careful to test the APK files as some will need you to pick the unsigned option depending on how drastic the changes you made and forcing you to have to resign them

Renamed recompiled system files

Renamed the unsigned_ to signed_System_ since the system file changes the signature files are transfered since they are actually signed already instead of the misconception that has been going on for a while
[Android Software Development] freidel1:
i cant recompile SystemUI.apk

hi raziel23x :)

i have an error recompiling. i'm using multi apk tool and i want decompile/recompile SystemUI.apk ICS 4.0.4. i was decompile succesfully but i cant recompile. i tried recompile any change but i cant recompile.An error at Smaling..

give me advice please :)
[Android Software Development] raziel23x:
Have you downloaded my latest release that I just released a hour ago
[Android Software Development] freidel1:
i tried but same error :crying: you can try decompile and recompile this apk? and my java version "1.7.0_04" is it normal ? (i was install jdk-7u4-windows-x64)
[Android Software Development] raziel23x:
Okay is it HTC mini or other

Have you ran the Setup script and installed ask the apk files listed in the install frameworks prompt only worry about the ones listed that are actually packed with your ROM
[Android Software Development] freidel1:
not Htc its huawei ideos x5(u8800) :)yes i installed framework-res.apk on setup script(i copied other folder) succesfully but same error. i uploaded framework-res.apk for you :) try recompile please and thanks for advices :)
[Android Software Development] raziel23x:
Okay delete it from your the system ui fun the project folder

Recompile it using option 10 abbr dragoon and drop the frameworks-Res into the script window when prompt and sere if that helps
[Android Software Development] freidel1:
its not helped :(
[Android Software Development] raziel23x:
Then this is apktool.jar issue.

Please post your error log and the frameworks as well as the system ui

To this thread

http://xdaforums.com/showthread.php?t=1755243

With Attention IBotPeaches and he will add it to his list of test files to help him fix the bugs in apktool.jar
[Android Software Development] freidel1:
okay thanks your helps :)
[Android Software Development] formula84:
Thanks for your continued effort to make a friendly apk tool... Since moving to 1.07 I Noticed something strange when compiling a system.apk the script will ask if I want to keep anything besides the signiture...if I choose yes or no it does the same thing and wants to use the keep folder...

Seems lines 630 - 667 have this info...

Looks like :nq5 and :nq6 do the same function (y or n) why is that? Just a typo? I don't want to have to use the keep folder if I manually edited a handful of XMLs and 100's of iamges it would take me forever to manually go through the keep folder and manually remove what I changed, don't see a way around this. reverted to 1.06 for the time being,

echo ----------------------------------------------
echo 1. Create an unsigned apk
echo 2. Create an apk using the original Signature
echo ----------------------------------------------
set /P INPU=Type input 1 or 2: %=%
if %INPU%==1 (goto nq5)
if %INPUT1%==2 (call :nq6)
:nq5
rmdir /S /Q "%~dp0keep"
7za x -o"../keep" "../place-apk-here-for-modding/%capp%"
rmdir /S /Q "%~dp0keep/META-INF/"
echo In the APK Multi-Tools folder u'll find
echo a keep folder. Within it, delete
echo everything you have modified and leave
echo files that you haven't. If you have modified
echo any xml, then delete resources.arsc from that
echo folder as well. Once done then press enter
echo on this script.
PAUSE
7za a -tzip "../place-apk-here-for-modding/unsigned_%capp%" "../keep/*" -mx%usrc% -r
rmdir /S /Q "%~dp0keep"
cd ..
goto restart
:nq6
rmdir /S /Q "%~dp0keep"
7za x -o"../keep" "../place-apk-here-for-modding/%capp%"
echo In the APK Multi-Tools folder u'll find
echo a keep folder. Within it, delete
echo everything you have modified and leave
echo files that you haven't. If you have modified
echo any xml, then delete resources.arsc from that
echo folder as well. Once done then press enter
echo on this script.
PAUSE
7za a -tzip "../place-apk-here-for-modding/signed_%capp%" "../keep/*" -mx%usrc% -r
rmdir /S /Q "%~dp0keep"
cd ..
goto restart
[Android Software Development] raziel23x:
It being done this way because it fixes allot of the compiling errors that test files was giving it just made better since.
[Android Software Development] formula84:
So you are saying there is no option to not use the keep folder, thus requiring me to hunt down all the files I have made changes to manually and pulling them from the keep folder each time?
[Android Software Development] raziel23x:
In could add a third option next release but right now there is none

Because the two look the same just that one copies the signature file and the other deletes it after making a copy of the original APK file
[Android Software Development] formula84:
That would be best, cause that alot of manual hunting that I did not have to do prior and had no issues...again thanks for your work on this project, keep it up.
[Android Software Development] 3rdstring:
I would think you could just delete everything in the keep folder.
[Android Software Development] raziel23x:
That works too

But I also see his point add well
[Android Software Development] raziel23x:
Also prior to version 1.0.7 the keep function was broken and did not work at all for none system files
[Android Software Development] formula84:
Nice thanks

Okay so i was on 1.0.5 prior never used the keep folder... I only used this tool for system apks.

In the past when I ran option 11,

it would ask me is this system I would say yes,

then it would ask if I would like to keep anything besides signature, i would choose no.

Never had issues... will just deleting the keep folder produce this same end result?

Also are there ever any scenarios where you would need to resign a system apk? I am a n00b and heard that having a random signed APK in system is bad.
[Android Software Development] raziel23x:
Oops I just reviews the code again and it should be not making a keep folder for system files