[GUIDE] Porting 9LockScreen themes (From existing 5/1 lockscreen themes) !! - Galaxy 3 Themes and Apps

For porting any existing theme for g3 to 9LockScreen Mod, you need to have the following things -->
1. WinRar
2. Any existing theme with 9ls !
3. Theme which you want to port with 9ls mod !
4. A liitle brain shall do the work !!
Steps -->
1. First of all, this needs to be done in a separate folder as files get mixed up, so make a new folder.
2. Now put the two themes (one with 9ls and the other to be ported) in the folder.
3. Now extract both the update.zips to separate folders.
4. now open both the folders side by side. 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"
}
5. open system in both the folders.
6. Now if there is media folder in the theme you want to port, copy it to the existing 9ls theme folder and replace it.
7. Now open the framework in both the folder.
8. Now open the framework-res.apk with WinRar (Right click the apk --> open with --> winRar) in both the folders
9. Now place the winRar window of the theme which needs to be ported on the RIGHT side and the theme which already has 9ls on the LEFT side. Like this -->
10. Open the res folder in both the apks
11. then open the drawable-ldpi in both. Like This -->
12. Now select all the files on the RIGHT side and drag them to the LEFT side.
13. A screen like this will appear on the Right side -->
14. Then a screen like this will appear on the LEFT side --> Press OK
15. Once done, go back once in each apk and open drawable-mdpi folder in both apks and drag and drop all the files as done above (IDK Whether this step is needed or not but I do it !!! )
16. When done, close both the winRar windows and now open the twframework-res.apk in both windows. Similarly place the winRar window of the theme which needs to be ported on the RIGHT side and the theme which already has 9ls on the LEFT side.
17. Open the res folder and then drawable-ldpi in both the windows. Now like step 12-14, drag and drop the files from RIGHT to LEFT !
18. Now do the same for the drawable-mdpi folder.
19. Once done, close both the winRar windows and now go back to sytem in both the folders. And open "app" folder in both the folders.
20. Now open Settings.apk of both the folders and repeat the steps 9 to 15.
21. Once done, close both the winRar windows.
22. Now the folder in which you had the theme which ALREADY had 9ls Mod, has YOUR THEME with 9ls Mod.
23. Now keep this window open and close the windows on the RIGHT side. Like This -->
24. Open the update.zip of any theme (Preferably the theme which already had the 9ls Mod) in winRar, and place it to your right Like this -->
25. Now open system in the update .zip on RIGHT side.
26. Now drag and drop the media folder (if any) from LEFT to RIGHT !
27. Now open Framework folder both sides and delete all the files from right side and drag and drop from the LEFT side to the RIGHT side. Like This -->
28. then open the app folder on both the sides and delete the contents from Right side and drag and drop from LEFT to RIGHT !!
29. TA DA !!!! Now you are done with the porting. Flash the update.zip via Recovery and enjoy !!!
HOPE IT HELPS !! SORRY FOR THE LENGTH... WOULD TRY TO MAKE IT SHORT !!!

image size reduced !! Shifted to photobucket

Good going. I ll add a link to this thread.

dhirend_6d said:
Good going. I ll add a link to this thread.
Click to expand...
Click to collapse
Thanx !!!

Nice tutorial....but is it only for Galaxy 3 or also for other devices like Galaxy Mini??????? I want to add 9ls mod to my Galaxy Mini's framework...can i use this tutorial...??? And if No....then can u plzz post a tutorial on adding 9ls to Galaxy Mini's framework....plzz plzz can u do it???

oj_buddy said:
Nice tutorial....but is it only for Galaxy 3 or also for other devices like Galaxy Mini??????? I want to add 9ls mod to my Galaxy Mini's framework...can i use this tutorial...??? And if No....then can u plzz post a tutorial on adding 9ls to Galaxy Mini's framework....plzz plzz can u do it???
Click to expand...
Click to collapse
If there is already a theme for galaxy mini with 9ls, then using that you can port other themes with 9ls.... otherwise you will need to do some xml and other porting that i don't know how to do...

nishant_713 said:
If there is already a theme for galaxy mini with 9ls, then using that you can port other themes with 9ls.... otherwise you will need to do some xml and other porting that i don't know how to do...
Click to expand...
Click to collapse
Oh...So....i think it will never be ported to Galaxy Mini...
I really want it...Plzz can u port or make someone port who ported it to Galaxy 3...?
Or just tell me who ported this theme to Galaxy 3??

oj_buddy said:
Oh...So....i think it will never be ported to Galaxy Mini...
I really want it...Plzz can u port or make someone port who ported it to Galaxy 3...?
Or just tell me who ported this theme to Galaxy 3??
Click to expand...
Click to collapse
well i think it was akash.gpta who ported it to g3 (I guess) ....

where to find the sources to make 9 lockscreenmod work ?

spacecaker said:
where to find the sources to make 9 lockscreenmod work ?
Click to expand...
Click to collapse
9 Lockscreenmod for Froyo.
9 Lockscreenmod for Gingerbread.
These are the sources but the const values are with respect to SGS. You will have to port it to your device.
Edit : - This should also be useful. Its Akash Gupta s port of 9 Lockscreenmod for our Galaxy 3.

Related

How to port themes to HTC Legend (example Minimal Matte)

