yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] DestructoSphere:
[MENTION=6589753]krasCGQ[/MENTION] Is right OTG is not supported in either stock or cm.

The only way since KitKat to make external sd the default write disk is by changing the boot image yourself.

In init.qcom.rc

Change

export EXTERNAL_STORAGE /storage/emulated/legacy

export SECONDARY_STORAGE /storage/sdcard1

export EMULATED_STORAGE_SOURCE /mnt/shell/emulated

export EMULATED_STORAGE_TARGET /storage/emulated

To

export EXTERNAL_STORAGE /storage/sdcard1

export SECONDARY_STORAGE /storage/emulated/legacy

export EMULATED_STORAGE_SOURCE /mnt/shell/emulated

export EMULATED_STORAGE_TARGET /storage/emulated

To do this you need to know how to unpack boot image preserving dt, repacking including dt and how to safely test it.

Just changing the file in your rootfs and rebooting won't work... It's called a ramdisk.

If you do change it you better just pray you are never removing the sd and that it never fails. Not worth it imo.
[Miscellaneous Android Development] Aimer663:
Yeah.. Well I just thought OTG would be supported. Anyways Thank You sir for porting this cm to our device :) :good::good:
[Miscellaneous Android Development] DestructoSphere:
No worries, sorry if the way I mentioned the boot image seemed standoffish but I do not think that it should be done.
[Miscellaneous Android Development] chenekels:
will this rom works in huawei y6 scc-u21?
[Miscellaneous Android Development] Aimer663:
What twrp version are you using? It's better to use the twrp posted in this thread.

If you do have the custom recovery posted here, just wipe cache, wipe dalvik, wipe data(backup first of course) factory reset then flash the Cm12.1.

If problem still persist, go to page no.2 of this thread and find the guide to set the assert using the terminal app of the TWRP.

That method and guide fix that error in my phone Huawei Y6 SCL-U31.:good:
[Miscellaneous Android Development] milda25:
And why are you want to install so old build? In download section of this thread is perfect build from August 28.
[Miscellaneous Android Development] vajohnify:
New Problem,

Now trying to use link2sd with the new rom, its either mounting one of each partitions :confused: . Either the fat32 or ext4 never both at the same time. Could you help or point me in the right direction. Thanks in advance :angel:
[Miscellaneous Android Development] therufussino:
Hello, I tried to obtain bl unlock code from Huawei website, but after login I get error 600. Is there somebody who has the same problem?
[Miscellaneous Android Development] Aimer663:
use the chinese site.
[Miscellaneous Android Development] krasCGQ:
The Chinese site now asks for login :/
[Miscellaneous Android Development] Aimer663:
I did login to be able to get my bootlloader code in the chinese site. Create an account.
[Miscellaneous Android Development] krasCGQ:
Yep. But I've unlocked my father's Y6 before so I don't need it lol
[Miscellaneous Android Development] Ruven03:
Is there any way to get back to stock rom?I dont have any backups.. :(
[Miscellaneous Android Development] Sparkrite:
Here's a link to the stock ROM for the SCL-L01......................

http://consumer.huawei.com/nl-en/support/downloads/detail/index.htm?id=77268
[Miscellaneous Android Development] jnicaragua:
Helloooo!

In the last days twitter, google and others programs run updates., since then most of these apps get frozen or are force to close.

Im worry about cuz i use this phone to work, any news about update the rom? (Dont want to go back to stock)
[Miscellaneous Android Development] Ruven03:
He had accident, so he need to recover his health back..
[Miscellaneous Android Development] frumy:
Sorry to hear that, i hope will be fine, God Bless him.
[Miscellaneous Android Development] milda25:
Who had an accident?
[Miscellaneous Android Development] Ruven03:
Runner85sx, One of thread maker..
[Miscellaneous Android Development] Sparkrite:
Oops, missed that post.

Sorry to hear that, hope all is okay and wish you, [MENTION=4601013]Runner85sx[/MENTION] , a speedy recovery.
[Miscellaneous Android Development] milda25:
Same here from me.
[Miscellaneous Android Development] Ruven03:
When he come back, he will try to port Android N to our devices :)
[Miscellaneous Android Development] frumy:
Oh, great news!

