Remove All Ads from XDA

[ROM][LineageOS][Android 7.1.2][OMS7] TugaPower 37.0

4,339 posts
Thanks Meter: 8,461
Post Reply Email Thread
Announcement from danieldmm: CM14 build for bacon based on Android 7.0 aka Nougat
Build 2017/06/18 #OPO

TugaPower ROM G+

Telegram Group:

Telegram Channel:

#TugaPower N 37.0 LineageOS #laos #OnePlus #Android 7.1.2 #OMS7 #SubstratumRootLess

If you have some spare bucks consider donating, it will be really appreciated:

Please be sure you are using one TWRP that can handle firmware flash.
Also be sure you are using proper firmware. The one recomended its the one from cm 13 nighly, you can find here:

Relative to gapps, testing open gapps 7.1 nano package, working without issues

Replaced built in OTA by OTA Updates app ( )
Replaced audiofx with Viper4Arise Deuteronomy 2.4 ( )
Disable manually AudioFX to hide the icon from drawer
Kcal Support ( use Color Control app to adjust colors )
Gello removed and replaced by latest TugaBrowser beta v55.x Stable ( built in OTA for the Browser ) ( blocks ads and protect privacy)
TugaBrowser ->
Call Record
Support out of the box to microG GmsCore ( )
No more need to make microG system app
Multi-ROM Support
Increase max chg current to 2000/500mA
kernel 3.4.113
Kernel permissive
PoGO: Gonna catch then all
Partial screenshot ( activate screenshot on power menu button and long press there to activate partial screenshot )
Full support to Substratum OMS7 RootLess
Powered by Magisk root v13.x and Magisk Manager 5.0.x beta versions

What does not works:

Let me know to add here

Change log:

Project name: android_device_oneplus_bacon
bacon: disable NfcF HCE

Project name: android
manifest: android-7.1.2_r8 -> android-7.1.2_r17

Project name: android_system_bt
bt: Disable AVRCP 1.6

Project name: android_system_core
libcutils: fix schedboost after 31f78ddf4ea2ab7963d873cb16db98e976346468

Project name: android_hardware_ril
ril: fix a memory leak.

Project name: android_hardware_ti_omap4
omap4: Correct disabling of dirty regions invalidation

Project name: android_vendor_cm
Add sensitive numbers for Israel.
sensitive_pn: Add sensitive phone numbers for Czech Republic
sensitive_pn: Add Canadian sensitive numbers
sensitive_pn: Add more numbers from the Netherlands
fix check_blacklist function to work on wiped /system partition
sensitive_pn: Add sensitive numbers for Serbia

Project name: android_device_qcom_common
power: Use the correct opcode for STOR_CLK_SCALE_DIS

Project name: android_frameworks_base
Aapt2: Fix png leak
Destroy Allocation right away on exception
SymbolComparator operator() is missing const
StatusBar: Catch OOM caused by third-party icons
Adopt lockscreen shortcut hint from AOSP
CaptivePortalLoginActivity correctly gets UserAgent
Prettify the captive portal sign-in activity
LocationTile: Behave like other tiles
Fix a use-of-uninitialized-value warning.
Check for spurious wake ups
Reduce hwui CPU time by using glDrawRangeElements
Stop holding mProxyLock while downloading PAC script data.
Format Japanese numbers using national format when in Japan.
NullPointerException: Attempt to invoke virtual method 'int android.os.Parcel.dataSize()' on a null object reference
SystemUI: allow user to dismiss a locked task by swiping it away manually
SystemUI: animate icon when locking a task
SystemUI: Support recents task locking
fingerprint: handle PerformanceStats NULL pointers
Optimised hwui rounded corners shader
Remove FastJNI optimization on AssetManager to avoid dead lock.
Fixed NPE in canAddMoreManagedProfiles
QS: Remove listeners only if added
SystemUI: Remove trailing whitespace on high_accuracy_description
StorageManager: Improve exception handling
Add support for page theme color to WebView and WebChromeClient.

