yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Mini] anybuddy:
Hi i have the following problem:

1. I must clarify my commands with File-extensions ('apktool.jar' instead of 'apktool'), otherwise i get an DNS-Server Error message. Besides this i have to write 'java -jar' before, otherwise the process/log is not shown.

So i use the following commands:

[B]Install Framework:[/B]
java -jar apktool.jar if goDE.apk

[B]Decempiling:[/B]
java -jar apktool.jar d goDEnew.apk

[B]Compiling:[/B]
java -jar apktool.jar b g goDEnewSIGNED.apk

[B]Signature:[/B]
java -jar signapk.jar certificate.pem key.pk8 “goDE.apk” “goDEsigned.apk”

I decompile the app and all is fine...

C:\Users\d\Downloads\theme\apktools-windows>"C:\Program Files\Java\jre7\bin\
java.exe" -jar apktool.jar d g.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\d\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

C:\Users\d\Downloads\theme\apktools-windows>

...but by compiling i get lots of thise errors:

.
.
.
aapt: warning: string 'writesms_add_video' has no default translation in C:\User
s\d\Downloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'writesms_flow_count' has no default translation in C:\Use
rs\d\Downloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'writesms_record_audio' has no default translation in C:\U
sers\d\Downloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'writesms_record_video' has no default translation in C:\U
sers\d\Downloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'writesms_send_button' has no default translation in C:\Us
ers\d\Downloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'writesms_tack_picture' has no default translation in C:\U
sers\d\Downloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'y_m_d_h_m' has no default translation in C:\Users\d\D
ownloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'you_change_name' has no default translation in C:\Users\g
oeny\Downloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'you_invite_someone' has no default translation in C:\User
s\d\Downloads\theme\apktools-windows\g\res; found: de
aapt: warning: string 'you_kickout_someone' has no default translation in C:\Use
rs\d\Downloads\theme\apktools-windows\g\res; found: de
I: Building apk file...

If i try to install the app it does not work.

Other apps (e.g. Theme for GOsms or CM, ES Task Manager and a few other) I could easily (de)compile and install again, but not these. Does anyone know why?
[Samsung Galaxy Mini] kllnn8:
you are having aapt strings error bcoz your edited apk dont have resources.arsc

try this download 7zip then extract the original apk your editing

copy the resources.arsc to edited apk folder

and recompile it
[Samsung Galaxy Mini] anybuddy:
Thanks, now the Compiling is fine, but when i try to install the app i get the the error 'There was a problem parsing the package.'?!

A faulty download can I exclude.
[Samsung Galaxy Mini] kllnn8:
parsing error means that in your folder there are two folders w/ same folder name for example you have two folders named META-INF
[Samsung Galaxy Mini] anybuddy:
Nope, no duplicate Folders/Files/Names, but similar ('values' and 'values-de') and it seems, that both folders are not get recompiled in the app (they are in the apk but not compiled), do you know why?

And one more question: Why is the resources.arsc file not automatically included when recompiling,

in other cases like the ES TaskManager it does. Didn't i installed the Framework specially for that?
[Samsung Galaxy Mini] Kenzi4everuchiha:
Problem installing framework

This msg always comes whe I try to install framework
[Samsung Galaxy Mini] pickandwhammy:
Awesome tutorial! Used it flawlessly to port a CM theme to XThemeEngine :)
[Samsung Galaxy Mini] arpitkh96:
Your path is not correct.type like e:/framework-res.apk or in the drive or folder in which it is kept
[Samsung Galaxy Mini] :
Deleted
[Samsung Galaxy Mini] Clasher_RS:
Greetings Sir/Ma'am,

