[q][devs]viewing xml in android - Galaxy Y GT-S5360 General

guys help,
i still cant view XML files for android
here's the software i got:
Eclipse Classic (latest)
Latest Java Runtime
Android SDK (Latest for GB)
Android Platform Tools
Android Dev't Tools for Eclipse
Notepad ++
APK Multitool
Click to expand...
Click to collapse
still cant view them, all i get is [null] and wierd symbols in NP++
sorry if i posted here, but i tried everywhere
google, to xda, to search button, even my dog's house!
cant also view it in hex, pretty wierd

I'm not sure...apk multitool or apk manager should work to decompile xml files.

Latest JRE with apk-tools work on my pc. Forget other tools but as long i remember my 1st time to decompile dont have SDK and eclipse.
SGY FAQ Thread
http://forum.xda-developers.com/showthread.php?t=1675474

savie said:
Latest JRE with apk-tools work on my pc. Forget other tools but as long i remember my 1st time to decompile dont have SDK and eclipse.
SGY FAQ Thread
http://forum.xda-developers.com/showthread.php?t=1675474
Click to expand...
Click to collapse
reinstalled JRE 2 times already still no luck
some awfully wierd is going on
even if i change the encoding in NP++ it still wont work

Related

[Q] editing/modifying .apk file

anyone who know how to edit or modifying the framework-res.apk, twframework-res.apk?? please....... give me an idea what should i do & i nid?? i want to modify a rom on to fit my brother style..
download sdk manager and then apk tool from google webiste... after this use ADB to get those framework files on ur computer then simply go in apk tool and decompile them... after that you can make any changes u want in it... after fiddling wid it recompile it usin any tool u r comfortable wid n den push it in ur cell
A lot easier will be to use apk manager.
Visit here http://apkmultitool.com/
Go to download section and download apk manager
Don't download apk multi tool as I think it has some bugs.
Extract... there will be folders describing what they are for.
put you apk in (put_apk_for_modding) folder
*some what like that I don't remember the exact folder name
Run script.bat you will see a cmd window having options to compile decompile...
1st select project using 22 option
Then decompile with option 9
Go to project folder find your project do necessary modification and then compile using option 11
Remember The option numbers may differ so check.
*Before that you must have java jdk 1.6 installed
Nice.... Sharing.... Bro
Sent from my GT-S6102 using xda premium
Millan.SIS said:
A lot easier will be to use apk manager.
Visit here http://apkmultitool.com/
Go to download section and download apk manager
Don't download apk multi tool as I think it has some bugs.
Extract... there will be folders describing what they are for.
put you apk in (put_apk_for_modding) folder
*some what like that I don't remember the exact folder name
Run script.bat you will see a cmd window having options to compile decompile...
1st select project using 22 option
Then decompile with option 9
Go to project folder find your project do necessary modification and then compile using option 11
Remember The option numbers may differ so check.
*Before that you must have java jdk 1.6 installed
Click to expand...
Click to collapse
Whenever I try decompiling stock apps like mms.apk I get a buttload of errors. I've read around and it seems it has something to do with tw apps? Idk lol. What else do I need to setup?
Tapatalked.
Post the errors...
Ah well, thought it was a general thing. I'll try again tomorrow and post the errors.
Tapatalked.

[Q]How can I change the rom UI?

