yashsingh1/xdaforums huggingface dataset:
[Huawei Mate S] Sathelp:
You need to read about flashing from the bootloader using fastboot. You will be able to get it back working but you will need to get an extracted rom to flash the right parts.
[Huawei Mate S] Sathelp:
Now I have a bit of time, I will tell you how I solved my issues. My phone was stuck with only the bootloader screen available or the eRecovery screen which would not find any suitable download. It said that the bootloader was unlocked yet I could not flash anything that I have extracted using the ROM extractor.

After much frustration I opened and ADB session and used Fastboot commands and re-entered the number in the Fastboot OEM Unlock command and it then confirmed that it was actually unlocked. It seems that although it said it was, it really wasn't.

Now that I knew it was unlocked, I could now start to flash parts of the extracted ROM.

I used the Huawei Rom Extractor tool to extract the Boot, Cache, Cust, Recovery, System and the Userdata image files of the ROM I needed and in this case it was the CRR-UL00470B110. I renamed the extracted files and removed the prefix numbers and put them in the ADB folder for ease of flashing.

I then used the Fastboot command to flash each part in the normal Fastboot format i.e. - Fastboot flash system system.img , and so on for each part. A reboot after brings it up in a nice new live usable phone. Well that is what I thought until I started to load the apps back on. I then noticed that I only had about 3gb left of my 64gb of memory! This took me a while to resolve and after more reading, more flashing of different ROMs I found the answer.

I had to flash the TWRP recovery using Fastboot, then format the data partition from TWRP. This restored the full size of the partition. Another flash of the correct recovery using Fastboot left me with a fully working unbricked Mate S.

I know that some of you may know all about this but I could not find any information and had to work through it myself and from various websites. I hope that this will help you to unbrick your phone.

I still think there may be something missing like the oeminfo file etc. but at least it works, you may just have to update it in future using adb and Fastboot if no OTA is available or works. Not too much of a worry now you know how to do it.
[Huawei Mate S] Sathelp:
I should also add that if you ever get an 'Invalid Argument' when flashing in fastboot mode and some oparts flash while others dont, it will be your cable. Trust me, one cable workws well another gives you this Invalid Argument error! Strange but true and may catch you out.
[Huawei Mate S] alsaidhakeem:
Thank you(Sathelp) to help me to solve the problem of mate s mobile, but I found only three orders adb work when used fastboot screen, there are boot, recovery and cust but the system and other order give fault result in adb. Therefore the phone remain broken. ..sorry for language
[Huawei Mate S] alsaidhakeem:
Is it possible to provide me a complete backup copy of the phone to be downloaded to my phone via the twrp recovery , perhaps back to life again, I would be grateful to you
[Huawei Mate S] Sathelp:
my p[hone is a U00 not a L09, so my back up will not work. Have you changed your cable, I had simular problem, changed cable and other ROM parts worked OK. If not, then you will need to ask for a L09 TWRP back up from here. May be someopne will make one for you.
[Huawei Mate S] alsaidhakeem:
Finally, the problem has been resolved and the phone returned to work and all this is due to the help of (Sathelp), which benefited greatly from his observations in this matter ,the issue has been resolved by updating the ADB and the execution of an order (FASTBOOT FLASH SYSTEM.IMG) , which i could not be implemented except adb updated, but the phone remained unresponsive for OTA updates and remained on the android 5. Thank to xda forums.
[Huawei Mate S] Sathelp:
Glad it is now working
[Huawei Mate S] cheseci:
Huawei Mate S CRR-L09 bricked

Hi

I have a Huawei Mate S (CRR-L09) does not work and remains stuck on the android logo. Mention that is installed TWRP and I tried to "wipe data factory reset". I accidentally erased everything on it, including Systema. I did not back up your data and restore the system. I downloaded firmware B145 stock on which I copied to root your phone but, but can not flash TWRP. I entered the menu Update (Vol + Vol- and Power) but does not see that folder "dload". Can someone help me with a backup or a tutorial on how to flash TWRP firmware.

Thank you
[Sony Xperia Z Ultra] championswimmer:
AOKP MM 6.0.1 unofficial + nightly + official

DISCLAIMER

You need to have an unlocked bootloader to use this ROM & kernel. Also I or any contributor in the software DOES NOT take responsibility of damages caused to your phone due to this ROM.

1. Copy ROM zip and gapps zip to sdcard

2. Flash any kernel which has recovery (Use the boot.img in this ROM - It has TWRP)

3. Reboot device and go to recovery by pressing Vol-UP when LED is pink

4. If coming from 5.1 or below ROM wipedata/factory reset your phone

5. Flash ROM zip

6. Flash OpenGapps ARM zip

7. Reboot and enjoy.

Official NIghtlies (automatically built every 4-5 days) :

Basketbuild

Unofficial Test Builds (will contain experimental changes for testing) :

Mirror : Uploaded.to

Mirror : self hosted

Gapps :

http://opengapps.org

We spend countless of hours doing this for next to nothing. Posts, views, and donations encourage me, and everyone else who helps out.

Donate to AOKP

Every donation is cherished and loved.

If you'd like to help contribute by writing code, feel free to stop by IRC and talk to us!

Latest merges on Gerrit

http://gerrit.aokp.co/#/q/sony+status:merged,n,z

Check out the ROM source on github. Open source, in the spirit of community kangage.

CREDITS

Thanks to all device maintainers of Sony devices on CM/AOKP/Omni/PA/PAC as everyone working on the device helps each other into making better ROMs.

Also thanks to Sony Mobile for being so helpful to developers.

XDA:DevDB Information

AOKP MM 6.0.1 unofficial + nightly + official, ROM for the Sony Xperia Z Ultra

Contributors

championswimmer

Source Code: http://github.com/AOKP

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Based On: AOKP

Version Information

Status: Alpha

Created 2016-02-09

Last Updated 2016-03-10
[Sony Xperia Z Ultra] matze19999:
Thanks man!!!!!

Is there a list with all bugs listed available?
[Sony Xperia Z Ultra] SUPERUSER:
A quick test of the rom. First time I try any MM rom on my own device.

Working

Root

Sms+call (from earpiece and and mainspeaker)

Mobile data

Compass+GPS+Glonass (tested with gps status and Maps)

Video playback (tested with Vine)

Audio playback (tested with Spotify)

Main speaker

3.5mm port (tested with Bose headset)

Microphone internal+external on headset (tested with audio recorder app)

Not working

Wifi (Switch remains off)

Bluetooth (turns on but does not find any devices)

Camera

Some of the Live Wallpapers gives FC

Notes:

Animation is not very smooth if you swipe fast. For example pulling down the notification bar it stutters.

Video playback is very smooth in Vine app. Video replays seamlessl without any delay.

Did not try NFC.
[Sony Xperia Z Ultra] Klaos3000:
Just nitpicking here, but "AOKP MM 6.0.1 unofficial + nightly + official". You should probably make up your mind :P Updating the current banner would probably be a good idea since it's from the JB/KK days.
[Sony Xperia Z Ultra] championswimmer:
Because I am the one who's making both unofficial and official builds ;)

For now no official builds have started unless we get camera working
[Sony Xperia Z Ultra] qwasz123:
THANK YOU!

This is amazing! I've been getting fed up with my Xperia Z Ultra though this should hold me out until March when the rumored Xperia Z Ultras will be announced! The second Bluetooth comes online I'll throw this on my device.

I'm happy to have AOKP back online. Do you have any tutorials or suggestions to a Computer Scientist to get into Rom building/helping with the community?
[Sony Xperia Z Ultra] championswimmer:
New build up. Wifi and Bluetooth should be working now
[Sony Xperia Z Ultra] matze19999:
What about camera? Is it fixed?
[Sony Xperia Z Ultra] championswimmer:
Soon.

There are some preview flickers with using the new sony open source hal

We are trying to fix that. Next release will have camera
[Sony Xperia Z Ultra] heartnn:
Great work. :o
[Sony Xperia Z Ultra] PDesire:
Hello [MENTION=4308696]championswimmer[/MENTION]

Is it okay for you and the AOKP team that I can use this ROM as base for my ROM?

My plan it is to give the crowd the update to 6.0.1 from "Sony" by porting the Z5 MM apps to Z Ultra, I need a 6.0.1 as base and this ROM could make it better/best Sony ROM ever, better than Z5 will get :) and the Z5 won't get that features which we get with AOKP combined with Sony apps ;)

I hope I get the permission :)

Your PDesire
[Sony Xperia Z Ultra] championswimmer:
Sure go ahead
[Sony Xperia Z Ultra] PDesire:
Wow, that was very fast reply, thanks alot :)

Your PDesire
[Sony Xperia Z Ultra] qwasz123:
Just tried the latest version from your site, the rom doesn't have WiFi or Mobile working (cannot find sim card nor turn on WiFi).

Installed latest FTF with modem, and tried installing the rom multiple different ways, from different recoveries including the recovery in the kernel for this rom (which I flash prior and after installing). The download is not corrupted either... anything you would suggest I test out?

*Edit: Seems that the Mac Address is incorrect. WiFi gets stuck turning on. Also Asks for Cyanogenmod Features during Setup, I wiped the phone prior to installation but I was on a CM 12 nightly.
[Sony Xperia Z Ultra] varmtkaffe:
I get the same result as you.

Neither wifi, bluetooth or modem is working.

Trying the previous version atleast it had working modem, so this new version is actually a regression over the first version.
[Sony Xperia Z Ultra] Grari135:
How do I replace the recovery? The recovery built in with the ROM can't read the external storage making me unable to use any backups in case of a brick. I've flashed an recovery.img in recoverg and the xzudualrecovery as well and used fastboot to flash a recovery.img aswell. Pls help
[Sony Xperia Z Ultra] E90 Commie:
Regarding the WiFi/BT MAC address: I can't speak for MM but several CM based LP ROMs suffer from problems caused by a lack of the files under /data/etc where those addresses are stored.

By extracting them from a stock ROM with Root Explorer followed by creation and copying them to the proper folder on the new ROM, both BT and WiFi goes back to full operation.

It is possible that the problem on the MM ROMs are similar in nature.
[Sony Xperia Z Ultra] Grari135:
Sounds Very interesting
[Sony Xperia Z Ultra] TimeTurn:
Same in CM 12.1 here. So not surprised :D
[Sony Xperia Z Ultra] varmtkaffe:
That should be fixed in the ROM, though, I guess. Not by the user.

