[Q] Languages - Moto G Q&A, Help & Troubleshooting

Hi,
this looks like a promising phone! But I find it weird that some languages are supposed to be left out from this phones (stock) software. Im from Czech Republic and czech language is not supported (on some forums I saw a message where someone claimed its been confirmed by Motorola) - isnt that weird?
This phone is one of three Im considering as my future phone so this is a bit disappointing. I think there wont be a problem thanks to Cyanogenmod, but still ... this sucks!
Is there a supported languages list somewhere, please?

Japanese
I often used my previous phone in Japanese. It seems this language isn't supported either. Is there a way to add languages in? It seems like it should be a simple enough thing to do, but I really wouldn't know how.

michalurban said:
Is there a supported languages list somewhere, please?
Click to expand...
Click to collapse
Send question to Motorola.
Edit: Or read this - https://forums.motorola.com/posts/6e930724f1
Edit2: Actually since 4.3 all languages should be included. At least Nexus 5 owners did find a lot previously missed languages.

or try this: https://play.google.com/store/apps/details?id=com.sightidea.locale
not perfect, but worked for me!
"After 4.2 new Jelly Bean, Only system app can get CHANGE_CONFIGURATION permission.
If your device have been root. Locale and Language can get the permission automatically.
If you're able to use development tools(adb), you can grant the permission manually command below.
>adb shell
>pm grant com.sightidea.locale android.permission.CHANGE_CONFIGURATION"

purple donkey said:
or try this: https://play.google.com/store/apps/details?id=com.sightidea.locale
not perfect, but worked for me!
"After 4.2 new Jelly Bean, Only system app can get CHANGE_CONFIGURATION permission.
If your device have been root. Locale and Language can get the permission automatically.
If you're able to use development tools(adb), you can grant the permission manually command below.
>adb shell
>pm grant com.sightidea.locale android.permission.CHANGE_CONFIGURATION"
Click to expand...
Click to collapse
Thanks for this. Unfortunately, it seems that the system still remains largely in english when changing to languages not originally supported by Motorola (tested with Japanese and Czech).

Yeah, this sucks. I have just received the global GSM version of the the Moto G sold in the US (system version 14.14.16.falcon_umts.Retail.en.US), which only comes with 4 languages:
- English
- Spanish
- Portuguese
- French
The UK ROM does include a bunch of other languages (listed here: http://blog.clove.co.uk/2013/11/22/motorola-moto-g-languages/), but not Czech or Japanese. Luckily for me, I need it in Chinese (it's a gift for a relative in China) which is available in the UK ROM, so I just had to flash the UK ROM following the instructions at http://forum.xda-developers.com/showthread.php?t=2542219 .

I'm from Russia and I guess I know how to add russian language (the same way you can add your lang)
I've already changed some system files(framework-res.apk and settings.apk) for this and now I'm just waiting for my moto G. (it will arrive at the next 2 weeks)
Is there anyone who wanna try it?(only guys who wants to add a russian language)
You need to unlock your bootloader and have a root on your device.
I'm waiting for this people in pm.
и, если вы знаете Русский, то пишите по русски)

S0bes said:
I'm from Russia and I guess I know how to add russian language (the same way you can add your lang)
I've already changed some system files(framework-res.apk and settings.apk) for this and now I'm just waiting for my moto G. (it will arrive at the next 2 weeks)
Is there anyone who wanna try it?(only guys who wants to add a russian language)
You need to unlock your bootloader and have a root on your device.
I'm waiting for this people in pm.
и, если вы знаете Русский, то пишите по русски)
Click to expand...
Click to collapse
I'm willing to give it a try, but I'd prefer to post the results here, as I think it would help out with the original question

Korikisulda said:
I'm willing to give it a try, but I'd prefer to post the results here, as I think it would help out with the original question
Click to expand...
Click to collapse
ahm.. I gave a wrong information... Actually I able to add more than one (not only russian) language.
So, if somebody will give me these files : framework-res.apk (path system/framework ) and settings.apk (system/app)
then I can try add all languages as possible. (only languages that available in lg nexus 4 (on the android 4.3) )
As I know nexus 4 has a stock android like a moto G and nexus has a larger list of languages. So I just can take them from nexus and put into G
I really want that it would be working.
So I need a man who give files to me and check out my modified files.

S0bes said:
ahm.. I gave a wrong information... Actually I able to add more than one (not only russian) language.
So, if somebody will give me these files : framework-res.apk (path system/framework ) and settings.apk (system/app)
then I can try add all languages as possible. (only languages that available in lg nexus 4 (on the android 4.3) )
As I know nexus 4 has a stock android like a moto G and nexus has a larger list of languages. So I just can take them from nexus and put into G
I really want that it would be working.
So I need a man who give files to me and check out my modified files.
Click to expand...
Click to collapse
BTW, my G isn't delivered yet, but can You please check, does the Nexus contain (it should) Estonian language?
And some "howto add custom languages" would also good.

