yashsingh1/xdaforums huggingface dataset:
[Xoom General] Digital Man:
Been there done that. There are no shortcuts. Good quality takes time or more cores. Or harness the GPU ie CUDA but that causes horrendous macroblocking in bright scenes.

No matter how you sugar coat it, re-encoding video is a time consuming pain in the ass for most people.

I also seem to remember there are multiple versions of the imac, with variable hardware specs, from dual core up to quad core 3.6GHz - so your claim of similar hardware seems unlikely.
[Xoom General] Digital Man:
I appreciate that your trying to help, but those are the settings that I have been using already: 1280, set B Frames to 0, turn off CABAC, turn off 8x8 Transform, and turn off Weighted P frames....

and it is still taking well over 3 hours to re-encode a 1:30 movie.

I understand that lowering the resolution will decrease the encoding time, but I consider that a last resort compromise. In fact I would consider that basically a failure of the XOOM.

I have considered buying an i5 or i7, but I feel stupid buying a new laptop for the sole purpose of encoding for the XOOM, when I could just pick up my Galaxy Tab and just play these videos immediately. No encoding. Just copy them over and play.
[Xoom General] mercurycc:
I am quite sure those videos are not high profile. Their bitrates were around 2M, way below 20M.

And, as I said, I can even do soft-decode to play the 480ps which does not play well with hard-decoding.

480ps, man. 480ps. Stunning.
[Xoom General] Digital Man:
Your sarcasm needs work. It lacks creativity. And removing the original post is just immature.
[Xoom General] alias_neo:
I don't really care about the encoding stage, I have an i7-950 which encodes a blu-ray in handbreak in well under an hour.

What I'd like to know, is are the codecs really this lacking, and will we see a solution?

I, like the OP have a HTC Desire and I could be devastated to find the XOOM can't handle the videos my Desire can.

Does it natively support mkv? I like to watch TV episodes in mkv like the 86MB Big Bang Theory episodes.

All my non-TV stuff I rip myself so I'm not concerned. Other than the DRM wmv I buy. Which play back fine on my galaxy tab.
[Xoom General] Digital Man:
Most TV shows that are 720p mkv, and are privately enoded, and downloaded, average about 1.2 GB and will and not play. Support for MKV as a container isn't a problem, its the profile of the h264 video in the container that is the problem.

If the Video that you like to watch is only 86MB, that doesn't sound like high profile 720p. So it might play, only way to know is to try or download mediaInfo and check its properties.

Good to hear that the i7 that you have can do a blu-ray in an hour. That sounds like what I should do eventually. Wonder if an i5 will do as well. I've heard that the i7, though it has 4 physical cores, is seen as 8 due to multithreading, wheras the i5 is limited to 4.

I watched two re-encoded episodes of fringe last night, and the Video on the XOOM is really amazing. It actually is almost worth the wait.
[Xoom General] alias_neo:
That's correct, it's an 8 threaded processor, running on an Asus ROG III Gene.

As for the videos I'm watching:

Video

ID/String : 1

Format : AVC

Format/Info : Advanced Video Codec

Format_Profile : High@L4.0

Format_Settings_CABAC/String : Yes

Format_Settings_RefFrames/String : 4 frames

Format_Settings_GOP : M=4, N=48

CodecID : V_MPEG4/ISO/AVC

Duration/String : 20mn 24s

BitRate/String : 465 Kbps

Width/String : 624 pixels

Height/String : 352 pixels

DisplayAspectRatio/String : 16:9

FrameRate/String : 23.976 fps

Standard : NTSC

ColorSpace : YUV

ChromaSubsampling : 4:2:0

BitDepth/String : 8 bits

ScanType/String : Progressive

Bits-(Pixel*Frame) : 0.088

StreamSize/String : 67.8 MiB (77%)

They're not 720, but they're nice enough on my Galaxy Tab. They are High Profile @ L4.0 though which I'v heard a lot of bad-mouthing about on the forum lately. I'm no expert on media codecs and frankly couldn't care as long as theyre watchable. I'd love to know I could rip my Blu-Rays at 720p and watch them on the XOOM comfortably though.
[Xoom General] Digital Man:
What you are posting is interesting. Its high profile, but low bit rate. Some of the early claims for the Tegra 2, which is used in the XOOM, said it actually could play high profile but only at a low bit rate, but I haven't heard it confirmed. I suspect this video will not play, but later on I will try encoding a video in a simliar manner to yours and see what happens.
[Xoom General] alias_neo:
Great, if you like I can dropbox the file I have and PM you the link for testing. These files playback flawlessly using the Galaxy Tab with every single player software I have tried, whether hardware or software decoding. FOr them not to play on the XOOM would be a killer.
[Xoom General] Digital Man:
Got your file. Sorry, it plays but with no sound. I tried RockPlayer and Moboplayer and the System Player and all play the same - silent.

