yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Q&A, Help & Troubleshooting] bjorn96:
Hello.

I have wondered about unlocking bootloader and go over to CM on my Xperia Z2.

But before i do so, i want to clear up some things first.

Is there a way to relock bootloader on my phone?

Will I be able to unlock after I have relocked? (using official metod)

Backing up TA, will it store my DRM-keys and make it possible to get them back after locking bootloader again?

I want to do this because im currently using CM on my Mini Pro, and i want to try it on my Z2. And I want to be able to get back to stock when the L is out for Z2. :D

If someone can answer my questions, or point me to the right direction, I would be much happy. :D
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
1. Yes, using flashtool, other methods i dont know of

2. Yes

3. Drm keys are in TA partition so backup your Ta and restore later (restoring relocks bootloader so flash stock kernel before doing so)

4. Relocking bootloader doesnt bring back drm keys

5. Its safe to restore TA over a locked bootloader

6. You can only restore TA or relock bootloader on a stock kernel
[Xperia Z2 Q&A, Help & Troubleshooting] AlanDS:
Answers to your queries :

1) Yes, you can relock it once it is unlocked. Restoring TA partition will also relock your bootloader.

2) Yes you can.. You need to have the oem unlock key which you have received from Sony while unlocking for the first time.

3) Yes

Please read this thread : http://xdaforums.com/showthread.php?t=2440597
[Xperia Z2 Q&A, Help & Troubleshooting] bjorn96:
OK, thanks for the quick answer.

Here is a short of what I understand now. Correct me if its wrong.

Using this tool, I can backup and restore TA.

When restoring TA, it will lock bootloader automatically.

To restore TA, I have to download and flash stock ROM for Z2 (Nordic in my case), and that should be ok to use XPERIFirm to download?

When done restoring TA, I dont have to do more than wait for L to come to me?? :)

I hope this is right, in that case I might give it a try.

(I dont want to start something without planning a way out of it, thats why I ask.)
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
3. Xperia firm, you can use flashtool to bundle the files into a FTF or you can see if someome has done already here...

http://xdaforums.com/showthread.php?t=2759934

Flash A FTF before restoring TA or relocking bootloader
[Xperia Z2 Q&A, Help & Troubleshooting] bjorn96:
And the rest was ok??

Thanks man, now its all clear to me. :) :highfive:

Hope I will be back later tonight with CM on my phone. :fingers-crossed:
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
Yup

1. Root

2. Backup TA

3. Unlock bootloader

4. Install recovery

~wipe data n cache

5. Flash CM

6. Enjo

Simple as :D
[Xperia Z2 Q&A, Help & Troubleshooting] bjorn96:
Thanks man.

Will report back when done. :D
[Xperia Z2 Q&A, Help & Troubleshooting] bjorn96:
One more thing. The key for unlocking my bootloader, is it the same after locking it again??? :)

Or do I have to ask Sony for a new one?
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
Same key :D
[Xperia Z2 Q&A, Help & Troubleshooting] bjorn96:
I almost forgot to tell you. It worked!!! I ran into bootloop 3 times, but finally it worked. Thanks a lot man. :)

Sent from my Xperia Z2
[Xperia Z2 Q&A, Help & Troubleshooting] bjorn96:
Have you got an idea how to enable double tap to wake?? Cannot find it anywhere. :confused:
[Xperia Z2 Q&A, Help & Troubleshooting] shockerz1z:
if you have installed a custom rom like CM then the chances of the kernel not having the double tap to wake wont be there because its the kernel that will have it and not the rom . So if you do want it then you have to look for a kernel which has got the feature
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
After installing m5 kernel, download m5 kernel settings, thats how you enable double tap to wake

It should show an option somewhere in the device settings now
[Xperia Z2 Q&A, Help & Troubleshooting] darkmage93:
Can we unlock bootloader on phones that have been previously carrier locked or not yet?
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
It depends on the carier and i do believe you can pay for sim unlock and a bootloader release
[Xperia Z2 Q&A, Help & Troubleshooting] darkmage93:
Already payed for sim unlock, the phone was locked to EE UK. Here's a SS to see what it says on rooting status. When i unlocked it, they provided me multiple codes, NCK, SPCK, NSCK, CCK. Is any of the codes for bootloader unlocking? If so, where do i type it? Cheers.
[Xperia Z2 Q&A, Help & Troubleshooting] jaxenroth:
My Z2 should be here on Tues, and I was going to unlock the BL, the directions above are very clear and straightforward. (I had a TMO XZ w/ an unlockable BL, so I know how the rom flashing goes) My question is do I have to use Nutz recovery, could i just fastboot flash recovery twrp.img and use Team Wins? Also for flashing a ROM do I need to use the FFT or can I just flash a rom the more traditional way say like a Nexus device? Thx guys, Im very green when it comes to Sony. Nexus, HTC, and Sammy are my staples. Thx again.
[Xperia Z2 Q&A, Help & Troubleshooting] Mr.R™:
Nut is mainly for locked bootloaders, once you've unlocked the bootloader flash a kernel such as dooms via adb then flash a rom from recovery :) ftfs are stock roms only any custom rom will have a flashable zip :)
[Xperia Z2 Q&A, Help & Troubleshooting] pausanjim11:
So you can unlock the bootloader, then relock it, restore TA partition and it will be like you never had unlocked the bootloader? I mean, if you do that, your device will be able to recieve OTA (and all Sony's features like x-reality and better camera performance) and your warranty will be "restored"?
[Xperia Z2 Android Development] shockss:
Intro;

Hello,

I tried the "niaboc79"'s stock 4.4.4, first of all I want to say "Thanks " to him. Thanks . :)

Some unlucky users like me, experienced that the noise cancelling is not working in that ROM. But the rest, everything works like charm.

Then I started to search a solution for Noise Cancelling issue, then Luckly I found one, I Guess.

I said I guess, because, For now, I tried my method on only my phone.I want to emphasise that, I'm not absolutely a developer of XDA, or something. I just somebody who has a computer knowledge, and that's all.Linux... It's not my thing..

So, I'll take NO responsibilty. Don't blame me. I just want to share that thing to you, because I took results :)

And please, Read the thread completely.

Installation:

What we need is ;

1-)Install a DualRecovery..Here If you already have, don't need. Thank you, [MENTION=4904057][NUT][/MENTION]

2-) You can create your own Pre-Rooted firmware from : here Thank you, [MENTION=3975929]zxz0O0[/MENTION]

Or just download the one that I made.

http://www.mediafire.com/download/io3c28y393x31kv/flashable.zip

Based on

Official Honk-Kong ROM. 1281-5476

Nothing touched, I don't even know how to extract apps or smthng :) I Just converted TFT, to ZIP with PRF tool.

Everything what we need is included.(Dual Recovery, And Others.)

3-)Flash ZIP through your recovery.

4-)This step is for who is encountering problems with getting FULL ROOT.I found it thorugh completetly by coincident. At First, I coudln'T install XPOSED, It was saying something like that "It couldn't mount /system Because is not writable" . But root checker was saying that I was Root ? WTF ?

Now, we need "Easy Root Tool" :) Download it thorugh here Please Don't Ask me How it's gonna work .It's for old version, I know. and it's lame, I don't know why I thought that It'll work, but It fixes our root problem. :)

Connect your phone to the your PC,

Make sure that USB Debugging is ON and ADB drivers are installed

5-)Click "Install.bat", Wait for the that screen;

.....
libzxploit.so created
doing the magic
creating vm (loljavasucks)

When you see this screen, press "CONTROL + C" and say "N" The process will continue,Like this;

After Sony RIL killer has been installed, reboot.

Congratulations!

You will have Full Root!

My best advice, If my flashed.zip is not working on your phone, You should create your own Firmware from your own Software CID! Right now; I'm in Turkey, Using Honk-Kong based firmware, No issues so far.Noise Cancelling working, Fully rooted...

As I said before, I'M NOT DEVELOPER. I CAN'T GURANTEE THAT IT'LL WORK ON YOUR PHONE.

I'd appreciate feedbacks!

Cheers! :)
[Xperia Z2 Android Development] Hani88:
thanx very much

I'll back to you later after trying it because my connection speed is only 1MB :)

what recovery I should use ? twrp or cwm or philz??

and what exactly to wipe?.. (I wrongly wiped many things in twrp in my note3 so I lost everthing the firmware, recovery and root :( )

---------- Post added at 02:43 PM ---------- Previous post was at 02:35 PM ----------

One more thing about Xposed framework installing issue.. did u try to install it in recovery method?

I think this rooting method has some problems with system files R W permission and u fix it by easy toolkit :)
[Xperia Z2 Android Development] shockss:
Take your time. :)

-I Used TWRP :)

-I didn't wiped absolutely nothing from the begining. I flashed my rom directly into the older Niaboc's one. :) My appllications works without problems.

-Yes, That method works too, But I wanted to have full root just in case because my some other apps need that. :)

-And yes, you've got it correct. R-W permission fixed at Step 4. :)
[Xperia Z2 Android Development] Hani88:
Well Im on 4.4.2 now, what exactly to wipe in twrp before or after flashing ur rom?

I just wanna be sure 100% :)
[Xperia Z2 Android Development] MrCatalyst:
Has anyone dirty flashed yet, and has NC fully operating? I won't be able to download until I get home from work, but wanna know.

Currently, I'm on rooted stock ROM, from my provider. I dirty flashed the Russian one and it was all stable, so I'm guessing it's the same here?
[Xperia Z2 Android Development] Pandemic:
Wipe dalvik and cache and flash ;)
[Xperia Z2 Android Development] shockss:
As I told you, I haven't wiped anything. But Just in case you can Wipe dalvik and cache . :)

I made dirty flash into Niaboc's ROM, Because It's stock.Actually, At very first place, I flashed niaboc's rom into the one that I get from my provider's

So, Most probably It'll work.
[Xperia Z2 Android Development] MrCatalyst:
That's what I wanted to hear. Gonna report back later, whether it's working fine or not. If so, this will do well until Android L is out on our Z2. :D
[Xperia Z2 Android Development] bhairavp:
Is this for the D6502 or D6503 specifically, or one size fits all?
[Xperia Z2 Android Development] kenanffb:
Works perfectly!

Works perfrectly with NC! Thx kardesim ;)
[Xperia Z2 Android Development] abdullahazad:
is it deodex or odex?
[Xperia Z2 Android Development] Pandemic:
You can check that in the system/app/priv-app if there is any .odex file if so then yes its odexed.

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] mamenvn:
Thanks!

How to check NC ok or not?
[Xperia Z2 Android Development] DelacroixEX:
NC will never ever work on normal headphones or earpiece right? But if use other headphones or earpiece that has NC other than sony will it work?

Sorry for the broken english
[Xperia Z2 Android Development] shockss:
Hmm.You can Connect your Noise Cancelling Headphones ? :)

You need nc31em headphones. If the headphone has NC from itself, It will work, I guess.

Hiç bir oynama falan yok . :)

Rom is COMPLETELY Stock.

You 're welcome! Thanks for the feedback!

[MENTION=1221145]bhairavp[/MENTION]

I've NOT tried on 6502.My flashed zip is for 6503. So,My best advice is to you; create your own PreRooted FW.
[Xperia Z2 Android Development] Jhon998:
Wow! Amazing! Thanks.

Sent by me from my Z2.
[Xperia Z2 Android Development] RyTekk:
Thank you so much, it works.
[Xperia Z2 Android Development] Jhon998:
Im getting:

---------- Post added 12th November 2014 at 12:12 AM ---------- Previous post was 11th November 2014 at 11:53 PM ----------

It worked bu t i had to full wipe, can i restore data from existenz 3.1.5?
[Xperia Z2 Android Development] MrCatalyst:
Pretty pleased that it works for others. Downloading it right now, so will be a little bit before I get to flash it - 1GB file and MediaFire do take a little bit longer, even with fast internet. :p
[Xperia Z2 Android Development] ghostofcain:
[MENTION=5979317]shockss[/MENTION] If I understand correctly, including the patched Dual recovery from [MENTION=838895]norti[/MENTION]s thread here should remove the need to use easyroot to mount system r/w.

Also bear in mind if you have a less than stellar spec pc completing the task with PRFCreator will take considerably longer than 7 minutes (took me 30, but hey).

I'll let you all know how I get on after flashing my zip.
[XDA Assist] Perdon1171:
Hellow everyone

I have a LgL80 D385 trying root it but nothing work :(

i alrdy try:

Genius ROOT

TowelROOT

VRoot

Saferoot

KingoROOT

KingRoot

I just have not tried this one because I do not have a sd adapter to format my SD card to ext2 :

http://xdaforums.com/showthread.php?t=2732311
[One (M8) Q&A, Help & Troubleshooting] TarekElsakka:
Hey there

My device is international WWE with HTC__J15 CID and is s-off. I have two questions:

Is there a RUU to return it back to stock?

If I use a RUU, does my S-OFF state return to S-ON?

Thanks
[One (M8) Q&A, Help & Troubleshooting] stathis95194:
Your s-off state does not change unless you change it. So don't worry.

About an RUU, i only know of a Sprint RUU and a Developer Edition RUU.

But there are TWRP stock backups you can revert to if you like. Check in General Forum
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
AT&T and T-Mobile US, also. But yes, only US versions have RUU exe's.

Euro zips from RUU posted here: http://xdaforums.com/htc-one-m8/general/htc-one-m8-european-signed-ruu-0p6bimg-t2911563

S-off required (OP meets that requirement), and run in fastboot RUU mode. This is the closest you will find to an executable RUU for the Euro M8. Otherwise, refer to stock nandroids as mentioned in the previous post.
[One (M8) Q&A, Help & Troubleshooting] TarekElsakka:
I guess since I am S-OFF, I can change my CID to SuperCID and run a Developer Edition RUU, correct?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Yes. May need to change MID also.
[Upgrading, Modifying and Unlocking] mansoorsafari:
Hi every body

my phone is samsung galaxy ace 3(GT-S7275T) , when i use SIM card , device detect my SIM card because it asks for PIN code and antena signal

shows fully signal strength but when i want to dial a number, it give me a message Not Registered on network, and when I tap on

Setting/More networks/ Mobilenetworks gives me a message "Insert SIM card to Access network services", but wifi and blutooth and other

features works well.

thanks in advance.

safari:confused:
[Android One (First-Generation) Cross-Device Themes] deccan451:
Google now launcher for clear application list and available RAM while themer launcher running..

Post your app list available RAM by which users can try new apps and organise RAM properly [emoji4]
[Android One (First-Generation) Cross-Device Themes] dipendra.info:
My micromax android A1
[Android One (First-Generation) Cross-Device Themes] ThunderSky7:
Micromax Canvas A1 [5.0]
[Android One (First-Generation) Cross-Device Themes] Bikash Dharua:
Which ROM & kernel are you using ?
[Android One (First-Generation) Cross-Device Themes] ThunderSky7:
That time i was on CM12 and stock kernal.

but cm12 has many bug that were never resolved.

so now on CM12.1 and ThunderZap 3.1 kernal

With better performance..
[Android One (First-Generation) Cross-Device Themes] pradhansatyasohham:
Cyanogenmod 12.1 (Lollipop 5.1.1) Developed by the one and only Varun Chitre...

Varun Chitre did an awesome job only thing which is required is selecting the sim at boot for data and calls ... No bugs and is truly awesome...
[Android One (First-Generation) Cross-Device Themes] rajputmiles:
Mmx Canvas A1 (1st generation).

Official 6.0.1 rom with varun's thunderzap 5.1. ☺

The ram shown in Android 6.0+ is average use in 3hours. Why others didn't share app screenshots...?? ?
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] sprints5:
Hi I just unlock my s5 sprint so can I please install a rom sm-g900F in my sm-g900P
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] TKS3:
Use the search feature my friend. This should be posted in the Q&A section. Plus in there is everything you'll need to learn to flash a rom. I would do some reading before going about flashing otherwise you may have a $650 paperweight.
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] DevalB:
No you can't.

You have to flash only ROMs which are made for the specific device, otherwise you'll end up with a useless device.
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] sprints5:
please can I update my s5 sprint unlocked international(with the method in the forum ssu.apk) with new update that I discover by ota 366mb
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] garwynn:
Put shortly, very few people are going to know the effects of updates outside of the US for a US based device.

Can you take the OTA? If you've rooted or are using custom anything, I would not recommend it if you're not experienced with redoing it all (if necessary)
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] sprints5:
Yes by OTA and I'm rooted (towelroot)& I use officiel one
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] sprints5:
Hi everyone plz help can't find menu to change the sim code pin thank U.
[8525, TyTN, MDA Vario II, JasJam General] airjaws:
hi,

i didn't find a post (with a solution) similar to this issue. i'm using an i-mate JASJAM (HTC TyTN) with windows mobile 5.0 and intent 10.1.7.551 or .554 (upgraded from this forum to 11.1.7.1023). i have a wap-gprs connection which has a proxy. i'm able to use for example opera mini 3.0 on a Nokia N72 but not on the jasjam. opera 8.60 however is working on the jasjam too (by adding the proxy in opera's own settings). the difference is that opera installs under programs (is not java) and opera mini installs under the midlet manager. there's also another java application (morange) which works on the N72 but not on the jasjam. i tried a registry addition from

http://forum.tao-group.com/viewtopic.php?t=6

but it didn't work. i tried J9 from this forum it also didn't work.

i tried all network types, although i still can't figure out how they work exactly:

My Work Network

My ISP

Work

Secure WAP Network

The WAP Network

The Internet

under "settings - connections - connections" i only have "My Work Network" and "My ISP".

for example the midlets worked on a wifi connection but i had to choose "Work" instead of the other types, although under "Network Cards - Network Adapters" i configured the adapter to connect to "The Internet" not "Work" (since no proxy for wifi).

anyway, it would be great if someone would know why the midlets are not connecting via wap gprs with proxy.

thx
[8525, TyTN, MDA Vario II, JasJam General] whistler4ever:
I have a similar problem running java midlets thru T-zones proxy.
[8525, TyTN, MDA Vario II, JasJam General] drutort:
does anyone have any solution? to the tzones and midlet?
[T-Mobile Galaxy Note 4 General] Acaibowl:
Does SM-N910W8 (Canadian model) work on T-Mobile network ? (band 4 only?)

Thanks?
[T-Mobile Galaxy Note 4 General] Dark Nightmare:
Device has Bands 1, 2, 3, 4, 5, 7, 8, 12, 17, so it should work perfectly fine on LTE, has both 1700/2100, so HSPA/+ should be fine as well.
[T-Mobile Galaxy Note 4 General] Acaibowl:
Thanks!
[Atrix 4G Q&A, Help & Troubleshooting] cailloup:
I was experiencing the wifi+bluetooth ship failure that I fixed once, twice, ..., but the fix didn't last

My last attemp to fix that resulted in a flex cable ribbon damage (bad move)

Power button and touch screen are now broken

