We all know the infamous PhabletUI, don't we?
There is no simple way of getting back the TabletUI, but there are some possible workarounds
See the attached screenshot for the result...
What you need:
1) root
2) Xposed framework installed
3) Button Savior https://play.google.com/store/apps/details?id=com.smart.swkey
4) text editor and file manager
Order of operations:
1) Install Button Savior and configure it to your liking, make sure it works
2) Install Xposed module from attachment and activate it, don't reboot just yet (sorry about the icon )
3) Edit /system/build.prop and add the following line
Code:
qemu.hw.mainkeys=1
4) reboot
Enjoy!
Hello all , i post my new guide to change icons without using apktool . This guide is for newbies though other all advance developer may think this useless or may be they known this a very ago.
# Note :-
1) This guide is for all newbies who want to edit there app icons , but dont have apktool or have no knowledge about it .
2) This guide is only applicable for system apps .
3) You should have knoweledge for flashing zips by CWM .
# What is needed ?
1) A must have computer with paint (opptional) [ some phones with Zarchiver app can be used . ]
2) WinRar
3) A flashable zip file supplied by other developer .
4) A icon Set which you want to replace with .
# Procedure :-
1) Make a directory called " stock " .
2) Paste your app in it .
3) Below i have taken SystemUI.apk.
4) Rename that app to SystemUI.zip ( just make .apk to .zip format )
5) Then go to options (press right mouse button) press Extract to SystemUI
6) After extracting go to the extracted folder " SystemUI"
7) Browse to res / drawable-mdpi / you will find all icons there . ( In my case its mdpi , it may be hpdi .)
8) Note that the resolution must be same or it may not look good . [ Expiremental ]
9) Replace the icon which you want to from your icon set .
10) Go back to folder where you will find folders like META-INF , res , & files like AndroidManifest.xml , classes.dex, resources.arsc .
11) Now select that all files and press the right button of the mouse ( the options button) .
12) Select the Add to Archive option .
13) Now keep the same name of the app you are modding and select " zip " .
14) A new zip file is created like " SystemUI.zip" . Rename it to SystemUI.apk ( just from .zip to .apk )
15) Now your modded app is ready .
16) Take the flashable zip provided by other developer .
17) open that zip and replace your file with his . ( in folder system/app/ " replace here ." )
18) Save the zip . And Flash it using CWM !!! Enjoy now you can see your modded icons .!!
I will post xml editing guide for newbies afterwards .
So here is the way, how You can create Custom Home Button.
* Softwares you need to do this : (all download links provided below) : :good:
1) 7-Zip File Manager
2) Windows Image Resizer
* Stepwise Guide :
STEP 1 : Get you launcher’s (.apk) file
STEP 2 : Extract it with 7-Zip File Manager
STEP 3 : Open the folder where you have extracted the apk file
STEP 4 : You will find a folder named ‘res’ ; open it and go to ‘res\drawable-hdpi"; open all folders inside 'res' folder and make sure that you have replaced all the stock isons by desired icons.
STEP 5 : You will find your Launcher Icon. Right Click on it, go to Properties and then to Details ; there you will find dimensions of the image. Note them somewhere.
STEP 6 : Now select the desired Icon and resize it using Windows Image Resizer by right clicking and then clicking on ‘Resize Image’.
STEP 7 : Replace the Icon in extracted folder with the same name.
STEP 8 : Repeat the above steps in ‘ res\drawable-sw800dp-hdpi ‘ and ‘ res\drawable-xhdpi ‘ and ‘ res\drawable-xxhdpi ‘ folders.
STEP 9 : After replacing all the icons, come back to the folder and select all files, right click on them and using 7-Zip add them to an archive, when adding into an archive make sure that you (.zip) by (.apk).
STEP 10: Install the launcher or place it in an Custom Rom. ( I would suggest place this launcher in an Custom Rom )
* All Screenshots, Download links and Custom launcher provided below
My Earlier Post Related to this :
http://forum.xda-developers.com/tools/frameworks/apple-home-button-android-devices-4-2-x-t2822146
(Do not forget to Click the Thanks Button) (Please tell me if any problem comes)
CLICK FOR THE UPDATE
Here is a way by which you can Change the Displayed Custom Rom Name
THIS CANNOT BE DONE BY EDITING "build.prop" FILE SO READ THIS GUIDE FOR XPERIA DEVICES CUSTOM ROMS.
Software Needed (downloads attached below)
1) Java
2) 7-zip
3) Notepad ++
4) Advanced APK Tools
Files Needed From Custom Rom:
1) framework-res.apk (from "system >> framework ")
2) SemcGenericUxpRes.apk (from "system >> framework ")
3) settings.apk ( from "system >> app")
Expected From You :
1) Some Time
2) Patience
3) Basic knowledge of Installing Software.
Step wise Guide
STEP 01 : Download and Install "Java" and "Notepad++". Extract "Advanced APK Tools".
STEP 02 : Place the Three Files mentioned above from Custom Rom to "2-IN" folder of Advanced APK Tools.
STEP 03 : Open "Advance ApkTool.exe"; it will check Java on your your PC and then you will get a screen showing different options.
STEP 04 : Type "1" and press Enter to select the Option "1- Install Framework". Install "framework-res.apk" and "SemcGenericUxpRes.apk". Then come back to Main Menu.
STEP 05 : Type "2" and press Enter to select the Option "2- Decompile Files". Decompile "settings.apk" and wait for some time as it will take some time. After decompiling minimize "Advance APK Tools" but DO NOT CLOSE it.
STEP 06 : Open "3-OUT" folder in "Advance APK Tools" folder. There you will see a folder names "Settings.apk". Open this folder and go to " res >> values " folder.
STEP 07 : In the Values folder open the file "strings.xml" using Notepad++. Press "ctrl" and 'F" keys on the Keyboard of your PC at the same time to find the Rom Name as shown in Device. After Finding the ROM Name replace it with Whatever you Want. Save this file and Close is.
STEP 08 : Go back to "Advanced APK Tools" and Type "3" and press Enter to select the Option "3-Recompile Files". Recompile "settings.apk" and wait for some time as it will take some time. After recompiling close "Advance APK Tools".
STEP 09 : Now go to "4-OUT" folder of "Advanced APK Tools" where you will find "settings.apk". Extract this file using 7-zip.
STEP 10 : Open the extracted "settings.apk" and delete the file "Android Manifent.xml " inside it.
STEP 11 : Open 3-OUT" folder. Then go to "Settings.apk folder >> original " from this folder Copy all the contents i.e. "META-INF" folder and " AndroidManifest.xml" file and paste them in extracted "settings.apk" in "4-OUT" folder.
STEP 12 : After all this, select all contents of settings.apk in 4-OUT Folder and add them to archieve using 7-Zip and replace ".zip" extention by ".apk".
Place this "settings.apk" into "system >> app " folder of Custom Rom and flash this Custom Rom. You will have the ROM NAME changed.
Hurray!!! You have successfully Changed the ROM NAME of Custom Rom for Xperia Devices.
Firstly, this thread has nothing to do with Development so I've moved it to General where it should have been created.
Secondly, you have no permission to attach the file: Advancedapktool.zip
Thirdly, you posted no credits to the original author for this tool.
I've removed the tool and linked to the original authors thread instead.
Sorry for the mistakes, I will take care next time
Note: Your device must either be rooted or have twrp recovery installed.
Might work on other recovery's which has file manager
TWRP method:
1. Reboot your phone in twrp recovery.
2. Goto Advanced->File Manager
3. From root partition goto Data->Data-> com.whatsapp -> shared_prefs
4. Seach for com.whatsapp_preferences.xml file in the folder.
5. Click the file and copy it into you phone directory so u can edit the file using computer.
6. Enable MTP or boot into system and connect device to computer.
7. Open the xml file as text file and add following line anywhere in between <map> and </map>.
Code:
<boolean name="dark_mode" value="true" />
You can also use xml editor from phone to edit xml file.
8. Save the changes and reboot back into recovery.
9. from file manager in twrp replace the modified file with old file.
10. Reboot into system and open WhatsApp. Goto settings->theme or theme option might be in Chats ,select dark. Restart WhatsApp
Voila! U have dark mode.
Root method:
If your device is rooted then use File manger with root support and edit the xml file from step 3 and goto step 10.
Method worked on my moto g5 plus running PE10.
Updating the app in playstore might remove the toggle option in settings but app will stay in dark mode even if u update.
Please leave a comment about ur device if it worked or not.
If u want to tip me donate to my paypal link in profile.
Manoharc said:
Note: Your device must either be rooted or have twrp recovery installed.
Might work on other recovery's which has file manger
TWRP method:
1. Reboot your phone in twrp recovery.
2. Goto Advanced->File Manager
3. From root partition goto Data->Data-> com.whatsapp -> shared_prefs
4. Seach for com.whatsapp_preferences.xml file in the folder.
5. Click the file and copy it into you phone directory so u can edit the file using computer.
6. Enable MTP or boot into system and connect device to computer.
7. Open the xml file as text file and add following line anywhere in between <map> and </map>.
Code:
<boolean name="dark_mode" value="true" />
You can also use xml editor from phone to edit xml file.
8. Save the changes and reboot back into recovery.
9. from file manager in twrp replace the modified file with old file.
10. Reboot into system and open WhatsApp. Goto settings->theme and select dark. Restart WhatsApp
Voila! U have dark mode.
Root method:
If your device is rooted then use File manger with root support and edit the xml file from step 3 and goto step 10.
Method worked on my moto g5 plus running PE10.
Please leave a comment about ur device if it worked or not.
If u want to tip me donate to my paypal link in profile.
Click to expand...
Click to collapse
Thanks, working on WhatsApp beta on ArrowOS 10
Manoharc said:
Method worked on my moto g5 plus running PE10.
Please leave a comment about ur device if it worked or not.
If u want to tip me donate to my paypal link in profile.
Click to expand...
Click to collapse
Amazing!! works for Pie as well!
Tried it with the File Explorer i have and my device is rooted so no need for Recovery, so i just modified the .xml and yeah i got the Dark Mode but if I exit and then reopen the app it defaults back to normal theme.
But the option remains in the settings.
About replacing
How to replace edited .XML file using twrp method as their is no option of replace available.
Nitishch97 said:
How to replace edited .XML file using twrp method as their is no option of replace available.
Click to expand...
Click to collapse
Connect your device to pc and do "adb push %filename%" command
U can delete the old one and move the new one
Can i use both at a same time?
sandralucio said:
Can i use both at a same time?
Click to expand...
Click to collapse
It is better to delete the old file.
U can keep the both the files but make sure the modified file name is same as old [ It should not be like filename(1).xml]. rename the old file to something else.
I tired this working fine , but after after sometime the theme gets back to white , please get me a solution to this
Is dark mode on in system settings?
Darshan1998 said:
..
Click to expand...
Click to collapse
Use Fouad Mod Whatsapp.