yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Eshkin-Kat:
Xiaomi Redmi Note 2, MIUI 7, Android 5. Doesn't launch.
[Android Apps and Games] Ninnix96:
thanks my dear for the zip,

i have prepared a beta, i cant test it, another help I ask to you, can excract the folder snap in sistem/app/snap all not only the apk! thanks for libs ;)

sorry i now work for resolve it
[Android Apps and Games] smartymcfly:
There is only an snap.apk -

https://mega.nz/#!hlVEmQhA!8Lu7VlsjxI9eFcjB4HI9lc00f_gTpS31A5U4zvYzjJ4

In case I missed anything I zipped up everything in lib, lib64, and snap.apk

https://mega.nz/#!9p8RAAiQ!8bLDiRwCFc6zu5hewBW_sOaPoc5y6XkZKzsn4jof9Is

Is there any other files in /vendor/lib or /vendor/lib64 as there are some files that look like they are for camera, libmmcamera2_q3a_core.so, libmmcamera2_stats_algorithm.so, and libmmcamera2_sensor_debug.so

How about /system/framework there is com.google.camera.experimental2015.jar
[Android Apps and Games] Ninnix96:
thanks for all, i think have all material to built a new version for 64 bit chipset, I just have to get to work ;)
[Android Apps and Games] switchgott:
Hi,

any idea how to get it work on lg stock rom?
[Android Apps and Games] Assunta_Maggio74:
Doesn't work of sony z5 marshmallow 6.0.1
[Android Apps and Games] genius2k:
Great job buddy! But it doesn't work on Nexus5 with PureNexus 0726 release. The app crashes during launch. Waiting for your next release:)
[Android Apps and Games] crullick:
i know you are busy bee with gello, but i really miss snap camera in my latest DU :o

p.s. this is not eta :angel:
[Android Apps and Games] Ninnix96:
thanks dear, i not have lose this project, news version are very soon!
[Android Apps and Games] GrandPrime17:
The first one without libs worked great because i can turn off zero shutter lag, can you fix that in v2? Hehehe, i dont see the "HDR" feature in the pic, and i know this camera only benefits SD800+ anyway to make it work for SD400+ appreciate it hehehe
[Android Apps and Games] Steve1207:
I tried a lot camera apps, but always missing the burst mode when use the volume buttons. In this version is available? Or if it's not a big modification I could change some lines in the apk, if anyone help, but dosn't mod apks 2-3 years ago :) Thanks!
[Android Apps and Games] kiodo1981:
Works on i9100 with CM13?
[Android Apps and Games] iron86:
Try it View attachment signed_Snap.apk

Install as normal apk.
[Android Apps and Games] iwantz:
Not working on lg e975 running nitrogen os 6.0.1 :(
[Android Apps and Games] bruno2676:
Vibe k5 plus not recording videos, the app closes.
[Android Apps and Games] iron86:
Update

Snapdragon Camera compiled 21.08.2016

View attachment CM13-Snapdragon-Camera-compiled-21.08.2016.apk
[Android Apps and Games] leaffan99:
doesnt work nexus 6p pure nexus; force close right away
[Android Apps and Games] adriansticoid:
Thanks to this man. Worked fine in taking photos, but I can't record videos. It closes. Not FC. Just closes on its own.
[Android Apps and Games] iron86:
let to the app all permissions and then run it again.

first-time crash it cm bug and it will be fixed in the next build

---------- Post added at 10:13 AM ---------- Previous post was at 10:11 AM ----------

the app is not perfect, as far as possible I will try to optimize it.
[Android Apps and Games] iron86:
new build with fix screen frezee after take a pfoto, on some devices

View attachment CM13-Snapdragon-Camera-compiled-21.08.2016.apk
[Android Apps and Games] Ninnix96:
If you want help me with my work you first must say me it.you have only excract new version from cm built? If have do mpdification. You can send me a code rewiew in your version I can correct it, I in next day came out from vacantion and return to work to snapcamera, gello mod and divergenmod project!
[Android Apps and Games] MinaSobhy:
Works fine in Samsung Galaxy Note 3 Neo :)
[Android Apps and Games] iron86:
Hi!

