yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] optik19918:
you are a genius it works thanks i was looking for a looong time for this!

With xtxperience 7 and xperia v walkman it works perfect :D
[Sony Xperia S, Acro S, Ion] unease:
Thanks a ton!

Worked like a charm! Perfect fix.... Thanks a lot....
[Sony Xperia S, Acro S, Ion] halleyrokz:
Love it

I am fed up with custom ROM's (no offense meant to developers). Now my phone is running great. I have retained Super user and the Sony UI seems to be faster (maybe my imagination), but won't be using it. Everything is perfect.

I had stock plus v3 and xtx7 installed.
[Sony Xperia S, Acro S, Ion] alexferdean:
Don't judge me please, but BE is working in games also? Or u had a screenshot from a game in your gallery?

Xperia Nexus S
[Sony Xperia S, Acro S, Ion] zytres:
i love youu!

yeah man this is great it workss ohh yesss!!!:highfive::good::victory:
[Sony Xperia S, Acro S, Ion] halleyrokz:
Sad Case

Sadly only Sony apps can take advantage of B.E or B.E 2.
[Sony Xperia S, Acro S, Ion] revan17:
I'm curious why this works, how does it fix the DRM keys, which were supposedly never possible to get again? Does it make new ones or trick the system they are there, when in fact they are not?

I'm just curious. But it's awesome this works. :D
[Sony Xperia S, Acro S, Ion] optik19918:
This are the development test drm keys
[Sony Xperia S, Acro S, Ion] gungjodi:
Can someone mirror the zip file?? or PM me a link to download it?? :confused:

I cant download the zip file from the link above.. :crying:
[Sony Xperia S, Acro S, Ion] brahweiz:
The instructions says use root explorer or any root manager, does this means my phone has to be rooted??
[Sony Xperia S, Acro S, Ion] |HBHs| Acidburns:
My tv guide says all wires have to be plugged in to work properly... Now tell me should I follow the guide and do what they say or should I just press the power button and wait for some magic
[Sony Xperia S, Acro S, Ion] jemju_xps-user:
yes rooted to use root explorer then follow the op
[Sony Xperia S, Acro S, Ion] Piyush Rawal:
This should be a sticky.
[Sony Xperia S, Acro S, Ion] M.WeWe:
sorry for asking this silly question is this guide works on CM 9?
[Sony Xperia S, Acro S, Ion] monivan:
How could u relock ur bootloader while using Cm9 kernel? xD

Send from my stupid lt26i
[Sony Xperia S, Acro S, Ion] Bromsoket:
Excellent, thank for this, it works on Acro S :good:

The "Location sharing" in the SMS app is still not working, any chance that it can be fixed too?

It would be awesome :)
[Sony Xperia S, Acro S, Ion] gothraven666:
done this, but got security error when i want download music info.

please enlightenment

edit: gomen, my bad. its working. forgot relock my boot :p

thanks for this. u rock
[Sony Xperia S, Acro S, Ion] dyepnoodle:
followed your instructions (kernel from stock ftf) and i confirm it is working on my Xperia ion. :) thanks! got BE back too!

---------- Post added at 11:31 AM ---------- Previous post was at 11:26 AM ----------

not in videos. BE also works on third party apps for videos even on youtube. check sony forums a dev from sony confirmed it. sadly BE for pictures only works on sony album app
[Sony Xperia S, Acro S, Ion] hash054:
download music info a scam?

yeah it worked... for the first time... i downloaded music info... amazing feeling.... but wth???

it didnt recognize 95% of my songs... and furthermore it combined many songs in one single album... whereas they were sung by different artists... i mean... is that how it normally works??
[Sony Xperia S, Acro S, Ion] mirhl:
but.. these files that are restored are DRMs ?

is this like if you haven't never unlocked BL?
[Sony Xperia S, Acro S, Ion] Bromsoket:
Not really, music info in Walkman works but not location sharing in SMS...
[Sony Xperia S, Acro S, Ion] monivan:
God! can't choose between BE and The freedom of flashing kernel! I want them both...

Send from my stupid lt26i
[Sony Xperia S, Acro S, Ion] acefiredx:
It works but after 3% of download I get a screen that says "unsupported software version" and it justs stop.

