yashsingh1/xdaforums huggingface dataset:
[Motorola Droid X2] prithvee:
help!!!!!!!!!!

everything works right till all the procedures on pc....

but when i try to flash it in recovery it aborts the installation -status(0)

how to over come it ??????????

please help:(
[Motorola Droid X2] hemansan:
This worked for me too !!!

I could Decompile, compile, sign and create the zip.

I installed the zip which went perfrectly fine without any issues.

Thanks guys !

I was trying to modify number of icons shown on home page (maxRows and maxItemsPerRow) which did not work. Still figuring out my options on that front though. However it has nothing to do with the tool.
[Motorola Droid X2] krystiano:
hi can someone help me with this :

and folder framework-res is empty.

i don't know how decopile this file.
[Motorola Droid X2] CaptainBromo:
ECHO is off?

Hi

I did as told exactly, and I get an error.

Choose the number corresponding to the option:1

(removing old files...)

(removing old files-to-edit...)

===============++ Decompiling the APK. Please, please be patient :) ++===============

ECHO is off.

An error has occurred. Check the log for more info.

ECHO is off.

Press any key to continue . . .

But when I type 12 for logs, I get this...

The system cannot find the file specified.

Press any key to continue . . .

I made sure in CMD that my ECHO is ON. I go to cmd and type, ECHO @ON. Then I type ECHO and it says ECHO is on.

Please help.

Thanks,

Michael
[Motorola Droid X2] Southrice:
Wow, that is stupid, but it worked for me.
[Motorola Droid X2] studiorat:
thanks man great lil tool
[Motorola Droid X2] AndyOpie150:
Simple, easy to set up and use. Great work.

Now I can be working on the framework.jar with APKMultiTool and work on the framework-res.apk with this one and not get my work confused.

Thanks

Just a good piece of advice for those new to setting up Java and ADB.

The path and class path to the Java.exe and the path to the adb.exe are very important for most utility programs to work properly.

When setting the class path of the jdk6 make sure you delete the class path of the older Java.

Class path and path are very similar. Path starts with a ; to separate paths and the class path has " before and after.

The actual path to the java.exe is the same for path and class path with the above mentioned exceptions.

Example:

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

The above is my class path to my java.exe.

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

The above is the path to my java.exe.

;C\SDK\platform-tools

The above is the path to my adb.exe.

Both options are in the environmental settings section.
[Motorola Droid X2] jjb427:
Thanks a ton for this tool! :) I used it to enable the CRT animations on my Nexus.. Took awhile to figure out how to compile/decompile.. But now that I got it, it's awesome! Thanks again! :thumbup:
[Motorola Droid X2] M4ST3R-V:
Error

Hi, First of all I would like to thank you for this awesome tool. It is what i am really looking forward to. Actually i was getting the ECHO error, and i solved that by using the latest apktool and aapt.exe files when i was decompiling the framework. then after i decompiles and edited and compiled my apk in the 3 option signing of apk am receiving the error of echo off again !

the log is :

Please help me with this error. Thank you
[Motorola Droid X2] Tickie:
Not working JAVA

Not working for me on Win 7 getting the following error in log. Anyone help me..

---------------------------------------------------------------------

| Log - Sun 03/10/2013 -- 11:54:59.51 | work\LogSimple.txt

---------------------------------------------------------------------

THE LOG BELOW IS FOR YOUR MOST RECENT PROCESS ONLY.

'java' 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.

:confused:
[Motorola Droid X2] sga999:
I think I found a bug in runme.bat. It results in an error during the compile step (step 2), so "temp-files" NEVER gets created. I can't say how this affects the entire process....obviously, this has been working for many people over the last couple of years. So maybe fixing this makes no difference, but if it doesn't, I don't know why this step is there at all!

Here's the line that's wrong:

7za x -o %~dp0temp-files %~dp0place-framework-res-here\framework-res.apk

To fix it, there should NOT be a space between -o and %. EDIT: I now see that post #77 already refers to this problem.

EDIT: Also, this line had forward slash before resources.arsc, but I've changed it to backslash.

