[Completed] [Q] Modifying Smali Code and recompile it. - XDA Assist

I have read all the threads on the topic of decompiling APK file and recompiling it, and so far I am successful in decompiling and recompiling it.And now I want to make some changes in smali files like change package name and remove some features, But I don't know smali language, so Is there a way that I can convert smali files into Android JAVA project which I can import into Eclipse or I must have to learn smali language to achieve what I want.
Thanks in Advance

Hi there,
I'm sorry, but here is not the right place for technical support, so for relevant answers please post your question in this forum:
> Android Development and Hacking > Android Q&A, Help & Troubleshooting
Guide: [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions
good luck
The mission of XDA Assist is to provide basic help to those who have tried searching but can't find what they are looking for and need assistance. This is not a "helpdesk" providing technical assistance but more to point you in the correct direction with your problem. Perhaps you can't find posts on how to root your phone, install custom recovery or maybe you have questions about how to navigate and use features on the site.
Click to expand...
Click to collapse

Related

[Q] Help with APK Tool

Wondering if anyone could provide me with some guidance on using APK Tool? I've successfully used it to decompile an app that I want to make some subtle graphic changes to. The main problem I have is how to recompile it so that it is signed and allowed to be installed on Android. I can't seem to find any clear instructions on recompiling.
Can anyone either help me with some clear directions on this or point me to a site that goes over this a bit deeper? I did a search already but couldn't find anything particularly helpful.
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[Completed] [Q] trying to disable signature check in services.jar 4.4.4 kitkat

as the title stats i been trying to disable the sig check in services.jar stock android 4.4.4 i have followed several guides and have compiled this mod on 4.1.2 touchwiz rom.
now before you ask. i tried to take logcat it didnt work in this state the device couldn't be detected. ive notice that while using file-manger to repair the file /system is completely empty not sure if that is on my part or what but flashing a stock rom back over my current build makes it boot up again no data loss or anything. just point me in the right place or pm me any help is appreciated
im trying to do this for the nexus 7 "flo" 2013 stock 4.4.4 rom based. below is the quick thing of what is happening
decompile services.jar
navigate to pm/packagemangerservice.smali
look for method
.method static comparesignatures([landroid/content/pm/signature;[landroid/content/pm/signaturel
change the follow to what ever
compile and reput the classes.dex back into services.jar push to the device
reboot & wait for android is upgrading to finshe.
and after its done it starts force closing on every app
Sir,
The mission of XDA Assist is to provide basic help to those who have tried searching but can't find what they are looking for and need assistance. This is not a "helpdesk" providing technical assistance but more to point you in the correct direction with your problem. Perhaps you can't find posts on how to root your phone, install custom recovery or maybe you have questions about how to navigate and use features on the site.
Our XDA Assist team will give you links to threads/forums that are relevant to your problem. You may be pointed towards guides and instructions that can be quite complex, so you will still need to read carefully and be cautious before attempting to make software changes to your device. It is essential you are in the correct forum for your device model; what works for one can ruin another.
Thanks for understanding
You can start asking in the device forum related from here: > Nexus 7 > Nexus 7 Q&A, Help & Troubleshooting or directly in this thread: Nexus 7 Help Thread
Good luck
Edited
Well sir can you point me in the right direction.
And for you information. I have already posted in my sub device forum. Nexus 2013 q&a Labeled the same title and yet no replies.
Sent from my Nexus 7 2013 using XDA Free mobile app
Sir,
I pointed you in your device forum and if you already asked there you must wait an answer from the experts. If you don't receive anything you can try asking in this forum :
> Android Development and Hacking > Android Software and Hacking General [Developers Only]
Have a nice day
Good luck

[Completed] Modify firmware to create a custom one

Please someone point me in the right direction...
I have searched for software/methods of taking an existing rom/firmware for android settop boxes/phones and modifying it and zipping and signing it.
I find documents from 2012-2013 but it says the methods and/or software is no longer supported.
XDA Visitor said:
Please someone point me in the right direction...
I have searched for software/methods of taking an existing rom/firmware for android settop boxes/phones and modifying it and zipping and signing it.
I find documents from 2012-2013 but it says the methods and/or software is no longer supported.
Click to expand...
Click to collapse
Here are some nice guides about creating your own custom ROM:
[UltimateGUIDE][How-to]Create your Own Custom ROM an easy way|Android Secrets -_-
[GUIDE]How To Create A Custom Rom(noob friendly guide)
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS]
You may start with the XDA University: Building Your Own Android Rom article.
Which leads over to the How to Build an Android ROM - Introduction ... with many links to related guides.
If you have further questions or need additional help, you may rehister on xda and ask in the corresponding Q&A thread (if available).
Good luck !
Thread closed. Thank you!

[Completed] Question about google exoplayer

Hello, I am new to the forum.
I want to run the exoplyer of google (link:https://github.com/google/ExoPlayer) in my android phone Panasonic P55.
Now I have downloaded the source code files of exoplayer but i know nothing about compiling such files.
I have read the instructions in the webpage but it makes no sense to me.
If anyone can please compile the files into an apk file, I will be much much grateful. Thank you in advance.
XDA Visitor said:
Hello, I am new to the forum.
I want to run the exoplyer of google (link:https://github.com/google/ExoPlayer) in my android phone Panasonic P55.
Now I have downloaded the source code files of exoplayer but i know nothing about compiling such files.
I have read the instructions in the webpage but it makes no sense to me.
If anyone can please compile the files into an apk file, I will be much much grateful. Thank you in advance.
Click to expand...
Click to collapse
Hello, and welcome to XDA!
I tried compiling as well, but I had some stuff that was out of date, so ExoPlayer didn't import properly.
I would create an account, so you can post in other forums. Then, I would pose the question in the Go to first new post in the > Android Development and Hacking > Android Q&A, Help & Troubleshooting > [Ask Any Question][Newbie Friendly] thread.
Edit. I got it to compile, but it's a demo program, and although it probably has to do with my system configuration, it's very rough around the edges.
By the sounds of the description, it seems to be more for a media framework than a front-end for say, YouTube. Even if it was compiled properly, I don't think it will do what you are looking for. Sorry.
Hope this helps, and good luck!

[Completed] Android Studio missing system classes from Eclipse

I've downloaded some source codes that I wasn't able to use because they were originally from eclipse and that made use of system classes
Code:
import com.android.systemui.statusbar.BaseStatusBar;
import com.android.systemui.statusbar.NotificationData;
import com.android.systemui.statusbar.NotificationData.Entry;
using thoose as example.
on my sdk source folder I found that thoose files exists but I can't find a way to make android studio let me import them
anyone knows how to fix it?
all my projects are on Android Studio
thanks
Hi,
Xda Assist is here to help new members navigate the site, not for support. As outlined in this sticky from the top of the Assist section, http://forum.xda-developers.com/showthread.php?t=2764768
Thanks,
Thread closed.

Categories

Resources