yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] desalesouche:
is there something wrong there? can i delete duplicate?

&i2c_0 { /* BLSP1 QUP2 */

akm@c {

compatible = "ak,ak09911";

reg = <0x0c>;

pinctrl-names = "default","sleep";

pinctrl-0 = <&akm_default>;

pinctrl-1 = <&akm_sleep>;

vdd-supply = <&pm8916_l17>;

vio-supply = <&pm8916_l6>;

akm,layout = <0x3>;

akm,gpio_rstn = <&msm_gpio 36 0x0>;

akm,auto-report;

and

&i2c_0 { /* BLSP1 QUP2 */

akm@c {

akm,layout = <0x7>;

thanks
[Miscellaneous Android Development] bmasgone:
Why in the stock rom, there are 5 settings/files for mixer_paths.., but in any CM or CM based have just one? May be this is why the sound is way worse in any CM or CM based build ..

Here is MEGA link for "Mixer_paths" in any stock or stock based rom..

PS: I already tried to replace the one "mixer_path" in CM and Mokee with the five from stock ..and the sound is still destroyed .. May be the sources itself are broken in this way ..
[Miscellaneous Android Development] desalesouche:
netflix

please, anyone know if netflix is working?
[Miscellaneous Android Development] nightwalkerkg:
[MENTION=2335078]surdu_petru[/MENTION] did you test the latest commits ?
[Miscellaneous Android Development] desalesouche:
here is some commits to improve /fix device tree. :D some are done for camera. all that is will be under test. if some more people wanna test. :)

https://github.com/G620S-HUAWEI/android_device_huawei_g620s/commits/cm-12.1

will compile right now with new surdu device tree

Edit: i would like to mention that f2fs can be enabled on cache also, not only data, with little change to fstab.

and it works!

https://github.com/MoKee/android_de...5c66#diff-006d5c075e508f2316cb2cefba5fb85cL45

i adapted commit to fstab format to get ext4 cache and f2fs cache

the only problem i might have detected is that the switch to f2fs might erase all internal sd. not sure if it is that or if i did something wrong
[Miscellaneous Android Development] nightwalkerkg:
Cool, nice work, report how it goes.

It is supposed to be like that, changing partition types always formats.
[Miscellaneous Android Development] desalesouche:
the "problem" is that Surdu device tree have no init.target.rc so it must be adapted to fstab instead even if it is present in init.qcom.rc, i suppose that is why cache f2fs is working i guess.

i might be wrong, correct me .
[Miscellaneous Android Development] Johnnnnnnnnnny:
Hi,

I have a problem unlocking my phone. I can´t find the correct page on the chinese website to obtain a code. Sldo they haven´t replied to my email yet. (10 days).

Is there other way? Thanks
[Miscellaneous Android Development] bmasgone:
Mine unlock code arrived nearly for two months, so continue to send mails and be patient.. You can check also in htcmania forum. Guys there public new method to unlock the phone, hopefully will work for you too..

Anyway you must know that this is not locking/unlocking thread.. So lets that be the last post..

And about new commits, I think surdu still testing them, may be trying to fix rotation and than he'll post some build. I see a lot of audio changes, hope that surdu found the way to "stock" sound..
[Miscellaneous Android Development] desalesouche:
how-to = http://xdaforums.com/showpost.php?p=60959497&postcount=10

connection with facebook

english web site = https://hwid5.vmall.com/oauth2/port...huawei.com/en/source/plugin/hwlogin/login.php

edit somme commits that might be tested or needed?

https://github.com/xboxfanj/device_oneplus_bacon/commit/4a2a2f640e147d6b5997b0c31b2012b71907ec29

ANT: Enable ANT feature.

https://github.com/xboxfanj/device_oneplus_bacon/commit/e8123cf7bb5746f5d787b8840fe05343b1e44598

ril

https://github.com/xboxfanj/device_oneplus_bacon/commit/62db8f83b17c066bb4d454cbef0813ced0807a01

gps=

https://github.com/xboxfanj/device_oneplus_bacon/commit/24c5ad37b91fe1d3aaa52e3b54bafa4f19d210d2
[Miscellaneous Android Development] desalesouche:
does cm12.1 sources have some problems actually? i have kind of system ui fc with latest build of cm with latest surdu sources.

i am wondering if i should do a fresh repo sync of cm.

Which modem zip would be recommended for latest sources?
[Miscellaneous Android Development] bmasgone:
G7 and Honor 4x will receive also Android M official update... Fu'ing chinese :D Same based phones, but updates just for chinese market.. I think G620s was my last Huawei... if they want to support just chinese market .. lets sells everything in China.. I`m thinking to get away from G620s .. even right now .. I dont need some chinese factories to sell their not supported garbagge to us .... europeans ..
[Miscellaneous Android Development] surdu_petru:
Nop, I have not systemui fc on last update for cm source . Currently I use this modem ( 4xqwt_lp_modem.zip ) without issues .
[Miscellaneous Android Development] desalesouche:
thank you, it must be my sources. cos i have no problem with old build from you or Blefish.

can you confirm this? --- f2fs to cache is working if enabled from fstab as ext4 cache but not from init.qcom

edit: whatever i do, when i flash build done with your latest source + any of the modem zip, i have some force close problem with system ui + blackscreen.

i am using f2fs recovery by dian.

here is what i did installed freshly stock rom then installed recovery.

i did backup of stock rom with dian recovery.

then i did wipe data, system, cache and dalvik-cache

then flashed build+ modem 1 = problem

then flashed build +modem 2 = problem.

anything i did wrong?
[Miscellaneous Android Development] desalesouche:
Add blink support to kernel.

https://github.com/scotthartbti/and...mmit/ca4e3e02f0b332bac95370aee56376954ec64575 :)

USB fastcharge

https://github.com/scotthartbti/and...mmit/b0796dd967925b724bb751c2b82719d54e113ef8 :laugh:

stereo call recording support

https://github.com/scotthartbti/and...mmit/9366d4f45d99d6fe0e5632618c952cd413809909 :D

will test on blefish kernel as for now i have problem with surdu build by me .
[Miscellaneous Android Development] desalesouche:
missing nfc files

I add here the "missing" nfc frameworks file that logcat complain about.

they might be needed or not and might need to be reworked as Blefish did, and explain on his commit:

https://github.com/Blefish/android_...mmit/a911796f94e21650cb6568715a678e59e20c3bd5

EDIT: what if we build some camera libs from sources? Camera still ok?

https://github.com/CyanogenMod/andr...mmit/93ee3799e20ae659d8be6d52a91b4adc53db000b

GPS: Add support for IPV6 in AGPS Interface

https://github.com/CyanogenMod/andr...mmit/c58cd452ffc0dec62eec4c9a72d5996bf756aa0e
[Miscellaneous Android Development] desalesouche:
[MENTION=2335078]surdu_petru[/MENTION] i am testing my latest build with all your latest change.

Congratulation! you fixed rotation. and all sensors it seems. :good:

i flashed no modem and all is fine.no reboot.ril is ok. i made no call, it is too late for now.

Edit: i add here latest build with surdu latest source.

i just made some camera folder update and compiled 2 camera libs from source: libmmcamera_interface.so and libmm-qcamera.so

http://www.mediafire.com/download/7t273xnlkbfk5np/cm-12.1-20151017-surduCAMLIB-g620s.zip

I did following to flash rom : swipe to factory reset, then wipe system, cache and dalvik cache .

then flashed rom, rebooted, all is fine... no need to flash modem...

Is it same for you with that rom?

EDIT 2: I began to work on cm-13.0 so i am pushing some "fix" here:

https://github.com/desteam/android_device_huawei_g620s/commits/cm-13.0

Fix implicit declaration errors= Including string.h and stdlib.h to fix compiler errors
[Miscellaneous Android Development] surdu_petru:
Yep, only compass is not working - the rest of the sensors should working well . NFC also do not work .

I'll release a new build soon ( because on previous build, we have almost all sensors broken after a while ) , than I'll try to fix compass - in a few weeks .
[Miscellaneous Android Development] hecaex:
[MENTION=2335078]surdu_petru[/MENTION]

The Huawei Ascend Y550 has almost the same specs as the G620s. So it should be easy to port CM12.1 to the Y550. I have some experience in building ROMs so far. But I'm not an expert. You may help me with that or I'm keen to be a tester for you when you want to make the ROMs :)

Greets,

hecaex
[Miscellaneous Android Development] ZjemCiKolege:
@up

A good idea :)
[Miscellaneous Android Development] desalesouche:
https://github.com/PatrikKT?tab=repositories

Hi you can try from here, may be you should use kernel from surdu.
[Miscellaneous Android Development] desalesouche:
sensor folder need same kind of fix that gps folder (fix implicit declaration).

May be more sensor file need to be fixed, will edit screenshot if needed. :o

Edit:, check this! related to Compass and Sensors

https://github.com/CyanogenMod/andr...7816ff084662a1c4/drivers/input/misc/mpu6050.c

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

https://github.com/CyanogenMod/andr...8c3bf1e3166fae9/drivers/input/misc/akm09911.c
[Miscellaneous Android Development] desalesouche:
no more modem zip to flash?

[MENTION=2335078]surdu_petru[/MENTION].
[MENTION=4804114]nightwalkerkg[/MENTION]

. Hello, can you check if using this fstab help for flashing rom without to need the help of modem zip?

Just add it in device tree instead the one already there and compile rom then flash wiping system/dalvik cache and cache, but not data!

the rom should boot normally with normal ril etc and no reboot. :) no more modem zip to flash at least for me now.

Please someone can confirm this? :confused:
[Miscellaneous Android Development] nightwalkerkg:
I don't think i'll be good to test this since i had no problems with ril. I am runing a build of ResurectionRemix right now with Uber toolchain and i did a full wipe without the modem installed and it works just fine. :P
[Miscellaneous Android Development] desalesouche:
OK i was asking cos last time surdu_petru told me wich modem he was using ...

did you have a lot of fix to do to compile with that toolchain?
[Miscellaneous Android Development] nightwalkerkg:
Not really. You need to clone the arm-eabi-4.9 and arm-linux-androideabi-4.9 from https://bitbucket.org/UBERTC/ into /prebuilts/gcc/linux-x86/arm/.

And add this to BoardConfig.mk

# Kernel Toolchain
KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/$(HOST_OS)-x86/arm/arm-eabi-4.9/bin
KERNEL_TOOLCHAIN_PREFIX := arm-eabi-

# Rom Toolchain
TARGET_GCC_VERSION_EXP := 4.9

I am trying to learn about the kernels as much as possible. :| I think we can get much more performance out of this device on L roms.
[Miscellaneous Android Development] desalesouche:
Build ANT+ support

Thank you will test. Many commits can be done to update kernel and improve it . [MENTION=2335078]surdu_petru[/MENTION]

Device tree might be missing that commit i saw:

https://github.com/CyanogenMod/andr...14da#diff-91ad75bdf3c564227cac57e3aa7a261aR42
[Miscellaneous Android Development] surdu_petru:
Nop, is not missing into my "device tree" , please take a look here , I have already this :

# ANT+ stack
PRODUCT_PACKAGES += \
AntHalService \
libantradio \
antradio_app \
com.dsi.ant.antradio_library

Please, let me to clarify some stuff about modem flash :

First, if you already install a modem , this operation do not require to be re-installed , because it was saved from the first time into modem partition ... so it doesn't matter what rom you'll flash in the future - the modem will be the same with the last modem installed into your device .

On my CM12.1 , you'll have Dialer issue with stock G620S-L01 modem - so if you do not have any issue with Dialer when you test my rom, it means that you do not have stock modem in your device.

But if you use a rom based on [MENTION=4223446]Blefish[/MENTION] "device tree" - than , you can use stock modem from G620S ! ( beacuse there will be no issue related Dialer ! )

I hope you understand me, if it was something unclear .
[Miscellaneous Android Development] surdu_petru:
New Update !

Hello !

New update to fix sensors , ( unfortunately, apart compass ) !

This build must be working well on : G620S, Honor 4/4X & G7 !

Change-log :

update to the latest CM 12.1 source code

enable DPM & CNE feature to reduce LTE power consumption

all sensors must be fixed apart compass

NFC not yet enabled

Downloads :

cm-12.1-20151020-UNOFFICIAL-g620s.zip md5 : 06f6b7f0be3ffcc2f2940b1a977a3d49

Recommended modem : 4xqwt_lp_modem.zip - thanks to [MENTION=5091734]dianlujitao[/MENTION]

( please , install this modem only : if you have Dialer issue, or you install this rom for the first time ! )

Best regards !
[Miscellaneous Android Development] twiggy.xlr4:
thanks so much for your work, I will try it today and see how it feels :D
[Miscellaneous Android Development] twiggy.xlr4:
This ROM works flawless, except for one little thing : sometimes my carrier signal drops for a minute. I flashed the rom clean, following all the instructions exactly. please take a look at this problem. sound, display, wifi, data and everytging else works just fine
[Miscellaneous Android Development] SamuEDL:
Hello, has told me a friend who has a G620s, which has made work the gyroscope, with an adapted rom of the G7. The truth is that it seems to me to be curious, if it was possible to make work in lollipop.

Edit: Gyroscope on G620s :

[IMG="g620s:"]http://oi62.tinypic.com/2ia7w2d.jpg[/IMG]

[IMG="giroscopio"]http://oi62.tinypic.com/2vtbo5z.jpg[/IMG]

[IMG="p"]http://oi62.tinypic.com/2rrqsd2.jpg[/IMG]

gyroscope in action:

[IMG="O_O"]http://oi57.tinypic.com/2m41s8n.jpg[/IMG]

[IMG=":D"]http://oi59.tinypic.com/2qi4w1s.jpg[/IMG]
[Miscellaneous Android Development] PrinceEndymion88:
Does the led work properly?

Inviato dal mio G7-L01 utilizzando Tapatalk
[Miscellaneous Android Development] twiggy.xlr4:
yes, the LED works just fine. does anybody else have a problem with signal loss?
[Miscellaneous Android Development] VdBBc:
How to from this change to this (2nd picture)
[Miscellaneous Android Development] guidud:
On home screen.

Touch menu button.

On the screen you will see an arrow up : touch it

Go to "application screen parameters " disposition change vertical to paged ( or something like that, I use French system language)

That's it !
[Miscellaneous Android Development] VdBBc:
thank you m8
[Miscellaneous Android Development] Latvian:
Anyone else experiences random soft reboots? Had 4 of them since 20/10

Everything else seems fine, even sound recording seems to be fixed, great job Surdu! Really appreciate it!
[Miscellaneous Android Development] nandude:
The September build had some performance issues with my phone (G620S). Has it been improved in the newest build?
[Miscellaneous Android Development] desalesouche:
Gyroscope?

[MENTION=2335078]surdu_petru[/MENTION]:

here is rom zip with gyroscope that talked [MENTION=4197736]mega-samu[/MENTION] in his post:

http://xdaforums.com/showpost.php?p=63415490&postcount=423

Rom: seem to be done for G7

https://mega.nz/#!WpZnlJIb!ocZVlrcxN1B-ixjGrZ8fg7mgQ-l9fGgfuoiWt4Ef73g

So may be that can be ported to G620s? i am not really sure, but we might get some information to create our own open source gyro?

I am not home actually so i can't test/do anything for now.
[Miscellaneous Android Development] VdBBc:
How to do default storage to SD card?
[Miscellaneous Android Development] PrinceEndymion88:
https://mega.nz/#F!vZIBDYoD!9WYMPWnjK0hnSBhewkrrbg I've found this beta of Android 5.1.1 with emui 3.1 for huawei G7-L01 (European version)!

Inviato dal mio G7-L01 utilizzando Tapatalk
[Miscellaneous Android Development] mparus:
I try. Not working gyroscope and nfc.

Wysłane z mojego HUAWEI G760-L01 przy użyciu Tapatalka
[Miscellaneous Android Development] surdu_petru:
Maybe someone can check into chinese site for a kernel source code Lollipop , for G7 ? Thanks !
[Miscellaneous Android Development] SamuEDL:
They have not published it still. Since even it has android 5 in phase beta for the G7.
[Miscellaneous Android Development] desalesouche:
Hi, Can we add IR blaster to our device ? does our device can do that?

Thanks.

Edit: Wondering if we are missing something here ?

https://github.com/CyanogenMod/andr...fda#diff-ec862566fbc4ed15891f12b961f14d9bR172 ?

Edit: Some camera folder fix:

https://android.googlesource.com/pl...+/842d685aa593c35533b607d3c3f6ccd74d801fa3^!/

because we have this:

https://android.googlesource.com/pl...+/513aa7f18cb506cca3c94a5911bf6e5cf822a3a1^!/
[Miscellaneous Android Development] desalesouche:
USB otg

does usb otg is working? if yes how to use? sorry i am noob with this.

i recently bought usb otg cable...

thanks

Edit : [MENTION=2335078]surdu_petru[/MENTION]

needed for swap/zram

https://github.com/desteam/android_...mmit/841a8ffe74f67dfe0522dbcce041f7eb5cc22cb7
[Miscellaneous Android Development] desalesouche:
Gps

if you add init.qcom.post_boot.sh in g620s/prebuilts/etc

and add it to android.mk =

include $(CLEAR_VARS)

LOCAL_MODULE := init.qcom.post_boot.sh

LOCAL_MODULE_TAGS := optional eng

LOCAL_MODULE_CLASS := ETC

LOCAL_SRC_FILES := etc/init.qcom.post_boot.sh

include $(BUILD_PREBUILT)

and also add to g620s.mk=

PRODUCT_PACKAGES += \

init.qcom.bt.sh \

init.qcom.post_boot.sh \

init.qcom.zram.sh

Gps would work really faster... does someone can confirm?
[Miscellaneous Android Development] desalesouche:
cm13.0 kernel fix

http://xdaforums.com/showpost.php?p=63545748&postcount=1714

Edit:cm13.0 compiled! Would it boot? :confused:

edit2: not booting may be i have to compile new twrp?
[Miscellaneous Android Development] desalesouche:
I made a cm12.1 build from latest surdu_petru change.

https://github.com/surdupetru/android_device_huawei_g620s/commits/cm-12.1

I added audio_amplifier HAL from https://github.com/CyanogenMod/andr...mmit/5ed83ba1e3140e52d2da77ddd46f04eea92044bb

i adapted audio_amplifier HAL to make it work with g620s. not sure i managed

I enabled also swap: swapon_all /fstab.qcom

F2Fs cache and data should be working.

added init.qcom.post_boot.sh. Which should help for faster Gps.

http://www.mediafire.com/download/i3ndz2lcun2igdz/cm-12.1-20151029-UNOFFICIAL-g620s.zip

Please give feed back.
[Miscellaneous Android Development] SamuEDL:
Lengthways, of this week my friend is going to liberate, the emui 3 prepared totally for g620s with the gyroscope working. For if you want to see that it works

Enviado desde mi G620S-L01 mediante Tapatalk
[Miscellaneous Android Development] desalesouche:
impatient to test, does your friend can explain how he make it works?
[Miscellaneous Android Development] desalesouche:
cm12.1 audiopolicy fix

https://github.com/CyanogenMod/andr...mmit/69285646b18c88ae36830537d667e6dd91917fb5
[Miscellaneous Android Development] SamuEDL:
It has made it work because the same gyroscope has that g7, he has said to me. The only thing that huawei had gelded in his rom, in order that it was not working.

Surely this night or morning, already this available.

Enviado desde mi G620S-L01 mediante Tapatalk
[Miscellaneous Android Development] desalesouche:
CM recovery

Compiled cm recovery with charging animation

https://github.com/G620S-HUAWEI/and...mmit/d86643c8448bbc1ee1bea85bc9fc02140a269fd9

i could observe that cm recovery compiled have a little bug with light: i mean that when device is off and you unplug charger, the light stay on...

If someone can help to solve? adb sideload is not working also, all the rest seem fine.

It seems there is no possibility to make a back up..

How to enable?

http://www.mediafire.com/download/8u653935jm9je2o/g620srecovery-cm.img.rar
[Miscellaneous Android Development] nikos5800:
can you port twrp for huawei y550
[Miscellaneous Android Development] desalesouche:
gps: enable XTRA servers for quick A-GPS lock

GPS lock in ~10 seconds versus ~90+ s

https://github.com/sonyxperiadev/device-sony-yukon/commit/8bc1f7f2dc0e66d0cc1b2b909f1d75fcec71af21

set memory parameters for 1GB devices

3.10 kernel needs cmd line declaration of mem

https://github.com/sonyxperiadev/device-sony-yukon/commit/2654beece47d63ee45b0d85dfd4ef543be2554d8

will test both, already compiling :)

Edit: [MENTION=2335078]surdu_petru[/MENTION]

Second commit is preventing kernel to boot...

Hope it is the good build with gps commit.

http://www.mediafire.com/download/tryk8p8tx92pa78/cm-12.1-20151030-GPSXTRA-g620s.zip
[Miscellaneous Android Development] nightwalkerkg:
Just noticed you are working on CM-13.0 and managed to do a build.

I also started to work on it. I can give you a hand. I'll compile the build on the server and see why it's not booting. But i might have an idea.
[Miscellaneous Android Development] SamuEDL:
Here you have the emui 3.0 with gyroscope for g620s. http://www.htcmania.com/showthread.php?t=1091452

Enviado desde mi G620S-L01 mediante Tapatalk
[Miscellaneous Android Development] desalesouche:
ok if you can give me some clue tonite it would be fine, cos tomorow i have to move a few days to work in other town... :laugh:
[Miscellaneous Android Development] surdu_petru:
Yep, I'm also successfully builded cm13, but unfortunately device not boot . Any help is highly appreciated :D Thanks !

Thanks, I'll take a look tomorrow .
[Miscellaneous Android Development] nightwalkerkg:
There are a few commits that need to be added. I queued my build on Jenkins. It should be done in an hour. I'll talk to my team in the morning to see if there is anything else we are missing.
[Miscellaneous Android Development] surdu_petru:
Yep, I already added almost all commits, from other device with unofficially cm13 , but yet perhaps missing some :o .

Edit : kernel was not touched , only ramdisk update to new sdcard 6.0 path ...

I do not think kernel source must be update too much for a successfuly boot, because [MENTION=5091734]dianlujitao[/MENTION] brings Android 6.0 into a device with stock Lollipop kernel ( I think, we need to check/modified only ramdisk and BoardConfig )
[Miscellaneous Android Development] desalesouche:
Can you share commits with us? So i can make a build tonite also. and test.

Thanks
[Miscellaneous Android Development] surdu_petru:
Thanks for your help !

Unfortunately this rom can not help us because it is based on KitKat, and cm_12.1 is based on Lollipop !

At first I thought it's about android Lollipop, emui 3.0 ported from G7 to G620s :o
[Miscellaneous Android Development] desalesouche:
Do you have booting android 6.0 recovery?
[Miscellaneous Android Development] surdu_petru:
Nop, not yet !
[Miscellaneous Android Development] desalesouche:
LCDBLACKLIGHT

rendang: added and optimized automatic brightness display configs

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

rendang: increased brightness in normal lighting

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

i am using that config because i noticed that in light of sunny day it is difficult to see on screen.

I will test that in next days cos 'ill shall be under the sun of deep south of france. :cool:

Edit: Very interesting...

add Android Extension Pack (AEP)

more info: http://developer.android.com/guide/topics/graphics/opengl.html

https://github.com/sonyxperiadev/de...mmit/29566e3b363daef3b370b240a56fb16a2ac71d7d

http://www.frandroid.com/android/de...tension-pack-performances-en-hausse-android-l
[Miscellaneous Android Development] dianlujitao:
I already run cm13 on my z9max, with prebuilt 5.1 kernel.

At least you should pick commits on selinux or set selinux to disabled, or the device won't boot with both enforcing or permissive

I'll stop working on this device, because I can't get the official 5.1 kernel for honor 4x working on my c8817d, and I don't think I can make it without jtag cable.

Also, I don't think I can rebase the official kitkat kernel to a CAF L or M branch without jtag

---------- Post added at 10:31 ---------- Previous post was at 10:26 ----------

Why do you add amplifier? Do you know what it is for?

Our device don't have a tfa9887 chip, so what does the amplifier hal do except breaking things?
[Miscellaneous Android Development] desalesouche:
from what i hear nothing is broken but also nothing is improved.

It was just a test as i do many every day to see if i can fix/improve something.