How to customize sview cover display by VonerK - AT&T Galaxy Note 3 Themes and Apps

How to set custom Sview Background Image
Or change Time Out for Sview Display of Note 3_ 4.3 Deodexed Roms and Odexed Stock Roms
DISCLAIMER!: I DID NOT FORCE YOU TO TRY THIS! IF YOU BORK UP YOUR PHONE, IT'S NOT MY FAULT!
For Kit Kat see post #14 By:hilmi94zul
Things you will need:
Safestrap Recovery
Favorite "DEODEXED" Rom.
7zip
For Odexed Stock Rom you will need Root file system explorer/editor (I used Root Explorer PRO, because I think it's awesome.) and these files under "NoModdedTimeOut" like the name says there is not a modded time out but you can get custom SView Background with Stock Rom HERE Please Create your own custom "mainbg_pattern_mainarea.png" from step 1 then proceed to step 7 for Stock 4.3 .
Notepad++
Android Multitool
Anything you need to get Android Multitool working on your computer.
Step 1.
Getting the files you need:​First off get a custom background image you want in .png format 1002x954 pixels.
Rename it "mainbg_pattern_mainarea.png"
If you are trying this for STOCK ODEXED 4.3 ROM go to Step 7 otherwise continue on.
Put your custom "mainbg_pattern_mainarea.png" in AndroidMultitool folder.
Put Favorite "DEODEXED" Rom.zip in AndroidMultitool folder.
Open Favorite "DEODEXED" Rom with 7zip. Right click-->7-Zip-->Open Archive. DO NOT EXTRACT!
7zip window will open and you will see the folders inside the ROM.
Double Click "system" folder.
Double Click "framework" folder.
Double Click "framework-res.apk"
Open " res --> drawable-sw360dp-xxhpdi" folder
Find "mainbg_pattern_mainarea.png" and rename it "mainbg_pattern_mainareaX.png"
Drag your custom "mainbg_pattern_mainarea.png" in to 7zip window
Click Folder with green arrow beside directory path 3 times so you are back in AndroidMultitool\ ROM \system\framework
Right Click "android.policy.jar"-->Copy to-->OK
Right Click "framework-res.apk"-->Copy to-->OK
Right Click "twframework-res.apk"-->Copy to-->OK
Close the 7zip Window​Step 2.
Decompile the files:​
Copy the "android.policy.jar, framework-res.apk, and twframework-res.apk" files from step 1 to the "Files" folder inside "AndroidMultitool" folder.
Run Android Multitool.
Install framework-res and twframework-res .apk Click box with 3 dots, pick file, then click install. (I don't know if this step is needed but I always do it just in case.)
Decompile android.policy.jar .Click on selector box under "Decompiling" make sure it is set to "jar". Click box with 3 dots, pick file, then click decompile.
I leave "use baksmali" unchecked for above steps.​Step 3.
Edit Files:​
Open "Decompiled_jar" folder inside "AndroidMultitool" folder.
Open "android.policy --> com --> android --> internal --> policy --> impl --> sviewcover
Open "SViewCoverManager.smali" with Notepad++
I have found a couple things here.
S_VIEW_COVER_DISPLAY_TIMEOUT_DEFAULT:I=0x1770
0x1770 hex = 6000 decimal, I think this is milliseconds.
The s view display is on for about 6 seconds.
So if you want the screen on for 30 seconds that's 30000 milliseconds and hex for 30000 is 0x7530
1 minute would be 60000 or 0xea60​Click on binoculars in toolbar and find next "alpha" you will see the lines
const/16 v1, 0x1a
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageAlpha(I)V
The Hex value in "const/16 v1,0x1a" is 0x1a which is 26 which is roughly 10%
Tranparent =0 = hex 0x00
Opaque=255 = hex 0xff​So change line
const/16 v1, 0x1a
to
const/16 v1, 0xff
Do find next "alpha" 4 times. Two values are 0x1a and two are 0x10 I changed all 4 to 0xff
Save file
Close Notepad++​Step 4.
Compile files:​
Get back to AndroidMultitool
Under Compiling
Compile "android.policy.jar" .Click on selector box under "Compiling" make sure it is set to "jar". Click box with 3
dots, pick file(AndroidMultitool --> Decompiled_jar --> android.policy click "OK"), then click "compile".
Close android multitool program
Open "AndroidMultitool\Files"
Right click "android.policy.jar" --> 7-Zip --> Open archive
Select "META-INF" Right click --> Copy to --> AndroidMultitool\Compiled_jar\android.policy .Click "OK"
Open "AndroidMultitool\Compiled_jar\android.policy"
Select "META-INF" and "classes.dex" Right click --> 7-Zip --> Add to "android.policy.zip"
Rename "android.policy.zip" to "android.policy.jar"
Copy "android.policy.jar" to "AndroidMultitool" folder​Step 5.
Putting Modded Files Back into Rom:​
Open Favorite "DEODEXED" Rom with 7zip. Right click-->7-Zip-->Open Archive. DO NOT EXTRACT!
7zip window will open and you will see the folders inside the ROM.
Double Click "system" folder.
Double Click "framework" folder.
Drag "android.policy.jar" into 7zip window.
Close 7zip​Step 6.
Install:​Now install your new rom with Safe Strap!
For some reason it took a couple minutes for my Phone to boot up. But afterwards no problems!
IF YOU DIDN'T START OUT ON STEP 7 YOU ARE DONE! DON'T WORRY ABOUT STEP 7!​
Step 7.
Stock Rom Downloaded files:
​Open Downloaded framework-res.apk with 7zip DO NOT EXTRACT!
Open framework-res\res\drawable-sw360dp-xxhdpi
Copy your custom background image from Step 1 here.
Close 7zip window.
Copy/Paste your modded "framework-res.apk" and downloaded "android.policy.odex" to system/framework with your root explorer/editor. When you do this you will get an automatic reboot. android.policy.odex should have rw-r--r-- permission. If you have problems try fixing permissions in Safe Strap
​
Thanks:
tcitchicruise for letting us know where the background image was.
Flextrick for making Android Multitool!
Hashcode for Safestrap Recovery!
hilmi94zul for Kit Kat Method

Yeeees! Excellent JOB Bro !!
THX very much for that !
:good:

just one question, is it possible to edit in stock rom? @vonerk
---------- Post added at 06:48 PM ---------- Previous post was at 06:23 PM ----------
why my image name like this --> global_action_view_mainbg_pattern_mainarea.png ?? im on kitkat

Can we do a flashable zip
Sent from my SM-N9005 using XDA Premium 4 mobile app

Yeees! Best Men ever

vonerk
I think that tuto is for ROM 4.3 !
in 4.4.2 KK values are différents !
I have decompiled ROM N3_Echoe_v8_08FEB. (framework-res.apk twframework-res and android.policy.jar)
I can't found "alpha"
SVIEW_COVER_DISPLAY_TIMEOUT_DEFAULT:I = 0x1f40 (8 seconds) is different too
and i have default:
const/4 v2, 0x0
const/4 v1, 0x1
const/4 v8, -0x1
const/4 v7, 0x1
const/4 v6, 0x0
const/16 v5, 0x832
const/16 v5, 0xc00
const/4 v5, 0x2
const/high16 v5, 0x48
const/4 v0, 0x0
const/4 v0, 0x0
const/4 v0, 0x1
const/4 v1, 0x0
const/4 v1, 0x2
I think that perhaps , the method for KK is différent no ?

@tchitchicruise image name also different..
Sent from my SM-N9005 using XDA Premium 4 mobile app

Yes I am on 4.3 sorry KitKats! I haven't had a chance to dig through that code yet.
Sent from my SAMSUNG-SM-N900A using xda app-developers app

About the stock rom or odexed Roms...
I'm trying to, but odexed files are different. If I could actually figure out how to "re-odex" a file it would be a piece of cake. I have followed many threads on odexing and it's making my head spin!
Sent from my SAMSUNG-SM-N900A using xda app-developers app

Strange because echorom v8 and v9 4.4.2 are deodexed no?

I will check out KK rom and take a look.

Hey KitKats check this out
http://forum.xda-developers.com/showthread.php?p=50387743​

Stock Roms
I figured out how to "odex" files. I will post how to change S view backgrounds on stock (MJ5 ATT) rom soon. I got it working on my phone.
You will need a root file explorer/editor for this but it's WAY easier!

Re-edit For KK
Step 1.
Getting the files you need:
First off get a custom background image you want in .png format 1002x954 pixels.
Rename it "mainbg_pattern_mainarea.png"
Put your custom "mainbg_pattern_mainarea.png" in AndroidMultitool folder.
Put Favorite "DEODEXED" Rom.zip in AndroidMultitool folder.
Open Favorite "DEODEXED" Rom with 7zip. Right click-->7-Zip-->Open Archive. DO NOT EXTRACT!
7zip window will open and you will see the folders inside the ROM.
Double Click "system" folder.
Double Click "app" folder.
Double Click "SViewCoverService.apk"
Open " res --> drawable-sw360dp-xxhpdi" folder
Find "mainbg_pattern_mainarea.png" and rename it "mainbg_pattern_mainareaX.png"
Drag your custom "mainbg_pattern_mainarea.png" in to 7zip window
Click Folder with green arrow beside directory path 3 times so you are back in AndroidMultitool\ ROM \system\framework
Right Click "SViewCoverService.apk"-->Copy to-->OK
Right Click "framework-res.apk"-->Copy to-->OK
Right Click "twframework-res.apk"-->Copy to-->OK
Close the 7zip Window
Step 2.
Decompile the files:
Copy the "SViewCoverService.apk, framework-res.apk, and twframework-res.apk" files from step 1 to the "Files" folder inside "AndroidMultitool" folder.
Run Android Multitool.
Install framework-res and twframework-res .apk Click box with 3 dots, pick file, then click install. (I don't know if this step is needed but I always do it just in case.)
Decompile SViewCoverService.apk .Click on selector box under "Decompiling" make sure it is set to "apk". Click box with 3 dots, pick file, then click decompile.
I leave "use baksmali" unchecked for above steps.
Step 3.
Edit Files:
Open "Decompiled_apk" folder inside "AndroidMultitool" folder.
Open "SViewCoverService\smali\com\sec\android\sviewcover
Open "SViewCoverView.smali" with Notepad++
Click on binoculars in toolbar and find next "alpha" you will see the lines
const/16 v1, 0x1a
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageAlpha(I)V
The Hex value in "const/16 v1,0x1a" is 0x1a which is 26 which is roughly 10%
Tranparent =0 = hex 0x00
Opaque=255 = hex 0xff
So change line
const/16 v1, 0x1a
to
const/16 v1, 0xff
Do find next "alpha" 4 times. Two values are 0x1a and two are 0x10 I changed all 4 to 0xff
Save file
Close Notepad++
Step 4.
Compile files:
Get back to AndroidMultitool
Under Compiling
Compile "SViewCoverService.apk" .Click on selector box under "Compiling" make sure it is set to "apk". Click box with 3
dots, pick file(AndroidMultitool --> Decompiled_apk --> SViewCoverService click "OK"), then click "compile".
Close android multitool program
Open "AndroidMultitool\Files"
Right click "SViewCoverService.apk" --> 7-Zip --> Open archive
Select "META-INF n AndroidManifest.xml" Right click --> Copy to --> AndroidMultitool\Compiled_apk\SViewCoverService .Click "OK"
Open "AndroidMultitool\Compiled_apk\SViewCoverService"
Open SViewCoverService.apk using 7zip
Drag "META-INF" and "AndroidManifest.xml" inside
Copy SViewCoverService.apk to phone, navigate to system\app
rename existing SViewCoverService.apk to SViewCoverService.apk.bak
And paste new SViewCoverService.apk, set permission to r-w-r-r
Reboot n enjoy your new sview image.
Thanks for @vonerk for his previous turorial
Thanks for @Dylan_x10 for find solution for Kitkat
p/s from Dylan_x10 : Issue I am having now, that works all ok accept for when I get a message notification, I can slide to the left to get the notification, but once I click on the message it goes back to the original background. Not sure where the notifications background is pulling from, as I have searched the entire apk for that background image and I have only found one, which has been replaced.

@hilmi94zul
@hilmi94zul
As for the p/s problem at the bottom of your post. Did you take a look at your background image in your post #3. I didn't look at it, just wondering.

vonerk said:
@hilmi94zul
As for the p/s problem at the bottom of your post. Did you take a look at your background image in your post #3. I didn't look at it, just wondering.
Click to expand...
Click to collapse
is it regarding the image name? Yes it is different if i change from framework-res.apk. When i follow dylan step, i look into SViewCoverService.apk the name is same. Kitkat user must change the background image from SViewCoverService.apk

hilmi94zul said:
is it regarding the image name? Yes it is different if i change from framework-res.apk. When i follow dylan step, i look into SViewCoverService.apk the name is same. Kitkat user must change the background image from SViewCoverService.apk
Click to expand...
Click to collapse
Is the actual picture the same but with a different filename?

vonerk said:
Is the actual picture the same but with a different filename?
Click to expand...
Click to collapse
yes @vonerk same picture but different filename.

hilmi94zul said:
yes @vonerk same picture but different filename.
Click to expand...
Click to collapse
@hilmi94zul
Did you change that image to your custom background too? That might solve the problem.

vonerk said:
@hilmi94zul
Did you change that image to your custom background too? That might solve the problem.
Click to expand...
Click to collapse
@vonerk
i allready change in framework-res.apk too..but still same.. now i try once again to double check
---------- Post added at 01:43 AM ---------- Previous post was at 01:33 AM ----------
hilmi94zul said:
@vonerk
i allready change in framework-res.apk too..but still same.. now i try once again to double check
Click to expand...
Click to collapse
@vonerk
i allready done it twice still not fix the prob

Related

Make your status bar black (non deodexed)

This is my first post..
1. Extract systemui.apk from system/apps/ by using root explorer.
2. Open it with winrar.
3. Open res folder then open drawable-hdmi folder and fond statusbar_background9 and open it with paint or photoshop
4. Color it black or any color you want. And save it and put it back to the systemui.apk/res/ and pull it back to your app folder in system/app . Then restart ur phone!!!!
If this helped u please press thanks button!
Or if u have any doubt comment me!!
AHH, why did u posted this thread on Development section!
It's just easy to make your statusbar black!
1. Just pull your SystemUI.apk from /system/app/
2. then open it up on 7-zip, navigate to: res/drawable-hdpi/
3. scroll down and find "statusbar_background.9.png"
4. DO NOT CLOSE THE 7-ZIP WINDOW!
5. now drag it to your desktop and edit it with Paint
6. use the brush tool and choose the black color
7. fill up/brush the whole picture (black)
8. save it, then
9. drag it again on the 7-Zip window
10. it will ask you if you want to copy the file to the archive, just select "Yes"
11. copy it to: /system/app/ using Root Explorer
12. your phone will display some errors saying "SystemUI.apk has stop responding,... blah blah.."
13. just press and hold the power button for about 8 seconds, it will reboot
14. YOU'RE DONE! ENJOY!
I was mistaken . Thanks 4 ur help.

[HOW TO] Theme ALL keyboards without FCs! [A guide for beginners]

I posted the original thread over in the Sprint section here: http://forum.xda-developers.com/showthread.php?t=1915508 Please try to keep questions in the Sprint thread, but I wanted to share here also. Hopefully this helps someone!!.
Theming a keyboard may be common knowledge to some of the amazing Devs here. But to a noob like me, it took some research and time to get it working without breaking the original signature (That's the trick!). I searched the forum and it doesn't look like anyone has posted a "How To" on theming a keyboard, so I thought I'd share my experience with you all.
**Some of these steps may seem elementary, but I tried to explain everything in layman's terms so even a beginner can theme a keyboard.
// Before you get started:
You must have a working environment setup. Check out QBKing77's awesome video "How to install the android-sdk" to get that going.http://forum.xda-developers.com/showthread.php?t=1614922
Make sure you also have installed:
Notepad++ (for editing xml) // (www.notepad-plus-plus.org)
7zip (for extracting apks) // (www.7-zip.org)
the image editor of your choice. I use Paint.Net(www.getpaint.net), and Gimp(www.gimp.org). Both FREE!
apktool (http://forum.xda-developers.com/showthread.php?t=1755243)
LatinImeDictionaryPack.apk (drop in the 'system\app' folder on your phone. Only for the LatinIME.apk) Grab it here: http://d-h.st/Ebb
// This method has worked with every keyboard that I have encountered so far. I will use 'LatinIME.apk' for reference, as that is the stock ICS keyboard. //
WARNING.. DO NOT POST DISTRIBUTION LINKS TO ANY MODDED 'Swype.apk'. XDA HAS A STANDING ORDER FROM NUANCE (MAKERS OF SWYPE), THAT DOES NOT ALLOW SUCH LINKS TO BE POSTED.
1) To start make sure you have a working copy of your keyboard apk; grab it out of a ROM, download it, or use a file manager with root access (like Root Explorer) to copy it to your SD card then to your computer.
**I would suggest dropping the keyboard apk into a folder on the desktop, seperate from anything else, and making a backup of the original so that you have a spare copy.
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:
{
"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"
}
Color these pngs to match using your favorite editor and save (bucket fill with Paint.Net is a breeze!)
3) Now that your pngs are themed.. Within the folder that you created containing your apk, hold down shift and right click. Select "Open Command Window Here" to fire up command prompt.
4) Next to decompile the keyboard apk with apktool (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.).
Type this command:
Code:
apktool d LatinIME.apk
When it's done, you will see a folder with the apk name appear, within the folder you created. Click into it and you should see at minimun a 'res' folder and a 'smali' folder.
5) Navigate to 'res\values' folder. Depending on the keyboard you are working on, the xml controlling the remaining key colors will be contained in the 'colors.xml' or 'styles.xml' file. Open with Notepad++, and change the color codes as needed. Save and close.
6) Go back to the root of the folder containing your apk, and fire up command prompt (if it's not still open). Now it's time to build using this command (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.)
Code:
apktool b LatinIME
7) When it's done building, you should have 4 folders minimum now (res, smali, build, dist) and it's time for the key to success. Navigate into the 'dist' folder and you will see the "Built" apk. Open it with 7zip, and extract the 'resources.arsc' file to your folder. Close 7zip.
8) Now it's time to pull it all together. Navigate back to the ORIGINAL keyboard apk, and open with 7zip.
Copy (you can drag and drop with 7zip) the 'resources.arsc' that you extracted from your "Built" apk, into the "ORIGINAL" apk overwriting the file. Then with 7zip still open and the apk loaded, navigate (within 7zip) into the 'res\drawable-xhdpi' folder where you should see the list of unthemed pngs. Simply drop your edited pngs into this folder. Close 7zip and you're done here!
9) Finally, take your "ORIGINAL" but themed apk, and push it back the 'system\app' folder on your phone.
Fix permissions to 'rw-r--r--' (only check everything under 'read' and Owner under 'write')
Reboot, and bask in the glory of your new themed keyboard!
**Alternatively, grab my empty zip installer here: http://d-h.st/oKG to flash in recovery. You must drop your themed apk into the system\app folder of the zip and save. Also, the zip already contains the 'LatinImeDictionaryPack.apk'
Please hit THANKS if I helped!! And please keep this thread alive!
Reserved
dude you rock.
ive never tried anything like this but i think im going to.
thanks for sharing.
Super excited about this write-up. I used to theme a bit on the Nexus One but have been off of Android for a number of years unfortunately.
Now I'm back and what to get back into it... unfortunately I have forgotten most of what I had learned. Thanks for the refresher!
x0mbe said:
Super excited about this write-up. I used to theme a bit on the Nexus One but have been off of Android for a number of years unfortunately.
Now I'm back and what to get back into it... unfortunately I have forgotten most of what I had learned. Thanks for the refresher!
Click to expand...
Click to collapse
Thanks for reviving the this thread!
help
Can somebody PM me a swype themed. I am a total noob at theming and tried following this guide, but cannot get swype 1.4 to theme properly. I'm looking for a holo theme or ics blue letters on a dark background. Any help would be appreciated.
rompnit said:
I posted the original thread over in the Sprint section here: http://forum.xda-developers.com/showthread.php?t=1915508 Please try to keep questions in the Sprint thread, but I wanted to share here also. Hopefully this helps someone!!.
Theming a keyboard may be common knowledge to some of the amazing Devs here. But to a noob like me, it took some research and time to get it working without breaking the original signature (That's the trick!). I searched the forum and it doesn't look like anyone has posted a "How To" on theming a keyboard, so I thought I'd share my experience with you all.
**Some of these steps may seem elementary, but I tried to explain everything in layman's terms so even a beginner can theme a keyboard.
// Before you get started:
You must have a working environment setup. Check out QBKing77's awesome video "How to install the android-sdk" to get that going.http://forum.xda-developers.com/showthread.php?t=1614922
Make sure you also have installed:
Notepad++ (for editing xml) // (www.notepad-plus-plus.org)
7zip (for extracting apks) // (www.7-zip.org)
the image editor of your choice. I use Paint.Net(www.getpaint.net), and Gimp(www.gimp.org). Both FREE!
apktool (http://forum.xda-developers.com/showthread.php?t=1755243)
LatinImeDictionaryPack.apk (drop in the 'system\app' folder on your phone. Only for the LatinIME.apk) Grab it here: http://d-h.st/Ebb
// This method has worked with every keyboard that I have encountered so far. I will use 'LatinIME.apk' for reference, as that is the stock ICS keyboard. //
WARNING.. DO NOT POST DISTRIBUTION LINKS TO ANY MODDED 'Swype.apk'. XDA HAS A STANDING ORDER FROM NUANCE (MAKERS OF SWYPE), THAT DOES NOT ALLOW SUCH LINKS TO BE POSTED.
1) To start make sure you have a working copy of your keyboard apk; grab it out of a ROM, download it, or use a file manager with root access (like Root Explorer) to copy it to your SD card then to your computer.
**I would suggest dropping the keyboard apk into a folder on the desktop, seperate from anything else, and making a backup of the original so that you have a spare copy.
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:
Color these pngs to match using your favorite editor and save (bucket fill with Paint.Net is a breeze!)
3) Now that your pngs are themed.. Within the folder that you created containing your apk, hold down shift and right click. Select "Open Command Window Here" to fire up command prompt.
4) Next to decompile the keyboard apk with apktool (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.).
Type this command:
Code:
apktool d LatinIME.apk
When it's done, you will see a folder with the apk name appear, within the folder you created. Click into it and you should see at minimun a 'res' folder and a 'smali' folder.
5) Navigate to 'res\values' folder. Depending on the keyboard you are working on, the xml controlling the remaining key colors will be contained in the 'colors.xml' or 'styles.xml' file. Open with Notepad++, and change the color codes as needed. Save and close.
6) Go back to the root of the folder containing your apk, and fire up command prompt (if it's not still open). Now it's time to build using this command (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.)
Code:
apktool b LatinIME
7) When it's done building, you should have 4 folders minimum now (res, smali, build, dist) and it's time for the key to success. Navigate into the 'dist' folder and you will see the "Built" apk. Open it with 7zip, and extract the 'resources.arsc' file to your folder. Close 7zip.
8) Now it's time to pull it all together. Navigate back to the ORIGINAL keyboard apk, and open with 7zip.
Copy (you can drag and drop with 7zip) the 'resources.arsc' that you extracted from your "Built" apk, into the "ORIGINAL" apk overwriting the file. Then with 7zip still open and the apk loaded, navigate (within 7zip) into the 'res\drawable-xhdpi' folder where you should see the list of unthemed pngs. Simply drop your edited pngs into this folder. Close 7zip and you're done here!
9) Finally, take your "ORIGINAL" but themed apk, and push it back the 'system\app' folder on your phone.
Fix permissions to 'rw-r--r--' (only check everything under 'read' and Owner under 'write')
Reboot, and bask in the glory of your new themed keyboard!
**Alternatively, grab my empty zip installer here: http://d-h.st/oKG to flash in recovery. You must drop your themed apk into the system\app folder of the zip and save. Also, the zip already contains the 'LatinImeDictionaryPack.apk'
Please hit THANKS if I helped!! And please keep this thread alive!
Click to expand...
Click to collapse
I don't know if I'm the only one but I can't see the pic with the items outlined in red?
Thanks for this how to. I want to learn more about themeing and what not and this seems like a good place to start.
Sent from my SCH-I535 using xda premium

