yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] floppes:
Yes you are right, the output text will be exactly as long as the input file. As the input file is compressed, the output is cut off.

I've fixed this in the new version (JAR file in the attachments):

package de.floppes.sms_restore;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.zip.InflaterInputStream;

public class SmsRestore
{
public static void main(String[] args)
{
if (args.length != 1)
{
System.out.println("SMS Backup extractor 0.2");
System.out.println("");
System.out.println("Usage: sms_restore <input_file>");

return;
}

File file = new File(args[0]);

if (!file.exists())
{
System.out.println(args[0] + " not found!");
return;
}

try
{
FileInputStream fileInputStream = new FileInputStream(file);
InputStreamReader fileReader = new InputStreamReader(new InflaterInputStream(fileInputStream));
BufferedReader reader = new BufferedReader(fileReader);
StringBuffer sb = new StringBuffer();
String str;

while ((str = reader.readLine()) != null)
{
sb.append(str);
}

System.out.print(sb.toString());

reader.close();
fileReader.close();
fileInputStream.close();
}
catch (Exception e)
{
System.out.println("Error reading file!");
e.printStackTrace();
}
}
}
[Android Q&A, Help & Troubleshooting] guestuyiy8kh:
how to output to text file

Im sorry i see the messages in terminal but how do you output it to a text file?
[Android Q&A, Help & Troubleshooting] floppes:
Just redirect the output to a file with ">":

java -jar sms_restore.jar 000000_sms_backup > output.txt
[Android Q&A, Help & Troubleshooting] 24farkas:
Hello. I tested this code but the SMS output cut off. Try this code in python3. 000000_sms_backup is compressed and it is necessary use a zlib library to decompress. Copy this code in a .py file. Then execute python3 [file_name.py]. Attention: 000000_sms_backup has to be at the same path as the script. Finally the script create a json file with the SMS.

import zlib

fileName = "000000_sms_backup"

with open(fileName, "rb") as file:
compressedData = file.read()

uncompressedData = zlib.decompress(compressedData)

with open("sms_backup.json", "wb") as file:
file.write(uncompressedData)
[Firefox OS General] PR0PHESSOR:
Need help installing installing Firefox OS on Lenovo a2010.

Searched on the Internet but didn't find
[Firefox OS General] Agen wisata karimunjawa:
same question for lenovo z5 pro (non GT). i hope some one can give tutorial.
[MTCB Android Head Units Q&A] Marshatherton:
Hello, If this is in the wrong place I apologize.

I bought this Chinese POS head unit, with what it tells me is running 5.1.

Its slow a crap.

how can I root it?

here is the information

MCU version：

MTCD_KGL_V1.87_4

Sep 7 2016 15:00:46

Android version：

5.1.1

Kernel version：

3.0.101+

chun@hctr930 #90

Fri Sep 9 16:24:49 CST 2016

Build number：

rk3188-userdebug 13092016.14:45:04

what are my options.

thanks.
[MTCB Android Head Units Q&A] vassoo:
you know where I can download android because android crash on my car stereo Erisin ES2742T pls

T
[Huawei P9 Lite Questions & Answers] slaughta8868:
Good day after many successful attempts of updating to nougat and my only problem was the failing of my camera I decided to update to B210.

So far it's very snappy and responsive.

Not much noticeable changes but i must say I am delightfully please.

Anyone one else who's willing to try it let me know what are your views please.View attachment 4108926View attachment 4108927
[Huawei P9 Lite Questions & Answers] Midosiwar:
Me too i'm on it but i'm facing terrible battery drain because i came from c185 thus changing region.
[Huawei P9 Lite Questions & Answers] slaughta8868:
My battery life is a bit better
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] domrocks1337:
So, my Note 4 has been rooted for about half a year. Everything went fine, I have customized my phone with fonts and root tools. But today, all I did was change my font back to the original one that I used to have, and after I restarted for the effect to work, it would show the Note 4 logo and vibrate, and then show a black screen and vibrate again. How can I fix this? :confused: :(
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] Bluetige:
You soft bricked your phone its a simple fix. If you had a previous back up it should turn the phone right back on. You can also try wiping the device and flashing the rom you are on again assuming you are on a custom rom. If all else fails you will have to restore the phone back to its original state either using odin or using samsung kies.
[ZTE Axon 7 Questions & Answers] j77moduss:
Hello , lately I am trying to go from B09 to nugart.

No matter what zip I use I always get an installation error code 7.

Any clue how to solve it? Thanks
[ZTE Axon 7 Questions & Answers] tuiyaan:
No why this error

