zoneinfo folder - ASUS ZenFone 6 (2019) Questions & Answers

Could somebody with a fully updated system please post here their zoneinfo folder located at /system/usr/share/zoneinfo/
I want to update the timezone files but don't want to upgrade to Android 10
Thanks!!

papete said:
Could somebody with a fully updated system please post here their zoneinfo folder located at /system/usr/share/zoneinfo/
I want to update the timezone files but don't want to upgrade to Android 10
Thanks!!
Click to expand...
Click to collapse
After update to the latest .133.

Thanks!

Related

[Q] Help needed building list of APN's into ROM

I am building my own custom ROM based on Android 2.3.3 and Sense 2.1
I thought I would include a list of APN's from my previous ROM and thought it would just be a matter of moving the "\system\etc\apns-conf.xml" file to my new ROM (on the new ROM the file did not exist prior to me moving it from the other ROM).
However my APN settings (that are in the file) do not populate (even when going "Reset to default")...
Any ideas of what I may be doing wrong?
Thanks
Kris
open framework-res and browse to the xml folder and take from another framework-res in xml folder the apns xml file and put into the one you want
Worked it out the apns-conf.xml had <apns version="6"> in it ... needed to be version 8
i00 said:
Worked it out the apns-conf.xml had <apns version="6"> in it ... needed to be version 8
Click to expand...
Click to collapse
Just Change it to version 8
It will be working?
gonna mod my own later

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

Install duplicated apps ver without overwrite

I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
xdadfm said:
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
Click to expand...
Click to collapse
I think you cannot without modifying the two .APK, can you rename one then copy to root/system/app ?
xdadfm said:
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
Click to expand...
Click to collapse
By modifying the package name of any of the .apk file, I think you should be able to install both versions.. because while installing an App, Android will compare the .apk's package name with the .apks already installed before... The point of modifying the .apk file is to make sure that Android sees it as a completely different app, and not think of one as an update to the other...
For more info, check out link below:
http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app
and try Googling this:
"install two versions of the same app android"
ivan.untalan said:
I think you cannot without modifying the two .APK, can you rename one then copy to root/system/app ?
Click to expand...
Click to collapse
It crash as I assume
Sami Kabir said:
By modifying the package name of any of the .apk file, I think you should be able to install both versions.. because while installing an App, Android will compare the .apk's package name with the .apks already installed before... The point of modifying the .apk file is to make sure that Android sees it as a completely different app, and not think of one as an update to the other...
For more info, check out link below:
http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app
and try Googling this:
"install two versions of the same app android"
Click to expand...
Click to collapse
The linked having various discussion but non of them are working
I had google around and the only way is to have different profile https://play.google.com/store/apps/details?id=fahrbot.apps.switchme&hl=en
Which is very risky getting boot looping.
The safest method is to modified the .xml but I am not an android dev.I doesn't know how to modified it.
Does anyone know any tools which can modified .apk to custom version. ?
Thank you
xdadfm said:
It crash as I assume
The linked having various discussion but non of them are working
I had google around and the only way is to have different profile https://play.google.com/store/apps/details?id=fahrbot.apps.switchme&hl=en
Which is very risky getting boot looping.
The safest method is to modified the .xml but I am not an android dev.I doesn't know how to modified it.
Does anyone know any tools which can modified .apk to custom version. ?
Thank you
Click to expand...
Click to collapse
For modifying .apk files you need to Download and Setup a small tool called APKTOOL (for Windows)
Below is the link to the GUI version of apktool:
http://forum.xda-developers.com/showthread.php?p=33815550
The original version of apktool works with Windows' Command Promt's command line interface... If you want that instead, then Google "apktool for windows" or anything similar
After decompiling, I think you need to edit your AndroidManifest.xml file BUT I am not sure about this.. please Google "how to change application package name android"

[Request] SystemUI.apk from AT&T 4.4.2 XT1058

Hey guys, I've been trying out http://forum.xda-developers.com/moto-x/themes-apps/mod-aosp-signal-icons-t2584351 and http://forum.xda-developers.com/showthread.php?t=2641297 but completely forgot to back up my original systemUI.apk like an idiot.
I have attempted extracting from ATT_XT1058_4.4-13.11.1Q2.X-69-3_CFC_1FF.xml.zip but this appears to be just 4.4, whereas when I check the OTA Blur_Version.140.44.5.ghost_att.ATT.en.US_2.zip, I can see there's a .p patch file, however I'm at a loss as to where to go from here. Adding in the 4.4 SystemUI.apk just gives me a black background with force closes, and I don't know how to patch the apk with the .p file.
Long story short - can someone please extract their SystemUI.apk from their AT&T XT1058 4.4.2 rom and post here?
Okay, since I found out that ATT 4.4.2 firmware was finally added to http://sbf.droid-developers.org/phone.php?device=0, I was able to download and extract.
If anyone else ever has the same issue, the SystemUI.apk and .odex are attached
Thanks a lot
unable to install
Hey guys I downloaded the systemI but can't install it's. plz help me out.
Elite warrior said:
Hey guys I downloaded the systemI but can't install it's. plz help me out.
Click to expand...
Click to collapse
Put it in the root directory, system/app

[Tones]Oxygen OS 3.5.4 : Notifications / Ringtones / Alarms / UI From OP3t

For those who are looking for it, I've made a zip file which it contain all notification and ringtones from OxygenOS OP3t
Download : https://mega.nz/#!l9MwXR6Q!qenTXbdLg7eJ9vtW5r-LKH3QPPEPj3T3Ykyg9zgwnp8
Flashable Zip by @jukyO : https://mega.nz/#!aM9gwIKJ!0ASumQaaf...HRoLUJ4lntAHeg
Sources :
Files extracted from OnePlus 3T OxygenOS 3.5.4 at http://downloads.oneplus.net/
File were extracted with System Extractor Linux
https://github.com/matriex/System_Extractor-Linux
I've made a flashable zip, @OP, if you mind, I can delete it.
https://mega.nz/#!aM9gwIKJ!0ASumQaaf-Unjb9dqBbXw1JmFUcExHRoLUJ4lntAHeg
jukyO said:
I've made a flashable zip, @OP, if you mind, I can delete it.
https://mega.nz/#!aM9gwIKJ!0ASumQaaf-Unjb9dqBbXw1JmFUcExHRoLUJ4lntAHeg
Click to expand...
Click to collapse
Please post the decryption key
DRAGON_poop said:
Please post the decryption key
Click to expand...
Click to collapse
Maybe you need to register on mega.

Categories

Resources