yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] dubbeld00:
Title says it all... I'm trying to get Flash working on regular 1.5 builds (like JF builds). It's not working at the moment so I hope you guys can help me.

Files that are related to get flash working:

SYSTEM -- LIB

libfl.so (registered as com/htc/flash/FlashLiteLib)

libflashlite.so

libflashsnddec.so

libwebcore.so ???

libdrmdec.so ???

libdrmdec_jni.so ???

SYSTEM -- APP

Browser.apk (which is using com.htc.framework, com.htc.android.pimlib)

and needs the following provider: browser.htc.util.HTCBrowserProvider

Browser.apk uses assets/plugins/flashplugin.so for flash, so we might build this into the older browser...

HTMLViewer.apk ??? (probably not)

SYSTEM -- FRAMEWORK

com.htc.resources.apk (not sure)

com.htc.android.easopen.jar (not sure)

com.htc.android.pimlib.jar (needed for browser)

com.htc.framework.jar (needed for browser)

com.scalado.util.ScaladoUtil.jar (probably not)

SYSTEM - ETC - PERMISSIONS

platform.xml

com.htc.framework.xml

You can get those files from http://xdaforums.com/showthread.php?t=521059 the Haykuro ROM (browser.apk and HTMLviewer are in the apps_s zip file, other files in the rom itselve).

After copying all these files... it simply won't work. (Browser is not visible and after reboot it won't boot (no it's not broken, you are able to get into recovery)).

(libfl.so, libflashlite.so or libflashsnddec.so are hanging during boot... when removing these files, your system will boot again).
[G1 Android Development] cyanogen:
HTC added some multitouch features into the core framework, so you need their version of the framework jars too. I dexdumped their version of the browser and it looks like the code to actually turn on the flash plugin is pretty minimal (just a couple of settings), it can probably be reverse engineered.

On the bright side, this is probably pre-release code from Adobe. Which means something official is right around the corner.
[G1 Android Development] dubbeld00:
Hmm true... but I don't know if Adobe will release it for the G1, just like Opera which is also only releasing for HTC WinMo phones...

I thought it might be easy to get flash to work, since the browser is "plugin based", but if you put the flashplugin.so in /asset/plugins/ the browser doesn't load the plugin... And plugins also aren't loaded by the AndroidManifest.xml... So I really don't know how to get the plugin itselve to work in the Android1.5 browser.

What I am trying to do is only get the libfl.so, libflashlite and libflashdec in /system/lib/, and create a modified Browser.apk... so you don't need the htc framework at all... but I guess it isn't going to work like this.
[G1 Android Development] cyanogen:
02c5b6: 6e20 d302 3200 |0091: invoke-virtual {v2, v3}, Landroid/webkit/WebSettings;.setFlashPlayerEnabled:(Z)V // method@02d3

Is really all the browser does.

Sadly this method is only in the HTC modified framework. And there is quite a lot of flash-related code in there too.
[G1 Android Development] funbacon:
Multi-touch ? I see that Browser doesn't have zoom feature. Does Hero support multi-touch ?
[G1 Android Development] bestwebs:
Hi Fun,

Yes in Hero,

Double tap to zoom.

:)
[G1 Android Development] blackeyedbrian:
in the current branch of (cupcake) code, the browser has a setting to set the plugin path via the database. if you get that working, you should be able to drop plugins into a folder and have them work.
[G1 Android Development] cyanogen:
It looks like they hard-coded a bunch of other stuff into android.webkit.WebView and WebViewCore do to the flash: URL handling, so it's not just a simple drop-in plugin.
[G1 Android Development] CBowley:
I have a 1g card and can't afford a cars suitable for a2sd. So I won't be running Hero until after I find a damn job, so hopefully someone figures this out. I really want flash.
[G1 Android Development] dubbeld00:
Makes me wonder if Adobe will release Flash for Android... since it's hardcoded in the HTC framework and Android I think it will be HTC (new ROM's) only.

