{Q}How to decompile smali files and then edit them - Android Q&A, Help & Troubleshooting

Guys I know how to decompile, recompile and sign apk but how to decompile smali file for editing.... plz help
Sent from my GT-N7100 using xda premium

The smali is already set to be edited when you decompile the apk
Wayne Tech Nexus

Haurient driagar
use apktool

zelendel said:
The smali is already set to be edited when you decompile the apk
Wayne Tech Nexus
Click to expand...
Click to collapse
Sir I am reading this guide but smali files are unreadable how to edit them
http://forum.xda-developers.com/showthread.php?p=39746082
Sent from my GT-N7100 using xda premium

What do mean they are unreadable? I use this way and it decompiles them into basic smali code.
Wayne Tech Nexus

AbhimanyuAryan said:
Sir I am reading this guide but smali files are unreadable how to edit them
http://forum.xda-developers.com/showthread.php?p=39746082
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
There not unreadable at all there just hard to understand lol.
Sent from my HTC One V using xda premium

zelendel said:
What do mean they are unreadable? I use this way and it decompiles them into basic smali code.
Wayne Tech Nexus
Click to expand...
Click to collapse
Well than can u tell me how u did it?
Sent from my GT-N7100 using xda premium

CdTDroiD said:
There not unreadable at all there just hard to understand lol.
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Yea smart answer but can provide some tips as u can clearly see this thread is a question
Sent from my GT-N7100 using xda premium

AbhimanyuAryan said:
Yea smart answer but can provide some tips as u can clearly see this thread is a question
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
There's a few good videos on YouTube that may help you but its really not easy if you don't know. Also try comparing modified .smali files to a normal one with winmerge or something to show you exactly what's been changed.

CdTDroiD said:
There's a few good videos on YouTube that may help you but its really not easy if you don't know. Also try comparing modified .smali files to a normal one with winmerge or something to show you exactly what's been changed.
Click to expand...
Click to collapse
Thanks for kind suggestion sir there is no word 'hard' in my dictionary if I'll get to see someone doing that. Can u plz paste YouTube link which one would preffer there are so many videos there still it's hard to choose best and reliable.
Sent from my GT-N7100 using xda premium

AbhimanyuAryan said:
Thanks for kind suggestion sir there is no word 'hard' in my dictionary if I'll get to see someone doing that. Can u plz paste YouTube link which one would preffer there are so many videos there still it's hard to choose best and reliable.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
There's alot eh. Just have a look for guides n stuff there's heaps just have a look at different versions and get advice from them all. But its starting to come down to Java now so get ready lol. Winmerge is going to be your best bet for seeing the changes

CdTDroiD said:
There's alot eh. Just have a look for guides n stuff there's heaps just have a look at different versions and get advice from them all. But its starting to come down to Java now so get ready lol. Winmerge is going to be your best bet for seeing the changes
Click to expand...
Click to collapse
K so this means I have to have a good knowledge of java for all this stuff?
Sent from my GT-N7100 using xda premium

AbhimanyuAryan said:
K so this means I have to have a good knowledge of java for all this stuff?
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
It would certainly help but not nessacary.

Related

Zombie farm from IPhone

I seen this game from the IPhone and my wife loves it, is there anyway to port it to the Vibrant? It is freeware and opensource by the way and I dont have the skills needed to do it myself.
P.S. Dont tell me this is in the wrong section. Its an app and I'm in Themes and Apps.
Sent from my SGH-T959 using XDA App
Unfortunately it is quite the task. Essentially you're asking if someone is willing to turn a mac program into a windows one. Maybe not quite that drastic, but the coding is different
Yeah its a total rewrite from objective c to java. Pretty huge task. Try writing the devs. Maybe they have plans on releasing an android app.
Sent from my SGH-T959 using Tapatalk
Ok thanks. I had a feeling it was gonna be retardly hard to do.
Sent from my SGH-T959 using XDA App
KellyLewis3985 said:
Ok thanks. I had a feeling it was gonna be retardly hard to do.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Isn't it copyrighted material anyways?
Masterâ„¢ said:
Isn't it copyrighted material anyways?
Click to expand...
Click to collapse
Plz read the OP its freeware and opensource.
Sent from my SGH-T959 using XDA App
KellyLewis3985 said:
Plz read the OP its freeware and opensource.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Oops, didn't see that part..
Masterâ„¢ said:
Oops, didn't see that part..
Click to expand...
Click to collapse
Its cool. Im gonna email the dev and try to get this game ported. I hope it happens.
If your feeling generous.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9LJGLQUYYDZR2

edit your apk and sign it (for newbi)

hi,guys.. i know all of you wanna create or mod an android apps and wanna use it or share.
i think newb like me already tried to change the image files from res folder of apk but the problem is edited apk files just dont install,it always say application not installed,the problem is the apk isn't signed,you have to sign it.. most of newb dont know how to sign apk. so here is an android app "ZIP SIGNER" it can sign your apk file. in this app just input your edited apk and chose output location and press Sign,and your apk will be signed. and you will be able to install your edited apk...... so try it.
here is the link www.4shared.com/android/rIOfv0YR/zip_signer.html
press the THANK button is my post was helpfull
if anyone looking for market link here is this:https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en
Sent from my GT-S5360 using xda premium
hmahadi98 said:
if anyone looking for market link here is this:https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
In market it is incompatible
Edit: ur file works...
I juz edited two apks
Whatsapp and opera mini.....only icons
Sent from my GT-S5360 using xda premium
alkesh95 said:
In market it is incompatible
Edit: ur file works...
I juz edited two apks
Whatsapp and opera mini.....only icons
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
yeah,i know.but some people want play store link so i added this link to show them..
Sent from my GT-S5360 using xda premium
Ooh awesome thread btw
Can we do this with eclipse ......?
Sent from my GT-S5360 using xda premium
Proof I'm a noob by asking these 2 questions...
Ok, i'm actually getting somewhere with combining some older icons in the Go launcher with the newer build (old one not compatible with my phone).Now, where I get stuck is after you sign the new icons into the apk- do you then load it on the SD card as is?
2nd dumb question: are you doing all this ON your phone?
Actually ita very simple, u dont have to compile it then signed the apk...
Use 7zip to open the apk...then extract res folder...change whatever picture u want with the same size and name then open apk again using 7zip then just copy the res folder into the apk to replace old one...done
bro can you move the download link to mediafire or upload.something?
cause 4shared block on my server and i'm tired of fixing it hehe. can you ? please?
DropBoX link-http://db.tt/aYHqo4OY
hggns said:
2nd dumb question: are you doing all this ON your phone?
Click to expand...
Click to collapse
Yes!!!
Sent from my GT-S5360 using Xparent ICS Tapatalk 2
Ill try
Sent from my GT-S6102 using xda premium
working 100% to sign go launcher theme
Sent from my GT-S5570 using xda app-developers app
I want to change my stock music players style... What i have to do?
Thanks!
Sent from my GT-S5360
Thanxfor the thread...
Definately gonna come in handy some day..
**rooting is new for me...and i am noob to root...**
couldn't help but say it
m.h.mahadi said:
Yes!!!
Sent from my GT-S5360 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
I hit the thanks- but also wanted to SAY thanks. It's nice to know you guys are out there watching and helping (also appreciate you not blasting me for the dumb questions...).
hggns said:
I hit the thanks- but also wanted to SAY thanks. It's nice to know you guys are out there watching and helping (also appreciate you not blasting me for the dumb questions...).
Click to expand...
Click to collapse
hahaha...
this is what xda is knw for...
**rooting is new for me...and i am noob to root...**

Battery Trick for Build. prop