Sounds like it's time to change phone :crying: I'm not willing to repair this time

I'm trying to access internal storage but I am stuck:

I can:

- access bootloader options (buy plug-in power or usb cable)

- go into recovery, but I can't validate my selection (no power button)

- go into fastboot, but it seems that mounting is not a fastboot possibility

- go into rom (fastboot reboot), but I need to touch screen to activate usb mount

Any idea ?
[Atrix 4G Q&A, Help & Troubleshooting] guruzen:
Try this http://droid-at-screen.ribomation.com/installation/

Use a desktop window to access your phone. A long time back when my screen went off, i used this to access my phone.
[Atrix 4G Q&A, Help & Troubleshooting] cailloup:
Thanks, one problem: USB debugging is not activated (what a noob I am not to have USB debugging check lol)
[Atrix 4G Q&A, Help & Troubleshooting] ravilov:
Do you have a custom recovery? If so, you should be able to access the shell through adb and USB while in recovery.
[Atrix 4G Q&A, Help & Troubleshooting] guruzen:
If ravilov method works, write an android program that registers for onBootReceiver. In onReceive() have this code

Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.ADB_ENABLED, 1)

Put the apk under /system/app and change the permission to rw-r-r

Restart your phone, the above app must run onBoot and u will have usb debugging enabled.

Lets see how things go.
[Atrix 4G Q&A, Help & Troubleshooting] cailloup:
I have big part recovery V3 from Zn7mkUKzN1r8aCIV

So accessing shell would let me mount storage ?

How do I use adb from recovery ?

So I won't be able to mount storage from shell, but I can write lines that will enable usb debugging so that I can use your first post ?

I
[Atrix 4G Q&A, Help & Troubleshooting] guruzen:
Looks like u cannot mount sdcard. I found something about adb enabling in init.rc that u can retrieve. Put your phone in recovery and connect to the system and do adb shell

You must be in # prompt. Pull out init.rc using the command "adb pull /init.rc ."

I am attaching my init.rc. diff it and you should find differences wrt to adb. Try replacing the adb differences and ensure the chmod is done for init.rc (initial permissions)
[Atrix 4G Q&A, Help & Troubleshooting] cailloup:
adb device is ok

I got the init.rc with adb pull, it is exactly the same as yours

I tried adb pull emmc

pull sdcard

pull scard0

pull scard1

pull storage

etc

Some don't work, some work but I got only files from "sys" folder

I tried this

http://xdaforums.com/showthread.php?t=2339530

Same folder issue

I tried adb shell su mount but I don't know what to do with it ^^

Since our init.rc are similar, I also tried droid@screen but I have nothing in the device list (while phone is on)

:eek:
[Atrix 4G Q&A, Help & Troubleshooting] Reiki21:
If you enabled root for adb inside the rom, you can use the following command in adb to mount the internal storage:

echo /dev/block/vold/179:97 > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file

That will mount internal storage as usb storage and you will be able to access the files from a computer.

Edit: I just read that you don't have it enabled >.< Another way would be to use "input tap x y" which does not require root but as you don't have it enable, something has to be done through recovery.

Second edit: Try this inside recovery:

adb shell

mkdir sdcard0

mount /dev/block/mmcblk0p18 sdcard0

Now that the internal storage is mounted on sdcard0, exit adb shell and use the following command:

adb pull /sdcard0 sdcard

This should copy all the files from the internal storage to a new folder called sdcard in your computer.
[Atrix 4G Q&A, Help & Troubleshooting] cailloup:
Yeah that worked!

currently pulling everything, it's going to be long :)

Thanks all for help

Problem solved
[Galaxy S III Q&A, Help & Troubleshooting] watsize:
I'm using Carbon Rom

Whats wrong in battery hell drain...help me please

See images
[Galaxy S III Q&A, Help & Troubleshooting] Darke5tShad0w:
Screenshots are meaningless, find the betterbatterystats forum and do what the op says.