[request] whatsapp preferences.xml module - Magisk

Hello, there is a preferences.xml in /data/data/com.whatsapp/shared_prefs/com.whatsapp_preferences.xml
There are some options to modify as everyone likes it like
<int name="image_max_edge" value="1280" />
TO
<int name="image_max_edge" value="1920" />
or
<int name="image_quality" value="80" />
TO
<int name="image_quality" value="95" />
I'm not a dev sry or else I would try to make this module. Modify the file itself will be overwritten from whatsapp in a few while and the changes are gone.
And sorry for my bad english. I don't want use a translation every time

You can't use Magisk to mount stuff to /data, like you can with /system.
You can however create a module with a boot script, or just place a boot script in service.d that modifies the file when the phone boots. The sed command or similar would do it.
You mention though that WhatsApp overwrites the settings after a while. That can be trickier to prevent, depending on when it happens.

Whats app videos
I am using vivo V5S mobile and i have an updated whatsapp app.
I cant send more tha 17 mb video file. Please help me in this

it is a limit of WA.
use a more user friendly messenger

I'm pretty sure Kmod FWA Xposed module can set image quality to Maximum.
But that's not Magisk.

Related

Disappearing email accounts - solution

Friends,
Here are my solutions to this problem. I am using this method since I tried my first WM5 ROM. I created a cab file with my pop3 account setups. When ever I loose my account setups, all I have to do is re-install this cab. I also use this cab to install my setups when ever I flash new rom. This process is simple all you have to do is follow the below descried steps and create your own setup cab file.
1. First download attached zip file and extract to you pc. After unzipping you should see a directory c:\kapa.
2. Open CM_Entries.xml in notepad or wordpad (C:\Kapa\Network_setups\Windows\ CM_Entries.xml)
3. Change xml file with your account details.
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{6f1d0168-cab2-11db-8314-0800200c9a66}">
<parm name="SERVICENAME" value="Account name like Yahoo"/>
<parm name="SERVICETYPE" value="POP3"/>
<parm name="INSERVER" value="pop.mail.yahoo.com"/>
<parm name="OUTSERVER" value="smtp.mail.yahoo.com:587"/>
<parm name="DWNDAY" value="-1"/>
<parm name="RETRIEVE" value="-1"/>
<parm name="AUTHREQUIRED" value="1"/>
<parm name="KEEPMAX" value="-1"/>
<parm name="AUTHNAME" value="username"/>
<parm name="AUTHSECRET" value="password"/>
<parm name="DOMAIN" value=""/>
<parm name="REPLYADDR" value="[email protected]"/>
<parm name="NAME" value="Display Name"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
4. Save and close CM_Entries.xml
5. open dos prompt (run-> command)
6. goto c:\kapa directory and run following command
Cabwiz.exe c:\kapa\network_setups\setups.inf
Your setup file is created and is available in c:\kapa\networ_setups folder.
Alternate method is using wince cab manager.
disappearing email
There is actually an easier to solution to this problem. There is now a utility that can repair or delete the ghost email accounts. I downloaded it from freewareppc.com. The utility is called mailaccountrepair.exe.
arnarn911 said:
There is actually an easier to solution to this problem. There is now a utility that can repair or delete the ghost email accounts. I downloaded it from freewareppc.com. The utility is called mailaccountrepair.exe.
Click to expand...
Click to collapse
I'm not sure how having to re-enter manually the server addresses is easier than just running a cab once it is set up?
anilkaparthi, thanks for this it seems just what I have been looking for.
One thing though, I forward most of my emails to my main gmail account to an isp email account so I can download them from there on P Outlook (gmail loses them from the inbox once it downloads again), so in effect I send using gmail's smtp and receive on my isp's pop, so is it possible to add a line(s) to put in that the stmp uses separate settings (a separate login id)?
Thanks
Graham
Hi anilkaparthi,
Is it possible to include more than 1 account in one cab?
Cheers
klaey
klaey said:
Hi anilkaparthi,
Is it possible to include more than 1 account in one cab?
Cheers
klaey
Click to expand...
Click to collapse
Yes you can have more than one email account setup. Just follow following xml structure
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{6f1d0168-cab2-11db-8314-0800200c9a66}">
<parm name="SERVICENAME" value="Account1"/>
<parm name="SERVICETYPE" value="POP3"/>
<parm name="INSERVER" value="pop.mail.yahoo.com"/>
<parm name="OUTSERVER" value="smtp.mail.yahoo.com:587"/>
<parm name="DWNDAY" value="-1"/>
<parm name="RETRIEVE" value="-1"/>
<parm name="AUTHREQUIRED" value="1"/>
<parm name="KEEPMAX" value="-1"/>
<parm name="AUTHNAME" value="username"/>
<parm name="AUTHSECRET" value="password"/>
<parm name="DOMAIN" value=""/>
<parm name="REPLYADDR" value="[email protected]"/>
<parm name="NAME" value="Display Name"/>
</characteristic>
</characteristic>
<characteristic type="EMAIL2">
<characteristic type="{1325bc8c-cdee-11db-8314-0800200c9a66}">
<parm name="SERVICENAME" value="Account2"/>
<parm name="SERVICETYPE" value="POP3"/>
<parm name="INSERVER" value="pop.mail.yahoo.com"/>
<parm name="OUTSERVER" value="smtp.mail.yahoo.com:587"/>
<parm name="DWNDAY" value="-1"/>
<parm name="RETRIEVE" value="-1"/>
<parm name="AUTHREQUIRED" value="1"/>
<parm name="KEEPMAX" value="-1"/>
<parm name="AUTHNAME" value="username"/>
<parm name="AUTHSECRET" value="password"/>
<parm name="DOMAIN" value=""/>
<parm name="REPLYADDR" value="[email protected]"/>
<parm name="NAME" value="Display Name"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Make sure you generate unique characteristic type id for every account. Use following site to generate uuid
http://www.famkruithof.net/uuid/uuidgen
grayme said:
I'm not sure how having to re-enter manually the server addresses is easier than just running a cab once it is set up?
anilkaparthi, thanks for this it seems just what I have been looking for.
One thing though, I forward most of my emails to my main gmail account to an isp email account so I can download them from there on P Outlook (gmail loses them from the inbox once it downloads again), so in effect I send using gmail's smtp and receive on my isp's pop, so is it possible to add a line(s) to put in that the stmp uses separate settings (a separate login id)?
Thanks
Graham
Click to expand...
Click to collapse
If you are asking about adding another email account then follow steps mentioned in previous mail.
anilkaparthi said:
If you are asking about adding another email account then follow steps mentioned in previous mail.
Click to expand...
Click to collapse
Just one email account but with smtp using separate settings and hence needing a different login and password.
Hi anilkaparthi,
thx for the info. Your solution is realy great!
Cheers
klaey
Hi anilkaparthi,
a really great job. It works fine with my gmx-account.
I had problems creating an email account after I had installed Buzz's German language pack over Helmis AKU3.5 v1.4 because I couldn't select an email provider (pop/imap/exchange...) within the email-wizard. The drop-down field was empty.
With your tool it finally works.
Thanks a lot!
Phily
Very good info here, thanks.
2?
First anyone know the tag command for how can you unselect "use same when roaming" check box under options
Also command for delete from server or keep message on server.
Other than that it works great.
wpbear said:
Very good info here, thanks.
2?
First anyone know the tag command for how can you unselect "use same when roaming" check box under options
Also command for delete from server or keep message on server.
Other than that it works great.
Click to expand...
Click to collapse
There are ot of good stuff available on MSDN for email configuration. Check at following url
http://msdn.microsoft.com/library/d...y/en-us/mobilesdk5/html/wce51grfEMAIL2CSP.asp
anilkaparthi said:
There are ot of good stuff available on MSDN for email configuration. Check at following url
http://msdn.microsoft.com/library/d...y/en-us/mobilesdk5/html/wce51grfEMAIL2CSP.asp
Click to expand...
Click to collapse
I was there last night for a while, and as every other MS product it wasnt good. The web page is too basic and does not list all the options you get if you manually setup the email account, this led me to believe that either you can not setup all the settings using this method or the website with all the commands is not easy to find. I searched that site for the two areas I am concerned with and nothing. The only part of the site interesting was the specifiy ports and to setup SSL in and out server. Still looking even though it is not a big deal.
wpbear said:
Very good info here, thanks.
2?
First anyone know the tag command for how can you unselect "use same when roaming" check box under options
Also command for delete from server or keep message on server.
Other than that it works great.
Click to expand...
Click to collapse
Where do you setup "use same when roaming" option?
I don't think pocket messaging supports delete from server option.
anilkaparthi said:
Where do you setup "use same when roaming" option?
I don't think pocket messaging supports delete from server option.
Click to expand...
Click to collapse
These are options in WM6, I dont think they are in WM5.
wpbear said:
These are options in WM6, I dont think they are in WM5.
Click to expand...
Click to collapse
If I am correct in WM6 messaging is replaced by pocket outlook. In WM5 it is not a true outlook application.
I don't have WM6 device. So I can't help you. Sorry ....
Plese explain what I must write in command!
I perform everything you say but command promt say kapa is not recongnized as an internal or external command, operable program or batch file. or The system cannot find the path specified.
Tirke said:
Plese explain what I must write in command!
I perform everything you say but command promt say kapa is not recongnized as an internal or external command, operable program or batch file. or The system cannot find the path specified.
Click to expand...
Click to collapse
anilkaparthi said:
5. open dos prompt (run-> command)
6. goto c:\kapa directory and run following command
Cabwiz.exe c:\kapa\network_setups\setups.inf
Click to expand...
Click to collapse
Did you goto the c:\kapa directory (assuming that is where you extracted it to)?
My fail is on disk C
C:\Kapa
I open command and what I have to write in command?
goto c:\kapa directory and run following command
or
Cabwiz.exe c:\kapa\network_setups\setups.inf???
I tray boot and nothing!
Tirke said:
My fail is on disk C
C:\Kapa
I open command and what I have to write in command?
goto c:\kapa directory and run following command
or
Cabwiz.exe c:\kapa\network_setups\setups.inf???
I tray boot and nothing!
Click to expand...
Click to collapse
It is not an either/or, you open up command, type in
c: <enter>
cd kapa <enter>
Cabwiz.exe c:\kapa\network_setups\setups.inf <enter>
That takes you to the kapa directory on the c drive.
Alternatively you could type
C:\Kapa\Cabwiz.exe c:\kapa\network_setups\setups.inf
I move fail on C:\Documents and Settings\Stefan\Kapa
because when i open command in command write C:\DOCUME~1\STEFAN
and I write cd kapa
and than
Cabwiz.exe C:\Documents and Settings\Stefan\Kapa\network_setups\setups.inf <enter>
and he write
See on my pictures!
Help Please!

