yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend P6, Mate] S34Qu4K3:
I don't know the full deatils of porting CM, but we just need to build it and, with the CWM recovery we can flash it
[Huawei Ascend P6, Mate] nolinuxnoparty:
I'll be trying to compile a test CWM recovery.zip soon. Well, I'll try to get Temporary CWM first :fingers-crossed:
[Huawei Ascend P6, Mate] S34Qu4K3:
I really prefer an unflashed recovery, since that way, i have 2 recoverys and it's easy to get the phone to factory status if i need my warranty
[Huawei Ascend P6, Mate] Stickman89:
In any case all we'd need to do is reflash stock firmware using recovery mode (Power, Vol Up and Vol Down) since it reflashes stock recovery partition during the procedure anyhow.
[Huawei Ascend P6, Mate] nolinuxnoparty:
Syncing CM-10.1 repos again. You can expect a test build and recovery soon :) :good:
[Huawei Ascend P6, Mate] Beready:
I heard in the beginning when they launched the Huawei they gonna put also a google version of the HUawei P6 device, I wnder when that's gonna hit the shelves. I guess you guys just can rip it and bring it out here wright ?
[Huawei Ascend P6, Mate] diffstyle:
Any progress on this?
[Huawei Ascend P6, Mate] BluntP6:
Yea any info, hows the project now?
[Huawei Ascend P6, Mate] paultje162:
Give him some time. And wait. If you want it fast, go develop yourseld
[Huawei Ascend P6, Mate] BluntP6:
Sorry for even asking...
[Huawei Ascend P6, Mate] reeco:
Looking forward to this, donation to follow.
[Huawei Ascend P6, Mate] bipbip14:
Your cyanogen support ascend mate?
[Huawei Ascend P6, Mate] djtyres:
Even if it doesn't I am working on one now as well for the mate.

Was kinda disappointed in lack of rom support even though Huawei releaced the kernel
[Huawei Ascend P6, Mate] Stickman89:
There's a reason development has been slow, as nice as it is to have Huawei release the source code it's not helping development progress because of our bootloader. At the moment we can't flash compiled kernel images because the image's must be signed by Huawei in order to pass signature verification.
[Huawei Ascend P6, Mate] S34Qu4K3:
Maybe we can flash a kernel with a repacked update.app (but it can brick the phone) and should work
[Huawei Ascend P6, Mate] surdu_petru:
Hi!

You can not brick your device , if you not rewrite recovery partition !

Also, I think we can not flash a custom kernel with repacked update.zip , because kernel signature ...

When we install UPDATE.APP we can see :

......................

check module BOOT ... ok

.....................

but with a custom kernel without Huawei signature , I think we will see :

check module BOOT ... failed !
[Huawei Ascend P6, Mate] Stickman89:
Your right, all will be glad to here I've got xda member kholk joining forces. He was donated the Honor 2 device, this device share's nigh on the same hardware as us. I've provided kholk with the necessary files in order to 1) crack the bootloader or 2) provide kexec bypass.

Kholk explained to me that he has already cracked the bootloader for the Honor 2 but due to the possibility of a brick it has not been tested. He has however managed to produce a working cyanogenmod 10.1 ROM for the Honor 2 using alternative methods, whichever method he decides to use for us I'm sure we'll see some advancement in development in the near future.

Hold tight for now all, in the meantime we're pouring hours into opening up new possibilities.
[Huawei Ascend P6, Mate] S34Qu4K3:
the'res also a way to bypass the update.app checksums, so boot module won't fail
[Huawei Ascend P6, Mate] surdu_petru:
Yes, sure...but after check modules follow write modules, and I'm not sure if a custom kernel will be passed...

Anyway seem to be a good solution if someone can check this operation, and let us to know!

