[HOW-TO][APP][ROOT] Install Lollipop AOSP Browser (and sync Google Account Bookmarks) - Xperia Z3 Compact Themes and Apps

Hey people,
I realized the Google Chrome browser demands lots of battery, so I wanted to change to another browser. There is nothing better than the AOSP one. But while installing it there seems to be a lil´ problem:
There is an app called com.android.browser.provider which comes preinstalled with stock ROM, probably to make Google Chrome work. So this app, has a ContentProvider declared with a specific authority name. The AOSP Browser app has another ContentProvider which its authority name IS THE SAME as the "com.android.browser.provider"´s one. This makes the Android package manager complain at AOSP Browser app install time.
So in order to be able to get AOSP Browser installed and running some steps must be previously executed. There are two ways:
A.-THE MANUAL WAY
1.- Settings -> Apps -> com.android.browser.provider -> Clear data
2.- File Manager -> Delete /system/app/com.android.browser.provider" folder
3.- File Manager -> Delete /data/data/com.android.browser.provider" folder
4.- Reboot
5.- Install attached Browser.apk
Click to expand...
Click to collapse
B.-THE COMMANDO WAY
1.-Terminal Emulator -> Execute the following commands:
su
rm /system/app/com.android.browser.provider (Removes apk folder from /system/app/ location)
pm clear com.yourapp.packagename (Removes application data)​2.- Reboot
3.- Install attached Browser.apk
Click to expand...
Click to collapse
Then, AOSP Browser should be running :highfive::highfive::highfive:
Please comment if there are any problems :good:
If anyone gets an up-to-date APK post here and I will update the OP.
EXTRA: SYNC BOOKMARKS WITH YOUR GOOGLE ACCOUNT:
The following steps show how to make AOSP BROWSER have the bookmarks saved in your Google account:
1.- Install attached BookmarksSyncAdapter.apk
2.- Settings -> Accounts -> Google -> /** Wanted Google Account */ -> Switch on Sync Browser
3.- A notification (exclamation sign) should be shown. Click it. (In order to authorize the app to sync bookmarks with your account)
4.- Settings -> Apps -> Browser -> Force Close
5.- Done
Click to expand...
Click to collapse
For up-to-date-is-a-must obsessed people:
-Browser.apk targetSdkVersion is 22. So its the last one (Official Stable Android 6.0 has not been released yet)
-BookmarksSyncAdapter.apk targets 16 SDK version. It seems to be discontinued as is not preinstalled in latest AOSP Roms ​

Can't install Booksmarkssync app. What is another way?

rich2007 said:
Can't install Booksmarkssync app. What is another way?
Click to expand...
Click to collapse
Really dont know. First, I should check the logcat to find the cause so, could you post thee logcat?
Also, you can try installing it as a system app:
1.-Create /system/app/BookmarksSyncAdapter/ folder
2.-Copy BookmarksSyncAdapter.apk into the previously created folder
3.-Set permissions -rw-r--r-- to the apk
4.-Reboot
5.-Goto Settings -> Accounts -> Google -> Your Google account and check if "Browser" item is listed
Click to expand...
Click to collapse

there was already a fully working solution in the forum.. just search "material design aosp browser". just need to delete BrowserProviderProxy if present in system/app first

isn't it dangerous to delete the existing file which may be more up to date with security?
is it not possible to simply rename internally the Browser.apk so it does not conflict?

Related

One-Click Maps enable/disable script *needs root*

