yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] PieroV:
Yes, it seems that the phone does not recognize libGLES*.

Debugging it is quite frustrating because GDB throught ADB is more difficult to use than normal GDB and I can't set breakpoint as I would...

It seems that the error is in frameworks/native/opengl/libs/EGL/Loader.cpp... It can't find the libraries, or it skips some messages in logcat.
[General Questions and Answers] :
We can try replacing original libraries from firmwares and see if it takes. I'm just wondering how can we help you debugging this. If it's tedious, how can we share this tediousness.

For now I will try to find out how to solve this issues, bring ideas.
[General Questions and Answers] PieroV:
This could be a great idea!!

The "bad" libraries are libEGL, libGLESv1_CM and libGLESv2...

Have you tried to "flash" the ROM using restore method?
[General Questions and Answers] Sak32009:
We are almost there, at least the alpha for y530
[General Questions and Answers] raulsmat:
Hi, in CWM, the option "Yes - Disable recovery flash" write recovery.img in the rom permanently? Anybody try it?
[General Questions and Answers] :
I'm going to, backing up right now, yesterday I decided to base my desktop on Apex instead of Nova. I'm pretty sure this issue can be related with the changes in calling OpenGL libraries from JB to KK. Also I'm going to see what's different with a CM11 build for Moto E.

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

EDIT: In the Moto E build there are some interesting files inside /system/vendor/lib/egl, they are: eglsubAndroid.so, libEGL_adreno.so, libGLESv1_CM_adreno.so, libGLESv2_adreno.so and libq3dtools_adreno.so

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

As stated in the first link I cited, the egl libraries should be either inside /vendor/lib/egl or /system/lib/egl. So, in your build there is no /vendor/lib/egl, but there's a /system/lib/egl folder. When I go inside this folder there's only one library. I don't know if this is normal.
[General Questions and Answers] PieroV:
Guys, I've solved an error... Sort of....

I've taken some files from /vendor/lib/egl/libGLES...._andreno.so and libEGL_andreno.so and put in the same directory of CM11 (I had to create with mkdir /vendor/lib/egl and then use adb push localfile remotefile).

It's a next step, but there's a boot loop, after that!

---------- Post added at 10:46 PM ---------- Previous post was at 10:44 PM ----------

I was just writing about it... I've been trying to make them work a lot, but only now I had those problems...
[General Questions and Answers] :
Did you put them in both folders?
[General Questions and Answers] PieroV:
Yes, then started a reboot loop, the most difficult bug to find...

Then I put the whole /vendor/lib directory again in the device, I took it from the backup of original ROM this time, the other time I think I copied from ZTE...

However there's still the reboot loop, and I can't debug it, as logcat does not work... I see if there is some log inside, or if we can tell Android to log everything (but if there is a reboot maybe there isn't the sync of filesystem).

EDIT: Changing from Huawei to Moto-E files stops the boot loop... However there are still bugs.

I'm try to solving these, at the moment.
[General Questions and Answers] MetalDranzer:
Ah, so rooting only installs SuperUser onto the phone? For some reason I got it mixed up as being the same as installing a full on cfw.

Edit: I can confirm that 1.7.3 does NOT work, it just tried connecting to the device for 15 minutes, doing nothing.

I can ALSO confirm that 1.7.7 DOES root the phone WITHOUT having an unlocked bootloader.

My minor gripe is that it installs a chinese black market appstore that I can't seem to find how to remove, and I'd love to jump to the regular SUDO program. Oh well! Now all we need is a CFW!!

Edit2: It installs 2 apps and 1 widget. its easy to uninstall the market app. Just uninstall the app with the chinese writing, and leave the VRoot app. Can't get it to jump to SU though.
[General Questions and Answers] razkal1:
Goin to try a port a recovery at some point... Havent the free time atm though [emoji19]

---------- Post added at 01:19 PM ---------- Previous post was at 01:15 PM ----------

Just install supersu from playstore update binaries and it will ask you if you want to remove other superuser app click yes and your good no more Chinese superuser
[General Questions and Answers] rryan:
Dumped recovery img today, going to try and build a CWM tomorrow.
[General Questions and Answers] MetalDranzer:
Hmm.... SU crashes due to not being able to download a manifest file almost instantly.

Being able to do a custom recovery would be the same as being able to flash a custom firmware, right?
[General Questions and Answers] razkal1:
Supersu is working fine for me bro... Custom recovery means we can backup and restore our rom and also flash packages including new roms when tgey are available
[General Questions and Answers] MetalDranzer:
Turns out I was trying with Superuser, not Supersu. So i tried the actual Supersu program, tried a normal install, failed straight away. Odd. Oh well, I can stick with VRoot Su for now!
[General Questions and Answers] razkal1:
Try uninstalling superuser then installing supersu...

Anyone rooted managed to write to system/app? I cant get my fone to write anything to system [emoji19]
[General Questions and Answers] IcemanSR:
Are you using app's which have ability to mount system as rw or stock file manager?

Download Total Commander or similar that one should work.
[General Questions and Answers] razkal1:
Tried apps that mount system as r/w... User root explorer, es explorer... None managed to copy files to system or even create a folder... Only titanium backup can make user apps system apps.. Thus moving them to system... Strange right?

Been trying to add livewallpaper support but I need to write to system, also wanted to change dpi but not sure if ill bootloop... And without custom recovery ill hold in the last one
[General Questions and Answers] IcemanSR:
It might be best to first make recovery ,so you can dump the OS

then once u have that you can push updates directly into system via recovery or even make a port.
[General Questions and Answers] razkal1:
Going to do as soon as u get hold of a pc [emoji1]
[General Questions and Answers] rryan:
For people who want the recovery & boot img:

recovery.img

boot.img

This is from build 189 ([ro.build.description]: [Y530-U00-user 4.3 GRJ90 C900B189 release-keys])

I was going to have compiled the first try of this CWM tonight but since it took me 2 bloody hours to get the CM repo synched, this will not be done before tomorrow :)
[General Questions and Answers] pardalslb:
live wallpapper

