[Q&A] [MOD] On-screen navigation bar 23.3.23 - Droid Ultra Q&A, Help & Troubleshooting

Q&A for [MOD] On-screen navigation bar 23.3.23
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [MOD] On-screen navigation bar 23.3.23. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!

Dr. Carpenter said:
Nobody, anywhere, ever, is liable for anything you do to your device
Here is a flashable zip for the on-screen navigation bar on the latest OTA (23.3.23). It will also disable the capacitative buttons, but does not disable the lighting, although that can be done easily with GravityBox[KK].
Flash in TWRP recovery. Flash the revert file to return to stock to accept future OTA's.
Neither file should flash on any other system than 23.3.23 on the Droid Ultra or Maxx, so there is little to no risk of damage, but you are solely responsible for your device.
View attachment 2978533
View attachment 2978534
Click to expand...
Click to collapse
Will this work on 23.3.24?

kbl1224 said:
Will this work on 23.3.24?
Click to expand...
Click to collapse
Gotta love the QA bot... Had no notification for your post. Anyway, I don't have an update yet for 24, but probably will tomorrow. It does appear that the update does have a patch for the framework file that this mod changes, so do not flash this version on 24. It should fail the compatibility check and abort anyway, but just don't do it lol.
Sent from my XT1080 using Tapatalk

Awesome! Thanks! That would be great!
Sent from my XT1080 Developer Edition using Tapatalk

Aaaand this is why I shouldn't give ETA's... Maybe this weekend
Sent from my XT1080 using Tapatalk

Dr. Carpenter said:
Aaaand this is why I shouldn't give ETA's... Maybe this weekend
Sent from my XT1080 using Tapatalk
Click to expand...
Click to collapse
Thanks! Could you point me in the direction of a tutorial to do this? I know you and WhiteChallenger were going back add fourth about this before, but I can't seem to find the thread. Thanks for your help!
Sent from my XT1080 Developer Edition using Tapatalk

bendrum30 said:
Thanks! Could you point me in the direction of a tutorial to do this? I know you and WhiteChallenger were going back add fourth about this before, but I can't seem to find the thread. Thanks for your help!
Sent from my XT1080 Developer Edition using Tapatalk
Click to expand...
Click to collapse
Yeah, sorry, I've been meaning to get this done, just been crazy busy.
You'll need to have some form of apktool installed (I use android multitool, on mobile right now so no link, sorry). Pull framework-res.apk from system/framework. Decompile it using apktool.
In the decompiled folder, navigate to /res/values and open bools.XML. Notepad++ works great.
Go to around line 71 and change the "shownavigationbar" value from false to true. Then around line 178 change "config_showmenubar" from true to false.
Save the XML, and compile using apktool. Be sure to follow the directions to replace the manifest and meta-inf folder. I use 7zip for that.
Then, use 7zip again to replace the apk in the installer zip with the one you just edited. I would first make a copy of the installer and rename to reflect the new system version.
Finally, in 7zip, pull out the file META-INF/com/google/android/updater-script. Open in notepad++, and edit the ro.build.version.full line to match the new system. You can find this in the build.prop using root explorer on your phone. If this doesn't match, it won't install.
Save the file, and copy it back into the installer in 7zip, replacing the old one.
Flash and enjoy
Edit: this is off the top of my head, so if anything is wrong/doesn't work, let me know
Sent from my XT1080 using Tapatalk

I'll give it a shot and let you know! Thank you!
Sent from my XT1080 Developer Edition using Tapatalk

Great instructions! Worked perfectly on the first try! Thank you so much for taking the time!
Sent from my XT1080 Developer Edition using Tapatalk

bendrum30 said:
Great instructions! Worked perfectly on the first try! Thank you so much for taking the time!
Sent from my XT1080 Developer Edition using Tapatalk
Click to expand...
Click to collapse
Glad to hear it. I'd really appreciate it if you could post it in the main thread for others to use.
Sent from my XT1080 using Tapatalk

