Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,156,409 members, 7,830,057 topics. Date: Thursday, 16 May 2024 at 03:39 PM |
Nairaland Forum / Science/Technology / Phones / How To Convert Java Phone To Android (69976 Views)
How To Convert .jar,.jad,.sis Etc Files To Apk File For Android / Java Phone Can Minimize Trust Me / How To Transfer Pictures From LG Phone to PC (2) (3) (4)
Re: How To Convert Java Phone To Android by timpaker(m): 3:57pm On Jul 30, 2013 |
I just developed headache |
Re: How To Convert Java Phone To Android by OCTAVO: 7:16pm On Jul 30, 2013 |
timpaker: I just developed headacheWhen your mates dey develop good apps |
Re: How To Convert Java Phone To Android by Nobody: 9:59pm On Jul 30, 2013 |
OCTAVO:Good apps as in.... Cartarrh? |
Re: How To Convert Java Phone To Android by NEROSKY(m): 10:06pm On Jul 30, 2013 |
*Okada man you be mumu, y you stop me here * @op u have tym |
Re: How To Convert Java Phone To Android by Nobody: 10:10pm On Jul 30, 2013 |
murimoney: chineke wetin be Dis? if I hold 10k I go buy beta n3 na!pls hw did yu get tu 4.2 wt HTC wildfire |
Re: How To Convert Java Phone To Android by Nobody: 10:14pm On Jul 30, 2013 |
I nvr read Anytin ohh....jux scrolling dwn n start lafing Til I fgrt say I bin won Google ma assignment 1 Like |
Re: How To Convert Java Phone To Android by femi4: 10:42pm On Jul 30, 2013 |
Front page plsss |
Re: How To Convert Java Phone To Android by opestein: 10:51pm On Jul 30, 2013 |
femi4: Front page plsssy is there no dislike button. na last page them suppose throwaway this topic |
Re: How To Convert Java Phone To Android by tosnat: 1:51am On Jul 31, 2013 |
Wish i could convert dis ma casio calculator to android phone...'WHY AND HOW?'....lolz |
Re: How To Convert Java Phone To Android by Coolstan: 2:43am On Jul 31, 2013 |
tosnat: We gazz appreciate dis guy..honestly..lmao y evils? |
Re: How To Convert Java Phone To Android by Nobody: 5:45am On Jul 31, 2013 |
brooklyn49: pls hw did yu get tu 4.2 wt HTC wildfiresorry my fone is **htc wildfire s** not wildfire |
Re: How To Convert Java Phone To Android by Nobody: 7:30am On Jul 31, 2013 |
murimoney: sorry my fone is **htc wildfire s** not wildfireyu no well |
Re: How To Convert Java Phone To Android by Nobody: 4:51pm On Aug 01, 2013 |
brooklyn49: yu no wellGoogle HTC wildfire s pls Bros |
Re: How To Convert Java Phone To Android by pat077: 7:30pm On Aug 01, 2013 |
@op. I need tutoria on hw 2 turn java 2 ios. Lol. |
Re: How To Convert Java Phone To Android by Nobody: 7:59pm On Aug 01, 2013 |
murimoney: Google HTC wildfire snw same wt mine jorr..I googled it |
Re: How To Convert Java Phone To Android by mightyleks(m): 9:50pm On Aug 01, 2013 |
GOD THIS THREAD NA THREAD OF THE MONTH FOR JULY KAI I DON LAFF DIE |
Re: How To Convert Java Phone To Android by Aryourkunlay(m): 10:06pm On Aug 01, 2013 |
[quote author=Danielstainz]setting up the Ground Well, it seems people are getting crazy about Android platform(everyone is trying to buy an Android phone!). I don?t have an Android cell phone but, lets see if I can get my hands dirty with this Linux+java clean room engineered platform. To begin our journey we need Android SDK, a target to test with and the necessary tools. You can download the necessary file from these locations: Android SDK: http:// developer.Android.com/sdk/ index.html Deurus Android crackme 03: http:// crackmes.de/users/deurus/ android_crackme03/ Smali and baksmali: http:// code.google.com/p/smali/ Dex2jar: http://code.google.com/p/ dex2jar/ Java decompiler: http:// java.decompiler.free.fr/ Download and install Android SDK, SDK platform(latest is 2.2 at the time of writing), necessary Java packages and rest of the tools. Create a virtual device from SDK menu and start emulation. Within few minutes you can see the emulator booting up and showing the phone screen. Well, thats it! we have our emulator up and running. Getting Started with the Game Now we need to install the software (crackme, its legal!) to the emulator. For that you may have to get acquainted with Android debug bridge(adb). Installing a apk file is pretty simple, all you have to do is to run two commands from Android SDK directory/tools. Now we will play with it, pressing check button with no inputs pops a message 'Min 4 chars', and with a proper name it pops up 'Bad boy'. We have to remember these strings because we will be using them as our search keys when we disassemble the apk(actually dex) files. Also note that we have two hardware ids and we need to find out what those exactly means. Real Android Reversing As our crackme is up and running in emulator, we now move onto reversing it. If you have read apk file format, you can visualize it as a extended JAR file which essentially is a zip file. Now you can change the crackme file name from Crackme03.apk to Crackme03.zip and decompress it to any folder. Now the interesting file for us is classes.dex, which contains the compiled vm codes. We are going to disassemble the dex file with baksmali. Commands are pretty simple as you can see from screen shots. If everything worked fine, we will have a folder structure similar to Java packages. Interesting .smali files are located at '\com\example \helloandroid'. Open all the .smali files into your favorite text editor(I use Notepad++). If you have never done anything related to reverse engineering/esoteric programming/ assembly(IL) programming, you will probably think: WTF!. Relax. We have just opened a disassembled dex file. Now, if you are thinking how on earth someone can find the correct location of checking function, I hope you remember those pop up strings I told earlier. Yeah, 'Min 4 chars' and 'Bad boy'. Now we will use those strings as our search keys. Searching ?Min 4 chars? in all the opened .smali files, we will find a hit in HelloAndroid$2.smali line 130. Our aim is to understand the serial checking function and write a k*ygen for it. For that we have to know all the dalvik opcodes that are used here. You can visit this page to understand the opcodes and after that you can convert disassembled code to much higher language constructs. I will provide a brief code snippet which actually implements the algorithm. Two hardware ids used are IMEI and sim serial number. 01 //Read name from text box 02 const v23, 0x7f050004 03 invoke-virtual/range {v22 .. v23}, Lcom/example/helloandroid/ HelloAndroid;->findViewById (I)Landroid/view/View; 04 move-result-object v9 05 06 //Read serial from text box 07 const v23, 0x7f050006 08 invoke-virtual/range {v22 .. v23}, Lcom/example/helloandroid/ HelloAndroid;->findViewById (I)Landroid/view/View; 09 move-result-object v21 10 11 //Checking whether the name is of length greate than 4 12 const/16 v22, 0x4 13 move v0, v11 14 move/from16 v1, v22 15 if-ge v0, v1, :cond_51 16 17 //Popup showing Min 4 chars 18 const-string v23, "Min 4 chars" 19 const/16 v24, 0x1 20 .line 86 21 invoke-static/range {v22 .. v24}, Landroid/widget/Toast;->makeText (Landroid/content/Context;Ljava/ lang/CharSequence;I)Landroid/ widget/Toast; 22 move-result-object v13 23 .line 88 24 .local v13, notificacionToast:Landroid/widget/ Toast; 25 invoke-virtual {v13}, Landroid/ widget/Toast;->show()V 26 27 //There is a little exception trick to make integer string from username 28 //It converts aaaa to 97979797 which is ascii equivalent 29 invoke-virtual {v10, v5}, Ljava/ blah blah blah blah Chai! Na for all this wahala I go take do just to convert my palasa abi. Abeg this your computer codes dey hammar my head jare.. |
Re: How To Convert Java Phone To Android by Nobody: 11:07pm On Aug 01, 2013 |
The level of copy/paste on this thread simultaneously boggles my mind and warms my cockles. |
Re: How To Convert Java Phone To Android by Phens(m): 7:06am On Jul 16, 2015 |
weazley:as in my brother sleep don dey catch me self, |
Re: How To Convert Java Phone To Android by ahmadgtx: 10:07am On Jul 16, 2015 |
I for follow all d steps but cum to tink of it.which java phone get beta hardware to run android... ?? |
Re: How To Convert Java Phone To Android by joeemmy(m): 5:05pm On Feb 23, 2022 |
opestein:na wa ooooo[i] opestein:na wa ooooo[/i] opestein:na wa ooooo opestein:na wa ooooo[i] opestein:na wa ooooo[/i] opestein:na wa ooooo |
Re: How To Convert Java Phone To Android by joeemmy(m): 5:14pm On Feb 23, 2022 |
[quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022[quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022[quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022[center][quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022[quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022[quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022[/center][quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022[quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022[quote author=joeemmy post=110479938] Names of best phones in 2022 [quote author=joeemmy post=110479938][quote author=joeemmy post=110479938] Names of best phones in 2022 |
Re: How To Convert Java Phone To Android by joeemmy(m): 5:15pm On Feb 23, 2022 |
Samsung Replaces Microsd Card With UFS 2.0 / iPhone 6S: Honest Review / Glo Launches Another Whooping Data Plan, Will You Rock It?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 71 |