First of all, thx for finding an app that could root this phone ! i feel like i almost have a new phone!

Regarding live wallpapper picker. I used es explorer,moved to system/apps and changed the permissions in order to put livewallpaper to work and my games stop crashing, The app is there and its now part of the system but it continues to say that this phone cannot support live wallpapper .and the games keep crashing :(

i dont have the knowladge to say if it will work with a new rom.

One thing : in the process of changing the chinese superuser, i unrooted my phone, and i had to root it again. It happened 2 times.

Firsrt, i tried using terminal emulator , and the process failed and i lost root.

The second was with SuperSu, in the part that it asks to update the binary. It stayed there more han 5 minutes updating and then i had to kill the task. My phone was unrooted again.

After i rooted the phone again, i tried supersu again, and it updated the binary and replaced the chinese superuser.

happy if i can help anyone with this.
[General Questions and Answers] IcemanSR:
I don't think that copying just apk by it self is enough. It requires some libs for it.

If you wanna check if you done it properly try activating any livewallpaper from google play.
[General Questions and Answers] razkal1:
Just bricked my phone:(
[General Questions and Answers] rryan:
How come?
[General Questions and Answers] razkal1:
Messing with thr build prop:eek:
[General Questions and Answers] sinkesnnj:
Well how do you unbrick a phone? Can we help?
[General Questions and Answers] fitztu:
Try this thread in #6

Here is the link

http://www.modaco.com/topic/366519-need-flashing-tool-for-g510y300/

I forgot to paste the link before sorry!
[General Questions and Answers] IcemanSR:
http://xdaforums.com/showpost.php?p=52798635&postcount=6

reset factory default via recovery
[General Questions and Answers] PieroV:
I've just edited my post... Don't you have reboot loops with Huawei files?

The external OpenGL libraries are wrappers: Java calls them instead of the hardware specific version...

EDIT: Could you be more precise?

What did you rename? Anything about SurfaceFlinger in logcat? I still get reboot loops.
[General Questions and Answers] :
I copied B194 firmware's egl folder to /system/lib/ AND /vendor/lib/. I set 0755 permissions to the whole folder, rebooted and... not a bootlop.

I did not rename anything after you told me they were wrappers. logcat say lib_ADRENO.so is requiring libgsl.so but can not find the file.
[General Questions and Answers] PieroV:
libgsl.so should be on /vendor/lib/ of the original firmware...

I still have reboot loops, but I'm sure that SurfaceFlinger is the culprit...

I don't know why, but now I'm going to deeply indagate...
[General Questions and Answers] mr.masoud:
hey .... how to test xperia E1 roms?

It have Qualcomm MSM8210 Snapdragon 200

aderno 302

512 mb ram

??????
[General Questions and Answers] PieroV:
Hi, you can test using Clockworkmod.... However I think they won't work because of dt.img.

You should try to use a Huawei kernel....

By the way... I've been thinking about the reboot loop.

I'd say that the problem aren't proprietary blobs, because they work in stock rom and in Motorola CM, so there are incompatibilities.

I had lots of problems during the building and I've had to modify the kernel, so I'm thinking to start again, this time with Cyanogenmod 10.2.

The most attractive feature of CM11 is, to me, Art, but I think that before that we should get a working Cyanogenmod with the same version of our stock system, therefore Android 4.3 in Cyanogenmod 10.2.
[General Questions and Answers] :
He's gonna need to merge /system/framework and /system/lib folders too. But, TBH I don't think it will run.

PieroV, CM 10.2 sounds great too. I think, the main obstacle here is the binary blobs too. Moto E has a KK firmware and will have a Lollipop one too, so they will have CM12 too. It's a pitty, but Huawei's source code is just not enough and their newer firmwares are still stucked at JB.

For art, we can relay on Xposed framework+Xstana+Tinted Status Bar+Nova Launcher. That's how I have configured my Y530 and looks gorgeous lollipop-like. The only thing I don't like is the bloated Huawei Android version, even If I have slimed it erasing unuseful programs, I'm sure there are a lot of huge libraries and other things I just don't need.
[General Questions and Answers] mr.masoud:
I cant flash system.img by using fastboot

Eror: data too large
[General Questions and Answers] :
What system.img are you trying to flash?
[General Questions and Answers] PieroV:
I meant Androir Runtime, the replacement for Dalvik :)
[General Questions and Answers] :
Ouh, of course, what was I thinking?! Anyways, was it introduced in KK? Not L? I mean, it appears L is far from us y530 users.
[General Questions and Answers] acompres:
If i'm not mistaken, the CM team started using ART on CM11 while Official Android just got it on L.

[MENTION=6200942]PieroV[/MENTION] : will you use the Huawei kernel for your CM10.1 build? i've read somewhere that the kernel was patched by Huawei to avoid functioning properly if significant modifications are done to it.
[General Questions and Answers] PieroV:
In official KitKat was introduced as preview, you could enable it using developer options (thanks Wikipedia :) ).

Thanks for the information :)

I didn't want to use Huawei kernel in CM 11, but I had to, because of DTS files.

It didn't work at first, because it contained two errors which GCC didn't like.

In recovery it behaved well, whereas it didn't contain some syscalls required by KitKat, for example something like MSM_ROTATE.

I've tried to apply some patches, but I don't think that they were good...

As you said Huawei kernel is full of (useless) patches: the SoC is the same, it has the same GPIO, maybe different connections but the same I/O and the same bluetooth module: why are there BT files from Huawei? Why Huawei introduced some macros to enable/disable the display, whereas Motorola and ZTE didn't?

I'm beginning to work on CM 10.2 because I'd like to port a Cyanogenmod first, then see for KitKat or even for Lollipop.

There are too much possible errors when creating a custom ROM, starting from device definitions and configuration, to proprietary blobs incompatibility problems.

Going back to CM 10.2 should decrease all errors due to incompatibility: everything we will use was tought for that version, so there should remain only configuration problems.

Next step would be porting a working kernel to our device, maybe it's only something about DTS files and configuration of I/O.

In all cases building the CM is a long process: yesterday, with a good connection (80Mb/s), it took 2 hours to sync repo from the beginning, because at a certain point it downloaded very slowly.

Next step is creating device configuration, this time from empty/our files, I won't start again from another device.

After that the creation of the recovery is quite fast, about 10mins on my computer, but the systemimage takes a long time and a lot of resources, if it works.

With CM11 it stopped serveral times, I hope it's not the case with CM10.2.
[General Questions and Answers] mr.masoud:
the file which is extracted from b189:confused:
[General Questions and Answers] hserras:
Hi, guys,

I have a friend that have a ascend y530, and made an official update. Now the phone wont boot, it freezes with the screen saying "ANDROID".

I've already entered in recovery mode and made a factory reset, but with no success. Is it possible to solve this?

Regards

Hugo
[General Questions and Answers] PieroV:
Hi, is his/her phone unlocked?
[General Questions and Answers] hserras:
Thanks for the answer, PieroV.

Her phone is almost new, with stock rom, network blocked.

I hope that this was what you were asking.
[General Questions and Answers] :
I think he's asking for the lock/unlock condition of bootloader. That's sort of the BIOS on a regular computer. Un the recent popular posts of this thread you'll find one from AnimateMonkey that could be useful, but since you're stuck in a bootloop is likely you have a locked bootloader.

Anyway, first you get familiar with fastboot. There's a command to find out if your bootloader is locked, search this thread for it. In the meantime try downloading other firmwares for y530 or search for the original one. If it is locked then is possible your only way to get it working is the the dload folder method upgrade.
[General Questions and Answers] hserras:
Thanks for the reply, CENTSOARER,

The bootloader is locked, almost for sure. Im going to read on how to unlock it, if its possible.

Is there some tutorial you can tell me about that dload folder upgrade method?

Thank you all for the help
[General Questions and Answers] :
It's fairly easy. Extract the firmware and you'll have a dload folder. Formar your sdcard with fat32 filesystem, you will loose all files. Copy the dload folder to formatted sdcard. Put it in the phone. Push vol- and vol+ and power key until phone boots and the process should start automatically.
[General Questions and Answers] hserras:
Thanks, CENTSOARER,

So, if i have understoud well.

1st - Find a compatible firmware

2nd - Extract it and copy it to a formatted sdcard

3rd - Boot the way you explained

Seems easy. Now I just have to find a compatible firmware.

Thank you very much for your help
[General Questions and Answers] :
You are welcome. I hope it works. Please let us know.
[General Questions and Answers] hserras:
CENTSOARER,

Thank you very much. It worked. It was as simple as you explained.

This dload method is only for Huawei's or for more models?
[General Questions and Answers] Sak32009:
[MENTION=5232707]CENTSOARER[/MENTION] [MENTION=6200942]PieroV[/MENTION], news?
[General Questions and Answers] :
I'm not working on that. Even if I would, I'm sure it'd take me months. Luckily, PieroV will have news soon, since he knows what he's doing. Seems like it is kind of a weekend project to him.

I'm looking forward for his CM too.
[General Questions and Answers] :
I really don't know. This is my first, and likely, the one Huawei phone I will ever own. I even bought it as an option to my wife's Moto E, in case she didn't like her phone (now I find it absurd, but she's more into screen size, camera, sound, etc.)

Anyway, I would use this method in other brand models with a firmware named UPDATE.APP inside a "dload" folder.
[General Questions and Answers] hserras:
CENTSOARER,

Thanks for the explanation. You were truly helpful.

Thanks again and see you next time ;)

Regards
[General Questions and Answers] PieroV:
Yes, it's actually quite so... I have more time to work on the project :)

As I already told you, working on Android takes long waiting times: syncing time and building time. Fortunately only the first builds take long.

I've had some problems with syncing CM 10.2 branch, so it delayed my work.

I've tried to compile the recovery, but as usual I've had some problems: it builds, but there is black screen, and there aren't many MSM8610 devices with CM 10.2, they usually have CM 11, which means more time required to build.
[General Questions and Answers] Sak32009:
You will be santa claus this year for all of us :D
[General Questions and Answers] raulsmat:
Hi, I bought a new Y530 for my son with B508 Rom. RootGenius 1.8.7 not root it. Some idea? :confused:

Thnk.
[General Questions and Answers] giebetrix:
firware B185

anyone can help me find the firmware types of B185, or friends on this forum who has? thank you :confused:
[General Questions and Answers] PieroV:
Hi, do you have USB debug turned on?

A notification should tell you have it, if you enabled it.

Otherwise please go to settings, choose info, and then tap several times on kernel version.
[General Questions and Answers] raulsmat:
Yes, USB debug enabled, fast boot disabled, notication acepted... All ok, but dont root. In my 530 with b198 root without problem...

Edit: kinguser.apk is instaled and /root directory created, but kinguser haven't permise.

'Su upgrade failed. Missing root permision' sais kinguser.
[General Questions and Answers] joker925:
Try using "ROOT genius"

Inviato dal mio HUAWEI Y530-U00 utilizzando Tapatalk
[General Questions and Answers] raulsmat:
Root genius 1.8.7 is used..
[General Questions and Answers] barakaakyoo:
Use towel root but don't install supper user, after it tells you, "thank you for using towelroot you should now have root access, there is no need of rebooting your phone " now connect your phone to a computer using usb cable, run root genius and select quick root, there you have it, it will install kinguser and you have it all done.

Note : if you fail this, it might be because of your bootloader, may be its not unlocked.
[General Questions and Answers] PieroV:
Hi guys, quick update, for interested ones.

At the moment we have:

A broken CM11 (because of kernel?) - I've stopped working on

CM11 with different kernel, Huawei dts - flashboot doesn't complain but after the boot command the screen becomes black and there is only blue blinking led; there are some errors in Java code which prevents the systemimage to be built correctly

CM10.2: the recovery image is booting, but black screen and recovery process exits with sigsegv. I still don't know what causes it...

I think that CM 10.2 is most promising option, at the moment...

Does anybody like debugging with GDB? :D
[General Questions and Answers] lustucrus:
huawei y530-u051 B188

Hi !

I search on the web for rooting huawei y530-u051 B188 devices but nothing clearely for B188 ...

I find the solution whit the official unlock method it's only work with adb_tools-2.0 of Android SDK,

I try several ADB tools kit with fastboot find on this site but nothing work ... but after 2 week i try the official adb_tools-2.0 and curiously it's working

desactivate fastboot in system options and activate debug mod

power off the phone and reboot in fastboot & rescue mode (Power + Vol-)

connect them to pc with USB cable

-After on PC

Launch ADB in command-line and paste the 2 following line (Work only whit official google adb_tools-2.0)

fastboot devices

fastboot oem unlock 1582411479186224 (This is my unlock code you must ave your 16 digit unlock code) : http://xdaforums.com/showpost.php?p=52764831&postcount=81

After reboot the phone and launch Driver Genius and after SuperSU or another

With superSU go to option>setting>security and desactivate "Séparation du montage" in french this bugs with titanium backup and for uninstall bloatware . now i have clear most 400mb of google apps include on the phone

NO SDcard Bug , all work Fine ... :P

Root have made on Canadian (Quebec) phone Build 188

Carrier : Bell

Note : No need to remove SDcard, sim, card , desactivate wi-fi, bluetooth or anything ...
[General Questions and Answers] barakaakyoo:
When are you bringing it buddy ?
[General Questions and Answers] Skazzy3:
So whats the fastest stock ROM for the u051 and how to flash?
[General Questions and Answers] ciubi93:
downgrade

I want to downgradr my b510 to b189 or b179 . for that need a nandroid backup with that firm. Can anybody to create a clean backup with that offocial rom ???
[General Questions and Answers] raulsmat:
Nothing... imposible... INCREIBLE...:eek:

Toot genius 1.8.7

ToweltootV3

KingoRoot

B508 not root...

In my other Y530 the bootloader was locked and it root.
[General Questions and Answers] PieroV:
If you can unlock the bootloader maybe you could install KingRoot using the "install zip" function.

You could do it with SuperSU, but don't do it, otherwise you won't see internal storage (I can assure you it's like this, I've tried myself!).

Maybe superuser works, but I haven't tested (you have been warned, I won't assume any responsibility). I think that most probably won't, as it is based on SuperSU, as I have understood.

Please note that unlocking bootloader will erase your /data (internal storage and external SD won't, but make a backup before ;) ).

EDIT: Another idea with clockworkmod is pushing the apk using ADB: it works as root and you don't have to flash it, you just need to boot it (but with an unlocked bootloader).
[General Questions and Answers] TotalErikas:
I don't have

Y051 but I was scared to unlock my bootloader. Your instructions were clear and I unlocked my bootloader . Thanks, but one question after unlocking it, what do you use to root it?
[General Questions and Answers] lustucrus:
if you have unlocked , just download and launch root genius 1.8.7 is the last version and that i use.
[General Questions and Answers] :
First, make it rain with Towelroot for Android. After succeed, uninstall Towelroot and run Root Genius from a Windows box using Quick Root option, of course USB Debugging option must be enabled in your phone.
[General Questions and Answers] TotalErikas:
Towelroot itself did the job
[General Questions and Answers] :
It tells you so, but you may expect problems reading/writing to internal sd card with Towelroot+SuperSU. Anyway, I hope you don't have any issues.
[General Questions and Answers] raulsmat:
Hi

Finally can you root your B508?

I have the same problem with B508 rom.