Can one of the authors of the 3 themes that have been made for the XOOM grace the community with a quick down and dirty howto?
What Scripts are needed?
What tools do you use?
Steps to open APK
Steps to repackage APK
Do we need to sign it? If so how?
Before I get flamed:
I have google'ed and there are allot of tutorials for others devices but I would like to see a tried and true method for the XOOM - with the current state of things (backup options) I am not feeling very adventurous so I would rather get some info from those whom have it down and a good process, Ideally this would get sticky so we would have a point of reference for future authors.
So if you have a few mins. today can you jot down the steps above and we can start to compile a nice howto?
Thanks,
----- My trial and errors -----
I will do a small modification to the SystemUI.apk to change the 3 icons on the bottom left launcher.
** Assumptions: Reader is using a Intel Mac, and has SDK and mac ports installed.
Download APKManager as suggested
Install SOX - for mac
Code:
sudo port install sox
APK Manager only comes in two flavors that I found, Windows and Linux, take the Linux one and build any other packages we might need
Code:
sudo port install p7zip
sudo port install optipng
Remove supplied optipng and aapt tools as they were compile for linux and are in ELF format so we can't exec them but we have our own now.
create a directory to work from
Code:
mkdir mytheme
Copy the script and the other fold in to your workspace:
Code:
cp -r Script.sh other ../mytheme
Enter your workspace and extract SystemUI.apk
Code:
cd ../mytheme
don't forget to make Script.sh and stuff other executable
chmod +x (or 755) Script.sh
chmod +x (or 755) -R other/*
./Script.sh
choose option 0
type: /system/app/SystemUI.apk
choose option 1
open a new tab
cd ../mytheme
cd out
Now you have a extracted / decompiled version of the systemui.apk that you can modify.
More to come...
Modify SystemUI.
Download APKManager. It is pretty self explanatory.
Okay,
So I finished my theme tutorial and as the post above stated it was very simple to follow along, I will update the first post and finish off the tutorial so others can learn,
Here is an image of my finial change, I used some icons from Gnome to change the 3 bottom left buttons as I think the theme shipped w/ xoom is good just those darn buttons are not very good looking.
Shot:
{
"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"
}
Those icons look really slick...
Sent from my Nexus S using XDA App
njstisforall said:
Those icons look really slick...
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Thanks,
Here is the SystemUI.apk
MD5 (SystemUI.apk) = 8c998de760fa36bd7b447538f48dc96c
first time distributing so backup yours just in case I did it wrong
adb pull /system/app/SystemUI.apk .
adb push ~/Downloads/SystemUI.apk /system/app/
Cheers,
where do I do this step:
Remove supplied optipng and aapt tools as they were compile for linux and are in ELF format so we can't exec them but we have our own now.
I figured it out
Related
This will work with *ANY* theme that has the Stericson's lockscreen on it. All you have to do is flash it using the easy new (and AWESOME) method of flashing theme files made by Stericson, Kastro and Riku called MetaMorph:
To flash simply put Prash-SystemForce3-Stericson-Lockscreen.zip into the "AndroidThemes" directory then go into terminal type the following:
Code:
su
mm.sh -i
Then follow the prompt. Select #2, then select my lockscreen theme file, then once its done press 1 to select the frameworks-apk and hit enter to flash.
REBOOT is necessary after this.
Find out more info at the MetaMorph thread.
Anywho: here is a screenshot of what you should have when everything is done:
{
"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"
}
As always, enjoy!
Awesome man! Just flashed it and it worked flawlessly without disturding any other parts of my current theme...very nice.
Stericson
FIRST--. about to try it out, YAY METAMORPH
DARN YOU STERICSON! lol
Also thinking about offering different battery packs for this already. Anyone interested in contributing, just start themeing
Melange
prash said:
Also thinking about offering different battery packs for this already. Anyone interested in contributing, just start themeing
Click to expand...
Click to collapse
I'm working on doing the Melange Theme this way... your help will be greatly appreciated Sir Prash...
It's actually super easy, just grab that theme example from Metamorph thread and just replace the images and add folders you want to include. Its all done with images only. Same folder structures but nothing else needed.
Just pm me if you need help with anything, more themers need to start using metamorph, its amazing. You don't need to make any more rom dependant themes..you can basically use metamorph to flash any themes on any roms.
prash said:
This will work with *ANY* theme that has the Stericson's lockscreen on it. All you have to do is flash it using the easy new (and AWESOME) method of flashing theme files made by Stericson, Kastro and Riku called MetaMorph:
To flash simply put Prash-SystemForce3-Stericson-Lockscreen.zip into the "AndroidThemes" directory then go into terminal type the following:
Code:
su
mm.sh -i
Then follow the prompt. Select #2, then select my lockscreen theme file, then once its done press 1 to select the frameworks-apk and hit enter to flash.
REBOOT is necessary after this.
Find out more info at the MetaMorph thread.
Anywho: here is a screenshot of what you should have when everything is done:
As always, enjoy!
Click to expand...
Click to collapse
Dude i want to replace the lock ring with a drawable anim file that will loop some 20 images which form lock animation . but when i do this i am only seeing the first pic of the anim file . Do i need to change anything in my smali file?
I got the stock live wallpapers Grass, Galaxy, and Water working brilliantly. Nexus doesn't work here, but Nexus Revamped in the market (same thing, only customizable) works perfectly.
Download this apk: http://db.tt/ur0c98s
It won't install, so use either adb or use Root Explorer instructions below . . .
Root Explorer:
Copy the file. Go to to system/app. Set r-w. Paste. Set the permissions for the file the same as the other apks in that folder. They should now work! If not, try a reboot.
adb commands:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
cd system/app
mv LiveWallpapers.apk system/app/LiveWallpapers.bak
exit
adb push LiveWallpapers.apk system/app/LiveWallpapers.apk
adb shell chmod 644 /system/app/LiveWallpapers.apk
adb reboot
{
"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"
}
it works for me.
btw the command to set the permissions is
chmod 644 /system/app/LiveWallpapers.apk
sent from my nook color using the xda app
wvcachi said:
I got the stock live wallpapers Grass, Galaxy, and Water working brilliantly. Nexus doesn't work here, but Nexus Revamped in the market (same thing, only customizable) works perfectly.
Download this apk: http://www.mediafire.com/?oymijnnydnz
It won't install, so either adb or use Root Explorer to copy it to system/app. Set the permissions the same as the other apks in that folder, and paste. They should now work! If not, try a reboot.
Click to expand...
Click to collapse
Will this mess up any of the live wallpapers that I already have installed?
Also, could you post step by step installation instructions using adb?
Noah98 said:
Will this mess up any of the live wallpapers that I already have installed?
Also, could you post step by step installation instructions using adb?
Click to expand...
Click to collapse
No, your other Live Wallpapers will be fine. OP updated with adb commands.
This worked great, thanks! I really love the "water" live wallpaper, but couldn't figure out how to get it.
wvcachi said:
adb commands:
adb shell
mount -o remount,rw /dev/block/mtd3 /system
cd system/app
mv LiveWallpapers.apk system/app/LiveWallpapers.bak
exit
adb push LiveWallpapers.apk system/app/LiveWallpapers.apk
adb shell chmod 644 /system/app/LiveWallpapers.apk
adb reboot
Click to expand...
Click to collapse
Does /dev/block/mtd3 equal /dev/block/mmcblk0p5 ?? I used mmcblk0p5 successfully. I didn't try mtd3, in case it was some reserved disk location. Thanks.
I know this is an old thread but thought I would try any way. Does anyone have the modified apk that allows these (galaxy, water) to work on the stock rooted Nook? The link in the OP is dead. I have LWP working but can't get these to function. If someone could share the file, it would be much appreciated
How to Display a devices Screen Lock Pattern Code
This tool will allow a user to retrieve the unlock code for an Android device using the Pattern protection. This has been tested on a Droid Bionic running JB 4.2, and a Nexus 7 running JB 4.2. In both cases it worked fine. This tool was designed and tested on Ubuntu 12.04, but it should work with and variant of Ubuntu 10+. If you have issues make sure you have ImageMagick installed.
Note: If ImageMagick is not installed, you can install it with this command: sudo apt-get install imagemagick libmagickcore-dev
What you need:
Ubuntu 10.x or higher.
A rooted Android device.
Make the magic happen:
Download the tool that I called Navajo (Code Breaker) from here: http://imadroid.com/files/navajo.tar.gz
Put it on your desktop or somewhere easy to find.
Extract the tar .tar file by navigating to the directory and typing: tar -xvzf navajo.tar.gz
Change to the Navajo directory by typing: cd navajo
Make sure your device is set to allow USB debugging and plugged in to the computer.
Execute the application by typing: ./lock-code.sh
Alternatively you should be able to extract the file, and run it via the GUI as well. Make sure its set to be executable.
Then what happens:
If everything goes as planned then you should have a new file on your desktop named "lockcode.png". If you open this file you will see an image with a lock map, and your code printed in the bottom left. (See Attached Image)
Your code will also be displayed in the actual script as well, assuming you don't need the image map.
{
"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"
}
Neat.
Sent from my MB612 using xda app-developers app
BlackFire27 said:
Neat.
Sent from my MB612 using xda app-developers app
Click to expand...
Click to collapse
Yep, it works quite well.
Works great :good:
Things to note for those that didn't read the thread like me are:
Then what happens:
If everything goes as planned then you should have a new file on your desktop named "lockcode.png". If you open this file you will see an image with a lock map, and your code printed in the bottom left. (See Attached Image)
Click to expand...
Click to collapse
and
If you have issues make sure you have ImageMagick installed.
Click to expand...
Click to collapse
Install ImageMagick:
sudo apt-get install imagemagick libmagickcore-dev
Click to expand...
Click to collapse
Hello everyone users, today I want to present my latest creation: MyFirstrom.
Requirements:
Code:
-Microsoft. NET Framework 4.5.1 available: [URL=http://go.microsoft.com/?linkid=9839392] HERE [/URL]
-Java JDK 8 available: [URL=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html] HERE [/URL]
-Android SDK Tools available: [URL=http://dl.google.com/android/installer_r22.6.2-windows.exe] HERE [/URL]
This tool works on Windows, Linux and Mac OS (linux and mac I have not tested it yet, but to do so would run Wine, as it was developed for Windows, and have the extension *. Exe).
Here are the main features:
Code:
[COLOR="Red"][SIZE="5"]FEATURES:[/SIZE][/COLOR]
-Decompile Apk
-Rebuilding Apk
-Sign Apk
-Create un-sign zip
-Create signed zip
-Edit build.prop
-Edit the Update-Script
-Create tweaks / scripts to be included in the folder init.d
-Add Apk to rom and update.zip
Here are the 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"
}
Set development environment:
JAVA:
Code:
Download and Install the JDK 8 on the link above, open the Control Panel and look for "Advanced System", open it and click on "Environment Variables ..."
find the path variable and add these lines to the end:
"C:\Program Files\Java\jre8\bin;"
[COLOR="Red"][SIZE="5"]WARNING:[/SIZE][/COLOR]
if you have a 32-bit system you will need to change the lines and add these in place of those:
"C:\Program Files (x86)\Java\jre8\bin;"
SDK-PLATFORMS:
Code:
Create a folder in the path "C:\" and call it "Android", install the sdk-platforms and use this folder as the installation folder.
Open the environment variables and add these to the string variable path:
"C:\Android\platform-tools";
without the quotes.
Now that we have set the development environment can run the installer and install the tool.
For those wishing to publish a custom rom created with this tool will add to the post title or the hashtag #myfirstrom #mfr.
I hope this tool will serve to many of you, especially those who are beginners.
Thanks:
Code:
-Abhi922 for the rom base that is the simplicity v5
-The team that created ApkTool and SignApk
-Me for the tool and the GUI
-Benzyniarz1 the inspiration for the design of update zip creator
Here is the download link:
Setup.exe
For anyone wishing to make a donation to allow the tool to move forward with the development please click below:
PS:
This tool was developed for Windows 8 and 7 do not think that they appear fine objects.
On the login screen to access the tool the default username and password are: root.
But you can change to create a new account.
THANKS!!!
Hello!
Good thing for starters (aka noobs/newbies/etc). Maybe there will be danger of ROM flooding in Dev thread, but still good
Best regards.
devloz said:
Hello!
Good thing for starters (aka noobs/newbies/etc). Maybe there will be danger of ROM flooding in Dev thread, but still good
Best regards.
Click to expand...
Click to collapse
Thanks man!!!
In the next version add a new functionality: Download The Rom for a specific device!!!
Info
This will allow you to get the icons from the google pixel on your phone.
Not all apps are supported as the app has to provide a separate round icon.
Video tutorial coming soon.
TOOLS
Java: https://java.com/en/download/
Root Browser: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
Apktool: https://ibotpeaches.github.io/Apktool/
INSTRUCTIONS
Copy \root\system\framework\firmware-res.apk onto your computer, you might want to make a backup.
On your computer download apktool.jar and place it in the same location as your firmware-res.apk file.
Open CMD and navigate to the location of firmware-res.apk and apktool.jar
Type this in CMD.
Code:
java -jar apktool.jar d framework-res.apk
On your computer navigate to \framework-res\res\values\ and open bools.xml.
Look for
Code:
<bool name="config_useRoundIcon">fasle</bool>
and set it to true.
Go back to cmd and type
Code:
java -jar apktool.jar b framework-res -c
Copy the new firmware-res.apk from framework-res\dist\ onto your device and paste it in \root\system\framework\ you may need to do this in recovery.
Restart your device.
View the correct instructions for your launcher.
Pixel Launcher
On your device navigate to /data/data/com.google.android.apps.nexuslauncher/databases/
Google Now Launcher
On your device navigate to /data/data/com.google.android.launcher/databases/
Action Launcher
On your device navigate to /data/data/com.actionlauncher.playstore/databases/
Nova Launcher
On your device navigate to /data/data/com.teslacoilsw.launcher/databases/
Other Launchers
On your device navigate to /data/data/[Launcher Bundle-ID/Package Name]/databases/
Then delete app_icons.db and restart your device.
Notes
If you cannot find the location of app_icons.db then go to settings - apps - your launcher and clear all app data but doing this will lose icon layout.
If you cannot find <bool name="config_useRoundIcon">fasle</bool> then you are probably an incompatible version of android and the only option is to use an icon pack.
Screenshots (Before/After)
{
"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"
}
Reserved
Thanks So Much Can You Make an Extensive Guide On How To Make System UI Mods (Edit framework.red apk and Also SystemUI.apk ) For Increasing No. of Rows and Columns On Quick Settings and Also Center Clock
That Would be Really Appreciated
After Recompile and sign, my device boot loop (Lineage OS 14.1) help....
galofa said:
After Recompile and sign, my device boot loop (Lineage OS 14.1) help....
Click to expand...
Click to collapse
re-flash Lineage os, that should fix it, then send me your stock one and il modify it
parth_kalsi said:
Thanks So Much Can You Make an Extensive Guide On How To Make System UI Mods (Edit framework.red apk and Also SystemUI.apk ) For Increasing No. of Rows and Columns On Quick Settings and Also Center Clock
That Would be Really Appreciated
Click to expand...
Click to collapse
il take a look into it