The only buttons I can press next is Finished or Resume. But resume only restarts the download from 0 and I get the same error.
[Sony Xperia S, Acro S, Ion] jemju_xps-user:
what rom are currently installed?me before i relock currently rom was xtx7/kernel-ics17..maybe the rom and kernel are not matched so you get an error
[Sony Xperia S, Acro S, Ion] acefiredx:
I was on stock the whole time. Never flashed other roms at all. I even completely reflashed .2.45 before rooting and preserving root over to .55.

I'm rooted on official .55 though. Could that be the problem?
[Sony Xperia S, Acro S, Ion] arc_u:
It's say set permission, but set to what? rw-r--r--, rwxrw-rw-,... what please?
[Sony Xperia S, Acro S, Ion] Daniel_GB:
rw-r--r--
[Sony Xperia S, Acro S, Ion] alexferdean:
First, thank you for gaining back BE!

Now, I installed CMW and I wonder: if I restore to CM10 what happens? I get bootloop?

I would like to switch between standard and CM roms like before.

Thank you! And please don't criticize.

Xperia Nexus S
[Sony Xperia S, Acro S, Ion] AliAlsuhail:
You can't restore with the locked boot loader version of CWM (there is done procedure to make it work but even if it did, I tryed to flash a kernel (when I was new to android) and I soft bricked my phone; won't even boot, had to restore with PCC)
[Sony Xperia S, Acro S, Ion] jemju_xps-user:
How about your bl?lock or unlock
[Sony Xperia S, Acro S, Ion] monivan:
I've xperience sth like that too. It hangs on Sony screen didn't go to boot animation. But then i managed to get it to work. What i did is adding those files into my custom build rom, have a full wipe and flash! Then it work...

Send from my stupid lt26i
[Sony Xperia S, Acro S, Ion] halleyrokz:
Again unlocked Boot loader

But this time trackID works without any hitch. So will the bravia engine also work? Coz I have heard both depend on the DRM values which gets lost during onlocking the bootloader.

Any Help
[Sony Xperia S, Acro S, Ion] monivan:
Yep all Work! But not location sharing in Message!

Send from my stupid lt26i
[Sony Xperia S, Acro S, Ion] giober98:
not working

i have an xperia U and i did everything that the giude says but mi walkman app won't download music info
[Sony Xperia S, Acro S, Ion] giober98:
I have the same problem

Please help me!!!!!
[Sony Xperia S, Acro S, Ion] mirhl:
maybe you should try to contact some xperia U user with locked BL and try his respective files
[Sony Xperia S, Acro S, Ion] Jiyeon90:
Thank you so much OP!

working great on my acro s

anyone knows if BE1 still works on videos if I install BE2?
[Sony Xperia S, Acro S, Ion] jemju_xps-user:
anyone can confirm this, video fix in be2 by monivan..see post - http://xdaforums.com/showthread.php?t=2010673&page=19

or

Guys! I FOUND A FIX FOR BE VIDEO... Actually not a fix xD! BUT It will let your phone run BE2 for pictures but BE1 for videos! So can enjoy both BE at the same time!

Things to do: Easy and so Simple

JUST replace "be_movie" in system/etc with the one found in stock rom... Or just flash this over: https://www.box.com/shared/7snftmn8otfo6axh0uab

Thanks me, if I deserve it!

Send from my stupid lt26i
[Sony Xperia S, Acro S, Ion] alexferdean:
It's not correct. First u have to install BE2, then do the trick u mention.

Xperia Nexus S
[Sony Xperia S, Acro S, Ion] jemju_xps-user:
its a fix, so you need to install first be2..
[Sony Xperia S, Acro S, Ion] Psicao:
Thank you for the share :)

For me BE work but music info say failed download info :/
[Sony Xperia S, Acro S, Ion] Knight77:
Guys this trick can also work with Xperia T? I tried the screenshot before/after BE and the pictures are the same, so well I guess that unlocking the bootloader had the same results that with Xperia S (losing BE and the music function...).

Please let me know :)

