samedi 24 septembre 2016

(DRM) TA partition (E6553 aka Ivy)

Dear readers,


Lets start from the beginning, roughly six months ago:

1) My trusty GT-I9300 died, had two for spare parts but ... SDS;
2) I got a Note 2, got blown off the road and ended up in the canal :( Phone was soaked, dead;
2) I bought an Xperia Z3+;
3) I unlocked the bootloader;
4) flashed AOSP.

Result: warranty void on day one!

I picked this phone for modability, sadly there are not that any developers active for this device and I have been slowly patching AOSP from Sony with some changes here and there trying to get a CM13 build going. But due to the dive into the water with my car, I have no desktop PC/laptop (both were i7 quad's) and my dualcore iMac makes development kinda tiresome.

Anyway, little did I know that upon unlocking the bootloader my DRM keys would be lost and on that note I did not really care either.

But today I accidentally started working on CM again and figured that the DRM messages about Widevine in logcat should be eliminated. So I looked into solutions, but the DRM "fix" wasn't creative enough (no sources, wtf?) for me and I set my aim on the culprit of it all: the TA partition!

I've probably been looking at it for at least half a day now and hallucinating due to sleep deprivation. BUT, I do NOT believe Sony just scrapped the DRM keys because you unlocked the device. The keys have come from somewhere, and the best thing about keys is: they can be reproduced!

So I have been looking through dumps, comparing things and found out that the keys are most likely "destroyed". I say "destroyed", because I believe there is a good chance of restoring them!

Gory details about the TA partition (post mortem):

CKb keys look like they are "blanked" with:
00XX 0000 0000 YY00
00XX 0000 0000 YY00

(I think XX represents the date (04-02, second of April) and YY represents the time (22:29) when I voided my warranty!

A CKb key is a simple Counter Key, so most likely easily recovered given enough data...

I noticed that there was a SQLite3 database file inside the TA partition, I extracted it and it holds the following data:

CREATE TABLE keytable ( dbAppId BLOB, dbUserId BLOB, dbKeyId BLOB UNIQUE, dbEncKeyType BLOB, dbData BLOB);

Looking at the last column of the table I noticed this:

The first entry = 31
The second entry is 313038
The third 323135
And the fourth 333232...

The dbData column increases with 10097 every time, could it be related to the CKb?

For the rest it looks like everything in the TA partition everything is in fact intact, except for CKb and AUTHCERT="UNKNOWN" for Marlin (not 100% sure if that is present pre-unlock)!

Marlin X509 certificates are intact.
HUK is the Hardware Unique Key, stored on a quite a few places.
Widevine looks intact.


So, why do I focus on the CKb? Simple, look at these reasons:

CBk is used in TLS/SSL authentication (requirement for NEMO (Marlin));
It is used in QSEE. < this is patched with the DRM "Fix";
It can be encoded as RSA and/or SHA1, and is easily verified in SBL with CRC.
TA unlock/lock data is passed as 0x0000000000000000.
If you use 10097 as a CRC polinomal, the last bit of your message changes (in this case your UID for ScubaKey and drm-client swap).


So, my question is:

Is there anyone with a backup of his TA partition that could send me a dump of this folder:

/dev/block/platform/soc.0/<bootdevid>.sdhci/by-name

You can leave userdata, system abd apps_log for what they are. I just want to compare bits spread over the other partitions.

I will need a dump from a locked state and one from an unlocked state where TA is not restored to see what actually gets changed.

You can PM me on the forum or sent an e-mail to my username at gmail.com, I will make you an account on my PC to drop the files!


from xda-developers http://ift.tt/2d0lDg0
via IFTTT

Need Acatel One touch Elevate (5017b) Rom

Hello everyone this is my first post here so forgive me if i'm doing this all wrong but i really need help here guys.. :( :(

I recently tried to delete some system apps on my phone via Superuser and i deleted some important system apps so i cannot use the WiFi at all (Causes my phone to reboot and everything if i try to connect to Any WiFi) so i wanted to flash the stock rom back to my phone in start all over but i cannot find a Rom for an Alcatel OneTouch Elevate (5017b) anywhere..

Can someone please post or find a stock rom for me so i can get my phone back the way it is.. ?


from xda-developers http://ift.tt/2dsPaBN
via IFTTT

vendredi 23 septembre 2016

Signal Private Messenger

Hi,

I've discovered the description of "Signal Private Messenger" app, but I don't know what thinking about it.

Its description seem's to indicate that you can communicate voice and text securely end to end with your smartphone, and that it's open source.

What is really securely ? I don't know and "I want to know" ;)

Thanks in advance for your answers.


from xda-developers http://ift.tt/2cYKZuO
via IFTTT

Moving from Galaxy S7

So my Galaxy S7 is water damaged, and I need a phone to last for me for approximately another year. Would moving to the Nexus 5X be a good choice? It would save me some money if I get this instead of the OnePlus 3, which doesn't have warranty as it is sold third party only.


from xda-developers http://ift.tt/2cKmOir
via IFTTT

lyf wind 3 root

How to root Lyf wind 3....kindly reply...ty


from xda-developers http://ift.tt/2d7Pzcn
via IFTTT

CUSTOM ROMS for COOLPAD DAZEN 1

This thread is so going to be BIG! for COOLPAD dazen 1 users especially for those who have been waiting for a long time to have some new roms to try out




Finally the long wait is over


Let me present you
EACH DAY A NEW ROM TO TRY OUT
(heard it right :) )

I'm doing this in order to avoid any problems occuring due to all roms releasing in a single day and also to give the opportunity for users to try all the roms without any problems

Quote:

IMPORTANT FACT (please do read this one first) : ALL THE ROMS HAS BEEN PORTED BY ME FROM rom.7to.cn AND IT BELONGS TO THE MODEL coolpad 8297-t01 (F1 plus)
AND LET ME REMIND YOU NOT ALL ROMS GIVEN HERE ARE IN PERFECT CONDITIONS(minor bugs). YES SOME HAVE MINOR BUGS WHICH I DIDN'T TRY TO FIX AS I DIDN'T HAVE THAT MUCH TIME TO SPEND ON (any way i can gaurantee that all roms BOOTS, also i will try to provide easy fixes for bugs too,, I'm sure my friends here can help me with that :laugh: )
the original base rom threads is from http://ift.tt/2d7QKbM

So lets begin with out any delay ! :):o:silly:


from xda-developers http://ift.tt/2cKlhJl
via IFTTT

Google Now Can't use microphone sometimes - no other mic issues

On my N910V running VRU2CPF3 CM13.0-20160724, I have noticed a very strange behavior with the Google Now app (recently re-branded as simply, the "Google" app). Immediately after a phone call (and during other circumstances I haven't identified precisely yet), the Google app will lost the ability to "hear" me, even if I press the microphone button and start talking. The "ok Google" function doesn't work during the issue either, nor can I retrain the ok google voice model because it plain doesn't register any mic input. I can make calls and people hear me fine, and I can record audio on my camera, so my microphone is working.

The issue always goes away if I reboot, but eventually comes back, even if I haven't made any calls. On one occasion, I got the mic function for the Google App back after opening my phone app, then lost it after closing my phone app. On another occasion, I got the mic function back for the Google app after uninstalling Google Chrome and Chrome Beta (per this post). I was also able to get functionality back once by plugging in an external headset and then unplugging it, and another time by force killing all open apps. All of these "fixes" failed to fix the issue this time around - strange, right? Again, reboot always gives a temporary fix, and a phone call usually (not always) causes the issue to occur.

I have tried a fresh install of the system, and the issue seems to go away for hours or even days at a time, but always comes back. I froze every user installed app on my phone using Titanium backup to see if an app was the issue, but the issue persisted. However, the issue does not seem to occur when booted into safe mode (which screams of software problem). I am currently in the process of reflashing a blank system to see if the issue persists without any user apps.

This behavior is not specific to this operating system; I had a similar issue when I was on stock unrooted 5.1.1. I did not notice the issue on Jasmine rom running 6.0.1, but I also didn't run it for very long. I seem to recall having a similar issue with my Galaxy S3 on CM11 (though it was a while ago so I can't confirm the truth of this!), so I suspect that something about my setup is to blame, rather than the hardware.

One more juicy tidbit: force uninstalling the google app fixed the issue for a day, then the app started force closing on launch, and no amount of finagling would stop the force closing. For the record, I've flashed google apps mini from opengapps.

I don't know what tools to use for proper logging of hardware - ie, when an application has control of the mic or not. I suspect that the issue is coming from improper ending of microphone use state in a certain program.


from xda-developers http://ift.tt/2d7PyoE
via IFTTT