Decompiling apk - AT&T Galaxy Note 3 Q&A, Help & Troubleshooting

Every time i try to recompile or decompile i get this error it looks like a java error but i have tried reinstalling in and on other computers so i dont know what it is if anybody could help that would be great.

You need to install the framework-res.apk and tw-framework.apk both of them in the framework folder. Google how to install framework for apktool.
Sent from my SM-N900A

RErick said:
You need to install the framework-res.apk and tw-framework.apk both of them in the framework folder. Google how to install framework for apktool.
Sent from my SM-N900A
Click to expand...
Click to collapse
Will try and report back thanks for the reply

Musgrove99 said:
Will try and report back thanks for the reply
Click to expand...
Click to collapse
i am still getting the same error. I thought it might be the rom so i downloaded a new stock rom and a new systemui.apk and try to decompile it and and i am i getting the same error but i decompiles it i dont know if it is missing something or not.

Musgrove99 said:
i am still getting the same error. I thought it might be the rom so i downloaded a new stock rom and a new systemui.apk and try to decompile it and and i am i getting the same error but i decompiles it i dont know if it is missing something or not.
Click to expand...
Click to collapse
Tell me the steps you're doing

It's because your using an old version of apktool. Don't use the automated programs they suck. Do it manually with aptool.jar just Google how to use it properly. Should have no issues. And make sure java is installed properly.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app

drakeymcmb said:
It's because your using an old version of apktool. Don't use the automated programs they suck. Do it manually with aptool.jar just Google how to use it properly. Should have no issues. And make sure java is installed properly.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Not necessarily. I use an outdated apktool only has api up to 4.3 works fine. You can clearly see that its not getting framework info from the screenshot he took

RErick said:
Not necessarily. I use an outdated apktool only has api up to 4.3 works fine. You can clearly see that its not getting framework info from the screenshot he took
Click to expand...
Click to collapse
I have tried apktool.jar it does same thing.

Musgrove99 said:
I have tried apktool.jar it does same thing.
Click to expand...
Click to collapse
Yeah I know. It doesn't matter. What are your exact steps?

RErick said:
Yeah I know. It doesn't matter. What are your exact steps?
Click to expand...
Click to collapse
I download java files and installed I got the systemui.apk and put in in the put files and I put twframework.apk in framework I opened .bat file and tried to decompile it and I get that error but I get a systemui decompile but I think it is missing something

Yep. You have to install both frameworks. Framework-res.apk AND tw-framework.apk. They also have to be installed. See this website
http://bit.ly/LLKRja look for a YouTube video or a guide and THEN try decompiling
Edit: the second hit that comes up there will help you a lot
Sent from my SM-N900A

RErick said:
Yep. You have to install both frameworks. Framework-res.apk AND tw-framework.apk. They also have to be installed. See this website
http://bit.ly/LLKRja look for a YouTube video or a guide and THEN try decompiling
Edit: the second hit that comes up there will help you a lot
Sent from my SM-N900A
Click to expand...
Click to collapse
Will try this afternoon and report back thanks

I did the command for the framework and it installed the framework but i am getting the same result.

Did you put the java path in the correct environmental path? for your apk tool?

tankxx said:
Did you put the java path in the correct environmental path? for your apk tool?
Click to expand...
Click to collapse
I did.

It is only when i try to do systeyui.apk i get a error

Related

Help with Pushing apps

Ok so I am trying to get friend stream to work in the new fresh rom. I got the apk from damages rom along with the widget. In cmd I successfully push the apps /system/app/ after typing in adb remount. However after I reboot the app is not there. How do I get this to work? Also was wondering how to port a system app from a darchlegend rom to work on any other rom. Any advice is welcome.
-------------------------------------
Sent via the XDA Tapatalk App
Wont work, period. It needs an .odex for both the widget and the normal .apk for it to work in the latest release.
Wont work, period. It needs an .odex for both the widget and the normal .apk for it to work in the latest release.
Click to expand...
Click to collapse
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompiling?
-------------------------------------
Sent via the XDA Tapatalk App
rejectedkid said:
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompiling?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
If you want to learn, you tell me where you think it goes...
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompil
Click to expand...
Click to collapse
If you want to learn, you tell me where you think it goes...
Click to expand...
Click to collapse
I suppose I will search the forums. Was just being lazy.
-------------------------------------
Sent via the XDA Tapatalk App
I was kind of hoping TitaniumBackup would give me this one...
I can't find the odex...
But I read from the other Hero forum that Friendstream may require an update package.

