yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] nightwalkerkg:
Guys, i want to ask you for a favor. Please, let's decide on one device tree and build on it!! There are 4 device trees now, that are compleatly different!

It's a pain to do a simple cherry-pick. Let's make a simple device tree that everyone will use, and push all the fixes to it ! If you want to work on a diff rom, fork and do what you want.
[Miscellaneous Android Development] surdu_petru:
Yep, for now you should use [MENTION=4223446]Blefish[/MENTION] device tree & kernel - he did an excellent job on the kernel, he removed all stuff added by Huawei - anyway awesome work here !

Tomorrow I'll start also to build cm from his base ! Thank you very much [MENTION=4223446]Blefish[/MENTION] for your great work :good:
[Miscellaneous Android Development] nightwalkerkg:
Ok, i'll let you guys work on the device tree.

They are releasing sources for M, the whole IO team is in preparation mode to rebase the whole rom and work on M.

I'll stop dev for some time and work on the website and IO-world app, but if you need any help just say!
[Miscellaneous Android Development] desalesouche:
i might have uploaded wrong build. i have notification working but not blinking for now...and charging led is ok.
[Miscellaneous Android Development] bmasgone:
I dont even have compass and gps enabled, how is that possible to you :D

And yup, led not working.. Rotate screen too..

Audio, Call, Mic, WiFi, Mobile Network, Bluetooth, NFC (enabled and Android Beam, but cant test), USB, MTP - all this fine..

Something mess up with time zone sync, after every reboot year 1970, on first boot too :D

Keep going .. May be all developers should work in a team and could make from this device tree .. issue free build :good::fingers-crossed:

I hope the next test build will be RC : ))) Dont hurry up ..
[Miscellaneous Android Development] desalesouche:
adding gps same as your device tree will work. i already tested. you will have some change to do about mtp and usb to make it work. adding usb permissions: android.hardware.usb.accessory.xml and android.hardware.usb.host.xml

in device .mk you need to make some change like adding

# USB

PRODUCT_PACKAGES += \

com.android.future.usb.accessory

some change in init.qcom.rc and overlay also. plus pushing init.qcom.usb rc and sh.

check boardconfig...
[Miscellaneous Android Development] desalesouche:
cm13.0 out !

https://github.com/CyanogenMod/android/tree/cm-13.0
[Miscellaneous Android Development] bmasgone:
L and M are very close to each other and seems like easy to upgrade, but I`ve noticed that CM needs at least 6 months to release stable channel for newer version of Android.. I hope that with M will be faster as its not massive upgrade like K to L ..
[Miscellaneous Android Development] nightwalkerkg:
It is a massive upgrade like K to L. :D
[Miscellaneous Android Development] bmasgone:
Yup, everybody has a point :good::D

K to L was massive because everything from core to simple visual material look, Dalvik--->ART.. was totally new.

For me L to M is upgrade like CM to CM Bassed ROM. Just ROM optimizations on the same base and some additional features.. Nothing else... ;)
[Miscellaneous Android Development] desalesouche:
Blefish device tree fix

https://github.com/DESHONOR/android_device_huawei_g620s/commits/cm-12.1
[Miscellaneous Android Development] Sh0m1:
I got 6.0 running on my nexus 7, looks pretty much the same like 5.1.1.

There is some new cool stuff like google now on tap, new animations and system UI tuner. I'm sure there are alot more ''under the hood'' changes, too bad there is no SD card slot so I cannot test that new sd+internal merging option.
[Miscellaneous Android Development] nightwalkerkg:
What else needs to be done on his device tree ?
[Miscellaneous Android Development] desalesouche:
fix liblight folder. i will upload it... i got notification light working but not blinking...

add gps from rendang like surdu petru did... rotation

camera and that is about all.. after that we will see what is missing or wrong. :)
[Miscellaneous Android Development] surdu_petru:
Please, do you have 4G/LTE enabled ? Thanks !
[Miscellaneous Android Development] bmasgone:
LTE could be enabled in *#*#4636#*#*

Anyway .. even if enabled missing CM options for VoLTE (enhance voice over LTE) and seems like codec for HD Audio Call also missing ...

Thats may be from CM source, because I saw some options and apps missing ..
[Miscellaneous Android Development] desalesouche:
hi. no 4G/LTE. i have only 2G/3G/H+ my operator is Free in france.

i guess it must be enabled in overlay like for wifi tethering and bluetooth tethering. it seems call recording can be enabled also but idk if it works yet.

About notification not blinking might it be permission problem in init.qcom.rc similar file? i am still working on it and testing some liblight in blindly way... :p may be i get some luck...
[Miscellaneous Android Development] bmasgone:
If LTE is enabled, you`ll have in Settings --> Mobile Network ... standart options to select 4G-3G-2G... Also in Settings-Mobile Network .. should have option Enhance Voice over LTE.. You can also manually scan for LTE network just for testing ..
[Miscellaneous Android Development] desalesouche:
logcat of Blefish build

i just took out some errors i noticed and things that might be enabled on Blefish kernel and fixed in device tree.

http://pastebin.com/qbYWcEtg

edit: i could enable LTE
[Miscellaneous Android Development] Sh0m1:
[MENTION=2335078]surdu_petru[/MENTION]

Are you planing to release a new build with fixed sensors soon?

Proximity is not working and it can be quite annoying :D

Also I sometimes get random soft reboots which did not happen on the previous build.
[Miscellaneous Android Development] desalesouche:
led

[MENTION=2335078]surdu_petru[/MENTION]

Blefish told me leds-qpnp.c is the driver.

do you have any clue?

regards
[Miscellaneous Android Development] surdu_petru:
Thanks, not yet ... but I'll try to check :o
[Miscellaneous Android Development] desalesouche:
hi here is a little test about cm when led notification is ok but not blinking and no possibility to set color in notification.

http://www.mediafire.com/download/bxa2p3m319mnn1q/cm-12.1-20151007-LITEtest-g620s.zip

some more update in it. i am adding gps right now.

Blefish told me that device tree and kernel might need some change about notification led.
[Miscellaneous Android Development] surdu_petru:
I tried to check NFC with Galaxy S5 , and for me ( device back to back ) doesn't seems to work .

Please, is there anyone here who managed a connection with another device NFC ?

Thanks !

If NFC will not work , I'll continue work on [MENTION=5091734]dianlujitao[/MENTION] "device-tree" , because camera cannot be enabled, at least for now on [MENTION=4223446]Blefish[/MENTION] "device tree" .
[Miscellaneous Android Development] mparus:
Up

Can try this rom on G7-L01?
[Miscellaneous Android Development] bmasgone:
Seems like [MENTION=5091734]dianlujitao[/MENTION] himself dont belive in his device-tree and waiting for official sources. He didnt update even offical issue-list in CM to mention that audio is almost destroyed, compass is not working, mic, recording, battery lasts almost twice less than stock and some other issues .. When you talk about camera, in dian build its working but with times worse quality than stock one.. Or.. may be he gave up just from G620s-L01 and support only Honors, because there is not a single change (except youtube issue that you fix) for our device .. from Unofficial Beta 2 of him ..

[MENTION=4479868]desalesouche[/MENTION] when [MENTION=4223446]Blefish[/MENTION] is comming back, may be will be more easy for him to fix the device-tree .. Seems like his project has a lot potential as he use open drivers and libs .. and once its issue-free .. will be easy to upgdrade any CM or Android version I think .. will be "Huawei independed" :D
[Miscellaneous Android Development] desalesouche:
you're right..developping need a lot of courage and skills, you don't have to count your hours spent on pc.. debugging and all that stuff. This is the third device (g620s) that Blefish is developping for... he always managed to get everything working.. infortunatley that time he receved the device only 2 weeks before going to army...

he manage to make all working good on huawei u8800pro and also on huawei honor(u8860) .

SO i guess when he will have more time he will come back to finish all development concerning g620s. and will make all work.

what a shame that dian didn't try to fix Blefish device tree, he just forked nfc open source folder from Blefish...

infortunately rendang blobs are not good (except gps blobs)with Blefish device tree..

we just have to be patient... may be huawei will release lollipop source for our device? i doubt... i prefer to count on [MENTION=4223446]Blefish[/MENTION] .
[Miscellaneous Android Development] bmasgone:
Not for our device, for Honor 4X which is almost the same.. The official Lollipop for this device is pushing on 20th October and may be few months later.. the sources..

Seems like [MENTION=4223446]Blefish[/MENTION] wont be "on line" soon :D This is what I found about military service in Estonia:

:silly::)
[Miscellaneous Android Development] desalesouche:
i think he will have "soon" in 2 or 3 months some free week-end. you can be sure he will work on his device tree during his free time.
[MENTION=2335078]surdu_petru[/MENTION]

about nfc logcat is telling : W/PackageManager( 828): Library not found: /system/framework/com.android.nfc_extras.jar

may be just this is missing ?

about camera Blefish told me that : some days ago : " Had to use stock kernel camera drivers for now, made some progress but crashing right now (front cam libs were missing still).

SO i guess you might be able to fix it but not with rendang blobs..
[Miscellaneous Android Development] nightwalkerkg:
Try this for NFC :

https://github.com/DESHONOR/android_device_huawei_g620s/blob/cm-12.1/device.mk#L104

Replace the : com.android.qcom.nfc_extras for com.android.nfc_extras
[Miscellaneous Android Development] desalesouche:
aboult lights notification

in ueventd.qcom.rc

# led

/sys/devices/soc.0/78b5000.i2c/i2c-1/1-0045/leds/red blink 0660 input system

/sys/devices/soc.0/78b5000.i2c/i2c-1/1-0045/leds/green blink 0660 input system

/sys/devices/soc.0/78b5000.i2c/i2c-1/1-0045/leds/blue blink 0660 input system

shell@g620s:/sys/devices/soc.0 $ ls

7864900.sdhci

7884000.qcom,sps-dma

78b0000.serial

78b6000.i2c

78b7000.spi

78b8000.i2c

78b9000.i2c

78ba000.i2c

78c4000.qcom,usbbam

78d9000.usb

so it seems that 78B5000.i2c is missing...

what to do? can we bring this back? is that why lights otification can't blink? and that we can't set colors? what to do in kernel?
[Miscellaneous Android Development] SamuEDL:
Kernel source android 5, think that it is for huawei 4x play

http://consumer.huawei.com/cn/support/downloads/detail/index.htm?id=54504
[Miscellaneous Android Development] bmasgone:
Yes, it is.. :good:

Here is MEGA Mirror for better download speed..
[Miscellaneous Android Development] Sh0m1:
4 play is the chinese variant of our phone, right?
[Miscellaneous Android Development] bmasgone:
Yes it is, but Honor 4x is almost the same - HERE IS comparison..

4X has bigger display and battery and better camera ..

4X Kernel is okey for G620s-L01 developers ))
[Miscellaneous Android Development] surdu_petru:
I remember that I looked a few weeks ago into stock Huawei KitKat , and into : sys/devices/soc.0 $ ls -l , I didn't saw 78B5000.i2c/../blink !

In effect, I didn't saw any "blink" regarding leds ! - it seems that Huawei did not use "blink" for enable notification lights.
[Miscellaneous Android Development] nightwalkerkg:
What is the problem with the notification light fix surdu did ?

Works fine for me, it's blinking, i can switch the colors, what more do you guys need ? :P
[Miscellaneous Android Development] desalesouche:
i just would like to use open source liblight.
[Miscellaneous Android Development] surdu_petru:
Nothing, but [MENTION=4479868]desalesouche[/MENTION] trying to find a way to build from open source lights hal .

Edit :

Ehhh , we just responding at the same time :D :D :D , didn't saw your post before ...:D
[Miscellaneous Android Development] SamuEDL:
In the source code of lollipop of the honor 4x this one the chip nfc (qca199x)

[IMG="nfc"]http://oi57.tinypic.com/2nlh5ia.jpg[/IMG]

I am grateful to

bumperiano

, for looking at it.

Edit: Second Image:

[IMG="NFC2"]http://oi58.tinypic.com/ea16hj.jpg[/IMG]

