[MOD] 36DPI NavBar for OmniROM & How-To - Nexus 5 Themes and Apps

Hey folks,
I'm running OmniROM on my Nexus 5 and was very much missing the option to change the NavBar height from AOKP on my Nexus 4.
I did a feature request for OmniROM but until it will be implented in the future I'm helping my self and wrote a little How-To on my Android 4.4 experiences.
Use at your own risk!
I'm not responsible for what you do on your phone.
If you don't even know how to flash a ZIP stop reading here this goes far more into detail.
Download for
omni-4.4.2-20140224-hammerhead-NIGHTLY
(it can work with newer or older versions too, It changes the framework-res.apk and SystemUI.apk, if they are changed on later nightlies I't will not work)
Screenshot with original 48 DPI NavBar
If you want to make a smaller NavBar by yourself I have made a little 20 Step How-To for you, based on this Guide by APatte111 and using this great Tool by Flextrick
you need AndroidMultitool, Java, Notepad++ and 7-Zip on your PC (this How-To is made for Windows).
(don't forget to add "C:\Program Files (x86)\Java\jre7\bin" (for your Java Runtime) to the PATH Var. in your Windows System Settings)
Here is the How-To:
Folder structure of the AndroidMultitool
GUI of the AndroidMultitool
1. Extract SystemUI.apk (system\priv-app) and framework-res.apk (system\framework) from ROM-ZIP
2. put both original files into a Recovery flashable ZIP, "framework-res.apk" under (system\framework) and "SystemUI.apk" under (system\priv-app) for restoring.
3. Copy both files to the "Files" folder of AndroidMultitool
4. Install Framework in AndroidMultitool
5. Decompile framework-res.apk
6. Go to "decompiled_apk" into "res\values" and open "dimens.xml" with Notepad++
7. Look for the "navigation_bar_height", "navigation_bar_height_landscape" (only matters for tablets) and "navigation_bar_width" entry
8. Change the DPI values to your preferences, for example 36.0dip/36.0dip/32.0dip and Save
9. Take a look into "decompiled_apk\framework-res\res" for folders like "values-mcc310-mnc-1" and delete the "-" in front of the last number it have to be "values-mcc310-mnc1" for compiling without errors.
10. Under compiling choose the folder of the decompiled framework-res "decompiled_apk\framework-res" and click compile
11. Open the new framework-res.apk under "Compiled_apk\framework-res" with 7-Zip and extract the "resources.arsc" file (thats the only one wich includes our changes)
12. Open the Original "framework-res.apk" with 7-Zip and put the resources.arsc into it, apply the overwriting and close 7-Zip
13. Decompile SystemUI.apk
14. Go to "decompiled_apk" into "SystemUI\res\layout" and open "navigation_bar.xml" with Notepad++
15. Search for "@drawable/ic_sysbar_back" and "@drawable/ic_sysbar_back_land" and delete the line " android:scaleType="center" " after it and save.
16. Under compiling choose the folder of the decompiled SystemUI "decompiled_apk\SystemUI" and click compile.
17. Open the original extracted "SystemUI.apk" with 7-Zip and extract the "META-INF" folder and "AndroidManifest.xml"
18. Open the new SystemUI.apk under "Compiled_apk\SystemUI" and insert the "META-INF" folder and "AndroidManifest.xml" file from the original "SystemUI" in it, apply the overwriting and close 7-Zip
19. Put both changed files into a Recovery flashable ZIP, "framework-res.apk" under (system\framework) and "SystemUI.apk" under (system\priv-app)
20. flash the ZIP in recovery and see your changes (if it failes, install your Restore-Zip from 2. and try the steps again)
Have fun with your new NavBar guys :highfive: :victory:
Changelog:
- version updated for OmniROM 4.4.2 20140224 (2014-02-24)
- version updated for OmniROM 4.4.2 20140206 (2014-02-07)
- version updated for OmniROM 4.4.2 20140203 (2014-02-03)
- version updated for OmniROM 4.4.2 20140128 (2014-01-28)
- version updated for OmniROM 4.4.2 20140123 (2014-01-23)
- version updated for OmniROM 4.4.2 20140117 (2014-01-17)
- version updated for OmniROM 4.4.2 20140115 (2014-01-15)
- version updated for OmniROM 4.4.2 20140105 (2014-01-05)
- version updated for OmniROM 4.4.2 20131227 (2013-12-27)
- version updated for OmniROM 4.4.2 20131217 (2013-12-17)
- version updated for OmniROM 4.4.2 20131212 (2013-12-12)
- version updated for OmniROM 4.4.1 20131208 (2013-12-09)
- 20131201 Version works flawless on Nightly 20131204, name changed (2013-12-04)
- version updated for OmniROM 20131201 (2013-12-02)
​

nvm, solved

auggie246 said:
nvm, solved
Click to expand...
Click to collapse
?!

tested on 20131204 and it works fine because there are no changes to SysUi and framework

next update will come after 4.4.1 OmniROM is available

Updated to 4.4.1 (Nightly 20131208)

which file should I modify to CM11? i can't find the string: "@drawable/ic_sysbar_back" and "@drawable/ic_sysbar_back_land" in SystemUI.apk... Can you help me?

[email protected] said:
which file should I modify to CM11? i can't find the string: "@drawable/ic_sysbar_back" and "@drawable/ic_sysbar_back_land" in SystemUI.apk... Can you help me?
Click to expand...
Click to collapse
are you looking in the navigation_bar.xml under the Decompiled "SystemUI\res\layout" folder?
€: OK, I've checked it and it is true there are not such values in CM11 SystemUI, so just try it with just the modified framwork-res.apk and see what happens, if the back button is not awkwardly big all is fine
Edit: - version updated for OmniROM 4.4.2 20131212 (2013-12-12)

No, I tried and does't work

[email protected] said:
No, I tried and does't work
Click to expand...
Click to collapse
Seems like CM is using some different code, and if you just change the values in the "dimens.xml" nothing happens?
€: - version updated for OmniROM 4.4.2 20131217 (2013-12-17)

I tried just changing the values ​​in "dimens.xml" and doesn't change

kabauterman said:
Seems like CM is using some different code, and if you just change the values in the "dimens.xml" nothing happens?
€: - version updated for OmniROM 4.4.2 20131217 (2013-12-17)
Click to expand...
Click to collapse
updated to 20131227

anyone tried if it works with 20140103?
€: Doesn't work, I tried it.
can you please build a new version of your mod for omnirom 2014-01-03?

illnez said:
anyone tried if it works with 20140103?
€: Doesn't work, I tried it.
can you please build a new version of your mod for omnirom 2014-01-03?
Click to expand...
Click to collapse
for 20140105
https://drive.google.com/file/d/0B4ESb_YBhAxIRzhqelFWYmxRNnM/edit?usp=sharing

Thanks kabauterman for this mod.
It works with latest build also omni-4.4.2-20140113-hammerhead-NIGHTLY but with some problems,please can you fix it?
Thanks in advance

micr0g said:
Thanks kabauterman for this mod.
It works with latest build also omni-4.4.2-20140113-hammerhead-NIGHTLY but with some problems,please can you fix it?
Thanks in advance
Click to expand...
Click to collapse
I have made a how-to for all of you wich use a version of Omni I havn't made yet
Now you can find 20130115 in OP :victory:
https://drive.google.com/file/d/0B4ESb_YBhAxIYWZWWkdiX3dYWXM/edit?usp=sharing

20140117 added to OP

20140123 online

You can find 20140128 in Post #1

Pretty cool change to OmniROM, changing the SystemUI if no more needed thanks to the new NavBar changes possible in OmniROM.
And it seem that the framework-res file is still the same then in the last releases. :good:
Post #1 updated

Related

[GUIDE][How-to]Create your Own Custom ROM an easy way

Holla Guys this i am back with a Guide which you would have seen many times on XDA but still were you able to follow them??
And answer is "NO"as they all focus on Android Kitchen which is a big tool but not a wall for blind!! Mark it you will have to use your own sense(Not Htc Sense ) while making a ROM!
But then also i can provide you a Boost Start in Android Development World for Sure
​
This tutorial is specially for
Newcomers to the world of Android
People who want to create their own ROM but unable to do so as it is going over the head
People who did not had any encounters with Programming
Even Experienced One
Click to expand...
Click to collapse
Thanks to
Click to expand...
Click to collapse
dsixda for his ultimate kitchen
lokeshsaini who is the original writer i have just modified it and simplified for better understanding
Neroyoung -For his video tutorials
If i left any one's name PM me
Click to expand...
Click to collapse
Tools Required : (Report me dead links please)
Java JDK Download Link-For Installing Cygwin
(Note: Do not install Cygwin before the JDK!!
Click to expand...
Click to collapse
Android Kitchen Official Thread
Cygwin Link-Linux Terminal on Windows
Apktool/Apkmanager
Notepad++-For editing .xml files
7-Zip-Handy tool
Click to expand...
Click to collapse
Part 1: Installing the JAVA JDK, Cygwin and Setting up the Kitchen.
Code:
*Before you do anything install the java jdk*
watch this video tutorial by gitagaire for how to setup cygwin and kitchen(recommended)
Click to expand...
Click to collapse
INSTRUCTIONS
->Download and extract the cygwin_packages.zip
-
>Run the set up(make sure there is no previous cygwin installation)
{
"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"
}
->when it shows all the package names, go to the top and select "all default" until it changes to "all install" (you must click on the arrows)
->Download the kitchen from above. Then, extract the kitchen's .zip file to a folder under your home account. Rename the dsixda-android-kitchen-*** folder to just "kitchen". In Cygwin, this folder would depend on what was set for your Cygwin install directory, e.g. C:\cygwin\home\John\kitchen
NOTE!! If your user folder contains spaces (e.g. C:\cygwin\home\John Smith\kitchen), then the kitchen will not function properly. Instead, copy it under C:\cygwin\home\kitchen.
->Now your ready to run the kitchen type:
those who have their kitchen like this C:\cygwin\home\John\kitchen use these commands given below
Code:
[COLOR="Sienna"]cd kitchen(enter)[/COLOR]
[COLOR="DarkRed"] ./menu(enter)[/COLOR]
those who have their kitchen like this C:\cygwin\home\kitchen use these commands given below.
If you did things right you should see this:
Click to expand...
Click to collapse
Part 2:Setting up a working folder
THERE ARE TWO METHODS FOR THIS.
1. WHEN YOU HAVE BASE ROM AVAILABLE.
2. WHEN YOU DON'T HAVE BASE ROM.
FIRST METHOD -
->First our folder structure should look like this:
Code:
cygwin folder/home/your user name/kitchen
-> Inside the kitchen it should look like this:
-> Now we need a rom to work on, for KarbonnA5 users i will recommend this rom by ME only but you can use any rom.
-> Just Place the original rom zip in the original_update folder inside the kitchen.
run the cygwin.exe again type:
Code:
cd kitchen(enter)
./menu(enter)
-> Now enter option 1, enter again. You should see your rom listed, choose and enter
you will be asked about changing the working folders name, at this point it makes no difference so just continue.
congratulations you have a working folder!!!
Second METHOD -it is almost like ROM Dumping works on any device!
-> FIRST MAKE A WORKING FOLDER IN CYGWIN FOLDER
IT SHOULD LOOK LIKE THIS
cygwin folder/home/your user name/kitchen/WORKING_(your rom name)
Click to expand...
Click to collapse
NOTE: FOR THIS MEETHOD WE NEED 3 FILES AND FOLDERS TO BE PLACED IN WORKING FOLDER.
1. META-INF FOLDER - GET THIS FROM DOWNLOAD FILES LIST IN FIRST POST
2. SYSTEM FOLDER - TUTORIAL BELOW
3. BOOT.IMG - TUTORIAL BELOW
2. getting system folder
(NOTE - Rooted phone required!!)
This is universal method and can be done easily using terminal emulator.
For this simply download Terminal Emulator from Android Market.
we need freshly flashed device here. OTHERWISE YOU WILL HAVE LOT OF JUNK FILES.
Open it and type:
Code:
su
tar -c system/* >> sdcard/system.tar
This will copy all your /system folder to your SDcard with name System.tar
This will take some time to finish so be patient.
After it's done you should have a tar file in your /sdcard named system.tar
You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)
/etc
/fonts
/framework
/lib
/lost-found
/media
/sd
/usr
/xbin
build.prop
Click to expand...
Click to collapse
-> Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them.
And the final files that we will have in our system folders will be
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Click to expand...
Click to collapse
NOW COPY THIS system FOLDER TO WORKING FOLDER
3. getting boot.img
Here we have 2 options
1. stock boot.img from stock rom - simple kernel which we get in brand new mobile.
2. custom boot.img from custom kernel - kernel which are modified for overclock or other features
1. getting stock boot.img from stock rom.
extract your stock rom with winrar or 7zip. you will see boot.img there. copy it to working folder
2. getting custom boot.img from custom kernel.
download any custom kernel which is only for your device.
extract it with winrar or 7zip and copy boot.img to working folder
NOTE: many of new devices have kernel.bin and other files instead of boot.img so skip this part if your device don't have it...
Click to expand...
Click to collapse
​
Part 3 :Change/modify/update rom
YOU CAN MODIFY YOUR ROM IN TWO STEPS:
[*] MODIFY USING ANDROID KITCHEN - for basic modification.
[*] MODIFY MANUALLY. - for advanced modification.
Click to expand...
Click to collapse
2. MODIFYING MANUALLY.
Check this Guide for some MODs like center clock,CRT animation, ics and jelly bean style mods etc...
Adding/removing applications
1. Go to the working folder where you extracted your rom, inside you will find:
OR
2. Then go to "system/app" inside this folder you will find all the rom applications(apks) you may also find some in the data folder if your rom has this folder.
3. Copy, replace, and change any app(apk) be carefull if you dont know what the apk is do not delete!!
LIST OF APPS YOU CAN DELETE - HERE OR HERE
If you can not find some apps in this guide then try opening all those app in your phone and see app name and icon or move those apps from system/app to sdcard and see what is not working...
Adding new boot animation
android kitchen doesn't works for my Karbonn A5 . So we need a different method.
1) Download and extract the bootanimation and samsungani file from Custom Booting.zip attached in first post.
2) Put them in the /system/bin folder and replace the existing files there
3) Now download any boot animation, and rename the bootanimation to “sanim.zip”.
4) Now, navigate to /system/media and replace the “ODEanim” with “sanim.zip”
You are done with the bootanimation change
Edit the gps script for your country/location
1. In the workingfolder/system/etc/ you will find a file named gps.conf, you can
edit this file with notepad++ or even word.
2. using the right gps script in this file can speed up gps lock, you can
find some from angeldeath, download extract and replace the gps.conf.
Adding ringtones :
Take your ringtone file...it should be in .ogg format..If not then convert it to .ogg..
Locate to the folder system>media>audio>ringtones>
Copy and paste your .ogg files here in ringtones folder..
You can also change notifications, alarm and UI tones like this..
Changing the Fonts :
Take your desired font.ttf file and rename it as DroidSans.ttf..
Locate to the folder system>fonts>
Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
To change the lock screen clock font...replace the Clocktopia.ttf with your desired one..(rename first)..
build.prop tweaks!!
check this or this or this post for build.prop
NOTE: EDIT BUILD.PROP WITH NOTEPAD++. SIMPLE NOTEPAD WILL CORRUPT THE FILE.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Part-4 Theming Your ROM
Via UOT Kitchen
Apex said:
Credit to Jermaine151​
Click to expand...
Click to collapse
​
Deaaling with .9 pngs
Here neroyoung will teach you how to deal with the pngs ening with .9 extension
Click to expand...
Click to collapse
Some Great and simple Guides
All things needed theming thread by theimpaler747
Theming .apk byAndrewtst
How to make "basic" theming mods + .9.png tutorial by dully79
Cooking with UOT Kitchen by Apex
[GUIDE]Theming Guide for changing system text settings(Recommended)
[TUTORIAL][ICS][GB]How to change Android's black background(By me)(recommeded)
[Tutorial]-ICS-AOKP/CM9-UPDATED-Miscellaneous MODS[Nav bar,Notification header etc](most recommeded)​
MORE ADVANCE MODIFICATION (starters for beginners)
editing .apk files
THERE ARE TWO BEST TOOLS FOR EDITING .APK FILES
1. APKTOOLS
This video by neroyoung teaches you how to setup APKTOOL folder as well as teaches you how to edit .apk files
2. APK Manager
this video by adgoosuc teaches you How to unpack,repack and sign an APK File with APK Manager
Editing .JAR Files
In this video by neroyoung you will get information on how to edit .jar files like services.jar using APKTOOL
How to integrate an app in settings(recommended)
Thread Junction
adding mods and scripts...
download mods and scripts from links below and copy past all files in same folder as your rom... like for init.d scripts add them to system/etc/init.d/here and all permissions in updater script to your updater script...(dont forget to give them credit for it...)
links:-
Tweaks
[TweakZV6] Init.d best tweaks[Flashable] Increase your performance by [email protected]
Collection build.prop; init.d; etc. by optik19918
init.d Tweaks collection by dsexton702
[SCRIPTS][TWEAKS][CWM]SlaidyBoost-V2.3 by slaid480
[CWM][SCRIPTS][TWEAKS] Adrenaline™ Engine by ImbaWind
V6 SuperCharger by zeppelinrox
[SCRIPTS]CronMod-A2SD/D2EXT/INT2EXT by croniccorey
Maximum MultiTasking Mods + V6 SuperCharger BY zeppelinrox
All in one tweaks build.prop,init.d,Wifi,Xloud,Bravia,A-Gps,A/V Sync,Modules by XtremePeople
Xloud and Bravia engine by aiman112
Sound/Audio MODs
AwesomeBEATS™ v.3 by ...Awesome...
(MOD)Beats Audio(2.3+up) by RockoDev
Tuned MegaBassBeat by kurotsugi
[AROMA] Beats Mode - Enhanced Beats sound V7.5 by MemAllocatoR
Miscellaneous Tweaks
Interactive Phone Modification [GUIDE]
ICS Style 'Settings.apk' - Make it yourself by balamu96m
StatusBar Tweaks by Master&Slave™
Change lockrings on any rom by daveyannihilation
change ICS lockscreen animation to Honeycomb style by evilisto
S Voice for any devices [ICS] by PlaYOuT
Implement Swipe to Remove Notification by hansip87
Remove SMS log from Call log by wilfredcool007
Activate the rotation of the lockscreen by GalaxyUser
Add 6 lockscreens Mod + Lockscreen Gestures by pratyush.creed
How to add customizable 14 statusbar toggle buttons for samsung ROM by lidroid
Create a custom notification dropdown by jeffsanace
One Click odexing for better RAM Speed
these are few i love, find more yourself...
MORE WILL BE ADDED SOON...
Click to expand...
Click to collapse
Few Guides
Xposed - ROM modding without modifying APKs/flashing
.
Compiling CWM Recovery
.
Compiling TWRP Recovery
.
Building Kernels and Android Sources
.
Porting ARM V7 Roms to ARM V6
.
Porting MIUI with JB/ICS
.
Porting Jelly Bean( A few Assists)
.
Dev Basics Collection
.
MIUI v4
.
MIUI v4 Updated- Different and Noob Friendly
.
Sense UI
.
Making a Flashable Package (Update.zip)
.
Making a CWM Flashable Zip
.
Complete Android ROM development and essential tutorials
.
Re-Odexing a ROM
.
Porting AOSP ICS ROMs
.
Compiling CM9 on Mac-OSX Lion
.
MIUI (Source GB)
.
Create your own De-Bloat Tool
.
Porting LewaOS,JoyOS for Noobs
.
UOT Kitchen Guide
.
Making your Own Custom ROM
.
Unpack or Repack an APK
.
Building your first KERNEL
.
Compile JB on Ubuntu
.
DEODEXing Stock ODEXED ROM
.
[GUIDE]How to use AROMA Installer on any ROM/Device|NOOB Friendly|
.
[Guide][How To] Adding Brightness Bar Slider to Status Bar
.
[Guide] Jellybean navigation layout for CM7 ROM
.
[GUIDE] How to add TABS to Settings with swipe gesture
.
[DEV][TOOL] Android Image Kitchen - Unpack/Repack Kernel/Recovery + ramdisk
.
[EASIEST WAY ROM DUMP] ROM dumping method for any phone
.
How to use GitHub
Other Modding and Theming:
Remap Hardware Button to ICS Recent Apps
.
Create GB Dictionary for your Language
.
ICS Recent Apps Button/Softkeys to Status Bar
.
Smooth Scrolling and Volume Increase
.
Re-Odexing a ROM
.
How to LogCat
.
Convert .jar to .apk
.
Setting up Android Dev Environment in Ubuntu 11.10
.
Modifying APK Files
.
Modifying APK files - Another Method
CREDITS:
Credits to the Original Developers/Writers for posting this stuff.
I am just linking it to their threads, all credits go to them.
NOTE:
If you find any other Topic that maybe useful, Post it in comments, so that We can make a huge thread of Guides.
THANK YOU ALL:
I Thank you all for referring to this.. I have just searched a bit and though making a thread would be useful. I am really Happy that it helped many of you!! Will keep adding!!
Click to expand...
Click to collapse
Last but the not the least: repackage the rom
AFTER YOU HAVE DONE ALL CHANGE/MODIFICATION YOU WANTED OPEN CYGWIN AGAIN AND TYPE
now convert update script to updater script(in option 23)
now lets edit updater script(optional)
the updater-script basically tells CWM what steps to take during the installation(flashing rom).
If you don't have any experience please don't edit anything other than what is in this simple tutorial.
TO EDIT UPDATER SCRIPT -
1.Go to META-INF/com/google/android
2.Open the updater-scrip file with Notepad++
3.Any text that would appear during the CWM install should be in this format :
Code:
ui_print("Put your text in HERE");
Add your text start at top and save,
then replace with new updater-scrip
Add New Aroma Installer to your ROMLink to Guide(By Me only)
AND AT LAST
[*]Now that you have made some changes it's time to pack the rom and test!!
Run the cygwin and type
enter option 99 - "biuld rom from working folder"
Choose your build option and few more enters
I recommend that you go with all default options until you get more experience with the kitchen.
When rom is packed and signed it will ask to change rom zip name (type name of your rom)
When its all done you will find a folder inside "cygwin/home/yousername/kitchen" called output_zip
Inside the folder is your new rom ready to be flashed and tested!!!
IF YOU WANT THAN YOU CAN MAKE CWM FLASH ABLE ZIP'S MANUALLY USE THIS TOOL BY I.AM.H3RO
congratulations you have build your own rom
TROUBLESHOOTING
If you are facing java related problem with cygwin than refer post #8
If you have a rom without kernel then remove these lines:
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
If there is a package error then extract the files of the rom and repack them using any compression software.
If rom installed correctly but stuck onto logo screen?? Then remove try removing kernel and flashing rom again.
If rom installed correctly but got onto bootloop then there could be many possibilities which could lead to this. If you want accurate cause of it then do a logcat.
If there are some apk's which are not working then check if you correctly modded them.
Now what do you want more in a thread
Just Press thanks button and rate the thread 5 Stars and Show your Appreciation :highfive:​
Well you beat me to it,i was contemplating wether or not i should do this,hahaha,very nice,i see your not finished yet,if you need any help,pm me,i have been using the kitchen for a couple of years now.I've learned a few tricks you can do with the kitchen.
Re: [UltimateGUIDE][How-to]Create your Own Custom ROM an easy way|Android Secrets -_-
You have done that like a boss..8|
Sent from my Karbonn A5 using xda premium
shreyans4020 said:
You have done that like a boss..8|
Sent from my Karbonn A5 using xda premium
Click to expand...
Click to collapse
hehehehe thank you
good
epic guide bro..
sahil11 said:
epic guide bro..
Click to expand...
Click to collapse
Press thanks button+ Rate the thread also
Thread cleaned
Discussions of the sort I just removed from this thread need to take place privately. Very little will get accomplished when they get posted on the forum. The primaries need to take this to PM and send me a message when an agreement has been reached.
An excellent piece of work...Awesome
coolbud012 said:
An excellent piece of work...Awesome
Click to expand...
Click to collapse
And if you ever gets confused post here and i will do my best to solve it
Diablo67 said:
Well you beat me to it,i was contemplating wether or not i should do this,hahaha,very nice,i see your not finished yet,if you need any help,pm me,i have been using the kitchen for a couple of years now.I've learned a few tricks you can do with the kitchen.
Click to expand...
Click to collapse
u can share you New Stuffs which u learning from Kitchen here too if you can Plz
hello, congratulations for the very detailed but the last step guide tells me that java is not installed, I installed java jdk 7u17. How can I fix?
I already tried reinstalling java but no change, here is a photo of the error https://pbs.twimg.com/media/BGcGYNOCIAAy4bk.jpg:large
EDIT: I solved, on Windows 8 64bit, java jdk is installed in x86 version, I had downloaded the x64 version. Now it works
Thanks for the guide, its great! But I have a problem, everytime I compile the zip I have a status 6 error, what do I have to edit with notepad++ in the update-script to make it work? Its quite frustrating xD And its already in Unix code ^^

[05.23.14][TOOL] APK Tools v3.50 [Windows][GUI]

APK Tools --
"A complete fresh tool developed from scratch; inspired by existing tools available out there."
INFO: Pushed to GitHub
SCREENSHOTS​
Requirements:
Java JDK/JRE
Android SDK
BRAIN! ^_^
Features:
Faster and easier APK handling (GUI Version) -- supports drag and drop file; access files anywhere
All-in-one (ADB Push/Pull, Extract, Optimize, Zip, Sign, Zipalign, Install, Decompile, Compile...)
Based on latest available tools
Great user interaction; less prone to errors (More information and warning during operation)
Works everytime and anywhere (No problem with paths and filename containing spaces or weird characters)
Log activities with time stamp and use date as log filename
Install and use of framework with custom tags
Generate and sign APKs with own private key (Android market supported)
Switch between apktool versions (2.0.0b9 & 1.5.2)
Many more . . . Check for yourself! ;D
To Do:
Log activities with time and date headers - Done
Install framework with custom tags - Done
Generate own private key with android market support - Done
Sign APKs with the generated private key - Done
GUI version with drop file support - Done
Switch between APKTOOL versions - Done
Post a feature request or suggestion here.​
Instructions:
Extract "APK Tool v#.##.zip"
Execute "APK Tools.exe"
Necessary files and folders are installed automatically every launch if not found.
Place APKs to be modded inside "APK Files" folder.
All extracted or decompiled APKs are found in "Projects" folder.
Generated private keys are located in "OUTPUT" folder.
Zipped, signed, zipaligned and/or compiled projects are found in "OUTPUT" folder.
Zipped/Compiled with Original Signature => system-%Project%
Zipped/Compiled with No Signature => unsigned-%Project%
Signed with Generated Private Keys => gpsigned-%Project%
Signed with Android Market => amsigned-%Project%
Signed with Test Keys => signed-%Project%
Click to expand...
Click to collapse
* Testers would be much appreciated to keep the tool stable.
** If possible, post full info regarding bugs encountered here.
*** Let's try to fix issues / errors ASAP. THANKS!!!
DOWNLOADS:
Direct (XDA)
Mirror v1.00 (MediaFire)
Mirror v1.50 (MediaFire)
Mirror v2.00 (MediaFire)
Mirror v3.00 (MediaFire)
Mirror v3.50 (MediaFire)
Rate and post a review here.​
CREDITS:
Google for Overall HELP and Android Tools
Brut.all / iBotPeaches for apktool
jesusfreke for smali/backsmali
deanlee3 for roptipng
Igor Pavlov for 7zip
Yorzua for signapk
XDA:DevDB Information
APK Tools (GUI Version), Tool/Utility for the Android General
Contributors
kermage
Source Code: https://github.com/kermage/APK-Tools
Version Information
Status: Stable
Current Stable Version: 3.50
Stable Release Date: 2014-05-23
Created 2014-04-27
Last Updated 2015-08-01
Changelogs
v3.50 ( 05/23/14 )
GUI fixes and adjustments
Fixed ADB push and pull locations
Fixed Compile option not signing original signature
Added option to copy over original files after compile
Added ADB install option
v3.00 ( 05/21/14 )
GUI version (faster and easier handling) -- supports drag and drop file
Access files anywhere (not limited to APK Files folder)
Switch between apktool versions (2.0.0b9 & 1.5.2)
Improved error detection and logging capability
Multiple tweaks and rework to codes
v2.00 ( 05/07/14 )
Generate own private key with android market support
Sign APKs with the generated private key
More tweaks and fixes to code
Improved launcher script
v1.50 ( 05/03/14 )
Log activities with time stamp and use date as log filename
Install and use of framework with custom tags
Minor tweaks and fixes to code
v1.00 ( 04/27/14 )
Initial release
FAQ
-RESERVED-
just about to try this out
thanks alot :highfive:
Er. Aditya said:
just about to try this out
thanks alot :highfive:
Click to expand...
Click to collapse
will be glad to hear a feedback..
this my friend is a superb tool , really really easy to use and a must for the newbies.... thanks alot for the tool , il just add this to my signature to spread the word
Er. Aditya said:
this my friend is a superb tool , really really easy to use and a must for the newbies.... thanks alot for the tool , il just add this to my signature to spread the word
Click to expand...
Click to collapse
:good: THANKS MATE! :highfive:
kermage said:
:good: THANKS MATE! :highfive:
Click to expand...
Click to collapse
il keep testing more and will let you know
Er. Aditya said:
il keep testing more and will let you know
Click to expand...
Click to collapse
You just made my day... -signature :good:
Very great tool simple and easy to use definitely noob friendly thanks man found a sort of bug maybe a typo but when you set decompile mode to sources it decompiled the resources instead. same goes for when you set decompile mode to resources it will decompile sources instead.
Sent from my Moto G using XDA Premium 4 mobile app
Omar1c said:
Very great tool simple and easy to use definitely noob friendly thanks man found a sort of bug maybe a typo but when you set decompile mode to sources it decompiled the resources instead. same goes for when you set decompile mode to resources it will decompile sources instead.
Sent from my Moto G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I will check this..thanks :good:
Update
Got it, already fixed the bug
Redownload "APK Tools.zip", delete existing "tools" folder, then execute "Launcher.exe".
Click to expand...
Click to collapse
Thanks, not tried it yet but will add a link to it in my guide.
Easy as it gets, nice work, test went well for me.....thank you for this, it will make it easier for sure....great work!!!:good::good:
XperienceD said:
Thanks, not tried it yet but will add a link to it in my guide.
Click to expand...
Click to collapse
that would be great!.. thanks :good:
So much thanks man. This is exactly what I need. I am following the post.
hai @kermage.. Glad to see apk tool thread with up to date post from the maker..
but lil bit problem occuring to me..
how to operate this tool..
I cant even installing framework. It says error. Whereas "APK tools" folder have been moved to C:/Windows/ directory.. (Before I move it into windows dir, the launcher even continously says "APK files folder EMPTY, although obviously I have put some files there)
I've try the latest apktool 2.0.0 beta9
It works with apk that need multiple dependencies (in my case, Xperia SP FW .201, using framework-res.apk & semcgenericuxpres.apk)
it suceed to decompile. But I get an error "PathNotFound apktool.yml" while recompile..
thanks in advance
UPDATE!
APK Tools v1.50
Changelog:
Log activities with time stamp and use date as log filename
Install and use of framework with custom tags
Minor tweaks and fixes to code
DOWNLOADS:
Direct (XDA)
Mirror (MediaFire)
Instructions:
Extract "APK Tool v1.50.zip"
Execute "Launcher.exe"
nasroed said:
how to operate this tool..
Click to expand...
Click to collapse
Extract the downloaded ZIP file anywhere you want.
Execute the Launcher.exe. (necessary files and folders will be installed automatically.)
Select a task by entering the option number. Play around.
nasroed said:
I cant even installing framework. It says error. Whereas "APK tools" folder have been moved to C:/Windows/ directory.. (Before I move it into windows dir, the launcher even continously says "APK files folder EMPTY, although obviously I have put some files there)
Click to expand...
Click to collapse
You dont need to move any folders created by the APK Tools Launcher (APK Files, Logs, Projects, OUTPUT).
This is weird, the tool should list all .apk files found under "APK Files" folder. (even filename containing spaces or weird characters)
nasroed said:
I've try the latest apktool 2.0.0 beta9
It works with apk that need multiple dependencies (in my case, Xperia SP FW .201, using framework-res.apk & semcgenericuxpres.apk)
it suceed to decompile. But I get an error "PathNotFound apktool.yml" while recompile..
Click to expand...
Click to collapse
Try to install frameworks and decode again, then check if the apktool.yml file exist in "Projects" folder.
If NOT, then it is not SUCCESSFULLY decompiled and you should import all the needed frameworks.
Or is it already a modified/themed app?
If YES, you should try to decompile the stock app. It's almost impossible to work with already themed/modified app
UPDATE!
APK Tools v2.00
Changelog:
Generate own private key with android market support
Sign APKs with the generated private key
More tweaks and fixes to code
Improved launcher script
DOWNLOADS:
Direct (XDA)
Mirror (MediaFire)
Instructions:
Extract "APK Tool v2.00.zip"
Execute "APK Tools.exe"
Once again im late to the party
This is AWESOME my man and THANK YOU!!!
I just saw it and got really excited and i will take it for a test drive
I cant even express how much I appreciate the peole who create tools for us!!
You are the real heroes behind most of us "devs" :good::good:

[Q] HELP-Decompiling/Compiling/Signing SETTINGS.APK

Hello developers,
Firstly i've been through all the APKTools and set-up guides to build the required environment for editing/theme my "Settings.apk".
After having tried all tuts i decompiled it succesfully and edited some .xml files unto my knowledge and also have created a signature of my own. Everything went well but ultimately now i cant Re-compile. Though i succeeded once and when pushed it to my "/system/priv-app" i got "FCs". Am not linking any Tut-thread here coz there are many. I found "7zip" very handy to zip-out the apk otherwise.
I would really be thankful if anyone can assist me with this. Thanks. Details mentioned underneath:
Device: Samsung Galaxy S3 - GTi9300
Recovery: Philz Touch 6.0.xxx (KitKat Compatible)
ROM: Dirty Unicorns v8.1 (KK 4.4.4)
Kernel: Rom's stock
Edit: Just to give some idea otherwise done much... Tried this: http://forum.xda-developers.com/galaxy-s3/development/rom-dirty-unicorns-4-4-2-t2637728
Edit2: Just tried to unzip the apk with 7zip, it did and got all the folders but its just that the "Notepad++" program i use to edit the .xml files with doesn't read them, as in if unzipped with any zipper program. My bad

How to make a 4-Way / 5-Way Reboot MOD on Android 5.0 Lollipop? Need Help!

Hi!
I need help for a Reboot MOD for the Samsung S5 G900F with the new Android 5.0 Lollipop Firmware (BNL9).
I have allready make this MODs for other Devices and Android Versions (4.1.2 / 4.2.2 / 4.4.2) and all works, but nothing is working in the G900F with Lollipop.
So i try this Guides:
http://forum.xda-developers.com/showthread.php?t=1573032
and
http://forum.xda-developers.com/galaxy-note-3/development/dev-tw-lollipop-torch-5way-reboot-t2997748
My Posts: http://forum.xda-developers.com/gal...tw-lollipop-torch-5way-reboot-t2997748/page22 and the follow parts...
But nothing is working.... if i replace the android.policy.jar it is nothing change in the System. With a ZIP over Custom Recovery with wipe cache but also nothing is changed. I can delete the android.polica.jar and nothing change in system
If i check on Reboot Menu "Reboot" it comes the normal Screen with "Yes" or "No" but not the Reboot MOD.
Here are my files (Stock and modded) Download
The files deodexed with this Tool http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857 (Only android.policy.jar is deodexed)
have u tried xposed?
it has option to enable 4-ways like soft reboot,reboot recovery etc.
check it out
First i do not like Xposed because i want to make it my self and second... Xposed is not working on Android 5.0 Lollipop at the Moment.
So i need to make it in the Code Section without Xposed.
make your own mod then
You can't use deodexed framework on Odexed system/
Simply pushing deodexed file and removing correcsponding .odex is true only in case of apk NOT jar
So if you want to use it on Odexed version you have to reodexed that modified jar and have to replace both files. Again I don't know on your device S5 any reOdexing script working or not. If you want to test your jar is properly modified or not then jst test on any DeOdexed ROM.
Okay thank you @dr.ketan for this explanation.
But i have look in the Original Files and i see that the android.policy.jar don´t have a *.odex File.
My misstake that i wrote that i delete the *.odex file. I have test and do so much :silly: sorry.
So it is then the same Issue? Because the only changes i make are in the android.policy.jar
Yeah lollipop doesn't have Android. Policy. Odex but it's hidden and that's why it doesn't make any difference when you replacing deodexed Android.policy jar
Because hidden odex part is still there and which is responsible for normal view of reboot menu.
If you have did same with any other jar which have odex part and you have removed odex and pushed deodexed file, likely system wouldn't have booted.
Sent from my SM-N910G using xda premium
Ok thanks again.
Now i must deodex all files in the folder app, framework and priv-app then it must work?
Lollipop is a great Version but very difficult to mod and many too learn new.
there are several mods already
http://forum.xda-developers.com/galaxy-s5/development/mod-translatable-4-reboot-outsource-t2835432
http://forum.xda-developers.com/galaxy-note-3/development/dev-tw-lollipop-torch-5way-reboot-t2997748
deleted
Darkman said:
Hi!
I need help for a Reboot MOD for the Samsung S5 G900F with the new Android 5.0 Lollipop Firmware (BNL9).
I have allready make this MODs for other Devices and Android Versions (4.1.2 / 4.2.2 / 4.4.2) and all works, but nothing is working in the G900F with Lollipop.
So i try this Guides:
http://forum.xda-developers.com/showthread.php?t=1573032
and
http://forum.xda-developers.com/galaxy-note-3/development/dev-tw-lollipop-torch-5way-reboot-t2997748
My Posts: http://forum.xda-developers.com/gal...tw-lollipop-torch-5way-reboot-t2997748/page22 and the follow parts...
But nothing is working.... if i replace the android.policy.jar it is nothing change in the System. With a ZIP over Custom Recovery with wipe cache but also nothing is changed. I can delete the android.polica.jar and nothing change in system
If i check on Reboot Menu "Reboot" it comes the normal Screen with "Yes" or "No" but not the Reboot MOD.
Here are my files (Stock and modded) Download
The files deodexed with this Tool http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857 (Only android.policy.jar is deodexed)
Click to expand...
Click to collapse
hi buddy, I have the same problem, can you help and share with me the solution?
https://forum.xda-developers.com/attachment.php?attachmentid=4307358&stc=1&d=1508394148

[Guide] 3Min Battery Mod(Step By Step Instructions) using BatchApkTool

Hi guys, i really love the 3Min battery Mod from @gharrington Tyvm bro. There is a lot of threads of how to make it yourself but i think most of them are not too detailed and cover everything. So since i use these instructions my self i thought of sharing them in case someone may benefit from it.
Preparation: :
1. Download the latest BatchApkTool .
2. Tools needed and how to extract System.img.
3. Recommended tools needed: Notepad ++, 7zip or Winrar
Instructions::
A.
1. Download the latest BatchApkTool unzip it and move the need files to their designated folders explained in the next step.
2. We need to get SystemUI folder and framework folder(Inside it Framework_res.apk and arm64 folder is needed) either from a System.img in that case use the guide in the preparation section on how to extract it or import them from your device using any file manager with root.
3. Put SystemUI folder in _priv-app folder, and framework folder in to _framework folder.
B.
Open BatchApkTool select your language make sure that all the settings match your rom, enter the following numbers for changes:
83. Smali(By default it's the latest "2.2 latest when writing this" so just check it in case)
84. Api level: ------------- select 23( for Marshmallow)
85. Apktool(By default it's the latest stable version "it was 2.2.0 when writing this" just make sure it is)
C.
1. Under Smali section select '01 Deodex all apks and jars'(In case your rom isn't deodexed yet if it is skip this step). If your rom is stock then your SystemUi.apk needs to be deodexed for this to work. (For Nexus 6p select Arm64 when asked)
2.Under Smali section select '02' to move the deodexed files to _Input_Apk folder.
*Make a backup of META-INF folder and AndroidManifest.xml after extracting them from the deodexed SystemUI.apk file using Winrar or 7zip.
3.Under ApkTool section select '1' to decompile Apks.
4. After that go to _Input_Apk folder and open the decompiled SystemUI folder, navigate to res/layout/system_icons.xml and open with notepad ++
5. Find:
Code:
android:layout_width="9.5dip"
and
Code:
android:layout_height="14.5dip"
Note: These values may not be an exact match, doesn't matter
Change both values to
Code:
android:layout_width="0.0dip"
and
Code:
android:layout_height="0.0dip"
6. Hit enter and directly underneath that line add the following:
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
7. Save your work and close notepad ++
8. You now need to navigate to smali/com/android/systemui/statusbar/policy folder
** Download the latest Modfiles package(3MinitBatterySettings, MinitBatteryResources, 3 Smali files) needed from here or main website.
9. Copy the 3 smali files(files that end with .smali) into that policy folder.
10. Time to recompile the SystemUI.apk. Under ApkTool section select '3 recompile apks' in Batchapktool.
11. Once recompiling of SystemUI.apk is complete go to it in _OUT_APK you will find it there, open it with 7zip or Winrar and Don't Extract.
12. Delete META-INF folder and AndroidManifest.xml from newly recompiled SystemUI.apk and replace them with the original backup we took in step C.2.
13. Download the 3MinitBattery_Template1.zip(will remove original SystemUi.apk and replace it) or 3Minit_Battery_Template2.zip(Will not remove the original SystemUi.apk and will leave it for you to remove it manually in case you want to back it up).
14. Use one of the template zips then open it don't extract it just open it with Winrar or 7zip and drop 3MinitBatterySettings, MinitBatteryResources that we got in step C.8 to their respective folders in the zip file. Drop the newly recompiled SystemUI.apk to SystemUI folder if you choose template 1 and if you choose template 2 put it in priv-app folder.
P.s: If you choose template 2 after flashing it go to system/priv-app/SystemUI folder in your device and with any file manger with root delete SystemUi.apk after you back it up to where ever you choose then reboot the device.
15. After this make a backup of your rom and flash the zip.
16. To use 3minBattery app open it and choose your customization then reboot you should see the changes after that. Good luck! :good:
Credits go to:
- @gharrington for his Mod&Guide.
- bursoft for Batch ApkTool.
- @bdorr1105 for his Thread.
- https://androidmtk.com for the Guide&Tools.
Awesome tutorial.. I am looking to add it into a modified stock rom for a Samsung tablet that I have.. Do you know of any easy to follow tutorials for that? i am very new to this part of android..lol.. i am usually on the flashing end and now i am trying to help out for this tab because it has no custom roms until mine. Again, awesome tutorial.
glockman4519 said:
Awesome tutorial.. I am looking to add it into a modified stock rom for a Samsung tablet that I have.. Do you know of any easy to follow tutorials for that? i am very new to this part of android..lol.. i am usually on the flashing end and now i am trying to help out for this tab because it has no custom roms until mine. Again, awesome tutorial.
Click to expand...
Click to collapse
Ty much appreciated. It has been a while since I created this thread since then I have stopped using this mod because it's kind of a headache to do it for every update add to that since Google already enabled the battery percentage inside the battery there was no need any more for the mod. Anyway it's still great to be able to change from time to time. Regarding the tutorial I am sorry to say I haven't tried to create a custom ROM so I can't help you much with that but I am sure there are a lot of tutorials but will require some time to search. Good luck with your project.

Categories

Resources