yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Gear] willcor:
hi,NakedFaerie and Gossieur ,

i apart from pressing your thanks icons,,

i would like to say, with your two's input/advice and a lot of reading,

i finally got the hang of "it " and sorted custom ringtones ,alarms out on my Tizen Gear 1 watch .

It is a challenge for me to learn but yes ,the way i see it

you have to use" SDB commands" with the" Connection explorer" ( this is where i at first struggle to understand ) and attached snip for :"the forums members that still trying to understand all "

but yes i do understand now and

thanks to you two ...!!!

good luck

post note .

do you know path to Notifications perhaps(I'm still looking )

cancell ....

...found it in same directory listed as Alerts ( change my notifications sounds now also )
[Samsung Galaxy Gear] NakedFaerie:
Also on that connection explorer in the SDK if you click the box at the top right of that window (The Connection Explorer window not the SDK window) you can get it going fullscreen not just that tiny window at the bottom left. Its a lot easier when you can see more.
[Samsung Galaxy Gear] rizcom:
delete please
[Samsung Galaxy Gear] Basil 123:
thanks a mill - followed the instructions and now I dont have that super-loud camera shutter sound.

Cheers

Baz
[Samsung Galaxy Gear] spikie1:
Anyone figured out how to extend record time on video camera
[Samsung Galaxy Gear] vacek1:
Rooted, removed camera shutter sounds.

All worked VERY well. Piece of cake.

Can anyone confirm the comment about improved battery with this root image ??
[Samsung Galaxy Gear] NakedFaerie:
Not sure if rooting does anything to the battery but toady it went from about 85% to 55% with just receiving a few notifications.

Yesterday it went from 100% to 90% all day.

Its iffy what uses the battery and what doesn't there are all sorts of reports going around.

I did find when you first flash the firmware goto recovery menu and do a restore then sync. Thats how I got more battery life out of it.
[Samsung Galaxy Gear] vacek1:
Fair enough :)

When I first loaded Tizen on my Gear 1, and did a recovery ... I burnt through 50% in 15 hours. Took 2 calls on it, took a couple of pictures and received a few notifications. So far from stellar.

I'm used to the Pebble where I can go for days ... but the Gear I like better.

Hope it is better moving forward.

Cheers
[Samsung Galaxy Gear] NakedFaerie:
I have noticed its really quick to charge. It was at 52% and I put it on charge and 20 mins later its at 100%.

Not sure if they screwed up the %'s or if its real but it does seem to keep its charge and be at what it says. But I've seen this fault on other devices before. Sitting on 100% then next you know its at 20%. Wait till the next firmware release and if its the same then thats what it is. But so far its looking good.
[Samsung Galaxy Gear] BruceFeuillette:
Can somebody upload it on a non-ads/faster website ?

I'll be eternally grateful :)
[Samsung Galaxy Gear] vacek1:
be ready in a minute .. I will post a link

Update:

file: v700_rootfs.img.tar

bit.ly/1oWo59p
[Samsung Galaxy Gear] crutzulee:
+100000 on this question... Second day on tizen and loving it so far... Video record length is the only thing I miss from null..
[Samsung Galaxy Gear] pRo_lama:
1. question:

I think that this will work only when I'm on Tizen OS. Am I right? Or can I flash this over Android OS?

2. question:

If I already have Tizen OS, how can I go to the DOWNLOAD mode to connect Gear with ODIN? Is is the same way as on Android?

I don't have Gear 1, but I'm writting tutorial for our local forum. And I would like to know answer for my questions. Thanks.
[Samsung Galaxy Gear] Brendo:
I'm not using tizen (am thinking of grabbing a second gear though or maybe just gear 2). I had a quick look in other gear forums, but they don't have a solution. Is it possible to upload camera app so I can have a look? Next step would be to figure out how to modify it...

1. What do you mean? If stock; use kies to update. If null or kies doesn't work; use odin

2. Download mode is accessed same way as before
[Samsung Galaxy Gear] jonboyuk:
Could anyone kindly write a quick description of the actual steps I'd need to take to remove the sound from the shutter.

I know I need to root it and run the commands on an earlier post...but I don't really know what I'm doing :/

I'm quite savvy with this stuff, but I'm new to Tizen!

Thanks :)
[Samsung Galaxy Gear] mosfus1987:
+1
[Samsung Galaxy Gear] demon-knight:
Check here, this is from the Gear 2 forum but works on ours too

http://xdaforums.com/showpost.php?p=53143789&postcount=4
[Samsung Galaxy Gear] NakedFaerie:
Thats how to remove the sound, now we need someone to find how to remove the time limit from recordings.
[Samsung Galaxy Gear] pRo_lama:
I thought that if I have to run on Tizen OS or I can flash that file over Android OS to get Tizen OS and then make these steps in CMD.(.tar file from OP).
[Samsung Galaxy Gear] FdeKlerk:
Odin stuck.

Hay guys.

I have a gear 1 with tizen, but as i want to install the root file odin gets stuck somewhat at 70-80% and nothing further?

Any help please.
[Samsung Galaxy Gear] Basil 123:
Maybe you should ask fomey who made the null rom how he did it for the android version? You might get a clue to point you to the right general direction.

Good luck
[Samsung Galaxy Gear] NakedFaerie:
Thats what I was thinking. He already did it so maybe he knows how to do it again with Tizen.
[Samsung Galaxy Gear] Brendo:
Someone needs to upload the camera app...

Pretty sure it'll be a html 5 based app as opposed to the java of android?
[Samsung Galaxy Gear] jonboyuk:
Thanks that's useful.

Please can someone describe to a Tizen noob how to root this device. I don't understand what the OP has tried to explain in the first post.

***EDIT*** I found out myself and wrote a small guide to help some others!
[Samsung Galaxy Gear] NakedFaerie:
I was thinking of editing files 1 at a time but not sure where the camera app is located.

It should be somewhere similar to Android as to me it looks the same. Both Linux based.

EDIT: I think I found it. /usr/apps/com.samsung.w-camera-app/bin/camera

I think its signed as I cant get it to work if I mod files at all. Even copy/pasting the same file fails.
[Samsung Galaxy Gear] NakedFaerie:
Anyone know where the start logo is located? Want to swap the SAMSUNG with the emulators TIZEN logo.

I think I found it. /usr/bin/boot-animation

Just need to find another file to swap it with. This is also a ELF file
[Samsung Galaxy Gear] Basil 123:
Another thought, you might be able to suss out how to increase the limit by comparing null rom with the stock android one. Probably a bit of work but the first person to mod camera recording limits will earn some serious forum cred.

Good luck

Baz
[Samsung Galaxy Gear] NakedFaerie:
I think I found where it is but cant get the file edited properly and I cant work out how to get it to work again.

Having problems. I think all files are signed so any editing of files and the app stops working.

What I did was copy the camera file, then renamed it to camera-bak then I copied the camera file back and the app no longer works.

This is what the folder has now

camera

camera.bak

etc... the other 2 files untouched.

See, the original camera file is just renamed, the same file is copy and pasted back without any editing just copy/paste and the app refuses to work.

Anyone know what I'm doing wrong? I dont want to delete the original as wouldnt that stop the app from working completely and force me to flash the firmware again?
[Samsung Galaxy Gear] Sawas:
Odin Fail

In rooting my Gear firmware encountered an issue.Please select recovery mode in Kies and try again.I cant go back in download mode so i can flash either the Tizen Stock or the root file.How can I recover from this error?
[Samsung Galaxy Gear] NakedFaerie:
Thats the same as download mode so just reflash with Odin
[Samsung Galaxy Gear] Sawas:
Its not seen anymore on the PC so odin is not recognising it anymore.Do I need to redownload drivers again?
[Samsung Galaxy Gear] westwallpoma:
Digging into the camera binary

gregor@tonymowbray:~/tizen-sdk/tools$ file camera
camera: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.25, BuildID[sha1]=0x012e8ba1015fae3aa33c879e519848d35a778c70, stripped
gregor@tonymowbray:~/tizen-sdk/tools$

Using strings on the binary has reference to the following variables:

recorder_attr_get_time_limit
recorder_attr_set_time_limit
recorder_attr_set_size_limit
cam_app_set_size_limit

But there is no reference to these in the ini file found here:

/opt/usr/apps/com.samsung.w-camera-app/data/.camera.ini

Speaking of which ...

gregor@tonymowbray:~$ cat .camera.ini

[common]
mode=1
take_pic_tip=false
take_rec_tip=false
image_gallery_tip=false
video_gallery_tip=false
gps_attention=1
voice_control_attention=1
gps=true
self_portrait=false
review=false
voice_control=false
photo_resolution=91227504
video_resolution=41943680
signature_text=Samsung Gear

gregor@tonymowbray:~$
[Samsung Galaxy Gear] Sawas:
Finally it worked.Thanks.Re-flashing now.I hope this time it works.
[Samsung Galaxy Gear] westwallpoma:
More guff on the camera:

Three files here:

/usr/etc/mmfw_camcorder.ini
/usr/etc/mmfw_camcorder_dev_video_sec.ini
/usr/etc/mmfw_camcorder_dev_video_pri.ini

The respective files are pastebin'd here:

tuxuy6N5
xzPdvsNM
FkrBJJaB

W-Camera file tree:

pastebin.com/PZ4tLjer

Apologies for the lack of URL - I cannot post links yet (< 10 posts on this MB).
[Samsung Galaxy Gear] NakedFaerie:
Thats what I found so I was right. :)

I just couldn't find how to edit the file. Well the app I use lets me edit but doesn't save with the same format so its all screwed up. Tried a few things like HEX editing where it says but still couldn't get the edited file to work. Even when its unedited it still refuses to work.

I'm new to all this but learning really quickly.
[Samsung Galaxy Gear] westwallpoma:
Indeed. Borked mine up too. Probably just extended permissions / smack ; you'll need to do the following:

sdb root on
sdb shell mount -o remount,rw /
sdb shell chsmack -a com.samsung.w-camera-app /usr/apps/com.samsung.w-camera-app/bin/camera
sdb shell chsmack -e com.samsung.w-camera-app /usr/apps/com.samsung.w-camera-app/bin/camera
sdb shell chmod 755 /usr/apps/com.samsung.w-camera-app/bin/camera
sbd root off

I can confirm that hex-editing the 1/15 does NOT increase recording time :)
[Samsung Galaxy Gear] kashortiexda:
can anyone find libcapi-media-recorder.so
[Samsung Galaxy Gear] westwallpoma:
sdb shell find / -type f -name 'libcapi-media-recorder.so*'
/usr/lib/libcapi-media-recorder.so.0.1.16

Do you want it uploaded somewhere? I was digging through the Tizen code for mm_camcorder and I think that the limits are set as defines during compilation, rather than via (for example) runtime configuration ; which would be a bit of a shame. Similar discussions on the internet regarding Samsung's Tizen range of SLR cameras which limit video recording time to 29:59 seconds.
[Samsung Galaxy Gear] westwallpoma:
https://developer.tizen.org/dev-gui...corder.html#af8a51d9d45510df629d965c8ad1542ac

Looks like the value is in milliseconds, according to this API reference.
[Samsung Galaxy Gear] crutzulee:
Stupid 8 thanks limit per day..A BIG THANK YOU to all of you guys trying to up the recording limit from those of us without a clue!
[Samsung Galaxy Gear] NakedFaerie:
Yea, I posted about that the other day and got no response from them. Its REALLY STUPID to limit thanks. WHO does it help limiting thanks? What does it save? Its not like a drain on the bandwidth or everyone wants to be the number 1 person of the day with the most thanks or give the most thanks. If they set up their website like that then remove it so we can thank those who deserve it even if we thank 10 different people on 1 day they all deserve it so the limit is really stupid and its only punishing those who do good.

The only thing I see the limiting of thanks is doing is making threads longer as instead of clicking the THANKS button people have to leave a useless reply saying thanks just because they aren't allowed to push the button. See, really stupid and THATS a drain on bandwidth and an unnecessary reason to make threads longer.

AND to stay on topic I'll be looking into it again tonight and see if I can find a way to remove the time limit. Its gotta be somewhere and one of us is going to find it one way or another.
[Samsung Galaxy Gear] Brendo:
Unfortunately tizen is new. not any tools around or any knowledge of how it works (decompiling, etc). Keep in mind that it is html5 as opposed to the java of android
[Samsung Galaxy Gear] westwallpoma:
More camcorder guff. Seems I'm just using this thread as blotting paper for my own compulsions :)

From: https://wiki.tizen.org/wiki/Porting_Guide/Multimedia#Camcorder

I uploaded these files to pastebin earlier in this thread. None of those files have any reference to duration / limit. The above URL also lists a detailed explanation of the mmfw_camcorder.ini ; nothing listed in there

Here is the best resource I could find with respect to this problem. It is related to the NX300 and SX2000 cameras, for which Samsung have uploaded to their Opensource repos.

http://www.dpreview.com/forums/post/53381998

The ultimate solution was to recompile, with some appropriate changes to:

/usr/include/mmf/mm_camcorder.h and CameraManagerPrivateMMFW.cpp

(insert Sad Face Icon here)
[Samsung Galaxy Gear] fibs:
Function seems to be like:

int recorder_attr_set_time_limit(recorder_h recorder, int second) so i assume seconds.

I had my few tries reverse debugging but for now i gave up :)
[Samsung Galaxy Gear] westwallpoma:
Busybox

Ha! Busybox exists on /bin

This makes fiddling around much easier than pulling files off and uploading again, because it means we do not bork the smack attributes.

Root on, and remount / rw

cd /bin
ln -s busybox vi
ln -s busybox less
ln -s busybox strings
# LET'S PARTY ...
strings /usr/apps/com.samsung.w-camera-app/bin/camera | less

Repeat for whatever busybox tools you fancy.
[Samsung Galaxy Gear] fogame:
Funny the Neo has the camera app on it but it doesn't have a camera lol. I was able to pull it. It is a HTML5 application. I have something called the author-signature.xml as well as a signature1.xml. Wasn't sure if they were part of what you found.
[Samsung Galaxy Gear] NakedFaerie:
I"m not sure what those files do as I renamed them and the app still worked fine.
[Samsung Galaxy Gear] fogame:
I think they are the signature applications for parts of the app. I wouldn't know because I don't have a camera but I have the app in my watch lol.
[Samsung Galaxy Gear] NakedFaerie:
If you open the files you will see they are file signing not signature signing. They are filled with these type of links "http://www.w3.org/2001/04/xmlenc#sha256"
[Samsung Galaxy Gear] fogame:
Thats true. My fault. They are HTML 5 links and encrypting type stuff.

The one you posted in an encryption one

Identifier:

http://www.w3.org/2001/04/xmlenc#sha256 (RECOMMENDED)

The SHA-256 algorithm [SHA] takes no explicit parameters. An example of an SHA-256 DigestMethod element is:

<DigestMethod

Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>

A SHA-256 digest is a 256-bit string. The content of the DigestValue element shall be the base64 encoding of this bit string viewed as a 32-octet octet stream.
[Samsung Galaxy Gear] NakedFaerie:
Thats all too much for me, I just see it as crap. LOL (It's not you, I just dont understand all that signing stuff. Never could get my mind around it. Seems like a waste of effort to me)

Anyway, I renamed those files and the camera still worked so I dont know what they are for as it still works without them.
[Samsung Galaxy Gear] fogame:
Well from what I've gathered is those files encrypt the transmission on your pictures so that they can't be intercepted with a Man in the Middle attack as they are transferred from your watch to your phone via bluetooth.....I could be wrong though.
[Samsung Galaxy Gear] NakedFaerie:
If that case they are good and should be left alone then. :)

As they didn't stop it from running I left them alone.
[Samsung Galaxy Gear] smokestack76:
Thats like a handshake and means that it only looks there. Shakes hands with ole man system and says all good! I could educate you and go on for hours. But no need now.
[Samsung Galaxy Gear] machmandp:
Apologies if this is slightly off the Camera length thread but could anyone who knows what they are doing with this stuff

try and find out if it may be possible to change the name of the device so that the gear manager thinks that its a Gear 2 or Neo so that

we can use the Samsung Apps

Just a thought and let me know if its a stupid idea

Thanks
[Samsung Galaxy Gear] NakedFaerie:
SDK help?

I tried doing that with my iPhone years ago and never found out how. I dont think it was possible then and I think its the same now.

It'll probably be hardwired into the hardware unable to change.

And about the camera, I can disassemble it, found what needs to be edited but cant work out how to re-encode it back into an ELF so it will be usable on the Gear?

Can we do that with the SDK? What format do I need to have the file in after I disassemble it? The SDK has so many import formats I'm not sure where to start.

As how much fun its been to do all this there looks like a downgrader back to Android is now available. If it works then I wont be able to work on this as I will be on Android shortly. If the downgrader fails then I'll get back to this camera thing tomorrow. :)

The downgrader does work and touch works again. :) Tizen was nice but Andoird is lots better so I've gone back.
[Samsung Galaxy Gear] saleand:
new camera by sdk

I created an application AndyCamera.wgt and it works perfectly on my emulator how can I transfer it in gear? I set the time to 120 seconds
[Samsung Galaxy Gear] NakedFaerie:
Use the SDK. Disable the emulator, connect your Gear and use that instead of the emulator. It will install and run it on the Gear.
[Samsung Galaxy Gear] saleand:
this is mai app

Work on my emuator but i can't try on my gear.

4shared.com /file /rgi5bxZNce /AndyCamera .html

you can ?

---------- Post added at 12:54 PM ---------- Previous post was at 12:44 PM ----------

def: function modelsCamera(req) {

/*jshint maxstatements:42*/

'use strict';

var e = req.core.event,

storage = req.core.storage.localstorage,

dateHelper = req.helpers.date,

MAX_RECORDING_TIME = 120000,

VIDEO_LENGTH_CHECK_INTERVAL = 10,

AUTOFOCUS_DELAY = 500,

TAKE_PICTURE_DELAY = 100,

PICTURE_DESTINATION_DIRECTORY = '/opt/usr/media/Images',

VIDEO_DESTINATION_DIRECTORY = '/opt/usr/media/Videos',

STORAGE_SETTINGS_KEY = 'settings',

cameraControl = null,

picturePath = '',

videoPath = '',

cameraSettings = {},

videoLengthCheckInterval = null,

videoRecordingStartTime = null,

videoRecordingTime = 0,

busy = false;
[Samsung Galaxy Gear] kashortiexda:
can you zip the .wgt file and upload, I will try load and test
[Samsung Galaxy Gear] crutzulee:
Man..if you get this working..you would truly be my hero...I would definitely pay for your app..
[Samsung Galaxy Gear] NakedFaerie:
I would but I've downgraded back to Android.

I did put on the emulator and it still only has 10sec of recording time.

And one thing that Tizen does have over Android is battery life. I've already gone down to 5% and have to recharge my Gear. When it was on Tizen it never went under 50% and that was on for 2 days. On Android it went dead after about 5 hours.
[Samsung Galaxy Gear] NakedFaerie:
I edited your app and added more time. Now it records for a few days. lol

I ZIP'd it up so unzip it then SDB it to your Gear
[Samsung Galaxy Gear] Gossieur:
Just uploaded the wgt to my gear ... it doesn't show up anywhere in the apps ?

Seems it shows errors in SDK during installation : Unknown error(42) failed
[Samsung Galaxy Gear] lazer9:
Same here (even after rebooting the Gear).
[Samsung Galaxy Gear] Gossieur:
Indeed .. I also tried to reboot. Not uplaoding the app :(

Also tried it in root mode ... no luck
[Samsung Galaxy Gear] kashortiexda:
AndyCam

[MENTION=1641703]saleand[/MENTION]

the only way I could get the .wgt to load was to remove some of the Privileges in config.xml

The reason it didn't load was because you get an error{42} which has to do with API Developer Privileges on the filesystemjs

It's now working - I just recorded about 45 seconds (of 10,000 !!!)

It doesn't save to the Gear Gallery but you can see your photos and videos when you connect the Gear to your PC by usb under Images or Videos folders respectively.

unzip the attached to get the .wgt

import into sdk

run as Tizen Wearable Web App ( the green triangle at the top, or ffrom the RUN menu, run as... )
[Samsung Galaxy Gear] Gossieur:
Yes !! Working now !!

Splendid work !
[Samsung Galaxy Gear] Gossieur:
But it does save the recording, it only doesn't show up in gallery !!

When you connect to pc you'll find them in the video or images folder.

I gues when you would change the "save folder" to dcim\camera, the files would show in gallery ...
[Samsung Galaxy Gear] saleand:
Andy CAM

Now it works and puts the photos and videos in the IMAGES folder in the folder VIDEOS.

for now the video should be renamed from 3gp to mp4

when I have time I will try to continue

however, hoping that someone will find a way to change the official app
[Samsung Galaxy Gear] crutzulee:
Stupid 8 thanks limit strikes again..

Anyways, Thanks so much to everyone who is working on this!

Sorry for the noobiness, but can someone please explain how to get this onto my Tizen Gear? Do I have to flash the rooted kernel first?
[Samsung Galaxy Gear] NakedFaerie:
I think its already posted on this thread somewhere but get the SDK or just the file SDB.exe and send it that way.

I think the command is SDB PUSH AndyCamera.wgt

If I'm wrong someone else will correct me. :)
[Samsung Galaxy Gear] fogame:
Command to install would be

sdb install <path_to_tpk>

Example:

sdb install /home/tizen/ko983dw33q-1.0.0-i386.tpk

It should install on your watch at that point. Just make sure that you know where your file is and put the path to id

Uninstalling it is another story. You need to have the AppID to uninstall.

sdb uninstall <appid>

Example:

sdb uninstall ko983dw33q

Hope this helps.
[Samsung Galaxy Gear] NakedFaerie:
Thanks for that, I thought I was wrong.
[Samsung Galaxy Gear] BruceFeuillette:
Can we know how the root is done ?

Thanks !
[Samsung Galaxy Gear] NakedFaerie:
Read the first post
[Samsung Galaxy Gear] BruceFeuillette:
I know how to click on buttons. :D

I want to know how the root is done, technically speaking.

The rooted image has 7 more files, including su and some tweaking in the init files. Maybe an automatic patcher could avoid the download of a 385Mb file.
[Samsung Galaxy Gear] fibs:
Feel free to biuld an auto patcher.
[Samsung Galaxy Gear] BruceFeuillette:
It's provided as is. I didn't have the time to try it, I'll let you know later.

Grab xdelta3 and apply patch to the original rootfs.img

xdelta3 : https://code.google.com/p/xdelta/downloads/detail?name=xdelta3-3.0.8.x86-32.exe&can=2&q=

Patch file : https://mega.co.nz/#!JBd01Jbb!eYjmegpLswt87IsRhko2lCsEnTZHjgHTSjDYJ6L5XdQ (1391 Ko, MD5 :8D001E2F639C697B0419603DAA3DAE14)

Command : xdelta3-3.0.8.x86-32.exe -d -s rootfs.img rooTizen_patch test.img

I didn't try to apply it on the Gear but the MD5 are the same after patching and unpacking the img with DiskInternals Linux Reader works fine. All files and folder were added.

MD5 of the Jijonhyuni img : 48E26CF45DB1C4A8BFD76CBFE311F26F

I'll give a try later, I had to go.
[Samsung Galaxy Gear] lazer9:
Has anyone else noticed when going into /About Gear on Gear Manager - Software update.. And clicking on Update

A message:

:confused: Is this going to be causing us a problem in getting updates for Gear Manager, ect... in the future? I'm not sure if it was present this way before rooting but assuming it's because rooted?
[Samsung Galaxy Gear] Gossieur:
I have that message too ... must be due to the rooting ...

On the other hand, I'm not sure wer're going to get much further updates on the Gear1 ;)