[Q] droid x pulldown text color - Droid X Themes and Apps

Hi,
I have a Droid X and have been trying to change the text color on the pulldown statusbar without any luck so far.
When I open status_bar_latest_event_content.xml in a hex editor, it does not have 08 00 00 1C.
I also tried to decompile and build after editing using apktool but the framework-res.apk fails build and errors out:
Code:
.....
.....
.....
C:\pulldown-text\framework-decoded\res\values\public.xml:3590: error: Public symbol drawable/zz_stat_sys_r_signal_5 declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:3591: error: Public symbol drawable/zz_stat_sys_signal_5 declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:3592: error: Public symbol drawable/zz_stat_sys_signal_5_cdma declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:3593: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_custom3 declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:2834: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_custom3_flash declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:3594: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_flash_custom3_anim1 declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Work\LOCALS~1\Temp\APKTOOL7897394753294370357.tmp, -x, -S, C:\pulldown-text\framework-decoded\res, -M, C:\pulldown-text\framework-decoded\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Work\LOCALS~1\Temp\APKTOOL7897394753294370357.tmp, -x, -S, C:\pulldown-text\framework-decoded\res, -M, C:\pulldown-text\framework-decoded\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
I cannot find out how to change this, can someone please advise.

If you attach your framework-res.apk and let me know what color you would like, I can re-do it for you! I have this problem on my desktop (64bit running windows 7).
But on a 32 bit laptop I have no issues.. Haven't been able to figure out the difference...

I have 32-bit too
Hi SysAdmin-X,
I am trying to do it on a windows XP 32bit OS.
Here is my framework-res.apk anyway.
I am trying to edit: /res/layout/status_bar_latest_event_content.xml
The line:
@color/primary_text_light
to
@color/primary_text_dark
Thanks!!!

dgware said:
Hi SysAdmin-X,
I am trying to do it on a windows XP 32bit OS.
Here is my framework-res.apk anyway.
I am trying to edit: /res/layout/status_bar_latest_event_content.xml
The line:
@color/primary_text_light
to
@color/primary_text_dark
Thanks!!!
Click to expand...
Click to collapse
Here you are!
Hope this works! you know how to put the framework back onto your phone?

Thanks!!!
I'd really like to learn how you did it though. Can you please share?
Please share your environment setup for doing this. I've spent the last 2 days trying to figure it out!
Yes, I know how to put it back.
With this, I'm just doing to pull the status_bar_latest_event_content.xml out and put it in an original framework-res.apk just in case something got changed accidentally.

dgware said:
Thanks!!!
I'd really like to learn how you did it though. Can you please share?
Please share your environment setup for doing this. I've spent the last 2 days trying to figure it out!
Yes, I know how to put it back.
With this, I'm just doing to pull the status_bar_latest_event_content.xml out and put it in an original framework-res.apk just in case something got changed accidentally.
Click to expand...
Click to collapse
No problem. I'm not quite sure what you may have done wrong, as I can't get this to work on my 64bit desktop... =(
Anyhow... I have a 32bit laptop running windows 7 ultimate. From there, I downloaded apktool and put the two necessary files for the windows version in C:\Windows.
Then from there, all I do is use the following setup
1) Take the .apk file and create a folder structure such as the following:
C:\frame_build
create 5 folders inside there: decoded, encoded, signed, 9png, and extract.
2) copy the .apk to the C:\frame_build directory
3) Type the following command in a command prompt:
apktool d -f C:\frame_build\framework-res.apk C:\frame_build\decoded\
4) watch for it to say something similiar to "can't find 9patch chunk in file. This is because it does not correctly parse the .9.png files. You will need to find those files in the directory it specifies (in this instance /drawable-hdpi) and cut and paste them in the 9png folder. (you don't have to do it this exact way...this is just my method for simplicity sake)
5) Then you should have a decompile apk in the decoded file. Make your edits to any images/xml files you need.
6) From the command prompt type the following:
apktool b C:\frame_build\decoded C:\frame_build\encoded\framework-res.apk
7) You should now have a compiled apk in the encoded folder.
8) Copy the ORIGINAL .apk file into the extract folder and then use 7zip (or any extraction tool) to unzip the file.
9) Using 7zip, open up the .apk file in the encoded folder.
10) Copy the androidmanifest file and the META-INF folder from the extracted ORIGINAL framework-res.apk and drag it into the open 7zip window. Say yes to any message.
11) Drag the contents of the 9png folder into the open 7zip window under /res/drawable-hdpi or wherever you originally had to pull them from. Say yes to any message.
12) Close 7zip and the .apk in the encoded file is good to go!
This is what I have been doing. I do notice a significant size decrease in recompiled files... For instance, your original was 3.3 mb and the new one is only 2.4

Great, thanks for the prompt replies. I'm doing almost the same thing but still get the errors on XP.
I'm going to try to exactly copy your method and see how that goes. Now I need to find a computer with win7.
I just don't want to have to seek out your help every time I wan to make a change.
Your assistance in this was much appreciated SysAdmin-X

dgware said:
Great, thanks for the prompt replies. I'm doing almost the same thing but still get the errors on XP.
I'm going to try to exactly copy your method and see how that goes. Now I need to find a computer with win7.
I just don't want to have to seek out your help every time I wan to make a change.
Your assistance in this was much appreciated SysAdmin-X
Click to expand...
Click to collapse
No problem at all! If you have more questions, feel free to ask! I'm glad I'm able to help! That's what makes the xda forums great! People have helped me, and I'm more than willing to help others out in return!
If you need more edits, let me know. I can help you out for right now until you get a working environment.

Even better!!!! I found a new tool that may work for you!
http://forum.xda-developers.com/showthread.php?p=10129091#post10129091
I just found this online trying to help figure out a solution to our build environment woes =/
I tested it (sorta) on my framework, and it seems to work really well. You just download the file, extract it, and it runs as an executable. Then you pick your .apk file and you can easily replace images and edit xml files under the content tab of the application!
I'm not sure about re-packaging the apk... but if you can use this, it looks like it decompiles for you... Then you could just double click on the "res" folder under the content portion of the app. It should open a file explorer window to a /temp location with the decompiled apk. Copy all the decompile files/folders to a new directory...Then try recompiling the apk..
Not sure if this will work yet tho... I'm gonna give it a try myself =)
EDIT: Just tried this!!! Super stoked on this tool! I used it to decompile my framework-res.apk...Messed with some xml files...Then opened the temp location....Copied all the files/folders, and then recompiled the apk using apktool from the command line... IT works!!!

Very helpful been looking for this for a long time!

I will try it out.
I don't have any problem decompiling, it's just the recompiling that isn't working for me.

Just created a new windows 7 32 bit environment and tried it again and worked just fine. I can finally re-encode the apks. I'm really just doing it to go from axml to xml and then back to axml after edits.
Just wondering, but is there a way to do this on eclipse?

Related

Help Resigning APK's and ZIP's

