[MOD] Remove sound during NFC detection - Sony Xperia ZR

Hi guys,
This is my very first (and simple) mod : removing these annoying sounds during the NFC detection.
I used the method described in this thread to replace the 3 sounds found in the nfc.apk with a silent one : get the stock nfc.pak (in /system/app), open it with winrar, replace the 3 ogg files in res/raw with a silent.ogg file (use the same original names and don't compress the files). Replace the stock nfc.pak with the modified (you need a root explorer and a rw system partition).
No more sound when I approach a tag, only vibration.
The modified nfc.apk in attachment is from the C5503 10.1.1.A.1.310 firmware. Dunno if it works with others.
Use it at your own risk and please report any problem.

Here is the modified apk for firmware 4.2.2 10.3.1.A.0.244.

Very nice work mate, keep it up
Still here
N!geR -> E!ch0

Related

[Q] z1 sounds

Hello guys
Does anyone know how to change the system sounds ?( For example when i get the notification for low battery )
If you are rooted, use root browser and go to system/media/audio/ui and replace default sounds with desired sounds (must be.ogg) with same name. E.G. If you want to change lock sound, first rename the sound file which you want as 'lock' and replace it in ui folder's lock named file and change permission to rw-r-r.
Please take backup of ui folder before you replace any files. So that in future if you need, you can revert to stock sounds.
Sent from my C6902 using XDA Free mobile app

[MOD] Multi DPI Camera and Samsung Keyboard

Decided to start a new thread as this one was getting a bit messy (and I couldn't change the title anymore)
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-multi-dpi-samsung-apps-camera-t3141148
----------------------------------------------------------
Hi all, after changing the dpi to 480 the camera was the main thing bugging me. Looking for a solution I found this thread:
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-fix-samsung-camera-app-device-dpi-t3131995
But that did not work for me, so I decided to try it myself and I finally managed to create multi-dpi versions of the Camera and Samsung Keyboard apps. They are based on the apks from the XtreStoLite Universal Deo-Mod Edition 1.5 as I'm currently running that. So just give it a try (backup the original apks first! I usually just rename them to "filename.org") and let me know if it works for you. I tested on 480 and 520 dpi and that works here...
Installation:
1. Backup original apk (in system\app\SamsungCamera4 and/or systemm\app\SamsungIMEv2 )
2. Extract modded apk to the corresponding folder
3. Wipe data for the app
4. Reboot
I basically modified the dimens.xml file to hardcoded pixel sizes instead of dip value, modifying dip value caused other issues for me (camcorder not working, pro mode messing up). Hopefully it's of use to some.
I have not been able to fix the Contacts/Dialer (SecContacts_L.apk in the priv-app folder)! I either get a corrupt apk (parsing error) or it just won't show up in my apps. Corrupted apk gives a parsing error when trying to install manually, otherwise it just says 'install failed'.
I am guessing this is somethiong with the priv-app folder and other restrictions there. I also tried copying the apk to the system\app folder instead but that didn't work either...
If anyone has ANY idea how to fix this? (I tried with both apktool as apk multitool).
*SCRIPTS ADDED*
Added the scripts and all I've written for this to this post for those wanting to try themselves (dpi_mod.zip). They are not completely polished so need some manual editing every now and then...
Basically, doubleclicking apk_process.bat in the root will go through the apk's in the apk subfolder and
1. Decompile them to the decompiled subfolder
2. Edit the dimens.xml file in the res\values subfolder of the decompiled folder replacing all the <n>dip values with <4*n>px (So 640 dip becomes 2560px for example...)
3. Rebuild the apk to the dpimod_apk subfolder (using the -c option to keep original manifest and signature files)
The files folder contains the files used (apktool, the subscripts for each step, signature files, (g)awk and an awk script to process the xml file replacing the values, etc)
There is also a script for signing the apk manually, but somehow the apk then also doesn;t work in my case it seems...
ALl scripts are windows batch files (and an awk file) as I mainly use windows at home. Shouldn't be too hard for the linux users to convert them to bash files if desired...
*EDIT2*
Added patched services.jar (and original services.jar for restoration in case of issues). Flash through twrp recovery... This allows you to use the modded SecContacts_L.apk supplied, the services.jar needs to be patched to disable the signature verification for the (system) apk files. Note that this might cause issues (an invalid services.jar caused my phone to get stuck in boot... had to restore the original to be able to continue) so use at your own risk!
Great job !
I have not been able to decompile the contacts.apk either.. I am a bit rusty tho.. will have to look into that a little more.
fOmey said:
Great job !
I have not been able to decompile the contacts.apk either.. I am a bit rusty tho.. will have to look into that a little more.
Click to expand...
Click to collapse
Thanks! And yeah, weird stuff.
I actually was only really bothered by the camera, not using the samsung keyboard at all myself and don't mind the contacts as much (perfectly usable for me) but it's now a matter of principle If you find anything out, I would love to hear.
dagrim1 said:
Thanks! And yeah, weird stuff.
I actually was only really bothered by the camera, not using the samsung keyboard at all myself and don't mind the contacts as much (perfectly usable for me) but it's now a matter of principle If you find anything out, I would love to hear.
Click to expand...
Click to collapse
But In Call screen looks weird with 480 DPI right? Would you know any fix for that? Thanks.
Sent from my SM-G925F using XDA Free mobile app
ksekhar said:
But In Call screen looks weird with 480 DPI right? Would you know any fix for that? Thanks.
Sent from my SM-G925F using XDA Free mobile app
Click to expand...
Click to collapse
Yup, it does. (But again, doesn't bother me as much as I don't look at it long because I usually hold my phone to my ear anyway ).
But yeah, I think I know where to fix it... It's the Contacts apk I mentioned above but there is an issue with decompiling/rebuilding it so can't fix it yet. Looking into it.
Did notice when decompiling and recompiling including resources it fails, when keeping resources intact it does work.
To successfully mod seccontacts you have to do these steps :
- Decompile apk
- Edit xml files in res folder
- Recompile apk
- Extract xml edited files in res folder from recompiled apk
- Paste these xml files in the original apk in the res folder with compression tool like Winrar
It works I made this with my S5.
Meh, been looking into it some more and also found this:
http://forum.xda-developers.com/android/software-hacking/how-to-recompile-tw-contacts-phone-t3066350
and
http://www.ez-pg.com/guide-how-to-decompilerecompile-lollipop-seccontacts.html
I tried modifying the manifest as instructed, but the apk still didn't work. Perhaps because signature verfication is not properly disabled on my rom. BUt if it isn't it is also not for the majority of the users in which case siumply supplying the apk wouldn't work anyway.
I also tried resigning the apk, no luck. Copying the original manifast is also not going to work afaik with a changed manifest file...
More info about signature verficiation:
http://forum.xda-developers.com/showthread.php?t=2725233
http://forum.xda-developers.com/showthread.php?t=2342262
Perhaps I will try this soon as well, but for now I think I'll leave it be...
sebdigital said:
To successfully mod seccontacts you have to do these steps :
- Decompile apk
- Edit xml files in res folder
- Recompile apk
- Extract xml edited files in res folder from recompiled apk
- Paste these xml files in the original apk in the res folder with compression tool like Winrar
It works I made this with my S5.
Click to expand...
Click to collapse
Thanks for the tip, had looked into that as well but this xml file is in the values folder which is not simply found in the res folder of the apk but compiled into the resources.arsc file in the apk so this is not working unfortunately.
dagrim1 said:
Thanks for the tip, had looked into that as well but this xml file is in the values folder which is not simply found in the res folder of the apk but compiled into the resources.arsc file in the apk so this is not working unfortunately.
Click to expand...
Click to collapse
I'm on 5.1.1 today and noticed that contacts/dialer is (almost) multi DPI already without having to do anything. And your camera mod works on 5.1.1 too!
Sent from my SM-G920F using XDA Free mobile app
can u change this Camera 480 dpi camera s6 to 420 dpi?
https://mega.nz/#!M4Ui0KoR!TKsPKkMl-XQHyiJ_DNf53eQCGZTrYWhuHaAnhAYXeSM
thanks you very much
can be used for other than s6 for SamsungCamera4. ??
my android device A8 6
dagrim1 said:
Decided to start a new thread as this one was getting a bit messy (and I couldn't change the title anymore)
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-multi-dpi-samsung-apps-camera-t3141148
----------------------------------------------------------
Hi all, after changing the dpi to 480 the camera was the main thing bugging me. Looking for a solution I found this thread:
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-fix-samsung-camera-app-device-dpi-t3131995
But that did not work for me, so I decided to try it myself and I finally managed to create multi-dpi versions of the Camera and Samsung Keyboard apps. They are based on the apks from the XtreStoLite Universal Deo-Mod Edition 1.5 as I'm currently running that. So just give it a try (backup the original apks first! I usually just rename them to "filename.org") and let me know if it works for you. I tested on 480 and 520 dpi and that works here...
Installation:
1. Backup original apk (in system\app\SamsungCamera4 and/or systemm\app\SamsungIMEv2 )
2. Extract modded apk to the corresponding folder
3. Wipe data for the app
4. Reboot
I basically modified the dimens.xml file to hardcoded pixel sizes instead of dip value, modifying dip value caused other issues for me (camcorder not working, pro mode messing up). Hopefully it's of use to some.
I have not been able to fix the Contacts/Dialer (SecContacts_L.apk in the priv-app folder)! I either get a corrupt apk (parsing error) or it just won't show up in my apps. Corrupted apk gives a parsing error when trying to install manually, otherwise it just says 'install failed'.
I am guessing this is somethiong with the priv-app folder and other restrictions there. I also tried copying the apk to the system\app folder instead but that didn't work either...
If anyone has ANY idea how to fix this? (I tried with both apktool as apk multitool).
*SCRIPTS ADDED*
Added the scripts and all I've written for this to this post for those wanting to try themselves (dpi_mod.zip). They are not completely polished so need some manual editing every now and then...
Basically, doubleclicking apk_process.bat in the root will go through the apk's in the apk subfolder and
1. Decompile them to the decompiled subfolder
2. Edit the dimens.xml file in the res\values subfolder of the decompiled folder replacing all the <n>dip values with <4*n>px (So 640 dip becomes 2560px for example...)
3. Rebuild the apk to the dpimod_apk subfolder (using the -c option to keep original manifest and signature files)
The files folder contains the files used (apktool, the subscripts for each step, signature files, (g)awk and an awk script to process the xml file replacing the values, etc)
There is also a script for signing the apk manually, but somehow the apk then also doesn;t work in my case it seems...
ALl scripts are windows batch files (and an awk file) as I mainly use windows at home. Shouldn't be too hard for the linux users to convert them to bash files if desired...
*EDIT2*
Added patched services.jar (and original services.jar for restoration in case of issues). Flash through twrp recovery... This allows you to use the modded SecContacts_L.apk supplied, the services.jar needs to be patched to disable the signature verification for the (system) apk files. Note that this might cause issues (an invalid services.jar caused my phone to get stuck in boot... had to restore the original to be able to continue) so use at your own risk!
Click to expand...
Click to collapse
how to fix on parse error, after recompile SamsungCamera4.apk with apktool
with or without edit error on parse...
My device Galaxy-A8

[SOLVED-ISH, CAN BE CLOSED]Broke Camera. Need camera app, and drivers/framework files

So... Tried to flash Cyberian Camera III and now Camera shuts down.
I would like to bring back old, stock Sony Camera. For that I need copy from on of you of following folders from /system:
/system/bin
/system/etc
/system/lib
/system/media
/system/vendor
and from /system/priv-app:
/system/priv-app/CameraCommon
/system/priv-app/SemcCameraUI-xhdpi-release
I will get the files I need as there are a lot files changed in the MOD, if you can help, but don't wan't to share all folders, PM me so I can tell you exactly which files I need.
AfroMetal said:
So... Tried to flash Cyberian Camera III and now Camera shuts down.
I would like to bring back old, stock Sony Camera. For that I need copy from on of you of following folders from /system:
/system/bin
/system/etc
/system/lib
/system/media
/system/vendor
and from /system/priv-app:
/system/priv-app/CameraCommon
/system/priv-app/SemcCameraUI-xhdpi-release
I will get the files I need as there are a lot files changed in the MOD, if you can help, but don't wan't to share all folders, PM me so I can tell you exactly which files I need.
Click to expand...
Click to collapse
Why won't you just use .ftf file with the proper ROM and flash /system partition using Flashtool?
romcio47 said:
Why won't you just use .ftf file with the proper ROM and flash /system partition using Flashtool?
Click to expand...
Click to collapse
Already did that. Wanted to avoid it, as setting up Sony device to usable state (delete all bloatware, remove Sony apps and install Google ones like dialer, contacts, messages, music...) takes about 2-3 hours, when setting up Nexus 4 took me like 15 minutes.
THREAD CAN BE DELETED
Thread closed at OPs request

Disable camera shutter sound on LOLLIPOP

hi guys,
big problem:
the camera "shutter sound menu" is not shown on LOLLIPOP!!! i found this thread:
https://forum.xda-developers.com/showthread.php?t=2795566
but nothing of this tips will work (no feature.xml, no others.xml AND NO ´/system/csc/´ folder exists. deleting the OGG files in the media folder will also not work). i think this will work on KK only. so i open a new thread for a lollipop-solution.
does a mod exist to enable the camera shutter sound menu ??? I HATE THE CAMERA-SOUNDS (click,click,click,click,click..... and all eyes on you); TERRIBLE!
regards,
chris
(device: G900F / Android 5.0 / BB G900FXXU1BOK1, stock rom but rooted)
nobody an idea????
You can just rename or delete the shutter sound inside system/media.
no way! after restarting the cam-app the files will be replaced.
snakedoc73 said:
no way! after restarting the cam-app the files will be replaced.
Click to expand...
Click to collapse
Thats not true, I've done it. The system cant create a new audio file. Use root explore and rename all the camera click sounds in the system media folder. It really is that easy.
Joe333x said:
Thats not true, I've done it. The system cant create a new audio file. Use root explore and rename all the camera click sounds in the system media folder. It really is that easy.
Click to expand...
Click to collapse
sorry, it doesn´t work. i deleted the files with root-explorer, but the sounds are not silent.
i toke a look into the "samsungcamera3.apk". the sounds are stored in this apk-paket. i think that´s the problem.
chris
This was what I was referring to but you can try wanam xposed for lolipop it has the option to remove the click sound. Requires xposed framework also.
http://repo.xposed.info/module/ma.wanam.xposed
https://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960

Question How i can edit build.prop and other files in system folder?

Hello.
Successfully rooted note 10s, but if i try to edit build.prop file in system or vendor folder, i take a zero length file...
How it can be edited?
1. use a decent file manager (i reccomend Material Files)
2. you need to remove some useless stuff, or else it won't save
Try X-plore. Just set to show hidden files.
i use root browser
work for me root browser

Categories

Resources