[Q] Help adding Locale to local AOSP build - Nexus 7 Q&A, Help & Troubleshooting

hello there
I build AOSP 4.4.2 locally for my Nexus 7. Now wanted to add language tamil (ta-IN) as system UI .
Framework level ta-IN unicode support is already there in AOSP for apps since 4.1.
There are no other ROMS supporting this system UI. MoreLocale2 is not my choice as I wanted to build ROM from source
I understand that there need to be proper string translations in AOSP at
Code:
frameworks/base/core/res/res/values-<language>/strings.xml
for the system to display appropriate system message strings.
What more modifications do I need to make to AOSP sources to recognise my language as System UI language?
thanks

Related

[ROM] A new ROM named Avatar based on cyanogenmod

We have created a new ROM based on cyanogenmod with lot of persoalization. Its still in beta. Your feedback is appreciated.
ROM Details
ROM Name : Avatar
Android Version : 4.0.4
Base : CM 9.1
Supported Devices :
Nexus S(crespo)
HTC One X(endeavoru)
Samsung Galaxy SII(galaxys2)
Samsung Galaxy SIII(i9300)
Samsung Galaxy Nexus( maguro)
HIghlights :
Ported MIUI themes to CM format, Supports CM themes as well
Customized Lockscreen
Modified status bar with toggles and notification page
Modified theme chooser with support for online themes
Modified Launcher to support better theming
Integrated ACRA error reporter in framework level to help us improve ROM quality
Upcoming : Upgrade to CM10.1, Weebo (Personal assistant), Layout Theming and many more.
bippi79 said:
We have created a new ROM based on cyanogenmod with lot of persoalization. Its still in beta. Your feedback is appreciated.
ROM Details
ROM Name : Avatar
Android Version : 4.0.4
Base : CM 9.1
Supported Devices :
Nexus S(crespo)
HTC One X(endeavoru)
Samsung Galaxy SII(galaxys2)
Samsung Galaxy SIII(i9300)
Samsung Galaxy Nexus( maguro)
HIghlights :
Ported MIUI themes to CM format, Supports CM themes as well
Customized Lockscreen
Modified status bar with toggles and notification page
Modified theme chooser with support for online themes
Modified Launcher to support better theming
Integrated ACRA error reporter in framework level to help us improve ROM quality
Upcoming : Upgrade to CM10.1, Weebo (Personal assistant), Layout Theming and many more.
Click to expand...
Click to collapse
Have you read the rules, specially No. 11? Thread closed. Please don't post again another thread like this or you will be banned from XDA.

[Q] Several questions related to slimming down a Custom ROM for Galaxy W

hey,
i hope you guys here can help me out with some of my problems regarding the slimming process of a rom.
First of all i am only used to flash custom roms. I have not much expierence modifying custom roms at all.
Therefore I will have to ask a lot of questions.
Lets begin:
I am using arco68´s final release of 4.0.4 for Galaxy W, cygwin and the android kitchen .226
http://forum.xda-developers.com/showthread.php?t=1576874
As the title says i would like to slim down this rom.
Questions regarding the rom :
I started with removing all unnecessary apps. Except for the ones the system needs.
I also removed all sounds and videos but i cannot find the backgroud images/pictures
I would like it to have an all black background
Now i am looking for slim alternatives for a few system apps.
Slim Launcher: Nova?
gallery2.apk -> quickpic?
filemanager -> ???.apk
Furthermore i would like to remove all standard widgets, remove all fonts except the standard one(which one is it)
I am looking for a kernel with maximum battery life span (or should i change govenor and i/o scheduler?)
How do i know if build.prop tweaks work and which are necessary for better battery life and a fluid menu?
How do i slim down the latinime.apk and remove all languages except for german in my case
Questions regarding Gapps:
How do i slim down Gapps? I only need the playstore and sync contacts.
Questions regarding Android Kitchen:
Whats the difference between an update script and an updater script? I don get it...
Are there better tools than the Android Kitchen for beginners or is there a complete readme for the kitchen?

[MOD]Updated fonts for stock roms v5

Here i present to you updated fonts for our Xperia devices.
I have taken the AOSP font files from AOSP master(except for noto which is from 6.0.1 branch)
The Sony font files are from Xperia Z5,E6653,32.0.A.6.200
I have manually edited the XML files to match AOSP without losing any of the Sony fonts.
The zip was built using Android Script Creator made by @Octanium91 with updated binaries by me.
The updater_binary used is the one from ArchiKitchen - Android Kitchen made by @JustArchi .
The updater script was written by me.
This should work on any version of android xperia rom, however i have only tested on 5.1.1 on an Xperia Z C6603.
There is no clear changelog for this, but some highlights are:
Update Roboto font files to upstream version 2.01289, this fixes the accidental omision of IPA tone mark ligatures.
Update NotoColorEmoji font to Unicode 7 and 8, see all the new emoji here: http://blog.emojipedia.org/android-6-0-1-emoji-changelog/
Better compression for NotoColorEmoji
Please leave any feedback you have.
Feel free to use this in your own project or rom, but please don't forget to give credit to me.
Download: https://androidfilehost.com/?w=files&flid=45528
Flash with recovery (Tested on TWRP)
Update:V5 released.
Changelog:
Sony Fonts updated to Z3 Concept M build 2186
SomcUDGothic-Regular.ttf was depreciated so its removed
Add backward compatibily symlinks as described in fonts makefile
Remove DroidSansFallback since its intended only for SMALLER_FONT_FOOTPRINT build
Remove MTLmr3m.ttf as the full Japanese font is already included.
Updated to the full set of NOTO fonts as defined in the makefiles
Removed all hacks that make some of the black and white emoji show up as color. This issue needs to be fixed in the keyboard not in the fonts.
The Zip does a clean install every time now to prevent issues.
Update:V3 released.
Changelog:
Updated noto-cjk from v1.002 to v1.004
Updated nono-other fonts to git revision 33d499e
Update Roboto fonts to 15/08/20 build
WIP new explanations of what this is:
Google keeps compiled fonts in the AOSP source tree.
These fonts are updated sporadically and the updates don't get spread out well through all branches and releases.
Even worse, even the master branch fonts in AOSP are sometimes heavily outdated when compared to the fonts's sourcecode project. Unfortunately part of the compiling process is still closed source so we have to take what we can get, e.g. AOSP binaries.
What my mod does is cherry pick the latest font description XML from AOSP (usually master branch or a marshmallow tag), and merge that with the the XML's from Sony.
All the fonts that get used according to the XML are then cherry picked from their respective repositories on AOSP.
The Sony XML and Sony Fonts are taken from Z3 Marshmallow concept and/or Z5 roms, they are generally the same.
So in a nutshell this mod updates any outdated AOSP and Sony font on your phone and replaces the XML files so all those fonts actualy get used.
I also delete a few fonts that are either unused or depreciated.
This will work on any rom that uses the AOSP locations for fonts and XML's but it will not delete fonts that are not on stock roms so it could leave some clutter behind.
This mod does nothing to the input side of things, so you will need a marshmellow 6.0.1 aware keyboard to be able to type the new emoji's,
It seems to work out of the box on the sony keyboard and there are modded google keyboards available too.
Font sources:
Roboto
Upstream source: https://github.com/google/roboto
AOSP stable:
Noto
Upstream source: https://github.com/googlei18n/noto-fonts
AOSP stable:
Noto-CJK
Upstream source: https://github.com/googlei18n/noto-cjk/commits/master
AOSP stable:
Noto-emoji
Upstream source: https://github.com/googlei18n/noto-emoji
AOSP stable:
Emoji One (reviewing the posibility of adding this)
Upstream source: https://github.com/Ranks/emojione
AOSP stable: https://github.com/googlei18n/noto-emoji/issues/9
Upstream source: https://github.com/google/roboto
AOSP stable:
More to come..
notocoloremoji from ios or not?
cipetonk said:
notocoloremoji from ios or not?
Click to expand...
Click to collapse
No these are the official Google emoji's, so its almost the same as IOS9.1 now, you can see all the new ones here http://blog.emojipedia.org/android-6-0-1-emoji-changelog/
tetsuo55 said:
No these are the official Google emoji's, so its almost the same as IOS9.1 now, you can see all the new ones here http://blog.emojipedia.org/android-6-0-1-emoji-changelog/
Click to expand...
Click to collapse
thanks for the port, works beautifully on Z Ultra 5.1.1 latest update, and stock keyboard
kientrongtran said:
thanks for the port, works beautifully on Z Ultra 5.1.1 latest update, and stock keyboard
Click to expand...
Click to collapse
Great thanks for confirming
Just tested on my M4 Aqua. I can see all the new emojis but does the mod does not work with Google Keyboard but Xperia Keyboard works fine
I found a modded Google keyboard with all emojis enabled https://www.androidfilehost.com/?w=profile&uid=24052804347772174
can i use in xperia p cm12.1?
does the emoji support?
and how to install it?
I will look into rewriting the description based on your inputs.
To install it simply flash it from recovery
The mod will work on any rom that uses the standard AOSP location for font related files.
Since this is made for stock rom's on other roms some fonts might get orphaned since they are no longer called in the XML files,
Additionally the Sony fonts will replace some other fonts which might look strange if a view was designed for a specific font.
I also want to add that these fonts are the newest pre-compiled ones i could find, but that the source code for the fonts is actually many commits ahead of what google provides in AOSP. I can't compile the fonts myself so this is the best i can do for now.
Inputwise i'm glad to hear that the sony keyboard works, the google keyboard probably needs to be the one from marshmellow 6.0.1 onwards. thats probably what the linked modded keyboard is,
tetsuo55 said:
I will look into rewriting the description based on your inputs.
To install it simply flash it from recovery
The mod will work on any rom that uses the standard AOSP location for font related files.
Since this is made for stock rom's on other roms some fonts might get orphaned since they are no longer called in the XML files,
Additionally the Sony fonts will replace some other fonts which might look strange if a view was designed for a specific font.
I also want to add that these fonts are the newest pre-compiled ones i could find, but that the source code for the fonts is actually many commits ahead of what google provides in AOSP. I can't compile the fonts myself so this is the best i can do for now.
Inputwise i'm glad to hear that the sony keyboard works, the google keyboard probably needs to be the one from marshmellow 6.0.1 onwards. thats probably what the linked modded keyboard is,
Click to expand...
Click to collapse
Well it works fine on my Xperia M4 Aqua with 5.0 Stock. I think it would be nice to have a zip to revert to regular fonts.
ardentis said:
Well it works fine on my Xperia M4 Aqua with 5.0 Stock. I think it would be nice to have a zip to revert to regular fonts.
Click to expand...
Click to collapse
Great that it works. However reverting does not seem to make a lot of sense. Can you explain a scenario where it would make sense?
The only way a revert zip would work is if i backup the original files and actually wipe the whole font folder.
Even then you would get the same files back but with the unfixed bugs and unused fonts
Thanks for the update. Works fine on Z2 5.1.1
tetsuo55 said:
Great that it works. However reverting does not seem to make a lot of sense. Can you explain a scenario where it would make sense?
The only way a revert zip would work is if i backup the original files and actually wipe the whole font folder.
Even then you would get the same files back but with the unfixed bugs and unused fonts
Click to expand...
Click to collapse
The revert zip would be useful if it does not work or it causes a bootloop. In that case, you go into recovery and flash the revert zip
ardentis said:
Just tested on my M4 Aqua. I can see all the new emojis but does the mod does not work with Google Keyboard but Xperia Keyboard works fine
I found a modded Google keyboard with all emojis enabled https://www.androidfilehost.com/?w=profile&uid=24052804347772174
Click to expand...
Click to collapse
i try install it. but some emoji are supported. new emoji doesn't support.
shafyqsod said:
i try install it. but some emoji are supported. new emoji doesn't support.
Click to expand...
Click to collapse
Could you explain in more detail please?
tetsuo55 said:
Could you explain in more detail please?
Click to expand...
Click to collapse
its only show android 5.0 emoji only and what i see there many box with X in it.
when i flash updated font that you give, and try use back the google mod keyboard.
it fully function. all emoji can be use.
:good::good::good:
V3 uploaded.
This time i was able to get many files from upstream.
See first post for details.
Nothing has changed with regards to the (un)installer or the ability of keyboards to use new emoji's
I tried to compile the emoji font myself as there seem to be quite a few updates upstream but my server crashed, maybe some other time.
Version 5 released.
This will be the last version for a while i think, google is working on their font compiling framework and i don't expect any updates until they finish that part.
Note this version contains no emoji hacks, so some emoji's will display as black and white if they use the wrong unicode-code.
Confirmed working on Xperia M2
On Z1 Compact the updated emojis appear in the stock keyboard, but the flash really ruined a custom theme I was using (!). As if I installed some weird new theme. Why is that?
BTW, how can we use all those fonts?

Port from X500 to X507(Sharing)

ROM Profile
(Custom Rom Stable)(Removed Chinese stuff as it is base on China Release version) The ROM based on the official stable version of 12S OF Chinese Release ported to our X-507 English Version.
The stable version of firmware ROM based S1_x500-012S ported to X-507 custom made ROM is prerooted by kingroot.
edition exclusive power to add scripts standby lastingadd Dolby sound, holographic sound, deep shock
root integrity, and can freely customize the system
With the original firmware supporting boot.img
Holding ODEX separation, efficient and smooth running
Adjustment smali priority, fast bootsupport
Fingerprint unlocksupport
Sony Music player latest added (Removed stock music due to Chinese stuff)
Dolby Added and Viper4android added
Left all input methodsReserved intelligent remote reservation compass, tape recorders and other common tools
Streamlining the extensive use of less than apk and unnecessary components
Integrated busybox binaries, installation instructions set
gps optimized for fast positioning
WiFi reception range expand more optimization can experience the self- developer option to click on items on the phone to bring up the version number
For Google apps like play store need to install Google installer use this app to install play store.
which is included in download link.
Installation Instruction:- Use only TWRP Recovery to install this rom.
Wipe all data & cache
Wipe dalvik cache
Install Rom & enjoyee....
Note:- Please Do all on your Own risk, I am not responsible for any Brick.
Make Nandroid backup before installation.(so that if anything goes wrong You can restore your backup.)
Launcher has a default diamond icon which You can use only for Google search app.
Just install Google search and it will work for Google voice search.
I didn't made this rom just compile to work with X507.
Google Installer
Rom Link
The exact name of the ROM ?
The exact author ROM ?
original info link ?
dude first of all it is not a port and all the roms which are made for x500 model will also work in x507 (indian version) so stop calling them a ported rom

