General :: How To Decompile Jar Files
Apr 18, 2013how to decompile and compile jar files using cmd or other...
View 2 Replieshow to decompile and compile jar files using cmd or other...
View 2 RepliesI need to edit my phone "service.jar' file. So i need to know how to compile and decompile ".jar" files. I think before the edit ".jar" files i need to decompile it like android apps. Are there any too for it like apktool? I try to do it with apktool but not success.
View 4 Replies View RelatedI know how to decompile, recompile and sign apk but how to decompile smali file for editing....
View 9 Replies View RelatedI'm trying to decompile a few apks for modifying the dialer on an ICS rom. When I go to decompile I get an empty folder and this error:
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder .java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder .java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib .java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85 )
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
All I would like to do is edit a few xml files to change the color on text. Could I just rename the apk to .zip and extract the files to be edited?
How to decompile APK in android?
View 4 Replies View RelatedI have been trying to use APK Tool for HOURS and I keep getting this error:
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" java.lang.ClassCastException: brut.androlib.res.data.
value.ResFileValue cannot be cast to brut.androlib.res.data.value.ResScalarValue
at brut.androlib.res.decoder.ARSCDecoder.readComplexE ntry(ARSCDecoder.ja[code].....
I am trying to edit BlockLauncher Pro APK. Is there any other way to decompile apks?
Using APK Manager im trying to decompile some APKs from ICS, though always run into errors (Unlike GB APKs which I have no problem with)
Code:
|22/11/2011 -- 20:21:58.42|
--------------------------------------------------------------------------
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
--------------------------------------------------------------------------
|22/11/2011 -- 20:22:29.68|
--------------------------------------------------------------------------
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
[URL]
Ive heard using the newer version of APK Manager is supposed to fix things, though cant find a newer one. The only file I found on XDA was a Jar file, and didnt explain what / how to replace with current APK Manager.
Is it possible to decompile an apk and change some function? For example: A game give you always 50 gems for an exercise. Is it possible to change the function so you will get 100 gems?
View 1 Replies View RelatedI was trying to decompile, modify and then recompile my SystemUI.APK to put THIS mod into it. I am using THIS TOOL.... Now I can successfully decompile my SystemUI.APK, but when I go to recompile it, nothing happens and there is nothing in the recompiled folder.
BTW I have a Sprint GS4 running a custom ROM (TouchWiz based) on Android 4.3.
It Possible? I Decompile App and i want add my class to this app. How to do this? I search but can'y find any guide. I Use Apktool.
View 5 Replies View RelatedI've installed the android sdk, java, and all the other fancy things I was supposed to, but cannot get Android Multitool to decompile any apk's.
This is the error log it throws out: The system cannot find the path specified. 'apktool' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file specified.
how to Decompile/Recompile System apps from MTK phones? I'm using apktool 1.5.2.I can decompile like "SystemUI.apk"But I can't recompile. Even I didn't edit anything yet.Specially those who have MTK phones.
View 3 Replies View RelatedI'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]....
how to change the default appdata storage...
datadatacom.google.android.apps.currents to sdcardAndroiddatacom.google.android.apps.curren ts coz currents stores both cache and data to internal mem...which takes a whopping 100-150mb itself.
can i change some vaules to make it store in the sdcard instead.....
I am developing an app that uploads files to an FTP server, and the app will have the ftp user name / password in the code. I'm investigating making the FTP user name and password as secure as possible (including an encrypted value for each in a strings.xml and decrypting in the app when it needs to connect to the FTP server).
My concern is this is not actually secure at all, it seems someone could unzip the .apk, decompile it, view the strings.xml and java code that decrypts it - and thereby obtain the ftp login info.
So my question is.. am I approaching this wrong way? Is there a standard method of ensuring passwords that are hard coded into an app can be secure? (note - in this case this is not a password a user of the app would enter, the FTP password is universal to all that install it so it is included in the app).
got a Samsung Galaxy S4 (for several years I had iPhones) and I am enjoying it. Now that I have gotten all my music files away from iTunes' clunky clutches I have reorganized them and they are on my S4's sim card and it works great.
The issue is that I have updated a few of the files and moved a couple more around. I want to update those music files on my S4 from my PC. I could just delete the Music folder on the S4 and recopy everything over, but that seems to be a huge overkill.
What is a good way to compare files between my S4 and folders on the PC and match/update between the two? I am using Windows 7. I have tried to map the Sim Card as a drive but couldn't get that to work. I have Kies from Samsung but that is kinda clunky. I have also tried AirDroid (which I think is great) but I can't really sync files with that. Normally I would use a Windows application like Beyond Compare or WinMerge to do something like this.
I am on a standard website that has a normal upload button, I need to upload a PDF file, But when I click on the upload button on the web site a popup window from my Android phone appears and says "Choose action" and gives me access to the gallery, camcorder, voice recorder , choose music track, gallery (again), select music track and voice recorder (again).
I need to some how get access to my SD card and my download folder to be able to pick the the pdf file that I need to upload. I have tried this both on the default internet browser and Google Chrome, but both give the same options.
I am on a rooted HTC ONE on ATT
My Sandisc 64GB SD card went kaputt last week, it froze at 33GB, luckily the existing files are all ok and I was able to copy all the files onto my PC, however nothing new can be written to it. I've tried formatting with no success. So I copied the files onto the PC and just got a new this time Samsung 64GB micro SD card. Problem I'm having now is that on several attempts it's failed to copy the files back to my SD card (from PC) I've formatted the card in the Note 3..the music files about 4 GB transferred just fine, the problem seems to be with the Pix and Videos. I'm currently trying to copy the DCIM folder back onto the micro sd and it's saying it'll take 6 hours.
I have tried: copying from PC to micro SD in the phone via USB copying from PC to micro SD in SD card adapter plugged directly into PC
copying from PC to micro SD in USB adapter plugged into PC
all results the same
im trying to exchange some files in /system/framework of a stock jellybean 4.2.1 rom that came with my nexus 10.
I have built a workin rom from AOSP sources and made little adjustments that are present in /system/framework/services.jar and services.odex
I have built full_manta-user (not -userdebug!) so that the rom gets odexed and matches my stock rom.
The problem is i get stuck in a boot loop when i use my services.odex file on my stock rom. Is there a way to make it work or debug it?
My searches all bring back ways to transfer files using my Windows Explorer on my PC Interface via USB and on Android "Es file explorer" using wifi.
I use ES file Explorer to view shared folders on my PC via wifi. I want to do the same thing only faster through USB. Similar to how you connect the android to your pc and it shows the internal sd and external sd in windows explorer.
For example... I want to browse my vast collection of "Justin Bieber's Monkey confiscated by German customs for excessive spanking" pics on my pc to find one that looks good as my android wallpaper. I dont want to use wifi and cant load the 74GB of pics from my pc on my 8 GB SD card on my Android to go through them.
Sometimes I'm browsing the web and... One more download... And then oops! Another one...Then I realised that those downloads are still in my download list and there's no option to COMPLETELY remove them. Also, where do I clean browser's temporary files?
View 3 Replies View RelatedI have a Samsung Galaxy I7500 using android 1.5. I extended my phone with a 16GB microSD. I copied a big music collection (around 800 files) into a folder on this SD. Now the problem is that the music player can't find all the files.
I know that there are several threads about android not finding music. The answers are usually that the library hasn't yet been updated or that the ID3 tags are not correct.
I have checked both.
Btw. I can play the files using ASTRO.
In my opinion it seems as if android can't build up a library with too many entries. If I rename the files or put them into different folders, songs disappear and reappear quite randomly.
Do you have any solutions? Is there a music player which doesn't use the native music players index of files?
Can anybody advice what is the recommended directory to store files generated by your application: audio files, video files or some images.
If the phone contains SD card, it is clear that files should be saved there, but if there is no any external storage. where would you recommend to save to?
I cant send any files(pictures,mp3 files) through bluetooth.
Can anyone give some solution on how it works?
I wrote an app that downloads web sites and all their assets (images/stylesheets) to "disk" and therefore stores lots of small files on the SD card.
Sometimes it fails to delete large amounts of files and afterward the file system is r/o. To analyze that behavior I tried to do the removal of the files by hand and then go from there. But that already failed.
localhost:~ mkamp$ adb -d shell mount [.. some mounts ..] /dev/block/mmcblk0p1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,codepage=cp437,iocharset=iso8859-1,utf8 0 0 --> R/W
Last login: Wed Mar 18 19:41:49 on ttys005 localhost:~ mkamp$ adb -d shell rm /sdcard/newsrob/a* [.. minutes of silent deletes ..] rm failed for /sdcard/newsrob/a2aade03616c28b30_113.png, Read-only file system localhost:~ mkamp$
localhost:~ mkamp$ adb -d shell mount [.. some mounts ..] /dev/block/mmcblk0p1 /sdcard vfat ro,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,codepage=cp437,iocharset=iso8859-1,utf8 0 0 --> R/O now
The log contained nothing but the usual gc output and random WiFi status changed mumbo jumbo.
Anybody else seeing this behavior?
There were 6.500 files in that directory. Might that be the problem? I don't access the files with queries, I always have the exact name.
I am working on an android app. Where i need to parse some plist files from assets folder. I do understand how to use assets in android but now problem is that file sizes are more than 1MB and so android gives error Data Exceeds UNCOMPRESS_DATA_MAX (2183588 vs 1048576). how to access such larger files from assets? Also I cant reduce a file into small buffers because i am just sending it to "DocumentBuilder.parse(in)" as a whole so can not use buffer. The error is on line: Document doc = db.parse(in).
View 1 Replies View RelatedI uploaded about 50 pictures from iPhoto (using a Mac) just to see what they looked like and then later formatted the Droid's SD card, so the pictures were no longer there.
Now, if I mount the Droid via USB and view the file structure there is a folder named /albumthumbs which contains 50 files, presumably for the 50 pictures a had on the SD card.
To me, these file, unless linking to actual photos stored on the SD card, take up extra space in the phone's memory (not worried about the SD card). I wonder if I can safely delete them (just the files...not the folder)?
I am trying to overlay route data in KML files on a MapView.
The following code works great:
CODE:................
The only problem I have with this is that I don't need to re download these KML files every time. I have about 10-15 KML files that will rarely change. Also since it has to connect, download, and parse these each time there is a delay in opening the maps.
It would make a lot more since for me to save these as a local resource and have the URI reference it there. Is there a way to construct a URI using the geo: scheme and have it point towards a local resource?
It looks like file:///sdcard support was included in 2.1. The only reference I could find to it was at the end of this bug report thread. I am currently at work and don't have time to play with this yet but I would like to figure it out later. I feel like there are a lot of people on stackoverflow and elsewhere who would really appreciate a reasonable way to do this.
i not able to transfer files from my note 3 n9000 my laptop detects my phone but not able to copy files from my phone but able to send files to my phone
View 1 Replies View RelatedHow do you go about checking what is stored on your phones memory and deleting content? For example I used dropbox and downloaded a 7mb photo onto my phone. Can't find it in the photos app or anywhere else. Going into SD & phone storage under settings doesn't do anything. It says I have 70mb available space under phone storage but you can't click on that to get any further info. Same goes for the SD card options.
View 1 Replies View Related