General :: Modify With APKTool App - Block In Dalvik
Jan 31, 2012
my friends mods and give me an app that he had blocked only for my imei code and date control..i have modify with apk tool the app (the condition control where the app check imei and date) but when i resign the app and install it, when i launch it crash.How i can remove these blocks?
View 1 Replies
Jan 14, 2014
I tried to decompile the Gmail.apk with Apktool, but it said: can't decode attr value, value=0x00004001. And after that some more errors.
I tried it with and without framework install first, and I got the latest version of Apktool. Still nothing works, although I can decompile other apps.
View 6 Replies
View Related
May 6, 2012
I have made a CM7 theme and I'm unable to compile it. I have investigated it a little and found out that if I decompile a theme and then compile it back without ANY change, it gives the following error:
Code:
chris@ubuntu:~/Desktop$ apktool b xres
W: Could not find sources
I: Checking whether resources has changed..[code]....
View 9 Replies
View Related
Apr 12, 2013
My ROM for the Note 2 is a TW base (people want the S-Pen functions). And they like the AOSP feel so i decided to try and make a ROM that is AOSP themed. Well i have the launcher and a few AOSP themed apps such as the messaging app.
The flashers were very satisfied with my work so far. But they wanted an AOSP themed status bar. Meaning some AOSP battery images wifi and so on. I decided just just replace the EXACT images. I used a cm10 ROM to get the pngs. I also did use the newest Apktool to do it. I did all the framework installation. I decompiled both and started transfering. Here is what i did. I went to the drawable-xhdpi folder in both ROMs. They had pretty much identical png names. But the icons were different (one being the blue theme) so i took the blue icons (battery and wifi) and transfered them to my rom. I made sure that only the pngs with the same names were transfered. so there wasnt any issue compiling.
Next i compiled the APK file.Then i used my backup systemui.apk file to transfer the META-INF folder to the new one using 7-zip.Then i went and signed it and used dsixda's android kitchen to zipalign it. Then after all that i pulled that apk from the zipaligned folder and put it on my phone's sd card. I have the root explorer app. I move it to my /system/app folder. It moved successfully. Then i reboot and when it comes back up i dont have a status bar. And my wallpaper is black for a little while and then goes back to the feather thing.
I have tried signing and not signing. Zipaligning and not zipaligning.I am really wanting the AOSP themed icons in the status bar.
View 9 Replies
View Related
May 2, 2014
I have been playing with apktool to learn how apps are made. Decompiled following the guide from this forum.
However I can't find what I'm looking for in the apps. For example, it's easy to edit the drawable folders of the apps and change the images.
I took some apps that gather feeds from news sites and I tried to find where are the feeds URLs coded or embedded inside the apps files, and could not find any info at all. No URLs at all. I opened the XMLs, and other files inside res, lib or smali folders, opened a lot of the files with Notepad++ and I can't find any information about it, or any place where the app connects to the website.
Is it possible to access that info when we decompile with apktool?
I also watched a lot of videos in YouTube, on how to edit apps with apktool, and all of them explain how to change the images, but nothing else.
Is it only possible to edit the theme/design of an app, when we decompile with apktool? Or can we go further and change something else?
View 2 Replies
View Related
Sep 16, 2009
1. I have a c lib which will send & receive multicast package, if I lauch it in native ap, everything is OK, but if lauched through jni ,so it run in dalvik env, it can not receive multicast, i think is may be disabled by dalvik, is there any permission can enable this feature?
2. In this lib i will make some callback of function in dalvik class. according to tranditional method which can run under JDK1.5 & 1.6 as follow: (I make it under source code env not NDK)
In some initialization method save jvm pointer
CODE:...........
it seems AttachCurrentThread not failed but env not correct.
View 4 Replies
View Related
Jan 31, 2013
Tried it, i put aapt,apktool and apktool.jar in /system/bin...
But when typing apktool it says "no such file or directory"
How can i make it work?
View 4 Replies
View Related
Jul 21, 2012
Correct ApkTool for ICS and Jellybean for Linux/Mac?
I can't compile using the one from the website as I get compiling errors
View 6 Replies
View Related
Nov 1, 2013
how to decompile system apps with apktool for android....
View 2 Replies
View Related
May 18, 2013
I'm interested in an app to decompile apps within android. Something like ninjamorph would be great however ninjamorph seems to do the equivalent of extracting an apk instead of leaving an editable app with readable xml files. What is the likelihood of something like this happening? What is preventing it from happening?
View 2 Replies
View Related
May 17, 2012
I don't want to use APK Multi-Tools or APK_Manager or whatever. I want to know exactly what those tools are doing in order to recompile the system apk while keeping the original signature.
What I initially did...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
But obviously that's unsigned. I need to sign it, but I want to use the original signature, which I'm guessing is the META-INF stuff, right? So I attempted this...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
7za x -o"%~dpnx1-signature" "%~dpnx1.apk" META-INF -r
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
7za a -tzip "%~dpnx1.apk" "%~dpnx1-signature/*" -mx9
You'll notice I now use 7-Zip to pull out META-INF from the original APK and then insert it back into the recompiled one afterwards.
The only other thing I can think of would be to go with my first method, but then use 7-zip to pull out the compiled files from the unsigned apk and insert them into the signed apk. I haven't tried that yet, but it will be the next one I go with. Every time this fails, though, I have to do a nandroid restore.
For those interested, after running "apktool b" (to build/compile), ignore the output zip. Instead go into the source directory and there is now a build directory. In that is an apk directory. Simply add your changed files to the original untouched APK (if you modified any XML files, then replace resources.arsc; if you added anything to smali, then replace classes.dex; if you added any XML files, then you need to include those as well; for me, i copied resources.arsc, classes.dex, and one new XML file). I used the following command:
Code:
zip -9 ..SystemUI.apk reslayoutstatus_bar.xml classes.dex resources.arsc
I use zip instead of 7za for cosmetic reasons. You can also use "7za a -tzip etc..." if you want.
View 1 Replies
View Related
Feb 16, 2012
I'm trying desperately to edit some files inside SystemUI.apk and framework-res.apk but I'm having some troubles...
I wanted to post in the specific thread of the program : [URL] but I'm not allowed to, because it's my first post here.
First I used only apktool, I managed to decompile my 2 files with no problems, I replaced a few *.png files and tried to recompile it but I'm getting errors... (I only manage to recompile the files if I don't edit a thing)
Then I tried APK Multi Tool, I achieved to decompile my 2 files (with the option 9 in the program), but I can't recompile them after editing my files. So I decided to make a test, I tried to decompile and recompile (I hit 9 then 11 in the choice case) them WITHOUT changing a thing and I get errors anyway. If I use the choice 1 (only extract the apk), do my editing and then zip the project (with the choice 3), directories are wrong inside the new *.apk, I get "projectsSystemUI.apk(res or smali, etc...)" so the *.apk result is not usable
Here is the log file when I try to recompile WITHOUT changes :
Code:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
[Code]....
View 9 Replies
View Related
Jan 23, 2013
I want to change gmail conversation item color with apktool but i cant find a way.
View 1 Replies
View Related
Apr 9, 2010
This question has been asked(and answered) many times about dynamically generating and loading java bytecodes at runtime into a running Dalvik VM, but is there any way to load dex files/bytecodes into an app at runtime?
View 2 Replies
View Related
Jun 19, 2012
I was flashing CM9 from CM7 on my Motorola Defy, botched it up intially due to a slip of my finger which led to me to Clear the cache first. But then I restarted the entire process by Clearing Data -> Installing -> Flashing Kernel and so on...
But when I tried to clear the Dalvik Cache, the phone didn't delete it. It didn't give me a message that it wiped the cache, but it didn't say otherwise either. This led me to believe that the cache just didn't exist anymore.
As a result, I'm unable to install apps - Says there is no memory and I need to make more. Also, everytime the phone comes on is treated as the first time. It takes me through the whole process of Setting up an account and everything. This has rendered my phone obsolete.
View 8 Replies
View Related
Apr 9, 2012
I was just flashing a new ROM for my gio, and made sure that i did a factory reset, wiped cache partition and wipe dalvik cache. but when i went to wipe the dalvik, CWM froze for a bit, then showed the yes/no part for like half a second, then kicked me back to the main menu. It does this every time. What to do? or should i just reflash it?
View 2 Replies
View Related
May 6, 2013
What is Davik Cache and what is normal Cache?
Are they the same thing or 2 different cache that must be wiped when flashing roms?
View 4 Replies
View Related
Apr 22, 2014
My mom has an Asus TF300T running JB 4.2.1. She tried to root and flash OmniROM by herself and borked it somehow. Unfortunately, she didn't do any backup...
She entered the fastboot screen and there she selected wipe. Then she flashed openrecovery-twrp-2.6.3.0-tf300tg-JB.blob using fastboot.
It's operational, the OS loads up fine and she can use it, install apps etc.
I can get to the fastboot screen and from there to the TWRP no problem, but TWRP can't mount anything besides system. No dalvik partition, no data partition, not even the SD or external SD.Naturally, I can't flash another rom...
Tried executing "fix permissions" from the TWRP menu, it didn't work.
Downloaded the latest official Asus blob file TF300T-US_epad-10_6_1_27_5-UpdateLauncher.zip and flashed it using fastboot, hoping it will restore the missing partitions but it didn't make any difference.
Also tried CWM - same issue.
View 3 Replies
View Related
May 15, 2012
I am wondering if it is possible to limit the size of the dalvik-cache. I am looking for an alternative to putting it on the sdcard. Maybe I could create a partition on the internal storage for the cache?
View 1 Replies
View Related
Apr 3, 2012
how to dalvik-cache to sd (only) on a rooted stock rom?
View 2 Replies
View Related
Apr 18, 2012
how can i move Dalvik cache on SD card or on my partition on SD for apps? I heard for a2sd but also heard that this app isn't comptabile for my phone.
View 2 Replies
View Related
Sep 3, 2013
I would like to ask whether there is an app to modify apks on your phone or not I'm asking because I don't get to use the computer that much.
View 1 Replies
View Related
Jan 17, 2013
How to modify .xml file which editor on mobile and pc work for that
View 4 Replies
View Related
Feb 28, 2014
I tried to modify this keyboard .. I already modified what i want except one thing > Row numbers in arabic language
It look like that
And i want it like That
I Searched a lot in the xml files and found this one and i think it is the file i should modify but i don't know how ?
HTML Code:
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.zl.inputmethod.latin">
<Key latin:moreKeys="!text/more_keys_for_symbols_1" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_1" latin:keyLabel="!text/keylabel_for_symbols_1" />
<Key latin:moreKeys="!text/more_keys_for_symbols_2" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_2" latin:keyLabel="!text/keylabel_for_symbols_2" />
<Key latin:moreKeys="!text/more_keys_for_symbols_3"
[code]....
I want to know what does this text mean ( !text/keylabel_for_symbols_1 )
which file i should modify ?
View 1 Replies
View Related
Apr 13, 2012
How can I move dalvik-cache and data/data to sd card or sd ext2?
HTC Explorer A310e
View 9 Replies
View Related
Apr 19, 2012
How to modify boot kernel ?
View 1 Replies
View Related
Jul 31, 2012
how can i modify my rom's windows style?
View 5 Replies
View Related
Jun 30, 2012
I'd like to modify the Gallery3D application , which is already included in my current rom (CM7 nightly), using eclipse and adb. However when trying to install the version I compiled, it fails.
There are two conflicts at least : the package name, and the providers.
I tried to freeze the ROM version with titanium backup, but it doesn't change anything.
The package name, I could change it in the source code (using sed utility, since eclipse was generating an exception with the Android tool to rename the package -_-)
But the providers, this is really annoying to have to change their names as well, it's a much more complicated operation, and I'd prefer to be able to use the source code as is.
I suppose I could try to remove Gallery3D from the ROM, but not sure how to do that. Or other possibilities ?
View 1 Replies
View Related
Feb 12, 2012
I want to modify the stock ICS launcher (like Trebuchet, Nova, etc. did). How can I do this? I understand that source code of Launcher from Google cannot be opened in Eclipse like an ordinary application (because it uses private APIs). So how does Cyanogenmod team do this?
View 1 Replies
View Related
Sep 10, 2013
i like to modify an app which is reading the whole phonebook. this app sends the complete phonebook over the internet.
Ive tried to modify the decompiled smali file with jar file, but its very difficult. Im a experienced programmer in PLC programming and some other languages like c# but the smali code is very difficult.Is it possible to implement fix contacts in the app like disable the access to the contacts an give an fixed array of hard programmed contacts?
View 3 Replies
View Related