yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] DestructoSphere:
I have been working on the kernel to try to get camera fixed but as this is time consuming I will take time to try to iron out the small issues for you guys.

First is the no sim issue on dual sim devices.

Can everyone please comment with their model as reported in /proc/app_info, importantly the lines that appear like this on mine.

huawei_fac_product_name : HUAWEI SCL-L02

board_id : MSM8909_SCL_L02_VB

And please also add whether you have a single or dual sim device.

I will write detection into init which will then set the properties accordingly on boot for each device.

I will edit this comment with each device so if you already see yours you don't need to worry.

HUAWEI SCL-L02, MSM8909_SCL_L02_VB, single sim.

HUAWEI SCL-L21, MSM8909_SCL_L21_VB, dual sim.
[Miscellaneous Android Development] boomyi:
sorry In Korea version can't support root (newest firmware not support)
[Miscellaneous Android Development] DestructoSphere:
OK I got your images from the other post and will pull apart the dtb tomorrow as it's time to settle for the night here.
[Miscellaneous Android Development] boomyi:
​

thx have a good night i wish a good news in Korea just evenig haha
[Miscellaneous Android Development] nicolap8:
I uploaded boot.img and build.prop from SCL-L21 C432B130 rom.

I've also the SCL-L21 C432B150 rom.

This phone is DUAL SIM, 2GB of RAM, 8GB of ROM.

/proc/app_info

ddr_vendor : HYNIX 16Gbit LPDDR3
lcd type : CMI_OTM1283A_5_720P_VIDEO
huawei_sbl1_version : MSM8909C00B030SP01_BOOT
huawei_hardware_version : HL3SCALEM
huawei_appboot_version : APPSBOOT Sep 1 201519:46:53
huawei_fac_product_name : HUAWEI SCL-L21
board_id : MSM8909_SCL_L21_VB
G-Sensor : ST LIS3DH
M-Sensor : AKM09911
LP-Sensor : APS9930/TMD27723T
battery_name : HB3742A0EBC+_XINWANGDA
Sensor_list : G_L_P_M_SENSORS
touch_panel : cyttsp5_JunDa_1.0.8
camera_main : ov8858_foxconn_sc1102
camera_slave : gc2355_ofilm_ohw2f03

What else you need?

Many thanks :cowboy:
[Miscellaneous Android Development] boomyi:
this rom need root must? in Korea rooting phone can't use all bank app
[Miscellaneous Android Development] Runner85sx:
Root is disabled by default.
[Miscellaneous Android Development] boomyi:
thx to answer
[Miscellaneous Android Development] laiya1:
am i flash it to huawei y6 dual sim version? twrp installed?
[Miscellaneous Android Development] DestructoSphere:
Hi they don't seem to be valid images and I can't unpack them. They have no android magic anywhere or DT magic or ramdisk magic.

Can you provide me a link to where you obtained them please?
[Miscellaneous Android Development] boomyi:
here is the firmware link

http://download-c.huawei.com/download/downloadCenter?downloadId=78075&version=310910&siteCode=kr

---------- Post added at 09:54 AM ---------- Previous post was at 09:50 AM ----------

in Korea 2g is not network can't use internet just use message and call
[Miscellaneous Android Development] DestructoSphere:
U32 is not in the DT blobs.

Can you please use either adb shell or a terminal emulator and give me the output of

cat /proc/app_info

You don't need root to read the file.
[Miscellaneous Android Development] DestructoSphere:
I can't see any reason why you have touch issues with that twrp.

Can you try the recovery-twrp.img at below link in fastboot?

http://xdaforums.com/devdb/project/?id=15925#downloads

No one has reported touch problems for the ROM and your device is in the blobs so it is safe for you to flash but obviously make a backup of your stock ROM first.

Hopefully it all works for you.
[Miscellaneous Android Development] boomyi:
this right?
[Miscellaneous Android Development] DestructoSphere:
Yep perfect.

