yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] nightwalkerkg:
You didn't do any other change to the code other then the blobs ?

Because, as far as i know you already have the fixes for GPS and Notification light, all that is left is to combine them.

I can do a build today.
[Miscellaneous Android Development] surdu_petru:
I'll push into my github soon, the new vendor blobs . If you want you can try to build .

Also a new update will be here very soon !

Best regards !
[Miscellaneous Android Development] nightwalkerkg:
Sorry to bother you with all the questions. :D

But i am so excited with the news and i really want to use CM. :D

Great work again!

Off to unlock my bootloader and root this thing. :D
[Miscellaneous Android Development] surdu_petru:
New vendor blobs , this will fix data network issue !

Github -> android_vendor_huawei_g620s , please check brunch cm-12.1 .

New device : android_device_huawei_g620s, please check brunch cm-12.1

Big Thanks to dianlujitao , he helped me alot :highfive:

Best regards !
[Miscellaneous Android Development] Sh0m1:
Great work man!

So, the only bugs left are NFC and #### instead of names in network selection?
[Miscellaneous Android Development] surdu_petru:
Yep, and it seems NFC cannot be enabled due to lack source code ...

Anyway, if there will persist few bugs, I'll try to fix them later ( in about two-three weeks ) !
[Miscellaneous Android Development] juanro49:
great job!

Enviado desde mi PE-TL10 mediante Tapatalk
[Miscellaneous Android Development] nightwalkerkg:
Don't worry about NFC, i have friend from the IO group. He will have a look at it.

Do you have the .zip with the latest fixes ?
[Miscellaneous Android Development] surdu_petru:
New Update !

Hello !

New update is here for testing : Dialer & Data Network was fixed !

Downloads : cm-12.1-20150814-UNOFFICIAL-g620s.zip md5 : fe44022e642bf2c40e295f3e8c97c0cc

This update is not perfect, but is stable and it has almost all the important functions enabled :o

All issues from this new build, will be fixed (if possible ) later ... ( in a few weeks ) !

Tomorrow I'll go on vacation , so no development here for few weeks .

Best regards !
[Miscellaneous Android Development] Sh0m1:
Thanks, I will test it now :) [MENTION=2335078]surdu_petru[/MENTION]

Mobile data works, LED notification bug is still present however and wifi takes a bit longer to turn on than on CM11/stock rom.

If I find anything else I will share it here :)
[Miscellaneous Android Development] bmasgone:
Grat work! I will test it ASAP...

About led, i think serdu was fix it in cm11, but may be left here some work for after the vacation :- ))
[Miscellaneous Android Development] Sh0m1:
I'm wondering if it is possible to just copy a file related to LED from a different ROM, since it is fixed in carbon rom?
[Miscellaneous Android Development] surdu_petru:
Yep, would be nice, unfortunately there isn't a magic tools, to solve the problem quickly :D

Must be some wron/missing permissions into ramdisk( kernel ) , and at the same time into frameworks/config - regarding LED functionality

Anyway it is on priority list along with compass sensor !

Best regards !
[Miscellaneous Android Development] Thecrazyskull:
Im working on nfc, it seems that you based on falcon trees lol, i myself own a titan uses same trees as falcon and cm just merged my commits to get rid of nfc lol.

It seems the whole driver is missing from the device tree (was done at initial bringup) so it wont be too easy to import the whole driver again.

Anyways ill do what i can for you guys and especially for [MENTION=4804114]nightwalkerkg[/MENTION] ;)
[Miscellaneous Android Development] nightwalkerkg:
Take it easy for now. Enjoy the holiday. :D

We have the important things working, and that's what matters!

Great works everyone!

We are only just starting with the development for this device! :D
[Miscellaneous Android Development] bmasgone:
I'm charging the phone now and then I'll test, but if you can't wait I think this was the correct file for led in cm11. Just replace it with 644 permission in system/lib/hw

http://eoq.kr/AD3QTH
[Miscellaneous Android Development] Sh0m1:
Thanks, however using this file breaks the LED functionality completely, so it's better to stick with the default one :)
[Miscellaneous Android Development] Thecrazyskull:
[MENTION=2335078]surdu_petru[/MENTION] dont merge my vendor pull request yet, im almost done with device tree so you can merge them together ;)
[Miscellaneous Android Development] bmasgone:
Does this merging means..... that there will be new build for the weekend.. :.) ? What should I do.. To test last build or waiting for new today or tomorrow?

PS Already installed :)
[Miscellaneous Android Development] bmasgone:
After some hours of using the ROM, let me say some impressions...

First of all, respect to all developers made this ROM functional!

And now for the ROM:

URGENT need of optimizing every part of hardware .. What I mean:

1. Number one is RAM Optimization. After using the phone for a while with 4-5 apps.. it became very laggy. For example, I used Facebook, then some time in Messenger, Maps, Skype .. After 10-20 minutes I have browsing in Chrome while the phone get Ringing .. but the call in screen show up after more than 10 seconds. Than almost everything became slow responsive..

2. WiFi needs optimizing. As mention before, On/Of connect is very slow. I change some WiFi networks .. and the system became very slow and laggy after that. When I turn of the WiFi and come back to Mobile Network .. the system became as usual...

3. GPS and Compass .. You know it here .. may be a lot of work and time is needed.. Now GPS work somehow.. find satellites but fix them kind of slowly..

4. May be some problem with data, may be not. Sometimes data disconnects for a second(s), or Youtube app has a bug and disconnect time to time, but not often.

5. The Dialer is a little bit slow responsive, even if I change all animations to 0.5..

6. Led notification is known issues ..

7. I almost forgot ))) The sound is cracking time to time .. When you setup ringtone or listeting Youtube.

8. After some time of using the ROM I receive on 4G data error when the network was set as default .. I set the network to GMS/WCDMA Preffered and now is fine..

So THE GOOD NEWS is that over 90% of hardware is working, but there is urgend need as I said of custom optimization of it ..

What I`ve done to make the ROM fast and fluid for daily use ..

I install a paid app called

"Root Booster"

. Set it to "Basic-->Speed" profile and the miracle is happen .. :- )) Fast and fluid ROM .. ofcourse with mention issues .. So if that app make the ROM very fast and responsive .. I assume that just needs custom optimization of RAM, Governor .. or I dont know what else "Root Booster" do .. :- )))

So thats my overview for the moment .. If I see anything else, I`ll post it ..

Thank again ..! Huge work of all developers here ... and for everyone else - post if you find issues .. to make some work for Serdu after his vacantion :- DD

9. One more issue - wifi threading not working .. When I try to use it .. broke WiFi at all .. Needs restart to connect to WiFi again..

PS2: TWRP is functional, but give me some sdcar..media 255 errors when I wiped InternalMemory, or when Restore Data... I think when ROM has installing .. this happen to.. Everything workning, just point the error : ))
[Miscellaneous Android Development] PrinceEndymion88:
Great work, guys :D
[Miscellaneous Android Development] bmasgone:
The ROM needs also CPU States ==> Battery Optimization

1. CPU don`t use 200/400/533 mhz CPU States, so CPU always work on minimum 800 mhz ==> not battery friendly :- )

2. CPU all the time load all four cores.. Never unload/put to sleep some of them .. Deep sleep working, but when the device is on, all four cores are always working at minimum state of 800mhz ==> again .. not battery and temperature friendly :- )

Hi Thecrazyskull : )

I saw in your GitHub profile that,

android_device_huawei_g620s

in newer than serdu`s .. Did you develop only NFC, or you made and another optimizations (DATA, WiFi, GPS and ect.) .. :confused: :good:
[Miscellaneous Android Development] Thecrazyskull:
I just "fixed" NFC even though that patch isn't ready yet, since my friend [MENTION=4804114]nightwalkerkg[/MENTION] is still testing it and he did have some issues while building which we fixed local ;)

Anyways once my [MENTION=4804114]nightwalkerkg[/MENTION] gets a successful build I'll start working on optimizations :)
[Miscellaneous Android Development] desalesouche:
hi i did a build with your device tree with"fixed nfc" i had some errors with sepolicy related to nfc.te... how did you solve them? i deleted nfc.te and corrected filecontext... but may be my way was wrong... my aim was to finish build ...and nfc is not turning on because of the way i did i guess...;)

i did also tried a build with archidroid optimisation v 4.1 but kernel give some error i couldn't fix yet.

I would like to report that my device with cm12.1 is not regonized by my computer with unbutu 14.10 (only usb mass storage is ok with sd card) but all is ok with stock rom... and it seems to me that i was having same problem with cm11 by eloy gomez...

i am wondering if problem is coming from device tree or from my computer... I would say device tree is faulty cos i got no problem with stock rom...?

any idea?

regards
[Miscellaneous Android Development] Thecrazyskull:
Yeah im aware of those sepolicy errors (it was dumb of me to assing policy without seeing a denial yet) but i didnt have the time to fix them yet :p
[Miscellaneous Android Development] surdu_petru:
Hello !

Device should be recognized just well , you must only enable it from storage, and check three points menu .

Best regards.
[Miscellaneous Android Development] nightwalkerkg:
Did you have problems with green preview on Camera app ? And if yes, how did you fix it?

I have this problem on my build of CM12.1 and SlimLP.
[Miscellaneous Android Development] desalesouche:
tested and as i said i just have sd card working with ums...

twrp is working just fine... like stock rom .it is showing sd card and internal sd... why not the rom?
[Miscellaneous Android Development] PrinceEndymion88:
Lollipop kernel source for honor 4x released: http://emuirom123.dbankcloud.com/Cherrymini_kernel_[Android 5.1 EMUI3.1].tar.gz?rid=1531

But I don't know if is for Kirin version or Qualcomm version...
[Miscellaneous Android Development] bmasgone:
Yesterday I decide to try the stock bassed ROM - EMUI 2.3 B266 by javix

For the first time ever, whatever I do, I cant feel the phone is heating. With every other ROM, no metter CM bassed or Stock, when I browse for some time on 3G, the phone is getting hot.... a lot .. When I watch Youtube videos, too .. But with this javix ROM, the phone stays cool with no fliud or power loss, seems like its not wokring/power off :D :D So when you make optmizations on CM12.1, if its possible, get power settings from this ROM .. And I dont use any energy saving profile, I leave the power management - Normal.

Also on mixed WiFi/3G use, I get over 6 hours on screen time. With all CMs bassed ROMS for our phone, I cant get more than 4 hours .. in best scenario..

So all CM developers, if its possible, you could investigate this miracle called - EMUI 2.3 B266 by javix ::: )) :good:
[Miscellaneous Android Development] surdu_petru:
Nop, I have not this issue ... but check once again if you have the both custom libraries : libcutils & libcutilz in your vendor blobs !

Hmm ... seems to be strange , I'll try to see what it is when I get back from vacation .
[Miscellaneous Android Development] animehq:
I have a trouble with entropy. The system seem to use entropy pool very fast and feed it very slowy...
[Miscellaneous Android Development] desalesouche:
[MENTION=2335078]surdu_petru[/MENTION] and all .

Hi.

i just want to share here for g620s users if they experiment same problem as i had.

Yesterday after flashing a cm12.1 compiled by myself, device was always rebooting into twrp recovery...

... it was not the first time i flash cm12.1 done by myself. but this time something was wrong...

here is what i did that fixed problem:

i restored with twrp backup of stock rom B256, then i flashed in bootloader mode (fastboot) stock recovery from B256.

i restarded device and all went fine... i am back on stock rom.

i don't dare to flash something else for the moment cos i need device in order for the moment.. :silly:

hope that post might help one day...
[Miscellaneous Android Development] animehq:
"HISI_3635_MODEM_DEFCONFIG := vendor/hisi/config/product/$(OBB_PRODUCT_NAME)/os/acore/hi6930_modem_defconfig

ifeq ($(strip $(TARGET_BOARD_PLATFORM)), hi3635)

HISI_3635_MODEM_DEFCONFIG := vendor/hisi/config/product/$(OBB_PRODUCT_NAME)/os/acore/hi3635_modem_defconfig

endif"

Kirin :-/
[Miscellaneous Android Development] desalesouche:
i think you might be using wrong display-caf or media-caf folder...

i had same problem than you which have been solved by using proper folder...

hope it might help.
[Miscellaneous Android Development] nightwalkerkg:
Yeah, i know. I tried with diff one but i had other problems.

But i switched to building Slim/InfinitiveOS(based on Slim) and had some problems with SystemUI FC.

I stopped building for now, have exams. So i will deal with the camera after i fix the fcs.
[Miscellaneous Android Development] yousef-p:
hi . i am old developer of android. i am ready develop this phone after 1 or 2 week.maybe .
[Miscellaneous Android Development] Thecrazyskull:
Mind showing me (some of) your work then?

Coz I doubt your a developer
[Miscellaneous Android Development] yousef-p:
see my signature. khkhkh :victory:
[Miscellaneous Android Development] nightwalkerkg:
[MENTION=2335078]surdu_petru[/MENTION] and [MENTION=4479868]desalesouche[/MENTION] can you guys tell me which display-caf are you using ?
[Miscellaneous Android Development] surdu_petru:
Yes, I'm using my display-caf from here , but you should keep also my kernel-msm8916. About media-caf I keep stock cm12.1 , because kernel was updated. Sure don't miss also device_huawei_g620s_include from my device blob !

Good luck !
[Miscellaneous Android Development] nightwalkerkg:
Yeah, don't worry. I just needed that display-caf since i get green preview in the Camera.

Also about the bugs i found few things :

>> Fix for Operator Names being #### :

https://github.com/CyanogenMod/andr...mmit/9a15496f4ccee31ae1175e0f7eff518dd4c49d2d

(tried on SlimLP and Infinitive-OS based on AOSP, and it didn't work, i am doing a build of CM as we speak to see will it work on CM.)

>>Liblight not blinking :

https://github.com/surdupetru/android_device_huawei_g620s/blob/cm-12.1/liblight/lights.c

I decompiled our lights.msm8916.so from stock 4.4 and i didn't get much, but i noticed that there are a few lines we don't have, but i have seen them on some Huawei devices libligt.c. We are missing the blink lines : http://hastebin.com/yodagacana.m

>>Performance :

When it comes to this i don't have much knowledge but i was able to find out that we are missing thermal-conf, i used the one from YU Lettuce, and it appears to work, but not the best. It also has some hotplugs definitions that limit the CPU from 'burning' on full speed. But it needs more work.

>>Sound :

Also noticed that if you disable AudioFX some sound cracking disappears. But there is still some when you get a notification.
[Miscellaneous Android Development] surdu_petru:
Thanks for your help !

Until now, I didn't working on the kernel, so kernel is not optimized . Also a good news here is that our dev. dianlujitao will start soon working on our kernel .

Best regards !
[Miscellaneous Android Development] nightwalkerkg:
Yeah, i noticed. I have a friend who did all the kernels for my old HTC, so i'll ask him if he can help. :D

I loved his kernels.

@surdu_petru getting this with your display-caf :

http://hastebin.com/itagosupus.pl
[Miscellaneous Android Development] surdu_petru:
?? do not understand :D
[Miscellaneous Android Development] u-free:
Hello! model G620S-UL00 assembly from 14.08.2015 sim cards not active, writes only emergency call
[Miscellaneous Android Development] surdu_petru:
New update soon !

Hello !

I managed to fix : Wi-Fi Tethering & Network name into Sim status !

Also made some improvement for cpufreq, governors, thermal-engines and enabled power profiles .

Hope to fix notification light & gps in the future updates !

After these two issues will be solved, I will try to bring the next update : Android Marshmallow on our device , sure it will be as usual with the help of our dear developer dianlujitao :D

Best regards !
[Miscellaneous Android Development] nightwalkerkg:
Was Tethering and Network name fixed with the kernel commit or you didn't update the git yet ? :D
[Miscellaneous Android Development] surdu_petru:
Yes, github was updated about an hour ago ... so, if you use my updated github with all commits you should have a rom with all the fixes listed above !

Edit :

You shouldn't use only kernel update, because was updated also device & vendor blobs .

Good luck !
[Miscellaneous Android Development] nightwalkerkg:
Thanks a lot mate.

Also did you guys consider making an IRC channel or a slack group we can talk ?

I could use some help building AOSP based roms. :D
[Miscellaneous Android Development] surdu_petru:
You can PM me and maybe also dianlujitao, I'll try to help in the limit of my free time :o

Anyway, if you are able to build without error cm12.1 from my github, than you can start build other custom rom's based CM or AOSP !

Good luck :good:
[Miscellaneous Android Development] nightwalkerkg:
Yeah, i am not doing CM since that is what you guys are building. There is no point in me doing it also. :P

I was building SlimLP and InfinitiveOS for some time (AOSP based) but i hade SystemUI FCs. Lowmemorykiller seems to kill to many processes and SystemUI went down because of it. I'll try it again, maybe this time with the new kernel updates it will work fine.
[Miscellaneous Android Development] surdu_petru:
Yes, I understand your opinion ...

My advice is to try for you to build cm12.1, in this way you can see, if your device boot well without error ... and finally you can start build another rom - do not get me wrong, it's for your own good, and it's only my personal opinion :o

Good luck :good:
[Miscellaneous Android Development] nightwalkerkg:
Hehe, i understand what you are saying, but i have been building CM for the past two weeks. :D

And it worked like a charm, but since i switched to Kubuntu i had some problems with builds but got it fixed. :D

That is why i am moving to another rom. :D
[Miscellaneous Android Development] surdu_petru:
Yep, very nice ... I didn't know ... than, good luck on your new builds :D

I remembered now, not long ago I tried to build a SlimROM ( unfortunately not remember exactly for which device, I think was for Motorola XT1039) and have the same issue : SystemUI FC on boot ....

It seems that the issue should be linked to display resolution ... :o
[Miscellaneous Android Development] Thecrazyskull:
Running slim on my titan (moto g 2nd gen xt1068) fine ;p
[Miscellaneous Android Development] surdu_petru:
Yep, you are right ...

I did not have much time to debug this issue, because started soon other projects, much important for me, like TWRP and CM11 for Huawei Ascend P6 !
[Miscellaneous Android Development] nightwalkerkg:
My FCs don't happen on but, but when the low memeory killer kicks in. I couldn't figure out why exactly. I'll do a build and try to get some logs.
[Miscellaneous Android Development] surdu_petru:
New Update !!!

Hello !

A new update is here :o

Was fixed :

- Network name into Status -> Sim status , thanks to [MENTION=4804114]nightwalkerkg[/MENTION] & [MENTION=5083850]Thecrazyskull[/MENTION] !

- Portable Wi-Fi hotspot ;

Improved & updated : thermal-engines, cpufreq, governors & battery profiles ;

Downloads : cm-12.1-20150901-UNOFFICIAL-g620s.zip md5 : 631d02e78178675829ec5b3fe06b9d4c

Best regards !
[Miscellaneous Android Development] bmasgone:
I will test again new builds when you fix GPS and Compass, but did you take atention on cracking sound .., because it was very annoying issue. Youtube make problems too, also time to time 4G data error, and slow WiFi on/of + slow dialer : ))
[Miscellaneous Android Development] surdu_petru:
Good to know !

Hello !

If you are on the last update, a small hack help to optimize the CPU :D

So, please follow those steps :

Settings -> Battery -> Battery mode -> check "Performance" OK , right now on Battery mode -> check "Balanced" OK ! That's all ..

You can go now into "System Tuner" app from PlayStore and you'll see on CPU Mgr - how is scaling frequency on live ;)

Usually you shouldn't check those steps, but after a reboot on Balanced mode , from time to time CPU it will automaticaly set on minimum frequency 800MHz - and performing these steps, the processor will now scale all frequencies from 200MHz to 1.2GHz :good:

Edit :

Some xda members, reported that their minimum frequency is stuck on 800MHz, so for now please follow this procedure !

Best regards !
[Miscellaneous Android Development] Sh0m1:
Can't wait for the notification light to be fixed so I can use this ROM as a daily driver :)
[Miscellaneous Android Development] Morphine1:
Hey there. Loving this rom so far, even though the battery drain is kinda higher than emui/miui roms.

I made an antutu test after 24h using the rom, and the result amazed me.

Keep up the good work, surdu_petru.

Enviado desde mi G620S-L01 mediante Tapatalk
[Miscellaneous Android Development] Sh0m1:
I've tried the new build today and it still has crackling when listening to music(tested with spotify) :(

But the ROM itself is extremely smooth :D
[Miscellaneous Android Development] surdu_petru:
Hello !

New Custom Rom for our device : XenonHD !

Fixed somehow notification light ( now is only blue led active, it seems that after a while is activated ) - is not the final solution, it's only a hack - but it is better than nothing :D

Fixed : Wi-Fi & Tethering Wi-Fi On/Off delay !

Hope you enjoy the new rom ...

Best regards !
[Miscellaneous Android Development] texno_lover:
Hello

when i unlock bootloader and install CM12.1, i will then return to the stock ROM ? Root it, install CWM and make backup ?
[Miscellaneous Android Development] surdu_petru:
Hello !

It's very easy !

You have two options :

1° after unlock the bootloader you must flash TWRP recovery in order to flash CM12.1 .... but before flash CM12.1, you can perform a backup of your stock rom , in this way you can restore backup from TWRP when you want to use stock Huawei rom !

2° - if you want to discard custom ROMs, than you can flash stock recovery , but before to flash stock recovery you must put into your external storage /dload/UPDATE.APP , where UPDATE.APP is a stock Huawei Firmware . To flash UPDATE.APP into stock recovery, you should use hardware comb. key ( press and keep at the same time all three hardware button about 10 sec ) !

Good luck !
[Miscellaneous Android Development] bmasgone:
Is it CM related itself that CM Based ROMs last on battery almost twice less than stock based ROMs?
[Miscellaneous Android Development] surdu_petru:
I used for a while stock Huawei rom , and the battery didn't last more than a day :o , now using CM12.1 I cannot see a major difference ... the device must be charged daily , in both cases .
[Miscellaneous Android Development] bmasgone:
I tryed Stock B256 and JaviX B266 Stock Based custom ROMs - battery last on mixed 3G/WiFi using, not less than 6 hours on screen time. With CM12 I cant get more than 4 hours in very best scnenario... usually 3-3:30 hours :rolleyes:

PS: Same usage on both.. Facebook, Messenger, Skype, Youtube, Here Maps, Google Maps, Gmail, Chrome browsing .. In CM12.1 I dont even use map apps, because GPS and Compass issue is not resolved yet...
[Miscellaneous Android Development] nightwalkerkg:
Check the Time in State for your CPU (you can use an app called CPU Spy or anything else you like) if some states (for example 1209Mhz) have more time then Deep Sleep you might want to configure your CPU settings, speed, scheduler, governor, etc).