Otherwise none of the ROM:s would have working BT/Wifi but some of the ROM:s does have that.
[Sony Xperia Z Ultra] blazta:
is it going to be fixed on the next update`?
[Sony Xperia Z Ultra] Lukijs:
I suggest to those have used it and keep posting "hurr durr this and that doesnt work", should just post catlogs.
[Sony Xperia Z Ultra] PDesire:
Ahahahah an catalog called Thousands ways to say: "It doesn't work" :D

Just joking :laugh:

Your PDesire
[Sony Xperia Z Ultra] Lukijs:
It's a beginning though, start log, turn on wifi, doesnt work, end log. And thats it, it will be easier for dev to fix problems.
[Sony Xperia Z Ultra] blazta:
Lets hope thats the next fix on the next update :)
[Sony Xperia Z Ultra] Nillanic:
Would I be able to technically flash this on my gpe?
[Sony Xperia Z Ultra] Lukijs:
Probably no. You can try, but you will probably brick it.
[Sony Xperia Z Ultra] DarkKnightH:
Hi!

If I understand correctly this is a build directly upon the AOSP release of Marshmallow? Is there some list or something of everything included in this ROM?

Also is there some way to actually get some of the functionality given from SONY to XPERIA devices such as Stamina mode? I could get my hands dirty with coding if need be.

Thanks
[Sony Xperia Z Ultra] PDesire:
Android Doze is comparable to Stamina, also this ROM (I haven't tested but I think because it's AOKP) should have some extra features which you find in a normal AOKP ROM

To get Sony ROM features we have to wait that Sony release MM for the Z5, then I want to try to port it :)

If you hate your phone then yes do and let the magic of hard brick begin :D

GPE and Sony Stock are very different, they have a different partitioning and partition table

A flash of this could potentially brick your phone hard

Never do ;)

Your PDesire
[Sony Xperia Z Ultra] fnldstntn:
Hi. There are some updates on cmxlog about camera for togari, are you planning to start nightlies soon? [MENTION=4308696]championswimmer[/MENTION]
[Sony Xperia Z Ultra] Nillanic:
I have a spare xperia z ultra to test builds with. Thanks for the heads up about not flashing on the gpe

Currently the wifi still doesn't work, nor bluetooth. I'll get catlogs for now I guess
[Sony Xperia Z Ultra] golfinggino:
I just tried to flash this and now stuck at a bootloop at the sony logo - any suggestions to get out of this ? thanks,
[Sony Xperia Z Ultra] ch3mn3y:
Restore backup of previous Rom You had?

Try to do wipes of all partitions - including internal to be sure.
[Sony Xperia Z Ultra] championswimmer:
new builds up. wifi/baseband working

laggy camera too :P (will improve in coming days)
[Sony Xperia Z Ultra] bavmouse:
the sd card is read-only. How can I change this? format has not helped.
[Sony Xperia Z Ultra] fnldstntn:
Try this. https://play.google.com/store/apps/details?id=nextapp.sdfix
[Sony Xperia Z Ultra] bavmouse:
the link isnt correct?
[Sony Xperia Z Ultra] fnldstntn:
Search sdfix on google play store.
[Sony Xperia Z Ultra] bavmouse:
i had this app. no help.
[Sony Xperia Z Ultra] blazta:
Then try this https://play.google.com/store/apps/details?id=in.co.pricealert.apps2sd

Under SD fix.

Dont forget to reboot after fix :)

Hope it works
[Sony Xperia Z Ultra] saurabh_badhwar:
Flashed this on C6802

Sim card not getting detected

Any fix?
[Sony Xperia Z Ultra] golfinggino:
still trying to get my ultra working again - I am stuck on the sony logo and cant get into recovery - I am trying to fastboot the boot image from this rom hoping I can get back into recovery - for those more experienced the me any suggestions ?
[Sony Xperia Z Ultra] d1g1m4n:
Those of you getting sd problem try search "media_rw" on XDA
[Sony Xperia Z Ultra] qwasz123:
Install the kernel from a Cyanogenmod Nightly by downloading, taking the boot.img out of the zip file (in the base directory), connecting via Fastboot and using the command Fastboot flash boot boot.img. (HAve the boot img in the same folder as your Fastboot program. Make sure you're phone is completely off by holding power and volume up until the screen turns off (this build doesn't vibrate three times).

Also I cannot connect to T-Mobile (Data) on my C6833, the APN settings are correct... well after I corrected them.
[Sony Xperia Z Ultra] golfinggino:
I already tried this - I just put a new 500gb ssd in my laptop and didn't have fastboot set up - I reinstalled everything and I still cant get my laptop to recognize the ultra in fastboot mode - I think I have finally bricked my first device in 10 years lol - luckily it is the cheapest device I own and I also have a ultra gpe as one of my many backups - oh well live and learn lol

will try it again on my work laptop tomottow
[Sony Xperia Z Ultra] Nillanic:
wifi and cellular work :D
[Sony Xperia Z Ultra] destinygs:
well, you cant give up that fast, at least try flashing stock firmware. btw, did you use the driver installer from flashtool to install fastboot driver or you install it with another installer? i could tell that sometimes other fastboot installer do not work for z ultra.
[Sony Xperia Z Ultra] fnldstntn:
I installed the latest build but i have a problem with wifi. It isnt working properly, the mac adress is 02:00:00:00:00:00:00 and it wont turn off, becouse of that i cant usemy callular internet too. Device is c6833 and i fogot to take logcat before going back to 5.1.
[Sony Xperia Z Ultra] bavmouse:
App said: android write external storage permission not found

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

app said: Error Platform permission file is invalid, no WRITE_EXTERNAL_STORAGE entry found.
[Sony Xperia Z Ultra] Magic_Man36:
https://drive.google.com/file/d/0B1qRK4zwxXcpSWlmX1Rsc0JSR0k/view?usp=docslist_api

Try it. I do not remember. where he got it, but it helped me. Flash through recovery
[Sony Xperia Z Ultra] Nillanic:
Cellular kinda works, I can text but data doesn't work
[Sony Xperia Z Ultra] blazta:
could it be the APN settings?
[Sony Xperia Z Ultra] Nillanic:
I re-entered a new APN setting per ATT's article and it looks like it's still a no-go
[Sony Xperia Z Ultra] NABENDU1:
sir can u try this modem patch

http://xdaforums.com/showpost.php?p=64346008&postcount=9
[Sony Xperia Z Ultra] bavmouse:
has not helped. I am now back to cm 12.1
[Sony Xperia Z Ultra] RealityFails:
Is there an update on this?

I see people have issues on 02 version. Nothing new there.

I can live without the camera for the time being, but WiFi is a must is there anyone with the c6833 that can confirm what works?

Its taken this long to get something stable for the ultra. I think I'm ready to jump to the z3 tablet compact.
[Sony Xperia Z Ultra] morestupidemailnames:
Ive just flashed the 20th feb version.

Wifi working. Camera worked for one shot then no more. Sd card working well. I dont have a sim for this phone so cant comment there.

Have rebooted and the camera is working. Glitchy but working.

Wi fi still working well. C6833

When i reboot the changes ive made to the home screen are lost.

Changed to the google launcher. Better now. Changes survive reboot.
[Sony Xperia Z Ultra] TheOfficialMrBlah:
I also flashed and used the 20th feb version on my c6833.

Wifi and Bluetooth still working.

SD card works well.

Camera works only with the preinstalled camera app and after a few shots I have to restart my phone.

In general the system works well but occasionally it simply restarts and applications like Facebook running relatively poor.

Sim card works partially

I can call someone and I can write SMS

But I can not use cellular data
[Sony Xperia Z Ultra] Nillanic:
Any updates? Cell data no worky
[Sony Xperia Z Ultra] NABENDU1:
the patch is for when it doesnt detect sim card . Cell data has to be fixed rom side
[Sony Xperia Z Ultra] drmagesh7:
mobile data is not working for me ? wat shoud i do ?
[Sony Xperia Z Ultra] ch3mn3y:
Wait. It doesnt work in rom. Did You read other post than OP before flashing?

Sent using XT1562 - Resurrection Remix/Ultra Kernel
[Sony Xperia Z Ultra] drmagesh7:
Bro next updated when I'll come.... My mobile data is not working........wat should I do before tat?
[Sony Xperia Z Ultra] ch3mn3y:
It's a bug and You need to wait for fix. There is no more options, sorry.
[Sony Xperia Z Ultra] morestupidemailnames:
You could try another rom
[Sony Xperia Z Ultra] championswimmer:
New build have been uploaded.

There are new features in ROM Control.

Device hardware state is mostly same - laggy camera, mobile data works

http://uploaded.net/f/614c0k
[Sony Xperia Z Ultra] DarkSandmaN:
It's impossible to download from that site, a lot of ads can't download it.
[Sony Xperia Z Ultra] Grari135:
If you go to first post download from the selfhosed link had the same issue
[Sony Xperia Z Ultra] drmagesh7:
Mobile data is working now ?
[Sony Xperia Z Ultra] Lukijs:
Did you read his post? Also you can try it yourself.
[Sony Xperia Z Ultra] drmagesh7:
in 1st post also he says that mobile data is working ..... but fr me is not worked ... so why i asked for confirmation
[Sony Xperia Z Ultra] Lukijs:
Flash and see for yourself.
[Sony Xperia Z Ultra] DarkSandmaN:
Well, Mobil data work but u can't change it from LTE. You can turn it off and on but you are stuck with LTE mod.

Display brightness always reset it self to 100% after unlocking phone with or without adaptive brightness.

Music player don't like to obey always.

Call and sms work. And there is no huge battery drainage like on other Mm rooms.

Rom is usable but...
[Sony Xperia Z Ultra] drmagesh7:
For me mobile data is working ? everything is fine but only one prob is brightness reset ... Hope next update will be solve ....??????
[Sony Xperia Z Ultra] drmagesh7:
Bro when next update is coming ... Am waiting for brightness bug fixing..... And camera also not working .... Am waiting...
[Sony Xperia Z Ultra] Lukijs:
Keep on waiting. Its not like you pay the dev for his work,so ley himtake hid time with things.
[Sony Xperia Z Ultra] drmagesh7:
I just said tat am waiting .....I didn't said like do fast I need update soon ...
[Sony Xperia Z Ultra] gsusrm:
A question, need to update to new bootloader or is not necessary to install the rom?

Enviado desde mi C6833 mediante Tapatalk
[Sony Xperia Z Ultra] ch3mn3y:
If You find other recovery supporting flashing MM roms You dont need new bootloader. Some recoveries can be flashed to FOTAkernel partition.

EDIT: Not sure if it needs to be implemented, but HD2's TWRP 2.8.7.0 supports MM roms, so I think that If You got 2.8.7.0 TWRP or use recovery from kernel (if there is any), it should be able to flash it, but it won't support AdaptedSD.

Sent using XT1562 - Resurrection Remix/Ultra Kernel
[Sony Xperia Z Ultra] Romanusmagnus:
Can't enter recovery after installing this one
[Sony Xperia Z Ultra] loudog3114:
As far as I can tell, everything I need in the 3/06/16 build works. Havent tried bluetooth or nfc, but camera, wifi, and lte work. So, awesome job!
[Sony Xperia Z Ultra] DarkSandmaN:
use rom menager appby cwm from market and then u can go in recowery
[Sony Xperia Z Ultra] Lukijs:
I know that c6806/c6833/c6802 models can use same roms. I dont know what was your point of posting this in at least 2 threads I checked, but figure out which device you have. Most rom threads will have written for which models rom is meant for.
[Sony Xperia Z Ultra] shingers5:
been keeping any eye on this one so here is a quick question? what is the best recovery kernel to use to flash? UB here so will XDZ dual work of do i use rom manager from market to flash CWM? any replies will be appreciated
[Sony Xperia Z Ultra] TheOfficialMrBlah:
Why are only .log on the AOPK webpage since the first MM nightly?

https://s.basketbuild.com/devs/aokp/togari
[Sony Xperia Z Ultra] bttcp12:
Your answer it's in the logs.

There is obviously an error in the automatic building process.
[Sony Xperia Z Ultra] championswimmer:
New build is up on my server and on uploaded.net
[Sony Xperia Z Ultra] DarkSandmaN:
new build was all ok untill i installed all my apps and restart phone. now when phone is turning on just show SONY logo and screen goes black. but before restart rom was working awesome, wifi,screen,it is fast not laggy.

Well supersu from market is making rom stuck on sony logo,so no supersu no problem with boot.

Rom work very good but I can't change it from 2g network mode. It say in settings it's LTE but it is 2g and its stuck at 2g. That is only big thing for me on this rom for now.

Great work dev
[Sony Xperia Z Ultra] TheAstriX:
Camera not work!

Please fix it.
[Sony Xperia Z Ultra] DarkSandmaN:
Hello championswimmer,is there gonna be new build any time soon? From all MM ports this one is looking best for me,i dont use it only coz its stuck at 2g network. i am expecting new build every day last month xD
[Sony Xperia Z Ultra] drmagesh7:
Why no update? Waiting for so long time??
[Sony Xperia Z Ultra] championswimmer:
New build up http://files.championswimmer.in/championswimmer/ROMs/aokp/togari
[Sony Xperia Z Ultra] d1g1m4n:
Where I can find features specifically for our build? Where I can find status, ie what works? Because all I see now is "alpha".

Thank you for development.
[Sony Xperia Z Ultra] DarkSandmaN:
In new build does 3g/2g work? I just restore to stock rom and locked bl so cant test it so easy.

If anyone try it plz tell me what is not working like this rom