Files gone after reboot Ti Backup

I cleared data on some apps/processes in an attempt to remove all of the text messages from my Atrix HD. The stock rom is not/ was not capable of that for some reason.<br />
<br />
I followed some information that stated to clear data on SIM toolkit, Phone, Phone/Messaging data.<br />
<br />
I made backups of all of these things ti Titanium backup. All went well, I got rid of the hoard of texts. I restarted the phone, and (paraphrasing)<br />
sorry but process com.android.phone has stopped working. Does this each time the radio indicator shows.<br />
I went to TiBackup to restore, and it shows that<br />
com.android.providers.telephony<br />
com.android.phone<br />
com.motorola.messaging<br />
com.motorola.simmanager<br />
<br />
are no longer installed. I restore them, the phone functions as normal.<br />
I reboot. They are all gone again.<br />
How can I restore these files and have them survive a reboot?<br/>
Hi there,
Seem very strange, but I would suggest that you ask in the device specific Q&A of your device, located here: Motorola Atrix HD > Atrix HD Q&A, Help & Troubleshooting
You'll have users more accustom to the phone who may be able to help you further!
Mods can you please move to the atrix hd subforum mentioned above?
Thank you

Volume boost without custom kernel?

Hey, I love my nexus 6 but the headphone volume is horrible, recently I had to return to full stock because the custom kernel I was using was causing troubles with my smartwatch (random disconnects, and Google now almost never worked on the watch). Now I am on 6.0.1 and I was wandering if there is any way to get the volume boost I had from my custom kernel with the phone only rooted.
vladtdr said:
Hey, I love my nexus 6 but the headphone volume is horrible, recently I had to return to full stock because the custom kernel I was using was causing troubles with my smartwatch (random disconnects, and Google now almost never worked on the watch). Now I am on 6.0.1 and I was wandering if there is any way to get the volume boost I had from my custom kernel with the phone only rooted.
Click to expand...
Click to collapse
you have to flash custom kernel to get volume boost or you can install 3rd party music play which provides to increase pre-amp(like in poweramp).but 3rd party music player wont be much effective.
Ugh...this sucks because i was using elite kernel and i know for sure that was the problem with the smartwatch...
Sent from my Nexus 6 using Tapatalk
you can use viper4android to boost audio, but you do need root.
simms22 said:
you can use viper4android to boost audio, but you do need root.
Click to expand...
Click to collapse
I don't mind needing root, it's just custom kernels that i have a problem with, but i never managed to make viper4android work, is it working with 6.0.1? Can you give mw a link please?
Sent from my Nexus 6 using Tapatalk
U need no Custom Kernel. Just edit with Root Explorer /system/etc/mixer_paths.xml
Find & change :
<ctl name="RX1 Digital Volume" value="99"/>
<ctl name="RX2 Digital Volume" value="99"/>
misiu99 said:
U need no Custom Kernel. Just edit with Root Explorer /system/etc/mixer_paths.xml
Find & change :
<ctl name="RX1 Digital Volume" value="99"/>
<ctl name="RX2 Digital Volume" value="99"/>
Click to expand...
Click to collapse
What he said.
You dont need a custom kernel to get a volume boost. Just root. All you have to do is edit the xml, adjusting slowly as you go.
misiu99 said:
U need no Custom Kernel. Just edit with Root Explorer /system/etc/mixer_paths.xml
Find & change :
Click to expand...
Click to collapse
I tried this time and time again, i am rooted i have mounted the system as read/write from root explorer and es file manager but it keeps giving me error that the system is not r/w or sometimes it says not enough space when i try to save the changes
Sent from my Nexus 6 using Tapatalk
vladtdr said:
I tried this time and time again, i am rooted i have mounted the system as read/write from root explorer and es file manager but it keeps giving me error that the system is not r/w or sometimes it says not enough space when i try to save the changes
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
you need to use a root file explorer and delete whatever system apps you dont need(for space). also, if you cant r/w, then you dont have "full" root.

[Fix] High Impedance Mode All The time

Thanks to DTDMike & SeptFox
I found a little difference from the mod for the V20 but got it working with a slight edit for the V30's config
Volume will now be louder but LG Hi-fi checker will still say normal mode. Root is needed at the moment.
Copy file into /system/etc and override existing one
Suggestion: fully document the changes you're making, so future generations aren't in the situation that you guys were in the other thread/people can just do the changes themselves (in case other modifications are present, e. g. I plan on modifying mine so v4a can affect ringtones/notifications, copying your file would overwrite that).
The LG app not showing the right mode isn't encouraging, would seem to suggest it's just blindly writing settings based on the headset type it thinks is plugged in, without reading anything first... a bit sloppy and potentially unsafe in my opinion.
Septfox said:
Suggestion: fully document the changes you're making, so future generations aren't in the situation that you guys were in the other thread/people can just do the changes themselves (in case other modifications are present, e. g. I plan on modifying mine so v4a can affect ringtones/notifications, copying your file would overwrite that).
The LG app not showing the right mode isn't encouraging, would seem to suggest it's just blindly writing settings based on the headset type it thinks is plugged in, without reading anything first... a bit sloppy and potentially unsafe in my opinion.
Click to expand...
Click to collapse
Yep was going to and forgot
Code:
<!-- ESS DAC START -->
<path name="headphones-hifi-dac">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="2" />
</path>
Is the change made in mixer_paths_tavil.xml
Works great!
Though I could not find a way to remount /system/etc as r/w when booted up whether in a file explorer or termux.
Mounting /system as r/w in twrp and using the terminal to manually change the values from there worked though.
So there is no other way to install it without rooting my device if no, Then how do i root my V30 ?
EDIT: ALL V30/V30+/V30S can now be bootloader unlocked and rooted.
__________
previous post:
rm8226 said:
So there is no other way to install it without rooting my device if no, Then how do i root my V30 ?
Click to expand...
Click to collapse
You need a V30/V30+ variant which is on the LG Developer Bootloader unlock list. There's instructions down in the development section, if you have one of those phones.
Right now there's two European phones on there, but soon the open market US998 V30/V30+ should be placed on there.
Thank you, but I just replaced the file with ES File Explorer end rebooted the phone and now there's no audio at all :crying:
edit: H930 no branding
edit2: ouch, I found my mistake, i replaced the file in /etc, not system/etc... Can someone please send me the file from /etc?
edit3: no reading permissions. I apologize and will return to my abyss of shame...
Nullzeit said:
Thank you, but I just replaced the file with ES File Explorer end rebooted the phone and now there's no audio at all :crying:
edit: H930 no branding
edit2: ouch, I found my mistake, i replaced the file in /etc, not system/etc... Can someone please send me the file from /etc?
edit3: no reading permissions. I apologize and will return to my abyss of shame...
Click to expand...
Click to collapse
But you are rooted and everything is fine now?
Yes, the file just did not have reading permissions for some reason. Now it works like a charm, unbelievable sound in combination with v4a . Thank you.
Nullzeit said:
Yes, the file just did not have reading permissions for some reason. Now it works like a charm, unbelievable sound in combination with v4a . Thank you.
Click to expand...
Click to collapse
truth. unbelievable sound with V4A... and even better with WETA drivers on the WETA rom. HIM volume is a life saver. dream phone!
Apologies for a total noob question, but I am stuck.
I successfully unlocked the bootloader on my v30 via LG dev site (status=unlocked and I get the extra boot screen), but cannot copy the .xml to /system/etc. with ES file explorer, I have no write permissions.
I tried to enable 'root explorer' in the ES file explorer settings, but got the message "sorry test failed, this feature cannot run on your device".
I can only assume that unlocking the bootloader does not equal a rooted system. The app root checker confirms this, I have no root permissions.
What steps am I missing?
flextremes said:
Apologies for a total noob question, but I am stuck.
I successfully unlocked the bootloader on my v30 via LG dev site (status=unlocked and I get the extra boot screen), but cannot copy the .xml to /system/etc. with ES file explorer, I have no write permissions.
I tried to enable 'root explorer' in the ES file explorer settings, but got the message "sorry test failed, this feature cannot run on your device".
I can only assume that unlocking the bootloader does not equal a rooted system. The app root checker confirms this, I have no root permissions.
What steps am I missing?
Click to expand...
Click to collapse
I realize you wrote this before our extensive conversation in the other thread, but I'm answering it anyway un case someone else has the same question...
You need to flash root via TWRP, either Magisk or SuperSu.
Unlocking bootloader is first step, installing TWRP custom recovery is second step, flash root via TWRP is the 3rd step.
I was just using my beyerdynamics custom street with the lg v30 and i don't know how or why the v30 triggered the High impedance mode it was always in normal mode but today it was in H.I.M and the sound quality was.just amazing and now i plugged them back its back to normal mode does anyone have any idea how can i trigger H.I.M whenever i plug my headphones ? (without root) its H930DS
rm8226 said:
I was just using my beyerdynamics custom street with the lg v30 and i don't know how or why the v30 triggered the High impedance mode it was always in normal mode but today it was in H.I.M and the sound quality was.just amazing and now i plugged them back its back to normal mode does anyone have any idea how can i trigger H.I.M whenever i plug my headphones ? (without root) its H930DS
Click to expand...
Click to collapse
It they have a detachable cable, it matters which order you plug everything in. Experiment: cable to phone first then headphone, or the other way.
Yea i did try that mate it connects as an aux device the volume increases it works well but yesterday i don't know how i connected the cable normally and it turned on H.I.M and the audio quality was just epic quality + good balance and soundstage so that's why i wanna trigger the H.I.M somehow
Hey i copied your changes to my LG V30's xml file but now i want to chnage it back to Stock. Can sombody maybe upload the original xml file or tell me what the original Values were i cannot quite get it the way it was stock. Thx
luniyk said:
Hey i copied your changes to my LG V30's xml file but now i want to chnage it back to Stock. Can sombody maybe upload the original xml file or tell me what the original Values were i cannot quite get it the way it was stock. Thx
Click to expand...
Click to collapse
Did you find the original one?
Hey, here is the original mixer_paths from my H930.
Doesn't seem to work while playing DSD files. At max 75 volume seems like stock. Regular non dsd audio is loud even at 40.
Hi,
for me this XML doesn't work anymore with the new Oreo update, do you have any suggestions please? Thanks

hey guys i need help again...

hello guys
i did root my hd10...
and setup google play store.. and works is good ..
but i put in micro sd 128 and than don't work google play store and Solid Explorer..
what happen..?
stronggeon said:
hello guys
i did root my hd10...
and setup google play store.. and works is good ..
but i put in micro sd 128 and than don't work google play store and Solid Explorer..
what happen..?
Click to expand...
Click to collapse
Try to format the sd card
stronggeon said:
hello guys
i did root my hd10...
and setup google play store.. and works is good ..
but i put in micro sd 128 and than don't work google play store and Solid Explorer..
what happen..?
Click to expand...
Click to collapse
It's really sad Amazon is misleading customers with this hack job. This can really screw things up on a user app level. Anyways, they butchered the apps to external sd card option by removing the values in /system/etc/permissions/platform.xml. to fix it, you have to edit the platform.xml file, and can only be done with root...for now. Copy the file to storage and use the text editor in your root explorer to make sure WRITE_EXTERNAL_STORAGE looks like this.
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

Categories

Resources