Xiaomi MIUI Official Forum

MIUI News Team

Rank: 6Rank: 6

Credits
9788
Device
Mi 4
MIUI Version
7.10.17
Online time
257 Hours
Send PM

Mi VR HeadsetMijia Story TellerMi HomeMi Power BankMi Bluetooth SpeakerMi BandMijia VR Play 2Ninebot MiniMagic CubeMi MIXMi HeadphonesUnlock MedalMi VRMi Band 2Mijia Walkie TalkieMi  BunnyMi Power Bank 10000MAH Mi Selfie StickXiaomi 6 LaunchYi Action CameraMijia Mi Bunny RobotMijia Qi CycleXiaomi 7th AnniversaryAwesome!MIUI Devices ContestI Love MIUIMIUI 2016MIUI 7MIUI 8Fantastic!MarshmallowXiaomi Mi 44 Million Forum MembersRedmi Note 4Redmi Note 4XPuzzle Master10 Million Forum Posts3 Million Forum MembersSuper MondaySuper WednesdaySingapore Merlion MedalWomen's Day MedalSuper TuesdaySurge S13 Million Forum App Installs5 Million Forum PostsMIUI Marathon MedalMIUI 300 Weeks1400K Forum Members1500K Forum Members2100K Forum MembersI Love 2016MIUI Lucky FridayMIUI Fan From NepalRooster Year of 20171 Million Forum App InstallsHappy Valentine's DayMIUI 6th Anniversary100k Forum Members1 Million Forum Members90000 Forum MembersFan Of MIUI Ukraine300K Forum MembersUEFA EURO MedalHappy New YearMIUI Philippines Fan MeetupMIUI Fan From PhilippinesPokemon Master MedalMIUI 100 Million Users500K Forum MembersMIUI 9MIUI 7th AnniversaryMIUI World Tour3500K Forum MembersFan Of MIUI BangladeshMIUI Fan from MalaysiaFan Of MIUI RussiaMIUI 2017Super FridayMIUI Forum AppSuper SaturdaySuper SundayRingolicious MedalMIUI Happy MedalSuper ThursdayMIUI Font LoverRocket to FutureGamer Mi BunnyMiPopSummer Mi BunnyI Love Mi BunnyMIUI ReviewScroll Of WisdomTechnology GuruMIUI FB FollowerMIUI G+ FollowerWallpaper ExpertMIUI Global Forum 2014MIUI Twitter FollowerForum Contest LoverHumor MasterMi Lover MedalAndroid ElfDie-hard MIUI FanUpdates LoverMIUI FollowerTheme TalentPioneer of MIUI English Forum Most Popular Forum UserMIUI KingMost Active MIUIerMIUI Android 4.4 KitKatIndonesia Independence Day25 Million StrongIndia Independence DayMi Bunny Game Master Master Of TechnologyYouth PledgeDebate MasterInbox ZeroRingtone Star Star Of TechnologyMi Story TellerMi TalentApp StarMIUI Ice Bucket ChallengeAndroid GuruXiaomi Type-C EarphonesMIUI ExpertMIUI Medals Collector

[Android] How to Access the Facebook Hidden Settings Menu on Android

[ Promote]
151 1 |
10:33, Aug-20-2017 | From PC
|
|
Go to reply no.
This post was edited by GangbuzzCrew at 08:06, Aug-20-2017

Dear MIUIers,
The Facebook app, much like its counterpart the Facebook Messenger app, also has its own hidden internal menu using by Facebook engineers for debugging and testing. This Facebook hidden settings menu cannot be permanently enabled, unlike the Messenger’s internal menu. Much like Messenger you need root access or a modified APK by XDA Senior Member evilwombat to access this menu. As in the Messenger tutorial, you will also need to use the Android Debugging Bridge (ADB) or a terminal app such as Termux. If you are using ADB, USB debugging needs to be enabled which can be found in Developer Options on your device.


You will need root access on your phone to follow this tutorial. You can get root access by either flashing Magisk or SuperSU after unlocking your device’s bootloader. Note, that using the modified APK linked above requires you to uninstall any existing Facebook apps you have and instead use all of the modified Facebook apps from the same developer that you plan to use.

Access Facebook’s Hidden Internal Menu

Using ADB

Download the ADB tools of your choice. These can either be “Minimal ADB & Fastboot” from our forums or the official binaries released by Google. Once installed or extracted, in the folder containing the ADB binary hold shift + right click and click “Open command window here” (if you’re on Windows). If you’re on Mac or Linux, then you’ll need to preface the “adb shell” command below with the directory to the ADB binary.


Connect your phone to  your computer and grant debugging access. Next, type the following commands in the command prompt:


adb shell

su

Grant superuser access to “shell” when prompted on your phone.


am start -n "com.facebook.katana/com.facebook.katana.internsettingsactivity.InternSettingsActivity"

You will now see the internal menu open on your phone.


Using terminal

Open the terminal app of your choosing. Personally I use Termux, but anything that can access the terminal will work fine. Type the following commands.



                        


          Download
         



Termux

Developer: Fredrik Fornwall

Price: Free


su

Grant superuser access when prompted on your device.


am start -n "com.facebook.katana/com.facebook.katana.internsettingsactivity.InternSettingsActivity"

The internal menu will open on your device.


Explanation

We are using adb or the terminal to start the InternSettingsActivity which is the name of the hidden internal menu activity. This is an unexported activity defined in the AndroidManifest file; meaning it cannot be accessed normally from third-party apps. Inside of this internal menu are some settings and tweaks that users of the Facebook app may benefit from. This menu is meant to be only accessed by developers and testers of the Facebook app, so there’s a lot you can do. Scroll down to see some examples.


Example Features of the Facebook Internal Menu

Data Saver

This is my favorite feature within the internal settings. You can enable a data usage monitor, which will stop the app transferring data once it reaches a certain limit. This is good for those of you on metered connections, as Facebook can be incredibly data intensive. It is filled with videos and pictures, so it’s no surprise. Thanks to this menu, you can simply set the amount of data you want to allow the app at maximum, and also reset the counter if you want to allow yourself to use more data. This limiter works on WiFi or mobile data, so those of you on restrictive data caps on your WiFi can make use of this too.


Force App Update



Another interesting feature is a “force app update” feature. It seems to download the latest version in-app and update, though I didn’t get a package install attempt even though a toast told me it was downloading. This feature may be broken, but it seems interesting nonetheless.


Video Stats

Within the internal menu you can enable video specs for playing videos to display the metadata (file information) while you watch a video. You can also enable logging, play videos muted and force autoplay videos. Autoplay settings are in the app already, but it’s still interesting to see them slightly more advanced here.



And that’s all, if you find any other useful features hidden away in the Facebook app, let us know down below in the comments!


Source




Disclaimer: This is a reproduced article and the copyright rests with theoriginal author. The views in this article are not from MIUI News Team, or MIUIGlobal Forum. If there is any disagreement, please contact the Forum ManagementTeam to delete it.




Favorite Share

Diamond Member

Rank: 5Rank: 5

Credits
1956
Device
Redmi Note 4 MTK
MIUI Version
7.5.25
Online time
46 Hours
Send PM

Mi Band 2Mijia Story TellerMi Bluetooth SpeakerNinebot MiniXiaomi 6 LaunchMi VRUnlock MedalMijia VR Play 2Xiaomi 7th AnniversaryMIUI 8Awesome!MIUI Devices ContestI Love MIUI4 Million Forum MembersRocket to FutureFan Of MIUI IndiaSuper SundayFan Of MIUI BangladeshMIUI 2017Super SaturdaySuper ThursdaySuper TuesdayMIUI Happy MedalMIUI Forum App3500K Forum MembersSuper Wednesday300K Forum MembersRingolicious Medal100k Forum MembersMIUI Font LoverMIUI 7th Anniversary90000 Forum MembersPuzzle MasterMIUI 9Summer Mi BunnyDie-hard MIUI FanTechnology GuruMost Active MIUIerMIUI Android 4.4 KitKatTheme TalentMIUI Medals CollectorStar Of TechnologyMi Lover MedalPioneer of MIUI English Forum Scroll Of WisdomForum Contest LoverUpdates LoverDebate MasterMost Popular Forum UserMIUI ExpertMi Bunny Game Master OTA FeedbackMIUI Follower

18:54, Aug-23-2017 | From Redmi Note 4X
|
Thanks.

Credits Management

Quick Reply Top Return to the list