yashsingh1/xdaforums huggingface dataset:
[Huawei GX8] dieterschran:
I did a dirty flash over the last build. The only thing i whipped was dalvik and catch before and after flashing the new build. And so far everything is okay except the battery issue (loading) and the sim card issue when I restart the rom.

Gesendet von meinem LG-D855 mit Tapatalk
[Huawei GX8] micnerd1:
and here is the right way / million thanks brother

---------- Post added at 08:46 PM ---------- Previous post was at 08:12 PM ----------

i still got the battery percent problem ... it stucks on whatever it was
[Huawei GX8] EarlyMon:
Not sure how that really works.

Others clean flashing had the issues and reboot didn't work.

That's the exact opposite of your experience.

Does your local md5 match what is on afh?
[Huawei GX8] surdu_petru:
Checked right now md5sum from my desktop build, and yes it's the same with the one from Downloads section !

The method described by me should be working good, I just tested twice , and sure you should flash also Gapps because /system wiped .. at least for me goes without issues :o

Also, Installations instructions was updated in order to fix all issues !

Good luck !
[Huawei GX8] micnerd1:
did all the way from the start just like your instruction and still have the battery percent problem
[Huawei GX8] surdu_petru:
Yep, battery cannot be solved with this method :o

I already find a fix for battery, just being tested - and if all will be ok , I'll upload a patch for flashing via TWRP !
[Huawei GX8] surdu_petru:
Fix battery issue on the last build (22/04/2016)

Fix for battery on the last update build 22/04/2016

Downloads :

* battery_fix.zip md5 : c0f3cdb0db364b5e2d77fe35b093ca77

Installations :

* flash via TWRP, no wipe required !

Sorry for the inconvenience, I'll be more careful next time :p
[Huawei GX8] EarlyMon:
The new boot.img screws up root if you're using SuperSU - reflash SuperSU from TWRP after this to fix.

This fixes the battery issue.

I had no issues from a dirty flash with status, notifications or quick settings - went back and did a clean flash as you suggested anyway. No difference on mine, so whatever went wrong for others with a clean system didn't go wrong for me. :confused:

Anyway thanks for the updates!
[Huawei GX8] surdu_petru:
Yep, thanks !

Battery drain too fast :confused:

Just checked right now on my device and also init.qcom.power.rc , and as I can see there is still a lot of issues , some files ( from qcom.power) are not prezent on my device ... I think I need to restart work into my kernel about cpufreq/governors because do not match qcom.power :(
[Huawei GX8] kimtyson:
[MENTION=2335078]surdu_petru[/MENTION]- thank you for your fast response to the issues. I'll try reinstalling using you instructions and then I'll report back.
[Huawei GX8] EarlyMon:
[MENTION=2335078]surdu_petru[/MENTION] same here, fast battery drain, trying ondemand as a workaround just because. :)
[Huawei GX8] dieterschran:
Battery fix worked for me. Battery is loding! I can't say anything about battery usage so far! Let's see ??and sorry for my bad english! And thank you very much for your great work!

Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk
[Huawei GX8] kimtyson:
This may help Surdu sort this out. Mincerd1 is correct. I did the same thing to test it.

When I wipe Dalvik\cache\data\system, and then only install the 0422 version (no gapps), things seem OK. I do get the notification shade, the ability to change to file transfer\PTP\Midi, and tiles (which I was not getting before).
[Huawei GX8] EarlyMon:
Started over and flashed -

- 20160409

-- removed keystore.qcom.so

- 20160422

- battery fix

- gapps

- SuperSU

Not recommended for anyone, looking over things to see if anything pops out.

Edit - nope. Regressing.
[Huawei GX8] micnerd1:
battery drain is not too fast when using ondemand but phone is pretty warm ! no idea about that .
[Huawei GX8] AndroidNewb666:
About the bugs, i tried to do the method you guys said but with no luck.

I just flashed 09 build with gapps and everything and just flashed day 22 build over it and flashed the battery fix and everything is running smoothly now.