ksuuk said:
BTW, my G isn't delivered yet, but can You please check, does the Nexus contain (it should) Estonian language?
And some "howto add custom languages" would also good.
Click to expand...
Click to collapse
seems it doesn't contain estonian
But I can be wrong.
So, I take dump files from this thread: http://forum.xda-developers.com/showthread.php?t=2536836
"This is the stock factory ROM 14.71.8.falcon_umts.Retail.en.DE, which the devices are shipped in germany/europe.
the right build number is 14.10.0Q3.X-76-LGG-8, sorry for the confusion."
So, if you have this firmware in your phone. And you have a root.
download the files and follow these steps:
ATTENTION! IT CAN BRICKS YOUR DEVICE! I'm not responsible for this.
1. instal app root_explorer on your device (you need to root your device before)
2. move settings.apk and framework-res.apk into system/ (not system/app or system/framework !!! only into system/) (if you can't do it, move to 3d step than back to 2nd)
3. click on top right button for change your rights (read only(ro) or read/write(rw). you need "read/write)
4. set permissions (long tap on each file -> permissions) (you should set perm-s to both files - framework-res.apk and settings.apk)
I think permissons should be like this:
x x 0
x 0 0
x 0 0
5. delete file settings.odex from system/app
6. move settings.apk into system/app and replace it
7. move framework-res.apk into system/framework and replaced it
8. reboot your phone
or you can use adb if you able to do it
_______
So, after all you should find in settings over 20 new languages... But if it's not, i'm really sorry and I'll be working on this when my phone will arrived
Download files: https://www.dropbox.com/s/q2emronmrr8pbhu/files.zip
And if someone (I hope it happends) checks this can he give me a screenshots
that's not a full translation. Almost all in settings should be on your language (after you set it) and some interface.

S0bes said:
seems it doesn't contain estonian
But I can be wrong.
Click to expand...
Click to collapse
Thanks for howto and search. Can't test it yet.
Actually I prefer English, as the translation is always a bit strange, but I'd like to change date and time format, currency, measurement units, starting working day, location, etc to match these, what I normally use when phone have Estonian language.
Do You know how to do this - keep English but change all others so called "regional behavior" to match my needs?

Purple donkey's suggestion is fine for that. Link is https://play.google.com/store/apps/details?id=com.sightidea.locale
You do need to grant the app permissions, I think, and it will cause some things to be translated, but it will also change the formats etc

S0bes said:
6. move settings.apk into system/app and replace it
7. move framework-res.apk into system/framework and replaced it
Click to expand...
Click to collapse
BTW, instead of replacing, I'd prefer rename old files, so I can always revert back.

ksuuk said:
Do You know how to do this - keep English but change all others so called "regional behavior" to match my needs?
Click to expand...
Click to collapse
if this method works that it is very easy to do "regional behavior". Am I right that it is when all interface in english but installed apps are using your language?
And of course you can rename old files)

S0bes said:
if it method works that it is very easy to do "regional behavior". Am I right that it is when all interface in english but installed apps is using your language?
And of course you can rename old files)
Click to expand...
Click to collapse
I believe that it is meant that the phone is desired to have localised date and time formats, currency, measurements, etc.

S0bes said:
if it method works that it is very easy to do "regional behavior". Am I right that it is when all interface in english but installed apps is using your language?
And of course you can rename old files)
Click to expand...
Click to collapse
Yes, close, but if everything is English, this is also OK, most important that date format is not US format month/day/year, but day.month.year, time is in 24h, measurement and temperature, speed are using not US but European (kg, g, km/h, Celsius) format etc.
It's doable/customizable in any computer OS, but not in Android.

ksuuk said:
but day.month.year
Click to expand...
Click to collapse
I think it's easy to do it. obviously I'll forget about this. But if you want this format of data you should ask me about that at the end of the year (25-30 dec)
And is time not really in 24h format? I think you can change it in the settings

S0bes said:
ahm.. I gave a wrong information... Actually I able to add more than one (not only russian) language.
So, if somebody will give me these files : framework-res.apk (path system/framework ) and settings.apk (system/app)
then I can try add all languages as possible. (only languages that available in lg nexus 4 (on the android 4.3) )
As I know nexus 4 has a stock android like a moto G and nexus has a larger list of languages. So I just can take them from nexus and put into G
I really want that it would be working.
So I need a man who give files to me and check out my modified files.
Click to expand...
Click to collapse
Got the framework-res file (this is from the UK version), couldn't find the other in the given path.
SHA256 hash of file: 4999fd49d7cf5e47a21b1ee343d3534f721a93bd085fece63de121fd393c34d9