Hi i wanna know how can I edit the UI of my rom for example in ics I want to change that blue line on title of apps or the icons or the status bar background and icons?
Galliture said:
Hi i wanna know how can I edit the UI of my rom for example in ics I want to change that blue line on title of apps or the icons or the status bar background and icons?
Click to expand...
Click to collapse
You would need to flash a theme for the rom or theme the system apks yourself.
zelendel said:
You would need to flash a theme for the rom or theme the system apks yourself.
Click to expand...
Click to collapse
No i like to theme the rom myself but how can I do it? Ones I tried to decompile the systemUI.apk with apk manager but it didnt decompiled it ... How do modders make modes? which app should i use for modding?
Galliture said:
No i like to theme the rom myself but how can I do it? Ones I tried to decompile the systemUI.apk with apk manager but it didnt decompiled it ... How do modders make modes? which app should i use for modding?
Click to expand...
Click to collapse
Apktool is the prefered method but it is alot of trial and error depending on the rom used. Did you install the framework files? Do you have the SDK installed?
zelendel said:
Apktool is the prefered method but it is alot of trial and error depending on the rom used. Did you install the framework files? Do you have the SDK installed?
Click to expand...
Click to collapse
im using ice cold sandwich 7.5 but my sdk is for platform 9 and i cant update it ... can you give me a link for apk tool?
Galliture said:
im using ice cold sandwich 7.5 but my sdk is for platform 9 and i cant update it ... can you give me a link for apk tool?
Click to expand...
Click to collapse
ICS requires a special apktool set up you have to use a command line set up and 2 different apktool jar files. a Search for decompiling ICS will get you a link to the how to and tools.
http://forum.xda-developers.com/showthread.php?t=1511730
Here is a link that came up in the first result of a search but you will need to update the SDK to allow editing ICS
zelendel said:
ICS requires a special apktool set up you have to use a command line set up and 2 different apktool jar files. a Search for decompiling ICS will get you a link to the how to and tools.
http://forum.xda-developers.com/showthread.php?t=1511730
Here is a link that came up in the first result of a search but you will need to update the SDK to allow editing ICS
Click to expand...
Click to collapse
Tnx.I have the lastest version of sdk manager but when i wanna update it it just shows my current sdk .. i tried many ways to update it but i couldnt. How did you get sdk for platform 13?
Galliture said:
Tnx.I have the lastest version of sdk manager but when i wanna update it it just shows my current sdk .. i tried many ways to update it but i couldnt. How did you get sdk for platform 13?
Click to expand...
Click to collapse
Just ran manager with admin rights and downloaded and installed all updates. I have windows 7 64 bit
Sent from my Inspire 4G using Tapatalk 2
zelendel said:
Just ran manager with admin rights and downloaded and installed all updates. I have windows 7 64 bit
Sent from my Inspire 4G using Tapatalk 2
Click to expand...
Click to collapse
ran manager? does it update the sdk? no im using win xp sp3 32bit(i loooove xp)

Have a problem of apktool

I always have a problem with apktool, I want to decompile ICS apk's but I have been installed java SDK last version and Android SDK last version.
I tried to decompile some apk's finally It had been worked. now I want to this but I have getting error of my apktool !! What should I do ? and What does require to install this ?
Why why why, do you feel the need to start a new thread every other day in regards to the same issue, and why is it when some one responds to your threads you don't reply back which makes starting the thread in the first place even more pointless.
Sent from my CM9'd Arc

[Tool][MOD] Add any battery image to any TW ROM for all S3 models

Ok I am going to keep this simple. These tool will allow you to add any battery image to any TW ROM. First unzip the tools. Then all you need to do is grap the framework-res.apk, twframework-res.apk, and SystemUI.apk from which ever ROM you are using and/or want to change the battery images for. Now grab the 204 PNG's for your new battery. Place these in the folders that are named as such. I have included a zip with a bunch of battery PNG's for you to use. Even the ones from my ROMs. Some are complete and some are not though. You HAVE to have 204 images or the tool will not start. Enjoy!
Side note, need a tester for the Windows tool as I tweaked it but have not tested. Thanks!
How to:
Code:
For Linux (Tested on Ubuntu12.04 64-bit)
Before anything:
add the required apks (framework-re.apk, twframework-res.apk and SystemUI.apk) to the folder "Input_APKs."
then you will need to add all 204 battery PNG'd to "Input_Images"
now you will:
1) Make sure these packages are installed.
sudo apt-get install openjdk-6-jre openjdk-6-jdk (step 4)
****** Do not just click on the Mod_Battery.sh file. Open a terminal
and run it! *************************
2) Open terminal in the Battery_Mod_Tool_v1.2/Working_Dir folder and run:
./Mod_Battery.sh
3) If you are having problems then make sure the following files are executable.
./Working_Dir/Mod_Battery.sh
./Working_Dir/7za
./Working_Dir/aapt
4) You may notice some java errors whilst running the Mod_Battery.sh script.
If so you need to install java. The instructions for Linux are below...
5) As of now for Infamous 4.4 the Framework-res.apk, twframework-rek.apk, and SystemUI.apk are included. 4.5+ you will need to add the apks yourself.
[/B]
Code:
[B]For Windows:
Before anything:
add the required apks (framework-re.apk, twframework-res.apk and SystemUI.apk) to the folder "Input_APKs."
then you will need to add all 204 battery PNG'd to "Input_Images"
now you will:
- Double-click "Mod_my_battery!.bat" and sit back and wait
NOTE:
If you modify ANY files within the "Working_Dir" folder, the process will not work. Do not rename, remove or add any files to this directory
URL for Java Development Kit:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html
to download JDK, Simply;
1) Select "Accept License Agreement".
2) Select "jdk-7xx-windows-xxx.exe" for your version of Windows. (Windows x86 = 32-bit, Windows x64 = 64-bit)
3) Run installer with default settings should be fine.[/B]
Link(s):
Linux tool download link
Windows tool download link
Battery PNG's #Infamous as of Feb 22, 2013
Install Java for Linux
Big thanks to shayne77 for making this. I only modified it to work for our phones and Jelly Bean.
saved just in cause
and one more for whatever
Re: [Tool][MOD] Add any battery image to any TW ROM
Nice work but it seems faster to pull the apks open them, paste your images and zip and flash, just saying.
Sent from my wicked fast SGS3!
This is very true. This tool is for every user even the less experienced.
Re: [Tool][MOD] Add any battery image to any TW ROM
Jamison904 said:
This is very true. This tool is for every user even the less experienced.
Click to expand...
Click to collapse
Yeah, I see how it could benefit the less experienced. Either way, nice tool.
Sent from my wicked fast SGS3!
Thanks buddy. Didn't make it just tweaked it to work for the S3. All the credit goes to shayne77.
Battery PNG's #Infamous as of Feb 13, 2013
Says url not found might me my firewall but could you please check it.
Thanks
weird... here you go
http://goo.im/devs/Jamison904/T999/Infamous_S3/Tools/Battery PNG
Sent from my dark hole called an office.
Jamison904 said:
weird... here you go
http://goo.im/devs/Jamison904/T999/Infamous_S3/Tools/Battery PNG
Sent from my dark hole called an office.
Click to expand...
Click to collapse
The file you requested was not found
Lets see if we can find that for you...
Search results for devs/Jamison904/T999/Infamous_S3/Tools/Battery PNG
That is what I got from Goo.
maybe I need to try a different browser
Thanks
yeah just tried myself. Goo most of lost it. Ill check go see if I have an older one on my mirror. Give me a sec and thanks for the heads up
Ill have to reupload it tonight. Thanks again
Sent from my dark hole called an office.
Battery_PNG
Fixed link.
Jamison904 said:
Battery_PNG
Fixed link.
Click to expand...
Click to collapse
I give up this is what it is saying again.
The file you requested was not found
Lets see if we can find that for you...
Search results for devs/Jamison904/T999/Infamous_S3/Tools/Battery_PNG
Thanks though I got the other files so All I have to do is find images and place them into your formula.
Dang it. I even tested yesterday after up loading it. OK good deal. Ill upload it to my mirror some time this weekend. I dont get why it keeps doing that...
Sent from my dark hole called an office.
LINK
Different server. Third time is a charm.
I am really surprised that this didn't get the attention I thought it would. People afraid of it? Or don't have a need for it.
Jamison904 said:
LINK
Different server. Third time is a charm.
Click to expand...
Click to collapse
Thanks Worked great!
:good:
Jamison904 said:
I am really surprised that this didn't get the attention I thought it would. People afraid of it? Or don't have a need for it.
Click to expand...
Click to collapse
Alright, giving this a shot, I def like battery #5. I like the idea of having a tool, but what's the easy way akapaul26 is speaking of?
Chefedogg said:
Alright, giving this a shot, I def like battery #5. I like the idea of having a tool, but what's the easy way akapaul26 is speaking of?
Click to expand...
Click to collapse
Tool won't work for me, I've followed every direction to the T...
Windows or Linux? Thanks

