yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 General] Joel Goodson:
How do i Get root ?

Hello,I picked it up like so... I just need to download the FTF from your mega.co.nz link? and flash it thru flashtool on my Z2,after the firmware is sucessfully flashed on my phone i just power it up and itts rooted ?
[Xperia Z2 General] gemtin92:
I will be very thankfull if someone could post stock 5.1.1 Conversation.apk & Phonebook.apk from system/priv-app/Conversation and system/priv-app/Phonebook.

Thanks again!
[Xperia Z2 General] nextmouk:
No, not at all... FTF and ZIP are 2 different things... flashing a ftf with flashtool will get you a stock unrooted firmware... flashing the zip in recovery, after wipes, will indeed get you the same firmware but rooted with dual recovery... you'd need to be already on a rooted phone to do so though....

So what I'd suggest is to download a .314 FTF, root with TowelRoot, install recovery and THEN, you can download the .ZIP, copy it to your phone, get into recovery, wipe data, wipe cache, wipe dalvik cache and flash the zip.... Finally, reboot.... you should now be on a rooted OS....
[Xperia Z2 General] Haldi4803:
Here

From 264 ROM

[MENTION=5695718]nextmouk[/MENTION]

Or if you're with an unlocked bootloader.

Flash newest 264 ftf

Flash myself5's new recovery in Fastboot

Install supersu.zip

Done
[Xperia Z2 General] nextmouk:
you're absolutely right... Being on an non-unlockable bootloader, I tend to forget other people can have unlocked bootloader... Thanks to you...
[Xperia Z2 General] ride_bmx_mhell:
flash .ftf done

flashing zip ?

my z2 wont boot in recovery,i tried pressing vol when sony logo appears but no luck into recovery.,how can i access it?thru flashtool?

i have d6503,when sony logo appears led light doesnt come on,i guess im on locked bootloader?
[Xperia Z2 General] kingsasha:
i once had the same problem that you have , there was no recovery .. now to fix that

download this XZRecovery apk.... : here

Open it ...give root access ... click uninstall recovery ... (you must have busybox installed)

click install recovery and it will boot into recovery

DONE!!
[Xperia Z2 General] ride_bmx_mhell:
thanks i will try now
[Xperia Z2 General] doobe66:
Thanks bro, all worked !! I have successed got a 232 rooted by pre-rooted zip, But i got a question now, i want a fresh os without old data, apk.... can i do the factory reset ? do i still have rooted? what is the best way to do got a fresh 232 and rooted
[Xperia Z2 General] kingsasha:
Reboot to twrp recovery, click wipe, slide to factory reset... DONE!

This is the best way to stay on 232 and to keep root

This will only uninstall apps
[Xperia Z2 General] nasosvasedis:
Hello! Do I need to have an unlocked bootloader in order to flash a zip I created with PRFCreator? Will flashing this in recovery soft-brick my device?

EDIT: I only want to include the kernel... If I flash a zip that has only the kernel inside, will this result in a brick?
[Xperia Z2 General] spiros1314:
http://postimg.org/image/efcplwd1x/I want to root my xperia z2 .264. My phone has not benn rooted neverm but i want to root it now because i want to install a recovery mode. Can i do that method for my phone?[IMG="my phone"]http://postimg.org/image/efcplwd1x/[/IMG]
[Xperia Z2 General] Thieuke:
I searched the thread, (used the word bootloader) but it's not in there.

Is this method for locked bootlader as well?
[Xperia Z2 General] kingsasha:
It works for both

Unlocked and locked :)
[Xperia Z2 General] Soft Phan:
Marked. I may try later.
[Xperia Z2 General] Thieuke:
Thanks for letting me know. I'm going to perform this tonight!

As I read the comments this must work, finally I can root the Z2
[Xperia Z2 General] kingsasha:
I have an unlocked bootloader, i rooted the 264 firmware just by flashing SuperSU zip

It's really more comfortable to have an unlocked bootloader ,it's easier to do anything in your phone
[Xperia Z2 General] diyar95:
please help

hi i think you can help me I flashed twrp kernel but now it will not reboot into system I need stock kernel please ?

xperia z2

D6502 running 5.1.1
[Xperia Z2 General] kingsasha:
Download the same ftf you got installed on your phone

Open flashtool and exclude everything and only leave kernel

And let it flash

This might work :)

Or you need to download z2 stock kernel and flash it through fastboot
[One (M8) Q&A, Help & Troubleshooting] Bizarro_:
hi can you help why can i see root access in developer options menu my phone is rooted sorry if there is post to resolve this issue but i can find it

[IMG="root access"]http://xdaforums.com/attachment.php?attachmentid=2317173&d=1381473584[/IMG]
[One (M8) Q&A, Help & Troubleshooting] dottat:
That's typical on cm or aosp roms.
[One (M8) Q&A, Help & Troubleshooting] Bizarro_:
i don't use Cyanogenmod ROM i use this Copy of RUU_M8_UL_L50_SENSE60_MR_HTC_Europe_4.16.40 ... 0021.06G_20.68.4196t.01_F_release_417003_signed.exe from this threat http://xdaforums.com/showpost.php?p=63993168&postcount=677 is any way to fix that i don't see root access in developer options
[One (M8) Q&A, Help & Troubleshooting] dottat:
Couple things ..I am going to move this out of the Verizon section as you aren't on Verizon. I also edited your serial number from the thread you linked. And you aren't on the software from that ruu. Please provide a screen shoot from your phones about page.
[One (M8) Q&A, Help & Troubleshooting] Bizarro_:
this is screen shoot of my phone
[One (M8) Q&A, Help & Troubleshooting] dottat:
I asked for the "about phone" page.... not the debugging options. I'm looking for your software version etc.

Btw... that screenshot is completely different than the debugging option page you showed with the root options.... So perhaps I don't understand your question as asked. Are you looking to HAVE the root options in developer options?
[One (M8) Q&A, Help & Troubleshooting] Bizarro_:
there is the screen shoot you want ,yes the first screen shoot wasn't mine i find in another threat my point was to show what i'm looking for Root Access in Developer options

[IMG="root access"]http://s4.postimg.org/elrj2601p/Screenshot_2015_11_28_21_00_11.png[/IMG]
[One (M8) Q&A, Help & Troubleshooting] dottat:
Right. You don't need root options in the rom you are on. That option is only in cm/aosp based roms where root is built into the rom.

You won't get that option in development settings on a sense based rom. As long as supersu binaries are flashed and supersu is installed you will configure any root settings via the supersu app.
[One (M8) Q&A, Help & Troubleshooting] nxmbness:
^ What he said. Use supersu app, only aosp roms like cm, or stock android have the root option in dev menu. If you're rooted with a custom recovery but don't have supersu app, install it via cwm/twrp (whichever you are using). You can find it on the forum here. It'll be a zip.
[One (M8) Android Development] bgcngm:
​

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

GPL compliance:

Device tree source code: CyanogenMod/android_device_htc_m8d

Kernel source code: CyanogenMod/android_kernel_htc_msm8974

Broken:

Nothing! :)

Working:

Everything except 'broken' stuff

Compatibility:

This build is compatible with all M8 Dual SIM variants (m8dug and m8dwg).

It is based off the HTC's Android 5.0.2 firmware and kernel with binaries from Android 6.0 GPe.

Downloads:

Official download links

Installation:

Reboot to recovery (TWRP by [MENTION=1162986]Captain_Throwback[/MENTION]) - Direct link

Wipe /system, /data and /cache

Install CM package

Install [optional] a Google Apps package of your choice

Credits & collaborations

This work is due to efforts from everyone involved in M8 development with some changes from myself. The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

Device wiki:

Official wiki link

XDA:DevDB Information

CyanogenMod 13.0, ROM for the HTC One (M8)

Contributors

bgcngm

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

ROM Firmware Required: LP firmware

Based On: CM13.0

Version Information

Status: Discontinued

Created 2015-11-28

Last Updated 2016-12-28
[One (M8) Android Development] bgcngm:
Still in early stages, but I'm already running it since a few days without any major issues. Just for your information, I have flashed Open GApps package.
[One (M8) Android Development] KaRLiKCZ:
Will try tonight :) Currently I'm running CM12.1

Do you know if there will be official nightlies build soon?
[One (M8) Android Development] rhodyvik:
Verizon M8 also compatible as long as we have LP firmware?
[One (M8) Android Development] KaRLiKCZ:
Flashed and running.

Only problem is when changing DPI. Somethin is not aligned correctly. Switch buttons in settings for icons in message popup. But nothing dramatic till now.

Q: If there will be new builds, ho to see them?
[One (M8) Android Development] bgcngm:
I will let you know once official nightlies start. There are some MSIM particular changes that need to be merged first.

This thread is only related to dual SIM variants of M8. The thread for your device is over here.

If there are new unofficial builds I will inform.
[One (M8) Android Development] bulletproofdroid:
Sorry, but this rom is for the international variant, with dual sim. Extra .lib files and slightly different tree structure for the extra sim.
[One (M8) Android Development] KaRLiKCZ:
Today I have some problems with receiving/rejecting calls. Phone was ringing, but I could't reject or accept call :)

Also I had problem with connection with DATA after disconnecting from WiFi. Restart helps in this case.

Anyway thanks for that ROM.

If I should test something, let me know and I will do my best.
[One (M8) Android Development] bgcngm:
Nightlies will start from this moment on! :D
[One (M8) Android Development] KaRLiKCZ:
Perfect, I can't wait.

REPORT:

- Sometimes I had problem that I can't cancel phone call. But I'm cancel only couple calls... Have to try if it is more often.

- Dot view case sometimes stop locking screen. Only solution is reboot phone. Then is work for couple days OK.
[One (M8) Android Development] KaRLiKCZ:
I wa looking for nightlies here:

http://www.cmxlog.com/13/

But I found it only here:

https://download.cyanogenmod.org/?device=m8d
[One (M8) Android Development] bgcngm:
The first link is for unofficial CM changelog. The second is the official CM download page, in particular for m8d.

By the way, I don't recommend the first nightly because it seems that some entries in Settings are broken (affecting all devices). A fix was already applied and the next nightly will be okay.
[One (M8) Android Development] simonvfr:
Good advice. The first nightly does flash and boot, but many settings force close on opening. I have returned to 12.1 for now
[One (M8) Android Development] KaRLiKCZ:
I made dirty flash yesterday and didn't try settings. But I can confimr build 05.12.2015 have settings FC. Will inform about next build today evening.
[One (M8) Android Development] bulletproofdroid:
Clean flash, pico Gapps, and so far all is working as it should. Thanks for the great work!
[One (M8) Android Development] simonvfr:
Dirty flash (as advised in cyanogenmod blog) along with 6.0 open gapps, and all working nicely with the 6 Dec build.

A few apps need storage settings changing to deal with the new way android uses sd cards, but that's not hard.

One or two oddities - like what happened to separate ring tones for each SIM? I suppose that some multi SIM features are yet to come?
[One (M8) Android Development] bgcngm:
Not only MSIM features, but many other features that were previously on cm-12.1. There is still a lot of things to bringup.
[One (M8) Android Development] simonvfr:
What is there is working very smoothly though, so many thanks for your work that means we can experience 13 so early. Looking forward to all the additional bits to come!
[One (M8) Android Development] vinhphucng25:
Can I use for M8 International version [MENTION=455439]bgcngm[/MENTION] ??? :D Thanksss....
[One (M8) Android Development] bgcngm:
This is only compatible with the DS variants. Here is the one for your device.
[One (M8) Android Development] bbabel:
Thank you. I'll ask there (I wonder how come I never found that thread).
[One (M8) Android Development] co2-guy:
Hello

Am I the only one still loosing signal on both sims?

I'm experiencing it several times a day.
[One (M8) Android Development] simonvfr:
Can't say if you are the only one, but I've not had this problem since the new blobs were incorporated into the build. If you are updating to the latest nightlies, then can't explain your problem.

Of course, if you wanted devs to look at the issue, a starting point would be to post a log from when the problem occurs . . . . .
[One (M8) Android Development] co2-guy:
Thank you, it must be something else then.

I will see if I can get a log containing the scenario.

Edit:

It happened again now. How do I get a usable log?

I made an error report in developer settings, but that thing is huge!

I pasted from where I think it looks suspicious here: http://pastebin.com/9s2xxwg0

If anyone is interested in the rest of the report, let me know.
[One (M8) Android Development] simonvfr:
And now I can confirm, you are not alone! After reporting that I was no longer having problems, during the course of a 1000km drive in the last 24 hours I had three occurrences of the 'lost SIM' phenomenon. :(

Unfortunately, as I was driving it was not possible to take any logs - but I can confirm that a soft reboot immediately sorted the problem each time.

[MENTION=455439]bgcngm[/MENTION] Any thoughts?
[One (M8) Android Development] skudr:
Same for me. I was driving in low signal area yesterday and lost SIM 2 times.
[One (M8) Android Development] co2-guy:
I am beginning to suspect the gps to be the reason for the network loss, maybe the a-gps feature. I always have my gps turned on.

In my log it seems to begin getting neighboring cell towers, just before loosing signal.

Then again, I might be wrong :)

I have turned gps off, and will see if I loose signal again...
[One (M8) Android Development] bgcngm:
Thanks for that information. I'll try to look into that.
[One (M8) Android Development] co2-guy:
Hello again

Here's a little followup...

I flashed 20160615-NIGHTLY when it came out, and turned on my gps again. I lost signal within a couple of hours.

Then I restarted and turned gps off and haven't lost the signal since (uptime 1 day 18 hours).

Edit:

I was a bit too quick... It happened again now, with gps off...
[One (M8) Android Development] skudr:
I flashed June 17th nighty. It happened in 3 hours after the flash. And it was not connected with low network coverage. I was in the city center. GPS was on as well.
[One (M8) Android Development] flyguy914:
What's up guys, I'm I the 6/17 build and I have ambient display checked but it's not working, is anyone else getting this, is there a fix?
[One (M8) Android Development] co2-guy:
I don't think I'm using ambient display, or it's called something different in my language. Where do I set it and what does it do?
[One (M8) Android Development] bgcngm:
Here: Settings / Display & lights / Ambient display. Check it out: https://www.youtube.com/watch?v=5TyhaOjME5g.

Ambient display has been working fine ever since it was added.
[One (M8) Android Development] co2-guy:
Ahh in danish it is apparently translated to "Aktiv låseskærm" which means "Active lockscreen" :)

It is turned on, on my phone and seems to work fine too :good:
[One (M8) Android Development] tomcat-:
hi there,

i have tried the CM12.1 and CM13 however i cannot see the option of switching off sim cars on CM13 although it was present on CM12.1

Also i cannot get the weather to work in the widget in any of the versions

Another problem i faced on the CM13 is when I flashed the ogapps stock the CM dialer has been replaced with the google stock one and then it won't dial phones but comes up with CM screen.

I guess the above are known and i haven't been missing something?

thanks for your help
[One (M8) Android Development] spatial_bob:
I don't seem to have any data activity indicator in the status bar. Is this normal? The only screenshots I have found in this thread are with wifi switched on so I can't tell. On the stock ROM it would show 3G, 4G, LTE or whatever the network speed with some activity arrows next to it. No equivalent available here? How do you know if data is active and what network type you are currently on?
[One (M8) Android Development] co2-guy:
[IMG="Screenshot"]https://dl.dropboxusercontent.com/u/28023418/Screenshot_20160621-082314.png[/IMG]
[One (M8) Android Development] spatial_bob:
Thanks for the screenshot. The sim I am using for data is roaming so instead of the data indicators I have the 'R' for roaming in that spot. Seems like it's an oversight not to be able to see both. Any possible workaround around this?
[One (M8) Android Development] bgcngm:
I was never roaming with data enabled, so can't be sure, but most likely that's the way it is designed in CM, or even AOSP.
[One (M8) Android Development] co2-guy:
I don't know of a way to show both roaming and data-type at the same time. At least not with "stock" CM :)

You can always see more info dialing *#*#INFO#*#* (that is *#*#4636#*#*), but that is not an easy way.

A better way might be using a widget from an app like Network Signal Info.
[One (M8) Android Development] spatial_bob:
Yes it seems like it's not available on stock CM unfortunately! I tried the app you recommended but it doesn't seem to play well with the dual networks.. Will try and see if I can find something else.. Cheers guys
[One (M8) Android Development] tomcat-:
sorry to insist on this one but is there an option to switch off any of the two sims like in 12.1?
[One (M8) Android Development] bgcngm:
No, I don't know why, but it was not ported.
[One (M8) Android Development] tomcat-:
Another thing i noticed that it's not working is the double tap to wake. I have it off but it still turns on the screen with a double tap
[One (M8) Android Development] flyguy914:
Can someone help me with the audio ducking option, I've checked all settings and can't find it
[One (M8) Android Development] necktru:
Hi, I'm S off and normally use sense roms like leedroid and Jw, last week I tried to flash cm and other roms like Slim, and I can't flash none of them, I stuck in recovery in next screen, this happen in cm too in the "patching system" part..

Some help? I only tested one no sense rom (blues gpe) but never touch my partitions or firmware.
[One (M8) Android Development] Harshpreet45:
Can i install this rom with s-off on my m8 and what can happen by doing tht?
[One (M8) Android Development] bgcngm:
Update to the latest TWRP recovery. By the way, you are on the wrong thread. This is dedicated to M8 Dual SIM.

M8 or M8 Dual SIM? This is DS specific, but in any case, of course you can install with S-OFF. Why not?
[One (M8) Android Development] Harshpreet45:
Mine is single sim

Its unlocked version

I mean if i do tht without s off i wont get stuck booting screen or boot loops and some say i would miss some features of htc sense
[One (M8) Android Development] bgcngm:
If your device is S-OFF, it was supposed that you know what you can do with it. And of course, you'll loose HTC Sense once you move to CM. It's up to you to decide what you like better. :p

Advice: don't do anything if you don't know what you're doing.
[One (M8) Android Development] tomcat-:
Hi there,

Is this something that it is possible to be fixed in the future please?

At the moment the phone is waking with the double tap and also with swiping left to right and vice versa, eventhough those options are switched off in the display options

Thanks
[One (M8) Android Development] gazzacbr:
Hi,

tried this before but lack of write access for the sd card was a killer.

now its working great!

loaded ExtSD_Fix from twrp http://xdaforums.com/android/software/fix-extsd-fix-v1-0b-2016-01-18-t3296266

and also XInternalSD running from Tasker from here

http://xdaforums.com/xposed/modules/xposed-disablesignaturecheck-t2789267/

and I have full access and control of MY SD card.

Not sure if I needed both of these but, hey, its all working fine now.

Good job with this rom.
[One (M8) Android Development] bgcngm:
Why didn't you try without those. You never know if those hacks can cause other problems.
[One (M8) Android Development] gazzacbr:
i did. they dont
[One (M8) Android Development] bgcngm:
I've added the feature and next nightly will contain the change: http://review.cyanogenmod.org/#/c/152719/.
[One (M8) Android Development] tomcat-:
great news thank you.

Just a couple of more points based on my use for the last couple of weeks:

- The double tap wake screen is still not working as is the swipe left to right or bottom to top. The screen wakes up with all those movements although on the options they have been switched off

- When i have the phone on maps navigation with data, gps and bluetooth on, randomly it will lose reception to both sims and when i go to sim mgt it shows as both slots as "no sim". I have to reboot the phone in order to correct the issue
[One (M8) Android Development] bgcngm:
That's a known issue. Read here: http://review.cyanogenmod.org/#/c/151763/.

I really don't know why that's happening. Even if I could replicate the issue... :confused:
[One (M8) Android Development] bgcngm:
Don't flash latest build. Mobile data is broken due to QTI telephony extension. I have to revert that change.
[One (M8) Android Development] tomcat-:
Now you say :) i was about to write that i lost the data and i couldn't switch off any of the sims anyway
[One (M8) Android Development] tomcat-:
Another thing to note is that the second sim is showing reception but is not working, when chosing to make a call with it it's using sim1
[One (M8) Android Development] bgcngm:
Okay, new build out. This addresses longtime non-working DT2W toggle. Thanks to [MENTION=2385005]invisiblek[/MENTION] we have now an opensource solution to handle double tap.

I also hope that the random GPS issues and network disconnections are gone.
[One (M8) Android Development] tomcat-:
I can confirm that the dt2w has been fixed, great work!

Unfortunately the network disconnections are still there. However i think i have narrowed the problem but not so sure how you can replicate it:

I use google navigation when driving, with data from sim1 on, gps and bluetooth on. On a particular trip that i'm doing, after 2 hrs i lose connectivity on both sims. That point of the journey there is no nework.

Today i was sitting in a place with low reception with data on and again the same thing happened although was not on navigation

It seems to me that when data are on and network reception is poor then the phone loses connectivity on both sims and stays like that even if you go back to an area with good reception so it does not recover the signal again

Not so sure if the above can help?
[One (M8) Android Development] bgcngm:
Sadly, those are the symptoms that were noticed ever since we were on m8dug's blobs.