decompiling systemUI.apk?

I'm trying to decompile the systemUI.apk to get into the xml files, but I'm getting errors from both APKtool and APK Manager. Is there a special trick to getting system files to decomp?
Try this
bigrushdog said:
Try this
Click to expand...
Click to collapse
Noob alert: What do I do with those? Just put them in the folder with everything else?
arrtoodeetoo said:
Noob alert: What do I do with those? Just put them in the folder with everything else?
Click to expand...
Click to collapse
It's a custom apktool patched for honeycomb. Use the .jar file with dependencies just just you would with apktool. It currently will not recompile though due to the decompile causing some anomalies. BigRushDog is working on a fix for that.
I actually got a build that works from someone else.
XOOM'd from the XDA app.
Quick tip. When you solve your own problem, you may want to share the solution with others
^^^this
Sent from my Xoom using XDA Premium App

edit & sign ur apk "application not install problem" (for newbi)

hi,guys.. i know all of you wanna create or mod an android apps and wanna use it or share.
i think newb like me already tried to change the image files from res folder of apk but the problem is edited apk files just dont install,it always say application not installed,the problem is the apk isn't signed,you have to sign it.. most of newb dont know how to sign apk. so here is an android app "ZIP SIGNER" it can sign your apk file. in this app just input your edited apk and chose output location and press Sign,and your apk will be signed. and you will be able to install your edited apk...... so try it.
here is the link www.4shared.com/android/rIOfv0YR/zip_signer.html
press the THANK button is my post was helpfull
Thank you for the application
dr_crx said:
Thank you for the application
Click to expand...
Click to collapse
Welcome
Thanks after testing..
Sent from my GT-S5360 using xda premium
Is there another site I can download from?
Sent from my HTC Desire HD using Tapatalk 2
mushtafa said:
Is there another site I can download from?
Sent from my HTC Desire HD using Tapatalk 2
Click to expand...
Click to collapse
there u go dropbox link http://db.tt/aYHqo4OY
But we can edit system apps.
And no need sign it..
Signing requires only for 3rd party applications.
Sent from my GT-S5360 using xda premium
jerryn70 said:
But we can edit system apps.
And no need sign it..
Signing requires only for 3rd party applications.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yeah and this only used only for edit 3rd party app...
hmahadi98 said:
hi,guys.. i know all of you wanna create or mod an android apps and wanna use it or share.
i think newb like me already tried to change the image files from res folder of apk but the problem is edited apk files just dont install,it always say application not installed,the problem is the apk isn't signed,you have to sign it.. most of newb dont know how to sign apk. so here is an android app "ZIP SIGNER" it can sign your apk file. in this app just input your edited apk and chose output location and press Sign,and your apk will be signed. and you will be able to install your edited apk...... so try it.
here is the link www.4shared.com/android/rIOfv0YR/zip_signer.html
press the THANK button is my post was helpfull
Click to expand...
Click to collapse
Can you please explain in detail. how to sign by using what???
GLADS said:
Can you please explain in detail. how to sign by using what???
Click to expand...
Click to collapse
I Will tell you.
1) do you know how to change application icons and backgrounds. (if no reply me i Will tell you.)
2)after editing the icons,backgrounds when we try to install the app it shows app not installed.
3)so before installing the app open the signer and browse the app that you have edited.
4) click sign.
5)after signing the edited apk the signer Will popup signing completed.
Then go to my files you Will see your signed apk.
If you signed opera.apk
The you Will see opera.apk and opera_signed.apk.
Install opera_signed.apk.
The app Will install successfully..
Hit thanks if i helped you!
jerryn70 said:
I Will tell you.
1) do you know how to change application icons and backgrounds. (if no reply me i Will tell you.)
2)after editing the icons,backgrounds when we try to install the app it shows app not installed.
3)so before installing the app open the signer and browse the app that you have edited.
4) click sign.
5)after signing the edited apk the signer Will popup signing completed.
Then go to my files you Will see your signed apk.
If you signed opera.apk
The you Will see opera.apk and opera_signed.apk.
Install opera_signed.apk.
The app Will install successfully..
Hit thanks if i helped you!
Click to expand...
Click to collapse
Okay How to change icon and background?
By the way is this signing process important for creating your own mod?
Extract the application using 7zip and change the icons in the res folder.
After changing the icons right click the application .apk - open archive
And drag the modified res to it and click ok if it ask to replace.
Then copy app to phone and sign it.
HIT THANKS IF I HELPED YOU!
jerryn70 said:
Extract the application using 7zip and change the icons in the res folder.
After changing the icons right click the application .apk - open archive
And drag the modified res to it and click ok if it ask to replace.
Then copy app to phone and sign it.
HIT THANKS IF I HELPED YOU!
Click to expand...
Click to collapse
Yes, very helpful!
Now I can sign apps with new icon
Thanks so much!
I dont know how to thank you. You saved my life
thank dude
thank,,it is so simple ,,
Yes it is
m.h.mahadi said:
Yes it is
Click to expand...
Click to collapse
Not working for handcent SMS, didnt try any other..
Whats wrong ?
Working great here! Thank You!!!
great!
nice app.so now i can edit 3rd party app and sign it using this.thanks man!i tried editing application name but after editing using apktool it says "application not installed" even i already copied the META-INF folder in my edited apk.but using this app,it did install.hehe.
Apk Modding
Nice Work..:good:

Help. Modding systemUI.

I want the center clock on my rom but I'm having trouble decompiling it. It says apktool cannot oper .jar files. I tried 7 zip and when I open statusbar.xml many unknown words came out. Can anyone help me please. Framework-res.apk and SystemUI.apk is below. Thanks in advance.
Download: https://dl.dropbox.com/s/9pn2zt0hyww2pr8/framework_and_systemUI.zip?dl=1
Sent from my GT-S5570 using xda premium
You only need to decompile systemui for that... here's link to the guide which explains everything in that matter... if you fail using this one, I have bad news for you... http://forum.xda-developers.com/showthread.php?t=1361715
yackovsky said:
You only need to decompile systemui for that... here's link to the guide which explains everything in that matter... if you fail using this one, I have bad news for you... http://forum.xda-developers.com/showthread.php?t=1361715
Click to expand...
Click to collapse
How can I do it if I am having trouble decompiling systemUI
RayQ1223 said:
How can I do it if I am having trouble decompiling systemUI
Click to expand...
Click to collapse
Read the thread I gave you, when I didn't know anything I wasn't asking others to do things for me, I was reading and learning how to do it myself. Now, do some reading and help yourself out!
I agree
Sent from my GT-S5570 using xda app-developers app
Ok. I follow everything there and I found the problem. But after pushing systemui and rebooted I cant see my status bar. It says status bar has force closed. Help me
RayQ1223 said:
Ok. I follow everything there and I found the problem. But after pushing systemui and rebooted I cant see my status bar. It says status bar has force closed. Help me
Click to expand...
Click to collapse
You probably messed something up in status_bar.xml , do it again carefully on clean systemui. Just follow that guide

[MOD] QuickMemo and Memo for CM 10.1

I've grown attached to these proprietary LG apps, so I de-odexed, resigned with CM platform keys, etc. so I can continue using them on CyanogenMod.
Hope it's useful for someone else.
Do this first
Copy this to /system/etc/permissions/com.lge.app.floating.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.lge.app.floating"
file="/system/framework/com.lge.app.floating.res.apk"/>
</permissions>
Put com.lge.app.floating.res.apk in /system/framework/
Reboot.
For Memo
You can just install Memobin.apk like a normal apk.
For QuickMemo
You need to copy QMemobin.apk to /system/app/
You need to overwrite /system/framework/android.policy.jar with the one attached.
Old Information Below. DISREGARD
In order for QuickMemo to work properly, you need another app to launch QuickMemo like this:
Code:
sendBroadcast(new Intent("com.lge.QuickClip.action.START_QUICKCLIP"));
If you just add the QuickMemo activity to Apex or Nova launcher, it will look like it works, but it will only show your scribbling with a black background instead of the screenshot.
Same if you use startActivity() instead of sendBroadcast().
I spent a whole afternoon figuring this out.
I am going to look at hooking that up to the usual Vol+ + Vol- hotkeys somehow. Hopefully will only take a couple of days.
arararagi said:
I've grown attached to these proprietary LG apps, so I de-odexed, resigned with CM platform keys, etc. so I can continue using them on CyanogenMod.
Hope it's useful for someone else.
Copy this to /system/etc/permissions/com.lge.app.floating.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.lge.app.floating"
file="/system/framework/com.lge.app.floating.res.apk"/>
</permissions>
Put com.lge.app.floating.res.apk in /system/framework/
For Memo, you can just install Memobin.apk like a normal apk.
For QuickMemo, you need to copy QMemobin.apk to /system/app/
In order for QuickMemo to work properly, you need another app to launch QuickMemo like this:
Code:
sendBroadcast(new Intent("com.lge.QuickClip.action.START_QUICKCLIP"));
If you just add the QuickMemo activity to Apex or Nova launcher, it will look like it works, but it will only show your scribbling with a black background instead of the screenshot.
Same if you use startActivity() instead of sendBroadcast().
I spent a whole afternoon figuring this out.
I am going to look at hooking that up to the usual Vol+ + Vol- hotkeys somehow. Hopefully will only take a couple of days.
Click to expand...
Click to collapse
I love you.
Sent from my LG-P880 using xda app-developers app
I install Memobin.apk , Unsuccessful
- - .oh .....................
Hansey said:
I install Memobin.apk , Unsuccessful
- - .oh .....................
Click to expand...
Click to collapse
If you are on CM and if you get parse error, move apk to data/media and install from there. It works for me, I think is the problem in permissions.
Hansey said:
I install Memobin.apk , Unsuccessful
- - .oh .....................
Click to expand...
Click to collapse
Do what LGaljo said, or see the Official CyanogenMod thread for a fix for permissions or use adb install.
Thanx arararagi,
I will test this app.
And if you have the time and opportunety can you please also make a CM version of the dual view LG calendar?
arararagi said:
Do what LGaljo said, or see the Official CyanogenMod thread for a fix for permissions or use adb install.
Click to expand...
Click to collapse
I use adb install , Unsuccessful
memo,
X app not installed
Hansey said:
I use adb install , Unsuccessful
memo,
X app not installed
Click to expand...
Click to collapse
Can you copy and paste the whole error message?
Hansey said:
I use adb install , Unsuccessful
memo,
X app not installed
Click to expand...
Click to collapse
Use terminal. If you want to use adb you must use adb shell command.
Can't install the required apk, tried all methods, I can't seem to install it on nightly 4/20
Sent from my LG-P880 using xda app-developers app
can you do something like that but fr LG FM Radio APP?
juanacevedo said:
Can't install the required apk, tried all methods, I can't seem to install it on nightly 4/20
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Did you install the framework xml + apk first? Are you able to install apk from other places? What is the error message when you do adb install?
arararagi said:
Did you install the framework xml + apk first? Are you able to install apk from other places? What is the error message when you do adb install?
Click to expand...
Click to collapse
I already set the xml and pushed QMemobin apk to system/app. I tried installing the apk memobin through device but I get a failed install and when I tried installing via adb I get 'device offline' error. I can't install apks from other places either because of the CM bug.
Sent from my LG-P880 using xda app-developers app
juanacevedo said:
I already set the xml and pushed QMemobin apk to system/app. I tried installing the apk memobin through device but I get a failed install and when I tried installing via adb I get 'device offline' error. I can't install apks from other places either because of the CM bug.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Device offline is because of new adb security features in 4.2.
You need the new version of adb from the Android SDK Tools: http://developer.android.com/sdk/index.html
You only need to select and install the platform tools from the SDK Manager to get the latest adb.
arararagi said:
Device offline is because of new adb security features in 4.2.
You need the new version of adb from the Android SDK Tools: http://developer.android.com/sdk/index.html
You only need to select and install the platform tools from the SDK Manager to get the latest adb.
Click to expand...
Click to collapse
Downloaded the new sdk but now i get this error.
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Ok, nevermind
Got it to install finally, I just had to reboot and then try it again and it finally worked. Thanks!
Sent from my LG-P880 using xda app-developers app
juanacevedo said:
Ok, nevermind
Got it to install finally, I just had to reboot and then try it again and it finally worked. Thanks!
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Thanks for testing. I'll add the reboot instruction to the main post.
juanacevedo said:
I already set the xml and pushed QMemobin apk to system/app. I tried installing the apk memobin through device but I get a failed install and when I tried installing via adb I get 'device offline' error. I can't install apks from other places either because of the CM bug.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
+1
donkanmcklaus said:
can you do something like that but fr LG FM Radio APP?
Click to expand...
Click to collapse
I'll at it after I get the hotkeys for QuickMemo working.
Can you port the Optimus G Lockscreen? Which also has been ported to O4X's stock.
That's one feature I've grown to love from the Stock

Categories

Resources