Hi guys!
I am trying to get all the tools I need to dev and theme. I own Ubuntu on my Windows 7 laptop, and a MacBook Pro. I plan to spend most of my time on my Mac..but when setting up apktool on there (I completely don't know how on my Windows)...I finished the steps up to
"Unpack both to /usr/local/bin directory (you must have root permissions)
"
now I took a ROM and tried to download the framework-res.apk files to decompile...
After the command "apktool if framework-res.apk" I get
Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: error in opening zip file at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:404) at brut.androlib.Androlib.installFramework(Androlib.java:365) at brut.apktool.Main.cmdInstallFramework(Main.java:193) at brut.apktool.Main.main(Main.java:69) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:127) at java.util.zip.ZipFile.<init>(ZipFile.java:143) at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:374) ... 3 more
I think this is an error because then I tried
"apktool d framework-res.apk" and I get
Code:
Input file (framework-res.apk) was not found or was not readable.
I have attached an image that shows what and where I have put these files.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm sure I have something wrong with where I'm putting my files...someone help? ^__^
Thanks
EDIT: Framework-res.apk is also in the apktool-inst...r04-brut1 2 folder.
Anyone?
Sent from my Samsung CAPTIVATE Glide SGH-i927 using xda premium
If you run Linux Tommy au works good as well even auto installs
Sent from my Sensation using XDA
I don't like the switching windows and ubuntu...would prefer fixing this issye
Sent from my Samsung CAPTIVATE Glide SGH-i927 using xda premium
R-M-S said:
If you run Linux Tommy au works good as well even auto installs
Sent from my Sensation using XDA
Click to expand...
Click to collapse
Haha thanks for the nod
I also have au for mac OS x.
Sent from my PG86100 using Tapatalk 2
Oh, android utility? That decompiles apks? Ill be sure to download it
Sent from my Samsung CAPTIVATE Glide SGH-i927 using xda premium
Look your java version (java -version) , the good version is : jre 1.6
Execute the apktool directly in the directory : (open terminal and go in your apktools directory) :
cd /usr/local/bin
./apktool if framework-res.apk
Aquethyss-MacBook-Pro:bin name$ apktool if framework-res.apk
I: Framework installed to: /Users/name/apktool/framework/1.apk
Aquethyss-MacBook-Pro:bin name$ apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: file must be a directory: framework-res
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:123)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Caused by: brut.directory.DirectoryException: file must be a directory: framework-res
at brut.directory.FileDirectory.<init>(FileDirectory.java:38)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:112)
... 4 more
Aquethyss-MacBook-Pro:bin name$
This is what I get with apktool - installed framework successfully and getting that. I'll download tomatoe now
Aquethys said:
Aquethyss-MacBook-Pro:bin name$ apktool if framework-res.apk
I: Framework installed to: /Users/name/apktool/framework/1.apk
Aquethyss-MacBook-Pro:bin name$ apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: file must be a directory: framework-res
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:123)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Caused by: brut.directory.DirectoryException: file must be a directory: framework-res
at brut.directory.FileDirectory.<init>(FileDirectory.java:38)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:112)
... 4 more
Aquethyss-MacBook-Pro:bin name$
This is what I get with apktool - installed framework successfully and getting that. I'll download tomatoe now
Click to expand...
Click to collapse
you execute in the apktool directory ??? because you don't use ./apktool (the dot and slash before) can you try please ??
and ./apktool d xxxx.apk, apk create a directory xxx beside your apk and you execute command with an user, user don't have right to write in /usr/local/bin , try with root user.
The first command is ok because apktool if xxxxx.apk create a 1.apk in apktool directory in your home user ....
Put the apk on your desktop.
cd Desktop
apktool d framework-res.apk
As the user above pointed out, you don't have permissions to write to the /usr directory and that is source of your problem.
Sent from my PG86100 using Tapatalk 2
Yes it's my answer tommytomatoe
User right problem, He can try as root
Sent from my ST18i using XDA
mickfo said:
Yes it's my answer...tommytomatoe
User right problem... He can try as root
Sent from my ST18i using XDA
Click to expand...
Click to collapse
Yes he could but at this stage I don't recommend using su or sudo in the /usr directory when he is still learning. Could be potentially dangerous
Sent from my PG86100 using Tapatalk 2
Yes it's true, in home directory he can create a dir apktool and extract apktool inside.... and change the PATH (export PATH=$PATH:/home/name/apktool)
no need to extract apktool in /usr/local/bin
Hm ok thanks
Tommy, with your andutil,
Do I only need framework-res.apk or do I need some other? I have a Samsung Captivate Glide...so no htc file as in your thread.
Sent from my Samsung CAPTIVATE Glide SGH-i927 using xda premium
If you have touchwhiz you will also need the touchwhiz framewori apk as well.
Also, au and apktool only officially support up to gingerbread.
Sent from my PG86100 using Tapatalk 2
So I have put twframework.apk and framework-res.apk in the android-utility/working-folder/framework-here folder.
I get
Android Utility is preparing to install these frameworks:
twframework-res.apk
framework-res.apk
Installing framework-res.apk.......
I: Framework installed to: /Users/andrewying/apktool/framework/1.apk
..
Installing twframework-res.apk.......
I: Framework installed to: /Users/andrewying/apktool/framework/2.apk
..
Now when I click decompile I get that Apktool can't find a valid apk..do I need to put the android-utility folder on my desktop too?
Also is it possible to keep apktool in my home directory? Whats the command for that? When i go "cd (name)" it says no directory found...
Sent from my Samsung CAPTIVATE Glide SGH-i927 using xda premium
Nvr mind! Got it!
When you select to decompile apk with au, put the apk in the mod-here-multi folder.
And when you install au, it installs apktool automatically for you, so now you can execute apktool from any directory.
Sent from my PG86100 using Tapatalk 2
So I extracted apktool into C:\Users\(my name)
I extracted the ROM I want to mod into C:\Users\(my name)\Android
Attached is what Iget
Related
Hello yo'all
I've searched many times to make my notification pull-down menu transparent, and I've finally managed to get it work. I know that there are lots of themes that do so, but I've choosen to modify the files myself. And I know that there are already tutorials, but I couldn't find one that works with CyanogenMod 7. So here is how I did it (and TBH, it is bloody easy).
screen cap: first image is without the notification drawer, the second is the notification drawer halfway the screen and the third one is the notification drawer totally expanded.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note that I assume you already know the basics on how to work with adb.
Two things most be done to get the background of the notification menu transparent:
1. You must make the background file transparent
2. If necessarily, you must adapt StatusBarService.smali
PART 1: MAKE THE RIGHT FILE TRANSPARENT
Step 1: get SystemUI.apk on your computer
adb pull system/app/SystemUI.apk
Click to expand...
Click to collapse
Step 2: modify/replace shade_bg.png
Open SystemUI.apk in winzip, winrar or 7zip or wathever. WARNING: DO NOT EXTRACT THE APK!
browse to res\drawable-mdpi and look for "shade-bg.png". Copy it manualy out of the apk.
Edit the image with photoshop or gimp or wathever to make it transparent. Save you transparent file as shade-bg.png
Take your new image and put in manualy in the res\drawable-mdpi of the apk, so that it will replace the old one. When asked, choose for "no compression" (like store).
Step 3: put SystemUI.apk back on your phone
Reboot into recovery
go to "mounts an storages"
select "mount /system"
you can now push your new SystemUI.apk to your phone. I always make a backup, for in case I cause a bootloop or something:
adb shell
cd system/app
mv SystemUI.apk SystemUI.bak
exit
adb push SystemUI.apk system/app
adb reboot
Click to expand...
Click to collapse
Your phone should reboot now, and normally you should have your transparent lockscreen. If that isn't the case, you have to adjust StatusBarService.smali
PART TWO: ADJUSTING StatusBarService.smali
Step 1: get SystemUI.apk and framework-res.apk on your computer
adb pull system/framework/framework-res.apk
Click to expand...
Click to collapse
So now framework-res.apk and SystemUI.apk (with the transparent image) are in the same directory.
Step 2: decompile systemUI.apk
Download apktool from the attachment and extract it in the same folder as where framework-res and SystemUI are located.
open the command line and browse to that same directory
install your framework by typing:
apktool if framework-res.apk
Click to expand...
Click to collapse
Decompile SystemUI.apk by typing:
apktool decode SystemUI.apk
Click to expand...
Click to collapse
You will notice that you now have a folder called "SystemUI".
browse to SystemUI/smali/com/android/systemui/statusbar and open StatusBarService.smali in, for example, notepad++.
Search for the line
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Click to expand...
Click to collapse
Right above that line you can read
const/4 v5, 0x2
Click to expand...
Click to collapse
That should be changed to
const/4 v5, -0x3
Click to expand...
Click to collapse
Save the file.
go back to the folder where you have apktool etc. Rename SystemUI.apk to SystemUI-original.apk.
Open the command line and type
apktool b -f SystemUI SystemUI.apk
Click to expand...
Click to collapse
You will now have your SystemUI.apk
Step 3: put SystemUI.apk back on your phone
Reboot into recovery
go to "mounts an storages"
select "mount /system"
you can now push your new SystemUI.apk to your phone. I always make a backup, for in case I cause a bootloop or something:
adb shell
cd system/app
mv SystemUI.apk SystemUI.bak
exit
adb push SystemUI.apk system/app
adb reboot
Click to expand...
Click to collapse
That's all. Hope I can make someone happy with this
Cool Good job
What is the transparent part? Dont see anything in the screenshot :$ Maybe im blind?
Sent from my HTC Wildfire using XDA App
tobitronics said:
What is the transparent part? Dont see anything in the screenshot :$ Maybe im blind?
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
What you see is the general settings menu, with the notification menu on top of it. But i myself was doubting if it was clear I will add more screenshots tomorrow!
Erwin
EDIT: better screen caps in the original post!
Now here's tutorial on how to put any PNG image as notification pulldown background..
Here I'm using lidroid's modified SystemUI, should work on other stock based SystemUI
First you need to decompile your SystemUI.apk
Open res/values/drawable.xml with any good xml editor (here I'm using NP++)
Delete this line:
Code:
<item type="drawable" name="notification_tracking_bg">#xxxxxxxx</item>
the #xxxxxxxx value maybe vary in each ROM, just delete the whole line )
Save
Prepare your desired .png file, can be opaque or transparent, and can be in any size/dimension (the system will resize it to match the screen)
Rename it to notification_tracking_bg.png and put it in res/drawable-hdpi
Recompile your SystemUI.apk, push to your phone and you are.......
Done !!
The result will be looked like these :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Remember to
ALWAYS MAKE BACKUP !!
before doing anything above..
I don't responsible of any negative things like bootloop, bricked device, burned SD card, you late to go to school, or the third world war caused by the guide above..
You have been warned !!
Click to expand...
Click to collapse
Good luck..
iiandskater said:
Now here's tutorial on how to put any PNG image as notification pulldown background..
Here I'm using lidroid's modified SystemUI, should work on other stock based SystemUI
First you need to decompile your SystemUI.apk
Open res/values/drawable.xml with any good xml editor (here I'm using NP++)
Delete this line:
Code:
<item type="drawable" name="notification_tracking_bg">#xxxxxxxx</item>
the #xxxxxxxx value maybe vary in each ROM, just delete the whole line )
Save
Prepare your desired .png file, can be opaque or transparent, and can be in any size/dimension (the system will resize it to match the screen)
Rename it to notification_tracking_bg.png and put it in res/drawable-hdpi
Recompile your SystemUI.apk, push to your phone and you are.......
Done !!
The result will be looked like these :
Good luck..
Click to expand...
Click to collapse
when i finished modifying and pushed the new systemui.apk to my phone, i lost my statusbar. which step i was wrong in ? i'm using JJ rom. Need your help to do this guide course im' very like this mod.
Jellybread v2 ROM systemUI.apk doesnt need to be modified, only change the background png, but thanks anyway
Oohhlala said:
when i finished modifying and pushed the new systemui.apk to my phone, i lost my statusbar. which step i was wrong in ? i'm using JJ rom. Need your help to do this guide course im' very like this mod.
Click to expand...
Click to collapse
Did you just recompile and push? Or did you do something between those?
Ticklefish said:
Did you just recompile and push? Or did you do something between those?
Click to expand...
Click to collapse
recompile then using winrar to extract .arsc file and add it back to recompiled apk with " store" option, copied to sdcard and using rootexplorer to move to system/app, reboot and lost the statusbar
Oohhlala said:
recompile then using winrar to extract .arsc file and add it back to recompiled apk with " store" option, copied to sdcard and using rootexplorer to move to system/app, reboot and lost the statusbar
Click to expand...
Click to collapse
You need to make sure the new apk is signed. Easiest way of doing this is copy the META-INF folder from the original into the new one.
Android won't run unsigned apps, you see.
Ticklefish said:
You need to make sure the new apk is signed. Easiest way of doing this is copy the META-INF folder from the original into the new one.
Android won't run unsigned apps, you see.
Click to expand...
Click to collapse
use winrar to add META folder ? which option of " compression method " have to chose ? " store " is right ?
when i dit it again, after modified i tried to compile but i had got this error ? can you tell me what wrong with me ? thanks
I'm able to do everything right up to recompile I always come up with an error could somebody help
Sent from my LT18i using xda premium
Anyone have experience with apktool?
I have just had one error after another and now I am stuck.
To test, I am trying to recompile an unmodified framework-res and I get this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It is from CM9.
My goal is to change the carrier text, but if I can't get it to compile then it is a no-go. It did it before, but now I am getting this error.
Apktool always gives me issues. I use Apk Manager (well I did before I erased my Dev folder
AshtonTS said:
Apktool always gives me issues. I use Apk Manager (well I did before I erased my Dev folder
Click to expand...
Click to collapse
^lol noob
But yeah, apkmanager if you don't want to set up stuff.
Sent from my HTC Rezound
I think I found a way around it. Edit the Eri.XML file while decompiled and then paste it directly into the apk. Works, but now it won't connect to network and phone crashes. I just don't know which line to edit in eri to change the carrier text.
Sweet, utf-8.
AshtonTS said:
Apktool always gives me issues. I use Apk Manager (well I did before I erased my Dev folder
Click to expand...
Click to collapse
Noob.
GrayTheWolf said:
Anyone have experience with apktool?
I have just had one error after another and now I am stuck.
To test, I am trying to recompile an unmodified framework-res and I get this:
It is from CM9.
My goal is to change the carrier text, but if I can't get it to compile then it is a no-go. It did it before, but now I am getting this error.
Click to expand...
Click to collapse
did you remember to run this command first?
apktool if framework-res.apk
synisterwolf said:
did you remember to run this command first?
apktool if framework-res.apk
Click to expand...
Click to collapse
If I do that I get another error, "Exception in thread "main" brut... blah blah.... error in opening zip file".
GrayTheWolf said:
If I do that I get another error, "Exception in thread "main" brut... blah blah.... error in opening zip file".
Click to expand...
Click to collapse
LOL shouldnt be in a zip. just place framework-res.apk in the same place you are running the apk tool command
You may need a different apktool.jar
Sent from my ADR6425LVW using xda premium
cflo360 said:
You may need a different apktool.jar
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
I have the one directly from the code.google page.
Well from what I know using the one Google provides are no good for rezound most of the time you need to modify the apktool.jar to fix most problems
Sent from my ADR6425LVW using xda premium
cflo360 said:
Well from what I know using the one Google provides are no good for rezound most of the time you need to modify the apktool.jar to fix most problems
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Not from google, from the project's page.
Well send you my apktools.jar so far no errors with them
Sent from my ADR6425LVW using xda premium
funny you should mention this as i was so frustrated with the same errors
I finally found this thread:
http://forum.xda-developers.com/showthread.php?t=1732635
It helped me to make my first mod ...
So i hope that helps out
I'll have to fire up the comp when I get home but. Use 3.21 i think it is to decompile. And then use the latest version to recompile. Then jus do the normal asec and res swap in the orig apk to keep orig signature.
And make sure your dependencys are setup like normal too.
Sent from my ADR6425LVW using xda premium
Android App Theming Guide(Self)
This is my guide on how to create themes for Android Apps.
First lets start with desktop preparation.
Tools you need
Decompiling tool : apktool
Image Editor : Adobe Photoshop(paid) or Photoscape(Free)
IDE : Notepad++ (one of the best code reading tool)
Tools and SDK : Android SDK with any API(API-10 if you want to theme only for SGY)
1.Download apktool and extract the files in windows root directory (windows) or add the directory where aptool files are in to PATH
2.Navigate to directory where the apk file is using cmd and type
Code:
apktool -v d filename.apk destinationdir
4.Now you have the folder with all the xml files and images which are now in human readable format.
Reserved
Image files
First, Lets start with editing the image files..
Before that android uses png image files mostly as this format contains transparency and alpha stored in image and it is light.
The two most used image files are .png and .9.png.
The file .png can be edited by the photo editor i have posted but the .9.png requires a seperate care.
For editing .9.png first you have to use normal photo editor to edit the image and then drag the resulting png image into the draw9patch file in sdkdirectory/tools.
So What is this .9.png????
Unlike normal png files this .9.png files contain information for expansion of the image according to the content inside.
With the draw9patch draw black borders to the edges what you feel that has to be expanded.
This is how the draw9patcher screen looks like
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XML Files
Now the second part is the xml files..
These are present in res folder.
Android uses xml files for the user interface part of the app and Java for the logic.XML files are the very important files used by an Android App.
XML files are for Layout,Manifest values..etc
We are not going to tamper with these xml files a lot.
The basic operations using XML files are editing the layout and animations or drawables etc.Also Xml editing is used to change string values in APP.
You can also add additional image to android apps.This can be exactly done by,
Choose the required image and put it in /res/drawable folder.
Now open the folder values inside res and open public.xml using Notepad++ and go to the last line of type drawable (incase of image) or any other depending on resource and create a new line like
HTML:
<public type="drawable" name="imagename" id="" />
In the place of id put the id of your previos line incremented by 1.It is in HEX so for example if my previous line ID is 0x750395f then the id for this line will be 0x7503960
SMALI FILES
smali files are present in the folder src.This is somwhat tricky part as these are dalvik-bytecodes which are of low level language and are similar to the java files you write.These are the files you have to modify in order to change the app permissions or if you want to mod the app by customising features and adding additional features.You can find more information of smali here
Tip:If you find smali difficult just write your code in java and build it.After that decompile the resulting apk and take the smali code from it...
Now once you are ready with all just build app by
Code:
apktool b WorkingFolderName appname.apk
Pls dont forget to sign your app
Press Thanks is this was helpfulll :good:
Thanks and Gud luck
optimus
Nice guides
ROM EVOLUTION X3
KERNEL HELL FUSION
ALINS JB THEME + EVOLUTION S3 STATUS BAR.
Thanks
Really needed it.
Sent from my GT-S5360 using xda app-developers app
Nice guide
PHONE SLOW CLICK ME?
_____________________________________
"No one lives in the slums because they want to. It's like this train. It can't run anywhere except where its rails take it."- Cloud[FFvii]"
Is there a more simpler way of creating themes? Like using drag and drop method? Can someone provide a link?
nice, will try it on my phone but it is s6312
hope that it works
So, if I want to change my stock ROM pop up look like ICS, I must edit 9.png ?
metalhead\m/ said:
nice, will try it on my phone but it is s6312
hope that it works
Click to expand...
Click to collapse
Nice Guide
This is useful if you're trying to create a shortcut in Settings for a certain app and don't want yet another app in the app drawer or you want something running in the background......
1. First off, go ahead and setup apktool in ubuntu
Link to apktool found http://forum.xda-developers.com/showthread.php?t=1755243 Follow the instructions in that thread
2. Create a folder on your desktop (for the purpose of this guide, name it "folder")
3. Move your apk to your newly created folder, called folder
4. Assuming you've followed the steps in the apktool thread and setup it up correctly, open up a terminal and type in the following commands
Code:
cd Desktop/folder
then
Code:
apktool d yourapp.apk
If you decompiled correctly, you will see something similar to this....MAKE SURE YOU LEAVE YOUR TERMINAL OPEN, DO NOT CLOSE IT OUT!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5. Now, navigate inside your app's decompiled folder and find the AndroidManifest.xml
6. Open the AndroidManifest.xml with any text editor
7. Find the highlighted line as pictured below....
8. Go ahead and remove that line from the AndroidManifest.xml and save/exit out of that
9. Press and hold Ctrl and H
10. Delete the file called "AndroidManifest.xml~"
11. Assuming you paid attention and didn't close out your terminal, go back to it and type in the following
Code:
apktool b yourapp
12. You should see something like this if you followed instructions correctly....
13. Now navigate inside your app's decompiled folder and you should find a folder called "dist". Inside of that, you should see your compiled apk with the change made and ready to be pushed to your device.
Here's a screenshot of a before and after
Just in case, who knows....
Mazda said:
Just in case, who knows....
Click to expand...
Click to collapse
Thanks for this helpful post!!! I needed something like this. Goomanager was getting on my nerves
I need help with deleting multiple icons from one single apk
I want to delete he camcorder and mirror on the evo 3d HTCCamera.apk
I followed your directions, but after I push apk and reboot it doesnt show up at all
mauricio.valladolid said:
I need help with deleting multiple icons from one single apk
I want to delete he camcorder and mirror on the evo 3d HTCCamera.apk
I followed your directions, but after I push apk and reboot it doesnt show up at all
Click to expand...
Click to collapse
For sense ROMs, you'll need to install the framework-res.apk and also the com.htc.resources.apk using apktool before you decompile/compile apks such as the HTCCamera.apk
Mazda said:
For sense ROMs, you'll need to install the framework-res.apk and also the com.htc.resources.apk using apktool before you decompile/compile apks such as the HTCCamera.apk
Click to expand...
Click to collapse
I have them installed, I already made changes to other apks, but its my first time trying to delete the icons and no luck
@Mazda
thx for this thread :good: It works even on windows but new apk needed a new sign (META-INF)
This was pretty helpful, thank you.
Thanks
app is not longer starting after boot completed
Hi,
thank you for the nice tutorial! The problem I have right now with an app where I removed “….category.LAUNCHER” is that the app is not starting at boot completed anymore. When I first install the unmodded app, and thereafter I install my created app without icon, the app is starting after boot completed. Do you know why the modded app is not starting after boot completed?
stan210 said:
Hi,
thank you for the nice tutorial! The problem I have right now with an app where I removed “….category.LAUNCHER” is that the app is not starting at boot completed anymore. When I first install the unmodded app, and thereafter I install my created app without icon, the app is starting after boot completed. Do you know why the modded app is not starting after boot completed?
Click to expand...
Click to collapse
If you're rooted,
Use Leedroid Tweaks to block apps in drawer
Sent from above using Xparent Tapatalk Blue