yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Runner85sx:
Back to cast screen. You need a tv that supports that. I tested screen casting before a few minutes at my local computer over wireless. This is what you will get: and all the pictures (live screen) casted to your computer. Your tv need to support it. Watch your own environment before you give us the fault bro.

---------- Post added at 11:53 PM ---------- Previous post was at 11:17 PM ----------

New builds are online. Try it out and report back. If something goes wrong not only write that **** and this crap is not working. Provide logs and dmesg! And use your brain! If DUAL Sim zip is not working add the needed entries to your build.prop. I have no dual sim device. So i can not prove that this zip file is working as it should.
[Miscellaneous Android Development] krasCGQ:
English translations (from Farsi, I use Google Translate, sorry):

Mass storage Dual SIM WiFi does not work and I was not fully connected field and the only problem is that I scl-u31 brother Before you install the ROM After you complete a full wipes Look WiFi

[MENTION=7584025]Ali Dm[/MENTION]: Next time please use English on XDA.
[Miscellaneous Android Development] Saber5311:
Merci refigh dorst shod

---------- Post added 18-08-2016 at 12:02 AM ---------- Previous post was 17-08-2016 at 11:56 PM ----------
[Miscellaneous Android Development] wyr007:
new build is pretty good but maybe little batery drain ...
[Miscellaneous Android Development] icedzed:
the new build work with a scl-l21 model? thanks for the work!
[Miscellaneous Android Development] Runner85sx:
Yes. It is reported to work.
[Miscellaneous Android Development] icedzed:
thanks! but, the mega link ask for a password, where can i found the updated rom?
[Miscellaneous Android Development] dengregg:
installed it on my scl-l21, but it tells me my sim-card is missing (while it is not)
[Miscellaneous Android Development] milda25:
Use the download section of this thread. There is many answers for this question in this thread :)
[Miscellaneous Android Development] dondo85:
Scl-l01 ,the last build is great ,good batery life ,very smoth ,fast, no bugs seen in my daily use for me .thank you for your hard work

[IMG="battery"]https://static.md/5be14c20e13d9ed7ffab4db6ec1e26ba.png[/IMG]

[IMG="bat2"]https://static.md/ee74cc3127edd1d5f308f9c0708205dd.png[/IMG]
[Miscellaneous Android Development] Runner85sx:
Thanks for your response.
[Miscellaneous Android Development] ShiftFTW:
I do everything fine and keep getting the error "This package is for device: Honor4a,honor4a,Honor4A,honor4,y6,Y6: this device is ."

Anyone know what am i doing wrong?
[Miscellaneous Android Development] Uli73272:
What type of device do you want to flash? SCL-???
[Miscellaneous Android Development] wyr007:
check our forum ,before you ask....
[Miscellaneous Android Development] Runner85sx:
He asked the person with flash problems what type of device he tries to flash.

Do you use the twrp recovery from our download section?

click
[Miscellaneous Android Development] ShiftFTW:
Yeah, i tried it and worked perfectly. Thank you!
[Miscellaneous Android Development] mcmueslie:
Unlock Bootloader Code

Installed ROM on SCL-L21 like described. Everything seems to work fine.

For everyone who wants to get the bootloader unlock code from Huawei, use the chinese website. The English website did not work for me. Try this one (with either your chinese knowledge or auto translate):

emui.huawei.com/plugin/unlock/index

Also, thank you so much for your good work! :good:
[Miscellaneous Android Development] Runner85sx:
It does not depend to cm12.1 But we have a new rom here: http://xdaforums.com/android/software/rom-slimlp-huawei-y6-t3445532
[Miscellaneous Android Development] Ruven03:
Any news about CM13?
[Miscellaneous Android Development] Runner85sx:
No. Nothing new. It won't be released by DestructoSphere or me. If we get no kernelsource guru there is no hope for it.
[Miscellaneous Android Development] jnicaragua:
Hi, im trying to use the kernel to fix the camara but it gives me error, "This is for a Huawei Y6 and your phone is a Honor 4A" ... Its happen with both stock kernel and kernel.
[Miscellaneous Android Development] hmsfg12:
SCL-L04 no Battery or USB

Hi, I am having the same problem on my device (SCL-L04) after flashing the latest ROM. There is a question mark in the battery icon and the phone won't charge. The notification light is also solid red when the screen is on. The battery settings is also missing from the settings menu. Nothing happens to the phone when I connect it to a computer (ie. no "connected as a xxx device" or "usb debugging enabled" notifications on the phone). The computer also does not see the phone. I have tried reflashing, rebooting, and not flashing gapps, but the problem still happens. I tried taking a logcat, but it didn't work (probably because the phone won't realize that it's connected to the computer). Note: This happens on my device for all released versions of this ROM, except the one in the first post.

Thanks for making this ROM!

Update: Reflashing u31stockkernelmodulefix.zip after flashing the new ROM fixed the problem. Thanks!
[Miscellaneous Android Development] DestructoSphere:
Hey guys back with a quick update on my work.

I've been working on the notification leds and have had to write a daemon and app to control blinking and staying on when unplugged and screen off... At least until the kernel gets sorted.

Just need to fix up a couple of strings then will post a flashable zip and installable apk.
[Miscellaneous Android Development] Babbie05:
just a question OP is this working for SCC-U21?
[Miscellaneous Android Development] DestructoSphere:
There are no references in the kernel sources to scc products however it's possible huawei did the usual and renamed them "officially".

Can you please look at your /proc/app_info and tell me what the line that begins with board_id says, for example board_id : MSM8909_SCL_L02_VB
[Miscellaneous Android Development] DestructoSphere:
Your toolchain is not able to parse certain configs.

Try using 4.8 or even a custom one, plenty of guides out there.
[Miscellaneous Android Development] neochapay:
Thanks it`s help me.
[Miscellaneous Android Development] DestructoSphere:
Hey guys here is an update.zip containing what is needed to get led flashing and holding a wakelock for it.

Still won't work with the twrp that does not set ro.product.device.

After installing and rebooting launch the app named ledwakelock and choose your battery drain( aka how long you want the wakelock active) then click apply.

Please back up first in case it goes wrong and please let me know if it works for you.

ledwakelock
[Miscellaneous Android Development] RogerNZ:
SCL102 single sim running SlimRom

Blinking LED notification works beautifully. Great ROM, by the way. Thanks!
[Miscellaneous Android Development] krasCGQ:
Wrong thread LMAO
[Miscellaneous Android Development] milda25:
Tested on SCL-L01 and everything is OK. Thank you for your great work.

Edit: wicked idea - is this update.zip usable for the Slim ROM by the Runner85sx, which has same symptoms with notification LED as CM 12.1? :)
[Miscellaneous Android Development] Runner85sx:
Yes it is. Because it is basicly the same device tree.
[Miscellaneous Android Development] DestructoSphere:
There is a check when you launch the app which looks for cm, you will get a warning but can still use the app. I can change it later today
[Miscellaneous Android Development] dondo85:
I have the scl-l01 and i am on vodafone romania.There is a problem with LTE ,i meen i can not connect to this type of network ;i google it ,this problem ,and i have a temporaly solution: i type in dialer *#*#4636#*#* it opens a hidden menu ,then phone information ,then refresh ,update,turn signal off,turn signal on, and then i have LTE.(in network type i choose LTE/gsm auto prl.)If i reboot my phone i have to take it all again to have LTE.The network works fine no signal dropouts just this LTE issue.Can you find a permanet solution. Thank you for yourk work, i use it as my daily driver, way better than stock.Thank you.
[Miscellaneous Android Development] milda25:
Can you setup in network type value "Global"? It could be help to solve your problem.
[Miscellaneous Android Development] dondo85:
Set to Global the same thing ...thanks Anyway i can live with that ,great room
[Miscellaneous Android Development] Runner85sx:
Changelog for the build cm-12.1-20160828 in downloads section:

updated to latest cm-12.1 source

fixed a bug with voip apps not routing sound correctly

added ledwakelock to source and build

added stock emui gps related config files to get a faster gps fix

removed custom includes

added only custom includes related to audio (libsrsaudio)

Simply do a dirty flash and clean cache+dalvik cache.
[Miscellaneous Android Development] Runner85sx:
Any Bugs or imprtant things to know here?
[Miscellaneous Android Development] dondo85:
I instaled this rom last night,no bugs,it notice that the battery

It last longer than the last build( and that was good)I did a dirty flash Scl-L01
[Miscellaneous Android Development] Runner85sx:
Thanks for your response. Than this is the final cm12.1 build for our y6.
[Miscellaneous Android Development] beatLeo:
Excuse my ignorance but this means that this rom is the official cm 12.1? or how could a rom become official cm?
[Miscellaneous Android Development] krasCGQ:
You may need to read OP title first.
[Miscellaneous Android Development] dondo85:
I thing you did very good at last 2 build,just look at the number of downloads ,you did something great for the y6 owners you give us a great rom ,a stable bug free rom an alternative to stock ,thank you for that, maybe you could update the rom from time to time or maybe other rom project for this device? "Salut "and " respect " from Romania.
[Miscellaneous Android Development] Runner85sx:
Thanks dude. But please remember that it is not only my work. DestructoSphere is the developer. I only built these stuff from source, helped to fix some stuff and repacked the zip files to make it easier for the users.

I'm working at the cm updater app to provide ota's the next time a new build is online.
[Miscellaneous Android Development] dondo85:
I'm working at the cm updater app to provide ota's the next time a new build is online.[/QUOTE]

Thumbs-up for that and for DestructoSphere:highfive:
[Miscellaneous Android Development] DestructoSphere:
Cheers guys, I couldn't have achieved our current final build in this time without [MENTION=4601013]Runner85sx[/MENTION] helping.

I have emailed Huawei (again) requesting the kernel source for our device instead of having to work from a similar devices source so fingers crossed they don't continue breaching the GPL.

I will be writing a guide soon on how to repartition the y6 as a 1.8 gb system partition is not really needed, see the attachments.
[Miscellaneous Android Development] krasCGQ:
So, does it mean that we'll have proper kernel source for Y6?

Because I'm having some problems when trying to build from your TWRP's kernel source; on my dad's SCL-U31, I'm unable to get camera and WiFi work. I realized that when I've released the kernel more than a month ago, so I revert back to stock kernel.
[Miscellaneous Android Development] DestructoSphere:
I hope so, currently with the built kernel camera does not work (the sensors are fine it's handling the info that has problems).

For wifi I think you may have a signature issue or a wrong path. Both stock and built kernels have module signature enforcement enabled as a security feature so only the stock wifi module will work with stock kernel and vice versa. Also ensure that you have /system/lib/modules/wlan.ko symlinked to /system/lib/modules/pronto/pronto_wlan.ko which is where the module should be located.
[Miscellaneous Android Development] Runner85sx:
At this time we are using a custom qcom wifi driver source to get wifi working with a from source compiled kernel.

The camera is still a problem. Our current device tree and kernel source is not released on github yet.

If we get the kernel source from huawei it won't be a problem anymore.
[Miscellaneous Android Development] wyr007:
what is kudkernel? can i try in my scl_l21 on cm12.1?
[Miscellaneous Android Development] joahshipper:
i have a sound problem with the scl-l01 after i flashed this custom rom

when i-m connected to the headphones,the volume is just WAY TOO LOUD,i have to keep it at the middle of the volume sound

and when i-m connected to the headphones and i get a notification,that notification sound just make my ears explode

And when i-m talking with someone in a call, his voice is too loud,even if i set it at the lowest

can someone please help me :crying:
[Miscellaneous Android Development] beatLeo:
is there anything we can do? maybe, we could send several messages to huawei until they realease the kernel.
[Miscellaneous Android Development] krasCGQ:
It's my kernel's name. Too many broken things to try.
[Miscellaneous Android Development] DestructoSphere:
It couldn't hurt and the more people that want it released the better.
[Miscellaneous Android Development] RootingMaster:
Is scl-l04 supported?
[Miscellaneous Android Development] Ruven03:
Everything works just perfect, except Snapchat..Its so laggy
[Miscellaneous Android Development] Runner85sx:
The device huawei_msm8909_scl_l04_va is present inside the kernel tree.

So i think the SCL-L04 is supported.

Make a nandroid and try to flash the rom.

Cheers.
[Miscellaneous Android Development] frumy:
Latest version works like a charm, smoot and fast, thank you!
[Miscellaneous Android Development] Sparkrite:
Ok, I took the plunge and tried to install the latest rom, according to TWRP it installed without error. I had

wiped dalvik and cache before and after install but upon rebooting it just stays on the animated blue face and does

not complete boot up. I have the SCL-L01.

Any ideas anybody?

Thanks in adv	ance.
[Miscellaneous Android Development] neochapay:
How know where RT-TX on board ?
[Miscellaneous Android Development] Runner85sx:
The first bootup will take some time (minutes) if you changed from an older cm12.1 build to the new one. Stock data is not compatible with cm12.1.

What exactly do you mean please?
[Miscellaneous Android Development] neochapay:
I need UART
[Miscellaneous Android Development] Runner85sx:
I don't think that so much people tried this out yet. But after reading some stuff i think jtag would be possible. I did not opened my device yet because i'm able to return to stock and lock the bootloader again.
[Miscellaneous Android Development] xiaowei441935839:
Very grateful, but found three functions can not be used.

1, restore the factory can not format the internal memory

2, the application storage to sd card, not actually move

3, LTE can not be set separately
[Miscellaneous Android Development] Dawidus520:
1. Use TWRP to force factory reset (Wipe -> Factory Reset), and then go to advanced wipe and check only Internal Memory, to make sure that internal memory was wiped (Wipe -> Advanced Wipe -> Select Internal Memory).

2. Try using Link2SD to move apps.

3. Try using LTEOnly app, or any app that forces network modes.
[Miscellaneous Android Development] xiaowei441935839:
Thank Dawidus520

1, ok

2, personal-apps-app info-move to sd card, but the store did not move.

3, open sim1 as lte, sim2 becomes lte, close sim1, sim2 also closed.

Thank you for your help
[Miscellaneous Android Development] Dawidus520:
Ouch, I have SingleSim version so idk about that bug. Honestly I don't use DualSim phones so I can't say if it's common Cyanogen bug or only on this phone. But maybe try using some DualSim management app, it should help. And for SD card moving, there's nothing much you can do, if Link2SD didn't helped. You can only try to remount SD card as internal memory for extending it. Then you can't use this card anywhere else but it should help with too small storage. To do this, go to Settings, then select Storage and you should see option for that. Remember that it will erase all data on SD card, so backup all files you have on it first. Hope it will help you.
[Miscellaneous Android Development] Raduz71:
system partitions to Y6

Hello everyone. It is possible here to give instructions on how to re-allocate system partitions to Y6. Thank you.

Excuse my English, I am from the Czech Republic.
[Miscellaneous Android Development] milda25:
This manual is under construction, so it isn't available at this time yet.
[Miscellaneous Android Development] Raduz71:
Super děkuji.
[Miscellaneous Android Development] Raduz71:
Why in the system information to see only the internal storage of 4G, I understand well that the 4G system partition is hidden, or only use the 4G ROM?
[Miscellaneous Android Development] krasCGQ:
The usable space for your data is 4GB. The rest 4GB is for the whole system's functionality (like system, cache, and more).
[Miscellaneous Android Development] DestructoSphere:
Ok guys here is the guide I have written for repartitioning your device.

GUIDE
[Miscellaneous Android Development] Raduz71:
Hello, video tutorial would you do? :Ó
[Miscellaneous Android Development] Runner85sx:
I uploaded our latest working device tree, kernel source, vendor files to github.

Kernel source

Device tree

Vendor files

Wifi driver source
[Miscellaneous Android Development] giorgio130:
I've seen in the previous posts that you were asking Huawei for proper sources, I think I found them (bear with me if you already knew about this). There is this page on the huawei site:

http://emui.huawei.com/en/plugin.php?id=hwdownload&mod=detail&mid=104

It says source code for huawei y6. The download link is broken, but if you google the md5 value, it's the same file on this page:

http://emui.huawei.com/en/plugin.php?id=hwdownload&mod=detail&mid=105

Honor 4a seems to have the same hardware. Someone also uploaded it to github here:

https://github.com/Hzj-jie/emui-honor-4a-kernel

Happy coding!

(BTW, I'll have a look at porting CM13 to our device in the coming days, it's something I already did in the past for other devices, wish me good luck)
[Miscellaneous Android Development] Runner85sx:
Good idea dude, thanks.

I already downloaded it and fired up a fresh build.

I will report back when it's done.

Fingers crossed

EDIT: The kernel is booting and works good. But the camera is not working.
[Miscellaneous Android Development] Beauterham:
Would be nice to boot this one up, Cm12.1/lollipop sound processing is bad.. ? If you would like someone to test, I volunteer :p I can make logcats and flash roms properly etc..

I don't mind the camera :) good luck and peace

EDIT: SCL-L21, twrp 2.8.7.0
[Miscellaneous Android Development] Raduz71:
Gentlemen, I quite often disconnects SD, after reconnecting is empty but after restart everything is alright temporarily
[Miscellaneous Android Development] Runner85sx:
Okay, here we go.

This zip file is flashable with twrp or cwm.

Edit: I added a fresh compiled cwm. Unpack and flash it with fastboot. Remember to test it with "fastboot boot cwm.img" before.
[Miscellaneous Android Development] DestructoSphere:
That is the same kernel source I originally ended up using.

After completely decompiling the stock kernel I saw major differences mainly in the number of function arguments and also with dmesg reporting line numbers differently.

That causes me to conclude that the honor4a source is not the same as we need, or if huawei claims it is they are majorly breaching their obligations under the gpl of having to release a 1:1 copy
[Miscellaneous Android Development] DestructoSphere:
Sorry I wish to not do a video tutorial as it leaves people too much room to rush the process and possibly brick their device
[Miscellaneous Android Development] krasCGQ:
I'm watching from back LMAO.

I don't want to release a broken kernel anymore.
[Miscellaneous Android Development] Beauterham:
So I flashed and tested, works good, only few micro lags here and there but that's because I use govtuner on balanced. Saw a lot errors, I don't have time atm to check, it's 8h22 am here.

But wait, this source is from Honor 4a if I read right?

Edit: lol where's the log?
[Miscellaneous Android Development] Runner85sx:
Yes you read right.

Most of them are unknown permissions but the apps are still working because selinux is set to permissive by default.

---------- Post added at 01:02 PM ---------- Previous post was at 12:46 PM ----------

Today i got an email back from huawei after a kernel source request for the Huawei Y6:

Dear Customer

Thank you for contacting Huawei Device.

Since we don't give the kernel source, please tell us what wrong with your device is.

Please complete the following infos

Exact model :

Service provider you subscribed to:

The IMEI or SN no.

District or country

The firmware version:

The model of PC:

The Operating System:

The specification of the problem:

Once again, thank you for contacting Huawei Device.

Best Regards

Huawei Device Customer Care Team

EDIT: It seems that they will continue to break the gpl.
[Miscellaneous Android Development] Beauterham:
Indeed, can you/we contact GPL with the evidence?

This is clearly manipulation, we even didn't get a MM update and this device is just a year old. Btw, Huawei firmware is full of stealth tracking software and limitations to the end users (like almost every oem does), and this unreleased source doesn't comply with the GPL laws we all have the privilege to. (My home language is Dutch, can't spreak english properly ...)

Edit: the permissive fact is funny, most (older) huawei phones are running like this. Which it shouldn't.

---------- Post added at 12:58 PM ---------- Previous post was at 12:29 PM ----------

It's strange that I can't upload huawei's GPL law information but other PDF do upload, it gives me a network error (using Airport Extreme AC through fiber cable, seems like something blocks it? Everything uploads except this 2MB file.. :d
[Miscellaneous Android Development] Runner85sx:
We have some upload file size limitations here.

PFD max file size limit: 488.3 KB

RAR max file size limit: 8.00 MB

ZIP max file size limit: 20:00 MB

TAR max file size limit: 20.00 MB

and so on...
[Miscellaneous Android Development] Beauterham:
https://events.linuxfoundation.org/slides/2011/linuxcon-japan/lcj2011_kumar_jokiaho2.pdf

This one :) thanks for Intel :d
[Miscellaneous Android Development] Runner85sx:
Thank's dude. I sent a new email containing this gpl and remembered Huawei that they are bound to this license.

Let us see what happens.

Cheers.
[Miscellaneous Android Development] Beauterham:
Haha no problem! Atleast we have some hope for now!

Cheers and consciousness :)
[Miscellaneous Android Development] Aimer663:
Working to my SCL-U31!!!

Great Job to you guys!!!!

Much smoother to use.

Longer battery Life.

More sharper camera:good::good::good::victory:

Just some issues like:

*I can't make my SD card to be the default write disk. I have the platform.xml in my etc/permissions/ folder by default when I flashed the rom. I don't know what else would be the problem. I read the instructions about pushing the modified platform.xml in etc/permissions folder and still I cannot make sd card to be the default write disk. It would be a less hassle if I my downloaded files would be saved directly in my sd card.

*USB OTG seems not to work. I tried it but no luck. No detection or whatsoever.

but still!! GREAT JOB YOU GUYS!!!! :victory::victory::victory:
[Miscellaneous Android Development] krasCGQ:
It's not supported, even on stock.

I tried to compile a kernel with USB-OTG support, but I got compile errors and forbidden warning. :eek: