[MOD][Feb 14 2012] tbalden's mt4gs bruteforce TV-out app 1.2 beta

Search This thread

tbalden

Recognized Developer
tbalden's mt4gs bruteforce tvout


Standalone tvout app runnable from Terminal Emulator.


If you're on stock Doubleshot roms and its derivatives you most probably DON'T need this app, it will work out of the box!
This app won't work on any other device, if it doesnt have an identical PAL/NTSC tvout graphics device of /dev/graphics/fb1

35a4p4g.jpg


INSTRUCTIONS:

1. Download the flashable, install from your Recovery.
2. Install Terminal Emulator
3. If you don't have busybox with your ROM install busybox (https://market.android.com/details?id=stericson.busybox) (pyroice roms all have it)
4. Plug in your Jack-AVC composite cable to your TV properly, turn on TV to the right mode. only AFTER that, plug in your cable to the phone's jack.
5. Start Terminal Emulator,
6. and according to your tv standards type in one of the appropiate command:


PAL
Code:
~ stvpal
NTSC
Code:
~ stvntsc
PAL-N
Code:
~ stvpaln
PAL-M
Code:
~ stvpalm

It will ask for Root permissions. Grant it!
Will start soon. Enjoy! :)


On my HDTV i could only test stvpal, probably it will work on any HDTV. If using with older TVs, please report back if one of these scripts works for the tv. Not that I can fix it, but im curious. :p

The app will stop if you plug off the cable. Restart the app if you replug.


http://www.youtube.com/watch?v=HcAiXyzOe-Q

DEVS, PLEASE DON'T INCLUDE THIS IN YOUR ROMS. Rather link to this post.



For best results use it with Pyr'o'Ice ICS 1.0.2 or Pyr'o'Ice Sense 1.0.1, as audio-to-tv most probably won't work with other ROMs.


KNOWN ISSUES:


- Glitches some apps, especially those that use Alpha/Transparency in 2D.
- Glitchy with Live wallpapars and launcher transitions
- Frame rate is sometimes lagging, but since 1.1 much better
- Audio out might not work to tv (it works with Pyr'o'Ice ICS 1.0.2 and Pyr'o'Ice Sense 1.0.1)
- check the youtube video above to see how it works

BE AWARE THE APP IS USING YOUR CPU EXTENSIVELY, SO IT'S ADVISED TO USE YOUR CHARGER IF USING FOR EXTENDED TIMES!


DONATION:


Please consider donation if you like how the app works with your phone, it took a big heap of time to work on this! Also hit the Thanks button if you like this.

Download:
http://www.4shared.com/zip/fPLcd4gW/...rce-tv-v1.html
DOWNLOAD
http://www.4shared.com/zip/kXSrf0OW/tbalden-mt4gs-bruteforce-tv-v1.html
md5sum 5625003c57a893d840d329d88a668ada


DEVS, PLEASE DON'T INCLUDE THIS IN YOUR ROMS. Rather link to this post.


Advice:

- For gallery camcorded video playback the Gingerbread movie playback seemed to work better (no black glitches), while ICS had some troubles.
- for video playback you can try different apps. Some might result with more glitches while others with less or none. Let's try to find the best player for this app, if we can.

- some glitches appear momentarily when popups happen like Media volume setting popup.

Btw, look for a cable something like this:
51DIRBl7CkL._SL500_AA300_.jpg



ADDON:

Check this for easier use like a shortcut on your Home screen (needs GScript Lite from market): http://xdaforums.com/showpost.php?p=22269011&postcount=12 Thanks dillalade!


CHANGELOG
14 Feb 2012 - Further speed improvement with busybox nice command(1.2)
13 Feb 2012 - Speed improvements (1.1)
8 Feb 2012 - Initial release (1.0)
 
Last edited:

dillalade

Senior Member
Sep 28, 2009
1,543
366
Richmond
Outstanding!

For a first edition beta - this is awesome.

I'm a PAL tv owner in UK (LG 720p 32" LCD) - stvpal, stvpaln, stvpalm all appear very clear on the TV screen, nice job :)

As well as the known issues detailed in OP first usage for me illustrates the same 'incorrect' aspect ratio on my TV as your Youtube demo.

By incorrect I mean the horizontal/width is to wide (slight cut off on both left/right side), however the height seems fine.

Very nice Tballer :)


[* PyroIce ICS on DS/MT4gS *]
 
Last edited:
  • Like
Reactions: tbalden

dillalade

Senior Member
Sep 28, 2009
1,543
366
Richmond
thanks for testing. Were the original roms tvout picture fitting perfectly?

i hope someone with ntsc or older tv (crt) can test this, but the real fun is to have it on hdtv. :)

The original stock rom would output the correct apect ratio to the tv (no cut off) perfectly - adjusting portrait/landscape appropriately.

On stock, the output to tv would reflect the correct persepective from the phone. Hence portrait mode on phone comes up portrait on tv (hence central on the tv screen). Again if phone is in landscape mode this is then reflected on tv screen by filling the tv screen in landscape mode without cutoffs.

I am using a HD TV, if that's what you mean.


[* PyroIce ICS on DS/MT4gS *]
 

tbalden

Recognized Developer
The original stock rom would output the correct apect ratio to the tv (no cut off) perfectly - adjusting portrait/landscape appropriately.

On stock, the output to tv would reflect the correct persepective from the phone. Hence portrait mode on phone comes up portrait on tv (hence central on the tv screen). Again if phone is in landscape mode this is then reflected on tv screen by filling the tv screen in landscape mode without cutoffs.

I am using a HD TV, if that's what you mean.


[* PyroIce ICS on DS/MT4gS *]

i wont struggle with the portrait mode, its pretty much doesnt make sense to have it. but i will look at correcting the ration, although that means loosing data...the tvout device has a bigger screen to fill in horizontal resolution, a shame its not fully displayed on the tvs... :(
 

dillalade

Senior Member
Sep 28, 2009
1,543
366
Richmond
i wont struggle with the portrait mode, its pretty much doesnt make sense to have it. but i will look at correcting the ration, although that means loosing data...the tvout device has a bigger screen to fill in horizontal resolution, a shame its not fully displayed on the tvs... :(

I agree, Portrait mode is perhaps not needed, unless some gamers play some games with preference in portrait mode.

Ratio, frame rate & glitch is all that's desired I guess.

I'm unsure as to why the output to tv is cut off slightly, but I'm sure some tweaking on your end will make good ;)

Edit:
To make usage of this feature a little easier for users, I've created the necessary gscript scripts to fire up your 'tv out app' from either within gscripts or even better - add a homescreen 'gscript widget' for your appropriate tv standard (ntsc or pal/n/m) using the appropriate script for your tv.

The download below is a zip containing a gscript folder itself containing 4 scripts. Unzip this to your root sdcard such you have the gscript folder on your sd then install gscript. (Alternatively extract the individual gscript(s) and place into your pre existing gscript folder if already installed.)

Enjoy ;)

http://db.tt/4SQ9gOlg


[* PyroIce ICS on DS/MT4gS *]
 
Last edited:

tbalden

Recognized Developer
i hope someone with a CRT tv will check this, if there's any at all these days. :) I want results of that before tweaking the ratios. Till then im looking into mplayer-android and video playback to tvout separately... i can only hope i can compile it... :) its a rather deserted project since more than a half year
 

leoilios

Senior Member
Oct 4, 2010
286
26
What resolution are you getting once you are connected to an hd tv? This capability always seemed pointless to me. I don't understand what the point is since I would expect bad quality on red/white/yellow cables going into a tv

Sent from my RubiX ICS Infused using Tapatalk
 

tbalden

Recognized Developer
What resolution are you getting once you are connected to an hd tv? This capability always seemed pointless to me. I don't understand what the point is since I would expect bad quality on red/white/yellow cables going into a tv

Sent from my RubiX ICS Infused using Tapatalk

720x576 in theory. pointless or not, its fun to play games on tv either way. I wish we had the MHL chip, but we have no way to have that confirmed yet... and by default jack tvout is the only option now.
 

dillalade