Thanks for the work guys.
[Huawei GX8] surdu_petru:
Yep, you are right ... I already tried to install on clean the 22 build with gapps ( wiped all into TWRP apart Internal/External Storage) and still have issues about quick panel not show ... so, the right way is to update rom over 09 build !

Anyway a clean install should be also work, but it seems there is some issues related the last build 22 ... I'll check right now , maybe I can find a fix for the future updates :o
[Huawei GX8] AndroidNewb666:
One more thing , [MENTION=2335078]surdu_petru[/MENTION] have you done something to the theme APP? Im getting force closes when using it.

Edit1: phone APP is broken (at least here it is), force closes everytime

Edit2: nevermind, i have fixed it already ... Somehow it didnt have the proper permissions
[Huawei GX8] kimtyson:
I followed Surdu's instructions from post #254 but no joy. No tiles or ability to switch to File Transfer. Basically the same result I have been reporting. I'm happy to stay patient as Surdu reworks things. We're rooting for you, sir.

It seems the best method to get the most things working is to install 0409 with gapps, reboot, install 0422 and reboot.
[Huawei GX8] EarlyMon:
I just want to say publicly that in the big picture, you're doing a great service and working hard for everyone.

These wrinkles happen and we know that.

Don't hesitate to ask anyone here if we can pitch in - I think everyone here will be happy to help if possible! :)
[Huawei GX8] kimtyson:
Totally, what EM said. We really appreciate all your hard work and the great success along the way. (I've mashed that Thanks button as much as I am permitted, daily.) You're doing an awesome job. Great minds often take a step backward before making more progress forward. If we can help, just ask.
[Huawei GX8] surdu_petru:
Thank you very much for your appreciation :o

Today I re-downloaded Gapps from here ( the last version : 24 April 2016 , ARM64, 6.0, micro, Size: 151.14 MiB) and flashed along with 22 build ( wiped into TWRP : data, system, cache & dalvik-cache ) ! After device boot , there is no issues ... all seems to work like it should :o

Now I believe that all problems are related to older gapps ... so , gapps must be updated !
[Huawei GX8] EarlyMon:
It's entirely possible that is why I didn't see the status/notification issues others did whether I clean flashed or dirty flashed, my gapps are up to date (I prefer the aroma version but that's just personal choice).

And for those who don't know (I had to learn it lol) gapps won't install properly unless data are cleared first just as you said (I do a factory data reset from TWRP to clear cache, Dalvik and data).

I think you mentioned that even with a clean build, the 20160422 is missing some libraries, yes? So those problems must remain? With the clean 22 install and battery fix my CPUs were running near max all of the time even when just idling.

As you can see from an earlier post I also tried a dirty install and tried to deconflict the library difference by hand but it didn't seem to work right so I stopped.
[Huawei GX8] surdu_petru:
I thought so then, it would be a conflict between libraries, but I don't think that matters ... problems occurred once with the installation of older gapps !

About CPUs issues, yes you are right ... but I already managed to fix this ... you can check my kernel commits ! I'll start to upload right now a new kernel :o
[Huawei GX8] EarlyMon:
I'm working on two raw camera mods, a boot splash mod, TWRP expansion for two devices to support encrypted phones and adoptable storage backups, adding ntfs support for otg USB in TWRP, and testing possible bug fixes for Huawei.

So I'm going to go with having 100% faith in your commits on account of time (unless you're interested in another set of eyes there, let me know). :D
[Huawei GX8] surdu_petru:
Kernel update !

New kernel test !

There is a new kernel update in order to fix CPUs scaling frequency ... this should improve also battery performance !

Please, check this new kernel for a few days ( preferably load on default - do not modify parameters through third-party applications ) ... all your feedbacks are welcome !

Downloads :

* kernel_update_01.zip md5 : 961a4f783104a33f907505dfb2cb528e

Installations :

* like any other update, through TWRP

* wipe does not require

Best regards !
[Huawei GX8] EarlyMon:
[MENTION=2335078]surdu_petru[/MENTION] does the new kernel include the battery fix or do we flash both on clean install with 22?

Edit - OK nevermind, dumb question.

This replaces the whole boot image so it overwrites the battery fix.

Therefore it will overwrite SuperSU boot img changes so people using SuperSU will want to flash it again from TWRP after the kernel fix.
[Huawei GX8] surdu_petru:
I really wanted to ask you earlier , why SuperSU :D ... enable stock root is not enough ? Thanks !
[Huawei GX8] kimtyson:
Well that's a lot better!

Wiped cache\dalvik\data\system.

Installed 0422 ROM, 0424 Pico Open Gapps (64-bit), and SuperSu.

Reboot twice.

Observations:

1) The first CM Welcome screen (first boot screen) is different now.

2) Still no Flashlight tile.

I didn't flash the battery fix. And now I'm a little confused. Do I flash battery fix or just the updated kernel?

Thanks some more for your work Surdu. And the quick response to the latest issues. It must be maddening when Gapps causes issues.
[Huawei GX8] surdu_petru:
Also, I have not Flashlight tile !

Please, flash update kernel ... all fixes have been included here :o
[Huawei GX8] kimtyson:
I understand the flashlight tile issue is related to CM and Huawei camera, not your issue. Just reporting it.

I have flashed the new Kernel. Fingers crossed.
[Huawei GX8] EarlyMon:
Stock root from developer options is probably fine for a lot of people, su is su.

However - I have several phones, this is the only one running CM so I don't want to remember two different root environments, just use SuperSU everywhere.

And not enable root from developer options.

Plus I think that we all trust [MENTION=631273]Chainfire[/MENTION] so I also like the additional protections by way of the options that SuperSU gives - plus it's completely intelligent about working on a CM rom.

In our configuration, it does need to patch the boot image because it installs a systemless root.

Therefore - if someone is a SuperSU user with your rom, it *must* be flashed after any boot image update you provide.
[Huawei GX8] surdu_petru:
Thanks, I got it :o
[Huawei GX8] AndroidNewb666:
Is the performance affected by this kernel update?

Thanks in advance.
[Huawei GX8] surdu_petru:
Please, install and test for a few days ... then let me know ( theoretically should perform better ) .
[Huawei GX8] AndroidNewb666:
Will do, thanks [MENTION=2335078]surdu_petru[/MENTION]!
[Huawei GX8] micnerd1:
installed. will post results within 12 hours or less
[Huawei GX8] ilouieagcanas:
Thank you!

Thanks, surdu_petru! :D I just flashed CyanogenMod and what a great timing to have the kernel update. Yeah, it fixed the flashlight tile. Great work! Will help on observing this new update and hopefully we can give you significant feedback. Thanks again!
[Huawei GX8] krispin:
Thanks surdu_petru for hard work and support. Update is working great.
[Huawei GX8] spyne82:
Coul'd i flash the new Kernel over the Version from 9.4.16?:o
[Huawei GX8] iderf:
Hello. I'm in doubt. Actually, in original kernel RIO L01 Dual Sim.

Should I install new kernel, please ?

How to go back to the original kernel ?

THX.
[Huawei GX8] AndroidNewb666:
About the new kernel, there are definitely some improvements, battery drainage isn't that high anymore, it's nice to let your phone stay off the wall plug overnight and still have some battery to check morning notifications.

I'll be doing more accurate tests later on with screenshots and everything.

Thanks again [MENTION=2335078]surdu_petru[/MENTION]!
[Huawei GX8] micnerd1:
kernel update results (12 hrs on battery):

phone is a little colder

battery usage is pretty much better

still have the signal problem on LTE
[Huawei GX8] ilouieagcanas:
The flashlight tile is working for me until tonight. I'ts gone againafter I rebooted my phone.
[Huawei GX8] kimtyson:
The flashlight tile is not Surdu's issue. It is a problem related to CM and the Huawei camera libraries, as far as I understand. Maybe [MENTION=2682748]EarlyMon[/MENTION] will comment and clear it up some.
[Huawei GX8] EarlyMon:
All I can say is that it's hitting other Huawei phones running CM13-based roms as well. Probably related to the lack of Marshmallow kernel source from Huawei.
[Huawei GX8] EarlyMon:
[MENTION=2335078]surdu_petru[/MENTION]

Great job on the kernel fix, I think the interactive governor is much improved and I'm not seeing any issues on the build.

I'm still preferring ondemand but that's why we have choices, so people can match up the phone to their personal usage.

Screen on time is very good, sleep is excellent.

That 50% was with almost 4 hours SOT, WiFi only, screen at normal indoor brightness for me, streaming videos.
[Huawei GX8] AndroidNewb666:
Battery looks good, doing and intensive usage to test it out.

100% to "0%"without turning it off.

Playing games, music non stop and WiFi always on

Update : end of the test, 5hours SoT non stop, this isgreat

I have cleaned the stats before starting the test so the prediction might not be that accurate.

Looks awesome in my opinion though!
[Huawei GX8] daankets:
Incoming call in entry issue

A quick follow-up on the phone pick-up issue. Although I had several calls today where I could pick-up the phone just fine, I recently had another incoming call with the phone screen hidden behind the pin entry screen. And I've taken a picture of it ;)

[IMG="Photo of incoming call on G8"]https://lh3.googleusercontent.com/-NQPkPXnW6lw/Vx83cR6rgdI/AAAAAAAAAvU/rrYh35PfnMIGjFHeYXCQE-pSODNQ-CshwCL0B/w381-h690-no/IMG_1688.png[/IMG]

I'll try the new build this afternoon, hopefully, this issue won't return ;)
[Huawei GX8] Captain Danger:
What are you using for those status bar icons?
[Huawei GX8] AndroidNewb666:
This, I'm using this.

https://play.google.com/store/apps/details?id=com.zyxxeil.milos.ui
[Huawei GX8] EarlyMon:
Trying with virtual gyroscope off because I don't need it.

Results may be coincidental.
[Huawei GX8] surdu_petru:
As I can see , it seems that the battery issue was almost solved :o

Here is my screenshots after almost two days, without use my device, ( no SIM , because device wasn't used ) .
[Huawei GX8] EarlyMon:
I concur [MENTION=2335078]surdu_petru[/MENTION]

BTW - if anyone needs true HDR, the FreeDCam supports it properly - it takes multiple pictures in a single shot and then stitches them together correctly, you just push the button and it works.

Plus it's an excellent camera.

Check out "FreeDCam"

https://play.google.com/store/apps/details?id=troop.com.freedcam
[Huawei GX8] EarlyMon:
Snapshot of chickens without and with HDR. It's not something you want to use all of the time and it does add artifacts that purists won't like but if you have conflicting lighting and just want to make a picture there you go.
[Huawei GX8] ilouieagcanas:
I went back to stock ROM last night just to try the Marshmallow update. I was picked to be a beta tester. I got curious on what changed so I just went for it since I believed that I can easily get back on CyanogenMod. But after installing the udpate I can't seem to install TWRP. It appears to be installing. After installation I then reboot back to system. Then I boot to recovery but it's still the stock recovery. I think I've tried it 4 times and it's still not working. I think it has something to do with my stock ROM being a beta version because doing a manual boot to recovery is also not working even if I'm pressing the buttons for more than 10 seconds. Do you guys have any idea what could've happened?
[Huawei GX8] krispin:
I think its not a problem. I have been on that beta and went to CM with no problem. Maybe you have relocked boorloader. Check it.
[Huawei GX8] AndroidNewb666:
Were you able to root 6.0 marshmallow? (it's kinda important)

And also, if you want twrp try flashing the recovery.img through fastboot.
[Huawei GX8] daankets:
I had this as well. Make sure you boot without the USB cable attached, and keep pressing the power and volume up buttons until you see TWRP. If you connect USB, the stock recovery will always load...
[Huawei GX8] surdu_petru:
Hello !

Just fixed Flashlight tile on Quick Panel :o

This new update kernel include also all fixes about battery & CPUs scalling frequency !

Downloads :

* kernel_update_02.zip md5 : 75d4af5a0171a994af64e47998602fb0

Installations :

* like any other update, through TWRP

* wipe does not require

Best regards !
[Huawei GX8] Thangyorange:
No flashlight

I installed the new kernel. Flashlight tile is still grayed out when trying to add it. And it disappears when exiting edit mode. Also I can confirm I am having similar problems as a previous post. I'm having some weird problems with SwiftKey keyboard. It lags and doesn't pick up all my key strokes. It also deletes words if I type too fast. I suspect it is the app's gestures function but I can't tell if it's a touch screen/sensitivity problem or CM.

I just check in from time to time but I thought I'd chime in and leave some feedback to help. Thanks for working on CM. You are literally the reason I bought this phone. RIO-L03 latest nightly, all kernels and battery fixes flashed.
[Huawei GX8] EarlyMon:
Installed kernel 2, wiped cache and Dalvik, installed SuperSU.

No flashlight tile.

Removed from panel, added again, no tile.

Rebooting now to see if it changes...

Flashlight tile is there and working!

Thanks [MENTION=2335078]surdu_petru[/MENTION]!
[Huawei GX8] surdu_petru:
Installed cm-13.0 22 version and ONLY kernel_update_02 :

Screenshots :

So, at least for me is working well !
[Huawei GX8] EarlyMon:
I think on a dirty flash it's probably a good idea to try my suggestion - wipe cache and Dalvik, remove from panel and add it again and reboot.

Easy to imagine something tangled in the caches or something that you won't hit with a clean install.

And anyway, that's always a good way to go at the first sign of trouble, old installation or new - wipe cache and Dalvik, reboot a second time after it's done optimizing from the Dalvik wipe.

I never flash anything without wiping cache and Dalvik but that's just me.
[Huawei GX8] surdu_petru:
When I tested for the first time, I didn't wipe cache or dalvik-cache also I didn't removed flashlight tile from panel because wasn't there ... I was on 22 build with latest gapps and only I installed kernel_update_02 , after device booted , I was able to see/use flashlight tile on quick panel !
[Huawei GX8] EarlyMon:
OK so that ties in to my observation and idea -

You didn't have it there originally so you didn't have it there to get tangled up from the old configuration like I did.

Redbeard also mentioned to me that he's going to try to clear his by just a quick panel reset.

Again - different path to the same thing - if you already have it you'll have an error condition to clear and if you don't, you won't.

Wiping cache and Dalvik never hurts and is a good practice for any new flash because it removes guesswork by the user and puts everyone on the same, fresh page. If it's not really needed, you only lost the time you would take deciding if it's needed. ;) :)
[Huawei GX8] surdu_petru:
Yes, you are right here ... wiping Cache & Dalvik-cache are almost always welcome - there will never damage anything, in contrary can greatly help in some situations :o
[Huawei GX8] O-ROM:
Will be fixed in the next version fingerprint?
[Huawei GX8] kimtyson:
Probably not.

---------- Post added at 10:35 AM ---------- Previous post was at 10:34 AM ----------

-- Clean install of 0422 and latest opengapps. --

Reset Default layout, cleared cache & dalvik and reboot. No flashlight tile.

Installed kernel v2, cleared cache & dalvik and reboot. No flashlight tile.

Reset Default layout. No flashlight tile.

Reboot again. Viola! Working flashlight tile.

---------- Post added at 10:42 AM ---------- Previous post was at 10:35 AM ----------

Thank you, sir. This was not a priority but it sure is nice to have.

I used the latest version (with kernel 1 and latest Opengapps) all day yesterday with no new issues at all. Battery is much better. WiFi hotspot works. BT & camera working well. I'll continue to test but thank you for all your efforts. A wonderful job so far!
[Huawei GX8] lordxxxxx:
Ramdom reboots

I installed last build, flashed last kernel update 2, fixed the single sim issue, but i got phone has stopped error, and i got some ramdom reboots, i dont know whats happening, i love cm cause phone got faster, but i hate this ramdom reboots, i have wiped cache davilk, still im unlucky, im on RIO L03 Single sim
[Huawei GX8] Grovyle:
What recovery are you using?
[Huawei GX8] pucherto123:
I got a couple of reboots also and I'm on twrp 3.0.1-0
[Huawei GX8] kimtyson:
I've not had any random reboots or crashes. Maybe wipe and reinstall? I don't have the single sim so that may be the difference.
[Huawei GX8] EarlyMon:
I've had a random reboot on 3 different sorts of Marshmallow phones in the last week - each time while running Chrome.
[Huawei GX8] Alv4ro:
Hi guys, I installed the ROM today and it runs smoothly but I got a few bugs. The battery icon stays still so I don't my battery level and the phone doesn't detect my sim car immediately so I have to get the sim card out and back again for the phone to detect it. Also the bottom buttons don't go down in some apps. Are these common bugs ? I reinstalled the ROM twice so I don't know what to do. On another note, is it possible to disable the Google search bar on the home screens ?
[Huawei GX8] Grovyle:
Should be able to, just press the bar long and it should give you an option. Using Nova Launcher so don't know exactly though.
[Huawei GX8] lordxxxxx:
Twrp 3.0.1
[Huawei GX8] Alv4ro:
I tried Nova launcher and seems to solve the search bar problem thanks
[Huawei GX8] surdu_petru:
You can disable search bar also on stock Launcher , just navigate to : HOME SCREEN SETTINGS , Search bar !
[Huawei GX8] ilouieagcanas:
Do you know where I can get the stock rom? I just need to get back on stock ROM so I can install TWRP and then flash CM ROM.
[Huawei GX8] Alv4ro:
I looked for "home screen settings" but found nothing in the phone, can you be more specific ?
[Huawei GX8] redimmer:
hi

thanks to the new kernel but when i install it my phone is not fast as fast before.

it is reducing the animation speed/

what should i do???

please help
[Huawei GX8] AndroidNewb666:
What's your G8 version?
[Huawei GX8] ilouieagcanas:
RIO-LO1 Dual Sim. I'm currently downloading this. http://droidfirmware.com/huawei-g8-rio-l01-official-firmware-download/ I'm not sure if this is relevant but I my custom version is CUSTC636D001.
[Huawei GX8] AndroidNewb666:
You can also find the firmware on the Huawei Official page, just select your country and look for the G8 on the website and it should give you the correct firmware for your phone.

---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------

Check if " Ambient Display" is on.

You can check that in Settings > Screen

---------- Post added at 10:54 AM ---------- Previous post was at 10:50 AM ----------

To fix the battery icon, just flash the new kernel
[Huawei GX8] ilouieagcanas:
I've also tried it it's giving me this error. "error: failed to open zip file '/Users/Louie/Downloads/RIO-L01_C900B150CUSTC636D005_Firmware_Malaysia_Singapore_Channel-Others_Android 5.1_EMUI 3.1_05013FQE.zip': Iteration ended"
[Huawei GX8] EarlyMon:
That's not ok.

Each of the fixes made incrementally here - battery fix, kernel 1, and kernel 2 - replaces the *entire* boot image.

If you flash the battery fix after kernel 2, you're basically removing all the other kernel changes - and if you flash the battery fix and then the kernel 2, you're replacing the battery fix so that's a waste of time.

Just flash kernel 2, it has everything up to date. :)
[Huawei GX8] AndroidNewb666:
You have to extract the zip and use only the 'update.app' to extract the correct files.