I've been looking for information on how to resign apks and update.zip files.
So far i've found a lot of tools for windows, the problem is that i use linux ubuntu.
I went ahead and tried JF's jar but i get this error
"Failed to load Main-Class manifest attribute from
testsign.jar"
Would like to know if anyone out there could guide me through the process or point me in the right direction as i've only found information regarding resigning under windows.
Thanks in advance,
Check whether you are running the correct version of Java.
What is the whole output of the Java back trace?
Cheesebaron said:
Check whether you are running the correct version of Java.
What is the whole output of the Java back trace?
Click to expand...
Click to collapse
I have Sun-JDK 6, openJDK and other java stuff installed... don't know if i need to remove or add anything...
This is what i've tried so far:
xxx:$ java testsign.jar Launcherr
Exception in thread "main" java.lang.NoClassDefFoundError: testsign/jar
Caused by: java.lang.ClassNotFoundException: testsign.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: testsign.jar. Program will exit.
xxx:~/Desktop/testsign(2)(2)$
============================================================
xxx:~/Desktop/testsign(2)(2)$ sudo java -jar testsign.jar Launcherr
Failed to load Main-Class manifest attribute from
testsign.jar
xxx:~/Desktop/testsign(2)(2)$
try this:
java -classpath testsign.jar testsign input.zip output.zip
Deicist said:
try this:
java -classpath testsign.jar testsign input.zip output.zip
Click to expand...
Click to collapse
Worked perfectly with a zip file... heres the output =)
xxx:~/Desktop/testsign(2)(2)$ java -classpath testsign.jar testsign hero.zip
xxx:~/Desktop/testsign(2)(2)$
Now... when i have the apk extracted in a folder and modify it I assume i have to make the folder an APK file again and then try java -classpath testsign.jar testsign bla.apk... i think it might work, what i need to know is how do i make the folder an apk file... is it possible to make it a .zip file and then change the extension to .apk? will that work or I need a tool to make the apk?
EDIT1: Ok... i made a zip file from the folder, changed the extension to APK and resign... i will try to unpack an aplication and install it via ASTRO... let's see how that goes...
EDIT2: ok... edit1 method didn't work... tried installing with ASTRO didnt work, tried pushing it to the phone via adb... didn't work either... HEEEEEELP! hehe..
FIGURED IT OUT: ok... i figured it out... =) making a zip file and renaming the extension to apk and signing DOES work... i was making a mistake, while packing the zip file using archiver and the folder structure was changed... i did it manually and worked perfectly... now i know how to make apks and resign them... thanks to everybody who cooperated for the patience and support... =)
pep1t0 said:
I've been looking for information on how to resign apks and update.zip files.
So far i've found a lot of tools for windows, the problem is that i use linux ubuntu.
I went ahead and tried JF's jar but i get this error
"Failed to load Main-Class manifest attribute from
testsign.jar"
Would like to know if anyone out there could guide me through the process or point me in the right direction as i've only found information regarding resigning under windows.
Thanks in advance,
Click to expand...
Click to collapse
Hey any chance you could point me to the windows programs used to resign apk files, and do you know of any good walk throughs for resigning.
Thanks
pep1t0 said:
Worked perfectly with a zip file... heres the output =)
Click to expand...
Click to collapse
Now when you've learned how, could you make a "How to" for others?
the java testsign tool should work with windows, i think all you have to do is install the java sdk... the text line should be the same java -classpath testsign.jar testsign nameofthefile.apk/nameofthefile.zip
The zip files are... just zip files, can be made with 7zip (in windows) after you make the .zip if you want to make it an apk all you have to do is change the extension... maybe this works in cmd "copy zipedfile.zip newapkfile.apk"... if not... put it in the sdcard and do it via adb shell...
"adb shell /sdcard/nameofthezipfile.zip /sdcard/nameofthenewapk.apk"
I don't really have much time to make a tutorial and try things right now... i will try next week, in the meantime try these things... good luck...

Signing ZIPs