Please help me; I have been moded successfully as per your direction but after installation Moded .apk on my mobile - error message appear "Unfortunately .....(game name) has stop" :(

Please help me guys ......
[Samsung Galaxy Mini] kryptonify:
I got an error saying "There is a problem parsing the package". i cant install the modified app. How to fix this?
[Samsung Galaxy Mini] Kishan14:
compile prob :(

it decomiples properly but even without any edit it fails to compile.. the prob solves when i replace AndroidManifest.xml and resources.arsc.. pls help [MENTION=4677294]A_U[/MENTION]

m getting the following error:
[Samsung Galaxy Mini] AdamPrince2:
No resources found that match the given name

I was able to successfully decompile edit and recompile one program. My goal being to customize the name and icon of an android application. However, when I try to do the same thing with another android program the program won't recompile. As a test I tried just decompiling it and then recompiling it without any edits. I get the following error message. Shown in the photo.
[Samsung Galaxy Mini] force_close:
just a name of the folder of the application you've decompiled that is located in the apktool folder

btw, I dont think when you run apktool d bla.apk will install something on drive C, except you run apktool if framework-res.apk(this one is to install framework)
[Samsung Galaxy Mini] arpitkh96:
Why you guys are using apktool.there are lot more easier tools like apkmultitool .search on Google.
[Samsung Galaxy Mini] A_U:
depends on personal choice..some feel that such tools (vts, multitool or apk studio etc) are too bloated with so many features, the main function for which they downloaded is gone or they end up messing up with settings, or some have limited bandwidth to download such big tools which a simple 12mb package will fulfill their need. :)
[Samsung Galaxy Mini] force_close:
Apktool if is to install framework.

Install framework of the rom first using apktool if framework-res.apk then run apktool d settings.apk
[Samsung Galaxy Mini] BuckyRocks:
Hi, thanks for your tutorial on how to use APKTool on a Mac. I managed to use the app to decompile and compile an .apk file but right now I'm stuck because there is one step missing from the "Mac tutorial", which refers to the Signing process.

I'm not sure step 5 from your Windows tutorial works as well on a Mac. I get the following message from my Terminal window:

"Unable to access jarfile signapk.jar"

Any idea on how to proceed? Thanks!
[Samsung Galaxy Mini] marsui:
How well does this decompiler work? I tried decompiling and recompiling an app, and it broken the application, without any modifications. The app does load, but certain functions don't work.
[Samsung Galaxy Mini] carlitosbase:
Csn u post a zip for that cause i try like 7 different ones on google and wont opened

---------- Post added at 07:36 PM ---------- Previous post was at 07:34 PM ----------

What its the first step right after u get the 3 apk files together..plopen command cmd and what i have to type on it.... where i have to put the apktool files? For example i call my file zorra...wish one its the riggt way to put it on the command
[Samsung Galaxy Mini] arpitkh96:
apkmultitool.com
[Samsung Galaxy Mini] kllnn8:
still parsing error what should i do?
[Samsung Galaxy Mini] Kishan14:
Can u please elaborate your error.. Any screenshot?
[Samsung Galaxy Mini] ThePiss&Chur:
Info [GUIDE][HOW-TO] Decompile and Compile apps using Apktool in 5 Simple Steps

:good: thank's sir for your guide

thanks to you now I can use APKTOOL

sorry for my bad english
[Samsung Galaxy Mini] ast00:
My god I'm never going to able to modify this one ****in apk... I tried it with multiple tools, all of them can decompile, but all of them give error while recompiling. Error parsing XML: mismatched tag.

Whatever that means...
[Samsung Galaxy Mini] arpitkh96:
Full log could be better
[Samsung Galaxy Mini] ast00:
I solved it sice then. There was a mistake in the manifest file where a new intent started before the previous one was closed. But how did the app developer compile it? Cuz I didn't modify that file, so it wasn't me who made the error.

Tapatalk-kal küldve az én GT-S5570-el
[Samsung Galaxy Mini] SmiLeToLife:
hi, when i try to recompile apk file , always i get some error. any help for solutions will be really appreciated. if not i cat keep on my custom rom :D

if you cannot see the pic, try that: http://i.hizliresim.com/epym1J.png
[Samsung Galaxy Mini] lacoursiere18:
Look like your missing a framework.. did you install all the proper ones for your device?
[Samsung Galaxy Mini] SmiLeToLife:
i've installed the framework from rom which is developed for my device.The device is MT6589 chipset and i've already installed mediatek-res too.

when i decompile settings.apk , it works properly. i have noticed if delete '' smali folder '' from settings folder and try to compile it, apktool works properly again. i put that settings.apk to system/app folder and installed rom again but this time device stuck at bootloop.

btw i am trying to add turkish language to settings.apk. because the rom which i've ported does not have turkish language. i guess only way of adding new language to rom is that.
[Samsung Galaxy Mini] superuser.pm:
help me i have issue when i compliling

i'm installed java and framework-res.apk

i can decompli file .apk but can't recompli
[Samsung Galaxy Mini] SmiLeToLife:
I have faced that problem before. I could decompile the apk but couldnt compile it. But now both process works fine.

just reinstall Java : http://www.oracle.com/technetwork/java/javase/downloads/index.html

use Apk Changer Beta 7 Tool by furniel : http://xdaforums.com/showthread.php?t=1189971

open Apk Changer Beta, follow the requirements of the tool. and let the tool to install your framework. just type '' 0 '' to install framework when the tool ask for it. that's it. just go to apk changer folder and put your apk in '' place-files-here-for-modding '' and now go to tool decompile it and compile it ;) works for me really fine. good luck
[Samsung Galaxy Mini] ahhamado:
hi there,

I try to decompile radio3.apk of xzu, following up to http://xdaforums.com/showthread.php?t=2640394,, step by step..

but can't find any folder call smali. I don't know whats happen? somebody help please.. :/
[Samsung Galaxy Mini] lacoursiere18:
What folders do you have? Just a res? If so the apk is not getting baksmalied.. So when you decompile it are you seeing any errors? If so post them please..
[Samsung Galaxy Mini] An.I.Am:
Thanks :good:
[Samsung Galaxy Mini] ahhamado:
I don't see any error though. I'm noob anyway, so.. :rolleyes:

Spoiler content hidden.
[Samsung Galaxy Mini] SmiLeToLife:
Just extract the apk using 7zip, there should be missing files

General Mobile Discovery cihazımdan Tapatalk kullanılarak gönderildi
[Samsung Galaxy Mini] ahhamado:
try to extract with 7zip, then I get this.. mm..
[Samsung Galaxy Mini] SmiLeToLife:
could you upload the apk file? i will try to decompile it for you.
[Samsung Galaxy Mini] arpitkh96:
The problem is(I think) that the app he is decompiling is odexed
[Samsung Galaxy Mini] SmiLeToLife:
it may be odexed. if it is so, I think you can find any radio.apk that works on your device and you can decompile it and make changes that you want.
[Samsung Galaxy Mini] ahhamado:
you wanna try it, sure.. :good:

so, we need to deodex it first?
[Samsung Galaxy Mini] SmiLeToLife:
sorry my fault .. i need your framework-res.apk too
[Samsung Galaxy Mini] ahhamado:
hi mate, sorry to late. here the framework..

http://www.4shared.com/zip/JhaKE2gGce/framework__xzu_.html?
[Samsung Galaxy Mini] SmiLeToLife:
sorry for the late answer. i got the same files when try to decompile your apk ... as other friend said your apk may be odexed.
[Samsung Galaxy Mini] oracle01642:
I can't get in to the folder using command prompt. I type in C:Users\hp\Desktop\apktool (the folder with the bach, jar, and application files are in a folder called 'apktool' on my desktop), but when I hit enter, it says 'is not recognised as an internal or external command, operable program or bach file'. Any idea what is wrong?
[Samsung Galaxy Mini] uzell:
I dont have problem using this method..But do i need to enter both code here

java -jar signapk.jar certificate.pem key.pk8 path-of-the-folder-contaning-the-apk .apk path-of-the-new-signed-apk .apk

java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk
[Samsung Galaxy Mini] SXUsr:
You only enter it once when signing.
[Samsung Galaxy Mini] Lodaserves:
Yeah this is true just once it first signing in.
[Samsung Galaxy Mini] uzell:
Thanks..but the signing key...Can we get other signing key? Actually I dont now what key.pk8 means...Can we get pk7, pk6 for example lol...Or actually we need just 1 that key for all apps that we signing to it?
[Samsung Galaxy Mini] SXUsr:
You can create your own, there is a link in my guide (see signature) to help you do that.

Me niether, not sure, and test keys should work for most apps except those that you're going to upload to the Play store.
[Samsung Galaxy Mini] .::AIMAN::.:
Manifest edit

So if I edit the manifest.xml I need to sign the apk with the cert n keys that you provided ...n what if i'm not a user of galaxy mini .. will that cert n keys work for any other device.. I'm using Micromax A87 n recently edited my systemui.apk's and settings.apk' manifest & need some help on this topic...
[Samsung Galaxy Mini] Mach5:
HELP ANYBODY?
[Samsung Galaxy Mini] fozzie:
certificate.pem
[Samsung Galaxy Mini] Kimmi1:
I downloaded this app for my google glasses:

https://github.com/justindriggers/Glass-Launcher

But when I try to make a apk file I get this error:

apktool d Launcher (Launcher is the folder name)

I have also tried all different kind on variations - apktool b -f -d Launcher Launcher.apk

Nothing seem to work,
[Samsung Galaxy Mini] Biakjosh:
Thankyou for your guid. I follow all the steps and its fine but when i try to sign the apk i got problem. it says that java-jar not recognised by internal or external command. help please....
[Samsung Galaxy Mini] Yash Mehta:
Help

When I navigate it to folder in command promt it gets closed. Solution ?

:confused:
[Samsung Galaxy Mini] stergema:
Bb

Hi.

Thank you.
[Samsung Galaxy Mini] crownvn:
please help me to clear this :

when i decompile it always got this error

"Can't find framework resources for package of id: 2. You must install proper fra

mework files, see project website for more info.."

I dont know why?
[Samsung Galaxy Mini] erikalin:
Really? Well, I'd say you should probably install the proper framework files. ;) Just ask google or someone who works with your device what the framework files are for you. It will be something like framework-res.apk, SystemUI.apk, twframework-res.apk or framework-res-htc.apk or whatever else it is for your device.
[Samsung Galaxy Mini] TimoVer:
Getting "Problem parsing this package"

Hi everyone! First post on xda forums, so here goes!

I'm trying to add a custom sound to the app "Timely" (an alarm clock app) so I can wake up using my own sound. These are the steps I followed:

1) I installed the frameworks from framework-res.apk which I extracted from my own device

2) I decompile the timely apk

3) I go into the res/raw folder, which contains all the ogg files for alarm sounds. I have tried adding my own sound (also an ogg file) and also renaming my own sound to one of the sounds already in the res/raw folder and then overwriting that sound (eg. if the res/raw folder already contains an "awakening.ogg" file, I would rename my own file to awakening.ogg and overwrite the first one).

4) I compile the apk (no errors)

5) I open the original and compiled apk in 7-zip and copy META-INF and AndroidManifest.xml from the original to the modded apk (dragging and dropping from one 7-zip window to another)

6) I sign the apk

But when I want to install the signed/compiled modded apk on my device, I get a "Problem parsing this package error"...

Does anybody see what I am doing wrong? Maybe the ogg files can't be more than a certain size? Is using 7-zip a bad method for copying META-INF and AndroidManifest.xml?
[Samsung Galaxy Mini] erikalin:
Welcome to xda I'm not awake yet, but you would definitely need to replace an existing sound file with the same type and exact name in this case, which you mentioned, so make sure of that. Then just be sure to uninstall your current version of this app, and install your modified and signed version. Should not have to do that drag and drop business for a non system app. Hope this helps.
[Samsung Galaxy Mini] TimoVer:
Thanks for the quick response!

I actually didn't need to decompile/recompile the APK, simply opening it in WinRAR, dragging/dropping the sound and signing the APK was enough :D!

