yashsingh1/xdaforums huggingface dataset:
[XDA Assist] XDA Visitor:
Hello everyone,

I am having a Moto E XT-1022 (1st generation) 2014 model. In order to update its OS from 4.4.4 to 5.1, I had to make 500MB space available so I deleted all WhatsApp database backup files without copying them elsewhere as I knew from my own experience that WhatsApp had nothing to do with Android OS upgradation process since I had already upgraded the same android from OS 4.4 to 4.4.4 and my old Samsung even before that without losing any of my WhatsApp messages but unfortunately, this time all my chats are gone after OS update. As I thought, WhatsApp tried to take the backup automatically on 3AM like any other day, but it's not working either. Now I'm left with a possibly corrupt file msgstore.db.cypt8 (size: 103.62 MB). I have read somewhere in this forum that there is a possibility of mending the corrupt backup and regenerating it afresh if the key can be extracted somehow. So is there any ray of hope for me?

I request all kind-hearted developers over here to help me get my WhatsApp back as I just can't afford to lose my three years' important data. I haven't been using WhatsApp for more than a month now. I thought that I could be able to resolve the problem on my own just by Googling and searching through your comments to others who were facing similar problem like mine but I guess, I was wrong.

All of you (respected administractor, moderators, developers and members senior to me), please forgive me if I broke any rule as it was purely unintentional, I'm not a developer and this is my first-ever post.

Thanks and regards,

Rohit Kumar

PS: Mine is a non-rooted device.
[XDA Assist] OfficerJimLahey:
Hello Rohit, and welcome to XDA! :cowboy:

Maybe the current file relied on a backup? At any rate, once one of those are corrupt, recovering them are pretty slim.

I would try asking here (once you have an XDA account):

> Motorola Moto E > Moto E Q&A, Help & Troubleshooting > [FAQ] Frequently Asked Questions For Moto E [UPDATED-05/10/14]

Hope this helps, and good luck! :)
[XDA Assist] Rohit Jaroudiya:
Thanks Jim!

I read this on Stack Exchange but it's a 2014 post dealing with .crypt7 file while mine is .crypt8 extension. Is it gonna work? Can someone improvize on this?

Usually if you place your msgstore.db or msgstore.db.crypt7 file in the following directory on your SD card and reinstall WhatsApp it will see it and ask if you would like to restore your old messages during installation.

/sdcard/WhatsApp/Databases/

However if your database (msgstore.db or msgstore.db.crypt7) is corrupt you may still be able to regenerate the databases using sqlite3.

The WhatsApp Database is an sqlite3 database and is stored unencrypted at this path on the Android device:

/data/data/com.whatsapp/databases/msgstore.db

Backups of the database are also stored encrypted on the SD card typically at the following location:

/sdcard/WhatsApp/Databases/msgstore.db.crypt7

The unique key for the encrypted backup databases is stored here:

/data/data/com.whatsapp/files/key

Access to the /data/data directory requires root access. Alternatively ADB (Android Debug Bridge) can be used to extract the above files after booting into recovery on the device.

If you are dealing msgstore.db.crypt7 files then you must Decrypt them first as follows:

(commands below are run from a linux enviroment)

Extract Key File: /data/data/com.whatsapp/files/key

Extract crypt7 file: /sdcard/WhatsApp/Databases/msgstore.db.crypt7

Extract Decryption Keys from "key" file extracted in step 1:

256-bit AES key:

hexdump -e '2/1 "%02x"' key | cut -b 253-316 > aes.txt

IV (initialisation vector):

hexdump -e '2/1 "%02x"' key | cut -b 221-252 > iv.txt

Strip Header in crypt7 File:

dd if=msgstore.db.crypt7 of=msgstore.db.crypt7.nohdr ibs=67 skip=1

Note: Size of header stripped file in bytes must be divisible by 16

Decrypt crypt7 File:

openssl enc -aes-256-cbc -d -nosalt -nopad -bufsize 16384 -in msgstore.db.crypt7.nohdr -K $(cat aes.txt) -iv $(cat iv.txt) > msgstore.db

Once you have you msgstore.db file either by first decrypting the msgstore.db.crypt7 or by extracting it from the /data/data/com.whatsapp/databases/ directory you can now try to regenerate it using the following commands:

echo .dump | sqlite3.exe msgstore.db > Temp.sql

echo .quit | sqlite3.exe -init Temp.sql msgstore_new.db

Now Try to Restore your database Again

If you followed the procedure above correctly you should now have a msgstore_new.db file.

Rename this file to msgstore.db and place it file in /sdcard/WhatsApp/Databases/ and reinstall WhatsApp. Choose to restore your old database/messages when asked during installation.

Reference:

http://xdaforums.com/showpost.php?p=24566937&postcount=3

http://xdaforums.com/showthread.php?t=1583021
[XDA Assist] OfficerJimLahey:
Hello,

It's worth trying, just be sure to make a backup of the original (corrupted) file first.

Sounds like you got a handle on which thread(s) to ask for help in.

Good luck! :)
[XDA Assist] Rohit Jaroudiya:
Thanks for wishing me luck, Jim!

Well, I've been trying for one month and made the backup at three different storage devices. I believe that I need the key, first of all. What are all the possible ways to extract the unique key from /data/data/com.whatsapp/files/key?

The post containing possible solution to my problem says, "Access to the /data/data directory requires root access. Alternatively ADB (Android Debug Bridge) can be used to extract the above files after booting into recovery on the device." But when I try to boot into recovery, Android says - no command. How to proceed further?:confused:

Is it possible to extract the key without rooting the device? As I have tried a few one-click rooting tools; i.e. Kingo ROOT, iRoot, Root Genius, towelroot, Framaroot but root failed every time.:crying: Please suggest me some application/tool/apk/person that might root my Moto E or a simple step-by-step procedure of rooting since I'm a noob.

Some other method to capture the key, if any? You would be a great help.
[XDA Assist] OfficerJimLahey:
You can without rooting, but you will need to unlock your bootloader first (which also voids warranty - just so you know).

Follow this guide until you finish step 7 (btw, if you were to compete the guide, you would be rooted ;)):

> Motorola Moto E > Moto E General > [Root][Moto E][Guide HowTo]How to root Moto E [Condor][Noob Friendly]

While in TWRP, you can then use ADB to pull the unique key file from /data/data...

adb pull /data/data/com.whatsapp .

Any questions about the first 7 steps can be asked in that thread, any other questions can go in any appropriate threads mentioned earlier.

I believe you now have all the resources you need to get started, and going forward, a successful XDA'er. :) Since the purpose of XDA Assist is to get new users in the right direction, as opposed to solving the issue alongside the new user (the user still has the responsibility to self-learn), I feel I have done all I can do.

Good luck out there! :cowboy:
[LG Optimus G Pro] Rkn595:
Screen goes blank/black while working. Processes will be working but can't be seen. Nothing can be seen. Need to restart the device. Problem occurs twice or thrice every day.

Solution please.
[LG Optimus G Pro] :
Hello, I have the same issue... . I use the LG G Pro, Cyanogenmod 12.1 latest nightly.

There is a similar thread in the

forum . cyanogenmod . org / topic / 114574-screen-going-black-on-g-pro-121-8-24 / page__st__20

I have tried to add the wildkernel, but that resulted in flickering screens. When adding the video parameters (0.5 for various entries) the video playback was double the size and useless.

When trying the zeKrnl-v1.6_lp-dev-gfx-BLISS, it did not change anything, the BlackScreenBug stayed.

I would be very gratefull for any advise.

