yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] :
Using adb you can delete the folder too. First, open "adb shell", once done, enter "su" to get root privileges, after this navigate to data with "cd /data" if you mistype or got into another folder, go up with "cd ..", if you don't know where you are in the filesystem use "pwd". But in /data use "ls" command to list files and folders. If you see in data a folder named clockworkmod delete it with "rm -R clockworkmod".

Alternatively, go into adb shell with "adb shell", use "su" command to get root and type "rm -R /data/media/clockworkmod" and "rm -R /data/clockworkmod". These are somewhat dangerous commands as they will wipe the complete folder if exists, but anyway, they should not be there, so, in this case, you should try.
[General Questions and Answers] Konh3015:
.

.

---------- Post added at 01:45 AM ---------- Previous post was at 01:38 AM ----------

I found it . Everything is now ok

thank youuuuuu sooo mutch
[General Questions and Answers] PieroV:
Hi, if you have still problems with internal storage, try to uninstall superSU. It didn't work even with the modified firmware to me. Uninstall it completely, don't use "change superuser application", because it doesn't work.

I had to root again with RootGenius and install KingUser, which works.

Can you try to boot only from recovery?

The command is

fastboot boot recovery.img

I've seen that you didn't mention VolDown and Power, but only VolDown + VolUp + Power, try to use VolDown + Power, it will freeze at Huawei logo, i. e. the bootloader, but it's good, because it will wait for your fastboot commands.

Maybe something changes...
[General Questions and Answers] tudorveyron:
It seem like my phone does respond to some commands like fastboot reboot,but I don,t know why it is not flashing.And when I type in adb ''adb devices'' It shows list of devices,but there are no devices.
[General Questions and Answers] PieroV:
When it is in bootloader you can't use adb, you can use only fastboot.

Try this, for example:

fastboot oem get-bootinfo

Did you try this?

fastboot boot recovery.img

If you do, please paste the output of the command.
[General Questions and Answers] tudorveyron:
I've tried fastboot boot recovery.img,I't doesn't work.
[General Questions and Answers] barakaakyoo:
Guys is it possible for this phone to have a custom rom or not
[General Questions and Answers] tudorveyron:
You're right.My bootloader is locked.

---------- Post added at 02:41 PM ---------- Previous post was at 02:33 PM ----------

How do I obtain the Product id without calling * # * # 1357946 # * # *
[General Questions and Answers] PieroV:
Moto-E has the same SoC and has Cyanogenmod 12. I've modified BoardConfig and I'm trying to compile for our device right now, but it's the first time I compile Cyanogen and I'm having some troubles.

At the moment we have a modified stock ROM, which proves we can install new roms.

Try Huawei Product ID Generator (notice: I haven't checked yet, I haven't downloaded it, if you use it it's your responsibility).

Sorry, this program hasn't our phone.
[General Questions and Answers] tudorveyron:
It doesn't have Y530.Any other solutions?
[General Questions and Answers] PieroV:
Try to ask the code without product id... Maybe they answer you without problems.
[General Questions and Answers] barakaakyoo:
Are you serious ? Man man am waiting man thanks for your efforts
[General Questions and Answers] tudorveyron:
Maybe...
[General Questions and Answers] PieroV:
Try... Last Saturday they answered me in 2 minutes, and it was 23.44 in their local hour.

Otherwise you should restore everything: restore, system image and kernel.

Then you'll have your phone back and you'll be able to get your product id.

Did you try to boot official recovery or did you try only Clockwork?
[General Questions and Answers] tudorveyron:
Clockworkmod,but I,ve tryed with the stock one too.But what did you write in your email?
[General Questions and Answers] PieroV:
Instead of product id you could write something like: "I can't find my product id, but could you send me my code anyway?".

Their answer was:
[General Questions and Answers] tudorveyron:
And what was the email?
[General Questions and Answers] PieroV:
I wrote the to mobile@huawei.com, but they answered from mobile@mail01.huawei.com.
[General Questions and Answers] tudorveyron:
Thank you.Now I hope they will send me the code.
[General Questions and Answers] :
Did you clone the Moto E device tree and compile and that was it? Other device trees that may compile if they exist are, I think, the ZTE Kis 3, the LG III L70 and the Xperia E1.

About the potential of this device I must say is preety high. I'm not really into Firefox OS, but I think it could be ported. And finally, you are VERY welcome.
[General Questions and Answers] tudorveyron:
They just send me the code.Now I begin to flash everything.And now,should I use B189 or B194,and B194 is compatible with Orange?
[General Questions and Answers] PieroV:
I haven't looked for these ones, yet, maybe if Moto-E doesn't work they could be useful.

If we manage to compile a new kernel, we could try to port MultiROM manager, it seems it's working on Moto-E, it would be very interesting, at least for testing purposes.

I'm not very interested in Firefox OS, too, at the moment, but maybe it's lighter, which would be very welcome with 512MB of RAM (Moto-E has 1GB).

I've cloned the Moto-E tree, but I made some changes, which I attach (the huawei directory should be extracted to device directory in the tree).

Now I'm trying to make a recovery image, but it fails (division by 0 somewhere).

If this works, I'll go for the entire system...

What do you want to flash? The original or the custom one?
[General Questions and Answers] tudorveyron:
The original one.But I think I will try the B194.
[General Questions and Answers] PieroV:
Well, it's the same, I think.

I think you can always downgrade if you use fastboot or the clockwork...
[General Questions and Answers] tudorveyron:
But the B194 is compatible with Orange?

---------- Post added at 07:36 PM ---------- Previous post was at 07:03 PM ----------

I've fixed it.Thank you all so much!!!!!
[General Questions and Answers] PieroV:
You're welcome :)

About the Cyanogenmod port: I've managed to build the recovery to check and I haven't good news.

Fastboot reports this error:

FAILED (remote: dtb not found)

I think that it's related to the boot configuration of the kernel, or at least I hope it is so.

Cyanogenmod needs a custom kernel, so this is the first target...

[MENTION=5232707]CENTSOARER[/MENTION] : What kernel did you use in recovery?
[General Questions and Answers] Sak32009:
Finally some new hope..

[MENTION=6200942]PieroV[/MENTION]
[General Questions and Answers] MetalDranzer:
Hey guys, maybe one of you folks can help me again.

I just tried last night to connect my phone to my computer, and nothing is showing up. My phone detects power and is charging fine, but it's not going into "usb mode" so to speak. I restarted my phone and my computer, checked the developer settings to make sure nothing was interfering, and nothing is up. It's odd and irritating.

Any idea's?
[General Questions and Answers] barakaakyoo:
I had this problem one day, what i did is resetting my phone, but it happened again and this time i just restarted my computer and it was solved, till now i dont know which one of these solutions is the perfect one, anyway you can try it.
[General Questions and Answers] MetalDranzer:
Factory reset yeah? Ugh.... I'll give it a shot...

---------- Post added at 01:05 PM ---------- Previous post was at 12:17 PM ----------

Well, that fixed it but I'd love to know why it happened in the first place -_-
[General Questions and Answers] barakaakyoo:
At least you have brought it here may be someone else know the cause of it, i have no idea.....囧
[General Questions and Answers] SabeCZ:
Kernel Y530

Hello,guys.Kernel is relased so we can start porting :)

h t t p : / / e n . u i . v m a l l . c o m / p l u g i n . p h p ? i d = h w d o w n l o a d & m o d = d e t a i l & m i d = 6 1
[General Questions and Answers] :
That was a harsh solution. I mean... it's a factory reset. Did you trys this popular post? I think it's time to make a big VIQ-FAQ post.

|||||||||||||||||||||||||||||| EDIT||||||||||||||||||||||||||||

Speaking of secret codes (they work without rooting):

*#*#46#*#* *#*#7867#*#* Google services framework

*#*#225#*#* Calendar information

*#*#759#*#* Google partner installation

*#*#0000#*#* About the phone

*#*#2845-47#*#* *#*#28465#*#* MMI Audio Simple test

*#*#6130#*#* Phone and battery Info (ping test, IMEI, carrier info, etc.)

*#*#8255#*#* System update

*#*#121314#*#* MMI tests (touchscreen test, speaker test, mic test, SIM test, SD test...)

*#*#1357946#*#* (Product ID)

*#*#2846579159#*#* (hardware device check, radio freq test, lots of logs, extra hardware info, SIM and net settings, low battery/high temperature shutdown switchs.)

*#*#2846579#*#* (MMI Test II and settings for USB network, hardware info, etc.)
[General Questions and Answers] PieroV:
Hi, I've already downloaded and compiled :)

Actually this source code does not work, there are a pair of syntax/semantic errors on file net/bluetooth/hci_conn.c.

Line 407, should be changed to this:

memcpy(cp.ltk, ltk, sizeof(*cp.ltk));

There was a sizeof to a pointer.

There was another one, but I can't fine the file...

Somewhere there was a strncmp(str, str2, sizeof(str2)) and GCC didn't like it...

It was something related to bluetooth devices names or types...

I've tried to boot a recovery...

It works, can boot, but I have black screen.

I connected via ADB and I've saved a dmesg. No problem mounting /system, /data, /cache and external SD card, I forgot to test internal memory...

First of all however I have to solve fastboot/USB 3.0 problems...

I can't use fastboot on my Debian and I always have to use a VM, which is annoying...

EDIT: Normal recoveries start "recovery" process, which in my case ends with a segmentation fault

EDIT 2: The kernel doesn't create framebuffer, that causes the sigsegv
[General Questions and Answers] SabeCZ:
I know theres a bugs but Ive found it on the internet.I hope that will help you with porting custom roms.
[General Questions and Answers] barakaakyoo:
I saw this but how do i use it?
[General Questions and Answers] PieroV:
This is very useful to compile a ROM...

If you are interested on doing it, I suggest you to visit the official building guide.

It's very helpful.
[General Questions and Answers] mr.masoud:
USE this :

*#*#2846579#*#*

go to ProjectMenu

background setting

Usb ports setting

set it at Normal mode
[General Questions and Answers] Masoud255:
flash cwm with ...

i try flash cwm with rom toolbox rom installer and success

no need fastboot and pc connect for flash cwm
[General Questions and Answers] barakaakyoo:
This can really be the permanent solution........!
[General Questions and Answers] ciubi93:
In b510 that problem don`t persist.
[General Questions and Answers] barakaakyoo:
Yes it does and it has happened to me twice.......! Am running b510 too.
[General Questions and Answers] :
Could you compile a CWM?At first I tried to build a dt.img, but couldn't make it, so I just unpacked it from firmware's boot.img. You know, just making some conversation to know how you are progressing... if any progress.
[General Questions and Answers] mattefin:
I tried to flash cwm in this way but I was unable to find the right way.

Can you explain how you did it? Which cwm did you flash?

Thank you :)
[General Questions and Answers] Masoud255:
hi

i just unlucked bootloader then root device and flash img in rom installer .

:cowboy:
[General Questions and Answers] PieroV:
I'm trying to compile the CWM first, because I think that if it doesn't work the ROM won't work, too.

I've managed to compile the kernel, it works, quite works: I can't understand if there are some problems with kernel or with CWM or other: I can boot the image using fastboot, but the screen doesn't work.

I can use a root shell with ADB and it works, I can mount everything and execute commands, but the recovery command exits with a SIGSEGV. When I try to debug it, it's something about very low memory addresses: I think that the problem is a NULL pointer, maybe when recovery tries to open the framebuffer, which doesn't exist and I can't understand why.

Yesterday I compared the dmesg buffer from the stock boot and my boot, however they are just similar, until the starting of normal services in stock boot and the starting of recovery in my recovery.

What's more is that the kernel recognizes the framebuffer, but doesn't create /dev/fb0 :confused:

If you look in arch/arm/configs/msm8610-defconfig, it seems that Huawei enjoyed creating some drivers instead of using standard Linux ones...

EDIT: In stock firmware there's not /dev/fb0... I'm getting more and more confused...

EDIT 2: I've finally understood! /dev/fb0 is /dev/graphics/fb0 in Android. The error I got is due to the same error [MENTION=5232707]CENTSOARER[/MENTION] told me about, but the solution doesn't work for CWM from CM 12. CM11 checked for a graphics overlay (I don't know what is it), whereas CM12 doesn't contain anymore.

At this point I don't know what should I do: go back to CM11 (and resync repos :crying: ) or trying to understand how to solve mmap problem...
[General Questions and Answers] NeoVisS:
Go Launcher question

Hello

I have this phone with the original Rom (not rooted), and i have a big problem. I cant install Go Launcher from Google Play, also i cant install live wallpapers ( not even 1 kind of them). But my priority is this Go Launcher.

Is my phone broken or someone else have the same problem ?
[General Questions and Answers] barakaakyoo:
This phone doesn't support livewall papers, so any launcher with live wallpaper features wont be supported on this phone,........:-[
[General Questions and Answers] NeoVisS:
But if i install an custom Rom (if someone creates one) it will solve the problem ?
[General Questions and Answers] Masoud255:
A try install a luncher (forget name)

and not installed with pckage installer normally

I copy apk to system /app

And install success

Maybe works in your favorite luncher
[General Questions and Answers] Sak32009:
[MENTION=6200942]PieroV[/MENTION]

One problem after another

I would help but I never used linux.
[General Questions and Answers] ciubi93:
Yes, that method work. Tested by me. And live wall same meThod
[General Questions and Answers] :
I would go for CM11 since it is based on JB. Maybe later this phone can be updated to CM12.

About flashing CWM, y es, you can use ROM Toolbox and Nandroid Manager as I've given some directions. The use of fastboot has the advantage to test before flashing and that's very important.
[General Questions and Answers] raulsmat:
Finally i have the bootloader unlock code. There are secundary effects when unlock? Cust reset, wipe user data, etc?
[General Questions and Answers] PieroV:
I gave up with CM12.

They introduced a backend system in miniui.

I've tried to create an overlay backend with old code, but won't link, and I had to correct lots of things.

CM12 isn't actually released as stable, as far as I know, so to summarize, it's better to start from CM11.

I'm already syncing, but I don't know when I'll finish, since I'm using a 5Mbit/s connection...

[MENTION=5999592]raulsmat[/MENTION] : unlocking is like reset: you lose everything, except SD cards contents and internal storage.
[General Questions and Answers] :
AFAIK it's in alpha stage. Even if you could build it, I know for sure it's not gonna be a smooth experience.

||||||||||||||||||||||

Anyone interested in a patched services.jar/services.odex set of files to use zeppelinrox's supercharger script??? In short, zeppelinrox's famous script will change some priorities to run core programs, possibly the most prominent change is a maximum priority for your default launcher resulting in an almost-never-redrawing launcher. It's been a delight, but you need to know how to use it. Basically:

1) You need to run zeppelinrox's supercharger script to configure a set of binaries and scripts. Here you will need to install the files I provided

2) The first step will generate a main script that will be stored in /data folder and /system/etc/init.d

3) As our kernel does not have native init.d support, I use an app called "init.d scripts support" to start this script at boot from sdcard... and works.

Well, if you are ever interested, here are the files, patched from the B185 firmware.
[General Questions and Answers] PieroV:
Well, changing to CM11 was the right decision.

I've finished to sync and built recovery: it worked at first attempt :) I'm so proud!

I've only added the Huawei kernel (with fixes for syntax errors) and my device configuration.

Now I'm going to compile the whole image...

If it works I upload the image next Monday because I'll have a decent upload.
[General Questions and Answers] :
Great! Good luck compiling, I Don't know how I will wait 'til monday, if your build is succesful. I'm happy anyway.
[General Questions and Answers] Lollipop07:
Error

Hello i try to install it but i when i try to "advanced restore from /storage/sdcard1" i get this error in long "No files found. I :Can't partition non-vfat: /storage/sdcard1 (vfat)" i cant understand why.. i have put the clockworkmod file on the sd card.
[General Questions and Answers] PieroV:
Hi, what is the filesystem of the card?

Could you mount the card from mount menu?
[General Questions and Answers] Lollipop07:
Format

Hello so what you mean whit filesystem of the card? i have format the card to FAT32 also i try to clear the sd whit the settings option "clear sd card". I can mount and unmount sdcard1 yeah i have also mound system data and cache.
[General Questions and Answers] NeoVisS:
Guys, is there an Clockworkmod for this device model? Because i haven't found anything yet. :(
[General Questions and Answers] Sak32009:
In development by [MENTION=6200942]PieroV[/MENTION]
[General Questions and Answers] PieroV:
Can you save a log and then attach? Otherwise, can you try with a different sd card?

We already have one by [MENTION=5232707]CENTSOARER[/MENTION] :)

http://xdaforums.com/showthread.php?p=56582106#post56582106

I'm trying to build Cyanogenmod 11.
[General Questions and Answers] Lollipop07:
Error

Hello i have fix the problem whit another sdcard. Thanks you.
[General Questions and Answers] PieroV:
Have some news!!

Good news: I finished to build CM11!

Bad news: got "set_metadata_recursive: some changes failed", so I couldn't flash, and I'm restoring my backup.

I'll have to dig into this.
[General Questions and Answers] barakaakyoo:
Guys i have this two Huawei Y300-001 am sorry to bring it in this forum its just that i believe is the only place i can quickly get help gapps has stopped working everything has stopped working in these phones if i try to update with official rom it says this annoying message as i attached the snaps that "update exception EMMC is readonly, you cant update your system "

---------- Post added at 04:49 PM ---------- Previous post was at 04:45 PM ----------

please see and help me
[General Questions and Answers] PieroV:
First of all, can you use enter recovery mode and/or use fastboot?

Do you have a backup of your devices?

Do you have the original firmware? In case you can extract using Huawei extractor and then try to flash it with fastboot/clockworkmod.

Why don't you reinstall your custom ROM, otherwise? Or a stock based custom ROM...
[General Questions and Answers] ciubi93:
maybe here are any info to solve the error http://xdaforums.com/showthread.php?t=2516253 or here http://android.stackexchange.com/qu...et-set-metadata-recursive-some-changes-failed or here http://forum.cyanogenmod.org/topic/86979-cm-11-20140124-set-metadata-recursive-some-changes-failed/
[General Questions and Answers] mr.masoud:
anyway to flash official rom via CWM by using Huawei Update Extractor?

waiting for cm.....................

.

.

.

.

.
[General Questions and Answers] barakaakyoo:
I cant do anything the bootloader is still locked and cant unlock it
[General Questions and Answers] :
You need to create a profile.xml file that supports y530. I was working on a profile.xml but never tested it (I'm pretty happy with what I have right now as a phone). If you want an untested profile.xml to start tinkering I could send it to you through a DM.

Basically, you unpack update.app from firmware and repack zips from the XML template for your system, boot and data partitions. After this I suggest wiping cache and dalvik.
[General Questions and Answers] mr.masoud:
I know it bro... but i cant edit profile.xml.

Can you help me?

Pls send the file....
[General Questions and Answers] PieroV:
How can you have custom ROM without unlocked bootloader?

However you can unlock the bootloader using USB cable and a pair of programs with Y300.

Can't you flash using fastboot?

For everybody: I've created a Google drive folder to upload the zip.

There's still 40MB to upload and it's not tested as Clockworkmod doesn't install the zip.

NO WARRANTIES - PROCEED AT YOUR OWN RISK. I won't be responsible for any damage.

If you manage to install it, please tell me :)

Folder: https://drive.google.com/folderview?id=0BxPaYGw65OY5QlZJMTd0WUVDZ3M&usp=sharing

Source code will arrive, I can't simply upload at the moment (50KiB/s of peak in upload...).

Please wait patiently for it to be uploaded :)

EDIT: Uploaded :)

SHA256SUM:

b1042f9ac178dafec2123b9fa90d124be4b2a050472467de84ec6a081e92c57c cm-11-20141206-UNOFFICIAL-y530.zip

Note: still not tested!
[General Questions and Answers] :
I'm going for it!

EDIT1: Recovery works great. It needs to mount manually external sdcard and recognizes it as sdcard0.

EDIT2: I extracted boot.img from the cm-build, flashed, and I get no graphics.

EDIT3: CM11 is based on KK. Damn it. We need a newer CWM to install CM11.
[General Questions and Answers] :
Well... this is the file. UNTESTED! And, again, it's better to flash firmware with de "dload" folder method and even more recommended to flash extracted IMG files with fastboot.
[General Questions and Answers] zona11:
,

i am looking for the same thing
[General Questions and Answers] ali60351:
I reccomend that you copy it to data/app instead because system/app is for stock apps only.
[General Questions and Answers] Sak32009:
Who has tested CM11?
[General Questions and Answers] :
As PieroV has stated: CWM won't success installing cm*.zip. Either you build a newer CWM to install (the two CWM that exist right now have the same error/result) or think of an ingenious way to put the build inside the phone.
[General Questions and Answers] PieroV:
Well, I'm testing right now and that's what we have:

CWM won't install the zip, even tough it's a good version (we need 6.0.4.5, we have 6.0.5.1)

Files are extracted, however metadata is not set, therefore we can't execute programs and we have continuos reboots

We can manually set permissions: doing it manually it's a great work. I've extracted /system in my Linux box, then set permission with root, created a tarball, which keeps permissions, deleted /system content and replaced with tarball contents (please don't ask me to upload it yet, it would take me some hours...)

We don't have anymore system reboots, but the phone hangs on huawei logo, I can't do anything and my lsusb reads the phone as "ZTE WCDMA Technologies MSM", but ADB doesn't work

We can deduce that the kernel works, now we have to gain at least a shell access to check logs

EDIT: Got a root shell via ADB!

You have to disable ADB security on ramdisk, however I'll try to upload the boot.img soon, and maybe the filesystem too...
[General Questions and Answers] ciubi93:
i test that rom now and have same error "set_metadata_recursive: some changes failed"
[General Questions and Answers] Sak32009:
[MENTION=6200942]PieroV[/MENTION], news?