{
"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"
}
Hey Guys,
I was asked if i could do a Tutorial how to port themes to HTC Legend. And here it is
Perform a Nandroid Backup first... as usual.
Be careful i am not responsible for any damage at your device.
Method 1 = not changing your system and will integrate it to running system (ADB Method)
Method 2 = new clear install of Rom required (Flashable ZIP)
At first you need a few things:
SDK from Android
Theme-Porter by Daneshm90 (Thanks for support! ) Make sure you are using the newest beta of the program
The Rom of files with the theme in it ( in our example Minimal Matte 1.5 !! NOT THE VERSION FOR LEGEND! from the Thread here at XDA Dev's)
The Rom you are using ( for example Cyanogenmod 6.1 (Thanks to ali Ba for his awesome work))
Update.zip Modifier/Creator
A USB cable
Time
Click to expand...
Click to collapse
Let's start.
METHOD 1:
STEP 1:
First you have to use the Theme-Porter so you unzip the folder to C:\Theme-Porter or something similar. In this folder there are two important folders called new and old. So you unzip your Roms and put all files in system/app/ from your current Rom in the folder Theme-Porter/new/app/ and all files from system/framework/ in Theme-Porter/new/framework/. Unpack also the themed Rom and replace files from system/framework/ and system/app/ to old/framework and old/app.
STEP 2:
Run script.bat in root folder of Theme-Porter (C:\Theme-Porter) and select the option you want.
In our case if we want to port Minimal Matte, choose Option 1 because we are porting a froyo rom to a froyo rom.
If you are porting a theme from a hdpi device ( for example Nexus One and Desire ) you have to toggle Hdpi to Mdpi with option 4 ( Legend devices. (has something to do with the resolution)).
If it's ready the files in the Theme-Porter/new folder are themed.
STEP 3:
Unzip the SDK to C:\SDK (make sure in the name of the SDK is no space in it. NOT like this C:\Android SDK ) .
Now Copy the files from Theme-Porter/new to C:\SDK\tools. Like this Theme-Porter/new/framework/framework-res.apk -> C:\SDK\tools\framework-res.apk.
Connect the HTC Legend to the Computer via USB. Go to Clockwork recovery mode via Rom Manager.
Click on restart in Recovery Mode in Rom Manager. Once rebooted go to partition menu and click on mount /system.
Turn now to your PC and follow the steps
STEP 4:
Now go to your comand line (Windows Vista and Windows 7 Start->Type "cmd").
Code:
cd C:\SDK\tools
(or wherever you have placed the SDK, remember NO spaces in folder name, and make backslash = \ and NOT / ). Back in the black window:
Code:
adb shell
exit
Make a folder in C:/framework , C:/app , C:/fonts and so on. Copy the new files in there. It pretends what you want to change.
Code:
adb push C:/framework /system/framework
adb push C:/app /system/app
adb push C:/fonts /system/fonts
Push all files to phone which were themed
If you are ready you can type :
Code:
adb reboot
exit
STEP 5:
The Phone will reboot and your system will be themed.
Click to expand...
Click to collapse
METHOD 2:
STEP 1:
It is easier to flash a zip file but sometimes they are not available. ( In our case I contacted shiftedx from Minimal Matte to give him my ported files...)
If you like to create a flashable/themed Rom, you have to download this tool and unpack it to C:\Update-Zip-Packager\ .
STEP 2:
After that copy the unzipped files from the Rom you want to use (Cyanogenmod 6.1 Stable for example) to folder C:\Update-Zip-Packager\placehere. (should look like this: C:\Update-Zip-Packager\placehere\META-INF ... )
STEP 3:
Then copy the files from C:\Theme-Porter\new to C:\Update-Zip-Packager\placehere\system\ . (btw files like fonts or something doesn't have to be ported so copy them from old to new folder.
STEP 4:
Now run script.bat in C:\Update-Zip-Packager\script.bat. select "make Update.zip" with option 2. Ready? Ok then drag update.zip to sdcard of your phone and apply it with rom manager.
Click to expand...
Click to collapse
Extras:
I prepared a Cyanogenmod 6.1 Stable Rom with Minimal Matte (included fonts...) and working wifi tether, replaced FileManager with Astro and replaced ADWlauncher with LauncherPro:
Here is the link if somebody wants to use it.
CM6.1 RC 1 with Minimal Matte (Outdated)
DOWNLOAD
The new Stable version of CM6.1 with Minimal Matte
DOWNLOAD
Minimal Matte LD pre release version for CM7 (any version) No wipe needed!
DOWNLOAD
Minimal Matte HD Thread
Note to Screenshots: Theme will not change widgets,Lockscreen, Launcher, Wallpaper. If you want the Lockscreen look at this beautiful Thread. It will change Statusbar, Notification windows, keyboard and fonts.
Works not so well with official Vodafone 2.2 version.
Click to expand...
Click to collapse
Great post, thanks for your efforts !
I'll give this a go when my Legend has its screen fixed and report back with questions or success
Eitherway, thank you!
By the way, this thread should be stickied!
Awesome.
Can't wait to get home and try to do some decent themes.
- - - - - - - - - - - - - - - - - - - - - - - -
Woooo
Anyone know any decent themes?
Hey parker, did you try it on the rooted 2.2 rom from vodafone?
Currently using: CyanogenMod 6.1.0 RC1
c_man said:
Great post, thanks for your efforts !
I'll give this a go when my Legend has its screen fixed and report back with questions or success
Eitherway, thank you!
By the way, this thread should be stickied!
Click to expand...
Click to collapse
All right! I have reorganized the text a bit so you can follow easily.
Westi01 said:
All right! I have reorganized the text a bit so you can follow easily.
Click to expand...
Click to collapse
Thank you.
Also thank you for this below, its ideal for most of us!
Westi01 said:
STEP 5:
I prepared a Cyanogenmod 6.1 RC1 Rom with Minimal Matte (included fonts...) and working wifi tether, replaced FileManager with Astro and replaced ADWlauncher with LauncherPro:
Here is the link if somebody wants to use it.
http://www.multiupload.com/UN01TMO9I1
FIXED.
Click to expand...
Click to collapse
I look forward to using it soon
hey, just been playing with it for the last hour or so, trying to make a transparent notification bar, it works well when it boots up phone and goes into keyguard mode but once its on the homescreen (and ShootMe isn't running!!) it looks dark and ****.
I had the same problems porting MIUI theme to Legend. Don't know how to fix it at the moment.
Sent from my Legend
tried porting the Elegant steel rom (http://forum.xda-developers.com/showthread.php?t=769376&highlight=elegant+steel) to the rooted froyo vodafone rom but it didnt work. =(
Uploaded with ImageShack.us
Would something like the transparent MIUI work?
http://forum.xda-developers.com/showthread.php?t=798661
BicolXpress said:
tried porting the Elegant steel rom (http://forum.xda-developers.com/showthread.php?t=769376&highlight=elegant+steel) to the rooted froyo vodafone rom but it didnt work. =(
Click to expand...
Click to collapse
Maybe because of the HDPI<-->MDPI
I couldn't even get it to port
Code:
framework-res
Downsizing drawable Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-en-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-land-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
parker09 said:
Maybe because of the HDPI<-->MDPI
I couldn't even get it to port
Code:
framework-res
Downsizing drawable Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-en-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-land-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Click to expand...
Click to collapse
There are Issues with Sense and Themes that are made for example for Cyanogenmod. And try to redownload both Roms and try again it seem to be a wrong MD5Sum or something. The files seem to be corrupt. I have tried to Port the MIUI style but it doesn't work because they modified whole Apks and not only replacing PNGs like the Theme-Porter does.
Westi01 said:
There are Issues with Sense and Themes that are made for example for Cyanogenmod. And try to redownload both Roms and try again it seem to be a wrong MD5Sum or something. The files seem to be corrupt.
Click to expand...
Click to collapse
Oh I see.
Westi01 said:
I have tried to Port the MIUI style but it doesn't work because they modified whole Apks and not only replacing PNGs like the Theme-Porter does.
Click to expand...
Click to collapse
I tried the one I posted and for the lockscreen it worked perfectly but once the phone gets unlocked thats when the notification bar goes black (I think its from all the other images from the dropdown menu being on top of each other).
parker09 said:
Oh I see.
I tried the one I posted and for the lockscreen it worked perfectly but once the phone gets unlocked thats when the notification bar goes black (I think its from all the other images from the dropdown menu being on top of each other).
Click to expand...
Click to collapse
Ah ok. I tried to port the original Theme. Could be that your Link works better.
Maybe this helps someone?
[Application] Mac: Convert HDPI images to MDPI
Are these any good for you guys? I can't test right now, still without my Legend .
[Theme] CM v6.1.0-RC1 / Biffmod 2.1 / Nightly 250 (mdpi)
BlueDark [11/07/10]MDPI Full Roms Cyanogen 6.1RC1
Hey Westi01,
the picture with the surfer girl is pretty awesome. Could you please upload the picture as jpg?!
Westi01!
Is it possible to use your ported Minimal theme without flashing the whole ROM?
I would like to keep my system as it is if possible!
Thank you,
zappelfry said:
Hey Westi01,
the picture with the surfer girl is pretty awesome. Could you please upload the picture as jpg?!
Click to expand...
Click to collapse
It's a picture out of UltraLinx Gallery. It a very good Site by the way !
greenolive said:
Westi01!
Is it possible to use your ported Minimal theme without flashing the whole ROM?
I would like to keep my system as it is if possible!
Thank you,
Click to expand...
Click to collapse
Look at Method 1 for applying themes without Flashing. You have to use ADB.

[TUT] Metamorph on X8

lets try something new today..
before I start let me ask you this questions.
do you like customizing your phone?
do you want to edit your apk's without a pc?
do you have belief in xrecovery (&me probably)
if you answered YES for the above questions. I've something good for you.
our map for the treasure in this journey would be a small application named
METAMORPH
MetaMorph, at heart, is simply a program that takes files from a directory and adds them to an already existing zip package.
In this case, our zip packages are apk and jar files.
Click to expand...
Click to collapse
THINGS YOU'LL NEED :
Metamorph (attached)
RootExplorer (any apk which can edit xml files)
Androzip/Astro (zip app)
Creativity & Willingness to take the Risk
Metamorph uses a zip file to apply the customize apk on your phone.
the zip file contains two things
a xml file
folder containing your mods
lets cut it sweet with an example.
----------------------------------------------------------------------------------------------------------------------------------------------------
lets suppose I want to change the icon of my apk. lets say I want to change icon of Calculator
{
"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"
}
to
----------------------------------------------------------------------------------------------------------------------------------------------------
Metamorph is CaseSensitive. Following Steps need the correct name & case
Click to expand...
Click to collapse
we'll do it in 2 parts
PART - 1
to do this I'll first need to create a folder named Calculator
now the icon of calculator is in the folder res\drawable-mdpi
so I'll create those folders in the Calculator folder
so the line is Calculator->res->drawable-mdpi
all I need to do now is the monster icon into this folder and name it exactly the same way it is in the original so lets rename monster.png to icon.png
PART - 2
the xml file should contain this code
Code:
[B]<?xml version="1.0"?>
<themename>[COLOR=Red]theme_name[/COLOR]</themename>
<themeversion>0.1beta</themeversion>
<screenshot></screenshot>
<author>Suhel</author>
<authorweblink>N/A</authorweblink>
<phone>Xperia X8</phone>
<rom>Sony Xperia X8 2.1 </rom>
<themedescription>Converted Theme</themedescription>
<item>[COLOR=Red]your_apk.apk[/COLOR]</item>
<path>[COLOR=Red]path_of_your_apk[/COLOR]</path>
<description></description>
[/B]
ok the red things in the above code are crucial.
1. theme_name (I'll come to this later)
2. your_apk.apk this is the name of your apk
3. path_of_your_apk this is the path of your apk
for our Calculator it should be something like this
Code:
<?xml version="1.0"?>
<themename>X8Champ</themename>
<themeversion>0.1beta</themeversion>
<screenshot></screenshot>
<author>Suhel</author>
<authorweblink>N/A</authorweblink>
<phone>Xperia X8</phone>
<rom>Sony Xperia X8 2.1 </rom>
<themedescription>Converted Theme</themedescription>
<item>[B][COLOR=Red]Calculator.apk[/COLOR][/B]</item>
<path>[COLOR=Red][B]/system/app/[/B][/COLOR]</path>
<description></description>
hope you understand. now you need to save the xml file.
now the first point. the theme_name you are going to type should be the same name as of your xml file name
ok now you're done.
all you need to do now is create a zip file and place the folder & xml file in that zip file. again make sure the name of the zip file should be the same as the xml file
put the zip file in your sdcard root
-------------------------------------------------------------------------------------------------------------------------
Applying theme with Metamorph
Tap Unzip/Extract new theme
Select the Zip file
Tap the apk you want to apply and tap apply it
Reboot your phone
-THE END-​
Why Metamorph?
​ 1. Easily Edit your Apk's & Jar files on your phone without hazzle of extracting and replacing.
(Jar files will need pc. awww but you dont edit jars too much )
2. You can Mod multiple Apk's
Code:
[B]<item>[COLOR=Red]your_apk1.apk[/COLOR]</item>
<path>[COLOR=Red]path_of_your_apk[/COLOR]</path>[/B]
[B]<item>[COLOR=Red]your_apk2.apk[/COLOR]</item>
<path>[COLOR=Red]path_of_your_apk[/COLOR]</path>
[/B]
[B]<item>[COLOR=Red]your_apk3.apk[/COLOR]</item>[/B]
[B] <path>[COLOR=Red]path_of_your_apk[/COLOR]</path>
<description></description>
[/B]
you can even edit your Framework-res.apk. just make sure the path of it is /system/framework and not /system/app
3. I don't know. I need to try it out more. I'm trying to edit a jar file for now. will tell you the results. but the potential of it are endless
4. However it doesn't work with market apps. its intended to only bug the stock things
IMPORTANT : Meta is very stringent about its filenames and fonts case and name. If you miss one thing the apk will disappear from your menu. so make sure you've a
BACKUP B4 U MESS-UP
WOW IT RHYMES LOL
Click to expand...
Click to collapse
EDIT : well you don't need to entirely backup just copy/paste the apk you want to edit. entire backup may require if you are playing with jar files or crucial apk's.
I'm not responsible for any mess done to your phone
Edit 2 : Works with framework-res.apk too
Ok. How can I change icon Phone or Music Player? I try your method and I can change only Calculator, Calender and Settings. Any ideas?
bananoss said:
Ok. How can I change icon Phone or Music Player? I try your method and I can change only Calculator, Calender and Settings. Any ideas?
Click to expand...
Click to collapse
folder path
SemcMusic\res\drawable
icon name
music_app_icon.png
Code:
[B]<?xml version="1.0"?>
<themename>SemcMusic</themename>
<themeversion>0.1beta</themeversion>
<screenshot></screenshot>
<author>Suhel</author>
<authorweblink>N/A</authorweblink>
<phone>Xperia X8</phone>
<rom>Sony Xperia X8 2.1 </rom>
<themedescription>Converted Theme</themedescription>
<item>SemcMusic.apk</item>
<path>/system/app/</path>
<description></description>[/B]
Nice tut
edit: if i need to change a app on sdcard whats the path? :S
/sdcard/foldername
Foldername would be the folder in which your app is stored
Click to expand...
Click to collapse
WHOOAA. Can I get a source for the background please? And what font are you using there?
Edit: This looks so damn good, holy crap.
a-k-t-w said:
WHOOAA. Can I get a source for the background please? And what font are you using there?
Edit: This looks so damn good, holy crap.
Click to expand...
Click to collapse
sure buddy
what about folders in zip file for framework.apk ? Where should be semc_bg.png and fonts ? Near .xml or in folder .......
Sorry for offtopic... But: Which framework do you (suhel) use? It's so awesome
thanks for this tutorial!
herbi69 said:
what about folders in zip file for framework.apk ? Where should be semc_bg.png and fonts ? Near .xml or in folder .......
Click to expand...
Click to collapse
the semc_bg should be placed in /res/drawable-mdpi
for the fonts refer this topic http://forum.xda-developers.com/showthread.php?t=933406
[email protected] said:
Sorry for offtopic... But: Which framework do you (suhel) use? It's so awesome
Click to expand...
Click to collapse
are you talking about the blue background??? I've already attached the file and fonts two posts above your post
thanks for sharing~

2.3.4 sliding Power Notification widgets with Transparent / Arc 62,58,42,283

Welcome to my Post
1) New 2.3.4 based Power notification widgets
9 Power widgets in notification bar with slide to left / right
Brightness widget with auto option
Special Thanks to
jamesgary ( this system ui taken from his rom ) posed below
http://forum.xda-developers.com/showthread.php?t=1381597
Tested and worked with Arc 2.3.4
For 42 & 58 firmwares
Please do not mirror my links
Requirments.......
1) your Phone should be rooted
2) root explorer should be installed
>>>> now battery mods supported to system ui to have full transparency in notification bar. get the framework-res go to this thread
http://forum.xda-developers.com/showthread.php?t=1284651
>>>> now there is olny without reboot mods got that update for 42 firmware to have full transparency
1) Z blue V1
Tab on it and slide to Left
{
"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 from here
http://www.mediafire.com/download.php?dnz9srz5cg3q4dm
2) Z blue 3D V1
Tab on it and slide to Left
Download from here
http://www.mediafire.com/download.php?tt9z49nd7jt2wk1
To get battery mods visit
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1284651
How to install........
Download and copy my system ui.apk in sd card.
copy it to system here set the permission to RW-R-R
now move it to app folder
replace with the original
now restart you Arc to take effects.
******************************************************************************************************
You Can also change the Footer Picture and the Background picture as per your requirement
Click to expand...
Click to collapse
Method how to change the Pictures
1. Download one of the package
2. extract the rar file then you get system ui.apk file
3. Right click on system ui.apk file and open it with win-rar
4. then go to res folder here search for a folder named drawable-hdpi, click and drag this folder any where into your PC
5. now change the pictures as per your requirement, but first copy and rename those picture which you are going to replace with the original file name
6. now close the folder and drag it back inside the res folder, Win-rar ask you for replace it Click on ok
7. Now close the win-rar
8. APK file ready for testing
What can be changed..........
1) Background image..
To change the background image replace the file from drawable-hdpi that have the name
status_bar_background.png
the original size of the picture is 480*746
2) Footer Image
To change the Footer Image replace the file from drawable-hdpi that have the name
status_bar_close_on.9.png
the original size of the picture is 480*48
One sample Footer picture attached below without xperia name
excellent job!!!
may i ask u to make 6 Power widgets and without text under it?
thank you very much!!!
l_ung said:
excellent job!!!
may i ask u to make 6 Power widgets and without text under it?
thank you very much!!!
Click to expand...
Click to collapse
Removing text under it would be really nice
is it possible to add a brightness switch widget with those widget?
oh btw, Thanks for your hard work!!
you can make the background Power notification is not transparent
thank you..
How to change the pictures
You Can also change the Footer Picture and the Background picture as per your requirement
Click to expand...
Click to collapse
Method how to change the Pictures
1. Download one of the package
2. extract the rar file then you get system ui.apk file
3. Right click on system ui.apk file and open it with win-rar
4. then go to res folder here search for a folder named drawable-hdpi, click and drag this folder any where into your PC
5. now change the pictures as per your requirement, but first copy and rename those picture which you are going to replace with the
original file name
6. now close the folder and drag it back inside the res folder, Win-rar ask you for replace it Click on ok
7. Now close the win-rar
8. APK file ready for testing
What can be changed..........
1) Background image..
To change the background image replace the file from drawable-hdpi that have the name
status_bar_background.png
the original size of the picture is 480*746
2) Footer Image
To change the Footer Image replace the file from drawable-hdpi that have the name
status_bar_close_on.9.png
the original size of the picture is 480*48
One sample Footer picture attached below without xperia name open and save it to your computer and replace it
Work 4.0.2.A.0.58
Works on New firmware
4.0.2.A.0.58
All the mods are compatible
All the mods are compatible with Arc 2.3.4
283 firmware
42 firmware
58 firmware
Tested and worked
Why there's an empty place when in landscape mode?
Just yesterday I ported the toggles from the X10 T.E.A.M ROM and they look like this:
Exelent job but I have a question how did you make transparent notification? Here's how it looks in my device
Is there a way for this to work with a 2.3.4 neo?
lgumo01 said:
Exelent job but I have a question how did you make transparent notification? Here's how it looks in my device
Click to expand...
Click to collapse
I had to change some images and some xml files as well as a tiny part of smali. There must be a guide somewhere but I'm on Tapatalk, can't search.
iridaki said:
I had to change some images and some xml files as well as a tiny part of smali. There must be a guide somewhere but I'm on Tapatalk, can't search.
Click to expand...
Click to collapse
I search a little, but i can`t find. I will be grateful if someone help with that
You can easily do that with UOT Kitchen
Azev said:
You can easily do that with...
Click to expand...
Click to collapse
thanks for the advice now I`m absolutely satisfied
View attachment 795615
Thank you and everything is working, but can you make a non transparent notifications bar with power widgets?
Thanks buddy, perfect on my arc s bb.58
space in landscap
Yes i know there is a space in landscape mod but it will be fixed soon ....
Is it possible to change the top status bar from grey to black when using a program? Example, in screen shot attached, the top status bar is grey in colour instead of black when using tapatalk. Facebook had the sane experience too. Thanks.
Sent from my LT18i