Your board version is the same as mine but for some reason rebranded as u32.

If you unlock your bootloader and try using fastboot to boot the recovery in the first post you should get in. If you get in you can try performing a backup and then flash the ROM to see if it works for you.

If things don't work you can always restore the backup all with no root needed.
[Miscellaneous Android Development] boomyi:
u means just flash the rec and install rom okay just backup before?
[Miscellaneous Android Development] DestructoSphere:
Use fastboot boot first before flashing ROM and backup your stock recovery first just in case.
[Miscellaneous Android Development] boomyi:
okay

---------- Post added at 03:57 AM ---------- Previous post was at 03:47 AM ----------

okay u means just flash u re rec?

---------- Post added at 04:27 AM ---------- Previous post was at 03:57 AM ----------

**** i give up to install bc bootloader unlock page not support Korea verion
[Miscellaneous Android Development] laiya1:
is it work with huawei y6 scc-u21 dual sim version
[Miscellaneous Android Development] nicolap8:
Me too... but doesn't work!

Of course.

Tryed also to change the kernel and the dtb (from original recovery): no go.

When I have time will try more...

The logic here is missing! I have reported that with MY device doesn not work SO i can NOT flash it!
[Miscellaneous Android Development] boomyi:
i'm unlocking but i'm not unlock trp flash twarp rec okay?
[Miscellaneous Android Development] nicolap8:
Incomprehensible. Use punctuation, don't abbreviate.
[Miscellaneous Android Development] boomyi:
bc Korea version not support tool
[Miscellaneous Android Development] DestructoSphere:
The logic I am using is... Wait for it.

People with your device model have been able to use the ROM itself with no issues reported for the touch screen. I remember that you got a recovery with working touch so therefore you would be able to flash the ROM to check.

When I said safe to flash I meant your device won't blow up, worst case scenario you have to revert to old backup.
[Miscellaneous Android Development] nicolap8:
Why do you insist with FLASH???

We dont need to flash anything to test it!

Just BOOT the image:

fastboot boot recoveryimage.img
[Miscellaneous Android Development] DestructoSphere:
I am talking about the ROM not recovery hence why I say "ROM".
[Miscellaneous Android Development] marcobrunello:
Regarding the touch issues someone is having : my device, SCL-L04 (Y6 for Canada) has erratic touch whenever the usb cable is plugged in, but it depends what it is plugged into. some, but not all chargers and computers will make the touch misbehave.
[Miscellaneous Android Development] NBIVAN:
At the time I've seen cyanogen for our huawei, I have unlocked the bootloader and installed esta rom.

I have only one thing to say: YOU ARE THE BEST

So far all good :)
[Miscellaneous Android Development] Costiin:
It happens on SCL-L01 too even on the stock rom...and yes it only happens when you plug it on a PC...atleast on mine does that
[Miscellaneous Android Development] roborovsky:
Mine does that too, but on the battery bank, and not every time, for like 20 seconds each 10 minutes the touch works only on vertical or something like that. Same thing occurs on stock rom also so I guess it's a mobo thing
[Miscellaneous Android Development] milda25:
Have again problem with cm Rom download. I need decrypt key for mega. What can I do?
[Miscellaneous Android Development] C4Vi:
Go on downloads section
[Miscellaneous Android Development] Costiin:
when we will see the next update?
[Miscellaneous Android Development] Runner85sx:
There are no new fixes yet.

So there is no need to release a new update.
[Miscellaneous Android Development] LucasVera0510:
Help

this error throws me when I try to flash the rom in the model scl - l03:

updater process ended with ERROR: 7

error installing zip file '/external_sd/cm-12.1-20160630-UNOFFICIAL-y6(by-gizrom).zip﻿

HELP PLEASEE!!!!! :crying:
[Miscellaneous Android Development] Runner85sx:
We did not made the rom you downloaded.

So we won't give support for it.
[Miscellaneous Android Development] Uli73272:
Maybe you better use "unofficial TWRP for Huawei Y6", you will find a link on Post #1
[Miscellaneous Android Development] Runner85sx:
Or you download it from here.
[Miscellaneous Android Development] laiya1:
it works in scc-u21 dual sim version.

nice work thanks
[Miscellaneous Android Development] Costiin:
I think that of you activate mock location... the network won't drop anymore.... since network dropping is a localization problem.... but in not entirely sure about this... I activated mock locations today and I haven't seen any network dropping anymore
[Miscellaneous Android Development] marcobrunello:
Update on my usage of this ROM. Device is SCL-L04 (Y6 Rogers, Canada) I have been daily using d-r-unofficial-02-07-2016-cm12.1-y6.zip with u31stockkernelmodulefix.zip for about three weeks with excellent results. My device is not in the tree so I modified the update script. Two days ago my phone had a problem, while in my pocket it started buzzing and then it claimed there was no sim card and it also no longer had an IMEI. It may or may not have anything to do with this ROM, but I had to fix it so I reflashed stock and from there flashed d-r-unofficial-18-07-2016-cm12.1-y6.zip. The phone worked again, but with that version there is a battery problem: the notification shows a circle with a ? inside, there is no battery app and it doesn't charge. Rewiped, reflashed, same thing. I went back to what I have been using as stated above and all is well. I have not tried d-r-unofficial-07-07-2016-cm12.1-y6.zip. Thank you for making this!
[Miscellaneous Android Development] zoztik:
Might Improve Slightly Battery (duration ) and is a little faster ... ?
[Miscellaneous Android Development] Uli73272:
Is this a statement, or a question? :)
[Miscellaneous Android Development] zoztik:
Is A Question ...
[Miscellaneous Android Development] Runner85sx:
It is much faster and have more battery life.

---------- Post added at 04:00 PM ---------- Previous post was at 03:55 PM ----------

I made a new compile.

I also changed my toolchain to ubertc. and made 2 different zip files. One for single sim and one for dual sim. So aroma installer has gone for us.

I will post the new links when i'm done with testing.
[Miscellaneous Android Development] Nilakshanjayasekera:
I have a scc u21 device. I need to unlock my bootloader. But i cant access the huawei bootloader unlock page beacuse it says the server is down.. Can someone tell me how to unlock my bootloader with any other way or somehow please..
[Miscellaneous Android Development] zoztik:
Appreciate the new ROM with more battery life and some Rapides (You can improve a bit )
[Miscellaneous Android Development] milda25:
We will be testing with you :) Can you provide us the link? ;)
[Miscellaneous Android Development] marcobrunello:
I used dc-unlocker because the unlocking number from the Huawei page didn't work for me. To use dc-unlocker you have to pay some money. You could also email Huawei, if you keep searching the web you will find many posts on the subject.
[Miscellaneous Android Development] dondo85:
Thank you,very nice rom ,very smoth,fast ;i have the scl-l01 version.Could you make for the next build the batery to last longer?For example ,my daily usage with stock i get around 4-4 and a half on screen time ;but with cm12.1 i get around 2 :30 -3:20 hours.Thank you again for your work.Salut
[Miscellaneous Android Development] Runner85sx:
It is time to fix up UMS Storage and Okay google.

Download the new flashable zip file from XDA Dev DB

Or simply push one of the build.prop files to /system/.

Extract and rename the file to "build.prop before pushing it to your device.

[IMG="Hot word detection - rnd screen"]https://s32.postimg.org/pzya7pc39/Screenshot_2016_08_01_18_31_12.png[/IMG]

EDIT: refixed fm radio

Edit 2: Newest dtb image is included in boot.img

Rom is rebuilt from fresh source

Edit 3: DUAL SIM users. Please sent me the output from cat /proc/app_info

We are working on DUAL SIM detection. So a separated build.prop will be unneeded in future. Just pm me.

EDIT 4: It should be something like this.

[IMG="app_info"]https://s31.postimg.org/q6b8u8bm3/app_info.png[/IMG]

Also attach your build.prop please

EDIT 5: added new twrp recovery to XDA Dev DB.

EDIT 6: the goal is to edit init_y6.c

/* L21 version b */
if (strstr(model, "MSM8909_SCL_L21_VB") != NULL) {
property_set("ro.product.model", "msm8909");
property_set("ro.product.name", "y6");
property_set("ro.product.device", "y6");
property_set("ro.build.product", "y6");
property_set("ro.config.dsds_mode", "umts_gsm");
property_set("persist.dsds.enabled", "true");
property_set("persist.radio.multisim.config", "dsds");
property_set("ro.multi.rid", "true");
property_set("ro.config.hw_showSimName", "true");
property_set("ro.dual.sim.phone", "true");
property_set("ro.build.description", "SCL-L21-user 5.1.1 GRJ90 C432B150 release-keys");
property_set("ro.build.fingerprint", "Huawei/SCL-L21/hwSCL-Q:5.1.1/HuaweiSCL-L21/C432B150:user/release-keys");
}

/* U31 version a */
if (strstr(model, "MSM8909_SCL_U31_VA") != NULL) {
property_set("ro.product.model", "msm8909");
property_set("ro.product.name", "y6");
property_set("ro.product.device", "y6");
property_set("ro.build.product", "y6");
property_set("ro.config.dsds_mode", "umts_gsm");
property_set("persist.dsds.enabled", "true");
property_set("persist.radio.multisim.config", "dsds");
property_set("ro.multi.rid", "true");
property_set("ro.config.hw_showSimName", "true");
property_set("ro.dual.sim.phone", "true");
property_set("ro.build.description", "SCL-U31-user 5.1.1 GRJ90 C432B150 release-keys");
property_set("ro.build.fingerprint", "Huawei/SCL-U31/hwSCL-Q:5.1.1/HuaweiSCL-U31/C432B150:user/release-keys");

Because of that we need the build.prop files and the output from cat /proc/app_info
[Miscellaneous Android Development] milda25:
Hi, I have installed your last build (20160801). Almost everything works fine (OK Google too).

I have only 3 problems: don't know why I lost root status. In the Dev settings I set root for adb and applications, but no success. On build 20160718 root worked fine. I did clean install (wiped all partitions except sdcard before install 20160801 build).

And second - still have problem with notification light. Working fine for 5 - 10 seconds after event (for example new message, missed call and so on). I think notification light stop working when the device goes to sleep.

And third - sometimes is something strange with proximity senzor. When I get device from head after voice call, display remains off, so I can't stop call till other side hang up it.

And one request - is it possible to edit /system/etc/selective-spn-conf.xml in the next build? Because lost root and don't know how to get it back, can't edit this file. Reason of this request is bad carrier name for the Czech Republic - carrier OSKAR is Vodafone CZ (OSKAR is his old name).

Thank you for your very good work.
[Miscellaneous Android Development] Runner85sx:
Thank you for your response. I will have a look at it and upload a fixed version later.

Edit: Root has be gone because i did user build. Next build will be userdebug again. Sorry for that mistake.
[Miscellaneous Android Development] Runner85sx:
Okay a new build is online. It includes fixed root access. Thank you for the response again.

Let me know if something is going wrong.
[Miscellaneous Android Development] frumy:
Thanks for your work, will update later too
[Miscellaneous Android Development] Sparkrite:
Thanks for all your work.

Am I correct in thinking that the rom zips are to be flashed using TWRP ?

TIA
[Miscellaneous Android Development] nyn3:
it will work on huawei y6 pro?
[Miscellaneous Android Development] milda25:
No.
[Miscellaneous Android Development] wyr007:
sem rad ze je tu i nejaky czech OSKAR
[Miscellaneous Android Development] milda25:
Yes, world is too small :) But rather keep on the XDA rules - official language is English.
[Miscellaneous Android Development] wyr007:
yeap pls fix OSKAR carrier logo to vodafone on next build
[Miscellaneous Android Development] milda25:
Great work, [MENTION=4601013]Runner85sx[/MENTION]. Root access is back, thank you.
[Miscellaneous Android Development] michael976:
To install the new build I must first do a wipe/format or its just an update?Do I lose previous data?
[Miscellaneous Android Development] Saber5311:
Cast screen not working? Please help
[Miscellaneous Android Development] Runner85sx:
You should wipe system, cache and dalvik cache. No need to wipe data.

Did id worked before with our cm12.1 builds?
[Miscellaneous Android Development] Costiin:
can you please fix the network dropping for Romania...its quite annoying...sometimes happened that i wanted to call somebody but i had to wait for the network to comeback...its a pain in the back... hope you can fix it
[Miscellaneous Android Development] wyr007:
marchmallow

maybe new builds on marshmallow ? :angel:
[Miscellaneous Android Development] milda25:
[MENTION=4601013]Runner85sx[/MENTION], I have found one problem yet. Probably depends on your work on UMS. My Sygic navigation can't save maps on SD card, only to internal storage. This problem was not on 20160718 build. Is there any way to fix it? Thanks in advance.
[Miscellaneous Android Development] Costiin:
Runner85x
[Miscellaneous Android Development] Runner85sx:
Did you disconnected the usb data cable before?

A app can not write to sdcard when it is mounted to ums storage.

Try to push this modified platform.xml to /system/etc/permissions/

EDIT: Added new platform.xml, corrected path
[Miscellaneous Android Development] milda25:
Yes, of course, cable was not connect. I will try to push file later and give you a feedback.
[Miscellaneous Android Development] milda25:
/system/permissions directory doesn't exist. Did you mean /system/etc/permissions? There I found platform.xml ...

Edit: I tried rewrite platform.xml in /system/etc/permissions, set up permission to rw-r-r and owner to root as the original was. Then I reboot my device and after cm boot cm animation ends, display remains black and the device is dead.

Now trying reflash whole cm (build 20160802) and problem is gone, device alive. So, your modified platform.xml seems to be bad or I did something wrong.
[Miscellaneous Android Development] Runner85sx:
I added a new platform.xml and pushed it to my device in twrp recovery.

My device is starting up fine.

Thank you for your feedback.
[Miscellaneous Android Development] milda25:
Please, can you tell me where exactly in twrp I can push platform.xml? I did it before using the CM File Manager with root access. I would like to try with twrp as you wrote, but don't know how can I do it.
[Miscellaneous Android Development] Runner85sx:
I have the android sdk installed and i'm using adb from my windows command prompt. adb is working in twrp too. But you need to have usb debugging enabled.
[Miscellaneous Android Development] milda25:
OK, adb not working for me (don't know why). So I tried same steps as before once again and now is everything OK. platforms.xml is updated, device started up and Sygic has the maps on SD card now.

Great work, thank you very, very much :)
[Miscellaneous Android Development] wyr007:
where is new build mister blister RUNNER ?
[Miscellaneous Android Development] milda25:
Download section in this thread, in some earlier post is screenshot
[Miscellaneous Android Development] Runner85sx:
Thank you for explaining this again. :)
[Miscellaneous Android Development] wyr007:
this tread is dead omg
[Miscellaneous Android Development] Mazen Yasser:
What About SCC-U21 ?

Does it Support SCC-U21 or what ?
[Miscellaneous Android Development] sakib1338:
Upgrading device

Can i update my huawei y6 to marshmallow.

Serial is SCC-U21.

plz help me
[Miscellaneous Android Development] milda25:
Marshmallow? This is lollipop thread. Marshmallow doesn't exist for our device. I am not sure If this CM Rom supports SCC-U21, Wait for author and his reply.

---------- Post added at 10:14 PM ---------- Previous post was at 10:13 PM ----------

Not sure, Wait for author and his reply.
[Miscellaneous Android Development] beatLeo:
I thanks those people who give their time to try to upgrade our experience with the y6, i really apreciated your efforts. I hope you could make an stable rom. Good work guys! keep going!
[Miscellaneous Android Development] Runner85sx:
Thank you. The most time of our free time we are looking to the stock rom and to the cm12.1 source code to get the last bugs fixed. But it is very hard work and only DestructoSphere and me are doing this alone and share our results.

So please don't be angry if we are not response for some time. :)

Have a nice evening.

EDIT: To clear what devices are working please have a look at our current kernel source dts

The devices are present in this tree might work. But not every device is tested yet.

So please make a Nandroid before you flash it.

You can get that information if you look at your cat /proc/app_info.
[Miscellaneous Android Development] rikudou111:
Can you please update updater binary error for camera fix
[Miscellaneous Android Development] :
I'm having some trouble, so I'd like some help please. I used "adb push *thefile /sdcard/", and then the ROM appeared in the install menu. Then I loaded it up, and swiped to install the zip. I keep getting "Updater process ended with ERROR: 7

Error installing zip file '/sdcard/cm-12.1-20160630-UNOFFICIAL-y6.zip'. Any help, please? Before that, I get "This package is for device: Honor4a,honor4a,Honor4A,honor4,y6,Y6: this device is ."

This is a Huawei y6 SCL-L04 by the way. I'm using TWRP 3.0.2-0 by Efrén Sáenz from here, http://xdaforums.com/android/development/recovery-huawei-y6-honor-4a-t3373820.

EDIT: ****, looks like I accidentally wiped out the wrong partition too, so I can't find any backups. That was stupid. Now I could really use some help.

1. Is it possible to use someone else's stock recovery, or would that brick my device even harder?

2. Any logs I should be looking for to try and fix this, or at least help somebody else fix this?

I'm kind of panicked.

Second Edit: I've done this up here http://xdaforums.com/showthread.php?t=2522762, and it seems to install fine, without any errors. When I reboot, it goes right into TWRP again. Damn, I'm stumped. Any help would be appreciated. Trying to install the image with zip signature verification doesn't work however, so I assume that probably has something to do with it, but if I don't check for tampering of the zip, then why is there still a problem, I'm wondering?

Hitting reboot just after installing takes me to the fastboot menu.
[Miscellaneous Android Development] milda25:
At First try to use TWRP from download section of this thread and then install ROM.
[Miscellaneous Android Development] Runner85sx:
Hello together.

It is update time again.

As promised the flashable zip is splitted up to DUAL SIM and SINGLE SIM.

Fixes included:

UMS Storage

Google Voice search

root fix (my fault)

sdcard write access

Rom is rebuilt from fresh synced sources today.

root access will come back with the last d-r flashable zip file.

UMS Storage and Google Voice Search was fixed with the build.prop i posted before. That file needs to pushed to /system/

Sdcard write access fix comes from my edited platform.xml. That file needs to be pushed to /system/etc/permissions/

NOTICE: If you flash my lastest build there is no need for adding camerfix or something else. All the other fixes are already included.

NOTICE 2: UMS Storage will work after you rebooted your device.

NOTICE 3: There are sill some bugs. Notification LED is not working correctly. It will be disabled if the device goes to sleep. There is still signal dropping at some locations.

Here are the Downloads: xda dev db

I will be busy for a few days. So have a nice time and happy testing.
[Miscellaneous Android Development] michael976:
I tried to install single sim after wipe data but it said install failure.What's going on?
[Miscellaneous Android Development] Runner85sx:
I don't know what is wrong there.

I flashed the latest twrp recovery from our download section and flashed the single sim flashable zip 3 or 4 times.

Everything is okay here.

Try to wipe data, system, cache and all the other stuff. Let only external_sdcard or sdcard alive.
[Miscellaneous Android Development] michael976:
Maybe it's the recovery I dont think I flashed the new one.How do you flash recovery?