So the only easy thing to do is strip the Hero build to a regular Android build but leave the browser alone? (Since I've no experience to reverse engineer this) But the ROM is far from clean then... (you will have the full HTC framework which you won't use).
[G1 Android Development] thelamacmdr:
I highly suggest that everyone not put framework.jar from the HTC Hero...I did and it caused a boot loop...
[G1 Android Development] duramas:
Get flash to work on hero first.. its subpar atm.
[G1 Android Development] pentace:
Does hero rom even support flash? i see the app but any site i have gone to with flash i just see a flash plugin error
[G1 Android Development] afflaq:
flash8 is supported, flash9 is not.
[G1 Android Development] testing567:
Here's a thought. What rom did you attempt this on? Perhaps you will see better results if you try to bring the necessary hero framework/libs over to an HTC baised build such as 6.0H or Rogers.
[G1 Android Development] thelamacmdr:
That might be why.. I was using a Google Ion Rom which if I know what you're saying...has a different framework.jar file in it than HTC Roms..
[G1 Android Development] SolemnWishing:
Hmm, so is the flash currently on the phone even practical? I mean, I can't even get the full YouTube site to work and watch videos on it, it just opens up the Flash window and stays black.
[G1 Android Development] Odin.Liu:
I had tried this on google ion rom, but failed. I think we can get the FlashPlayer to work first. It need a HTC FilePicker. But I am not sure what FilePicker need for native lib(.so).

I tried to do this by adb logcat.
[G1 Android Development] elektrownik:
it is practical, not for youtube, for youtube external app is better, or it need big screen, I use opera 9.5 and flash lite 3.1 on my ipaq 214, it have big 4" vga screen so it look nice when playing youtube on youtube web site, it is more practical for sites which are using flash, for example flash galeries, flash menus, etc.:) I'm not sure that adobe will release flash for g1, unfortunatly android allowe only java apps and flash need deeper integration (on lib level) so it cant be in .apk it must be released as update for os, if google will decide to include in future updates like donut (android 2.0) then we will get it...:rolleyes:
[G1 Android Development] MvP77:
Flash ads work fine, especially the ones here at xda. Caught me by suprise when i was browsing from my phone lol.

I went to worldstarhiphop.com and clicked on one of the videos there. The player popped up with the lil flash smoke effect. I was able to click play but the vid never started. I thought maybe it was because i was on edge.
[G1 Android Development] CBowley:
@mvp77 I got all giddy and excited when I first saw flash ads work with the hero build. Then I showed everyone and got laughed at. Ha-ha. No one understands...
[G1 Android Development] defconoi:
any update on this?

I keep getting these errors while porting the browser

06-13 15:05:15.013: ERROR/JNIHelp(142): RegisterNatives failed for 'android/webkit/WebViewCore'
06-13 15:05:15.013: WARN/dalvikvm(142): JNI_OnLoad returned bad version (-1) in /system/lib/libwebcore.so 0x0
06-13 15:05:15.013: WARN/dalvikvm(142): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Landroid/webkit/WebViewCore;.<clinit>
06-13 15:05:15.013: WARN/dalvikvm(142): threadid=3: thread exiting with uncaught exception (group=0x4000fe70)
06-13 15:05:21.073: WARN/dalvikvm(143): ERROR: Unable to find decl for native Landroid/webkit/WebViewCore;.nativeSetScrollOffset (IIII)V
06-13 15:05:21.073: ERROR/JNIHelp(143): RegisterNatives failed for 'android/webkit/WebViewCore'
[G1 Android Development] superg05:
i do the pinch on mine to zoom in and out :P does'nt this show google was full of it though when they said the hardware was not fully able
[G1 Android Development] KyleK29:
I dunno, I checked the version - Hero has 9.1.22.0 or whatever. Essentially, it's Flash 9. If it was Adobe's work, I'd suspect they'd be porting 10 to keep it fully compatible.
[G1 Android Development] remixme:
They are definitely working on it.

http://reviews.cnet.com/8301-13970_7-10164745-78.html
[G1 Android Development] sw20matt:
so do the hero roms have flash or not? I am runnin superhero rom and it dosent seem to work (tested on youtube).

Also I had multi touch on my first hero build (jachero) but it was only there for my first flash (have flashed it about 5 times), anyone know how to get it back?
[G1 Android Development] ggolemg:
HERO Flash Tut
[G1 Android Development] shadowleo85:
i didnt bother looking to see if someone replied to u... but i just ordered an 8gb class 6 microsdhc card off amazon for 1899 including shipping... thats dirt cheap... hell the 4gb microsdhc class 6 was like 12 bucks
[G1 Android Development] KyleK29:
Hero has Flash, but it is version 9. Not 10. I think a lot of video sites require 10 now because 10 supports video/streaming better iirc.

Essentially, the flash banner ads usually work and some games.
[G1 Android Development] bryon13:
I'm not a linux guru, but...

I'm not exactly a code genius like several people here are, but I'm very interested in porting flash into other builds, as the hero builds are all slow at best. I don't really care if I have flash10, but for business purposes, I need access to flash-enabled sites that I can only access from a PC at the moment. I have every reason to want this to succeed, and will offer any help I possibly can. Testing? refilling coffee? you guys tell me what I can possibly do to help, and I'll do anything I can. I have tech level knowledge with computers (linux not being one of my strong points anymore...years ago I was, but SO much has changed and gotten better, faster, more.) I'll help in any way I can!

Current setup:

G1 (Getting MyTouch when it drops)

Cyan recovery 1.2

"Special" SPL

Cyan 3.5.1 (upgrading to 3.5.2 soon)

8g class6 sd, fat32/ext3 partitioned currently, but I can modify if needed

ANYTHING I can do to help... maybe even donate to the cause...(I'm seriously broke right now, but I'm sure I could scrounge together a couple of dollars)

Please PM me if there's any way I can contribute.

(p.s. The flash in Hero does NOT work on YouTube, guys... read before you post!)

-b
[G1 Android Development] harman2:
jack rom need flash player

an will be the best
[G1 Android Development] Lou2serious:
I see not too many people are interested in getting flash to work in other builds i will agree that flash isn't fully functional on hero but it does work at times.

I have had success on a couple sites.....as a matter of fact the dev that brought us the "wireless tether" app has a video tutorial on a web page which is a youtube video. I WAS able to watch this video on the browser while running JACHero 2.63 and also another video with a tutorial for creating a computer to computer network for macs. It was a lot slower and paused at times but it did play all the way through.

So far that is the only hero build I have been able to get flash to work and that has since been the last hero I have flashed so I don't know if the versions after 2.63 have the same results.

I know this info doesn't help much but JAChero 2.63 could be a starting point to digging a little deeper into the flash player functionality.
[G1 Android Development] jubeh:
i've yet to do some testing, but I think this is really what's needed to put flash into regular browser:

system/app:

Browser.apk (toss flashplugin.so into assets/plugins)

system/lib:

libfl.so

libflashlite.so

libflashsnddec.so

libcurl.so

libon2.so

libsiimpl.so

libsorenson.so

i learned that when slimming down the hero beta, and actually, i'd recomend getting those files from the beta instead of the newest release. actually, i'll test it myself right now, brb
[G1 Android Development] jubeh:
nope, didn't work. all libs are there (i found out which ones were required by removing libs one by one and listing which ones broke flash player, it took forever)..., but the browser is not reporting that it supports flash, this needs to be changed at the source level.
[G1 Android Development] jubeh:
i got the hero browser to show up by pushing com.htc.framework.jar to system/framework and com.htc.framework.xml and platform.xml to system/etc/permissions. it shows up in the launcher but force-closes on opening. maybe it needs more framework
[G1 Android Development] tulamidan:
[EDIT]....never mind
[8525, TyTN, MDA Vario II, JasJam General] lurk skywalker:
i woke up this morning, and my htc8525, which had just been sitting on a table for a couple days, was off. battery ran out, i thought. i plugged it in to the wall adapter and not even the charging light came on. i plugged it in to a usb cord on my laptop and still no love. i cleaned the battery, charger and sim contacts with rubbing alcohol, still nothing;