Korikisulda said:
Got the framework-res file (this is from the UK version), couldn't find the other in the given path.
Click to expand...
Click to collapse
the path for settings.apk is system/app
and there should be this file
But I think it doesn't matter which settings.apk you use. Not the same situations with framework-res.apk.
I'll change your framework-res.apk and you should replaced your file with this. And take my settings.apk from my link above and do the same.
P.s
it's good that you have uk version because my phone will arive from amazone.co.uk and I can modife some files now and replaced them as soon asI can.

Related

[Q] Changing the fonts in 2.1

Hi,
When I was on 1.6 i changed the fonts for customs (the ones from latest Ubuntu), but now that I run on 2.1, I see there are more fonts in the /system/fonts folder, so I'm a bit lost...
I tried to custom anyway, but now, I don't know why, I miss the notifications' titles, like the name of a contact when I got a SMS, so I replaced my custom fonts by the backup I made with the default ones... and that don't work, there is this font that still miss on my phone...
Also, I saw that a font was "corrupted" (don't know what exactly), because when I tried to open it with Windows (7), I had an error. The font name is DroidSansFallback.ttf.
So now I need some help, first to get back the font, and then to replace some by my owns.
BTW : I'm sorry for my poor English, I'm French.
Thanks
These are the original for 1.6...
Download Link 1
Download Link 2
... but the only two you need to change are DroidSans and DroidSans-Bold, leave the rest alone.
XperiaX10iUser said:
... but the only two you need to change are DroidSans and DroidSans-Bold, leave the rest alone.
Click to expand...
Click to collapse
Oh... Didn't know about that, thanks.
And about the fonts, thanks too, but as I said, they've changed in 2.1, there are more of it, (2-3 more), so I have no idea if it's gonna work or not.
I'll edit when the DL will be complete.
Thanks again.
EDIT : As I thought, it unfortunatly doesn't work :/
Could anyone upload a fresh backup ?
I had changed DroidSans and DroidSans-Bold before backing up so I haven't included them, but the rest are untouched...
FUUUUUUUUUUUUUUUUUUUUU-
Doesn't work either...
I'm lost...
Just reflash, would be quicker.

[GUIDE] Full support for Arabic and Hebrew

Hi, everybody
i've tryed a lot of ROMs and right now only Kyrillos's rom supports Arabic and Hebrew as it should be,
so there are two solutions:
1- install CM
PersianSphinx said:
And its not all CM ROMs that have this. CM7 has it for sure. Ginger bread has it enabled for sure. ive even checked other androids.
Click to expand...
Click to collapse
2- patch the rom
i will be guiding only the second solution but first
i am not to be credited for any of the work it is all the work of:
Madmack and Brighidea
i dont know the real names
so
step 1:
download the latest version of the patcher from madmack's blog from here
step 2:
extract these three files from the rom:
1- /system/framework/framework.jar
2- /system/lib/libandroid_runtime.so
3- /system/lib/libwebcore.so
step 3:
copy these files in the input folder of the patcher, and run commands.exe as administrator ( dont close any screen that appears )
step 4:
get a file named flashable_framework.zip from the output folder,
in normal conditions we would flash it through cwm but for a reason it doesnt it gives you an error
so put each of the files in the zip in its correspondent folder in the system manually.
framework.jar in /system/framework/
lib__bcore.so , libandroid_runtime.so , libicuuc-arabic.so , libwebcore.so in /system/lib/
DroidSansArabic.ttf in /system/fonts/
step 5:
must wipe dalvik-cache,
and if it wont boot wipe data,
if it still wont boot either you didnt follow the steps correctly or there is something wrong and you must contact madmack through his blog
step 6: that's it
again i am not taking credit at all. all i did is that i sent some files to madmack and he did all the job that was from a couple of months
credits:
madmack
brightidea
synos_x said:
in normal conditions we would flash it through cwm but for a reason it doesnt it gives you an error
so put each of the files in the zip in its correspondent folder in the system manually.
credits:
madmack
brightidea
Click to expand...
Click to collapse
good guide. useful for me, now i can see all my persian songs on any froyo/eclair
give a third way to activate, Kyrillos' ROM has Arabic/Persian/Hebrew activated on version 9 and 10 of his ROM by default. And its not all CM ROMs that have this. CM7 has it for sure. Ginger bread has it enabled for sure. ive even checked other androids.
PersianSphinx said:
good guide. useful for me, now i can see all my persian songs on any froyo/eclair
give a third way to activate, Kyrillos' ROM has Arabic/Persian/Hebrew activated on version 9 and 10 of his ROM by default. And its not all CM ROMs that have this. CM7 has it for sure. Ginger bread has it enabled for sure. ive even checked other androids.
Click to expand...
Click to collapse
thank you for that it was encouraging, i will quote some of what you said, in first post, i dont know about Persian but i think Kyrillos used this patch for Arabic, may be.
synos_x said:
thank you for that it was encouraging, i will quote some of what you said, in first post, i dont know about Persian but i think Kyrillos used this patch for Arabic, may be.
Click to expand...
Click to collapse
I know this because i suggested it to him to do it mate
Persian is similar to Arabic in the alphabet, but we have 4 letters that arabs dont have: گ، چ، پ، ژ
also the layout of the keyboard is different and we dont have the weird ه with the dots above it in our language that is most of the difference... Oh yea, and we dont use the vowels at all in writing... only ا، ه، آ، و، ی and none of the hamza crap

APK-Fire - tool to add language from 1 rom's apk files to an other

Hi,
After flashing a custom rom I noticed that rom didn't have my language, so I wanted to add it to this custom rom.
After a great and long journey and thx to the info found on this forum I managed to add the language I wanted.
During the journey I started to write a small tool to make the whole process a bit less painful. The tool has been growing from as simple batch decomiple - recompile apk tool to 1 that adds the value folders and do the resources.arsc switch thing.
This is my 1ste release and is still a beta version so still has some errors, stuff to be added and bad code. But still I hope some of you can use it.
If you got any questions just post or pm
Greetings
Installing the tool.
Just extract all files to your root folder and run the ignite script as root. That's it.
There is a help option that guide you step by step.
EDIT: Small adjustment in the language lists and added the Custom_language_list option
EDIT: Like I said tool is still in beta stage, it seems that yesterday in my hurry to get it ready I screwed up big time (like command to make a cp without telling where to copy to) anyway already beta version 1.1 is out now
UPDATE: 1ste real release out now.
Killed some more bugs
Updated the help page
Added some layout editing
Added or updated the log handeling
how can i insert pt language on last jaggyrom for htc explorer ?
I would appreciate if u created a 'How To' for Super Noobs like me ...
a windows version
If there is a windows version,it will be more appreciated.
bascro said:
I would appreciate if u created a 'How To' for Super Noobs like me ...
Click to expand...
Click to collapse
There is a help function in the tool that guide through most of the steps from the moment you got your hands on tha apk files.
So now the question is how to get those apk files.
Well I like to use Android-Kitchen to unpack rom's, and you'll need that tool anyway to add the new apk files to the rom.
1. Decompile the rom containing the language you want. (Can be stock-rom, your original rom, other custom,...)
2. Copy all the apk files from the systeml/app folder to the stock_APK.
3.Copy the framework-res.apk and com.htc.resources.apk from the system/framework folder to flare/framework and the stock_APK folders
The rest of the how you'll find when you start APK-Fire and use option 'h'
Note: Not all of the apk file will decompile without errors, those that give errors (like market, street, superuser,...) you don't realy need to add language so just delete those apk's from the stock_APK and the decompiled_APK folders.
pedrofidalgo said:
how can i insert pt language on last jaggyrom for htc explorer ?
Click to expand...
Click to collapse
To add portugees you can choose to add all the languages from the South_West_Europe list.
or
you put pt and pt-rPT (each on a diff line) to the Custom_language_list.
then follow the steps you'll find in help option.
picodaren said:
If there is a windows version,it will be more appreciated.
Click to expand...
Click to collapse
There is a windows version called APK Edit
Only prob here is that you have to open the apk that has the wanted language, copy those folders, open the apk from the rom where you want to add the language to and repeat this process for all the apk files 1 by 1.
If you take this road plz let me know how long it took yah
i have jaggy rom. and a backup of my stock rom in Portuguese. can i install pt language on jaggy rom ?
Need a little help .. : p
pedrofidalgo said:
i have jaggy rom. and a backup of my stock rom in Portuguese. can i install pt language on jaggy rom ?
Need a little help .. : p
Click to expand...
Click to collapse
sure you can.
Step trough:
1 Set-up Android-kitchen
2 Decompile your stock rom
3 copy the content of the system/apk folder to the APK-Fire/stock_APK
4 copy the 2 apk files from system/framework to APK-Fire/stock_APK AND APK-Fire/flare/framework
5 Start APK-Fire and install the frameworks (option 1)
6 Decompile the apk files (option 2)
7 Add the language code to the Custom_language_list each language code get's it's own line. (you find this file in the APK-Fire/lighter folder) for portugees you add something like this:
pt
pt-rPT
8 Get the value folders containing the portugees language (option 4)
9 Now you can choose to back up the stock_apk and the decompiled_apk folders (option 6 / 1) or delete the content of those 2 folders.
10 Got back to the kitchen and decompile the Jaggyrom and repeat the steps 2 till 6 as before.
11 Now copy the value folders you took from the stock rom to the jaggyrom (option 5)
12 Recompile the apk files (option 3)
(check log for errors, warnings you could ignore but errors need attention, be aware that non stock apps mostly will give errors but those also don't need additional language)
13 Do the resources.arsc switch thing to fool the signature security (option 6)
(for more info what this is all about read the switch_resources script)
14 Copy your upgraded apk files from the APK-Fire/firebox/translated_APK folder to the Android-kitchen/WORKING_****/system/app (don't forget to copy the 2 framework apk files to the Android-kitchen/WORKING_****/system/framework folder and not the app folder)
15 Cook your rom
16 Flash the rom
17 Hold your fingers crossed while booting
18 Hopely enjoy the costum rom in your desired language.
Hope this helps you.
Cosmoon said:
sure you can.
Step trough:
1 Set-up Android-kitchen
2 Decompile your stock rom
3 copy the content of the system/apk folder to the APK-Fire/stock_APK
4 copy the 2 apk files from system/framework to APK-Fire/stock_APK AND APK-Fire/flare/framework
5 Start APK-Fire and install the frameworks (option 1)
6 Decompile the apk files (option 2)
7 Add the language code to the Custom_language_list each language code get's it's own line. (you find this file in the APK-Fire/lighter folder) for portugees you add something like this:
pt
pt-rPT
8 Get the value folders containing the portugees language (option 4)
9 Now you can choose to back up the stock_apk and the decompiled_apk folders (option 6 / 1) or delete the content of those 2 folders.
10 Got back to the kitchen and decompile the Jaggyrom and repeat the steps 2 till 6 as before.
11 Now copy the value folders you took from the stock rom to the jaggyrom (option 5)
12 Recompile the apk files (option 3)
(check log for errors, warnings you could ignore but errors need attention, be aware that non stock apps mostly will give errors but those also don't need additional language)
13 Do the resources.arsc switch thing to fool the signature security (option 6)
(for more info what this is all about read the switch_resources script)
14 Copy your upgraded apk files from the APK-Fire/firebox/translated_APK folder to the Android-kitchen/WORKING_****/system/app (don't forget to copy the 2 framework apk files to the Android-kitchen/WORKING_****/system/framework folder and not the app folder)
15 Cook your rom
16 Flash the rom
17 Hold your fingers crossed while booting
18 Hopely enjoy the costum rom in your desired language.
Hope this helps you.
Click to expand...
Click to collapse
i dont know how to do it :/
if i give you my backup can you add pt language for the last jaggyrom ?
cumps
really??
I've already robbed the experience from you of wandering through the jungle of this mystic entity called Android by making the wandering seem nothing more then a walk through the park.
And now you tell me you don't want to know this mystic entity?
Nah I don't buy that, you almost got me there.
I'm willing to guide you through every step but I refuse to carry you.
If you'r on IRC or msn or I can meet you there to start your journey.
Btw at the current rate Jaggyjags is spitting out rom's I can't keep up adding stuff for everyone so I go by the rule:
You translate 1 version of a rom for a man and you made him happy till the release of the next version. You teach a man how to translate a rom and you made him happy for many versions
pedrofidalgo said:
i dont know how to do it :/
if i give you my backup can you add pt language for the last jaggyrom ?
cumps
Click to expand...
Click to collapse
seriously, I know you like your phone and want get the best out of it but your maximum effort is installing .zip roms or .zip updates?
you've got 2 options.
1. Stick with whatever you have right now: your Portuguese backup or any available custom rom.
2. research, research again, try things out and learn. Try to stop asking people to do things for you. It's difficult, I know, specially when you are used to it, but don´t worry, it always is.
Believe me, it is a really nice feeling when you get things done on your own.
good luck
Would you teach us HOT TO DO IT MANUALLY (without using APK Fire)
pmeler said:
Would you teach us HOT TO DO IT MANUALLY (without using APK Fire)
Click to expand...
Click to collapse
Well.... all right then
I've explained most of how to add language already, k most of it in close relation with the use of APK-Fire. Anyway I'll try to explain the whole process starting from the base rom till the modified one.
Step 1
Check if your (custom) rom really really doesn't have your language. Try also 'morelocal' app. This simple step can save you lot's of time
Step 2
Now that you't sure that the (custom) rom doesn't have your language or you just want to add more languages to the rom you build your self you have to go and look for roms that do have the language(s) your want to add.
Possible finding places:
- different versions of the leaked stock rom
- Others people custom rom's
- Rom's for other devices. ! Won't work for the 2 framework apk files, but has good chances to work with the other apk files !
Step 3
Question now probably is how can I find out what languages a rom contains (specialy those for other devices). Well easy, you just have to dismantle the rom's and to be sure a few apk files.
The easyest way to dismantle a rom is to use Android-Kitchen. This tool doesn't need alot of installing or modification but I do recommend you read the how to etc.
So now you have easy access to all the content files of the rom.
Take a few apk files from the system/app folder and dismantle them with 'Apk Tool' or if you realy want to go hardcore 'aapt'. And check the 'app-name'/res for 'values-*' folders that you need.
Step 4
Now that you've found the folders containing the translation (those values-* folders) you've got to copy them to to 'app-name'/res of the afk file from the rom you want to add language to.
dismantled app from copy value folders dismantled app from
rom with language -----------------> rom without language
Step 5
recompile the dismantled app where you just added the value folders to
Step 6
You thought you where allmost done didn't you??? Now the real fun part just starts.
In order to bypass the security that check for the integity of the apk file we need to cheat abit.
You need the new apk file and the original apk (the one without the language)
*rename the 'app-name'.apk file (from both version) to 'app-name'.zip
*delete the resources.arsc file from the original 'app-name'.apk (now temporaly 'app-name'.zip)
*take that same file from the new apk file and copy it to the original apk
* rename the original back from 'app-name'.zip to 'app-name'.apk
* Copy that apk file back into the rom (Android-Kitchen remember)
Step7
Now you repeat this proces for ALL apk files you find in the rom.
Yup all +100 apk files from 1 rom + the same +100 apk files from the other rom need to get this treatment.
Step 8
Cook rom
So you see 8 simple step is more or less what it takes.
Same tutorial but better here
Even more resources here and here
Updated the tool
Cosmoon said:
Updated the tool
Click to expand...
Click to collapse
It doesn't seem to do the last step for me. The one that is supposed to copy the resources.arsc. It just creates another copy of the stock, without the new resources.arsc.
Any idea of what's going on? Would be a flavor to not have to do this manually!
Hmm I fully tested the latest update with the 2 rframework apk files and everything worked fine.
Are you sure that it's just a copy of the stock apk folder?
The switch_resources script does all the final steps. renaming, delete file from stock, copy from new to stock and rename back.
As I still have to add loggin to this part you should see an output on screen showing what the script is/was doing.
While that part is running you should see a folder called 'temp' (inside firebox or 1 of the subfolders of firebox).
Inside the firebox/recompiled_APK you should find a folder for each app containing the resources.arsc file.
And as last check you can compair the size of the 3 diff apk files. (stock, recompiled and translated). If I'm not mistaken the translated is the smallest (how strange it may sound)
Also make sure the tool is in your root folder.
If possible send me the output you get during this fase.
Cosmoon said:
Hmm I fully tested the latest update with the 2 rframework apk files and everything worked fine.
Are you sure that it's just a copy of the stock apk folder?
The switch_resources script does all the final steps. renaming, delete file from stock, copy from new to stock and rename back.
As I still have to add loggin to this part you should see an output on screen showing what the script is/was doing.
While that part is running you should see a folder called 'temp' (inside firebox or 1 of the subfolders of firebox).
Inside the firebox/recompiled_APK you should find a folder for each app containing the resources.arsc file.
And as last check you can compair the size of the 3 diff apk files. (stock, recompiled and translated). If I'm not mistaken the translated is the smallest (how strange it may sound)
Also make sure the tool is in your root folder.
If possible send me the output you get during this fase.
Click to expand...
Click to collapse
They are identical, not even smaller so Although i was running this in cygwin on windows so it might be that. I'll try to boot it up in ubuntu to see if it's any difference Could be the su that's messing with me in cygwin :S
leolulz said:
They are identical, not even smaller so Although i was running this in cygwin on windows so it might be that. I'll try to boot it up in ubuntu to see if it's any difference Could be the su that's messing with me in cygwin :S
Click to expand...
Click to collapse
Never tried it on windows with cygwin, I'm running a debian linux, so that could be the thing that's messing it up.
Still good to know that only that part doesn't work on windows, I'll see if I can modify the script.
THANK YOU Cosmoon !
I asked because I want to remove unsued language from framework-res.apk to make it slimmer
Cosmoon said:
Never tried it on windows with cygwin, I'm running a debian linux, so that could be the thing that's messing it up.
Still good to know that only that part doesn't work on windows, I'll see if I can modify the script.
Click to expand...
Click to collapse
Ye, but it could work although, i never checked the su/root stuff, kinda rushed it yesterday to see how it worked Anyways it's a nice script and ill love to see this project getting further
pmeler said:
THANK YOU Cosmoon !
I asked because I want to remove unsued language from framework-res.apk to make it slimmer
Click to expand...
Click to collapse
Hmm never thought about that. Only thinking of adding stuff but having a option to remove can be handy to.
I'll add it in the next update.
Thx great idea man

Sony xperia z2 keyboard works or not?

Hello guys
I wanna,we test z2 keyboard if it works on mate7 or not?
I think it's the best keyboard I've ever used and it's swype is great
I've tested this keyboard on various devices,like: note2, note3,galaxy nexus, nexus 4 and on all it works fine
Does anybody here who tested it on mate7?
The thread is here:
http://forum.xda-developers.com/android/apps-games/mod-xperia-z2-keyboard-multi-languages-t2814704
Tnx
Edit: successfully installed... See post #8
Yes, works. At least with the KangVIP Rome.
Fooox1 said:
Yes, works. At least with the KangVIP Rome.
Click to expand...
Click to collapse
Thanx mate,
One more question: when you flash this keyboard,is Huawei keyboard still working or you face with force stop?
On android L samsung keyboard forced stop when we flashed this keyboard,although it was not important,because sony keyboard is really better than samsung one
I use long as the keyboard is Google. This remains intact and usable.
Fooox1 said:
Yes, works. At least with the KangVIP Rome.
Click to expand...
Click to collapse
Sehr Nett
Sind Sie Deutsche?
Ja, merkt man an der Google Übersetzung!?
I've installed the keyboard and it works really well. No FC or whatever or Swype for Huawei. I've switched back and forth and everything works great. Only problem is the keyboard came with Limited languages on board (Arabic, Bosnian, Bulgarian, Catalan & Czech) with the option to download additional language dictionaries. Funny enough the download just keeps on loading without downloading but well maybe its my network. So i think I'll retry
Hello guys,
I successfully installed the Sony keyboard and added my language and English to the keyboard
First you have to know there is some problem with mate7 rom that doesn't allow all languages to copy in your phone,in fact the storage that gives you is limited
So follow this instructon to apply English and your own language to Sony keyboard :
In flash.zip file go to the below path:
System/user/xperia_keyboard_dictionaries
Here you can see all languages
Go to that path in your system file,you see 4 languages! Delete these 4 languages.
Copy your language and English from Flash.zip file to your device using this path: System/user/xperia_keyboard_dictionaries
Attention that your storage is limited in this path
Now you need to set correct permission. Use solid explorer to set the permission
Long press on language file and select properties. In attributes tile select change.now tike these 4 item: for "R" tike "owner" and "group" and "others". For "W" tike "owner". The other items have to be untike. Press ok.
Your languages were added to sony's keyboard and you can select them from keyboard's settings
E.L.E.C.T.R.O.N.I.C said:
Hello guys,
I successfully installed the Sony keyboard and added my language and English to the keyboard
First you have to know there is some problem with mate7 rom that doesn't allow all languages to copy in your phone,in fact the storage that gives you is limited
So follow this instructon to apply English and your own language to Sony keyboard :
In flash.zip file go to the below path:
System/user/xperia_keyboard_dictionaries
Here you can see all languages
Go to that path in your system file,you see 4 languages! Delete these 4 languages.
Copy your language and English from Flash.zip file to your device using this path: System/user/xperia_keyboard_dictionaries
Attention that your storage is limited in this path
Now you need to set correct permission. Use solid explorer to set the permission
Long press on language file and select properties. In attributes tile select change.now tike these 4 item: for "R" tike "owner" and "group" and "others". For "W" tike "owner". The other items have to be untike. Press ok.
Your languages were added to sony's keyboard and you can select them from keyboard's settings
Click to expand...
Click to collapse
Thanks a bunch man. Worked like a charm

[GUIDE] Hide "No Notification" Label on Notification drawer

Hello,
Some of you may be annoyed by the "No Notification" label on Android lollipop/marshmallow when there is no notification in the notification drawer in stock android
For those i made a quick guide how to remove this label!
lets start
Things needed:
Knowledge how to De/Recompile Apk's Get Knowledge HERE
Notepad++Download HERE
SystemUI.apk of rom
Patience if re/decompiling goes wrong
LETS START WITH THE GUIDE:
1) Extract SystemUI.apk with any root browser and paste to your PC (SystemUI.apk located in "root/system/Priv-app/SystemUI") do a Backup of orig. SystemUI.apk
2) Decompile the SystemUI.apk with apktool or any other Apk-Decompiler
3) Go to folder called "res". Than go to "values-xx" (xx stands for the language. I use my phone in German language so i will go for "values-de". Turkish people go to"values-tr" and so on)
4) After you are in "values-xx" folder open "Strings.xml" WITH NOTEPAD++
5) Press Ctrl+F and search for "No notifications" in your language you are using. In my case it will be "Keine Benachrichtigungen" (German)
(WARNING: There will be 2 results -> concentrate on the 2nd result)
6) Replace the "No notification" text with something you want to appear there. If you want to hide it, delete the "no notification" text and do not add anything.
(WARNING: Do not delete more than the "no notification" Text; So do not delete the whole string)
7) Save the file and close Notepad++
8) Recompile the apk and push it to your phone: "root/system/priv-app/SystemUI"
9) Reboot your phone and voila, you got a Notification drawer with no "no notification" text
tested by me on CM12 5.0.2 and CM12.1 5.1.1
I also made a German Video tutorial on this click Here
Thanks to:
@PulseDroid - for very good apk de/recompile guide
@Flextrick - for very cool apk De/Recompile Tool i am using
Didn't work :/
Couldn't find the "values" file or "strings.xml" or "No notifications"
I used Notepad++'s "Search in Files" to search through every file in systemUI's and framework's xmls and everything for the words "No notifications" . . . . and zero hits.
But I'm runnnig PAC Rom on the Nexus 5 so I guess it's not there for me. That's okay though, sometime when I try Cyanogen again I'll give this guide a shot.
GuitarGuy96 said:
Couldn't find the "values" file or "strings.xml" or "No notifications"
I used Notepad++'s "Search in Files" to search through every file in systemUI's and framework's xmls and everything for the words "No notifications" . . . . and zero hits.
But I'm runnnig PAC Rom on the Nexus 5 so I guess it's not there for me. That's okay though, sometime when I try Cyanogen again I'll give this guide a shot.
Click to expand...
Click to collapse
if you are using your phone in english language go "values-en" and there must be a "strings.xml" (if you are not using in english set your phone to english and try) :/
timuralaskara said:
if you are using your phone in english language go "values-en" and there must be a "strings.xml" (if you are not using in english set your phone to english and try) :/
Click to expand...
Click to collapse
Yeah, and I even used a Cyanogenmod ROM this time, still no "values-en" folder, no strings.xml , and yes I've been using English.
Still no luck
Could you send me your modified systemUI, somehow?
I could try a few things, maybe create a flashable zip if I find a solution.
I will send you my decompiled systemui.apk folder later on maybe tomorrow. Or give ya a screenshot. Because on every device i do own there is a values-XX folder in systemui :S
Are you sure that you have successfully decompiled it and had no errors? Because sometimes it does not decompile everything. Use
android multitool its tha best decompiler and do not forget to install framework-res.apk (located in system/framework).
You can send me your systemui too i will try it (send me systemui in system/priv-app and framework-res.apk located in system/framework)
Sent from my SM-G900F using XDA Free mobile app
This is probably the most delayed reply ever but...
I finally got it working! I tried it out again today - this time absolutely focused xD I still have absolutely no idea what went wrong back then, but I'm so glad it's working now. I followed on through that German YouTube video (made the first comment to it too!) and it worked!
I think I'll even use this method to change other text all over the phone xD Make it more informal (Battery is charging > Battery's charging - lil stuff like that) and stuff to be more like me haha.
I'll have to do this every time I change ROMs though and I'm pretty frequent at that.. I'll see if I can try adding only my customized values-en xml to a new ROM's SystemUI apk and hopefully having it work..?
But that's for another time, for now, I'm kinda happy to have this clean, empty notification shade. Real slick!
Thanks! :laugh: :highfive: :highfive:
GuitarGuy96 said:
This is probably the most delayed reply ever but...
I finally got it working! I tried it out again today - this time absolutely focused xD I still have absolutely no idea what went wrong back then, but I'm so glad it's working now. I followed on through that German YouTube video (made the first comment to it too!) and it worked!
I think I'll even use this method to change other text all over the phone xD Make it more informal (Battery is charging > Battery's charging - lil stuff like that) and stuff to be more like me haha.
I'll have to do this every time I change ROMs though and I'm pretty frequent at that.. I'll see if I can try adding only my customized values-en xml to a new ROM's SystemUI apk and hopefully having it work..?
But that's for another time, for now, I'm kinda happy to have this clean, empty notification shade. Real slick!
Thanks! :laugh: :highfive: :highfive:
Click to expand...
Click to collapse
am glad to see it is working now for you
i think it was because you hadnt got the right apktool, so you hadnt the values folder after decompiling
you can also look in the normal "values" folder in dimens, bools, and integers.xml there are some really amazing values you can modify :good:

Categories

Resources