General :: How To Edit System Apps With APKTool For Android

Nov 1, 2013

how to decompile system apps with apktool for android....

General :: How to edit system apps with APKTool for android


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

Android : Edit Settings.apk - System Apps?

Nov 16, 2010

More specifically I want to edit the Settings.apk and add more options. I'm unsure what the best approach to this is. I know how to convert the classes.dex to a .jar, but this doesn't seem like the way to go about accomplishing anything. At any rate, I'm really looking for some insight into this and advanced editing such as this. Someone knows how to, care to share?

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 :: Editing Apps With APKTool?

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

General :: How To Properly Edit System APK

Oct 27, 2011

I have both a Galaxy Tab from Verizon and Sprint with stock roms. I want to take the Settings.Apk and just modify out the Wireless AP launcher activity from AndroidManifest.xml..So I decompile the APK, remove the offending XML section and recompile. Sign it and get this

Code:
I/PackageManager( 120): /system/app/Settings.apk changed; collecting certs
W/PackageManager( 120): Signature mismatch for shared user : SharedUserSetting{40554d08 android.uid.system/1000}
E/PackageManager( 120): Package com.android.settings has no signatures that match those in shared user android.uid.system; ignoring!
Maybe I did the signing wrong. Okay, so I take the Settings.Apk from AOSP Gingerbreak (from the SDK Emulator) and plug it in.

I try an unsigned apk and I get another issue about not being signed. I research and I read that I have to resign all APKs... So I do. I take all /system/ app/ *.apk with the matching certificate and resign them. I also take /system/framework/framework-res.apk and /system/framework/twframework-res.apk

Code:
W/PackageManager( 120): Library not found: /system/framework/sec_feature.jar
D/PackageManager( 120): Scanning app dir /system/framework
D/PackageManager( 120): This is not system dir
[code]....

View 9 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 :: Run APKTOOL In Android - No Such File Or Directory

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

General :: Convert Normal Apps To System Apps?

Feb 8, 2013

Is it ok? Will there be problems in the future or not?

View 3 Replies View Related

General :: How To Edit Stock Rom With Custom Apps

Jan 26, 2012

i have 5 android mobiles

Samsung galaxy
Ace , fit , pop , 5 and y

I have their stock Roms how to edit it with custom apps and port it into a custom Rom .

View 2 Replies View Related

General :: APKTool Not Recompiling Gmail App?

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

General :: APKTool Can't Compile Unchanged App?

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

General :: APKTool And SystemUI No Status Bar?

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

Create Apk To Edit System Files?

Jan 20, 2014

the flashable zips usually replace some system files. I want to create an apk that can do exactly what those zips do, without booting into recovery.

View 2 Replies View Related

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 View Related

General :: Correct APKTool For ICS And Jelly Bean For Linux / Mac?

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

General :: Compile / Decompile Using APKTool Or APK Multi Tool

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

General :: Change Gmail Conversation Item Color With APKTool?

Jan 23, 2013

I want to change gmail conversation item color with apktool but i cant find a way.

View 1 Replies View Related

General :: Removable System Apps?

Feb 7, 2012

I have a question about some removed apps from a Gingerbread os. I can't seem to find any real Detailed info on these 8 files below. I want to know what each one is what it does and if they rely on others to be installed, and mostly do they need to be/should they be installed:

Dun.apk
FactoryTest.apk
InputEventApp.apk
JobManager.apk[code]....

View 4 Replies View Related

General :: Removing Unnecessary System Apps

Dec 18, 2013

I am curious about necessity of stock apps..

i.e I want to know ,

Which stock apps can be uninstalled ..

i.e which apps aren't necessary for system to run ..

ex. I hv deleted some apps like Youtube , +G etc..

View 4 Replies View Related

General :: Auto Update System Apps?

Oct 7, 2012

My current custom ROM includes Youtube v4.0.5. Market shows "installed" and latest avaliabvle is v4.1.23. An update isn't offered. Next I convert it into user app in TiBu. I go to the Youtube entry in market again, re-install and presto I have the shiny new Youtube. I assume the reason an update wasnt offered initially was because the app was a system app. So this makes me wonder if there's any automated solution that scans through systems apps and checks if an updated version is avaliable? I'm aware of the risks involved and I keep backups.

View 2 Replies View Related

General :: List Of System Apps To Greenify?

Aug 9, 2013

The name says it all. There's quite a few of system apps/processes. From a user's experience, which ones have you Greenify'd safely, without altering the functionality of your phone in a negative way?

Greenify

[URL]

Greenify (Donation Version)

[URL]

View 1 Replies View Related

General :: How To Convert User Apps To System App

Oct 2, 2011

I need to know how to convert User apps to System apps. I know Titanium Backup can do it but I don't want to pay 7 bucks for the pro version.

Do I just move the APK from the /data/app to /system/app?

I am on a deodexed ROM so no odex files to move.

If I convert these user apps to system apps will it raise the OOM value? That's what I am after really.

GO Launcher gets killed way to easily. And while I am at it, I what to move GO SMS and Miren Browser if this will work.

View 8 Replies View Related

General :: Deleted System Apps Keep Reappearing?

Jan 15, 2014

I have a generic android tablet from china (irulu 10.1 inch ax105 4.2.2) thats rooted via shuame and lets me delete apps only with titanium backup but they keep reappearing half an hour later or when the device is rebooted. when i try to delete with any other root app including es explorer it says the system is read only

im assuming the kernel doesnt allow the system to be modified from what ive found on similar threads so i need to flash a security disabled one, the problem is this tablet is obscure so theres literally no custom roms or custom kernels.

normally id just leave it and disable the apps but the problem is the tablet is running a phone os with both system telephone apps constantly draining the battery quickly on cell standby when its a wifi tablet (able to use a 3g dongle though), using airplane mode with those apps frozen still drains the battery really fast but the 30mins or so the apps are deleted with titanium backup the tablet only loses 1-2% instead of 10-20% in 30mins which is dreadful as its has a 6000mah battery

kernel version 3.4.39+
inet_paco@superFAE #3

android version 4.2.2

firmware version: 2.1_20130903

View 4 Replies View Related

General :: How To Transfer System Settings And Apps

Feb 9, 2014

Me and a friend are trying to port a system app from the same phone but two different roms. Here's the situation. The phone is zopo zp998 and it comes with regular Android 4.2.2. Zopo is making the exact same phone for the Chinese market with on OS based on Android 4.2.2 that's called YunOS and it doesn't have Google account support so it's not usable outside China.

The YunOS has a black screen gesture feature that you can activate in the settings under display and then while the screen is Black you can make symbols on it with your finger and open specific apps. For instance if you draw the letter C the dialer will open.

My friend was able to find the system app for the gestures in YunOS and all its library files and put it in his rom. When the phone boots we can see that the gestures service is running fine but we don't have the option in the settings to activate the app. we can use on how to transfer a system setting and app like this? Is there another app we can use to trigger the on and off of the app?

View 8 Replies View Related

General :: RAZR - Reinstalling All Original System Apps?

Dec 22, 2011

i was wondering if there was a way to re-install every stock application back onto the phone (bloatware and all.) I tried to upgrade to 6.11.748 but 25% through the installation I got the dreaded exclamation point and the phones says installation failed. I believe the problem is due to important missing system apps like Google Books, Guided Tours, etc. I have the full RAZR system dump files on my PC, is there a way to replace all current apps with the ones from the downloaded dump files? Is there a way to find out what system applications are missing and replace only those? I also have a Titanium Backup of my old files, although I am having issues installing system apps back onto the RAZR. Is there a way to force install the 6.11.748 update? I don't care about losing my root access, I am more concerned about the 3G/4G compatibility and camera bug fixes.. Factory resetting and trying the update does not work, unrooting and trying the update does not work, manually installing missing .apk's does not work.

View 1 Replies View Related

General :: How To Move System Apps To SD Card Using Link2SD

Jun 12, 2012

Is it possible to move the system apps to sd card using link2SD ?

View 5 Replies View Related

General :: Moving Apps To System Affects Battery?

Jan 11, 2013

Does moving apps to system/app folder affects battery life? I've moved Dolphin & removed the default browser. It opens a bit faster now. But I'm just curious about whether it takes up battery in the same manner to give performance.

ST25i

View 9 Replies View Related

General :: Can Backup And Restore System Apps With DataSync

Dec 11, 2012

Can i backup and restore system apps with DataSync?

View 1 Replies View Related

General :: Recovery Script For Removing System Apps

May 3, 2012

I've been running CM nightlies as long as they've been available for my device (Samsung Captivate). After each flash though, I have to go in through Titanium Backup and uninstall a number of system apps (mail, exchange services, music, DSP manager, news & weather, dev tools) that I do not use for various reasons. I know the ROM runs fine without these elements, as I've been removing them for years now. Manually removing them wasn't such an issue until my phone received a TWRP recovery, which effectively gets me much closer to a "one-click" nightly update making the manual cleanup more of a burden to my lazy lifestyle.

I'd like to create a CWM flashable zip that contains only an update script that removes the system apk's that I specify. Using TWRP I'd like to be able to flash the update, the kernel, and my custom "cleanup" zip in that order. I know the path to all the subject apks, but I know little about scripting or creating CWM zips. my way around a bash script, but I'm not even sure if that's relevant.

View 4 Replies View Related







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