need help, I am too stupid to edit an apk - Galaxy Note 3 Themes and Apps

Hi,
can somebody help me to edit my xxuend3 SecSettings.apk? I want remove 2 entries, in fact "screen mirroring" and "cloud". I have tried it several times but without success. I could not compile the apk without errors. Maybe I am a noob or an idiot....
sent from my disappointing note 3

search on google ==> ticklemyandroid
it will do all you need

labellord said:
Hi,
can somebody help me to edit my xxuend3 SecSettings.apk? I want remove 2 entries, in fact "screen mirroring" and "cloud". I have tried it several times but without success. I could not compile the apk without errors. Maybe I am a noob or an idiot....
sent from my disappointing note 3
Click to expand...
Click to collapse
xml folder look for cloud as i remember is general_headers and other is connection_headers

Thank you guys, I will try that tomorrow. This tool looks very easy and comfortable.
sent from my disappointing note 3

Related

[SOLVED] Why does APK not work after modification ?

Hi
MIUI V4 has an issue of silent whatsapp notification.
a solution was found and described in here :
What you need to do is decompile the APK.
Look in \res\xml\preferences.xml
Search for android:ringtoneType="all"
Replace with android:ringtoneType="notification"
Click to expand...
Click to collapse
The problem is when I decompile, change and recompile whatsapp apk (and sign it), it becomes smalller (dropping from 7MB to 5.4). even trying to swap resources.arsc of the files with 7zip, does the same.
I even tried manipulating XDA whatsapp plus, but the result is the same - when trying to install the new "small" apk I get an error "application not installed" and that's it (no other version exists in the device).
How do I deal from here ?
Whatsapp won't fix this as it is custom ROM related and I think it is fixed on MIUI JB...
Thanks.
This is the latest official whatsapp apk from the Google Play :
Hi itzik2sh
I think i have whatsapp notification working normally (icon, sound and vibration) on MiUI (my cMiUI fyi), so, kinda weird that not working for u...
Anw, bout the size, i think it is normal cause, I used this trim size trick to minimize the size of my roms tho ^^…so, once it is installed and work properly, u shouldnt worry bout the size
Sent from my SGH-T959V using xda premium
But it's not working, and cmiui is a different ROM.
sent from me
Have you tried not signing it after you do ur changes?
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
tried it... not working...
I'll give it a shot and see what I can do tomorrow cus right now I'm going to sleep lol
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
Check if signatures are there in the apk(compiled one). The changes in size are normal. It happens due to compression ratios.
Sent from my GT-S5360 using XDA
Can i port the original signature? How do I do that?
sent from me
I hope not! That is the point of signing the APK. Only the person with the private part of the key can sign, allowing users to confirm that the package, as they have it, came from the signer.
Posted from my SGS4G, thanks to Team Acid development
Hi Jeff
I know it's the vision and purpose of signing, but there are too many apks
I'm lately unable to recompile and get them working.
Erik - I was also never able to translate MIUI camera.apk,
as adding some resources made apk not run anymore. even swaping resources.arsc doesn't help.
Working with latest APKTOOL jar 1.5.0 and signing !
Thanks!

full control of multiscreen apps?

i bought a note 2 few days ago, and flashed omega's rom. i was extremely excited to found this thing:
http://forum.xda-developers.com/showthread.php?t=1953705
we can enable any apps for multiscreen viewing with this awesome app
do we have chance to port this thing to our note 10.1?
sorry for my bad english
I don't exactly remember on what thread I found this, but if you have jellybean (4.1) on your note 10.1, then you can download and install the apks there have here: http://forum.xda-developers.com/misc.php?do=showattachments&t=1985240 to make them compatible with multiview.
They recommend backing up the version of the app you have now using Titanium backup, then uninstalling it, and then installing the apk from the link.
yup i saw that post earlier, but with this noobs like me only can install apps that have been "edited"(i dont know what that call) by them.
but with the note 2 thing, we can create ourselves easily
omnia1994 said:
yup i saw that post earlier, but with this noobs like me only can install apps that have been "edited"(i dont know what that call) by them.
but with the note 2 thing, we can create ourselves easily
Click to expand...
Click to collapse
I found the thread: http://forum.xda-developers.com/showthread.php?t=1985240
They explain how to make your own applications work with multiview, it's not too difficult.
I agree that easier is better, but if you really want/need an app to work with multiview, it might be worth giving their method a try .
I hope I can figure it out. Thanks
omnia1994 said:
I hope I can figure it out. Thanks
Click to expand...
Click to collapse
No problem, and good luck!
I just found another useful thread on this topic: http://forum.xda-developers.com/showthread.php?t=1998133
They made an exe file in which you can point to an apk file or even a folder with apk files, and then the program slowly but steadily does everything for you! I'm trying it out right now on a folder with 15 apks. Just have to wait now and see how it does !