Sent from A510F (Note 7 inside) using XDA mobile app.
[Miscellaneous Android Development] :
Damn, sucks to hear that. Hope your recovery is quick and easy, [MENTION=4601013]Runner85sx[/MENTION]!
[Miscellaneous Android Development] dondo85:
Get well runner85sx,waiting for you.....
[Miscellaneous Android Development] Saber5311:
How set my default location on sdcard my phone is full ???

Whene I want to play modern combat 4 need 1.9 gig download but my phone storage not enough space so I want change my default ?

Please help fast
[Miscellaneous Android Development] Aimer663:
Install xposed framework. (Find tutorial here in xda on how to do it.)

Then install XinternalSD module so all your download,save file will be redirected to your sd card.

or use LINK2SD app.
[Miscellaneous Android Development] ScentedOrange:
My friend I helped install this rom for has the L04 variant, and everything is working fine, except the battery isn't recognized and only shows a ?. Does anyone know what this could be or how to fix it?
[Miscellaneous Android Development] stefan p:
I partitioned my card and installed LINK2SD but now i'm getting error 506 on large apps like Hearthstone . Smaller apps install just fine though.
[Miscellaneous Android Development] weightymonkey:
Problem with signal

Im from sweden, tried this Rom but... Great work but alot of the time i cant get a signal...people cant call me and so on... Is there a fix for this? :)
[Miscellaneous Android Development] jimaras34:
unofficial cm 12

hi im from greece.i tried this rom and im very happy its too cool.i think signal its abit lower butnot problem

thank u very much
[Miscellaneous Android Development] rony raj:
nice cm12
[Miscellaneous Android Development] vajohnify:
CM 14

Do you think its possible for the huawei Y6
[Miscellaneous Android Development] Sparkrite:
Deleted post.
[Miscellaneous Android Development] vajohnify:
i mean't the cm14... this is 12
[Miscellaneous Android Development] Andrewp58:
Cyangenmod 13

WHEN?:fingers-crossed:
[Miscellaneous Android Development] thederos123:
HUAWEI SCL-L01. CM not working :(

Wysłane z mojego msm8909 przy użyciu Tapatalka
[Miscellaneous Android Development] C4Vi:
When next update?
[Miscellaneous Android Development] krasCGQ:
The first non-written rule on development thread:

Never ask for ETA.
[Miscellaneous Android Development] SignalX:
hey guys

is this compatible with Huawei Y6 Pro too?
[Miscellaneous Android Development] stefan p:
No since they have different specs and a different SoC , the y6 has a Qualcomm MSM8909 , the y6 pro has a mediatek MT6735P
[Miscellaneous Android Development] kish-mish:
Got this method working for Huawei Y538. Thanks.

The only problem apart from camera is that there is now system sound (ringer, app sound etc)

Can anyone help fixing this?
[Miscellaneous Android Development] nicolap8:
Hi,

I'm using this release from some weeks and it's rock solid. Full functional.

A part the intrinsic @#£$%&@ of CM it's a lot better of original firmware.

The only problem is that I have a Y6 SCL-L21, the dual SIM 2GB RAM version and the memory is used only at half.

It remains ever 1GB of free RAM, unused! And, lag apart, some programs are not working well, eg. Skype and Whatsapp because they are stopped/closed bye the memory manager.

I tried to play with some setting but without success.

Anyone has a suggestion???

Thanks

N
[Miscellaneous Android Development] Raduz71:
I also have a SCL-L21, RAM uses a whole, it probably will be wrong installation
[Miscellaneous Android Development] nicolap8:
You read wrongly: my phone and your "see" all RAM but use only 1 GB and the 2nd remains unused. Like in your first image!
[Miscellaneous Android Development] Raduz71:
the figure is knowing that uses the second part of RAM, commonly it happens that I have only 300 megabytes of free RAM
[Miscellaneous Android Development] nicolap8:
My bad, sorry. Try to explain better.

The phone uses all the memory but try to have ever 1GB of free memory! This is useless!
[Miscellaneous Android Development] Raduz71:
Hello. Please do someone to update the CM? thank you for answer
[Miscellaneous Android Development] dreadmacsee:
This ROM is compatible with USB OTG?

My phone is SCL-L03

Thanks!
[Miscellaneous Android Development] nicolap8:
In part: USB OTG is enabled and with some peripherals it works.

But I was never able to connect a pendrive (or HDD, with powered hub, y-cable, etc.).
[Miscellaneous Android Development] Jhon068:
Ayuda

Mi huawei Y6 no me quiere pasar del bootloader me ayudan ya no que hacer xd :v ... ayuden plis
[Miscellaneous Android Development] emre.yv:
Installing Xposed framework makes Facebook, Google Docs, Messenger, Instagram and the Xposed Installer crash and force close all the time. I cannot use the phone without removing the framework. Anyone has a similar issue? I don't know what the problem is.
[Miscellaneous Android Development] Jean Br:
no root

I am on ''cm-12.1-20160817-UNOFFICIAL-y6-SINGLE-SIM '' L-01 but I cannot root it. I am trying to go back to stock rom but because I have TWRP i can't put it in Download Mode. Help pls :D
[Miscellaneous Android Development] krasCGQ:
Download SuperSU zip and flash with TWRP
[Miscellaneous Android Development] nicolap8:
The rom already includes Superuser. You can enable it in Developer options: "Root access".

If (and only if) you have problems with it you can install SuperSU.
[Miscellaneous Android Development] Jean Br:
I already enabled root in developer but nothing happens, I flashed super su but ' su binary needs update' . All I want is to get back to stock rom, some guidance is much needed :D. How can I make it enter download mode ?How do I switch twrp with stock rec?
[Miscellaneous Android Development] Carlos Arriaga:
Install stock with updater/ instala la stock con updater el foro es inglés usa el traductor si no lo sabes hablar ya que es una regla del foro.

Enviado desde mi SM-G530H mediante Tapatalk
[Miscellaneous Android Development] OXCARdroid:
I can use Clockwork mod instead of TWRP??
[Miscellaneous Android Development] nicolap8:
Of course!

If exists...
[Miscellaneous Android Development] Dawidus520:
Yep, you can. But why? TWRP is generally better :) It has a lot more functions than CWM.
[Miscellaneous Android Development] dondo85:
Hello ,can someone how has scl-l01 make a twrp recovery of stock rom and post the link here ?i can not go back to stock because oem unlock can not be enable from developer options(i can't flash stock recovery). Thank you
[Miscellaneous Android Development] nicolap8:
I noted that the control in the developers options page stay disabled but when I boot to bootloader the phone says that it's unlocked!

If you need the original recovery you can extract it from the update.app using the extractor from this site.

Finally remember that you can ever flash original rim even if with locked bootloader! The lock is only for custom roms.
[Miscellaneous Android Development] dondo85:
Thank you for you quick response ,i did it .i flash stock recovery using flashify from play store.Thank you
[Miscellaneous Android Development] Raduz71:
Hi, is there any hope at that ROM will work. Thanks for the information.
[Miscellaneous Android Development] adarshadhungel1:
Sir can you please make any cm rom or any other rom for Samsung galaxy J200H??? I badly want a custom rom for this phone.
[Miscellaneous Android Development] Raduz71:
https://rootrootan.blogspot.cz/2016/08/cara-install-android-601-marshmallow-galaxy-j2.html?m=1
[Miscellaneous Android Development] adarshadhungel1:
I can not complete the offer do you have other link
[Miscellaneous Android Development] Runner85sx:
This is not related to cm-12.1 on Huawei Y6.

So no.
[Miscellaneous Android Development] XN Logos:
any way to Root y6 pro,
[Miscellaneous Android Development] Raduz71:
Kingroot V 4.82
[Miscellaneous Android Development] XN Logos:
not work
[Miscellaneous Android Development] Raduz71:
http://www.smartforum.cz/viewtopic.php?f=7&t=4859

Look here, it needs to be solved it helps

---------- Post added at 09:37 AM ---------- Previous post was at 09:31 AM ----------

You must have unlocked bootloader on my SCL-L21 works 100%
[Miscellaneous Android Development] Runner85sx:
CyanogenMod 13 for Huawei Y6

Hey Community.

Here we go. We have cm-13.0 ready for our Huawei Y6.

CyanogenMod 13 for Huawei Y6

Greetings from germany.
[Miscellaneous Android Development] Raduz71:
I tested 13 cm on my scl-L21, unfortunately, does not operate dual SIM, camera. otherwise Great job gentlemen.

---------- Post added at 08:59 PM ---------- Previous post was at 08:57 PM ----------

There is no SIM card
[Miscellaneous Android Development] Runner85sx:
Yea i know. It is same as with cm-12.1. There is a dualsimfix needed.

I will work on that and upload it to cm-13.0 thread in a few minutes.
[Miscellaneous Android Development] Raduz71:
Clearly, great job !!!
[Miscellaneous Android Development] Runner85sx:
Done. Check the first thread for dualsimfix or visit xda devdb from cm-13.0 You will find it there too.
[Miscellaneous Android Development] Raduz71:
danke, Morgen
[Miscellaneous Android Development] Raduz71:
dualsimfix is ​​not broken
[Miscellaneous Android Development] neochapay:
Where i can get source or path of camerafix ?
[Miscellaneous Android Development] antonpm:
Rooting after installing rom

I've finally been able to install the rom after wiping the phone. My problem now is that since I unlocked the phone with the Huawei code kingroot is unable to do its job. Any suggestions on how to effectively root it?
[Miscellaneous Android Development] milda25:
Root is included in CM ROM. You have to enable Developers option and there enable root access for adb or programs or both. Thats all.
[Miscellaneous Android Development] antonpm:
Thanks! The only problem I'm facing now is having to press multiple times to use any action on the TWRP recovery (SCL-L03) Has anyone been able to fix this somehow?
[Miscellaneous Android Development] milda25:
And which version of TWRP are you using? It looks like you using a bad one. The only one correct version is in download section of this thread.
[Miscellaneous Android Development] tejabala:
scl-al00

guys i install wrong baseband file

now is showing imei null showing and i am try to connect wifi i going bootloop

please help to fix this

can anyone attach scl-al00 baseband file
[Miscellaneous Android Development] finbris:
My phone is bought from Finland and is SCL-L21C432B130. Does anyone have a hunch wether the rom works on this device?
[Miscellaneous Android Development] DestructoSphere:
Check the second post in this thread for supported devices
[Miscellaneous Android Development] nicolap8:
I'm using the CM 12.1 from time and is working very well. Of course with same phone!
[Miscellaneous Android Development] xalmaan:
SCL U31

Please make it clear how I flash this zip with this device

I am getting the same error that this rom is for y6 and this device is .
[Miscellaneous Android Development] xalmaan:
anyone?
[Miscellaneous Android Development] milda25:
If you did some search in this thread, you can find out, that your problem is in wrong twrp recovery. You have to use one and only one twrp in download section of this thread. Search function is our God :)

Edit: I did some search for you.

http://xdaforums.com/devdb/project/?id=15925#downloads
[Miscellaneous Android Development] emre.yv:
Weather doesn't show up in lock screen and notification drawer despite the fact that I've checked the box saying "Show weather notification drawer." Does anyone know what's the problem or how can I fix it?
[Miscellaneous Android Development] Marty Red:
Battery shows 0%

Very strange...

So, I have the Huawei Y6 SCL-L04.

The bootloader is unlocked...no problem there.

Custom recovery installed (twrp 2.8.7.0 installed)...no problem there.

I can even install CM12.1 including Gapps...no problem there.

Debugging is on...Root is enabled for ADB and apps...

I can even boot up and enter CM12.1, everything works...except that the battery indicator just has a question mark in it. Also, there is no response from plugging in the USB charger into an AC adapter or a computer.

When I reboot into recovery, I get fluctuations between actual battery percentage and a 0% reading. It seems USB is recognised while I'm in TWRP and it seems to be able to charge...only in TWRP.

As soon as I boot back into CM12.1 it shows a question mark in the battery indicator again and in Settings, it reads 0%.

I've tried every trick of removing the battery.

I've made full NAND backups with TWRP, so when I wipe the phone and restore the stock backup I made in the beginning, the battery is working normally.

