[Q] xposed Modules edit AndroidManifest.xml - Xposed General

Can Anyone help me make Module edit AndroidManifest.xml? please
android:supportsRtl="true"
To
android:supportsRtl="false"
In any application
Sorry for my bad english

uhoj said:
can anyone help me make module edit androidmanifest.xml? Please
android:supportsrtl="true"
to
android:supportsrtl="false"
in any application
sorry for my bad english
Click to expand...
Click to collapse
???

It's not possible to modify an XML file directly. Your best bet is analyzing the AOSP source code to find out how which part of the code takes care of reading this attribute and check for a good place to modify that part of the code.

rovo89 said:
It's not possible to modify an XML file directly. Your best bet is analyzing the AOSP source code to find out how which part of the code takes care of reading this attribute and check for a good place to modify that part of the code.
Click to expand...
Click to collapse
Thanks

Related

how do you read xml files in the apk files, help???

Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Right click on the file, click open with and choose notepad to view its raw formating. if you want a cleaner look use word to view the XML file. Be careful not to save it in word though it can garble the file. you will just have to play with it to see what works for you.
IE definitely is not a good way to view and edit XML files.
Sent from my HERO200 using XDA App
&RoidRage said:
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Great advice!
lol j/k
Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Click to expand...
Click to collapse
Do a search in the forums. There are threads I have started and others as well that explain and gives u apps to help
Powers16 said:
Right click on the file, click open with and choose notepad to view its raw formating. if you want a cleaner look use word to view the XML file. Be careful not to save it in word though it can garble the file. you will just have to play with it to see what works for you.
IE definitely is not a good way to view and edit XML files.
Click to expand...
Click to collapse
I have tried viewing in both notepad and word pad and both of them could not read the files that is why I tried to find an xml file editor online lol :-(
dsMA said:
I have tried viewing in both notepad and word pad and both of them could not read the files that is why I tried to find an xml file editor online lol :-(
Click to expand...
Click to collapse
Use smali and backsmali. If you download this little toolkit from here you should be able to edit them in notepad++. I forgot how to use them but its pretty easy.
Maybe I'm wrong--been so long since I've messed with this stuff
dsMA said:
Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Click to expand...
Click to collapse
The best way is to use brut.all's apktool(http://code.google.com/p/android-apktool/) it does all the difficult work for you.
^ Greatest tool ever.
Decad3nce said:
The best way is to use brut.all's apktool(http://code.google.com/p/android-apktool/) it does all the difficult work for you.
^ Greatest tool ever.
Click to expand...
Click to collapse
Hey did u add the axmlprinter.bat file I posted on ur resource page
Papa Smurf151 said:
Hey did u add the axmlprinter.bat file I posted on ur resource page
Click to expand...
Click to collapse
Yep, with your description
Decad3nce said:
Yep, with your description
Click to expand...
Click to collapse
Woohoo I should tag the link and put it in my sig. That is if I still have room. Lol
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Brut.all said:
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Click to expand...
Click to collapse
I effing love your apktool. Use it daily!
Papa Smurf151 said:
Woohoo I should tag the link and put it in my sig. That is if I still have room. Lol
Click to expand...
Click to collapse
Go ahead man...
Brut.all said:
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Click to expand...
Click to collapse
Dude I love ur apktool. Did u see the axmlprinter.bat file that dec put in his resources page. It works great with axmlprinter2 file. It takes away all the typing in the cmd and does it for u and shows u the readable file in its own small window. A suggestion...maybe adding that to ur apktool would be a great addon
Papa Smurf151 said:
Dude I love ur apktool. Did u see the axmlprinter.bat file that dec put in his resources page. It works great with axmlprinter2 file. It takes away all the typing in the cmd and does it for u and shows u the readable file in its own small window. A suggestion...maybe adding that to ur apktool would be a great addon
Click to expand...
Click to collapse
http://code.google.com/p/android-apktool/issues/detail?id=70
Brut.all said:
http://code.google.com/p/android-apktool/issues/detail?id=70
Click to expand...
Click to collapse
I understand ur view. I didn't make the bat file just thought it was useful and u might like it. BTW words on post instead of just a link really helps in communicating around here. Just sayin
Papa Smurf151 said:
BTW words on post instead of just a link really helps in communicating around here. Just sayin
Click to expand...
Click to collapse
Yeah, I know, sorry for that.
I just like to explain my point of view very precisely to avoid misunderstanding. And I ain't English speaker, so it takes me some time to describe it. I could do just two things to not waste time on repeating myself: give a link or give a link and place a quotation beneath it ;-) Maybe second option is better
Brut.all said:
Yeah, I know, sorry for that.
I just like to explain my point of view very precisely to avoid misunderstanding. And I ain't English speaker, so it takes me some time to describe it. I could do just two things to not waste time on repeating myself: give a link or give a link and place a quotation beneath it ;-) Maybe second option is better
Click to expand...
Click to collapse
Yeah second option would be better but I wasn't bashin bro u do great work
You can also view and edit binary xml's in root explorer, as long as they haven't been hex edited. Skews up the formatting some how.
Sent from my HERO200 using XDA App

[Q] Can I use XPOSED in the thread??

Can I use XPOSED in the thread??
Because the HOOK is not the system libraries...Package is a third party...
So...XPOSED to work.. Third party package haven't loaded..
So... To be a new thread.. The class library circulation continued to search a third party
Who can provide an example?
Thanks...
Can you give some more details about your problem, preferably with some code? What exactly are you trying to hook and where (again, it's best if you provide code)? What exactly are you trying?
GermainZ said:
Can you give some more details about your problem, preferably with some code? What exactly are you trying to hook and where (again, it's best if you provide code)? What exactly are you trying?
Click to expand...
Click to collapse
ATTACH FILES use JD-JUI Open it....
look this...
com.tools.filemanager.a.handleMessage
package com.tools.filemanager;
class a
Method: public final void handleMessage(Message paramMessage)
I want hook this method...
GermainZ...you know me??
help me please.....
Thanks..........
Just hook it like any other method. If you can't do that, post the code you tried and the error you're receiving. You might want to search first.
No idea why you keep referring to threads, though.
GermainZ said:
Just hook it like any other method. If you can't do that, post the code you tried and the error you're receiving. You might want to search first.
No idea why you keep referring to threads, though.
Click to expand...
Click to collapse
because I CALLED [[public void handleLoadPackage]]...
but method handleLoadPackage.. in method To out method..All resourse is Release...
So...All res released...But don't execute ClassLoader com.tools.filemanager.a
So..I mean use new thread...Loop execute method handleLoadPackage...
until Hooked com.tools.filemanager.a.handleMessage
[email protected] said:
because I CALLED [[public void handleLoadPackage]]...
but method handleLoadPackage.. in method To out method..All resourse is Release...
So...All res released...But don't execute ClassLoader com.tools.filemanager.a
So..I mean use new thread...Loop execute method handleLoadPackage...
until Hooked com.tools.filemanager.a.handleMessage
Click to expand...
Click to collapse
Sorry, can't help you without the code you're actually trying, and you're being too vague.

[Req] How to change app name?

I recently downloaded asphalt overdrive and found the name too long and odd looking in my app drawer. I wish it would be better if it was down to oneword such as "Asphalt" or "Overdrive" only. Can someone tell me how to change the app name itself. It will be much helpful if someone modifies it for me
saif1012 said:
I recently downloaded asphalt overdrive and found the name too long and odd looking in my app drawer. I wish it would be better if it was down to oneword such as "Asphalt" or "Overdrive" only. Can someone tell me how to change the app name itself. It will be much helpful if someone modifies it for me
Click to expand...
Click to collapse
I can try, send me a picture and the name that appears the apk by PM! :laugh:
link and pic
The link to the app 's apk. www.mediafire.com/?1928mxjfvjcs6ph Please make the app's name as Overdrive instead of Asphalt overdrive
saif1012 said:
The link to the app 's apk. www.mediafire.com/?1928mxjfvjcs6ph Please make the app's name as Overdrive instead of Asphalt overdrive
Click to expand...
Click to collapse
I do not quite understand what you mean, I asked one fotot to better understand me ... even more so I tried to download the file from the link below and it will have two apks that modifquei differently, see one after the other. I hope the right.
Link > https://www.sendspace.com/file/b6h1e9
In Nova launcher you just need to hold on an icon, slide it to Edit and just delete or rewrite name. that simple.
thanks a ton!
Marília de Oliveira said:
I do not quite understand what you mean, I asked one fotot to better understand me ... even more so I tried to download the file from the link below and it will have two apks that modifquei differently, see one after the other. I hope the right.
Link > https://www.sendspace.com/file/b6h1e9
Click to expand...
Click to collapse
Just what I wanted! can u tell me how u did it?
Thanks so much!
saif1012 said:
Just what I wanted! can u tell me how u did it?
Thanks so much!
Click to expand...
Click to collapse
if u know to decompile or recompile apk files ....
u need to decompile the files
once done navigate to res/values/strings.xml and find this line
Code:
<string name="app_name">[COLOR="Red"]just type what ever name u want here[/COLOR]</string>
save it and recompile
sandy7 said:
if u know to decompile or recompile apk files ....
u need to decompile the files
once done navigate to res/values/strings.xml and find this line
Code:
<string name="app_name">[COLOR="Red"]just type what ever name u want here[/COLOR]</string>
save it and recompile
Click to expand...
Click to collapse
Great @sandy7 right and finally sign the apk
Please post questions in the Q&A section
Thread moved

Please Help Me Change The Product I.D.

Hey! All cool dev over there i have been able to create a working xap to deploy for WHATSAPP
but i am working on to install multiple WhatsApp on one device.
so my request to the great developers to kindly help me out in changing the product id of the attached AppxManifest and WMAppManifest file. I have enclosed the same in the zip.
i will me thankfull to u
and ya off course its a part of development and hacking i suppose.
Dont know nothing about this. Sorry pal.
It's ok. I am still waiting for it! May be someone can help ?
edit it with notepad or something idk
(not so sure if it will work)
Super_Vegito said:
edit it with notepad or something idk
(not so sure if it will work)
Click to expand...
Click to collapse
Editing with Notepad or any other text editor won't work for its original file is regenerated in the rebuild process and btw I have already tried all sort of text editors
Danish18 said:
Editing with Notepad or any other text editor won't work for its original file is regenerated in the rebuild process and btw I have already tried all sort of text editors
Click to expand...
Click to collapse
Try this file and say .
irshad2809 said:
Try this file and say .
Click to expand...
Click to collapse
Irshad bhai I can't get the file that u uploaded. You can change the product I.D. on vissual studio and I promise to provide 2 WhatsApp xaps for sideloading

[stock] apps

Here are some stock apps if you require it.
Request if You want something else. :good:
Camera:- https://drive.google.com/open?id=0By3M5j8JJJBVM08zY3kxOG80YWc
EasyHome :- https://drive.google.com/open?id=0By3M5j8JJJBVNlBlRXlXSnlVQlk
FileManager:- https://drive.google.com/open?id=0By3M5j8JJJBVWXh4cFhTRUVMMDQ
LG Music:- https://drive.google.com/open?id=0By3M5j8JJJBVVUJHZ1YxbDVHbms
LG Videp :- https://drive.google.com/open?id=0By3M5j8JJJBVaXl3QUV1d2hSRGc
LG Calender :- https://drive.google.com/open?id=0By3M5j8JJJBVXzlzN3FZQ05oZnM
Ajshal said:
Here are some stock apps if you require it.
Request if You want something else. :good:
Camera:- https://drive.google.com/open?id=0By3M5j8JJJBVM08zY3kxOG80YWc
EasyHome :- https://drive.google.com/open?id=0By3M5j8JJJBVNlBlRXlXSnlVQlk
FileManager:- https://drive.google.com/open?id=0By3M5j8JJJBVWXh4cFhTRUVMMDQ
LG Music:- https://drive.google.com/open?id=0By3M5j8JJJBVVUJHZ1YxbDVHbms
LG Videp :- https://drive.google.com/open?id=0By3M5j8JJJBVaXl3QUV1d2hSRGc
LG Calender :- https://drive.google.com/open?id=0By3M5j8JJJBVXzlzN3FZQ05oZnM
Click to expand...
Click to collapse
These are already available at:
http://opensource.lge.com
pvineeth97 said:
These are already available at:
http://opensource.lge.com
Click to expand...
Click to collapse
If you have already put the link, then enter it precisely.
I do not think that Open Source Code Distribution, places compiled files APK.
ze7zez said:
If you have already put the link, then enter it precisely.
I do not think that Open Source Code Distribution, places compiled files APK.
Click to expand...
Click to collapse
Type your model number and search it for yourself, APK files are present and also a guide to how to compile it to your ROM.
I don't need to place it precisely because it is understood that the person who is opening the website is knowledgeable enough to do that.
pvineeth97 said:
Type your model number and search it for yourself, APK files are present and also a guide to how to compile it to your ROM.
I don't need to place it precisely because it is understood that the person who is opening the website is knowledgeable enough to do that.
Click to expand...
Click to collapse
http://opensource.lge.com/osSch/list?types=ALL&search=K10
or
http://opensource.lge.com/osSch/list?types=ALL&search=K420N
I do not see any APK.
ze7zez said:
http://opensource.lge.com/osSch/list?types=ALL&search=K10
or
http://opensource.lge.com/osSch/list?types=ALL&search=K420N
I do not see any APK.
Click to expand...
Click to collapse
You obviously need to download the "Source" files then you will see them.
pvineeth97 said:
You obviously need to download the "Source" files then you will see them.
Click to expand...
Click to collapse
Can not you just answer the question?
You wrote:
pvineeth97 said:
These are already available at:
http://opensource.lge.com
Click to expand...
Click to collapse
Do not explain anything, just answer my question and indicate:
Where on http://opensource.lge.com, APK files are placed?
ze7zez said:
Can not you just answer the question?
You wrote:
Do not explain anything, just answer my question and indicate:
Where on http://opensource.lge.com, APK files are placed?
Click to expand...
Click to collapse
Why a general user needs these APK files? I don't know.
pvineeth97 said:
Why a general user needs these APK files? I don't know.
Click to expand...
Click to collapse
Only you know the reason why you are writing nonsense about the existence of APK on opensource.lge.com
EOT
ze7zez said:
Only you know the reason why you are writing nonsense about the existence of APK on opensource.lge.com
EOT
Click to expand...
Click to collapse
I am not writing any nonsense
Ok i will show you then!
ze7zez said:
Only you know the reason why you are writing nonsense about the existence of APK on opensource.lge.com
EOT
Click to expand...
Click to collapse
Everything is not written step-by-step and word by word.

Categories

Resources