[IMG="nfc3"]http://oi61.tinypic.com/5exq4l.jpg[/IMG]
[Miscellaneous Android Development] desalesouche:
hey new kernel "lollipop" for honor 4x is booting just fine! compiled with Blefish device tree. wifi, ok, ril ok , browsing ok... i used msm8916-perf_defconfig sound is quite ok. may be with that kernel you can fix many things now. :laugh: will upload little test : http://www.mediafire.com/download/u679emo9l4l7p57/cm-12.1-20151009-cherrywifi-g620s.zip
[Miscellaneous Android Development] bmasgone:
I`m not at home to test right now ..Is it all build at Huawei 4x Lollipop Kernel? What should work and what souldnt in this build .. :confused:
[Miscellaneous Android Development] desalesouche:
i made a build from blefish device tree with new 4xlollipop kernel rotation is not ok, camera is not present nor gps. wifi ok ril, ok call recording should work, i added audio effect conf file.

tethering is ok.
[Miscellaneous Android Development] surdu_petru:
Please, where you found the kernel? ? (kernel lollipop for Honor 4x ) . Thanks !
[Miscellaneous Android Development] bmasgone:
HERE from Huawei China official..

And HERE I provide MEGA mirror for better download speed.. :good:
[Miscellaneous Android Development] surdu_petru:
Hello !

Thank you very much for your feedback !

I just inastalled on clean ( wipe all on TWRP apart : Inernal & External storage ) and I have no issue related ROOT access or video recording .

First, you must enable ROOT into Settings -> Developer options -> Root access -> Apps and ADB , I hope this will help you :o

Best regards !
[Miscellaneous Android Development] Sh0m1:
I will flash the rom again tomorrow and try it again, had to go back to custom emui 3.0 because of that incoming call bug.

Also, the wifi seems to have much shorter range than on other roms, I guess it's a driver related issue.
[Miscellaneous Android Development] surdu_petru:
Yep, I already noticed the incoming call bug ... anyway thanks again for your test !

As about logcat, I have this device and I can take it on my own - I'll keep working every day in my spare time, I hope to solve the issues, in the near future.

Best regards !
[Miscellaneous Android Development] nightwalkerkg:
Great work!

If you need any help just tell me, i can't test because i didn't unlock the bootloader yet, so i want to see how it behaves before i unlock it.

But i am able to compile, i just need some logcats.
[Miscellaneous Android Development] surdu_petru:
New update soon !

Hello !

Greet news here :D I just managed to enable H/W Video Decoder , so for now video working well ... not yet tested YouTube cause I have not installed Gapps .

The less good now, it is that video taken with the camera, still can not be decoded :crying: - should be cause we use right now camera blobs compiled on KitKat ( maybe .. ) - anyway I'm going to fix this soon .

Best regards !
[Miscellaneous Android Development] Sh0m1:
Try using sw decoder in mx player

I could play a video taken with focal app.

Unless you mean HW decoding of recorded video of course.
[Miscellaneous Android Development] surdu_petru:
Yep, I know what you mean , but now I can see all my video from my sdcard into Gallery .

I know was only a Video issue because H/W Video decoder is working ,but you cannot see anything ...
[Miscellaneous Android Development] Sh0m1:
Gallery gave me black video too, however i already used sw decoder in mxplayer on some of my previous phones when i was testing ROMs so I didn't care that much. However i believe that the incoming calls and mobile data issues are much more groundbreaking, and I guess they will take more time to fix. I very much appreciate your work on this ROM, since we will probably never get an official lollipop update from Huawei.
[Miscellaneous Android Development] ljukigrobar:
cm12.1

When a new upgrade for cm12.1
[Miscellaneous Android Development] Sh0m1:
Be patient man, the first rule of XDA is: ''No ETAs''. I'm sure the developer will upload a new build as soon as he fixes the critical bugs, but for now we just have to wait.
[Miscellaneous Android Development] ljukigrobar:
sve te greske su ispravljene u ovo romu, jedino kamera i radio ne radi , stoga ne vidim cemu odugovlacenje.

http://xdaforums.com/android/develo...enmod-12-1-t3149327/post61831486#post61831486
[Miscellaneous Android Development] Sh0m1:
Radi kamera, i zasad je sredio samo ovo hardversko reprodukovanje videa. I dalje wifi ima probleme, NFC i mobilni internet ne rade itd.

Sorry for non-english posts :D
[Miscellaneous Android Development] bmasgone:
[MENTION=228049]serd[/MENTION]u,

Congrats for your work. Please take attention of CM11 bugs when you build CM12.1 - there isnt even one CM11 built with workable compass; Operator names; Continues autofocus in videos (when shooting video and the object is close - camera focus on it, and when the object is far - camera refocus again ..).

And if its possible, make OOB HD Voice (WB-AMR). My operator support it and the diference is huge between talking with HD Voice and regular call.

I see that you and the team done huge thing, but may be we`ll have stable CM12.1 when Huawei release Lollipop for G7 who has the same hardware as our G620s. As I read, the official release for G7 is coming soon. May be will be easyer for you when you have the base.

You can try to get in your team some guy form russian forum 4pda. They are "crazy developers" and there isnt impossible things for them. I`ve got for mine Huawei Ascend P1 CM12.1 for over 5 months buld by russians in 4pda. Just think how is this possible, to build CM12.1 with this 2012 hardware and JB sources .. So will be good idea to get in touch with somebody from that forum :good:
[Miscellaneous Android Development] Sh0m1:
^ Agreed, 4pda guys are beasts :D
[Miscellaneous Android Development] PrinceEndymion88:
hi, can you add "double tap to unlock" feature? In the huawei ascend g7 this feature is enabled! so maybe you can try to add it =)
[Miscellaneous Android Development] surdu_petru:
Hello !

Thank you very much for your interest :)

Sorry, but for me, I think it is a waste of time to keep working on CM11, considering that Android M will appear shortly ... So the priority at the moment is CM12.1, where indeed I'll try to solve almost all problems possible .

I admit that into "russians 4pda" are great developers, but for moment I'm in contact with a very good developer dianlujitao !

In the past I was almost the only original developer for Huawei Ascend P6 here on XDA and I did not see anything new from "4pda" developers - apart custom rom/recovery based on my work !

But nobody knows, maybe in future I'll collaborate with someone from there ;)

Best regards !
[Miscellaneous Android Development] Sh0m1:
Any progress on mobile data and incoming call issues?

Thanks :)
[Miscellaneous Android Development] surdu_petru:
I'm not sure that this feature is a viable option for our device, given the fairly modest battery capacity

To be honest, I had a few days in which I didn't worked on this device, due to limited free time ...

On the next update , they will not be solved, because as I said will fix video playback issues.
[Miscellaneous Android Development] PrinceEndymion88:
I have an huawei ascend G7 and this feature is present into the stock rom! So it would be great if you'll implement it in your cm12.1! 'cause our G7 has a 5.5 screen =(
[Miscellaneous Android Development] Sh0m1:
Understood.

Btw the double touch to wake is a kernel feature, i used it on my nexus 7 with elementalX kernel, it's not ROM specific.
[Miscellaneous Android Development] desalesouche:
could you test build?
[Miscellaneous Android Development] surdu_petru:
Ok, thanks ... I asked because this is for 4X Play , and [MENTION=4479868]desalesouche[/MENTION] say :

:confused:
[Miscellaneous Android Development] desalesouche:
i made mistake, i am tired. too much compilation :o

edit: and i am not sure i could even compile the new kernel. sorry all i think i made a mistake once again.
[Miscellaneous Android Development] bmasgone:
I'm going back to home on Sunday. I can test any build than))) Just upload it and tell me what to test especially and take attention on it.. :good:
[Miscellaneous Android Development] Sh0m1:
Hey guys, I was just wondering, if they release the EMUI 3.1 firmware for honor 4 play, could we use it on our devices since it is the same phone, just a different name?

EDIT:

Nevermind, i just saw that this is the kernel source for Huawei Glory Play 4X, which is the same as G7 and not G620S :D
[Miscellaneous Android Development] surdu_petru:
Please, I would like to take a look - you know a link to download ? Thanks !
[Miscellaneous Android Development] Sh0m1:
I was referring to the link posted above that you've already seen. I thought that it was the kernel for Honor 4 Play(G620s) but it's actually for Honor Glory Play 4X(Honor 4X).
[Miscellaneous Android Development] desalesouche:
zram...

Enable multi-stream support for ZRAM

* Dramatically increases performance and reduces power consumption.

https://github.com/CyanogenMod/andr...mmit/7ef39b41d6a3d0ef1558f37c50af6928e3cfc861

edit :

Enable DPM feature to reduce LTE power consumption

https://github.com/CyanogenMod/andr...mmit/3c9ed7c55e9a67c3d220a7a60d1b92d48f8a6e36

https://github.com/CyanogenMod/andr...mmit/a08beed43c21edf982752f9f3e5c33c218ac7dcd

something that might be tested ?!
[Miscellaneous Android Development] bmasgone:
I think that this kind of optimization is urgently needed, but doubt it is possible with [MENTION=5091734]dianlujitao[/MENTION] sources. I take a look in his github and he says that dont have time for our device ... There is something very wrong with his sources, but I dont know what.. See here my screen on time - usually 6 .. 6 and a half hours.. With dian bassed builds I`ve never had more than 3 or 3:30 hours.. In this screenshot I use B266 javix Stock Based Build with 100% of the time turned on - Data, 4G-3G-2G, GPS, WiFi, Gmail, Facebook, Messenger, Skype, Voxox and some more backgroud syncing services that I`ve never turned off.. Memory management is better too..

Just only my opinion, I dont want to offend anyone...

Until [MENTION=4223446]Blefish[/MENTION] is came back to finish his work, I think that developers just have to left dian sources as seems like there isnt more potential in them - for over a month nobody can fix any of beta`s issues - audio, mic, battery and .. you know there is some other major issues which make the builds unusable for dayli usage ... anyway .. it is already mention that is nightly..

So I think you could try to make whole new build bassed on official Huawei sources for Honor 4x .. if its possible at all.

I see a lot of CM bassed bulds like - IninitiveOS, Mokee, XenonHD.. but as I know that they are bassed on dian sources and have all of CM official issues, I dont even try them ..

And again, I dont want do offend anyone, because I know how much work is done until now!
[Miscellaneous Android Development] desalesouche:
isn't that look crazy? from open souce sensors... with blefish device tree. Let's keep faith and hope guys...

need you to check if all is good, i have still no rotation. will upload the rom = done.

Please tell me if at least one sensor works? thanks all.

http://www.mediafire.com/download/wienwqg87objjhq/cm-12.1-20151011-sensoru8860-g620s.zip