Senior Member
Sep 28, 2009
1,543
366
Richmond
i hope someone with a CRT tv will check this, if there's any at all these days. :) I want results of that before tweaking the ratios. Till then im looking into mplayer-android and video playback to tvout separately... i can only hope i can compile it... :) its a rather deserted project since more than a half year

Re: mplayer, the dev Ajeet is very helpful I'm sure he can help (hopefully) :)

I will try with crt later

[* PyroIce ICS on DS/MT4gS *]
 

dillalade

Senior Member
Sep 28, 2009
1,543
366
Richmond
What resolution are you getting once you are connected to an hd tv? This capability always seemed pointless to me. I don't understand what the point is since I would expect bad quality on red/white/yellow cables going into a tv

Sent from my RubiX ICS Infused using Tapatalk

Far from pointeless I think.
Having my slingplayer & plex servers through my phone to any tv under wifi worldwide is nothing but super rich feature.

Nonetheless ;)

Fair play its not mhl but its better then watching lenghty streams on device only - options is what this feature provides.


[* PyroIce ICS on DS/MT4gS *]
 

leoilios

Senior Member
Oct 4, 2010
286
26
Far from pointeless I think.
Having my slingplayer & plex servers through my phone to any tv under wifi worldwide is nothing but super rich feature.

Nonetheless ;)

Fair play its not mhl but its better then watching lenghty streams on device only - options is what this feature provides.


[* PyroIce ICS on DS/MT4gS *]

I've already got my laptop streaming 1080p on my 40 inch for game emulation, porn, and youtube =)
Sent from my RubiX ICS Infused using Tapatalk
 

dillalade

Senior Member
Sep 28, 2009
1,543
366
Richmond
I've already got my laptop streaming 1080p on my 40 inch for game emulation, porn, and youtube =)
Sent from my RubiX ICS Infused using Tapatalk

Oh but havn't we all ;)

I personally don't take my lappy with me everywhere I go... Hence i like that this device can feed any tv with your sdcard vids, youtube, youjizz, pron collection, slingplayer & plex servers allbeit in SD quality.

I have a spare AV lead in my car, for if whenever I'm out at a friends or wherever and we may want to watch some youtube or watch an entire series or movies from my plex servers or my slingplayer via my phone to pretty much any tv.

Point being we don't tend to go everywhere with our laptops. Your scenario illustrates home usage. Where as my angle/perception of this tvout feature is that the device is capable (ok not at 1080p HD but rather SD) of general playback & streaming in an utterly 'mobile manor.'

Which is the feautre rich aspect I refer to. Rather then the loss in signal quality you're stumbling on, I'm more for this feature as an extention to the swiss army type phone we have.

We use our phones in different ways ;)


[* PyroIce ICS on DS/MT4gS *]
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    tbalden's mt4gs bruteforce tvout


    Standalone tvout app runnable from Terminal Emulator.


    If you're on stock Doubleshot roms and its derivatives you most probably DON'T need this app, it will work out of the box!
    This app won't work on any other device, if it doesnt have an identical PAL/NTSC tvout graphics device of /dev/graphics/fb1

    35a4p4g.jpg


    INSTRUCTIONS:

    1. Download the flashable, install from your Recovery.
    2. Install Terminal Emulator
    3. If you don't have busybox with your ROM install busybox (https://market.android.com/details?id=stericson.busybox) (pyroice roms all have it)
    4. Plug in your Jack-AVC composite cable to your TV properly, turn on TV to the right mode. only AFTER that, plug in your cable to the phone's jack.
    5. Start Terminal Emulator,
    6. and according to your tv standards type in one of the appropiate command:


    PAL
    Code:
    ~ stvpal
    NTSC
    Code:
    ~ stvntsc
    PAL-N
    Code:
    ~ stvpaln
    PAL-M
    Code:
    ~ stvpalm

    It will ask for Root permissions. Grant it!
    Will start soon. Enjoy! :)


    On my HDTV i could only test stvpal, probably it will work on any HDTV. If using with older TVs, please report back if one of these scripts works for the tv. Not that I can fix it, but im curious. :p

    The app will stop if you plug off the cable. Restart the app if you replug.


    http://www.youtube.com/watch?v=HcAiXyzOe-Q

    DEVS, PLEASE DON'T INCLUDE THIS IN YOUR ROMS. Rather link to this post.



    For best results use it with Pyr'o'Ice ICS 1.0.2 or Pyr'o'Ice Sense 1.0.1, as audio-to-tv most probably won't work with other ROMs.


    KNOWN ISSUES:


    - Glitches some apps, especially those that use Alpha/Transparency in 2D.
    - Glitchy with Live wallpapars and launcher transitions
    - Frame rate is sometimes lagging, but since 1.1 much better
    - Audio out might not work to tv (it works with Pyr'o'Ice ICS 1.0.2 and Pyr'o'Ice Sense 1.0.1)
    - check the youtube video above to see how it works

    BE AWARE THE APP IS USING YOUR CPU EXTENSIVELY, SO IT'S ADVISED TO USE YOUR CHARGER IF USING FOR EXTENDED TIMES!


    DONATION:


    Please consider donation if you like how the app works with your phone, it took a big heap of time to work on this! Also hit the Thanks button if you like this.

    Download:
    http://www.4shared.com/zip/fPLcd4gW/...rce-tv-v1.html
    DOWNLOAD
    http://www.4shared.com/zip/kXSrf0OW/tbalden-mt4gs-bruteforce-tv-v1.html
    md5sum 5625003c57a893d840d329d88a668ada


    DEVS, PLEASE DON'T INCLUDE THIS IN YOUR ROMS. Rather link to this post.


    Advice:

    - For gallery camcorded video playback the Gingerbread movie playback seemed to work better (no black glitches), while ICS had some troubles.
    - for video playback you can try different apps. Some might result with more glitches while others with less or none. Let's try to find the best player for this app, if we can.

    - some glitches appear momentarily when popups happen like Media volume setting popup.

    Btw, look for a cable something like this:
    51DIRBl7CkL._SL500_AA300_.jpg



    ADDON:

    Check this for easier use like a shortcut on your Home screen (needs GScript Lite from market): http://xdaforums.com/showpost.php?p=22269011&postcount=12 Thanks dillalade!


    CHANGELOG
    14 Feb 2012 - Further speed improvement with busybox nice command(1.2)
    13 Feb 2012 - Speed improvements (1.1)
    8 Feb 2012 - Initial release (1.0)
    3
    i wont struggle with the portrait mode, its pretty much doesnt make sense to have it. but i will look at correcting the ration, although that means loosing data...the tvout device has a bigger screen to fill in horizontal resolution, a shame its not fully displayed on the tvs... :(

    I agree, Portrait mode is perhaps not needed, unless some gamers play some games with preference in portrait mode.

    Ratio, frame rate & glitch is all that's desired I guess.

    I'm unsure as to why the output to tv is cut off slightly, but I'm sure some tweaking on your end will make good ;)

    Edit:
    To make usage of this feature a little easier for users, I've created the necessary gscript scripts to fire up your 'tv out app' from either within gscripts or even better - add a homescreen 'gscript widget' for your appropriate tv standard (ntsc or pal/n/m) using the appropriate script for your tv.

    The download below is a zip containing a gscript folder itself containing 4 scripts. Unzip this to your root sdcard such you have the gscript folder on your sd then install gscript. (Alternatively extract the individual gscript(s) and place into your pre existing gscript folder if already installed.)

    Enjoy ;)

    http://db.tt/4SQ9gOlg


    [* PyroIce ICS on DS/MT4gS *]
    2
    frame lag is quite severe playing super mario kart. could be the emulator?

    check without tvout. if its ok, then its the tvout app. it's defiinitely not a champ in frame rate, its coming from its nature how it's working, it can't be much better. Stock ROM's overlaying tvout is much better, but i couldnt figure that out.
    2
    much appreciated!

    last missing peace for wireless sixaxis + tv out

    Done!!

    Check the alpha3 + my latest kernel fix flashable in the cm9 thread.

    Sent from my myTouch_4G_Slide using Tapatalk 2
    1
    whoa, great work!

    But... doesn't this belong more in the apps' subforum? :p

    Well, its under development mod. Ive read the rules to check exactly upon that, but if any mod feels it doesnt belong here, ill move.