[HOW TO] Enable Facebook Sync every minute and more! *simple* - Android Software/Hacking General [Developers Only]

Are you addicted to facebook? are you in a comment war on a status? do you just always want your notifications right as they happen? then this is the thread for you.
This "hack" will allow you to enable more syncing options from within the app itself after a simple modification. what we will essentially be doing is tricking the Facebook app into thinking we are Facebook employees, thus enabling more options.
Items Needed:
1. ROOTED Android Phone with the Facebook App Installed
2. an SQLite Editor off the market (there are some free alternatives, though i suggest the paid version of SQLite Editor)
3. Some knowledge
4. A File Manager such as Root Explorer is also another route to go about this, but we won't use that method in this tutorial unless it is requested in the replies.
Procedure
1. Open SQLite Manager and grant it root
2. let it scan all the folders and databases
3. once it has finished scanning, scroll down to the Facebook App and tap it. this will load the databases the facebook app uses
4. select fb.db
5. you will now see several fields, select "key_value"
6. this is where the mods will take place. first locate the "seen_employee" key, and scroll to the right
7. long-press the value "false" until the menu pops up
8. select edit field
9. delete "false" and type in "true"
10. press save
11. repeat for the "is_employee" field
12. exit SQLite Editor
13. Open the facebook app
14. press back, then menu, and select settings.
15. tap refresh interval and now if you scroll to the bottom you can see the option for "every minute (beta only)"
16. select it, and you are all done!
This also unlocks the options for sandboxing and ssl checks, and i suggest you change neither of those
if this helped, please, press thanks!

Related

How to migrate from iPhone to Android

Sorry if this has been posted before. This was one of those "late-night family specials" and I had to write it down somewhere.
I will polish this up later. Hope it helps!
1) Connect your iPhone to iTunes and make a backup.
a) Wait for iPhone to list.
b) Right click, then select Backup.
Depending on the size of data on your phone and the last backup performed, this could take a while.
2) Download SQLite Database Extractor and iFunBox. It's a bit unpleasant, but it'll work.
3) Do the following to restore key information:
PHOTOS
-----------
iPhones are recognized as cameras in Windows and Mac, so pull photos like you normally would (iPhoto, Windows Explorer, etc.)
SMS
-----
Go to this (http://faked.org/isms2droid/index.php) website and follow the instructions.
CONTACTS
--------------
This is the messy part. (You must be syncing your phone with a Google account to make this work.)
BIG NOTE: If your iPhone can access the internet, the easiest way to do this is to add your Google account on the iPhone and sync everything that way. See http://www.google.com/support/mobile/bin/answer.py?answer=138740&topic=14252 for details.
1) Open iPhone Backup Extractor and wait for it to finish loading data.
2) When finished, click "Expert Mode"
3) Click on LIBRARY, then ADDRESSBOOK, then AddressBook.sqlitedb
4) Click Extract Selected, then save to somewhere convenient (like the Desktop). It will display a warning; just click OK. NOTE: The program costs $34.95. Unfortunately, it's not worth it.
5) Navigate to the folder you saved this file in, then click LIBRARY, then AddressBook.
5) Open SQL Database Extractor. When it opens, drag this file into the application. If you did this right, you should get tons of dropdown menus.
6) Click on Edit, then Create Table. Name the table whatever you want; I will use "TEST_TABLE" as the name in this example.
7) Click Add, then type "First" for field name and "TEXT" for field type. Repeat this twice, entering the data below:
Field Names: "Last", "Mobile"
Field Type: "TEXT", "TEXT"
8) When done, click on "Execute SQL" and enter the following query in the SQL string:
INSERT INTO "test_table" (First, Last, Mobile) SELECT AbPerson.First AS First, AbPerson.Last AS Last, AbMultiValue.value AS Mobile FROM AbPerson, AbMultiValue WHERE (AbPerson.ROWID = AbMultiValue.record_id AND AbMultiValue.value LIKE '%(%)%')
If it worked, you should see "No error" underneath "Error message from database engine"
BIG NOTE: If you mess up the query above, SQLite Database Browser will freeze! Yes, I know it sucks. I'm going to make a better way.
BIG NOTE 2: Everyone's phone number will be recognized as mobile numbers. Remember that this is a quick way of getting your contacts back.
BIG NOTE 3: If the person's number is not in the format [+...] (prefix) suffix, it will be lost. Sorry
9) Click on "Browse Data" and select the table you created (here, TEST_TABLE) from the "Table" dropdown. If it worked, you'll see first names, last names and phone numbers.
10) Click on File, then Export, then Export As CSV File. Select TEST_TABLE for the table name and click Export to complete. Save it somewhere convenient, like the desktop. Click OK, then exit. Don't save the new table.
11) Log into your Gmail account and go to your contacts. Click on MORE ACTIONS, then IMPORT.
12) Browse to the CSV file you just created. Then click Import. If it worked, you should see all of your contacts in Gmail, and they will appear in your phone in a few minutes.
The worst is now behind you!
MUSIC
--------
Going by memory, sorry. There are two good ways of doing it:
(a) the easy way:
1) Download DoubleTwist and install
2) Wait for device to connect
3) Click on it, then click Sync Music
4) Get good coffee to enjoy while waiting.
(b) the geeky way:
1) Open iFunBox
2) When your phone is recognized, expand it, then click Raw File System, then iTunes_Control, then Music
3) Copy ALL folders somewhere convenient.
4) When that's finished, connect your Android device as USB storage.
5) Create a folder called Music or similar if not already present.
6) Copy all of those folders into that directory. You will lose the pretty names, but all of the music will be organized automatically.

(How To) Remove different address books and contacts all at once.

I've noticed recently, especially with the release of LTE and their SIM card that some people may have difficulty finding the option to delete their SIM card or groups of people.
So if you need to delete say, all of your phone contacts seperate from your sim contacts, or seperate from your google contacts, and visa versa do this:
Steps (this applies to HTC devices):
1. Open "People" application
2. Tap "Menu" button
3. Select "View"
4. Now check the contact list or lists you want to remove from, for example SIM card
5. Hit "Done" (now make sure those are the contacts you want to remove)
6. Tap "Menu" button
7. Select "delete" and then check the contacts you want to remove, or continue with steps to remove all...
8a. Close the keyboard
8b. Tap "Menu" button again
9. Now select, select all or deselect all
10. Now "Delete"
11. No more duplicates, hopefully!
Just remeber to go back to:
People app > Menu > View > and recheck your contact books that you wish to view in the People app.
Tweet if you like it! Enjoy.
Thanks, this really helped me... couldn't find it to save my life.

"Complete action using" launcher?

As in windows desktop I have the option to choose a specific application to be associated with a file of my choice.
If the option to launch a program was available in the "complete action using" dialogue in android, that would be a very worth component.
I have often found myself missing this feature, and my current situation is calling for the option to open access HTML & text files from the file explorer rather than the ebook reader which requires too many steps to opening the ebook in the reader.
I have tried all the ebook readers on android and the most solid epub fb2 reader I have found is fbreader. Now supporting html & text files in v2 which is still in alpha mode but from my experience it is still the most solid reader you can get for android.
From the file explorer I can directly access epub & fb2 ebooks but HTML/text there is no way I can associate them with my reader of choice.
Sent from my HD2 using XDA App
Android works a little differently from Windows for file association
In Windows the user tells the OS "for this file extension, use this app" (the app/installer can create this association itself)
On Android, an app lists the file extensions it can open. The first time you try and open a file, the OS will check what the apps can open - if a single app has claimed that extension, it'll be used to open it. If multiple apps support it, you'll be given a choice popup, with a "use this as default" checkbox.
If that checkbox is ticked, then that app will be used automatically from then on, unless you either uninstall that app, or clear the default.
To clear defaults, find the app that gets opened in Settings->Applications->Manage Applications and tap on it - scroll down to the "Launch by default" section, and if the "Clear Defaults" button is enabled, you can click it to clear any default actions for that app (don't worry, it won't delete any other settings)
Then try opening your file again, and the popup should appear.
If this doesn't happen, then it's likely that either your app hasn't registered html as a supported type (you'll have to ask the dev to do that), or there's something special about html files which means they don't get handled the same way - potentially your app dev could use a different extension, and register that instead.

Prevent WhatsApp from automatically saving photos and other media

Hello guys, I switched from IOS to android and I do not regret my decision ... Except: I don't like it, that on android version of whatsapp every incoming photo is saved automatically.
Before you answer me please consider the following: I know that I can deactivate auto-media-download in the whatsapp settings but that is jot what I search. I also know the .nomedia solution, which also fits not my expectations. I just want a IoS-like method with which you can look at the photos and then safe them manually if you want to.
I have a huawei p9 lite device, which is rooted and has xposed framework installed. Thanks a lot for your help.
1. Open the app and go to the main chats screen. From here click on the three vertical dots and then open settings.
2. Now that you're in the settings menu, you need to open Chat Settings and then select the Media auto-download option.
3. From here is you will be presented with three further options to let you decide if you want to download content when you're just using mobile data, connected to a Wi-Fi network or when Roaming. You now need to open and deselect the Image, Audio and Video check boxes from each Mobile Data, Wi-Fi and Roaming options.
That's it. You will be asked whether you want to save a Whatsapp photo, audio or video file to your Android device.
Hope it help
No thats not what I search. On ios you can see the photo and then decide if you want to save it or not. But still you can see the photo. With your method I cant see whats on the photos. On ios you can see whats on the photos without saving them...
so you want image preview?
1. Open WhatsApp.
2. Go to Settings.
3. Tap on Notifications.
4. Scroll down and choose show Preview.
JimyFox said:
so you want image preview?
1. Open WhatsApp.
2. Go to Settings.
3. Tap on Notifications.
4. Scroll down and choose show Preview.
Click to expand...
Click to collapse
That option is not available on android ...

[Guide] Remove Facebook Day from Facebook Messenger without losing any features

Disable Facebook Messenger Day (Root Method)​
1. Download and launch the Terminal Emulator!
2. Execute su in terminal prompt. (To give aplication Root access!)
3. Then Execute am start -n "com.facebook.orca/com.facebook.messaging.internalprefs.MessengerInternalPreferenceActivity"
After executing latest command, new window will popup and you will see secret messanger settings.
Now follow this steps in secret settings:
GATEKEPPER OVERRIDE > Search GateKeepers > type "Internal" and then set messenger_internal_prefs_android to TRUE
then go back and find MobileConfig in secret settings, and then:
MobileConfig > Search > then type and search for "wave2" > press on wave2 and set value to FALSE
Then press RESTART NOW! And your Messanger Day will be disabled!
Thanks!
Reserved
Covered two days ago on the XDA Portal: https://www.xda-developers.com/disable-facebook-messenger-day-android/
This for remove fb messenger or enable fb mesesenger? Can understand
Sent from my SM-G950N using Tapatalk
This has been patched as of v131 and on. Internal menu can still be brought up. However, attempting to change params in mobile config throws an error. You need an employee or tester login. None of the mobile config settings will be listed.
Edit:
If you have automatic updates like I do (preference), uncheck Messenger. Downgrade to a version from July. You can get one from APK Mirror.
Facebook pushed a server side script that now displays a permanent upgrade notification on the top of the messages list. This targets clients using versions all the way down to 124.0
I downgraded one by one to each version (excl beta!) found on APK Mirror. Right now, v123 and below does not have this problem. You still get all the other features and the internal menu.

Categories

Resources