[TUTORIAL]Create your own MIUI ROM![BOTH BL'S]

{
"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"
}
So, i learnt how to make my MIUI rom out of this tutorial (all credits to sandy7), but with time the tut got old due to some bugs in miui rom, and if you use that, the rom will probably boot but with some bugs like reboots, launcher fc, etc etc. So i will make a complete guide including the tutorial by sandy with the additional files to make a fully working MIUI rom. Enjoy!
Click to expand...
Click to collapse
Code:
[SIZE="3"][FONT="System"][COLOR="Red"][I][B]*I'm not responsible for any damage you do to your device, however i will provide full support.[/B][/I][/COLOR][/FONT][/SIZE]
The basics!​
Things you'll need
Notepad++ - the notepad we will use to edit basically all files. Normal one won't work so don't even think about it
Base LT18i MIUI rom we will use this to get apps, fonts, etc
7-zip used to rebuild the rom
APKTool used to install apks in the PC so you won't get errors decompiling
ApkManager used to decompile and build apks
base MIUI rom! this is the base, i already fixed some bugs on it and deleted stuff
Click to expand...
Click to collapse
Let's get started with this!
1-Unrar the MIUI base rom i gave up in some folder you like, and open the lt18i one with winrar or 7zip.
2-Copy the folders app, fonts, framework and media from the LT18i ROM to the MIUI base. Don't worry if it doesn't ask you to replace anything. Delete SemcHdmiControlService.apk in miui base after copying
3-Open lib folders in both base and lt18i, and copy this from lt18i to base:
content-types.properties
liblbesec.so
liblocSDK_2.5OEM.so
libshell.so
libshell_jni.so
libshellservice.so
4-Open etc folders, and do the same as step 3 but with these files:
yellowpage.db
telocation.td
5-Open permissions foder in /etc, and same as step 3 with these files:
miui-framework.xml
com.google.android.media.effects.xml
com.google.widevine.software.drm.xml
com.google.android.maps.xml
6-Open xbin in both base and lt18i, and copy from lt18i to base:
shelld
Build.prop mods! Make your own!
In MIUI base, there's a folder named dev. If you don't know what that is, i'll try to give you a brief explanation: there are 4 xperia mdpis. In order to make a ROM that works on all of them with aroma, you need some files they require (like camera lib files) that are flashed right after the rom. There are 4 build.props in total, each in one dev folder, you can edit all or just the one that suits your phone, if rom is for personal use.
Open the build.prop you want, and edit the red lines with whatever you want:
Code:
ro.build.id=[COLOR="Red"]4.1.B.0.587[/COLOR]
ro.build.display.id=[COLOR="red"]MIUIAndroid 3.1.18[/COLOR]
ro.build.version.incremental=[COLOR="red"]3.1.18[/COLOR]
ro.rommanager.developerid=[COLOR="red"]miuiandroid[/COLOR]
ro.modversion=[COLOR="red"]MIUIAndroid-3.1.18-EN-WT19i[/COLOR]
ro.goo.rom=[COLOR="red"]MIUIAndroid-EN-WT19i[/COLOR]
Note: after ## Project Fluid™ ## in build.prop, you can delete everything, those are tweaks i forgot to remove, you just delete them and add the ones you like
Decompiling! Take that stupid black bar!
First of all, you need to install 3 files in order to make this work. Search for this files in /framework (MIUI base rom, not lt18i) and move them to apktool folder:
framework-res.apk
framework-miui-res.apk
SemcGenericUxpRes.apk
1-Shift-Right-click any blank space in APKTool folder, and click "Open command window here"
2-Copy and paste these 3 lines separed by enter (copy one, press enter, copy another, blabla):
apktool if framework-res.apk
apktool if framework-miui-res.apk
apktool if SemcGenericUxpRes.apk
Disabling auto-brightness and make the leds work
1-Copy framework-res.apk from miui base to apkmanager folder called place-apk-here-for-modding and open Script.bat
2-In the script, select 22, then select framework-res.apk, and then select 9 (decompile apk)
3-Once it's done, go to projects folder in apkmanager, open framework-res.apk, and go to res/values/bools.xml (right click, edit with notepad++)
4-Change this line:
Code:
<bool name="config_automatic_brightness_available">[COLOR="Red"]true[/COLOR]</bool>
to this:
Code:
<bool name="config_automatic_brightness_available">[COLOR="red"]false[/COLOR]</bool>
5-Go back to script.bat and choose option 11 (build apk)
It will ask "Is this a system app?" say yes to that
Then it'll ask "Do you wanna copy over any additional content..." say no to that
And we're done with framework-res.
Click to expand...
Click to collapse
Remove SystemUI black bar
1-Copy MiuiSystemUi.apk from miui base to apkmanager folder called place-apk-here-for-modding and open Script.bat
2-In the script, select 22, then select MiuiSystemUi.apk, and then select 9 (decompile apk)
3-Once it's done, go to projects folder in apkmanager, open MiuiSystemUi.apk, and go to res/values/drawables.xml (right click, edit with notepad++)
4-Delete this line:
Code:
<item type="drawable" name="notification_header_bg">#ff000000</item>
5-Go back to script.bat and choose option 11 (build apk)
It will ask "Is this a system app?" say yes to that
Then it'll ask "Do you wanna copy over any additional content..." say yes to that
It will pop-up a dialog, DO NOT PRESS ENTER!, go to keep folder in apkmanager and delete resources.arsc. Now, go to script.bat and press enter. Recompiling is done with no errors
And we're done with black bar
Click to expand...
Click to collapse
META-INF changing! Your ROM, not mine!
1-Go to META-INF/com/google/android and open aroma-config with notepad++
2-Edit these lines adding anything you want:
Code:
ini_set("rom_name", "[COLOR="Red"]MIUIv4[/COLOR]");
ini_set("rom_version", "[COLOR="red"]3.1.18[/COLOR]");
ini_set("rom_author", "[COLOR="red"]anerik[/COLOR]");
ini_set("rom_device", "[COLOR="red"]Xperia MDPI[/COLOR]");
ini_set("rom_date", "[COLOR="red"]18 jan 2013[/COLOR]");
3-Go to META-INF/com/google/android/aroma and open changelog.txt, write anything you want.
Now you have everything setted up, select all 4 folders and make a zip out of it with 7-zip. This will be 100% clean MIUI, in the next posts (tomorrow, sleep time now) i will add more addons like scripts, supercharger, etc! Just flash the ROM, it should boot fine, no launcher FC, no themes working bad, nothing.​
anerik said:
1-Right-click any blank space in APKTool folder, and click "Open command window here"
Click to expand...
Click to collapse
I don't know about linux but in windows it should be Shift+Right-Click...
BTW thanks for the tut....really helpful...will press the thanks button afterwards because this 8-thanks limit will not let me press it....
Regards,
AJ
alokbina said:
I don't know about linux but in windows it should be Shift+Right-Click...
BTW thanks for the tut....really helpful...will press the thanks button afterwards because this 8-thanks limit will not let me press it....
Regards,
AJ
Click to expand...
Click to collapse
lol such a noob error, my bad, thanks for pointing out
anerik said:
lol such a noob error, my bad, thanks for pointing out
Click to expand...
Click to collapse
Ur welcome buddy....
---------- Post added at 01:34 PM ---------- Previous post was at 01:03 PM ----------
So it is for all mdpi or a single device??
alokbina said:
Ur welcome buddy....
---------- Post added at 01:34 PM ---------- Previous post was at 01:03 PM ----------
So it is for all mdpi or a single device??
Click to expand...
Click to collapse
all mdpi!
:good::good::good::good::good:
sandy7 said:
:good::good::good::good::good:
Click to expand...
Click to collapse
:laugh:
Thanks in advance BRO! :good:
Really good tuturial.
kovacslaszlo13 said:
Thanks in advance BRO! :good:
Really good tuturial.
Click to expand...
Click to collapse
Thanks!!
Bugfixes!​
Bad keyboard!
-Yes, i forgot to replace keyboard. To fix:
1-Go to /system/app delete LatinImeGoogle.apk
2-Download this or any keyboard you like, and flash it or just unpack it on your ROM. Don't forget to hit thanks to the autor.
No wi-fi!
-This might just be kernel problem, but in any case, here are the modules, just unpack and copy folder lib to your system folder, replace if asked. Then flash
FC's!
-Kernel problem, i am unable to fix since i am on stock with locked bl. Just change your kernel
When i switch bluetooth on, bootloop?
-I believe kernel problem aswell, tested that a hundred times with no bootloop, stock talking.
cool thread dude.. is it possible to use a stock-rom as base for miui??
kulas1987 said:
cool thread dude.. is it possible to use a stock-rom as base for miui??
Click to expand...
Click to collapse
Yep the base he provided was of stock only just apps, fonts, framework and media folder was deleted
Best Regards,
AJ
alokbina said:
Yep the base he provided was of stock only just apps, fonts, framework and media folder was deleted
Best Regards,
AJ
Click to expand...
Click to collapse
yeh he right!
Thanks for the nice tutorial bro:good::good:
I'm using micromax A100.So far only one custom rom for it.I would like to port a miui rom for it..how do i select the appropriate version making sure that it will work on my phone?..I'm a noob.I'm sorry if i'm confusing you.:silly:
looks like not work for me,anyway thank for the tutorial
want to create latest miui rom for karbonn s5
I want to create latest version of miui rom for my karbon s5 titanium. So which version of miui can i used as a port ram.....?
and also ri8 now i m using miui v5 3.8.9, it working fine for my mobile, so can i use this rom as a base rom
Many thanks. Really helpful for me )
Sent from my ST18i using XDA Free mobile app
want to make/port a miui v5 rom for Nokia X2 dual sim...plz help
can i make a miui v5 rom for nokia x2 dual (android v4.3) using your tutorial?
plz give me some specific suggestions... there are no custom roms for this device.so, i want to make one..plz help.
this will mean a lot.
Any one ported MIUI 6 ?
how to repack MIUI rom then ?

