How can I recover source code from installed apk in phone? - Android Q&A, Help & Troubleshooting

Hi to all!
I'm in a bit of trouble, I'll be inmensely appreciated to anyone that can give me a hand with this.
I've been developing an android game to help kids learn their first words, I've made sustantial progress but not being familiar gith git I only did commit changes instead of pushing all the way through to the gitlab repo. A couple of days ago my ssd went dead all of a sudden (been trying all sorts of things to revive it but to no avail), the thing is that this drive is where all my source code was and theres no way of getting it back (the drive is not being recognized in the bios).
Luckily (?) I had the game installed in my Galaxy S7 (even though its not the latest version I had its much more advanced than what I have at the gitlab repo). Using ES File Explorer I managed to make a backup of the apk and copied it to my computer. Now what I'm trying to do is decompile the dex files (classes.dex and classes2.dex) to obtain the source code using dex2jar and Java Decompiler to get the java code from the jars.
But in this last step I only get code for com.android.tools package, can anyone point me in the right direction?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm really frustrated
I appreciate all the help I can get
Diego

Related

[TOOL] Jmz Apk Drag and Drop tool 11-12-11

This is something I created because I got tired of command line interfaces. This is very basic and rough right now. This all went through my initial testing of every tab.
Any and all suggestions welcome
DOWNLOAD
WARNINGS
---------------
--Do not use batch recompile with system signed apks. Does not resign.
--Set framework files in first tab before using batch tabs
Prerequisites
---------------
--Java JDK installed and in PATH
Features
-------------
--Single Decompile
--Single Recompile
--Batch Decompile
--Batch Recompile
--Many more features to come...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Great job in this
Sent for the EVO Classic.
Great to see you back at it man....I'm gonna have to try this!
Sent from my HTC Evo 3D using Tapatalk!
would u give me direct link from mediafire,please...
thankz before
nice apk gj
hi guys...please help me to solve my problem HERE,my thumb just for u who can solving my problem
Dead link
Download link is dead

[BOOT ANIMATION] Win XP

Win Xp Boot Animation​
Here's a little bit of nostalgia, got friends to believe I ported Win Xp to my device ​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First thing, I'm quite new to Android but thanks to my new Flyer and even more thanks to the nice people and devs here I'm slowly learning, so here's my little contribution. I started with a WM program from team.fluxion here http://forum.xda-developers.com/showthread.php?t=765498 then found they already have a version for Android phone (800x480) so decided to adapt it for the Flyer or should I say to completely rewrite it, yet all the credit goes to them. Please feel free to comment and or suggest
Installation:
Unzip the attached file, move the bootanimation.zip to your device in Data/Local, replacing your existing bootanimation.zip (you can copy it somewhere in case you want to reuse it in the future).
I read in another thread that for View users the bootanimation.zip need to be renamed as Sprint_bootanimation.zip but I didn't try it.
The other file Andybliss.png should be moved anywhere on your sdcard, open it and save it as wallpaper.
Reboot your device and enjoy!
LOL, nice, thanks for sharing.

[Q] Persistent notifications from the same app/package and their order (Lollipop)

Hi, all. I have a question that I hope someone can help me answer. I've been using MeteoNotifier (gplay link here) for the last little while. The app creates two persistent notifications via 2 xml's and, on KitKat, the notifications were Current Conditions on top and the Forecast on the bottom (see example below)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
With the 5.0 Lollipop update, I noticed that the notifications have switched orders (i.e. Forecast on top, Current Conditions on the bottom)(see example below)
My question is, does anyone know how I can change the order of the notifications back and can this be done by editing the xml files? I am not a developer (i.e. no Java knowledge) but I am handy with apktool and xml editing (and very limited knowledge of smali editing). Logic tells me that this most likely cannot be done by simple xml editing but I thought that I'd ask. Thanks.
PS I'm almost certain that the app has been abandoned by the dev (it has not been updated in almost 2 years) and that is why I'm posting the question here. Plus, I enjoy learning about this stuff

[DEV][PACE/STRATOS][APK WATCHFACES] APK WatchFaces for Stratos and Pace Source Code

Hi guys ,
I bring you two APK WatchFaces Source Code so that you can see how they're made and how do they work. Use the code as you wish, you're free to build it on your own, mod it or use it to create totally new APK watchfaces. It's a whole new world to discover and I invite you to join me in this.. adventure?
I deleted the HuamiWatchFaces.jar because of Huami's intelectual property and WeatherWidget.java (weather info) and weekdays translation because it was taken from Marco Fregapane's code and it wasn't mine.
The building process is detailed in the README.md, basically you'll have to get HuamiWatchFaces.jar (https://goo.gl/vjzzw1), place it in libs folder and build the watchface using Android Studio.
Big thanks to @Malvarez and Dany Martí for their help!
Have fun, I hope to see your watchfaces soon!
Source Code:
https://github.com/Nxsaul/AmazfitAPKs/tree/master/LBA97Watchfaces
Click to expand...
Click to collapse
Preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Want to buy me a beer? paypal.me/LuisBaena
It was about time!
Thanks to you for your work @LBA97.

AirDrop on Android

Hello dear XDA Community,
I am currently trying to create a kind of website where you can upload files to my phones local storage.
To do so, I would just make the person that wants to share a file with me log into my phones wifi tethering.
Then they should be able to type some specific address into their searchbar to get to a form where they can upload files straight to my internal storage.
What I´ve tried so far:
I first tested everything on Windows with Apache and xampp.
After that I downloaded an App called Server for PHP.
When I start the server, everything works so far and I can execute my upload php files using chrome and upload files from my storage to a before specified folder.
So I thought that I could just use my secondary phone to connect to the wifi hotspot and type in the address (0.0.0.0:8080), but it can`t load the page.
Have any of you tried something similar before and do you know a way to get it to work?
I will also upload some screenshots and the php files later.
Thanks for your help already!!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources