[DEV] MaclawStudios Camera App - Samsung Galaxy Gio GT-S5660

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

LOL I bet anyone can do any language using Google translate, because there's only 4 lines... XD

I can translate Dutch
- Done with Dutch

marcin1147 said:
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
...
Click to expand...
Click to collapse
give me camera apk and i translate with apk translator,very simple translation in all languages.

You can fork it from github it's more simple

Frankin96 said:
You can fork it from github it's more simple
Click to expand...
Click to collapse
frankin non è l'apk ma sono i sorgenti dell'app.
it isn't camera.apk but suorces

Yes .. but from it you can have the apk .. you have only to translate values and upload a folder called values-it with translated string ...

How to get apk? Sorry I'm a beginner

ediexda said:
How to get apk? Sorry I'm a beginner
Click to expand...
Click to collapse
You don't, you edit the source code.....
Sent from my Sensational phone

I'll do later for Italian, if not done.
Sent from my GT-S5660 using xda app-developers app

.....
i dont understand .. how to upload my edited string?

Just send a push request

valenrock said:
i dont understand .. how to upload my edited string?
Click to expand...
Click to collapse
You can't upload if somebody else already uploaded for the same language, you'll get notification

marcin, please use this for Romanian (ro) language! No need to install github and other things for 4 lines

Thai translate
You should paste it in /res/value-th/string.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appname">กล้อง</string>
<string name="hello">MaclawStudios Camera - Beta 1</string>
<string name="unsupported">อุปกรณืไม่รองรับกับแอพลิเคชั่นนี้</string>
<string name="error">พบข้อผิดพลาด ทางทีมงานจะเร่งแก้ไขให้เร็วที่สุด</string>
</resources>

Italian translations:
Obviously, in /value-it/strings.xml
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">Dispositivo non supportato!</string>
<string name="error">Interruzione imprevista!</string>
</resources>

Tested new released camera update CM9 beta10, how to change language? Shouldn't it auto detected? And I am not seeing auto focus effect.., also tested with 3rd party apps, it says cannot connect to camera

ediexda said:
Tested new released camera update CM9 beta10, how to change language? Shouldn't it auto detected? And I am not seeing auto focus effect.., also tested with 3rd party apps, it says cannot connect to camera
Click to expand...
Click to collapse
1. Wrong thread
2. AutoFocus doesn't work
3. This camera app is made by Marcin, cause preview works only in this app

i am a github noob
i can't find a button to pull request,what should i do?i have finished the translation.
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)

Sorry if I wrong , I mean this camera apps was implemented on CM9 beta 10, so I tested it..

Related

Use "EVK" a small problem