[GUIDE] How to change Rom Name of Custom Rom

CLICK FOR THE UPDATE​
Here is a way by which you can Change the Displayed Custom Rom Name
THIS CANNOT BE DONE BY EDITING "build.prop" FILE SO READ THIS GUIDE FOR XPERIA DEVICES CUSTOM ROMS.
Software Needed (downloads attached below)
1) Java
2) 7-zip
3) Notepad ++
4) Advanced APK Tools
Files Needed From Custom Rom:
1) framework-res.apk (from "system >> framework ")
2) SemcGenericUxpRes.apk (from "system >> framework ")
3) settings.apk ( from "system >> app")
Expected From You :
1) Some Time
2) Patience
3) Basic knowledge of Installing Software.
Step wise Guide
STEP 01 : Download and Install "Java" and "Notepad++". Extract "Advanced APK Tools".
STEP 02 : Place the Three Files mentioned above from Custom Rom to "2-IN" folder of Advanced APK Tools.
STEP 03 : Open "Advance ApkTool.exe"; it will check Java on your your PC and then you will get a screen showing different options.
STEP 04 : Type "1" and press Enter to select the Option "1- Install Framework". Install "framework-res.apk" and "SemcGenericUxpRes.apk". Then come back to Main Menu.
STEP 05 : Type "2" and press Enter to select the Option "2- Decompile Files". Decompile "settings.apk" and wait for some time as it will take some time. After decompiling minimize "Advance APK Tools" but DO NOT CLOSE it.
STEP 06 : Open "3-OUT" folder in "Advance APK Tools" folder. There you will see a folder names "Settings.apk". Open this folder and go to " res >> values " folder.
STEP 07 : In the Values folder open the file "strings.xml" using Notepad++. Press "ctrl" and 'F" keys on the Keyboard of your PC at the same time to find the Rom Name as shown in Device. After Finding the ROM Name replace it with Whatever you Want. Save this file and Close is.
STEP 08 : Go back to "Advanced APK Tools" and Type "3" and press Enter to select the Option "3-Recompile Files". Recompile "settings.apk" and wait for some time as it will take some time. After recompiling close "Advance APK Tools".
STEP 09 : Now go to "4-OUT" folder of "Advanced APK Tools" where you will find "settings.apk". Extract this file using 7-zip.
STEP 10 : Open the extracted "settings.apk" and delete the file "Android Manifent.xml " inside it.
STEP 11 : Open 3-OUT" folder. Then go to "Settings.apk folder >> original " from this folder Copy all the contents i.e. "META-INF" folder and " AndroidManifest.xml" file and paste them in extracted "settings.apk" in "4-OUT" folder.
STEP 12 : After all this, select all contents of settings.apk in 4-OUT Folder and add them to archieve using 7-Zip and replace ".zip" extention by ".apk".
Place this "settings.apk" into "system >> app " folder of Custom Rom and flash this Custom Rom. You will have the ROM NAME changed.
Hurray!!! You have successfully Changed the ROM NAME of Custom Rom for Xperia Devices.
Firstly, this thread has nothing to do with Development so I've moved it to General where it should have been created.
Secondly, you have no permission to attach the file: Advancedapktool.zip
Thirdly, you posted no credits to the original author for this tool.
I've removed the tool and linked to the original authors thread instead.
Sorry for the mistakes, I will take care next time

[Guide] HOW To Port Bootanimtion to Your Suitable Resolution

HI GUYS
Do you used to have a conversation like this one
..A: HEY!!!!!. your phone's bootnimation is very nice, could you send it to me??
..B: Sorry, it's not suitable with your screen reslution.
..A: ohh, Do you know how to change the resolution?.
..B: you can go to xda and ask how
_IF you're looking how to change the bootainmation resolution you're in the right place.
Requirement:
1. Windows 7
2. MIR (multiple image resizer) <from attachment> .
3. Bootanimation factory <from attachment>.
4. the bootanimtion you want to resize (I'm going to work on xperia lollipop bootanimtion.
NOTE: every step has its explaining image in the attachments.
and suggest to download the photos then start because you will need them they will help you alot.
NOW lets get started:
RESIZING THE IMAGES
1. extract the bootanimation to a folder .
2. open the MIR and click on "open a folder of images" then navigate to the 'bootanimation' folder.
3. select 'part0' and the photos in the parrt0 folder will loaded like in the attached photo .
4. now go to the resizing window and set the suitable resolution (in my case will be 480*854).
5. now create another folder and rename it "bootanimation" and create in that folder the same folders in the original bootanimation folder.
6. get back to MIR and to "save option" window and save the resized photo(s) to the folder you have created.
Code:
IF you take the photos that you have resized form 'part0' folder then safe it in part0 folder in the new created folder
part0----------->part0
part1----------->part1
part2----------->part2
etc............
7.now do the same thing with "part1, part2 , part3 ............etc" .
CREATING THE BOOTANIMTION
8. now open the Bootanimation factory and select "create a bootanimtion" and select " folder" .
9. select "chose folder " and chose the new created folder.
10. now go to original bootanimtion folder and to desc.txt .
11. get back to bootanimation factory and select the first line in the top right menu. and click edit.
12. edit the (FBS) to the suitble one in the desc.txt . for example if it was "20" in desc.txt then make "20".
13. now add loops and make them the same values in the desc.txt
14.click "create bootanimation" .
15. CONGRATULATION YOU HAVE YOUR OWN NEW BOOTANIMTION.
HOW TO INSTALL:
1. Push THE BOOTANIMATION.zip to system/media
2. give it rw-w-w
3. Reboot; ENJOY IT!!
..A: So that's it , it's so easy.
..B: yeah, I can now resize every bootanimtion I like.
..n78 shadow: guys please continue your conversation out of this thread.
FAQ
..A:why don't we just change the resolution in desc.txt
..n78 shadow:it won't work you need to change the images size and if you try will have a bootloop
..B:The folders in the original bootanimtion wasn't named "part0" they were named "generic1" .
..n78 shadow:No problem you can rename it in the new created folder "part0" just remember that the phone will play first "part0" folder then "part1" folder .......etc
NOTE:
1. if you have any question post it here.
2. if you feel it complicated or you didn't under stand something tell me
3. if you want to skip all those steps just send the bootanimtion to me here in this thread and I will resize it for you.
:good::goodon't forget to hit thank :good::good:

[Sony Ericsson Arc S][ROM MODIFY] Modify/Edit System.sin and repack Flash file FTF

HI Everyone
As you might have heard that you can't modify Sony Ericsson Arc s Flash file, i.e sin file, as it requires sony's signatures and blah blah...
but wellp it's not true, now you can modify it, i found a solution but it's a messy way to go through but well it works and tested by me. might also work Sony ericsson arc rom as well.
Note: The Yaffey tool is currently only supported on Windows pc. But you can other tools if you afe linux user their are several available
Here's the trick:
/**
# your warranty is now void.
I am not responsible for any damages to your phone or your surroundings.
**/
Tools needed(compulsory):
Flashtools (version 0.9.18.6)
WinRar (Recommended)
Yaffey tool (only Windows version available), or any yaffey editor extractor/repacker on your linux.
Notepad++ (text editor)
Steps:
Extract FTF flash file(your device flashfile).
Copy "sytem.sin" to a temporary working folder.
Open flashtools click "Tools" > "Sin editor" select the "sysytem.sin" file and click "Extract Data" then "system.yaffs2" file will be created in same folder.
(Download Yaffey tool from below)
Open yaffey tool.
Click "Open" and select the "system.yaffs2" file.
Now delete/modify from this tool, when done click "File" > "Save as" enter new name "system-new.yaffs2" and save it.
now you have a new "system-new.yaffs2" file.
Open flashtools goto "Tools" > "Sin editor" select the "system.sin" file again.
now click "Advanced" > "Create sin as" and select the "system-new.yaffs2" file which we created earlier, then click "Open".
wait till it's complete, now that "system-new.yaffs2" file will be converted into "system-new.yaffs2.sin" file, rename it to "system.sin".
Now extract the full Flashfile "*.ftf"(your device fashfile) in a temporary folder with Winrar. Now open the "META-INF/MANIFEST.MF" with any text viewer/editor and note down the "branding" and "version" it will be used while repacking the rom.
and then Don't touch any file just replace the "system.sin" file with the file we create renamed to "system.sin" earlier.
then most of you might know what to do, now we have to repack the flashfile by flashtools so Open Flashtools click "Tools" > "Bundles" > "create" then double click on Device column and select the device name by double clicking it. enter the Branding and version(enter the info we got earlier from "manifest.mf" file) check "No final verification". click "..." on upper right side and select the temporary folder where your full flashfile was extracted and click "ok". then you will find many files in "folder list" column select all files expect "*.ta" files if any. then click "->" button all files will be moved to "Firmware content" column then click "create", now wait till it's completed.
Now the rom is successfully created, You can find the firmware in "Firmwares" folder in flashtools data folder(for windows pc: it wil be in users or programdata folder in ".flashtools/firmwares/ dir").
You can now flash it to your device from flashtools
/**
Extra Info for those who can't flash a flashfile and gets error.
**/
If their's error then we need to change flashfiles cmd25 checksum to false.
then:
open flashfile.ftf with winrar, extract "MANIFEST.MF" file in META-INF folder to a temporary folder, and open it with Notepad++ and change line "cmd25: true" to "cmd25: false" remove the lines "rda: " and "revision:" if exists and save it.
the file should look something like this:
Code:
Manifest-Version: 1.0
device: LT18i
branding: (1254-2184)
Created-By: FlashTool
cmd25: false
version: 4.1.B.0.587
Now open Winrar open META-INF folder, then click "Add" and selct the edited "MANIFEST.MF" file and click "ok" again "Ok" in winrar dailog now the file will be overriden now it's you can flash it.
Enjoy
Really spent few hour to look around the internet but found nothing, i wanted to remove the bloatwares from my Sony Ericcson LT18i.
Get flashtools from GDrive:
Flashtools v0.9.18.6.exe (118mb)

Categories

Resources