Hello friends Today I Will show for us, an trick for the Build.prop
Battery Trick
Open Root Explorer
Go to System Folder
Open: Build.Prop
Put this lines in the final of the build prop
wifi.supplicant_scan_interval=180 pm.sleep_mode=1 r
o.ril.disable.power.collapse=0
View attachment 1385294
Save the Changes and Reboot your cellphone
With THAT YOUR battery will durring Much More time
Sorry for My English
Thanks me if I Helped You
Sent from my GT-S5360B using xda premium
>LOL<
Will this works on USSR v 5
Click Here 2 Like My Page Guys.Plz Its a Humble Request.
LOL, man this is a very basic trick present in most of custom ROMs, all tweaks have this included..you gotta post like atleast 5-10 scripts if you really wanna make a thread
jerryn70 said:
Will this works on USSR v 5
Click Here 2 Like My Page Guys.Plz Its a Humble Request.
Click to expand...
Click to collapse
Yeap
Sent from my GT-S5360B using xda premium
hitme987 said:
LOL, man this is a very basic trick present in most of custom ROMs, all tweaks have this included..you gotta post like atleast 5-10 scripts if you really wanna make a thread
Click to expand...
Click to collapse
LOL
Sent from my GT-S5360B using xda premium
hitme987 said:
LOL, man this is a very basic trick present in most of custom ROMs, all tweaks have this included..you gotta post like atleast 5-10 scripts if you really wanna make a thread
Click to expand...
Click to collapse
LOL
Sent from my GT-S5360B using xda premium
hope it will work like ur ram tweek..
Sent from my GT-S5360 using xda premium
i apply it.. i think.. irs work.. if u can done any other build prop plz...inform us....
Sent from my GT-S5360 using xda premium
nirupom said:
i apply it.. i think.. irs work.. if u can done any other build prop plz...inform us....
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
I will Try
Wait a Time plz
Sent from my GT-S5360B using xda premium
Goddamn foreigners spamming the ****ing board. 1/2 of the posts on the first page are from you. All the same. "Script for blahblah". Stop spam, read a book.
Sent from my GT-S5360 using xda app-developers app
Almost all roms have this in their build.prop...
Try something new....:screwy:
Sent from my GT-S5360 using XDA Premium.
Rom : CoD.RoM
Theme : ICS Trans
blagginspaziyonokip said:
Goddamn foreigners spamming the ****ing board. 1/2 of the posts on the first page are from you. All the same. "Script for blahblah". Stop spam, read a book.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
I'm only want help
Sent from my GT-S5360B using xda premium
This @XDA DEVELOPERS Most important android forum,not a Brazil GSMfans
mrallyluz said:
I'm only want help
Sent from my GT-S5360B using xda premium
Click to expand...
Click to collapse
Yes, but please, PLEASE, if you're gonna make several posts which are similar, put them all in one post.
Sent from my GT-S5360 using xda app-developers app
Caliban666 made a thread in general section for all the build.prop tweaks you can post there
Globally recognised and certified NOOB
@OP please read the rules! explore your self! this forum is not a chatbox that every time you want to post you can.. grow up! if you find some basic codes you better keep it to your self.. your common and basic codes are used by v6 supercharger.. try to check the codes running on that..

[Help] Help in development !!!

Hello devs,
I m noob to this field can any devs guide me through the processes of modifing new Roms and also creating Rom.
I m interest in this field ,
I just required little help from you guys.
Can anyone help me ..
Sent from my HTC_Amaze_4G using xda app-developers app
I mean I m noob in dev section...
Sent from my HTC_Amaze_4G using xda app-developers app
Dude you aren't supposed to post here unless its a ROM or item of development, like a kernel or tool. I already PMd you.
Now this thread is going to get locked or deleted or moved if the moderator is in a good mood.
Sent from my HTC_Amaze_4G using Tapatalk 2
Sorry for this but I thought that if it related to development than I can post here.
So sorry ok I'll not do it.second time in this section.
Thanks for helping.
Sent from my HTC_Amaze_4G using xda app-developers app
shubham211995 said:
Hello devs,
I m noob to this field can any devs guide me through the processes of modifing new Roms and also creating Rom.
I m interest in this field ,
I just required little help from you guys.
Can anyone help me ..
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
Just visit the android chef forum and start reading.
Several good threads around here too, or buried in posts, so the search engine is ultimately your best friend.
Good luck!
jeepers007 said:
Just visit the android chef forum and start reading.
Several good threads around here too, or buried in posts, so the search engine is ultimately your best friend.
Good luck!
Click to expand...
Click to collapse
+1 !!!
Sent from my HTC_Amaze_4G using Tapatalk 2
I thought I'd jump in here too.
Google is a great tool.
Search for porting and building a Rom.
Also you should read the guidelines for posting in the forums.
There are many rules you need to comply with.
Also remember not all work is open source. So you need permission if you use other people's stuff like apps and modified libs and files.
Good luck.
Sent from my HTC_Amaze_4G using xda app-developers app
http://xda-university.com/
Thank you devs for your help.
I'll PM you if I have any problem in future ..
Thanks a lot.
Sent from my HTC_Amaze_4G using xda app-developers app
Hey what should I do to use kitchen in ubuntu...
Bcoz I don't want to use windows.
And ya if I use ubuntu than is it necessary to install java ,
Cygin,
Notepad++ etc things on ubuntu ??
Sent from my HTC_Amaze_4G using xda app-developers app
:what:
Sent from my SGH-T959V using xda app-developers app
:what: ??????
Sent from my HTC_Amaze_4G using xda app-developers app
shubham211995 said:
Hey what should I do to use kitchen in ubuntu...
Bcoz I don't want to use windows.
And ya if I use ubuntu than is it necessary to install java ,
Cygin,
Notepad++ etc things on ubuntu ??
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
You can use windows but ubuntu is much better for the kitchen. And windows needs cygwin for the kitchen to work.
junxracr said:
:what:
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Lol
Sent from my HTC_Amaze_4G using Tapatalk 2
You mean that required tool for ubuntu is only kitchen
Right ??
And nothing else....
And sorry for not uploading apks..
Bcoz of wifi issue.
I'll fo it tomorrow.sure..
Sent from my HTC_Amaze_4G using xda app-developers app
shubham211995 said:
You mean that required tool for ubuntu is only kitchen
Right ??
And nothing else....
And sorry for not uploading apks..
Bcoz of wifi issue.
I'll fo it tomorrow.sure..
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
You need java as well.
Sent from my HTC_Amaze_4G using Tapatalk 2
:what::banghead:
Sent from my HTC_Amaze_4G using xda app-developers app

