Unpack system.img, add system language and repack it - Android Q&A, Help & Troubleshooting

Hi there,
I have a chinese phone Haier W718, as I buy it to make ROM modifications and learn how to compile and edit Android ROMs. I have the system.img dump from the original ROM and now I want to make the following.
1. Decompile the system.img file
2. Add new system languages
3. Compile and flash the ROM
So my question is how to properly decompile it and add the language that I want? I search for some tools in XDA but I am not sure if the things that I found are the proper ones. Can you please give me the right links for tools about this whole process. I also want to find some more information how to properly add a system language. Thank you in advance! By the way, I am using Linux so it will be better if the tools for compile and decompile are Linux compatible.
Cheers

Related

[Q] How can we add new languages to our custom rom??

Hello everybody...
I want to know that, Is there any way to add a new language support ( just for characters not for UI ) to a rom that we want to customize it???
I tried to add fonts of the new language to the rom, but it just showed the characters disconnected;
Then I tried to replace the LIBSKIA, LIBSKIAGL and LIBSWEBCORE from n rom that supports the language to my rom, and then added fonts , but this time, after flashing the rom did not log in and just freezed in at the HTC logo..
I want to add Arabic - Persian support to my rom, can anyone help???
--------------------
How if I want to add the language to UI ..?? ( How can we change the UI.??)
mercury700ir said:
Hello everybody...
I want to know that, Is there any way to add a new language support ( just for characters not for UI ) to a rom that we want to customize it???
I tried to add fonts of the new language to the rom, but it just showed the characters disconnected;
Then I tried to replace the LIBSKIA, LIBSKIAGL and LIBSWEBCORE from n rom that supports the language to my rom, and then added fonts , but this time, after flashing the rom did not log in and just freezed in at the HTC logo..
I want to add Arabic - Persian support to my rom, can anyone help???
--------------------
How if I want to add the language to UI ..?? ( How can we change the UI.??)
Click to expand...
Click to collapse
well the best way is to room arabic supporting rom, I am currently working on HTC Legend Stock Rom, I will root it, add market and upload it.
If you need other roms maybe you can check this: http://ardoid.com/
add new language
I have Samsung Galaxy Tab (SPH-P100) which it is special America
I try to do my full Arabization device (add arabic language)
I copied system files framework-res.apk, Settings.apk, TouchWiz30Launcher.apk and twframework-res.apk from the device and decompiled it by APk tools
And modified files strings and other
but I can't recompile them again
And now upload modified files and original files
I want from any developer recompile them and upload again
original files
mediafire.com/?uxi9s74ackc4p8f
new modified files only
mediafire.com/?2p7600e9a6sepzj
I ask anyone who has comments or tips be so kind to me if there are important steps or other files must be modified, because may help many others people
xx979xx said:
I have Samsung Galaxy Tab (SPH-P100) which it is special America
I try to do my full Arabization device (add arabic language)
I copied system files framework-res.apk, Settings.apk, TouchWiz30Launcher.apk and twframework-res.apk from the device and decompiled it by APk tools
And modified files strings and other
but I can't recompile them again
And now upload modified files and original files
I want from any developer recompile them and upload again
original files
mediafire.com/?uxi9s74ackc4p8f
new modified files only
mediafire.com/?2p7600e9a6sepzj
I ask anyone who has comments or tips be so kind to me if there are important steps or other files must be modified, because may help many others people
Click to expand...
Click to collapse
If I understand you correctly, you are taking files from the framework of one device and putting them into the framework of a different device?
If that's the case, you can't do that. Apks (even framework apks) rely heavily on things like resource ids, which very greatly from device to device, or from rom to rom.
Unfortunately Im nit sure how to do what you are seeking to do, just offering some advice on your apk compiling problem. Also, if I've completely misunderstood what you were doing, I apologize and disregard what I said.
In any case, post the compiling error your getting.
Sent from my ADR6400L using xda premium

[Q] Please Give Me An Extra Information About Extract Android System File

PLease Tell Me How To UnPack and ReCompile The Android .img or exts image becaue i need to add My own app and THai Font Also ..Thank..
Tineprogramming
Your going to have to search for your answers and read like everyone else.
Solved
Click here for the answer

[Q] Decompiling the "classes.dex" file for BIDI support

Hi All,
I'm a noob ROM developer and I want to create a new Rom based on
one of the great Roms here on this forum and add it support for RTL languages so it can support correct display of numbers when displaying an RTL lang.
As I understand I need to somehow decompile the "classes.dex" so I can edit the code in it and compile it again.
How can I achieve this? Maybe I can the original source code of it so I don't need to decompile?
I'm experienced with c++ and Java Android apps development but don't have a clue from where to start roms development.
Appreciated your help,
Thanks,
Oren

Help needed - boot.img from i9070p

Hello. I want to create my own rom with help of this thread: http://forum.xda-developers.com/showthread.php?t=1801690
I got dsixda's kitchen working properly and system folder from non-branded samsung rom. But the problem is boot.img i spent over 3 hours at finding a way to pull it. I found only to install x64 ubuntu in virtual machine, compile kernel from samsung opensource files and then get boot.img from kernel. Could anybody get boot.img for i9070p or give me good advice how to do it easy way?

[Q] Modifying Smali Code and recompile it.

I have read all the threads on the topic of decompiling APK file and recompiling it, and so far I am successful in decompiling and recompiling it.And now I want to make some changes in smali files like change package name and remove some features, But I don't know smali language, so Is there a way that I can convert smali files into Android JAVA project which I can import into Eclipse or I must have to learn smali language to achieve what I want.
Thanks in Advance
decompilerr said:
I have read all the threads on the topic of decompiling APK file and recompiling it, and so far I am successful in decompiling and recompiling it.And now I want to make some changes in smali files like change package name and remove some features, But I don't know smali language, so Is there a way that I can convert smali files into Android JAVA project which I can import into Eclipse or I must have to learn smali language to achieve what I want.
Thanks in Advance
Click to expand...
Click to collapse
It can be done with smali also ....
Only thing is you need to be tricky ....[emoji6]
Am not writing the procedure here coz changing package name doesn't sounds good for me [emoji1] I always respect efforts of original developers (some kangers always do change name and remove some features and claim the apk as theirs in generally am saying don't get hurted )
So I just want to confirm that changing package name and removing some features is possible via smali editing no need to convert the apk to java source .......
Press Thanks Button If You like My Work & Posts?

Categories

Resources