yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Also seems like a great project!
[Android Software/Hacking General [Developers Only]] yashade2001:
You know nobody likes Edify, even there is no support from gedit so that's why I'm making this.
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Thats a smart idea, is it open source? Would like to give it a try when its complete :)
[Android Software/Hacking General [Developers Only]] darkguy2008:
I would like to say yes, but it the project is still in alpha stage and it isn't even ready for normal code. Maybe in a few months, with the enough help, it would. And yes, the idea is that the project once decompiled should be able to be compiled with eclipse again.

Oh, I've heard of it a few months ago, but I didn't go deep on it because it required python and installing it on windows is a pain xD... but I could, yes. Sad thing is that these projects always end up unmaintained, usually because they don't end up having enough attention or lack of management. Still, thanks for mentioning it, I shall take it into account when developing my tool :)

Well, it is dependent on Windows and .NET because that's my main developing environment. However, another user has been able to make it compile and work on SharpDevelop with Mono, and considering I lowered the framework to 3.5, I assume you shouldn't have problems compiling it under Linux. I could provide some assistance if you want, as I'm interested in getting as much help as I can :)

Hello! oh, awesome :D thanks! I shall have a look at it in a bit and provide some feedback soon :)

Thanks again for the support! :D

I assume it could be possible. I haven't focused much on identation because Eclipse could do it anyways, but it shouldn't be too hard, actually. I know how to do it, I just haven't coded it yet.

About the output, yeah, no prob, I'll look into it :good:

Oh, that's awesome! I'd love to try your app too. How are you developing the IDE? I wanted to do some kind of ROM IDE some time ago but the whole interface stuff had me puzzled, specially because I wanted to make it inherit VS2010's IDE look, lol.

Well, if you're able to fork the project and help up with some of the code, complementing the functions (without if-then-else-catch-etc blocks -for now-) it would be great!. Also, if you need help with your IDE, don't hesitate to ask :)
[Android Software/Hacking General [Developers Only]] Fenny:
I forked your repo, and I added support for iput-boolean using constant values. We will probably have to add a case to check where the register was populated by a previous instruction, I.E move-result v2. You will see a pull request for this change in your github.

*edit*

Okay, so I have added a whole bunch of stuff, fixed paramater parsing, etc... :D [MENTION=4031980]darkguy2008[/MENTION] Let's rock and roll!

https://github.com/darkguy2008/smali2java/pull/1/files
[Android Software/Hacking General [Developers Only]] yashade2001:
For UI, you can use WPF. You can make your own UI, or you can use existing UIs like VS 2012' s UI... Making IDEs without a compiler is easy, you know Edfy scripts are not compiling in recovery or anywhere. Making a compiler is a torture, you must be a C/C++ master for that. My IDE will also has auto-complete feature.
[Android Software/Hacking General [Developers Only]] cadialex:
If you need a UI, I'm working on it :)

Hi darkguy2008 !

I'm really interested in your project and wanted to know : do you think we should add an UI to it ? I'm actually working on that (for personnal use ;) )

If you are interested in what I'm doing reply me :)

Btw really nice project :cyclops:
[Android Software/Hacking General [Developers Only]] darkguy2008:
Hey man! :)

I've been working on merging your new changes and analyzing them. Thanks a lot! you sure did a lot of work there that was really needed, specially with types and arrays. Nice!. I'll see what can I come up with next :).

I tried to use VS2012's IDE but man it was hell, they don't have too much documentation, and WPF is kind of a new tech for me so I didn't want to spend much time on that, but hey it's good to know. I see, well, if you ever manage to improve your IDE somehow with some kind of Amend<->Edify converter and Amend syntax highlighting it would be great, as I'm kinda needing a recovery script IDE sometimes xD
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
I just tipped off XDA portal, hopefully they post it and it attracts more contributors!
[Android Software/Hacking General [Developers Only]] darkguy2008:
Hello cadialex! :)

Well, when I created the project I didn't think it would need an IDE, as what I'm attempting to do is what smali does with jar/apk files, just plain converting them and outputting a whole converted folder. But hey, I wouldn't mind to check what are you working on, who knows, I could like it xD.

Thanks for the support!
[Android Software/Hacking General [Developers Only]] darkguy2008:
Awesome! I'll be sure to check regularly for the review they'll surely do :) good luck too! :D
[Android Software/Hacking General [Developers Only]] Fenny:
This is a good example of the sort of thing that should parse properly now.

Notice that each parameter is just sort of crammed in there:

.method static <init>([BLjava/lang/String;Ljava/lang/String;)V

If anyone is having trouble following my changes it might be important to realize this:

'L' = a java object is about to be listed followed by a semicolon, '[' = an array of whatever the next letter is (this can include 'L') :) so this function definition would be void (byte[], string, string)

Good stuff is happening here. :F Are you idling any of the IRC channels at the moment? It might be easier to chat there.
[Android Software/Hacking General [Developers Only]] yashade2001:
The alpha version of editor with syntax highlighting is ready, check out my google plus post.
[Android Software/Hacking General [Developers Only]] yashade2001:
BTW you should make a gui for this, i can help to you. will fork your repo.
[Android Software/Hacking General [Developers Only]] darkguy2008:
Hey :)

Good to know! I kind of realized that looking at each of your commits lol. I tried to do my best at merging all the changes, I hope it's all good :)

By the way, shouldn't that line be:

.method static <init>([B;Ljava/lang/String;Ljava/lang/String;)V

with the semicolon between B and L ? that makes more sense to me xD

Also, it would be great, but what is the server and/or channels? I usually don't idle, but I can create a channel somewhere where we can exchange ideas a bit faster if you'd like :D.

Oh, I rarely use G+, but I shall check your project and report back :D

About the GUI, well, I would consider it something secondary, and personally I'm very, very picky when it comes to GUIs, as I use the Microsoft guidelines mixed with some of mine when creating UIs, but hey, fork away and show me what you'll do. However, bear in mind that decompiling smali files requires to read other referenced smali files (either by being children of other smali files or referencing anonymous classes and such) so a JD-GUI GUI (lol) wouldn't be ideal in my opinion. A small GUI though, for choosing a folder and setting some options or displaying a single file or two wouldn't be too bad though. I'm open to suggestions, fork away and show me when you have something :)
[Android Software/Hacking General [Developers Only]] Fenny:
Well, there is #panicroom on Freenode. Lots of good peeps there. If you want to make one, we probably ought to do it on freenode, most of the Android dev stuff from XDA is on there after all.

And probably it would make more sense for smali to have some sort of separator character to split arguments in function signatures, but It totally doesn't. All it has is the semicolon to indicate the end of a type 'L'

*edit* Uhhhh, did you delete your github account or something? I am getting a 404.
[Android Software/Hacking General [Developers Only]] Goldie:
For me personally this would be great. I do all my mods in smali and know little to no java. However being able to convert can be really useful and a simple GUI to do this on a file or two would be great :)
[Android Software/Hacking General [Developers Only]] darkguy2008:
Alright then, no worries, the app will have a small 'n nice GUI :)

Ah I see, I thought XDA had their own IRC servers. Well, no prob, I can make a channel somewhere xD. Also thanks for the explanation :)

About github, sorry... I dunno WTF happened to it, for some reason a github "bot" thinks I'm not human (so what the hell am I then?) and asked me to contact support. I did, but I haven't received any replies yet. This is frustrating...

Edit: It seems they fixed that now. Can you try again please?

Edit2: Alright, channel #smali2java created on Freenode. Have fun! :P
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
A GUI would be nice but a console package would be the starting point right! As it could be added to tools etc...?
[Android Software/Hacking General [Developers Only]] codelover:
Having the same thought! So once the command line backend is ready, the GUI version can be simply a wrapper that calls the API, or better a seperate project maintained by other users called for Smalli2javaGUI, GUI 4 s2j or anything they like, so you can have better time focusing on the master project. :p
[Android Software/Hacking General [Developers Only]] cadialex:
Actually I'm working on a UI. It is not ready now, and comes in a new folder (simply called "UI" ^^). I think I'll do something like the JD-GUI UI, with a tree on the left and the code on the rigth. Will update you when It'll be ready (it could take a few days/weeks).
[Android Software/Hacking General [Developers Only]] broodplank1337:
I tested it (in VM (win xp) running on linux) and it works, but only for a very small amount of smali files, I have been able to decompile like 2 small files, but all other files failed.

example (first file is small file that is working on decompilation, second one is bigger file that fails)

C:\code>Smali2Java.exe MainActivity$1.smali
Decompiling file: MainActivity$1.smali
[
package com.broodplank.kitkatscreenrecorder;

class MainActivity$1 extends java.lang.Object implements android.view.View$OnC
lickListener {
final com.broodplank.kitkatscreenrecorder.MainActivity synthetic this$0;
MainActivity$1 (com.broodplank.kitkatscreenrecorder.MainActivity p1) {
thisreturn;
}
public void onClick (android.view.View p1) {
boolean Boolean1 = android.widget.Button.isPressed(p1);

com.broodplank.kitkatscreenrecorder.MainActivity.startrecord(Boolean1);

return;
}
}
]

C:\code>Smali2Java.exe MainActivity.smali
Decompiling file: MainActivity.smali
[

Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given
key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Smali2Java.SmaliVM.Get(String register)
at Smali2Java.SmaliVM.Instructions.ParseRegistersAsArgs(Dictionary`2 register
s)
at Smali2Java.SmaliVM.Instructions.Invoke()
at Smali2Java.SmaliVM.ProcessInstruction(SmaliMethod m, SmaliLine l)
at Smali2Java.SmaliMethod.Process()
at Smali2Java.SmaliClass.LoadMethods()
at Smali2Java.SmaliEngine.Decompile(String sFilename)
at Smali2Java.Program.Main(String[] args)

(windows xp error report)

EventType : clr20r3 P1 : smali2java.exe P2 : 1.0.0.0 P3 : 52c9ba4b
P4 : mscorlib P5 : 2.0.0.0 P6 : 4889dc80 P7 : dc P8 : 5
P9 : a4dh5wwiwww1yjtmp0c0kv4zwcalu4in

What I highly suggest is to implement support for using the ' *.smali ' (all smali files in current dir) prefix as filename, so you don't have to make a loop yourself that performs that task
[Android Software/Hacking General [Developers Only]] Fenny:
Well it would be easy enough to do that, but for now there are a LOT of things that are not implemented in the actual decoder... I.E. all conditional code branching, certain method call types, etc... I think it would be better to have the application do one file at a time until it is at a more functional state. Same with GUI, maybe later when the application is more feature complete.

Can you upload the file that it is crashing on? As for the crash itself I will add try blocks around the ParseRegistersAsArgs function in my repo... I think when we hit a parse failure or a skip where there should be none we should concatenate a comment into the output code so that we have a better idea where it is happening. What do you think, [MENTION=4031980]darkguy2008[/MENTION] ?
[Android Software/Hacking General [Developers Only]] darkguy2008:
Okay, I was gonna do a big multi-quote but Fenny already said a few things I wanted to:

First and foremost, I repeat, the app isn't ready yet for decompiling smali files out of the blue. It is in a very, VERY alpha stage where we don't even have all of the smali functions enumerated or even coded, to have it work on even a simple smali file. In fact, it needs work, but in terms of coding work.

I have to agree with Fenny though. While a GUI is a nice feature to have (and I'm more of a GUI rather than a CLI person and is one of the reasons why I prefer Windows over Linux), I don't think we should focus our work on a GUI, which, more likely than not, will need to be changed a lot through the whole development. Instead, I'd rather get help in coding the needed stuff to make this work nicely and then I promise we'll work toegether to make a good GUI for it. I have plans for a good GUI ! I just don't feel it is the right time to do it with the app not even being able to decompile correctly a smali file yet. Still, if someone does it, the work is appreciated and well if I like it it'll be included, it just isn't the main focus now.

I also agree with the comment thing. I've been working my head around today on how to display some debug info without complicating the working code much. I'm having a bit of a struggle trying to debug some specific smali lines and reaching to them in the debugger is a bit annoying, lol.

I would also like to see what files did broodplank1337 used. I assume they would come in handy in our tests :)

Keep up the great ideas and contributions! :D
[Android Software/Hacking General [Developers Only]] Fenny:
Here is a nice listing of opcodes, btw. Many of them are never seen in 2.0+ though. :D

https://github.com/JesusFreke/smali...est/resources/LexerTest/InstructionTest.smali

*EDIT* [MENTION=4354408]broodplank1337[/MENTION] The changes I mentioned were just merged back into the main repo, pull em and give it a go. >:D

*EDIT2* some more light reading for you. :D [MENTION=4031980]darkguy2008[/MENTION]

https://github.com/JesusFreke/smali/blob/master/smali/src/main/antlr3/smaliTreeWalker.g

https://github.com/JesusFreke/smali/blob/master/smali/src/main/antlr3/smaliParser.g

Particularly interesting is the ParseRegister function.
[Android Software/Hacking General [Developers Only]] yashade2001:
[MENTION=4031980]darkguy2008[/MENTION] , I made a little gui, will send pull request to you this week. btw check this ( my edify code editor ) http://xdaforums.com/showthread.php?t=2599759
[Android Software/Hacking General [Developers Only]] Diego910:
This could be awesome for thousands of mtk devices without cm or aosp!

Enviado desde mi bq Aquaris 5 HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] aashishb4u:
help

Thankfull that u took so much efforts ...!!!

But sir can u make video tutorial so that we can get it more accurately..!!

I tried this I convert .dex files to .smali but didn't get that how to convert .small into java

As well after modifieng it I don't get how to compile it again...!!!

Please help
[Android Software/Hacking General [Developers Only]] darkguy2008:
Please read the first post. It's not ready... so I'm not gonna do a video for an uncomplete program. It can't even decompile a small hello-world smali file. If you can program, the help would be more than welcome :).
[Android Software/Hacking General [Developers Only]] Jarmezrocks:
Hey mate,

top effort with this app. I was thinking of doing something similar a fair while back, but seeming you are on your way then I would rather help contribute towards yours if you are open to that.

I only have VS 2010, so I will see if I can toy with the sln to get it working in 2010. Have you looked at the VS add on to help better manage version releases? When I find it I will send it through to you if you like? BTW how do I go about contacting you?

I also have been working on possible cross-compiling Android DARE for decompiling but sheeesh Cygwin and development environment configuration starts to get beyond me :eek: I am a windows guy that has come to Android a few years ago now....but hell I am stuck in my Windows way of thinking (even if Linux is superior in most ways?) and I am familar with it and the command line. I have experience using AutoIT and C# only (and that's it), Java is almost nil. But I have got some good knowledge of smali that came about necessity due to my bosses' previous developer up and moving overseas and taking the source code with him for the applications that my boss owns :rolleyes: Anyway....what I present is the best of my offerings, if you are keen hit me back via PM.

J
[Android Software/Hacking General [Developers Only]] Sahaab:
Did you manage to complete this ?
[Android Software/Hacking General [Developers Only]] :
I guess its still wip.

Its a huge project . However i dont use it :)
[Android Software/Hacking General [Developers Only]] kevinrocksman:
ANy update on this?
[Android Software/Hacking General [Developers Only]] yazilimcionline:
why we can't recompile to smali ? edited java code but i can't compile apk ?
[Android Software/Hacking General [Developers Only]] z0d1ak:
i know this is an old thread. I was wondering if the project is still alive ? As the idea behind it is excellent.
[G2 Q&A, Help & Troubleshooting] NimaMirzai:
Hi everyone,

I have searched the forum but didn't find this particular problem.

I have auto brightness off, and set to 40-50% manually but the screen still dims sometimes. it gets dark and i have to do a manual increase/decrease to get it to a state where i like, but then it does it again? Only way is to reboot the phone then it usually takes a while until this behaviors shows its self again.

i dont juste batterysave functions either..

Anyone else have this problem or a solution??
[Theme Screenshots and ZIPs] blacky2198:
Hello Everyone :D​

This is my first theme (I mean the first one that uploaded with its zip :o)

It's called metroUI mix.

Mix of metro Modern UI language from Windows 8 start screen and Windows Phone apps

Update

​

I have uploaded the update on mycolorscreen you can find it here. You can find the updated zip there.

Credits:

Icon: Metro UI Icon Set - 725 Icons by dAKirby309

Font: Segoe UI by Microsoft

Made on Galaxy SIII Mini

Hope you like it :fingers-crossed:
[Theme Screenshots and ZIPs] alldroid:
hmmm first theme eh ? then well done m8 nice and clean,the mix works very well :good:
[Theme Screenshots and ZIPs] blacky2198:
Hey thanks! :D
[Theme Screenshots and ZIPs] ramirowski:
lindo theme chico :D
[Theme Screenshots and ZIPs] pcomet:
Beautiful!
[AT&T Samsung Galaxy Note II] dynamic_4444:
hi guys,

i tried flashing a rom but did'nt succeed so i want to revert to stock so how to flash stock firmware on sgh-i317m (canadian)

n where to find firmware file..

thnkss in advance
[AT&T Samsung Galaxy Note II] phierce:
Sammobile
[AT&T Samsung Galaxy Note II] dynamic_4444:
file dosent exists there any other way??
[AT&T Samsung Galaxy Note II] gregsarg:
Deleted...

Wrong device link....sorry...g
[AT&T Samsung Galaxy Note II] phierce:
What do u mean go to sammobile and get original firmware
[AT&T Samsung Galaxy Note II] dynamic_4444:
when i open latest firmware for my device(rogers,i317m) link opens n there it says file not found
[AT&T Samsung Galaxy Note II] phierce:
Try telus than and less bloat
[AT&T Samsung Galaxy Note II] dynamic_4444:
I'll try that n thnkss :)
[HTC Tornado] artiemon:
Curious is anyone has tried the new Netherlands rom for the T-Mobile SDA at https://after-sales-service.t-mobile.de/eg_online/t-mobile/t-mobile_sw/sda1ok_sw_03-2006.zip

Does it contain AKU2/MSFP? I would really like to get direct push e-mail on my T-Mobile SDA(US).
[Galaxy Note 3 Q&A, Help & Troubleshooting] GreenXSI:
Does anyone know the international launch dates for Galaxy Note 3 with new colors ? (Rose Gold Black, Rose Gold White and Merlot Red)
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] sanchit0403:
i am using Hyperion 8 gm final with this kernel when i am using 3g n i get call my phone reboots every time i am sick of it please help me
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] sanchit0403:
i am using deviant kernel.
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] mohamedrashad:
Change your kernel

I am using hells fusion #50 on Hyperion 8 final build with no problems
[Android Q&A, Help & Troubleshooting] aymanshrf73:
Hi

i need to help me to Increase Performance & Save Internal Memory in my phone, so i use [GT-S6102] Increase RAM & Internal Memory Using Link2SD + A2SDGUI + Swapper but after select (ext2) write not mounted.

my baseband :S6102XXMA2

Kerenl:2.6.35.7 idous@by-manoranjan2050#3

Fri Jul 27 00:14:16 IST 2012
[Android Q&A, Help & Troubleshooting] aymanshrf73:
Nobody can help me:crying:
[Micromax A110] avisnarayan:
Hi canvas 2 friends,

Device request has been placed in cyanogen mod's official site, for an official release of cyanogen mod. But only 2 requests have been placed and since Micromax is not a recognized brand internationally, the official mod wouldn't be possible without your support!!

please place a request in the cyanogen mod's forum for our device, in this link

Thanks in Advance!!

​

UPDATE:

Thanks guys... the request forum is getting hotter in cyanogen website... and has been branded HOT

http://forum.cyanogenmod.com/forum/707-device-requests/

But still we need more support from you guys.

Apparently some are giving up the hope that cyanogen will not do it for dual sim.

Brothers

.

So let us be it!!! :good: :good:

Please spend 5 min to place a request on the cyanogen page link (given above)
[Micromax A110] Maurice5813:
+1, I'll place a request:D
[Micromax A110] CODE_WORKX:
+ 1 lets seee..........
[Micromax A110] vinod210383:
+1
[Micromax A110] avisnarayan:
share the message

Guys share the message with everyone who uses canvas 2.... so that it will boost the process... FB will help too
[Micromax A110] avisnarayan:
Thank you guys

14 requests placed already!! thanks a lot for the buddies who placed the request!!
[Micromax A110] Deepak Vishnu:
Well good try ...cyanogen clearly stated that they wont do dual sims...its a waste of time...our only hope is if anyone will port it...anyways it will be unofficial if we get it.
[Micromax A110] avisnarayan:
They still can release it for single sim

Bro am aware of it. They could so do it for single sim like how miui 4 was there. If we get that release we have efficient devs who can modify it for us.

Tel me which is simpler.... Port and develop from scratch or port and modify a rom.

So it is still possible.... Andin God's grace it may be the first cyanogen for dual sim... Who knows? So please don't discourage people who try
[Micromax A110] Deepak Vishnu:
Our only hope if faea f2s.. They are bringing cyanogen to us..
[Micromax A110] saurabh0291:
Only 21 request yet.

Come on guys its all for us place requests...
[Micromax A110] caspboy:
No he's right. Cyanogenmod won't do it because too many people will request for dual sim. Make a single sim build for a dual sim phone is not how cyanogenmod works. Or only hope is if someone builds it from source for us, and it will be unofficial.
[Micromax A110] D_Rising_Pheonix:
fingers crossed

+1

request posted:good:
[Micromax A110] shahabazas:
Requested.
[Micromax A110] hanifvahora:
Me tooo
[Micromax A110] avisnarayan:
Thanks for placing request... please hit the thanks button too :)
[Micromax A110] avisnarayan:
Hit thanks

Thanks for placing the request bros... Please hit thanks button if your heart says "YES!!"
[Micromax A110] demongokul:
I want too

:D:thumbup::thumbup::thumbup::thumbup::D:D