Apk Request

Can anyone please post a copy of the apk InCallUI.apk. It would be greatly appreciated.
Haters Made Me Famous
Deviant Development Team Member
@The Sickness
.
fffft said:
@The Sickness
.
Click to expand...
Click to collapse
Awesome. Thanks
Sent from my SGH-M919 using XDA Premium 4 mobile app
The Sickness said:
Awesome. Thanks
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
What you doin?
Sent from my SM-G900T using Tapatalk
elesbb said:
What you doin?
Sent from my SM-G900T using Tapatalk
Click to expand...
Click to collapse
Hee hee, I'll never tell....
Sent from my SGH-M919 using XDA Premium 4 mobile app
The Sickness said:
Hee hee, I'll never tell....
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
My natural guess would be porting to the S4? Did you get an S5? I'm not sure if im even gonna make a ROM for this phone. Just have my own custom build running for myself. I'm too lazy
elesbb said:
My natural guess would be porting to the S4? Did you get an S5? I'm not sure if im even gonna make a ROM for this phone. Just have my own custom build running for myself. I'm too lazy
Click to expand...
Click to collapse
Actually I'm trying to fix a S5 port. Phone call issues....
Sent from my SGH-M919 using XDA Premium 4 mobile app
The Sickness said:
Actually I'm trying to fix a S5 port. Phone call issues....
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Ahh, need/want any help? Pm me? Gtalk?
elesbb said:
Ahh, need/want any help? Pm me? Gtalk?
Click to expand...
Click to collapse
Thanks bro. I may do that
Sent from my SGH-M919 using XDA Premium 4 mobile app
The Sickness said:
Thanks bro. I may do that
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Coolio. I'll PM you my gtalk gmail. Just hit me up when you seem me online anytime.
elesbb said:
Coolio. I'll PM you my gtalk gmail. Just hit me up when you seem me online anytime.
Click to expand...
Click to collapse
Aight
Sent from my SGH-M919 using XDA Premium 4 mobile app
elesbb said:
Coolio. I'll PM you my gtalk gmail. Just hit me up when you seem me online anytime.
Click to expand...
Click to collapse
Did you pick up a GS5 Elesbb?
Just curious. I am working on recompiling and customizing the dialer app to be black like the international one and was wondering if you had any experience in doing that?
TheArtiszan said:
Did you pick up a GS5 Elesbb?
Just curious. I am working on recompiling and customizing the dialer app to be black like the international one and was wondering if you had any experience in doing that?
Click to expand...
Click to collapse
Yes i have an S5. And yes i know how to do that. I don't really do much with themeing as it is very time consuming but i know how to do it.
elesbb said:
Yes i have an S5. And yes i know how to do that. I don't really do much with themeing as it is very time consuming but i know how to do it.
Click to expand...
Click to collapse
I recently had to reinstall everything on my computer due to a crash so I need to get java and everything setup.
Going to try a few other different tools and see if I can get this thing just to recompile correctly first.
Everytime (before the resetup of my computer) that I used either your tool, another one I found online, or the apktool.jar directly without even changing anything I put a recompiled copy back in the phone and it wouldn't work.
Despite not getting any errors when I recompiled the apk.
If I copy in and out the file do I need to remove the odex file too do you think?
Sorry for hijacking your thread sickness.

Categories

Resources