[ROM][7.1.2][UNOFFICIAL][OMS/XPOSED] Mokee Unofficial for Sony Xperia Z1

Introduction:
MoKee OpenSource is based on the Google AOSP. We update our source code frequently to keep up with the latest development, and not forgetting to merge in special features of our own at the same time.
A small group of people from around the world who are interested in Android launched this project on the 12th of December 2012, and is committed to make this ROM better and better. Like most contributors of open source projects (Omni, CyanogenMod, Slim AOSPA etc), we are doing all these in our free time as our passion...
Since this project is open source, anyone interested can participate in the development (maintain new devices, contribute code etc). Newcomers are always welcomed!
Features:
Synced with latest sources
Incremental updates
Native exFAT support (Samsung devices only)
ListView animations
Calendar - with lunar and solar calenders
Lunar calendar in lock screen
Task switching sidebar in recent apps (the list will increase if you install supported apps)
Bulk SMS recipients
Adjustable SMS font size
SMS sending delay
Smart dialing
Speed dialing
IP dialing
Custom carrier name
Network speed in status bar (upload and download!)
Built in timer in Apollo - determine when to stop playing music
MoKee Setup Wizard
Active Display
Adjustable navigation bar height
Unique Power Saver functions!
Custom screen off animations
Customizable recent apps shorcuts
Lockscreen notifications
Working Substratum theme engine
Integrated Xposed Support
Download Links:
https://mega.nz/#!0HoWBDSK!k4Io3Y32TcdrBlxVvt2XGSCbTIDtNKeuDp7esO2ehfg
Credits:
- MoKee Developers
- CyanogenMod
- AOSP
- Slim Roms
- OmniROM
Contributors
@SuperLamic
Source Code:
honami:https://github.com/Remim7/android_device_sony_honami/tree/mk-n
rhine-common:https://github.com/Remim7/android_device_sony_rhine-common/tree/mk-n
msm8974-common:https://github.com/Remim7/android_device_sony_msm8974-common/tree/mk-n
kernel:https://github.com/Remim7/android_kernel_sony_msm8974/tree/mk-n
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required:14.A.1.236 Firmware
Based On: AOSP
Version Information
Status: Stable
Created 2018-04-29
Screenshot
https://mega.nz/#!NXwVBCxK!cPcdoiQrf4xZa4eMwO75F9EULfPxKHQpUVVOBoE1WhQ
https://mega.nz/#!xag2HTjC!QKJRoqVMbwTSJYKrAdllScrNsRMMHVJ1kCQUQJ-IG4c
https://mega.nz/#!gG5mXBiB!8cm1MDlU3GCsCbZBikxX50bRLRKvEZ7KBC9sxP6CLRo
https://mega.nz/#!NHhDiDqT!UZuiY5fW0c-nbW5DAErXTQwvODKkqutiuOa-9aHP8j8
https://mega.nz/#!kXxjlJIT!B2WMreulvSqhNqr_JL78IsBDXKH_Q1LiffkR_4-odGc
https://mega.nz/#!kDRiSQia!M7UKsPb4l-qND9Ml1z257iSmIrbmoj-V-yp7vAqAOJ8
https://mega.nz/#!BLxQRSZJ!As0ByPJYr5ESXQfXLDM_gJbrHmR2oe86YMBt6cEbLmY
https://mega.nz/#!kOQVDTCQ!kytWB9EBd43Q2N1GMA8s1ncU_2hh7709o15zldIZF_s
https://mega.nz/#!oKxVlJ7C!xruzs60VQ0Hy8gmRGYYMn08aFRgT0_K-dcKMGbdC9xM
https://mega.nz/#!JLpSAYYb!m8g_-U_rx2MrAoaJR2govwVZ0yvlWzTrl9YoXbroOAo
https://mega.nz/#!8LBUiJCT!KiHwfOl-9k1neIW5sRG6EyiBDpiqDJACOHOn4uRgURA
https://mega.nz/#!9L5x0ILA!KtHmGkYLKG_X1ABl6c-qdP5d9YsUKFPQsYBWIA0DSNQ
https://mega.nz/#!FCxWgL5S!5ZrgmmnjH1K1MDk8W0KSs5VVGuI53daUVOhk_UAn3EU
https://mega.nz/#!FCwxyLCa!_5KHo0a-WswBVbsOvqUH-EC7tuXk9Ky2ZhGbMOzp4kA
https://mega.nz/#!IDYl1I7Z!Uq7repIDJ4DCfDhTdjTJhOtVJtNTcF5KqGhogRcReB4
国人可以去国内的论坛
http://bbs.gfan.com/android-9289362-1-1.html
Hello. Thanks for your good rom, I installed the rom today. Everything works fine. I'll announce it.
Nice work!
Sent from my [device_name] using XDA-Developers Legacy app
i get the "error executing updated binary in zip "/sdcard/MK71.2-honami-201804261426-UNOFFICIAL.zip"
UNL BL, Rooted 5.1.1, Dual Recovery 2.8
BLiapis said:
i get the "error executing updated binary in zip "/sdcard/MK71.2-honami-201804261426-UNOFFICIAL.zip"
UNL BL, Rooted 5.1.1, Dual Recovery 2.8
Click to expand...
Click to collapse
And so i was able to fix my ****, namely managing to install twrp 3.2
Phone works fine, except the usual overheating. It was rebooting normally and all that, but at one time i left it home only to find it depleted and nothing I did to bring it on was working.
At the end after hours, it managed to get some juice in it and be able to start and boot into the OS.
Another problem though, i cant download specific apps from play store, as in the device is not recognized for what it is. I even installed a sony-enabler though TWRP, which masks the phone identity into looking like a Sony. Still no go. For example i cant install Netflix, it gives a "non-supported device" error. (it doesnt appear at all in the appstore, i sideloaded it.
Still havent managed to resolve the google play "unsupported device" error.

Categories

Resources