Sign apk with Platform keys no need to Unlock SuperUserMOD in jar

Here is the way to sign your apk with system platform...
Jar modification bye bye for Cyanogen Users... Hahahaha...​
Method
1) Unzip and put apk were data uncompressed...
2) rename it to k.apk
3) and run script...
Password :android
zip Attached
enjoy... signed apk only for CM12 and CM12.1.1 , my AOSP uses Cm12.1.1 platformkeys
so it work on rom that build with cm12 or cm12.1.1 keys​
reserved
Why it's protected with a password ?
Plus, it's should be posted on Android Themes/General forums not Xperia specif forums.
I used ZipSigner.apk for that
wolfmannight said:
Here is the way to sign your apk with system platform...
Jar modification bye bye for Cyanogen Users... Hahahaha...
Unzip
and put apk were data uncompressed...
rename it to k.apk
and run script...
Password :android
zip Attached
enjoy... signed apk only for CM12 and CM12.1.1 , my AOSP uses Cm12.1.1 platformkeys
so it work on rom that build with cm12 or cm12.1.1 keys
Click to expand...
Click to collapse
It mean i can make superuser mod with this?
Sent from my Xperia L using Tapatalk
it will enable SU for that signed apk
for many apk you need to sign every apk by this
After this do we need superuser mod. And just by that can we install any app on any phone
khurshid_258 said:
After this do we need superuser mod. And just by that can we install any app on any phone
Click to expand...
Click to collapse
any apk with any cm12 or cm12.1 based rom
abo hani said:
Why it's protected with a password ?
Plus, it's should be posted on Android Themes/General forums not Xperia specif forums.
Click to expand...
Click to collapse
Sir,
signing apk can done without password with keystore ? I don't think so..
I not put password , its a basic manual method to sign apk with platform keys
(keystore)A Java KeyStore (JKS) is a repository of security certificates – either authorization certificates or public key certificates – used for instance in SSL encryption.
I thought , 70% of Xperia apk works by signing them with Platform key ... So I posted
and I never open xda's other forms
I only open Sony Cross-Device General and Sony Cross-Device Development Themes and Apps , hahahaha
darknessmc said:
I used ZipSigner.apk for that
Click to expand...
Click to collapse
ZipSigner.apk is phone based I also have apksign.apk , but my phone take too much time to sign 14 Megabyte file , my phone is too slow
so i used to be sign apk on my mac
Nice tutorial, but I'll stick with replacing the testkeys in Apktool with the custom ones I currently need.
Just keep in mind that apps signed with platform keys cannot be installed normally. They gotta be pushed directly to system to work.
Just mentioning.
WhiteNeo said:
Nice tutorial, but I'll stick with replacing the testkeys in Apktool with the custom ones I currently need.
Just keep in mind that apps signed with platform keys cannot be installed normally. They gotta be pushed directly to system to work.
Just mentioning.
Click to expand...
Click to collapse
yup bro.
I can't do it . whenever I run the script it show some file not found error in command prompt , and my file get deleted
khurshid_258 said:
I can't do it . whenever I run the script it show some file not found error in command prompt , and my file get deleted
Click to expand...
Click to collapse
before run rename your xxxx.apk to k.apk
then run script
wolfmannight said:
before run rename your xxxx.apk to k.apk
then run script
Click to expand...
Click to collapse
I am doing like that only then also that error is coming. I have attached the image of the error
khurshid_258 said:
I am doing like that only then also that error is coming. I have attached the image of the error
Click to expand...
Click to collapse
Make sure you have jdk installed first.
If so then make sure you use the right path for it, maybe you have different version of jdk installed. As for me my jdk bin folder as follows:
"C:\Program Files\Java\jdk1.8.0_60\bin"
because I have jdk version 1.8.0_60 installed.

Categories

Resources