yashsingh1/xdaforums huggingface dataset:
[Huawei GX8] surdu_petru:
CM-13.0 for all variants !

CM-13.0 for all Huawei G8 (Gx8) versions ( single or dual SIM ) :

Huawei : RIO-L01, RIO-L02, RIO-L03, RIO-AL00, RIO-CL00, RIO-TL00

Downloads : cm-13.0-20160323-UNOFFICIAL-rio.zip md5 : b01f9c81fc19412358856dfb49d74f3f

Please check OP for installation instructions and bugs !

You should not need to install this update , if your device is Huawei RIO-L01 ! - this rom is the same with the older one, I just added the other devices, and nothing more for moment !

Best regards !
[Huawei GX8] ELV1ZARR0:
Beautiful and fluid rom thanks surdu

bugs for me

Percent of the battery always 100% never rises nor falls

Sim only detects pulling and tucking

regards
[Huawei GX8] micnerd1:
cant flash on rio L01 dual sim. attached screenshot
[Huawei GX8] surdu_petru:
Please re flash the last update for twrp, than follow installation instructions 100% . For sure it will work .

Good luck !
[Huawei GX8] acctech:
It works on RIO-L01. ROM is excellent. Hope we will have fingerprints, camera and sensors working
[Huawei GX8] ELV1ZARR0:
installed from the internal memory, TWRP has that bug if you want to install from SD, sorry for my bad English 'm from mexico
[Huawei GX8] redbeard1083:
As a temporary solution to battery drain, this worked for me: https://m.reddit.com/r/lgg4/comments/42au1r/psa_how_to_fix_60_marshmallow_logd_battery_drain/
[Huawei GX8] Captain Danger:
Flashlight icon only shows for me while editing the tiles.

I am having same line for network, but the network works fine, it just drops constantly is all.

What order have you got them in? It ain't working for me here.
[Huawei GX8] EarlyMon:
SwiftKey is transient, not a permanent tile, don't know how that works (never cared to check).
[Huawei GX8] Captain Danger:
Snapchat camera issue as seen in the image. Both front and back.
[Huawei GX8] AndroidNewb666:
[MENTION=2335078]surdu_petru[/MENTION] please consider adding C-Apps (cyanogen apps) to your next update!

I tried to install them but theme app seems to fail everytime I try to add a theme and truecaller doesn't work either.

The rest of them works flawlessly.

Thanks again for your work.
[Huawei GX8] EarlyMon:
I haven't tried it but did you see the truecaller solution at the end of this thread?

http://xdaforums.com/android/development/c-apps-modded-cyanogen-os-c-apps-cm13-t3254865

Not sure what to tell you about the themer, see warning in the thread fwiw.
[Huawei GX8] AndroidNewb666:
The truecaller fix actually worked, thanks!

Although the theme flashable zip didn't do any good.

But ay, many thanks!
[Huawei GX8] EarlyMon:
Yeah I think there's a fundamental problem with the CMOS Themer and CM13. I doubt it can be fixed properly from this side.
[Huawei GX8] daankets:
You're very welcome. I really appreciate the effort, and I enjoy the improved 'snappyness' very much! With this kind of dedication, I'm sure the remaining issues will be fixed soon ;)

---------- Post added at 09:52 AM ---------- Previous post was at 09:44 AM ----------

How did you enable the front cam? Can it be done without rooting your device?
[Huawei GX8] surdu_petru:
You should enable root on cam-13.0 . Default is disabled.
[Huawei GX8] iderf:
Hello.

After a few seconds of operation, camera crashs on mine ! (RIO-L01C432b140).
[Huawei GX8] daankets:
Hm... I've got no clue what this means ;)... What is cam-13.0? Oh, wait.. you mean CM-13.0? And then, I need to adjust some property file?
[Huawei GX8] EarlyMon:
http://xdaforums.com/showthread.php?p=66287569

From an earlier discussion on swap -

Commenting that out that line works, thanks to [MENTION=5399951]redbeard1083[/MENTION] for the confirmation.

