General :: Recompile System App From Java Files

Aug 20, 2013

I want to add some function to my system music player app. So I decompiled the classes.dex with dex2jar, copied the source code and add the code for my functions. Now my problem is that I do not know how to recompile the app. I can't compile it with Eclipse because it uses some system namespaces (in Eclipse it is an error so I can't compile) How can I recompile the app? I only have the *.java files.

Or can't I use the java files and have to edit the smali files? Of course that's much harder...

General :: Recompile system app from java files


General :: How To Decompile / Recompile System Apps From MTK Phones

Dec 21, 2013

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 Related

General :: Recompile System APK Using ONLY APKTool While Keeping Signature?

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

General :: How To Recover System Files

Apr 28, 2014

I have accidentally deleted the whole content of /system/bin and /system/app of my android tablet running 4.3

I don't have a back up so looking for the contents of these two directories for android 4.3 so I can push them using ADB

View 9 Replies View Related

General :: Why Can See Files In System/ But Not Through ADB Or Recovery

Jun 30, 2013

When I use an explorer like ES explorer or Root explorer I can go to system/ and find several files & folders.

However, when going to recovery and using the TWRP File manager or by using ADB Shell the System-folder is empty except for a folder named bin/. No sign of build.prop or any other files/folders.

View 5 Replies View Related

General :: Location Of Some System Files?

Apr 6, 2013

location of the system file that determines the touch interface? What I mean is some kind of files like build.prop that has the info of touch pressure, touch sensitivity, number of touch points etc. mention the system file that determine the air view feature of note 2 and s4.

mention the system file that interchange info within phone and cellular operator? What I mean with info is something like interchanging data usage report to the operator.

View 2 Replies View Related

General :: How To Edit System / Bin Files

Apr 10, 2012

I'm looking to modify wpa_supplicant files located in system/bin.

It's an executable files, is there a way to modify this?

View 9 Replies View Related

General :: Why Can't Recompile APK

Aug 18, 2013

The title says all, the decompiling is succesfull, but i cant recompile any apk, this is the log when i try to recompile holo launcher. (using the last apktool)

and the same happen even if i dont edit nothing on the apk and try to recompile.

I have "if framework-res and systemui" resources from my phone

View 1 Replies View Related

General :: HTC One - Permanently Rename System Files

Jul 31, 2013

I'm basically trying to rename an audio file to kill the camera click, but found an issue that might give me problems later with other things I might want to do.

Each time I try renaming the file, the file renames itself back to its original name after I reboot the phone. For example, if I add .bak or an extra space in the file name, it disappears once I reboot.

I'm using ES File Explorer on my stock, rooted Sprint HTC One. I mounted the /system path as R/W, and the file is /system/media/audio/ui/camera_click.ogg.

View 3 Replies View Related

General :: System Files To Sync With YouTube?

Jul 8, 2012

I have a DOMO Slate N9 SE tablet running on ICS 4.0.3. Everything is working fine but I cannot sign in to YouTube.When I click on YouTube for the first time, it crashes saying 'Unfortunately Android System has stopped' and the next time it gets stuck on 'Signing in'. If I clear data, again it says 'Unfortunately Android System has stopped' and then keeps on getting stuck at signing in.

But when I use applications like Opera Mini and Flipboard and load a video, the YouTube app opens and runs the video. When I click on 'like' to like that video, I get a pop-up screen asking me to log in using my Google account. When I click on it, I get the same error, 'Unfortunately Android System has stopped'.

I think there are system files missing in the device. The ICS ROM did not even have CalendarSyncAdapter.apk and I had to manually install it. So I think even the YouTube error is due to some missing system files.I have tried several other versions of YouTube app too but I get the same error.

View 2 Replies View Related

General :: How To Recompile Google Now For ICS

Aug 8, 2012

I've been able to successfully disassemble the Google Now apk for ICS devices and made a change to the sounds it makes for "open" and "success". However, xdaAutoTool displays a lot of errors when I try to recompile it.

View 1 Replies View Related

General :: Use Smali Instead Of Java Decompiler To Reverse APK Files?

Jan 4, 2014

I spent 1 month coding an android app, and then I lost the source code in an hdd crash. Well, those things sux, but hopefully I managed to find an old apk build of this app. I was able to recover part of the source code by extracting the classes.dex file, decrypting it with dex2jar, and then opening the decrypted file with java decompiler (jd-gui.exe)... I remained amazed when I saw that my source code was so easy to found...

Now I wonder, why people use smali to reverse apk files instead of dex2jar+jd-gui ??

View 1 Replies View Related

General :: Can Make Recovery Zip That Alters XML Or Other System Files

Jan 19, 2013

I know that I can make a recovery zip to install packages, but I was wondering if I can make a zip that will extract and replace database files on my phone that are not packaged. The reason I want to do this is so that when I flash a new ROM, I can easily restore certain phone settings like altered APN databases.

View 1 Replies View Related

General :: How To Access System Files Of Android From Windows

Jul 21, 2013

I'm wondering is there a way to access system files of Android (JB version) and make changes from Windows? Is it possible do that in fastboot mode, without switching on?

View 2 Replies View Related

General :: Accessing System Files On Tablet From Computer

Aug 26, 2013

Is there a program I could use to access my system files on my tablets from my computer? It is android base, I change a few from my tablet and now I need to change them back but I can't access them from my tablet anymore. It is a Impression I10a-LE tablet...

View 4 Replies View Related

General :: Backup APK Files Of Both User And System Applications?

May 13, 2013

