Custom PhaseBeam Live Wallpaper! ;) - Samsung Galaxy Nexus

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

Related

[TUTORIAL] Extracting and Editing graphics from DLL files

Extracting and Editing graphics from DLL files
(such as phcanImages.dll/phcanOverbmp.dll)
1. Download View attachment Msigner.zip.
(2. Unsign DLL file using UnSigner.exe)
{
"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"
}
3. Open copy of DLL in ResHacker.exe
4. Locate and Save Bitmap..
5. Download View attachment BMPInfo.zip.
6. Note your BMPs details.
7. Edit extracted Bitmap. !DO NOT CHANGE FILE-FORMAT
8. Save and check details again with BMPInfo.
9. Open DLL in Reshacker.exe again.
10. Replace Resources.. current Bitmap with new edited version.
11. Save as.. DLL
12. Use siggner.exe (SDKSamplePrivDeveloper) to Sign DLL.
13. Check logg.
It should say:
Warning: This file is signed, but not timestamped.
Succeeded
If something went wrong it might say:
Error: Signing Failed. Result = 80070057, (-2147024809)
14. When done, transfer DLL to My Documents on phone.
15. Open Total Commander
16. Rename original DLL to *_original.dll
17. Copy/Move edited DLL from My Documents to original DLL folder (%\Windows\).
18. Soft Reset.
If your edit doesn't work..
1. Go to DLL folder in Total Commander.
2. Rename failed DLL to *_fail01.dll
3. Soft Reset.
(4. Delete *_fail01.dll after Soft Reset)
Excellent short guide. It doesn't go in-depth, but those who know what they're doing will find their way. May I suggest some improvements?
Instead of using the command line to unsign a file, you can just use the file explorer by dragging the DLL to unsign onto the executable file. It will automatically pick the dragged file and unsign it. Saves some hassle!
Also, if you use a proper image editing program such as GIMP or Photoshop, you won't need to check and recheck the BMP's properties, as they automagically save the proper type.
Then it might be a good idea to add the URL's for all the apps that need downloading.
Finally, it might be a good idea to tell people what the file signer should report (Signed, but not timestamped) and that they should only use SDKSamplePrivDeveloper.
Cheers!
Excellent short guide. It doesn't go in-depth, but those who know what they're doing will find their way. May I suggest some improvements?
Instead of using the command line to unsign a file, you can just use the file explorer by dragging the DLL to unsign onto the executable file. It will automatically pick the dragged file and unsign it. Saves some hassle!
Well noted. Adding screenshot.
Also, if you use a proper image editing program such as GIMP or Photoshop, you won't need to check and recheck the BMP's properties, as they automagically save the proper type.
I've had a great deal of issues with different versions of Adobe Photoshop, which is why I use BMPInfo to double-check, helps avoid floating-point errors and such.
Then it might be a good idea to add the URL's for all the apps that need downloading.
Finally, it might be a good idea to tell people what the file signer should report (Signed, but not timestamped) and that they should only use SDKSamplePrivDeveloper.
Right on it..
heers!
Please sticky this, I think it's good stuff.

Open Cramfs image for JF1.51 CRB43-US using Cygwin

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!

Annotations (autobackup)

{
"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"
}
SYNCHRONIZE ANNOTATIONS
Synchronise your nook annotations and bookmarks for copy and paste (for example to Evernote)​
Backup /databases in /data/data/com.bn.nook.reader.activities/
Delete /databases in /data/data/com.bn.nook.reader.activities/
Create /databases in /media/my files/
Create symlink by terminal or adb or root explorer
Code:
su ln -s /media/My\ files/databases /data/data/com.bn.nook.reader.activities/
Synch (by dropsynch) folder /databases in /media/my files/
Updated.
Ooh, I suppose this may be useful for synching between Nooks, too? But even if not, simple autobackup is itself awesome, thanks for the tip!
dxcore35 said:
SYNCHRONIZE ANNOTATIONS
Synchronise your nook annotations and bookmarks for copy and paste (for example to Evernote)​
Backup /databases in /data/data/com.bn.nook.reader.activities/
Delete /databases in /data/data/com.bn.nook.reader.activities/
Create /databases in /media/my files/
Create symlink by terminal or adb or root explorer
Code:
su ln -s /media/My\ files/databases /data/data/com.bn.nook.reader.activities/
Synch (by dropsynch) folder /databases in /media/my files/
Click to expand...
Click to collapse
I do not know exactly how to do the commands for steps 1 and 5.
Is 1 just copying the folder files to other folder or is it necessary any special backup command?
For point 5 is there any special command?
Thanks in advance, I'm updating from a NST to a GLOW and it would very interesting to be able to keep bookmarks and annotations.
1. Step 1 is simply copy files where you want (for example in root explorer)
2. Step 5 contain only install dropsync (app) setup patch to /media/My\ files/databases and set your autosynch folder on dropbox
That's all!
The [little] problem with this approach – most of the time you want to do merge, not sync (i.e. overwrite)
How to Copy Step 1
I am stuck on step 1 although I have installed dropsync and created the folder databases in /media/my files. I can't find a copy command in adb shell. Therefore I did an adb pull but noticed that the pull didn't pull over the empty folders "lib", "files" but did pull over databases and shared_prefs folders. Therefore do I need the lib and files folder inside the /media/my files/database folder and if I create them do permissions matter? Or is there an easier way to copy things over. Thanks
dpippin said:
I can't find a copy command in adb shell.
Click to expand...
Click to collapse
You need to install busybox...
Thank you...
Worked great thank you.
dpippin said:
Worked great thank you.
Click to expand...
Click to collapse
You are welcome
Hi dxcore35,
thanks a lot for this, I've been looking for a way to do this for so long...
however, I'm new to the concept of symlink (one in a long list)
so I looked it up and I understand what it does, but I still cant figure out how to create it, do I just connect to my NST via ADB and type the code you provide?
I know this is old but if someone will be so kind as to point me in the right direction I'll write a howto for newbs like me in the general forum (it's already taken me a couple of hours to get this far and I know many people like me are desperate to sync their notes)
Taking 2minutes of your time WILL save me who knows how many hours of googling and messing things up on my nook
so that would be your good action of the day
cheers
An unrelated way to backup the annotations, etc:
Code:
adbsync e:\dbs data/data/com.bn.nook.reader.activities/databases /h
(This uses my adbsync utility.)

Custom PhaseBeam Live Wallpaper! ;)

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

[App 2.3+] Wallpaper Gallery | [Guide] Make your own Gallery!

[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.

Categories

Resources