Or leave it and anyone who doesn't like it can use the TWRP flash I linked earlier.

Although as you say it makes no difference, just remove it. :D
[Huawei GX8] daankets:
Just used this one in order to enable my front cam, works fine! Seems that you can skip the

# mount -o remount,rw /system

line if you boot into TWRP (and mount system + enable changes via the ui)
[Huawei GX8] EarlyMon:
If you boot into TWRP and mount system you can just say this in the terminal window, you can use this to modify for the front camera -

sed -i '/flips/s/^/#/' /system/build.prop

I don't think it's going to matter after the next build though.
[Huawei GX8] surdu_petru:
Yes, I'm so sorry ... I wanted to say CM-13.0 ( cm-13.0 ), instead cam-13.0 :)

Yep, my instructions were for normal boot into CM-13.0 and not into TWRP, that's why you need to mount /system "rw" - default is "ro" !

Yes, you are right :o
[Huawei GX8] surdu_petru:
Go quickly to stock rom !

Just good to know :)

Even if you are on CM-13.0 with TWRP installed, the stock Huawei recovery is not removed ... so, you can at any time to access stock Huawei recovery !

Example, if you want to return quickly on stock Huawei firmware/rom , and you are currently on CM-13.0 with TWRP :

* first you need to make sure you have UPDATE.APP into Internal/External Storage , respectively /dload directory

( I have UPDATE.APP from this firmware : RIO-L01C432B140 into MicroSD/dload/UPDATE.APP )

* than go to TWRP and wipe : data, system, cache & dalvik-cache

* turn device off from TWRP ( ignore, no system - warning )

* just press and keep at the same time for about 10~15 sec. all three hardware buttons ( volume up + volume down + power button ) , you can release power button after device quickly vibrate and keep pressing volume up & down - in the short time , device will start install UPDATE.APP !

* Now I can see : update installed successfully ( but I never modified /cust partition - I have not verified if this does matter )

* on the other hand, my device appear to be locked, so it seems this firmware comes with locked bootloader !

Best regards !
[Huawei GX8] EarlyMon:
[MENTION=2335078]surdu_petru[/MENTION]

Sometimes I don't bother flashing twrp - leaving the stock recovery alone and just fastboot boot twrp (takes a full twrp build though).

Especially a good strategy if you haven't backed up all of the stock partitions first. :)

BTW - I won't promise but I am almost certain that when you invoke the three button startup to take an update app directly that two things happen - 1) factory data reset unless the device is encrypted, and 2) eRecovery is used, not stock recovery - and that's why it will work with TWRP replacing stock recovery.

eRecovery doesn't care if the bootloader is locked or what recovery is installed.

fastboot boot or flash TWRP only works on an unlocked bootloader, naturally.
[Huawei GX8] surdu_petru:
Yep, you are right ... for sure is eRecovery because stock recovery was already updated to TWRP ( by flashing TWRP via fastboot ) :o
[Huawei GX8] EarlyMon:
We are also finding elsewhere that keeping the custom and system partitions backed up together for stock, along with recovery and eRecovery is a very good idea to survive major version updates from Huawei.

The worst example was an ota that failed to flash for two guys I know - the cust version appeared in About phone and a different version appeared in the system build.prop - it was hard finding the right update app to totally fix it.

But with complete TWRP backups, not so big a problem.

Sorry to get off-topic. :(
[Huawei GX8] kralkral:
[MENTION=2335078]surdu_petru[/MENTION] will we get fingerprint working soon? Or its hard to fix it?
[Huawei GX8] EarlyMon:
No swap, plenty of open apps in the background, and behavior is rock steady at idle with plenty of ram to spare.

Enjoying my GX8 more than ever! :)
[Huawei GX8] EarlyMon:
(picture updated with beta version of RAM Truth, the original agreed with the Quick System Info PRO memory widget pictured above from an earlier time - because they came from the same time)
[Huawei GX8] Captain Danger:
Details about the CPU and RAM usage along with the icons on your homepage please? :good:
[Huawei GX8] EarlyMon:
I'm using Smart Launcher with the KDE Oxygen theme, home screen and app drawers icons can be set up separately.

Check out "Smart Launcher 3"

https://play.google.com/store/apps/details?id=ginlemon.flowerfree

The home screen is using "Futurounds icon pack"

https://play.google.com/store/apps/details?id=com.xynapse.futurounds

Check out "Quick System Info PRO" for the notification widgets - very handy

https://play.google.com/store/apps/details?id=org.uguess.android.sysinfo.pro

I made the wallpaper, here are a few like it -

https://m.flickr.com/#/photos/29097184@N03/sets/72157645419185712/

Check out "Flowpaper Free" I use the paid version

https://play.google.com/store/apps/details?id=cc.diatom.flowpaperfree

Home screen -

Check out "RAM Truth" we'll have it updated to show swap like my picture in the second post probably later today

https://play.google.com/store/apps/details?id=sa.ramtruth

Check out "Circles Boot Animation" it links directly to the CM Theme engine

https://play.google.com/store/apps/details?id=com.kiernan.theme.circles

My Rio is very circular. :D
[Huawei GX8] surdu_petru:
After a few days working on fingerprint sensor, I think I'll wait the kernel source code from Huawei for M :confused:

Actually, fingerprint sensor driver from Lollipop kernel do not work with Huawei fingerprint blobs from 6.0 beta ... If kernel driver will be updated, wouldn't be so difficult to enable fingerprint sensor.

So, do you removed swap from fstab ? ... and as I can see your device perform better :o
[Huawei GX8] EarlyMon:
First I confirmed the flash mod for no zram I linked earlier worked.

Then yes, we got together, and built your cm with the zram line commented out of the fstab.qcom - and removed that flash modification because no longer needed - it works perfectly.

Line 16 commented out at https://github.com/Huawei-Dev/android_device_huawei_rio/blob/cm-13.0/rootdir/etc/fstab.qcom
[Huawei GX8] dieterschran:
How do i get my bootloader locked again?Sorry if it is of topic! I hope somebody can help me.My phone is the Huawei G8 L01 Double sim! Thx in advance.
[Huawei GX8] EarlyMon:
Answered in ask anything thread where first asked.
[Huawei GX8] iderf:
Works great on mine. Sometimes, gallery stop working on nova launcher.

Is it possible to have phone EMUI dialer and SMS EMUI with transparency effect on this build, please ?

I could to recover the phone.apk EMUI, but not possible to install it on CM13 !
[Huawei GX8] surdu_petru:
My device is also G8 (RIO-L01) dual SIM ... but, did you take a look here ?
[Huawei GX8] AndroidNewb666:
Sometimes when I'm typing my phone simply freezes... Has anyone ever seen this? I'm currently using SwiftKey Beta
[Huawei GX8] kralkral:
Try other keyboards maybe it is SwiftKey related problem
[Huawei GX8] EarlyMon:
I'm using SwiftKey Beta with no issues.

Try turning off swap with the flash I linked earlier -

http://xdaforums.com/showthread.php?p=66308444
[Huawei GX8] Momar99:
Is anyone having issues with wifi disconnecting randomly? No matter what network i'm using, the wifi will disconnect and switch to mobile data, then switch back after a few seconds. Really frustrating.
[Huawei GX8] alex636:
Same for me... It happens randomly... Also strengh of wifi is not as it is in stock... No problem with mobile network

Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk
[Huawei GX8] krispin:
I have problem with PIN lock. If it is enabled, I cant take a phone call or disable alarm without entering PIN. Is it supposed to be like that?
[Huawei GX8] AL_IRAQI:
Hi

i have same problem in honor 5x and after removing this line phone keeps crashing, it can be fixed by removing "ro.config.dsds_mode=umts_gsm"
[Huawei GX8] tomaxi:
This only happens to me sometimes, especially when i accidentaly press the powerbutton
[Huawei GX8] surdu_petru:
Yep, but "persist.radio.multisim.config=dsds" is needed only on dual SIM devices, there is no reason to keep this on single SIM devices !
[Huawei GX8] AL_IRAQI:
Yeah, I removed both of them ?
[Huawei GX8] surdu_petru:
I have battery issue on the last build, sometimes seems to drain very fast ... I think is related the new governor implementation from kiwi ... I'll try to check/update kernel related cpufreq, maybe I could fix somehow . Anyway, a new update will be here in a few days with more fixes/updates !

Camera HDR and Fingerprint sensor not yet fixed !
[Huawei GX8] EarlyMon:
I actually tried for several days with the ondemand governor instead of the default interactive.

While ondemand is older and not in favor to its modified update, interactive, I found negligible performance differences and slightly better battery performance - and for obvious reasons, the battery improvement really surprised me. Naturally we would expect interactive to be better.

I didn't mention it earlier because I haven't had enough time to complete a full test matrix on this and I didn't want to make a silly claim without good reason.

This could all be a placebo effect or simply how I used it at the time.

But now with your latest insight I want to mention it for your consideration - as I believe that the main difference between the two is how they differ in scaling CPU frequencies and what/when the hold times are.

My observations seem to indicate that with ondemand, my CPUs were more dynamical and showing frequency differences between processors (asynchronous clocking) more often than the default - and could therefore support the battery observables I mentioned. This seemed especially true on the lower quad (i.e., CPUs 4 through 7).

I didn't do anything fancy, just used Kernel Adiutor with the governor change applied on boot to both quads - nothing else.

Again - I could be wrong.

But as an anecdote, it may be an interesting reason to look further.

PS - sorry about the complicated language. Not trying to impress anyone. It's the end of an 18 hour day and my brain is too tired to speak well. Thanks for your patience. :)
[Huawei GX8] surdu_petru:
I already checked gerrit for kiwi, and it seems they changed default gov. to ondemand instead interactive.
[Huawei GX8] EarlyMon:
I didn't know that, I haven't checked there. :D
[Huawei GX8] daankets:
Yep, same here. I often need to enter my pin before being able to accept either a call, hangout or similar...
[Huawei GX8] surdu_petru:
Please, what pin do you use ? : SIM pin or for unlock device ?

Anyway, I didn't tested neither of them ... but, as soon as you can clarify for what pin you have issue , I can try to see if my device have the same issue ... if Yes, then I'll try to find a solution . Thanks !
[Huawei GX8] alex636:
I think he means pin for device unlock.. I can confim that.. Sometimes when screen is off and i recive a call the phone rings but show the lockscreen pin-screen not the phone application... When i press the power button to turn the screen off and on again the phone-app show up

Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk
[Huawei GX8] daankets:
I mean the device unlock pin. I tested with a 8 digit pin, and often the unlock screen is drawn on top of the incoming call screen. Also the alarms (clock) appear behind the unlock screen. Pressing the on button twice helps. Unlocking and then accepting the call works too.
[Huawei GX8] surdu_petru:
Just now I tried with a 4 digit pin and also with 8 digit pin - for unlock device !

As I can see in my device, there is no issue regarding accepting a call , I can answer directly, no pin require to unlock device for answer !
[Huawei GX8] alex636:
It happens not every time... But not that big deal for me... Thanks for your work...

Is it maybe possible to activate "ambient display" in the next build ? i really love that feature... I remeber the setting was there in first build

Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk
[Huawei GX8] surdu_petru:
Yes, sure :D ... I'm sorry I forgot to add this feature !
[Huawei GX8] surdu_petru:
CM-13.0 New Update !!!

Hello !

New Update CM-13.0 Huawei Ascend G8 (GX8)

Changelog :

[CENTER]* update to the latest CM 13.0 source code ;
* added Ambient display ( doze ) ;
* enabled World Phone : please, check "Preferred network type" ;
* added BFQ I/O Scheduler ;
* interactive gov. seems to be fixed - but you are always free to use ondemand instead ;
* battery drain issue should be fixed ;
* fix for device random reboots;
* removed swap, thanks to [URL="http://xdaforums.com/member.php?u=2682748"]EarlyMon[/URL] !
* tweaks kernel (defconfig) to improve performance ;
* speed up boot time ;
* speed up apk install ;
* and many other stuff ( you are free to check my [URL="https://github.com/Huawei-Dev?tab=repositories"]github[/URL] for a complete list of changelog ) !
* My [URL="https://github.com/Huawei-Dev?tab=repositories"]github[/URL] is already updated with all commits !
[/CENTER]

Downloads :

[CENTER]* [URL="https://www.androidfilehost.com/?fid=24499762636006146"]cm-13.0-20160422-UNOFFICIAL-rio.zip[/URL] [B]md5 :[/B] 5d90ebb66912b968747860cb76022d80

* [URL="https://www.androidfilehost.com/?fid=24521665358595272"]kernel_update_02.zip[/URL] [B][I]md5 :[/I][/B] 75d4af5a0171a994af64e47998602fb0

[/CENTER]

Instalations :

[CENTER]* this build update does not contain Gapps ;
* for update rom, please only wipe : Cache & Dalvik-cache
* install update rom cm-13.0 & ultimate update of gapps at the same time !
* if you are at the first install of this rom, please check OP Installation instructions !
* For all G8 (GX8) single SIM, please apply [URL="http://xdaforums.com/showpost.php?p=65984922&postcount=2"]this[/URL] fix !
[/CENTER]

Not working :

[CENTER]* Camera HDR & Fingerprint sensor [/CENTER]

​

Best regards !
[Huawei GX8] alex636:
When applying single sim fix i got forced closed phone.apk... I also set the line ro.telephony.ril.config=simactivation and deleted "sim2gsmonly" now it worked... Thanks for the update

Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk
[Huawei GX8] kimtyson:
I clean flashed today's version and no longer have the pull down shade with all the tiles. Other than that it seems pretty good, though. Anyone else lost their quick tiles?
[Huawei GX8] Momar99:
Yes I noticed this too. I can't swipe down twice to access the tiles.
[Huawei GX8] kimtyson:
[MENTION=2335078]surdu_petru[/MENTION] Maybe there's an issue you weren't counting on. Great work, though.
[Huawei GX8] Momar99:
There are actually multiple large issues with the latest build for some reason. I don't have a lockscreen when using the "swipe" security option, no quick tiles, and notificiations do not appear in the status bar for any apps. I completely clean flashed the rom so that is not the issue. Going back to stock
[Huawei GX8] kimtyson:
I went back to stock then clean flashed again and still no tiles. I haven't tested a lot other than apps opening and such. I wonder if it would have been better to dirty flash?
[Huawei GX8] AndroidNewb666:
I made a dirty flash, still got the tiles and everything but the performance seems a bit poor.... When pulling down the status bar it's not that fluid anymore, not just that but it's lagging on the entire system... I even tried to turn off animations but with no success.

I'm going to test it out some more to see if there are any more bugs

Edit1: it seems like 'Ambient Display' was causing the lag, when I turned it off everything turned out to be a lot more fluid.

Edit2: Charging seems broken since 20minutes has passed and it won't pass the 85% battery.

Edit3: weird stat appeared on battery status (screenshot below), probably its what's causing the 85% broken battery

Edit4: rebooting seems to update the battery level although it still won't go down.
[Huawei GX8] redimmer:
hi everybody.

thanks for the new update my friend surdu_petru.

i flashed it about two hours ago and i think its pretty smooth and fast.camera has fixed and i see no issue for now.

but i think the battery draining is still high while i installed greenify and amplify...of course higher than the stock rom.

that was for now

---------- Post added at 01:31 PM ---------- Previous post was at 01:26 PM ----------

i think that you must do a ful wipe i did it and i have no problem so far with the performence and the battery display.

i had the same problem but when i did what i said it all fixed.

remember to do a complete flash including system and data.

make a backup first from your data and after flashing the rom recover your data with twrp
[Huawei GX8] EarlyMon:
Restoring a TWRP backup of data after a clean flash ought to be equal to a dirty flash.

If doing that helped then it's possible that the flash of system didn't go right the first time.

I've had that happen to me - a bad flash can occur at any time.
[Huawei GX8] micnerd1:
I can't see notification bar and tiles _ any one else ?
[Huawei GX8] EarlyMon:
Yes, scroll back a few posts - reflash the rom, remember to clear cache and Dalvik when done.
[Huawei GX8] AndroidNewb666:
Did a clean flash and still no luck , having the same problems that i have listed above and some more that users have already warned you.

Going back to day 9 build

Still, thanks for your work.
[Huawei GX8] EarlyMon:
Picture from the latest build, very overcast today, forced flash on, default settings, no touch ups - this is VERY close to how that looked in this challenging light.

Latest build, posted because a buddy asked how the pictures were on this rom. :)
[Huawei GX8] EarlyMon:
Battery indicator is whacky after first flash, will reboot again and keep an eye on it.
[Huawei GX8] EarlyMon:
I read an article that said that this existed in CM13 but I can't find it -

http://www.makeuseof.com/tag/6-cyanogenmod-features-stock-android/
[Huawei GX8] kimtyson:
Settings- Buttons- Power Menu

---------- Post added at 12:56 PM ---------- Previous post was at 12:55 PM ----------

Another odd thing I am getting with clean flash of new CM is that when I plug it in it will charge but there is no way for me to change it to file transfer\MTP\whatever. The notification is missing that it's charging.
[Huawei GX8] EarlyMon:
Doh! Thanks! :D

It's fine on mine.

Verify the md5 checksum of rom zip on your phone.

Check out "AFV File Verifier for Android™"

https://play.google.com/store/apps/details?id=sa.afvx

The display shows video tearing when file scrolling, I'll let scary alien know to fix it.

Find the CM 20160422 zip file, long press it and choose the md5 calculation.

The correct value is provided on the afh download page.

The value on your phone must match.

If they don't, erase the bad one and download again until they do.

Let us know if that's the problem.
[Huawei GX8] kimtyson:
The checksum is correct.

I really think there is an issue with clean flashing versus dirty flash. I reinstalled 0409 version then dirty flashed and things are back to what they were before. In other words, all my issues I had with clean flash are gone with a dirty flash.
[Huawei GX8] micnerd1:
The problem isnt with ROM installation _ if u only install the ROM u will not face status bar problem but if u install gapps the problem shows :( any solutions ?
[Huawei GX8] EarlyMon:
Try what [MENTION=355351]kimtyson[/MENTION] suggested above.

I reinstalled gapps after a dirty cm flash and my status bar is fine.

In any case, [MENTION=2335078]surdu_petru[/MENTION] I think maybe a clean build is needed, it seems like something might have gone wrong.
[Huawei GX8] surdu_petru:
Yes, maybe you are right ... btw, I have no issues with this last update - the only new one ( apart : HDR camera & fingerprint ) it seems to be linked to battery indicator - stuck ... until you'll reboot device ! This issue can be easily fixed ... and I'll try to fix right now .

Anyway thank you very much for all your feedbacks .

Edit :

System must be wiped along with Cache & Dalvik-cache for update CM-13.0 - also, device must be restarted after first boot !!!

We should wipe /system, because the new keystore.msm8916.so will not want to work along with the older keystore.qcom.so from previous rom !

After device booted, you must also to reboot device in order to fix all issues !

Tested right now :

Flash previous rom with Gapps ( this time I wiped all apart Internal & External Storage) ,device boot fine on the previous version of cm-13.0 - than go back to TWRP and wiped : System, Cache & Dalvik-cache - > installed the new update ! Device boots fine but with some issues ... just restart device , and voilà there is no issues !