DerDON
[LG Optimus G Pro] :
Hi, I have installed the latest LG G PRO Nighly now (20151230) and added the WildKernel-e98x-build5-reloaded. And for the first time I have a full day without blackout!
[Lenovo P780] WantanMee:
Recently i had tried flashing this AOSP Android 4.4.4 CN / ROW by bauuuuu on my lenovo P780 8gb ROW version and the results was absolutely amazing! The device became way more faster compared to stock. The ram in use was always stay above 400mb even after i installed all the necessary apps. There were only 2 minor issues i found and need helps with:-

1. the built in camera apps HDR mode is not working (i uninstalled it and replace with lenovo super camera app for which the HDR works fine, but i still like to know the solution if there is any)

2. there is a "screen off gesture" featuring the double tap to wake function but it is not working after i tried enabling it. What is the possible cause and solution?

Thanks for answering my questions and sorry for my bad english.
[Sony Xperia L] tOrNadO™:
As there is no official Q&A thread dedicated to the CM13, I thought I'd make one myself on behalf of [MENTION=4329876]Olivier[/MENTION]

Any questions, Ask away and it will be answered..

Link to the development thread:

http://xdaforums.com/xperia-l/orig-development/rom-cyanogenmod-13-0-t3254779

Simple stuff to follow before reporting a bug/error:
[Sony Xperia L] Slash90[ITA]:
guys the download link on the first page is broken...
[Sony Xperia L] priyank.g:
Are you sure ? If yes, I'll mirror it maybe(If Olivier allows me to)... [MENTION=4329876]Olivier[/MENTION], please check it out..

Edit- yep, its down/..
[Sony Xperia L] xarkit036:
I am happy to help in this forum, that I regret that there are sections that by not having more than one certain number of comments you can not comment. happened to me that any could have helped and have not been able to put my solution I am sorry that this is so I do not agree at that point in this forum, there are people who can provide much, and surely have not been able to publish their respuestae of aid. Thanks again for opening a post in which everyone can participate or what it is to help deserroyar the system, thank you.:D
[Sony Xperia L] adil089:
Hey guys its been a long time since I've been on xda. So I'm currently running lollipop and just want to clarify a few things if that's alright with you guys. Firstly does anyone know if doze mode works on this build because i was really excited about this feature. I also want to ask one more thing. Do you guys use the adoptable storage feature? If so how are you finding it and are there any bugs with it. That's it guys sorry for the long post but i hope i get some feedback of you guys. Thanks for reading.
[Sony Xperia L] priyank.g:
No, doze isn't there.. also, the adoptable storage works fine.. but like we could move ONLY SOME APPS to the SD Card in previous android versions, it is the SAME to be honest... am using it currently.. but it can help save some space for new apps...

The only problem is, we still can't choose to directly download apps to the Ext SD.. like if you download a big game, like FIFA 15 or something, it won't get downloaded..

Also, you may like to know that the Camera doesn't work in the latest alpha(ALPHA 3) as of now
[Sony Xperia L] GuestX00950:
any idea if its going to be implemented in a future version ?
[Sony Xperia L] adil089:
Thanks for the response man, appreciate it a lot. Shame about the camera or i would have flashed the build. Thanks again.
[Sony Xperia L] priyank.g:
Possibly, Even I am eager for it.. but can't say anything..
[Sony Xperia L] Slash90[ITA]:
guys any news on a new download link?
[Sony Xperia L] fazorni:
guys does posting logcats reveal any personal data or identity?

also, should i take logs immediatly after the bug happens?
[Sony Xperia L] priyank.g:
No, logcats do not reveal your personal data...

Yeah, you should take logs as soon as the bug takes place :D

What bug did u face btw?

I have a question myself,

Can't the cm12.1 cam libs be used to fix the cam bug?

If the camera libs from the Alpha 1 could be PMed to me by someone, I can try fixing it in the Alpha 3 maybe? :D
[Sony Xperia L] KnightofTheHell:
Cant flash gapps

can you share a custom kernel to use with this kernel because i cant flash gapps with phillz touch and couldnt find twrp to work with rom.
[Sony Xperia L] n78 shadow:
Use this app

http://xdaforums.com/xperia-l/development/app-recoveries-recovery-installer-t3187915

Required root
[Sony Xperia L] FantasticalX:
Can someone mirror the link download while oliveer's hostweb down?
[Sony Xperia L] saldor:
The file has changed: Newest is of 27th as build date:

https://dl.srvr.tech/taoshan/cm-13.0/exp/
[Sony Xperia L] adil089:
Is there a Changelog for this build? Just asking because the OP says that the latest build is currently 20th.
[Sony Xperia L] FantasticalX:
Hoping to see if the camera already fixed in this build
[Sony Xperia L] AndreiSant:
i already tested and...

no, its not fixed
[Sony Xperia L] adil089:
Thanks for trying bro. It saves a lot of people time.:thumbup::)
[8125, K-JAM, P4300, MDA Vario Software Upgrading] mohen:
since i can't find hebrew to my WM6 ( too bad there aint no jew crackers :D ) , i decided to go on WM5 .

right now i'm with NBD 8.3 , and i really enjoy it , beside the non hebrew support .

is there any ROMS around here that based on WM5 , and have all the futures that WM6 has with the touchflo ?

i'm looking for some real stable and fast one ,

please holler back .

p.s - will it be an problem to upgrade to an old version , since i have WM6 already on my wizard ? ( i have G4 CIDlock )
[8125, K-JAM, P4300, MDA Vario Software Upgrading] decknologist:
I think you want to check out this thread . . .

Some interesting work putting WM6 apps on WM5 . . .

G4 also.

Hidden away on the G4 forum instead of Wizard Upgrading.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] mohen:
yeah i saw this one , but there is alot of bad comments there ... :(

i'll try to use it and see what's up
[8125, K-JAM, P4300, MDA Vario Software Upgrading] decknologist:
It appears to be coming along. I'm on an unlocked G3 so it's wm6 all the way, but this guy seems to be doing some interesting work.
[X Play Q&A, Help & Troubleshooting] kabeeradam:
I had some network problem and hence typed *#*#4636#*#* in the dial pad and went into the settings. But it was the worst mistake andi somehow set the radio band to USA and now cant revert back.The first sim has no network. What do i do?

Can anyone provide radio baseband modem file for indian version?
[X Play Q&A, Help & Troubleshooting] Nclibz:
You can get stock modems from here: http://xdaforums.com/moto-x-play/general/official-stock-firmwares-added-xt1562-t3195364

You can then extract NON-HLOS.bin and fsg.mbn and flash using fastboot:

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn
[Desire 820 Q&A, Help & Troubleshooting] SK00RUPA:
When I pressing vol- + power to do a screenshot I receive notification: "Couldn't capture screenshot. Can't take screenshot due to limited storage space, or it isn't..." Anyone can help? :)
[Desire 820 Q&A, Help & Troubleshooting] sandeep saxena:
which recovery u have stock or twrp ?
[Desire 820 Q&A, Help & Troubleshooting] SK00RUPA:
twrp :)
[Desire 820 Q&A, Help & Troubleshooting] sandeep saxena:
First Make a factory reset and wipe data also in wipe data type yes and press go then reboot system.
[X Style (Pure) Q&A, Help & Troubleshooting] HikingMoose:
I started out with USCC on this device. But last week I switched ourn lines over to big red. I noticed that big red forces you to use LTE, with no options under "cellular networks" to select CDMA. Here in Maine, LTE drains your battery 50% faster than CDMA, and data is wonky. It tends to be slower than CDMA, or at least feels slower because it is constantly switching between the 2 or hanging in limbo.

My phone was set to CDMA on USCC, and even after switching to Verizon, I'm still on CDMA. My question is, if I return to stock LP will it force me into LTE -with no choice of switching back to CDMA? So far, Marshmallow has been a huge disappointment on my phone.
[X Style (Pure) Q&A, Help & Troubleshooting] patt2k:
Just go into hidden menu via dialer and force your phone into CDMA or LTE or whatever you want. It's simple really :D and will give you what you want.
[X Style (Pure) Q&A, Help & Troubleshooting] HikingMoose:
Well, is there a "new to Verizon" guide somewhere? Verizon didn't tell me about the secret codes. I don't even know how to do an advanced prl update.
[X Style (Pure) Q&A, Help & Troubleshooting] HikingMoose:
I should have clarified that I've only ever been on USCC. I've never used Verizon. But I do vaguely remember reading about a hidden dialer code now that you mention it. I'll look into that.
[X Style (Pure) Q&A, Help & Troubleshooting] patt2k:
This is android secret code not Verizon.

*#*#4636#*#*
[X Style (Pure) Q&A, Help & Troubleshooting] HikingMoose:
Thanks. Never needed it because us cellular already offers that.
[X Style (Pure) Q&A, Help & Troubleshooting] patt2k:
It's not a that they don't offer that 99% of the time you are better off on LTE so its good that phones prefer LTE. Most likely your other phone simply had that option not hidden unlike on Moto. So that wasn't a ussc feature :)
[X Style (Pure) Q&A, Help & Troubleshooting] HikingMoose:
Agree to disagree. The data speeds are about the same here, but with the constant handoffs, LTE actually becomes slower and pages won't load because it's switching to 3G and back to LTE over, and over, and over. Plus the added battery drain off having 15-20dBm weaker signal, it's a no brainer. But maybe that's just in our less developed state.

The Samsung phone that I bought for my wife has no CDMA provisions, so it's not a Moto thing, it's a Verizon thing.
[X Style (Pure) Q&A, Help & Troubleshooting] Oaklands:
You can also download the thunder bolt lte on/off app and you have choices like CDMA auto prl. I use it to force CDMA only on my range extender at home.
[X Style (Pure) Q&A, Help & Troubleshooting] lafester:
Use shortcut creator to link to the hidden menu and your all set
[X Style (Pure) Q&A, Help & Troubleshooting] robn30:
This device doesn't run Verizon branded firmware at all. It's how Motorola provisioned the device to work. Like patt2k said you can change that via the hidden menu and you should be good to go, it won't look for LTE after that.
[X Style (Pure) Q&A, Help & Troubleshooting] swieder711:
There seem to be many LTE on/off utilities in the App store. How did you pick this one?

I also have a Verizon Network Extender at home. I have trouble getting connected to it. I often have to reboot or turn the radio on/off to get my phone to connect to the Extender. I would appreciate any advice on how to get my phone to connect to the Extender more reliably.

It would also be nice if the phone would show via an Icon or screen that it is connected to the Extender. Right now the only way to know is to dial #48

EDIT: When I go into the Hidden Menu and select CDMA only, the phone temporary drops the LTE signal. However, LTE seems to quickly come back. Any suggestions on how to turn off LTE when I am home so that I force a connection to the Network Extender?
[X Style (Pure) Q&A, Help & Troubleshooting] HikingMoose:
I can't get the hidden menu to switch from CDMA to LTE. It will switch temporarily, then drop the radio altogether forcing me to restart. Upon restart it's in CDMA only again. Personally, I'm fine without LTE. But I'm not sure why I can't get it enabled at all. I'd like to know I COULD have LTE if I wanted it. So I'm confused why it's stuck in CDMA
[X Style (Pure) Q&A, Help & Troubleshooting] Oaklands:
It worked with other Motorola devices in the past. CDMA only will fix your network extender issues.

You will have to set it back when you leave the house. Also it will go back to the default settings if you reboot. Works great for me.
[Huawei Ascend P7] AtomicVisiouzz:
Hey guys,