I tried for b08 to nougat via twrp it worked
[Mate 8 Q&A, Help & Troubleshooting] Apad121:
Hi there

I am NXT-L29C636B193.

I have rooted or unlocked bootloader.

I have grown impatient with waiting now... I'm almost convinced Huawei won't update my device... It is still on June Patch...

I am in the UK, maybe why there has been no update...

How can I use Firmware Finder or other software to safely upgrade to Nougat without rooting? As I want to be able to use Android Pay in the future...

Firmware finder has been updated so it isn't as clear as before... Some of the updates displayed now say Full OTA but they used to say just OTA...?

Please help!

All advice is appreciated :laugh:
[Mate 8 Q&A, Help & Troubleshooting] Apad121:
Some of the updates shown on Firmware Finder has changed...

Notice the two screenshot, some used to say OTA but have changed to say Full OTA?
[LeEco Le Max 2 Questions & Answers] LxMxFxD:
All,

Last night my Le Max Pro x910 showed a blue LED light, and would not respond. I held power for 10 seconds and it appeared to shut down (the blue light turned off). However, now it does nothing.

It does not charge or show an LED when plugged into the factory charger.

I tried holding power and volume up for 5 seconds but it did not boot.

Even though I have a le max pro, is there a particular way with LeEco to boot to recovery or hard reset the phone?