Two versions of the same application

i have an app installed (from apk file, not google play).
recently i got an updated version of the application (another apk file).
is there ANY way of installing the new version next to old one without overwritting it?
i need to use both versions at the same time.
Why use 2 versions? If its the same app, it will do the same thing as the old one.
???
Sent from my GT-N8020 using xda app-developers app
Are you trying to have simultaneous porn pix slideshows or films running concurrently?LOL
JK sounds like youre doing a comparison of versions....but of what?
You aint special.
i have an app that i am using for watching tv from my satellite platform provider.
they released an updated version of they software with new functionality but they took away others. i would like to use new things but also still have an access to old functions.
but excluding the duscussion if is it reasonable or not...
can it be done? and how?
.
Hi,
Backup it with titaniumbackup first, then install new version.
If updated app is not working, just restore the old one.
Bye
Sent from my GT-N8000 using Tapatalk HD
drei666 said:
Hi,
Backup it with titaniumbackup first, then install new version.
If updated app is not working, just restore the old one.
Bye
Sent from my GT-N8000 using Tapatalk HD
Click to expand...
Click to collapse
Thats an answer to a totally different question.
is there ANY way of installing the new version next to old one without overwritting it?
OP i would try renaming the apk .
jje
the files have different name.
Probably they have the same signature or ID or whatever identifies it in Google Play.
Is there any way of changing the parameter identifying the app?
kayteck1 said:
the files have different name.
Probably they have the same signature or ID or whatever identifies it in Google Play.
Is there any way of changing the parameter identifying the app?
Click to expand...
Click to collapse
yes u can change the main activity name in smali form....apktools will help you
..decompile apk
..change activity folder's name
..change activity paths in all smali files
..rebuild apk
..sign
.. install
good luck
Galaxyer said:
yes u can change the main activity name in smali form....apktools will help you
..decompile apk
..change activity folder's name
..change activity paths in all smali files
..rebuild apk
..sign
.. install
good luck
Click to expand...
Click to collapse
Thank you.
So, I got as far as..... decompiling the app
I am not completely across with programming but I have no clue what I should do next Well... I've never played in programming for android and haven't played in modding or any stuff like that.
SO, Can you guide me what I should do next?
What is activity folder name and where is it stored?
Which entries in smali files are activity paths?
I'll understand if you won't help anymore as it may be too much to go through... honestly, no worries...
This is a link to the app
https://www.dropbox.com/s/gtcazc58aqz8j7y/com.adb.android.app.iti-1.apk
It is a free app. The only thing is that it can be downloaded from Polish Google Play only, hope I haven't broke any xda rulez now
Any help is appreciated...
Here you go...just install this alongside the original
https://www.dropbox.com/s/r07l6u06q4dow1d/iti.apk
bjbinc said:
Here you go...just install this alongside the original
https://www.dropbox.com/s/r07l6u06q4dow1d/iti.apk
Click to expand...
Click to collapse
link is not working, sorry...
.
kayteck1 said:
link is not working, sorry...
.
Click to expand...
Click to collapse
Weird... Try this
http://db.tt/SIpwOgs8
Sent from my GT-N8013 using Tapatalk HD
kayteck1 said:
link is not working, sorry...
.
Click to expand...
Click to collapse
Sorry for my late...
thanks to bjbinc for supporting you with the mod...
Good luck
I'm trying to do the same thing. With real racing 3. I have an older version that I like a lot for its particular features, plus the latest Ferrari updated version.
I want to have both on my phone. Any way? Also, they have the same exact com.r3 folders, can the modified apk use different data folders?
Thank you for all your help

[APP][MOD] Black One-Handed mode background

[Disclaimer: this is my first use of APKTOOL. So, this may be a bit buggy, and I'll state that up front. No bugs so far, but feedback is appreciated and will be used to tweak/fix it up.]
I noticed some other ROM had done this, but I couldn't find it. So I modified the EasyOneHand.apk to attempt to make it have a black background, to save power and save your eyes in a dark room. After all, black pixels use zero power on an OLED screen.
[As luck would have it, the chef of the X-NOTE rom responded and told me his ROM was the one that had it. Of course, I didn't see his response quickly enough and I had already gotten impatient and did it myself, so I thought I'd post it anyway. Credit to him for the inspiration for my learning...]
I have attached my mod as well as the original stock files (APK and ODEX) for replacement. I have added an Update.Zip for those who prefer to let the magic happen automatically. There is also a dark version - just be sure to rename it and overwrite the existing file to install it. The dark version intentionally has white edges so you can easily see where the screen border is.
Extract this to your /system/app folder, overwriting the existing one. Be sure to delete the corresponding ODEX file if it exists. Set the permissions to the same as the other files in the folder (chmod 644).
Let me know how it works for you!
Updates
======================================
* Added Update.zip
* Added dark version (2013-11-17)
Screenshots
Before/After show the look before and after my mod.
Settings01-03 show how to enable one-handed mode and the built-in tutorial for how to use it. See the FAQ post below for details.
FAQ
Frequently Access Questions
=========================
But it didn't work!!! Did you reboot? You've gotta reboot, if you copy the file manually. Also, if using Update.Zip, it's best to clear cache/dalvik-cache.
Can I reuse or repackage this? Sure! Just give credit and send a link back to this thread.
How do I enable One Handed Mode? Look at the settings screenshots for details. You have to go to Settings -> Device -> One Handed Operation. Turn on "Use for All Screens." Then click the link at the bottom for the tutorial.
One handed mode is not working even after rebooting! Make sure you have all accesibility apps turned off.
Thank you Sir, its working great
Sent from [email protected] Ass Note III SM-N9005
iznee said:
Thank you Sir, its working great
Sent from [email protected] Ass Note III SM-N9005
Click to expand...
Click to collapse
Glad to hear it!
Thanks!!
What is the app? Like what does it do, I have no clue what easy one hand is.
Sent from my SM-N900T using Tapatalk
Fantastic!!!!
useful mod
works perfectly! thx :good:
How about some screenshots and cwm flashable zip too?
Sent from my SM-N9005 using Tapatalk
Slappy_G thanks for your efforts! Indeed it is a useful stuff! A great "pushing" thanks button!
blu3angel said:
How about some screenshots and cwm flashable zip too?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
There is a flashable update.zip there now, but I'll post a screenshot. Good point - some people are not familiar with the name "EasyOneHand.apk".
Slappy_G said:
There is a flashable update.zip there now, but I'll post a screenshot. Good point - some people are not familiar with the name "EasyOneHand.apk".
Click to expand...
Click to collapse
Screenshots and instructions for enabling one-handed mode added to the original post and the FAQ, respectively.
Hi there! I tried to install this mod unsuccessfully by replacing the file as instructed, then tried to replace with the original files and didn't work either. tried to flash and nothing. So right now I lost the one handed operation. I´m kind of noob so I think I´m probably doing something wrong, or perhaps is a different version depending on the phone, I have a N900W8. If anyone could help me would be very appreciated.
EDIT:::
I found the solution by desactivating "any dash" app from accesibility. I think it has something to do with this thread: http://forum.xda-developers.com/showthread.php?t=2465085&highlight=one+hand+operation
spumpco said:
Hi there! I tried to install this mod unsuccessfully by replacing the file as instructed, then tried to replace with the original files and didn't work either. tried to flash and nothing. So right now I lost the one handed operation. I´m kind of noob so I think I´m probably doing something wrong, or perhaps is a different version depending on the phone, I have a N900W8. If anyone could help me would be very appreciated.
EDIT:::
I found the solution by desactivating "any dash" app from accesibility. I think it has something to do with this thread: http://forum.xda-developers.com/showthread.php?t=2465085&highlight=one+hand+operation
Click to expand...
Click to collapse
Glad to hear that you got it all sorted out! Accessibility apps can wreak havoc with the bugs Samsung has on their Roms.
Sent from my SM-N900T using Tapatalk
Thanx, works great. I started a thread with a link here on the tmobile note 3 forum to spread the word.
Sent from my SM-N900T using xda app-developers app
Can confirm functions perfectly on sprint 900p
Sent from my SM-N900P using Tapatalk
Thanks Slappy! This works great! (although the update.zip failed to work via TWRP recovery. Have to manually replacing the apk)
Suggestions
1. Change the frame of the windows to deeper color as it's still white which wastes bit battery.
2. I don't know if this is feasible. Can the One Hand Mode stay after unlocking screen?
3. Can it also work for landscape mode?
Thanks again for your great great effort!
it seems like your apk is from a rom earlier than mj6 thats why it is not working with accessibility ON...so please please update it with a newer apk from mj6 or newer
rickylcp said:
Thanks Slappy! This works great! (although the update.zip failed to work via TWRP recovery. Have to manually replacing the apk)
Suggestions
1. Change the frame of the windows to deeper color as it's still white which wastes bit battery.
2. I don't know if this is feasible. Can the One Hand Mode stay after unlocking screen?
3. Can it also work for landscape mode?
Thanks again for your great great effort!
Click to expand...
Click to collapse
I'm working on darkening it today. I have been working through quitting my job and finding another, so have been occupied as of late... I'm going to change it from #ffffff to #222222.
As to points 2 and 3, it is not something I have looked into, but I'll do some research. I believe that it is just the way it works (in other words, TouchWiz only calls the app when it is in portrait and it does not allow it to survive a lock/unlock.)
rickylcp said:
Suggestions
1. Change the frame of the windows to deeper color as it's still white which wastes bit battery.
Thanks again for your great great effort!
Click to expand...
Click to collapse
I have added a dark version, as per your request. I was actually thinking about this for some time myself. The X-Note ROM author made an all-black version, but I found it was hard to tell where the screen edges were, so I went with a dark gray and left the edges white so you can see them better.

[Q] Advanced reboot for Sense 5 4.2.2

hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
phonegeekjr said:
hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
Click to expand...
Click to collapse
use SENSE 5 toolbox in development thread http://forum.xda-developers.com/showthread.php?p=46837064
Or else VIPER XL it pretty much has all the options one can need!
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
phonegeekjr said:
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
phonegeekjr said:
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Black!Jack said:
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Zarchiver
Sent from my Evita
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
what about for a linux computer are there any tools I can use with that.
Not sure about on Linux, you should be able to find something via Google. There should also be guides on XDA.
Sent from my Evita
phonegeekjr said:
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Apktool... ApkMultiTool (really just a UI to take command line work out of the equation-not really my style though), Virtuous10 Studios, many more I'm sure I forgot. I have some .bat files for executing necessary commands if your not sure how to use command line.
Sent from my HTC One XL using XDA Premium 4 mobile app
---------- Post added at 05:32 PM ---------- Previous post was at 04:32 PM ----------
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
Not sure that Zarchiver is a tool for Decompiling and Recompiling .apks.
From what I have read about it, it looks more like a File Manager/Archiver.
@ PhoneGeek... for Linux I would have to say that apktool is going to be your best bet. You can find the XDA thread here. And the main page for apktool is here.
Black!Jack said:
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Click to expand...
Click to collapse
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
phonegeekjr said:
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
Click to expand...
Click to collapse
That is what I was originally trying to let you know. The one for the HTC MOD is device specific (HTC Desire I believe). I have gone through the .smali files as these guides instructed and noticed a wide variety of variance. If you decide to attempt the instructions per those guides, you do so at your own risk; especially if you have no idea what you are really doing. The Devs around here are labeled that for a reason. Chances are... they really know what they are doing when messing around with files that could deem our phones inoperable.
One bit of advice I will give you before you start messing with the .smali files, is to learn Java, if you don't already, and then head over to the Smali page and read through all of the documentation in their wiki (it will be hard to understand if you don't know Java though). After taking the time to learn these things, when you open up the .smali files you will have a better understanding of what you are actually looking at and how things are structured. For example, when you open one up, you will perhaps see some variance of :
invoke-direct {v0, v1, p0, v2}
Well, what do all of these v's and p's mean - what do they point to?
There are two naming schemes for registers - the normal v naming scheme and the p naming scheme for parameter registers. Confused?
Read the wiki! Confused by the wiki? Learn Java! This is really the best advice that I can give you. By no means am I downing you or questioning your intelligence. I am simply trying to help you by pointing you in the right direction. Spoon-feeding you all of the answers isn't going to help you learn. I am by no means an expert; not even dillusional enough to think that I am- though my wife may disagree!
In addition, when you get to the Smali page, on the Project home tab, there is a link for an IRC chat room and an example of how the entry level "Hello World" app is broken down into .smali.
Hope that I have helped, to at least point you in the right direction. If I have click the Thanks button!
Edit: Here are some links that may be useful in your quest for knowledge of this subject matter:
Modifying .smali files
Convert .smali to .java
Dalvik opcodes
Android opcodes
Bytecode for the Dalvik VM
Another place with useful links
All of these resources were found with the help of my good friend Google, and her red-headed stepchild XDA!
Hi. I have tried yet again to make sense 5 toolbox apm work. Still not. Latest version of framework used. Any ideas
edit: foumd the problem and apm is now working.
Sent from my HTC One XL using xda app-developers app

Categories

Resources