DEL /Q %~dp0temp-files\resources.arsc
[Motorola Droid X2] :
I have the same thing. Would appreciate if somebody could point me into the right direction...
[Motorola Droid X2] M4ST3R-V:
update

update apktool and aapt.exe with latest sources and replace them. reboot your computer and try again. It worked for me like that :)
[Motorola Droid X2] :
Thank you for your answer. I gave up in the mean time and decided to do it manually with apktool. Took some time to figure it but now it's working:)
[Motorola Droid X2] Donna591:
is it possible, that after the editing was done, to simply push the framework to its place? without flashing recovery?
[Motorola Droid X2] M4ST3R-V:
yes and no

Yes it is possible to do it that way ! but some errors may popp up and the edited framework may not work properly. It is recommended to flash it with recovery. :)
[Motorola Droid X2] rfmalta:
This fixed the "echo is off" error for me: http://wiki.answers.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_file
[Motorola Droid X2] chaos72653:
SystemUI.APK please

Would love to be able to use this tool on SystemUI.APK also.
[Motorola Droid X2] Vaggos Rap:
Question

It will work and with other android devices?:confused:
[Motorola Droid X2] wesf90:
Possibly, however it was built to be used with the droid x2.
[Motorola Droid X2] Lorenzo VonMatterhorn:
i REALLY wish someone would move this thread. considering it has absolutely nothing to do with the droid x2. it gets pretty old seeing it . :confused:
[Motorola Droid X2] 350d:
Does it work on CM10.1 of nexus 4?
[Motorola Droid X2] dejanxxxx:
I have problem, when want decompile framewrok.jar, I get this - Error: Unable to access jarfile apktool.jar I use windows 8. What do, must decompile for porting rom. I kill my self, cant find solution 3hours.
[Motorola Droid X2] iSaoHatake:
Can i just extract the final zip and replace framework-res.apk directly on system folder on kitchen?
[Motorola Droid X2] dreamwave:
update.zip?

Does it wipe userdata? I'm using an old tmobile g1 w/o a data/phone plan, and I know how to flash rc29 turn on debug etc. to sign in with WIFI, but if I need to sign in again after the update, it isn't an option, plus does even it work on the g1/adp1?

P.S. I have stock android 1.6 rooted (universal androot) rom.

EDIT:Apparently it doesn't work on the g1;well, at least I didn't brick my phone like the last time...
[Motorola Droid X2] thesebastian:
I just tried it on my Nexus 4 (no CyanogenMOD, Stock JDQ39).....but didn't boot.

Only edited arrays.xml screen brightness values..
[Motorola Droid X2] slicingtaco:
I get this error code upon trying to decompile?

I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=
0x01080291 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResource
s.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)

at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
[Motorola Droid X2] sot74:
java

when i run the program choosing no 1 for decompilation i get the following mesage:

'java' is not recognized as an internal or external command,

operable program or batch file.

Java is installed in my PC.

can any tell me what should i do??

thanks
[Motorola Droid X2] fralken:
You can replace apktool.jar with the most recent you can find in "android-apktool" project (search for apktool in Google, I cant post the url right now)

---------- Post added at 01:34 AM ---------- Previous post was at 01:26 AM ----------

You must add the folder containing java binaries in PATH environment variable, before running RunMe.bat, e.g.:

set PATH=C:\Program Files (x86)\Java\jre7\bin;%PATH%
[Motorola Droid X2] fralken:
Btw, you need to update also "aapt.exe", you can get it from Google ADT bundle, download it from android developer site..
[Motorola Droid X2] fralken:
I found that RunMe.bat in FrameworkFlash 1.1.4 has some small errors here and there.

I also updated ApkTool to version 1.5.2 and aapt.exe to most recent version (now from adt-bundle-windows-x86_64-20130729.zip)

Here is the patch diff of RunMe.bat (I changed version number to 1.1.4a to keep it different). Maybe it can be useful to others.

3,4c3,4
< SET version=1.1.4
< SET logfile=%~dp0LogSimple.txt
---
> SET version=1.1.4a
> SET logfile="%~dp0LogSimple.txt"
102c102
< echo ApkTool v1.4.3
---
> echo ApkTool v1.5.2
166c166
< java -Xmx%heapn%m -jar apktool.jar b %~dp0files-to-edit\framework-res.apk %~dp0place-framework-res-here\unsignedframework-res.apk
---
> java -Xmx%heapn%m -jar apktool.jar b "%~dp0files-to-edit\framework-res.apk" "%~dp0place-framework-res-here\unsignedframework-res.apk"
172c172
< 7za x -o %~dp0temp-files %~dp0place-framework-res-here\framework-res.apk
---
> 7za x -o"%~dp0temp-files" "%~dp0place-framework-res-here\framework-res.apk"
174c174
< DEL /Q %~dp0temp-files/resources.arsc
---
> DEL /Q "%~dp0temp-files\resources.arsc"
204c204
< 7za a -tzip %~dp0place-framework-res-here\unsignedframework-res.apk %~dp0temp-files\* -mx%usrc% -r
---
> 7za a -tzip "%~dp0place-framework-res-here\unsignedframework-res.apk" "%~dp0temp-files\*" -mx%usrc% -r
324c324
< echo ^( ' ` ^)`-._ _.-'^|;,^| `-, \_\__\`,-'>-.,-._
---
> echo ^( ' ` ^)`-._ _.-'^|;,^| `-, \_\__\`,-'.-.,-._
[Motorola Droid X2] amit.thakor99:
install the latest version of aapt.exe and aptool in the resource folder...there is sum problem with that one
[Motorola Droid X2] YaapDev:
is it not working on 4.3 framework?
[Motorola Droid X2] johnnyl1111:
echo off

in my case the echo off error was caused by windows thumbs.db hidden files in the folders when i viewed as icons instead of list.
[Motorola Droid X2] J_M_V_S:
Updated to 1.1.4a

Hey there!

I've just updated & packed Framework Flasher as per fralken guidelines. Pushed to version 1.1.4a

Enjoy! :highfive:
[Motorola Droid X2] wesf90:
I've added this tool to github, so feel free to submit a pull request and help keep this tool alive.

Http://github.com/wesf90
[Motorola Droid X2] yelofnitsuj:
SUCCESS!!

Thank you!
[Motorola Droid X2] kennyTSV:
Hi there! Thanks for creating this tool. But I'm kind of stuck trying to use it because the above instructions says to put the framework-res.apk file into that "/place-framework-res-here" directory.

So far, I extracted your zipped files to a directory --- such as c:\frameworkflasher\ directory... and then I tried creating a directory called "place-framework-res-here" under the c"\frameworkflasher directory and I also created a directory under the c: drive root directory, c:\place-framework-res-here ..... and I tried using your program to decompile.... but for either case, where the framework-res.apk was placed in either directory, it came up with a message saying that the file could not be found.

So far, I notice that the flasher.zip file does not have or contain any directory within that says 'place-framework-res-here'....so I thought it was necessary to create a directory of that name..... called exactly 'place-framework-res-here'. Thanks for your help in advance.
[Motorola Droid X2] :
Thanks a bunch!

Works great, now I can finally make some cool changes to my framework-res! :D
[Motorola Droid X2] rajbokul2:
show failed

I see this error

++ Decompiling the APK. Please, please be patient :) ++

echo off

An error has occurred. check the log file for more info

echo off

pls help
[Motorola Droid X2] _moelle:
I got the same error on try to compile :((
[Motorola Droid X2] dopy25:
I get the same error. Has anyone figured out why? [MENTION=4403753]wesf90[/MENTION] have you updated this tool?
[Motorola Droid X2] tyson kishor:
thanx & need help

i have done everything correct and got an update file to but how to install it. bcoz 'm using Micromax canvas nitro 4.4.2 kitkat verson in which external sd card optoion doesn't work plzz help me to fix it
[Motorola Droid X2] wmn79:
With me the issue was because the 7za.exe was unable to be extracted to the resources dir. I think this is because I am using Windows 7 64-bit. What I did is copy 7z.exe and 7z.dll from my normal 7zip installation folder (program files/7zip) and paste this is in the resources directory. Next I opened the runme.bat in Notepad++ and replaced all 4 occurrences of 7za with 7z. This did the trick for me. Hope this helps you guys.
[Motorola Droid X2] FROSTSMAKER:
Help Me Error

java version "1.7.0_04"

Java(TM) SE Runtime Environment (build 1.7.0_04-b20)

Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode)

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x01080297 drawable/ic_ab_back_holo_dark, config=-hdpi

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)

at brut.androlib.Androlib.getResTable(Androlib.java:44)

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)

at brut.apktool.Main.cmdDecode(Main.java:128)

at brut.apktool.Main.main(Main.java:65)

thanks for frameworkflasher, but,.. I got that problem.

please give me a solution.
[Motorola Droid X2] SanMistry:
Dear mate, congrats for this.

But i need help regarding Xposed Framework. I'm using CM11 in XoloQ1000 & framework option is inbuilt in setting.

Now, when i try to update any module by download in side & install, it shows 'App can't installed" & aays same package with similar signature is installed.

Please help me if possible.
[Motorola Droid X2] Mr.CuriosCity:
<5> Great news ?

do i really have to wait the zip ? how long does it take ? where can i see the final zip file folder ?

-TIA- newbie here help T-T
[Motorola Droid X2] Mr.CuriosCity:
Error in Decompiling

java version "1.7.0_25"

Java(TM) SE Runtime Environment (build 1.7.0_25-b17)

Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)

Could Not Find C:\Documents and Settings\frankie 8\Desktop\fram\resources\struct\system\framework\framework-res.apk

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010802ad drawable/ic_ab_back_holo_dark, config=-hdpi

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)

at brut.androlib.Androlib.getResTable(Androlib.java:44)

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)

at brut.apktool.Main.cmdDecode(Main.java:128)

at brut.apktool.Main.main(Main.java:65)

.

.

??
[Motorola Droid X2] ch3mn3y:
Im using it with different device (Xperia Play) and stock based GB rom for it.

It works, but after everything nothing i change is changed.

Probably problem is that i dont delete files from temp folder. However i dont have that folder in FrameworkFlasher folder

Any idea?
[Motorola Droid X2] ocd_amp:
Install Java, or if you have some program that uses Java, copy over JRE folder into this program's folder, and then Edit the Bat file. CTRL F to find all commands that access JAVA and Enter the Proper Path i.e. D:\Android\Temp-folder\FrameworkFlasher-1.1.4\jre\bin or Whatever Path you have. Then run the batch file.
[Motorola Droid X2] grdharsh19:
Not Working...!!!

hey its not working for me .... i open runme.bat and pressed 1 for decompiling the framework

which was kept in the folder " place framework res.apk here" but nothing was decompiled and a error had occurred saying " ECHO is off. An error has occurred. check logs for more info." and at last press any key... . when i pressed nothing happened................ i am not geting what is the problem...... plezz just see what is the problem..??
[Motorola Droid X2] IvY74:
this tool tripping knox on galaxy s6?
[Motorola Droid X2] trogl0dyte:
Corrected and updated the tool to v 1.1.4b

Corrected errors in RunMe.bat and updated the tool with latest apktool v2.0.1 and faapt v2 by Chainfire.

Cheers!!:highfive:

Tool works fine now!:):)
[Motorola Droid X2] freeare:
Problem

Hi!

First of all, thank you for this great thing! But for me not worked, when i installed from cwm.

The cwm says: installation aborted, status 255.

The decompile-edit-recompile-sign-create zip was done well.

Device: Chuwi Vi10 Pro
[Motorola Droid X2] ankk98:
It would be great if you could open source its source code. :)
[Samsung Galaxy S (4G Model)] jhaympascual12:
I installed this rom ( LINK UP[ROM][CWM] updated 12/23/2011 | AOSP Style 2.1 | KJ6} ) and got into lots of bugs so I'm gonna share it here what I did to fix it

1. Root was not working properly can't get permission from superuser

FIX: (I have to root the phone again with superoneclick 1.6.5 is the only one working for me)

2. SU binary won't update missing md5 blablabla cannot remember what it was

FIX: (I installed busybox to fix the missing file)

3. Android Keyboard force close error (the application android keyboard process com.android.inputmethod.latin)

FIX: (I look for gingerbread keyboard and flashed it)
[Samsung Galaxy S (4G Model)] FBis251:
You should post in the rom's thread so that the author takes notice.

EDIT

Just noticed you don't have enough posts to post in the dev section yet.

Try PM'ing him a link to this thread I guess.
[Samsung Galaxy S (4G Model)] Beastmode:
Have you tried a data wipe and then reflashing? I was on that rom with no issues
[Samsung Galaxy S (4G Model)] perknite:
Yeah, I had no problems with this ROM either... It's great, actually.

Rather than creating a thread saying that this person's ROM creates problems, PM is the best choice. Especially if you've read through the ROM thread and did not see a bunch of complaints.
[Samsung Galaxy S (4G Model)] Fluidification:
jeeze, how many times do I have to tell people that I am working on a massive update. The android keyboard fc is a problem with Valhalla final. Also the root isn't an issue. Plus all users should flash the beta 2d kernel.
[Samsung Galaxy S (4G Model)] Bassmanjames:
Maybe you should post this info in the OP of your development thread so you don't have to keep telling people. it first look like you ever update it and I wouldn't expect many folks around here to read the entire thread even though they should. maybe you should Post a section about other suggestions such as update to the new kernel and that the keyboard fc is a known issue. Btw, in observation, it looks like you might be starting to understand why people ask you to keep quiet about cm variations un less you have some development to offer :)
[Samsung Galaxy S (4G Model)] jhaympascual12:
maybe its just me. I wasn't able to post a reply on that dev thread because I don't have enough post so I just make a new one and maybe can help other new user too having same issue.

I'm not saying that its the dev I just wanna share it to other users that might have same problem

I was on KD1 rom and reset my phone to factory settings delete cache in cwm and installed the rom. that what I did. and for the android keyboard I was gonna post the link for android keyboard here where I got it but it won't let me
[Samsung Galaxy S (4G Model)] Bassmanjames:
Being on froyo and flashing a GB ROM may have been the "root" of your problems. Try my upgrade guide then re flash the ROM and give us an update

http://xdaforums.com/showthread.php?t=1422824
[Samsung Galaxy S (4G Model)] jhaympascual12:
so far im not getting any issue going on right now after the fix I did.

I also have some question I have a Samsung Vibrant (T959) which has Bionix V based on froyo I believe and I really like it so I just wanna know if there's a rom like that for Galaxy S 4G? I've tried to flashed the bionix frost but I didn't like the custom theme running on proluncher and I don't like apps running in the background I like my phone on stock theme

EDIT: I didn't like the music player that comes on this AOSP syle rom I like the one that comes with the bionic V that I have on my Vibrant and I tried to install that music player apk I took from my vibrant to my galaxy s 4g but Im getting force close error is there a way to make it work?
[Samsung Galaxy S (4G Model)] Fluidification:
use anything you want. Also, can people stop making a complain thread and close it.
[Samsung Galaxy S (4G Model)] Bassmanjames:
People are needy. Complaints are in every Dev thread. Just something you will have to deal with.
[Samsung Galaxy S (4G Model)] Fluidification:
dude, this aint the dev thread, they should pm or post in the actual thread.
[Samsung Galaxy S (4G Model)] Bassmanjames:
Post removed
[Samsung Galaxy S (4G Model)] Bassmanjames:
Yeah I know but...

So you see...

Let's keep bumping this thread and the OP can post a few more times then come share his experiences in your Dev thread :)
[Samsung Galaxy S (4G Model)] jhaympascual12:
lol yeah that what I need :D I'm just a new guy here and trying to learn everything slowly
[Galaxy Ace S5830 General] x3kaien:
Hi. I wonder if there is a way to change my font colour. Pls help if u know how to. Thanks

Press the thanks button if I help u.:-)
[Galaxy Ace S5830 General] xxxMADxxx:
U should ask this in general section guys...
[Galaxy Ace S5830 General] torchwolfery:
this is the general section...
[Galaxy Ace S5830 General] x3kaien:
Haha this is the general section