Thanks!
[LeEco Le Max 2 Questions & Answers] BananowyPotwor:
Have you tried press Volume Down + Power for booting into fastboot mode?
[LeEco Le Max 2 Questions & Answers] LxMxFxD:
Yes no luck. I googled and it appears that it is hardbricked. Because when plugged into my windows computer it shows "Qualcomm 9008". :( How this randomly occurred is odd and sad. :(
[LeEco Le Max 2 Questions & Answers] A.N.Droid:
easy fix.

use that guide:

https://www.gizmochina.com/2016/11/20/leeco-x820-max-2-super-unbrick-guide/

if you get the split screen issue, dont panic, just flash bootloader from stock rom. dont take it from 16s.

you'll see...

Gesendet von meinem LEX820 mit Tapatalk
[LeEco Le Max 2 Questions & Answers] LxMxFxD:
I'd like to give this a try but sadly, all the download links in the article are broken :(
[LeEco Le Max 2 Questions & Answers] leptdre:
You can try this

https://mega.nz/#F!0gwgxbxD!-iud2O-6uZ0F3Geofz-NyA

I found it here : https://xdaforums.com/le-max-2/how-to/guide-hard-brick-fix-qualcomm-hs-usb-t3492949
[LeEco Le Max 2 Questions & Answers] LxMxFxD:
It turns out that holding the power + vol for TWO Minutes as per the article got the phone to a dead battery flashing LED. I charged it and it came back to life. WHo knew i'd have to hold power for TWO minutes. Strange LeEco devices.

Glad its back but downloaded the files and saved the guide for if this happens again.
[LeEco Le Max 2 Questions & Answers] leptdre:
I hope it won't happen again, i think it would be simple to just open the phone and disconnect the battery physically. But oops :p you have to break the screen :crying::crying::crying::crying::crying:

Just keep those files safe. it would be nice if you can mirror them to Mediafire
[LeEco Le Max 2 Questions & Answers] voltes55655:
I had this problem, but I managed to get into fastboot by holding power button + vol down while plugged in to PC.. Then I flashed EUI rom using TWRP. The problem, after flashing the ROM, when I try to restart into System, the screen went black only, and LED light blinking... Thankfully I went out and forgot my device is still plugged in to the PC, and behold, it turned ON by itself.. If you have the blinking LED problem after flashing clean EUI rom, try to plug it in your PC and let it charge there for an hour. :) (When it starts to boot in the EUI, plugged it on your wall charger for about 30 mins)
[One (M9) Q&A, Help & Troubleshooting] thechron1c056:
Model is M9w, soft bricked it accidentally by relocking and trying to install a ruu and it wasnt supported.The RUU program file worked fine when copying other stuff but when flashing rom showed an error that the device was not supported.The setup froze and i had to execute the program again so it could send it into bootloader so i could restart the device.TWRP is installed.Tried all the other ruus and redownloaded the T_Mobile one.ADB isnt working S-OFF and model is himaul.

Any help is appreciated.
[One (M9) Q&A, Help & Troubleshooting] shivadow:
AndroidFileHost or androidruu are the only ones i know of outside of htc..

There's a thread somewhere with lots of ruu's too but I'll be buggered if I know where it is..

Beamed in by telepathy.
[Galaxy Note 4 Q&A, Help & Troubleshooting] Dirtylarry11:
Hey all, just recently my Note 4 started bootlooping..I couldnt figure it out so I went to restore a backup from TWRP. During restore the phone locks up at random times (sometimes immediately..sometimes at 20 percent done..sometimes 6% done...but wont continue to restore, the phone just reboots and goes into boot loop.

I wiped the data/Factory reset 3 times...tried to do a complete reinstall...same thing..bootloops or lockups...

So then I wiped and flashed the PIT file...same thing...

Also I noticed that when I turn the phone off and then plug into the wall to charge....the charging battery indicator never moves while charging...in fact it just shows an "Empty" battery...but when I power it on and go into TWRP it will show whatever percentage of charge th battery has left. I remember this being green in color as it charges...mine never gets green..

Any ideas what could be causing this? Maybe the battery bad or something? I even tried reflashing the firmware (DOK2) and (EPG2)...but the phone freezes every time before it can complete....2 weeks ago everything was fine ( other than the battery charge issue was still there ( no green"Filling" of charge.

Help?!?!? Thanks a bunch
[Samsung Galaxy Core Prime Guides, News, & Discussi] razu031:
The main Post is => https://xdaforums.com/android/apps-games/app-universal-mass-storage-enabler-beta-t3240097

Use this app and click on 'ENABLE USB MASS STORAGE'.
[Samsung Galaxy Core Prime Guides, News, & Discussi] razu031:
The main Post is => https://xdaforums.com/and...-beta-t3240097

Use this app and click on 'ENABLE USB MASS STORAGE'.
[Samsung Galaxy S8+ Accessories] Kil4Thril:
I need some of those tpu/silicone ones where you get 10 for 5 bucks or the like. I'm an ink tech, so you can imagine what my cases end up looking like after a very short time. Has anyone seen these offered anywhere yet?
[Samsung Galaxy S8+ Accessories] sanjsrik:
1. You get what you pay for

2. What's an ink tech that we're supposed to know what the cases end up looking like after a short time?
[Samsung Galaxy S8+ Accessories] Kil4Thril:
I work with ink. I know I get what I pay for, that's the idea. These are essentially disposable
[Samsung Galaxy S8+ Accessories] Femmetechstic:
Have you tried AliExpress? I can't think of anywhere that would have cases that cheap that isn't wholesale tbh.
[Samsung Galaxy S8+ Accessories] faded03cobra:
Bear Motion makes a solid case for cheap.
[Samsung Galaxy S8+ Accessories] sanjsrik:
For $1.99 you could order a few:

https://www.amazon.com/Matone-Full-body-Protective-Shockproof-Samsung/dp/B06XWQZGSK/ref=sr_1_1
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] pyrocide:
As the title says I have the most up-to-date s4 with a locked bootloader and as such I can't install twrp or any custom recovery. Is there any way to get Android 6 on the device?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] audit13:
Unfortunately, a locked bootloader means no android mm.
[LG G6 Questions and Answers] dainteg:
Has anyone seen this before? Wondering why there are gaps. I haven't seen this before on any of my android phone phones. The phone wasn't rebooting or turned off.
[LG G6 Questions and Answers] Jeremiah Bonds:
Yeah that's weird.. I've never seen that before.
[Galaxy Note 3 Q&A, Help & Troubleshooting] Lamerlengo:
On my SGN3, totally out of nowhere, when I set an image from the gallery to the lockscreen, whichever its resolution is, the image get stretched and out of focus.

IDK if this is a common question, but I searched on google and within xda and I found nothing.

Does someone has a solution for this? Thank you very much
[Samsung Galaxy Mega] DesertDreamADF:
A while ago I found a Galaxy Mega in the trash when I was out with family and took it home. Upon further inspection I found that the inside panels of the touchscreen were broken and nothing was visible.

Forward to the end of last month and I finally got a replacement screen for it in the mail and gave the phone and the replacement screen to a friend of mine that works in fixing phones and such.

When he replaced the screen, he told me that the touch inputs worked fine, however, after I told him to factory reset it since I didn't want to go through the previous' owners information and the data was wiped, the screen didn't respond at all to touch. We have tried soft reset, updating and what not [with the help of a smartphone mouse] and we really don't know what to do since I can't get a refund for the screen -_-

Any help with this would be appreciated.
[Samsung Galaxy Mega] ZyberShock:
Have you tried Flashing the stock ROM?
[Tilt, TyTN II, MDA Vario III General] aroxas:
i have a quick question:

i recently installed the htc home 6 button screen, and the htc home customizer

on the program launcher window there originally was an icon that takes me to the comm manager/wireless manager but i removed in an effort to re-arrange the buttons. but now i cant find it in the list of apps to add.

would it be possible for someone to direct me on how to get it back? thanks.

using the att stock rom
[Tilt, TyTN II, MDA Vario III General] Tec1106:
When you remove an icon from the launcher, there should be an empty space with a circle with a cross in it. Pressing that, should bring up thelist of apps you're talking about. On my device, it is just a few scrolling lines down.

Have you tried just typing "Comm Manager" in the top bar and press select?
[Tilt, TyTN II, MDA Vario III General] aroxas:
unfortunately no luck on the typing in and hitting select. it just goes to the closest match in my case "contacts"
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
It was originally one of the first six or so items in the selection menu, if its not there i dont know where it would be.
[Tilt, TyTN II, MDA Vario III General] 6thElement:
I want the same thing, to add the Comm Manager to one of the launcher buttons, rather than trying to tap the connection icon at the top of the screen.
[Tilt, TyTN II, MDA Vario III General] tvos:
i use pocket toolman 2 which places a icon in the system tray with a host of other icons you can select. its quick, easy, and free... good app

tvos
[Tilt, TyTN II, MDA Vario III General] TimeSaver:
I am not 100% sure which one but either Schaps advanced config or KaiserTweak one of those two things have option to enable wireless thingy on today screen. It shows your current wifi and bluetooth connections and clicking takes you to connection manager. I would first try KaiserTweak.
[Tilt, TyTN II, MDA Vario III General] 6thElement:
Worked out how to do it earlier.

Browse to the windows folder and make sure you've got all files visible.

Look for the executable CommManager.exe, right click on it, select copy.

Browse to windows\Start Menu\Programs\Tools right click, select paste shortcut.

Right click and rename the new short cut from, "Shortcut to CommManager.exe" to CommManager

Then it will be visible in the list of applications you can add to your shortcut buttons on the HTC homescreen. You can use the same method for any other applications you want on the launcher if they're not available automatically.

(I pasted the shortcut where I thought it most appropriate on the start menu).
[Tilt, TyTN II, MDA Vario III General] aroxas:
thanks 6thElement. that shortcut worked.

thanks TimeSaver. i used KaiserTweak to enable wireless on the today screen initially.
[Tilt, TyTN II, MDA Vario III General] juliank:
This trick did not work for me. I have the Dutty WM6.1 Diamond ROM.

I need to put the Connection Manager on the Today screen, so that it can show me what am I connected to, but it does not show up in the Today item list.

I created a Registry key for iy in HKLM\Softwate\Microsoft\Today\Items and it showed up in the list, but still does not work, brobably because I am linking to the wrong DLL.

May someone, who has the CommManaget on their Today screen see what are the correct Registry entries in HKLM\Softwate\Microsoft\Today\Items for the Comm Manager and post here?
[Tilt, TyTN II, MDA Vario III General] juliank:
never mind my previous post - I found that what I was looking for was called "wireless" and can be added through the Kaiser tweak....
[OnePlus 3 Guides, News, & Discussion] XDRdaniel:
Why? To be able to unlock with gloves, without gloves, by swiping, by fingerprint, etc.

Steps:

1. Add an unlocking method, eg. PIN, PATTERN, PASSWORD

2.Assign your fingerprints

3. Reboot to twrp, go to advanced, file manager and then navigate to 'data/system'

4. From there delete the following files:

locks strings.db-wal

locksettings.db-shm

locksettings.db

gatekeeper.pattern.key

gatekeeper.password.key

5. Reboot

Now you should be able to unlock your phone without any pin, pattern or password, but still be able to use fingerprint.

I know it might sound useless to some, but...
[OnePlus 3 Guides, News, & Discussion] HampTheToker:
So basically, this wipes out the requirement for pin/pattern/password on boot...
[OnePlus 3 Guides, News, & Discussion] XDRdaniel:
Yes. Sometimes i feel too lazy even to swype the screen, and I want to unlock just by a simple touch.
[OnePlus 3 Guides, News, & Discussion] gregferns:
Hi,

If we delete all those files, what happens after the phone is restarted?

Normally, after a restart, the phone insists on a pattern even if you have

a fingerprint. SO first time you have to use the pattern and then only

fingerprint.

So if i delete these lines then how will this work ??

regards

Greg
[OnePlus 3 Guides, News, & Discussion] XDRdaniel:
If You delete those files, after reboot you will be able to unlock ether by fingerprint or swipe. No pin/pattern, nothing.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
You just have to delete locksettings.db........
[OnePlus 3 Guides, News, & Discussion] Midhun3!:
I have accidentally deleted "Gatekeeperd ". Nd associated pattern , pin , lockscreen dp ,shm, Wal . Now , I wanted restore pattern nd pin , Can u help me sir ? I'm on Invicta latest update on Moto g4plus .
[OnePlus 3 Guides, News, & Discussion] tech927:
file descriptions

Hello,

Thank you for this information. I've got fingerprint set up on my phone but do not like having to enter my backup pin on first reboot. I obviously can use the fingerprint from that point on. From the original post:

"

4. From there delete the following files:

locks strings.db-wal

locksettings.db-shm

locksettings.db

gatekeeper.pattern.key

gatekeeper.password.key

"

can someone explain each of these files and their functions? Also, unrelated, is there a page where one can learn about these types of configurable files?

Thanks.

Dave.
[OnePlus 3 Guides, News, & Discussion] HampTheToker:
Wish I would have replied sooner, but this module is definitely one of my favorite. Great work.
[OnePlus 3 Guides, News, & Discussion] tech927:
pin now not required

Hello,

I performed the actions in the original posting. The fingerprint now does work on initial boot. The problem I'm having is if I lock the screen again before rebooting, a simple press of the unlock button gets it open, i'm not prompted for the fingerprint or pin, it's like the phone is open after the initial fingerprint unlock.

Thanks.

Dave.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
You only have to delete locksettings.db lol
[OnePlus 3 Guides, News, & Discussion] codenation:
In Android Pie it hangs on starting phone when it loads if with this method....
[OnePlus 3 Guides, News, & Discussion] ajash:
What Happened when reboot the device?

Cos Every reboot device ask pattern First Then Fingerprint.....
[BlackBerry Priv] zerocover:
Hello all,

Attached are modified factory roms that will flash an at&t or t-mobile phone to an unlocked phone. This means no more bloatware and in my case much better handoff between the lte bands.

These images reuse the carrier bootloader (I'm working on it) but everything else from the radio to the rom is from the unlocked priv.

Version: AAJ919

AT&T -> unlocked hybrid: https://www.androidfilehost.com/?fid=673368273298947044

T-Mobile -> unlocked hybrid: https://www.androidfilehost.com/?fid=457095661767153589

Directions: Unzip files. Hold power and volume down until phone reboots to fastboot. Launch flashall.bat. Follow instructions. This WILL delete your data so have a backup or don't I'm your boss. Wait. Done.

As usual I am not responsible for you bricking your phone. That being said even if the wrong file is flashed the phone gets stuck at the fastboot screen where you can flash the right file.

-Happy Modding
[BlackBerry Priv] air bear:
Can you provide more detailed instructions please
[BlackBerry Priv] zerocover:
Im serious thats all there is to it.

What parts are you having problems with?
[BlackBerry Priv] illitero:
Didn't work for me, unfortunately. Phone promptly asked for SIM Pin.
[BlackBerry Priv] ozzmanj1:
Just out of curiosity, will this be possible to do on a Verizon model? Obviously not flashing the ones above but making a VZ version?
[BlackBerry Priv] zerocover:
This does not unlock your phone, this is an unlocked rom with no carrier bloatware.

You must already have an unlocked phone. If your phone is paid off call your carrier and ask for the pin.
[BlackBerry Priv] zerocover:
That one wont. This one might.

Disclaimer I dont have a vzw phone so can't test it, but pretty much I'm making the same modification I made to the others. It should work.

If you could give it a go and let me know.

If it doesn't work this file will get you back to where you should be
[BlackBerry Priv] ozzmanj1:
I haven't bought a priv yet. But i came across a killer deal for a VZ model that's I'd be using on tmo. I'm going to be snagging it. But will test for sure and let you know. I am just trying to read up on the phone before ordering it on how to get rid of bloat and whatnot without root. Thank you very much for making the file.
[BlackBerry Priv] illitero:
Haha, duh. I'm sorry. Very distracted, late night for me when I found this thread. plz4giv
[BlackBerry Priv] dakota_96:
I tried it and it worked. However, once it boots it will install a software update which takes you back to the bloated VZW version. Perhaps there's a way to block that update?
[BlackBerry Priv] zerocover:
Totally possible. If we had root just modify the host file and set the verizon server update ip to localhost. You should be able to install DNS66 and do something similar. This will take digging on your end to figure out what the update IP is though.
[BlackBerry Priv] lanyao1920:
I have an ATT Priv, so if I flash this I'll get next time OTA from BlackBerry instead of ATT? Saw the one above with the Verizon update and went back to bloated version.
[BlackBerry Priv] illitero:
Reporting back in to verify that it worked flawlessly on both at&t and t-mobile variants I have. Now if only we could get root lol

Thank you so much for your effort :)