Remove Chinese symbol in LEWA rom - Android Q&A, Help & Troubleshooting

Hi all,
Anyone help me how to remove these Chinese symbol in LEWA rom (bbs.lewaos.com/download.php)
I can not find the string in string.xml (PIM.apk and Phone.apk).
Thanks

Do you know what it means?
If you do, you could find a more logical place with that string...
Framework perhaps?
Sent from my Galaxy Nexus using Tapatalk 2

caydua said:
Hi all,
Anyone help me how to remove these Chinese symbol in LEWA rom (bbs.lewaos.com/download.php)
I can not find the string in string.xml (PIM.apk and Phone.apk).
Thanks
Click to expand...
Click to collapse
Hi did you ever find out how to remove or translate this text
I have ported a Lewa ROM and would like to clean up the Chinese letters Language is some of the stock lewa app's and framework such as the phone dialer too.

**
Remove Chinese symbol in LEWA rom:
You can remove the chinese characters by removing LocationProvider.apk (delete).
Within MmsFavoriteProvider.apk has SQLite database (. Db), I can open and edit the text.
The file is /res/raw/mmsfrovider.db (Preprogrammed messages).
Already quick texts are in arrays.xml of "TelephonyProvider.apk", putting what I want and recompile
Use this program:
https://mega.co.nz/#!ZsFlmRJY!V3F8MVv3LWmqj4NfGbgl4Ep_CqIGv-lhzyJY8yifa4U
look:

falcaobr said:
**
Remove Chinese symbol in LEWA rom:
You can remove the chinese characters by removing LocationProvider.apk (delete).
Within MmsFavoriteProvider.apk has SQLite database (. Db), I can open and edit the text.
The file is /res/raw/mmsfrovider.db (Preprogrammed messages).
Already quick texts are in arrays.xml of "TelephonyProvider.apk", putting what I want and recompile
Use this program:
https://mega.co.nz/#!ZsFlmRJY!V3F8MVv3LWmqj4NfGbgl4Ep_CqIGv-lhzyJY8yifa4U
look:
Click to expand...
Click to collapse
WOW Thanks for tips @falcaobr :highfive:
Probably a dumb question but could I just replace the LocationProvider.apk with the one from my stock ROM or is the Lewa LocationProvider.apk framework specific
:victory:
Ok I removed the the LocationProvider.apk and the Chinese text is gone :good:
I have found The file /res/raw/mmsfrovider.db and I can edit the text with SQLite database as you suggest :good:
I have a problem with the quick texts arrays.xml of "TelephonyProvider.apk" I can not find arrays.xml within the .apk
I do have the option to send quick text replies in Chinese so I guess the file must be there somewhere (should I use apktool to decompile the apk)

bigrammy said:
...I have a problem with the quick texts arrays.xml of "TelephonyProvider.apk" I can not find arrays.xml within the .apk
I do have the option to send quick text replies in Chinese so I guess the file must be there somewhere (should I use apktool to decompile the apk)
Click to expand...
Click to collapse
Ok,
Test can replace LocationProvider, but does not affect anything, best to delete.
Yes, quick texts are arrays.xml.
TelefoneProvider.apk have to decompile with apktool and edit:
res/values​​/arrays.xml.
cheers

falcaobr said:
Ok,
Test can replace LocationProvider, but does not affect anything, best to delete.
Yes, quick texts are arrays.xml.
TelefoneProvider.apk have to decompile with apktool and edit:
res/values​​/arrays.xml.
cheers
Click to expand...
Click to collapse
Hi Thanks @falcaobr,
I will use apktool to try locate the arrays.xml in /res/values as 7zip does not show "values" or unpack this
I deleted LocationProvider as you said and everything is normal and does not seem to affect anything as you have said except removing the chinese from the contacts.
Thanks for the help bro it is much appreciated

bigrammy said:
Hi Thanks @falcaobr,
I will use apktool to try locate the arrays.xml in /res/values as 7zip does not show "values" or unpack this
I deleted LocationProvider as you said and everything is normal and does not seem to affect anything as you have said except removing the chinese from the contacts.
Thanks for the help bro it is much appreciated
Click to expand...
Click to collapse
hey buddy hows your experiment??got succes with it?wanna know..:fingers-crossed:

stubbornboy said:
hey buddy hows your experiment??got succes with it?wanna know..:fingers-crossed:
Click to expand...
Click to collapse
Hi @stubbornboy
Just follow the above posts it all works :highfive:
I still have not got around to fully editing the quick texts as I am very very lazy :laugh: Maybe I will do it soon

bigrammy said:
Hi Thanks @falcaobr,
I will use apktool to try locate the arrays.xml in /res/values as 7zip does not show "values" or unpack this
I deleted LocationProvider as you said and everything is normal and does not seem to affect anything as you have said except removing the chinese from the contacts.
Thanks for the help bro it is much appreciated
Click to expand...
Click to collapse
bigrammy said:
Hi @stubbornboy
Just follow the above posts it all works :highfive:
I still have not got around to fully editing the quick texts as I am very very lazy :laugh: Maybe I will do it soon
Click to expand...
Click to collapse
glad to hear that @bigrammy..i gotta try to.
thank for the info:highfive:

Related

[Q] How to add data toggle in notification

Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
yes please
Yeah i was under the impression that it's Kernel/ROM dependent but its a massive feature im missing coming from a HTC desire running CM7 and im not up for testing the CM nightlies with a new baby to look after just in case my wife needs me asap lol
Please What do not say how to add the data toggle
cerede2000 said:
Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
Click to expand...
Click to collapse
Wrong thread. You can find out more on " Samsung Galaxy S2 Q&A"
No one answers in Q & A as seems to be the case here.
Why no one wants to unravel the mystery
cerede2000 is right, this is a key feature, that I personally would love to see, on a stockish sgs2 rom.
I've recently noticed the appearance of the data toggle, which was promising, but no way to customise.
perhaps now that the devs are getting more stable roms they could delve further into this?
Ah one can dream.
Hold power button... Data off. hehe
Otherwise, I think Cognition ROM has it.
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
cerede2000 said:
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
Click to expand...
Click to collapse
Posted on your other thread in Q&A... It's in SystemUI.apk, can't say where though.
I try to modify SystemUI.apk in smali files but have FC's
Are you sure is just SystemUI.apk ?
I do not understand when I put directly SystemUI.apk of Cognition ROM it works well.
However when I change my ROM from my stock SystemUI.apk XXKG3 j'obtient one of FC's SystemUI.apk.
Please help me.
Here is my SystemUI.apk : http://www.multiupload.com/15QBK0IX9U
What is wrong with my SystemUI changed.
Thank you!
The reason is that your stock ROM is odexed and the other is deodexed.
This thread should be in the Q&A section.
Absolutely not! I deodex my rom...
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
cerede2000 said:
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
Click to expand...
Click to collapse
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
sicopat said:
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
Click to expand...
Click to collapse
I not only added the png. I changed the xml files and smali files.
I edit by hand public.xml.
I'll let ApkManager do I see if I have no FC's.
Great! It's work!
We had to do to just let ApkManager public.xml!

You may like these new launchers!

Those who want to try some new launchers.
QQLauncher Pro
https://market.android.com/details?id=com.tencent.qqlauncher&feature=search_result
DXHome
https://market.android.com/details?id=com.dianxinos.dxhome&feature=search_result
Tencent Desktop
https://market.android.com/details?id=com.tencent.launcher
All free!
Tencent desktop is INSTALLABLE miui launcher with the original miui weather app
Wish they release an english version...
Rapier07 said:
Tencent desktop is INSTALLABLE miui launcher with the original miui weather app
Wish they release an english version...
Click to expand...
Click to collapse
Or we can help them translate
Strings from miui english rom can be used with some modding
Any chinese guy here?
Qq launcher is an adorable infant in early stages, very nice layout and beautiful.
Technically no real options, I'm going to keep this and stay up to date.
Dx, this launcher has got the most beautiful transitions I've ever seen. Its semi fugly and could use a facelift. Not alot of options either too. More then Qq but not by much.
Didn't install Tescent because I already got MIUI installed and its not in English
When installing Qq, becareful of it. It has alot of demanding permissions including calling contacts and texting them without your approval. Along with Dilly dallying with your system tools. Just keep an eye on it.
Sent from my ADR6300 using XDA App
The permissions are something to be concerned about... Dxhome asked me to update from an external server and since I updated the data connection is continuously in use, other apps can't access the internet..
uninstalling for now
http://forum.xda-developers.com/showthread.php?t=1209821
<-------- Tencent's Translated Launcher! Enjoy!
Edit --- FAIL! doesnt work! :/
katkoriaarpan said:
http://forum.xda-developers.com/showthread.php?t=1209821
<-------- Tencent's Translated Launcher! Enjoy!
PS - Do Hit the THANKS button!
Click to expand...
Click to collapse
Did you manage to instal it..?
I get application not installed
Rapier07 said:
Did you manage to instal it..?
I get application not installed
Click to expand...
Click to collapse
Ya just tried to install...cudnt...crap!
MIUIwiz still the best.
I'am already using Brigo's MIUIwiz version. Thing is, MIUIwiz is jerky @ 667 performance. I purposely test which lancher really fly at 667. And MIUIwiz does not, its still jerky no matter what preferences I select. But Tancent is really fast even @ 667. Tancent looks the best from the three. But its true they all feel suspicious. MIUIwiz, ported by our guys, safe, stable, complete package.
Hey i just noticed this! u guys having trouble with tancent? I' ve installed it perfectly and I dont see 'everythig' chinese, just 2 icons, a clock widget (although u tap on it and enter ur City name in English.) and folders named in chinese (which you can edit and name them in English) besides those two strange app icons i dont see anything written in chinese.
A quick translation try failed
But most probablt it got something to do with recompiling
Currently out, will try to solve when back home
What i did :
Decompiled the apk
Opened up strings.xml and used uzitech to translate(simple cp of strings doesnt work, had to do some edits)
Recompiled
It didnt install
Copied signature from original apk still it didnt install
Can anyone help on this?
OMG...qqlauncher is so awesome
Thank u for the information
cdesai said:
A quick translation try failed
But most probablt it got something to do with recompiling
Currently out, will try to solve when back home
What i did :
Decompiled the apk
Opened up strings.xml and used uzitech to translate(simple cp of strings doesnt work, had to do some edits)
Recompiled
It didnt install
Copied signature from original apk still it didnt install
Can anyone help on this?
Click to expand...
Click to collapse
try replacing strings.xml with the translated version without decompiling maybe that works
RafayelG said:
try replacing strings.xml with the translated version without decompiling maybe that works
Click to expand...
Click to collapse
LOL it wont work at all
Reasons:
1: open the apk - you wont get a values folder without decompiling
2: the compiled xmls are binary xmls while the decompiled ones are normal (readable)
3: thats it!
Anyways thanks for replying
cdesai said:
LOL it wont work at all
Reasons:
1: open the apk - you wont get a values folder without decompiling
2: the compiled xmls are binary xmls while the decompiled ones are normal (readable)
3: thats it!
Anyways thanks for replying
Click to expand...
Click to collapse
Check out what [URL="forum.xda-developers.com/showthread.php?t=1209821]this[/URL] guy did..
Anyways I'm using the chinese version with Suave HD theme
cdesai said:
LOL it wont work at all
Reasons:
1: open the apk - you wont get a values folder without decompiling
2: the compiled xmls are binary xmls while the decompiled ones are normal (readable)
3: thats it!
Anyways thanks for replying
Click to expand...
Click to collapse
I meant copy them from the translated apk this one.

[Q] notification pulldown background

First, sorry for my poor english and thanks to everyone can help me. I really really want to change notification pulldown background to a custom PNG image. So who can show me how to do?
I'm using JJ Hybrid ROm for arcS.
THanks
Oohhlala said:
First, sorry for my poor english and thanks to everyone can help me. I really really want to change notification pulldown background to a custom PNG image. So who can show me how to do?
I'm using JJ Hybrid ROm for arcS.
THanks
Click to expand...
Click to collapse
wrong section :/
http://forum.xda-developers.com/showthread.php?t=1374394
@pandamic : sorry mate, i'm newbie
XperienceD said:
http://forum.xda-developers.com/showthread.php?t=1374394
Click to expand...
Click to collapse
thanks for link, i follow your guide to de-compile SystemUI.apk for editing, i used the guide from http://forum.xda-developers.com/showthread.php?t=1803813 to edit my systemui and when i move new systemui.apk to my phone, i lost my notification . I think i didn't understand exactly these sentences in you guide "Before using the new apk you need to extract the resources.arsc, then simply put it back in the new apk overwriting the original resources.arsc.
In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method..."
The resources.arsc file i have to put in the new apk is the one in the decompiled apk folder ?
Sorry for my poor english. THanks
Oohhlala said:
I think i didn't understand exactly these sentences in you guide "Before using the new apk you need to extract the resources.arsc, then simply put it back in the new apk overwriting the original resources.arsc.
In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method..."
The resources.arsc file i have to put in the new apk is the one in the decompiled apk folder ?
Sorry for my poor english. THanks
Click to expand...
Click to collapse
No, it's the one from the newly built apk, simply extract it then add it straight back.
XperienceD said:
No, it's the one from the newly built apk, simply extract it then add it straight back.
Click to expand...
Click to collapse
i think i did exactly to compile the apk because i didn't have got bootloop. But i didn't have good result of " dropdown background " editing. I was still fail, lost my notification bar again. It made me a headache three days
I dont know i was wrong in which step to change " dropdown background " into picture
btw when i used Theming tool do decompile Settings.apk, it was fail

[Q] How to remuve menus from settings.apk?

i want to ask if any body tried already to remove menus from settings like i want to hide the about phone on stock settings.apk deodexed on jb 4.2 i want to get rid of some menus in my settings i ported dakele os to mtk6589 so i would like to ask if how to? since it is a ported rom some of the menus are not a feature of my stock rom and i want to hide or remove them just to prevent boot loop for example like this in the attachment below i want to get rid of the ad block or sensor_cali .. ..
i badly need help kinda excited to release my ported rom hehe
TIA:good::fingers-crossed:
uppdate: ive done some experement in settings_header.xml i tried to change the name of about phone to phone only and it works so my conclusion is settings_headers changes the appearance of the settings menu
I have not used ICS or JB much but it's possible.
I know exact process of how to do that on GB but not ICS. You'll have to decompile Settings.apk and look for the xml which controls the layout of app.
iamareebjamal said:
I have not used ICS or JB much but it's possible.
I know exact process of how to do that on GB but not ICS. You'll have to decompile Settings.apk and look for the xml which controls the layout of app.
Click to expand...
Click to collapse
yes i think its the settings.header yet everytime i change something in that xml,recompile success, and push my mooded settings but the problem is it wont open systemUI stops everytime i try to open settings from the noti. bar and there's no icon for settings in the drawer ive check the permission its rw-r-r and its correct . ive also tried drag and drop signing still the same problem
marc2777 said:
yes i think its the settings.header yet everytime i change something in that xml,recompile success, and push my mooded settings but the problem is it wont open systemUI stops everytime i try to open settings from the noti. bar and there's no icon for settings in the drawer ive check the permission its rw-r-r and its correct . ive also tried drag and drop signing still the same problem
Click to expand...
Click to collapse
Which tool are you using to compile apps? And System apps don't need to be signed. Maybe that's the problem.
If you want, you can check out Ultimate Guide in Android Development Section which shows how to correctly compile system apps. Its sticky(noun, not an adjective ) there
iamareebjamal said:
Which tool are you using to compile apps? And System apps don't need to be signed. Maybe that's the problem.
If you want, you can check out Ultimate Guide in Android Development Section which shows how to correctly compile system apps. Its sticky(noun, not an adjective ) there
Click to expand...
Click to collapse
sorry gotta bad english here tnx gonna check it out
marc2777 said:
sorry gotta bad english here tnx gonna check it out
Click to expand...
Click to collapse
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
marc2777 said:
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
Click to expand...
Click to collapse
Then maybe that xml doesn't change it
Or, did you delete the modded files from keep folder?
marc2777 said:
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
Click to expand...
Click to collapse
Are you extracting the resources.arsc from the new apk and dropping it back again after compiling?
XperienceD said:
Are you extracting the resources.arsc from the new apk and dropping it back again after compiling?
Click to expand...
Click to collapse
since im using multi tool i dont know if that resource.asrc is original from my original apk for example i already compiled my modded settings.apk shud i keep the resource.asrc or shud i get the resource.asrc from the original and unmodded settings.apk?
1757 fuchet
iamareebjamal said:
Then maybe that xml doesn't change it
Or, did you delete the modded files from keep folder?
Click to expand...
Click to collapse
ive read alot of tuts on how to add apps on settings menu yes it is possible since it is possible to add then maybe it is possible to delete ive tried to reverse the tuts on adding to delete the menus specially on the settings_header.xml and strings tried to edit those xmls after editing recompile i directly push it to my phone i tried to push unsigned and signed apks yet i get same results nothing change i got a feeling that resource.asrc has something to do with this
marc2777 said:
ive read alot of tuts on how to add apps on settings menu yes it is possible since it is possible to add then maybe it is possible to delete ive tried to reverse the tuts on adding to delete the menus specially on the settings_header.xml and strings tried to edit those xmls after editing recompile i directly push it to my phone i tried to push unsigned and signed apks yet i get same results nothing change i got a feeling that resource.asrc has something to do with this
Click to expand...
Click to collapse
If you've read my guide, you would know that you'll have to add resources.arsc from new app to old app and then push old app to your phone
iamareebjamal said:
If you've read my guide, you would know that you'll have to add resources.arsc from new app to old app and then push old app to your phone
Click to expand...
Click to collapse
can you lead mo to ur link/? so this means the created resources.asrc from my mooded apk will be transfered to my original apk am i ryt? and ill push my old apk ?
marc2777 said:
can you lead mo to ur link/? so this means the created resources.asrc from my mooded apk will be transfered to my original apk am i ryt? and ill push my old apk ?
Click to expand...
Click to collapse
Here you go
http://forum.xda-developers.com/showthread.php?t=2326393
I hope its good enough to make it clear
iamareebjamal said:
Here you go
http://forum.xda-developers.com/showthread.php?t=2326393
I hope its good enough to make it clear
Click to expand...
Click to collapse
tnx im reading this but as i check my log something is weird in the res forlder of settings.apk since this is a ported rom there are some folders that multi tool cant read
marc2777 said:
tnx im reading this but as i check my log something is weird in the res forlder of settings.apk since this is a ported rom there are some folders that multi tool cant read
Click to expand...
Click to collapse
Upload your apk.
XperienceD said:
Upload your apk.
Click to expand...
Click to collapse
http://www.4shared.com/account/home.jsp#dir=VTulsuo_ everything you need is in that link i hope you can help me im havng a hard time T_T
marc2777 said:
http://www.4shared.com/account/home.jsp#dir=VTulsuo_ everything you need is in that link i hope you can help me im havng a hard time T_T
Click to expand...
Click to collapse
Access denied?
XperienceD said:
Access denied?
Click to expand...
Click to collapse
access denied ? where sir? in the links?
marc2777 said:
access denied ? where sir? in the links?
Click to expand...
Click to collapse
Works now, but no Settings.apk?
XperienceD said:
Works now, but no Settings.apk?
Click to expand...
Click to collapse
o my god my settings.apk is gone reuploading demet

How do edit speed dial android 6.0.1

Hi guys
I want to edit speed dial
Background, round corner, text color
How to this.?
abdoosman said:
Hi guys
I want to edit speed dial
Background, round corner, text color
How to this.?
Click to expand...
Click to collapse
You'll need to use apktool.jar to decompile the apk then to recompile again and test. Keep in mind you'll need some knowledge on XML coding
TheExploitedOne said:
You'll need to use apktool.jar to decompile the apk then to recompile again and test. Keep in mind you'll need some knowledge on XML coding
Click to expand...
Click to collapse
Thank you
I have knowledge of the. xml files
where I find the files for this
Dialer.apk or Contact.apk.?
abdoosman said:
Thank you
I have knowledge of the. xml files
where I find the files for this
Dialer.apk or Contact.apk.?
Click to expand...
Click to collapse
Usually under /system/app or /system/priv-app
TheExploitedOne said:
Usually under /system/app or /system/priv-app
Click to expand...
Click to collapse
Thank you
I decompile the Dialer.apk app
where I find its layout speed Dial
abdoosman said:
Thank you
I decompile the Dialer.apk app
where I find its layout speed Dial
Click to expand...
Click to collapse
You should see a folder called layout or something similar

Categories

Resources