i have not flashed it or updated software in it in over 2 months.

any suggestions on what could the problem be or how to fix it!?!?

thanks!
[8525, TyTN, MDA Vario II, JasJam General] the-equinoxe:
Try with another battery, sometimes batteries are hard to kickstart when they are completely drained.
[8525, TyTN, MDA Vario II, JasJam General] MikeChannon:
Mmmm. Yes the charging circuit can get temperamental if the battery runs below 10%. But in that circumstance the Red LED will come on when the charger is connected.

The likely situation is that either:

1

The battery is completely flat and co-incidentally a pin is bent in the usb socket (thus preventing charging) - a somewhat unlikely co-incidence.

2

The internal on-board fuse is blown - this is actually not that uncommon.

You can see a pic of the fuse location in the Service Manuals section here:

www.mikechannon.net

Mike

I have made the assumption that the charger is operating normally.
[8525, TyTN, MDA Vario II, JasJam General] burning_pl:
similar problem here:

When connected (charger or USB cable) Red LED 'no charning' comes on.

How can I solve this problem and force the device to charge?

Thanks in advance

edit: I've downloaded Service Manual and tried to charge it - it's been almost 4 hours now, and Hermes is still dead, red LED still on (not amber)
[8525, TyTN, MDA Vario II, JasJam General] MikeChannon:
To be clear, if the device shows a red LED then it's a charging circuit problem or a faulty battery. If no LEDs light up then it may be the fuse problem, USB connector, or battery connector block problem.

For situations where you get the red LED try these:

http://xdaforums.com/showpost.php?p=1077622&postcount=6

Mike
[JAMin, XDA Neo, S200 ROM Development] ebaskar:
Dear Friends,

I want to cook/Edit ROM with NeoKit tool. I want to add some CABs file to ROM and when I Hard reset My PPC I want These CABs files to be installed Automatically in my SD card. Is it possible?

Thanks
[JAMin, XDA Neo, S200 ROM Development] azadehfar:
Salam

Salam mohandes

moshkelet Chiye?

Adel
[JAMin, XDA Neo, S200 ROM Development] wapvirus:
Use the UC config tab and add your cab files there i think from memory and it makes the config file for you :)
[JAMin, XDA Neo, S200 ROM Development] ebaskar:
I want to put both CABs file and installed CABs in my storage card. for example when I Hard Reset my PPC, it should read CABs from Storage card and install them into Storagecard/programFiles folder automatically. Is it possible?
[JAMin, XDA Neo, S200 ROM Development] wapvirus:
I think i understand what you are asking yes it's possible because the The cabs that get installed are in a special folder and only the cab files in the UC config file will be installed :)
[Touch Dual, MDA Touch Plus ROM Development] Brunix90:
Hello! I'm Andrea, an Italian new user.

First of all, congratz for the forum, i've been reading it for a while and i find it very useful.

I'm currently the owner of a Touch Dual, tim-branded.

Boot loader: 1.16

ROM: 1.31.408.09

Radio: 1.58.16.27

I would like to upgrade its firm operating system to wm 6.5, i have found 2 interesting roms:

- http://xdaforums.com/showthread.php?t=500021

- http://xdaforums.com/showthread.php?t=502378

I think i will install the second one (3G, the build 21234).

However, i've got some question:

I'm currently using a Vodafone sim on my phone, so i suppose that even if it is tim branded, it isn't locked. Am i right?

