[q] [just a newbie idea...] - Nook Touch Android Development

Hello folk...i just received my new Nook Touch.
It is indeed a very good device.
I was wandering...because i'm italian and it is not sold here...there is a wai to simpli translate the official gui? I'm not interested in root the nook...
I just would like to have the GUI menus in italian (for sure i'm using in english, but...)
Is this impossible?
thank you!
PS:
If it should be possible, could be nice to change the default PDF Reader....

All of this would require rooting.

a strong candidate for an easy job. Even i've edited source code to correct spelling mistakes. I guess a decompile here makes it a little trickier. Another reason for cyanogenmod7

jago25_98 said:
a strong candidate for an easy job. Even i've edited source code to correct spelling mistakes. I guess a decompile here makes it a little trickier. Another reason for cyanogenmod7
Click to expand...
Click to collapse
Use apktool to "decompile" the packages, edit xml and repackage .. not difficult
But a lot of work.. yes.. there's a lot of apk's and a lot of strings
Sample from reader.apk (strings.xml - 336 lines):
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="cnp_contents_tab">Chapters</string>
<string name="cnp_notes_tab">Notes & Highlights</string>
<string name="cnp_bookmarks_tab">Bookmarks</string>
<string name="cnp_page_no_lable">p.</string>
<string name="cnp_note_lable"><b>Note: </b>" "</string>
<string name="cnp_note_timestamp_edit_lable">last edited</string>
<string name="cnp_note_clearall_lable">Clear all</string>
<string name="cm_more_lable"><u> More ( > ) </u></string>
<string name="show_in_reader_lable">Show Notes & Highlights</string>
<string name="clear_all_notes_lable">Clear all Notes & Highlights</string>
<string name="note_dialog_hint">Add your note here...</string>

http://www.miui-au.com/add-ons/apktool/
Auto tool (win32): http://www.galnetmiui.co.uk/landing...ws-Application-for-easy-translation-process)?

jago25_98 said:
http://www.miui-au.com/add-ons/apktool/
Auto tool (win32): http://www.galnetmiui.co.uk/landing...ws-Application-for-easy-translation-process)?
Click to expand...
Click to collapse
Very interesting tool... you think it could be possible do it with original firmware?
I mean, just unzip the exe, translate and then repack???

spino1970 said:
Very interesting tool... you think it could be possible do it with original firmware?
I mean, just unzip the exe, translate and then repack???
Click to expand...
Click to collapse
In order to upload back to device you will have to root it.
You will have to translate huge list of strings.xml in framework (internal operating system resource), applications, such as settings, reader, etc...
And even then you might find hard coded values...
Also, keep in mind - incorrect repack and upload might lead to recovery and may be brick.
Therefore, think twice and if you think you have enough knowledge - proceed on your own risk.
P.S. you might find interesting strings.xml from aosp framework-res.

Related

[App][WM6.5] CHome Visual Editor - compatible with all kinds of CPR

[31/08/2009] New release is avaliable, you can download the new verison from: http://cve.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=32228
CHome Visual Editor is a visual CPR editor for Windows Mobile 6.5.
** You need install .net 3.5 sp1 in your computer in order to run CVE. **
With CVE, you can edit:
Titanium
LS_AlarmScene
LS_LockScene
LS_PhoneAlertScene
LS_PhoneCallScene
LS_SimplePinScene
StartMenu_GridScene
For this release, you can:
Open CPR file visually and move elements visually.
Modify all properties of the selected element by the property grid on the right side.
Change & Save (auto) the screen resolution.
Change & Save (auto) the scale rate.
Undo/Redo
Setup folder mapping between PPC and your OS.
Import registry file to load the element values (text, image source)
Save the modification.
More functions not listed.
This release only provide two language resource. The embedded language is Chinese, en-US is provided. If your OS language is not en-US, you may need to open configuration.xml and add one line to display en-US:
<language>en-us</language>
or you will get Chinese character.
wow.. looks like very good application
downloading & trying it now!!!!
Looks good indeed! Just downloaded but I can't try it now...
Got some problem here, I can't open any .cpr file to edit???
morningmoon said:
Got some problem here, I can't open any .cpr file to edit???
Click to expand...
Click to collapse
do you mean the application crash when you open *.cpr? can you upload error.log file here under CVE folder? it's all about the exceptions, none private will recorded in this file.
<?xml version="1.0"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<scale>1</scale>
<language>en-us</language>
<resolution>
<Width>240</Width>
<Height>320</Height>
</resolution>
<directory name="\Windows">
<mapping>Windows</mapping>
<mapping>E:\WindowsMobile\i780_21501_Kitchen\SYS\Lockscreen_DPI_96</mapping>
</directory>
<directory name="\Program Files">
<mapping>Program Files</mapping>
</directory>
</configuration>
Click to expand...
Click to collapse
Placed the language line in like above. But still no English.
Is there some thing we need to do more.
ebsbow said:
Placed the language line in like above. But still no English.
Is there some thing we need to do more.
Click to expand...
Click to collapse
This is strange, i copied your configuration and tested it in my comupoter, it works fine.
If you opened CVE and close it normally (the configuration will be saved again while cloing), the configuration should not not looks like your posted. the lanuguage should be the first element of configuration node. It may caused by path you placed CVE or permission issue.
JerryJiang said:
do you mean the application crash when you open *.cpr? can you upload error.log file here under CVE folder? it's all about the exceptions, none private will recorded in this file.
Click to expand...
Click to collapse
No. not crash, just can't get the Open File box to display, so I can't choose any file to open???
morningmoon said:
No. not crash, just can't get the Open File box to display, so I can't choose any file to open???
Click to expand...
Click to collapse
I never wrap the open file dialog. The open file dialog i am using is system provided, do you have any other WPF application in your computer that with a open file feature, if so, can you tested it whether it works fine?
error
Opening any CPR file the application is crashing. I am uploading the error log file. Please look and give a resolution.
Copied the "<language>en-us</language>" just below the configuration tag. But the problem is still the same.
All is in Chinees. is there anything else I need to check?
I have added the last error log.
ajeshm said:
Opening any CPR file the application is crashing. I am uploading the error log file. Please look and give a resolution.
Click to expand...
Click to collapse
The exception is caused by some color string of TextStage element in your CPR file, normally, i define the color in CPR file use the #FFxxxxxx pattern.
it seems that the color definition between WM and WPF have inconsistent rules. So can you look through the CPR file and try to find out whether there is any color definition in <TextStage/> section is not follow the rule?
I will update my code to fix the problem if you can kindlly post the inconsistant rule. Thx.
ebsbow said:
Copied the "<language>en-us</language>" just below the configuration tag. But the problem is still the same.
All is in Chinees. is there anything else I need to check?
I have added the last error log.
Click to expand...
Click to collapse
<?xml version="1.0"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<language>en-US</language>
<enable_effect>true</enable_effect>
<scale>1</scale>
<resolution>
<Width>240</Width>
<Height>320</Height>
</resolution>
<directory name="\Windows">
<mapping>Windows</mapping>
</directory>
<directory name="\Program Files">
<mapping>Program Files</mapping>
</directory>
</configuration>
karim_31 said:
<?xml version="1.0"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<language>en-US</language>
<enable_effect>true</enable_effect>
<scale>1</scale>
<resolution>
<Width>240</Width>
<Height>320</Height>
</resolution>
<directory name="\Windows">
<mapping>Windows</mapping>
</directory>
<directory name="\Program Files">
<mapping>Program Files</mapping>
</directory>
</configuration>
Click to expand...
Click to collapse
Thanks for posting your configuration. I should update my build package to include the language element instead of let the users update the xml by themselves.
ebsbow said:
Copied the "<language>en-us</language>" just below the configuration tag. But the problem is still the same.
All is in Chinees. is there anything else I need to check?
I have added the last error log.
Click to expand...
Click to collapse
Could you please try again with karim_31's configuration?
Unfortunately I don't have one. Still can't use this application
Any suggestion? What do I need to install for the open file to work?
Thanks!
JerryJiang said:
I never wrap the open file dialog. The open file dialog i am using is system provided, do you have any other WPF application in your computer that with a open file feature, if so, can you tested it whether it works fine?
Click to expand...
Click to collapse
The language works now,
Thanks, but the app seems to crash a lot when loading an cpr.
Disabling effects helps, but the apps crashes on other actions as well.
ebsbow said:
The language works now,
Thanks, but the app seems to crash a lot when loading an cpr.
Disabling effects helps, but the apps crashes on other actions as well.
Click to expand...
Click to collapse
Can you upload your error.log so that i can do some analysis to improve the quality of the application.
Sure. Here you go.
ebsbow said:
Sure. Here you go.
Click to expand...
Click to collapse
It's caused by color token:
http://forum.xda-developers.com/showpost.php?p=3952898&postcount=12
i will add more check of the token, by unless i get the inconsistant token, the color may not display correctly.
I cant even launch it
No error log... so where do i need to install all the files? it simply says that the app fails... thats all!
what im a doing wrong?
I set all in C:\ and the stwater added to windows directory

Navigon is up and running!

Guys,
I got Navigon 7.3.4 (build-793) running!
480x320 Version is here:
http://www.digital-eliteboard.com/showthread.php?t=85970
Before installing change a view things:
NavLoader.cfg:
ShellPath with your Storage-Card Path
ApplicationSettingsPathes.xml:
Insert your correct Storage-Card Path everywhere
BinaryConfig.xml:
In 480x320 section:
<Resolution>480x320</Resolution>
<ImagesXMLPath>ini_files/images/MN_Images_320x240.dat</ImagesXMLPath>
<GUIXMLPath>ini_files/320x240/</GUIXMLPath>
<PropXMLPath>ini_files/properties/MN_Prop.dat</PropXMLPath>
<FontsXMLPath>ini_files/fonts/MN_Fonts_VGA.dat</FontsXMLPath>
<SoundsXMLPath>ini_files/sounds/MN_Sounds.dat</SoundsXMLPath>
<GUIScaleXFactor>1.5</GUIScaleXFactor>
<GUIScaleYFactor>1.33</GUIScaleYFactor>
<GUIScaleImageXFactor>1.5</GUIScaleImageXFactor>
<GUIScaleImageYFactor>1.33</GUIScaleImageYFactor>
<GUIFontScaleFactor>0.9</GUIFontScaleFactor>
<PictureAnimatorPath>ini_files/320x240/</PictureAnimatorPath>
Maps Q2 2010 are running! Even with TTS!
During a short trip this morning everything works fine - no errors, smooth scrolling, GPS very (very) accurate.
Have fun with it,
Marti
mrmartischmi said:
Guys,
I got Navigon 7.3.4 (build-793) running!
480x320 Version is here:
http://www.digital-eliteboard.com/showthread.php?t=85970
Before installing change a view things:
NavLoader.cfg:
ShellPath with your Storage-Card Path
ApplicationSettingsPathes.xml:
Insert your correct Storage-Card Path everywhere
BinaryConfig.xml:
In 480x320 section:
<Resolution>480x320</Resolution>
<ImagesXMLPath>ini_files/images/MN_Images_320x240.dat</ImagesXMLPath>
<GUIXMLPath>ini_files/320x240/</GUIXMLPath>
<PropXMLPath>ini_files/properties/MN_Prop.dat</PropXMLPath>
<FontsXMLPath>ini_files/fonts/MN_Fonts_VGA.dat</FontsXMLPath>
<SoundsXMLPath>ini_files/sounds/MN_Sounds.dat</SoundsXMLPath>
<GUIScaleXFactor>1.5</GUIScaleXFactor>
<GUIScaleYFactor>1.33</GUIScaleYFactor>
<GUIScaleImageXFactor>1.5</GUIScaleImageXFactor>
<GUIScaleImageYFactor>1.33</GUIScaleImageYFactor>
<GUIFontScaleFactor>0.9</GUIFontScaleFactor>
<PictureAnimatorPath>ini_files/320x240/</PictureAnimatorPath>
Maps Q2 2010 are running! Even with TTS!
During a short trip this morning everything works fine - no errors, smooth scrolling, GPS very (very) accurate.
Have fun with it,
Marti
Click to expand...
Click to collapse
Thank you, but could you upload a zip file somewhere else so I dont have to register, I am not so good at german. ;-)
dontomase said:
Thank you, but could you upload a zip file somewhere else so I dont have to register, I am not so good at german. ;-)
Click to expand...
Click to collapse
why dont u just use google translate? I tried for fun and it took me 10mins to reg and get to the link but sadly m not in USA to make use of this software....
This is the best navigating soft on the market, trust me.
Even maps for Australia are available!
Display always landscape??
it doesn´t work correct - i always get landscape in portrait mode. So I can´t see the whole screen?
How can I change this behaviour?
THX
Re: Display always landscape??
There is a NavLoader.cfg in the Navigon Dir.
Look at the "RotateSCR" keyword.
Is it set to 4 (=270 deg)?
I cant get this to work.
It starts and says something about no map and den the screen goes in landsacape and is black. In the background I can see that the program is started but I cant do anything except remove the battery.
Now I have made one progress, it starts shows the startup screen fine and then the menu blinks and the program stops.
dontomase said:
I cant get this to work.
It starts and says something about no map and den the screen goes in landsacape and is black. In the background I can see that the program is started but I cant do anything except remove the battery.
Now I have made one progress, it starts shows the startup screen fine and then the menu blinks and the program stops.
Click to expand...
Click to collapse
Read my first post carefully...
Have you changed these 3 files as described?
- NavLoader.cfg
- ApplicationSettingsPathes.xml
- BinaryConfig.xml
That was all I did and it worked like a charm...
mrmartischmi said:
Read my first post carefully...
Have you changed these 3 files as described?
- NavLoader.cfg
- ApplicationSettingsPathes.xml
- BinaryConfig.xml
That was all I did and it worked like a charm...
Click to expand...
Click to collapse
Yes, I think I got it right, should I change every file tag to my storage path?
I think I have missed something in my ApplicationSettingsPathes.xml because I have tried with the original binaryconfig file and then the graphics is to small. And on my first try I had missed a trailing / in the navloader.cfg, and got another error.
Can you post your ApplicationSettingsPathes.xml here please.
ApplicationSettingsPathes.xml
<?xml version='1.0' encoding='ISO-8859-1'?>
<Settings>
<Product>MN</Product>
<Version>7.0</Version>
<!-- path to *.default settings and files which will be not written by the application -->
<FactorySettings ID="CE">./Settings</FactorySettings>
<FactorySettings ID="WIN">./Settings</FactorySettings>
<!-- path to the settings files which can be edited by the user -->
<UserSettings ID="CE">./Settings</UserSettings>
<UserSettings ID="WIN">./Settings</UserSettings>
<!-- path to the user data xml file -->
<UserData ID="CE">./Settings</UserData>
<UserData ID="WIN">./Settings</UserData>
<!-- path to sextant configfiles -->
<SextantConfigFiles ID="CE">./Settings/Core</SextantConfigFiles>
<SextantConfigFiles ID="WIN">./Settings/Core</SextantConfigFiles>
<DataFiles ID="CE">./Dat</DataFiles>
<ETA>./Settings/</ETA>
<Language ID="CE">./language_files/</Language>
<Language ID="WIN">./language_files/</Language>
<Map>
<Path>./map</Path>
<Path>/Speicherkarte/NAVIGON/map</Path>
</Map>
<Overmap>
<Path>./POI</Path>
<Path>/Speicherkarte/NAVIGON/POI</Path>
</Overmap>
<MapStyles>./MapStyles</MapStyles>
<Sound>
<Path>./Sounds</Path>
<Path>/Speicherkarte/NAVIGON/Sounds</Path>
</Sound>
<VersionInfo>
<Path>./</Path>
</VersionInfo>
<KeyStorage>./</KeyStorage>
<Favorites>./Favorites/Favorites.store</Favorites>
<RecentTargets>./Favorites/RecentTargets.store</RecentTargets>
<Routes>
<Path User="writable">/Speicherkarte/NAVIGON/Routes</Path>
<Path>/My Flash Disk/NAVIGON/Routes</Path>
<Path>./ExampleRoutes</Path>
</Routes>
<LogBook>
<Path>./LogBook/</Path>
<MN7File>LogBook.xls</MN7File>
</LogBook>
<VoiceRecognition>
<Path>./VoiceRecognition</Path>
<SessionPath>./VoiceRecognition</SessionPath>
</VoiceRecognition>
<OutloookContacts>
<Path>./Contacts/contacts.txt</Path>
<Path>./Contacts/freshcontacts.txt</Path>
</OutloookContacts>
<DemoPlayer>
<Screen Res="320x240">./demo/PlayerDataLandscape.nfs</Screen>
<Screen Res="240x320">./demo/PlayerDataPortrait.nfs</Screen>
<Screen Res="320x480">./demo/PlayerDataLandscape.nfs</Screen>
<Screen Res="480x272">./demo/PlayerDataWidescreen.nfs</Screen>
<Screen Res="480x320">./demo/PlayerDataWidescreen.nfs</Screen>
</DemoPlayer>
<LogPath>
<GPS ID="CE">/Speicherkarte/Navigon/SimulationFiles/GPS</GPS>
<TMC ID="CE">/Speicherkarte/Navigon/SimulationFiles/TMC</TMC>
<Tuner ID="CE">/Speicherkarte/Navigon/SimulationFiles</Tuner>
</LogPath>
<RoutingFiles>./Settings/Routing/</RoutingFiles>
<RESY>./Settings</RESY>
<AutoZoom>./Settings/autozoom.ini</AutoZoom>
<RandMcNallyData>
<Path>./RandMcNallyData</Path>
<Path>/Speicherkarte/NAVIGON/RandMcNallyData</Path>
</RandMcNallyData>
</Settings>
Not working
Nothing works! You better post everything you got as a one package . Resolution still 320x240 nothing changes. Crap!
is that english version?
mailto_alex said:
Nothing works! You better post everything you got as a one package . Resolution still 320x240 nothing changes. Crap!
Click to expand...
Click to collapse
If you did as I described in the first post it is running. I wonder why you cant get it to work.
Have you changed these 3 files?
- NavLoader.cfg
- ApplicationSettingsPathes.xml
- BinaryConfig.xml
I will not post everything again in one package, because of the different languages you have to change a few things manually.
Its not crap just because its not running on your Mini...
mrmartischmi said:
<?xml version='1.0' encoding='ISO-8859-1'?>
<Settings>
<Product>MN</Product>
<Version>7.0</Version>
<!-- path to *.default settings and files which will be not written by the application -->
<FactorySettings ID="CE">./Settings</FactorySettings>
<FactorySettings ID="WIN">./Settings</FactorySettings>
<!-- path to the settings files which can be edited by the user -->
<UserSettings ID="CE">./Settings</UserSettings>
<UserSettings ID="WIN">./Settings</UserSettings>
<!-- path to the user data xml file -->
<UserData ID="CE">./Settings</UserData>
<UserData ID="WIN">./Settings</UserData>
<!-- path to sextant configfiles -->
<SextantConfigFiles ID="CE">./Settings/Core</SextantConfigFiles>
<SextantConfigFiles ID="WIN">./Settings/Core</SextantConfigFiles>
<DataFiles ID="CE">./Dat</DataFiles>
<ETA>./Settings/</ETA>
<Language ID="CE">./language_files/</Language>
<Language ID="WIN">./language_files/</Language>
<Map>
<Path>./map</Path>
<Path>/Speicherkarte/NAVIGON/map</Path>
</Map>
<Overmap>
<Path>./POI</Path>
<Path>/Speicherkarte/NAVIGON/POI</Path>
</Overmap>
<MapStyles>./MapStyles</MapStyles>
<Sound>
<Path>./Sounds</Path>
<Path>/Speicherkarte/NAVIGON/Sounds</Path>
</Sound>
<VersionInfo>
<Path>./</Path>
</VersionInfo>
<KeyStorage>./</KeyStorage>
<Favorites>./Favorites/Favorites.store</Favorites>
<RecentTargets>./Favorites/RecentTargets.store</RecentTargets>
<Routes>
<Path User="writable">/Speicherkarte/NAVIGON/Routes</Path>
<Path>/My Flash Disk/NAVIGON/Routes</Path>
<Path>./ExampleRoutes</Path>
</Routes>
<LogBook>
<Path>./LogBook/</Path>
<MN7File>LogBook.xls</MN7File>
</LogBook>
<VoiceRecognition>
<Path>./VoiceRecognition</Path>
<SessionPath>./VoiceRecognition</SessionPath>
</VoiceRecognition>
<OutloookContacts>
<Path>./Contacts/contacts.txt</Path>
<Path>./Contacts/freshcontacts.txt</Path>
</OutloookContacts>
<DemoPlayer>
<Screen Res="320x240">./demo/PlayerDataLandscape.nfs</Screen>
<Screen Res="240x320">./demo/PlayerDataPortrait.nfs</Screen>
<Screen Res="320x480">./demo/PlayerDataLandscape.nfs</Screen>
<Screen Res="480x272">./demo/PlayerDataWidescreen.nfs</Screen>
<Screen Res="480x320">./demo/PlayerDataWidescreen.nfs</Screen>
</DemoPlayer>
<LogPath>
<GPS ID="CE">/Speicherkarte/Navigon/SimulationFiles/GPS</GPS>
<TMC ID="CE">/Speicherkarte/Navigon/SimulationFiles/TMC</TMC>
<Tuner ID="CE">/Speicherkarte/Navigon/SimulationFiles</Tuner>
</LogPath>
<RoutingFiles>./Settings/Routing/</RoutingFiles>
<RESY>./Settings</RESY>
<AutoZoom>./Settings/autozoom.ini</AutoZoom>
<RandMcNallyData>
<Path>./RandMcNallyData</Path>
<Path>/Speicherkarte/NAVIGON/RandMcNallyData</Path>
</RandMcNallyData>
</Settings>
Click to expand...
Click to collapse
Thank's a lot I will try it asap.
Reply
mrmartischmi said:
Have you changed these 3 files?
- NavLoader.cfg
- ApplicationSettingsPathes.xml
- BinaryConfig.xml
I will not post everything again
Click to expand...
Click to collapse
Pls post only files that has to be changed. In this way i'll replace them all with the existing once and see if it works.
My files attached
Now I got it working at least the program but my next problem is that it cant detect any satellites, it seems that it cant find the internal gps.
Do thoose of you who have it working edit any gps settings?
dontomase said:
Now I got it working at least the program but my next problem is that it cant detect any satellites, it seems that it cant find the internal gps.
Do thoose of you who have it working edit any gps settings?
Click to expand...
Click to collapse
Navigon\Settings\UserSettings.xml
<GPS>
<Type>1</Type>
<GPSPort>4</GPSPort>
<Baudrate>4800</Baudrate>
<DRVPrefix></DRVPrefix>
</GPS>
mrmartischmi said:
Navigon\Settings\UserSettings.xml
<GPS>
<Type>1</Type>
<GPSPort>4</GPSPort>
<Baudrate>4800</Baudrate>
<DRVPrefix></DRVPrefix>
</GPS>
Click to expand...
Click to collapse
I was just about to write here that I found the problem but you were to fast. I changed it to 4800 baud nd it works as a charm.
Thanks for your help.
Navigon Instalation
Dear Martin,
I download from the link the Navigon for the Hd Mini and after the installation when I try to run the software I receive the message navigon.exe doesn't exist
Do you have any help for that?
Best regards
Stefanos
steftam said:
Dear Martin,
I download from the link the Navigon for the Hd Mini and after the installation when I try to run the software I receive the message navigon.exe doesn't exist
Do you have any help for that?
Best regards
Stefanos
Click to expand...
Click to collapse
Have you changed these 3 files as described in the very first post?
- NavLoader.cfg
- ApplicationSettingsPathes.xml
- BinaryConfig.xml