I am searching an application that allows me to backup the .apk files of both user and system applications like AppWererabbit (http:url...). The problem is that i need this app to be compatible with android versions below 4.0, i.e. android 2.3.X.

I have already installed titanium backup on my phone, but i miss the ability to set an automatic .apk backup when each system/user app is updated. I think that to keep .apk files of older versions of the same app could be usefull.

View 8 Replies View Related

General :: How To Get And Modify Files On System Without Activating USB Debug

May 13, 2012

How can I get and modify files on the system without activating the usb android debuging?

View 2 Replies View Related

General :: ADB Can't Open Files From Folder Used In System Variables

Feb 13, 2014

I have installed ADB and the whole Android SDK to root my asus transformer infinity (tf700t). I have taken all the steps every forum on the web describes: installing everything trough the manager, adjusting the path in the System Variables, and finally it getting it to work together with my tablet. However, when I try to flash/copy/install files from my folder (yes these files are in the same folder as adb.exe and fastboot.exe, which is the folder I used in the System Variables) It can't either find these files or it cannot open these files. When i put in the command 'path' however. I does give me the path where the files can be found.

View 1 Replies View Related

General :: Can't Write System Files In HUAWEI Honor C3

May 9, 2014

I have tried to update my Honor C3 system updates. Then I noticed that I have completely lost root access. They removed su binary. Then I tried to root again my Honor C3 with VROOT and it is OK again. But I can't overwrite system files such as changing system DroidSans-fallback.ttf fonts and also installing framework of Xposed (Overwriting app_process). I can't even delete system files also.

I searched for firmware files for my phone and I can't seems to find it. There is root access and I even test it via Terminal Emulator app and from ADB. Calling su binary in Shell was OK but I can't access /system well. H30-U10

View 2 Replies View Related

General :: How To Recompile Existing Kernel

Jun 15, 2012

Any TUT in how to recompile an existing kernel so i can make some changes and then recompile it?

View 5 Replies View Related

General :: Recompile APKs Manually?

Mar 3, 2012

Everywhere i look redirects to apkmanager.. Which is not working for me.. Any manual way to recompile an apk.. Or an alternative to apk manager.

SPH-D710

View 6 Replies View Related

General :: Can't Recompile Sony APKs

Dec 29, 2013

I cant recompile movies,stock launcher apk. If I just decompile and again recompile without any changes it gives me error.

C1904

View 5 Replies View Related

General :: Recompile Kernel Of LG E400?

Jul 8, 2012

I want recompile the kernel of my lg e400 for add ext2-3-4 support.How i must proceed? I'm able to compiling with success and i have source from lg, sdk installed etc etc.

View 3 Replies View Related

General :: How To Move User Apps Containing Lib And Data Files To System

Apr 1, 2013

How to convert user apps to system apps? Many apps give fc because of some missing files. I would like to move whatsapp and maps to system to get some free internal memory.

How can I add more apps into system while porting a Rom, what all libraries and permissions do I need to take care of? I already tried /system/mover and similar apps. While manually moving whatsapp I couldn't find library files

HTC Explorer A310e

View 3 Replies View Related

General :: Modify Files On System Without Activating USB Android Debugging?

May 13, 2012

How can I get and modify files on the system without activating the usb android debugging?

View 1 Replies View Related

General :: Kyocera Hydro XTRM System Files With Odin?

Mar 7, 2014

Im searching for the kyocera hydro xtrm(metro pcs) system files because I think I only soft bricked my hydro xtrm.. the phone boots up to the android guy with the umbrella buzzes then reboots.. maybe with some system files i could use odin I dont know how to get into recovery on this device.

View 2 Replies View Related

General :: Theme Chooser APK Recompile Error

Jun 23, 2012

I can decompile and recompile framework-res.apk and other apps successfully, but every time I decompile a theme chooser *.apk I get errors trying to recompile.

Is there a trick to this? I am running Reaper 3.0(CyanogenMod 7) installed the framework via installation options(that's all), have paths to platform-tools, tools etc.. The latest Android SDK installed (and all the others..)

Once again I'n only getting these errors Recompiling TC Themes.

Here is an Excerpt of my APKMULTITOOL.LOG, the start middle and end.

(full log is also attached)
|
Code:
Thu 06/21/2012 -- 22:05:11.28|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/signedcom.araviel.theme.aerish.apk
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/unsignedcom.araviel.theme.aerish.apk
I: Loading resource table...
I: Loaded.

[code]...

View 2 Replies View Related

General :: Touch Panel Is Broken - How To Copy Files From Phone To System

Oct 11, 2013

My touch panel is broken and not working. The device is booting up (ZTE Blade) since it is pattern locked i am not able to enter into phone or copy the files.

Is there any workaround?

View 1 Replies View Related

General :: Native APKTool - Looking For App To Recompile Apps Within Android?

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

General :: Automatic Clearing Cache And Changes To Files And System For Tablet Shared To Public

Mar 21, 2014

I'm looking for a method or an application for android tablet, which allows me to quickly reset the device deleting any data (from the Internet cache, and the cache to the photos of the various programs such as facebook, twitter etc ...) and that does not allow any modification of the operating system. I need this solution because I have a restaurant and I want to put a tablet on each table for guests to make him see the menu (full of photos and videos), surf the internet and play with the kids.

is there an app that allows this? or is there a quick way to do this, such as a multiaccount management ? I remember, for example, that for windows there are applications that completely erase any unauthorized modification, files and cache, at the time you restart the operating system.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved