[Root] Dark mode for Whatsapp - Android General

Steps:
Use a root enabled file manager.
Root > Data > Data > com.whatsapp
Shared_perfs > com.whatsapp_prefrences.xml
Before </map> at the end, add this line of code:
<boolean name="dark_mode" value="true" />
Save the xml file.
Force close Whatsapp, reopen and the theme option should be available.
Credit goes to this article I came across:
https://www.**********.com/enable-whatsapp-dark-mode-root/

Does it work alright? I mean no crashing or UI inconsistencies with enabling it

Related

Update_me on XDA

http://forum.xda-developers.com/showthread.php?t=1590170[/
What makes this application?
Check for new rom available (works)
Show list of kernel which can be downloaded, download it and reboot to recovery (works)
Show list of plugin which can be downloaded, download it and reboot to recovery (works)
Show list of themes which can be downloaded, download it and reboot to recovery (works)
Check md5 for download file (works)
Check new rom on startup (works)
check new rom every hours (works)
android version >= 3.0
Create your custom tab with name and icon
Link for download
Android > 3
https://play.google.com/store/apps/d...usoft.UpdateMe
Android > 2
https://play.google.com/store/apps/d...teMeSmartphone
Direct link
http://dl.dropbox.com/u/3681387/UpdateMe.apk
http://dl.dropbox.com/u/3681387/UpdateMeSmartphone.apk
How to configure
The program is easily to configure.
in your rom you need only a file named update_me.xml in the system folder.
The file must be like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<RomConfig>
<RomName>Name rom</RomName>
<RomVersion>0.1.0</RomVersion>
<RomCheckUrl>http://www.me.com/update_me_ckeck.xml</RomCheckUrl>
<RomElemUrl>http://www.me.com/update_me_parts</RomElemUrl>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</RomConfig>
and 2 other file must to be placed online:
- a file with rom info for check new rom availability
- a file with element for rom.
ATTENTION
When the rom is update, the new rom MUST contains a modified update_me.xml with new version,otherwise the app show always the message "new rom available"
an example config is available here
http://dl.dropbox.com/u/3681387/config_example.zip
the pack of available icon for tabs can download here
http://dl.dropbox.com/u/3681387/icons.zip
in the pack icon named icon_0.png is the number 0 of the config ;D
Supported file host
direct download file host
public folder on dropbox, box.net, etc
goo.im
xdafileserver.nl
androidfilehost.com
How check md5 work
if check md5 is enabled for a file, the program check for a file name with the same name of file plus .md5sum like: app.zip and app.zip.md5sum
with contains md5 plus filename.
if the host is goo.im the md5 is read directly from page
Donate
if you like my work, donate me a beer!!!!
i have create a new app on the market for donate 3 €.
https://play.google.com/store/apps/d...pdateMe.donate
for now it don't allow new feature but in the future i'll add some feature only for donate user.
Extra
Also i have create a new site for the project
http://win.acquariusoft.com
for registered user is possible upload your xml file for public access without limitation of time, in the future more stuff ;D
for now registration is now available on the site, so if you want an account send me a pm with username, password and email.
Donator (tnx to all)
krarvind
TamCore
core720
barikke74
pglmro
pcrao.n
jeff
TRothe
jensmeyer1URL]
Yours?
here is the easy how to for those interested
Original post here
http://forum.xda-developers.com/showthread.php?t=1590170
Original post here
http://dl.dropbox.com/u/3681387/UpdateMeSmartphone.apk
for those that like to add this to their Rom its easy all you do is add the update_me.xml file to your system folder.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<RomConfig>
<RomName>Name rom</RomName>
<RomVersion>0.1.0</RomVersion>
<RomCheckUrl>http://www.me.com/update_me_ckeck.xml</RomCheckUrl>
<RomElemUrl>http://www.me.com/common_update_me.xml</RomElemUrl>
<RomElemUrl>http://www.me.com/transformer_update_me_parts.xml</RomElemUrl>
<RebootType>1</RebootType><!-- 0 no install,1 install on cwm, 2 install openrecoveryscript -->
<FilterName>transformer</FilterName> <!-- Filter for element,if you don't need not insert-->
</RomConfig>
then the file
update_me_ckeck.xm you edit and add it to your files location
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Version>
<Code>1.0.0</Code>
<Desc>First version of this rom</Desc>
<Url>http://www.xdafileserver.nl/TF101/CM9%20by%20ricardopvz/Normal/29%20Mar/update-cm-9.0.0-RC0-tf101-KANG-29Mar-signed.zip</Url>
<HomepageUrl>http://www.google.com</HomepageUrl>
<DonateUrl>http://www.donate.com</DonateUrl>
<CheckMD5>1</CheckMD5>
<MD5Url>http://aaa.md5sum</MD5Url> <!-- url where download the md5 of file, delete tag if don't use -->
<MD5>12345678901234567890123456789012</MD5> <!-- the md5 of file, delete tag if don't use -->
<RebootRecovery>1</RebootRecovery>
</Version>
Lastly do the same for update_me_parts.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Elements>
<Tab>
<Name>App mod</Name><!-- name of tag -->
<IconNum>0</IconNum><!-- the icon -->
<Element>
<Name>Big rom 1</Name><!-- element name -->
<Desc>Theme1</Desc><!-- element description -->
<Url>http://aaa.zip</Url> <!-- the direct link -->
<Version>1.0.0</Version> <!-- version ( only in format x.x.x not v x.x.x) -->
<CheckMD5>0</CheckMD5><!-- check for md5 1=true 0=false -->
<MD5Url>http://aaa.md5sum</MD5Url> <!-- url where download the md5 of file, delete tag if don't use -->
<MD5>12345678901234567890123456789012</MD5> <!-- the md5 of file, delete tag if don't use -->
<RebootRecovery>0</RebootRecovery><!-- reboot on recovery after download the file 1=true 0=false -->
<Wipe>0</Wipe><!-- show a message for inform that full wipe is raccomandate, and if auto install on recovery, auto full wipe -->
<Dest>/system/app/</Dest><!-- move on directory leave blank or delete for no move -->
<DestChmod>0755</DestChmod> <!-- Chmod value for dest. Default is 0644 -->
<LaunchApp>0</LaunchApp><!-- launche the application after donwloaded 1=true 0=false -->
<Filter>transformer</Filter> <!--Filter for decide if element is show for this rom,if you don't need not insert this line-->
<ThumbnailUrl>http://www.vikispot.com/z/images/vikispot/android-w.png</ThumbnailUrl> <!-- Url for little image see on the left of element,if you don't need not insert this line -->
<ImageUrl>http://eeepc901.altervista.org/blog/wp-content/uploads/2010/04/android-64.png</ImageUrl> <!-- Image show when click on gallery icon in the element,if you don't need not insert this line -->
<ImageUrl>http://www.androidquery.com/z/images/androidquery/github.png</ImageUrl><!-- More then one image ;D,if you don't need not insert this line -->
</Element>
</Tab>
<Tab>
<Name>App mod2</Name>
<IconNum>2</IconNum>
<Element>
<Name>Applicazione 2</Name>
<Desc>Theme1</Desc>
<Url>http://aaa.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
<LaunchApp>0</LaunchApp>
</Element>
<Element>
<Name>Applicazione 3</Name>
<Desc>Install</Desc>
<Url>http://aaa.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
<LaunchApp>1</LaunchApp>
</Element>
</Tab>
<Kernels>
<Kernel>
<Name>Guevor</Name>
<Desc>Gueveor test 4 kernel no md5 no recovery</Desc>
<Url>http://goo.im/apps/Indirect/Nook_tablet/NookUnrooter.apk</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</Kernel>
<Kernel>
<Name>Stock</Name>
<Desc>Kernel stock della rom a</Desc>
<Url>http://goo.im/apps/longcat/E4GT_Stock_GPSConfig_Signed-Naerok.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Kernel>
<Kernel>
<Name>Test sourceforge</Name>
<Desc>Test</Desc>
<Url>http://sourceforge.net/projects/microzip/files/src.7z/download</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</Kernel>
<Kernel>
<Name>Test sourceforge Big rom</Name>
<Desc>Test</Desc>
<Url>http://sourceforge.net/projects/fastdontlie/files/Sweet%20Child%20of%20Mine%20v3.5.zip/download</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</Kernel>
</Kernels>
<Plugins>
<Plugin>
<Name>Plug1</Name>
<Desc>Plug1</Desc>
<Url>http://goo.im/apps/Indirect/Nook_tablet/NookUnrooter.apk</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Plugin>
<Plugin>
<Name>Plug2</Name>
<Desc>Plug2</Desc>
<Url>http://www.xdafileserver.nl/Home/ASUS/Asus%20Transformer%20(TF101)/ROMS/Megatron/Gapps/gapps-ics-20120317-signed.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Plugin>
</Plugins>
<Themes>
<Theme>
<Name>Theme1</Name>
<Desc>Theme1</Desc>
<Url>http://www.xdafileserver.nl/Home/TF101/CM9%20by%20ricardopvz/Normal/29%20Mar/update-cm-9.0.0-RC0-tf101-KANG-29Mar-signed.zip/Kernel/Guevor/test4/guevor-test4.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Theme>
<Theme>
<Name>Theme2</Name>
<Desc>Theme2</Desc>
<Url>http://www.xdafileserver.nl/Home/TF101/CM9%20by%20ricardopvz/Kernel/Stock/Stock_Kernel.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Theme>
</Themes>
<Apps>
<App>
<Name>Applicazione 1</Name>
<Desc>Theme1</Desc>
<Url>http://dl.dropbox.com/u/3681387/UpdateMe_1_0_3_beta1.apk</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</App>
<App>
<Name>App2</Name>
<Desc>Theme2</Desc>
<Url>http://dl.dropbox.com/u/3681387/UpdateMeSmartphone_beta3.apk</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</App>
</Apps>
</Elements>
no its not i have a modified version with a fullly kitchen app.
myApp called Drive Thru is much different, my program rips rom from phone and intigrates into a gui kitchen then cooks the rom with full modded themed and editing all aspespects of the creation and then flashes it . i call it Drive Thru
It is working on for linux, windows and mac.. still has 23 bugs but so far its almost ready for release...
I will move this to General and lock
Cheers
Is there any way to update an existing XDA user account, such as change user e-mail address, or change or add an im'age? I've made several attempts, but haven't been able to find the method for accomplishing this.

[HOW TO] Enable Tegra 3 effects in Dead Trigger

Here's how you enable the Tegra 3 effects in Dead Trigger (water effect, ragdoll etc.)
I've done this myself and it works and runs great on my Galaxy Note (GT-7000)
1. First of all, enable graphics details to high in setup/others.
2. Exit game.
3. Use root explorer like ES File Explorer.
4. Go to /data/data/com.madfingergames.deadtrigger/shared_prefs/ folder.
5. Edit com.madfingergames.deadtrigger.xml file.
6. Change < int name=”UnityGraphicsQuality” value=”1″ /> to <int name=”UnityGraphicsQuality” value=”2″ / >.
7. Change < int name=”OptionsGraphicDetail” value=”2″ /> to <int name=”OptionsGraphicDetail” value=”3″ / >.
8. Save it.
9. Modify permissions to remove all write permission on User, Group and Other.
10. Delete com.madfingergames.deadtrigger.xml.bak.
Source: Droid-Life
Sent from my GT-N7000 using xda premium
Thanks for the tips!I will try it.
I tried it, works well on a galaxy s. I tried it on a Galaxy Tab 2 10.1, i set the values and permissions, as soon as i run the game, the permissions will reset, such as the unitygraphicsquality back to 1...what should i do? The other value stays at 3 though

[GUIDE] Enabling Apps for Pen Window without ROOT

Hello Friends,
Just want to share another GUIDE/MOD this time for NON-ROOT users - ENABLING Apps for PEN Window without Root.
Without root, the only way to add more apps for Pen Window is modifying the app yourself or getting developers to add pen window support to their apps. But it involves a bit of knowledge in decompiling, editing, recompiling and resigning apps with apktool, jarsigner or some similar tool like Apk Manager, Apk Multitool and a lot others. I won't go into a tutorial about decompilation. I was a noob once and I did my best to search and learn about this stuff so if you are interested then a few google or xda search would give you tons of links on how to decompile/recompile apk files.
TOOLS:
1. Knowledge of modding apk files
2. ApkManager or other similar tools
3. Notepad++ or something similar
GUIDE:
1. Decompile apk file using ApkManager or your tool of choice.
2. Open the AndroidManifest.xml file of the decompiled apk file using Notepad++ or your editor of choice. Below is a sample AndroidManifest.xml file.
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mobi.xperiacle.PenWindowTest"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="mobi.xperiacle.PenWindowTest.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
3. Look for the acivity which has "<category android:name="android.intent.category.LAUNCHER" />"
and add "<category android:name="com.samsung.android.intent.category.PENWINDOW_LAUNCHER" />" below it.
Below is the same AndroidManifest.xml above with the change highlighted in RED.
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mobi.xperiacle.PenWindowTest"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="mobi.xperiacle.PenWindowTest.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
[COLOR="Red"]<category android:name="com.samsung.android.intent.category.PENWINDOW_LAUNCHER" />[/COLOR]
</intent-filter>
</activity>
</application>
</manifest>
4. Look for "</application>" which is the closing tag of the <application...> node. Then add
"<meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true" />" above it. Below is the same AndroidManifest.xml file above with the all changes in RED.
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mobi.xperiacle.PenWindowTest"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="mobi.xperiacle.PenWindowTest.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
[COLOR="Red"]<category android:name="com.samsung.android.intent.category.PENWINDOW_LAUNCHER" />[/COLOR]
</intent-filter>
</activity>
[COLOR="Red"]<meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true" />[/COLOR]
</application>
</manifest>
5. Recompile and Resign apk file and push to your phone. If you are using ApkManager that is all done in one go with option 14 while phone is connected.
6. Have FUN! A COFFEE would be Nice. he he
THANKS to @soloilmeglio for testing and making sure it works before I write and share this guide.
Great news for all non-rooted gn3 eh eh.... great work as always
Inviato dal mio SM-N9005 utilizzando Tapatalk
So is it possible for you to do an app that automaticly does the magic?
Like some drag and drop .apk to make it work on penwindow (and why not in multiwindow too?)
Thanks, it works
I got it work only in one app (tried for ~5 apps)
Dunno if the problem is using APK Multi-Tool instead of ApkManager? And I believe problem is in .apk or tool.. Not in your guide
And why I can't find those lines already in app that has multiwindow, pen window or both already? How those are made then?
But thanks anyway very useful guide
ps. Didn't try to only add pen window, but multiwindow too at same time
Sent from my SM-N9005 using XDA Premium HD app
Oh man this is such great news..... if I knew how to decompile and recompile apks.
I've downloaded the tool but it's way above my knowledge.
Will wait to see if some-one can design an app to do it automatically as I'm NOT rooting my N3....
Amdathlonuk said:
Oh man this is such great news..... if I knew how to decompile and recompile apks.
I've downloaded the tool but it's way above my knowledge.
Will wait to see if some-one can design an app to do it automatically as I'm NOT rooting my N3....
Click to expand...
Click to collapse
It's not that hard really, it took a while for me but even I managed to make it work
If you got Java JDK and ADB installed (Google how to install if not)
Google APK Multi-Tool, you'll find a link to some topic on XDA where is download link (and instructions how to use it)
When you got all ready and multi tool running, type 24 and enter, choose your apk file (if you have that apk on computer and moved to Multi-Tool apk edit folder) and enter again. Then type 9 and enter to decompile, go to projects folder and edit AndroidManifest.xml. Then delete that app from your phone if already installed, connect your phone to pc using USB cable and then type 15 in Multi-Tool and hit enter. Now it should compile, sign and install that app to your phone, if everything went right.
Sorry for messy message but I'm at work. Ask if somethings not clear to you
Sent from my SM-N9005 using XDA Premium HD app
Add the red string under penwindow tweak and you unlock Multiwindows too
<category android:name="com.samsung.android.intent.category.PENWINDOW_LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
Click to expand...
Click to collapse
<meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true" />
<uses-library required="false" name="com.sec.android.app.multiwindow" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:value="598.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:value="598.0dip" />
Click to expand...
Click to collapse
---------- Post added at 01:43 AM ---------- Previous post was at 01:42 AM ----------
Add the red string under penwindow tweak and you unlock Multiwindows too
<category android:name="com.samsung.android.intent.category.PENWINDOW_LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
Click to expand...
Click to collapse
<meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true" />
<uses-library required="false" name="com.sec.android.app.multiwindow" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:value="598.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:value="598.0dip" />
Click to expand...
Click to collapse
erlos said:
Add the red string under penwindow tweak and you unlock Multiwindows too
---------- Post added at 01:43 AM ---------- Previous post was at 01:42 AM ----------
Add the red string under penwindow tweak and you unlock Multiwindows too
Click to expand...
Click to collapse
would anything of this work with Waze?
valtersboze said:
would anything of this work with Waze?
Click to expand...
Click to collapse
?????
I did Not understand...
This is OLD tips on note 1
Inviato dal mio SM-N9005 utilizzando Tapatalk
erlos said:
?????
I did Not understand...
This is OLD tips on note 1
Click to expand...
Click to collapse
before i spend hours trying to figure out the apk tool - i wanted to ask if anyone has applied the penwindow/multiwindow tags to Waze apk and if it works. In city driving waze is critical to be open but it is waste of screen real estate to see just waze. i would like whatsapp or music apps open and visible too.
I Will be try later!
Inviato dal mio SM-N9005 utilizzando Tapatalk
nice work...
itworks thanks
What apps have you all tested this on? I'd like to try it on a confirmed app. I did this with one app already and the app runs normally but it is not showing up in my pen window list when I bring it up. I also tried setting it up for multiwindows but I don't know how to test that feature. Is there a way to bring up multiwindows without having to do it automatically? For example if I'm browsing on chrome and I want to pull up a dictionary app in the second window, is that possible and if so how?
Dewdropkorn said:
What apps have you all tested this on? I'd like to try it on a confirmed app. I did this with one app already and the app runs normally but it is not showing up in my pen window list when I bring it up. I also tried setting it up for multiwindows but I don't know how to test that feature. Is there a way to bring up multiwindows without having to do it automatically? For example if I'm browsing on chrome and I want to pull up a dictionary app in the second window, is that possible and if so how?
Click to expand...
Click to collapse
Allright..
If you made it right, app should show in penwindow menu and for multiwindow in the list when you open "multiwindow bar"
What program you used for editing .apk?
I did it this way (some apps still didn't work, but not sure why is that)
I downloaded APK Multi-Tool from bottom of first post http://forum.xda-developers.com/showthread.php?t=695701
Then: Enter 24 (Set current project) --> 9 (Decompile apk) --> Then I deleted the app from my phone --> Edited the AndroidManifest.xml --> 15 (compile apk / sign apk / install apk)
Now it install the app to phone
Okay then, there is typos in all post in this topic that should enable penwindow (at least didn't work for me before I corrected them)
If you watch close to (example those at first post) they got SPACE between "." and "P" --> "...category.(SPACE HERE)PENWINDOW..."
Same for another line "...multiwindow.(SPACE HERE)penwindow.enable"
APK Multi-Tool gave error to log and app didn't work before those SPACEs were removed.
Hmm.. When I was writing this post, I noticed that SPACE came there in post preview even it really wasn't in post?
It did same when I tried to put those lines in quote tags, so why is that?
Only way to get that one "automatic space" away from line was to put it in code tags
So try copying these to AndroidManifest.xml to enable both Penwindow and Multiwindow
Code:
<category android:name="com.samsung.android.intent.category.PENWINDOW_LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
Code:
<meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true" />
<uses-library required="false" name="com.sec.android.app.multiwindow" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_ SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_ SIZE_H" android:value="598.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_ SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_ SIZE_H" android:value="598.0dip" />
Spere said:
Allright..
If you made it right, app should show in penwindow menu and for multiwindow in the list when you open "multiwindow bar"
What program you used for editing .apk?
I did it this way (some apps still didn't work, but not sure why is that)
I downloaded APK Multi-Tool from bottom of first post http://forum.xda-developers.com/showthread.php?t=695701
Then: Enter 24 (Set current project) --> 9 (Decompile apk) --> Then I deleted the app from my phone --> Edited the AndroidManifest.xml --> 15 (compile apk / sign apk / install apk)
Now it install the app to phone
Okay then, there is typos in all post in this topic that should enable penwindow (at least didn't work for me before I corrected them)
If you watch close to (example those at first post) they got SPACE between "." and "P" --> "...category.(SPACE HERE)PENWINDOW..."
Same for another line "...multiwindow.(SPACE HERE)penwindow.enable"
APK Multi-Tool gave error to log and app didn't work before those SPACEs were removed.
Hmm.. When I was writing this post, I noticed that SPACE came there in post preview even it really wasn't in post?
It did same when I tried to put those lines in quote tags, so why is that?
Only way to get that one "automatic space" away from line was to put it in code tags
So try copying these to AndroidManifest.xml to enable both Penwindow and Multiwindow
Code:
<category android:name="com.samsung.android.intent.category.PENWINDOW_LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
Code:
<meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true" />
<uses-library required="false" name="com.sec.android.app.multiwindow" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_ SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_ SIZE_H" android:value="598.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_ SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_ SIZE_H" android:value="598.0dip" />
Click to expand...
Click to collapse
That's exactly what my problem was. Fixing the spaces caused the app to show up for both my Penwindow and my multiwindow. Thank you so much. I don't have the luxury of rooting and this was exactly what I needed for doing what I need for this phone for.:good:
Thanks
Sent from my SM-N900 using XDA Premium 4 mobile app
Dewdropkorn said:
That's exactly what my problem was. Fixing the spaces caused the app to show up for both my Penwindow and my multiwindow. Thank you so much. I don't have the luxury of rooting and this was exactly what I needed for doing what I need for this phone for.:good:
Click to expand...
Click to collapse
Nice to hear it works
Sent from my SM-N9005 using XDA Premium HD app
Has anyone done this with Spotify? I've successfully modded about 6 apps now but the .apk I recompiled and signed for Spotify has "parsing" errors when I try to installing it. Anyone else with better luck?

enable call feature on whatsapp

this tutorial about how to enable whatsapp call feature on rooted devices
whats you need ( root browser & root access of course )
note :mount read and right then go to
1- data
2- data
3- com.whatsapp
4- shared_prefs
5- com.whatsapp_preferences.xml
6- add this two lines before (</map>)
<boolean name="call" value="true" />
<string name="call_allowed">all</string>
7- force close whatsapp
8- open it and call ur friends
tested on cm11
dont forget to download the latest whatsapp app from playstore
Thanks

Whatsapp Enable Dark Mode

Whatsapp Enable Dark Mode for rooted device only.
This is for information only. Do it on your own risk.
Make sure you have a file explorer that supports root. If you don’t have much idea about this, suggest you download the*Solid Explorer File Manager*from Play Store. Now when you open the app, grant it root access by tapping Allow in the Magisk pop-up that appears.*
Open File Manager and head over to the root partition.*
Then go to*Data*>*Data*and navigate to the*com.whatsapp*folder.
Go to the*shared_prefs*folder and search for the*com.whatsapp_preferences.xml*file.
Now add the below lines to that xml file, anywhere inside the*<map>*and*</map>*tags. This one line of code is, in fact, responsible for enabling Dark Mode on WhatsApp on rooted Android devices.
<boolean name="dark_mode" value="true" />
Next, tap on the floppy icon to save the file. Now just force close WhatsApp and re-open it.
Finally, head over to*Settings. You could now see the*Theme*option, just beneath Account. Tap on it and select*Dark.
That’s it.
Tested in android 9 and 10.
Example how i added that line
<boolean name="move_media_folder_from_sister_app" value="true" />
<int name="web_service_delay" value="120" />
<boolean name="search_in_storage_usage" value="true" />
<boolean name="third_party_sticker_caching" value="true" />
<boolean name="auth_fingerprint_enabled" value="true" />
<boolean name="dark_mode" value="true" />
</map>
I hv added in last line...
For example
There's already a thread for this here:
https://forum.xda-developers.com/general/general/enable-dark-mode-whatsapp-root-twrp-t4017667
Please search before posting to avoid creating duplicate topics.
Thread closed.

Categories

Resources