[MOD] How to Add Dynamic Navbar - Nexus 6P Themes and Apps

I have seen a couple people request this feature. I decided to share the method I use the original method I used to make the navbar dynamic. When I learn how to use github properly I shall reupload my build and start contributing again.
Note that this works with only material applications as it relies on a specific line attribute to pull the color and apply it to the navbar
This method is completely different from Paranoid Android's method which they implemented in kitkat. I have spent hours to figure this method out only to realize it was something so simple
No permission is needed to apply it to your private builds or to simply add it to your own phone of cource
Below are two ways how to implements this; one by decompiling the framework.res.apk and the other way is by editing source code
Implementing by editing source code
Navigate to frameworks/base/core/res/res/values/ and open themes_material.xml
Search for both instances of "navigationBarColor" and change it to the following:
Code:
<item name="navigationBarColor">?attr/colorPrimaryDark</item>
save and close and start your build
Implementing by Decompiling frameworks-res.apk
Decompile your framework-res.apk using apktool
Navigate to res/values/ and open styles.xml with notepad++
Search for the instances of "navigationBarColor". There will be 3 instances of it, you only need to skip the first one and change it to the following:
Code:
<item name="navigationBarColor">@color/black</item>
to
Code:
<item name="navigationBarColor">?colorPrimaryDark</item>
save, recompile and do your thing
Note: I think there is a problem with apktool as it makes the 3 dot menu laggy. So, the source method is recommended.
Enjoy

what is dynamic navbar? can we use it on cyanogenmod 13?

Not for anything BUT I wouldn't say this is "original work" considering this is a known thing and THEN there's this.....
http://forum.xda-developers.com/cro...ps/guide-how-to-tint-navbar-color-to-t3180593

ergysnooblol said:
what is dynamic navbar? can we use it on cyanogenmod 13?
Click to expand...
Click to collapse
you should be able to

Mazda said:
Not for anything BUT I wouldn't say this is "original work" considering this is a known thing and THEN there's this.....
http://forum.xda-developers.com/cro...ps/guide-how-to-tint-navbar-color-to-t3180593
Click to expand...
Click to collapse
ive had this in my rom since April
http://forum.xda-developers.com/one-m9/development/rom-stock-goodies-m9-1-0-dev-edition-t3080610
so there you go

flex360 said:
you should be able to
Click to expand...
Click to collapse
I've searched about this dynamic navbar on youtube..
Can you say to me what is it?

ergysnooblol said:
I've searched about this dynamic navbar on youtube..
Can you say to me what is it?
Click to expand...
Click to collapse
The navigation bar color changes with the status bar. It makes the screen look bigger and it should be how all Android is with softkey navbars
Sent using XDA One

Is everyone doing this on aosp or stock? I'm having some issues on stock.
Sent from my XT1575 using Tapatalk

vx2ko said:
Is everyone doing this on aosp or stock? I'm having some issues on stock.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
what kinda issues?
what are you using to decompile/recompile?

flex360 said:
what kinda issues?
what are you using to decompile/recompile?
Click to expand...
Click to collapse
Never mind. I got it figured out.

well it works on the LG V10, not perfect because LG Apps force black, and there are some weird things like dark backgrounds in with dark letters, very rare, but wish there was a better way

vx2ko said:
Never mind. I got it figured out.
Click to expand...
Click to collapse
What did you do to get it working?
I can't get it working
{
"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"
}

1112ee said:
What did you do to get it working?
I can't get it working
Click to expand...
Click to collapse
My issue was, the pop ups would have a weird dark overlay. Instead of changing all 3 "navigationBarColor" values, I just change the last two.
Sent from my XT1575 using Tapatalk

I get graphical glitches when I decompile/compile the framework-res.apk with apktool 2.0.3
For reference I am using adb root and adb remount to gain access to /system and then using adb push framework-res.apk /system/framework/framework-res.apk
I changed only the last 2 like the poster above as well.

using dirty unicorn, dont seem to have this path frameworks/base/core/res/res/values/

Chord_Hugo87 said:
using dirty unicorn, dont seem to have this path frameworks/base/core/res/res/values/
Click to expand...
Click to collapse
Are you compiling from source or decompiling?

daleski75 said:
Are you compiling from source or decompiling?
Click to expand...
Click to collapse
I am trying to do it from source.

Chord_Hugo87 said:
I am trying to do it from source.
Click to expand...
Click to collapse
That is odd because if you browse to here after selecting the M branch you can see the same folder path
https://github.com/DirtyUnicorns/android_frameworks_base/tree/m/core/res/res/values

daleski75 said:
That is odd because if you browse to here after selecting the M branch you can see the same folder path
https://github.com/DirtyUnicorns/android_frameworks_base/tree/m/core/res/res/values
Click to expand...
Click to collapse
ok maybe I'm mistaken, when u say source do u mean using root explore or any file manager system and browse to that location?

Chord_Hugo87 said:
ok maybe I'm mistaken, when u say source do u mean using root explore or any file manager system and browse to that location?
Click to expand...
Click to collapse
source means compiling from scratch using Ubuntu.

Related

TimeScape On Incredible Beta ..Devs I Could Use Some help [**Fixed Infiniteview Apk]

Here is TimeScape for the incredible
This is not my work....I dont take Credit for this
This only works on AOSP
Original Source Here
{
"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 Made Some Adjust to get it text to fit right....Devs i need help tho
This is how to install it:
* Using Root Explorer copy the apps to /system/app and system/framework respectively as specified in the folder ..
Copy the files in "permissions" to /system/etc/permissions ..
Using Root Explorer open "build.prop" in text editor in /system:
Edit the following line
From
ro.product.manufacturer=
"HTC''
To
ro.product.manufacturer= Sony
Ericsson
Add a new line:
ro.semc.timescape_keys=Sony_Ericsson_Xperia
Save and Exit
Reboot
Devs If You have experience porting apps please feel free to Make changes...cause i can use some Help
Bugs:
A Little Laggy....(But good enough to use)
Edit: Fixed the Infiniteview Force close
just replace it in the system/app folder
Pretty good looking idea, I haven't tried it though. Is there a a way to rework it so you don't have to make build.prob edits. It's supposed to have our inc stuff in there for a multitude of reasons. Just asking.
wildstang83 said:
Pretty good looking idea, I haven't tried it though. Is there a a way to rework it so you don't have to make build.prob edits. It's supposed to have our inc stuff in there for a multitude of reasons. Just asking.
Click to expand...
Click to collapse
May Be a possibility...You Welcome to try to edit if you want
Have Anybody tried this yet
I'll give this a go in a little while then ill report my findings.
Sent from my Synergy Rom using XDA App
Tried installing on Ruby 2.0.2 which is froyo aosp and didn't take. I'll try again later when I have more time.
Got it running on miui 6.24 build. Had to go into root explorer after reboot and click on every apk and install before it worked though but it works.
Sent from my ADR6300 using XDA App
odst0016 said:
Got it running on miui 6.24 build. Had to go into root explorer after reboot and click on every apk and install before it worked though but it works.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
hmmm...Ill try that.
it seem too much work. im going to wait for a bit.
davwman said:
hmmm...Ill try that.
Click to expand...
Click to collapse
Yea thats what im running too.....if only i can figure out how to speed up it
There I popped your thanks cherry, lol Good luck and high speed development guaranteed from here on out.
Anyways, this would be an interesting project. We just need it to be speed up and of course figure out how to make it work for the Incredible and not the other way around.
wildstang83 said:
There I popped your thanks cherry, lol Good luck and high speed development guaranteed from here on out.
Anyways, this would be an interesting project. We just need it to be speed up and of course figure out how to make it work for the Incredible and not the other way around.
Click to expand...
Click to collapse
Thanx im making progress tho
got it to work. first impression, nice. speed, needs work. wish I knew how to fix it, but I dont. hopefully someone else steps in. thanks.
davwman said:
got it to work. first impression, nice. speed, needs work. wish I knew how to fix it, but I dont. hopefully someone else steps in. thanks.
Click to expand...
Click to collapse
Glad yu got it to work... It seems that i get a slight faster response when I cook it into a rom
Sent from my ADR6300 using XDA Premium App
Keep up the good work. I'd be willing to test it for you as it comes along.
Sent from my Optimized Shift using XDA App
FYI
Tried to install this running CM7. Wouldn't give me the usual startup splash, just flashed a white screen every 10 seconds or so and vibrate. Guess that means its not going to work, let it try to boot for several minutes.
If you've cooked it into a ROM can you post the port? Thanks.
rmaccamr said:
Tried to install this running CM7. Wouldn't give me the usual startup splash, just flashed a white screen every 10 seconds or so and vibrate. Guess that means its not going to work, let it try to boot for several minutes.
If you've cooked it into a ROM can you post the port? Thanks.
Click to expand...
Click to collapse
Do yu want the rom or the files??
Yes, the Rom. I'll browse through it.

Dialer Lag

Hi,
Whenever there is an incoming call, the contact detail appear after a few seconds of ringing. When I accept the call, I have to wait for another few seconds before we are able to hear each other. I know this is a very common problem, but is there any solution to this? I tried exDialer but the problem is still the same.
Below are my phone details:
Rom: Pure Vanilla V5 - Build 2 (AOSP)
Kernel: CoCore-E-6.8
Baseband version: DDULP8
Any help is greatly appreciated. Thanks.
This is a typical Samsung "bug".. There is no proper fix for this, unless someone can find out what exactly causes this lag and delay...
You can switch to CyanogenMod or any other ROMs that isn't based on Samsung's firmware because CM ROMs don't have this issue
Sent from my Calculator using XDA Premium
Like Sami said; there is no fix for it but if you don't want to use CM, you can upgrade your firmware from Odin.I sight Samsung Mobile these days.They're building new firmwares for I9070, not just new firmwares.They improved some libraries & framework.Maybe that will give more speed less lag.
Darkness and Hope said:
Like Sami said; there is no fix for it but if you don't want to use CM, you can upgrade your firmware from Odin.I sight Samsung Mobile these days.They're building new firmwares for I9070, not just new firmwares.They improved some libraries & framework.Maybe that will give more speed less lag.
Click to expand...
Click to collapse
Yes surely, last week i tried last chile firmware, all was so damn smooth, really smooth...but...THERE WAS A GRAPHICAL BUG IN RECENT APPS. Like that there are the apps to slide right or left but there weren't the buttons to remove all the apps or to launch google now...holy samsung..
hastalafiesta said:
Yes surely, last week i tried last chile firmware, all was so damn smooth, really smooth...but...THERE WAS A GRAPHICAL BUG IN RECENT APPS. Like that there are the apps to slide right or left but there weren't the buttons to remove all the apps or to launch google now...holy samsung..
Click to expand...
Click to collapse
That must be HOLO-samsung rather HOLY samsung coz this is available in HOLO UI.
hastalafiesta said:
Yes surely, last week i tried last chile firmware, all was so damn smooth, really smooth...but...THERE WAS A GRAPHICAL BUG IN RECENT APPS. Like that there are the apps to slide right or left but there weren't the buttons to remove all the apps or to launch google now...holy samsung..
Click to expand...
Click to collapse
Maybe its disabled... Decompile SystemUI.apk and go to SystemUI > res > values > bools.xml
Make sure that these values are set to "true"...
PHP:
<bool name="config_recentsPanelshowRemoveAll">true</bool>
<bool name="config_recentsPanelshowGoogleNow">true</bool>
zubairamd said:
That must be HOLO-samsung rather HOLY samsung coz this is available in HOLO UI.
Click to expand...
Click to collapse
{
"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"
}
Sami Kabir said:
This is a typical Samsung "bug".. There is no proper fix for this, unless someone can find out what exactly causes this lag and delay...
You can switch to CyanogenMod or any other ROMs that isn't based on Samsung's firmware because CM ROMs don't have this issue
Sent from my Calculator using XDA Premium
Click to expand...
Click to collapse
Ok. Thanks. I am very interested with CM. I'll try that when I have the free time (need lotsa time to restore everything), but I am still open to other solution at the moment. =)
Darkness and Hope said:
Like Sami said; there is no fix for it but if you don't want to use CM, you can upgrade your firmware from Odin.I sight Samsung Mobile these days.They're building new firmwares for I9070, not just new firmwares.They improved some libraries & framework.Maybe that will give more speed less lag.
Click to expand...
Click to collapse
Latest firmware? I9070UBLPI from Chile?
Sami Kabir said:
Maybe its disabled... Decompile SystemUI.apk and go to SystemUI > res > values > bools.xml
Make sure that these values are set to "true"...
PHP:
<bool name="config_recentsPanelshowRemoveAll">true</bool>
<bool name="config_recentsPanelshowGoogleNow">true</bool>
Click to expand...
Click to collapse
The bar was present, but it was all grey (and smaller) with no buttons
hastalafiesta said:
The bar was present, but it was all grey (and smaller) with no buttons
Click to expand...
Click to collapse
Haha , so basically Samsung fixed something and managed to some how screw up something else... :laugh:
Sami Kabir said:
Haha , so basically Samsung fixed something and managed to some how screw up something else... :laugh:
Click to expand...
Click to collapse
Yes .-.

[MOD]Android L Softkeys - UPDATED!!

{
"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"
}
Want to have the new Android L softkeys on your phone? Well, now you can!
To have these softkeys, you can download the icons attached to this post and put them into the appropriate drawable-?dpi folder in your decompiled SystemUI.apk.
Or, if you're not comfortable with decompiling apk files, just flash the attached 'Android_L_SoftKeys_Flashable_For_JB.zip' or 'Android_L_SoftKeys_Flashable_For_KK.zip' in CWM (not TWRP).
On JB and the 'Android_L_SoftKeys_Flashable_For_JB.zip' file doesn't work for you? Try the 'Android_L_Softkeys_Flashable_For_JB_2' file instead!
This zip will inject the icons directly into your SystemUI.apk. Which means you won't lose any of the other mods you may have done to it!
Oh, and this zip will make a flashable backup too! Just in case you don't like the changes.
Please note though...this zip will only work on Android 4.1 and above..
(Or, if you use Tickle My Android, why not just let the tool do it for you? I've just updated it with these icons!)
Enjoy!
Updated with a flashable zip!
Thanks
Sent from Xperia T using my fingers ?
Will this work in moto x ?
Thanks mate for the soft keyz.... Pretty awesome...!
Sent from my C6603 using XDA Premium 4 mobile app
i try Android_L_SoftKeys_Flashable.zip but icon not change just only from LTE to 4G but home icon not change
Thepho3nix said:
Will this work in moto x ?
Click to expand...
Click to collapse
In theory. Why not try it and find out?
Nop_Nopworaphan said:
i try Android_L_SoftKeys_Flashable.zip but icon not change just only from LTE to 4G but home icon not change
Click to expand...
Click to collapse
I'm testing something right now which could solve this for you. Watch this space!
I've just updated this thread [iagain[/i]! This time with a much better flashable zip for you all to try out!
Flashed latest version, works but why is the back button not scaling properly?
almostthere said:
Flashed latest version, works but why is the back button not scaling properly?
Click to expand...
Click to collapse
Because you've changed the height of your navbar. You need to edit your navbar.xml and remove the ScaleType attribute from the line that controls the back softkey.
Ticklefish said:
Because you've changed the height of your navbar. You need to edit your navbar.xml and remove the ScaleType attribute from the line that controls the back softkey.
Click to expand...
Click to collapse
I assume this means I would have to decompile SystemUI.apk? Because it was set as is by Criskello ROM
almostthere said:
I assume this means I would have to decompile SystemUI.apk? Because it was set as is by Criskello ROM
Click to expand...
Click to collapse
Yup. If you've never decompiled applications before, it's actually a lot simpler than it may seem.
need help
after flashing flashable zip of jb i got errors and after reboot i can see no change in my softkeys..
do i need to do something else ?
I have same problem. Trying install in 3 different recoveries and no changes on my .230 stock rom.
Om! Lp ChazZ said:
after flashing flashable zip of jb i got errors and after reboot i can see no change in my softkeys..
do i need to do something else ?
Click to expand...
Click to collapse
What error did you get?
mestanr said:
I have same problem. Trying install in 3 different recoveries and no changes on my .230 stock rom.
Click to expand...
Click to collapse
Which recoveries did you use?
Ticklefish said:
What error did you get?
Which recoveries did you use?
Click to expand...
Click to collapse
CWM 6.0.4.6, Philz Recovery and last, i know is not recommended for this - TWRP.
mestanr said:
CWM 6.0.4.6, Philz Recovery and last, i know is not recommended for this - TWRP.
Click to expand...
Click to collapse
Yeah..TWRP won't work. Are you using any themes?
Ticklefish said:
Yeah..TWRP won't work. Are you using any themes?
Click to expand...
Click to collapse
Nothing, only original system theme Air.
mestanr said:
Nothing, only original system theme Air.
Click to expand...
Click to collapse
Curious. Which zip file are you flashing? And what does the recovery say when you do it?
Ticklefish said:
Curious. Which zip file are you flashing? And what does the recovery say when you do it?
Click to expand...
Click to collapse
This:
[ERROR] Impossible to find sdcard
[ERROR] We need this problem solved!
[EXIT] Check and configure UFT.config
At the end only: Installation from sdcard completed.
And flashing KK.zip version from sdcard and sdcard1 and same error.

[Guide / LP 5.1.1] Decompile and recompile your apk (Windows) (Update 10/09)

1) Use Advanced ApkTool v4.1.0 and install it on your computer,
2) Download apktool v2.0.1 and rename it apktool.jar,
2) Replace the old apktool.jar by the new one in 1-BDfreak,
3) Launch Advanced ApkTool, install the framework, decompile your apk, do your modifications, recompile with sign and zipalign,
4) Open your new apk (with winrar for instance) and replace the META-INF folder and androidmanifest.xml by the ones of your old apk.
That's all
thanks..can you tell me what zipalign means and does? because previously i was just doing recompile and sign and i wasnt getting any problems
arismelachrinos said:
thanks..can you tell me what zipalign means and does? because previously i was just doing recompile and sign and i wasnt getting any problems
Click to expand...
Click to collapse
Just google it
zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions. The benefit is a reduction in the amount of RAM consumed when running the application.
Nice guide bro. Btwn signing and zip align is not necessary..
Brothers
Tray AWESOME tool @Ticklefish
Tickle My Android 10.2 - The Best Android Theming Tool...EVER!! by
Its sign app without any problems
I have used this method, but soon as you copy from the original application AndroidManifest.xml that some values do not work. This also limits the modification miozliwosci app
Better use apktool v2.0.0 SnapShot
@Ticklefish again thanks YOU ARE AWESOME
Ambor said:
Brothers
Tray AWESOME tool @Ticklefish
Tickle My Android 10.2 - The Best Android Theming Tool...EVER!! by
Click to expand...
Click to collapse
Thanks bro, I'll try it !!
Yes @Ambor bro.. Just now tried @Ticklefish 's tool with Lolipop.. Its awsom... Loving it..
Everything OK but can't decompile my themes with any of this softwares. I installed framework from my z2's new 5.1.1 still can't decompile. Any solution
Toxizen said:
Everything OK but can't decompile my themes with any of this softwares. I installed framework from my z2's new 5.1.1 still can't decompile. Any solution
Click to expand...
Click to collapse
Are you getting any errors?
Sent from my D5803 using Tapatalk
Ticklefish said:
Are you getting any errors?
Sent from my D5803 using Tapatalk
Click to expand...
Click to collapse
Yes and I also get error while signing too. error 26 or something
Toxizen said:
Yes and I also get error while signing too. error 26 or something
Click to expand...
Click to collapse
If you can share those errors, it'll help solve what the problem is.
Error
Ticklefish said:
If you can share those errors, it'll help solve what the problem is.
Click to expand...
Click to collapse
Sorry for my late reply . I wasn't at home .
{
"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"
}
Toxizen said:
Sorry for my late reply . I wasn't at home .
Click to expand...
Click to collapse
Did you install SemcGenericUxpRes.apk?
Ticklefish said:
Did you install SemcGenericUxpRes.apk?
Click to expand...
Click to collapse
Yes I did everything. But same problem with my themes. But it managed to decompile my Systemui.apk. So I am thinking it might be the problem with my apk file only so I provide it here. Test and let me know why this is happening please.
But nice tool u made.
https://drive.google.com/file/d/0B4TWfrb9-m18anlOT1UtdmlzamM/view?usp=docslist_api
Toxizen said:
Yes I did everything. But same problem with my themes. But it managed to decompile my Systemui.apk. So I am thinking it might be the problem with my apk file only so I provide it here. Test and let me know why this is happening please.
But nice tool u made.
https://drive.google.com/file/d/0B4TWfrb9-m18anlOT1UtdmlzamM/view?usp=docslist_api
Click to expand...
Click to collapse
Oh, you used TMA! I didn't spot it...
I'm having the same problem decompiling your file. Looks like there's a resource that can't be decoded. Sorry about that.
Update 10/09
OP updated for 5.1.1.
nreuge said:
OP updated for 5.1.1.
Click to expand...
Click to collapse
Well i have found TMA is better and amazing.. There is no need to replace anything in apks after recompile. Just recompile apk with same sign option in TMA. Lot of awsom options available in TMA. You should try that mate.. A big thanks to @Ticklefish ma broooooo
Rajeev said:
Well i have found TMA is better and amazing.. There is no need to replace anything in apks after recompile. Just recompile apk with same sign option in TMA. Lot of awsom options available in TMA. You should try that mate.. A big thanks to @Ticklefish ma broooooo
Click to expand...
Click to collapse
Ok my friend, good to know that. I'll try
Thanks !!

APKTOOL scripts for Windows (updated)

{
"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"
}
So, I figured I would share something that I made along with the help of another developer friend @dwitherell
You must have apktool setup in the Windows path to run from anywhere
How it works:
unzip files
copy the scripts folder to the root of c:\
double click compile.reg and decompile.reg, this will add the entries to the registry
You can decompile and compile up to 10 at once. Not sure why its limited to 10.
This is tested working on Windows 10. Please let me know if it works for other versions as I will add that to the description.
Please do NOT ask how to setup apktool, you need to already know that much.
whats included in the zip...
compile.reg
decompile.reg
Maximum level of decompiling raised (V2)
scripts folder containing both .bat files
Download it here
Download V2 with raised level of decompiling here
Now to use it:
On an apk, right click and you will see a new option called Decompile. Select that, then it will decompile it in the folder you currently are
On an already decompiled apk folder, right click and Compile option will appear. Select that and it will compile the apk
Maxed_Apktool.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"MultipleInvokePromptMinimum"=dword:00000999
thanks @Licaon_Kter for the addition.
decompile.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Run script]
@="Run &script"
[HKEY_CLASSES_ROOT\*\shell\Decompile\command]
@="\"C:\\scripts\\decompile2.bat\" \"%1\""
decompile2.bat
Code:
@echo off
set args=%*
setlocal enableDelayedExpansion
set "cmd=!cmdcmdline!"
set "cmd2=!cmd:*%~f0=!"
set "args=!cmd2:~0,-1! "
set "args=!args:* =!"
for %%F in (!args!) do (
if "!!"=="" endlocal
apktool.bat d -f "%%~F"
)
PAUSE
compile.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Run script]
@="Run &script"
[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Compile\command]
@="\"C:\\scripts\\compile.bat\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\Compile\command]
@="\"C:\\scripts\\compile.bat\" \"%1\""
compile.bat
Code:
@echo off
set args=%*
setlocal enableDelayedExpansion
set "cmd=!cmdcmdline!"
set "cmd2=!cmd:*%~f0=!"
set "args=!cmd2:~0,-1! "
set "args=!args:* =!"
for %%F in (!args!) do (
if "!!"=="" endlocal
apktool.bat b -f "%%~F"
)
PAUSE
Awesome I'll have to try this later ?
Great thank you!
Amazing work! Can I recompile an apk which hasnt been decompiled with this method? I've the folder so I can recompile?
I got it set up and running last night, works great! Makes things easier and faster. Just make sure you have apktool up and running correctly first.
DOWNLOADING for further test.. i'll report back later
thanks..
Has.007 said:
Amazing work! Can I recompile an apk which hasnt been decompiled with this method? I've the folder so I can recompile?
Click to expand...
Click to collapse
No, it has to be decompiled to recompile it again.
What is the newest version of APKtool? I found 2.2.2 on the site, but it seems to have issues with the Nougat files for my LG V20.
I've used it on Windows 10 and Ubuntu, same results.
NotATreoFan said:
What is the newest version of APKtool? I found 2.2.2 on the site, but it seems to have issues with the Nougat files for my LG V20.
I've used it on Windows 10 and Ubuntu, same results.
Click to expand...
Click to collapse
https://www.dropbox.com/s/rtv489v0gkfp0y9/apktool2.zip?dl=0
Try that one. It says dirty, but that hasn't affected anything. I got that from somewhere when the v20 first came out.
And its what i am using for my v20 work. So i know that one will work.
cbucz24 said:
https://www.dropbox.com/s/rtv489v0gkfp0y9/apktool2.zip?dl=0
Try that one. It says dirty, but that hasn't affected anything. I got that from somewhere when the v20 first came out.
And its what i am using for my v20 work. So i know that one will work.
Click to expand...
Click to collapse
Thanks! Have you done anything with SystemUI? I ran into issues after modifying it for 3Minit support.
NotATreoFan said:
Thanks! Have you done anything with SystemUI? I ran into issues after modifying it for 3Minit support.
Click to expand...
Click to collapse
I haven't rooted. I ran into some issues so i gave up.
I havent tried any mods.
cbucz24 said:
I haven't rooted. I ran into some issues so i gave up.
I havent tried any mods.
Click to expand...
Click to collapse
Oh OK. I'll give yours a shot and see if it works.
NotATreoFan said:
Oh OK. I'll give yours a shot and see if it works.
Click to expand...
Click to collapse
Ok let me know if you have any issues. I'll try an help
cbucz24 said:
[*]You can decompile and compile up to 10 at once. Not sure why its limited to 10.
Click to expand...
Click to collapse
Try this: https://support.microsoft.com/en-us...hortened-when-more-than-15-files-are-selected and put 999
Licaon_Kter said:
Try this: https://support.microsoft.com/en-us...hortened-when-more-than-15-files-are-selected and put 999
Click to expand...
Click to collapse
Good find. Ill try that and see what happens.
According to the link it should be 15 not 10. I'm not at my pc now to test it.
But it says if you change it to 16, that's Microsoft's unlimited amount.
Maybe i can incorporate that into my registry mods.
Hi all, if this can decompile and re compile, can i change or modify a camera app to support 1440x2560 for lg g3 ? It currently only display well in 1080x1920, so i have to downgrade my display setting. Can someone be kind enough to direct me to which files or folder to begin with and do i have to create or modify some xml code ? Thanks
Jason Looi said:
Hi all, if this can decompile and re compile, can i change or modify a camera app to support 1440x2560 for lg g3 ? It currently only display well in 1080x1920, so i have to downgrade my display setting. Can someone be kind enough to direct me to which files or folder to begin with and do i have to create or modify some xml code ? Thanks
Click to expand...
Click to collapse
You're going to have to search for some camera mods. This can decompile the apk sure. But I've never edited the camera.
Thanks, nice tool.
cbucz24 said:
You're going to have to search for some camera mods. This can decompile the apk sure. But I've never edited the camera.
Click to expand...
Click to collapse
thanks man appreciated it..
cbucz24 said:
Ok let me know if you have any issues. I'll try an help
Click to expand...
Click to collapse
Would you mind taking a look at these decompiled SystemUI APKs? I can compile the US_LG one fine, and also the TMO one. But the ATT one tells me there's missing resources, but all the edits made and files added are identical.

Categories

Resources