yashsingh1/xdaforums huggingface dataset:
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Normal apps like Google Play Music you can remove with usual ways - those apps are just system apps because preinstalled.

But Viper/Dolby-Atmos ist not a part of the firmware and not only an "app" - it is much more. To work it must modify a lot of things otherwise it would not work. Thats why you cannot remove it without errors - but with my zip. I have implemeted - and I can remove.

May in 45 min I send the patches.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
For those who dont want - or have problems with Dolby - Removal Tool

I made a zip just for flashing in TWRP for complete removing Dolby ViPER|Atmos™ 5.5 Sony™ Beats™ from Gratitude 4.1.

After flashing you must Wipe Dalvik and Cache

. Reboot feels like 15-20 min. After Reboot everything work fine without Dolby.

Just for those people who dont like - or dont need it - or have any issues with Dolby.

Download:

https://www.androidfilehost.com/?fid=529152257862667208
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you use Dolby - here is DolbyFix 2 - if you have DolbyFix1 already installed

DolbyFix1 solved issues with Phonecalls of almost net call apps with the exception of iTel.

DolbyFix2 should solve issues with the rest of NetCall Apps, hopefuly -

but this Fix can only be installed, if you have already DolbyFix1 installed!

Download: https://www.androidfilehost.com/?fid=385035244224384396

[MENTION=7384465]herald1368[/MENTION] - Would you please test, if it works now also with iTel (but first you must install Fix1 - you must not reboot, you can install Fix2 directly after, but make a Wipe of Dalvik and Cache before Reboot - Reboot needs may 15 min)... Thanks :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
I did as follows:-

I was in stock rom. First of all, I flash “Gratitude-V4.1_Tecalote” wipe and reboot. Then I flash “DolbyFix-Gratitude4.1” wipe and reboot. Finally I flash these two zip “DolbyFix1-Remove-Dolby-Grat.4.1” and “DolbyFix2-NetCall-Grat.4.1” wipe and reboot. After that I made a test call on Bluebery Dialer (net call) and found ok. Again I made a test call on iTelMobile Dialer (net call) and other person can hear me now. I hope it will be continue working fine. Thanks for the fix, great job.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
Now I did a backup with TWRP. I don't need some apps, Chrome, Google, MD5 Checker, Theme Editor, Titanium Backup, Turbo Editor, Root Browser. I want to get some space by uninstalling these apps. Please advise.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The simplest way is - install Link2SD (you can uninstall the app after) Open it, grant root permissions. You see a list with all installed apps. Just tap long on one app you get a menu, use: uninstall.

If one app is already updated it goes back to the factory installed one. After reboot uninstall this app once more and it is deleted.

If the app isn't updated you do this step just one time.

But be careful and don't uninstall apps you don't know for what they are.

But all the apps you mentioned can uninstalled that way.

Easy.

There's another method with manually deleting, but I would recommend for you do it like I said. After you can uninstall Link2SD.

There are also other apps for this job in Playstore "Systemapp Remover"...
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
I uninstalled many system apps but I didn't get mare space in internal storage. After flashing your rom, internal storage is about 9.40 GB, then I removed many apps by Link2SD and I did a factory reset, but the internal storage is still 9.40 GB. Please advise.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi :) The clean installation of Gratitude is about 2,3 GB not more! The correctly way to install is: Backup your Apps including data with Huawei Databackup and Titanium Backup on your external SD. After go to TWRP to the Wipe Tab, use Advanced. Wipe Dalvik, Cache, Data, and System. After the clean installation should be about 2,3 GB. After you can restore your Apps.

If not - there are folders on your internal memory from previous Roms/Apps/Firmwares..

What you can do is following:

Check every folder on your internal memory. Some folders must be there (see screenshots), but you can look in DCIM if there are stored pictures, or in music.. Move it to external SD.

May there are additional folders from apps you don't use anymore. These can be deleted.

Mostly there are folders from Chat Apps which store there the history including photos, videos...

If you delete them, the history is gone. There's another way with Xposed Framework Module XInternalSD to store them instead on the external SD - as soon I have time I make a Thread how to do it.

Also you can look in Android/data (apps need this folder) but if there are any you don't use (from previous installations) you can delete.

If there is nothing necessary on your internal memory you need (folder from WhatsApp or other Chat Apps) you can do with TWRP a Wipe (Advanced) of internal memory (if the Rom is already installed - not directly before flashing the Rom)

After your internal memory should be clean. But in this case TWRP loose his Settings. You have to reboot after wiping internal SD not system but Recovery. TWRP ask you if you want allow Modification of system. Swype to confirm yes. And setup in TWRP settings Vibration, Time Zone, Screen Timeout, lighting...

Edit: Maybe you stored your TWRP Nandroid Backups on internal Memory. For making these Backups in TWRP select storage and choose external SD. If you maked already some in internal memory you can move it to external SD (same path: /storage/IDSD-XXXX/TWRP/BACKUPS/YourSerialNumber/NameFromBackup) But don't delete the file .twrps in the TWRP folder of internal Memory (cause settings stored in this file)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
Thank you for your advice. Huawei backup can be done in a rooted device? And Titanium backup, I have yet to do it. Before doing, I want to inform you that my device is GRA-UL00, which is 16 GB internal memory as per specs, but it comes out of the box with 10 GB available memory. And I also want to know from you, how much internal memory should be available after a clean installation of your rom (Gratitude-V4.1_Tecalote).

I checked thoroughly internal memory but didn't find any file or data. I am not using Whatsapp or any chat apps. I am using only netcall apps.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
GRA-L09 has the same internal memory. The clean installation uses 2,2 GB and about 7,8 should be available!!

Please read again what I have written.

You must use a root explorer which shows you also hidden files. I believe you stored some TWRP Backups on internal memory instead external, but I wrote everything one post before.

Yes and Huawei Backup work on a rooted device
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
I read all your post and comments. I made TWRP in external SD card, not in internal memory. I found a folder by root explorer "dalvik-cache" in internal memory. Please see the screenshots. Can I delete all these files?

Regarding backup, should I make backup both Huawei & Titanium? or any one of them?

If all the above don't work, I want to flash your rom again with clean installation, please advise how to go through. Thanks.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Your Screenshots says 1,44 GB used and 9,04 GB free space.

Don't delete folders you are not know for what they are. Don't delete dalvik-cache folder.

In Post #87 I told already how do clean install.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
I will do a clean installation later on, because it takes time. My phone is working fine, the only drawback for me is how to get more space in the phone.

I experienced something: While I was uninstalling system apps. After uninstalling "Android System Web View, "Google Play Store was not working/opening, and after uninstalling stock email app, I was unable to backup/restore contacts (although contacts backup/restore can be done by other way), finally I keep these two apps. Thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] fpippo1999:
1. There is a method to change bootanimation? i don't like the stars and space :D :p

2. Why Whatsapp notification don't arrive? Only when I open the app
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Hucast_DL:
Man thanks for ur help... Update succesfull
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Hucast_DL:
[MENTION=7006696]fpippo1999[/MENTION]

You can change manually in this Rom the boot and the shutdown animation it is in system/etc/media... Give the correct permission to the New animation rw-r--r-- and thats all.

With Whatsapp i have the same question...
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
WhatsApp, Viber, and other Chat-Apps gets the Push-Notifications if you do the following (I wrote in the OP)

1) Make first a Google Drive Backup inside the App (Settings, Chat-Backup)

2) Install Link2SD (Titanium Backup also works)

3) Go to Settings / Apps / WhatsApp (for example) inside check: permissions, notifications, Akku: protected apps and set up, what is necessary.

4) The App must be closed in background

5) Convert the app into a system-app: start up Link2SD, long klick to WhatsApp - in the shown menu choose: convert to systemapp.

