[DEV] Samsung Smart View (Welcoming more help)

Search This thread

Dblfstr

Senior Member
Mar 25, 2010
2,211
745
40
Sorry, lack of help and commitment, along with me not being able to test any more.

The best I can do now is use this thread to host version of the app. If they are uploaded by you.

Feel free to continue discussion.








old stuff:
This thread was to be dedicated to the development of the Samsung Smart View App; trying to get it running on Non-Samsung devices for those of use with BADASS Samsung TVs that want to test out the "DualView" mode.
 

Attachments

  • com.samsung.smartview-201-2.3.6.apk
    8 MB · Views: 4,425
  • icon.png
    icon.png
    7.2 KB · Views: 32,177
  • com.samsung.smartview-2.4.0.apk
    7.8 MB · Views: 7,028
Last edited:
  • Like
Reactions: LuckOne79

Dblfstr

Senior Member
Mar 25, 2010
2,211
745
40
Sorry, I assumed that if you post into S2 forum... you have that phone.
I just extract it for you, don't say we are not nice at XDA. :)

Thanks for posting the app, I will add it to the first post directly here on xda.

No, I do not have a Galaxy S phone. But I posted here in the S2 forum because you guys have access to the Samsung app and I do not. In fact, I cannot even install it on my phone... yet.

There are many many threads talking about the app and asking for links. Everyone wants to link to the market, which is not good since we cannot download it. Finally someone, you, were smart and kind enough to post the app directly.

Now if I can get it open and get it working with my HTC HD2 and my new Samsung 55" LED LCD 120Hz 3D 1080p TV :D

---------- Post added at 08:42 AM ---------- Previous post was at 08:27 AM ----------

Now, can someone with an S2 post the contents of their build.prop?
 
Last edited:

TECK

Axivo Developer
Jul 6, 2011
795
300
Montreal
www.axivo.com
Here it is my /system/build.prop on a XXKG3 firmware:
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GINGERBREAD
ro.build.display.id=GINGERBREAD.XXKG3
ro.build.version.incremental=XXKG3
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.4
ro.build.date=Wed Jul 20 19:59:13 KST 2011
ro.build.date.utc=1311159553
ro.build.type=user
ro.build.user=se.infra
ro.build.host=sep-35
ro.build.tags=release-keys
ro.product.model=GT-I9100
ro.product.brand=samsung
ro.product.name=GT-I9100
ro.product.device=GT-I9100
ro.product.board=GT-I9100
ro.product.cpu.abi=armeabi-v7a
# Samsung Specific Properties
ro.build.PDA=I9100XXKG3
ro.build.hidden_ver=I9100XXKG3
ro.build.changelist=401405
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=s5pc210
# ro.build.product is obsolete; use ro.product.device
ro.build.product=GT-I9100
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I9100-user 2.3.4 GINGERBREAD XXKG3 release-keys
ro.build.fingerprint=samsung/GT-I9100/GT-I9100:2.3.4/GINGERBREAD/XXKG3:user/release-keys
# Samsung Specific Properties
ro.build.PDA=I9100XXKG3
ro.build.hidden_ver=I9100XXKG3
ro.build.changelist=401405
ro.tether.denied=false
ro.flash.resolution=1080
# end build properties
#
# system.prop for asop5000
#

rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
dalvik.vm.heapsize=64m

# Samsung USB default mode
persist.service.usb.setting=0
dev.powersave_fps=0

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.locationfeatures=1
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=2.3_r5
media.stagefright.enable-player=false
media.stagefright.enable-meta=false
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=false
dev.sfbootcomplete=0
ro.com.google.clientidbase=android-samsung
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.locationfeatures=1
keyguard.no_require_sim=true
ro.config.ringtone=S_Over_the_horizon.ogg
ro.config.notification_sound=01_Sherbet.ogg
ro.config.alarm_alert=Good_Morning.ogg
ro.config.media_sound=Media_preview_Touch_the_light.ogg
ro.opengles.version=131072
ro.secdevenc=true
ro.wtldatapassword=true
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
 
  • Like
Reactions: Dblfstr

modchen

Member
Jul 14, 2008
31
3
I did run logcat (HTC Desire HD), seems, there are some libraries missing :


09-15 13:32:02.660 W/PackageManager( 1625): clear PackageParser.PARSE_CHATTY
09-15 13:32:02.660 E/PackageManager( 1625): Package com.samsung.smartview requires unavailable shared library com.samsung.device; failing!
09-15 13:32:02.660 W/PackageManager( 1625): Package couldn't be installed in /data/app/com.samsung.smartview-1.apk

---------- Post added at 12:24 PM ---------- Previous post was at 11:35 AM ----------

asking google, I suppose, the library can be found on /system/framework/

can someone please take a look, if there is "com.samsung.device.jar" or similar on his S2 ?
 
Last edited:

Dblfstr

Senior Member
Mar 25, 2010
2,211
745
40
Did you run adb logcat to see what is going on?

Good morning. No, I have yet to check the log for the error... but someone else did for us:

I did run logcat (HTC Desire HD), seems, there are some libraries missing :


09-15 13:32:02.660 W/PackageManager( 1625): clear PackageParser.PARSE_CHATTY
09-15 13:32:02.660 E/PackageManager( 1625): Package com.samsung.smartview requires unavailable shared library com.samsung.device; failing!
09-15 13:32:02.660 W/PackageManager( 1625): Package couldn't be installed in /data/app/com.samsung.smartview-1.apk

---------- Post added at 12:24 PM ---------- Previous post was at 11:35 AM ----------

asking google, I suppose, the library can be found on /system/framework/

can someone please take a look, if there is "com.samsung.device.jar" or similar on his S2 ?


Good idea, we need a G22 user to check for com.samsung.device.jar; would it be .jar .so, or .lib?
 

modchen

Member
Jul 14, 2008
31
3
Thank you for the files, I succeeded installing it now (without the .odex file). As I'm currently at work, I can't do further tests, to see if everything works correctly. I'll try at home this evening.
 
Last edited:
  • Like
Reactions: Dblfstr

Dblfstr

Senior Member
Mar 25, 2010
2,211
745
40

Yes, thanks for the files.

Thank you for the files, I succeeded installing it now (without the .odex file). As I'm currently at work, I can't do further tests, to see if everything works correctly. I'll try at home this evening.

1. Adding system/framework/com.samsung.device.jar and etc/permissions/com.samsung.device.xml

2. Rebooting

3. Installing Samsung Smart View

4. Install successful.

Tested on my TV, the remote works, but there is not Dual View that I can find.
 
Last edited:

modchen

Member
Jul 14, 2008
31
3
During lunchtime I've looked further into it, and got stucked at this point. It seems, Samsung is checking if you have Samsung Device

Deodexing com.samsung.device.odex pulls out this :

Code:
.class public final Lcom/samsung/device/Features;
.super Ljava/lang/Object;
.source "Features.java"


# static fields
.field public static final VERSION:Ljava/lang/String; = "1.0"


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 3
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static isSamsungDevice()Z
    .registers 1

    .prologue
    .line 7
    const/4 v0, 0x1

    return v0
.end method
 

modchen

Member
Jul 14, 2008
31
3
so if everything is working ? I deodexed the file, only as I was curious, maybe it not's required modifying bytecode, to get the app working :) As I said, I'll try everything this evening at home with my TV :)
 

Dblfstr

Senior Member
Mar 25, 2010
2,211
745
40
so if everything is working ? I deodexed the file, only as I was curious, maybe it not's required modifying bytecode, to get the app working :) As I said, I'll try everything this evening at home with my TV :)

Everything except dual view. I do believe my TV (UN55D6900WFXZA) is supported. But I cannot even the see the option for it.

I will look through the apk I guess.


Edit1 :
Well, all the Dual View files are there. Perhaps my TV is not supported or we are missing something. Maybe you will have better luck this evening. Until then, I will be googling. :D

Edit 2 :
Googling lead me to to this "This App currently works with Samsung Smart TV D7000, D8000, and D9500", so maybe my TV is not supported. Although, in the app itself it lists:
Code:
string name="string_manual_samsung_app_dialog">
TV released in 2010 with [email protected] feature\n 
- LCD 650, LED 6500 and PDP 6500, and more recent models.\n\n 