Thanks for your port!

Firstly, I apologize for invading in your thread with my modification. :)

Yes, i have excract new version from cm built and make some changes in bools.xml, then cimpiled the apk with libs inside.

I'm not a programmer so no code modification. :(
[Android Apps and Games] leaffan99:
I did that and still doesn't work
[Android Apps and Games] Ninnix96:
I am happy if you are interested to version, the next my built there are very good. I want to port the app at 100%
[Android Apps and Games] AndresF1406:
I have FC when i try to open

https://1drv.ms/t/s!AtqP5xAWB1khjE4jctWgTWz5gNnC
[Android Apps and Games] AdrianDR94:
Hi [MENTION=6002018]Ninnix96[/MENTION] could you please support android N in this app? also Im using gello mod on aosp 7.0 and works like a charm, but this mod of snap camera isn't working.

thanks for your attention
[Android Apps and Games] Ninnix96:
This week i not have university, i can restart to work to it, and publish gello mod on play store
[Android Apps and Games] Ninnix96:
as I promised after the arrival of gello mod on play store ---> LINK

new version of last snap camera for all devices! :D

SNAPCAMERA V3 + ARM & ARM64 LIBS

LINK

I can't test it on arm64, I wait your feed!
[Android Apps and Games] Black_Eyes:
Didn't work on Htc 10 (Arm64)
[Android Apps and Games] Ninnix96:
Thanks can attach a logcat? For help me?
[Android Apps and Games] Kocess:
FC on my Grand 2 running cm12.1
[Android Apps and Games] Zehlek:
FC on Redmi Note 3 Qualcomm with MIUI 8 6.0
[Android Apps and Games] eradicator006:
Crashes on G3 running AOSP 7. Every version of snapdragon camera I have tried does this so it's probably just not compatible with 7 yet. Anyway, here is the relevant part of logcat. It may be of some use.

--------- beginning of crash
[ 10-01 19:23:39.402 31720:31720 E/AndroidRuntime ]
FATAL EXCEPTION: main
Process: org.cyanogenmod.snap, PID: 31720
java.lang.NoSuchMethodError: No virtual method clearPrivateFlags(I)V in class Landroid/view/Window; or its super classes (declaration of 'android.view.Window' appears in /system/framework/framework.jar:classes2.dex)
at com.android.camera.CameraActivity.initPowerShutter(CameraActivity.java:1927)
at com.android.camera.PhotoModule.init(PhotoModule.java:563)
at com.android.camera.CameraActivity.setModuleFromIndex(CameraActivity.java:2064)
at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1535)
at android.app.Activity.performCreate(Activity.java:6664)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2636)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2744)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1493)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6137)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
[Android Apps and Games] AdrianDR94:
Hi, thanks for new version.

FC in new and older versions. Xperia M - AOSP 7.

Here is the log.
[Android Apps and Games] Ninnix96:
Thanks to all for your log! I restart to work for v4
[Android Apps and Games] Steve1207:
Could you add a burst function (or option in the menu) for using the volume buttons with long press? It's cool if the vol buttons will work like the "touch shutter button" and I think it's a minimal modification :) Thanks!
[Android Apps and Games] iwantz:
Force closed on lg e975 running Android 7.0 aosp

I have not found a single snap camera that works on AOSP :(

Thanks anyway
[Android Apps and Games] sas46:
Not working on moto x force :(
[Android Apps and Games] Assunta_Maggio74:
Crashes right away on Sony z5
[Android Apps and Games] lightninbug:
Not working HTC 10 :(
[Android Apps and Games] Steve1207:
Thanks guys, but stay patient, the last V3 dosn't working on arm64 devices as we read previously (or I don't know what devices working). But don't need 3-4 page "not working" reply.
[Android Apps and Games] minhas729:
Didn't even work on LGG3 Android N AOSP (ARM). Does not even open
[Android Apps and Games] goodybags:
Installed it on my cherry g1 (android 1 2nd gen) currently using a cm 14.1 rom. Everytime i try to use the HFR option on 720p it says video size is not supported and to select a lower video size. The problem is when i use the smaller res videos the HFR doesnt get enabled at all.

Is this normal?
[Android Apps and Games] sargam44:
I haven't rooted my Moto G3 . So any one can give me installable apk . not flashable.
[Android Apps and Games] b13n:
Working on Galaxy S3 i9300 on CRdroid 7.1 unofficial.
[Android Apps and Games] sir-harlekin:
Is it possible to take a batch of photos with one press of the shutter button?
[Android Apps and Games] kouad:
Good job,

La caméra fonctionne très bien avec un oneplus one , THANKS.
[Android Apps and Games] TheGamer69:
Please work for v4

I Need this app on arm 64
[Android Apps and Games] Ninnix96:
I relese the v4 in this month!
[Android Apps and Games] TheGamer69:
WooooW

That was great. You are the best modder?
[Android Apps and Games] aggere1:
:excited: thank you!
[Android Apps and Games] vinoth0t:
why the manual focus not working ..

manual focus not working .. i enabled camera 2api ,,,
[Android Apps and Games] TheGamer69:
Any news??
[Android Apps and Games] iHack13:
Hi,

I have an arm64 device. V3 works for me so far.

I had snap 2.x preinstalled (xiaobai LineageOS 14.1 on Xiaomi Mi5S).
[Android Apps and Games] Ninnix96:
thanks for feed in next day I publish a v4
[Android Apps and Games] iHack13:
Thanks. I just noticed that my version still says 2.0.002 .

But I can tell that installing your apk has made changes. Before I was not able to see recording time when recording video. Video recording crashes at 30 seconds. But that happened with the ROMs Snap Camera too. So it is a rom issue or something.

If you need some logs, tell me how.

Btw I have full camera 2 api support according to manual camera app in playstore.
[Android Apps and Games] TheGamer69:
Ninnix96 ???

Where are you?
[Android Apps and Games] TheGamer69:
What are few days.

2....3.....4..... Days, maybe 5????

Today we have the 11th March

Thanking

It's the same in the pyrope thread
[Android Apps and Games] lynxeon:
[MENTION=6002018]Ninnix96[/MENTION] Hi, I am using an Xperia Z3 with Lineage OS 14.1 with your app. I realised that in my device I cannot make 4k videos, it is possible to you can enable or it is an issue of the OS? In Stock ROM 4K videos & Timeshift are only available with plugins of the Stock Camera that you can download if you need the libraries here https://xdaforums.com/crossdevice-dev/sony-themes-apps/lollipop-ported-4k-timeshift-video-t3084488 In the case of you can fix it.
[Android Apps and Games] rcrd17:
Any development on this?
[Android Apps and Games] Outlaw Dragon:
Is this ever going to continue? The base app is great, maybe another developer?

[update]:

Just downloaded and tried this proclaimed V3 snap camera.

Apparently the app which is named after version 3 is just a V2 snap app.

Tested on i9505
[Xposed General] GioKupreishvili:
Hello All, I Am Looking For Xposed Module Which Shows Arrived Notification In Lockscreen Transparency Or Tinted?

And Is There Any Module To Disable Quick Panel While Talking?
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] Binary100100:
I don't want to get anyone's hopes up here.

I spent a few hours of downtime online searching for progress updates and found this Qualcomm.zip file.

Inside, was a qpsa.zip file. Within that are a couple of security certificates. Just for the heck of it I installed them.

Here are some pictures to better explain what I'm talking about.

Any ideas if these will be helpful in any way?

EDIT: Doesn't appear to be anything special. Deleted attachments and reporting thread for deletion/closing.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] goofwear:
Thank you, where ever you found that , you should poke around some more :)

---------- Post added at 06:28 PM ---------- Previous post was at 06:08 PM ----------

@Binary100100 I mentioned your post here on the boot loader bounty page http://xdaforums.com/tmobile-s7-edge/how-to/bounty-topic-thread-unlocked-bootloader-t3359613/page2
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] Binary100100:
Not sure if we can use them for an exploit or not. I'm not advanced enough to even know what I'm even looking at.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] stormonya:
How did you install them?
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] tengtengvn:
Probably just Qualcomm self-signed certificate.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] krad42:
Still need private key to decrypt it to make it useful
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] Fenny:
Were those just public keys? Looks like the root cert in a certificate chain, these are usually public keys used to authenticate that data or code is signed by a specific vendor.

For example you would install the root cert on a machine when you are self signing application code, and you want that machine to be able to validate that the application was signed with your keys, and mark applications signed with your keys as trusted on that machine.

*EDIT*

Hmm, I see that the private keys appear to be sitting there in your filesystem. Can you generate a code signing certificate against that CA? Should be able to do it with the OpenSSL suite.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] Binary100100:
I don't have any ideas to what these are but they don't seem widely known. I'm hoping that someone clever might be able to make something of it.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] viking2.0:
I am not sure about it but how does gaining private key of Qualcomm get you root access to android os
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] Binary100100:
No idea. Like I had said, I don't even know what any of this is. Do you? What are these files used for? Who (general public) would have a need for these files and why? Where would you acquire these for such a purpose?
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] 123421342:
Why dont you look up the basics of pki that will answer your question
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] Binary100100:
Fair enough then. I appears that it's useless. I'll remove the attachments and report this thread for closing.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] goofwear:
Are you sure you want to remove it , it may be of some use with the private keys, what about to code in there about the boot loader?
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] v8dreaming:
http://mobile.developer.com/ws/android/encrypting-with-android-cryptography-api.html

---------- Post added at 08:57 PM ---------- Previous post was at 08:55 PM ----------

This is a PDF

https://www.google.com/url?sa=t&sou...qjqY8SSv5f0m34s7w&sig2=dmtMKgBDZQW8CgH4dPBcIw

---------- Post added at 09:00 PM ---------- Previous post was at 08:57 PM ----------

http://developer.android.com/reference/java/security/PublicKey.html
[G4 Q&A, Help & Troubleshooting] frantek:
Hi,

I want to extract a single file from a "lbf" file created by LG Backup on a G4. The file has to be in there as the app using it works on my G5. ADB backups (or Helium) do not work as the app can not be backed up this way. Rooting is no option for me. I've found nothing any where. Can some one help?

TIA
[G4 Q&A, Help & Troubleshooting] ZakShk:
I have the same issue

My LG G4 Crashed.... and had to sent it to the Service Center for Repair.

Now i dont a month old backup take by LG Bridge software and the file is with extension ".lbf".

How can i extract data from the .lbf file and load it to Samsung Mobile.

Please help.... i hv lost all my contacts and others details..

Many Thanks.

Zaks
[G4 Q&A, Help & Troubleshooting] Hoggmeiser:
Reading and .LBF

A friend of mine's phone died (an LG G4) and all he had to go off of was an .LBF file.

I was able to pull the photos, contact, text messages, and voicemail out of the file using a Hex Editor (HxD). I can go over the process if you are still interested,
[G4 Q&A, Help & Troubleshooting] bountyman334:
please...pm me if could ...i really need to know this...Thanks in advance
[G4 Q&A, Help & Troubleshooting] Shaggy214:
I am intersted. Thanks
[G4 Q&A, Help & Troubleshooting] #ApolloLiteProblems:
Audio files?
[G4 Q&A, Help & Troubleshooting] McNellicutti:
Use PhotoRec

After having some trouble with Hoggmeiser's Hex Editor solution, I found that the free software PhotoRec pretty much does it all for you (I can't insert links yet as I just created an account to post this, but just google "photorec"). Just change the .lbf at the end of your file to .raw so that you can select it in PhotoRec. It parses out a ton of different file types. Not sure if one could find the text messages and contacts database, but I did see some "sqllite" files in my data. Definitely usable to get photos/pictures.
[G4 Q&A, Help & Troubleshooting] BrevardAbe:
Found these steps while looking to extract some data from a backup of my K20 Plus. Super helpful and easy to follow!!
[G4 Q&A, Help & Troubleshooting] topin89:
Simple python script for file extraction

Script is here:

import mmap
index=0

filename=f"LGBackup_xxxxxx.lbf"

def read_in_chunks(file_object, chunk_size=1024):
"""Lazy function (generator) to read a file piece by piece.
Default chunk size: 1k."""
while True:
data = file_object.read(chunk_size)
if not data:
break
yield data

def find_in_file(f,signature, startpos):
prev=b''
chunk_size=2**20
for i,cur in enumerate(read_in_chunks(f,chunk_size)):
searchee=prev+cur
pos=searchee.find(signature)
if pos>=0:
return i*chunk_size+pos-len(prev)+startpos
prev=cur
else:
return -1

with open(filename,"rb") as backup:
starpos=0
while True:
pos=find_in_file(backup, b'PK\x03\x04',starpos)
if pos<0:
break

print(backup.tell())
backup.seek(pos)
print(backup.tell())

index+=1
filename=f"{index}.brokenzip"
with open(filename,"wb") as nextfile:
for chunk in read_in_chunks(backup,2**20):
nextfile.write(chunk)

starpos=pos+1
backup.seek(starpos)
print(backup.tell())
print()

Instruction there, here is copy:

You will need 7-zip context menu "Extract here".

Edit filename to your backup file

Run this script from same folder

Select all *.brokenscript and choose 7-zip > Extract here

On overwrite request, choose either "Yes to all" or "No to all", id doesn't matter

Ta-da! You just got your files.

Looks like this backup is a bunch of concatenated broken zip files with zeros for file sizes. 7-zip can open this easily.

Script does this: finds ZIP header, copies everything from header to new file, opens it and repeats it until no more ZIP headers. Quick, hackish, works.
[G4 Q&A, Help & Troubleshooting] barszet:
File "skrypt.py", line 31

nextfile.write(chunk)

^

IndentationError: expected an indented block
[G4 Q&A, Help & Troubleshooting] topin89:
Oops. Fixed in post. It was needed to prepend 13+ spaces before nextfile.
[G4 Q&A, Help & Troubleshooting] Yato gami:
File "script.py", line 21, in <module>

mm = mmap.mmap(backup.fileno(), 0)

ValueError: mmap length is too large

---------- Post added at 02:29 AM ---------- Previous post was at 02:28 AM ----------

File is 2.75 GB. Is that a problem?
[G4 Q&A, Help & Troubleshooting] gagica86:
Clarify

Hi Topin89,

Thank you for the post. I downloaded python for android and typed out the script and saved it to a .py file. Can you please clarify what the next steps were? I sort of got lost on how to proceed. Thanks :)
[G4 Q&A, Help & Troubleshooting] eltonm1219:
How do i run this python script ( i dont know anything about python)? i have extracted my .lbf file into a folder already. What do i do from there?
[G4 Q&A, Help & Troubleshooting] topin89:
Sorry, gagica86, I forgot to answer. I hope somebody helped you anyway, if not, see below.

So, say there are these files in a folder:

LGBackup_010218.lbf

thescript.py

first, you need to change line:

filename=f"LGBackup_xxxxxx.lbf"

to

filename=f"LGBackup_010218.lbf"

in "thescript.py".

Then, if should install Python (if you don't already). I can't post links, so google "Python", first link is what you need. Then "Download", then "Python 3.7.0" (version may be different). Install it, make sure "Add to path" is set.

First try double-click on thescript.py. If nothing happens or "How to open" dialog box appears, in Explorer, Shift+Right Click on empty space in the folder, then "Command line" or "Powershell". Type

python thescript.py

and press Enter.

Lots of *.brokenzip files should appear. Select them all and extract with 7-zip.
[G4 Q&A, Help & Troubleshooting] topin89:
Oh! Yes, it may be. Write if solution is still needed.
[G4 Q&A, Help & Troubleshooting] Yato gami:
Yep, I still do.
[G4 Q&A, Help & Troubleshooting] topin89:
Here, this should help:

import mmap
index=0

filename=f"LGBackup_xxxxxx.lbf"

def read_in_chunks(file_object, chunk_size=1024):
"""Lazy function (generator) to read a file piece by piece.
Default chunk size: 1k."""
while True:
data = file_object.read(chunk_size)
if not data:
break
yield data

def find_in_file(f,signature, startpos):
prev=b''
chunk_size=2**20
for i,cur in enumerate(read_in_chunks(f,chunk_size)):
searchee=prev+cur
pos=searchee.find(signature)
if pos>=0:
return i*chunk_size+pos-len(prev)+startpos
prev=cur
else:
return -1

with open(filename,"rb") as backup:
starpos=0
while True:
pos=find_in_file(backup, b'PK\x03\x04',starpos)
if pos<0:
break

print(backup.tell())
backup.seek(pos)
print(backup.tell())

index+=1
filename=f"{index}.brokenzip"
with open(filename,"wb") as nextfile:
for chunk in read_in_chunks(backup,2**20):
nextfile.write(chunk)

starpos=pos+1
backup.seek(starpos)
print(backup.tell())
print()
[G4 Q&A, Help & Troubleshooting] chillytommi:
Maybe, I've a simple solve this problem. My LG G3 crashed and I've an LG backup file *.lbf but my phone could'nt open it, and my pc same... I found 2 websites, where I could extract it and save contacts.db to vcard file.
[G4 Q&A, Help & Troubleshooting] topin89:
I just checked with my *.lbf, extractor site only got "alarms.db". Guess it depends on a version of LG Backup.

Edit: Same for 7z, BTW, only got "alarms.db". I guess online extractor is a question of preference.
[G4 Q&A, Help & Troubleshooting] chillytommi:
I think so a try is worth...
[G4 Q&A, Help & Troubleshooting] CassiusClay85:
Script to extract jpg images from LBF

I had an old LG G2 Mini LBF backup. I wanted to access the JPGs.

The original script from #10 did not work for me. It produced huge files with repeating contents.

I rewrote the script to just extract jpgs , and it worked well.

I'd like to share it with you. Feel free to redistribute or share it:

import mmap
index=0

filename=f"MYFILENAME.lbf"
with open(filename,"rb") as backup:
contents = backup.read()

starpos=0
while True:
posA=contents.find(b'\xFF\xD8',starpos)
if posA<0:
break

posB=contents.find(b'\xFF\xD9',posA+1)
if posB<0:
break

index+=1

print("index={0}, startpos={1}, length={2}".format(index, posA, posB-posA))

filename=f"restore_{index}.jpg"
with open(filename,"wb+") as nextfile:
nextfile.write(contents[posA:posB])

starpos=posB+1
[G4 Q&A, Help & Troubleshooting] Mysak0CZ:
Script to extract hopefully everything

Hello, recently I was experimenting a bit with LG phones and looked into lbf files.

I wrote a tool that parses the file (the list made by LG bnr, it does not look for signatures) and extracts all the files stored, so i thought i'd share it.

It was written during one afternoon and tested only on my phone, so there can be errors (works fine for me, but feel free to report any problems).

It was tested even on corrupted backup and works.

For the tool see: https://xdaforums.com/android/general/tool-lg-restore-com-lge-bnr-lbf-file-t4053579/

Feel free to redistribute, edit or share it. (Althrough crediting me would be nice).
[G4 Q&A, Help & Troubleshooting] Synkopa:
Thank you very much for your help. My problem was different, but thanks to Mysak0CZ, I have my data recovered again.