yashsingh1/xdaforums huggingface dataset:
[Huawei Watch] Bal7o:
Similar problem

Hey, a similar problem here, I changed my ROM from Resurrection Remix to lineage OS (both on 7.1) and when I did it, my Android Wear app does not recognize my huawei watch, I went back to Resurrection but when I connected the watch, it did not received the notifications, then I updated manually to A.Wear 2.0 and the problem is the same, but now I can’t even connect to other smartphones, I do not know what it happened.

Have an OPO
[Samsung Galaxy Nexus] smcv:
(This should be a reply to [MENTION=6153942]sddfdds[/MENTION] and [MENTION=6909955]ivzn[/MENTION] on http://xdaforums.com/showpost.php?p=63053041&postcount=3274, but this forum doesn't allow new members to post to "developer" subforums. If a moderator wants to merge the threads, please do!)

I've been trying to upgrade a Galaxy Nexus GSM (maguro) from CyanogenMod 11 to [MENTION=2633638]Ziyan[/MENTION]'s CyanogenMod 12.1 builds, but before I can use CM12.1 as my daily-use ROM, I need to get device encryption to work. The symptom is that if I encrypt /data on CM11, then flash CM12.1 without wiping /data, the system fails to decrypt it during boot; or if I wipe /data, install CM12.1 (as a new installation or an upgrade), and then enable encryption, the system reports that encryption failed and recommends a factory reset.

Looking into this based on the hint from [MENTION=6909955]ivzn[/MENTION]'s bisection, it seems that system/vold in Android ≥ 5.1 assumes features of the dm-crypt module that aren't supported by the 3.0-based kernel used on Galaxy Nexus. I suspect any 5.1-based ROM is going to have a similar issue: I've noticed that TWRP 2.8.7.0 also can't decrypt an encrypted /data, and I suspect this might be because it's also using a newer vold.

One way to resolve that would be to patch vold, as [MENTION=6909955]ivzn[/MENTION] suggested. The linked commit on Gerrit doesn't seem to be available any more, but the general idea seems to be something like this:

diff --git a/cryptfs.c b/cryptfs.c
index 880ac53..e1cdab7 100755
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -1035,7 +1035,7 @@ static int load_crypto_mapping_table(struct crypt_mnt_ftr *crypt_ftr, unsigned c
#else
convert_key_to_hex_ascii(master_key, crypt_ftr->keysize, master_key_ascii);
#endif
- sprintf(crypt_params, "%s %s 0 %s 0 %s 0", crypt_ftr->crypto_type_name,
+ sprintf(crypt_params, "%s %s 0 %s 0 %s", crypt_ftr->crypto_type_name,
master_key_ascii, real_blk_name, extra_params);

SLOGI("%s: target_type = %s\n", __func__, tgt->target_type);

However, since vold is common to all devices, that comes with some risk of breaking unrelated devices; I can't be sure that there isn't some random device (perhaps with a modified dm-crypt for hardware-assisted crypto) where that trailing 0 is somehow important.

Another way to avoid that would be to patch the kernel to tolerate this extra "column", like it does in 3.4-based kernels. That's what I've suggested here:

http://review.cyanogenmod.org/#/c/110508/

https://github.com/smcv/android_kernel_samsung_tuna/commit/6407247d

and that does seem to work fine on my maguro. This has the advantage that it only affects the Galaxy Nexus (tuna) family of devices, so it's less likely to cause a regression.

I suspect that this is applicable to all 5.1-based ROMs for Galaxy Nexus. Similarly, if there are other devices that have a working Android-5.1-based ROM but are still stuck on a 3.0 kernel, they'd probably benefit from the same patch.

I hope this is useful to someone.
[Samsung Galaxy Nexus] sddfdds:
Hmm, well one oddity then, it does work in Zmod 5.1.1, which also has 3.0.101
[Samsung Galaxy Nexus] smcv:
On closer examination, I could be wrong about the history; this might be CM-specific. The vold commit that breaks it is db2b1edd "vold: Adding support of Inline Crypto Engine (ICE)". I had thought that CM12.1's vold was pretty closely based on Android 5.1.1, but looking at the history in gitk, the feature was added on the cm-12.0-caf branch by codeaurora.org developers.
[Samsung Galaxy Nexus] smcv:
[MENTION=2633638]Ziyan[/MENTION]n merged a cherry-pick of some changes from Linux 3.1, which are another way to fix this. A build from source according to http://xdaforums.com/showpost.php?p=62230725&postcount=2 now has working encryption.

Any non-CyanogenMod ROMs that use the CAF branch of vold on Galaxy Nexus, and maintain their own kernels, should probably do the same: cherry-pick commits 498f0103ea13123e007660def9072a0b7dd1c599 and 772ae5f54d69c38a5e3c4352c5fdbdaff141af21.

Could someone please mention this as a reply to <http://xdaforums.com/showpost.php?p=62554113&postcount=3140>? I can't post in that subforum (not enough post count yet).
[Samsung Galaxy Nexus] ivzn:
another one [user space] way to fix encryption

Hello, [MENTION=6970681]smcv[/MENTION].

Thank you for this sort of team work (it's great, actually) - kernel level information about dm layer is very interesting.

I guess I'm pretty late, however, I think that - nothing personal, only technical - it's pretty insane to fix user space code by backporting a part of dm in kernel space.

So here is my point of view to "fix" encryption in both cases at runtime from user space by patching vold itself (sorry for "encoded" links):

github / ia / android_system_vold - eaacaf37f3

review cyanogenmod org - 111160

Speaking about TWRP - I've got a patch for 2.8.7.0 to fix decryption (based on backported changes from 2.8.N.0) as well, but I need a couple of days to clean it up and to test a few things.

But if you use your dm patch, do you have any issues with decrypting data using "vanilla" build of TWRP 2.8.7.0 ?
[Nexus 6P General] DespairFactor:
I ordered my Graphite 64GB 6P, whoever gets it first and is ready to get testing when source drops should likely be in this thread;)
[Nexus 6P General] kronikings:
My ETA is 11/5 so I don't think I'm going to get it first but I hope I do...... #graphitebros
[Nexus 6P General] DespairFactor:
Is this the new hashtag? Should everything I post say #graphitebros ?
[Nexus 6P General] kronikings:
That's what I've been hearing.... #graphitebros
[Nexus 6P General] DespairFactor:
#graphitebros ftw, it seems everyone is on that graphite
[Nexus 6P General] tyvar1:
Did someone say #graphitebros ? :D
[Nexus 6P General] DespairFactor:
It's the new hashtag #graphitebros
[Nexus 6P General] Pilz:
Yes because that's the color of awesome
[Nexus 6P General] DespairFactor:
I am excited to see the idle life on these new devices
[Nexus 6P General] Koopa777:
#graphitebros for life! This phone looks better and better every minute. Supposedly the camera is beastly on it, only topped by the S6 Edge. Battery should be great too, which alleviates two of the biggest Nexus pain points. October 30th, get here now!
[Nexus 6P General] Pilz:
Me too, I have 2 on the way (32gb aluminum for the wife and a 128gb gepahite for myself). My Nexus 6 has been used and abused so now I need a new toy to play with and OC
[Nexus 6P General] DespairFactor:
That sensor hub processor sounds super interesting, I want to see what we can do with the cpuidle drivers too and if we have GTS for task migration or if this is something we have to look at afterwards.
[Nexus 6P General] Pilz:
Doze doesn't work that well on my Nexus 6 to be honest but j hope that changes with the official drop of Marshmallow
[Nexus 6P General] DespairFactor:
I think the new hardware will make it shine.
[Nexus 6P General] Pilz:
Me too, I didn't expect a new low power chip for dedicated sensors. Is it similar to the one Qualcomm used for always listening on all of the recent flagships?
[Nexus 6P General] CrashTestDroid:
SUBSCRIBED WITH A VENGEANCE!!!!!!! #graphitebros

Somebody's getting a pretty near mint shamu for Christmas this year lol
[Nexus 6P General] DespairFactor:
My shamu is near mint, I am keeping it though, need to keep those who choose not to join the #graphitebros happy
[Nexus 6P General] jamgam:
Out of curiosity, how are you telling how well Doze is working? I'm running Dev Preview 3 on my N6 and it's been awesome. I'm not a heavy phone user, it mainly sits on my desk at work (and at home for that matter) and the battery life has been great, drains very slowy while I'm not touching it. exponentially better than my S6. which isn't saying much
[Nexus 6P General] Koopa777:
Yeesssssssss!!!

View attachment 3490710

Anybody else "magically" get an invite after buying the 6P? Might be connected. Also, yes the 6P will have an always-listening mode like the Moto X. Gesture recognition sounds exciting too, native DT2W anybody?
[Nexus 6P General] Pilz:
My phone doesn't sleep but then again I usually don't sit in one place for more than an hour as a college student. I haven't seen any change in my battery life from lollipop doing the same thing with the same apps. I still get random drain from apps like speed test constantly pinging my location for no reason despite not having it for days.
[Nexus 6P General] Badouken:
That happened to me when I bought a Nexus 6 a couple months ago... Also #graphitebros !!
[Nexus 6P General] jodvova:
I'm all in. Eta Nov 10.
[Nexus 6P General] DespairFactor:
Looks like #graphitebros is a real thing, let's keep it going haha
[Nexus 6P General] Koopa777:
October 10th?! The earliest I saw previously was October 27th. When did you order?
[Nexus 6P General] DespairFactor:
You are looking like my tester.
[Nexus 6P General] kronikings:
November 10th maybe? #graphitebros
[Nexus 6P General] jodvova:
Yeap, you're right.

---------- Post added at 03:24 ---------- Previous post was at 03:23 ----------

Sorry, was Nov 10.
[Nexus 6P General] DespairFactor:
I think I was one of the first orders, I was literally holding F5

Sent from Shamu in the Void of Despair
[Nexus 6P General] kronikings:
I read something that said if you order from the Huawei website you might get it sooner, but no protect or play store credit or play music, possibly no state tax tho... #graphitebros
[Nexus 6P General] UltimateBlade:
Whosoever get the phone first, please do share stock wallpapers.
[Nexus 6P General] fatboypup:
64 graphite here too
[Nexus 6P General] Koopa777:
What's your date? Apparently I was in the first batch, because I picked standard shipping and got 10/30 to 11/2. The earliest people picked overnight and their date was the 27th. After that, everyone got bumped to November and out. It's weird that I'm getting the phone with standard quicker than some people that paid for overnight shipping... At least we got out pre-order in though, right?
[Nexus 6P General] rosco86:
Yep! Same happened to me, too. Not sure yet if I'm going to make use of it.
[Nexus 6P General] Koopa777:
#graphitebros?
[Nexus 6P General] DespairFactor:
I got 10/28 - 11/05 but I am in Canada

Sent from Shamu in the Void of Despair
[Nexus 6P General] DespairFactor:
Looks like we need this dark themed ROM more than ever to match our graphite devices

Sent from Shamu in the Void of Despair
[Nexus 6P General] dabug123:
I'm game for testing
[Nexus 6P General] gqukyo:
I never signed up for project fi and just went there to finance the phone and got in immediately without "invite". Works for me. Lol
[Nexus 6P General] NOSTALGIA:
excited.. hope i can smug someone to buy one for me in the u.s.a since im in the philippines..
[Nexus 6P General] kronikings:
#graphitebros

---------- Post added at 03:16 AM ---------- Previous post was at 03:15 AM ----------

#graphitebros
[Nexus 6P General] SymbioticGenius:
128GB Eta Nov 12

#Graphitebros

Sent from my Nexus 6
[Nexus 6P General] dontbeweakvato:
I'm on the #whitebros train.
[Nexus 6P General] Koopa777:
You're either a #graphitebro or you're #nobroofmine.

Just kidding. [emoji14]
[Nexus 6P General] dontbeweakvato:
Or how bout #almostgraphitebrosbutgotfrost
[Nexus 6P General] DespairFactor:
I think you need to cancel and get a graphite instead.
[Nexus 6P General] aSquard:
Can us #aluminumbros play too? My ETA is 10/30 to 11/3 (64GB)
[Nexus 6P General] DespairFactor:
Anyone can:) #6punite

Sent from Shamu in the Void of Despair
[Nexus 6P General] dontbeweakvato:
I've already cancelled twice besides its past the "one hour" mark
[Nexus 6P General] beats4x:
#graphitebros, expected ship date is Oct 30th ?
[Nexus 6P General] DespairFactor:
I bet some of you guys will beat me

Sent from Shamu in the Void of Despair
[Nexus 6P General] beats4x:
Maybe, but you can sit back and enjoy the raiders having a winning record this season until then ?
[Nexus 6P General] DespairFactor:
Well, I'm going to Chicago to see them play this weekend

Sent from Shamu in the Void of Despair
[Nexus 6P General] soccerman821:
#FrostBros sounds better haha. I was aluminum until I watched MKBHD's video.. had to switch
[Nexus 6P General] fatboypup:
His lovely chocolate hands really did make the frost pop .......... but it also makes the camera bar stick out too ....... #graphitebros
[Nexus 6P General] soccerman821:
I just love the silver accents around the rims and fingerprint scanner. If they did that on graphite I might have chosen it. Camera bar isn't a problem for me, it looks way better than previous leaks had shown. #FrostBros
[Nexus 6P General] beats4x:
Nice! I'm trying to go to the niners and Seattle game in a few weeks. An eagles fan, but bay area born and raised so I got love for the raiders and niners
[Nexus 6P General] DespairFactor:
Been a Raiders fan since before I was 1!
[Nexus 6P General] bikeryder007:
Ha, I was at the Panthers / Saints game on Sunday, and there was a random Raiders fan in full gear sitting in front of me. Then......he passed out at halftime.

And also,

#aluminumcolormatters
[Nexus 6P General] DespairFactor:
Well, I saw the bills home opener, for some reason colts fans showed up... So did the team, but it didn't seem like they played

Sent from Shamu in the Void of Despair
[Nexus 6P General] ambervals6:
So what new will this kernel bring that stock is missing?

Sent from my SAMSUNG-SM-N920A
[Nexus 6P General] DespairFactor:
A tweaked governor by myself of course, maybe some hotplugs(If they work this time around) some cpuidle updates, scheduler updates, patches from mainstream/linaro/caf, network tweaks

If you aren't familiar with my work, I have worked on LG G3, OPO, OPT, Nexus 4, Nexus 5, Nexus 6, Galaxy S4, Find 7(all of them) and YU Yureka
[Nexus 6P General] ambervals6:
Do you try to stay close to stock or experiment by pushing it to the limit? :p

Sent from my SAMSUNG-SM-N920A
[Nexus 6P General] DespairFactor:
I keep stock elements so stock settings are the same as what the OEM intends, but patched to idle better and provide better battery life overall without losing performance. When you tweak it though I tend to add things that others wouldn't add.

Sent from Shamu in the Void of Despair
[Nexus 6P General] Danish2980:
Can't wait to get awesome development again.. November feels light years away ?

#GraphiteBros
[Nexus 6P General] TonyStark R.I.P.:
My gal wanted me to drop this message here...
[Nexus 6P General] DespairFactor:
It is far away, maybe we can invent a time travel machine, or we can freeze ourselves if we want
[Nexus 6P General] kronikings:
Only if we use a graphite freezer. #graphitebros
[Nexus 6P General] DespairFactor:
I am debating grabbing another 6P or 5X for my mother since she is a Sammy fan, but doesn't want to shell out money for an off contract phone:P
[Nexus 6P General] beats4x:
Do it, I got my mom on the nexus 5 and she never looked back
[Nexus 6P General] DespairFactor:
I'm talking 5x here

Sent from Shamu in the Void of Despair
[Nexus 6P General] beats4x:
Right, just saying that my mom went from oem to nevus and loved it
[Nexus 6P General] DespairFactor:
The 5x is 559 and the 6P is 699, so its a decision I have to make on my end. Or I can grab her a 64gb 6P for 749

Sent from Shamu in the Void of Despair
[Nexus 6P General] beats4x:
Tough. I'd personally start with the 5x
[Nexus 6P General] DespairFactor:
Well, I kind of want her to get another amoled cause she's on an S4

Sent from Shamu in the Void of Despair
[Nexus 6P General] Koopa777:
I can't really recommend the 5X to people, it's objectively inferior to the 6P in a startling number of ways. Not even "geeky" ways either (RAM speed or other power user stuff), but everyday features like camera (EIS, BurstShot, 240 FPS). Hell, the 5X doesn't even come with a USB-C to USB-A connector, I mean REALLY LG?!

Unless anybody REALLY hates 5.5 inch+ phones, there's no point, especially since the 6P is about $100 more. My opinion, of course. [emoji2]
[Nexus 6P General] CrashTestDroid:
Bigger screen is easy on older eyes. AMOLED makes it that much sweeter.
[Nexus 6P General] DespairFactor:
It'll be one of those gifts that's is accepted like "you didn't have to, you should take it back, I don't need it"

Sent from Shamu in the Void of Despair
[Nexus 6P General] nicholaschum:
Good to see you here, [MENTION=5169465]DespairFactor[/MENTION]. Can't wait to rock Despair again, ABSOLUTELY loved it on shamu, will love it on 6P!
[Nexus 6P General] TruTechGeek:
Too late to join #graphitebros?
[Nexus 6P General] DespairFactor:
It is never too late!

Sent from Shamu in the Void of Despair
[Nexus 6P General] kronikings:
Maybe your mom will be a #graphitegal?
[Nexus 6P General] DespairFactor:
Too bad she likes frost haha, I ordered her a 64gb frost

Sent from Shamu in the Void of Despair
[Nexus 6P General] Darian71:
Darkpop 10/01 is running great on my Shamu. Here's the link for it and R31.1 if anyone hasn't found it.

https://www.androidfilehost.com/?w=profile&uid=23329332407584744
[Nexus 6P General] DespairFactor:
You better get a 6P or 5X and run that Shamu over to a relative to share the love:P

That being said, I have added the 5X to my roster, it will be here within the next week or so.

We have finalized ubermallow, it is up and running very well on Nexus 6, so 6P and 5X will definitely get some love.
[Nexus 6P General] kingmikel:
Do you know if Chet is getting either of the devices? Can't wait to try these out!
[Nexus 6P General] DespairFactor:
He hasn't decided yet, he is waiting on reviews, but with that being said, I work with him on a daily basis on android development. So you still have my work to use on either device:)
[Nexus 6P General] kronikings:
2 more weeks!!
[Nexus 6P General] DespairFactor:
If you check the play store it'll tell you the date it leaves the warehouse:)
[Nexus 6P General] kronikings:
Yes sir...i've been checking and it's still pending 11/5-11/9 ETA....... :crying:
[Nexus 6P General] DespairFactor:
That's not the play store, thats the google store. You need to go to play.google.com
[Nexus 6P General] designgears:
Are there any meaningful kernel changes being made these days on xda?
[Nexus 6P General] gauresphere:
Selecting Devices option on the playstore takes me to store.google.com automatically, is there a different route?
[Nexus 6P General] kronikings:
Oh I see..."Leaves warehouse by November 2nd".... :good::good:

---------- Post added at 03:01 PM ---------- Previous post was at 02:58 PM ----------

Select the the settings gear on the top right and click my account, then scroll down below to order history..
[Nexus 6P General] gauresphere:
Ahh its hidden there :) Dispatched from warehouse by 2 November.
[Nexus 6P General] kingmikel:
I hope you didn't take that the wrong way! I just remember that you two work closely together on your kernel and Uber!
[Nexus 6P General] DespairFactor:
Well my kernel is all me actually, uber stuff is mostly him, I support Shamu, bullhead and angler. With that being said, We generally have the same idea when it comes to ROMs. We like to optimize everything before we look at features, we believe having some features is good, but there is a point where there are too many features.
[Nexus 6P General] tehpud:
Careful with hashtag. The #aluminatti might come for ya...
[Nexus 6P General] DespairFactor:
Don't scare me like that!
[Nexus 6P General] tehpud:
This also means that you have me in for testing! Can't wait to get to work on it.
[Nexus 6P General] DespairFactor:
I'm good with that:)
[Nexus 6P General] jodvova:
Is there anything I can test already?
[Nexus 6P General] DespairFactor:
Nothing yet, we must wait for my device, a recovery and source:(

Sent from Nexus 5X in the Despair filled Dark Side
[Nexus 6P General] zetsumeikuro:
I got mine yesterday! #aluminatti ftw.
[Nexus 6P General] stevew84:
I'll gladly test if need be...
[Nexus 6P General] hacksome:
TiA!
[Nexus 6P General] sharp87:
#graphitebros 64GB ? .. got 2days back
[Galaxy Note5 Q&A, Help & Troubleshooting] Commandermadi:
Well I do not know actually what should I say. Everything about this phone was amazing me until I discovered by the mere chance whilst sitting under light and screen was off that there are some tiny scratches within my fingerprints on the places of typing on the keyboard and I type normally and never used my nails or the spen while chatting. It looks like some stuck stains or more like internal scratches rather than actual scratches. When I cleaned the screen hoping that this would go off I was very happy because when the screen was cleaned, these so called non removable stains or internal scratches never appeared but after chatting for a few while and checking it back under light within my fingerprints, i saw them. Im a little bit perfectionist and this issue is really minor but I would like to hear your experiences.

With all due respect.
[Galaxy Note5 Q&A, Help & Troubleshooting] DAvid_B:
Sooo you are complaining about fingerprints on your phone that wipe off?
[Galaxy Note5 Q&A, Help & Troubleshooting] ECdOc:
I thought the same thing about this post then I decided to take a look at my screen under bright light, and sure enough there are tiny micro scratches in the areas where you use the keyboard and even one in the dead center of the screen. This phone hasn't been dropped or abused and I have had it less than a week. Go look in a very bright light source (screen off, angle the screen towards a light bulb or other bright light source) and I bet you find scratches all over yours too. They are not noticeable with general use but wow, what gives gorilla glass 4?

---------- Post added at 11:07 AM ---------- Previous post was at 10:15 AM ----------

Update: It bothered me enough to see those tiny scratches that I just went and got a glass screen protector from the Verizon store. Now, after installation the microscratches cannot be seen and no more will develop. Peace of mind, but that is bothersome.
[Galaxy Note5 Q&A, Help & Troubleshooting] bobturismo:
Yeah I've always had a screen protector on all my phones from day one. Bought this phone on a whim and ordered some cases from amazon a few days later. I thought gorilla glass was super tough, but I noticed micro scratches under bright light and decided to install the free screen protectors that came with the cases just to have something on that better than nothing. Normally I take the phone straight to ghost armor and have them install one.

If you are running without a screen protector I seriously suggest that you get one. Judging by how fast the screen got scratched. It may be really noticeable within a few months time
[P3300, MDA Compact III  upgrading etc.] imseasky:
Hi all:

how to get dopod M700's CID information? I just can bei able into bootloader mode
[P3300, MDA Compact III  upgrading etc.] mytrinity:
CID locked or not

I guess you want to know if your phone is CID locked?

Just try to upgrade with a complete_shipped_update_rom of the P3300 available from HTC.

If it does not give you any errors then your phone was CID unlocked.

Try at your own risk!

Regards,

mytrinity
[P3300, MDA Compact III  upgrading etc.] fdp24:
If you want to know if your device is CID locked or not:

1. go into bootloader (RGB screen)

http://wiki.xda-developers.com/index.php?pagename=Artemis_Resets

2. disable active sync connection

3. connect USB cable and start mtty console.

4. perform set 32 command in mtty console.

in a response you will see g_cKeyCardSecurityLevel = 00 or

g_cKeyCardSecurityLevel = FF

00 - stands for unlocked

FF - locked

rem: if you use USPL (USPL is installed on your device), then set 32 command will always report g_cKeyCardSecurityLevel = 00, although on a reality device remains locked. USPL just bypass CID check.

regards,
[P3300, MDA Compact III  upgrading etc.] imseasky:
thx u!:) :) :)