Related
1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
Alternately you can try flashing this template from CWM. CWM-flash-template.zip
Source: [HOW TO] CRT-Effect only
Directory \res\values doesn't exist either in stock (odexed) or infected (dedexed) version of application (framework-res.apk).
EDIT: SOLVED !
yes its available....
did u trie to decompile through apk manager...?
dh33r4j said:
1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
Alternately you can try flashing this template from CWM. CWM-flash-template.zip
Source: [HOW TO] CRT-Effect only
Click to expand...
Click to collapse
Can u give me apk manager link
Sent from my GT-I9103 using xda premium
njoy my friend...
here is the link....http://www.mediafire.com/?h2ivnnzmm2t
akshatsourav said:
yes its available....
did u trie to decompile through apk manager...?
Click to expand...
Click to collapse
Nope, opened .apk package in a traditional way. My bad, sorry.
akshatsourav said:
yes its available....
did u trie to decompile through apk manager...?
Click to expand...
Click to collapse
Have u prepared crt animation for
XWLA4
Sent from my GT-I9103 using xda premium
m.kochan10 said:
Nope, opened .apk package in a traditional way. My bad, sorry.
Click to expand...
Click to collapse
If u completed crt animation for XWLA4 ........
Please give me that file .......
Sent from my GT-I9103 using xda premium
Tutorial works with every FW I guess, I did it on infected based on zskk5. But it's little tricky.
Sent from my GT-I9103 using XDA App
m.kochan10 said:
Tutorial works with every FW I guess, I did it on infected based on zskk5. But it's little tricky.
Sent from my GT-I9103 using XDA App
Click to expand...
Click to collapse
Is it working or not................
If working give me that file
Sent from my GT-I9103 using xda premium
raghavafitt said:
Is it working or not................
If working give me that file
Sent from my GT-I9103 using xda premium
Click to expand...
Click to collapse
"give me that file" ?
Tutorial works with every FW but not every framework file works with every FW.
Don't you understand that it is individual process, you have to decompile and re-compile YOUR OWN framework-res.apk (regardless of what FW you run on), with mine thousands times modified framework-res.apk you most possibly won't be able to boot the system.
raghavafitt said:
Is it working or not................
If working give me that file
Sent from my GT-I9103 using xda premium
Click to expand...
Click to collapse
raghavafitt, with all due respect, I would like to give you a little suggestion.
Do not give orders to fellow members. If would want some help from someone, be polite.
Treat all members with respect, no matter what rank s/he holds. Moreover, m.kochan10 is a very active member in our forums and has been very helpful.
Even if you didn't mean to give an order, make sure that you ask in a polite sounding way.
It's all a simple rule: Give respect, take respect.
dh33r4j said:
raghavafitt, with all due respect, I would like to give you a little suggestion.
Do not give orders to fellow members. If would want some help from someone, be polite.
Treat all members with respect, no matter what rank s/he holds. Moreover, m.kochan10 is a very active member in our forums and has been very helpful.
Even if you didn't mean to give an order, make sure that you ask in a polite sounding way.
It's all a simple rule: Give respect, take respect.
Click to expand...
Click to collapse
I am giving FULL respect to all in this form
Sent from my GT-I9103 using xda premium
m.kochan10 said:
"give me that file" ?
Tutorial works with every FW but not every framework file works with every FW.
Don't you understand that it is individual process, you have to decompile and re-compile YOUR OWN framework-res.apk (regardless of what FW you run on), with mine thousands times modified framework-res.apk you most possibly won't be able to boot the system.
Click to expand...
Click to collapse
Thanq kochan I thought that u didn't modified ur framework-res.apk somany time.....that's y I asked .....anyways thanks for ur info
Sent from my GT-I9103 using xda premium
Hmmm that's strange. I managed to re-compile and apply my framework-res.apk from infected rom (which is based on KK5) with no problem at all, but I cannot make it on stock KK5. After replacing the file I get bunch of FCs that paralyzes work totally.
i have one question to d33raj
i am using apktool 5
i copy framework-res.apk form my stock fw from root ex.
i decompile framework-res.apk and edit battery icons and some battery related xml files
when EDITING completed i compaile it again
but the ain thing is new apk file is nearly 5 mb and old apk file 8mb
i use new apk file but its not working for me (booting problem)
so where is the problem ?
plz help me
I really wish I could help you. But I'm not into developing. I did this using the tutorial that I specified as source. Almost all the Samsung Android devices work the same way. You could post your queries in pages of Samsung devices which has plenty of Dev support. Galaxy S and Galaxy S II are the most recommended places.
m.kochan10 said:
Hmmm that's strange. I managed to re-compile and apply my framework-res.apk from infected rom (which is based on KK5) with no problem at all, but I cannot make it on stock KK5. After replacing the file I get bunch of FCs that paralyzes work totally.
Click to expand...
Click to collapse
what have u done, did u unrar the apk or just edited the file with 7 zip or some other soft...
if u unrared it then u hav to sign it also..
I did the same for two files, decompiled, edited, recompiled (and signed). It worked like a charm on deodexed version but it caused some FC-s on odexed one.
m.kochan10 said:
I did the same for two files, decompiled, edited, recompiled (and signed). It worked like a charm on deodexed version but it caused some FC-s on odexed one.
Click to expand...
Click to collapse
no need to sign dear .....
u have to copy resources.arsc from the moded version and paste it in original one...
(use 7 zip,just drag n drop).
it should work fine...
Hi all,
Here is the freshly extracted .apk of photo editor from i9000's value pack system/app.
There was no .odex.
Its can be installed anyway (system/app or normal installation)
Its opening but force closes after selecting picture!
My rom is'nt deodexed. So someone please try it on a deodexed ROM.
THANKS!
force close on a deoxed rom ddkp3
I think it needs porting of some framework files also....try out to find which one....
I think it needs a correct lib file!
Can someone please post the correct lib file to run this?
Sent from my GT-I9003 CM9
I have a note. Which files do you need?
Sent from my GT-N7000 using XDA App
jaskiratsingh said:
I have a note. Which files do you need?
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
No. we dont' need a file from galaxy note.
Its taken from i9000.
and also dont know which file to take!
Maybe someone would HELP!
So. We might get this app in our value pack!!
Sent from my GT-I9003 CM9
May be we can get
Actually, This is integrated with some .so files which CAN NOT be just decompiled, changed and Re-compiled!
So, You need a hardcore linux guy to reverse engineer it.
bangalorerohan said:
Actually, This is integrated with some .so files which CAN NOT be just decompiled, changed and Re-compiled!
So, You need a hardcore linux guy to reverse engineer it.
Click to expand...
Click to collapse
And that file is?
Skander1998 said:
And that file is?
Click to expand...
Click to collapse
A java file. Look in the logcat u will know
Sent from my GT-I9003 using Tapatalk 2
Try on dxkp9, logcat show android runtime error.
Not able to load few java runtime cmd.
not working for me.
I got it to work. I tried to make an update.zip but I dont think it works. Its best if you just copy over the files manually to there respective directories.
How would you put this file where it goes any instructions ?
Ayway to get this app to work on galaxy s3?
Would really appreciate it if someone could help
khrizg35 said:
Would really appreciate it if someone could help
Click to expand...
Click to collapse
Apps is /system/app with rw-r--r--, lib files(.so files) in /system/lib. Anyway just flash the value pack, it has photo editor too.
Sent from my GT-I9003 using xda app-developers app
I tried to flash it but seemed failed so I copied them to the respective folders and changed permission:
system\app
PhotoEditor.apk
system\lib
libContourJNI.so
libMI_Color_JNI.so
libMI_Effect_JNI.so
libMI_Motion_JNI.so
libMI_ObjectSel_JNI.so
libMI_Tool_JNI.so
yet still FC when trying to open a photo.....
btw, I'm using N7000 Note, it used to have this app but after upgrading to Jellybean no more exists.....:crying:
I got it by following the step(app and lib file)
but there is no drawing pen not like before!!!
this is what I want!!!
[APP] Galaxy Note Photo Editor .apk for note 10.1???
hey I cant download the apk from samsung apps: Photo editor so I need the apk please!!!
It is 30MB because I found some apk for Samung S3, S4 when I installed on my note 10.1 it shows the app working in a screen like mobiles
I want to rename an apk .But i want to see the new name when i install the apk for every android devices
Dylan Bay said:
I want to rename an apk .But i want to see the new name when i install the apk for every android devices
Click to expand...
Click to collapse
I guess that could be only changed in strings.xml page of app source. I'm not sure whether you get that file when you decompile an apk, you do get the Manifest.xml file, but that just points to location in strings.xml
Correct me if I'm wrong.
Is this something where you change any app's name to your's and say others that it is made by you...
If not then I will help...
Sent from my GT-S7500 using xda premium
lokeshsaini94 said:
Is this something where you change any app's name to your's and say others that it is made by you...
If not then I will help...
Sent from my GT-S7500 using xda premium
Click to expand...
Click to collapse
Bro .I'm not need it to say it's by me .
hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
phonegeekjr said:
hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
Click to expand...
Click to collapse
use SENSE 5 toolbox in development thread http://forum.xda-developers.com/showthread.php?p=46837064
Or else VIPER XL it pretty much has all the options one can need!
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
phonegeekjr said:
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
phonegeekjr said:
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Black!Jack said:
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Zarchiver
Sent from my Evita
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
what about for a linux computer are there any tools I can use with that.
Not sure about on Linux, you should be able to find something via Google. There should also be guides on XDA.
Sent from my Evita
phonegeekjr said:
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Apktool... ApkMultiTool (really just a UI to take command line work out of the equation-not really my style though), Virtuous10 Studios, many more I'm sure I forgot. I have some .bat files for executing necessary commands if your not sure how to use command line.
Sent from my HTC One XL using XDA Premium 4 mobile app
---------- Post added at 05:32 PM ---------- Previous post was at 04:32 PM ----------
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
Not sure that Zarchiver is a tool for Decompiling and Recompiling .apks.
From what I have read about it, it looks more like a File Manager/Archiver.
@ PhoneGeek... for Linux I would have to say that apktool is going to be your best bet. You can find the XDA thread here. And the main page for apktool is here.
Black!Jack said:
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Click to expand...
Click to collapse
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
phonegeekjr said:
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
Click to expand...
Click to collapse
That is what I was originally trying to let you know. The one for the HTC MOD is device specific (HTC Desire I believe). I have gone through the .smali files as these guides instructed and noticed a wide variety of variance. If you decide to attempt the instructions per those guides, you do so at your own risk; especially if you have no idea what you are really doing. The Devs around here are labeled that for a reason. Chances are... they really know what they are doing when messing around with files that could deem our phones inoperable.
One bit of advice I will give you before you start messing with the .smali files, is to learn Java, if you don't already, and then head over to the Smali page and read through all of the documentation in their wiki (it will be hard to understand if you don't know Java though). After taking the time to learn these things, when you open up the .smali files you will have a better understanding of what you are actually looking at and how things are structured. For example, when you open one up, you will perhaps see some variance of :
invoke-direct {v0, v1, p0, v2}
Well, what do all of these v's and p's mean - what do they point to?
There are two naming schemes for registers - the normal v naming scheme and the p naming scheme for parameter registers. Confused?
Read the wiki! Confused by the wiki? Learn Java! This is really the best advice that I can give you. By no means am I downing you or questioning your intelligence. I am simply trying to help you by pointing you in the right direction. Spoon-feeding you all of the answers isn't going to help you learn. I am by no means an expert; not even dillusional enough to think that I am- though my wife may disagree!
In addition, when you get to the Smali page, on the Project home tab, there is a link for an IRC chat room and an example of how the entry level "Hello World" app is broken down into .smali.
Hope that I have helped, to at least point you in the right direction. If I have click the Thanks button!
Edit: Here are some links that may be useful in your quest for knowledge of this subject matter:
Modifying .smali files
Convert .smali to .java
Dalvik opcodes
Android opcodes
Bytecode for the Dalvik VM
Another place with useful links
All of these resources were found with the help of my good friend Google, and her red-headed stepchild XDA!
Hi. I have tried yet again to make sense 5 toolbox apm work. Still not. Latest version of framework used. Any ideas
edit: foumd the problem and apm is now working.
Sent from my HTC One XL using xda app-developers app
I was recently looking for system ui smali mods and I came across this apk tool app and I thought I would share it, I think it works good so far but your working with a smaller screen other wise its really nice
Download: ApkTool v4.7.apk
Update fix for Lollipop Roms :ApkToolUpdate.zip
Instructions :
After you install the apk be sure to go to your Framework apks and hit import framework before you do anything
Also Copy system apks to SD card or you with get decompile errors
If you have problems with decompiling system apps on Lollipop flash update zip that has updated jars
You shouldn't have any problems with kit kat though I believe so no need to flash update.zip
Flash via FlashFire
And Finally Enjoy
davidhacks said:
I was recently looking for system ui smali mods and I came across this apk tool app and I thought I would share it, I think it works good so far but your working with a smaller screen other wise its really nice
Download: ApkTool v4.7.apk
Click to expand...
Click to collapse
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
I would normally use the computer Verison of apk tool and then use note pad ++ for looking at the xml files
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
At some point I will decompile the app and update the baksmali and so on to the lollipop Verison
PHP:
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
Try Axel on the playstore. You can view and edit.
Documentation on this app is hard to find
Documentation on this app is hard to find, did you write this? From what I can gather it turns your active rom into a rom package for redistribution? I'm assuming that's what they mean by create rom? Who wrote this gem? Amazing app