I have a realy hard boot stuck (not a boot loop) ... when i turn on my device i just see the huawei logo and then the screen flashes black ... probably because i tried to flash a custom boot image ... can i fix that ? please help me thanks
[Huawei Ascend P7] GuestK0087:
Greetings,

Thank you for using XDA Assist. For the best results, I'm going to move your thread to your device's Q&A forum. Your device experts are there and are best suited to help you. Good luck!
[Huawei Ascend P7] rodlane:
What version are you on, what custom boot image did you flash, and how did you flash it?
[Defy Q&A, Help & Troubleshooting] Strik3r:
Hi, i was bought Motorola Defy on ebay from brasil, and 3G isnt work on it, Is there any way to do with it?

The deal is not in the soft part (I was tried different firmwares, radio-fmw's, tried to switch differend basebands), the deal is in hardware. That the differents between defy and defy from brasil at gsm-hardware, and is there way to fix it?
[Sprint HTC One (M8)] dragonesdenano:
&#128009;[DEC27][ROM][KERNEL][SPRINT] SkyDragon | Sense 7 MarshMallow | v1.6.5 | 6.12.1540.4

Welcome To SkyDragon, The Original Sense 7 Rom

SkyDragon Official Blog

*First Lollipop M8 Sense 7 Port Rom

*First Lollopop M8 Official Rom

*First Marshmallow M8 Official Rom with custom kernel

*GSM/CDMA support

*AT&T

*T-Mobile

*Verizon

*Sprint

SkyDragon M8 v1.6.0 Marshmallow

[YOUTUBE]EjP30QSIFak[/YOUTUBE]

Enjoy!

dragonesdenano

GEEKBENCH 3 Score

Actual Version: SkyDragon M8 v1.6.5 MM GSM/CDMA ALL/T-Mobile US/Verizon/Sprint

Sense Version: Sense 7

Android Version: 6.0

If you like OUR work and Dedication don t forget to press Thanks, and Give Us a Five Star Rating!!!!

Donations are not expected, and all will have the same kind of love here, there is no such thing as noob or silly questions, just be yourself!!!

XDA:DevDB Information

SkyDragon Sense 7 Official Marshmallow Rom, ROM for the Sprint HTC One (M8)

Contributors

dragonesdenano, xXminiWHOOPERxX, HolyAngel

Source Code: https://github.com/holyangel?tab=repositories

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

Version Information

Status: Stable

Current Stable Version: SkyDragon M8 v 1.6.5

Stable Release Date: 2015-12-27

Created 2015-12-27

Last Updated 2015-12-30
[Sprint HTC One (M8)] dragonesdenano:
SkyDragon M8 v 1.6.5 Brightstar-WWE Sense 7 *SPRINT

27th-Dec-2015

ROMS

------------------------------------------------

SkyDragon-M8_&_DesireEYE-1.6.5 [Latest And Greatest]

27/12/2015

SkyDragon-M8_&_DesireEYE-1.6.5. ( Sprint fixed touch in aroma installer )

credit to: captain_throwback for files and long.nguyen for repacking rom.zip ^^

SPRINT_stuff(flash in recovery after u flash the rom)

SkyDragon-M8_&_DesireEYE-1.6.5 AFH LINK

Sprint gsm sim card: set network mode from automatic to GSM/UMTS and restart!

SkyDragon-M8_&_DesireEYE-1.6.5 GDRIVE LINK

SkyDragon-M8_&_DesireEYE-1.6.5 MEGA LINK
[Sprint HTC One (M8)] dragonesdenano:
SkyDragon M8 V1.6.5 Brightstar WWE Sense 7 Marshmallow

-

Added Sprint Support

- Removed Xtended Settings

- Removed Center Clock and Ambient display for now, will be back !

- Deodexed, easier for modding!

- Cleaned up installation.

- Added Advanced Power Menu & Back 2 Kill v2 To Aroma

- Added HTC Power Manager Mod To Aroma