TV released in 2011 with AllShare feature\n 
- LCD 550, LED 5500 and PDP 5500 and more recent models.\n\n 

Blu-ray disc player released in 2011 with Smart Hub feature\n\n

- BD-Player D5300 and more recent models.\n 
- BD-HTS D5000 and more recent models.\n 
- BD-AVR D7000\n 
- BD-HDD Combo D6900/8200/8500/8900\n</string>

<string name="string_manual_Bluetooth_Power_on_btn_dialog">
TV released in 2011 with network capability \n 
- Models greater or equal to LED 8000</string>
 
Last edited:

modchen

Member
Jul 14, 2008
31
3
I've a D8090 at home, I'll inform you about results. But I think, this is related to your TV.
 

john21511

Senior Member
Aug 11, 2011
318
22
Colorado Springs
I have a bd 5500 and in theory this dual view would work on my phone. The app for the bd player on the market only controls the box and doesn't have a dual view mode.

Sent from my HTC Sensation 4G using xda premium
 

Dblfstr

Senior Member
Mar 25, 2010
2,211
745
40
I've a D8090 at home, I'll inform you about results. But I think, this is related to your TV.

I think so too.

---------- Post added at 08:59 AM ---------- Previous post was at 08:31 AM ----------

I made a flashable zip. I will test it first before I post so I do not screw up anybody's phone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    custom version 4.0.5

    after learning a lot from the progress Dblfstr and Modchen had made, i was reading a lot about
    java and smali code. so i was able to make custom versions of the newest version 4.0.5.

    all 3 versions do the following:
    - no additional patch is needed for installation (com.samsung.device.jar/xml)
    - no sec_feature.jar/xml is needed
    - no libinvoker.so is needed
    - make the prog think it is on a samsung galaxy S2
    (MANUFACTURER,DEVICE,MODEL and PRODUCT - NOT the BOARD!)

    custom version: download deleted

    custom fullscreen version: download deleted
    + works in fullscreen mode (for device with on-screen buttons like the kindle fire)

    custom debug version: download deleted
    + every possible logging is enabled (for testing on new devices, to see what's going on)

    tested on:
    - kindle fire (gingerbread)
    - galaxy tab 1 (gingerbread)
    - galaxy s4 mini (jelly bean)

    on the samsung devices the original version is working too - no need to spoof the device.

    nevertheless following things are still true:
    - on non samsung devices some force closes and hangs will likely happen on the first start.
    if you see "multi.display is starting" you have a good chance.
    see this post from nygmam: click here
    - there seems to be a dependency with the original libmedia.so and/or libmedia_jni.so of the device.
    some functions in this files seem to be needed (unsatisfied link error).
    3
    Please,
    Can anyone mod the Smart view 2.0 for 2014 tv models?
    This Smart view 1.0 doesn't work with the 2014 models, H series
    3
    did the test versions only work on samsung devices?

    i have an Desire HD, and i even cant install the app....

    Need the patch for non Samsung devices. I had created one, but I took it down.

    This is it I think:

    Have to flash through clockwork mod

    View attachment PatchSamsungView.zip
    2
    Sorry, I assumed that if you post into S2 forum... you have that phone.
    I just extract it for you, don't say we are not nice at XDA. :)
    2
    Ok guys...just wanted to update you with something I found...

    My setup:

    Samsung Galaxy Tab 2 P5110 10.1
    Samsung UE55ES8000

    The latest version of this app works with 'DualView' when watching through the TV's built in antenna only ie Freeview. If you switch to another source, such as HDMI, the 'DualView' feature immediately switches off and the message 'unavailable' appears.

    The info on the PlayStore says:

    "Due to a change in content protection rules, the Dual View feature within Samsung Smart View may not be available on certain mobile devices after August 10, 2012"

    Tried an older version of the app, and all sources DO WORK.

    However, the app is still very poor for me, with constant stuttering and even disconnection on occasion. My home network is more than capable of supporting this app, so it is definitely the app at fault.

    Just thought that might be helpful to those trying it. :good: