This is very simple&funny MOD to make our personal PhaseBeam livewallpaper with our preferred logos, like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
We need:
- apktool (Dev-Host - [Window XP_7_8][GB_ICS_JB] Apktool and baksmaling + Signer v2 by ibanez7.zip - The Ultimate Free File Hosting / File Sharing Service)
- PhaseBeam.apk and framework-res.apk from Your ROM
(check my other guide for more info and links about apktool: http://forum.xda-developers.com/showthread.php?p=44997467#post44997467)
Let's start:
1) Copy the PhaseBeam.apk & Framework-res.apk to apktool folder and open cmd on this folder:
Simply hold down the Shift key and right-click a folder. The context menu will contain an entry, "Open command window here”
Once the command window has opened; you need to install the framework-res.apk… simply and easily type the following command:
Code:
[COLOR="#FF0000"]apktool if[/COLOR] framework-res.apk
You will see something like THIS:
Code:
I: Framework installed to: C:\Users\username\apktool\framework\1.apk
We will now decompile the PhaseBeam.apk file. To do this, type the following command:
Code:
[COLOR="#FF0000"]apktool d[/COLOR] PhaseBeam.apk
We will see something like this:
Code:
I: Loading resource table…
I: Loaded
I: Decoding file-resources…
I: Decoding values*/* XMLs…
I: Done
I: Copying assets and libs…
After you see that, you should notice that a new file has been added to the apktool folder, which should be named “PhaseBeam”. Inside that folder, you will observe the following folders/files; assets; build; dist; res; AndroidManifest.xml; apktool.yml. The files that we are worried about are in the “res” folder.
Navigate to drawable-nodpi and you'll find 3 files.
We need to modify dot.png
Here is, for example, how I modify this Dot:
You can add Your preferred logo inside the Dot... using Gimp, Paint.net... Just make sure to save new Dot mantaining .png format and bit-depth autodetection
Once done just compile back:
Code:
[COLOR="#FF0000"]apktool b[/COLOR] PhaseBeam
Now follow those important steps:
Once this is complete, navigate back to the apktool folder and to the PhaseBeam folder.
Now we need to navigate to
build/apk and look for the following files:
AndroidManifest.xml.
Now this is important, we need to replace this file with the AndroidManifest.xml file from the original unzipped PhaseBeam.apk located in apktool folder.
So open the original PhaseBeam.apk with 7-zip, and copy “META-INF” and “AndroidManifest.xml”.
Once you have those copied from the original unzipped PhaseBeam.apk, relocate back to the apktool folder/PhaseBeam/build/apk and paste both of them. If asked to replace, CLICK YES OR REPLACE ON ALL WARNINGS THAT POP UP!!!!
Now we need to back out to the PhaseBeam folder in apktool and click on the folder that is named “dist” where the freshly compiled PhaseBeam.apk is located once we type build command in the command prompt). Once inside the “dist” folder, you will see a PhaseBeam.apk file. DELETE IT…
We never use the first PhaseBeam.apk that we compile, because we needed to added the META-INF and AndroidManifest.xml files for signing purposes. Once you have the 1st compiled PhaseBeam.apk deleted, return to the command prompt and enter the compile command again and compile a 2nd PhaseBeam.apk.
Code:
[COLOR="#FF0000"]apktool b[/COLOR] PhaseBeam
The 2nd PhaseBeam.apk will appear in the “dist” folder and is the usable PhaseBeam.apk.
(thanks to APatte111 for this important part of the guide)
• Now just copy your personal PhaseBeam it under /system/App giving proper permissions rw rr... •
Dam to bad my PC down ATM for upgrades =/ you should make a few live wallpapers to download !!! BTW great job on directions and the wallpaper
Sent from my Nexus 7 using XDA Premium 4 mobile app
Related
OPEN CRAMFS WITH
{
"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"
}
SHELL...
I have finally figured out how to open or make Cramfs images using Cygwin. And it is much more easier to use then my previous thread on How to Theme JF1.51 CRB43-US using Ubuntu. If you don't believe me, take a crack at it. Themers get on your grind. Your going to laugh when you see how easy it is to do. I would have not continued to explore Cygwin option for Cramfs if it wasn't for Binary100 100 and the others that had problems with the Ubuntu way, like bboy_201. I didn't forget about you...
I hope that all of you guy/gals that were having trouble with the Ubuntu way, suceed with this method.
Complete Setup in 7 steps
1)Download and install Cygwin.
2)When you reach the select package menu open Devel.
3)Scroll down to the Cramfs and select 1.1-1 26k.
4)Click next to finish the setup.
5)Right click on the Cygwin icon on your desktop and click on Open file location.
6)Open the home folder. You will see your name there. Make a shortcut of your name and place it on your desktop.
**Everytime you open Cygwin, this will be your default folder**. This is why we placed it on our desktop.
7)Open the shortcut folder and hide the .bash_profile, .bashrc,and .inputrc folders(right click-->properties-->click Hidden). This is so that you have a clean folder to work with. You can rename this folder to help you identify it later.
Your setup is completed!!!
Now what???
Download the Theme template !!!
You MUST use the ORIGINAL files from the framework and app's folders of CRB43-US to prevent problems/foreclosers!!!
To easily open an image, you:
Place the framework.cramfs from the template in your shortcut folder.
Run Cygwin Shell and simply type:
Code:
cramfsck -x framework framework.cramfs
Now look in your shortcut folder, you will see a folder called "open" with all the framework folder files inside.
Now you can edit the framework-res.apk, Xml's, jar,etc...
Making your custom image is just as simple, when your finished modifying ,type:
Code:
mkcramfs framework framework.cramfs
Your new custom cramfs image is in the shortcut folder ready to be placed in the Update.zip
RichieDaze you are the man, now working on Windows Server 2003!
Great tutorial now I can port my theme for more users thanks!
What a wonderful tool you have discovered! Finally I can edit the ROM I want to use.
I prefer to use the "Tmobile" stuff just in case problems arise. Have been using ADP.
Thanks again for the super info and tut!
I edited stat_sys_data PNGs from CM7 SystemUI.apk
Preview:
{
"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"
}
Install:
1. copy SystemUI.apk from system\app to sdcard using Root Explorer
2. connect your sdcard to computer
3. run TotalCommander, open SystemUI.apk and go to res\drawable-mdpi
4. copy and overwrite all 48 pngs from archive to that folder
5. connect sdcard to phone
6. copy edited SystemUI.apk to system, edit permissions to rw-r--r--
7. move SystemUI.apk to system\app and overwrite original
8. restart phone and enjoy it
EDIT: Added PNGs for Cyanbread and Androidian themes ... same install, but copy files to Cyanbread.apk or Androidian.apk
storage1 said:
I edited stat_sys_data PNGs from CM7 SystemUI.apk
Preview:
Install:
1. copy SystemUI.apk from system\app to sdcard using Root Explorer
2. connect your sdcard to computer
3. run TotalCommander, open SystemUI.apk and go to res\drawable-mdpi
4. copy and overwrite all 48 pngs from archive to that folder
5. connect sdcard to phone
6. copy edited SystemUI.apk to system, edit permissions to rw-r--r--
7. move SystemUI.apk to system\app and overwrite original
8. restart phone and enjoy it
Click to expand...
Click to collapse
That will work if you use the System Theme right? But if you use other CM7 themes like ICS by Achep it will be replaced right?
Yes, this is for default cm7 theme ...
Sent from my GT-S5830 using xda premium
storage1 said:
Yes, this is for default cm7 theme ...
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Can you do a blue one? Cause I'm using Achep's ICS theme and the data icons are not that good.
@Shadow xD: Added Cyanbread theme pngs in 1st post, you can use it for your theme
This is very simple&funny MOD to make our personal PhaseBeam livewallpaper with our preferred logos, like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
We need:
- apktool (Dev-Host - [Window XP_7_8][GB_ICS_JB] Apktool and baksmaling + Signer v2 by ibanez7.zip - The Ultimate Free File Hosting / File Sharing Service)
- PhaseBeam.apk and framework-res.apk from Your ROM
(check my other guide for more info and links about apktool: http://forum.xda-developers.com/showthread.php?p=44997467#post44997467)
Let's start:
1) Copy the PhaseBeam.apk & Framework-res.apk to apktool folder and open cmd on this folder:
Simply hold down the Shift key and right-click a folder. The context menu will contain an entry, "Open command window here”
Once the command window has opened; you need to install the framework-res.apk… simply and easily type the following command:
Code:
[COLOR="#FF0000"]apktool if[/COLOR] framework-res.apk
You will see something like THIS:
Code:
I: Framework installed to: C:\Users\username\apktool\framework\1.apk
We will now decompile the PhaseBeam.apk file. To do this, type the following command:
Code:
[COLOR="#FF0000"]apktool d[/COLOR] PhaseBeam.apk
We will see something like this:
Code:
I: Loading resource table…
I: Loaded
I: Decoding file-resources…
I: Decoding values*/* XMLs…
I: Done
I: Copying assets and libs…
After you see that, you should notice that a new file has been added to the apktool folder, which should be named “PhaseBeam”. Inside that folder, you will observe the following folders/files; assets; build; dist; res; AndroidManifest.xml; apktool.yml. The files that we are worried about are in the “res” folder.
Navigate to drawable-nodpi and you'll find 3 files.
We need to modify dot.png
Here is, for example, how I modify this Dot:
You can add Your preferred logo inside the Dot... using Gimp, Paint.net... Just make sure to save new Dot mantaining .png format and bit-depth autodetection
Once done just compile back:
Code:
[COLOR="#FF0000"]apktool b[/COLOR] PhaseBeam
Now follow those important steps:
Once this is complete, navigate back to the apktool folder and to the PhaseBeam folder.
Now we need to navigate to
build/apk and look for the following files:
AndroidManifest.xml.
Now this is important, we need to replace this file with the AndroidManifest.xml file from the original unzipped PhaseBeam.apk located in apktool folder.
So open the original PhaseBeam.apk with 7-zip, and copy “META-INF” and “AndroidManifest.xml”.
Once you have those copied from the original unzipped PhaseBeam.apk, relocate back to the apktool folder/PhaseBeam/build/apk and paste both of them. If asked to replace, CLICK YES OR REPLACE ON ALL WARNINGS THAT POP UP!!!!
Now we need to back out to the PhaseBeam folder in apktool and click on the folder that is named “dist” where the freshly compiled PhaseBeam.apk is located once we type build command in the command prompt). Once inside the “dist” folder, you will see a PhaseBeam.apk file. DELETE IT…
We never use the first PhaseBeam.apk that we compile, because we needed to added the META-INF and AndroidManifest.xml files for signing purposes. Once you have the 1st compiled PhaseBeam.apk deleted, return to the command prompt and enter the compile command again and compile a 2nd PhaseBeam.apk.
Code:
[COLOR="#FF0000"]apktool b[/COLOR] PhaseBeam
The 2nd PhaseBeam.apk will appear in the “dist” folder and is the usable PhaseBeam.apk.
(thanks to APatte111 for this important part of the guide)
• Now just copy your personal PhaseBeam it under /system/App giving proper permissions rw rr... •
Nice work, I made one of my favorite football club Ajax Amsterdam.
But it can be a lot faster and easier.
Extract the apk file with APK Multi-Tool, edit your files and zip as a system apk
Done.
Braakie said:
Nice work, I made one of my favorite football club Ajax Amsterdam.
But it can be a lot faster and easier.
Extract the apk file with APK Multi-Tool, edit your files and zip as a system apk
Done.
Click to expand...
Click to collapse
Yeah, of course... i prefer manual apktool and cmd i'll post also a link to APK Multi-Tool
The Problem at CM11 is that the SoftkeyZ app doesnt work.
This is baecause of the following problem:
The folder is normally /system/app (for SoftkeyZ),
but in cm11 it is /system/priv-app.
But it can be done manually by two Methods.
Not only for CM11
You need :
-Root Explorer
https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=de
First Method:
Now:
-Go to /system/priv-app/SystemUI.apk
-Extract to sd card
-Go to folder of the softkey you downloaded and put the .png files to :
/SystemUI/res/drawable-xhdpi
-Paste them and overwrite the old files.
-Zip the SystemUI folder with the new data.
-Go to SystemUI.zip and rename "SystemUI.zip" to "SystemUI.apk".
-Put the renamed SystemUI.apk to the /system/priv-app.
-Overwrite the old SystemUI.apk.
-Reboot manually ( the SystemUI.apk is mostly crashed at the first time doing this).
-After reboot set permissions of the SystemUI.apk to rw-r-r
Second Method: (Tested only at CM11)
ZipThemer is usable with this Method and you can make FLASHABLE ZIPS!
-Download the softkeys you want
- Extract them .
- Go to folder of the extracted
- There is one folder named "SystemUI" and a "nameofsoftkeys.xml"
- Open the .xml file with Text editor it look like this :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Then change the line "<path>/system/app/</path>" to "<path>/system/priv-app/</path>"
- Save settings and go back. (delete the "nameofsoftkeys.xml.bak")
- Zip the folder where the SystemUI folder and the .xml file is included
- Go to Zipthemer (NOTE: Extras -> Update Edify -> browse for actually ROM -> Configure !! If not it may not work.)
- Go back to ZipThemer and search at "+Theme" for the new Zip
- Build it. And then go to Recovery and flash the zip. If this doesn't work then flash the undo.zip to reactivate the old softkeys.
Done
Screenshots can be posted here. :good:
works to me. im on omnimetal. thx
cuprienk said:
works to me. im on omnimetal. thx
Click to expand...
Click to collapse
No Problem
Sent from my Galaxy Nexus using xda app-developers app
[App 2.3+] Wallpaper Gallery | [Guide] Make your own Gallery!
I'm here by present you a Wallpaper Gallery Application for your android phone.
{
"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"
}
Features:-
Light weight, use less ram.
Easy to use.
Direct Wallpaper applying.
You can use it in any android version above 2.3.x
Compatible with Stock, CM or any AOSP Builds.
Can be installed on both Rooted & Un-Rooted devices.
Install as normal apk. Also you can include it in ROMs.
Screens:-
Attention ROM Developers!
No need to ask for permission to include this app in your roms, just give proper Credits & Thanks ...
Download Wallpapers.apk (1.17 MB) (Attached on xda thread)
Guide: Make your own Gallery!
You can decompile this application and then you can replace, add more wallpapers. You can also add HD/High Quality wallpapers if you wish. Remember, the compiled apk size depends on the size of the wallpapers added. If the wallpapers are big, the apk also become big.
Want to download High Quality Wallpapers?
Instructions:-
►Step:1 - DeCompile apk
Download the Wallpapers.apk to your PC/Laptop
Decompile apk with APK Tool / Virtuous Ten Studio (VTS) Tool for Windows.
VTS Screens:
►Step:2 - Choosing Wallpapers
Go to decompiled folder.
\Data\res\drawable-ldpi - folder contains wallpaper files and application icon.
These represent each set of wallpaper,
wallpaper_xx.jpg - The original wallpaper file.
wallpaper_xx_small.jpg - Resolution reduced preview image for the wallpaper.
you can replace 'xx' by '01, 02, 03,....' numbers.
This app contains 10 default wallpapers. You can append more wallpapers by adding 'wallpaper_11.jpg' & 'wallpaper_11_small.jpg'
You can use some Image Resizer tools for making previews.
(Small files about resolution reduced to 20% of the original files)
Search Google for such tools
I use FastStone Image Viewer for batch resize images.
►Step:3 - Adding Wallpaper Names to arrays.xml
Go to \Data\res\values-ldpi - folder
Open 'arrays.xml' file with Notepad++ / Wordpad or any other text editor.
<item>wallpaper_11</item> - This line adds the newly added wallpaper to the list.
Do not touch any other text in the xml file. Edit BLACK text only (Notepad++)
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="wallpapers">
<item>wallpaper_01</item>
<item>wallpaper_02</item>
<item>wallpaper_03</item>
<item>wallpaper_04</item>
<item>wallpaper_05</item>
<item>wallpaper_06</item>
<item>wallpaper_07</item>
<item>wallpaper_08</item>
<item>wallpaper_09</item>
<item>wallpaper_10</item>
<item>wallpaper_[COLOR="Blue"]11[/COLOR]</item>
</string-array>
</resources>
Now save the xml file.
►Step:4 - Setting Application Icon
'brijeshep_icon.png' - This image is the application icon. You can replace it with any png file with 48x48 pixels. Do not rename the icon file.
►Step:5 - Setting Application Label and Title
If you want to change the application title "Wallpapers",
Go to \Data\res\values - folder
Open 'strings.xml' file with Notepad++
Edit the Application Name: <string name="app_name">Kitkat Gallery</string> like...
Edit the Wallpaper Setting title: <string name="app_label">KK-Wallpapers</string>
Save the xml file.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Kitkat Gallery</string>
<string name="app_label">KK-Wallpapers</string>
<string name="set_wallpaper">Set Wallpaper</string>
<string name="no_wallpaper">No Wallpaper</string>
</resources>
►Step:6 - Compile the Project files
If you have finished modding, Compile the project to make the modified apk.
You can compile the project by clicking 'Build all' button if you are in VTS.
Go to project's 'Binary' folder to get the recompiled apk.
Credits:-
elelinux for the base app.
Google for Android Version History wallpapers.
Virtuous Ten Studio (VTS) Tool
FastStone Image Viewer
Adobe Photoshop
Notepad++
Thanks
Thanks brijeshep.
Very good tutorial.
All the best.