Second... i know i need to hardspl the device before installing the rom, i will follow this procedure [ http://xdaforums.com/showthread.php?t=355730 ] the uspl procedure for 1.15 version.

Finally, should i care about something in particular? Maybe a radio upgrade? Or maybe coz i have an italian device and the rom is WWE?

Thanks in advance.
[Touch Dual, MDA Touch Plus ROM Development] psf:
Anch'io ho (non più ormai) un brand Tim, tuttavia ho scelto una rom 6.1 al momento; dato che per me ha funzionato, ti consiglio le istruzioni dettagliate in italiano che trovi sul topic dedicato (THANKS SALVY83)http://xdaforums.com/showthread.php?t=502176

leggi bene il terzo post. Una volta che l'hai sbloccato in questo modo passa pure al 6.5.
[Touch Dual, MDA Touch Plus ROM Development] Brunix90:
Grazie mille!
[P3600 ROM Development] georgekak:
i am trying to paste over karmba 12.0 WM6.1 the new 6.5 for trinity and every time i have the message for error. please help
[P3600 ROM Development] BigE:
what error?

Try being more specific.. What error message? When do you get it? Is your phone currently working or is it bricked?

Have you tried putting your phone in IPL mode (power,camera,reset button) and then try?

If all fails- download original HTC ROM. It will install WM6.0 on your phone , and maybe mess up with your radio, but it will bring the phone alive and then you will be able to put another cooked ROM on.:D
[XPERIA X1 Themes and Apps] rotastrain:
MANILA 2.5 LANDSCAPE

PROJECT PULSE

(WITH SPECIAL THANX TO DOUGIE FOR HOSTING)

As usual im creating something new and coming up with concepts for our phones!!this is my attempt to make a begining in landscape dev

BY NO MEANS WILL THE LANDSCAPE BE PERFECT.

Sometimes when u switch from potriate to landscape,the landscape might not come properly.just go to the adjacent tab and come back..the landscape will come properly

*****

PLEASE INSTALL MORTSCRIPT ON UR PHONE(LINK BELOW)

OTHERWISE IT WONT WORK

THA CAB WILL TAKE SOME TIME TO INSTALL.ITS A BIG FILE.

THIS CAB WILL WORK ON ANY ROM USING LEO manila 2.5

THIS WILL NOT AFFECT MANILA TV TAB

****

INSTALL

STEP 1

INSTALL MORTSCRIPT

http://tp2.blownfuze.org/files/MortScript-4.2-PPC.cab

STEP 2

DISABLE MANILA

then

INSTALL MY CAB

http://tp2.blownfuze.org/Rotastrains_landscape_2.5.cab

STEP 3

INSTALL THIS SMALL REG TWEAK

http://tp2.blownfuze.org/rotastrain_fail_safe.cab

ROM COOKERS PACKAGE

http://tp2.blownfuze.org/manila_landscape.rar

IF you like my work for the xda community please donate using the big black donate button below.It is not eseential but very very apprecaited!

FINAL RESULT FOR v1.0

1>LANDSCAPE ON ALL PAGES

-----

issues

--Calendar page is usable but garbled--will work on this and release fixes in later releases

--the retractable slider button may whiten out at times

---

--everything else is usable in landscape no problems..

the background issues have been fixed so as the bottom bars..

what u see in the caps i am uploading now is the final for v1.0

-points:calendar is still not working in landscape..BUT IM WORKING ON IT..

if i could get everythng else to dance can getthis dancing as well
​
[XPERIA X1 Themes and Apps] MrRusch:
Wow nice work. Will definitly give this one a look.

EDIT: Makes me think about Real Desktop (www.real-desktop.de/English/). Maybe some influences from that could be implemented..?
[XPERIA X1 Themes and Apps] rotastrain:
A big thank you for all my donators!!:

My top donators:

weepatc-20$

ckong1=25$

dazzzdelux--5$

Jbreeje-20$

theinvisible12--5$

cycle23times--5$

octoboy--5$

svv4t-5$

cowmix--5$

Alfred lp--5$.....
[XPERIA X1 Themes and Apps] rotastrain:
Reserrrrrvvvvveeeed
[XPERIA X1 Themes and Apps] theinvisible12:
Hey rotastrain

The widgets are wonderful.I love that you have retained the option to switch between normal and widget screen!

Thank You again for this wonderful MOD:D
[XPERIA X1 Themes and Apps] rotastrain:
yup..it gives the user the real desktop feelin:D..

theinvisible12:

Thank you for the comments!It lifts my spirit!
[XPERIA X1 Themes and Apps] tnyynt:
Temporarily stuck!
[XPERIA X1 Themes and Apps] kidd_danja:
yo

will diz work on tf3d 3.0.38196 beta3 on the xperia?

reply pleaaase
[XPERIA X1 Themes and Apps] rotastrain:
yes it will.u can uninstall it if it doesnt as it is uninstall supported.it works perfectly on all touvh it ro s all smarberg roms valkyrie rom...etc etc..

njoy ur self
[XPERIA X1 Themes and Apps] CyPh:
This looks really promising, very nice work I must say :) You are very talented.

What do the Phone & Calender widgets look like when they have an item in them? Or are you still working on that?
[XPERIA X1 Themes and Apps] kidd_danja:
wagwhan

thankz bro diz workz and it iz kewl aswell.
[XPERIA X1 Themes and Apps] rotastrain:
thank you!!!!!
[XPERIA X1 Themes and Apps] guap:
wow!:eek:

brilliant!

are you also looking for possibility to expand tf3d capabilities? i.e. a task shortcut? (yeah I know it's really hard... but... surprise me :D )
[XPERIA X1 Themes and Apps] rotastrain:
Hey guap

Thanx for the appreciation!

What exactly do u mean by task shortcut?I didnt understand..I love to take on impossible tasks;)

Cheers

Rotastrain
[XPERIA X1 Themes and Apps] rotastrain:
Thank you cypH,

I am still working on it!I wanted to see peoples intitial response!But now seing that everyone likes it i will be working on the next version!
[XPERIA X1 Themes and Apps] Angelusz:
A very promising project Rotas.. keep up the great work!
[XPERIA X1 Themes and Apps] D4113R:
damn mines buggy :/

but this mod is one of the most awesome things I've ever tried :D:D:D:D

can't wait for more :D:D:DD:D:D:D:D:D

great job :)
[XPERIA X1 Themes and Apps] rotastrain:
ye..its v 1 at da moment..colas beers and appreciation is the right combination for the dev of this mod ;)
[XPERIA X1 Themes and Apps] sajib:
Rotastrain, you are little hard working BasXXXrd,

Giving your talent i beleive you will go more further..best wishes for you and thanks for this nice apps... Keep up the good work..
[XPERIA X1 Themes and Apps] Fr@:
Ok, this GREAT app just make me swear at SE repair service that still hasn't returned me my cracked X1... The idea is really, really promising and with this as an "open source" application I can see tons of widgets developing!
[XPERIA X1 Themes and Apps] rotastrain:
Thanks guys..the appreciation really makes me feel what i d is worthwhile!!

N when some one donates my fingers magically are attracted to my keyboard;);):D:D
[XPERIA X1 Themes and Apps] theinvisible12:
hey rotastrain

I made another small donation to u!!I thank you for all the great stuff u keep making!You greatly enhance my xperia xperiancE!!

Best Wishes
[XPERIA X1 Themes and Apps] rotastrain:
Thankx..!!!:):)
[XPERIA X1 Themes and Apps] Mr. Nick:
do you think it would be possible to add program icon shortcut widgets???

thank you.
[XPERIA X1 Themes and Apps] guap:
that's will be a fantastic thing...
[XPERIA X1 Themes and Apps] rotastrain:
yes i think i can..i cn do all sorts of things with this mod.but in my holidays which is exactly forty days frm nw..once my univ dxams r ova m gona develop the crap out of this..its full full of potential!
[XPERIA X1 Themes and Apps] alias_neo:
New?

Anything new happening with this of late? I'm looking to this for the only reason for me to switch to a TF3D ROM over the standard ones currently being made. It certainly looks promising and I'm on uni holiday (although out of the country) but still have a little time to contribute possibly to anything needed help on.
[XPERIA X1 Themes and Apps] rotastrain:
this will be developed to a great extent from july 20th..thats when my exams get over..

it will have many more widgets hiding,enabling,saving etc etc etc..
[XPERIA X1 Themes and Apps] alias_neo:
Excellent, let me know if you need any help with photoshopping different widget images/colours or anything. Can give a bit of a hand...