yashsingh1/xdaforums huggingface dataset:
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] pierino2010:
hello somebody knows if there is in project to add the possibility of power off one sim or another with 2 sim on board ? thanks
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] narangkunal:
The devs just merged a patch for this issue. Apparently, the lower cluster frequency has to be increased since AudioFX couldn't handle it properly at the lower frequencies. I faced the same issue you're facing and I had issues with Spotify streaming too. I've seen that increasing the frequency to 800Mhz has solved this issue and should be fixed in the next weekly.

Anyway, in case of any issues, do provide logs so we can better understand the problem. :o
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] narangkunal:
Please read the first post.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] pierino2010:
Ok sorry
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Pain_Deluxe:
damn i miss the daily nighlys.

Is it possible to get a unoffical build with this Code?

(Yeah i should it build by my self but i am complete out from this theme)

Thanks anyway rom ist fast&stable but that ist the one thing that hold me to use it daily :)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
Update

Audio issues fixed

After some testing (thanks [MENTION=6168201]narangkunal[/MENTION]) and intensive debugging, we chose to increase the idle frequencies a little bit.

The additional power used is very little (we tested), the gain is huge (no more audio cracking when the screen is off)

Wait for the next nightly and be happy :)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] narangkunal:
Excited for the next nightly. :)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] pl_blaze:
Is this CVE-2017-6074 being patched in kiwi's kernel? I don't want to see my kernel as dirty ;D, thanks!

diff --git a/net/dccp/input.c b/net/dccp/input.c
index 14cdafad7..e511ccc74 100644
--- a/net/dccp/input.c
+++ b/net/dccp/input.c
@@ -606,7 +606,8 @@ int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
if (inet_csk(sk)->icsk_af_ops->conn_request(sk,
skb) < 0)
return 1;
-	goto discard;
+	consume_skb(skb);
+	return 0;
}
if (dh->dccph_type == DCCP_PKT_RESET)
goto discard;
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] subaquatic:
[MENTION=5662620]BadDaemon[/MENTION] - latest logs with VPN issue. Note that I was unable to test with root as the VPN checks for root and fails if it finds it. These were also too long to PM.

Thanks!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] pl_blaze:
Yeah i would second that, to have builds more often but be kind to the devs, give them a break :silly:. Be patient, must be patient...!

---------- Post added at 03:41 PM ---------- Previous post was at 03:39 PM ----------

Great job! thanks for finally squashing this audio boog!

With recent changes, builds produce following error:

device/huawei/kiwi/power/power-kiwi.c:133:17: error: use of undeclared identifier 'POWER_HINT_LAUNCH_BOOST'; did you mean 'POWER_HINT_CPU_BOOST'?

this change fixes the compilation issues for me :D

diff --git a/power/power-kiwi.c b/power/power-kiwi.c
index 569daca..bca1fa4 100644
--- a/power/power-kiwi.c
+++ b/power/power-kiwi.c
@@ -130,7 +130,7 @@ int power_hint_override(struct power_module *module __unused, power_hint_t hint,
return HINT_HANDLED;
}

- if (hint == POWER_HINT_LAUNCH_BOOST) {
+ if (hint == POWER_HINT_LAUNCH) {
int duration = LAUNCH_BOOST_DURATION_MS;
int resources[] = { SCHED_BOOST_ON, 0x20F, 0x101, 0x1C00, 0x3E01, 0x4001, 0x4101, 0x4201 };
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
Thanks but was already aware of that (someone owes me donuts for breaking builds ^^) ;)

Patch is up already.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] pl_blaze:
I see, thanks (i guess i should not bother you with changes in this forum...). Oh man, i ate two today ( two too many :D).
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] 11alphamale11:
Wifi Issues

Ive just installed this rom and everything seems to be working fine except wifi. I connect to my wifi network, the connection lasts for about 1 minute then drops and reconnects..drops and reconnects..etc. Could this issue be associated with the lineage kernel and if so, how would I go about fixing this? or if I had to recompile the kernel what specific changes do I need to make? Otherwise how to I rectify this issue? Any feedback would be greatly appreciated. Thank you. I may even want to contribute to the development of this rom to help improve it :) I tried installing other roms with android 6.0.x and there were no wifi issues. However on some roms with Android 6, the navigation bar was not present.

Honor 5X L21
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] narangkunal:
Try providing some logs about the issue.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] jadephyre:
I tried to download the latest version and it always fails after a few megabytes are downloaded. What kind of Hamster is running their servers?

No logs available since i'm downloading it on my PC, not my phone. Hope i'm not the only one with this problem.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] 11alphamale11:
You should see the logs attached. In the screenshot attached, the SSID is Internet _C8. Thanks.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] minicm94123:
This Rom support Cam-L03?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Dead_Dude:
Not exactly off topic, but if the Developers have zero time, they can skip this completely. Just a semi-random question, and some observations, not intended to cause grief to anyone.