Create ROM is complete, the "\windows\" can be found under their own OEM package files, but not in the "Start Menu" in finding a shortcut to the program,
Pre-production, OEM package has been established "lnk" and "initflashfiles.txt" file,But it seems that "initflashfiles.txt" can not be "EVK" Load
"initflashfiles.txt"
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\"Start Menu\Programs"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
Thanks for all help
I am a novice
badangel900 said:
Create ROM is complete, the "\windows\" can be found under their own OEM package files, but not in the "Start Menu" in finding a shortcut to the program,
Pre-production, OEM package has been established "lnk" and "initflashfiles.txt" file,But it seems that "initflashfiles.txt" can not be "EVK" Load
"initflashfiles.txt"
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\"Start Menu\Programs"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
Thanks for all help
I am a novice
Click to expand...
Click to collapse
It should be like this
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\Start Menu\Programs"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
Sergio76 said:
It should be like this
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\Start Menu\Programs"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
Click to expand...
Click to collapse
Sorry! Is my typo
I use the Chinese language
In Chinese, "Start Menu" format ("Start" menu), so I played more than a (")
Chinese "iniflashfiles.txt"
Code:
;----------------------------------Coreplayer------------------------------------------------
Directory("\Windows\"开始"菜单\程序"):-File("Coreplayer.lnk","\Windows\Coreplayer.lnk")
;---------------------------------Coreplayer end---------------------------------------------
PS:
In other places to see ("ROM Kitchen") case "iniflashfiles.txt" within the package in OEM
The new "EVK" 1.8.2 version is not needed to do to anything else
If the "iniflashfiles.txt" renamed "app.dat" and "RGU" to "REG"
EXT package is not on, "EVK" that the program can create "lnk" to start the menu
Meanwhile, thank you very much busy, find time to help me
I think you should insert character code for non-English letters.
For example, letter ą has code 0105, so you substitute it with \x0105
So its not
Code:
Directory("\Windows\Help"):-File("Exąmple.lnk","\Windows\Exąmple.lnk")
but
Code:
Directory("\Windows\Help"):-File("Ex\x0105mple.lnk","\Windows\Ex\x0105mple.lnk")
kosherpig said:
I think you should insert character code for non-English letters.
For example, letter ą has code 0105, so you substitute it with \x0105
So its not
Code:
Directory("\Windows\Help"):-File("Exąmple.lnk","\Windows\Exąmple.lnk")
but
Code:
Directory("\Windows\Help"):-File("Ex\x0105mple.lnk","\Windows\Ex\x0105mple.lnk")
Click to expand...
Click to collapse
Problem has been solved!
"Lnk" name, does not support Chinese
"Iniflashfile.txt" in the "" and "" is not the same as
Like this
Code:
Directory("\Windows\“开始”菜单\程序"):-File("远程桌面 Mobile.lnk", "\Windows\wpctsc.lnk")
OEM package can also use the "EVK" Import into EXT package
Until not found!
Thanks for all help
about"nk.exe"Active protection
I modify the "NK.EXE" time to see "[K] Active protection packed" so a piece of code
I would like to know how to skip it?
Another is to use "EVK" the "XIPPORTER" tool to generate new "NK.exe" The S000
When packing
I saw "EVK" log, there is time to lock a record lift
Produced when prompted "doesn't need Timebomb Fix!!!"
This is not the limit no longer
If I make the ROM PHONE brush to another area where
There will be restrictions?
Thanks for all the help!

Install Apps from .wgt file

Hello,
in the leaked bada 2 firmware there are three .wgt-files in the internal "Others" folder.
If you install the currency widget, installation fails.
Installing the dictionary widget works but i dont want to put it on my homescreen (restart possible).
But the flags file installs a WAC app right into the menu.
So my question is if someone could try to install this file on a bada 1.2 firmware phone. Or if someone could check the files inside the .wgt container and tell us why it is handled as an app.
in 1.2 it is handled as a widget
Strange ha?!
Thats why it was said that WAC platform will convert widget developers into app developers
Best Regards
my fault
http://www.wacapps.net/web/portal/dev-guide
but how far can these wac apps go? i mean which rights do they have? and how is the performance in comparison to bada apps written in c++ (or whatever bada language is)
and why is the dictionary thing shown as a widget only?
Lithophyses said:
Hello,
in the leaked bada 2 firmware there are three .wgt-files in the internal "Others" folder.
If you install the currency widget, installation fails.
Installing the dictionary widget works but i dont want to put it on my homescreen (restart possible).
But the flags file installs a WAC app right into the menu.
So my question is if someone could try to install this file on a bada 1.2 firmware phone. Or if someone could check the files inside the .wgt container and tell us why it is handled as an app.
Click to expand...
Click to collapse
I checked the config.xml files in the flags widget and in an old one and the difference is quite conspicuous:
This is the old widget:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<widget xmlns="http://www.w3.org/ns/widgets" height="247" id="-2122456916-1366001337" version="0.25" width="239">
<title>Calendar Clock</title>
<description>Digital Clock displaying Calendar appointments.</description>
<icon src="icon.png"/>
<content src="index.html"/>
<access network="false"/>
<author href="http://www.mysamsungwave.com/index.php?topic=637">Monkey</author>
<feature name="http://bondi.omtp.org/api/pim.calendar.read" required="false"/>
<feature name="http://bondi.omtp.org/api/pim.calendar.write" required="false"/>
</widget>
And this is the new:
<?xml version="1.0" encoding="UTF-8"?>
<widget
id="SOABDWCLMUFLAGSOFTHEW001"
modes="dock,application"
dockable="yes"
defaultmode="fullscreen"
version="0.01"
width="243"
height="139"
xmlns="http://www.w3.org/ns/widgets">
<widgetname>Flags of the world</widgetname>
<access network="false"/>
<description>
Try your knowledge! How many national flags do you know? The national flag is a symbol of the country's spirit, history, and culture. You can check it in Flags of the world.
</description>
<feature name="http://waclists.org/api/deviceinteraction" required="false"/>
<icon src="icon.png" />
<width>480</width>
<height>800</height>
<id>SOABDWCLMUFLAGSOFTHEW001</id>
<version>0.01</version>
<name>Flags of the world</name>
<title>Flags of the world</title>
<content src="index.html"/>
<author href="http://www.samsung.com">Samsung</author>
</widget>
And of course the html files are different, too, but I think this is the important part.
so we could create apps that are not allowed by samsung etc.
but what about my other question? and what about porting android apps that way? arent android apps written in java or similar?
but how far can these wac apps go? i mean which rights do they have? and how is the performance in comparison to bada apps written in c++ (or whatever bada language is)
Click to expand...
Click to collapse
here is how it looks on bada 2

[ROM][SGT7-UT][20130515] Ubuntu Touch [DEV][RETIRED]

Code:
*** Disclaimer by cdesai
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Introduction
I'm starting this thread to see if DEVs and collaborators get motivated and help. I'm not really a DEV but...
Ubuntu Touch is still a WiP itself, and this is a Work-in-Progress of getting it to our SGT7 Tabs - P1000, P1000N/L/R/T/CDMA/etc
Click to expand...
Click to collapse
Features
Works: touch, wireless, camera...
Doesn't: audio, brightness, sensors, 3G/Mobile...
Click to expand...
Click to collapse
Installation instructions
Regular flash through CwM Recovery:
Wipe/Factory Reset
Flash cm-10.1-YYYYMMDD-UNOFFICIAL-p1.zip or cm-10.1-YYYYMMDD-UNOFFICIAL-p1c.zip
Flash quantal*.zip
Flash hdpi_overlay.zip
Click to expand...
Click to collapse
Changelog
UT ROM based on CM10.1 with humberos' kernel, p1 and p1-common. OS image directly from Ubuntu downloads.
Click to expand...
Click to collapse
Code:
Current changelog: 2013-05-15
[note] My second UT boot
[new] p1c build!
[changed] screen resolution and proportions (new hdpi_overlay.zip)
[fixed] screen and touch rotation, manual brightness.
2013-05-10
[note] My first UT boot.
[new] Thread created.
[changed] built and booted
[fixed] Now it boots!
Downloads
Base ROM
cm-10.1-20130515-UNOFFICIAL-p1.zip - fourth update!
cm-10.1-20130515-UNOFFICIAL-p1c.zip - fourth update! - NOT working - bad kernel without recovery. Reported by @sxfx
Ubuntu Touch Quantal from the MWC Demo:
quantal-preinstalled-phablet-armhf.zip
Ubuntu Touch Saucy:
saucy-preinstalled-touch-armhf.zip
Screen configs - changes screen resolution and proportions
hdpi_overlay.zip 20130515
Sources
https://github.com/sgt7-ut - maybe someday. :cyclops:
Mods/Addons/Themes/User Art
Ubuntu Touch Auto-debloater & Ubuntu Logo Welcome Screen
Click to expand...
Click to collapse
FAQ
The FAQ section in a thread is bound to grow over time... check for updates.
Q: How do I flash?
A: Learn that before coming here.
Q: How do I restore my {fill in here} ROM?
A: Learn that before coming here.
Q: How do I use ODIN?
A: Learn that before coming here.
Q: How do I use Heimdall?
A: Learn that before coming here.​
Click to expand...
Click to collapse
​
Links and References
Ubuntu for Tablets
Touch install
UT Porting Guide
UT Building
Quantal MWC Demo CD Images
XDA Ubuntu Touch General Porting Discussion Thread
XDA Ubuntu Touch Forum - For non-device specific stuff
How to use apt-get through ADB + Apache Proxy without Networking
Click to expand...
Click to collapse
Thanks To/Credits
Code:
* humberos, the latin kernel king.
* cdesai
...
Building Ubuntu Touch
First of all have your CM10.1 build up to date.. if you can't build CM10.1 then you shouldn't even try this.
[UPDATE 20130515]
Successful build for p1 and p1c!
Basically follow the Porting guide. Initialize the repo as instructed, using phablet-dev-bootstrap.
My draft for building... soon we will have the sgt7-ut repo that will do most of it for us.
Not necessarily in order.. you might have to start compiling untill you get the error and come back and check the steps again.
Code:
## our manifest
copy the roomservice.xml to .repo/local_manifests/
## clean
rm -rf out kernel
make installclean
make clean
* edit as porting guide:
kernel/samsung/aries/fs/proc/array.c
* add extra lines from the porting guide to the end of:
kernel/samsung/aries/arch/arm/configs/cyanogenmod_p1_defconfig
kernel/samsung/aries/arch/arm/configs/cyanogenmod_p1ln_defconfig
kernel/samsung/aries/arch/arm/configs/cyanogenmod_p1c_defconfig
* also change the following config in each of the 3 kernel configs:
CONFIG_TOUCHSCREEN_QT602240_ROT90=n
## prepare stuff
source build/envsetup.sh
breakfast p1
breakfast p1c
./get prebuilts in vendor/cm/
comment P1Parts, tvouthack and Torch from device/samsung/p1-common/device_base.mk
copy from your cm10.1 build - out/target/product/p1/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates
copy from your cm10.1 build - out/target/product/p1c/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates
?? cp out/target/product/p1/obj/UTILITY_EXECUTABLES/utility_make_ext4fs_intermediates/LINKED/make_ext4fs out/target/product/p1/obj/EXECUTABLES/make_ext4fs_intermediates/
?? cp out/target/product/p1c/obj/UTILITY_EXECUTABLES/utility_make_ext4fs_intermediates/LINKED/make_ext4fs out/target/product/p1c/obj/EXECUTABLES/make_ext4fs_intermediates/
Add chmod line in device/samsung/p1-common/init.p1-common.rc, like this:
# System server can control backlight brightness
chown system system /sys/class/backlight/s5p_bl/brightness
chmod 0666 /sys/class/backlight/panel/brightness
## Now build!
source build/envsetup.sh
breakfast p1
time make -j3 bacon # use -j1 to check for errors in their right order
breakfast p1c
time make -j3 bacon
.repo/local_manifests/roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="humberos/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-10.1" />
<project name="humberos/android_kernel_samsung_aries" path="kernel/samsung/aries" remote="github" revision="cm-10.1-dev" />
<project name="humberos/android_device_samsung_p1" path="device/samsung/p1" remote="github" revision="cm-10.1" />
<project name="humberos/android_device_samsung_p1c" path="device/samsung/p1c" remote="github" revision="cm-10.1" />
<project name="humberos/android_device_samsung_p1-common" path="device/samsung/p1-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-10.1" />
</manifest>
Change ro.sf.hwrotation to 0 in build.prop!
reserved 3
reserved 3
Wow, thnx! I'm downloading!:beer:
send from my Nexus
:beer::thumbup:
Sent from my GT-P1000 using xda app-developers app
That is one of the ubuntu, unless my eyes are cheated by some spell
Nice Ubuntu Logo in CWM
Hi,
first test. Don't get nervous, while unpacking ubuntu file lasts (4.5 minutes)
Also be patient during boot, first time i thought the Tab went off.
ubuntu boots, i can activate the start menu, but no further actions.
Thank you for your great work, alroger and humberos!
cinq
So, I sort of flashed this and nothing happened. It's just a fresh CM installation. Am I supposed to build something on device?
Edit: had a brain fart, got it generally working.
Sent from my SCH-I510 using xda premium
alroger, try setting ro.sf.hwrotation to 0 (it's set from device/samsung/p1-common)
It should change the default orientation to landscape, and so you'll need to do a few other changes as well (we did them during initial 4.2 bringup, then reverted them for a better solution), so you revert the revert for the rest. (sensors and camera)
cdesai said:
alroger, try setting ro.sf.hwrotation to 0 (it's set from device/samsung/p1-common)
It should change the default orientation to landscape, and so you'll need to do a few other changes as well (we did them during initial 4.2 bringup, then reverted them for a better solution), so you revert the revert for the rest. (sensors and camera)
Click to expand...
Click to collapse
Yeah, if I set to 0, it's left-handed landscape. 180 makes it correct, but touch won't follow those rotations.
Could you point me in the right direction?
alroger said:
Yeah, if I set to 0, it's left-handed landscape. 180 makes it correct, but touch won't follow those rotations.
Could you point me in the right direction?
Click to expand...
Click to collapse
Keep it 0.
Next, in the kernel config, set CONFIG_TOUCHSCREEN_QT602240_ROT90 to n, it's set to y currently.
That should fix touchscreen.
cdesai said:
Keep it 0.
Next, in the kernel config, set CONFIG_TOUCHSCREEN_QT602240_ROT90 to n, it's set to y currently.
That should fix touchscreen.
Click to expand...
Click to collapse
Cool, it works!
Hey, isn't there a ROT180 to use to invert the landscape? Or can you point me to the right file to edit this ROT90 config?
EDIT: Found it.. gonna try hacking a new ROT180 config.
EDIT2: Yay, I did it! My first customized kernel config: CONFIG_TOUCHSCREEN_QT602240_ROT180
Have you fixed the touchscreen bug? Can you please reupload the recompiled cm?
Thanks!
UPDATE 20130515 it works!
Current changelog: 2013-05-15
[note] My second UT boot
[new] p1c build! let us know if it boots!
[changed] screen resolution and proportions (new hdpi_overlay.zip)
[fixed] screen and touch rotation
Building tips in Post #2.
Ubuntu Saucy
It works with the latest Ubuntu Sacy Salamander, but no wifi. Download link added.
Must edit /usr/bin/ubuntu-session manually in the ZIP and change:
Code:
# defaults
GRID_UNIT_PX=8
QTWEBKIT_DPR=1.0
FORM_FACTOR="tablet"
Don't use hdpi*zip on this one.
Something in display it's broken. Seems flipped (also the camera is flipped).
I'm setting up a DEV enviroment too, so I'll post updates.
UPDATE 20130515 rotation fixed! brightenss fixed!
dexterash said:
Something in display it's broken. Seems flipped (also the camera is flipped).
I'm setting up a DEV enviroment too, so I'll post updates.
Click to expand...
Click to collapse
Rotation fixed! New uploads!
Camera is aligned with then screen now.
Brightness fixed - uncheck Automatic brightness and you can choose your brightness.
Enough for today...
Is WiFi and mobile data working?
Sent from my GT-P1000 using xda app-developers app
Very cool to see this progressing.
Is there any reason why this is based on an old quantal based ut build?
Sent from my ST25i using xda app-developers app
areshinakya said:
Very cool to see this progressing.
Is there any reason why this is based on an old quantal based ut build?
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
No, the base ROM is the base for any UT. But as I said it's working only with that build. Saucy worked also but without wireless.. there are new daily updates for raring and saucy every day... gotta keep on trying.

[HOW TO]S4Settings - Still ALIVE APK translation HELP[layout-XX][values-XX]

Hi All,
S4Settings.apk from WIzzedKat rom 2.9 : SPECIAL TRANSLATION IN POST #21
Again, great Thanks to @tutangigi with his appreciated rom here.
in @tutangigi thread, more people want S4Settings in their language
i give you here what i have done to translate it in french langage .
intereting posts that guide me
http://forum.xda-developers.com/showpost.php?p=44833518&postcount=67
and
http://forum.xda-developers.com/showpost.php?p=44837775&postcount=73
source : http://www.wilsonmar.com/android_localization.htm
It seems that in some cases, we have to create "[layout-XX] folder too in \res\ folder , i see the case in DpiModder.apk
PROCEDURE :
SAMPLE :
S4Settings.apk from [RevolutionRom Build3]
- I copy S4Settings.apk from tel in c:\apktool\ PC folder
- I open S4Settings.apk with winrar
3 - I extract in a folder \META-INF\ folder and AndroidManifest.xml file from opened winrar S4Settings.apk. (I use them to sign after compilation at end)
- I decompile S4Settings.apk ( apktool d S4Settings.apk S4Settings )
- I search for strings.xml in c:\apktool\S4Settings\res\values\ folder
- I create \values-XX\ folder in c:\apktool\S4Settings\res\ folder
( XX = code language , here i create \values-fr\ in c:\apktool\S4Settings\res\ folder ==> c:\apktool\S4Settings\res\values-fr\ exist now)
- I copy strings.xml from c:\apktool\S4Settings\res\values\ folder in this new c:\apktool\S4Settings\res\values-fr\ folder
- I translate all line with <string name="settings">xxxxxxxxxxx</string> caracters chains in french, my language
- i recompile (apktool b S4Settings S4Settings.apk)
- i sign new S4Settings.apk
open new S4Settings.apk with winrar
drag \META-INF\ entire folder and AndroidManifest.xml file extracted in step 3 in winrar opened S4Settings.apk.
- i replace S4Settings.apk in phone
- delete /data/dalvik-cache/[email protected]@[email protected]
- reboot and enjoy with my translation
I think this method could works for all APKs because there is no other files to touch as i seen
For personal use, i give a try with this method in Biftor_romcontrol.apk and Biftor_Colorcontrol.apk from my best @Biftor 2nd ROM without pb too.
Just new devs in herb like me and other pros have to check their XX code , refering the language they want.
Learn by sample , it's the only way i found to help you
If feedback are good with this method on other roms, i change title by [ALL APK][ALL LANGUAGE]
thanks.
ScreenShowHot HOW TO
I dont remember where i find apktool i use but you can find it in XDA.
here you can find each steps i have engaged to translate S4Settings.apk in french language, but i'm sure you can do the same operations with your language too.
hope and assume that reader knows how to compile/decompile.
1 - Make a backup of signature to use after compilation.
{
"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"
}
2 - Use the good framework-res.apk and twframework-res.apk from rom in right folder of PC
3 - use decompile option of apktool :
apktool d(decompile) <File> <Folder>
apktool d S4Settings.apk S4Settings
<Folder> is the name you give of folder created during
decompilation process and you will work in this folder at step 4 and 5,
you can see in step 6 that you will use this folder to compile too, it's important if you give it another name.
process here :
4 - result of decompiling option :
i take S4Settings-ro.apk published in @tutangigi thread
to show you this example and you can see
my french "touch" modification in original S4Settings.apk
without romania language too
5 - result of translation , in our case, strings.xml file
i use translate-french.zip from thread to debut translation, from @takayochi post.
6 - use compile option of apktool :
apktool b(build) <Folder> <File>
apktool d S4Settings S4Settings.apk
process here :
7 - sign you new apk
it's finaly done, your new apk is ready to run, copy it in you rom where you have take original, delete odex correspondant file in \data\dalvik-cache\ , in our case : /data/dalvik-cache/[email protected]@[email protected] and reboot.
Thanks for reading and if used, report here for other people.
Good job mate
Your thread will help a lot the other members
Sent using my Premium-Zanpakutō {斬魄刀} powered by my Shinigami soul <+> ლ(◣_◢)ლ
Great job..thank you very much for the help
help is freeeeee
Great Job ! it will help me a lot ! nice work man
More french ?
Following this method, as we can see,
find apks in attachments.
thanks.
Last version S4Settings.apk multi-langage
Langages added :
values-el-rGR : Greek
values-es : Spanish,Español(España),Spain
values-es-rES
values-fa : Farsi, Persian, Iran
values-fa-rIR
values-fi-rFI : Finnish,Suomi,Finland
values-it : Italian, Italiano, Italy
values-ja : Japanese,Japan
values-ja-rJP
values-mn : Mongol
values-pt-rBR : Portuguese,Brazil,Português Brasileiro
values-pt-rPT : Portuguese,Portugal,Português (Portugal)
values-ro : Romanian,Romania,Româna
values-ro-rRO
values-ko : Korean,Korea
values-ko-rKR
values-fr : French
Thanks.
Portugese corrected .
Portugese corrected .
thanks.
Great job
Très intéressant, souhaitons que ton travail soit inclut dans les prochaines révisions de cette magnifique ROM
Very interesting, hope that your work be included in future revisions of this magnificent ROM
Chapeau! troubadour666 and of course tutangigi
Spelling mistakes (french)
I found some spelling mistakes (in french) in S4Setting.
I attached the corrected apk for those interested.
The archive contain original xml and the corrected one plus a .doc with corrections in red.
Thank you troubadour666
About accent
Hi troubadour
Please, why did you say that we should not accent?
I'm tempted to try but that I might do something stupid?
Thank
S4Setting in french
Following a discussion with Troubadour666, I tried to put accents on letters and the result works (you have to put a \ before the accents).
For example: J\'aime le camembert et la crémière. (just before the accents and not before the accented letters)
So I joined the apk S4Setting with accented letters and an archive containing the xml file for those who are interrested.
In some time, I will add DpiModder.apk and QuickPanelSettings.apk corrected.
I hope this is helpful to some people.
mastaan said:
Following a discussion with Troubadour666, I tried to put accents on letters and the result works (you have to put a \ before the accents).
For example: J\'aime le camembert et la crémière. (just before the accents and not before the accented letters)
So I joined the apk S4Setting with accented letters and an archive containing the xml file for those who are interrested.
In some time, I will add DpiModder.apk and QuickPanelSettings.apk corrected.
I hope this is helpful to some people.
Click to expand...
Click to collapse
Yes, very useful, so i give a try soon too and report here. Thanks @mastaan , great work !!!
About DpiModder.apk
Okay.
After several unsuccessful attempts, I finally succeeded in translating DpiModder.apk.
Indeed, xml resources were equally simple to change than those of S4Setting. But some words do not appear in the xml files but the smali files. They are different ways to modify such a file, I personally opted for a hex editor. But it did not work at first . I finally found the solution ...
Once again you must use a '\', but this time before each accented letter. In addition, concerned letters must be replaced by their Unicode value.
For example, to write
Règler DPI à
we must write
R\u00e8gler DPI \u00e0
I think this may be useful to other people, preventing them from breaking the head on the problem.
It remains a problem. The restarting method menu offers four options:
1. No reboot
2. killall
3. kill
4. ssdaemon
I translated:
1. Ne pas redémarrer (Do not restart)
2. Arrêter toutes applications (Stop all applications)
3. Arrêter application (Stop application)
4. Utiliser ssdaemon (Use ssdaemon)
I know that kill and killall are linux commands, but I'm not sure that my choice of translation is appropriate.
Any suggestions?
Thank me if this post was helpful to you and I will know if I should continue to share my observations ..
mastaan said:
Okay.
After several unsuccessful attempts, I finally succeeded in translating DpiModder.apk.
Indeed, xml resources were equally simple to change than those of S4Setting. But some words do not appear in the xml files but the smali files. They are different ways to modify such a file, I personally opted for a hex editor. But it did not work at first . I finally found the solution ...
Once again you must use a '\', but this time before each accented letter. In addition, concerned letters must be replaced by their Unicode value.
For example, to write
Règler DPI à
we must write
R\u00e8gler DPI \u00e0
I think this may be useful to other people, preventing them from breaking the head on the problem.
It remains a problem. The restarting method menu offers four options:
1. No reboot
2. killall
3. kill
4. ssdaemon
I translated:
1. Ne pas redémarrer (Do not restart)
2. Arrêter toutes applications (Stop all applications)
3. Arrêter application (Stop application)
4. Utiliser ssdaemon (Use ssdaemon)
I know that kill and killall are linux commands, but I'm not sure that my choice of translation is appropriate.
Any suggestions?
Thank me if this post was helpful to you and I will know if I should continue to share my observations ..
Click to expand...
Click to collapse
"T'as assuré sur ce coup là"
Is it possible to create a german S4Settings.apk?
I tried it for my own but it didn't work
If anyone, perhaps @Troubadour666 could add these strings as well (first Danish version yay) to the settings, it would be highly appreciated.
I've tried but for me its a fail. So I attached the .xml file in a small zip, it is all ready and set to go, I had issues adding them to the .APK file
Thanks!
Widar88 said:
Is it possible to create a german S4Settings.apk?
I tried it for my own but it didn't work
Click to expand...
Click to collapse
natalya said:
If anyone, perhaps @Troubadour666 could add these strings as well (first Danish version yay) to the settings, it would be highly appreciated.
I've tried but for me its a fail. So I attached the .xml file in a small zip, it is all ready and set to go, I had issues adding them to the .APK file
Thanks!
Click to expand...
Click to collapse
Hi,
i take S4Settings.apk in OP , i put your translation.
I have to remove
<string name="lockscreens4-header">S4/Note 3 Låseskærm</string>
or
<string name="lockscreens4-header">S4/Note 3 Sperrbildschirm</string>
from your files guys, because my S4settings.apk from OP havent this option.
if you want this option showed with your "dialects" :silly::cyclops: ,upload your S4Settings.apk and i will try to put your strings. can you make some correction before upload new string ?
in all line , be sure to have :
<string name="accessib-summ">text you want without</string>
and not only :
<string name="accessib-summ" /> (very bad syntax)
PLEASE REMARK THE </string> at end of each lines
In attachements. try please and give feedbacks.
The "Sperrbildschirm" is for the normal Lockscreen in German. I will try it and give a Reply.
Thanks alot for it.

[Q] How to add Sony Xpeira S binaries to AOSP rom build?

Hello
I'm newbie in building a rom. I do as http://source.android.com/source/building.html page of android
I'm stuck at the "Obtaining proprietary binaries" step
- I download Android source to the directory that I name it to be "android_src"
- I download Sony Xperia S's proprietary binaries from http://developer.sonymobile.com/knowledge-base/open-source/android-open-source-project-for-xperia-devices/already and I got the " vendor" folder which is not in the "android_src" folder.
How do I include the proprietary binaries into the my own AOSP rom?
anybody? please help
thsecmaniac said:
anybody? please help
Click to expand...
Click to collapse
Do pm to a developer.like abhinav2,or deadwar,op of carban rom
Sent from my LT26i using xda premium
thsecmaniac said:
Hello
I'm newbie in building a rom. I do as http://source.android.com/source/building.html page of android
I'm stuck at the "Obtaining proprietary binaries" step
- I download Android source to the directory that I name it to be "android_src"
- I download Sony Xperia S's proprietary binaries from http://developer.sonymobile.com/kno...droid-open-source-project-for-xperia-devices/already and I got the " vendor" folder which is not in the "android_src" folder.
How do I include the proprietary binaries into the my own AOSP rom?
Click to expand...
Click to collapse
Hi,
I would not recommend you to use the binaries on the Sony website as they are outdated. Instead, please have a look at this github - https://github.com/billchen1977?tab=repositories
billchen1977 has provided all the required stuff for building aosp. So basically you need to create a local manifest in .repo/local_manifests.
You can do that by following these steps -
Code:
cd .repo
mkdir local_manifests
gedit nozomi.xml
Now copy this code into the XML file -
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="kernel/sony/msm8x60" name="billchen1977/kernel_sony_msm8x60" remote="github" />
</manifest>
I have added only one repo (the kernel). Similarly add the other two repos also and then simply run repo sync and you should be able to build the ROM then.
Sent from my Xperia S using Tapatalk
What is it different between billchen1977's rom and Sony's rom except Sony's is older than billchen1977's? I'm curious
abcdjdj said:
Hi,
I would not recommend you to use the binaries on the Sony website as they are outdated. Instead, please have a look at this github - https://github.com/billchen1977?tab=repositories
billchen1977 has provided all the required stuff for building aosp. So basically you need to create a local manifest in .repo/local_manifests.
You can do that by following these steps -
Code:
cd .repo
mkdir local_manifests
gedit nozomi.xml
Now copy this code into the XML file -
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="kernel/sony/msm8x60" name="billchen1977/kernel_sony_msm8x60" remote="github" />
</manifest>
I have added only one repo (the kernel). Similarly add the other two repos also and then simply run repo sync and you should be able to build the ROM then.
Sent from my Xperia S using Tapatalk
Click to expand...
Click to collapse
thsecmaniac said:
What is it different between billchen1977's rom and Sony's rom except Sony's is older than billchen1977's? I'm curious
Click to expand...
Click to collapse
These files are known as the vendor blobs. They are proprietary files whose source code is not available to the public. Some of these vendor files are used by various components of the phone like the camera etc. The ones on the Sony website are very old so if you use them, it is quite possible that the camera might not function properly. As Sony released official updates, if I remember, they even fixed laggy 1080p recording. So it would be much better to use the latest blobs.
Sent from my Xperia S using Tapatalk

Categories

Resources