yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] surdu_petru:
Kernel update from CAF : December 31, 2015 !

Hello !

New update for my Marshmallow kernel from CAF to : December 31, 2015 LA.BR.1.2.7-00110-8x16.0 Android 06.00.01 !

Please check my github, android_kernel_huawei_msm8916-caf branch 6.0.1 to see the latest news ;)

There is a new kernel ONLY for this CM-13.0 Rom !

Increase stability for wifi, because include new Prima Wlan Driver - from CAF ;)

Download new kernel update : LA.BR.1.2.7-00110-8x16.0.zip md5 : b921ade6c038c6a200275e9aa059b25c

Please flash in TWRP, no wipe require ! Enjoy :o

Best regards !
[Miscellaneous Android Development] surdu_petru:
Test kernel 6.0.1 !

Hello !

Because there are some devices that fail to boot on the new kernel ( 6.0.1 ), I made a small update here !

Changelog !

Downloads : kernel_6.0.1_test01.zip md5 : d3659cdd328a79b6593546659c1e74d7

Install on TWRP like usually, no wipe required !

Should be flashed ONLY on this ROM !

Try to restart the device, if on the first attempt does not boot !

Best regards !
[Miscellaneous Android Development] custon3:
surdu good afternoon! if you need someone to try the new construction Kionix accelerometer, I offer myself to try and report the performance, without compromise.
[Miscellaneous Android Development] surdu_petru:
Thanks, I'll let you to know when I'll start working on Kionix accelerometer !

Right now, trying to figure out why some devices , not boot on this new rom cm-13.0 . I'll release a new test rom + kernel in a few hours .
[Miscellaneous Android Development] custon3:
OK !! Thanks for your great work !!
[Miscellaneous Android Development] surdu_petru:
Hello !

There is a new test rom cm-13.0 , builded from my new "device tree" & kernel 6.0.1 CAF !

Downloads : cm-13.0-20160105-UNOFFICIAL-g620s.zip md5 : fffd07f08fd8519316555cfd8cce4bfb

I hope to work on all devices G620S !

If you can boot on this cm-13.0 rom, than you should not install this test version .

In this rom were removed some settings/configurations - If your device boot fine , I'll update my github in accordance with these changes.

Best regards !
[Miscellaneous Android Development] dianlujitao:
Hello

I just did initial changes to device&vendor, available here: http://review.cyanogenmod.org/#/q/s...e_huawei_cherry+branch:cm-13.0+topic:cherry-M

https://github.com/dianlujitao/android_kernel_huawei_msm8916/tree/cm-13.0

https://github.com/dianlujitao/proprietary_vendor_huawei/tree/cm-13.0

Not buildable&bootable at this time, but I'll keep them up-to-date

I'd like to keep it compatible with at lease both c8817d and g620s, and maybe others in the future
[Miscellaneous Android Development] Piraze91:
Same problem as before, sorry i don't know how to make a "logcat". I tried every wipe, your new test kernels but my phone does not boot. Your 20151206 version boot propely.

Dont know if it's the file i linked :rolleyes:
[Miscellaneous Android Development] nightwalkerkg:
Same thing for me, i am also unable to boot. Same issue as before. Right after the boot logo, it just boots to black screen with the blue notification light. Adb doesn't detect the phone.
[Miscellaneous Android Development] surdu_petru:
Ok, thanks for info !

But, did you try to reset the device ( by pressing Power button about 10 sec ) - I remember now that I had the same problem before, but only once - and was solved by pressing 10 sec Power button - device restarted and successfully booted .

Normally the only reason he does not want to boot, would control panel (LCD panel) - and right now I will make a new test kernel with stock configuration Huawei - normally this kernel should boot successfully!

If your device still not boot, I will wait a little bit , to see how many devices are not able to boot - because it seems that most devices do not have this issue .

Best regards !

Edit :

New test : kernel_6.0.1_test02.zip md5 : a977fa3a289709ce7f92574766f42cc2

If this do not work, I really don't know for the moment, where can be the issue !
[Miscellaneous Android Development] nightwalkerkg:
I'll give it a go.

EDIT: Nope, still not booting. I'll try with the first ROM zip you uploaded. I had adb debugging with it.

EDIT 2: @surdu_petru managed to grab a kmsg : http://pastebin.ca/3319994

EDIT 3 :

<5>[1, init][ 5.003653] type=1400 audit(90183.519:4): avc: denied { mount } for pid=1 comm="init" name="/" dev="functionfs" ino=8214 scontext=u:r:kernel:s0 tcontext=u:object_r:unlabeled:s0 tclass=filesystem
[Miscellaneous Android Development] surdu_petru:
Ok, but this is from a older kernel, and not from currently 6.0.1 !

You should have nothing related with "huawei" ...
[Miscellaneous Android Development] nightwalkerkg:
I used the first zip you uploaded with the kernel_6.0.1_test02.zip .
[Miscellaneous Android Development] surdu_petru:
Ok, but can you try to flash via fastboot ?

Extract boot.img from zip and flash into bootloader mode : > fastboot flash boot boot.img, or in linux : sudo fastboot flash boot boot.img !

Thanks !
[Miscellaneous Android Development] nightwalkerkg:
Yeah, tried it already. http://hastebin.com/oqizevuxaj.xml Still not booting, here is the kmsg.
[Miscellaneous Android Development] surdu_petru:
Nop, your kmsg is from this kernel : "Linux version 3.10.28-g578af6b (jenkins@wuhcitculx00284) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Fri Oct 31 19:54:35 CST 2014" .... so your kernel is Stock Huawei KitKat , or your kmsg is older !

Please, are you able to boot on this version of cm-13.0 ? - here , kernel is based Huawei implementation ! Thanks !

I think you have some issue, because the device was not updated properly .

First you should install my TWRP 2.8.6.0 , than install my last cm-12.1 and also the new baseband - use this for about 10 min, than install the last cm-13.0 from OP !

Right now you will be able to flash this cm-13.0 rom , I hope everything is okay now !

Please perform a clean install ( data, system, cache & dalvik-cahe ) for each installation .

Good luck !
[Miscellaneous Android Development] nightwalkerkg:
I flashed the new CM13 over my 5.1.1 build. And adb was working, i attached dmesg and logcat. Also that CM13 (cm-13.0 rom) is booting fine. :P
[Miscellaneous Android Development] PrinceEndymion88:
Does it work with g7?

Inviato dal mio G7-L01 utilizzando Tapatalk
[Miscellaneous Android Development] surdu_petru:
Yep, so is working now, ... Why you said it does not work ? :D

Sorry, not yet added .... but will be added soon !
[Miscellaneous Android Development] nightwalkerkg:
Ah, crap. xD Not this one, the older one before the caf trees. cm-13.0-20151206-UNOFFICIAL-g620s
[Miscellaneous Android Development] surdu_petru:
You say :

so ?? is OK or NOT :confused:
[Miscellaneous Android Development] nightwalkerkg:
Nah, i copy/pasted a bad link. :D This one is booting without problems. http://xdaforums.com/showpost.php?p=64174614&postcount=167 The new zips are not booting! http://xdaforums.com/showpost.php?p=64174614&postcount=167
[Miscellaneous Android Development] surdu_petru:
Ok, I'll try tomorrow to find a fix :o
[Miscellaneous Android Development] surdu_petru:
Hello !

Please [MENTION=4804114]nightwalkerkg[/MENTION] & [MENTION=3861894]Piraze91[/MENTION] , I made for you few kernel to test !

kernel_6.0.1_test03.zip md5 : dddcdb7fc8ef9ed94b3de3ac178ca7b6

kernel_6.0.1_test04.zip md5 : f0c972caf10635d219add70cd4a9ed45

kernel_6.0.1_test05.zip md5 : 76083c368de17675cd93a89e3b7b8a08

Good luck !
[Miscellaneous Android Development] bumperiano:
I had the same problem, having previously g7 basaband in my phone, and flash baseband che-l10-20 solved the problem.

Flash gapps at the same time that rom working fine too.

good job

surdu

. :good: *sorry
[Miscellaneous Android Development] nightwalkerkg:
Lol, that actually fixed the issue. Damn, i was sure i had che baseband already flashed. @surdu_petru Sorry man, my bad. I was pretty sure i flashed with my 5.1.1 rom. :(

EDIT : I also noticed that we are missing some vendor libs.

[LEFT]01-02 15:20:46.623 616 3723 E WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found

16 E HAL : load: module=/vendor/lib/hw/flp.default.so 01-02 15:20:46.831 616 616 E HAL : dlopen failed: library "libflp.so" not found[/LEFT]

:
[Miscellaneous Android Development] nightwalkerkg:
What i noticed so far is that some apps show : Your device isn't compatible with this version.

When i play a song, sometimes, sound goes to max for a fraction of a second.

Battery drain is not so bad, but there is a bit of drain.

Battery Optimisation options turns off as soon as i leave the settings app.

Double tap to wake doesn't work for me.
[Miscellaneous Android Development] surdu_petru:
New test version CM-13.0 !

Hello !

I made a new test build for you , unfortunately Camera and NFC still not working !

What's new to previous version ?

* added support for multiple devices : G621, G622, G660S, G760, Y550 & Y635 !

* fix FmRadio !

Downloads : cm-13.0-20160110-UNOFFICIAL-g620s.zip md5 : 05a7e3f679e7f1cc89ee881f9ad8dee4

Assert devices was removed, so it will work on all devices !

Before to flash , you should edit /system/build.prop from archive , in order to fix some stuff regarding to your device :

* for device with 2GB RAM you should edit build.prop with these values !

* for device with 480 x 854 pixels, you should edit : ro.sf.lcd_density=320 to ro.sf.lcd_density=240 !

Best regards !
[Miscellaneous Android Development] hecaex:
Does the Kernel in this build include the focaltech drivers for the touchscreen? And also some other driver from the Y550 and y635? Otherwise it won´t boot. And another question: What sources do you use to build. I saw some general Kernel sources for the msm8916 platform and also the G620s. And the device tree contains with -caf and without it as extension. Thanks in advance.

Sorry, I didn´t read the first post properly. I got all I want thanks anyways.
[Miscellaneous Android Development] surdu_petru:
Yes, Huawei focaltech & synaptics_dsx_hw drivers are not yet included, so there is no tap to wake active !

For all devices, it was already added all proper drivers in order to boot !
[Miscellaneous Android Development] nikos5800:
Do you tell me that the latest build it can boot on huawei y550?

If yes then many thanks
[Miscellaneous Android Development] hecaex:
It may boots. But unless our TWRP doesn't support f2fs, the installation will stuck.
[Miscellaneous Android Development] desalesouche:
ueventd.qcom.rc

It seems there is some weirds "+" symbols in ueventd.qcom.rc.

What about progress with kionix accelerator?

I can see github is not updated after recent change, is that possible you can do it?

Besides sources are not buildable in actual state unlike your cm12.1 sources and your "old cm13.0 sources".

Is that also possible you do something for this also?

thank you.
[Miscellaneous Android Development] surdu_petru:
Hello !

Not yet started to debug "kionix accelerator" ... in recent days, I focused on the NFC and Camera ... I made some progress ... but still not working :(

And yes, my source is not yet updated, but you can build successfully cm-13.0 with my new source from CAF - if you cannot build my recently caf source, then it seems that something is wrong in your desktop ( linux dist. ) ! :confused:

Also my github will be updated soon !

Best regards !
[Miscellaneous Android Development] custon3:
glancing at the development of CM13 saw that they had some sound improvements (CM13-caf-8916), not if be worth for our device ....

http://review.cyanogenmod.org/#/q/cm-13.0-caf-8916
[Miscellaneous Android Development] surdu_petru:
Update "device tree" & kernel msm8916-caf - very soon !

Hello !

I'll start in a few hours to update my "device tree" -caf for cm-13.0 ! Because I need more time to check some issue, kernel msm8916-caf will be updated in a few days ( maybe tomorrow ) ;)

If you have some issue , by building from my source , please let me to know and I'll try to help you !

Best regards !
[Miscellaneous Android Development] desalesouche:
i did a build today, no problem to compile and get booting rom.

only missing update to github :silly:
[Miscellaneous Android Development] Nonta72:
Hi

I flashed on Y635-L01 but it doesn't boot.

Your CM12.1 build 20150718 boots fine; others also don't boot. :fingers-crossed:
[Miscellaneous Android Development] desalesouche:
rotation working

i have rotation working with old kionix files from stock kernel. :)
[Miscellaneous Android Development] desalesouche:
here is commit you can fork.

https://github.com/G620S-HUAWEI/and...mmit/8eb8306be462203596e23516b00cc8d9e95c3c58

i have to say that you will have to fix sensors folder if possible, or to use the sensors folder i use in my cm13.0 build.

i can upload you sensors folder i use . will do and edit post.
[Miscellaneous Android Development] surdu_petru:
Ok, good to know, but how you tested kionix accel ? do you have a device with this accel to test ?

And about this line into Makefile

"obj-$(CONFIG_SENSORS_KIONIX)	+= kionix_accel.o kionix_acc_monitor.o"

must be :

"obj-$(CONFIG_SENSORS_KIONIX)	+= kionix_accel.o"

- because in your drivers/input/misc/kionix_acc_monitor.c , it start with "#ifdef CONFIG_HUAWEI_DSM" so this file is not builded , in conclusion do not needed ;)
[Miscellaneous Android Development] surdu_petru:
Ok, thanks for info ... I'll try later to fix .
[Miscellaneous Android Development] Nonta72:
Do we need to flash it with a F2FS TWRP ?

Because after bootlogo a black screen comes (lights on but not booting).
[Miscellaneous Android Development] surdu_petru:
Nop , it should works on any TWRP 2.8.6.0 for your device !

My kernel has not f2fs support, and even if kernel has f2fs support, it should boot on any TWRP - it doesn't matter if TWRP has or not, f2fs support - because kernel and TWRP has ext4 support and never was removed in favor of f2fs ;)
[Miscellaneous Android Development] Nonta72:
Thanks for the explanation.

I'm trying to compile a CM12.1 for my Y635 since you will maybe not give full support to it.

Your CM12.1 build 20150718 boots and works fine EXCEPT camera! Using boot.img from that rom also make the latest CM12.1 build BOOT too! but never CM13 (maybe you made some changes in the cm13 kernel that are not compatible with y635).

I have already uploaded source to Github but I'm not sure if it's good, especially the defconfig file.

You can see it here:

https://github.com/Nonta72/android_device_huawei_y635

https://github.com/Nonta72/android_vendor_huawei_y635

https://github.com/Nonta72/android_kernel_huawei_y635

Alternatively, you can help me make a custom kernel that boot cm12.1 and will fix camera issue. This way, we will have at least a fully stable build.
[Miscellaneous Android Development] custon3:
surdu good night! I make a bug report:

1.send screen is not working.

2. The wifi signal is weak.

3 .there to play at the top of the letters to work well (touch).

this is a compilation of comments from various users g620s-l01. thank you !
[Miscellaneous Android Development] dianlujitao:
Where's the working sensors hal from?
[Miscellaneous Android Development] desalesouche:
sorry , i posted on cm12.1 thread instead cm13.0 one.

http://xdaforums.com/showpost.php?p=64796184&postcount=190

it is from surdu cm12.1 sources, i don't know more. and i somehow fixed it with the one from your github
[Miscellaneous Android Development] dianlujitao:
gotcha...
[Miscellaneous Android Development] nikos5800:
Then why I cant install on huawei y550 if doesnt matter if its f2f or ext4 partition?
[Miscellaneous Android Development] Nonta72:
I have compiled the kernel using surdu's source but i'm stuck at huawei logo.

I used this repo https://github.com/surdupetru/android_kernel_huawei_msm8916

All I did was modifying this line # CONFIG_SUPPORT_Y635 Not set by removing the '#' and then replacing 'NOT SET' with '=y'

I have CM12.1 source code (resynced last night, the kernel source have just been synced before mka bootimage).

I attached what I could copy from the terminal (couldn't get all the log).

[MENTION=2335078]surdu_petru[/MENTION]

[MENTION=5091734]dianlujitao[/MENTION]

[MENTION=4479868]desalesouche[/MENTION]
[Miscellaneous Android Development] desalesouche:
arch/arm/boot/dts/y635 might miss some files?
[Miscellaneous Android Development] Nonta72:
Did you mean arch/arm/boot/dts/qcom/y635 ?

Because there's no file or folder in arch/arm/boot/dts with 'y635' tag...
[Miscellaneous Android Development] desalesouche:
yes
[Miscellaneous Android Development] Nonta72:
Looks like...

See attachment: on left contains of qcom folder from stock kernel source code; on the right surdu's kernel.
[MENTION=2335078]surdu_petru[/MENTION] maybe needs to update his source if he wants to support Y635.
[Miscellaneous Android Development] desalesouche:
you can try to do it yourself as you own y635?
[Miscellaneous Android Development] Nonta72:
Yes.

Something is weird with the source btw. I made out a zImage with huawei source (as shipped). Put that zImage inside boot.img alongside the integrated dtb.img but device went into a bootloop. lol
[Miscellaneous Android Development] Nonta72:
Ooops...! I can't fix that. :)

../../../../../../kernel/huawei/y635/drivers/input/misc/kionix_accel.c: In function 'kionix_i2c_write':
../../../../../../kernel/huawei/y635/drivers/input/misc/kionix_accel.c:204:3: error: too many arguments to function 'acceld->kx023_dsm_operation.dump_i2c_status'
acceld->kx023_dsm_operation.dump_i2c_status(acceld,err);
^
../../../../../../kernel/huawei/y635/drivers/input/misc/kionix_accel.c: In function 'kionix_i2c_read':
../../../../../../kernel/huawei/y635/drivers/input/misc/kionix_accel.c:249:3: error: too many arguments to function 'acceld->kx023_dsm_operation.dump_i2c_status'
acceld->kx023_dsm_operation.dump_i2c_status(acceld,err);
^
../../../../../../kernel/huawei/y635/drivers/input/misc/kionix_accel.c: In function 'kionix_accel_report_accel_data':
../../../../../../kernel/huawei/y635/drivers/input/misc/kionix_accel.c:466:2: warning: passing argument 1 of 'acceld->kx023_dsm_operation.check_exception' makes integer from pointer without a cast [enabled by default]
error, forbidden warning: kionix_accel.c:466
make[5]: *** [drivers/input/misc/kionix_accel.o] Error 1
make[4]: *** [drivers/input/misc] Error 2
make[4]: *** Waiting for unfinished jobs....
[Miscellaneous Android Development] dianlujitao:
[MENTION=4479868]desalesouche[/MENTION] [MENTION=2335078]surdu_petru[/MENTION] I just figured out why kionix kx023 accelerometer doesn't work with latest sensors hal.

sensor HAL is updated to process data in 16 bits format, since https://github.com/dianlujitao/plat...mmit/fcfa6d8e1a374d0d3990a9ebe2341be98c2bc7b7

but our out-dated driver isn't updated to fit it.

Currently you can simply revert the commit above to get it work, but I think it's not a "fix" but a "workaround". I think it's necessary to update the kernel driver(kionix_accel..c) to fit the new sensors hal

Edit1: kernel driver update just done, compatible with latest sensors hal: https://github.com/dianlujitao/andr...mmit/e76176dee5278797740a074f144b6a9e2a6e1e38
[Miscellaneous Android Development] desalesouche:
Great find!

Does rotation stop to work after a while for kionix users?

It seems i have the problem. As soon as screen turn off rotation stop to work and it reworks after i reboot the device. we already met that problem i believe when surdu tested G7 sensors libs.

i am doing right now a clean build , cos previous build was not.

Edit: Question: What about 3 instead zero? check attached screenshot.

Edit: all test done on cm12.1 will redo on cm13.0
[Miscellaneous Android Development] dianlujitao:
Got the same issue, need further debugging.

Is "3" working for you?
[Miscellaneous Android Development] desalesouche:
"3" option is a no go.

if you use my sensors folder you have nothing to change in kionix and everything work.

but that is not the good solution.

i think kionix file need to be updated like lis3dh and kxt9j.
[Miscellaneous Android Development] surdu_petru:
Camera enabled !

Hello !

Right now I managed to enable Camera on the new kernel 6.0.1 msm8916-caf :D

Kernel and device tree will be updated on my git, and a new release cm-13.0 will be here soon !

Best regards !
[Miscellaneous Android Development] desalesouche:
Enabling touchscreen for Y635

Touchscreen:

made on cm-12.1 kernel 3.10.49 from surdu github and tested by Y635-L01 user.

https://github.com/desteam/android_...mmit/87babacf9f02a109ff92d70e173f41bdbf3fe40c

https://github.com/desteam/android_...mmit/00b9541f2a2266dd4d85c938624531181119ede1

as there is no mstar touchscreen in caf kernel i added all mstar folder from cm12.1 kernel and i enabled Kconfig and make file, etc...

Adding missing files from Y635 stock 4.4 kernel:

https://github.com/desteam/android_...mmit/78334782ae6873716dc80a11f8231fadb4b3f06a

Audio on Y635:

Like G7 device, Y635 need that to get audio working ... tested on cm12.1.

It might be the same for cm13.0?

https://github.com/desteam/android_...mmit/043469c3f8cf8ec436a00605073120da7cb9f351

and i am not really sure but i think some sensors are not correct if i compare with cm12.1 /y550 stock kernel and Y635... but as i am tired right now i might be wrong...:confused:

i made a cm13.0 build from your latest sources where i added Y635 ts and will upload it for my Y635 testers to see if it boots for him, and if yes , if he has audio and touchscreen working.

---------- Post added at 01:36 AM ---------- Previous post was at 01:09 AM ----------

is there busybox support in your rom?
[Miscellaneous Android Development] Nonta72:
Can you take a look at our poor Y635 camera issue please ?

We have working cm12.1 (recompiled with 3.10.49 kernel) but camera still doesn't work.

I'm running out of ideas.

This thread might interest you if you want to help http://xdaforums.com/android/development/huawei-y635-development-t3294138 . I'm ready for testing :good:
[Miscellaneous Android Development] dianlujitao:
Yes, sth still wrong with the driver.

But I'm hacking on openwrt for my new netgear wndr4300, no time for the phone right now:D
[Miscellaneous Android Development] desalesouche:
cm13.0 have quite big battery drain... :confused::confused:
[Miscellaneous Android Development] surdu_petru:
First, I'll try to fix issues on G620S, because I have this device and I can tested my builds !

Nop, in my builds I have one of the best battery time from all the rom's here for G620S :o
[Miscellaneous Android Development] Nonta72:
okay :o
[Miscellaneous Android Development] LytkinAnton:
About gloves mode, how can it be available from quick/fast settings menu?

By the way, I can help with kernel If you need.

Also I can test firmware at huawei ascend g620s-L01...
[Miscellaneous Android Development] EccTM:
Hey Surdu,

Is there a flashable zip available for your latest build? I'd like to try it on my G620S-L01.

I was going to attempt to build from your sources, is it the *-caf repos on your git? They all say they haven't been updated in 18~ days.

Also, I'm not entirely sure how to add your device/kernel/vendor sources to the CM-13 repo... could you point me in the right direction or provide a rough build-from-source guide? Anywhere I've looked say to use the breakfast command to pull (an official build device?) from the CM repos, but I haven't seen anything about adding external sources. I haven't built CM since CM7 for the Samsung Spica and I'm really out of practice at this :P
[Miscellaneous Android Development] cesarguaro:
Waiting for your updated rom, i have a G7 huawei and wanting CM13 hehehehe thanks for your hard work