If I understand correctly, it is believed the audio issue only occurs during screen off?

Or is the issue the CPU idle is set to drop too low? In other words, if I use an app to lock my cpu speed at max, there shouldn't be any crackling?

I ask for clarification because I have the audio issues with screen on or screen off- any noise can crackle. Local or streaming. I can be running a game pushing the device so hard it gets warm and the audio still crackles. I might misunderstand the issue, but I would like to understand. We can happily take this conversation (it really should be short, maybe just a few lines?) to PM or email. I am genuinely curious and interested in the reasoning. I do not code. I do not program. I do have an Electronics Engineering degree, hence my curiousity. A link to manuals, or exhaustive text would be fine. I will read it all.

Thank you in advance! And Thank You for putting up with us.

EDIT:

So I spent this time looking it up as best I could. I am familiar with buffer under runs... but it never occurred to me the priority of audio has a direct impact on the system. Without understanding much more than I've posted, I can understand a glimmer of what the issue could be... the system isn't diverting enough resources to audio. Is that correct? A simple yes, no, sort of response would be greatly appreciated.

EDIT #2 I'm on Feb22nd build, by the way

So I disabled the device's ability to make a sound that isn't from an app. Went into Settings->Sound and disabled all the unlock, dialpad, charger attached sounds... So far, two whole songs on spotify at extreme quality and no crackles... AudioFX still installed, activated, and equalizing my audio experience! Could it be certain situations activate the audio in an improper way? The device isn't fully awake when audio is activated?

Sorry, I'll stop editing this post. Got my mind on a train...

LAST EDIT I SWEAR! Crackling returned upon next song switching with screen off.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Pain_Deluxe:
Dude crackling Sound is fixxed with next weekly...

Gesendet von meinem KIW-L21 mit Tapatalk
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] e996:
tried to flash c29ae31.diff.zip and it says "could not find META-INF in the zip file"

am i missing something, or just doing this incorrectly?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] maroonmed:
Nice. Appears to work well enough for normal day-to-day use although it seems the hotspot functionality is broken (hotspot status changes to "Error" right after it's switched on.)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] crpalmer:
Merged faster than I expected. Should be fixed in the next build, let me know if you still have problems with a later build.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
Also fixed in next build: https://review.lineageos.org/#/c/154189/ :)

Your rar file is broken it seems. Do a zip please and test if it can be opened. Not sure if I can see something in it, though, but worth a try
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] shadowscesar:
**** my windows got corrupted last night. It was there. I need to recover.. Just give me time for that. Anyway Happy new year Michael :)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] asanan1:
hello , everyone ... now i try to fix Device Model ......

https://github.com/aphisitworachorch/android_device_huawei_kiwi [MENTION=5662620]BadDaemon[/MENTION] ....
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] cdiamond2:
Great work guys! Is OTA enabled or should we check for updates on crpalmer's website?

Отправлено с моего KIW-L21 через Tapatalk
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] adriansticoid:
You fixed the double tap to wake bug?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ultimahwhat:
Looks like for now, nothing is showing up under lineageOS updates on settings, but there is a new build today
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] cdiamond2:
Yeah, no OTA, I see now.

Did anybody notice that call voice volume is lower than in CM13?

Отправлено с моего KIW-L21 через Tapatalk
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ultimahwhat:
Dirty flashed 1-1-17 (happy new year!) build, no showstoppers. Video capture now working for me ðŸ‘ðŸ¼
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Th3_Dark_Knight:
Can't see the advanced restart options after power button long press. Anyone with me here?

I'm on latest 1st January build. And yes, the advanced restart is switched on in developer options.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] MT2-User:
You meant this one? Then yes, I have it.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
I guess you did an upgrade of CM13 and are missing the "restart" option at all? That's an upgrade issue then, go to Settings->Keys->Power key and reactivate the "Reboot menu".

Just to make sure: The advanced menu only appears if the screen is not locked (for security reasons)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Dead_Dude:
Got a dumb question about dirty flashing from last cm13...

Do I flash this, then gapps, or ONLY the ROM?

And do I need the same size of gapps I had before? Logic makes me say I should use the same size gapps (micro on cm13, use micro on lineage)

Might just clean flash, but I'm so damn busy ATM. And I'm itching for some window action.

Thanks in advance!

CRPalmer and everyone else who made this work, you are freaking awesome!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Th3_Dark_Knight:
Got it. Thanks buddy!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
If you don't clean flash and had GApps installed it is neccessary to install it as well. I have not tried other packages but I guess a bigger package could do, a smaller one will cause issues (NOT TESTED)

If you want to make sure, install the same size and install the other apps via Play Store.

Make sure to install GApps BEFORE you boot the first time, else you will have issues...
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] pl_blaze:
Hi folks, Happy New Year 2017!

I wanted to ask about the build sources ( i am an android newbie lol). Have been building the sources for past few days for honor 5x and every time i flash my lineage image, it boot loops, occasionally it will boot but it says no sim found and reboots into boot loop, is there anything special i need to add to my source to have a working build like the snapshot from crpalmer? his builds work great! Any pointers would be welcome. Thank you.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Dafriss:
not the thread to ask here,
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] jadephyre:
I know i'm getting ahead of the basic ROM development, but how are we going to theme in the future? So far I have not found any updates concerning the theme-engine or patches for Substratum.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Athlon007:
The latest ROM update improved SIM Card detection for me - on the last one it took almost 2 minutes to detect my SIM, but now it's doing it instantly. Also tethering bug is fixed for me :)

I'm gonna make full report tomorrow after day of use!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
The diff is not a flashable zip, it's there to download the patch itself (some zipped textfiles) and to apply it to the sourcecode.

Need to wait for the full build, next week
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Saalschlacht:
After every reboot I must set Power mode again...

Access ext-SD is often problematic for different apps...

Version 20170203...

Will now flash the update. But dirty, because I'm not amused to set up my phone completely again...
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
Thanks for the detailed information including everything required... logs, various apps which "are problemtatic with ext-SD"...

Guys, if you are not being helpful, please don't post at all. Just spitting out any problem you have won't magically solve anything. We solve anything we recognize ourselves because we use our phones. For everything else, posts like the one above are useless...
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] narangkunal:
If you searched this that properly, the patch has already been pushed for the audio issue. It's given in the previous page. It will be available in the next nightly.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Dead_Dude:
I saw the patch is coming, I'm curious about the specifics of how audio is handled. Read my first post (not the edits):

I might misunderstand the issue, but I would like to understand. We can happily take this conversation (it really should be short, maybe just a few lines?) to PM or email. I am genuinely curious and interested in the reasoning. I do not code. I do not program. I do have an Electronics Engineering degree, hence my curiousity. A link to manuals, or exhaustive text would be fine. I will read it all.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] narangkunal:
Read this
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] methuselah:
@ stuart32 what harm does full wipe do? except resetting the whole system?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] m0ndul:
[MENTION=5662620]BadDaemon[/MENTION] I was checking the repo and it seems that sdcardfs was merged, so we are finally moving away from FUSE. Should we avoid dirty flashing on the next nightly or we will be safe to do so? Thanks for your time and for your contribution to this project.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
We are using sdcardfs since the beginning of 14.1 pre-official. The merged patches are just stability patches, nothing to worry about. No need to clean flash or wipe or dancing around a camping fire ;) (And note that we would of course tell you this in that case without you having to ask)

Additionally, a few (newer) CVEs were patched and merged (those 3 without the "sdcardfs_update" topic)

Can't look into that right now but as stated: a migration does not neccessarily run well, a wipe might be required.

For the downgrade: Unfortunately (for this case) an error with some database was fixed which prevents a downgrade of that database resulting in the error you receive.

Solution:

Reboot to recovery

Execute those commands:

adb shell find /data -type f -name "callog.db" | xargs rm
adb shell find /data -type f -name "callog_shadow.db" | xargs rm

Reboot and be happy :)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
The problem seems to be related to "verboseLogging" for WiFi. You can try disabling that option in dev options and then upgrade again. (will be easier than a wipe ;) )

There are already 3 patches up to fix the issue behind that. (https://review.lineageos.org/#/c/163572/1 https://review.lineageos.org/#/c/163570/ https://review.lineageos.org/#/c/163573/)

Not sure if the full problem is only that one and the others in the logs are caused by it or if there is more than one problem for you.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] stuart32:
20170222: FATAL EXCEPTION IN SYSTEM PROCESS: WifiP2pService

I guess the problem you refer to is the crashes with 20170222. I'm not sure how to "disable that option in dev options". If it requires rebuilding lineageos I might just wait for a build that includes the three patches that you mention. Thanks for your help.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
Yes, was talking about your actual issue (the one which made you downgrade)

I am quite sure you have enabled the verbose logging in dev-options. Disable them via Settings->Developer options->Networks->Second option (not sure which one it is in english) (the one giving you a picker per SSID-RSSI). This should solve your problem with upgrade 20170222 :)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
Therefore please just post full logs and leave that up to us to see what exactly we need ;)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] stuart32:
20170222: com.cyanogenmod.setupwizard crashing + logs

sorry, of course. I downgraded to 20170213, removed the 2 bad database files and then upgraded to 20170222. Attached is the log of the first boot after the upgrade. I waited until I got bored looking at an almost blank screen. I just replaced my name and all following characters with XYXYXYXY. This time I didn't get the message "Setup Wizard isn't responding", just an almost totally black screen without icons..
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Dead_Dude:
Well, turned on WiFi today and now I'm bootlooping... I had verbose logging enabled... now I cannot figure out how to toggle that back off (since the system never completes boot- when it has, it just loops immediately again)

Anyone know how I could clear the data of System.apk through adb or twrp?

Edit: I never figured it out. But eventually i got lucky and it didn't connect to WiFi before it finished booting and I immediately toggled it off and it bootlooped again. Used BadDaemon's instructions below and eventually hit the sweet spot, got it manually toggled off through adb.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
I think if you are not really debugging smth you shouldnt enable stuff in dev settings

Deleting System.apk data will also not help you in any way, so I will answer the question you meant to ask "is there a way to disable verbose logging during a bootloop?"

You can try:

adb shell settings put global wifi_verbose_logging_enabled 0

when it is displaying the bootanimation. Repeat as long as it displays "error: Device not found" (in a console usually hitting [UP] brings back the last line, [ENTER] sends it again) This might solve the verbose logging issue and make your phone start properly.

If no error occurs, the setting has been applied, can check it via

adb shell settings list global

"wifi_verbose_logging_enabled=0" would be expected then on one of the last lines

If that is not working, returning to the previous build (maybe including the deletion of the two database files, if necessary) and then disabling the verbose wifi logging is the way to go

A fix for the issue is already merged and will be part of next nightly (should be coming tomorrow)

On a side note to everyone:

Builds have been split even over the week (Mon-Fr) now (alphabetically), with kiwi being among the third group, which is Wednesday. Should give a more regular time to look for updates (instead of constantly hitting "refresh" in updater)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Dead_Dude:
I'll keep this short and sweet:

THANK YOU! Adding this to my little black book of android tricks! And a HUUUGE thank you for the lightning fast response! I thought I had fixed it, and it didn't stick. Used your method and eventually got it toggled manually.:laugh::laugh::laugh::highfive::good::D
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] logicalaz:
Hello all. I'm new to posting, but very familiar with processes described in this thread. My issue(s) are, initially I was having the "Error 7" code while trying to install lineage via Twrp3.0.2-0. I overcame this by editing the updater-script file. Outcome Installation success. My current issue is that now I'm stuck in a lineage initial logo boot loop (hope I worded that correctly). I mean its not the end of the world I still have my initial stock back up so I'm not super pressed, but I'm beyond 24 hours with this device. Cyano... I mean lineage was my reason to purchase this device. If at all possible can anyone help me through this issue. I apologize in advance if I was vague in certain relevant information related to my issue. And Thanks in advance.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
So you edited a script which is meant to prevent bootloops and now got a bootloop...

I guess you are on a not supported variant or stock rom (maybe one which supports volte)

Additionally: no logs, no issue...

Sorry if that is hard, but what do you want us to do apart from locking out unsupported stuff, which you didnt care about...
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Preskovitch:
Hi ! Did you manage to solve the problem ? I had the same result. I tested another ROM with same result
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] logicalaz:
Respectfully I appreciate your response BadDaemon. To clarify I used an officially sourced download of "lineage-14.1-20170222-nightly-kiwi-signed.zip". So no my enlightened experienced one, I'm not attempting to use a variant. The purpose of the script edit was to get beyond the error 7 code. I am very aware that this was not my end all be all solution,

but

, I was looking for a possible workaround, to at least see what the fuss was all about. The script edit produced that result. Although my attempted fix was honestly archaic, I've done worse on other devices over the years, with the outcome being the official final product. I.e. amazon kindle fire 2 (otterx). I know the ott er isn't a good example, but its easily recognizable. Also I not totally sure how to get screen shot within this version of TWRP. I definitely would to have posted with them , to avoid all (although warranted) scrutiny. I am by far no guru, but far from a green rookie, except when it comes to this device.

Not to seem haughty or defensive, thank you BadDaemon for any response at all, I hope with your plethora of knowledge, and hopefully your patience, I can work through this Hiccup. Thanks from Jersey U.S.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Plonko:
"Variant" refers to Hardware variants (i.e. KIW-L24 for USA, etc.) Additionally, there are stock firmwares which include VoLTE that are also not compatible.

Given your stated level of experience, I would expect you would have identified why the Error 7 occurred and then researched the issue rather than simply editing the install script. As it stands, you have not provided the information to help even if somebody had to appetite to do so.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Redymix:
In my experience this error can be caused if you have never installed the Marshmallow update from Huawei. Hope this helps.