Will be awesome if we can pass a custom kernel in this way...
[Huawei Ascend P6, Mate] S34Qu4K3:
Bad news, the resign method, seems to don't work in the P6 :(
[Huawei Ascend P6, Mate] Stickman89:
Considering that using dd to extract an image to said partition doesn't work it's sounding like the signature verification happens on boot too, if checks don't pass then neither does the splash screen... I'm guessing you soft-bricked your phone again S34Qu4K3?
[Huawei Ascend P6, Mate] S34Qu4K3:
Nah, not sofbricked : ) I used the default recovery to flash, so i couln't flash it XD
[Huawei Ascend P6, Mate] Whookid:
Any updates on this?
[Huawei Ascend P6, Mate] reeco:
I wish more devs had the P6 :(
[Huawei Ascend P6, Mate] nolinuxnoparty:
Link is down. Please reupload if possible. My Ubuntu Partition got corrupted

Thanks
[Huawei Ascend P6, Mate] xchema:
Sorry, link working again.

Enviado desde mi HUAWEI P6-U06 usando Tapatalk 4
[Huawei Ascend P6, Mate] Ottomaani0:
Any news on this one? :)
[Huawei Ascend P6, Mate] davidez25:
guys let's hear about this project. really wants us in p6 huawei stock rom google. please join we encourage

Inviato dal mio HUAWEI P6-U06 con Tapatalk 2

---------- Post added at 01:58 AM ---------- Previous post was at 01:58 AM ----------

someone let us know if there will ever be the cyanogenmod for huawei p6

Inviato dal mio HUAWEI P6-U06 con Tapatalk 2
[Huawei Ascend P6, Mate] goce.nakov:
Not until Huawei let us unlock the boot loader.
[Huawei Ascend P6, Mate] davidez25:
and why you can not unlock it by yourself as a teem cyanogenmod can not do that?

Inviato dal mio HUAWEI P6-U06 con Tapatalk 2
[Huawei Ascend P6, Mate] goce.nakov:
And your point is?
[Huawei Ascend P6, Mate] tauio111:
How did the chinese port the MIUI rom to P6, when the bootloader is locked?
[Huawei Ascend P6, Mate] xchema:
I think MIUI rom uses stock kernel while cyanogenmod needs aosp kernel that's why we need unlocked bootloader.

Enviado desde mi P6-U06 usando Tapatalk now Free
[Huawei Ascend P6, Mate] darioykevin:
I waiting this rom :D, its great cm10, great work
[Huawei Ascend P6, Mate] tauio111:
http://xdaforums.com/showthread.php?p=46684576

huawei released aosp kernel I believe
[Huawei Ascend P6, Mate] darioykevin:
can develop a cyanogenmod with this new kernel?
[Huawei Ascend P6, Mate] andrea210701:
Huawei honor 2 has a locked bootloader and cm10.1
[Huawei Ascend P6, Mate] customromfan:
Motorola Defy has a locked bootloader too and also various cm versions available.
[Huawei Ascend P6, Mate] Traace:
P6-U06 has factory unlocked bootloader here :)
[Huawei Ascend P6, Mate] davidez25:
there will be developments for huawei p6? we want cyanogenmod for this mobile phone

Inviato dal mio HUAWEI P6-U06 utilizzando Tapatalk
[Huawei Ascend P6, Mate] andrea210701:
Hi,would be amazing if this works https://www.dc-unlocker.com/downloads/DC_unlocker_software
[Huawei Ascend P6, Mate] BluntP6:
Where do you see Ascend P6 listed.......?
[Huawei Ascend P6, Mate] andrea210701:
I don't see it,but we can try it
[Huawei Ascend P6, Mate] davidez25:
look even a month. if you do not get a AOKP ROM or cm10. after sell this hateful little phone. I hope someone does something

Inviato dal mio HUAWEI P6-U06 utilizzando Tapatalk
[Huawei Ascend P6, Mate] hypeartist:
Nada!!! I've got Huawei Ascend D1 and build CM 10.1 for it quite successfully with COMPILED STOCK kernel! All you have to do is just add something like this:

TARGET_PREBUILT_KERNEL := device/huawei/your-device-name/kernel

to your device tree's BoardConfig.mk. And put zImage (extracted from boot.img and renamed into 'kernel') into device/huawei/your-device-name.
[Huawei Ascend P6, Mate] xchema:
Thanks for the info hypeartist. Let's see if nolinuxnoparty can give us some update on the project status.

Enviado desde mi P6-U06 now Free
[Huawei Ascend P6, Mate] nolinuxnoparty:
It usually gives errors :/
[Huawei Ascend P6, Mate] Traace:
Even if not. Bootloader on P6-U06 is unlocked, (Huawei just told its locked ^^) And they released Kernel Sourcecode,
[Huawei Ascend P6, Mate] hypeartist:
Could you be more specific? What kind of errors? It doesn't build? Or it doesn't boot? Or...?

---------- Post added at 05:56 PM ---------- Previous post was at 05:46 PM ----------

But not the RSA key to sign a kernel you can compile from those sources, right?

PS: as for their "kernel sourcecode" - don't know... maybe you, P6-guys, are more lucky then other Huawei phones' owners, but basing on the kernel source drop for Ascend D1 (and P1 too) - it's almost impossible to compile a kernel from that piece of junk without breaking your head against the wall :)
[Huawei Ascend P6, Mate] nolinuxnoparty:
Doesn't build... As for the kernel, they don't include defconfig in source tarball like sammy does and we can't obtain it from /proc/config.gz using adb
[Huawei Ascend P6, Mate] Traace:
Cuz Huawei is not sammy. They made many things different compare to other "normal" Android Phones

Defconfig should be found at /kernel/arch/arm/configs/hisi_k3v2oem1_defconfig

We dont need to sign Kernel, bootloader seems unlocked here
[Huawei Ascend P6, Mate] hypeartist:
Are you sure the pre-compiled kernel is the case?

Oh yeah!!!!!
[Huawei Ascend P6, Mate] surdu_petru:
Are you sure "We dont need to sign Kernel, bootloader seems unlocked here" ? .... what kernel you managed to flash till now ?
[Huawei Ascend P6, Mate] Traace:
Huawei tells the Loader is locked, but if u check via adb most of P6-U06 Loaders arn't even locked. That means u dont need a sign Kernel, flashing should be possible with some work and deeper research.

Edit: After heavy research the complete Kernel Code from Huawei (took 3 hours) i see that if we compile, mutch crap from the release doesnt even weight :D. They took normal kernel source and just put her configs and drivers in. Maybe to lazy for cleanup the folder to upload? :D thats why all looks so mutch like useless sh!t, first all a bit confused me.

Huawei made a carzy madness Kernel, with mutch crypos in. Filesystem is not cryped just sick

There are more than 10 Partitions as virtual mounting . The Phone got only one.

Bootloader is protected by an 16 key but should accept and run unsign kernels.

Ohh: Here are some mount points,

Kernel should be at /dev/ttyAMA1

Privat Passwords should be at /dev/ttyAMA2 (maybe)

System is at /dev/ttyAMA4

Rate=115200

all split again in that what we already knew /system /boot /data /media ... ...

if u want to find these data u need to know the memory adresses for the visuals partitions in /dev i told u the path for research, maybe in sourcecode ? maybe in the Bootloader, or via update.app. might the last one is a bit better.

The Bootloader then runs this cmd via the Linux Kernel to boot the "phone":

"console=ttyAMA4,115200 k3v2_pmem=1 root=/dev/mmcblk0p2 rootfstype=ext2 rw init=/init" with the Huawei bootscreen :) (Logo should be in kernel) . Oh rootfstype is ext4 anyway, They just wanna troll u

the /dev/tty are unmounted now. The Kernel runs now at Ramdisk

Yeah Huawei wanna bash heads against walls.
[Huawei Ascend P6, Mate] raolleel:
sorry to say that traace,

but you are only partly correct.

Yes .. the Bootloader isnt locked, but it is encrypted, ... so you don't need a unlock-key to flash data.

But, think about a DRM or such kind of encryption.

You can build your Kernel (Huawei released there Aops-Kernel-Source), but you need to get it signed.

If Huewei would say "Hey .. nice work, I let you flash the Aosp-Kernel you build" than you can flash this Kernel and build a CM-version over the top.

Our problem is, that you can't flash a Kernel without the Autority of Huawei.

My opinion would be, why does noone build a good kernel of the aosp-kernel and just ask Huawei, if they can sign it ..

what would be the worst thing Huawei can say ? No ?

Than you at least tried it ^^

Maybe you can falsh the Kernel when Huawei released a way to bypass the securitycheck. (and it looks like there planning to do so, in some time)
[Huawei Ascend P6, Mate] Traace:
Huawei doesn't need sign it.

They should let us create update.app so we can push them easy in. Huawei got all memory addresses in that.

DRM didnt get checked by Bootloader btw. U need a key just for flashing a bootloader but not for a new kernel ^^

I dont belive they say yes

Thats what it looks like if loader starts https://github.com/mangusta86/initramfs/blob/master/init.huawei.rc
[Huawei Ascend P6, Mate] raolleel:
if its so easy..

go on ^^

It would be awesome to get a working aosp-kernel+CM flashed
[Huawei Ascend P6, Mate] nolinuxnoparty:
[MENTION=2425503]Traace[/MENTION]: Thanks for all the useful posts you made. Will try my hand on P6 kernel now :cool:
[Huawei Ascend P6, Mate] Traace:
okay its not "so" easy, but its possible.

im not a Kernel dev sorry.

it looks like whole "user" Kernel runs in qemu*

AOSP Kernel would boost that baby on top ^^

Huawei just wanna confuse some developers, i cant see any reason that they did it for security cause end user didn't got any benefits. That waste so mutch Performance from CPU and RAM too.

Edit: Logcat hides mutch things. take a look at / while system runs. u can configure the .rc scripts for full output, they should save.

Its also possible to activate dmesg and push log into virtual mounts to take a look on it.

Good luck :) and thank u for tryhard
[Huawei Ascend P6, Mate] Traace:
The True about Ascend P6 - !OAMP4-Based! xloader->u-boot->Kernel->Goldfish | No Native Android​

xLoader boots u-boot -> u-boot place boot.img in Ramdisk and start a Linux Kernel (not even a file check :D) -> That Kernel starts QEMU to create full virtual SoC CPU that is called "Goldfish" on every emulated Android. In fact they start ARM-Linux to emulate ARM-Linux-Android this is outdated from 2009 but used at Androids SDK Emulator :D in fact this phone ISNT even an android. They also need heavy Kernel patches to let it even boot. example = Heavy binary who stop GPU flickering even if we got also drivers running for this Kernel :).

This Emulaton is why every mount is only virutal. Ascend p6 didn't got any partitions (even no /dev). NAND got some "img" files on it in a different yaffs2 format as normal, thats also the reason why u cant full extract that that yaffs2/img/binary mix <- .img also emulated by goldfish :D. full extract only works when Goldfish runs. And u will get some more junk cause u extract from a running system but no problem.

It is possible to push the virtual partitions to the memory adresses in NAND, we dont need to know them, emulator does. (permanent Kernel Flash, config Bootloader, flash other Loader, should work)

u-boot is also that who handle "update.bin" just renamed to .app by Huawei . On emulated once this is the only way to automatic update process with "kernel flash.... xLoader flash, u-boot flash, systemfs flash" Huawei recovery isnt even a "android-recovery". And this is the only Point i belive where Huawei (u-boot) did his MD5 check, every update.bin flash new xloader and u-boot at P6 and others, so its good that they got the check. (Its called eMMC boot/upgrade)

Kernel dev is mutch more difficult as at Samsung or others.. :) Good Luck maybe someone can made a native Android-Linux-Kernel but i dont belive that. P6 Drivers will work on native with some modifications on it

(Dont miss /cust folder, u need them for emulated Androids else no boot)

(Dont use fastboot/adb for system related things, emulated by goldfish. But its okay to start/install apps with it)

Huawei source helped me to research this a bit.

Ref:

http://elinux.org/Android_on_OMAP#Goldfish They also tell how extract and push complete ".img's" permanent on Nand

Thats why Android Framework crash if u compile -> http://benno.id.au/blog/2007/11/18/android-framework-startup

Theads are a bit older but its still the same for this Goldfish emulators
[Huawei Ascend P6, Mate] raolleel:
That looks very interesting and a little bit crazy to,

do you know other devices which use this kind of prozedure?
[Huawei Ascend P6, Mate] Traace:
Its safe that Huawei use that in all mobiles with Emotion UI and update.app function.

Example P1, Y300 .... and all more :)

u-boot system runs everywhere who xloader runs, and that without any modifications. no matter witch hardware they use. ->single,dual,quad,octa 1gb 2gb 3gb ...

xloader and u-boot are freeware. xloader runs on all OAMP based chips and they are really really cheap. 1€? for Huawei maybe 1cent.

xloader just init cpu and execute u-boot that loads the native Linux Kernel witch auto detect NAND , sets virtual partitions and start QEMU.

So if they are goint to release a new phone they install an OAMP chip , Huawei's upgraded SoC chip and a NAND on new motherboard layout. Then modify the drivers from the same Kernel who we are using on our P6,P1,Y300 ..DONE... Kernel is now fine again to run QEMU Goldfish Emulator on new hardware and booting EMOTION UI without modify the firmware

Really cheap and easy development for a new mobile :)

Here u can see how xloader and u-boot flashs an eMMC Update via SD (update.app) on a normal P1. Output: Serial console port

http://www.youtube.com/watch?v=SJ9adzIgbLU
[Huawei Ascend P6, Mate] alex61194:
thanks for you info, you think we will have cm in our phones?
[Huawei Ascend P6, Mate] Traace:
First we need someone who can dev a native Android-Linux Kernel for the P6. Else CM would be sh!t as stock firmware

We would get Anutu Score at 40000-50000 maybe even more if someone could make a "real" Android Kernel.

hope [MENTION=5317627]nolinuxnoparty[/MENTION] can do it. I'm not an developer :(

I will try dump real ramdisk and configs tomorrow.

Then i will try write them back via NAND

xloader and BootChip is made by Texas Instruments on all Huawei.

Go to root fs and take a look at

init.goldfish.rc ------------- with setsebool in_qemu = 0 we can disable SeLinux in qemu

default.prop -------------- with ro.secure = 0 we can enable adb root on native Kernel Level. ADB root on QEMU VM is useless.

But we cant edit the vaults, cuz they are only mounted as Ramdisk
[Huawei Ascend P6, Mate] nolinuxnoparty:
[MENTION=2425503]Traace[/MENTION]: i got ramdisk from boot.img [MENTION=1171857]xchema[/MENTION] provided. :)
[Huawei Ascend P6, Mate] Traace:
Nice i may know how to repack

http://boundarydevices.com/hacking-ram-disks/

The last command is the mkimage U-Boot tool, which adds the 64-byte U-Boot header back onto the output :) so it would boot

----------------------------------

on default.prop

set ro.secure=0

and set ro.debuggable=1

----------------------------------

on init.goldfish.rc

set setsebool in_qemu = 0

----------------------------------

For Jellybean take a look at bottom page, u need made it read only with mkimage

Good luck :) and dont try extract the ".img" before ^^ u will miss bytes than :D

Use the tutorial for that. :)
[Huawei Ascend P6, Mate] kaspars_l:
So, if I understood it correctly, Huawei did a pretty clever trick to reduce development costs. Too bad it's a major pain in the ass when it comes to custom rom and kernel development.
[Huawei Ascend P6, Mate] Traace:
yes thats right :).

Emulation use mutch performance. If we would be native this phone will be a beast! :)
[Huawei Ascend P6, Mate] kaspars_l:
Such a shame. This is really nice device, but if it would make full use of hardware capabilities... damn, that would be sweet.

My knowledge is very poor about this subject, as I just recently begin learning about it, so I have to ask - is it even possible to get P6 to work as a native android device?
[Huawei Ascend P6, Mate] Traace:
Its possible to run even newest Kernel with native Android on it cause CPU is Armv7 and Android supports SoC well. Just need to edit the Drivers and set some partitions then first kernel should be ready for testing. Good that Huawei released source.

My Galaxy S2 got higher score at Benchmarks that P6 atm . And its only got 1,2 ghz dualcore

If someone now be able to start a custom Ramdisk on it the door is open for everything

U-Boot just do a easy CRC check then he boots it :)

i already dumped /dev/ram0. Maybe its the Ramdisk but to lazy for testing

guess Format is meanwhile initramfs -> so in fact: cpio archive who is gzipped + uboot-header for CRC

http://www.mediafire.com/download/xxzdhg5crlhrmod/init.img
[Huawei Ascend P6, Mate] Marco0551:
I really regret buying this phone now because it doesn't have enough performance for the specs and I finally know why now. :(

I hope someone has the time and skills to work on getting a native kernel to run on this.
[Huawei Ascend P6, Mate] Traace:
I think we will see native Kernels.

That also not only help p6 owners. it will help all with EmotionUI Phones :).

But i also hear'ed that Huawei completty change his way of run Android on comming Emotion UI 2.0. I think they will also run native than
[Huawei Ascend P6, Mate] Marco0551:
That sounds interesting and I can't wait. :)
[Huawei Ascend P6, Mate] BluntP6:
Cant wait for it too ... ! Good job guys :)
[Huawei Ascend P6, Mate] davidez25:
Wau I hope soon

Inviato dal mio HUAWEI P6-U06
[Huawei Ascend P6, Mate] nolinuxnoparty:
Gonna give a test boot.img tomorrow :)
[Huawei Ascend P6, Mate] alex61194:
any news?
[Huawei Ascend P6, Mate] nolinuxnoparty:
ofcourse, yes, uploading kernel within tonight (Indian Standard Time) by 9PM
[Huawei Ascend P6, Mate] alex61194:
thank you, i hope we can have cm
[Huawei Ascend P6, Mate] Traace:
Nice :)
[Huawei Ascend P6, Mate] BluntP6:
It should be 11pm now, or im i wrong? ;)
[Huawei Ascend P6, Mate] Traace:
relax, he will let us know if he ready :)
[Huawei Ascend P6, Mate] alex61194:
any update?
[Huawei Ascend P6, Mate] justmpm:
Thread closed - OP request.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ray4:
After i installed Arcatarc's SuperleggeraV6 my phone just keep restarting. i see the sony logo and then the android logo then it reboots over and over again.

here is what i did in detail:

1. i was on Arcatarc's SuperleggeraV3

2. i updated the phone to the official firmware 4.1.B.1.13 with sony update service

3. then i flashed the 4.1.A.0.562 kernel

4. rooted the phone

5. installed the 4.1.B.0.587 kernel (is this the problem, that i didnt install 4.1.B.1.13 kernel?)

6. installed x-part from market and installed CWM from x-part

7. Factory reset in cwm

8. wipe cache partition

9. wipe dalvik cache

10. Format /system (in mounts and storage)

11. Format /cache

12. Format /Data

13. installed Arcatarc's SuperleggeraV6

14. installed Odexed_SuperleggeraV6_GOptimized.zip

15. rebooted

now my phone reboots over and over again and i dont know how to fix it, if anyone could please help i would be very glad.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sourabhp:
Boot loop

Try flashing different kernels

1. CTCaer

2. xKernel

3. vds

4. lupus

Search forum for link to download kernels.

If problem still persists flash the 4.1.b.0.587. Dont use 4.1.b.1.13. Repeat rest of the process
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ray4:
i am on locked bootlader so i cant flash other kernels. And do you mean i shall flash the official 4.1.b.0.587 even though Arcatarc's SuperleggeraV6 is based on 4.1.b.1.13?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sourabhp:
boot loop

Well in that case, you can unlock BL using http://androidflip.com/unlock-xperia-phones-bootloader-without-losing-drm-data-track-id-working/

The above method does not void warranty as you are not officially unlocking on sony mobile website.

I personally find superleggera v6 not so good.

Xperia Ultimate HD is currently best one.

Zelly cream also good but heavy

Both will work with stock kernels
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ray4:
i get Bootlader unlocked allowed: No

Do you know what i did wrong or what may have happen that makes my phone reboot over and over again?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] matgras:
Flash the correct firmware + baseband and follow all the steps.

Also re-downloading the rom may work

sent from my nasa supercomputer
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ray4:
What baseband should i install?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sourabhp:
bootloader locked

I believe Bootlader unlocked allowed: No is because it has SIM lock by the operator.

The method to unlock is not free. You will have to pay some amount to get Bootlader unlocked allowed: Yes