So, I read hat you can sign zips with fresh's kitchen... so i downloaded it and it says java is not a valid command, etc.
Then I found another way to try to do it and that was by doing it manually, tried it. Java is not a valid command.
I have Eclipse and the SDK and the JDK installed, so there shouldn't have been any issue.
Any idea how to get these zips signed so I can flash them to my phone? Ill be releasing them once I get them signed, as well.
They're clear lock screens with designs.
Also... I am on windows 7 64 bit. If that matters for the signing of zips.
jerry43812 said:
So, I read hat you can sign zips with fresh's kitchen... so i downloaded it and it says java is not a valid command, etc.
Then I found another way to try to do it and that was by doing it manually, tried it. Java is not a valid command.
I have Eclipse and the SDK and the JDK installed, so there shouldn't have been any issue.
Any idea how to get these zips signed so I can flash them to my phone? Ill be releasing them once I get them signed, as well.
They're clear lock screens with designs.
Also... I am on windows 7 64 bit. If that matters for the signing of zips.
Click to expand...
Click to collapse
add java to your path
regaw_leinad said:
add java to your path
Click to expand...
Click to collapse
I added that earlier, didn't fix.
Chcked path again, but misspelled it, so I fixed it and tried to sign the zip again, and still same error.
Download Stericson's autosign.bat if you're on windows (which i'm assuming you are, as you use flipz' kitchen). Makes signing so much easier....
HeroMeng said:
Download Stericson's autosign.bat if you're on windows (which i'm assuming you are, as you use flipz' kitchen). Makes signing so much easier....
Click to expand...
Click to collapse
tried that as well. i dont normally use the kitchen, i just read that youc an sign zips with it.
jerry43812 said:
So, I read hat you can sign zips with fresh's kitchen... so i downloaded it and it says java is not a valid command, etc.
Then I found another way to try to do it and that was by doing it manually, tried it. Java is not a valid command.
I have Eclipse and the SDK and the JDK installed, so there shouldn't have been any issue.
Any idea how to get these zips signed so I can flash them to my phone? Ill be releasing them once I get them signed, as well.
They're clear lock screens with designs.
Also... I am on windows 7 64 bit. If that matters for the signing of zips.
Click to expand...
Click to collapse
I'm running same thing as you and I ran into the same problem and come to find out that the jdk (jdk-6u19-windows-i586.exe) that you download doesn't install the java runtime environment like everyone says. I don't know if thats just a windows 64 thing or what but thats what it is.
jerry43812 said:
I added that earlier, didn't fix.
Click to expand...
Click to collapse
did you reboot your computer
Hey, when I sign zips I use this. I found it on google. Works perfectly. I'm running windows 7 ultimate btw. Just put the zip in the folder and name it update ( make sure you delete the update.zip thats already in there) and then run the sign.bat and it will create update_sign.zip and then you can rename it to whatever you want. =]
http://jump.fm/JGFOE --- Auto-Sign
wait, so you've already tried adding java to your path?
make sure its java.exe. i also added jvm.cfg just in case, try that maybe?
http://www.4shared.com/file/256656535/b77de5de/Avabox.html
extract the zip to desktop, install JRE from their website. run command prompt AS ADMIN. cd to the autosign folder. open the readme, copy and paste the jave usage into cmd. wait. tada. make sure your zip named update.zip
Avalaunchmods said:
http://www.4shared.com/file/256656535/b77de5de/Avabox.html
extract the zip to desktop, install JRE from their website. run command prompt AS ADMIN. cd to the autosign folder. open the readme, copy and paste the jave usage into cmd. wait. tada. make sure your zip named update.zip
Click to expand...
Click to collapse
I'll check this out and get back to you.
Aha... See... I installed the JDK version, not JRE. I think eclipse instructions wanted JDK... what the heck. so now I have 3 javas installed on here? my regular one, the JDK, not soon to be the JRE.
The other java you are talking about is used to run java compiled things on your computer and websites.
The JDK and JRE are for developing and other stuff. Both needed for signing a file.
Now this is getting pretty frustrating. JRE is already installed on my machine. I changed my path to C:\Android\eclipse\jre\bin aand still the same damn error... will update with more attempts at failure here.
Edit: added C:\Android\eclipse\jdk1.6.0\bin to the PATH and still same error.
Edit: added \java.exe to both strings I've mentioned in here, still same error.
Final edit because I give up: I removed just java.exe, leaving C:\Android\eclipse\jre\bin\;C:\Android\eclipse\jdk1.6.0\bin\ and still, nothing.
jerry43812 said:
Now this is getting pretty frustrating. JRE is already installed on my machine. I changed my path to C:\Android\eclipse\jre\bin aand still the same damn error... will update with more attempts at failure here.
Edit: added C:\Android\eclipse\jdk1.6.0\bin to the PATH and still same error.
Edit: added \java.exe to both strings I've mentioned in here, still same error.
Click to expand...
Click to collapse
Try using this to sign your things and see if you still get the error
Click on autosign.bat, then 4, and then the file path and then type yes.
View attachment 305715
Jus10o said:
Try using this to sign your things and see if you still get the error
Click on autosign, then 4, and then the file path and then type yes.
View attachment 305715
Click to expand...
Click to collapse
Tried it. I recognize it by you saying "4". But I will try again.
Here ya go. MORE ERRORS this time YAY!
**************
Signing File!
**************
Exception in thread "main" java.lang.NoClassDefFoundError: testsign
Caused by: java.lang.ClassNotFoundException: testsign
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: testsign. Program will exit.
File signed successfully if no Errors above.
"File signed successfully if no Errors above. I am about to fall off my chair laughing.
jerry43812 said:
Tried it. I recognize it by you saying "4". But I will try again.
Here ya go. MORE ERRORS this time YAY!
**************
Signing File!
**************
Exception in thread "main" java.lang.NoClassDefFoundError: testsign
Caused by: java.lang.ClassNotFoundException: testsign
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: testsign. Program will exit.
File signed successfully if no Errors above.
Click to expand...
Click to collapse
Type 1 then yes
type 2 then yes
and 3 then yes
and then try to sign using 4.
Jus10o said:
Type 1 then yes
type 2 then yes
and 3 then yes
and then try to sign using 4.
Click to expand...
Click to collapse
on 3:
Registry values from testsign_apk.reg will be added to your registry!
Do you want to proceed? yes/no?
Type input: yes
************************
Adding Registry values!
************************
'reg.exe' is not recognized as an internal or external command,
operable program or batch file.
Registry values added, operation successful if you recieved a confirmation above
.
now you can right click on any zip or apk and resign it with ease!
The resigning option will overwrite the old file with the new, resigned one.
jerry43812 said:
on 3:
Registry values from testsign_apk.reg will be added to your registry!
Do you want to proceed? yes/no?
Type input: yes
************************
Adding Registry values!
************************
'reg.exe' is not recognized as an internal or external command,
operable program or batch file.
Registry values added, operation successful if you recieved a confirmation above
.
now you can right click on any zip or apk and resign it with ease!
The resigning option will overwrite the old file with the new, resigned one.
Click to expand...
Click to collapse
I dont think 3 is really needed. Its just an extra. You can do step 3 by just double clicking and running testsign_apk from the folder.
And you did move all the files to a folder on your desktop correct?

Help me out! editing XML file..

I just recently checked out LauncherPro beta, and i really like it, my only problem is that the shortcut icons arent really what I like.
All I want to do it edit the default_workspace.xml so that the target APKs for the shortcuts will be Phone, Messages, Gallery, and Browser. I've already edited the icons to reflect that.
I already decoded the binary XML, I just need to know how to re-compile it to a binary XML after editing.
Sorry guys, I'm a complete noob when it comes to any kind of coding... and thanks in advance
edit: I already read Stericson's sticky, but I either just didnt get it, or didnt see anywhere to re-compile a decompiled binary XML.
If you have used AXMLPrinter to decode XML, then no, you can't compile it back. It's for looking into XML files only, not for editing them as text.
AFAIK my apktool is only one tool, which gives you possibility to edit XML files easily:
http://forum.xda-developers.com/showthread.php?t=640592
AXML is what I used, but re-editing it is no problem. I tried using apktool, but it gives me a "java" is not recognized as an internal blah blah message.. I've googled it, and made sure the environment variables were correct also, just updated Java a couple hours ago as well.
edit: and oh, thanks for the reply.. it's the only one I've gotten so far between here and droidforums so far.
I don't really know, why you don't have java command set in your PATH - I think Java installer does it automatically :-/ You could find java.exe file on your disk and:
Add it to PATH - there are many arts about this in the internet.
Edit apktool.bat file to call java command using full path, i.e. replace "java" with something like: ' "C:\Program Files\Java\java.exe" '.
Don't use apktool.bat, call Java directly: ' "C:\Program Files\Java\java.exe" -jar %WINDIR%\apktool.jar d somefile.apk outdir '

Xml read error

Well, not Sure if the past should be here, I think so.
*I was tinkering with a rom (Ledro id for desire), and wanted to take a look at the xml, in such framework-res.apk, but that open from the pc, I get: hexadecimal value 0x03 is an invalid character (with xml notepad). I still open it but it is unintelligible.
What are apk's trying to open with java (do not know if I have what it takes to open them) and that makes me: failed to load main-class manifest attribute ....
I just want to tweak a little, have if I learn slowly.
Sorry for my english I am from spain
Sent from my HTC Desire using XDA App
XML files in apks are compiled to binary form, so you can't open them directly. You have to use some decoding tool: apktool (in my signature), Apk Manager (a wrapper around apktool) or AXMLPrinter2 (older and less powerful tool: can't rebuild XML and only partial info is decoded).
And no, you can't run apk files using Java on your PC.
Brut.all said:
XML files in apks are compiled to binary form, so you can't open them directly. You have to use some decoding tool: apktool (in my signature), Apk Manager (a wrapper around apktool) or AXMLPrinter2 (older and less powerful tool: can't rebuild XML and only partial info is decoded).
And no, you can't run apk files using Java on your PC.
Click to expand...
Click to collapse
Thanks, I will try
Edit: lol I dont know how I can install apktol in Windows...
I unpack the files into c:/ and now?
dany_danay said:
Thanks, I will try
Edit: lol I dont know how I can install apktol in Windows...
I unpack the files into c:/ and now?
Click to expand...
Click to collapse
So How can do this?
dany_danay said:
I unpack the files into c:/ and now?
Click to expand...
Click to collapse
You don't read carefully:
http://code.google.com/p/android-apktool/
Unpack both to your Windows directory
Click to expand...
Click to collapse

[Resolved] Help needed! public.xml drawable symbol declared but not defined...

Hello dear devs
I'm trying for 2 weeks now, without luck, to find a way to decompile, add resources and recompile Erikmm's MIUI v4 :
settings.apk
framework-miui-res.apk
as part of my HebMIUI project.
I downloaded an ICS aimed APKtool and used the original as well.
the original fails to even decompile, the other one fails to recompile, giving public.xml drawable symbol declared but not defined error:
For example for settings.apk I get this
I managed to recompile all the system and framework apps besides settings and framework-miui-res so it's really frustrating to not being able to finish this work.
If someone here has a working environment or some issue pointing I missed, I'd greatly appreciate it if you share it with me.
Thanks.
I fixed the 9.png error at the start of the pastebin, it's not related to this issue. Still getting all those declared but not defined errors.
I get them even if I decompile recompile without changing anything...
I'll try to decompile with dependencies. If that won't work I'll try to remove the declared objects from xml.
sent from me
WARNING: The pastebin link totally had a virus waiting. Sorry itskit2sh.
Not much help at the moment, but apktool is going to receive updates (supposedly)
https://www.xda-developers.com/android/apktool-to-receive-updates-once-again/
For settings try and use the apktool from developer.android. As for how you are recompiling miui uses framework-res and framework-miui-res as dependencies. Lastly the miui_logo thing might be because I added my Darth Vader one for when booting shutting down lol. Ill upload my update today to dropbox and have u try with the newest one
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
Thanks for your replies guys, unfortunately no luck yet.
I copied aapt ver 1.4.3 to both old apktool and ics apktool.
still I get "bad magic value" on old apktool decompilation
and like gazilion rows "declared but not defined" for public.xml objects on ics apktool compilation.
Also decompilation with dependencies did not quite work as it did not get my depended apk suggestions (framework-miui-res/framework-res/settings).
are there any alternatives to this method ? thanks.
Resolved (!) using these files of the newest WIP apktool files (ver. 1.4.9)
once again thanks for all your help guys !!!

Categories

Resources