Thanks!
[Sony Xperia S, Acro S, Ion] Hefko:
Xperia P does not work :( Credentials force close :(
[Sony Xperia S, Acro S, Ion] unease:
Just a clarification, bravia engine only works in the default album or video right? Or does it affect wallpaper or overall screen?

Sent from my LT26i
[Sony Xperia S, Acro S, Ion] PeacefulCalamity:
Figured it's worth dropping my ROM for this. Let's see if it's worth the difference.
[Sony Xperia S, Acro S, Ion] Spectre51:
Worked great on my XS (minus the SMS location sharing). Hopefully they can get this working for the XP as well.
[Sony Xperia S, Acro S, Ion] uDroid:
Do you mean by relocking bootloader, the bravia engine will work?

Confuse here hehe not good in english too sorry.
[Sony Xperia S, Acro S, Ion] Daniel_GB:
yes, it will.

u just need to follow the instruction.
[Sony Xperia S, Acro S, Ion] mirhl:
it would rocks you still have unlocked BL (and why no, even some custom kernels) and even this nice goodies
[Sony Xperia S, Acro S, Ion] sfkaudi:
All made step by step but still download failed by unknown cause in musicinfo????????
[Sony Xperia S, Acro S, Ion] Jiyeon90:
just upgraded to XTXperience 8.1, will this still work with this rom?
[Sony Xperia S, Acro S, Ion] amfirbek92:
Yes
[Sony Xperia S, Acro S, Ion] Jiyeon90:
are u sure? I just tried it and either bravia or music info download are working :(

it got them to work when I had stock 6.1.A.2.45 rom
[Sony Xperia S, Acro S, Ion] mharckk:
is your bootloader locked or unlocked?this will work only on locked bootloader.if yours is unlocked you need to relocked it.
[Sony Xperia S, Acro S, Ion] zain rizvi:
Thanks for this guide man, i just want to ask if i only want BE to work, wud i just need to relock the bootloader??
[Sony Xperia S, Acro S, Ion] Spectre51:
No you need to follow the guide.
[Sony Xperia S, Acro S, Ion] Rodger_Rulez:
will it works on Sola??
[Sony Xperia S, Acro S, Ion] zyclops1:
Is this working on arc s?
[Sony Xperia S, Acro S, Ion] androizers:
Gonna try this soon....

Bt the thing we get concerned bout is to flash kernel (sequel) from trusted and recognised developer!!! :(

Isn't any other method to get it all working w/o Relocking Bootloader..??
[Sony Xperia S, Acro S, Ion] brahweiz:
I don't quite understand step 6 on instruction. Can someone explain it to me please?
[Sony Xperia S, Acro S, Ion] Daniel_GB:
in locked bootloader condition only stock kernel (Sony) can boot, so you need to flash stock one before or after relocking!

you can do this using flash tools and just flashing kernel! (exclude all others except kernel)
[Sony Xperia S, Acro S, Ion] fixx1983:
Guys, a question for you.

My BL is already Relocked. For make the trick, BL should be unlocked again an then relocked? Or it works even if my BL is Locked?
[Sony Xperia S, Acro S, Ion] revan17:
Try just copying the needed files and wipe cache and dalvik.
[Sony Xperia S, Acro S, Ion] mksreenath:
Wow...awesome.. it works like charm..:good: :good:

check the attachments !!
[Sony Xperia S, Acro S, Ion] ishaan0123:
Will it bring back the drm keys?

So, I mean, we can get the complete stock package of our device?
[Sony Xperia S, Acro S, Ion] androizers:
U'll get back everything that u were having when u were on stock before Unlocking Bootloader...

Bt after this process, u will not gain DRM keys, as Oncs the DRM keys r lost, they won't b gain backed... :(

Every Post Is Important To Us, Nd So The Same Is With Our Reply Back!!

Show a little appreciation when you receive help... :)

XDA MEMBER
[Sony Xperia S, Acro S, Ion] Dr.Alexander_Breen:
Has anyone managed to make SMS location sharing work?
[Sony Xperia S, Acro S, Ion] Jiyeon90:
has anyone managed to make this work on XTXperience 9 ROM???
[Sony Xperia S, Acro S, Ion] ahvipardik:
Yes it works.
[Sony Xperia S, Acro S, Ion] mythoss:
if i only relock bootloader and restore stock rom via pc companion the BE works or not?
[Sony Xperia S, Acro S, Ion] Daniel_GB:
no, the only way is to follow the instruction provided here!
[Sony Xperia S, Acro S, Ion] rcbsandeep:
Anybody confirm ! Why is that we cant install custom roms requiring bootloader unlock ? if it is so After applying this method I cant install custom roms at all which need BL unlock because many ROMS require unlocking BL ! please someone confirm this
[Sony Xperia S, Acro S, Ion] Spectre51:
You can't install a custom rom that uses a custom kernel without unlocking the bootloader. Unlocking the bootloader breaks bravia engine.

So if you want bravia engine to work you have to have locked bootloader and lose access to roms using custom kernels.

Sent from my Sony Xperia™ TL
[Sony Xperia S, Acro S, Ion] rcbsandeep:
previously i have unlocked many times to install custom rom and relocked back recently ! so can i get back BE via this method again ?
[Sony Xperia S, Acro S, Ion] cabi.costa:
Not correct. I have unlocked the bootloader and I did a test, going back to the last Gingerbread FW we had for SXS.

Well, the BE worked flawlessly, even with unlocked bootloader.

It's a bug of ICS and drm keys, many users also reported that even with locked bootloader, BE does not works.
[Sony Xperia S, Acro S, Ion] Spectre51:
Yes unlocked bootloader and ICS breaks it cause you lose the drm keys.

Who is still running GB honestly as everyday OS on these phones.

Sent from my Sony Xperia™ TL
[Sony Xperia S, Acro S, Ion] cabi.costa:
Again, no.

It's a problem of ICS and BE.

Even with locked bootloader and stock rom ICS, BE does not works.
[Sony Xperia S, Acro S, Ion] alexferdean:
Before unlocking it worked fine for me on ics, but I heard there are only a few locked bl who have no be working. I hope jb will fix this.

Xperia S
[Sony Xperia S, Acro S, Ion] Spectre51:
Yes it does work on stock ics with locked BL as long as you never unlocked it previously. I have four xperia phones and BE works/ed on all until the bootloader was unlocked with ICS.

I'm not gonna sit here and argue with you I'll go with my own personal experience with my multiple devices and friends devices.

Sent from my Sony Xperia™ ion
[Sony Xperia S, Acro S, Ion] ishaan6698:
Can someone tell me if this works if I:

*follow the above instructions on ics and relock bl

*and after that i flash stock.45?
[Sony Xperia S, Acro S, Ion] Daniel_GB:
No when you flash another rom, your system partition will be replaced.

so all files you have moved there will be deleted.

So no, you cant.
[Sony Xperia S, Acro S, Ion] ishaan6698:
I mean by using seus
[Sony Xperia S, Acro S, Ion] Daniel_GB:
i have not used SEUS since i bought my Xperia S, so you can try it but there is good chance that SEUS also breaks BE.

if u tried, please let me know.
[Sony Xperia S, Acro S, Ion] ishaan6698:
i'll do a clean install from seus when my mom comes home
[Sony Xperia S, Acro S, Ion] rcbsandeep:
didnt work for me :(
[Sony Xperia S, Acro S, Ion] rcbsandeep:
how did u get that working ? :(

---------- Post added at 04:36 AM ---------- Previous post was at 04:33 AM ----------

followed all steps,still not working ! where did i go wrong ?
[Sony Xperia S, Acro S, Ion] ishaan6698:
Why would it break it ? I'll add drm from ka 24.1 also

And then a clean install using seus
[Sony Xperia S, Acro S, Ion] bigthree:
is this thing actually working?, cause i have noticed that pictures captured from my unlocked bl xperiaS was not that fine or good enough. maybe because my bravia engine is not working anymore..is there any way to recognize the true effect of BE?
[Sony Xperia S, Acro S, Ion] Daniel_GB:
yes indeed, there are screen shots available in this thread.

you can check them.:good:
[Sony Xperia S, Acro S, Ion] DiukPL:
When you relock in .50 and then update from .50 to .55 BE will broke - doesnt work. Just test it.

EDIT

Ok wierd thing... BE work perfect on movies (stock video player, MX Player) but don't worked on pictures (stock gallery). Im thinking... Crazy theory - Is that possible that BE is hardware related if we talking about movies and DRM keys in this case (BE in movies) are ignore?
[Sony Xperia S, Acro S, Ion] mirhl:
BE is only a software afaik
[Sony Xperia S, Acro S, Ion] DiukPL:
ok
[Sony Xperia S, Acro S, Ion] ishaan6698:
what are the correct permissions?
[Sony Xperia S, Acro S, Ion] cracksquirrel:
So I jut did this on 6.1.A.0.453 and BE started working perfectly, Updated to 6.1.A.2.45 and it's broke again, Is it just a case of going through the instructions again and flashing the kernel from 6.1.A.2.45 ?
[Sony Xperia S, Acro S, Ion] estape11:
Hey everyone :) THis solution works in Xperia P? Thanks pleace reply ^^
[Sony Xperia S, Acro S, Ion] revan17:
Yep.

Try it.
[Sony Xperia S, Acro S, Ion] estape11:
I do it everthing and when i try download info or see any picture i have CredentialManagerService_1_5. stopped :/ any solution?

---------- Post added at 07:34 AM ---------- Previous post was at 07:27 AM ----------
[Sony Xperia S, Acro S, Ion] revan17:
Then you have not followed all the steps. Try clearing data for Credential Manager Service under settings>apps
[Sony Xperia S, Acro S, Ion] Spectre51:
No it doesn't work on the XP.

Sent from my Sony Xperia™ TL
[Sony Xperia S, Acro S, Ion] estape11:
Thanks for reply, daam it :(

Send from my Xperia P LT22i using XDA Premium HD
[Sony Xperia S, Acro S, Ion] Yasharkhan:
I loose the keys every time I flash a Rom is there any way to keep them permanently??
[Sony Xperia S, Acro S, Ion] mirhl:
you loose the key as soon as you unlock your bootloader
[Sony Xperia S, Acro S, Ion] Waledac:
i am also getting the same error :( i tried clearing data but still the same error, i get the error when i open any picture also
[Sony Xperia S, Acro S, Ion] heart_of_life:
Hey guys, i spent two days working on this (NOOB!) and all i face is disappointment :eek:

i relocked my bootloader but i still cant download music info and BE is as broken as ever, plus i get CredentialManagerService.apk has stopped error at every startup!

i'm on rooted stock .55 btw.

please help :(

OK UPDATE!

turned out i forgot to delete CredentialManagerService .odex, just did and everything works like a charm!

THANK U PPL!
[Sony Xperia S, Acro S, Ion] Waledac:
Be works??? Which phone???
[Sony Xperia S, Acro S, Ion] heart_of_life:
Xperia S.
[Sony Xperia S, Acro S, Ion] nemer12:
can you make some thing like this one for sony xperia T ? Please ?
[Sony Xperia S, Acro S, Ion] raizuko:
Thank you but will this work at Xperia Sola?
[Sony Xperia S, Acro S, Ion] hellshinoda:
After doing this, what if I flash stock room again via Flashtool or Factory Reset, does it lose the fix?
[Sony Xperia S, Acro S, Ion] DiukPL:
Odp: [GUIDE] Get Bravia and Music Info working again on ICS with ReLock bootloader

Yes

Wysyłane z mojego LT26i za pomocą Tapatalk 2
[Sony Xperia S, Acro S, Ion] MnM:
i have previously relocked my bootloader widout doin ne of this stuff but still my BE is not workin....shud i again unlock my bootloader and carry out this process...plzz reply

thnxx

---------- Post added at 03:58 PM ---------- Previous post was at 03:44 PM ----------

when i initillay relocked the bootloader in the same way as u have posted, my phone went into a bootloop (softbrick) so i had to flash another rom frm flashtool....i read in ur previous comments that flashin after relockin will result in loss of the fix...ne sloutions...

need a rep asap

thnxx
[Sony Xperia S, Acro S, Ion] MnM:
this is happening wheneva i open ne pic....why??

plzz i need BE back....sum1 help
[Sony Xperia S, Acro S, Ion] prasad90:
Try clearing data in settings-apps-all-credentialmanagerservice!!
[Sony Xperia S, Acro S, Ion] MnM:
did that already bt no success

bdw, is it even supposed work for xperia u ST25i? :confused:
[Sony Xperia S, Acro S, Ion] lordsyre27:
Worked like a Charm but I Still Need A Little Help

Hi I just did all the instruction posted in post number one and confirmed that my bravia engine is working 100% either Picture or Video But i can't Download Music Info and it always says "Unsupported Version". What should i do? I really want to have download music info back. Please Help..

Anyways I am Currently Running Rooted Stock 4.0.4 Build 6.1.A.2.55 with Relocked Bootloader No CWM Installed(yet)..

I Did Service Test After Installing this and no problem was found except for the said issue..

Thanks in Advance!

PS - Sorry for my Bad English
[Sony Xperia S, Acro S, Ion] lordsyre27:
Anybody?

Up for my Question.. Please Help

UPDATE: I Got it Worked Using Instructions Posted in This Thread:

http://xdaforums.com/showthread.php?t=2121945
[Sony Xperia S, Acro S, Ion] Michal1994:
Can i unlock my bootloader again after relock it? If yes, how to do it, and if i unlock it again, can i relock it in the future?
[Sony Xperia S, Acro S, Ion] Waledac:
yes u can unlock again using the official method like u did the first time and also u can relock it again :cowboy:
[Sony Xperia S, Acro S, Ion] Michal1994:
Odp: [GUIDE] Get Bravia and Music Info working again on ICS with ReLock bootloader

Unlock and relock over and over again and this method will work every time?
[Sony Xperia S, Acro S, Ion] Waledac:
Yup dude :)
[Sony Xperia S, Acro S, Ion] Michal1994:
Thank you! :)
[Sony Xperia S, Acro S, Ion] Waledac:
to thanks u can hit on the Thanks button :laugh: :p
[Sony Xperia S, Acro S, Ion] ineedandroid:
But if you relock the bootloader with ics, BE and BE will not work again, because you lost the DRM Key, Right?
[Sony Xperia S, Acro S, Ion] Waledac:
The thread is abt the same to get be working after relocking the bootloader on xperia s
[Sony Xperia S, Acro S, Ion] mirhl:
so.. i think some clarifications are needed..

with this mod you don't get DRM keys back

but if i'm not mistaken, you are patching bravia to work even without those

so it will work
[Sony Xperia S, Acro S, Ion] alexferdean:
This guide helps u get developer DRM keys.

That's why Be works.

Sent from my Xperia S
[Sony Xperia S, Acro S, Ion] PhilAd:
I tried this. I have relocked my bootloader some time ago using stock rom 2.55

I unlocked my bootloader

I rooted the phone

I deleted app data of two walkman apps. Coudnt find this downloader app

I copied the files and set the permissions

I flashed 2.55 kernel

I relocked my bootloader usung ftf

Sadly this didnt work for me. Made a picture and made screenshot of the photo with and without be. Cooied them to the computer and there was no difference :(

Additional to that i got an error after starting tge phone that one app that i have copied before to system/app has been stopped.

Gesendet von meinem LT26i mit Tapatalk 2
[NFC Hacking] ricsonham:
If you like to tried out differents custom rom on your phone, I bet you'll have the same problem with me.

Do you backup the whole rom everytime you flash a new custom rom? I hope you're smarter than that. In fact, you don't need to nandroid backup the whole rom everytime you want to flash a new rom (but you do need at least one nandroid backup of the stable & daily use rom)

Instead, you only need to backup your data with some useful apps such as Titanium Backup, SMS backup & restore and Call log backup & restore, which I think these 3 backup is enough for me. :cowboy:

So you only need to nandroid restore to the stable rom and then restore the 3 backup I mentioned above. Believe me, this save your time a lot especially if you install a lot of apps in your phone. (A nandroid backup takes me 15 minutes for my SGS3:()

And now I even think applying these 3 backup one by one is troublesome! (okay I admit I'm lazy):p

So, is there any way to perform these backup activities with one tap on a NFC tag by using NFC Launcher or similar apps? Or even more advance apps like Tasker?

If you do have the same thought with me and you have some idea about this, please tell me. Thanks
[HTC One X] jimbosly:
Just wondering if anyone could please point me in the direction of the correct ruu to use to return my one x to stock Rom? I have 2.17.401.2 and matching that to the list of ruu's gives me a Europe Rom is this correct? 023 is Australia & New Zealand. Also, am I right in thinking installing the ruu will also install stock recovery and kernel? I'm coming from viper which I've had since owning the phone & it's been amazing. Is there anything else I need to do

http://htcruu.com/securekey.php?fil...401.11_release_2749568xzb2t6wu96omqzo.zip.md5

Is this the right ruu ?

Thanks in advance
[HTC One X] TToivanen:
Yup, RUU flashes stock recovery and kernel and ROM. Make sure you have relocked bootloader and enough battery before running RUU . Relock by typing this:

fastboot OEM lock

And remember admin rights!