[TUTORIAL][How-To] Edit .jar or .apk files using VTS

----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
PREFACE
Hello guys, first of all I want to say thanks to all the real developers (and not just rom-modder like me) that are here, helping us to get better performance and features everyday, so thanks to FXP, CosmicDan, DooMLorD, wedgess, smokerman, krisdee, Spizzy, Keiran, fareneith, Pizza_Dox, Bakisha, and many, many others.​
This guide is intended for those who want to make some mods, for example touchpads fix to their rom, and it's not too hard to understand how to do it (we will just use an IDE to achieve that, so it'll be pretty simple).
Let's start!​
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
DECOMPILING .APK AND .JAR FILES
without custom framework
Make sure you have installed NetFramework 4.5,
if not download it from here and then install ;
You can now install Virtuous Ten Studio (VTS):
download it from here and follow the passages to install it ;
Run VTS (you could easily find it under Start) ;
Now you can create a new Project:
simply click on File (on the left top) and select New Project ;
Projects can be of 4 kinds: apk, jar, m10 and boot.
Select apk if you want to edit an apk; select jar if you want to edit a jar ;
Compile the fields on the bottom (Solution and Project name) ;
Wait for VTS to create the folders...;
Now you can import the file you want to edit:
simply right-click on the project you have created (you can find it under Solution Explorer bar, on the left)
and select Import File, then find and select the file you want to edit ;
Here we go! VTS will now decompile our file, and when it finishes,
Solution Explorer bar will be updated to show you what your file contains (smali files and whatever) ;
Now you can make every modification you want to do;
When you have finished, you can recompile that file by right-clicking your project and selecting Build Project:
you can easily find your modded file, just click Binary (under Home tab on the top) and select your file project name;
Here we are! If you've got some questions, just ask here!
Click to expand...
Click to collapse
​​
Click to expand...
Click to collapse
​​
​
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
DECOMPILING .APK FILES
with custom framework
first of all, you must know what to do: just take a look at the guide above and follow the steps (from 1 to 7) ;
now you must take the custom resources needed from the apk you want to decompile to work (that resources file is another apk, generally located under /system/framework and its name contains always something like Res or Resources - for example SemcGenericUxpRes -) then place it wherever you want ;
once you've done that you can create your project (DON'T import now the app you want to modify, because you'll get errors related to missing resources) and set-up a custom framework: just right-click on your project and go under Properties ;
find External tools on the left and click on apktool: select Add single framework, import the custom-resources apk that you took from your rom ( see first step ) and set a Tag (the name you want to assign to that file) ;
now you must select that framework to be used instead of the default one: right-click on your project and go under properties; here you can find a selector called Framework tag: select the one you've just setted ;
that's it! Now you can import your custom-framework-based apk ( if you don't know how just take a look at the guide above - step 8 ) .
​
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------​
When i have the time, i really have to give this program a chance. Tnx for tutorial
Sent from my R800i using xda app-developers app
Good job, I've used vts.for awile now.its a great program.
Dark Lords Development Team
Needed to learn Apk Decompiling, now i can!,
simpler than apk tool..and easy to use in small changes..comes handy. nice post.
i have a problem with decompiling resource files can anyone help plz???
{
"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"
}
and this is my log
raminta said:
and this is my log
View attachment 2048601
Click to expand...
Click to collapse
It seems apktool is missing, maybe an incorrect installation? Have you tried reinstalling?
CriGiu said:
It seems apktool is missing, maybe an incorrect installation? Have you tried reinstalling?
Click to expand...
Click to collapse
Yes but nothing has changed
Sent from my R800i using xda premium
raminta said:
Yes but nothing has changed
Sent from my R800i using xda premium
Click to expand...
Click to collapse
try using an older version of VTS, but I can't promise anything
it's clearly related to missing binary, and that's strange. does this happen just with that specific apk, or with all of them?
And keep in mind that you're decompiling an apk with a custom framework, so before you can decompile it, you must add its resources by right-clicking on your project, selecting properties, going under External tools and clicking on Apktool, selecting Add single framework (here you must place your resources apk file: it's generally located under /system/framework folder of your rom - the rom from which you're taking the apk you're modifing - it's something having for name SonyResources or something like that).
Then you must set that framework to be used instead of the "stock" one by right-clicking on your project and going under properties; here you can find a selector called Framework tag: select the one you've just placed in.
CriGiu said:
try using an older version of VTS, but I can't promise anything
it's clearly related to missing binary, and that's strange. does this happen just with that specific apk, or with all of them?
And keep in mind that you're decompiling an apk with a custom framework, so before you can decompile it, you must add its resources by right-clicking on your project, selecting properties, going under External tools and clicking on Apktool, selecting Add single framework (here you must place your resources apk file: it's generally located under /system/framework folder of your rom - the rom from which you're taking the apk you're modifing - it's something having for name SonyResources or something like that).
Then you must set that framework to be used instead of the "stock" one by right-clicking on your project and going under properties; here you can find a selector called Framework tag: select the one you've just placed in.
Click to expand...
Click to collapse
Ok thanks for replying:thumbup:
Sent from my R800i using xda premium

Categories

Resources