yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Quinny899:
Right, I've finally had some time to look at why it's crashing on Oreo, and it's not good. The crash is caused by a native error, something I can't fix in smali editing. I've got the 1.0.00.18 update to the same broken point:

E AndroidRuntime: Caused by: java.lang.RuntimeException: SGI Exception: Module: Core::UIEngine Message: Failed to lookup some Skia interface functions

Not a lot I can do about this crash, it would be a lot of work to totally replace the code with AOSP code (which is something I'll try regardless, see what happens). It might be a case we have to wait for Samsung to update the app for Oreo, unless the code which it can't find is in the Samsung oreo builds, in which case we're stuck.
[Android Software Development] Quinny899:
And now for some better news.

1.0.00.18:

There's only one APK this time. No need to make a decision which one you install, because I added a little something to the app:

Accessed via Settings > Mod Settings, you can now switch connection type, override the automatic camera detection (detect the 2nd gen as 1st gen and vice versa), force the live broadcast option to always be shown (but still not work on 1st gen), and also automatically have the app open WiFi/WiFi direct settings when it's stuck on that Loading... screen (enabled by default)

It DOES work on Oreo, but I had to remove some code for that to happen. It was UI code, so there may be some labels missing from the gallery. It doesn't appear to cause problems though

DOWNLOAD

Changes Made/Porting Guide (includes new lib files from Samsung firmware)
[Android Software Development] paniro187:
Can't get this to work in essential phone it keeps asking me to comment to WiFi
[Android Software Development] Quinny899:
Are you connecting to the camera's WiFi?
[Android Software Development] paniro187:
I'm trying to but it's asking for password.
[Android Software Development] Quinny899:
Search the thread for how to find it, on the 2016 camera it's displayed on the screen when in Google Maps mode, on the 2017 it's harder
[Android Software Development] adikcilak:
On my xiaomi redmi note 3 was connected via bluetooth and wifi. Via bluetooth, when we tap camera and gallery the app was closing (minimizing). When return to the app, the interface like just open. Start from the beginning. than connected.

Via wifi (connect to ios) oh the app, always "Connecting to Gear (BE52)..."
[Android Software Development] neoboyx:
in my Huawei P9 was connected BT and Wifi but always Connecting...
[Android Software Development] Rory17:
[MENTION=1492633]Quinny[/MENTION]889: I use a Redmi Note 3 Pro. Unfortunately the new version of the App closes immediately when I try to connect with Wifi Direct to the Gear 360 (2016). Bluetooth connection works fine, though, and I am able to enter and set the settings. The had to reinstall the 1.0.00-2
[Android Software Development] 3lackhawk:
I updated from previous version and it seems to be good!

I just want to inform what changed and what not compared to previous version:

-Usually drop the connection between the camera and the phone while I save a 360 degree picture. Still not good :(

-I saved many pictures but the phone tab empty in the gallery. Still not good :(

-I can't save videos to my phone. Works! :good:

-I can't update the firmware. Works! :good: (You need connect the internet first to download the fw and after that connect back to the camera wifi for the fw update)

My phone is Xiaomi Mi5 with MIUI9

Thanks your work!
[Android Software Development] Quinny899:
Please post a logcat, I can't do anything without that
[Android Software Development] truwrxtacy:
has anyone got this to work with the pixel 2 xl on 8.0?
[Android Software Development] Quinny899:
It should work, but if it doesn't then my Pixel 2 XL arrives in under two weeks so I'll get it working then
[Android Software Development] Bearcameron:
Works on pixel XL running beta 8.1

Thank you very much Quinny899
[Android Software Development] adikcilak:
Redmi Note 3 Pro 's LogCat

[MENTION=3563640]Quinny899[/MENTION], this is my phone's log. Hope it helps:

pastebin.com/7Y3EwVsv

"The text that you have entered is too long (71816 characters). Please shorten it to 30000 characters long."
[Android Software Development] Mjailme:
Works way better since the update on stock rooted Pixel XL on 8.0. still few things not working.

Cannot save video over 3 or 4 seconds to phone. Gets stuck on 99%.

Cannot view saved items on phone in the gallery.

Cannot see any of my saved groups or pages in the privacy setting tabs in the broadcast live on Facebook section

Other than those few issues works great. Keep up the great work.
[Android Software Development] Quinny899:
I can fix that, will be in the next update
[Android Software Development] luis861020:
help

I install the application on samsung s5 but it does not work I have tried everything, what do you recommend?
[Android Software Development] Quinny899:
What doesn't work? Does it crash?
[Android Software Development] adikcilak:
thank you before
[Android Software Development] luis861020:
It does not start, it says "samsung gear 360 stopped"

camera samsung gear 360 new 2017 - samsung s5 ROM Original
[Android Software Development] Quinny899:
So yes, it crashes. Get a logcat please, I can't fix it otherwise
[Android Software Development] luis861020:
logcat

https://ibb.co/hvueCb

https://ibb.co/gct6sb
[Android Software Development] Quinny899:
That's not a logcat for this app.

Read this: https://xdaforums.com/showthread.php?t=1726238
[Android Software Development] poliorcetes:
note 4 with version

---------- Post added at 11:00 PM ---------- Previous post was at 11:00 PM ----------

Hi,

I'm using Gear360Manager-4kMod-07102016.apk note 4 with a Galaxy Note 4 with Android 6.01 stock. I'm using a samsung gear 360 2016

Most of the times, app freezes and cannot merge the 2 hemispherical images.

Do I need to install another version? What do you recommend me?

Thanks in advance
[Android Software Development] bergblume:
Hi there, I also have the problem to get my S5 not running together with Gear 360 (2016). the problem is that the screen freezes when I switch in live preview.

which version do I need?
[Android Software Development] Quinny899:
Hi, usually this is caused by the device being incompatible but I would have thought the S5 would work. I plan to look into how the checks work soon anyway
[Android Software Development] lex_gushchin:
On my phone Blackview 7000 pro it is impossible to make connection on bluetooth with Samsung Gear 360 2016. PIN code is displayed both on the phone and on the camera, but on the camera when you press OK do not disappear.
[Android Software Development] poliorcetes:
Excuse me for insisting, but what version would you use in a galaxy note 4?
[Android Software Development] Quinny899:
Probably a device issue, try pairing it from the settings app instead

The newest version, there is only one APK for it
[Android Software Development] poliorcetes:
But the 2k or the 4K one? Did I understand it wrong?
[Android Software Development] Quinny899:
That's not the newest, this is: https://xdaforums.com/android/softw...ger-device-t3400383/post74351959#post74351959
[Android Software Development] hisoft:
My phone is moto Z2 Play and camera was Gear 360 2017. I cannot access photos and video via Gallery menu since it will force close every time I tap on any media. I can access gallery by open the live view camera first and tap on latest image on right-bottom.

The problem was I can download image to my phone perfectly but it will stuck at 99% if I download video. Anyway to fix this?

Thank Quinny899 and everyone contribute in this. I have no Samsung phone and this camera will nearly useless without this.
[Android Software Development] Quinny899:
The force close I should be able to fix - if you send a logcat

The 99% is known, it's usually not actually frozen but just taking forever to load the final bit
[Android Software Development] hisoft:
For 99%. Can't we fix with just fill a 0 bit at the end? From my experience with mp4 it didn't that much important. maybe better than can't get a file.

for logcat. Is this enough? It my first time using logcat https://pastebin.com/HM1bVZ89

One more thing. When I try to live with YouTube. It just ask me to sign in. press the button and found it was logged in. press back and it ask me to sign in again.
[Android Software Development] Quinny899:
I think the last percent is it preparing to stitch the video, the previous 99 is the transfer, so I don't think you could do that

The YouTube problem is probably because this app is re-signed. I don't have a 2017 camera so can't even begin to debug it but usually when you re-sign an app it breaks any APIs

Thanks for the log, I can fix that
[Android Software Development] hisoft:
understood. ;)

Edit: YouTube problem had nothing to do with the app mod process. It happen with all Samsung app that include YouTube Live. Here the same problem with original Galaxy user. The sad thing was it happen with some account without a way to fix for now. (used to have. but can't do it in this very day.)
[Android Software Development] hisoft:
Okay. After one day use I have workaround for all problem I found. (moto Z2 Play + Gear 360 2017)

1. Wi-Fi Direct can't connect some time.

- just remove all remembered group before open the app. some time remove it when it try to connect also work.

2. Access media in gallery cause the app to crash

- just open camera live view and access recent media from there. no overview browse but it not too hard to slide through all recent media since I didn't keep much on device.

3. After download a photo the app will reopen download dialog and stuck at 50% and not possible to close the dialog

- just switch the app, back to home screen or turn screen of after tap download button. the app will not reopen download dialog after download completed then switch back to app and can continue your work.

4. Video download progress stuck at 99% and take forever to finish

- just open task switcher and close the app then open gallery app. You will get both original 360 video and completed stitch video there. You can close the app immediately the progress reach 99% (and that mean it's not "the last percent is it preparing to stitch the video, the previous 99 is the transfer, so I don't think you could do that". Maybe it's a percentage for deleted original 360 video file.)

[IMG="completed download video file"]https://i.imgur.com/KQ1Wyfx.png[/IMG]

With all these trick I can completely use all the features of this device. Good work everyone. Thank.
[Android Software Development] Mjailme:
Thanks for this. The work around on #4 works flawlessly on my Pixel XL.
[Android Software Development] ClaudioSpeleo:
Hi, i have installed your app on my Huawai Nova smart for my Gear 360 (2017). But oi have a problem because when i tap on camera button start to load and don't work. What can i do?

Thank you
[Android Software Development] pancho_rs:
Motorola Z

Hello I Installed the app on Motorola Z "android 7.1.1" but I'm not able to open the app it crash and close.

can somebody help me to solve this problem?

Thanks
[Android Software Development] Quinny899:
Anyone got access to a Samsung phone that can download and mirror the unmodified 1.1.00.5 APK? It's been up two days and nobody has done it yet, and it probably fixes Oreo too
[Android Software Development] Auxilia:
Hi guys, I just want to share what works for me. I'm using a Samsung 360 2017 (SM-R210) aka second generation and a LG Nexus 5X on Oreo. I am using the app 1.0.00.18 thanks to Quinny.

The problem I ran across was either the loading screen when I click on Camera/Live View or WiFi asking for that mystery password. The 360 connected ok but it was otherwise useless when I couldn't open the camera.

Try this:

1. Open the mod settings, ensure WiFi direct is on and maybe select your camera recognition - whether this makes a difference I don't know.

2. Download from Play Store: "WiFi Direct +" by Dev Netcomps Android.

3. Make sure your 360 is on, connected and ready to go.

4. Open that app WiFi Direct +, click next, select "receive files" and click next, until you see a screen with the camera shown as invited.

5. It should automatically go to a screen with "waiting to receive files |Disconnect|".

6. Go back to the 360 app and try the camera mode/live View if it isn't automatic.

7. Keep the WiFi app suspended in the background.

If you are in the WiFi Direct app and you get stuck on a loading screen, try going to the 360 app and opening the camera which will start that loading screen also, then switch back to the WiFi app and try again (click back and try again if you have to). Try forgetting any other WiFi networks you may be connected to also.

For now it's working for me and stitching etc is fine so I'm pretty happy.

Hopefully one of you clever programming chaps can do something useful with that info. As for me, I'm just a punter. Thanks to Quinny and all of you for your tips.

Regards, Aux
[Android Software Development] hisoft:
You can enable "Automatically open settings" in mod settings. When you try to use Live View the wifi advance settings will open. Tap on Wi-Fi Direct and wait then everything work without any need for another apps.
[Android Software Development] andygavr:
I have a LG G6 and Samsung Gear 360 (2016)

The Samsung works well and I can see the pics on my PC

I installed the Samsung Gear 360 App on my LG G6 and the Software works but it doesn't connect to my Gear 360???

The Bluetooth Connection is ok

But when I tip on "Gear 360" in the App it only says "loading" ("Laden" in german)

and it does not connect so I cannot make Pictures with the LG G6

What can I do?
[Android Software Development] asenciojm:
Oneplys 3t gear 360

Im using OnePlus 3T Android 8 running OxygenOS OpenBeta 18. The app force quit and crashes.

Unfortunately, I have to post 10 messages to be able to send outside links :(

Thanks
[Android Software Development] Quinny899:
Hi, you can post a link if you replace the dot in the URL with a space ?
[Android Software Development] asenciojm:
Oh didnt know that. Thank you

here it is

zerobin_net/?fabe1282eaf1ac42#Mj2P1f2F5QddxgWNw/ckz6AXeXLviPD/eJz/dnrN1CI=
[Android Software Development] user822:
Hi.

Does anyone know why Wifi direct mode often gets stuck at "invited", and then does not continue?

Major bummer, because the normal AP mode won't work great at all
[Android Software Development] Quinny899:
Disable "automatically open settings" in the app's settings > Mod settings
[Android Software Development] user822:
I think that fixes my problems too, thank you!

FWIW a logcat, from the moment i tapped the "camera" button to the moment where i went into Wifi direct menu and it was stuck on "invited"

Maybe you can find something in there, because there seems to be some bug :confused:
[Android Software Development] asenciojm:
I managed to connected to my Gear 360 1st Edition last night and was able to update the firmware. But when i tried again this morning, it doesnt work. Camera/Gallery only loading. When I select my Gear 360 via Wifi Direct it only says invited not connected. I noticed that it switches off my wifi connection when i try to swap between Gear 360 app and Wifi settings.

logcat is here zerobin(.)net/?b0cbd11d12bd4e65#YOF+/PwoNUvo0vyJFwgrDjBACSUjSjKvgHjfkeuo22o=

Thank you again
[Android Software Development] Quinny899:
Try disabling WiFi direct in the mod settings, the soft ap method is much more stable and I recommend using it whenever you don't need to update the firmware
[Android Software Development] user822:
Same for me.

I used the solution someone else found:

Delete all old groups in Wifi direct settings

And added some of mine:

The first time it shows up, tap+reject it immediately, stay in the settings screen while it scans again, then the gear should show up again and connect
[Android Software Development] asenciojm:
Seems the only workaround is to forget any remembered group in the wifi direct. thank you
[Android Software Development] user822:
LineageOS by any chance, or a stock rom?
[Android Software Development] Ulisse D.J.:
Hi!

I have a Huawei mate 10 lite and gear 360 2017. The connection is properly done in bluetooth, but when I select the gear gallery, I see the wifi screen for manual connection to wifi direct to gear 360 (encrypted in wpa2 psk) but I don't know the password.
[Android Software Development] MikusP:
Hi Quinny! I'm not sure that's accurate. I've found that when stitching photos the file is being copied from around 0%-50%, then stitched until 100%. For videos the percentage varies depending on the length of the video, the last test I ran copied over from 0%-41% then was stitched form around 42%-99%. I used to run this app on a slower Snapdragon 625 making it easy to spot the change from transfer to stitch as the percentage would breeze through the copy, then crawl through the stitching process.

As a few people have mentioned if you kill the Samsung app from the app switcher when it hits the 99% mark and check your gallery you'll find a stitched version of the video file you were processing along with an unstitched "raw" version. This has worked for me on every version of the hacked Samsung 360 apps so far, with the earlier versions creating a temp file, that if renamed to .mp4 would play back just fine. The only issue being that the stitched video files contain zero metadata. No location, no camera info, no time/date, etc. As you'll probably be aware, it's the metadata of a file that tells the software/app to display it in a 360 format. There are a few tools you can use to add this metadata into your files, Googles Spacial Metadata Injector being one, but its a bit of a pain.

So, I'd say it's pretty clear the app gets stuck when attempting to write the metadata to the video files, but I have no idea why. I've always wondered if it's trying to reference something relevant to hardware or software only found on Samsung devices..?

(Sorry if this has been discussed before, I haven't checked this thread in a while)
[Android Software Development] pcmihnea:
Hi, here's the apk extracted from an Samsung Galaxy S6 edge running stock Android 7: drive(dot)google (dot)com/file/d/1ipb_VJeqxnuSSYWquDRpSRNIr1cMZpkJ/view?usp=drivesdk.

I'm having issues getting your version to work on LG G3 running custom Android 7.1 (crdroid) - I've managed to connect to the camera, but the moment I select live-view, it shows "changing to live view", then crashes after a few tens of seconds. Tested on an Lg Gpad8.3 running custom Android 7.0 as well - same result. The camera works as a Street View camera, and it's firmware was updated today to the latest version using the mentioned Samsung phone. Thank you!
[Android Software Development] Quinny899:
Thank you! Could you possibly get a logcat from one (or both) of the crashing phones? Thanks.
[Android Software Development] pcmihnea:
Thank you the quick reply, here's the debug-level log when I try to open live-view on my Lg G3 with the wi-fi and bluetooth already connected to the camera (location also active, to allow scanning): drive()google()com/file/d/1b7N4vt4AhgYgyqZLkpdZvCajkbDAeNQi/view?usp=drivesdk
[Android Software Development] Quinny899:
There's no crash there, all looks fairly normal. What exactly happens, "a few tens of seconds" sounds like it might be timing out
[Android Software Development] pcmihnea:
Yes, I've saw in the log a mention of a timeout, the behavior on my device is that actually triggers the "app not responding" dialog after around 30~50seconds, as seen in the screen capture: drive()google()com/open?id=1Os4s3DF-uyc_C1snmhAgeA6IonLqZ8s4. Am I doing something wrong in my process of connecting to the device? Is the preview and capture settings actually possible on an non-Samsung phone? I know that the preview mode is GPU-intensive, as even an Samsung S6 has a low frame-rate while rotating the video sphere view.
[Android Software Development] Quinny899:
Yes, it's possible but it does need a decently powered phone. Usually a black screen is what happens when it isn't powerful enough but clearly not in this case
[Android Software Development] pcmihnea:
So in theory it should be possible to run on my phone? Maybe the error is in the ROM I'm using, i.e. not the stock one (the stock one may have better governors), as there are many items in the log regarding the GPU. What else can I try to make it work? Could the latest app version fix my issue?
[Android Software Development] Quinny899:
Possibly, although the latest update is probably just Oreo fixes. I'll update it when I get the time
[Android Software Development] maenju83:
I tried this on my Huawei P9. All steps work out fine, but I can't for the life of me seem to connect to the camera manager. Reinstalled the apk and accessory manager, allowed all connections, but Everytime I click on the camera icon and manually switch to the 360 WiFi access point, it remains stuck on loading. Any ideas? Thanks!
[Android Software Development] Quinny899:
Have you turned your mobile data off?
[Android Software Development] maenju83:
Yes it's off. Now redownloading the firmware update which I don't think was installed when I tried it previously to reinstalling the Apps. Let's see if that changes anything. I also don't find the gear in my direct WiFi tab...

Edit: also, clicking settings crashes the app. And no luck yet in installing the firmware update it seems.

---------- Post added at 11:13 PM ---------- Previous post was at 10:50 PM ----------

Managed to install the firmware update but connection problem and app crash when tapping settings is still the same. Taking a break for tonight but hoping for a solution :)
[Android Software Development] pcmihnea:
I've tried the same steps on a Blackberry Priv eunning stock Android 6.0.1, and the liveview mode worked on the first try, albeit at a slow framerate and very noticeable delay (order of seconds at some liveview display modes). So it seems that my phone is to blame for the timeout, or at least the ROM i'm using. Thank you again for the app, I'll try it on other phone/ROM knowing that it shoud work.

Is there anyone here that tried this app on an LG G3?
[Android Software Development] maenju83:
It works now with the 2017 manager. WiFi still seems patchy, will report back if it's unstable. Yay for now.
[Android Software Development] gls9:
The app is working on my Redmi Note 4x.

When saving the video to my phone it will wait at 99% like other people have. When killing the app (as suggested) the video files are indeed on my phone in the gallery app of my phone.

But it is not visible in the Samsung app gallery at the phone tab.

Do you (or others) also have this ?
[Android Software Development] MikusP:
Hi gls9, yeah, same here. I seem to remember the gallery behaviour changed with one of the major app updates a while ago. If I remember correctly the app used to simply display video and photo files stored in the 360 folder. Now it seems to keep a track of its own gallery independently, with failed videos not showing up despite being in the 360 folder.
[Android Software Development] gls9:
Hopefully the 99% will be solved so I can see the 360 video's and pictures also on my phone when not connected to the Gear 360.

On a Samsung Tab S2 it works completely.
[Android Software Development] aaryan45:
[MENTION=1346722]Bin4ry[/MENTION] please port Samsung Music for non- Galaxy devices! Please sir it a request & and it's the best music player app
[Android Software Development] Quinny899:
Version 1.1.00.5:

Download

I've fixed the following mod issues also:

- Crash when opening gallery due to accessibility

- Crash when opening WiFi settings

As usual, all my changes and additional files can be found in my Porting Guide folder

Enjoy!
[Android Software Development] user822:
Thanks for this update!

Is there any way we or you can force the app to always request precise GPS for geotagging, instead of the approximate network location?