[ROM][2/12/11][CHINESE] MIUI for G2 (v1.2.11)

http://bbs.gfan.com/android-575451-1-1.html
ignore the link at the top that one is mostly chinese the english version is provided hear thanks to da900
DOWNLOAD LINK: http://www.multiupload.com/PVZRB1NRHK
P.P.S. All you do with this pack is on your own risk. I am not responsable for any damages of your phone.[/QUOTE]
please aware that this rom is only contain about 20% english , most of words are chinese
u should be able to change it to english in the language and input settings
Is this newer than the QnD 1.2.4 rom?
Look at the number lol. 1.2.11 > 1.2.4
no that one has chinese this one does to thou dnt flash nevermind
dictionary said:
Look at the number lol. 1.2.11 > 1.2.4
Click to expand...
Click to collapse
XD I was thinking 4 > 1.
here's the changelog:
MIUI 1.2.11 version update:
Phone:
Add in the phone settings to add "call from the sensors used in the process" of setting
Fix the call log to the Canadian people through IP numbers to send SMS / MMS will bring IP prefix, resulting in the issue could not be sent
Theme:
Add support for setting alarm
Ringing in the new system comes with the option "mute"
Optimize the system comes with the choice of ring tones
Repair some of the theme of the correct format does not show the problem package
System Update:
Add WIFI connection can support the Ad-Hoc (peer to peer) network
Press the Backspace key fixed the problem miscarriage of justice
Local Backup:
Installed on the sd card repair program can not be the problem with the backup and recovery
Click to expand...
Click to collapse
terrelltp said:
no that one has chinese this one does to thou dnt flash nevermind
Click to expand...
Click to collapse
What? Slow down and make sense lol. Are you saying that you screwed up, and there is next to no English in the build?
terrelltp said:
u should be able to change it to english in the language and input settings
Click to expand...
Click to collapse
i repeat :
this rom does contain 20% of english translation only !
Even you change to english language :
your 80% of menu still display "Chinese".
So, this is useless unless you understand simplified Chinese. I'll wait on g4rb4g3 to release a port.
Sent from my htc.desireZED
Weren't there language packs you could install
Sent from my HTC Vision
Device Specific Language Packs
I think that language packs are device specific.. I haven't been able to find a language pack on the net for the G2.. though I did manage to a how to guide but I'm green to this stuff..
If somebody out here is familiar with how to do this guide and create a language pack for the G2 for us.. that would be helpful.
djmcnz said:
Okay guys, there's a lot of demand for this rom and for language packs but not yet a lot of people who know how to make the packs. Whilst I set up the crowdin translation project I can not create or maintain language packs.
So, here's a summary of the instructions required to create a language pack for MIUI (indeed for any app/rom). You need a collection of tools and a little patience but the process isn't too difficult so do give it a go.
Also note that this summary includes generalisations for brevity. These instructions assume you have a deodexed rom.
Introduction
For the purposes of this post language information is stored in XML strings in files on the Android system. In the case of MIUI and these instructions we will be dealing with .apk files (applications).
Within the apk files is a resources directory (/res) and within this are various values directories, there is a default values directory (/res/values) and alternative language values directories (e.g. /res/values-DE and /res/values-IT).
If the rom is set to use it's default language it will read values from /res/values although these may NOT be in English. In MIUI, all of the common Android ASOP values in /res/values are English but the (additional) custom MIUI strings are in Simplified Chinese.
If you select a different language in the ROM than the default then the appropriate values directory will be searched. If a suitable string that matches your language selection is found in the alternative /res/values-xx directory then that string will be used instead. If an alternative does not exist then the default will be used.
Example:
Code:
/res/[COLOR="red"]values[/COLOR]/strings.xml
<stop_button_text>[COLOR="Red"]Stop[/COLOR]</stop_button_text>
/res/[COLOR="red"]values-DE[/COLOR]/strings.xml
<stop_button_text>[COLOR="red"]Halt[/COLOR]</stop_button_text>
/res/[COLOR="red"]values-IT[/COLOR]/strings.xml
<stop_button_text>[COLOR="red"]Basta[/COLOR]</stop_button_text>
In this example, if the language is set to the default the word "Stop" will be used, if it is set to German the word "Halt" will be substituted in, likewise "Basta" for Italian.
So, to add languages to a rom (or app) or to make an app multi-lingual you need to either change the default strings in /res/values/strings.xml to the ones you want to use or, and this is the preferable approach, add a /res/values-xx/strings.xml with the translations you want. The first approach will work (changing the default strings) but is not recommended because the Android Open Source Project and Android development in general, defaults to English. It's best to use the built in language substitution capabilities of Android rather than to work around them. Indeed, if the MIUI devs actually added their strings in English to /res/values/strings.xml and the Chinese equivalents in the appropriate directory this rom would already be in English!
Adding Languages
To add a translation file (strings.xml) to an apk you need to:
decode the apk
create a language directory
add the translation files
recompile the strings
add the new strings to the apk
Which all sounds a little daunting but it's really quite straight-forward, rewarding when you see the result and a good way to understand how parts of Android work. Here's how you can do it.
1. decode the apk
You will need the excellent apktool from brut.all which you can get from the link below. apktool is relatively easy to use but includes some little tricks so you will need to read the wiki and thread about it.
Do NOT just post problems about apktool if you can't get it to work. The tool DOES work so if it's not decoding (or encoding) your apps correctly then you're probably doing something wrong. If you start with this understand BEFORE you ask for support you'll get a lot more help...
apktool: http://code.google.com/p/android-apktool/
wiki: http://code.google.com/p/android-apktool/w/list
thread: http://forum.xda-developers.com/showthread.php?t=640592
Please make sure you run the following command to include the MIUI framework in apktool. You only need to do this once for each framework. If apktool works with one rom and not the next then (re)install the framework for that rom.
Code:
apktool if framework-res.apk
Where framework-res.apk is the one from the rom you are working with. Make sure apktool can find (the correct) framework-res.apk before you run this command.
This thread is not for apktool support.
Now, before you proceed, decode a simple app from MIUI (such as updater.apk) using apktool, do not make ANY changes, then re-encode it using apktool. For example:
Code:
apktool d Updater.apk ./decoded/
apktool b ./decoded/ new_updater.apk
Use the -v (verbose) flag in apktool if you have problems and need to diagnose further.
Remember, Android uses a case-sensitive file system, make sure your capitalisation is correct.
Typically you will not be able to install this apk because it is not signed so if you want to test the process further you can now just try step 5 below using the two apks you have.​
2. create a language directory
Assuming you can decode/encode now, this is the easy bit. For your decoded app, navigate to the directory it was decoded in, then to the /res/ directory and simply create an empty directory for your language (e.g. /values-FR/) - use international naming conventions.​
3. add the translation files
Again, not too difficult this. Download the appropriate language file for your apk from the crowdin project linked below and, using the same structure as exists in /res/values/strings.xml create a new file called strings.xml in your alternative language directory (e.g. /res/values-ES/strings.xml).
The news strings.xml may contain as many or as few translations as you like. Remember, if a translation does not exist the default value from /res/values/strings.xml will be used.
Crowdin: http://crowdin.net/project/miui-rom-translation/invite
The xml formatting and tag names need to match exactly with the default strings.xml in /res/values although the translated file does NOT need to be complete.
It is worth remembering here that unless your source apk is already translated to English then some of the default values in /res/values/strings.xml will still be in Chinese, it would pay to check these.​
4. recompile the strings
Now, if you've done everything carefully and correctly this step is really easy, all you need to do is recompile the apk with apktool using the b (for Build) switch.
Code:
apktool b ./<decoded_apk_dir>/ <output_apk_name>.apk
If this throws errors or does not work then use the -v switch to turn on verbose mode and diagnose your problem. If you did the test in step #1 and it worked then any problem at this step is likely related to your news strings.xml. Back out the changes one by one until you have found the problem and try again.
If you simply can't get it to compile with your changes then try just making a single change to the default strings.xml file in /res/values and see if that works for you.
Do NOT sign the apk!​
5. add the new strings to the apk
Easy. Open your new apk with a zip program (like 7Zip for Windows) and copy out the resources.arsc file in the root directory of the apk. Now take that file and copy it into the source apk from the rom overwriting the existing one. This process replaces the strings but keeps the integrity of the signatures on the files.
You can now push the modified file to your phone, replacing the stock one, reboot and you're translated. Push the file using "adb push" or copy it into place using a root file manager, do not "install" the new apk. Make sure you put it in the correct place (replace the original) and reboot.​
Conclusion
This process will help you add languages to any app including those in the MIUI rom. Because it's a rom the strings are contained in many different apps as well as framework-res.apk. To completely translate the rom you will need to edit every apk that has strings in it.
You will need to do this every time an apk in the rom changes. If a new version is released and say launcher2.apk is changed but updater.apk is not, then you can retain your updater.apk but you'll need to re-edit your launcher2.apk.
When an app changes the default strings.xml may also change. In this case you will need to make corresponding changes to your translations.
Good luck and if you get really stuck there's lots of people in this that have achieved success and may be willing to help!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=789566
MIUI 1.2.11 for Vision ENG
Hi, all. I like the MIUI ROM and as most of you want to have latest version as soon as posible. But I am not a dev and my skills in android development are very very poor. So, i followed the versions of MIUI by g4rb4g3. They all are very stable and fast. And i want to say once more HUGE THANX to him for his work.
But when i found this thread today in the morning i decide to make it in english. So, putting together the ROM from 1st post and ENG pack for N1 from MIUI-DEV.COM with some additional editing of built.prop and adding some apps. I made a pack. Flashed it and it is working fine.
P.S. The only chinese words that i found are in MIUI account registration in Accounts&sync.
Adding: Facebook, Twitter, VoiceSearch, Google Search, gMaps, Street, GMail etc. (all apks are up to date).
DOWNLOAD LINK: http://www.multiupload.com/PVZRB1NRHK
P.P.S. All you do with this pack is on your own risk. I am not responsable for any damages of your phone.
ok cool so basically u made a english version for that latest update cool cool
terrelltp said:
ok cool so basically u made a english version for that latest update cool cool
Click to expand...
Click to collapse
Maybe, you could add the link to ENG version to 1st post of this thread. Could you?
da900 said:
Maybe, you could add the link to ENG version to 1st post of this thread. Could you?
Click to expand...
Click to collapse
i thought thats what u did isint that link u posted the english version
terrelltp said:
i thought thats what u did isint that link u posted the english version
Click to expand...
Click to collapse
I think he means add the link that HE provided to your first post, so that users will actually have an ENG version, instead of the one you posted.
dictionary said:
I think he means add the link that HE provided to your first post, so that users will actually have an ENG version, instead of the one you posted.
Click to expand...
Click to collapse
That's what i mean. Thanx.
lol yes i did that now
da900 said:
Hi, all. I like the MIUI ROM and as most of you want to have latest version as soon as posible. But I am not a dev and my skills in android development are very very poor. So, i followed the versions of MIUI by g4rb4g3. They all are very stable and fast. And i want to say once more HUGE THANX to him for his work.
But when i found this thread today in the morning i decide to make it in english. So, putting together the ROM from 1st post and ENG pack for N1 from MIUI-DEV.COM with some additional editing of built.prop and adding some apps. I made a pack. Flashed it and it is working fine.
P.S. The only chinese words that i found are in MIUI account registration in Accounts&sync.
Adding: Facebook, Twitter, VoiceSearch, Google Search, gMaps, Street, GMail etc. (all apks are up to date).
DOWNLOAD LINK: http://www.multiupload.com/PVZRB1NRHK
P.P.S. All you do with this pack is on your own risk. I am not responsable for any damages of your phone.
Click to expand...
Click to collapse
WOOOO..good job . it's perfect !!!!!!!! work very well ~!! thanks a lot

[Q] Which CSC to unlock hidden features or just edit others/feature.xml

Right now: SM-T705, 4.4.2, SkyHigh ROM (T705XXU1AOA1) with CSC=DBT and I have no lockscreen shortcut option
http://forum.xda-developers.com/showthread.php?t=2157256
http://forum.xda-developers.com/showpost.php?p=38318802&postcount=664
http://forum.xda-developers.com/showthread.php?t=2157256&page=3
http://forum.xda-developers.com/showthread.php?t=2468236&page=2
https://play.google.com/store/apps/details?id=uz.dev.app.galaxy.hidden
https://play.google.com/store/apps/details?id=com.manniakk.cscselector&hl=de
Some say that those lines in /csc/others.xml should do the trick
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<SamsungMobileFeauture>
<Version>ED001</Version>
<Country>UNITED KINGDOM</Country>
<CountryISO>GB</CountryISO>
<SalesCode>BTU</SalesCode>
<FeatureSet>
<CscFeature_Camera_ShutterSoundMenu>TRUE</CscFeature_Camera_ShutterSoundMenu>
<CscFeature_Setting_ShortcutListInLockScreen>Phone,Messaging,Internet,Camera</CscFeature_Setting_ShortcutListInLockScreen>
</FeatureSet>
</SamsungMobileFeauture>
but this (in above example CSC=BTU) is not enough, if you sit on an CSC like DBT
Tassos_i said:
Unfortunately, as your csc is DBT, changing the system/csc/others.xml file will not give you shortcuts in lockscreen. You do not need to change your csc to BTU though. You can keep your "others.xml" file as you describe it above and then go to system/csc/BTU/system/csc and copy the 3 files -other than "others.xml"- to replace the existing in system/csc/others.xml. Then restart, and you are ok. And do not forget to delete or freeze the Help1.0 app in Titanium, or simply rename it to whatever you like with your root browser.
However, that's what eybee's zip file does more or less.
Click to expand...
Click to collapse
But I only find the ones listet in attachement .png on my SkyHighROM:...
Other features could be:
Code:
<CscFeature_Message_EnableScheduledMessage>true</CscFeature_Message_EnableScheduledMessage>
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate>
<CscFeature_Web_EnablePromptToExit>true</CscFeature_Web_EnablePromptToExit>
<CscFeature_Contact_ExtendSpeedDialTo100>true</CscFeature_Contact_ExtendSpeedDialTo100>
So:
1 Do we have to change to another CSC (this would cause a factory reset) or is it good enough to edit the right files ?
1a If we have to change: What CSC should we use to enable most of the hidden features
2 I mounted the system partition of a MultiCSCstockROM like XXU1ANF7_T705ATO1ANF1_T705XXU1ANF6 (my home country and expected to find multilpe CSC to check the differences. No luck in /csc ...
Where can those be found ?
I dont like the idea of changing the whole CSC. I would prefer editing the right files/lines ... any hint would be very welcome
Mount the cache.img from the stock rom you should find the csc data in there.
I adapted (thx to @eybee1970) the attached .zip to Tab-S and I have the menue now.
At the end its not a very good solution as it only works with swipe !!!
BTW: How to add custom Widgets ?? I am sure there are already solutions - Link would be great - otherwise we could start a Tab-S thread
gggg said:
I adapted (thx to @eybee1970) the attached .zip to Tab-S and I have the menue now.
At the end its not a very good solution as it only works with swipe !!!
BTW: How to add custom Widgets ?? I am sure there are already solutions - Link would be great - otherwise we could start a Tab-S thread
Click to expand...
Click to collapse
Hi, what exactly does this zip do? Would love a screenshot!
http://forum.xda-developers.com/showpost.php?p=38318802&postcount=664, I just adjusted the partition settings to Tab-S
gggg said:
I adapted (thx to @eybee1970) the attached .zip to Tab-S and I have the menue now.
At the end its not a very good solution as it only works with swipe !!!
BTW: How to add custom Widgets ?? I am sure there are already solutions - Link would be great - otherwise we could start a Tab-S thread
Click to expand...
Click to collapse
lol...funny thing Haven't worked on anything for years now

[Guide]Add Your Own Category To Settings - It's Different For Lollipop | Newbies Come

Hello everyone, In Lollipop Settings things are different, we used to add key in Settings_Header.xml file and link it with our category.xml file, Now in Lollipop Settings, you need to make a smali file and do some other changes, in this guide i explain to you how.
I Will Only Explain How To Link Category Tab With Category Content, You Need To Know How To Make The Content ( Already Posted, No Need To Re-Post ) .​
What You Need :
Ability To Make In-Category Content .
PC.
Notes :
Smali File Name is up to you, Same for XML Section.
You Can Change Smali Path, You Can put it inside your own custom folder, or place it in other folder, it's up to you.
How-To :
Download Smali File From HERE.
Place your Category-Content XML File in res/xml folder .
Recompile Settings.
Sign It.
Decompile It.
Open Public.xml.
Search For Your Category_Content_XML_File_Name .
Open "Smali_File", Replace "0x22" with the hex code.
rename " Smali_File" to Your_Custom_Name.smali .
Create a new folder, name it "Your_Custom_Folder"
Copy the smali file to smali\com\android\settings\Your_Custom_Folder
Open the smali file again, replace "Your_Custom_Folder" with "Your_Custom_Folder" .
Replace "Your_Custom_Name" with "Smali_File"
Now,Navigate to res/values/strings.xml, Add the following, replace between >< with your text :
HTML:
<string name="your_string">Category Name</string>
Navigate to res/values/ids.xml, Add the following :
HTML:
<item type="id" name="your_id">false</item>
Finally, Open dashboard_settings.xml, add the code and change the values .
Open dashboard_categories.xml, located in res/xml folder.
Add This Line in the place you want, replace the
HTML:
<dashboard-tile android:icon="@drawable/your_icon" android:id="@id/your_id" android:title="@string/your_string" android:fragment="com.android.settings.your_category_folder.Your_Custom_Name" />
Don't Forgot to make your own Category icon, "your_icon", place it in drawable/yourdpi folder.​
Examples :
Smali File Name : iamcategory.smali .
Custom Folder Name : myromsettings .
Drawable Name : custom_settings.png .
String : custom_settings_string .
ID : custom_settings_id .
Dashboard_categories code :
HTML:
<dashboard-tile android:icon="@drawable/custom_settings" android:id="@id/custom_settings_id " android:title="@string/custom_settings_string " android:fragment="com.android.settings.myromsettings .iamcategory" />
Example So you can understand, if it's hard to you, Don't forget the thanks .​
androidexpert35 said:
Great as usual mate thank you!! I now used this guide to add my own menu into my ROM
Inviato dal mio Xperia Z utilizzando Tapatalk
Click to expand...
Click to collapse
@abo hani its very useful
thanks a lot
Great Guide from Master Abo Hanni:good:
gamzekal said:
Great Guide from Master Abo Hanni:good:
Click to expand...
Click to collapse
Hamidreza2010 said:
@abo hani its very useful
thanks a lot
Click to expand...
Click to collapse
androidexpert35 said:
Great as usual mate thank you!! I now used this guide to add my own menu into my ROM
Inviato dal mio Xperia Z utilizzando Tapatalk
Click to expand...
Click to collapse
Thanks guys!
@abo hani , nice
But something miss , Still settings app can't add these new entries in Search
Can you find how to add new categories in search entries ?
wolfmannight said:
@abo hani , nice
But something miss , Still settings app can't add these new entries in Search
Can you find how to add new categories in search entries ?
Click to expand...
Click to collapse
Search use the strings i guess, So what's the problem ? when using the search in Settings you can't find your category ?
abo hani said:
Search use the strings i guess, So what's the problem ? when using the search in Settings you can't find your category ?
Click to expand...
Click to collapse
Yup can't find category and its sub-category (those we added newly)
wolfmannight said:
Yup can't find category and its sub-category (those we added newly)
Click to expand...
Click to collapse
Here's the solution
Add this arrays.xml
HTML:
<array name="custom_category_settings_activity"><item>intent:#Intent;action=android.intent.action.MAIN;launchFlags=0x4000000;component=smalifolder/.SmaliName;end</item>
<item>@array/search_in_settings_customcategory</item>
<item>false</item>
</array>
HTML:
<string-array name="search_in_settings_customcategory">
<item>@string/your_category_string</item>
</string-array>
In First HTML, replace smalifolder with the smali file path, ex : com.android.settings.customfolder, and SmaliName with your smali file name .
In Second HTML, Replace "search_in_settings_customcategory" only replace customcategory with your category name, replace "custom_category_settings_activity" only replace "custom_category" with your custom category name.
Replace the strings with your Category & Sub-Category Strings like Main Section, App String, Sub-Menu String ..etc
Now you can search.
abo hani said:
Here's the solution
Add this arrays.xml
HTML:
<array name="custom_category_settings_activity"><item>intent:#Intent;action=android.intent.action.MAIN;launchFlags=0x4000000;component=smalifolder/.SmaliName;end</item>
<item>@array/search_in_settings_customcategory</item>
<item>false</item>
</array>
HTML:
<string-array name="search_in_settings_customcategory">
<item>@string/your_category_string</item>
</string-array>
In First HTML, replace smalifolder with the smali file path, ex : com.android.settings.customfolder, and SmaliName with your smali file name .
In Second HTML, Replace "search_in_settings_customcategory" only replace customcategory with your category name, replace "custom_category_settings_activity" only replace "custom_category" with your custom category name.
Replace the strings with your Category & Sub-Category Strings like Main Section, App String, Sub-Menu String ..etc
Now you can search.
Click to expand...
Click to collapse
@abo hani you are awesomeeeee , Thanks
wolfmannight said:
@abo hani you are awesomeeeee , Thanks
Click to expand...
Click to collapse
Welcome bro ?
Sent from my C6903 using Tapatalk
wolfmannight said:
@abo hani you are awesomeeeee , Thanks
Click to expand...
Click to collapse
Forgot one thing, You need to add the main array, There are 2 arrays to add .. right ?
One with String, the other with smali .. the smali one is the main, copy the array name and search for "search_in_settings_activity_list"
Below that add your array like the provided ones.
yup
Bro your SUPER AWESOME! Worked well
@abo hani
I Will Only Explain How To Link Category Tab With Category Content, You Need To Know How To Make The Content ( Already Posted, No Need To Re-Post ) .
Click to expand...
Click to collapse
i will try to make my own category under settings.
can you give me the link of the post you explained how to make a Category Content file?
Thx
moonryder said:
@abo hani
i will try to make my own category under settings.
can you give me the link of the post you explained how to make a Category Content file?
Thx
Click to expand...
Click to collapse
There's a new guide : http://forum.xda-developers.com/che...-permanent-t3253326/post63923793#post63923793
Hello, can teach how to make the settings as well as in the Annex? Thank you
Marília de Oliveira said:
Hello, can teach how to make the settings as well as in the Annex? Thank you
Click to expand...
Click to collapse
Can you upload the Settings ?
abo hani said:
Can you upload the Settings ?
Click to expand...
Click to collapse
wow, Yes, attached.
Settings.apk >> Download
My phone and a compact Xperia Z3. lollipop 5.1.1.
Sorry but I did not understand this part
>> Place your Category-Content XML File in res/xml folder <<
Marília de Oliveira said:
Sorry but I did not understand this part
>> Place your Category-Content XML File in res/xml folder <<
Click to expand...
Click to collapse
Check the guide : http://forum.xda-developers.com/showthread.php?t=2184207
And you will understand .

Categories

Resources