I've created a guide if anyone is interested: http://xdaforums.com/android/general/guide-timely-using-custom-sounds-t2856352
[Samsung Galaxy Mini] lacoursiere18:
Well you need to install a secondary framework.. what phone are you working with? Touchwiz?
[Samsung Galaxy Mini] crownvn:
My phone HTC one M7,

I checked , my divice have framework-res.apk and framework-res-htc.apk( dont have twframework-res.apk) , systemUI.apk.

put on framework-res.apk and framework-res-htc.apk in Folder name framework-res
[Samsung Galaxy Mini] erikalin:
Since you're getting errors about not having all the framework files installed, you obviously don't have all the framework files installed.

So... you should ask Google or anyone who works with your device what the framework files are, so that you can install them and use them.

I can tell you what I installed, and it works for me and my device. I don't know if they're the same on yours. Consider this just as example.

apktool if framework-res.apk (then hit enter)

apktool if com.htc.resources.apk (then hit enter)

apktool if SystemUI.apk (then hit enter)

Once I have those 3 installed I can decompile and compile system apps just fine, on my device.

TLDR: Ask Google or devs on your device forum what your framework files are, then install them. ;) Cheers.
[Samsung Galaxy Mini] crownvn:
the message appear after code [apktool if SystemUI.apk (then hit enter)]
[Samsung Galaxy Mini] facu_vs92:
Thanks I need it
[Samsung Galaxy Mini] singh_sumit:
Thank you so much for this!!

Helped me a lot!

I'm a newbie at this stuff and this guide just explains everything!

I got a perfectly good APK on the first try!

Thanks So much!!

::good::good::good::good:
[Samsung Galaxy Mini] hack_er4:
I am compiling the apk after some editing.

No dist folder created inside original app folder created by apktool

Is there something I am missing.
[Samsung Galaxy Mini] ANKIT RAWAT:
gettings this error when recompiling FRAMEWORK-RES.APK

Regards
[Samsung Galaxy Mini] crashnova:
Getting this same error whe trying to recompile LGSystemUI.apk. i am using the lg g3 on tmo.
[Samsung Galaxy Mini] Venkatesh:
The command should be

apktool b framework-res

There should not be any extensions while recompiling apps.
[Samsung Galaxy Mini] ANKIT RAWAT:
I Know Commands and used same commands I Am Not noob And got problem solved by re-installing JAVA again
[Samsung Galaxy Mini] Venkatesh:
I never said that you're a noob. I am trying to answer the one above my post. And i saw mistake in your post, i just explained him. Btw, you posted wrong command, that's why it says unable locate error(check ur log).
[Samsung Galaxy Mini] crashnova:
Im not using the extesion tho. Just saying thats the frameworks apk im trying to recompile.
[Samsung Galaxy Mini] Venkatesh:
The log you quoted shows path not exists error(check caused by log), that means it is unable to locate framework-res directory.

Make sure you decompiled properly and has sufficient permissions.
[Samsung Galaxy Mini] crashnova:
So should i be installing and decompiling the lgsystemui and framework-res?

First time doing these things.

Later i will post a pic of the error(im guessing) when i decompile the lgsystemui. Thanks btw.
[Samsung Galaxy Mini] Venkatesh:
You should install proper framework files of your rom. If you're using new device(recent devices) , you're better of using new apktool and inspect system/framework for framework files. I don't know about lg roms, but you must install * .apk files from system/framework and then start modding.
[Sony Xperia P, U, Sola, Go] ibrhmozn:
hi my xperia p device is locked

when i m opening my device sony and xperia trailer showing and than constantly repeats .

sony xperia text shown in the opening and looks after the open and close

please help me and thanks you for helps ...

what is key xperia p 's download mode please tell me...
[Sony Xperia P, U, Sola, Go] doctor_droid:
I guess its a bootloop

There is NO download mode in Xperias

U should try repairing it via pc companion

Or if that doesn't works

Try to flash ics ftf
[Sony Xperia Miro, Tipo (Dual), J, E] hastalafiesta:
Please help me, I'm currently using stock ics 11.0.A.4.22 with kernel vengeance and I can't flash this rom http://xdaforums.com/showthread.php?t=2213271 ...cwm says me installation aborted.

I tried to install it on stock with root and cwm but nope...I dowloaded and tried to flash it again but i always have the "installation aborted" in cwm
[Sony Xperia Miro, Tipo (Dual), J, E] jhonny1525:
Toggle signature verification off

Then u might get to flash it
[Sony Xperia Miro, Tipo (Dual), J, E] hastalafiesta:
where? In cwm??
[Nexus S Q&A, Help & Troubleshooting] terryeah:
I've been using the latest JB slim bean ROM with the latest Air Kernel but since I found it too laggy for me, I decided to go back to Ginger Bread not knowing this .zip ROM file which after doing some researches I thought would just wipe all the data on my phone and loads the GB system not only wiped the whole data on my device but also wiped Recovery, Root right and baseband network. Anyway, I flashed the ROM and my phone successfully loaded GB system (didn't flash any gapps and Kernel). After setting up Google account and everything, the phone would tell me to update to new system, Android 4.0.4 - ICS so I updated to the ICS.

Now, here is my problem - power button of the device stopped working since a few weeks ago that I set the volume buttons to screen off but now the volume button doesn't work as well. I mean, the volume button works when turning on/down the volume when I listen to music, however, I wanted to flash this .zip SamsungGodic font file so I got into the recovery mode via terminal but obviously because the GB ROM file wiped Recovery, I couldn't get into recovery file. So, I checked if bootloader worked and bootloader was alive saying 'fastboot mode' but the volume button didn't work at all - couldn't do anything.

And btw, this is the major problem - when I receive a call from others, it gives me an error message "Unfortunately, the process com.android.phone has stopped." and when I hit the Okay button, it would just end the call.

Is there any solution to fix this problem, guys? This is really urgent for me as I need to answer job interview offer calls :(

Please help me with this and thanks in advance!
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jdgreat4:
I got my 16 gb wifi note a few days back. I had the option of choosing between the asus infinity and the note and I chose the note. I'm a student so I mainly use the note for education and gaming.

So here are my question:

1.)Should I have bought the asus tab instead as it has a better display or does it not make that much of a difference.

2.) In how many years do you think the note will be outdated. i.e. Not be able to run any of the high end games?

3.) Is the Note or the Infinity better for gaming?

Please telI me I made the right choice.

Thanks.