For those that are experiencing battery drain because Maps app keeps opening in the background no matter how many times you force close it, I made a very simple script to completely freeze it (and defrost it if it's already frozen) with one click(technically two lol).
Attached Files:
freeze-maps -- it auto detects if Maps is already enabled or disabled, and does the opposite.
maps-disable -- it simply runs the disable Maps command, won't hurt even if the maps is already disabled
maps-enable -- it enables Maps, won't do any harm if Maps is already enabled
Instruction:
1. Download and Install Script Manager in the market (there's a free version)
2. Download the attached freeze-maps.sh.txt and put it in your SD card, say under Documents
3. Open Script Manager, locate the file (freeze-maps.sh.txt) you just downloaded, open it by long press and open as... Script/Executable
Check "run as root", check "Configure as favorite", Click Save and click Exit
4. You can now quit the Script Manager app
5. On your preferred launcher, create a new widget, choose script manager, and then the freeze-maps.sh.txt script (it should be there, since you bookmarked it at step 3).
6. Now you can enable/disable Maps with just using the widget on your Launcher!
************************************************
For those getting an error with freeze-maps.sh.txt, it means your "pm" command doesn't support filter and it won't function as intended. You can either use maps-disable/maps-enable as two separate widgets
or you can do the following(at your own risk):
I attached a copy of my own "pm" executable file that was found in my device, you just gotta replace yours with it.
How-to:
1. Download the attached file - pm.zip
2. Use root explorer and go to /system/bin
3. mount it as writable by pressing the little button says "Mount R/W", it will change to "Mount R/O"
4. rename your pm to pm.bak (for backup) and replace it with the file pm found in pm.zip
5. Long click on the pm file you just extracted here and choose permissions:
Owner = Read/Write/Execute
Group = Read/Execute
Others = Read/Execute
Click Ok
5. Mount your system back to read only by pressing "Mount R/O" and you should be set
******************************************
PS: please let me know if there's any error since this is the very first Android script I wrote, Thanks for Looking ;-)
*Disclaimer: As usual, I am not responsible for any damage to your device, it's do it at your own risk. I will try my best to help though.
PPS: The geeky stuff - you can of course edit the script or run the command "pm" in a terminal and use it to enable/disable any annoying process, but you need to know what you are doing!!!! I personally froze the market updater and twitter app and some other bloatwares that came with the streak.
Shows
# Error: unknown option: -d
+
(loads a stuff)
+
Maps is now disabled
Maps disappears off my Apps list - I re-run the script, same message, and still no maps. How do I get Maps back ?
I am running this fine on streadriod 2.3 by fards, let me check and get back to you
But the new additional attached files at the first post should solve your problem for now.
it wont detect if you have maps enabled or disabled, but it will do what it's file name implied respectively.
Just use Script Manager to Run it, you can also make two Widgets for enabling/disabling.
haynesteve said:
Shows
# Error: unknown option: -d
+
(loads a stuff)
+
Maps is now disabled
Maps disappears off my Apps list - I re-run the script, same message, and still no maps. How do I get Maps back ?
Click to expand...
Click to collapse
if you have a terminal installed, try to run this > ( === enter means hit enter)
su === enter
pm list packages -d === enter
and let me know the result.
Thank you
enable script has 1st line as
pm enable com.google.android.apps.maps\
which doesn't work - however after removing the slash, works perfectly. Thank you
haynesteve said:
Thank you
enable script has 1st line as
pm enable com.google.android.apps.maps\
which doesn't work - however after removing the slash, works perfectly. Thank you
Click to expand...
Click to collapse
yup made a typo in the script, corrected in the OP, thanks =)
asianftw said:
if you have a terminal installed, try to run this > ( === enter means hit enter)
su === enter
pm list packages -d === enter
and let me know the result.
Click to expand...
Click to collapse
Again shows Error: unknown option: -d
(list usage perameters)
Using Streakin v1.1
haynesteve said:
Again shows Error: unknown option: -d
(list usage perameters)
Using Streakin v1.1
Click to expand...
Click to collapse
Oh that's probably why.. Because Streakin is mostly based on stock rom and I guess -d is some kind of option that only available in the custom roms like on DJ steve's or fard's
If it's not too much trouble, it would be great if you can message me the output of the command so I will see if i can write a working script for the stock rom accordingly
just type(in terminal):
su
pm
and in your terminal software, there's an option "email to". just copy and paste the contents in to a private message via xda.
Thanks so much
Sent you a PM (not easy as Emulator kept FC - lol)
haynesteve said:
Sent you a PM (not easy as Emulator kept FC - lol)
Click to expand...
Click to collapse
Thanks for your help !! I see your version of the pm command is missing the filter option, hence rendering the detection error.
I updated my OP
Thanks for this script, it works brilliantly.
I am trying to modify this script to check of com.facebook.katana is running and do the same for Facebook, but I am not sure how to check if that service is running.
hshah said:
Thanks for this script, it works brilliantly.
I am trying to modify this script to check of com.facebook.katana is running and do the same for Facebook, but I am not sure how to check if that service is running.
Click to expand...
Click to collapse
i did it for some of those apps that have the tendency to stay in the background even you force close it.
you can check if it's running by going to Setting -> application -> running service
you can also check what apps are occupying your resource with an app called "Betterbatterystat"
asianftw said:
i did it for some of those apps that have the tendency to stay in the background even you force close it.
you can check if it's running by going to Setting -> application -> running service
you can also check what apps are occupying your resource with an app called "Betterbatterystat"
Click to expand...
Click to collapse
Sorry, I meant via a script to replace "pm list packages -d".
hshah said:
Sorry, I meant via a script to replace "pm list packages -d".
Click to expand...
Click to collapse
you can look into using pid or look here for some similar info
i can get back to you when I have more time in hand.
But what i can ensure you is: if you have facebook installed, it IS running in the background, period. 100% of the time. It's not using much of my battery though, so I just leave it as that.
Done it
It really works!
Thanks Sir.
Fully Working on Karbonn_A9+.
@asianftw & @hshah,
These are great! Thank you. Will try them soon.
Can you add more apps for this.
And can you make it into auto-mode? Meaning any apps will be freeze when not in use, but will be turned ON when user click those app OR triggered by incoming update (like FB) or at least, set to a fix frequencies to check for update (say every 30 minutes / hourly / "x" hours). If it is possible, this will be a must have app.
Dell Streak | InnerSD 8GB | ExternalSD 32GB | LXdroid 0.2

[Q] Installing GooglePlayStore without gapps? (CM 10.2)

Hello,
I want to install the PlayStoreApp. The gapps.zip contains a lot of other stuff like Gmail, GooglePlus, TalkBack etc..
But I want nothing more than the PlayStoreApp (and desperately necessery other APKs).
And I don't intend to deinstall Gmail, GooglePlus, TalkBack after flashing gapps. (too many files and dependences)
Is there a way? Thank you.
Open the "gapps.zip / system / app". folder.
There are 5 files to copy into the smartphone-"system/app"-folder:
1) GmsCore.apk
2) GoogleLoginService.apk
3) GoogleServicesFramework.apk
4) Phonesky.apk (<-- google-Playstore)
5) NetworkLocation.apk (<-- needed by some apps (example: some weatherApps))
for each file set permissions to: drwxr-xr-x
(look at wiki.ubuntuusers.de/chmod to see, what drexr-xr-x means)
BaldrianForte said:
Hello,
I want to install the PlayStoreApp. The gapps.zip contains a lot of other stuff like Gmail, GooglePlus, TalkBack etc..
But I want nothing more than the PlayStoreApp (and desperately necessery other APKs).
And I don't intend to deinstall Gmail, GooglePlus, TalkBack after flashing gapps. (too many files and dependences)
Is there a way? Thank you.
Click to expand...
Click to collapse
Okay,
the best option is flash gapps.
install titanium backup from play store.
Unistall the google apps that you dont want.:highfive:
androidtweaker1 said:
the best option is flash gapps.
Click to expand...
Click to collapse
Thank you. Do you've read the second posting?
Take a root-file-manager to set the permissions easily.
This is (for me) the best option
greetings : )
Thanks
BaldrianForte said:
Open the "gapps.zip / system / app". folder.
There are 5 files to copy into the smartphone-"system/app"-folder:
1) GmsCore.apk
2) GoogleLoginService.apk
3) GoogleServicesFramework.apk
4) Phonesky.apk (<-- google-Playstore)
5) NetworkLocation.apk (<-- needed by some apps (example: some weatherApps))
for each file set permissions to: drwxr-xr-x
(look at wiki.ubuntuusers.de/chmod to see, what drexr-xr-x means)
Click to expand...
Click to collapse
realy helpful

[ROM][N5] AlmostVanillaAOSP [6.0.1_r81-MOI10E] - 20171004

AlmostVanillaAOSP Marshmallow 6.0.1_81 [MOI10E] ROM for the Nexus 5
Description
An "almost vanilla" AOSP-based Marshmallow ROM for the Nexus 5.
Disclaimer
I am not responsible for anything that happens to your device. By downloading and flashing or installing these zips, you automatically agree that I won't be held liable for anything that happens to your phone.
Background
AlmostVanillaAOSP is an AOSP-based ROM directly using Google's source code with a few functional modifications; these modifications are fully-sourced and easily-installed prior to building the ROM. Included modifications are designed to fix bugs, enhance security, and improve "in the field" function.
Many users prefer a "vanilla" version of AOSP, without added factory bloat and proprietary software; a basic version of AOSP is a great building block to create a custom-featured ROM, or it can be left as-is by users desiring to live outside Google's realm.
Users shouldn't see any visual or functional difference between this ROM and a vanilla AOSP build; all changes are "under the hood". Please note that there has been no attempt to remove functionality or user choice with this ROM.
If you're looking for a 100% pure AOSP ROM, please install BreckZeBoulay's UntouchedAOSP ROM IN THIS THREAD
Included Modifications
Enabled the Doze option: Google's Doze option (built-into the AOSP code base), is a set of rules that puts an idle phone to sleep, reducing battery drain. For Doze to work, you have to have Google Play Services (GApps) installed. If you don't have Play Services installed, nothing happens and the phone still works fine. For more details on Doze, read HERE.
Option to add Google's current WebView: The WebView included with AOSP Marshmallow is locked-in at version 52, and the only way it will get updated is by installing a later ROM. With the stock AOSP code, users have no option to upgrade to a newer version; trying to upgrade results in browser crashes and instability. This "fix" allows installing the "Android System WebView" from the Play Store (currently at version 58); the Play Store version is kept current by Google. If you choose not to install the Play Store WebView version, the included version works fine, although at an increased security risk due to not having updates. DO NOT REMOVE THE INCLUDED WEBVIEW VERSION! Keep the original version that's located in /system/app, if you install another version; it's not "bloat". The Play Store Android System WebView can be found HERE.
Addition of Sony's suggested (and disapproved) Power Menu reboot option: Sony made attempts to add a reboot option to the Power Menu in the AOSP code; their efforts were rejected. However, Sony generously posted the code changes needed to enable this option, and they are included in this ROM. An interesting read on Sony's attempts can be found HERE. For details on implementing this feature post-install, please read the "Implementing Reboot" section below.
Removal of broken AOSP applications (Browser, Calendar, Email, and Exchange): AOSP Browser, AOSP Calendar, and AOSP Email (and by extension, AOSP Exchange) are hopelessly broken. I refuse to put broken applications in a ROM, even for "completeness". The good news is that Lightning Browser, Etar Calendar, and K9 Mail are open source and even better than the originals. Look in the "Suggested Open Source Applications" section below for links to these apps.
Removal of LiveWallpapers: The LiveWallpaper bloat has been removed from the ROM. The LiveWallpaperPicker app remains, so the functionality is still there. They're something that few people (if any) actually use.
Updated Launcher Icons to Material theme: The Material Dialer Icon is usually the first item folks ask for in AOSP ROMs. The Calendar, Dialer, and Gallery launcher icons were borrowed from the Cyanogenmod Github. The QuickSearchBox and Music launcher icons were modified from the icon set provided by Rammist on this WEBSITE. No other changes were made to the apps other than their launcher icons.
Added Option to Utilize UnifiedNlp Location: UnifiedNlp is a FLOSS (Free/Libre and Open Source Software) Wi-Fi- and cell-tower-based geolocation tool for Android by MaR-V-iN. His XDA thread can be found HERE. All that's been done is the addition of a single entry (org.microg.nlp) during build to the list of the ROM's network location services. Users who don't add the UnifiedNlp app will see no change or function with the ROM. For details on implementing UnifiedNlp with this ROM, please review Post #2 in this thread.
Sources and Source Patches
Source tree:
Code:
https://android.googlesource.com/platform/manifest -b android-6.0.1_r81
Nexus 5 (GSM/LTE) binaries for Android 6.0.1 (M4B30Z):
Code:
https://developers.google.com/android/drivers
Source Patches Used for ROM Build:
Bloat
Broken
Dialer-Gallery2-Calendar-Search-Music - Launcher Icons
Doze
Reboot Icons <- Required for the Reboot patch
Reboot
WebView
UnifiedNlp
Patch Installation Prior to Building ROM:
Put patch(es) in the AOSP build folder. This is how the patches and icon images were installed:
Code:
patch -p0 < M4B30X_Reboot.patch
patch -p0 < M4B30X_WebView.patch
patch -p0 < M4B30X_Doze.patch
patch -p0 < M4B30X_Bloat.patch
patch -p0 < MOB31T_Broken.patch
patch -p0 < MOB31T_UnifiedNlp.patch
unzip M4B30X_Reboot_Icons.zip
unzip M4B30X_Dialer-Gallery2-Calendar-Search-Music_Icons.zip
find . \( -name \*.orig -o -name \*.rej \) -delete
NOTE on ".rej" and ".orig" generated files:
Patches that succeed but have ***ANY*** issue generate additional ".orig" files in the same folders as the original files.
Patches that fail generate a ".rej" extension file in the same folder as the original file. A failed patch must be investigated before proceeding further.
For example:
Code:
frameworks/base/core/res/res/values/config.xml
frameworks/base/core/res/res/values/symbols.xml
Both of the above files are modified by two or more patch files. An initial patch will work fine, but subsequent patches are noted with notices like "Hunk #1 succeeded at 306 (offset 1 line)". The patch applied fine, but the patch command is notifying you that when it went to apply the patch, the lines weren't where they were originally expected to be (shifted down XX number of lines). As long as the patch didn't fail with output like "Hunk #1 FAILED at 58.", you're good. However, even though the patch was successful, it still generates a "config.xml.orig" or a "symbols.xml.orig" file when there is a conflict.
Now the problem: those ".xml.rej" and ".xml.orig" files, despite having incorrect endings and not being actual ".xml" files, are treated during build as valid .xml files. Since the config.xml.orig and config.xml file are in the same folder and almost identical, the build will fail as it's seeing the duplication. AOSP appears to parse all files in certain folders, regardless of extension.
The following command will eliminate those ".orig" and ".rej" files, should they appear:
Code:
find . \( -name \*.orig -o -name \*.rej \) -delete
To revert installed patches, with the patches in the AOSP build folder:
Execute the following commands:
Code:
patch -p0 -R < M4B30X_WebView.patch
patch -p0 -R < M4B30X_Reboot.patch
patch -p0 -R < M4B30X_Doze.patch
patch -p0 -R < M4B30X_Bloat.patch
patch -p0 -R < MOB31T_Broken.patch
patch -p0 -R < MOB31T_UnifiedNlp.patch
find . \( -name \*.orig -o -name \*.rej \) -delete
NOTE: any icon images you've unzipped can't be reverted.
Known Bugs
None yet.
GPL
The kernel included with this ROM was pulled directly from the AOSP source tree. No modifications have been made to any of the kernel sources or the kernel itself.
For the source tree for the AOSP-supplied kernel, please check HERE.
The GPL v2 license can be found HERE.
AlmostVanillaAOSP ROM Download
LATEST: AndroidFileHost | Mediafire
AlmostVanillaAOSP[6.0.1_r81-MOI10E]Hammerhead-20171004.zip
SHA256: 7fcdb2dd0e349b1b99eefc55f9e49b0fd07c9e2ad1054848840019a88434c2b5
OLDER RELEASES can be found here: AndroidFileHost
AOSP Changelogs - Does not include AlmostVanilla changes.
Generated using the following bash script:
Code:
#!/bin/bash
#
#
#
repo forall -c '
if git rev-parse android-6.0.1_r79 >/dev/null 2>&1
then
git log --oneline --no-merges android-6.0.1_r79..android-6.0.1_r80
else
git log --oneline --no-merges android-6.0.1_r80
fi
' | cat
android-6.0.1_r79 to r80
Add-on Downloads - In TWRP-flashable format.
Radio/Modem Download, Version M4B30X_M8974A-2.0.50.2.30: AndroidFileHost | Mediafire
- The current modem-radio for the N5 is M8974A-2.0.50.2.30, from the M4B30X ROM.
Video Green Line Fix, Version 6.0.1_r77-M4B30Z: AndroidFileHost | Mediafire
- Fixes the green line along the edge of video frames.
- Pulled from the latest factory N5 ROM, M4B30Z_6.0.1_r77.
Qualcomm Time Service Fix, Version 6.0.1: AndroidFileHost | Mediafire | Older Versions
- Fixes the date and time resetting on successive boots.
UnifiedNlp(GAPPS), Version 1.6.8: AndroidFileHost | Mediafire
- A flashable version of UnifiedNlp(GAPPS) that installs to /system. Only for AlmostVanillaAOSP[6.0.1_r79-MOB31T]Hammerhead-20170418.zip or later versions WITH built-in UnifiedNlp support.
- For details on implementing UnifiedNlp with this ROM, please review Post #2 in this thread.
N5 Boot Animations: This THREAD has an assortment of N5 flashable and tested bootanimations.
Debloating Tools: Look at this thread THREAD for debloating scripts to eliminate unwanted or redundant applications.
Wallpapers
AOSP doesn't include any wallpapers for the Launcher/Home Screen. To help beautify your N5, I've included some links to stock Android and Nitrogen OS wallpaper in Post #3.
Installation
PLEASE ASK QUESTIONS IF YOU HAVE THEM!
General ROM & GApps Install Procedure:
--------
PREPARATION:
1. Flash current factory ROM via PC (to get current modem radio)
2. Install TWRP via adb
3. Create empty GApps text files as per directions HERE
4. Copy ROM, empty text files, and install items to phone from PC
FLASH & INSTALL:
1. Boot to TWRP
2. Reboot to recovery (TWRP) from within TWRP
3. Wipe everything but internal storage
4. Flash the ROM
5. Flash a bootanimation, TimeService, Green line fix
6. Reboot to System
7. Configure Time, WiFi, APN, Reboot Menu
8. Reboot to TWRP
9. Flash GApps (Delta GApps MM PROCEDURE
10. Reboot to System
11. Set permissions for GApps (Contacts, Play Store, Google Play Services)
12. Reboot back to System
13. Setup Google Account
14. Install Play Store Apps
15. Install APKs manually
16. Reboot to TWRP
17. Run debloat script.
18. Reboot to TWRP
19. Flash UnifiedNlp app
20. Install SuperUser (PHH's is fine)
21. Reboot to System.
22. Done
#6, rebooting to System BEFORE flashing GApps, is VERY important.
GOOD LUCK!
Screen Shots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FAQ
Q: How can I verify the running WebView version of my ROM?
A: Use HTML5test WebView from HERE.
Q: Does Doze work in this build?
A: Yes. You'll need GApps installed for it to work properly. You do not have to enable anything; it is active by default.
Q: How can I check and see if Doze is enabled on this ROM?
A: Download and install the APK from this THREAD.
Q: My date and time keeps resetting on successive boots?
A: Solution is to install the Qualcomm TimeService app (a proprietary application) - the 6.0.1 version is available HERE
Q: Can I use this ROM with Android Pay?
A: No. Only approved factory ROMs from Google can use Android Pay. If you want Android Pay on the Nexus 5, install a Marshmallow factory image.
Q: Where can I get the Marshmallow bootanimation? I'm only seeing the AOSP default framework bootanimation.
A: Try Post #1 in this Boot Animation Collection.
Q: Where can I find your build tree?
A: There is no build tree for this ROM, other than the full source code as provided by Google. Any modifications to this source code are noted under "Patches".
Q: Can you add new features to this ROM?
A: The goals of this ROM are a stock AOSP feel and security. "Features" other than bug-fixes and security enhancements aren't a priority and probably won't be added.
Q: Which GApps are recommended?
A: Deltadroid's GApps are highly recommended using this installation PROCEDURE
Q: How do I install GApps?
A: A general procedure to install ROM with GApps:
Don't flash the ROM together with GApps in the same ZIP queue because this will cause the Installation Wizard to run on first boot. Due to Google Play permissions errors the Wizard will keep crashing and you won't be able to bypass this. Solution:
1. Boot to TWRP
2. Reboot to recovery (TWRP) from within TWRP
3. Wipe everything but storage
4. Flash the ROM
5. Flash a bootanimation, TimeService, Green line fix
6. Reboot to System
7. Configure Time, WiFi, APN, Reboot Menu
8. Reboot to TWRP
9. Flash GApps
10. Reboot to System (Yes, you'll probably get Play Services "FC" messages until you perform #11, below)
11. Immediately toggle application permissions to "ON" under "Settings -> Apps -> ... -> System show" for:
Code:
- Google Contacts Sync
- Google Play Services
- Google Play Store
12. Reboot back to System
13. Setup Google Account via "Settings -> Accounts -> Add account -> Google"
14. Install Play Store Apps
15. Install APKs manually
16. Reboot to TWRP
17. Run debloat script.
18. Reboot to TWRP
19. Install SuperUser (PHH's is fine)
20. Reboot to System.
21. Done
Q: My Google Play Store / Google Play Services / Apps keep crashing?
A: This is a permissions issue. Please read the "Which GApps are recommended?" answer above.
You can try System Settings > Apps (top right menu button) > Show System,
and set the following to resolve most crashes:
Google Contacts Sync > Contacts permission
Google Play Services > All permissions
Google Play Store > All permissions
Q: Can you patch the ROM to deal directly with the GApps permissions issue?
A: No. It's a security policies issue, and there's no desire to override those policies.
Q: Where is the System Tuner UI?
A: Enable Developer Options (under "About Phone", tap "Build Number" seven times), then long-press the settings icon in the notification shade/bar.
Q: How do I get root?
A: PHH's SuperUser is highly recommended. Install the SuperUser APK (F-Droid or Play Store), then flash the superuser.zip from HERE. It works flawlessly, and it's open source.
Q: Can I use this ROM with MultiROM?
A: UntouchedAOSP users were successful with MultiROM. AlmostVanillaAOSP should work equally-well.
Q: AOSP Calendar (and Etar Calendar) won't sync with my on-line Google calendar. How can I make syncing work?
A: Flash the Google Calendar Sync addon for 6.0.0+ add-on from this THREAD, located under "Additional Kitkat, Lollipop, Marshmallow, and Nougat gapps addons". Ensure that permissions are granted in Settings -> Apps for "Google Calendar Sync". You'll need to enable "Show system" under the ". . ." in the upper right of the Apps window,
Q: I get a green line on one side of the frames when recording video. How can I fix this?
A: Go to the "Add-on Downloads" section in this post and get the "Video Green Line Fix" download.
Q: I'm having issues with Location and certain apps (Chronus, f.lux, Google Fit, etc.). How can I fix this?
A: This isn't a ROM issue; it's an AOSP issue. Review POST #2 in this AlmostVanillaAOSP thread for a solution using UnifiedNlp. For a long, detailed answer, look at Mar-v-in's initial response in this GITHUB POST. Hopefully the following will be a short-enough summary:
Google started with an open Location API that was used for AOSP and Google's factory ROMs.
Google created a new Play Services Location API that isn't included is AOSP code and it's only included in factory ROMs.
Google recommends that developers use the newer, closed API version.
Despite the fact that there are few differences between the old and new API, some developers are migrating solely to the new, stranding AOSP users.
Possible solutions for those AOSP users not having access to the new Location API:
Use the solution in POST #2 of this thread.
Forget about custom ROMs, only install factory ROMs (yeah, right!).
Only use and support apps that use the open Location API (all of the applications listed in post #1 of this thread -- requiring Location -- under "Suggested Open Source Applications" support the older Open Location API).
Ask developers if they're willing to modify their applications to fall-back to the open API if the Google one isn't available, or just use the open API.
For other AOSP ROMs, use the procedure as outlined by @alessio89g in this POST
Q: How about a Nougat ROM?
A: Until things stablize on the development front, no. There are driver issues for Nougat on the N5 that have yet to be resolved. It was hoped that there'd be a very vanilla Nougat N5 build, with very detailed modifications of the source tree; documented changes seem to be all over the place, with developers more focused on "features" than straightforward builds. There is a "CleanAOSP" Nougat ROM, but I don't know much about it.
Implementing Reboot
Activate Developer Options: Go to "Settings -> About phone", scroll-down to "Build number", and tap it seven (7) times (first image).
Activate System UI Tuner: Swipe the top of the screen twice, until you get the below image. Long-press the gear icon. When you let go, a wrench icon appears (second image).
Go to "Settings -> System UI Tuner", toggle "Show restart in global actions menu":
Go to "Settings -> Developer options", scroll down and verify "Restart shortcut" is toggled:
NOTE:
"Developer options -> Restart shortcut" and
"System UI Tuner -> Show restart in global actions menu"
are tied together; toggling one automatically toggles the other.
Either method will activate the Reboot menu.
Suggested Open Source Applications
AdAway (requires root) - XDA
Add to Calendar - F-Droid
Amaze File Manager (root capable) - F-Droid | Play Store
AnySoft Keyboard - F-Droid | Play Store
Barcode Scanner - F-Droid | Play Store
Battery Widget - F-Droid | Play Store
Calendar Widget - F-Droid | Play Store
Etar Calendar- F-Droid | Play Store
Flym News Reader - F-Droid | Play Store
Forecastie (uses Open Location API) - F-Droid | Play Store
K9 Mail - F-Droid | Play Store
Lightning Browser - F-Droid | Play Store
Mathdroid - F-Droid | Play Store
MuPDF - F-Droid | Play Store
No-Frills CPU Control (requires root) - F-Droid | Play Store
Open Camera - F-Droid | Play Store
QK SMS - F-Droid | Play Store
QuickDic - F-Droid | Play Store
Simple Gallery - F-Droid | Play Store
SMS Backup+ - F-Droid | Play Store
Solitare CG - F-Droid | Play Store
Turbo Editor - F-Droid | Play Store
Vanilla Music - F-Droid | Play Store
VLC (ARMv7) - FTP | FTP-testing | Play Store
Thanks:
@BreckZeBoulay - for inspiration, guidance, keeping up the good fight, and teaching me how to build a ROM
@Deltadroid - for an awesome GApps package, and listening to users
@MattDN93 - for listening to users and being a cheerleader
@Scott - for his incredible walkthrough in this THREAD
Using UnifiedNlp(GAPPS) with AlmostVanillaAOSP:
What is UnifiedNlp(GAPPS)?
The UnifiedNlp(GAPPS) tool (application) works WITH an installed version of Google's GApps to enhance Location capabilities on AOSP ROMs; the XDA thread for this tool can be found HERE.
Why do we need UnifiedNlp(GAPPS)?
Developer MaR-V-iN provides a detailed response in his initial reply to this GITHUB POST. The short version is:
Google started with an open Location API that was used for AOSP and Google's factory ROMs.
Google created a new Play Services Location API that isn't included in AOSP code and it's only included in factory ROMs.
Google recommends that developers use the newer, closed API version.
Despite the fact that there are few differences between the old and new APIs, some developers are migrating solely to the new API, stranding AOSP users.
Simply put, a growing list of applications (Chronus, f.lux, Google Fit, etc.) refuse to work with the older Open Location API; UnifiedNlp(GAPPS) adds functionality to get these unusable apps working on AOSP ROMs.
How does AlmostVanillaAOSP support UnifiedNlp(GAPPS)?
AlmostVanillaAOSP now includes a build patch (found in Post #1, under "Sources and Source Patches") that adds "org.microg.nlp" to the Location Services providers. It's a simple two-line addition (including one line for a comment). AlmostVanillaAOSP DOES NOT install the UnifiedNlp app; that's up to the user to decide if it's needed or wanted. A user opting to NOT install the UnifiedNlp app will see no performance or functional changes.
Notes
There is a UnifiedNlp(noGApps) version available. It's designed to work with the MicroG Services (an open substitute for Google Play Services). The directions in this post DO NOT apply to the "noGAPPS" version of this application.
Xposed: AlmostVanillaAOSP versions 20170418 and later have support for UnifiedNlp "compiled-in". There should be no need to install the UnifiedNlp Xposed module to get the app/tool to run.
The UnifiedNlp(GAPPS) tool must reside in /system, not in /data; the flashable zip will make installation much easier.
When installed properly, the UnifiedNlp(GAPPS) tool WILL NOT display under the Launcher Apps Menu; you'll find the tool listed under Settings -> Location.
Setup
1. Install AlmostVanillaAOSP[6.0.1_r79-MOB31T]-20170418, or a later ROM revision.
- Follow the suggested install process listed under "Installation" in Post #1.
2. Flash the the UnifiedNlp(GAPPS) app/tool.
- Found in Post #1, under "Add-on Downloads"
- This flashable version of UnifiedNlp is designed to work WITH GApps
3. Install your choice of UnifiedNlp "backend" APKs.
- See the "Backends" list below.
- Should be "side-loaded" via ABD or installed via file manager.
- You can install as many backends as you desire, but you should only have one active.
- The Apple, Mozilla, and OpenBMap backends are "interesting" for our purposes WITH GApps, and should be prioritized.
4. Go to System Settings --> Location:
- Ensure "Mode" is set to either "High accuracy" or "Battery saving", NOT "Device only".
- Ensure that "UnifiedNlp Settings" is listed under "Location services"
5. In System Settings --> Location --> Location services --> UnifiedNlp Settings:
- Enter "Configure location backends", add and configure desired backends.
- Return to "UnifiedNlp Settings".
- Enter "Self-Check", ensuring that all boxes are checked.
Backends
Again, the Apple, Mozilla, and OpenBMap location backends are probably best for easiest compatibility WITH GApps.
Location Backends:
Apple UnifiedNlp Backend - UnifiedNlp location provider (Apple WiFi) - F-Droid
UnifiedNlp backend that uses Apple's service to resolve wifi locations
MozillaNlpBackend - UnifiedNlp location provider (Mozilla) - F-Droid
UnifiedNlp backend that uses Mozilla Location Services to resolve locations (AKA IchnaeaNlpBackend).
OpenBmapNlpBackend - UnifiedNlp location provider (Openbmap) - F-Droid
UnifiedNlp (no GAPPS) backend that uses OpenBmap.
Address Lookup Backends:
NominatimNlpBackend - UnifiedNlp geocoding provider (MapQuest Nominatim) - F-Droid
UnifiedNlp (no GAPPS) backend that uses MapQuest's Nominatim service (based on OpenStreetMap) for geocoding.
Database Location Backends:
LocalGsmNlpBackend - UnifiedNlp location provider (local GSM database) - F-Droid
UnifiedNlp (no GAPPS) backend that uses local GSM data to resolve user location. Create a database using data from OpenCellId and/or Mozilla Location Services CSV files.
LocalWifiNlpBackend - UnifiedNlp location provider (local WiFi database) - F-Droid
UnifiedNlp (no GAPPS) backend that uses locally acquired WiFi AP data to resolve user location. Consists of two parts sharing a common database. One part passively monitors the GPS. If the GPS has acquired and has a good position accuracy, then the WiFi APs detected by the phone are stored.
Wallpapers
AOSP doesn't include any wallpapers for the Launcher/Home Screen. Here are some links to beautify your N5; all of these images will automatically scale properly on the N5:
Stock Ice Cream Sandwich - Individual files | Full ZIP - 960x853 images
wallpaper_architecture | wallpaper_bubblegum | wallpaper_canyon | wallpaper_chroma
wallpaper_escape | wallpaper_fiber | wallpaper_fidelity | wallpaper_flora
wallpaper_kepler | wallpaper_leaf | wallpaper_noir | wallpaper_outofthebox
Stock Jellybean - Individual files | Full ZIP - 1440x1280 images
wallpaper_01 | wallpaper_02 | wallpaper_03 | wallpaper_04
wallpaper_05 | wallpaper_08 | wallpaper_09 | wallpaper_10
wallpaper_11 | wallpaper_12
Stock Kitkat - Adjusted - Individual files | Full ZIP - Scaled to 1920 pixels high
default_wallpaper | wallpaper_15
wallpaper_16 | wallpaper_17 | wallpaper_19 | wallpaper_20
wallpaper_22 | wallpaper_50 | wallpaper_51
Stock Lollipop - Adjusted - Individual files | Full ZIP - Scaled to 1920 pixels high
wp_arc_001 | wp_arc_003 | wp_arc_004 | wp_geo_1243
wp_geo_1557 | wp_geo_2102 | wp_geo_2167
wp_geo_2170 | wp_geo_2278 | wp_paper_001
Stock Marshmallow - Adjusted - Individual files | Full ZIP - Scaled to 1920 pixels high
wallpaper-kleiner-google-blue | wallpaper-kleiner-google-red | wp_001
wp_002 | wp_003 | wp_004 | wp_005
wp_006 | wp_007 | wp_008
wp_009
Stock Nougat - Adjusted - Individual files | Full ZIP - Scaled to 1920 pixels high
wallpaper-001 | wallpaper-002 | wallpaper-003 | wallpaper-004
wallpaper-005
Stock Oreo - Adjusted - Individual files - Scaled to 1920 pixels high. Only one image at this time.
Nitrogen OS - Individual files | Full ZIP - 2160x1920 images downloaded from HERE - Simply stunning
nos_01 | nos_02 | nos_03 | nos_04
nos_05 | nos_06 | nos_07 | nos_08
nos_09 | nos_10 | nos_11 | nos_12
nos_13 | nos_14 | nos_15 | nos_16
nos_17 | nos_18 | nos_19 | nos_20
nos_21 | nos_22 | nos_23 | nos_24
Post #4 reserved.
Post #5 for me
Glad to see you sharing your job !
All options you propose, I do them after installation of Untouched with flashing zips and exposed. I think this rom could be my daily rom for now.
Bye bye Untouched, hello Almost ! :laugh:
And I make a suggestion !
Build a AOSP kernel with k-exec patch for MultiRom users !
May be it's a little off topic but it could be included in the Almost zip no ?!
BreckZeBoulay said:
Post #5 for me
Glad to see you sharing your job !
All options you propose, I do them after installation of Untouched with flashing zips and exposed. I think this rom could be my daily rom for now.
Bye bye Untouched, hello Almost ! :laugh:
And I make a suggestion !
Build a AOSP kernel with k-exec patch for MultiRom users !
May be it's a little off topic but it could be included in the Almost zip no ?!
Click to expand...
Click to collapse
Please keep Untouched; it needs to exist
I'm guessing that should such a kernel already exist, you've have installed it by now. For humor, I'll take a look if you can show me the patch.
What am I missing, under-the-hood-wise, from this ROM? I'm mostly concerned about security and fixing broken things.
Are there items missing from the FAQ?
@androcraze thanks for this great ROM but pls add screenshots.
Barbiox Dogg said:
@androcraze thanks for this great ROM but pls add screenshots.
Click to expand...
Click to collapse
It's Vanilla AOSP!
OK, I'll see what I can do. A screenshot of what? Apps? Desktop? What items do you think will visually give more info about this ROM?
Will this be moving up to 7.0 build soon?
cell2011 said:
Will this be moving up to 7.0 build soon?
Click to expand...
Click to collapse
Soon? No. Please read the FAQ.
EDIT: I'm hoping that I can start something with 7.0 soon, but despite building and patching things, I'm not a "coder". At this point, I'm not seeing a detailed, basic list of things required get get AOSP Nougat going on the N5. Viewing git repos (for those developers that actually bother to post changes) is a cluttered mess, without much explanation about why a commit was included.
Great job..
BreckZeBoulay said:
And I make a suggestion !
Build a AOSP kernel with k-exec patch for MultiRom users !
May be it's a little off topic but it could be included in the Almost zip no ?!
Click to expand...
Click to collapse
I see the MultiROM patch and what it's for.... Do other developers make a kernel that works with Untouched and AlmostVanilla ROMs that supports MultiROM?
Right now, building a kernel looks do-able (I used to do it under Linux, and instructions for the N5 look straightforward). I wouldn't mind adding patches to change the scheduler from cfq to deadline, and drop the CPU minimum speed; it would get rid of an app that I have to install every time to do just that.
What's the advantage of including MultiROM support with this ROM vice flashing another kernel (other than the extra flashing step)?
androcraze said:
I see the MultiROM patch and what it's for....
Do other developers make a kernel that works with Untouched and AlmostVanilla ROMs that supports MultiROM?
What's the advantage of including MultiROM support with this ROM vice flashing another kernel (other than the extra flashing step)?
Click to expand...
Click to collapse
Just for information :
http://forum.xda-developers.com/google-nexus-5/orig-development/mod-multirom-v24-t2571011
EX, Blue spark, Franco and may be others...
Just to have a stock AOSP kernel up to date.
At this time, I use EX because I need a kernel with k-exec patch and up to date.
But a stock kernel (with patch) is enough.
Anyway, it's not a priority at all.
---------- Post added at 08:32 AM ---------- Previous post was at 08:31 AM ----------
androcraze said:
OK, I'll see what I can do. A screenshot of what? Apps? Desktop? What items do you think will visually give more info about this ROM?
Click to expand...
Click to collapse
Take the screenshots of Untouched
And your paint shoped screenshots for System tuner are uglyyyyyy
BreckZeBoulay said:
Just for information :
http://forum.xda-developers.com/google-nexus-5/orig-development/mod-multirom-v24-t2571011
EX, Blue spark, Franco and may be others...
Just to have a stock AOSP kernel up to date.
At this time, I use EX because I need a kernel with k-exec patch and up to date.
But a stock kernel (with patch) is enough.
Anyway, it's not a priority at all.
---------- Post added at 08:32 AM ---------- Previous post was at 08:31 AM ----------
Take the screenshots of Untouched
And your paint shoped screenshots for System tuner are uglyyyyyy
Click to expand...
Click to collapse
I'll take a look at the MultiROM patch. If it won't affect users in any way (other than the ability to use MultiROM), then it might be worthwhile.
I like my paint-shopped images; they convey the exact message that I wanted them to I was actually more worried about the file size and image dimensions than artistry. I'll have to make newer ones when I get a chance.
I'll get some better screen shots.
androcraze said:
I'll get some better screen shots.
Click to expand...
Click to collapse
Because you are my friend of AOSP :
https://drive.google.com/file/d/0B02Btet3um2pd0tleDgyWjZ4T00/view?usp=sharing
(if you are interested )
Tell me when I can remove it.
BreckZeBoulay said:
Because you are my friend of AOSP :
https://drive.google.com/file/d/0B02Btet3um2pd0tleDgyWjZ4T00/view?usp=sharing
(if you are interested )
Tell me when I can remove it.
Click to expand...
Click to collapse
Got 'em!
Yeah, they look a LITTLE better.... Not that home-made, I-was-busy-so-I-had-my-kid-make-them feel, but I'll struggle with them.
Thanks
pls add screenshots.
tiixman said:
pls add screenshots.
Click to expand...
Click to collapse
Will do this evening. @BreckZeBoulay was kind enough to help with creating them. I just need some time back at my desktop to play.
Today's Material Icon Day!
Yes, I have some screenshots included.
Added a new build with Material icons for Dialer, Calendar, QuickSearchBox, Music, and Gallery.
What do you think?
Man, you should've mentioned your ROM restores the stock system recovery...

Remove system apps (gapps / capps)

I have 3 apps called "calendar" that do the same thing.
Code:
com.boxer.calendar
com.boxer.email
com.google.android.calendar
none appear in apps. How can these be removed (or at least hidden from the apps drawer)?
I never even use Boxer. I'm running CM 12.1
Check /system/app, it is usually located and installed there. If you found it, just delete the folder and the app will be gone.

[Guide] Install ANY CUSTOM FONT! - Works in One UI 4.1 and older versions.

In this updated guide I'm gonna show you how to install any custom fonts you like in your Samsung Galaxy device WITHOUT ROOT. It works in all One UI (Android) versions; even in One UI 4.1!
ALL CREDITS TO @sathishtony 's #mono_ app and @__TrungDK__ 's method!
• #mono_ version 2.1 [NO-ROOT] ➜ https://forum.xda-developers.com/t/...v2-1-for-samsung-oneui-1-2-3-no-root.4195613/
• __TrungDK__'s thread ➜ https://forum.xda-developers.com/t/...r-android-10-oneui-2-5-samsung-phone.4203153/
Video tutorial:
Steps to follow (updated in 2021):
1. Make sure you are signed in into your Samsung Account.
2. Download and install #mono_ v2.1.
3. Launch #mono_ and allow the permissions it asks.
4. Install Samsung Sans through the #mono_ app.
5. Change your device's font to Samsung Sans.
6. At your phone's Settings, go to "Accounts and backup" and then to "Back up data" under Samsung Cloud.
──
6.5. If you can't find the Back up/Restore options due to carriers hiding them:
I. Download Activity Launcher from the Play Store.
II. In the search field you type "Cloud".
III. In the Samsung Cloud submenu you will find the Back up/Restore options.
──
7. Select only "Settings" and back them up.
8. Move your custom fonts to the "ttf" subfolder inside the "monofonts" folder (Internal Storage►monofonts►ttf).
8.5. If your font is not a ".ttf" font, then you may convert it using any online tool.
9. Go back to #mono_ and tap on "Load TTF". Select the font you want to change to.
10. Under the "Load TTF" button, tap on "Install". Uninstall Samsung Sans.
11. Tap again on the same "Install" button. Install the "fake" Samsung Sans.
12. At your phone's Settings, go to "Accounts and backup" and then to "Restore data" under Samsung Cloud.
13. Select only "Settings" and restore it. Don't delete the backup.
14. Android will be tricked into thinking that it's applying again Samsung Sans but it will actually apply your custom font!
15. You may repeat this process from step 8 or 9, for every other font, now.
Useful links:
• Create a Samsung Account ➜ https://account.samsung.com/
• Activity Launcher ➜ https://play.google.com/store/apps/details?id=de.szalkowski.activitylauncher
• Google Sans font ➜ https://github.com/sahibjotsaggu/Google-Sans-Fonts
• (EXTRA) SamsungOne font ➜ https://github.com/SamsungInternet/OneUI-Web/tree/master/oui-css/fonts
• (EXTRA) San Francisco (iOS) font: ➜ https://github.com/AppleDesignResources/SanFranciscoFont
• Older zFont 3 Method ➜
I hope it helps you!
Nice
Monofonts are gone from zfont. Not seeing circle rounded anywhere
Doesnt work with one ui 4
It change font in system and entire apps like facebook, insta... Can it just change system font and apps use its own?
luca_suarez said:
It change font in system and entire apps like facebook, insta... Can it just change system font and apps use its own?
Click to expand...
Click to collapse
Unfortunately not. Apps use the system's font by default.

Categories

Resources