Project name: android_external_chromium-webview
Update webviews

Project name: android_external_stagefright-plugins
ffmpeg-extractor: StageFright supports Opus files
Revert "FFmpegExtractor: Don't use our extractor when we agree with StageFright"

Project name: android_packages_services_Telephony
Fix Phone Service crash on MSIM devices as Guest user
VoicemailSettingsActivity: Fix some NPEs

Project name: android_packages_apps_WallpaperPicker
Fix bad wallpaper preview image format

Project name: android_packages_apps_Nfc
NfcNci: make T3T/Nfc-F HCE optional

Project name: android_packages_apps_Email
Adjust Email UnitTests to e353ae2ea19c9ea800d10b37e05de7b0ea1aeeb4

Project name: android_packages_apps_CarrierConfig
Remove TIM from non-roaming networks list of H3G IT
CarrierConfig: allow 3 ITA roaming

Project name: android_packages_apps_Snap
SnapdragonCamera: Fix ghosting when non-zsl in VGA/QVGA size
SnapdragonCamera: Fix live shot image stretch when recording is 4K
SnapdragonCamera: Fix photo reversed when enable selfie Mirror
SnapdragonCamera: Fix photo reversed when enable selfie Mirror
SnapdragonCamera: Fix preview in wrong size
SnapdragonCamera: Fix front camera preview flipped
SnapdragonCamera: Fix preview is flipped on 8996
SnapdragonCamera: Camera1 Selfie Mirror orientation check
SnapdragonCamera: Fix Camera1 force close when refocusing the picture.
SnapdragonCamera: Change video snapshot picture size logic
SnapdragonCamera: Avoid cancel AF shortly after trigger
SnapdragonCamera: Fix crash during UI stress test
SnapdragonCamera: Fix OutOfBoundsException in monkey test
SnapdragonCamera: Fix FC for NullPointerException
SnapdragonCamera: Reset zoom value when resuming
SnapdragonCamera: Fix capture with flash will get black image.
SnapdragonCamera: Fix FC cause by Null pointer
SnapdragonCamera: Make copy of location before altering timestamp
Snap: Sign with platform key
Add orientation correction for landscape devices
Snap: Simulate back button press when menu back button is pressed

Project name: android_packages_apps_CustomTiles
CustomTiles: Kill Battery Saver Tile

Project name: android_packages_apps_Settings
Revert "Settings: Fix internal storage summary for non-emulated storage"
Settings: Fix automatic hotspot turn off summary

Project name: android_packages_apps_Eleven
Eleven: Remove unused permission REAL_GET_TASKS

Project name: android_packages_apps_AudioFX
AudioFX: Sign with platform key

Project name: android_packages_apps_Bluetooth
BluetoothOppTransferActivity: fix after ad46f6a52d7240ed1e2127c4263a5cbcf454df09

Project name: android_packages_apps_Terminal
Terminal: Fix keyboard Ctrl- and ALT-key input.

Project name: android_packages_apps_Gallery2
Gallery2: support GIF animation
Increase the size of the tiles when decoding images

Thanks all for the support.


MD5: 4cc9eb44745b4b0e7c2ee307ad76659c

Please dont mirror for now the roms zips, thanks

Sources :
The Following 259 Users Say Thank You to danieldmm For This Useful Post: [ View ] Gift danieldmm Ad-Free
16th September 2016, 09:56 PM |#2  
mustang_ssc's Avatar
Senior Member
Flag Mars
Thanks Meter: 397
Yeah, downloading. Android 2.3 GingerBread, i was waiting so many time for this, thanks!


Installed and booted. First impression: this is not 2.3 GingerBread, i've been tricked by daniel.

Alright, in case some people want to know some first impressions:

