[APK] Disabling aspects of launcher (Nova) - Java for Android App Development

Hi. I'm pretty new to modding APKs so I'm looking for some guidance.
I've followed tutorials to unpack APKs and start modifying them, but am having trouble even unpacking the classes.dex file, let alone finding the correct file to mod. Assuming I can get past the first step, can anyone point me in teh right direction for this specific mod?
Some background: I'm trying to mod the Nova Launcher APK to remove the long-press option to unlock a locked desktop. The reason for this is that I'm creating a fairly locked down tablet for education purposes, and need a way to remove this option.
Has anyone had experience removing functions like this in this apk or others? Any direction you could give would be awesome. :highfive:

Anyone have any suggestions with something like this? Also, if this isn't the correct place to post, please let me know! Thanks :fingers-crossed:

Related

need help in modding widgetlocker

hello guys,
i've been trying to mod my widgetlocker in order to change my lockscreen slider but I don't quite understand what I must do. the thread's here: http://forum.xda-developers.com/showthread.php?t=825553. I tried the root explorer method but the files couldn't be copied to the apk. as for the other methods, it contains strange terms that I don't get like "s-off" and "sdk directory." so, if someone could provide me a simple way to mod widgetlocker in hd2, i'll be very happy. thanks.
edit: found the way: http://forum.xda-developers.com/showthread.php?p=9819235#post9819235

[Q] Help Me Modify Some Framework Files Please

I definitely wouldn't call my self a noob but also would never call myself a programmer or a pro by any means. I can change the framework-res.apk with out any problems and am getting the hang of different theming from messing around with that. I have read just about every tutorial that I can get my hands on too but haven't found anything regarding com.htc.resources.apk. The are files in that apk that I want to change but every time I even change the smallest png in there when I push with adb or droid explorer or simply copy and paste with root exp I get bootloops no matter what. I've tried signed unsigned nothing seems to work. If it matters Im running CMYLXGO's HD build on NAND. And I've been told that com.htc.resources.apk is a "sensitive" file but based on others themes and build I imagine that there has to be a way to modify it. So please any advice or ideas are very welcome...thanks so much in advance.
+1
I can replace com.htc.resources, BUT millions of FCs
Even if I replace it with the original file!!
Can somebody help us?
I think you need to set permissions

apk creation question

hey guys,
been looking around at android apk creation and there seems to be many languages and ways to get your program on an android device. Hoping that someone can point me in the right direction.
I"m looking to create an apk file that will never touch the marketplace. I want to custom load it on my devices. So here's what I'm looking to package. A folder containing a custom flash menu, with sub-files in the direct that are all flash. Now I do have the new flash 5.5 with the air for android extension, works like a charm.
What is the best way to get a full dir into an apk. Everything will be developed through flash, never java. any input would be great. Thanks!

Deodexing - 4 problem apks - anyone able to help?

I'm in the process of deodexing the stock ROM (4.5.1-134_DFP-82) on my Defy+. I've tried a number of the deodexing tools posted around XDA and elsewhere but nothing would run anything like clean, so I've been building my own script to do it.
I've successfully deodexed everything in /system/framework/ and 151 out of 155 odexes in /system/app/. It has been quite interesting, tracking down the missing classes when something doesn't deodex clean first time with the default BOOTCLASSPATH files. Unfortunately, though, four of the .odexes in /system/app/ have got me beat.
The first one is Settings.odex. This is reporting:class Lcom/motorola/android/mirrorservice/IMirrorService; cannot be resolved.​I can't locate that class anywhere. I've tried disassembling everything in both directories and searching the results but it just doesn't seem to be there. Settings seems rather too important to just allow baksmali to ignore the error.
The other three - DLNA.odex, MediaGallery.odex and VideoPlayer.odex - all display the same symptom. Trying to deodex with just the standard BOOTCLASSPATH files gives the error:class Lcom/motorola/android/extdispservice/IExtDispService; cannot be resolved.​Adding /system/framework/com.motorola.blur.library.service.odex to the BOOTCLASSPATH files makes that go away, but instead gives the error:Could not find superclass Lcom/google/protobuf/GeneratedMessage$Builde​I've seen that one several times and the way to fix it has always been to add /system/framework/com.motorola.blur.library.utilities.odex to the BOOTCLASSPATH files. But in this case I end up with the error:class Lcom/motorola/android/extdispservice/IExtDispService; cannot be resolved.​again. It's taking me round in circles! I've tried reversing the order of utilities and service but that doesn't fix it either.
Anyone able to suggest how I might get rid of these errors? The second one in particular is doing my head in!
OK, so I've done a bit more digging around online and it seems that both those classes are to do with the HDMI interface, which of course the Defy doesn't have. baksmali continues anyway and creates the out folder, so I'm assuming that it should be OK to zip those back in to the relevant apks and try those. Does that sound right?
Hi ejstubbs
thanks for starting this thread...i was wanting to start deodexing roms on my own. can you please help me with the apps needed and/or some link where i can get a thorough knowhow about deodexing roms for my Defy?
Questions go in the Q&A section, not the Dev section.

[Q] Spell Checker

Hello i was wondering if anyone would be able to help me enable spell checker on the s5. (not autocorrect or predictive text on the keyboard).
I know other people have been able to do it on previous versions of the galaxy and also on the note, By editing Secsettings.apk & framework2.jar, such as in this following link: http://forum.xda-developers.com/showthread.php?p=34856343
Now i am not sure if it would be as simple as this, but i am sure someone on here would be able to enable the spell checker on our s5. If this is all it involves i am able to compile and decompile these two things and edit them myself, but i am pretty sure these files have changed due to the new 4.4.2 touchwiz on the s5.
If it was possible to create a flashable zip file that would edit the certain files or apps needed, that would be helpful and lot easier for a lot of people out there. But i am not sure if that's possible.
I am sure im not the only out there that would like this feature on our new s5, so you would be helping a few of us out.
anyone that would be able to give me some insight or would be able to do this, it would be much appreciated. cheers.
[SOLVED]
With this guide http://forum.xda-developers.com/showthread.php?t=2543967&page=4 and this one http://forum.xda-developers.com/showthread.php?t=2251719 I modified framework2.jar (in system/framework folder)
SecSettings.apk is in system/priv-app for S5.
Do not forget to set the correct permissions of files after copy in system memory.
Menu was enabled, but no RED UNDERLINE appear for errors (with google keyboard installed and all options checked).
The Mod is in this way useless!
It fully run only in ART runtime. (Why??)
.
Have you tried?
.
Rulesless said:
Have you tried?
.
Click to expand...
Click to collapse
sorry i only just saw your reply! I am having troubles with my phone at the moment so once i fix it i will try decompiling those apps and adding those lines.
thank you for your reply and sorry for my late reply!

Categories

Resources