Question regarding PhoneWindowManager.java - HTC Sensation

first of all, i am not sure whether should i ask this question so sorry if i posted at the wrong place.
I wish to modify my Search Button, as you can see here
and found out that i have to edit platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
but I have no idea where to find the file, can anyone of you tell me where to locate the file?
need to decompile apk using apktool? If yes, then which file? etc etc
reference : [HOWTO] Remap hardware button to ICS recent apps

Mr-YC said:
first of all, i am not sure whether should i ask this question so sorry if i posted at the wrong place.
I wish to modify my Search Button, as you can see here
and found out that i have to edit platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
but I have no idea where to find the file, can anyone of you tell me where to locate the file?
need to decompile apk using apktool? If yes, then which file? etc etc
reference : [HOWTO] Remap hardware button to ICS recent apps
Click to expand...
Click to collapse
The path looks like a source code file, and not an APK you can decompile to edit...
'platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java'
You'll need to download the Android source and edit the file. More information about downloading and compiling source can be found here:http://forum.xda-developers.com/showthread.php?t=1505006
The reference page has a link to the MOD that you can download and flash via recovery.

DennisBold said:
The path looks like a source code file, and not an APK you can decompile to edit...
'platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java'
You'll need to download the Android source and edit the file. More information about downloading and compiling source can be found here:http://forum.xda-developers.com/showthread.php?t=1505006
The reference page has a link to the MOD that you can download and flash via recovery.
Click to expand...
Click to collapse
Or he could use Virtuous Ten Studio to get the java source code from an apk or jar file (for this mod, the file should be android.policy.jar)

Jonny said:
Or he could use Virtuous Ten Studio to get the java source code from an apk or jar file (for this mod, the file should be android.policy.jar)
Click to expand...
Click to collapse
you way seems to be easier so i tried yours first. hope i did everything right.
i tried using Virtuous Ten Studio to edit system/framework/android.policy.jar by creating New Jar-Project and everything succeed
i got a long list of .smali but i don't know how to edit =(
mainly because i was expecting .java file... lol
really need some help here...
EDIT: found PhoneWindowManager.class but couldn't find APP_SWITCH in it

PhoneWindowsManager.class is indeed the correct file, however it is different for each ROM
reference page works ONLY for CM9.
from what i understand, android.policy.jar of ViperS is much more complicated as it combined with its own unique Venom Tweaks
so, thank you for your help and hope m0narx or shinzlon notice this thread and give me some hint as i realized "tweak_longpress_search" is missing from the file, and i am clueless as how to call and create new function in that file.
if anyone know please tell me the answer as well =)

Mr-YC said:
you way seems to be easier so i tried yours first. hope i did everything right.
i tried using Virtuous Ten Studio to edit system/framework/android.policy.jar by creating New Jar-Project and everything succeed
i got a long list of .smali but i don't know how to edit =(
mainly because i was expecting .java file... lol
really need some help here...
EDIT: found PhoneWindowManager.class but couldn't find APP_SWITCH in it
Click to expand...
Click to collapse
if you want the java source code I think you need to hunt around in the options, im pretty sure I saw something about getting java source code out of an apk/jar file

yes, PhoneWindowsManager.class is a product from ticking "Generate Java Code" and have to go through JavaSrc\com\android\internal\policy\impl to get to that
so i am pretty sure PhoneWindowsManager.class in ViperS rom is the same as PhoneWindowsManager.java in CM9 as it contain information on longpress behavior and etc
for example:
Code:
/*
static void access$300(PhoneWindowManager phonewindowmanager, long l)
{
int i = android.provider.Settings.System.getInt(phonewindowmanager.mContext.getContentResolver(), "tweaks_longpress_home", 0);
if (i != 0)
{
if (i != 1)
{
if (i == 2)
phonewindowmanager.startCustom(l);
} else
{
phonewindowmanager.takeScreenshotS(l);
}
} else
{
phonewindowmanager.startRecentTasks(l);
}
return;
}
*/
is the matched with the following attachment
but this segment of code is comment-ed out for don't know what reason, really need help from the dev team

Related

[TOOL] Automated Smali and BakSmali

Everytime I used smali or baksmali, I always had to go to the XDA post that described the correct usage...so I made simple batch files to speed up the process and figured I should share with the community.
Extract the .zip below, run the "smali.bat" or "baksmali.bat" batch files, and follow the instructions...they should be self explanatory.
This is obviously for Windows...don't ask for other versions, I'm not a programmer. These are the latest smali and baksmali versions (v1.2.6 released 12/23/2010) as well.
AutoSmali v1.0 | Download​
(Hope this post is in the right forum?)
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
xHausx said:
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
Click to expand...
Click to collapse
not sure what you mean?...this is just an automated script for decompiling/compiling the .dex files (usually within .jar files)
what exactly are looking to do with an .apk? sign it?
this is pretty cool ... thanks
Hey!
Thanks for this! Really helps alot!
But can you make it compatible with v1.2.7? http://code.google.com/p/smali/downloads/list
Thanks!
xHausx said:
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
Click to expand...
Click to collapse
hmmm...weird, i had the same issue , then i found the correct cobination of framework files for aptool, that now it builds as easy as one two three.
Did you makes sure you used the original meta-inf folder from the original apk, pm me if you ever need help.
Nice work. .:thumbs up:.
for this to work for the newer versions of smali/baksmali
just change .bat to .txt and edit the place where it says 'smali-1.2.x.jar' to the new version.
that should work.
i still dont know how the hell to do anything with a .smali file but i atleast know how to do that!
hit thanks if that helped
link down
schmittx said:
AutoSmali v1.0 | Download
Click to expand...
Click to collapse
dead link. try:
http://www.mediafire.com/?d5ruxexq15d1pje

[REQ]Longpress back button to kill app

Hello!
I am not new to these forums.. I am a frequent reader, but I am not much of a poster.
I have a request that I think will benefit alot of galaxy tab 10.1 users running the stock roms.
Would anyone be able to /interested in modding the android.policy.jar file PhoneWindowManager.smali file to enable longpress back to kill foreground app? like the function we get in CM and AOKP roms? There is no need to have a setting for it in system settings. Just an android.policy.jar we could flash if we want the function enabled..
I have found this thread http://forum.xda-developers.com/showthread.php?t=1969499 discussing and explaining how to do this.
I have tried to do this myself, but either it just won't work or I end up in a bootloop. I am new to editing .smali files and understanding their buildup.. So I am asking here to see if anyone is willing to take a look and help me out.
My guess is that I am not the only one who wants this in the stock rom, and I hope that someone is willing to do this to the benefit of not only me but everyone else running the stock ICS and JB roms missing this function.
I am running the "something" JB stock rom by smaw51 with the extended power menu. I will add a link to my android.policy.jar if anyone wants to take a look at it.. If not edit it, maybe explain what strings to change in the .smali file in order to get it working. I know we will probably need a custom .smali with the kill function aswell if the one in this thread won't work...
Download android.policy.jar
Kind regards
Michael
up for this =)
lampz said:
up for this =)
Click to expand...
Click to collapse
I have been in contact through PM's with tdunham... the author of this thread: http://forum.xda-developers.com/showthread.php?t=1971712 and he has agreed to take a look at our android.policy.jar
I will get back with whatever he comes up with
MichaelGroth said:
I have been in contact through PM's with tdunham... the author of this thread: http://forum.xda-developers.com/showthread.php?t=1971712 and he has agreed to take a look at our android.policy.jar
I will get back with whatever he comes up with
Click to expand...
Click to collapse
I finally got this working after numerous edits and tests, and with lots of help from Mirko ddd, tdunham and lyapota.
Does anyone want me to post a tutorial on how to do this?
Will require some modification to the android.policy.jar file.
Might require decompiling and getting a string from framework-res.apk values/public.xml
(Optional) in order to get a toast message saying "Application Killed." we will need to edit some strings in framework-res.apk values/strings.xml and recompiling framework-res.apk using APKTool or Virtuous Ten Studio. If we don't change this we still do get a toast, but it will then say "force app to close", wich (in my opinion) didn't look very stock.
Also, I have only tested this on JB, but it might be very similar for ICS.
Would really appreciate this function!
MichaelGroth said:
I finally got this working after numerous edits and tests, and with lots of help from Mirko ddd, tdunham and lyapota.
Does anyone want me to post a tutorial on how to do this?
Will require some modification to the android.policy.jar file.
Might require decompiling and getting a string from framework-res.apk values/public.xml
(Optional) in order to get a toast message saying "Application Killed." we will need to edit some strings in framework-res.apk values/strings.xml and recompiling framework-res.apk using APKTool or Virtuous Ten Studio. If we don't change this we still do get a toast, but it will then say "force app to close", wich (in my opinion) didn't look very stock.
Also, I have only tested this on JB, but it might be very similar for ICS.
Click to expand...
Click to collapse
Can u post your modded android.policy.jar file
txtmikhail said:
Can u post your modded android.policy.jar file
Click to expand...
Click to collapse
It might not work for your device.. Mine is for 4.1.1 [JB] 8010..
Tutorial is live..
Go here: http://forum.xda-developers.com/showthread.php?p=36102714

