Advanced Power Menu on Marshmellow - Galaxy Note 4 Q&A, Help & Troubleshooting

hi guys since android policy jar has no advanced power menu files maybe some one can make tutorial where now the files can be found?
thanks

One option is install Xposed module APM+ or other module like xTouchWiz which contains power menu features.

Install quick boot apk from playstore

Related

GlobalAction$ smali not linked to power menu

Hello all!
I have recently been attempting to create an extended power menu containing Reboot, Recovery, and Screenshot for a stock AOSP ROM.
After creating and editing several smali files within the android policy.jar, I successfully added the desired power menu options. The problem is only 2 of the 3 work. Reboot and Recovery work fine but Screenshot does nothing after it has been pressed. I just return to the home screen, no screenshot.
I believe the problem lies in not having the proper GlobalActions$ smali linked the the screenshot function. I am quite confused and I'm not sure how to fix this. Screenshot shows up on the Power menu but does nothing.
I have attached the files I am using as well as a screenshot and the smali file. If anyone could help me out I would be greatly appreciative. Thank you!
Smali file - http://db.tt/Ttle08LX
Androidpolicy.jar - http://db.tt/IOe6JAkn
Framework-res.apk - http://db.tt/xy0QGFiH
Sent from my Nexus 4

enabling navigation bar keys on stock grand 1 rom 4.2.2

this thread is moved to that
http://forum.xda-developers.com/gal...bling-soft-navigation-bar-keys-stock-t3427028
open previous link as it is updated thread untill I update that one
friends
if you still using stock rom 4.2.2 ,great news you can now enable soft keys on your phone
all what we need is
1-moded system ui flashable zip
2-xperai/AOSP navabar buttons apk
3-rooted device with exposed installed
4-root explorer or other root browser
at first flash the systemuu.zip file I provided through recovery(this is themed system ui to look like S5 thx to vadakkeveetil who provide it
http://forum.xda-developers.com/showthread.php?t=2760990
by then I moded the system ui to show navigation bar
after glashing the system ui open your root explorer and gi to system>build prop ,right click on it and choose open with text editor and paste that line and save
qemu.hw.mainkeys=0
install xperia /Aosp navabar button apk and allow it to work through exposed then restart your phone
after you reboot ,open xperia /aosp navabar button and un tick menu and search and arrange button as you like,change button hight to about 60% or what you like
now enjoy your navigation bar on stock rom
another thing>in my phone I changed dpi to 235 instead of 240 you can do that through editing build prop and change
ro.sf.lcd_density=235
all the work I made by my self and it took mr too much time to mod it ,if you liked my work please hit thanks
now download files
moded system ui zip
https://www.dropbox.com/s/e4uh2rc88t9qt2h/s5 SystemUI v5 Normalmoded navig v2.zip?dl=0
xperia/aosp navabar button
http://repo.xposed.info/module/com.gzplanet.xposed.xperianavbarbuttons
if you liked my work just press thank buttonfriends
if you still using stock rom 4.2.2 ,great news you can now enable soft keys on your phone
all what we need is
1-moded system ui flashable zip
2-xperai/AOSP navabar buttons apk
3-rooted device with exposed installed
4-root explorer or other root browser
at first flash the systemuu.zip file I provided through recovery(this is themed system ui to look like S5 thx to vadakkeveetil who provide it
http://forum.xda-developers.com/showthread.php?t=2760990
by then I moded the system ui to show navigation bar
after glashing the system ui open your root explorer and gi to system

[F31xx][MOD][GUIDE] Enable Multi-Window Mode on rooted Xperia XA

Hi all,
I found a disabled feature present in Marshmallow, the Multi-Window Mode. You can display 2 apps in same time on screen.
For that all you need is a rooted device and a file browser app with root permissions.
Navigate in /system and find a file named "build.prop", open it with a simple text editor app and add this line:
persist.sys.debug.multi_window=true
Save and reboot phone, now when you open recent apps you will have a new icon to split an app with an other (see sceens).
Very usefull !
works gr8! thx dude!
btw... v4a works for you!? if i start v4a its install the drivers but after reboot i musst install the drivers again...
opss said:
works gr8! thx dude!
btw... v4a works for you!? if i start v4a its install the drivers but after reboot i musst install the drivers again...
Click to expand...
Click to collapse
Yeah it works fine! I know your problem and will make a small guide with all working files. For now try to find a flashable zip named VIPER4Android-supolicy.zip and wipe dalvik cache. After that if it doesn't work you have to find an older Viper4Android apk (icon is purple but not same design as last release, look screenshot). For now I'm not at home and can't send you good packages, after work I will make a small guide for all
If you want to reply please PM me or open a new thread for V4A

[GUIDE]Disable capacitive backlight permanently

If you are one of those thatis annoyed with the backlight of the capacitive keys and wants to get rid of them permanently then this guide is for you
Instructions
1-you need to have magisk and root.
2-copy the attached file after extracting to /magisk/a module of those you installed that doesn't have post-fs-data.sh script
3-reboot you device
4-now you have automatic backlight disabling on boot
5-if you want to uninstall just delete the file and reboot.
if I helped please hit thanks​
Where is the magisk folder
Where is the magisk. Folder
Satish_Sadaphule said:
Where is the magisk. Folder
Click to expand...
Click to collapse
/root/magisk
also guide has been updated
Why don't you just go to settings and disable there? There is an option for that.
zopostyle said:
Why don't you just go to settings and disable there? There is an option for that.
Click to expand...
Click to collapse
There's no option for that. The only 2 options we have is
1/ Always on
2/ Off after a certain time no touch
Other option
Well, if you just dont wanna flash magisk, i found 2 other way
1/ is to use xposed, install gravity box and choose button backlight in display section
2/ the other is to use exkernel manager, in tools/usersetting, add new option and navigate to sys/class/leds/button-backlight/max_brightness, set it to 0.

Little Guides and Tricks

Here you can find recovery flashable zip by SilviuMik and text by me .....these can help you to debloat your I9192 easily...
Make sure to backup before flashing this because with this you can delete your some favourite apps from stock......
Make sure to see the updater-script in this zip file to know what is deleted after flashing....
Similar threads like this are:-
⇛https://forum.xda-developers.com/ga...laxy-s4-mini-duos-4-4-2-t2832673/post62423754
⇛https://androidfilehost.com/?fid=4996503000517181784
⇛https://forum.xda-developers.com/showthread.php?t=2406637
⇛https://forum.xda-developers.com/showthread.php?t=2400230
⇛https://forum.xda-developers.com/showthread.php?t=2701507
⇛Make your stock Menu button as recents app switcher:-
Go to /system/usr/keylayout/Generic.kl, /system/usr/keylayout/gpio-keys.kl and edit key 139 MENU to APP_SWITCH and reboot to apply changes
And use this xposed mod for force 3 dot menu to replace menu key with 3 dot on top right of every app
http://repo.xposed.info/module/com.robertogl.yesmenubutton
or
Use Navigation Key actions in main menu yo remap.
use gravity box navigation button actions and use gravitybox option from miscellaneous tweaks⇛force overflow menu button⇛force enable
https://forum.xda-developers.com/showthread.php?t=2704102
How to deodex any app
https://forum.xda-developers.com/android/themes/guide-apktool-mobile-setup-decompile-t3048238
How to flash STOCK ROM without PC
https://forum.xda-developers.com/galaxy-s4-mini/help/guide-how-to-revert-to-stock-odin-t3785784
CSC Tweaks that are confirmed to be working in s4 mini:-
1.) To enable exit option in Browser
Code:
<CscFeature_Web_AddOptionToTerminate>TRUE</CscFeature_Web_AddOptionToTerminate>
<CscFeature_Web_EnablePromptToExit>TRUE</CscFeature_Web_EnablePromptToExit>
2.) To enable longpress for symbols in keyboard
Code:
<CscFeature_Sip_UseSymbolInCMKey>TRUE</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>de;en_US;en_GB</CscFeature_Sip_EnableSymbolInSecondary>
3.) To enable call icon in logs section of phone
Code:
<CscFeature_Contact_EnableCallButtonInList>TRUE</CscFeature_Contact_EnableCallButtonInList>
4.) To disable infinite scrolling in launcher and app drawer and widget drawer
Code:
<CscFeature_Launcher_DisablePageRotation>TRUE</CscFeature_Launcher_DisablePageRotation>
5.) To extend speeddail to 100
Code:
<CscFeature_Contact_ExtendSpeedDialTo100>TRUE</CscFeature_Contact_ExtendSpeedDialTo100>
6.) To set alpha order for launcher by default
Code:
<CscFeature_Launcher_EnableViewByAlphabetAsDefault>TRUE</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
7.) To show hardwareversion in about phone
Code:
<CscFeature_Setting_EnableHwVersionDisplay>TRUE</CscFeature_Setting_EnableHwVersionDisplay>
8.) To add rotation icon in gallery
Code:
<CscFeature_Gallery_AddAutoRotationIcon>TRUE</CscFeature_Gallery_AddAutoRotationIcon>
9.) To remove Software Update from settings about phone
Code:
<CscFeature_Setting_DisableMenuSoftwareUpdate>TRUE</CscFeature_Setting_DisableMenuSoftwareUpdate>
Thanks to this and this threads
Journey of SuperUser's
1.ChainSDD
⇛https://forum.xda-developers.com/showthread.php?t=682828
⇛https://forum.xda-developers.com/showthread.php?t=1835502
⇛https://github.com/ChainsDD/Superuser
⇛https://github.com/ChainsDD/su-binary
2.Koush
⇛https://github.com/koush/Superuser
⇛http://koush.clockworkmod.com:8080/post/superuser
⇛http://download.clockworkmod.com/superuser/superuser.zip
⇛http://download.clockworkmod.com/apks/Superuser.apk
⇛https://f-droid.org/en/packages/com.koushikdutta.superuser/
3.SuperSU
⇛http://www.supersu.com
⇛https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
⇛https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
⇛http://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip
⇛https://forum.xda-developers.com/showthread.php?t=1538053
⇛ https://play.google.com/store/apps/details?id=eu.chainfire.supersu
4.Phh
⇛https://github.com/phhusson/Superuser
⇛https://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
⇛https://superuser.phh.me
⇛https://androidfilehost.com/?fid=889764386195909456
⇛https://play.google.com/store/apps/details?id=me.phh.superuser
⇛https://f-droid.org/packages/me.phh.superuser/
5.Magisk
⇛https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
⇛https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
⇛https://github.com/topjohnwu/Magisk/releases/
⇛Guide:- How to make recovery_xxxxx.tar.md5 to recovery_xxxxx.img to flash the recovery without pc or with heimdall/adb & fastboot?
⇛First Download RootExplorer or any explorer which as has .tar and .zip archive ability.
⇛Rename the recovery_xxxxx.tar.md5 to recovery_xxxxx.tar i.e., just remove the .md5.
⇛Then go to that file and there will be recovery_xxxxx.img and copy that .img file to any other folder.
⇛Flash it with .img flashable apps like Flashify, Rashr, Root Essentials, ROM Toolbox lite etc or with heimdall/adb & fastboot in pc.
⇛How to extract TWRP backups that ends with the extension .ext4.win......?
Rename .ext4.win to .ext4.tar and extract that file...
Thats it.... tested myself working on my serranodsdd
⇛ClockWorkMod recovery backups are located in
/data/media/clockworkmod/backup
⇛Chrome offline pages are stored in
/data/data/com.android.chrome/app_chrome/Default/Offline Pages/archives
⇛Present using wallpaper will be available in /data/system/users/0/wallpaper and add extension jpeg to that.
⇛Backup recovery as .img⇛ go to /dev/block/platform/msm_sdcc.1/by-name/recovery and copy that recovery to any folder in internal/sdcard and rename to add extension img......
⇛Many people don't know about YalpStore...
If anyone has errors with Google Play Store this app can download apps same as play store....
⇛If you want fo take a note in browser then type this in url:-
HTML:
data:text/html, <html contenteditable>
and hit.... then type
⇛If we add any file to /preload/INTERNAL_SDCARD/Samsung/Music then those files are still will be availble in internal storage in Samsung/Music even after factory data reset also...
Note:- It only works with Stock recovery
⇛If you have twrp installed then factory data reset in stock settings app does not wipes the internal storage......
⇛Locking before flipling the mobile when playing music in stock music app will prevent the stopping of song......
Many people don't know LuckyPatcher can also used for many options other then patching...
⇛It can backup app and settings as separately.
⇛It can odex the ROM and also single apps
⇛It has SELinux switching in Settings but It didn't worked on my device..
⇛It can Integrage updates to system.
⇛It can be used to block "ads" in whole system without patching app separately like as AdAway by changing hosts file
⇛It can freeze apps and can defreeze also.
⇛It can uninstall system apps.
⇛That's it for now I know:laugh:
These three awesome xposed modules work with s4 mini stock roms
⇛http://repo.xposed.info/module/uk.co.villainrom.pulser.enablecallrecording This replaces "+Add Call" switch with "Call Recording button". When this button pressed while in call, the recording starts...
⇛http://repo.xposed.info/module/com.liam_w.phonenumberfix This module is used to edit/add the number in sim-card....S4 mini stock rom has no ability to do this without this module...
⇛http://repo.xposed.info/module/de.robv.android.xposed.mods.appsettings We can also force prevent full screen from stock apps like calculator, gallery, music, radio, video, voice recorder, etc with an awesome xposed module by rovo89 and tungstwenty called APP SETTINGS.......
Multiling O Keyboard
Most customizable keyboard with lightweight and no dangerous permissions including internet access....
Launcher:- Nova
Browser:- Via, Atlas
Music Player:- Musicolet
Video Player:- MX
Cleaning:- SD Maid
Explorer:- MiXplorer
Hiding Hacks:-
We can hide any media from gallery/video player without app lock like apps..
⇛Placing that file in a hidden folder i.e., folder with name starting with .(dot)
⇛Making that file as archive like zip, tar, 7z etc
⇛Renaming that file extension to some other name.
⇛Encrypting that files.
[STOCK]Users can replace this file in /system/bin and set permissions to rwxr-xr-x i.e., 755 and place the custom bootanimation.zip in /system/media from ROM Toolbox lite etc......to replace the working of .zip animations instead of .qmg.....
Tried in my serranodsdd....
Credits to @Wildfear
Sound Hacks:-(for stock)
/system/media/audio/ui
1.charger plugged⇛ Charger_Connection.ogg
2.keyboard tap⇛ TW_SIP.ogg
3.lock with no effect⇛ Lock_none_effect.ogg
4.unlock with no effect⇛ Unlock_none_effect.ogg
5.low battery alert⇛ LowBattery.ogg
6.screen hardware buttons tap sounds⇛ S_HW_Touch.ogg
7.screen tap sounds⇛ TW_Touch.ogg
8.boot sound⇛ PoweOn.ogg
⇛muting the s4 mini will also mute the boot sound
Users can also add custom audio to their boot animation.....
Make a audio of your favourite with mp3 cutter etc that is less than 20 seconds.....
Rename that audio to PowerOn with extension "ogg" without quotes....
Replace this in /system/media/audio/ui with permissions rw-r-r i.e., 644....REBOOT
If you want to mute the boot sound totally , simply move the PowerOn.ogg to internal/external storage or simply rename it to any other name......
Users can make the stock ROM as a flashable zip by copying the folders & files in /system to system folder and boot.img below the system folder in the STOCK.zip I attached below......
Don't copy the symlinked files...
If you want more details and questions pm me...
Credits to @Wildfear
Or head to this [guide]how to build/modify roms for samsung devices [7.0/6.0.1/maybe more]
You can also make stock rom as flashable zip by using APKtool for android v4.4 ....
It needs, you have to be in that rom that you want to make as flashable ......
If you made using apktool, dont forget to flash kernel.img after flashing ROM....
Setmeta2Setperm https://forum.xda-developers.com/android/general/convert-updater-script-to-make-support-t3545462
Small build.prop tweak:-
To enable on screen navigation keys
Code:
qemu.hw.mainkeys=0
Viper4android flashable zip for stock KitKat so that use can experience better sound quality in their mobile....
Requires :- Root and BusyBox
How to deodex and zipalign s4 mini?
go this thread and follow the procedure...
https://forum.xda-developers.com/showthread.php?t=2725930
https://m.box.com/shared_item/https://app.box.com/s/7c5m584yzdvytu2810wgut6o36204co8
If you are having trouble with installation of java then follow these
https://youtu.be/4q7hp6QP58k
https://social.technet.microsoft.co...arning-unknown-publisher?forum=w7itprogeneral
https://blogs.msdn.microsoft.com/as...checkbox-always-ask-before-opening-this-file/
and also in Internet explorer go to menu and Internet tools and advanced and under security option check allow low risk type files.......
and right click on downloaded exe of java and under properties and security, click on unblock
.net framework https://www.microsoft.com/it-it/download/details.aspx?id=30653
Sec Settings modification
⇛https://forum.xda-developers.com/showthread.php?t=2505421
⇛https://forum.xda-developers.com/ga...de-how-to-remove-icon-sim-status-bar-t3064737
Wallpaper Hacks:-
-To change wallpaper from base app
/system/framework/framework-res.apk/res/drawable-sw360dp-hdpi/default_wallpaper.png
-from data
/data/system/users/0/wallpaper
/data/system/users/0/wallpaper_info.xml
-To change lockscreen wallpaper from base app
/system/priv-app/Keyguard.apk/res/drawable-sw360dp-hdpi/keyguard_default_wallpaper.jpg
-from data
/data/data/com.sec.android.gallery3d/files
https://forum.xda-developers.com/ga...ps/theme-s5-theme-secthemechooser-s5-t2867997
https://forum.xda-developers.com/galaxy-s4-mini/themes-apps/mod-s4-mini-volume-boosting-mod-t2836950
https://forum.xda-developers.com/galaxy-s4-mini/themes-apps/fonts-styles-4-mini-t3119509
⇛Did you have a question about GApps that what apps are in pico, nano, etc ...? Then go to this link https://github.com/opengapps/opengapps/wiki
⇛Want to know what changes are made in Android Version i.e., to know difference betwwen 4.4.2 and 5.1 etc... then follow this link https://en.m.wikipedia.org/wiki/Android_version_history

Categories

Resources