Posted to the main thread. I wanted to make sure all the zips worked. Thanks again!
Sent from my XT1080 Developer Edition using Tapatalk

Related

Themeing note 10.1

So I started working on a theme for my note 10.1, is going good so far but ran in to a little snag. The problem is when iedit the notifications background it seems to shrink for no reason. The resolution of the image hasn't changed just modified the colour. As you can see in the image below 1 being where 2 should be. And number 3 has developed a gap for some reason even though it hasn't been modified,. Any help would be much appreciated.
[/IMG]Sent from my GT-N8000 using xda app-developers app
Yep thats themed
ckavvouras said:
So I started working on a theme for my note 10.1, is going good so far but ran in to a little snag. The problem is when iedit the notifications background it seems to shrink for no reason. The resolution of the image hasn't changed just modified the colour. As you can see in the image below 1 being where 2 should be. And number 3 has developed a gap for some reason even though it hasn't been modified,. Any help would be much appreciated.
[/IMG]Sent from my GT-N8000 using xda app-developers app
Click to expand...
Click to collapse
Looks like you edited a .9.png file. You need to maintain the 9 patch when editing the file. You have to decompile the apk then edit images. If you look on the border of 9 patch images you'll see black dots or lines you need to make sure they remain solid black and do not edit or move them.
Sent from my GT-N8013 using Tapatalk HD
jivy26 said:
Looks like you edited a .9.png file. You need to maintain the 9 patch when editing the file. You have to decompile the apk then edit images. If you look on the border of 9 patch images you'll see black dots or lines you need to make sure they remain solid black and do not edit or move them.
Sent from my GT-N8013 using Tapatalk HD
Click to expand...
Click to collapse
Can you point me in the right direction on how to do that, this is my first attempt at something like this, I don't know what a 9.png file is how do I maintain the "9" what ever that is. I have been using 7zip to extract the res file editing the files then injecting them back in to the systemui.apk
Sent from my GT-N8000 using xda app-developers app
ckavvouras said:
Can you point me in the right direction on how to do that, this is my first attempt at something like this, I don't know what a 9.png file is how do I maintain the "9" what ever that is. I have been using 7zip to extract the res file editing the files then injecting them back in to the systemui.apk
Sent from my GT-N8000 using xda app-developers app
Click to expand...
Click to collapse
You'll need to learn how to decompile apk just google that it will point in right direction
Sent from my GT-N8013 using Tapatalk HD
jivy26 said:
You'll need to learn how to decompile apk just google that it will point in right direction
Sent from my GT-N8013 using Tapatalk HD
Click to expand...
Click to collapse
Thanks for the help man I really apriciated it
Sent from my GT-N8000 using xda app-developers app
Hi ckavvouras
how can make screenshot with popup?!
when i try to make screenshot, automatically popup go down !!!
please help me
Thanks
and about themes, see this:
http://forum.xda-developers.com/showthread.php?t=2111691
nader1450 said:
Hi ckavvouras
how can make screenshot with popup?!
when i try to make screenshot, automatically popup go down !!!
please help me
Thanks
and about themes, see this:
http://forum.xda-developers.com/showthread.php?t=2111691
Click to expand...
Click to collapse
need to hold the power button and volume down button

[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

[Q] Is there any man remove ''checking subscription status'' when open mobile hotspot

like my old android 4.1.2 I want to open mobile hotspot without checking subscription status in my new android 4.3 galaxy s3 verizon
where are developers that will modify framework.jar file to enable this again in this new android verizon?
please help
If beans ever gets his 4.3 rom out it will probably be how you want. I know I'm waiting to install safestrap until he releases it. Until then I'm sure you could find a guide on how to do it.
You mean that i wait some months also until this problem solved
Thanks
Sent from my SCH-I535 using XDA Premium 4 mobile app
alnajmalabed said:
You mean that i wait some months also until this problem solved
Thanks
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I mean opposite, it probably isn't that hard and you can have it now if you do it yourself. Or ask for clues on how to do it instead of expecting someone else to do it for you.
I googled that problem for a week and no answer resolve it.
If you have the way to do that, then thank you very match
Sent from my SCH-I535 using XDA Premium 4 mobile app
And this problem not only on my phone, the problem was found in all verizon phones with android 4.3
Sent from my SCH-I535 using XDA Premium 4 mobile app
I resolved this issue and removed '' checking subscription status '' by a zip file flashed by a custom recovery
Thanks
Sent from my SCH-I535 using XDA Premium 4 mobile app
alnajmalabed said:
I resolved this issue and removed '' checking subscription status '' by a zip file flashed by a custom recovery
Thanks
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Friday night I found out how to manually do it but java was being a pain in the butt and I wanted to test it before telling you how also so I could have the file to upload to you. Just so you know the file you needed to edit was the framework-res.apk not the .jar. the xml that needed to be edited was located at framework-res.apk\res\values\arrays.xml
Decompiled it just fine but on the compile after I was done editing java was being stupid and the compile failed. Hope this information can help you in the future.
ThePagel said:
Friday night I found out how to manually do it but java was being a pain in the butt and I wanted to test it before telling you how also so I could have the file to upload to you. Just so you know the file you needed to edit was the framework-res.apk not the .jar. the xml that needed to be edited was located at framework-res.apk\res\values\arrays.xml
Decompiled it just fine but on the compile after I was done editing java was being stupid and the compile failed. Hope this information can help you in the future.
Click to expand...
Click to collapse
thank you the Pagel
if you need the zip file i will upload it and upload safestrap apk that make custom recovery
alnajmalabed said:
thank you the Pagel
if you need the zip file i will upload it and upload safestrap apk that make custom recovery
Click to expand...
Click to collapse
The zip would be nice if its not to much to ask. I can compair a working mod with my own. I already have safestrap.
The other alternative would be to use foxfi
Medicstud007 said:
The other alternative would be to use foxfi
Click to expand...
Click to collapse
I own foxfi but some people would rather use the built in tether.
HotSpot Toggle Widget by Fattin
ThePagel said:
I own foxfi but some people would rather use the built in tether.
Click to expand...
Click to collapse
The alternative alternative would be to use the HotSpot Toggle Widget by Fattin.
I haven't tried it on 4.3 (have been putting off upgrading because of too many cons for the pros...) - but it bypasses all that verification stuff - still using the built-in tether.
Yackley said:
The alternative alternative would be to use the HotSpot Toggle Widget by Fattin.
I haven't tried it on 4.3 (have been putting off upgrading because of too many cons for the pros...) - but it bypasses all that verification stuff - still using the built-in tether.
Click to expand...
Click to collapse
Or edit the framework-res.apk yourself. I am glad I know how now because I will never need to wait for someone else to do it. well the only reason Iwould is if foxfi breaks in a update.
ThePagel said:
Or edit the framework-res.apk yourself. I am glad I know how now because I will never need to wait for someone else to do it. well the only reason Iwould is if foxfi breaks in a update.
Click to expand...
Click to collapse
Where did you learn how to edit the framework-res.apk? I would rather know how to do it myself but my java skills are rudimentary at best (though I am a quick learner!!). What did you use to do the editing?
Thanks!
I downloaded a note 2 recovery zip of the modified apk. I then spent about ten minutes googling where the tether subscription checker was located then compared my apk to the note 2 apk. A lot of trial and error if you would like to see it old and slow has a edited recovery zip for the 4.3 tether (came out a day after I was looking for it so that's why I didn't choose that one). Just decompile both apk and look in framework-res.apk\res\values\arrays.xml. what I did when comparing it to the note 2 was open both of the XML in notepad++ and compare lines. I am confident I can now mod it without examples if it ever happens again. Finding a decompiler is the easy part there are a lot of free ones out there just Google it and as long as you can recognize every character in the XML (no odd symbols) it decompiled correctly. I could not find a guid on how to do this but I probably learned more from my errors than I would have learned from a step by step. Hope that helps and sorry if that made no sense typed it in a rush.
---------- Post added 31st January 2014 at 12:02 AM ---------- Previous post was 30th January 2014 at 11:53 PM ----------
Oh and if you dig around in the apk long enough you might notice how easy (but time consuming) it would be to make your own custom modifications and themes for your own rom. I like doing it this way over xposed because no matter what I do xposed is super buggy for me.

[MOD] Disable ascending ringtone\notifications

Click here for original mod for the Moto X Play
This mod is not my mod
I just used the script from eskamhl Moto X Play version and made it work for the Pure Edition
Just download the file below and flash in TWRP and you are all set!
make sure to give this guy credit for this mod
Phone no longer has that annoying ascending anything, notifications are good as well.
If you want to flash back the ascending volume, Click here
Credit for the restore goes to rsa 329
Working for me! Thanks for posting!
Perhaps you should have this moved to the general section? More people may see it ... Just a suggestion
Sent from my XT1575 using Tapatalk
How do you have it moved? Should be in there. Thought it was. Ha. I posted it last night when I was basically sleeping.
Sent from my XT1575 using XDA Free mobile app
A moderator will probably have to it ... Maybe @TonyStark can help ya out with getting it moved
Sent from my XT1575 using Tapatalk
Will this mod still work once the MM update is released?
I'm I the only one who likes ascending ringtones lol? I find it quite nice but hey that's just me
Thanks!
I was just thinking about how I dislike the ascending ringtones feature when I happened upon this thread. I know it seems/sounds stupid, but some of my custom ringtones and notifications lose their intended effect with the ascending feature. This solves that, so thank you both very much!
Thank you!
I really didn't like this ascending "feature"
Could someone who was smart enough (the patch script isn't) to backup the original audio_ext_spkr.conf please post this file, or its content (it's not much)? The fix works for me. I'm just curious and wanted to test something.
Thanks!
Sakete said:
Will this mod still work once the MM update is released?
Click to expand...
Click to collapse
I installed it on the Indian MM release and it still works.
Sent from my XT1575 using Tapatalk
BigBlue007 said:
Could someone who was smart enough (the patch script isn't) to backup the original audio_ext_spkr.conf please post this file, or its content (it's not much)? The fix works for me. I'm just curious and wanted to test something.
Thanks!
Click to expand...
Click to collapse
I have a nandroid with the old file but I am having an issue extracting it with nandroid manager. I'll work on it a bit and try to post something.
Sent from my XT1575 using Tapatalk
Here is an ascending ringtone restore flashable.
https://drive.google.com/file/d/0BzjB2NI5b0HSZ1YxWmNYNkY5UlU/view?usp=sharing
rsa 329 said:
Here is an ascending ringtone restore flashable.
https://drive.google.com/file/d/0BzjB2NI5b0HSZ1YxWmNYNkY5UlU/view?usp=sharing
Click to expand...
Click to collapse
Thanks for that, I was going to upload one but have been super busy. I'm going go add your link to the op
Sent from my XT1575 using Tapatalk
Yw
I haven't gotten a chance to test it yet, but do we know if changing that file will hit us with the Android Pay failure to validate system issue? The MM file has the same issues as lollipop.
Garoun said:
I haven't gotten a chance to test it yet, but do we know if changing that file will hit us with the Android Pay failure to validate system issue? The MM file has the same issues as lollipop.
Click to expand...
Click to collapse
I manually edited the file and, no, it didn't trigger Android Pay failure to validate. Actaully it is the only mod so far (with Systemless root and AdAway Ad blocking) that I was able to apply without triggering the Android pay failure.
Proven to work on my MXPE 6.0
Thank God, now the phone is worth having lol
Thanks for this, drove me nuts
-Moto X Pure-
Thanks. Worked on Moto E 2nd Gen also

Categories

Resources