[Add-on][Tweaks/Mods/Apps]█ PIMP MYROM █ v2.1.2 {i9100 THREAD}[AROMA][WIP]
{
"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"
}
Firstly, I just want to say that this is not my creation, I take no credit, and I'm posting pretty much what it says on the original thread right here. If you wanna thank the devloper (Androguide.fr), follow the link below. I'm posting here so more i9100 aka Galaxy S2 owners can take a look.
Original thread: http://forum.xda-developers.com/showthread.php?p=32660318
UPDATE!! I'll post update changlogs here, if you dont feel like going to the original thread.
v2.1.2
- Fixed conflicting tweaks that caused bootloops and/or were breaking network on some devices
~ Please report if these kind of issues persist ~
- Made the package lighter by removing some unused left-over files from previous versions
v2.1.1
- Fixed missing chmod script which was preventing init.d scripts from running
- Possible fix for the apps that aren't installed properly on some devices
v2.1
Introducing a new tweaks selection screen : Pimp my Kernel
--> Tweak 6 of the most common CPU Governors : Ondemand//OndemandX//Interactive//SmartassV2//Lulzactive//Conservative
--> Tweak your default I/O Scheduler & Disable I/O Stats
--> Disable & Re-Enable VSync
--> Disable Normalized Sleeper // Gentle Fair Sleepers // New Fair Sleeper (just moved, was already there before)
-->Misc. Kernel Tweaks : Disable kernel error checking (already there before) // Sysctl kernel msgmin & msgmax tweak
Added an option to revert Adblocking
Fixed the issue where beats audio and walkman options would be displayed for gb roms when it shouldn't
Various bugfixes (a few swapped selections and unworking tweaks)
Removed the extra apps screen, this wasn't really matching the mainline of this project, since you can grab those apps from the market. Plus this makes the whole package lighter.
Switched to miui installer theme
v2.0
ø New Tweaks selection screen : Multitasking
==> Choose between :
4 levels of OOM Priorities
4 levels Minfree settings
2 levels of ZRAM compression
Tweak your kernel and dalvik cache to behave well and be stable on hard multitasking conditions
ø New Tweaks selection screen : Networks & Internet
==> Security tweaks :
Reinforce your TCP/IP Stacks to make them resist to SYN attacks which cause a DoS (Denial of Service) on your device. Now those lame-ass blackhat hackers won't harm you with this.
Block redirects : auto website redirections will be blocked
Block source-routing : source-routing can be used to hack into your device as it allows full tracing of packets.
==> Stability & Speed tweaks :
Increase the buffer and queue size of each tcp socket to give more stability on high broadband consumption conditions
Allow the system to re-use the Sockets on TIME-WAIT state. In clear time-wait causes memory-loading, memory-loading causes internet lagg, internet lagg sucks.
Various IPv4 protocol speed tweaking scripts using sysctl
DNS and ppp0 tweaks for faster name-resolution, which means faster connections to websites.
ø New Tweaks selection screen : GPS Configuration
==> Choose between 79 countries (and 5 continents) of gps.conf files: those files are essential for the accuracy and lock-speed of your device's gps. (Thanks to gangsterjoop for the files)
ø New Adblock file of over 200 000 hosts ! (100x more than before) (Thanks to BSDgeek_Jake for the host file) --> added to extra features screen
ø New init.d scripts :
Move Dalvik-cache to /cache to increase data storage
Bind-mount dalvik-cache to allow a device to boot without sdcard (useful for devices with damaged internal sdcard)
Touchscreen responsiveness improvement tweaks
ø New Enable/Disable features :
Disable and Re-Enable Android logger
Disable Gentle Fair Sleepers
Disable New Fair Sleepers
Disable Normalized Sleeper
ø Rewritten every single init.d script :
This allowed me to realize many of them were not working, so I added a lot of missing values, and fixed a countless number of errors, redundant values and typos. So there should be some big improvement on the effects of init.d tweaks.
I also set an order of execution of init.scripts to avoid conflicts.
ø Removed themes and S-Voice
The S-Voice flaw that allowed other devices to use it appears to be patched and it was heavy, and themes were heavy and not really useful, you can download a countless number of them for free on the market
ø Changed installer theme to Sense
I realized that the options subtitles were not readable with ics theme, so most of the tweaks effects explainations were hidden.
ø Pimp My Rom will now come in two versions :
One will include the latest version of Aroma (with touchscreen working out-of-the-box, but issues on some devices) and One using Aroma v2.51 (With touchscreen calibration, and this version appears to fix the weird texture/ghost-input/moving screen/vibration issues people have with some devices with aroma v2.56)
ø Major code clean-up, various bugfixes
Re-organized and cleaned-up both aroma-config and updater-script
Fixed the way the installation process input displays sections and sub-sections
Fixed some tweaks getting installed instead of others when they shouldn't, and some other bugs
Pimp my Rom is an aroma-installer based script that will allow you to choose between a plethora of nice tweaks, mods, apps, themes and features to add to your current rom.
YOU CHOOSE which options and tweaks to apply, all this with a nice touchscreen interface, even if you're not running a touchscreen recovery, thanks to Aroma.
You can now run this script on any Android Device !!! (GB/HC/ICS/JB)
PmR was originally created for the Galaxy tab 7.7 (p68xx), but it has now evolved into a universally usable script !
Lifehacker article : http://lifehacker.com/5949000/pimp-m...way-imaginable
Here's the list of the features that you can enable and disable at will (will be adding more and more over the time) :
Tweaks and Mods
Init.d Scripts :
- Faster internet browsing
- Better Battery consumption
- Miscellanous kernel tweaks
- Ondemand governor tweaks
- Dalvik VM tweaks
- Defragmentation of sqlite3 databases at each boot
- Disable android-logger
- Disable kernel Normalize Sleeper
- Use strict minfree handlers
- Flags blocks as non-rotational
- Enable data_writeback for ext4 partitions for better i/o
- Force GPU rendering on 2D operations
- Improve multitasking by tweaking system task-killer
- run Vacuum & Reindex at each boot to optimize sqlite
- Use Adblock hosts to block in-app advertising
- Improve External sdcard I/O performances
- Zipalign all apk at each boot
- Install Thunderbolt's s98system_tweaks
- Tweak CPU and GPU tuning values
- Tweak the behaviour of the Complete Fair Scheduler (cfs)
- Tweak TCP buffers for better internet speed
- Optimize all sqlite3 databases to increase speed of apps that use db
Build.prop Tweaks :
- Better jpg image quality
- Better camera recording quality
- Lock launcher in memory
- Battery savings
- Disable kernel error checking
- Dalvik VM tweaks
- Faster scrolling
- Better touch responsiveness
- Faster browsing and download speed
- Allow purgeable assets
- Reduce dialing time
- Misc 3G tweaks
- Deeper sleep
- Reduce black-screen time of proximity sensor after a call
- Smoother video streaming
- Faster wifi connect/disconnect
- Overall smoothness improvements
- Increase the size of VM heap
Enable/Disable Functionalities:
- Enable hardware video. acceleration
- Enable gpu UI rendering
- Enable HSUPA
- Enable JIT (Just In Time) Compiler for Dalvik vm
- Enable surface dithering
- Disable Boot-Animation
- Disable usage-data sending
- Disable volume buttons wake
- Disable adb notification icon
- Buttons backlight always enabled when screen on
- 16bit Transparency
Applications:
- Install an alternative launcher : Apex Launcher & Nova Launcher
- Install latest Solid Explorer
- Install Adobe Flash Player for JB
- Install Rom Toolbox Lite
- Install Script Manager
- Install Hulu+ hacked to work on any device (Both portrait & landscape version)
- Install Smart Stay EX
Add Features to your tab:
- Add support for OpenVPN connections
- Install Awesome Beats Audio dsp manager for a greater sound experience
- Install Adrenaline Boost Script
- Install Sony Walkman suite : Music Player & Visualizer, Clearbass soundfx and Image Gallery & Editor
- Install S-Voice, the famous app from Galaxy S3 hacked to work on any device
- Install Touchwiz UX Launcher & Widgets (Weather & Dialer) from SGS3 hacked to work on any device
Instructions:
You can flash this on top of any custom rom with init.d support
- Download Pimp My Rom (a.k.a PmR)
- Make sure you are running a custom recovery (CWM or TWRP)
- Wipe cache and dalvik cache in recovery
- Flash PmR in recovery
- A wonderful touchscreen interface will pop-up
(devices need different touchscreen calibration, if the touchscreen doesn't work, use the menu button of your device, select "Calibration Tools" and follow the instructions)
- Follow the on-screen instructions, make your choices between all the different features of Pimp my Rom
- Select "Reboot my device" on last screen (or reboot from recovery) and enjoy
- Encountering issues ? (Texture, installation being blank, etc...) then try to do this :
Open the zip of the rom you are running (the .zip file that you flash in recovery)
Inside this zip, navigate to : META-INF/com/google/android
Extract the file called "update-binary" and rename it to "update-binary-installer"
Open Pimp my Rom's zip (i.e : PIMP_MY_ROM-v1.4.1-Universal.zip)
Inside this zip, navigate to : META-INF/com/google/android and delete "updater-binary-installer"
Now copy the "update-binary-installer" file you extracted from your rom to Pimp My Rom's zip (still in META-INF/com/google/android)
Close the zip and flash it
DOWNLOADS:
>>>>>>2.1.2<<<<<<
Download :- http://goo.im/devs/Androguide/Pimp my Rom/HDPI/PIMP_MY_ROM-v2.1.2-by-Androguide.fr-HDPI.zip
md5 : 6d409bd4121c9055648a6c358311f2ae
Size : 32.41 mb
Please Post the Rom you are running for which PMR worked and i will add it here:
Cyanogenmod 10 with CM10 kernel
cMIUI 2.10.12 with DorimanX 7.1.
Paranoid Android 2.21 with DorimanX kernel
Jellybam
Alliance Rom
First thanks given by me to u .. lets see how this goes .
It's very nice Addon...my phone fell more FAST and no one FC or LAG...just 1 thing..Proximity Sensor...stop or start to work bad..in calls...when i aproach the phone to my ear..isn't turn off the screen...and when the call ends...the screen stay off for a while...but all other is GOOD...
did anyone try this on paranoid 2.18?
if so please let me know how its working
I hope to see this continually supported!
404 on original thread link mate
uppon2 said:
404 on original thread link mate
Click to expand...
Click to collapse
No the link is fine and thank you all for such a positive reply , I'm sure Androguide would be really happy.
Sent from my GT-I9003 using xda app-developers app
On mcm11's today's sysfs nightly version, it works but with the CM kernel. If you apply dorimanx kernel, it stops working. The device doesn't boot. First boot with the dorimanx kernel and this mod active works but from the second onwards it stops working. Just reporting.
Other than that the mod is great! Loads of tweaks and scripts to choose from currently using it on the cm10 kernel.
Sent from my S II ( "Jelly Bean'd Monster" )
Owsome i like all this tweak
Inviato dal mio GT-I9100 con Tapatalk 2
Works on paranoid android 2.21 with DorimanX kernel. :victory:
Sent from my S II ( "Jelly Bean'd Monster" )
Installed it on cMIUI 2.10.12 with DorimanX 7.1. The UpdateMe app gave me a FC instantly and won't open, but other than that no problems. It's working as it should be.
Will report after a few days of usage..
EDIT: After a day of usage, no FCs no problems at all. I don't know if it makes anything faster, but there are no problems so I will keep on using it.
Installed on JellyBam, everything seems okay now, will report later for any FC's.
Thanks
Working perfectly on a ported version of AllianceROM for the i777, using DreamKernel 2.7.5.
Thanks for bringing this tweak collection to our attention!
Sent from my i777
LOL rEALLY epic it look like 9999in1 zip xD
v 2.1.2 is out. Check out the link on the original thread. Will update this when I get home.
Sent from my GT-I9003 using xda app-developers app
This is awesome, thank you for sharing!
Well I know this is an old post but does this works with CM11?
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...
Android Q hidden settings enablerCreated by @kingbri
Disclaimer: I am not responsible if you flash this and make your phone into a brick, blow it up, create nuclear war, etc. You are flashing this at your own risk (However, it's very likely this won't happen)
This is a simple magisk module that adds a script to your /system/bin directory
What it does: Shows android Q hidden settings for well-known features (example: Dark mode)
Current features:
Android Q dark theme (system-wide and app-forced)
Navigation bar tweaks (Removed back button and new Q quick switching mechanism)
How to use:
ADB
Enter an adb shell
enter the command "qmod"
Follow the instructions
On-phone
open terminal emulator
su
enter the command "qmod"
follow the instructions
You can also use this without root!Just grab the script by running this command:
curl https://raw.githubusercontent.com/bdashore3/q_tweaks/q_master/system/bin/qmod > /sdcard/qmod
and follow the steps
Steps:
Push the file to /sdcard
Enter an adb shell
cd to sdcard
chmod 0777 qmod
type "sh qmod"
follow the script
Downloads: https://github.com/bdashore3/q_tweaks/tree/releases
If you want to ask questions, here's the contact group for my work: t.me/KingDevel
Credits: MishaalRahman (for getting all his journal posts), paphonb (for the debug_pixel launcher), and anyone else who figured out these tweaks/were behind-the-scenes for this stuff.
Please put any hidden android Q features that you find in here (With the code or it won't be accepted) or open an issue on github along with the code necessary to enable that feature.
mine again
Thanks, this is mine
I am confused, is this a Magisk module to Enable hidden features that already exist in Android Q or a module to add Android Q features to Pie?
firesword14 said:
I am confused, is this a Magisk module to Enable hidden features that already exist in Android Q or a module to add Android Q features to Pie?
Click to expand...
Click to collapse
This mod just turns my tutorials into scripts:
Source 1: https://www.xda-developers.com/android-q-navigation-gesture-controls/
Source 2: https://www.xda-developers.com/android-q-toggle-dark-theme/
Good on ya @kingbri does the trick ?.
MishaalRahman said:
This mod just turns my tutorials into scripts:
Source 1: https://www.xda-developers.com/android-q-navigation-gesture-controls/
Source 2: https://www.xda-developers.com/android-q-toggle-dark-theme/
Click to expand...
Click to collapse
** into A script **
Update! (v1.1)
Changelog (In github q_master branch under "Add v1.1 commit"):
-Fix dark theming command
-Add Lockscreen clock styles, Desktop mode, and chat bubbles as options
-Change option input to numerical format
-Make things easier to read
The downloads are located here: https://github.com/bdashore3/q_tweaks/tree/releases
To contact me on Telegram, I am located here: t.me/KingDevel
Update! (v1.3)
Changelog (In github releases branch under "Add v1.3 commit"):
-Add iphone-style gestures
-Fix some missing stuff
-Add more documentation
-Add keycheck and a few options in installer
(Circumvents system not mounting)
For iphone-style gestures: No other nav bar tweaks are allowed!
You need the back button. All documentation on how to enable
is in the script, nav-bar tweaks, option 3.
The downloads are located here: https://github.com/bdashore3/q_tweaks/tree/releases
To contact me on Telegram, I am located here: t.me/KingDevel
Additionally, if anyone sees a new news post before I do about android Q hidden features (there are new ones popping up everywhere), follow the 2nd post in the O.P. If @MishaalRahman can post an article about this, that will be great rather than making seperate magisk modules for everything
Deleted. Duplicate post
Update! (v1.4)
Changelog (In github q_master branch under "Add v1.3 commit"):
-Improve iphone-like gestures documentation
-Update github documentation to use a curl command
(Non-root)The new curl command is in the OP, just run it in a terminal
Please follow the non-root instructions in the OP
To contact me on Telegram, I am located here: t.me/KingDevel
kingbri said:
Update! (v1.4)
Changelog (In github q_master branch under "Add v1.3 commit"):
-Improve iphone-like gestures documentation
-Update github documentation to use a curl command
(Non-root)The new curl command is in the OP, just run it in a terminal
Please follow the non-root instructions in the OP
To contact me on Telegram, I am located here: t.me/KingDevel
Click to expand...
Click to collapse
Will this work on latest Beta 2 patch?
Zehlek said:
Will this work on latest Beta 2 patch?
Click to expand...
Click to collapse
For me it causes issues especially with pixel launcher
With Q beta 2 update, nope. Changes to launcher so dev options limited. Now I did find that using this link instructions I could get file permissions to revert back to Pie. the "sandbox memory, files protection" is turned off. File managers and app can then access just like before. Now I started with a complete wipe, Q beta 2 factory image, adb enabled, run script,. As warned resets phone, I then added my apps, data, pics through device to device transfer.
https://developer.android.com/preview/privacy/scoped-storage#test-behavior-change
adb shell sm set-isolated-storage off
adb shell getprop sys.isolated_storage_snapshot
should return with flag = false
Your mileage may vary, data may be lost..... bla, bla, bla. Lawnchair v2 alpha works great too!