6) Make a Reboot. Start WhatsApp. It requires a new authentication.

7) After it ask you to restore your Chat-Backup from Google Drive, yes...

8) Now you get Messages, Calls if the App is closed.

This issue is in all Gratitude Versions cause the aggressive Powermanagement in Huaweis Android 6.0.

Take a look into Phonemanager. Open System-optimize and in there settings. Deactivate "automatically clean up and everything inside this, except" mobile data always on in sleeping mode (mobile data should be always on, also in network settings and in developer options)

Note: Dont use System-optimize in Phonemanager for cleaning up (it deletes your TWRP Backups and much more)

In Phonemanager also go to Settings and deactivate "smart tune up"
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Hucast_DL:
[MENTION=6870018]Tecalote[/MENTION] Done and it works perfect... Tnks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
Where is this HRT-TWRP.img?

---------- Post added at 12:39 PM ---------- Previous post was at 12:34 PM ----------

:D It seems that we should have more than one phones for different uses :confused: many limitations in android phone

for calling - one phone

for social network - one phone

for gaming - one phone

for browsing - one phone

and so on.....

:crying:
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
HRT (Huawei Rom Team) TWRP is linked now in the OP :)

I forgot to do this, thanks for remembering me

TWRP 3.0.2.0 : https://www.androidfilehost.com/?fid=385035244224383898
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] 00471:
Hello Tecalote, any news about your new rom (B380)? thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello, I had no time to work with this firmware leak, only for rooting issues. I make this time a Rom for the P9.. Job, Family... Maybe Huawei release an official Firmware, if not as soon I have time I will work on b380.

Gesendet von meinem GRACE mit Hilfe von Xposed Modules
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] 00471:
Thanks for your reply and good luck, hope you wont forget about P8 when you are now working on P9
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Don't worry, I stay working on P8, because its my device :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] 00471:
awesome! thank you for your work
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] 00471:
Hello again, i was thinking, before i got P8 i used to use http://xdaforums.com/android/software/mod-beatsaudio-e-xloud-installer-t3029951 on my old phone with cyanogenmod and it was awesome, is possible to make it work on p8? i tried it like half year ago and i consider that i just wont work back then, maybe now it could be possible with your knowledge.. thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi, thank you for your information - I will see what can be done to get it maybe working on the p8 :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
Removal of Huawei-Swype-Keyboard

I flashed "Removal-Tool for Huawei-ID and HiCloud" in a rooted p8 with stock ROM and it worked. How can I remove "Huawei-Swype-Keyboard" from a rooted stock ROM? if yes, please advise.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I make a zip for flashing tomorrow, today I am not at home. But you must have another keyboard installed before removing H.. Swype
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
Google Keyboard already installed. I like TouchPal keyboard, but not yet installed. Waiting for the zip. Thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] 00471:
thank you, your support for this rom is awesome
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I have experimentated with whitelist for Multiwindow Mode.... It is not problem to include it in the next Rom (I can also make a zip to include it in currentRom) - but I must expand this list (much work). I can expand it with all the missing stock Huawei apps in the list and with all the apps I have installed. Problem is, the list could never be complete - cause there are millions of apps and every app, which should work in Dualwindow-Mode must be written in the whitelist with package name. Package names for all the apps I use is no problem....

Anyway, I will include a more expanded list.

Also I will include the Multiple User Interface in Settings (to enable more than one user on the phone). I am still working to develope the Rom for future versions. :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello, the zip for uninstall Huawei-Swype-Keyboard is ready - information for other users: another keyboard like Google-Keyboard must be installed before removing -

Download: https://www.androidfilehost.com/?fid=385035244224392930

Just flash in TWRP

Have a nice day :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
Removal-Tool for Huawei-Swype-Keyboard

It worked, but didn't get much space in the internal memory. I want to add that a keyboard must be installed other than google keyboard before flash. if google keyboard is installed, huawei swype does not remove.

Thanks for the zip file

---------- Post added at 05:08 PM ---------- Previous post was at 04:58 PM ----------

Can you fix Push-Notifications for WhatsApp and other chat apps with a flashable zip without converting to system app? My comment is that if we keep an app running in the background, it will take more memory and battery.

Hope you will look in to the matter in this current rom and future updates.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nikkiscores:
Tecalote, thank you for the awesome ROM!

Is there any way to enable expanded notifications by default? I couldn't find anything in the settings or kang tools, tried the XNotifications Xposed module, which didn't seem to have any effects... I miss expanded notifications!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello, my test situation with removing Huawei Swype Keyboard was: Huawei Keyboard installed and activated - Google Keyboard installed but not activated.

I flashed the zip, Huawei Keyboard was removed and Google Keyboard was activated.

Huawei Keyboard has only 200 MB, it makes not much more free space.

I have installed Xposed Framework and the module XInternalSD. All my folders of chat apps with media like video and pictures I can store that way on the external SD and not in internal memory. That saves a lot of place. But for beginners its a little bit difficult to handle, because it needs the knowledge how to do it right.

For the Push-Notifications is no fix yet. If you have for example WhatsApp installed on a stock Rom, it must be activated as protected app (means it would not be closed, if you close the app) Otherwise WhatsApp would not get Push Notification in Marschmallow Stock Rom.

In Gratitude you must convert it to a system app (means it goes to sleep if you close it - but the instance for getting notifications is always on). This uses less battery than in stock configuration.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you go to Settings, Apps, in there to notifications - you can select, how the app should show the notification.

In Phonemanager is also the notification manager...

And in Settings, Notification and Statusbar you can activate to get notifications on the lockscreen.

What do you mean with "expanded notifications"?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nikkiscores:
In MM by default, the first notification is expanded, and others are collapsed. For example, a new gmail message arrives, followed by a hangouts message. In notifications pull-down, the gmail notification will have 3 lines, showing me the sender, the subject and the first few words of the email, plus the delete/reply buttons. But the hangouts notification will only show the sender. I can expand the hangouts notification manually to show 3 lines plus the reply button.

What I am looking for is to have every notification show up expanded to 3 lines by default.

There are a couple of xposed modules that I've used on stock marshmallow to accomplish it, XNotifications and GravityBox, but these don't work on the P8.

Any ideas would be very appreciated!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nikkiscores:
Hi,

I just discovered that I have the sound bug when using Hangouts audio/video chat, Duo, and Google Voice (but not Skype). I applied the patches from OP, however the issue persists: I can hear the other party, but they cannot hear me. I reapplied the patches (the first time I rebooted between flashing each, the second time I did not). No change.

Possibly related: I also discovered that I may not be able to wipe dalvik/cache from TWRP, possibly because my phone is encrypted. When I try it in TWRP, it fails to mount several partitions, but goes through the motions, and acts as if it was successful after about 2 minutes. However, when I restart, the reboot only takes less than a minute, and doesn't go through the "optimising apps" stage.

I tried to wipe cache via adb through Win10, which just gives me "permission denied".

Under Slackware14.1, I go via adb shell to execute the following:

su rm -r /data/dalvik-cache
su rm -r /cache/dalvik-cache

it seems to execute successfully, but, again, the reboot is normal, no change, the other party still can't hear me in Hangouts or Duo.

I also tried "clear cache for user & system apps" in Titanium Backup, the only change I noticed was the removal of custom wallpaper.

I would be comfortable removing dolby/viper to get VoIP working properly and consistently, but if I can't clear cache I guess it may not do any good?

So, my questions for Tecalote or anyone else who has had a similar experience are:

1. is the fix from OP confirmed to work for Hangouts and/or Duo?

2. how can I confirm that I am indeed wiping cache?

3. is there a custom recovery I can apply that supports encryption, since it seems that TWRP does not?

I would be super grateful for a solution, this is really driving me insane!

TIA!!!

-Nikki
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi [MENTION=7628871]nikkiscores[/MENTION]

The fix for dolby should also work for Hangouts, Duo and every app for netcalls. I have made both zips (Fix1+Fix2) now in one zip (see OP).

It is really a problem that wipe of dalvik and cache dont work with your encrypted phone.

TWRP does not support encryption with the linked Version 3.0.2.0. The official TWRP Site has no 3.0.2.0 yet, only 2.8.7.1 which dont work with marshmallow. I am searching for a good TWRP which support encryption and I am connected with responsible persons.

Did you try the other TWRPs?

Can you make Nandroid Backups on external SD?

You can try to flash my zip for removing Dolby - it should work maybe without wipe of dalvik and cache. Because the zip delete all files of dolby and restore the libs and everything without dolby.

And Gratitude 4.0 (not 4.1) should also work without such problems. Gratitude 4 use the Stock Edition for Dolby, which is more compatible.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello, I understand what you mean - at the moment I have no idea how to manage this. But I dont forget and let you know if I find the trick.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nikkiscores:
[MENTION=6870018]Tecalote[/MENTION], thank you for your response!

I haven't yet, can you recommend some to try?

Nope, I suspect it's the same encryption problem. I've used Titanium Backup to make a full backup as a flashable update.zip file (though I haven't tried restoring it yet, should work in theory!), but I would really prefer a nandroid solution. I'm still playing around with pulling the raw block via adb - have to repartition my hdd.

I've uninstalled Dolby for now, which solved the immediate problem of VoIP, despite not clearing cache.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
So it is good, that one problem is solved now :)

You can try TWRP from Jemmini: https://www.androidfilehost.com/?fid=24727376692773567

But I think it also can't handle the issue. If you try, delete before the folder of TWRP on your internal SD (which has the file .twrps). This file store the settings of TWRP. And if deleted it is better for flashing another TWRP. You make new settings, allow system modification.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] herald1368:
Removal-Tool for Huawei-Swype-Keyboard

I was browsing my p8 and found that Huawei-Swype-Keyboard is still exists for which I flashed your zip to remove it. I installed link2sd and noticed that Swype keyboard is frozen. What I did, I unfreeze it, flash the zip to remove it, but even after flashing the zip, it is still there. Further, I tried to unistall it by link2sd, but cannot be uninstalled.

?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
​

I will check what's happened and answer you later!
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] frecciak:
someone managed to pass safetynet with this rom? I tried to uninstall the root, but safetynet continues to block me ... I did these steps:

-Clean installation b370

-wipe all

-Flash your rom from twrp 3.0.2

-full unroot from supersu

-deleted ".installed_su_daemon" ( "99SuperSUDaemon" does not exist)

- install kernel "Kernel-for-Unroot-and-systemlessRoot.zip"

-flash unsu from twrp

but safetynet stops me everytime.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Hucast_DL:
Someone have problems activating the voice control?? With the preset word "null"... The Phone never get it
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello, try to say: "okay emy" and not "null" - if it dont work, I make a fix
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello - HW Swype is dependent from Google Keyboard - if HW Swype is active, so you can write sms with Huawei Keyboard, my previous zip remove it. But you tried to remove it before my zip comes and have already another keyboard installed......

Please do following steps:

1) Reinstall Huawei Swype Keyboard with zip in TWRP: https://www.androidfilehost.com/?fid=385035244224387045 Use this zip, because it is an updated one.

2) Activate Swype Keyboard in Settings/expanded Settings/Language and Inputmethod, configure.... (see screenshot) Make a test with sms and be sure, Swype Keyboard is active for writing.

3) Flash new Remove zip - attached below.

Now Swype Keyboard is removed and Google Keyboard is reinstalled (updated). If you use another Keybord, you can deinstall Google Keyboard with Link2SD, but it is recomended to keep it, cause of the Language input. And it needs not so much place.