Everything is working fine, even the backlight hardkeys.
It has some features like CM13: livedisplay, privacy guard, in-root working, custom action buttons and some other stuffs.

You can directly flash the rom with the gapps and it will not show any error (tested with opengapps nano 09/17/2016). Also flashed viper4andoid with no problem.
Adaway working with no need to install busybox.
A bug i found is that i cannot change the custom battery icon from the CM options.

To be the first build it's really great. The only things i miss are CM Theme manager and KCAL control but i'll be patient to see them in futures updates.

Thanks for the work daniel.


With the purpose to clarify some possbile doubts i'm going to say what you need to do to get KCAL color control, Multirom support and themes. This might be useless in future updates.

Although it's not recommended so it can affect the stability and perfomance of the rom, if you are desesperate (like me) to get this features you can follow this steps. Do not report bugs to daniel related to kernel, storage, interface or FCs that could be related to the following steps if you follow them, you're using mods unrelated to the rom.

-For KCAL color control you need to flash a custom kernel compatible. I've tested Radioactive kernel and works with no problem. I repeat: This is not recommended because might cause incompatibilities, but just in case you want to get KCAL and other features related to kernel you can do it at your own risk to bugs.

-For flash it as secondary rom with multirom follow the steps from @venky716 and give him thanks:

Edit: KCAL control and MultiROM support already implemented.

-For themes i installed substratum. What you can do and what you can't do: You can use the theme manager with user apps like whatsapp, kernel adiutor, twitter, etc but if any change is implemented in system components you could get a boot-loop. I didn't tested system apps but i would not recommend it.
The Following 26 Users Say Thank You to mustang_ssc For This Useful Post: [ View ] Gift mustang_ssc Ad-Free
16th September 2016, 10:03 PM |#3  
jlobo912's Avatar
Junior Member
Flag Setúbal
Thanks Meter: 4
Good job Daniel. Downloading now.
16th September 2016, 10:03 PM |#4  
Okeys's Avatar
Senior Member
Flag Moscow
Thanks Meter: 430
Donate to Me
Best ROM ever.
Very cool.

Sent from my A0001 using XDA-Developers mobile app
16th September 2016, 10:05 PM |#5  
Junior Member
Thanks Meter: 0
Thank you very much for this build and your hard work. I'll give it a try.

Sent from my A0001 using XDA-Developers mobile app
16th September 2016, 10:10 PM |#6  
Senior Member
Thanks Meter: 31
CM kernel?

Sent from my A0001 using Tapatalk
The Following User Says Thank You to TheNerd For This Useful Post: [ View ] Gift TheNerd Ad-Free
16th September 2016, 10:14 PM |#7  
eimantasq's Avatar
Junior Member
Thanks Meter: 4
Thanks for work! Did NFC working?

Sent from my A0001 using XDA-Developers mobile app
The Following User Says Thank You to eimantasq For This Useful Post: [ View ] Gift eimantasq Ad-Free
16th September 2016, 10:28 PM |#8  
dasti555's Avatar
Senior Member
Thanks Meter: 78
Donate to Me
This is amazing. Sorry to say but I didn't liked your 6.0 builds. Don't know why. But definetly I'm going to try this out.

Any suggestion? Should I be F2FS or EXT4?

How I can login into your browser?
16th September 2016, 10:38 PM |#9  
Senior Member
Flag Aberdeen
Thanks Meter: 30
Another Android 7 ROM for OPO by a great dev! Thank you for your work! Will try it soon!
The Following 2 Users Say Thank You to Georgi_Ko For This Useful Post: [ View ] Gift Georgi_Ko Ad-Free
16th September 2016, 10:43 PM |#10  
Thanks Meter: 24
thnx for effort
The Following User Says Thank You to auerbach For This Useful Post: [ View ] Gift auerbach Ad-Free
16th September 2016, 10:55 PM |#11  
Senior Member
Thanks Meter: 19
downloading now...
thanks for building this rom...
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes