Hi,
I was wondering if anyone with the expertise would know how to compile a module that was made for marshmallow to bring it to nougat. Sadly the developer has abandoned the project and closed the xda thread, while not responding to messages.
https://forum.xda-developers.com/xposed/modules/lp-knock-code-screen-t3272679
that is the module in question. I have tried to decompile the apk and recompile after making a few changes, however it just worsened the case.
mindzombies said:
Sadly the developer has abandoned the project and closed the xda thread, while not responding to messages.
Click to expand...
Click to collapse
Any chance you cloned its git repo? Not only he won't answer any message but he had the incredibly selfish-prick act of deleting the git repo for Knock code so no one can work on it!
acidrums4 said:
Any chance you cloned its git repo? Not only he won't answer any message but he had the incredibly selfish-prick act of deleting the git repo for Knock code so no one can work on it!
Click to expand...
Click to collapse
acidrums4 said:
so no one can work on it!
Click to expand...
Click to collapse
Nor kang it!
Sent from my lithium using XDA Labs
Yep, that is the main reason I haven't been able to work on it myself. Nor am i good enough to reverse engineer the apk.
Here you have the source code.
I haven't the ability to work on it for myself and it would be safer if someone more capable would do it, but at least i gave you the source code and hope it'a useful.
I would recommend you as well to open a new thread with the source code link on first page to get more people to work on it and hope we can get the knock code back.
Big ups, tell me if it was helpful.
https://drive.google.com/file/d/1bDILNuiQSCIOx2BXDGxpagGf6UeoerbJ/view?usp=drivesdk
Edit: remember this is a non-flashable zip, in case you were wondering, it's the apk just decompiled, unzip it and inside you have the whole amount of java files that contain the source code
You will need an app able to unzip files and read java files.
Otherwise download it to your computer (recommended)
Related
We use Eclipse for making android apps. Is there any way to open APK files in Eclipse, so I can view their source folder, etc. and do any editing? I've used APK Multi tool and APK Manager, but I wanted to open an APK in Eclipse. Any help would be appreciated.
Sent from heaven!
anasdcool71 said:
We use Eclipse for making android apps. Is there any way to open APK files in Eclipse, so I can view their source folder, etc. and do any editing? I've used APK Multi tool and APK Manager, but I wanted to open an APK in Eclipse. Any help would be appreciated.
Sent from heaven!
Click to expand...
Click to collapse
Not possible, APKs are compiled code. there is no source left to see. Your best bet is to contact the developer and ask for source code
lkrasner said:
Not possible, APKs are compiled code. there is no source left to see. Your best bet is to contact the developer and ask for source code
Click to expand...
Click to collapse
Alright. Well, thanks for the help!
Sent from heaven!
Not Quite
That's false you can Indeed see the source code with a little help of dex2jar and apktool.
AND hope there is no code obfuscation like proguard.
Regards,
D'Pepino
Hi everyone, I was trying to use this mod ( WAMOD, you can find it in github by Brian Valente ) but in order to use it, I have to merge the mod with the apk, I can decompile the apk but then I dont know how to merge the apk with the mod. Thanks.
pasatmalo said:
Hi everyone, I was trying to use this mod ( WAMOD, you can find it in github by Brian Valente ) but in order to use it, I have to merge the mod with the apk, I can decompile the apk but then I dont know how to merge the apk with the mod. Thanks.
Click to expand...
Click to collapse
Hello and welcome to the XDA Forums!
The WAMOD you are talking about is a mod that seems like a nice concept, so I understand you'd like to get it. Hopefully this can answer your questions regarding on how to merge the apk with the mod since you'll have to understand some parts of smali. You'll also need android studio (Google how to get that) and the java development kit (get it before installing android studio from here) to compile the WAMOD from the source (in this case, github!) so you can decompile and get the smali code.
Hope that helps and leave a thanks if it did
RAZERZDAHACKER said:
Hello and welcome to the XDA Forums!
The WAMOD you are talking about is a mod that seems like a nice concept, so I understand you'd like to get it. Hopefully this can answer your questions regarding on how to merge the apk with the mod since you'll have to understand some parts of smali. You'll also need android studio (Google how to get that) and the java development kit (get it before installing android studio from here) to compile the WAMOD from the source (in this case, github!) so you can decompile and get the smali code.
Hope that helps and leave a thanks if it did
Click to expand...
Click to collapse
Hi, I already have android studio and java development kit. So now what should I do exctly? Thanks.
pasatmalo said:
Hi, I already have android studio and java development kit. So now what should I do exctly? Thanks.
Click to expand...
Click to collapse
Follow the links I refered to in my post .
RAZERZDAHACKER said:
Follow the links I refered to in my post .
Click to expand...
Click to collapse
Ok, I postes It before I read It, I cant Download your tool, anyway to compile It Will do?
I get this error when I run make command while compiling Android kernel. Please help me.
kurtulus145 said:
I get this error when I run make command while compiling Android kernel. Please help me.
Click to expand...
Click to collapse
Send a text file containing the entire log right from command execution or .sh file execution. Also which phone and processor are u developing on?
KingRaheel said:
Send a text file containing the entire log right from command execution or .sh file execution. Also which phone and processor are u developing on?
Click to expand...
Click to collapse
I upload on attachments.
Device: Asus Memopad 7 ME176CX
Processor: Intel Atom Z3745
kurtulus145 said:
I upload on attachments.
Device: Asus Memopad 7 ME176CX
Processor: Intel Atom Z3745
Click to expand...
Click to collapse
Did u try compiling again using a fresh copy of source? What exact changes did u make? Did u use menuconfig command? Is your source code on github? You should tell all this when u need help else we may not be able to help u out efficiently.
KingRaheel said:
Did u try compiling again using a fresh copy of source? What exact changes did u make? Did u use menuconfig command? Is your source code on github? You should tell all this when u need help else we may not be able to help u out efficiently.
Click to expand...
Click to collapse
No other source file is available. I have not made any changes to the source code. I have edited some things with menuconfig command. No source code in Github. I downloaded it from Asus's site.
kurtulus145 said:
No other source file is available. I have not made any changes to the source code. I have edited some things with menuconfig command. No source code in Github. I downloaded it from Asus's site.
Click to expand...
Click to collapse
What i meant by fresh copy is the downloaded kernel files from asus website which has no alterations done by youto it. Try compiling it without doing any changes using menuconfig or any other command and see if u get the zImage. If u do then use menuconfig and apply one change at a time,compile and see if it causes issues. From your log its clear that some change has caused instability to most of the kernel modules. Kernel building is not easy.
If u want attention of other developers then upload your source code on github and post link here. Can't assure attention but it may help:good:
KingRaheel said:
What i meant by fresh copy is the downloaded kernel files from asus website which has no alterations done by youto it. Try compiling it without doing any changes using menuconfig or any other command and see if u get the zImage. If u do then use menuconfig and apply one change at a time,compile and see if it causes issues. From your log its clear that some change has caused instability to most of the kernel modules. Kernel building is not easy.
If u want attention of other developers then upload your source code on github and post link here. Can't assure attention but it may help:good:
Click to expand...
Click to collapse
I tried the make command without making any changes with the menuconfig command. I got the same error again. I upload source code on GitHub.
I uploaded github.
Link:https://github.com/kurtulus145/k013_kernel
Help!!!
This is BETA version.
I'm not responsible for any damage done to your bootlooping Nexus 6p.
I haven't made any of these zips or imgs, i just compiled and coded the .exe file that does everything automaticly you just need to agree with stuff for safety.
All credits goes to XCnathan32 and his original post at: https://forum.xda-developers.com/nexus-6p/general/guide-fix-nexus-6p-bootloop-death-blod-t3640279
You can download all the files needed here.https://www.dropbox.com/s/hjudzp7rat68anz/nobootloop%206p.zip?dl=0'
I hope this helps somebody
Feel free to hit me up.
I will try to respond to everyone.
I will also share the code with you if you want to take a look what's inside of this program and how it works.
"EDIT #1"
If it works as expected for everyone i will make the same version for LG Nexus 5X.
Thank you!
Since I'm a developer, can you share the source code of your exe? Thanks!
Sent from Enterprise bridge
Sent
CyberZeus1977 said:
Thank you!
Since I'm a developer, can you share the source code of your exe? Thanks!
Sent from Enterprise bridge
Click to expand...
Click to collapse
I've sent it to you as a private message.
virtualas said:
I've sent it to you as a private message.
Click to expand...
Click to collapse
Sorry, are you sure? I don't see it!
Sent from Enterprise bridge
I've resent it
CyberZeus1977 said:
Sorry, are you sure? I don't see it!
Sent from Enterprise bridge
Click to expand...
Click to collapse
I've resent it check it now
virtualas said:
This is BETA version.
I'm not responsible for any damage done to your bootlooping Nexus 6p.
I haven't made any of these zips or imgs, i just compiled and coded the .exe file that does everything automaticly you just need to agree with stuff for safety.
All credits goes to XCnathan32 and his original post at: https://forum.xda-developers.com/nexus-6p/general/guide-fix-nexus-6p-bootloop-death-blod-t3640279
You can download all the files needed here.https://www.dropbox.com/s/hjudzp7rat68anz/nobootloop%206p.zip?dl=0'
I hope this helps somebody
Feel free to hit me up.
I will try to respond to everyone.
I will also share the code with you if you want to take a look what's inside of this program and how it works.
"EDIT #1"
If it works as expected for everyone i will make the same version for LG Nexus 5X.
Click to expand...
Click to collapse
Could you please send me the source code too? If I can verify that it works safely and well, I can go ahead and recommend this post in my Bootloop fix guide .
Edit: The OP has not given me the source yet, however I went ahead and checked the file myself. The MD5 checksums of the modified 4 core files in the zip are identical to the ones I posted, so that's good. I decompiled the exe in dotPeek, and I found no malicious code in it, however, my knowledge of C and dissembling is limited, so that does not mean this file is guaranteed to be safe. But I doubt that this is malicious.
Unfortunately, this file has old files from before the core utilization fix, so I wouldn't recommend using it just for the reason that your device will be very slow. This has great potential though, and if OP maintains it, it could be very viable.
This post has actually inspired me to make a similar program, as many people could benefit from this, and I want to learn C as well, so a project like this would be a great start for me.
XCnathan32 said:
Could you please send me the source code too? If I can verify that it works safely and well, I can go ahead and recommend this post in my Bootloop fix guide .
Edit: The OP has not given me the source yet, however I went ahead and checked the file myself. The MD5 checksums of the modified 4 core files in the zip are identical to the ones I posted, so that's good. I decompiled the exe in dotPeek, and I found no malicious code in it, however, my knowledge of C and dissembling is limited, so that does not mean this file is guaranteed to be safe. But I doubt that this is malicious.
Unfortunately, this file has old files from before the core utilization fix, so I wouldn't recommend using it just for the reason that your device will be very slow. This has great potential though, and if OP maintains it, it could be very viable.
This post has actually inspired me to make a similar program, as many people could benefit from this, and I want to learn C as well, so a project like this would be a great start for me.
Click to expand...
Click to collapse
Sorry, I was out of town and didn't have access to my computer, btw the code is in C#, I'm sending the code to you right now.
Hey, super excited to try this, as I've been having some issues with the original fix.
For some reason, I get to "is you phone in recovery mode" (Y) and then the application closes. any thoughts?
So far all the "fixing methodes" did nothing....only twrp I was able to run on my nexus6p....I'd like to try this method too but I can't download the files.....I don't use google drive...the browser is trying to download but after 2 seconds....error...?
Hello friends from XDA! I have a problem when try push a framework base repo (2.5GB). Always i get an advice about size, maybe have files too bigs. I saw a lot of source code ROM with their repos pushed, but i cant find the way. Someone has done? Thank you!
kjjjnob said:
Hello friends from XDA! I have a problem when try push a framework base repo (2.5GB). Always i get an advice about size, maybe have files too bigs. I saw a lot of source code ROM with their repos pushed, but i cant find the way. Someone has done? Thank you!
Click to expand...
Click to collapse
On GitHub? I did this just some hours ago actually, I only got a warning about one file being over recommended size of 50MB (some test MP4).
Make sure you are using SSH, not HTTPS.