How to understand smali file

Can anybody please guide me how to read & understand android smali file.
I just decompiled an apk using Apktool which generates the smali file. This file is written in plain text but the language is not something similar to any other language. I need some guide to understand the app backend functionality. I'm just looking for some sort of Java codes in the backend.
Thanks in advance.
Sent from Nexus 4.
to_sukanta said:
Can anybody please guide me how to read & understand android smali file.
I just decompiled an apk using Apktool which generates the smali file. This file is written in plain text but the language is not something similar to any other language. I need some guide to understand the app backend functionality. I'm just looking for some sort of Java codes in the backend.
Thanks in advance.
Sent from Nexus 4.
Click to expand...
Click to collapse
Hi, .. you could have a look at this guide. It covers most of the stuff required to reverse-engineer an android application. But, be warned.. don't do any stuff that infringes copyrights of someone ... !!

[MOD][ATT][4.4] Remove AT&T & add battery % on status bar

I did this for myself, and thought I would share. I don't like the AT&T branding on the status bar, and I wanted to enable the 'built in' battery percent. I like to learn, so rather than use xposed framework, I built a flashable zip to change the status bar via SystemUI.apk.
WARNING: I AM NOT RESPONSIBLE IF YOU MESS UP YOUR PHONE
Prerequisite:
ATT Moto X running stock official 4.4 kitkat (140.44.5)
safestrap TWRP (for those who don't have an unlocked bootloader, thanks Hashcode)
backup all of your data in case something goes horribly wrong
Instructions:
using your choice of file manager, backup /system/priv-app/SystemUI.apk and /system/priv-app/SystemUI.odex
Download or copy flashable zip (below) to sdcard
Reboot to safestrap TWRP recovery
flash zip file
It is not my intent to entertain every "can you change the color" or "can you do this for my provider", etc.
Below are the 'broad strokes' of how I did this in linux: (Each of these steps below require various skills, and my intent is not to do too much 'hand holding.')
first deodex SystemUI.apk & .odex (I used android kitchen with latest smali/baksmali and api level 19, thanks dsixda)
--
DUMP AND DECOMPILE SYSTEMUI:
make sure java 7 is installed
download/extract apktool_2.0.0b7.jar (thanks connor tumbleson)
move /system/framework/framework-res.apk to apktool directory
move deodexed SystemUI.apk (from above) to apktool directory
install framework: java -jar apktool_2.0.0b7.jar if framework-res.apk
dump SystemUI.apk: java -jar apktool_2.0.0b7.jar d SystemUI.apk
--
REMOVE AT&T FROM STATUS BAR:
edit this file: SystemUI/res/layout/status_bar.xml
search for the line with this info: android:id="@id/onsText"
change the end to: android:maxLength="0"
--
CHANGE BATTERY TO INCLUDE PERCENT
Follow this post: http://forum.xda-developers.com/showthread.php?t=2533912&highlight=bold (thanks, homeslice976)
--
RECOMPILE AND COPY EXISTING SIGNATURE:
recompile: java -jar apktool_2.0.0b7.jar b SystemUI -o SystemUI.apk
move META-INF structure and AndroidManifest.xml from inside the original SystemUI.apk to the new SystemUI.apk (I used 7z)
--
CREATE FLASHABLE ZIP WITH NEW SYSTEMUI
you can use mine as a template and just replace my SystemUI.apk under /system/priv-app
TWRP/CWM flashable zip: http://www.androidfilehost.com/?fid=23212708291682729
(Deletes /system/priv-app/SystemUI.odex and replaces /system/priv-app/SystemUI.apk with my deodexed and modified version.)
Do you know how to make an Xposed module that does the same thing? I'm only interested in getting rid of the carrier label
natezire71 said:
Do you know how to make an Xposed module that does the same thing? I'm only interested in getting rid of the carrier label
Click to expand...
Click to collapse
MotoXposed does, but it doesn't work on KitKat
mandrsn1 said:
MotoXposed does, but it doesn't work on KitKat
Click to expand...
Click to collapse
I know. He told me he was going to make MotoXposed open source. I'm just waiting.
Thanks so much for this
natezire71 said:
Do you know how to make an Xposed module that does the same thing? I'm only interested in getting rid of the carrier label
Click to expand...
Click to collapse
I've put a simple Xposed module together that removes the carrier text.
Code:
package com.penree.android.xposed.hidecarriermotox;
import android.widget.TextView;
import de.robv.android.xposed.IXposedHookInitPackageResources;
import de.robv.android.xposed.XposedBridge;
import de.robv.android.xposed.callbacks.XC_InitPackageResources;
import de.robv.android.xposed.callbacks.XC_LayoutInflated;
/**
* Created by drudge on 12/6/13.
*/
public class RemoveCarrier implements IXposedHookInitPackageResources {
private static final String PACKAGE_NAME = "com.android.systemui";
private static final String LAYOUT_NAME = "status_bar";
private static final String TEXT_VIEW_NAME = "onsText";
@Override
public void handleInitPackageResources(XC_InitPackageResources.InitPackageResourcesParam resparam) throws Throwable {
if (!resparam.packageName.equals(PACKAGE_NAME))
return;
XposedBridge.log("Attempting to hook status bar layout");
resparam.res.hookLayout(PACKAGE_NAME, "layout", LAYOUT_NAME, new XC_LayoutInflated() {
@Override
public void handleLayoutInflated(LayoutInflatedParam liparam) throws Throwable {
TextView statusBarOnsText = (TextView) liparam.view.findViewById(
liparam.res.getIdentifier(TEXT_VIEW_NAME, "id", PACKAGE_NAME));
if (statusBarOnsText != null) {
XposedBridge.log("Setting max width to zero");
statusBarOnsText.setMaxWidth(0);
} else {
XposedBridge.log("Couldn't find onsText text view");
}
}
});
}
}
npenree said:
I've put a simple Xposed module together that removes the carrier text.
Code:
package com.penree.android.xposed.hidecarriermotox;
import android.widget.TextView;
import de.robv.android.xposed.IXposedHookInitPackageResources;
import de.robv.android.xposed.XposedBridge;
import de.robv.android.xposed.callbacks.XC_InitPackageResources;
import de.robv.android.xposed.callbacks.XC_LayoutInflated;
/**
* Created by drudge on 12/6/13.
*/
public class RemoveCarrier implements IXposedHookInitPackageResources {
private static final String PACKAGE_NAME = "com.android.systemui";
private static final String LAYOUT_NAME = "status_bar";
private static final String TEXT_VIEW_NAME = "onsText";
@Override
public void handleInitPackageResources(XC_InitPackageResources.InitPackageResourcesParam resparam) throws Throwable {
if (!resparam.packageName.equals(PACKAGE_NAME))
return;
XposedBridge.log("Attempting to hook status bar layout");
resparam.res.hookLayout(PACKAGE_NAME, "layout", LAYOUT_NAME, new XC_LayoutInflated() {
@Override
public void handleLayoutInflated(LayoutInflatedParam liparam) throws Throwable {
TextView statusBarOnsText = (TextView) liparam.view.findViewById(
liparam.res.getIdentifier(TEXT_VIEW_NAME, "id", PACKAGE_NAME));
if (statusBarOnsText != null) {
XposedBridge.log("Setting max width to zero");
statusBarOnsText.setMaxWidth(0);
} else {
XposedBridge.log("Couldn't find onsText text view");
}
}
});
}
}
Click to expand...
Click to collapse
No way--dood. This is awesome. I'll give this a whirl. Thank you!
npenree said:
I've put a simple Xposed module together that removes the carrier text.
Click to expand...
Click to collapse
Is anybody else getting a 404 error for the download?? That is really odd.
mandrsn1 said:
Is anybody else getting a 404 error for the download?? That is really odd.
Click to expand...
Click to collapse
Yeah I'm getting a 404 as well. This was my first post so not sure if that is related? Trying again.
Thank you dude. I'll be giving this a go for my Vzw Dev edition.
npenree said:
Yeah I'm getting a 404 as well. This was my first post so not sure if that is related? Trying again.
Click to expand...
Click to collapse
Really odd. I have no idea. I am getting 404s on both...
mandrsn1 said:
Is anybody else getting a 404 error for the download?? That is really odd.
Click to expand...
Click to collapse
npenree said:
Yeah I'm getting a 404 as well. This was my first post so not sure if that is related? Trying again.
Click to expand...
Click to collapse
mandrsn1 said:
Really odd. I have no idea. I am getting 404s on both...
Click to expand...
Click to collapse
I gotcha guys.
Dev told me to post it for you guys because he wasn't allowed to post links (new member).
HideCarrierMotoXposed Module
Download it here
Thank you OP. I did this on my Verizon Dev edition and it looks great.
Edit: I was looking at your updater_script and correct me if I'm wrong but shouldn't
"ro.product.device" look for "ghost" instead of "xt1058"?
Sent from my XT1060 using Tapatalk
chaoslimits said:
Thank you OP. I did this on my Verizon Dev edition and it looks great.
Edit: I was looking at your updater_script and correct me if I'm wrong but shouldn't
"ro.product.device" look for "ghost" instead of "xt1058"?
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I remember that change. When I ran the script for the first time, it errored out saying something like: "This is for ghost devices, this is a: xt-1058". I didn't troubleshoot it, I just changed the line to "xt-1058" and it started working on my phone.
Ctrl-Freak said:
I remember that change. When I ran the script for the first time, it errored out saying something like: "This is for ghost devices, this is a: xt-1058". I didn't troubleshoot it, I just changed the line to "xt-1058" and it started working on my phone.
Click to expand...
Click to collapse
Could you send me the software you used to decompile the apks?
natezire71 said:
Could you send me the software you used to decompile the apks?
Click to expand...
Click to collapse
Apktool 2.0.0 b7 or b8 decompiles the APKs. That's what I used in recreating this mod on Vzw model.
Sent from my XT1060 using Tapatalk
chaoslimits said:
Apktool 2.0.0 b7 or b8 decompiles the APKs. That's what I used in recreating this mod on Vzw model.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I know--you sent it to me. Now I can't get apktool to work at all.
natezire71 said:
I know--you sent it to me. Now I can't get apktool to work at all.
Click to expand...
Click to collapse
Still having the installation issues? Maybe try pulling the updated aapt from the jar? Sorry I'm a windows user only.
Sent from my XT1060 using Tapatalk
chaoslimits said:
Still having the installation issues? Maybe try pulling the updated aapt from the jar? Sorry I'm a windows user only.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I know. That's why I was asking da OP. I appreciate your help. I've already put in the newest aapt too.
---------- Post added at 02:24 AM ---------- Previous post was at 02:21 AM ----------
chaoslimits said:
Still having the installation issues? Maybe try pulling the updated aapt from the jar? Sorry I'm a windows user only.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
Could you do me a solid and send me the decompiled SystemUI.apk and a decompiled framework-res.apk? I needed it for Gravitybox's Dev.
natezire71 said:
Could you do me a solid and send me the decompiled SystemUI.apk and a decompiled framework-res.apk? I needed it for Gravitybox's Dev.
Click to expand...
Click to collapse
You got me working this early in the morning, a thanks click would be nice :crying:
http://www.twitch.tv/bifuteki
Edit: Too early: http://www.mediafire.com/download/4kor7n7xzkxkof6/Dumped+Apks.zip

Didact74's Multi-Tool v2.0.3

Didact74's Multi-Tool v2.0​
Hello everyone, I have been away from the scene for a little while due to an unGodly work schedule. Since work is slowing just a tad, I figured I would ease back in by trying to finalize my MULTI-Tool that I started a while back. I know there have been a few others who have dropped similar programs recently but I couldn't bare to just throw this thing away, so here it is.
A few things this program will do.....
Pull Files
Push Files
Deodex Files
Odex Files
Pull BootClassPath Info
Pull and set Framework files
Pull Partition Info
Pull Partition Images
Reboot Functions
Logcat Functions
And several variations of each of the above.
Right now its in a BETA stage because I am sure some issues will surface due to the fact that I cant test everything this can do myself without geting side tracked. Give it a whirl, post some feedback, and offer up some ideas that I can add to it if you want. Its a simple Batch File, no fancy GUI or anything yet. Maybe down the road....
A few things to keep in mind.....
This tool is meant for intermediate level developers who are comfortable
reading, writing, and making basic changes to thier phone. There is a lot
of stuff in this program and I have not been able to fully test all the
different possible scenarios. I ask that you have a working backup of your
phone before using this program. I highly doubt you will need it, but I
have to CMA!
Additionally, I ask you read each mini-tutorial at the start of each option
screen. It will give you some direction on how to proceed. If you come
across any issues or problems please let me know and I will do my best to
resolve them.
I am not a programmer! I know just enough JAVA, C++, and batch
script to scrape by. I am absolutley certain there are more efficient ways
to write the code in this program. Feel free to do so if you like.
ENJOY!
XDA:DevDB Information
Didact74's Multi-Tool, Tool/Utility for the Verizon Samsung Galaxy S 5
Contributors
Didact74
Version Information
Status: Beta
Created 2014-07-08
Last Updated 2014-07-26
Change Log​
Initial Release
v2.0.0
Pull Files
Push Files
Deodex Files
Odex Files
Pull BootClassPath Info
Pull and set Framework files
Pull Partition Info
Pull Partition Images
Reboot Functions
Logcat Functions
v2.0.1
Added APKTool v2.0
Added baksmali v2.0.3
Added smali v2.0.2
Fixed Compiling Batch errors associated with older APKTool
v2.0.2
Fixed some diectory errors
Fixed some Odexing errors
v2.0.3
Home screen is streamlined
Added the option to deodex entire Odexed Rom from the Deodex menu
Added more efficient Deodex code
Didact74 said:
I see a few downloaders....lol. Hopefully a few will get some use out of it. I got a few PMs asking if they can use it for other devices. I know it works for the S5 and the Xoom, other than that I dont know. Its pretty universal I would assume, but let me know what you find out. Dont be worried about posting up your questions here.....it will help others if you do.
Click to expand...
Click to collapse
Where is the download link?
Misterxtc said:
Where is the download link?
Click to expand...
Click to collapse
See screenshot....
Didact74 said:
See screenshot....
Click to expand...
Click to collapse
Thanks, that looks great. I'll definitely give it a try. I was searching for another multi-tool this morning and it looks like I found a gem here.
Didact74 said:
Hello everyone, I have been away from the scene for a little while due to an unGodly work schedule.
Click to expand...
Click to collapse
welcome back didact!! it has been forever since i have seen you in these parts! did u get yourself an s5?
BeansTown106 said:
welcome back didact!! it has been forever since i have seen you in these parts! did u get yourself an s5?
Click to expand...
Click to collapse
Thanks Beans! Yes, work was nice enough to give me a choice of Android or Apple.....so here i am .
I am hoping to get into some modding in the coming weeks.
Recompiling doesn't work for me. I copied the decompiled framework-res.apk and the deodexed file to the load/framework folder and I get a file not found error. I also tried systemui and it said it compiled but there was no compiled file to be found.
Misterxtc said:
Recompiling doesn't work for me. I copied the decompiled framework-res.apk and the deodexed file to the load/framework folder and I get a file not found error. I also tried systemui and it said it compiled but there was no compiled file to be found.
Click to expand...
Click to collapse
Okay.....i will check in the morning and try to replicate the error. Thank you.
Didact74 said:
Okay.....i will check in the morning and try to replicate the error. Thank you.
Click to expand...
Click to collapse
Ok, I'm running Windows 8.1 if that matters.
I cant test Win8, I am running Win 7 x64 so I will need other feedback for that one.
I fixed an issue with the Batch picking out an .apk in the Framework folder so that should resolve part that issue. Originally I set all framwork folders up to recognize .jar files only, not remembering there are two .apks (framework-res.apk and twframework-res.apk) that reside in the framework folder as well. I have fixed that issue. The other part of that problem is I was not able to recompile framework-res with my version of apktool. All the other files I tried decompile and recompile with no issues. Not sure if there is a known issue recompiling some files in KitKat or not. If there are I will need to find out what they are and build them in to the program.
I was able to decompile and recompile SystemUI with no issues so I am having an issue duplicating that error. When recompiling and decompiling there are several options to choose from. Single files, entire directory, certain folders, etc. When you are performing these functions, which option are you selecting in the menu?
Have you tried any other features?
Didact74 said:
The other part of that problem is I was not able to recompile framework-res with my version of apktool. All the other files I tried decompile and recompile with no issues. Not sure if there is a known issue recompiling some files in KitKat or not. If there are I will need to find out what they are and build them in to the program.
Click to expand...
Click to collapse
What version of apktool did you use? I know that I was not able to use 1.5.2 on my kitkat (S3) framework-res and had to switch to a 2.0+ version to get it to work
CNexus said:
What version of apktool did you use? I know that I was not able to use 1.5.2 on my kitkat (S3) framework-res and had to switch to a 2.0+ version to get it to work
Click to expand...
Click to collapse
I am indeed using 1.5.2. This should be a simple fix then. I will locate 2.0 and add it to the setup.
Thank you sir!
Okay v2.0.1 is up with updated APKTool.
Compiling should be error free now....hopefully
Awesome work
v2.0.2 is up.
I had to post a download link in the changelog thread because the DEV Database is having an issue with uploads right now for some reason. See post #2 for the download link. I will change it back when the site is fixed.
v2.0.3 is now ready.
The downloads tab is now working again so I will be removing the hyperlink from page 2. Just download from the tab at the top of the first post again.
Updating changelog now.....
The legend is back! Nice to see you around again buddy
sbreen94 said:
The legend is back! Nice to see you around again buddy
Click to expand...
Click to collapse
LOL, the legend of never having time to do anything maybe.
Thanks though!
Didact74 said:
LOL, the legend of never having time to do anything maybe.
Thanks though!
Click to expand...
Click to collapse
Haha I feel your pain on that one. I would like an extension on the number of hours in the day

Categories

Resources