The Video is actually pretty good. Smooth and very acceptable. So I guess it can technically play high profile, very low bitrate files - just not with sound. Have to Play around some more and see if I can learn anything else that might get this to play correctly or figure out what the problem is.

Edit: Actually, this is a Divx encoded file, not h264, so that is why it plays. So I am a little surprised about the lack of audio. And its only mp3 audio!!! This is really amazing. I can't believe the XOOM isn't playing this correctly. Has to be a way.

Update: Ok, success! It does play correctly in Rockplayer in software decoding mode. With sound. So it looks like you will have no problem.
[Xoom General] alias_neo:
Interesting, if somewhat concerning that it won't play this in the standard players or with hard-decoding even though it uses mp3 audio.

How about VPlayer Advanced? I find this plays most of my videos nicely on the Tab.
[Xoom General] Digital Man:
Probably just lack of Divx support in hardware. Thats not a big deal, even a single core CPU of lower power can easily decode low res, low bitrate Divx. I don't consider that a flaw at all. Software decoding video like this with the XOOM's dual core A9's is trivial. Results are fine. Just need an app like RockPlayer that does it. XVID files will probably not work in hardware either.

From Motorolas website:

PLAYABLE FORMATS

AAC, H.263, H.264, MP3, MPEG-4, ACC+ Enhanced, OGG, MIDI, AMR NB, AAC+
[Xoom General] alias_neo:
Yeh that's pretty fair I guess. How do you think it would manage if converted to MP4? I can do it on my 950 when I get home and send you it if you like? I'd not mind converting the whole lot if it played in the stock player.
[Xoom General] Digital Man:
You shouldn't obsess about a video like this playing through hardware. There will be little difference in quality. Believe me, I am very obsessive about these things myself.

There are some things that will benefit from re-encoding. This isn't one.

The purpose of hardware decoding is to handle processor-intensive, high bit-rate files. The XOOM's CPU with dual core A9's is already overkill for the type of file that you want to play. Just play it with RockPlayer in Software mode and save yourself the time and trouble.

Edit: To answer your question though: If you really wanted to play it as MP4 then yes, you could probably re-encode it in seconds on your machine, and yes it would play with hardware, but probably with little visible difference.
[Xoom General] alias_neo:
I think I'm misrepresenting my intentions here though. My problem is not hardware/software decoding it's that I don't want to use multiple players or have to specifically choose to software decode, I want to click a video and play it. That's my concern.
[Xoom General] Digital Man:
Oh, I understand.

Yes, if you encode all your videos to MP4, and set RockPlayer to hardware mode by default, then yes you could use one player for everything and not need to select mode.
[Xoom General] alias_neo:
Great, thanks for your help.
[Xoom General] Digital Man:
Happy to help. Just to confirm: The Divx file you sent me re-encodes in Handbrake just fine for hardware playback on the XOOM. Tried it and it plays well with sound in Moboplayer, Rockplayer and the system player. So if you want trouble-free one-click playback and you don't mind re-encoding, then you will have no problem.
[Xoom General] alias_neo:
That's great to know, thanks so much for trying that out, I appreciate the effort.

EDIT: Oh, forgot to ask, can you please let me know which profile you use on handbrake, I remember there was a file round here somewhere for a preset?
[Xoom General] Digital Man:
The link to the Tegra 2 handbrake profile is in this thread, second post from the bottom:

http://xdaforums.com/showthread.php?p=12518448
[Xoom General] mercurycc:
Try again once you got the 3.1 upgrade. I haven't read the whole thread but 3.1 does solve a lot of playback issues with my MP4s.
[Xoom General] kamasi36:
Mod Edit: No piracy in here, please.
[Xoom General] martonikaj:
Is it just me or is this post/link sketchy as hell?
[Xoom General] Lothaen:
its not you
[Xoom General] madsquabbles:
isn't it against forum rules to post links to warez sites?
[Xoom General] willverduzco:
No piracy allowed here. Thread closed.
[G2 and Desire Z Android Development] rmk40:
Mod Edit: Redirect Removed
[G2 and Desire Z Android Development] SomEngangVar:
Cheers, mate. This thing is handy-dandy. Thanks for updating.
[G2 and Desire Z Android Development] :
Thanks rmk and pfak!

If you remember me complaining about garbled calls, I started reflashing my radio and using this patch everytime I would flash a new rom, and I haven't had one garbled call since.

Maybe it's a coincidence, but I'm pretty happy and think that this has helped my issue.

Btw, I have been using the 03.02.18 radio since I believe it was from a Bell Canada release (my carrier).

Thanks!
[G2 and Desire Z Android Development] TheNewGuy:
Thank you for this great tool! it does make it so much easier to test. and previously I did notice an improvement when matching the ril files, although right now I am testing without matching.

but my question is why does no one talk about matching the files "libganril.so " and "librilswitch.so"?

is it known that they are the same? or have they been overlooked? I believe that they are part of the rildeamon.

does anyone have any information on these libraries?

Thanks again for your hard work!
[G2 and Desire Z Android Development] Spastic909:
Holy ****...I'm not sure if they fixed the towers around or if its this tool, but I went from 5Mbs down and 1.2 up and now I'm getting 8Mbs down and 3Mbs up..

Effin sweet
[G2 and Desire Z Android Development] cbmm:
Im def. seeing and improvement on my download speed from doing this. I have never gotten 3 meg due to the building im in and now i get it every time.

Thanks
[G2 and Desire Z Android Development] dwny:
I experienced the importance of the relationship between Radio & Ril with Windows HTC devices. I'm no dev but I've had my suspicion from going thru the threads and reading what people were experiencing flashing the same Roms and Radios.

I'm glad the Devs figured it out.

Once I saw the thread, I installed the patch and let it do its thing because I new I had a mis-match but issues weren't bad enough to try and fix & in the process...break something I couldn't fix.

I'm still a noob with Android & the G2 is my 1st Android device. I started with the HD2 w/Android but that don't count.

With all these words, just trying to say thanks.....

Install the patch people, it works
[G2 and Desire Z Android Development] Unicornasaurus:
Not sure if it's just me, but I applied the update for radio 26.08.04.16_M and started losing 1-2% battery per MINUTE. Flashed Ultimatedroid 3.2.0 again and I'm back to about 3-4% battery per HOUR
[G2 and Desire Z Android Development] rmk40:
This is exactly why I state that the matcher is not to be used on aosp roms. UD is an aosp rom. Please read the details before reporting issues, as this was erroneous, being that you saw completely expected behavior.
[G2 and Desire Z Android Development] Unicornasaurus:
My apologies. I wasn't sure if mine was an AOSP rom (I tend not to know a lot of things). At least I know now! :P
[G2 and Desire Z Android Development] Spastic909:
I'm using UD and it increased my speeds and battery is still the same 17hrs and still at 68%
[G2 and Desire Z Android Development] Beast11:
HOW IS THAT POSSIBLE? loool. MAX I get is like 20 hours on a full battery. Do you not use your phone at all??
[G2 and Desire Z Android Development] David Dee:
RMK: I installed this with your slightly modified leaked Sense 2.3.3 test ROM, so far working perfectly. I am using a NAM Bell Desire Z on Rogers network. Radio version: 26.03.02.26_M. Will post if I observe any problems. Thanks.
[G2 and Desire Z Android Development] theratdude64:
I ran this auto patcher on my CM7 before I saw people saying not recommended for Cyanogen lol. What is the best way to "undo" that? Put a different radio on? or what about different radio, auto match, then go back to this radio? My data speeds are insanely bad, 9kbps up, 6kbps down. :( Unclear on if this is related... but I just wanna do what I can to fix it.
[G2 and Desire Z Android Development] rmk40:
Just re-flash CM7 on top of your existing install. You may also need to re-flash the gapps package after doing so.
[G2 and Desire Z Android Development] theratdude64:
Ahh, so I've had it fixed for a while now lol. Thanks. Wasn't sure if it was something on a deeper level than the rom's like the radio itself
[G2 and Desire Z Android Development] Spastic909:
Lots of texts, some angrybirds, music while driving, the biggest drain for me are streaming videos with vplayer/rockplayer...and I have a mugen
[G2 and Desire Z Android Development] tackleberry:
I'm using a cm7 rom, have not noticed any issues. If there are issues what should I be experiencing or looking for?

sent from the rooty tooty fresh and fruity cm7 nighly powered G2
[G2 and Desire Z Android Development] havocnl:
A quick question on this:

This tools needs a Sense ROM to work, but does this also work on GB Sense ROMs? Or will this have no/negative effect?
[G2 and Desire Z Android Development] Kenzy-FIN:
Reception is propably low in the area, where it does that and the phone tries to hold on the 3G network as long as it can. Dial *#*#4636#*#* and go to phone settings -> choose network mode gsm auto (plr) to make the phone stick to 2G as long as the 3G signal is good. WCDMA preferred tries to hold on the 3G as far as it can wheter the signal is good or not.
[G2 and Desire Z Android Development] GetTargetedFans:
Thanks for the great tip! One thing I noticed is that after a reboot it goes back to WCDMA by default :(, any way to make the change permanent? Thanks, again!
[G2 and Desire Z Android Development] poormanq45:
I just manually changed to the 98 on the latest cm7 nightly.

I haven't really noticed a difference.

I'm using radio 4.12

sent from my G2 running CM7 nightly
[G2 and Desire Z Android Development] Jandyman:
Cell standy is always eating from 44-60% of my battery, in a good fairly constant signal area with 3g signal (no edge) and rils matched. (On miui not overclocked on scary(conservative) governer)

Is this normal comsumption? What drainage does cell standby give ye?

26-10-04-03 radio. . . With . .HTC-RIL_2.2.0098HM
[G2 and Desire Z Android Development] ptesmoke:
yes the automatcher does work with cm nightlies, but you have to mount /system in recovery. no big deal.

obviously they wouldnt reccomend it because if per chance it did cause issues they most certainly do not want to diagnose self inflicted issues.

that said, all the zip does is replace the packaged rils, if your going to have issues youll see them anyways if you replace them yourself.

been using the automatchers with cm nightlies since the beginning, and never had issues or rils not being replaced. mount /system should honestly be common knowledge.
[G2 and Desire Z Android Development] G1ForFun:
The script has it mount system if you open it up and look at it.

Guess from what ur sayin that it doesnt work so u have to mount it manually.
[G2 and Desire Z Android Development] PaganAng3l:
I'm not doubting what you say, but from mine and more than a few other's experiences it does not. I have tried the automatcher numerous times, and went and checked with 'getprop "gsm.version.ril-impl"' only to find out that it changed nothing. Maybe it's something else, but for me and a few others it doesn't work
[G2 and Desire Z Android Development] bombadier:
What about the actual 3 files the automatcher copies over libhtc_ril.so,libreference-ril.so and libril.so in /system/lib are they unchanged?Im on Unity and when I type getprop gsm.version.ril-impl it returns a date from Jan 2011 but if i type ls-l /system/lib/*ril.so, the files have been updated,are you saying that unless getprop "gsm.version.ril-impl returns an updated value the whole business of updating the rils is nonsense?
[G2 and Desire Z Android Development] ptesmoke:
as i said before, if you are using a cm based rom you need to manually mount /system because it fails in the script. therefore it will not do anything.

i dont know how to explain it any simpler.
[G2 and Desire Z Android Development] bombadier:
Or manually push the files,change permissions and job done
[G2 and Desire Z Android Development] EdKeys:
it is suggested to wipe the efs data after changing radio and/or ril files.

"To wipe the efs is general a good idea if you switched radio-firmware or the ril-libs (which might happen when you switch from one rom to another)

have fun - Guhl"
[G2 and Desire Z Android Development] bombadier:
Good advice, but this cats problem is with the script not working/updating the necessary files,don't see how wiping the efs data will help.
[G2 and Desire Z Android Development] EdKeys:
No, wiping the efs data won't help get the rils into the system/lib folder....lol.

I actually move the rils into the system/lib folder inside the zip file before I even flash it. I have the rils in a folder on my sdcard and use Astro to copy and paste them right into the zip after I download it. I believe you need an eng hboot to flash an edited unsigned zip though.
[G2 and Desire Z Android Development] bombadier:
The method I choose is to flash the radio PC10IMG.zip, wipe the efs, Android Commander to send the rils over, job done,peace of Pi** no hardship to perform.

eng hboot is also straight forward to sort out if you follow the instructions,its a must in my opinion.
[G2 and Desire Z Android Development] mystikal87:
Hi guys. I got a noob question cuz I didn't see anything by searching and yet I could be wrong.

Is there a specific thread where one can comment on what radio / ril combination works best with a specific carrier in a specific country? If so could someone guide me there?

Appreciate the assistance
[G2 and Desire Z Android Development] ptesmoke:
well yea that works too hehehe, but if someone cant mount a location then flash a zip how can we expect them to manually edit permissions? :p

and yes efs wipe is always a must when switching radios/libs
[G2 and Desire Z Android Development] bombadier:
Yeah good point,suppose all I am trying to say is that there is enough comprehensive material around on the subject that if people do their homework,the the whole business of radios isnt that perplexing, changing permissions is nothing more complicated than using a file explorer (ES file explorer set with root explore and mount file system enabled) to navigate to the files long press,choose properties and check the box) surely anyone who can use a computer is capable of doing this.
[G2 and Desire Z Android Development] HibikiRush:
I see that the Vision_Radio_12.52. 60.25_26.08.04.30 is not listed in the supported list. Does this mean I should not run this if I have that specific radio?
[G2 and Desire Z Android Development] bombadier:
What ROM you running?Think that one is recommended for Cyanogen 7.

No no you should be ok,so far I have found every radio works with every ROM,some specific radios are recommended for certain ROMS but Ive had no problems with a radio/ROM combination not working,try a new radio see if your performance is improved,if not flash the same one or try a different one,as long as you can follow instructions there is nothing to fear from flashing radios.

P.S Remember to use the wipe_efs when changing radios.
[G2 and Desire Z Android Development] rmk40:
Removed and closed thread.
[G2 and Desire Z Android Development] qpop:
Hi, any news on an update for the new radio? 04.30?
[G2 and Desire Z Android Development] Carphedon:
+1, an update would be awsome.

Since these are the rils out of a gingerbread test rom they may work with cyanogenmod or other non sense roms right?
[G2 and Desire Z Android Development] EdKeys:
26.08.04.30 radio ril files....not flashable (need rmk for that!)
[G2 and Desire Z Android Development] sino8r:
Thanks dude! Saved me an entire rom download for now....

Guys, remember to change your permissions after pushing these.
[G2 and Desire Z Android Development] d@rklink:
What permissions need to be changed? I pushed the new RIL's for the new radio without any issues. Should I have done something more?
[G2 and Desire Z Android Development] Wifiguy:
I'm very interested in libganril.so and librilswitch.so as well.

I pulled them out of the leaked HTC non-sense ROM, Vision_Gingerbread_S_TMOUS_2.13.531.5_Radio_12.52.60.25_26.08.04.30_M3_test_184611, when I was grabbing libril.so libreference-ril.so and libhtc_ril.so.

I only used the usual three when flashing 26.08.04.30 but would really like to know what libganril and librilswitch would do.
[G2 and Desire Z Android Development] coszy:
please tell me how to get this file into my phone. thank you
[G2 and Desire Z Android Development] EdKeys:
Unzip the 3 files in the zip to a folder on your sd card and use root explorer or another similar app to copy them and place them in the system/lib folder. You can also unzip that file on your computer and use adb to push them to system/lib. Then reboot.
[G2 and Desire Z Android Development] coszy:
i tried using astro, but copy failed.

am i missing something?

how about using terminal?
[G2 and Desire Z Android Development] shenlei089:
04.30？？？
[G2 and Desire Z Android Development] TheNewGuy:
I still have heard nothing about it.... lately I have been exp without matching the ril files.... and I have even played with removing all referances to libranril. so and librilswitch. so from the build. prop... and only referancing the libril_htc. so... I have had decent results so far... so my current belief is that those files are an alternative way to handle the switch to different bands...
[G2 and Desire Z Android Development] MrFrankfromCM:
So what could be wrong if I copied all 3 files over to /system/lib after flashing the 04.30 radio and now I do not get a data connection?

Running G2
[G2 and Desire Z Android Development] bigmoew:
I have this same problem, just posted about it in the PC10IMG Radio thread. When I went to check the mobile network connection, I noticed the APN list is gone. In fact, i tried to manually input the settings myself (I was flashing multiple things at the time and had yet to identify the rils as the cause of the data connection loss), but it wouldn't save due to an error saying that I didn't have a sim card inserted, even though that wasn't the case. Going back to 02.26 rils fixed it for me.
[G2 and Desire Z Android Development] MrFrankfromCM:
I too have the apn issue. Guess I'll Go back too.
[G2 and Desire Z Android Development] Rumbi:
Had the same problem with the latest rils/radio... No APN-List with Message "No SIM card"
[G2 and Desire Z Android Development] Jonny4911:
Make sure you guys set the correct permissions when you copy it over using root explorer, that is what i did and i have no issues!