Hi guys,
Here is third version of my ROM Tools PC Version (Automatic decompile classes.dex file to edit smali content) exclusively for Galaxy Y and Galaxy Ace I
Why it is here now? Because it may be the case that this version only works on Gingerbread, or only on Galaxy Devices or maybe only on Ace and Y. So, I decided to release it here first.
Totally tested for every feature and bug free, it is now loaded with new awesome features.
Screenshot:
{
"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"
}
Changelog :
Code:
Version 3
8 May 2013
-Added many new features
-Option to reboot
-Option to recovery
-Option to Hot Reboot
-Option to view and save logcat with nice integration of verbose and long command
-Option to fix permissions
-Option to RESET PASSWORD of pattern lock or passwork or pin
-Added a small Easter egg
Version 2
18 April 2013
- Changed it from a script to multi tool
- Added folders for convenience
- Made eye candy
- Made it noob proof
- It's like changing Baichung Bhutiya to Lionel Messi
Version 1
- Just one smali.bat file and one baksmali.bat file with one one line each of commands to Baksmaling and Smaling (duh!)
PHP:
I am not responsible for your device being dead,
you flashing stock ROM,
you using your device as a brick,
or the decrease in love of your Girlfriend because you use your mobile so much
What does it do?
As you are aware, there are smali files in jar files and apks you need to edit for adding 4-way boot into power menu, extending Power options, changing clock colour, adding CRT effect, changing the pop up that comes up when you touch the easter egg image, adding brightness slidebar, adding lidroid toggles, etc and so manyyyy things
In order to edit them, you need to decompile apk and classes.dex
It is not a problem in editing smali files of apk as they are decompiled itself by APK-Multitool(I use it)
But, it does not work for jar files
I know that there is smali.jar and baksmali.jar for it but I don't like repeatedly commading same operations when I can do it with one click
This program decompiles and recompiles classes.dex from any jar or apk in one click(very useful when you only need to decompile dex file only)
However, it's main objective is to recompile and decompile classes.dex only, but I added few more option to make it really a full fledged ROM Tool
Expect a few more features in upcoming releases
Pre-Requisites:-
*PC
*My Tool
*Java JDK(or JRE) (If you are running Windows 7 64 bit, you may need to add Java in environment variable)
*7-Zip (For in zip operations[pull out classes.dex])
*classes.dex file(on which you will operate)
*Android Phone to be connected to PC with USB Debugging on to use features other than decompiling and recompiling
Guide:-
Main Options
1. Download my Tool.
2. Extract it in any folder.
3. Place classes.dex in the input folder. DO NOT RENAME IT.
4. Run script.bat. Choose Option 1, Decompile classes.dex . In a few seconds, there will be a prompt that it is "Done. Press anykey to continue" (Note:- If you have UAC [User Account Control] on, you may run it as administrator or it might not be able to create folder if you have extracted it in System Drive)
5. Go to decompiled folder. There will BE classout folder. Make any changes in smali in classout folder(ALWAYS USE NOTEPAD++). DO NOT RENAME CLASSOUT FOLDER.
6. Again open script.bat if you had closed it or if not, then return to the window.
7. Choose 2 option "Compile classes.dex" . A new classes.dex will be formed in output folder.
8. Enjoy
Note:- Once you change things in classout folder, and you decompile another classes.dex, previous version in decompiled folder will be deleted. So if you want backup of it, move it somewhere else
Same thing will happen to classes.dex on output folder when you compile another one.
Other options
1. Connect you phone to PC with USB Debugging on and not on USB Tethering. Make sure you aren't using adb before using the tool. If so, Go to Alt+Ctrl+Del and to Task Manager and close adb.exe process
2. Choose the option what you want.
a) Logcat, either view or save it
If you view it, a window will appear with logcat in it. If you are done, just close that window
If you save it, it will be saved in the same folder where Script.bat is present. To stop saving it, Press Ctrl+C and type Y and press Enter
b) Reboot, may take some time in rebboting and rebooting in recovery.
c) Fix permissions and Reset password
3. Try to find Easter Egg
Download:-
ROMToolsPCv3.zip
Woah !
Good Job !
btw Easter egg in app ?
---
Instead of ctrl + alt + del combo
you can use ctrl + shift + esc
it brings up only the task manager
Thanks OP. Can you add an option to go to download (odin) mode . I really need that coz my vol- button got broken. Anyway this tool is really great.
Awesome tool
Doesn't it require ADB support? I mean, I haven't heard of another way of rebooting a phone or putting it into recovery mode via terminal.
Or does this have ADB and related tools included?
Good job! Thanks for the great work! :good:
Yes
All adb and other required items are included
And sure thing, will add download mode in next release. I don't know why I didn't add it in this release?
Please report any bugs
And please do suggest what should be added in next release
Here too!
Kudos broda :good: :thumbup::thumbup:
Thanks,
TheDemiGod
Future RD
@j_habeeb
Thanking everyone here?
Woah! :0
checkin the source of all apk's
Awesome man! :thumbup:
BTW i had seen this in some other forum also
anubhavrev said:
Woah! :0
checkin the source of all apk's
Awesome man! :thumbup:
BTW i had seen this in some other forum also
Click to expand...
Click to collapse
apks?
And yes, it was published in Android General Software and hacking from where it was published on portal, but this version is not yet published there as it may only work for these phones
Looking forward to reports if you guys can check this with other devices with other android versions :good:
iamareebjamal said:
apks?
And yes, it was published in Android General Software and hacking from where it was published on portal, but this version is not yet published there as it may only work for these phones
Looking forward to reports if you guys can check this with other devices with other android versions :good:
Click to expand...
Click to collapse
classes.dex stores the source code ..
search dex2jar and classes.dex on google
anubhavrev said:
classes.dex stores the source code ..
search dex2jar and classes.dex on google
Click to expand...
Click to collapse
lol
You think I don't know that sherlock. Who released this tool?
I was just confused that what you meant by your previous post
lol ...i hope u didn't XD
P.S.- u're a themer right ? check pm...
anubhavrev said:
lol ...i hope u didn't XD
P.S.- u're a themer right ? check pm...
Click to expand...
Click to collapse
I did it man :/
See that OP tag written to Senior Member?
And replied
iamareebjamal said:
I did it man :/
See that OP tag written to Senior Member?
And replied
Click to expand...
Click to collapse
Sent from my GT-S5360 using xda app-developers app can't see a thing ! Sorry but had to ask..
@iamareebjamal: Now you're on my credit list when I release my rom! This tool helped me a lot
"Its not your fault if you are born poor, But it's your fault if you die poor!" - Bill Gates
Related
Coming Soon:
- Droid X Status Bar: CANCELLED
___________
HTC SENSE Framework-res.apk
Please donate if possible. I really want to buy a pouch for my X10
{
"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"
}
DOWNLOAD LINK v.001 HTC SENSE Status Bar for X10 (framework-res.apk only) [November 26th]
http://www.4shared.com/file/xHE4eMTA/framework-res.html
___________
Android STOCK White Status Bar
Please donate if possible. I really want to buy a pouch for my X10
Donation Link:
https://www.paypal.com/cgi-bin/webs...m&item_name=Donation+XDA+Forums&no_shipping=1
DOWNLOAD LINK v.005 Package (WITH ALL THE FILES YOU NEED TO INSTALL)
http://www.4shared.com/file/_7UKHvms/Stock_Status_Bar_for_X10_by_Dk.html
DOWNLOAD LINK v.005 (Framework-res.apk ONLY) [November 21th]
http://www.4shared.com/file/BzAtGX4r/framework-res.html
DOWNLOAD LINK v.004 [November 20th]
http://www.4shared.com/file/6qyQdtVQ/framework-res.html
DOWNLOAD LINK V.003 [November 19th]
http://www.4shared.com/file/v37FxfTp/framework-res.html
DOWNLOAD LINK V.002 [November 18th]
http://www.4shared.com/file/fKigopxT/framework-res.html
Please donate if you like the work to keep it alive for more upcoming "flavors"
___________
Installation:
Download v.005 Package (will all the files you need inside)
Extract to wherever you want
Plug in your Xperia X10 with USB Debugging enabled
Run Installer.cmd
Enjoy!
___________
ANDROID 2.2 STOCK ICONS
Android 2.2 Stock Icon in High Quality.
This is to get the stock look for your Android Smartphone that is running a specific UXP. (Like Sony Ericsson, HTC Sense, Motoblur, etc)
The icons are in a .rar archive. Extract to your phone's SD Card, navigate to your Home Launcher on your Android Device (Launcher Pro or ADW Launcher preferred) Long press on desktop, select shortcut > application, select your desired app, change icon. Voila!
DOWNLOAD LINK
http://www.4shared.com/file/xuClPYgK/Android_22_Stock_Icon.html
Cyanogen Mod Boot Screen Animation
Cyanogen Mod's Boot screen Animation.
Tested and working on Sony Ericsson Xperia X10 running Android 2.1
DOWNLOAD LINK:
http://www.4shared.com/file/BJrGIdCY/bootanimation.html
Installation:
1- Copy bootanimation.zip to your SD Card
2- Get Root Explorer, navigate to your SD Card, Copy bootanimation.zip
(You need root)
3- Go back to the root of the phone, go to System/media, Mount R/W
4- Delete the existing bootanimation.zip, then paste the one you copied from your SD Card earlier.
5- Make sure it has the same permission.
6- Reboot, enjoy your new boot animation !
___________
Always follow on www.TechRemixed.com (my website) all the progress is always reported there first
Please donate if you would like to see farther development =D
Donation Link:
https://www.paypal.com/cgi-bin/webs...m&item_name=Donation+XDA+Forums&no_shipping=1
For change logs go to my website, i made a special sub domain for it.
www.mythemes.techremixed.com
Did you forget you started this thread - http://forum.xda-developers.com/showthread.php?t=810794
Yeah but thats old.. its for 1.6... now its 2.1..... so....
Sent from my X10i using XDA App
Yeah, true enough. It's a whole different kettel of fish now - we just need to edit the xml's (decompiling/recompiling with apktool) and drag them into the framework now.
I just had a bit of a play... I managed to change the color of the provider text by editing res/layout/status_bar_expanded.xml. Changing status_bar_icon.xml didn't seem to have any effect but I did add some alpha. I will have another look tomorrow and post what I find out in my themes reference thread.
_calum_ said:
Yeah, true enough. It's a whole different kettel of fish now - we just need to edit the xml's (decompiling/recompiling with apktool) and drag them into the framework now.
I just had a bit of a play... I managed to change the color of the provider text by editing res/layout/status_bar_expanded.xml. Changing status_bar_icon.xml didn't seem to have any effect but I did add some alpha. I will have another look tomorrow and post what I find out in my themes reference thread.
Click to expand...
Click to collapse
Nice hope u can get the clock to be black and the status bar to be default style thanks alot
so anyone? much appreciated if someone has it thanks
Nobody?? Common...
Sent from my X10i using XDA App
Hey man,
just got the last piece of the puzzle today. I've posted my findings in a new section in the themes reference sticky. So now we just have to wait for those artistic types to get to work on thier images etc.
I'd get onto something, but I'm to busy flashing my phone
_calum_ said:
Hey man,
just got the last piece of the puzzle today. I've posted my findings in a new section in the themes reference sticky. So now we just have to wait for those artistic types to get to work on thier images etc.
I'd get onto something, but I'm to busy flashing my phone
Click to expand...
Click to collapse
thats cool news dude thanks!
I reckon you want to keep an eye on chewitts Dark10 theme. He's had a load of requests for a white theme and I think it's in the works...
_calum_ said:
I reckon you want to keep an eye on chewitts Dark10 theme. He's had a load of requests for a white theme and I think it's in the works...
Click to expand...
Click to collapse
Yes but i want stock stock.. not custom battery icon and stuff
Sent from my X10i using XDA App
Just been playing a bit with text etc. Might try and clean this up later in the week.... there's a lot of icons though (~130)
_calum_ said:
Just been playing a bit with text etc. Might try and clean this up later in the week.... there's a lot of icons though (~130)
Click to expand...
Click to collapse
Woow thats awesome is there any way so that you can use the stock stuuffs
Lol im sooo into stock xD
Sent from my X10i using XDA App
I'm just working on a little program to remove the background on all the stock icons - then I can just darken them up a bit and it should look pretty decent...
Has anyone here modded framework-res.apk located in system/framework?
I'm doing what is wrote in this guide, but phone dosen't boot then. I had to flash it with SEUS.
Here is what i do. Am i missing or wronging something?
Code:
Step 1:
Connect phone to pc, enable usb debugging and open adb. Type:
adb pull /system/framework/framework-res.apk framework-res.apk
That will pull your framework-res.apk to whatever folder is displaying in your command line.
Step 2:
Find the framework-res.apk on your hard drive, right click and open with 7zip.
Step 3:
Use png's here or create your own and dump into the appropriate folder within framework-res.apk.
Step 4:
When you are done editing the files open up adb and type the following command:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
That will put the new framework-res.apk on your phone. It should automatically reboot (if not reboot it) and your changes should be applied!
When running the script above you can replace framework-res.apk with whatever you want. For example, Timescape.apk
Remember, it is CASE sensitive I made this problem many times)
Check out this thread:
http://forum.xda-developers.com/showthread.php?t=834806
There's a few things you could be doing wrong, the one that springs to mind is if your doing some xml mods and not adding resources.arsc to the framework in the proper manner.
_calum_ said:
Check out this thread:
http://forum.xda-developers.com/showthread.php?t=834806
There's a few things you could be doing wrong, the one that springs to mind is if your doing some xml mods and not adding resources.arsc to the framework in the proper manner.
Click to expand...
Click to collapse
Thanks.
I resolved all my problems.
It depended on unsecure shell.
All worked fine.
Thanks again
Thanks to this little beauty I got all of the icons done in one shot .
I have attached the framework with the only modification being the white status bar and dark icons (and the fact that you can see the clock, of course ).
Don't forget to unzip the framework, don't just rename it
woot woot, pretty awesome, nice work indeed....now we actually need a completely white theme.....
Chewitts on the case I just did this cause I could
HEY GUYS HERE I AM WITH ANOTHER GUIDE...
I HAVE RECEIVED MANY REQUESTS FOR THIS...
MANY PEOPLES GET ERRORS/BOOTLOOPS ON COMPILING APK'S...
Click to expand...
Click to collapse
TOOLS I USE:
1. APKTOOL(to play with apk's)
2. APKTOOL for ics (i don't have link, search for it)
3. notepad++(to edit files)
4. 7zip(to edit files)
5. APK One click (optional)(to make things very easy)
Click to expand...
Click to collapse
SETTING UP FILES:
1. Install Notepad++ and 7zip
2. Download apktool-install-windows-* file
3. Download apktool-* file
4. make a folder in windows directory named apktool
example C:/APKTOOL
5. Unpack both downloaded packages to apktool folder named apktool
example C:/APKTOOL/here
Click to expand...
Click to collapse
COMPILING/DECOMPILING
1. Copy stock framework-res.apk, twframework-res.apk and files you want to edit to apktool folder(in my case settings.apk)
2. Go to start > run > type cmd > enter
3. Type:
cd C:\apktool
Click to expand...
Click to collapse
TIP: window 7 users you can skip 2 and 3 step and
go to C:\ just hold shift and press right mouse click on apktool folder.
you will see open command window here, click on it4. Type: apktool if framework-res.apk (enter)
apktool if twframework-res.apk (enter) this will install your frameworks which is needed to decompile system apk files...
5. Type: apktool d settings.apk can be something else in your case
6. Minimize cmd and go to apktool folder you will find settings folder
edit files you want to edit. when done go back to cmd
7. Type: apktool b settings it might give you errors so read it and find the errors but
if it shows building apk file then forget about errors.
8. When done minimize cmd and go to apktool/settings/dist/
and there is your modded apk file...
now's important part
9. Now open modded apk and stock apk in 7zip
10. Drag/drop meta-inf folder and AndroidManifest.xml from stock apk to modded apk
11. Rename modded apk same as stock apk. (capital/block letters)
example modded > settings.apk >Settings.apk
12. All done now push moded apk to phone and enjoy!!!
Click to expand...
Click to collapse
USING APK One click
HOW TO INSTALL
* Download and Extract the achieve to a folder.
* Open the extracted folder & run shellext-add.cmd
* if some errors occur during install:
- Open Windows Control Panel -> User Account Control Settings
- Set the slider to 'Never notify'
- Reboot Windows
- re-run shellext-add.cmd
HOW TO USE
* Install frameworks with apktool as mentioned above
* Right-click apk file you want to edit and select 'Decompile APK'.
* A folder containing the output will be created in the same directory as the APK.
HOW TO RECOMPILE APK
* Modify the smali code or resources
* Right-click xxx_decompiled folder and select > Recompile APK from source
Click to expand...
Click to collapse
SCREENSHOTS
{
"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"
}
LINK TO FEW OF MY WORK:
Aroma installer based ATOMODS to have all cool mods, tweaks, apps, cwm recovery, kernel etc on any rom even stock rom...(MUST TRY)
[AROMA] █ ATOMODS █ [Galaxy Ace Plus GT-S7500][Mods/Tweaks/Apps/CWM/Kernel]
Guide for those who want to customize there rom on there own... doo cool mods like center clock,CRT animation, ics and jelly bean style mods etc...
[GUIDE] [MODS] Collection of mods for all gingerbread[2.3] phones..
Learn compiling and decompiling apk files my way
[Guide] COMPILE/DECOMPILE APK FILES MY WAY
Guide on how to make you own custom rom(easy way) (using kitchen)
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS]
Link to apktool for ics bro
http://forum.xda-developers.com/showthread.php?t=15581
LINK NOT VALID
No thread specified. If you followed a valid link, please notify the administrator
lokeshsaini94 said:
SCREENSHOTS
Click to expand...
Click to collapse
In my case I don't see meta-inf !! Can I skip that step.
What I did..!!
For sample I have taken Dropbox.apk.
Decompiled and Recompiled again.
Got the new apk.
viijay4b7 said:
In my case I don't see meta-inf !! Can I skip that step.
What I did..!!
For sample I have taken Dropbox.apk.
Decompiled and Recompiled again.
Got the new apk.
Click to expand...
Click to collapse
The old apk has metainf folder... Drag it into new apk...
Sent from my Galaxy Nexus using xda premium
thanks bro.
Sent from my LG G4 using XDA Labs
So friends, here is a quick and easy guide for changing the status bar icons of your Gingerbread(Actually any phone )
For those who don't know how to do it(for anyone actually :highfive
Theory
Android is the awesome platform which is easily configurable and is able of being edited very easily
The icons used in every app and Android framework are located as png images in apk of those respective apps in location:-
*.apk/res/drawable-mdpi (in my case, as our phone is mdpi)
So, we can change any icon of our status bar like battery, signal, (not clock[clock is to be configures in SystemUI.apk{will post how to change it shortly}]), etc by editing png's in framework-res.apk
Not even that, you can edit images of any app as I told you
There are several ways to decompile and compile apk in which we have made change
If we want full access of apk and want to change every thing like the xml's in it and smali content in jar files, then we would have to do it on computer by apktool or apkmanager
But, we are here to only change image, so we would not go in detail of apktool or apkmanager. For changing images, that can be very easily done even on the phone by an app NinjaMorph that is made for developers by our senior head and DEVELOPING LEGEND Stephen(Stericson)
But be careful as backing up the original file if you do something wrong
And as you all know any developer or even a newbie posting something interesting that you want to try WILL NOT BE RESPONSIBLE for your mobile blowing up, resting in peace, sleeping like a dead, behaving like a non-living BRICK, or anything whatsoever that may or may not happen to phone in this universe or any other universe known or unknown
What to do if anything happened to my mobile
We have had a backup of your original file so we can restore it
But if while editing the system files like framework-res.apk
If you deleted some un-backed up apk's
Well you can always have backup of your ROM and that is why Koushik Datta has made clockworkmod Recovery
You can restore your ROM from there
Pre-Requisites
Patience
Mind
A Android (A spare one if you brick your phone, just kidding)
Root access(to change the apk)
NinjaMorph(http://bit.ly/ninjamorph)
Root Explorer(Optional)(http://bit.ly/stericson)
GUIDE
So Let's Start
Download NinjaMorph. Install it and give it root access. It will prompt for starting checks. Click on start checks.
Now you would have three options, namely, New Project, Finish Project, Existing Project
Click on new project. Go to system/framework/ and click on framework-res.apk. It will start extracting files
Once it has extracted all the files, it will open to show you what is inside framework-res.apk.
Exit it and go to your file explorer.
Go to /sdcard/AndroidThemes/workspace/framework-resapk
This is what is inside apk. Go to res/drawable-mdpi folder
There you will see hundreds of icons of your menu, lockscreen, battery, signal, and everything
You can edit them and replace them as you want. But the name of the file you are replacing and size and dimension must be equal to the file you are replacing with(I recommend Googling and finding icons of battery, signal, and other things)[I have even used hdpi icons, there was no problem]
If you download a theme file which is to be flashed in recovery that is not for your phone, no problem, extract the zip and place its framework-res.apk in your sdcard and extract the apk with Ninjamorph. Replace your icons with its icons and TADA
After you have done replacing the icons and you are satisfied(I am never)
Go to NinjaMorph. Click on Fininsh Projects. Click on framework-resapk. It will recompile and ask to replace the original apk with modded one. Click OK
Then it will ask if you want to remove the completed project, Say No(As you would need it if something gets wrong)
Reboot your phone
Maximum chances are that your icons will be replaced. Rare cases have their status bar gone or no change, if so:-
Download(Buy) Root Explorer. Go to /sdcard/AndroidThemes/workspace,
There you will see framework-res.apk. Copy it and go to /system/framework
Mount as R/W
Paste the apk. If it asks that file already exists, overwrite it.
SET PERMISSIONS
Long click on framework-res.apk and click on permissions
You will see three columns
Read Write Execute
You have to set them in the following way
x means you have to tick it
blank means uncheck
Read Write Execute
.....x........x.................
.....x...........................
.....x...........................
Click OK
You will see it as rw-r--r--
Reboot
Do it over again if nothing happens
Enjoy
This way you can edit not only framework-res.apk but any apk
Treat
This section is different from the thread topic
I: Faking Up
Want to make your device show Jelly Bean in About Phone
Go to Root Explorer
Go to /system
Long click on build.prop
Click on Open in a Text Editor
Change the files as
ro.build.display.id=Jelly Bean
ro.build.version.release=4.1.4
Save Changes
Reboot
II: Easter Egg
You all must know that an image of GingerBread Zombie comes up when you repeatedly click on Android Version in Setting>About Phone
Wanna change it to look like Jelly Bean?
{
"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"
}
Extract framework-res.apk
Go to res/drawable-nodpi
You will see platlogo.jpg
Replace it with the file in attachment
Recompile
Reboot
Troubleshooting
Will find and update it
Tell me what problems are you having
Reserved
Reserved
Reserved
BUMP
BUMP
thanks - interesting reading!
Wow Amazing.. will check and post the results ..
Phelin said:
Wow Amazing.. will check and post the results ..
Click to expand...
Click to collapse
Thanks
Please include screen shots
o0ojake13o0o said:
Please include screen shots
Click to expand...
Click to collapse
Will do after exams
o0ojake13o0o said:
Please include screen shots
Click to expand...
Click to collapse
I know it's old
But why do you need screenshots for a guide?
Where attach for platlogo
Any guide for marshmallow?
Thanx to xda member A_U
Original thread here http://forum.xda-developers.com/showthread.php?t=2213985. Press thanx for his work:thumbup:
What is decompiling?
Android apps are BASICALLY made up of Java codes and XML files. After compiling the app, these files cannot be viewed. Decompiling is a process which decompiles the binary form of XMLs and .Java files into readable form. The XML files can be retained as it is, but the .java files are converted into smali files, a totally different language.
What is recompiling?
Recompiling is simply a way to convert the XML and smali files back into the binary form and building up of the APK with the changes made. All apps after recompiled have to be signed (except system apps).
Let's start!
Hello
I want to keep things simple and very easy. I will write a 5 step guide for setting up apktool and start modifying your app's or any other android framework. This guide will be strictly for windows users, since setting up and using apktool in windows is the easiest.
So lets begin -
What you need before you learn how to use apktool -
A computer running windows
A working internet connection for downloading the following -
JAVA SDK and JRE
Android SDK
Apktool core tool
Sign apk tool
Basic command prompt commands and path knowledge
A good linux format code editing program like NotePad ++ [Get it from HERE]
STEP 1 - Install JAVA - Go 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"
}
Just go to the above website and download java SDK and JRE.
We mostly use only SDK libraries but JRE is required when you want to modify games or apps like whatsapp. So its best if we install both.
install them in any directory for example C:\ drive and you are good to go to next step 2.
STEP 2 - Install Android SDK- Go HERE
Just go to the above website and download the SDK.
Install it in an easy path. For example - C:\android
The short path will be useful when you are using adb for logcat purposes, since typing in a long path every-time you want to access the adb executable file is painful.
So once you installed the SDK move on to next step 3
STEP 3 - Download Apktool - Go HERE
For downloading apktool related files, you need to go HERE
Download latest apktool version, currenlty 1.5.2
Download the batch file and aapt.exe
Create a folder anywhere in the pc and put all the apktool.jar, aapt.exe and the batch script in that folder. [see screenshot]
This will be the operating folder for you now.
Next move to next step 4
STEP 4 - Using apktool for decompiling anything
Open command prompt
navigate to the folder where you placed apktool.jar, batch script and the aapt.exe [see screenshot]
For this guide i am using a simple framework-res.apk for reference.
Once you are in the folder via cmd prompt, you need to install the file using the " IF " command
type the following command -
Code:
[B]apktool if [I]name-of-the-app[/I] .apk[/B]
For example, once the command is executed correctly, it will look like this -
Code:
[B]apktool if framework-res.apk[/B]
Once the app is installed you need to decompile it.
For decompiling use the command "d". The "d" stands for decompile.
Code:
[B]apktool d [I]name-of-the-app[/I] .apk[/B]
For example -
Code:
[B]apktool d [I]framework-res.apk[/I][/B]
After the app is correctly decompiled, a new folder will be created in the same folder where you placed your app. This contains all the xml's and smali files which can be edited for different mod's.
For example, here's how it will look once the app is decompiled -
Then after you are finished with your modding, you need to recompile your app for using it.
To recompile the app use the following command " B ". The "b" simply means recompile.
Code:
[B]apktool b [I]name-of-the-app-folder[/I][/B]
NOTE - While recompiling the app, you just need to type the name of the folder the app's files contains.
For example -
Code:
[B]apktool b [I]framework-res[/I][/B]
framework-res is the name of the folder
The final modded app will be in the dist folder located inside the original app folder created by apktool.
For example -
Congrats ! If everything went well, you successfully created a modified app !
Now the most important step is below in step 5
STEP 5 - Signing the apk
to sign an apk download the "sign-apk.rar" from below attachements
extract it to any place.
open a new command prompt and change into the sign-apk directory using cmd
move the modified-unsigned apk into this folder [see screenshot] -
then type the following command -
Code:
[B]java -jar signapk.jar certificate.pem key.pk8 [I]path-of-the-folder-contaning-the-apk .apk path-of-the-new-signed-apk .apk[/I][/B]
For example -
Code:
[B]java -jar signapk.jar certificate.pem key.pk8 [I]framework-res.apk framework-res-signed.apk[/I][/B]
Once compiled, the signed apk will be found in the same folder.
This is FINAL APK.
Simply rename it to the original apk and push it into the system ! DONE !
If you have any errors or problems related to apktool, post them here, I will try to solve them. [/SIZE]
Click to expand...
Click to collapse
Sent from my GT-I8262 using XDA Premium 4 mobile app
Simple guide to sign apk
U need to sign apk if u are using monster$ rom
Sent from my GT-I8262 using XDA Premium 4 mobile app
Reserved last
Sent from my GT-I8262 using XDA Premium 4 mobile app
Great wrk bro
Sent from my GT-I8262 using Tapatalk
I want to try this. Looking forward for more of your modifying tutorial bro :good:
One question, will it work to any stock rom? or preferably deodexed stock rom?
Geddd said:
I want to try this. Looking forward for more of your modifying tutorial bro :good:
One question, will it work to any stock rom? or preferably deodexed stock rom?
Click to expand...
Click to collapse
It will only work on deodexed apkz:thumbup:
Sent from my GT-I8262 using XDA Premium 4 mobile app
Omkar$ said:
It will only work on deodexed apkz:thumbup:
Sent from my GT-I8262 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
how about this, do you have an idea on how to remove carrier's name in AOSP lockscreen? I'm using xposed module to get back that lockscreen. because both name are on the same position
the link for "sign-apk.rar" plz
thx
Geddd said:
how about this, do you have an idea on how to remove carrier's name in AOSP lockscreen? I'm using xposed module to get back that lockscreen. because both name are on the same position
Click to expand...
Click to collapse
forum.xda-developers.com/showthread.php?t=1773879
great tutorial bt if you dnt hve pc i recomend apktool for android..moding with ease
send from my powerful core
send from my powerful core
secsettings.apk
hi
i can"t decompres secsetting.apk correctly and i can't compres adroid.policy
files are from my core i8260
WhatsApp Messenger is a cross-platform mobile messaging app which allows you to exchange messages without having to pay for SMS. WhatsApp Messenger is available for iPhone, BlackBerry, Windows Phone, Android and Nokia.
Few months ago WhatsApp introduced Material Design for the app, which is really amazing. WhatsApp is having a default green Color which I don't like much. So I thought of editing the App and changing the color. You can also do it with-out having knowledge of coding. Just need is some time and a little brain.
So here's the procedure for editing WhatsApp.apk.
If you want to try out already made WhatsApp with different colors then check Post 2
Steps To Change The Default Green Colour Of WhatsApp:
REQUIREMENTS
ApkTool Or ApkMultiTool for the purpose of Decompiling and Recompiling apk
Notepad++ For editng
WhatsApp.apk File
Java Development kit installed on your PC
Some patience
How To Decompile Apk Using ApkTool:
I will be using Advanced ApkTool as it has automated setup and easy to use. Place the Whatsapp.apk File in the folder names “2-IN”
{
"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"
}
Now Open Advance apktool. The Following window will open.
Now Press the number in Front of “Decompile Files” i.e. press 2 and hit Enter.
Select the number in front of WhatsApp.apk and press Enter.
Now it will ask for your confirmation, Press “y” and hit Enter.
Process of decompile will start and when the process is finished it will say Successful.
What To Do After Decompiling
Now navigate to “3-OUT” Folder. Here you will find all the decompiled files of WhatsApp.
Now Navigate to WhatsApp>res>values folder. Find “Color.xml” file and open with Notepad++.
Now press Ctrl+F and find “075e54”. This is the Hex Color code for the default Green color of WhatsApp.
Now change this value with the Hex color code of your choice. I have changed it to black as I wish to have a dark WhatsApp.
Save the Changes.
You can also experiment the other entry, if you want. But take care that you wont mess up everything.
Now it’s time to Recompile the apk.
How To Recompile And Sign Edited Apk
After everything you have done, it’s time for final step, i.e. to recompile your apk. Open Advance ApkTool.
Now Select the option In front of Recompile Files, i.e. Select 3 and hit Enter.
Now Select WhatsApp.
Select the option Recompile and then Sign, i.e. press 2.
Wait for the process to complete.
After this in main Screen Select Sign File, by pressing 4
Select WhatsApp.apk and press enter. Confirm the signing process By Pressing “y” and wait till the process finishes.
Now Go to “4-Done” folder. Here you will find your modified WhatsApp. Copy it to your phone and install it.
So take a look on my WhatsApp Before and After Editing.
What are you thinking. Give a try,change the color to color of your choice by your own. You don’t need any special skills for it. And comment which color you are using now.
SOURCE - MyTechAlbum
XDA:DevDB Information
Change The Default Green Colour Of WhatsApp, App for all devices (see above for details)
Contributors
x2wolf
Version Information
Status: Stable
Created 2015-10-25
Last Updated 2015-10-25
If you are lazy and don't want to edit the apk then try the ready made WhatsApp.
13 Color Options Available with new icons and new tick:-
Black
Blue
BlueGrey
Brown
Cyan
DarkGreen
DarkGrey
DeepPurple
Indigo
Orange
Pink
Purple
Red
For Download And ScreenShots Click HERE.
If any want the updated base version then comment the color, I will update that color base.
Fayas Hassan KT said:
Bro first decompile apk with apktool you want java, notepad++, photoshop, now you can see res/values/color eg... edit #ff8efae0 with photoshop last 6 word ie 8efae9 with photoshop change color with tool and paste if you want to change green color change in primary color>#ff666666<
---------- Post added at 08:01 AM ---------- Previous post was at 08:01 AM ----------
Here new whatsapp color version created by me try it you will like 24mb
http://www.4shared.com/mobile/s1gh6uo2ce/Whatsappcolor.html
---------- Post added at 07:53 AM ---------- Previous post was at 07:51 AM ----------
Update apktool bro me too have same I solved
Click to expand...
Click to collapse
CHECK this Link bro - http://www.mytechalbum.com/whatsapp-now-available-in-different-colors/
You will get 13 WhatsApp with diffrent color , New Icon, New Notifier Icon, with new Ticks.
HopeHope you like it..
Yeah I like it but text is not color download my link just try you will like it
Look this
Fayas Hassan KT said:
Look this
Click to expand...
Click to collapse
Nice bro...
Hw to change tick styles Bro ? ?
SprinkleAvinash said:
Hw to change tick styles Bro ? ?
Click to expand...
Click to collapse
Bro look res/values/color change it bro be patient read all content there you can see tick color
x2wolf said:
If any want the updated base version then comment the color, I will update that color base.
Click to expand...
Click to collapse
Bro did you edited new2016 WhatsApp I can't I can decompile and compile signapk and also install but problem when verification in number any solving methods I updated all tool and keystore
When i gonna isntall the modified apk, appear ” app not installed”, if i install the original apk, i can do it…I dont understand, i recompile and after sign as you explain
Fayas Hassan KT said:
Bro did you edited new2016 WhatsApp I can't I can decompile and compile signapk and also install but problem when verification in number any solving methods I updated all tool and keystore
Click to expand...
Click to collapse
I get this same error. It installs right, but when going to verify phone number it states that there is something wrong.
Any updates on this one? I really want to change the color of Whatsapp.
Any update on SMS verification fails? Any workaround to bypass this?
Hi, I have problem with SMS verification.
Error with version fo WhatsApp
Is it safe to use the app?
Is it safe to use the app, as we have made changes to it. My concern is only about safety of using the app....