[DEV] MaclawStudios Camera App - Galaxy Ace S5830 Android Development

Hi! We've decided to publish my ****ty camera app sources on GitHub.
Here is repo: https://github.com/MaclawStudios/maclawstudios_camera
Now we need your help with translating app to other languages.
Tutorial:
1. Learn how to use Git and fork our repo
2. Create /res/values-<your language code> folder
3. Copy strings.xml from /res/values to your folder
4. Translate it!
5. Push commit to GitHub
6. Click "Pull request" button on your GitHub
7. Wait for approving
8. Enjoy camera app in your language!
Credits:
English - me
Polish - me
German - MardonHH
Dutch - MardonHH
Hungarian - I-sty
Indonesian - ediedroid
Russian - bvp
...

I will translate it in romanian

Cool I'm waiting for pull request.

only 4 lines in the strings.xml file or ?
did i see something wrong in the res/values ?

Only 4 lines.

i will do the spanish translation just wait

ok thank's i try to do the french version :good:

im not sure if we have to translate only the words in inverted comas, or the whole xml?

I tranlated to Hungarian the xml file. But I don't known how do I update to the github.

I will do dutch

done, just waiting for approval

I've translated it in French, but can't update it on github ...
So i upload it here, the files values-fr and translation ... Sorry :S
I hope it help you

German Translation merged.
---------- Post added at 11:22 PM ---------- Previous post was at 11:01 PM ----------
I see some pull requests but most are wrong.
plz use the right path and only translate the string not the rest of code!
path= /res/values-Countrycode/strings.xml
only the bold red part is meant to be Translated:
<string name="appname">Kamera</string>
Plz people correct your pull requests!
---------- Post added at 11:42 PM ---------- Previous post was at 11:22 PM ----------
Dutch translation merged

Indonesian translation merged

Sorry for my lazyness, but I will just post here translation of those 4 lines in latvian language.
Source:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appname">Camera</string>
<string name="hello">MaclawStudios Camera - Beta 1</string>
<string name="unsupported">Unsupported model!</string>
<string name="error">Something went wrong…</string>
</resources>
Translation:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appname">Kamera</string>
<string name="hello">MaclawStudios Kamera - Beta 1</string>
<string name="unsupported">Neatbalstīts modelis!</string>
<string name="error">Kaut kas nogāja greizi…</string>
</resources>

I will translate it in russian

Latvian, French and Russian translations merged
---------- Post added at 01:09 PM ---------- Previous post was at 12:57 PM ----------
Danish translation merged

I translated to Portuguese(Portugal). I'm at work and can't use Github at the moment, but here is the translation:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appname">Câmera</string>
<string name="hello">MaclawStudios Camera - Beta 1</string>
<string name="unsupported">Modelo não suportado!</string>
<string name="error">Alguma coisa correu mal...</string>
</resources>

I got this message:
""Kamera" and "Fényképezőgép" both is possible
kamera - camera, movie camera
fényképezőgép - camera, photo camera
but i think kamera is the better possibility its a shorter name in launcher"
So, I will replace it?

what languages are left to translate to maybe i can translate some?

Related

Let's improve translations in GingerDX!

Hello.
My idea right now is to improve translations of GingerDX's CMParts, which contains names for several unique functions, written by doixanh. Many people complained about idea of translation, and wanted to go back to english text.
But my main idea is to update our translations! We could do this together, because XDA is a beautiful community, speaking in many languages. All you have to do is to translate some missing strings.
Translate this and post it:
Code:
<!-- dx -->
<!-- GingerDX settings -->
<string name="gingerdx_settings_title">GingerDX settings</string>
<string name="gingerdx_settings_summary">Change GingerDX-specific options</string>
<string name="pref_led_disabled_group_title">LED disabled in night...</string>
<string name="pref_led_disabled_title">...activated</string>
<string name="pref_led_disabled_from_title">...from</string>
<string name="pref_led_disabled_to_title">...to</string>
<string name="flipping_down_title">Flipping down...</string>
<string name="pref_flipping_down_mutes_ringer_title">...mutes ringer</string>
<string name="pref_flipping_down_snoozes_alarm_title">...snoozes alarm</string>
<string name="pref_flipping_down_snoozes_alarm_summary">No responsibility for being fired!</string>
<string name="call_features_title">Call features</string>
<string name="pref_call_me_louder_title">Call Me Louder</string>
<string name="pref_call_me_louder_summary">Louder ringer when phone is inside bags</string>
<string name="pref_back_button_ends_call_title">Back button ends call</string>
<string name="pref_ringer_loop_title">Loop ringtone</string>
<string name="pref_ringer_loop_summary">Again and again and...</string>
<string name="pref_smart_dialer_title">Smart dialer</string>
<string name="pref_smart_dialer_summary">Provides suggestions when dialing</string>
<string name="other_features_title">Other features</string>
<string name="pref_hide_avatar_message_title">Hide avatar in SMS content</string>
<string name="pref_quick_copy_paste_title">Quick copy / Quick paste</string>
<string name="pref_transparent_status_bar_title">Status bar transparency</string>
<string name="pref_transparent_status_bar_summary">Reboot to apply changes</string>
<string name="pref_sense3_lockscreen_title">Sense 3 Lockscreen</string>
<string name="pref_sense3_lockscreen_summary">Only basic functionality</string>
<string name="pref_recent_apps_status_bar_title">Recent apps on status bar</string>
<string name="pref_recent_apps_status_bar_summary">Display at most 16 apps</string>
<string name="pref_gingerdx_about_title">About</string>
<string name="pref_gingerdx_about_default">GingerDX built v000 by [email protected]</string>
<string name="pref_custom_carrier_title">Custom carrier text</string>
<string name="pref_custom_carrier_summary">Appears on lockscreen/statusbar</string>
<string name="carrier_label">Carrier text (empty to disable)</string>
<string name="custom_carrier">Carrier text</string>
<string name="ok_button">Done</string>
<string name="cancel_button">Cancel</string>
The code will be updated when we'll add some new functions.
As a member of Team GingerDX I encourage you to send corrected translations. They will be certainly included in next releases.
I'm counting on you!
values.zip contains English values
values_lng.7z contains all other languages.
If you want to create translation for language which is not included - go on!
Just extract translate, and attach the file.
I'm making a translation for Latvians, but it will take long time.
Spanish translator here!
Let's make it for all roms...
Sent from my E15i using XDA Premium App
I don't use other ROMs, but we could try. We need to get permissions from devs, apk's and some testers
Yea,it will be cool
Sent from my E15i using XDA Premium App
velnens123 said:
I'm making a translation for Latvians, but it will take long time.
Click to expand...
Click to collapse
It's only few minutes, you hve to translate few lines only for gods sake
Dare-Devil Inside said:
It's only few minutes, you hve to translate few lines only for gods sake
Click to expand...
Click to collapse
Few minutes??? I don't want to sit in chair all day.
eagleeyetom said:
added Polish and German translation (thanks to B.Jay)
Click to expand...
Click to collapse
Ok, I synced with doixanh's GIT repo and updated the ZIP file containing the language files eagleeyetom linked in his post.
This one incorporates:
- the "values" directory containing the english XML files
(use the files in there as your reference about strings that have been added but aren't covered in your specific language)
- the CURRENT German strings.xml that matches GDXv017
Apart from that one of the translations (values-ca?) had larger files than in eagleeyetom's ZIP, so I put them into the ZIP as well.
NOTE: This is NOT a flashable update ZIP containing a APK - this is just a re-pack of the directories and XML files.
Download here
Edit: @eagleeyetom: How do we go about the update ZIPs?
Are translators supposed to PM them to you so you can create the update.zip?
---------- Post added at 01:25 PM ---------- Previous post was at 01:15 PM ----------
dotsen9 said:
Let's make it for all roms...
Click to expand...
Click to collapse
In this case ... if you're on another ROM than GingerDX decompile CMParts.apk, rip the "values" and "values-<lang>" directories out of the "res" folder, put them into a "<ROM><version>_strings.zip" and put them up for download so we can tackle them.
I have no problem with looking into the German translation files of other ROMs to make it a better experience.
I'll gather all the translations from this thread, compile and publish them. That's the best way in my opinion.
I could help with decompiling things. Just put the cmparts.apk here.
@eagleeyetom: You can create a github account, I will add you to CMPart project. You will have permission to push, and we can work together.
https://github.com/eagleeyetom I have one
Added. Manage the translations and push to the repo
German strings.xml for GingerDX v017
--> Dropbox (right-click -> Save as...)
Link will stay the same and get updated upon the release of new updates.
Will look deeper into the CMParts source to see if I can translate the one or another menu where we still have English terms showing up. Will add a post if I modify something else.
Polish and German translations added to doixanh's repo.
I see that some translations were pushed to the repo. Thanks eagleeyetom
/edit: oops, almost at the same time as eagleeyetom's post
Working on portuguese translation already.. I will post tomorrow
With new nightly translation is a mess. I must spend some time to translate new cm features.
Sent from my X8 using xda premium
Bulgarian
working on Bulgarian right now
doixanh, I have problem. I don't know why, but when I added some strings to translations of new CM options I can't compile apk. I'm using n00b friendly method from this post, just to test if my new lines works. And I can't compile it. It gave me an error and lightweight file, which causes FC ;( I attach strings.xml of polish version. Could you look at this and give me a tip, what am I doing wrong? I don't want to add to your repo some wrong file.

[Guide][21.9.14][RepeXpersiS Theme Engine]How to Fully Port Xperia Themes to Cm11

How to port Fully Xperia Themes To cm11
-Hi everyone
-I will explain today how to port fully Xperia Themes to Cm11
Xda Portal News
http://www.xda-developers.com/android/port-xperia-themes-to-cyanogenmod-11/
Requirements
They are necessary for succesfully porting
Z2 framework of Ambor
Z2 Calendar
Z2 Settings of RXS
Z2 Clock
Z2 Widgets
Z2 Conversations
Z2 Soundrecorder
Z2 Systemui
Tools
Gimp2
http://www.gimp.org/downloads/
Total Commander
http://www.ghisler.com/deutsch.htm
Notepadd++
http://notepad-plus-plus.org/
Easy Compare
1)You can use [Total Commander] or [Notepad++]
2)For example
3)Go to my theme.apk/res/xml/android.xml
4)Open it and look at drawable line by line
How to use Gimp2
How to edit png files?
1)Watch this video
2)That´s it.
Info About RXS Theme Engine
All Z2 Apps
http://forum.xda-developers.com/showthread.php?t=2766508
Z2 Framework
http://forum.xda-developers.com/crossdevice-dev/sony/cm11-how-port-z2-framework-to-cm11-15-t2836856
Preparing Section
1)Download Xperia Themes from xperia threads,googleplay or somewhere.
2)Decompile it via any Apk Multi Tool
3)After decompiling
4)Go to xperia theme.apk/res/assests
5)You will see some zip files.
6)For example
PHP:
android.zip
com.android.systemui.zip
com.sonyericsson.home.zip
com.sonyericsson.uxp.zip
....
7)Change last name of all files from .zip to .apk
PHP:
Ex: old :android.zip
new:android.apk
8)Decompile all apk that you have renamed them.
9)Now download this theme from my thread.
maintheme.apk
http://www.mediafire.com/download/tlncyl0cjca1bqc/[21.09.14]maintheme.apk
10)Download new Public.xml of maintheme.apk
http://d-h.st/eEq
11)Decompile maintheme.apk
12)Replace public.xml with old one
13)Again return to step8
Porting Section
How to port framework of theme?
1)Download this file with this file you can find easily each png what you should change
http://d-h.st/3U2
2)Go to android.apk/res/drawable(all drawable files)
PHP:
ex:drawable-hdpi,-xhdpi,drawable-land-xhdpi....
3)Now you musst be carefull.
4)Compare all of them with drawable pngs of framework files and all name musst be same.
5)When some files are not same name,rename it
PHP:
ex:from "semc_ic_contact_picture_normal" to ic_contact_picture
6)Check them with all pngs of framework
7)You musst use Gimp2 for this files(.9.pngs)
8)Change color of those pngs according to your theme
PHP:
activity_picker_bg_activated.9
data_grid_border.9
data_grid_primary.9
day_picker_week_view_dayline_holo.9
drawer_list_divider.9
ic_lock_power_off
ic_lock_profile
ic_lock_reboot
ic_lock_screenshot
light_digital_alarm_icon
light_digital_colon
list_section_divider_holo_dark.9
list_section_divider_holo_light.9
numberpicker_selection_divider.9
overscroll_edge
overscroll_glow
plain_digital_alarm_icon
plain_digital_alarm_lockscreen
progressbar_indeterminate_holo1
progressbar_indeterminate_holo2
progressbar_indeterminate_holo3
progressbar_indeterminate_holo4
progressbar_indeterminate_holo5
progressbar_indeterminate_holo6
progressbar_indeterminate_holo7
progressbar_indeterminate_holo8
divider_strong_holo.9
semc_dialog_divider_holo_colored.9
fastscroll_thumb_default_holo
fastscroll_thumb_pressed_holo
tab_selected_holo.9
tab_selected_pressed_holo.9
ic_contact_picture
9)If android.apk has new pngs,go to maintheme.apk/res/xml/android.xml
10)Add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
11)Save it and delete all unneceassary pngs of framework theme(maintheme.apk)
How to port Home launcher of Theme?
1)Go to android.apk/res/drawable(all drawable files)
PHP:
ex:drawable-hdpi,-xhdpi,drawable-land-xhdpi....
2)Copy all pngs from Xperia Theme to your new ported theme(it musst copy same direction:from drawable-land hdpi to drawable-land hdpi )
3)Search this pngs and change color of them via Gimp2
PHP:
drawer_list_selected
4)Seach pngs when you see dopple pngs that they have same name,delete old pngs.
5)If com.sonyericsson.home.apk has new pngs,go to maintheme.apk/res/xml/com_sonyericsson_home_z2.xml and com_sonyericsson_home.xml
6)Add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
7)Save it and delete all unneceassary pngs of home theme(maintheme.apk)
How to make Clock app colorizable?
1)Search this pngs and change color of them via Gimp2
PHP:
nav_bar_alarm_theme
nav_bar_alarm_theme_v2
nav_bar_stopwatch_theme
nav_bar_stopwatch_theme_v2
nav_bar_timer_theme
nav_bar_timer_theme_v2
nav_bar_worldclock_theme
nav_bar_worldclock_theme_v2
2)If com.sonyericsson.organizer has new pngs,go to maintheme.apk/res/xml/com_sonyericsson_organizer and add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
3)Save it
How to make Calendar app colorizable?
1)For changing color of calendar app ,please go to Color Section
2)If com_android_calendar has new pngs,go to maintheme.apk/res/xml/com.android.calendar and add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
3)Save it
How to port Systemui of Theme?
1)Go to com.android.systemui.apk/res/drawable(all drawable files)
PHP:
ex:drawable-hdpi,-xhdpi,drawable-land-xhdpi....
2)Copy all pngs from Xperia Theme to your new ported theme(it musst copy same direction:from drawable-land hdpi to drawable-land hdpi )
3)Seach pngs when you see double pngs that they have same name,delete old pngs.
4)Search this pngs and change color of them via Gimp2
PHP:
statusbar_settings
status_bar_close_on.9
statusbar_brightness
5)If com.android.systemui.apk has new pngs,go to maintheme.apk/res/xml/com_android_systemui and add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
6)Save it and delete all unneceassary pngs of systemui theme(maintheme.apk)
How to port Conversation.apk of Theme?
1)Go to com.sonyericsson.conversations.apk/res/drawable(all drawable files)
PHP:
ex:drawable-hdpi,-xhdpi,drawable-land-xhdpi....
2)Copy all pngs from Xperia Theme to your new ported theme(it musst copy same direction:from drawable-land hdpi to drawable-land hdpi )
3)Seach pngs when you see double pngs that they have same name,delete old pngs.
4)If com.sonyericsson.conversations.apk has new pngs,go to maintheme.apk/res/xml/com_sonyericsson_conversations.xml and add line like this
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
5)Save it and delete all unneceassary pngs of conversation theme(maintheme.apk)
How to port Settings.apk of Theme?
1)Go to com.android.settings.apk/res/drawable(all drawable files)
PHP:
ex:drawable-hdpi,-xhdpi,drawable-land-xhdpi....
2)Copy all pngs from Xperia Theme to your new ported theme(it musst copy same direction:from drawable-land hdpi to drawable-land hdpi )
3)Seach pngs when you see double pngs that they have same name delete old pngs.
4)RepeXpersiS settings has some different pngs
5)Please rename those pngs according to RXS settings
PHP:
from ic_settings_personalization to ic_settings_personalization_settings
from ic_settings_connectivity to ic_settings_xperia_connectivity_settings
from ic_settings_sync to ic_settings_profiles
from ic_settings_call to ic_settings_callsettingsxperia
6)If com.android.settings.apk has new pngs,go to maintheme.apk/res/xml/com_android_settings and add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
7)Save it and delete all unneceassary pngs of settings theme(maintheme.apk)
How to port Soundrecorder of Theme?
1)Go to maintheme.apk/res/drawable-xxhdpi
2)Search this pngs and change color of them via Gimp2
PHP:
button_audio_quality_selected_disabled
button_audio_quality_selected_normal
button_audio_quality_unselected_disabled
button_audio_quality_unselected_normal
apptheme_scrubber_control_disabled_holo
apptheme_scrubber_control_normal_holo
apptheme_scrubber_primary_holo
apptheme_scrubber_secondary_holo
apptheme_scrubber_track_holo_light
apptheme_scrubber_control_pressed_holo
3)If com.sonymobile.androidapp.audiorecorder has new pngs,go to maintheme.apk/res/xml/com_sonymobile_androidapp_audiorecorder and add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
4)Save it and delete all unneceassary pngs of soundrecorder theme(maintheme.apk)
How to make Xperia Widgets colorizable?
1)Search this pngs and change color of them via Gimp2
PHP:
dark_analog_face
light_analog_face
dark_analog_hour_hand
drawable/dark_analog_minute_hand
dark_analog_second_hand
light_alarm_icon
light_analog_hour_hand
light_analog_minute_hand
light_analog_second_hand
progressbar_fill.9
progressbar_glow
music_particle_big
music_particle_med
music_particle_sml
default_contact
2)Name of Xperia Widgets packages
com.sonyericsson.advancedwidget.clock
com.sonyericsson.advancedwidget.music
com.sonymobile.advancedwidget.topcontacts
com.sonyericsson.advancedwidget.onoff
3)If xperia Widgets have new pngs,go to this locations
maintheme.apk/res/xml/com_sonyericsson_advancedwidget_clock
maintheme.apk/res/xml/com_sonyericsson_advancedwidget_clock
maintheme.apk/res/xml/com_sonyericsson_advancedwidget_clock
maintheme.apk/res/xml/com_sonyericsson_advancedwidget_clock
4)Add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
5)save it and delete all unneceassary pngs of settings theme(maintheme.apk)
How to make dialer and contacts colorizable?
1)Search this pngs and change color of them via Gimp2
PHP:
ic_menu_person_dk
ic_menu_star_dk
ic_menu_group_dk
3)If com.android.dialer.apk has new pngs,go to maintheme.apk/res/xml/com_android_dialer and com_android_contacts has new pngs,go to maintheme.apk/res/xml/com_android_contacts
4)Add line like this
PHP:
ex:<item name="drawable/your new png name">@drawable/your new png name</item>
5)Save it and delete all unneceassary pngs of dialer and contacts theme(maintheme.apk)
How to change of framework background?
1)You can change with them all background of apps
2)Go to android.apk/res/drawable-xxhdpi
3)Search them
semc_bg_dark_tile
semc_bg_light_tile
4)They have sometimes different names.Search as "semc_bg"
5)Change it
From semc_bg_dark_tile to semc_bg
From semc_bg_light_tile to semc_bg_light
6)Save it and delete all unneceassary pngs about background(maintheme.apk)
How to change of app icon,wallpaper and prewiew of Theme?
1)Go to maintheme.apk/res/drawable-xxhdpi
2)Copy all of them
3)Go to this page
http://www.picresize.com/
4)Resize it is like maintheme pngs
PHP:
Change from "semc_theme_lockscreen_wallpaper" to "app_icon"
from "semc_theme_preview" to "preview"
from "semc_theme_wallpaper" to "default_wallpaper"
5)Paste them to drawable-nodpi
6)Howewer paste default_wallpaper and preview to drawable-xxhdpi
paste app_icon to drawable-mdpi,hdpi.
How to add new apk support to your Theme?
1)I will explain it with an example
2)You want to add z2 album support in your theme
Steps
1)Decompile SemcAlbum.apk
2)Go to SemcAlbum.apk/res/AndroidManifest.xml
Search "package"
3)You will find ----->package="com.sonyericsson.album"
4)Copy "com.sonyericsson.album"
5)Go to maintheme.apk/res/xml
6)Download this file
http://d-h.st/5FM
7)And rename this file as com_sonyericsson_album.xml
8)Paste it to maintheme.apk/res/xml
9)Add related drawable lines into this xml file
10)Save it (com_sonyericsson_album.xml)
11)Open redirections.xml in maintheme.apk/res/xml
12)Add this line
PHP:
<package-redirections android:name="com.sonyericsson.album" android:resource="@xml/com_sonyericsson_album" android:minSdkVersion="9" />
13)Save it (redirections.xml)
Tutorial
PHP:
<package-redirections android:name="PACKAGE NAME" android:resource="@xml/XML NAME" android:minSdkVersion="9" />
ex:
1)Package name of Album:com.sonyericsson.album
2)XML name of Album:com_sonyericsson_album
3)Package name musst contents alway this sign "." between sentences
4)Xml name musst contents always this sign "_" between sentences.
5)Thats all.
How to change of appi con of Z2 apps?
1)Go to app.apk/res/mipmap and drawable(all drawable and mipmap files)
2)Most Apps have generally app icon in mipmap but sometimes in drawable
3)Search it as "launcher,app_icon..."
4)Copy png or pngs from app.apk to mipmap or drawable files(look at for it into xml folder in maintheme.apk.You will find related xml files and There is some drawable lines about it)
5)Save it and delete all unneceassary pngs about app icon(maintheme.apk)
Color Section
How to change color of Theme?
Related Packages
com.sonyericsson.uxp
com.sonyericsson.home
com.android.systemui
How to find Color Values?
1)Go to xxx(theme).apk/values/colors.xml
This is most important.I will explain detail
What is color value?
PHP:
ex:it is #fffcc68b (light brown)
How to get color value?
1)Go to this page
http://www.w3schools.com/cssref/css_colorsfull.asp
How to change of color?
PHP:
[B][U][COLOR="DarkGreen"]Old [/COLOR][/U][/B]
<color name="somc_color_dark">#fffcc68b</color>(Light-Brown)
[B][U][COLOR="DarkGreen"]New[/COLOR][/U][/B]
<color name="somc_color_dark">#ffd700</color>(Gold-Yellow)
#FFD700
1)Some colors are about systemui,android framework,calendar
Please dont change those colors[if you see new color on packages(above),change it ]
PHP:
<color name="home_badge_text_color">#e6303030</color>
<color name="apptray_background_color">#00000000</color>
<color name="apptray_drawer_text_color">#cbff0000</color>
<color name="apptray_drawer_badge_text_color">#e6303030</color>
<color name="cui_grid_divider_color">#30ffffff</color>
<color name="status_bar_light_background">#ff000000</color>
<color name="status_bar_opaque_background">#00570000</color>
<color name="semc_theme_illumination_color_Calendar">#fff4fa2f</color>
<color name="light_theme_accent_addition">#ff303030</color>
<color name="text_shadow_color">#e5000000</color>
<color name="memory_avail">#ffb2b2b2</color>
<item type="color" name="memory_apps_usage">@color/semc_theme_color_light</item>
<color name="memory_downloads">#fffcb13c</color>
<color name="memory_dcim">#ffdb6770</color>
<color name="memory_music">#ffd2b6dc</color>
<color name="memory_cache">#ff637085</color>
<color name="memory_misc">#ff4798d2</color>
<color name="memory_user_light">#ffcac5a5</color>
<color name="memory_user_dark">#ff7c9769</color>
<color name="system_bar_background_opaque">#78000000</color>
<color name="notification_panel_solid_background">#00000000</color>
<color name="moving_item_background">#80000000</color>
<item type="color" name="accent_color_illumination">@color/semc_theme_color_light</item>
<item type="color" name="somc_theme_accent_color_light">@color/accent_color_dark</item>
<item type="color" name="blue_focused">@color/semc_theme_color_light</item>
<item type="color" name="neutral_pressed">@color/semc_theme_color_light</item>
<item type="color" name="semc_text_color_highlight">@color/semc_theme_color_light</item>
<item type="color" name="linear_color_bar_left_color">@color/semc_theme_color_light</item>
<item type="color" name="linear_color_bar_middle_color">@color/semc_theme_color_light</item>
<color name="linear_color_bar_right_color">#ff888888</color>
<color name="linear_color_bar_gray_color">#ffd6d6d6</color>
<color name="data_usage_series_fill_color">#c0c961db</color>
<color name="data_usage_series_fill_color_secondary">#66c961db</color>
<color name="system_bar_background_semi_transparent">#ff5e5e5e</color>
<color name="system_ui_light_background">#ff5e5e5e</color>
<color name="system_bar_background_fully_transparent">#00000000</color>
<color name="status_bar_recents_app_label_color">#66000000</color>
<color name="notification_list_shadow_top">#80000000</color>
<color name="start_color">#ff181818</color>
<color name="end_color">#ff242424</color>
<color name="frame_color">#ff4d4d4d</color>
<color name="notification_panel_scrim_color">#ff000000</color>
<color name="scalebar_line_color">#fffcc68b</color>
<item type="color" name="blue_light">@color/semc_theme_color_light</item>
<color name="black_dark">#ff2a2a2a</color>
<color name="blue_medium">#66e4633a</color>
<color name="blue_dark">#ff112026</color>
<item type="color" name="blue_tab">@color/semc_theme_color_light</item>
<color name="list_item_selected_background">#ffffbe79</color>
<item type="color" name="status_bar_clock_color">@color/semc_theme_color_light</item>
<item type="color" name="semc_theme_accent_color_dark">@color/semc_theme_color_light</item>
Systemui and Framework values change it according to com.sonyericsson.uxp
PHP:
<color name="somc_color_dark">#fffcc68b</color>
<color name="somc_color_light">#fffcc68b</color>
<color name="somc_color_light_off">#fffcc68b</color>
<color name="somc_color_bright">#fffcc68b</color>
<color name="semc_theme_color_light">#fffcc68b</color>
<color name="semc_theme_color_dark">#fffcc68b</color>
<color name="accent_color_neutral">#fffcc68b</color>
<color name="accent_color_light">#fffcc68b</color>
<color name="semc_theme_illumination_color_light">#fffcc68b</color>
<color name="semc_theme_illumination_color_dark">#fffcc68b</color>
<color name="somc_theme_accent_color_dark">#fffcc68b</color>
Home Values(i remember it changes accent_color_dark color of home.apk but i am not sure please test it)
<color name="accent_color_neutral">#fffcc68b</color>
<color name="accent_color_light">#fffcc68b</color>
<color name="accent_color_dark">#fffcc68b</color>
Soundenchaments Values
PHP:
<color name="scalebar_line_color">#fffcc68b</color>
<color name="scalebar_center_line_color">#fffcc68b</color>
<color name="surround_preset_name_color">#fffcc68b</color>
<color name="surround_preset_summary_color">#fffcc68b</color>
<color name="freqnum_color">#fffcc68b</color>
Conversations Values
PHP:
<color name="somc_accent_color_neutral">#fffcc68b</color>
<color name="semc_theme_accent_color">#fffcc68b</color>
<color name="semc_theme_accent_color_sent">#fffcc68b</color>
Calendar Values
It changes otomatically according to framework color
Highlight_text Values
PHP:
<color name="link_text_dark">#fffcc68b</color>
<color name="link_text_light">#fffcc68b</color>
<color name="highlighted_text_holo_dark">#fffcc68b</color>
<color name="highlighted_text_holo_light">#fffcc68b</color>
<color name="suggestion_highlight_text">#fffcc68b</color>
<color name="perms_dangerous_grp_color">#ff224e74</color>
<color name="perms_dangerous_perm_color">#ff224e74</color>
<color name="keyguard_avatar_frame_pressed_color">#ff224e74</color>
Finishing Section
How to change Theme,Wallpaper,Author,App Name?
For this
1)Go to my theme.apk/res/values/strings.xml
PHP:
<string name="app_name">NewTheme for KK</string>
<string name="theme_name">NewTheme </string>
<string name="style_appearance_name">NewTheme </string>
<string name="author">Your name</string>
<string name="copyright">Your name</string>
<string name="wallpaper_label">NewTheme Wallpaper</string>
How to change package Name of your Theme?
1)You musst change package name.If your package name is same with old theme,you can not use both theme.
2)Go to mytheme.apk/res/androidmanifest.xml
3)Find this word "package"
PHP:
ex:com.gamzekal.themename.apk
4)Change it what do you want
-Compile your new theme.apk
-You have successfully ported Xperia Themes to Cm11
Credits
@ Ambor
to manage any files use tootal commander
Ambor said:
to manage any files use tootal commander
Click to expand...
Click to collapse
thanks buddy
Thanks @gamzekal bro for awesome guide. @balrajs99 now its your turn to do some magic..hope to geet some themes like comicpirate,city lights etc...
Sent from my Xperia ion using Tapatalk
Chocklety Boyee said:
Thanks @gamzekal bro for awesome guide. @balrajs99 now its your turn to do some magic..hope to geet some themes like comicpirate,city lights etc...
Sent from my Xperia ion using Tapatalk
Click to expand...
Click to collapse
you can do it too.It is easy.
Bookmarked, thanks.
Added On Portal
Congrats
very useful bro, will start to port some of my themes soon..thanks
@gamzekal They really did a good job xda on the homepage sharing
Great job!!
Congrats!!!!!
Sorry for the noob question, but can this guide be used to make themes for non xperia devices too?
coolancool said:
Sorry for the noob question, but can this guide be used to make themes for non xperia devices too?
Click to expand...
Click to collapse
Yes.Of course.Fist of all you need z2 style framework(semc scrubber,spinner ...).Look at "info about Ambor Theme Engine"
gamzekal said:
Yes.Of course.Fist of all you need z2 style framework(semc scrubber,spinner ...).Look at "info about Ambor Theme Engine"
Click to expand...
Click to collapse
have this guide been updated?
---------- Post added at 11:42 AM ---------- Previous post was at 11:23 AM ----------
how i have to add PNG's in the drawable-mdpi folder if i need support for Mdpi?
Black_Eyes said:
have this guide been updated?
---------- Post added at 11:42 AM ---------- Previous post was at 11:23 AM ----------
how i have to add PNG's in the drawable-mdpi folder if i need support for Mdpi?
Click to expand...
Click to collapse
no.You dont need it.Ambor theme engine is converting all pngs to all dpi formats.You should add all images to xxhdpi folder.It is compatible with all dpi devices
There are some 9.pngs in xperia themes but in your theme they are just simple pngs with the same name..
what to do?
Black_Eyes said:
There are some 9.pngs in xperia themes but in your theme they are just simple pngs with the same name..
what to do?
Click to expand...
Click to collapse
download my latest theme.I have deleted innecessary pngs
Getting this error while Recompiling @Ambor
C:\Users\Lovinz\Downloads\Compressed\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\CleanFall_CM11.apk\res\values\styles.xml:41: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.ProgressBar.Inverse'.
C:\Users\Lovinz\Downloads\Compressed\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\CleanFall_CM11.apk\res\values\styles.xml:42: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.ProgressBar.Small.Inverse'.
C:\Users\Lovinz\Downloads\Compressed\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\CleanFall_CM11.apk\res\values\styles.xml:43: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.ProgressBar.Large.Inverse'.
C:\Users\Lovinz\Downloads\Compressed\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\CleanFall_CM11.apk\res\values\styles.xml:44: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.TextView.ListSeparator'.
C:\Users\Lovinz\Downloads\Compressed\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\CleanFall_CM11.apk\res\values\styles.xml:49: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.TextView.ListSeparator'.
C:\Users\Lovinz\Downloads\Compressed\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\CleanFall_CM11.apk\res\values\styles.xml:93: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.TextView.ListSeparator'.
C:\Users\Lovinz\Downloads\Compressed\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\3-Out\CleanFall_CM11.apk\res\values\styles.xml:102: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
---------- Post added at 04:51 PM ---------- Previous post was at 04:42 PM ----------
This is your theme Error
i tried it recompiling without touching any file still same error
---------- Post added at 04:57 PM ---------- Previous post was at 04:51 PM ----------
EDIT: I have installed Original Z2 frameowrk and Now Ok
New Guide for Latest Z2 Framework is online.It is very detail.You will find all answer about it
Awesome Work Bro
awesome work
will back and read everything

[CM11][KK][GUIDE][XPERIA] How Port Z2 Framework to any CM11 in 15 min

Hi Users, to September 15 I'm not in the country. I can not access the email. You can send me a message but I replay you when I'm return.
Hi
Gets a lot of emails regarding Z2 framework so I decided to do guide How port Z2 framework
Today I will teach you how to make your own Z2 framework that should work on any Rom CM11 on all Xperia devices
In this guide, I will not teach how to properly decompile and decompile apps because:
Firstly, there are many online Guide on this subject and there is no point duplicating
Secondly I assume that if someone wants to do framework has a basic knowledge about the action of framework
This method works CM11 NOT modded FRAMEWORK
if this method will not work, you can try the other, made prey of my colleague @naheel azawy
LINK
Ok Here we go
*
1 Decompile your framework-res.apk for your version of CM11
2 Decompile my last Z2 framework for CM 11 Legacy Xperia included in this topic:
3 Install File Menager on your computer (I use Total Commander, I think that is the best and of course free)
4 Copy this files from my folder [anim] to your folder [anim]
Code:
somc_dialog_popup_exit.xml
somc_task_open_exit.xml
somc_dialog_popup_enter.xml
somc_activity_open_enter.xml
somc_input_method_exit.xml
somc_task_close_enter.xml
somc_activity_open_exit.xml
somc_activity_close_exit.xml
somc_task_close_exit.xml
somc_toast_exit.xml
somc_activity_close_enter.xml
somc_toast_enter.xml
somc_input_method_enter.xml
somc_task_open_enter.xml
5. Copy all files from my folder [color] to your folder [color]
6. Copy all files from my folder [drawable] to your folder [drawable]
6. Copy all files from my folder [drawable HDPI] to your folder [drawable HDPI]
7. Copy this files from my folder [layout] to your folder [layout]
semc_tab_indicator_holo_light.xml
semc_tab_indicator_holo_dark.xml
8. In folder [valiues] open color.xml file, open the same file in your framework
Overwrite all the same the same lines with the values ​​from my file and add new lines from my files
IMPORTANT
If there are VALUES IN YOUR FILE XML, WITH ISNT IN MY FILE XML. DO NOT REMOVE THEM.
9. In folder [values] open drawables.xml file, open the same file in your framework
Overwrite all the same the same lines with the values ​​from my file and add new lines from my files
IMPORTANT
If there are VALUES IN YOUR FILE XML, WITH ISNT IN MY FILE XML. DO NOT REMOVE THEM.
example
my file
<color name="holo_blue_light">#ff33b5e5</color>
your file
<color name="holo_blue_light">#ff000000</color>
my file
<item type="drawable" name="notification_template_icon_bg">#44000000</item>
your file
<item type="drawable" name="notification_template_icon_bg">#ff000000</item>
Only change this value #ff000000
11. Copy this files from my folder [values] to your folder [values]
styles.xml
11. Mynewest framework 08 08 14 contains changes in other files. Of these files also need to add lines to your files list
Code:
arrays.xml
attrs.xml
bools.xml
dimens.xml
drawables.xml
ids.xml
integers.xml
plurals.xml
strings.xml
Please, DO NOT GIVE plenty of lines NEW ALWAYS ADD NEW LINES AT THE END
Recomplie framework.apk
Do flashable zip
Go to CWM
wipe cache partition
wipe dalvik cache
flash framework
DONE Remember press thanks
Please send your reports on operating devices
Framework CM11
Settings
Special thanksfor @gamzekal and its magnificent Xperia Settings
Theme Accent will work with your new Framework
My Last Framework 08.08.14
WoW perfect work.Thanks bro awesome work:good::good::good::good:
Add screenshot
it is tested.It works great.
got error
Nice job ! brother , i like it ,this post is amazing ! I'll try it, i cannot wait
Sent from my R800i using XDA Free mobile app
@jaguelos
\styles.xml:3087: error: Error: No resource found that
matches the given name: attr 'dialogStyle'.
This mean,
You musst add dialogStyle to your styles.xml
PHP:
<style name="Preference.Holo.Light.RingtonePreference" parent="@style/Preference.Holo.RingtonePreference">
<item name="dialogStyle">@style/Theme.Holo.Light.Dialog.Alert</item>
</style>
Tutorial :
1)No resource found that
matches the given name: XXXXXXX
This mean some resources are missed.
2)\ApkChanger\out\30framework-res\res\values\public.xml:6613: error: Public symbol drawable/xxxx declared here is not defined.
You should delete line 6613 in public.xml
jaguelos said:
got error
Click to expand...
Click to collapse
bro with rom ??
in sttrs.xml missing this line
Code:
<attr name="dialogStyle" format="reference" />
</resources>
add it to end
gamzekal said:
@jaguelos
\styles.xml:3087: error: Error: No resource found that
matches the given name: attr 'dialogStyle'.
This mean,
You musst add dialogStyle to your styles.xml
PHP:
<style name="Preference.Holo.Light.RingtonePreference" parent="@style/Preference.Holo.RingtonePreference">
<item name="dialogStyle">@style/Theme.Holo.Light.Dialog.Alert</item>
</style>
Tutorial :
1)No resource found that
matches the given name: XXXXXXX
This mean some resources are missed.
2)\ApkChanger\out\30framework-res\res\values\public.xml:6613: error: Public symbol drawable/xxxx declared here is not defined.
You should delete line 6613 in public
Click to expand...
Click to collapse
bro this style is add to my styles.xml in framework Z2
No resource found that
matches the given name: attr 'dialogStyle'.
I'll explain to you
does not mean the lack of style in xml.
Only one line in the file attrs.xml
The style is added in, the file styles.xml
Ambor said:
bro with rom ??
in sttrs.xml missing this line
Code:
<attr name="dialogStyle" format="reference" />
</resources>
add it to end
Click to expand...
Click to collapse
ROM : Xperia UltraKat v2.1.1
LexacyXperia build 20140319
and this my framework
http://www.mediafire.com/download/c5rz0d7ml4yj101/Myframework-res.apk
jaguelos said:
ROM : Xperia UltraKat v2.1.1
LexacyXperia build 20140319
and this my framework
http://www.mediafire.com/download/c5rz0d7ml4yj101/Myframework-res.apk
Click to expand...
Click to collapse
add line and compile apk send result
Ambor said:
add line and compile apk send result
Click to expand...
Click to collapse
added line
jaguelos said:
added line
Click to expand...
Click to collapse
Bro
Bro first. your framework is already mod
And my guide is for not modded framework working on CM11
Second you skipped point 6 guide (You must copy and add ALL files to drawable folder)
Do it again step by step and make sure you do not miss any point
check this frame
can you upload Resizable PNG's for Mdpi ?
Black_Eyes said:
can you upload Resizable PNG's for Mdpi ?
Click to expand...
Click to collapse
bro i make pngs for mdpi :
http://www.mediafire.com/download/1rxqynitu6jkoi5/drawable-mdpi.rar
enjoy it.
.
alinolaw71 said:
bro i make pngs for mdpi :
http://www.mediafire.com/download/1rxqynitu6jkoi5/drawable-mdpi.rar
enjoy it.
.
Click to expand...
Click to collapse
Thanks So Much
---------- Post added at 12:44 PM ---------- Previous post was at 12:26 PM ----------
We need to add this in Colors.xml at the End ?
<color name="black_dark">#ff33b5e5</color>
<color name="blue_tab">#ff33b5e5</color>
<color name="somc_theme_accent_color_dark">#ff33b5e5</color>
<color name="somc_theme_accent_color_light">#ff33b5e5</color>
Black_Eyes said:
Thanks So Much
---------- Post added at 12:44 PM ---------- Previous post was at 12:26 PM ----------
We need to add this in Colors.xml at the End ?
<color name="black_dark">#ff33b5e5</color>
<color name="blue_tab">#ff33b5e5</color>
<color name="somc_theme_accent_color_dark">#ff33b5e5</color>
<color name="somc_theme_accent_color_light">#ff33b5e5</color>
Click to expand...
Click to collapse
you need to add these values ​​as you want to theme engine worked
* Not long will do the update framework
Code:
<color name="black_dark">@color/somc_theme_accent_color_dark</color>
<color name="blue_tab">@color/somc_theme_accent_color_dark</color>
<color name="semc_theme_accent_color">@color/somc_theme_accent_color_dark</color>
<color name="somc_theme_accent_color_light">@color/accent_color_light</color>
<color name="somc_theme_accent_color_dark">@color/accent_color_dark</color>
<color name="semc_theme_illumination_color">@color/accent_color_illumination</color>
<color name="somc_accent_color_neutral">@color/accent_color_neutral</color>
<color name="accent_color_dark">#ff64c9ff</color>
<color name="accent_color_light">#ff64c9ff</color>
<color name="accent_color_neutral">#ff64c9ff</color>
<color name="accent_color_illumination">#ff64c9ff</color>
<color name="somc_quick_settings_accent_color">@color/semc_theme_accent_color</color>
Pattern of bro gamzekal we tried kompletyn theme engine to CM11 framework bark to August was based only on 4 values ​​RBG
Code:
<color name="accent_color_dark">#ff64c9ff</color>
<color name="accent_color_light">#ff64c9ff</color>
<color name="accent_color_neutral">#ff64c9ff</color>
<color name="accent_color_illumination">#ff64c9ff</color>
I know how to translate 99 percent of the framework Z2. I do not understand a few functions
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
[COLOR="Red"]<checkable android:background="@drawable/semc_btn_check_holo_dark_background" [COLOR="red"]android:mark=[/COLOR]"@drawable/semc_btn_check_holo_dark_indicator"[COLOR="red"] android:transitionDuration="600" android:markSize="1.0"[/COLOR]
xmlns:somc="http://schemas.android.com/apk/res/com.sonyericsson.uxp" />
</item>
</layer-list>
<checkable
android:mark
android:transitionDuration
android:markSize />
Ambor said:
you need to add these values ​​as you want to theme engine worked
* Not long will do the update framework
Code:
<color name="black_dark">@color/somc_theme_accent_color_dark</color>
<color name="blue_tab">@color/somc_theme_accent_color_dark</color>
<color name="semc_theme_accent_color">@color/somc_theme_accent_color_dark</color>
<color name="somc_theme_accent_color_light">@color/accent_color_light</color>
<color name="somc_theme_accent_color_dark">@color/accent_color_dark</color>
<color name="semc_theme_illumination_color">@color/accent_color_illumination</color>
<color name="somc_accent_color_neutral">@color/accent_color_neutral</color>
<color name="accent_color_dark">#ff64c9ff</color>
<color name="accent_color_light">#ff64c9ff</color>
<color name="accent_color_neutral">#ff64c9ff</color>
<color name="accent_color_illumination">#ff64c9ff</color>
<color name="somc_quick_settings_accent_color">@color/semc_theme_accent_color</color>
Pattern of bro gamzekal we tried kompletyn theme engine to CM11 framework bark to August was based only on 4 values ​​RBG
Code:
<color name="accent_color_dark">#ff64c9ff</color>
<color name="accent_color_light">#ff64c9ff</color>
<color name="accent_color_neutral">#ff64c9ff</color>
<color name="accent_color_illumination">#ff64c9ff</color>
I know how to translate 99 percent of the framework Z2. I do not understand a few functions
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
[COLOR="Red"]<checkable android:background="@drawable/semc_btn_check_holo_dark_background" [COLOR="red"]android:mark=[/COLOR]"@drawable/semc_btn_check_holo_dark_indicator"[COLOR="red"] android:transitionDuration="600" android:markSize="1.0"[/COLOR]
xmlns:somc="http://schemas.android.com/apk/res/com.sonyericsson.uxp" />
</item>
</layer-list>
<checkable
android:mark
android:transitionDuration
android:markSize />
Click to expand...
Click to collapse
So i can add these that you shown in Colors.xml at the the end?
or it's just Ok to add that just 4 lines ?
yes

Hi i need a device bsystem

Hi i need a device bsystem. Android 9 or 10. DLTR191125000S00MP1 Black Shark 2Pro
ادخل الجهاز وضع الفاستبوت وحمل السوفت التالي وفك الضغط وكلك مرتين على flash.all
1.87 GB file on MEGA
mega.nz
MOD EDIT: Please post only in English according to the FORUM RULES or at least add an English translation below your foreign language(Google translator for example),translation added below:
Enter the device into fastboot mode, download the following software, and unzip it twice on flash.all
https://mega.nz/file/RIAywAgb#xY_2dDhDvrMDEjxJXJgoxx2R-wqDl4GTTihSB0EYlSg
هل يمكن انتواصل على الوتساب
MOD EDIT: Please post only in English according to the FORUM RULES or at least add an English translation below your foreign language(Google translator for example),translation added below:
can you touch whatsapp?

Help me

ماذا علي أن أفعل؟
MOD EDIT: Please post only in English according to the FORUM RULES or at least add an English translation below your foreign language(Google translator for example), translation added below:
What should I do?
kaser911 said:
ماذا علي أن أفعل؟
MOD EDIT: Please post only in English according to the FORUM RULES or at least add an English translation below your foreign language(Google translator for example), translation added below:
What should I do?
Click to expand...
Click to collapse
Press power button once the phone will reboot

Categories

Resources