I assume this isn't a hardware fault and it's likely a kernel fault, because this problem only exists under CM12.1

This is the guide I followed to install CM12.1 and I've seen two other people mention the faulty battery indication.

Like I said, I'm not in a panic because I just revert to my reliable stock image...I'd just wish I could run CM12.1, as I ran Cyanogemod on my last phone (Samsung) and I loved it.

Whatever other information I can give...let me know. I'm not a stranger to rooting devices and I know my way around Linux (Ubuntu) ADB commands.

Thank you..

---------- Post added at 12:19 AM ---------- Previous post was at 12:15 AM ----------

Anything you can do for a Huawei Y6 (single SIM) SCL-L04?
[Miscellaneous Android Development] milda25:
Did you try some baterry calibration sw? From google play?
[Miscellaneous Android Development] Marty Red:
Yes I tried a few calibration apps...even deleting the battery info files using the file manager in TWRP. Nothing worked.
[Miscellaneous Android Development] DestructoSphere:
Can you please post the content of /proc/app_info on the stock huawei rom so I can see the battery info thanks.
[Miscellaneous Android Development] Marty Red:
ddr_vendor : SAMSUNG 16Gbit LPDDR3

lcd type : BOE_NT35521_5_720P_VIDEO

huawei_sbl1_version : MSM8909C900B142_BOOT

huawei_hardware_version : HL3SCALEM

huawei_appboot_version : APPSBOOT Sep 8 201621:29:26

huawei_fac_product_name : HUAWEI SCL-L04

board_id : MSM8909_SCL_L04_VA

G-Sensor : ROHM KX023

M-Sensor : AKM09911

LP-Sensor : APS9930/TMD27723T

battery_name : HB3742A0EBC+_XINWANGDA

Sensor_list : G_L_P_M_SENSORS

touch_panel : cyttsp5_Ofilm_1.0.11
[Miscellaneous Android Development] DestructoSphere:
Ok that battery is supported in the source however there may be an odd reporting difference or the rom sets the wrong battery data.

If you are able is there any chance you could reflash the rom and obtain the same file for me to check if the battery name is the same?

If it is I will also need a copy of your boot image so I can look at the device tree.
[Miscellaneous Android Development] stefan p:
I need some help

I was trying out the cm13 latest build and when i had to go back to cm12 i decided to restore the TWRP backup i made , but all of a sudden in TWRP my sdcard started to show as 0mb (it showed up ok in android) , i tried to format it multiple times both in windows linux and android to no avail and also tried to flash the stock recovery to see if i could restore the stock rom , same problem it couldn't detect the sd card and kept freezing on 0%. Finally i moved the cm12 zip to internal storage and flashed it from there and now the phone keeps getting stuck on bootscreen.
[Miscellaneous Android Development] Marty Red:
You want me to re-load my image of CM12.1 and give you the app_info data contained in that environment? Sure. I'll do it tonight.

---------- Post added at 10:43 PM ---------- Previous post was at 10:41 PM ----------

Where would I find the boot image you're looking for? Do you mean the recovery.img file I use to load TWRP?
[Miscellaneous Android Development] Marty Red:
Here is the app_info while CM12.1 is installed:

ddr_vendor : SAMSUNG 16Gbit LPDDR3

lcd type : BOE_NT35521_5_720P_VIDEO

huawei_sbl1_version : MSM8909C900B142_BOOT

huawei_hardware_version : HL3SCALEM

huawei_appboot_version : APPSBOOT Sep 8 201621:29:26

huawei_fac_product_name : HUAWEI SCL-L04

board_id : MSM8909_SCL_L04_VA

G-Sensor : ROHM KX023

M-Sensor : AKM09911

LP-Sensor : APS9930/TMD27723T

battery_name : HB3742A0EBC+_XINWANGDA

Sensor_list : G_L_P_M_SENSORS

touch_panel : cyttsp5_Ofilm_1.0.8

Here's pic of the battery info inside Cyanogenmod's settings:

[IMG="battery info"]https://i37.servimg.com/u/f37/15/23/17/98/pic2_r10.jpg[/IMG]
[Miscellaneous Android Development] Marty Red:
As you can see from the pic above, the battery indicator icon only displays a circle with a question mark in it.
[Miscellaneous Android Development] DestructoSphere:
Your device should be supported according to the device tree.
[Miscellaneous Android Development] DestructoSphere:
If you are using an SCC I would assume you have the honour 4a which is not supported in this build however as they are similar devices I don't think a port would be very difficult.
[Miscellaneous Android Development] Saber5311:
Double touch turn on screen not working

Browser not working
[Miscellaneous Android Development] Ayush karki:
My device is not good 4A it's Y6 sccu22 .

Any idea how to port it to my device?
[Miscellaneous Android Development] DestructoSphere:
As your device has a dual sim, isn't in the official device tree and your kernel is a later build I would think there will be problems.

The files that control your sim card on my device are /system/lib/libqmi_nv_api.so and /system/lib/libqmi_oem_api.so. If you get these files from your stock rom and put them into cyanogenmod build hopefully that will sort your problem.

Does your status bar have a no sim icon like the attached screenshot of my system after renaming those files and rebooting?

Also can you upload your stock rom system backup so I can look at your proprietary files?
[Miscellaneous Android Development] DestructoSphere:
I will have a look into it for you. It seems odd as the SCC is labeled as the 4a. Sounds like huawei to try to confuse people.

Can you please upload your stock boot image so I can check your kernel and device blobs please?
[Miscellaneous Android Development] michael976:
Where is Google Play store?I Installed Gapps and selected webview and Chrome too but it didnt install Chrome and default browser is not working.Also I can't find play store on the gapps package to install it and it's not in my phone.Please help!!
[Miscellaneous Android Development] Saber5311:
http://www.mediafire.com/view/pxwaoiooyq5091g/Screenshot_2016-06-25-23-40-36.png

its a screenshot of my status bar when no sim card insert

http://www.mediafire.com/view/7sc2bpsyk7yotb9/Screenshot_1969-12-31-13-01-31.png

its a screenshot of my status bar when :sim card insert
[Miscellaneous Android Development] DestructoSphere:
Yep that's the icon. Try copying the 2 files I mentioned earlier from your stock ROM and hopefully that will get you the signal.
[Miscellaneous Android Development] Saber5311:
i copy the file that you say but not working

---------- Post added at 11:10 AM ---------- Previous post was at 11:07 AM ----------

i copy 2 file in system/ lib/ in cyanogenmod rom
[Miscellaneous Android Development] DestructoSphere:
Can you make sure that the permissions on them are set to 644 with owner root and group root.

I may have to grab your system backup to have a look and hopefully create a build that supports it.
[Miscellaneous Android Development] Saber5311:
i cant upload stock rom its 1.4g

another way ?
[Miscellaneous Android Development] DestructoSphere:
Can you compress /system/etc, /system/vendor, /system/lib and /system/build.prop and upload that at all? Should be a few hundred megs.

You can do this and compress using gzip on your running stock ROM by running

su

tar -cvzf /sdcard/files.tar.gz /system/etc/ /system/vendor/ /system/lib/ /system/build.prop