Related
I tried to make the subject as small as possible while still stating my point.
Basically I work with a device a lot that runs some machinery. There is a file that is sometimes updated to run the machinery better, we usually update the file on the device when some aspects of the equipment are changed. The file is pushed onto the device using software on my laptop. The software on the laptop is written in C++. I want to make a light version to run on my android phone.
My idea is to create a simple program to run on my android phone that will push the file onto the device after it's edited for changes to the equipment. I opened the C++ exe program in a decompiler (rec4) and I started trying to dig through the code, there are soooo many lines of code in this program, and I don't even know what string to look for. I'm trying to find the exact string that pushes the file to the string so I will know how to write the exact thing in an android program language for my phone only to push the file to the device after I plug it in through the USB connection. That way I have a simplified version of the program running on my phone solely for pushing the file to the device, instead of carrying my laptop around all the time to push a little file.
In a nutshell, after I have described why I need this, I'll simplify everything. A program I have is written in C++ and it pushes a simple file to the flash memory of a device that runs some equipment. I want to be able to push the file from my phone instead of my laptop. So I want to know the string to look for that would push a file onto flash memory.
How the program works. If I have the program already running when I plug in the USB, I have to select "file", then "establish connection" so that it connects, The program appears on my laptop to reconfigure it. I search for the new file to replace the old one and send it to the device. By default the program tries over COM1. It has to be changed for my laptop because it's new and doesn't have the com1 connection, I have a USB adapter that I use.
I hope I explained this well enough, it's really not as complicated as I'm making it out to be.
So does anyone know where I can look up the C++ command arguments to push the file onto the device? And also what the command arguments would be for android to push the file onto the device via USB?
Hello,
If you are a developer you might want to look at this link:
http://developer.android.com/reference/android/hardware/usb/package-summary.html
If you aren't, I am afraid this isn't going to be as simple as looking for strings in a decompiled program and translating the code to different languages. You might want to get a developer to make this application for you.
If possible can you also give more info on this device? Is it like you plug in the device to your laptop and you can access it like any USB memory drive? Or the device can only be accessed using that program?
Edit:
The android.hardware.usb was apparently introduced in Android 3.1. So you won't be able to use that to make an application that you described for your phone...
The device basically controls an advanced machine with multiple inputs sensors and output and switches. It has it's own power supply, it just needs updating every now and then to refine/change the cycles and rotations. I contacted the company that makes the device, and they said they haven't made any software to run on android. They couldn't give me any information on how the laptop program communicates with the device. It seems like the file that needs editing is just stored back on the device in flash memory. When the laptop is plugged in and a connection is established, the information that makes up the configuration file appears on the laptop program from the device. I don't know if the program pulls and reads the file, or if the device copies it to the laptop. It's probably the laptop that reads it.
I'm not a developer, I know a little about programming from college, and I have enough patience to sit and read or watch videos until I know how to make something that works. I know a guy that talks a lot about making android programs, maybe I can ask him for pointers.
My android phone has a mini USB port, what's the new thing that's in android 3.1 that's not in my 2.2 regarding USB? Is the USB on the android 2.2 limited in what it can do? I know mine can tether and transfer files, but is that something that the computer does instead of the phone?
I'm trying to find another HTC HD2, I sold mine and I shouldn't have. I've heard a little about people putting android 3.1 on the HD2, I'm not sure if that's true, but I'll look more into it.
If its a file that the device is reading the data from, you'd also have to find out how the data is exactly being stored in the file. I guess this could be figured out through the decompiled program or maybe if you can access the file yourself somehow.
The thing is that the package(android.hardware.usb) that allows you to write applications in which your phone can act as a USB host(I guess this is what you want your phone to behave like in this case) was introduced in Android 3.1 and its not present in Android 2.2.
That doesn't necessarily mean that you cannot have such an application on your phone. It just means that you cannot use the Android Java API to make something like this. I am not too sure how it can be done but I guess it is possible to make an application like the one you want that runs on a rooted phone maybe?
I am sure anyone can learn to write programs/applications but its just that you'd have to put in a lot of time and effort to make something like this. If you are in no rush to have the application ready then its fine if you learn to make it yourself. And since its a custom made application and the people who made it aren't willing to help you by giving info on it just makes it that much harder for you.
yeah, when I get another HD2 it's getting rooted with android, I just have to find one. Since I sold mine they have made it to where you can run android off of internal memory, so I'm itching to get it back.
The laptop program also has the option to save the configuration file locally, I haven't thought about looking through that. I didn't think it would tell me much.
So theoretically, if I were to write a program for the android phone with usb transfer capability to the device in question would it work? It doesn't bother me if I have to root my phone.
If the device is reading data in from the file, and you wish to write a program that creates this file, you will have to take care that the program you are making writes the file in very same format and saves the file back in the same location on the device where it will look for this file later.
If you made this application for an android device that has USB Hosting capabilities, it should work (as far as I know).
The question is: How can you get your phone to have USB Hosting capability? I don't know if rooting your phone would do it. You'll have to find out about this.
I'm not creating the file..I just want to make a program to push the file.
INFORMATION
DEVICE
Craig CLP281 Android Netbook
Via Wondermedia 8650 based chipset / 800 mhz / wifi / 3 standard usb / ethernet!
PROS
Original firmware available
Original firmware unlocked
Unique form factor
Inexpensive
CONS
No obvious upgrade path
No sources posted
No officially supported flash player
Lower end hardware
HOWTO
unzip to sdcard
start device with sdcard plugged in
wait for everything to be wiped out
ROM
OVERVIEW
This is a modified version of the official firmware. The focus is on removal of bloatware and unneeded proprietary software.
INTEGRATED SOFTWARE
su
Superuser
Terminal Emulator
ConnectBot
Total Commander with ftp and lan plugins
Gapps
Zirco Browser
Yaxim Jabber Client
Jota Text Editor
DO IT YOURSELF
See the README to deduce how to modify the ROM yourself. The changes are documented thoroughly so that many people can use this release as a kitchen of sorts.
LINKS
R1
ROM: http://www.mediafire.com/?dsf11zm7jik9f63
SOURCE: http://www.mediafire.com/?8juzj5qb5jme1ud
ROM: http://dev-host.org/xcz68h384fe8/clp281_firmware2.2_HACK9_R1.zip
SOURCE: http://dev-host.org/ekni2eg4td3i/SOURCES_1.zip
R2
ROM: http://dev-host.org/gm3c1mrdeai3/clp281_firmware2.2_HACK10_R2.zip
ROM: http://www.mediafire.com/?4tpli2998g10to4
R3
ROM: http://dev-host.org/qyo428ewrgvl/clp281_firmware2.2_HACK11_R3.zip
SOURCE: http://dev-host.org/w8p6gotfisnb/SOURCES_2.zip
ROM: http://www.multiupload.com/V5MKGW7X5V
SOURCE: http://www.multiupload.com/KG7KJJKT8U
R4 (Latest)
ROM: http://dev-host.org/b1ufq9iixe9k/clp281_firmware2.2_HACK12_R4.zip
ROM: http://www.multiupload.com/IJWDECP8WF
chroot Repository
References:
http://forum.xda-developers.com/showthread.php?t=486247
http://forum.xda-developers.com/showthread.php?t=1172504
Please choose one of the following 2 methods!
USB Control Script (1st method):
DEBIAN_CONTROL - see bottom of post for script
MicroSD Control Script (2nd method):
DEBIAN_CONTROL_SD - see bottom of post for script
You will need this image unless you plan to put your own together.
Debian Squeeze Image:
http://www.multiupload.com/C9RDP4ODZX
The image can be flashed to your usb drive or sd/microsd card with dd on your fullsize computer. Please be aware that I have not tested running from a fullsize SD card.
dd if=~/nameofimage.img of=/dev/nameofdevice
Operation
1.Run the control script to start the chroot. You can run console commands here. The screen command is useful here also.
2.Run ./vnc to start the vnc server which itself starts xorg and the window manager. The script is not totally failure proof.
3.Login with your vnc client. I use Android vnc viewer. Password is testing.
http://code.google.com/p/android-vnc-viewer/
Window Managers
lxde
icewm
xfce
check /.vnc/ for the xstartup scripts. just rename the one for the window manager you want to xstartup and reboot your chroot.
BUG:
chroot will not cleanly unmount
SOLUTION:
keep chroot running in the background - it should only take up memory not cpu
Stock ROM Repository
Images contain stock system, stock boot, and CWM recovery.
vm670 recovery image is for the new screen version so it should work for all vm670.
LG vm670:
http://www.multiupload.com/LG1JCZ5CMD
Samsung i9023:
http://www.multiupload.com/KX1LIAASH3
Craig clp281:
http://www.multiupload.com/9XUQA7SEF1
Asus tf101:
http://www.multiupload.com/XMRO9AI4KC
Samsung p6210:
http://www.multiupload.com/L702W2MA7J
Can you add in support for the official android market, i would love to have this on here.
FAQ POST:
Does Flash work?
I am not holding out much hope for flash on ARMv6. It seems like a long complicating debugging process for what is in the end slow and buggy results.
The browser is slow?
Right now, it seems that javascript performance on the stock browser is much worse than I expected. For now, try turning off javascript and images if you use the stock browser.
Stock ROM?
The link for the device on Craig's website is:
http://www.craigelectronics.com/site/pdetails.php?id=314
You can download the completely stock ROM from here.
ADB?
I tried ADB with a male to male USB that I had laying around with no success with a GNU/Linux PC and a different Windows PC. All 3 USB ports were tested. But you can connect with adb connect ipofdevice over your LAN if you see what address your router is giving the device. Or of course you could set a static IP.
Minimize application?
You can return to the home screen at any time by pushing fn+home.
Sources for the binaries you have added?
Try the sources link on the first post. The zirco apk is unchanged and their website is here: http://code.google.com/p/zirco-browser/ . The Gapps are straight from my VM LG Optimus V.
Mount an ext2/3 formatted USB drive?
mount -t ext3 /dev/block/sda1 /mountpointofyourchoice
Enter key not working in some terminal applications?
Use Ctrl-m instead.
References:
https://github.com/jackpal/Android-Terminal-Emulator/issues/21
http://code.google.com/p/terminal-ide/issues/detail?id=6
Just wanted to thank you for taking this project on. This device could be much more and for the price you just can't go wrong. Good luck and I'm off to root.
Is it possible to boot or load a stripped version of windows xp from a thumb drive? and did you try all the usb ports with that cable?
wgallt:
The root situation on the ROM and my current devices in general is a little complicated. For this device in general, it comes ADB rooted out of the box. I have added another su to the rom that will allow console root. Unfortunately, because it is an older version of su, it does not seem to work with Superuser.apk. I am waiting on a response in the Q/A forum on errors I am getting compiling the current version of su. I have been able to compile Superuser.apk successfully but it is not much use without the current version of su. I am of course preferring to include source and source-compiled binaries wherever possible in the ROM.
celltimemb:
Market added.
See above for ADB info.
Regular Windows XP does not run natively on ARM CPUs. From Craig's website it appears that they have an identical model running Windows CE. You should look into any running a lightweight GNU/Linux chroot with QEMU or VMWare and then booting something like Windows 98. I would be amazed to see it, especially with the limited RAM we have available.
I am releasing a new ROM with integrated Google Apps and a open source browser named Zirco which seems to run very well. Compare the stock browser with stock settings to Zirco on forum.xda-developers.com to know what I mean. Be sure to read the README.
This ROM may end up becoming a different series entirely. One with the market and one without.
I have updated the first post with the links and README.
can u add live wallpaper support in a future rom?
If I get around to compiling AOSP that should come with live wallpaper.
I tried copying the live wallpaper apk and what I thought to be their dependencies from my Optimus V. Unfortunately, the switcher crashed and the logcat just said the wallpaper switcher would not start.
lot of apps run real slow and lag i tried some games like that bird game where you flick it to the target, i get like 1 frame every 2-3 seconds for the animation, soo slow, they claim 800 MHZ processor but damn this thing is soooo slow. even the fake chinese android phones the star A5000 runs and performs better than this.
2d games lag real bad so I dont see any 3d gaming at all on this machine. unless some elite hacker and coder can make a fully optimized rom for this thing.
Thanks for reporting your results. I have had mixed successes with games. The drag racing game works decent and another rice-can type racing game worked ok too. But many games instantly crash also. The live wallpaper would probably run slow anyway.
Web browsing
Remote administration
Network administration
Note taking
Light media playback
VOIP
Chat
These are all the uses I can think of it for the moment. It gives me an idea to include a note taking application at some point.
the new browser force closes on me, and does this thing have flash support, I have a gut feeling this is an x86 formfactor which is why it runs so slow.
Please read the README and in general read the previous posts carefully.
This is definitely not an x86. It if were, it would actually be faster.
One of these pages is the page for the CPU:
http://www.wondermedia.com.tw/en/products/platform/soc/wm8650/index.jsp
http://www.wondermedia.com.tw/en/products/platform/soc/wm8750/index.jsp
Lol on the craig website product page they show windows on it instead of android.
http://www.craigelectronics.com/site/pdetails.php?id=314
This thing can supposedly handle 3d gaming so i cant undertsand why most games including 2d games run so slow.
---------- Post added at 09:29 PM ---------- Previous post was at 08:57 PM ----------
Is it possible to put Windows CE 6 on this from the craig CLP280 model?
Merry Christmas!
After a productive night the R3 ROM is out.
The changelog and sofware list highlights:
removed zirco integration
init.rc changes to support zirco
holiday wallpaper
added OPTIONAL on localdisk with:
yaxim jabber client - open source
zirco browser - open source
jota text editor - open source
su - compiled from source
superuser - compiled from source
For security reasons, you should probably choose allow once instead of always for su.
As usual be sure to read the README.
Just got a Craig Netbook. I hate the Android stock install. I found this thread and it seems like the answer I'm looking for. If I understand you correctly, the description you give for the Rom"
"OVERVIEW
This is a modified version of the official firmware. The focus is on removal of bloatware and unneeded proprietary software."
is the first hack? (clp281_firmware2.2_HACK9_R1)
Also, if I do this and screw it up, can I reinstall the original Android from the Craig website?
Thanks.
Yes that is the first release. I would recommend trying the third as it is the latest version as of this post.
Yes you can reinstall the original firmware.
Thanks Jason.
Hey Jason. I just installed it. Had to download a new adobe flash player to watch a youtube video.
When it comes to this operating system I am a total newbie. So, in order to do a "do it yourself" install (since I still can't install some pre installed apps like "Dialer" and other things) are there simple instructions to do a "do it yourself" or do you have to be a techy to do it? I know Windows OS well but Android is so foreign to me. Just had this thing for a few days and I am ready to throw the netbook against the wall and then stomp on it. Your root was my last hope.
Well first off, were you able to actually play flash in the browser? That would be a nice new development. Alternatively, you could try the included Youtube player.
I would be glad to help in any way I can. For a do it yourself ROM, you would just take the factory firmware RAR file and edit it yourself. You would start by unRARing the file with something like WinRAR on Windows. But I would recommend trying GNU/Linux instead if you are at all interested in development. You can use the README file and this thread as a reference along the way.
Why are you interested in installing the dialer anyway? I noticed some phone components are installed but there seems to be no way to access them.
You're a doll Jason. Thanks for your willingness to help.
I didn't know about the Youtube player. Thanks for the tip. On the original install I was able to play flash in "Browser" (at Youtube at least) but not with "Browser" in this install. Although, maybe "Browser" opened "My Browser" in the original install and that's the one that had flash support. (I'm still learning). So since I didn't get around to installing your included browser maybe that's why it wouldn't play. Anyhow, I couldn't install the flash update via the link Youtube provided. The little download arrow on the top left hand of the screen just never went away. I had the unit on for about 3 hours and the arrow remained with no confirmation that the download was complete. I searched the system and the SD card for the download but couldn't find it. This is not the first time I had this problem with downloads so maybe it's something with my particular device. This is actually my third. Last two were defects.
About the Dialer... it was a typo. I meant to say I want to UNINSTALL it from the unit, but Android won't let me. It just seems useless to have this app since I have a netbook and not a phone. Plus, I think it may be eating up my battery usage as it could be the app responsible for the cell standby thing I have in Battery Usage which is using up 80% of my battery. Like I said, I am a newbie to this OS so, I'm looking at things like Dialer, Telophony etc. I may be wrong about this though. It may be some other application seeking Cell Radio signal as reported in Battery Usage.
I just did a side by side comparison of the unzipped install I got from Craigs website (by the way, thanks for that link) and your version to see if I could learn and do my own hack. I did notice a few differences.
Ok first I saw the Optional folder with some apps and Browser fix as you mentioned in the Read me
Then there was the app folder where you removed some apps from the original install and added others. Is it as simple as that? To just delete the apps you don't want from this folder of the original install? Unfortunately I don't see Dialer in that folder. I'd like to get rid of that too. I guess you can't get rid of every app.
Another difference was that I saw "su" in "bin". and I noticed SuperUser.apk in your app folder. Does that app make you the administrator of the device giving you access to system files to delete them if you want to? (I looked it up on WIKI) Cause maybe I can include that in my hack.
Also I see another difference in this folder:
\FirmwareInstall\packages\fs_patch\root_patch\system\lib
In your readme you said these are shared libraries but I don't have a clue what that means. Do I need these files?
Thanks again for taking the time with this. I would love to do my own hack. It would give me great satisfaction after the countless hours of stress trying to do stuff they won't let me do.
All the best,
Angie
Hi, very strange thing here: On my Surface, the website www.atv.at (an austrian TV broadcaster, contains many Flash videos) doesnt show the videos, instead an Adobe Flash Button appears. YES, I am using the Desktop IE! And YES, Flash is enabled (it's working on other Websites!)
On the the Surface of my colegue, the videos show up and play!
How is that possible? There are 2 versions of flash right now through a windows update, I tried it with the updated flash player from MS and without (uninstalled the windows update).
So my question is: Can anyone try the site (its in german language, but just klick on the forward buttons to play the videos) and tell me if its working or not?!
And: How can I remediate this?
It was a bit slow to load, but it played for me.
Do you have the Compatibility List Updates option disabled in IE? If so, you may need to manually add the site to the Flash whitelist. Windows RT does not, by default, allow playing Flash on arbitrary sites; MS instead provides a whitelist of sites that are known to work and be safe. This whitelist is part of the Compatibility List for IE, which by default will be updated automatically from MS (but you can turn the automatic updating off when you set up the machine, in which case sites added since your system was built won't be included).
got it
All right guys, found the issue: When you startup IE the first time it asks you about "recommended settigs" - as an IT pro, I don't use that on desktop machines and so do I on the surface. But that was indeed the reason why IE didn't download the compatibility list. After resetting IE you'll get asked again and this time the special website is in the list and flash works.
BUT: Didn't MS say that this compatibilty list is just for use on the Modern-UI IE 10? From my experience now that's wrong: It also influences the desktop version!
Yours B.
Hey Everyone,
I thought about posting this into the mobile kepler thread because thats where I started from. However, no one else running mobile kepler seems to have this issue.
I have a macbook pro running windows 8 in boot camp. I installed steam (beta client enabled), geforce experience and the latest beta graphics drivers. Games work great while playing on the laptop (burnout, GTA 4 and Half Life). The registry hack to skip mobile GPU check works to enable streaming to the shield. When go into shield streaming on the shield, it sees the laptop and games. I can pick Steam and it changes the resolution on the laptop and steam opens and goes into big picture mode.
Sound and video stream to the shield fine. But I can't control anything with the shield. I can control anything with the touchscreen or with the controller. If i go into settings in big picture mode (with the mouse on the computer), I can click on Controllers and it says none detected. This is the case in every game as well. Sound and video make it to the shield without issue, but I can't control anything.
I have tried restarting, reinstalling geforce experience, trying non-beta graphics drivers, etc. Nothing seems to work. I had also installed Splashtop streamer (just because I use that product on every machine I have) and I thought that might be conflicting with things. But uninstalling it did not help.
Has anyone experience this? Anything I can try to get it to work?
There are other people reporting similar issues on the GeForce forums. There are two issues that I've seen.
1. SecureBoot incompatibility - seems unlikely for you since the Mac's EFI version doesn't support it.
2. Short file name issue
The way that NVIDIA gets their input DLL loaded into every process is using a registry value that only supports short file names. If short file names are disabled for some reason, it won't be able to load the DLL and the controller won't work.
There's more info in the forum links from this post. http://forum.xda-developers.com/showpost.php?p=44678873&postcount=40
Thanks for your reply. I did some research after posting and found those two items you mentioned. Mine Mac is booting in Legacy mode so thats not the issue. I tried the short name recommendation which was to change 8dot3name to 0 (mine was originally set at 2) and then uninstall geforce experience and drivers, delete the Nvidia folder from both program files folders and then restart and reinstall. That hasn't solved the problem. I also tried changing it back to 2 and and doing the same with no success.
Supposedly NVIDIA is testing a fix internally and it should be out this month. I'm just worried that my issue has something to do with boot camp. I have seen others with MacBook pros on here getting this to work and I don't really see what the difference is between their setup and mine that is causing this to not work.
Does windows keep logs of errors of things it couldn't load? I imagine if the registry was telling windows to start something but it couldn't find it on the disk (due to short names) it would throw an error right? (sorry, I'm mostly a mac guy so I don't know what the PC equivalent to Console.app is)
jeffburg said:
Does windows keep logs of errors of things it couldn't load? I imagine if the registry was telling windows to start something but it couldn't find it on the disk (due to short names) it would throw an error right? (sorry, I'm mostly a mac guy so I don't know what the PC equivalent to Console.app is)
Click to expand...
Click to collapse
is console.app the terminal? If so on windows its cmd (hold windows key + R to open the run dialog, enter cmd, OK) but windows cmd is vastly inferior to the mac terminal in my opinion (I am a windows guy, just saying, the windows command line isnt as good as the one on UNIX like systems).
The windows event log can be opened from control panel. http://www.techrepublic.com/blog/wi...ack-down-issues-that-cause-slower-boot-times/.
Console looks to be equivalent event viewer. Thanks for the suggestion. I should be able to inspect it tonight and look for errors loading the rxinput dll file.
Wow. What an annoying issue. So the problem was that my Program Files folders don't have short name. On top of that when I try to give them short names with admin prompt and fsutil file setshortname it says permission is denied. I'm assuming this is because the Programs files folders are super super system folders.
I tried using %PROGRAMFILES% in the registry entries for rxinput.dll but that didn't work either. So I found the jankiest workaround ever. I copied the dll to the C drive root and then linked the registry to that file. (I actually copied the both dll files. one is under Program Files X86 and on under regular)
Now it works!!!!!
Jankiest workarund ever... but it works.
jeffburg said:
Wow. What an annoying issue. So the problem was that my Program Files folders don't have short name. On top of that when I try to give them short names with admin prompt and fsutil file setshortname it says permission is denied. I'm assuming this is because the Programs files folders are super super system folders.
I tried using %PROGRAMFILES% in the registry entries for rxinput.dll but that didn't work either. So I found the jankiest workaround ever. I copied the dll to the C drive root and then linked the registry to that file. (I actually copied the both dll files. one is under Program Files X86 and on under regular)
Now it works!!!!!
Jankiest workarund ever... but it works.
Click to expand...
Click to collapse
Wow, bit of an odd one. Good that you got it sorted though :good:
With windows you often have to take "but it works" as the correct solution There probably is a better way in this case (taking ownership of program files and then trying to make the changes you require first before resetting the ownership is what I would have looked at doing) but if it works now your probably best to just leave it rather than tempting the computer to say no again
I managed to port retroarch and a few notable cores to webos (webos 2.0 here) LG TVs. Cores I've tried and are running at full speed are gpsp, mgba, nestopia and snes9x. After a lot of work, I've also managed to get desmume2015 up and running with decent speed for some games; but about cores, particularly for desmume, I plan to start another thread. Maybe some of you could help regarding further speedup . Just let me know...
Right, so first things first. I'm not going to release executables, since there are many webos configurations, versions, hardware differences, libraries etc . Instead, the purpose of this thread is meant to be a discussion forum for people interested to get themselves retroarch up ad running. So, regarding requirements, you need a rooted tv, a dump of your 'rootfs' and a cross-compiler toolchain. I also assume you do your experiments under linux.
These are roughly the steps you'll have to follow:
1. Download retroarch 1.7.1 sources from here: https://github.com/libretro/RetroArch/releases
2. Extract the attached archive, in the directory RetroArch-1.7.1 (where you extracted the retroarch sources). This will overwrite qb/config.libs.sh and give you a few needed additional files, such as my configuration file for building retroarch; this is config_andy.sh.
3. Modify config_andy.sh and qb/config.libs.sh to fit your setup, see above. You'll have to be very careful here... sorry for that. Btw., some libraries such as all Qt could be removed since we do not compile the Qt GUI. We need wayland + EGL frontent.
4. Attempt to compile retroarch by runnig 'source config_andy.sh'.
Fingers crossed !
If you managed to compile retroarch, upload it to the TV and run it via ssh/telnet. You should see the retroarch GUI. Let me know how this first step goes...
Good luck !
Oye aún estas actualizando el retro arch? Estoy apunto de rootear mi tv
Did anyone compile this for WebOS 3.5-4.0 ?
Working on latest version?
Would this even somehow work on WebOS 5.1?
Hi, is this still in Development?
I installed retroarch and managed to get cores with the core downloader but I cant manage to get roms to appear in the usb or how to transfer them to the tv. Can someone help me?
Liquidgykill said:
Hi, is this still in Development?
I installed retroarch and managed to get cores with the core downloader but I cant manage to get roms to appear in the usb or how to transfer them to the tv. Can someone help me?
Click to expand...
Click to collapse
Use telnet, TV IP, user: root and password: alpine. The easy way is using WinSCP. The path is /media/developer/apps/usr/palm/applications/com.retroarch/.config/retroarch. The directory .config is hidden. And you can create the ROM directory and add rom files. If you get it works please tell us. Good luck.
LukeStage said:
Use telnet, TV IP, user: root and password: alpine. The easy way is using WinSCP. The path is /media/developer/apps/usr/palm/applications/com.retroarch/.config/retroarch. The directory .config is hidden. And you can create the ROM directory and add rom files. If you get it works please tell us. Good luck.
Click to expand...
Click to collapse
Hi, thanks for your reply, Im new to all these, what do I need to do that? Should I put my tv in developer mode? Im asking because the root guide says if webos is rooted dev mode should not be used. Do I need an usb cable from my tv to my pc or can be done wireless?
Liquidgykill said:
Hi, thanks for your reply, Im new to all these, what do I need to do that? Should I put my tv in developer mode? Im asking because the root guide says if webos is rooted dev mode should not be used. Do I need an usb cable from my tv to my pc or can be done wireless?
Click to expand...
Click to collapse
I'm new too. I have rooted tv and you don't need any cable. I don't know how to use the developer mode. Simply root the tv since https://rootmy.tv/ from your tv browser and find out the IP of your TV (I use by example the app of my phone called Fing). Install in your laptop the WinSCP, with the TV IP, the user is root and the password is alpine. After that you can connect with your tv even using linux commands if you want.
Im sorry, I dont know if Im missing any step.
I rooted my tv
in the homebrew channel I activated telnet and shh
from my tv settings I got my ip
I tried using scp with my IP but I dunno what protocol to use or what port to use
Conection attempts always fail
I dont know if Im sissing a step on my pc (Windows 10) or on the tv to be honest.
UPDATE: I was able to connect with the steps above on prot 22 and STPF protocol.
I downloaded retroarch from the hombrew channel
Retroarch by default comes with no cores so I used the Online updater - assets update and Online updater - update core info fies.
Also update your assets.
After that, you go to core downloader and Download any of the Supported cores on WebOs, in my case MGBA.
I put a GBA ROM in the directory: /media/developer/apps/usr/palm/applications/com.retroarch/.config/retroarch/downloads
since is a directory with its own shortcut inside Retroarch its easy to find it quickly.
Its incredible, WebOs runs pretty well GBA, its not perfect but its totally playable.
Im using a PS4 controller with USB cable in the back port of my tv and its recognized as an HID device, you can config the keys of the controller inside retroarch options.
THANK YOU @LukeStage and everyone that made this port possible.
Liquidgykill said:
Im sorry, I dont know if Im missing any step.
I rooted my tv
in the homebrew channel I activated telnet and shh
from my tv settings I got my ip
I tried using scp with my IP but I dunno what protocol to use or what port to use
Conection attempts always fail
I dont know if Im sissing a step on my pc (Windows 10) or on the tv to be honest.
UPDATE: I was able to connect with the steps above on prot 22 and STPF protocol.
Click to expand...
Click to collapse
If you want to investigate more you can take a look this thread. Is in spanish, https://forocoches.com/foro/showthread.php?t=9049603&highlight=ipk
You can use any translator addon with the browser to see it translated. like https://github.com/FilipePS/Traduzir-paginas-web
Im sure this is a silly question, but i could use a hand... i rooted my lg with rootmy.tv and installed retroarch... So when i try to telnet and change directories to the one listed above i get "permission denied." did i miss something post rootmy.tv? can anyone toss me a lifeline?sidenote - i do have ssh server and telnet on in the homebrew channel app.. i can telnet into it, but its like i dont have root access .... did i miss something/? i login with root alpine... also my command line shows - "[email protected]".
Edit. Sorry guys i think i got it. My bad
So i got the roms added to the specific folder but when i load them they show the file name at first but then all i get is a black screen. Is there a fix for this?
Edit. This was my mistake. I was trying to load the zip like a dumby. Simply unzipping and uploding the rom file to tv fixed this
Anyone know what version of mame emulator that will work? I been using sftp to add roms for snes and sega and stuff but i cant figure out how to install mame. System info shows webos is linux based but is there another version of emulator i can use? Droid or something like that? Also i wanna thank you for this port. It works great for me. Just need to figure out the mame emulator and how to load the full list of cores. Then it would be 100% perfect! But great job!!!
xtreme_protector said:
I managed to port retroarch and a few notable cores to webos (webos 2.0 here) LG TVs. Cores I've tried and are running at full speed are gpsp, mgba, nestopia and snes9x. After a lot of work, I've also managed to get desmume2015 up and running with decent speed for some games; but about cores, particularly for desmume, I plan to start another thread. Maybe some of you could help regarding further speedup . Just let me know...
Right, so first things first. I'm not going to release executables, since there are many webos configurations, versions, hardware differences, libraries etc . Instead, the purpose of this thread is meant to be a discussion forum for people interested to get themselves retroarch up ad running. So, regarding requirements, you need a rooted tv, a dump of your 'rootfs' and a cross-compiler toolchain. I also assume you do your experiments under linux.
These are roughly the steps you'll have to follow:
1. Download retroarch 1.7.1 sources from here: https://github.com/libretro/RetroArch/releases
2. Extract the attached archive, in the directory RetroArch-1.7.1 (where you extracted the retroarch sources). This will overwrite qb/config.libs.sh and give you a few needed additional files, such as my configuration file for building retroarch; this is config_andy.sh.
3. Modify config_andy.sh and qb/config.libs.sh to fit your setup, see above. You'll have to be very careful here... sorry for that. Btw., some libraries such as all Qt could be removed since we do not compile the Qt GUI. We need wayland + EGL frontent.
4. Attempt to compile retroarch by runnig 'source config_andy.sh'.
Fingers crossed !
If you managed to compile retroarch, upload it to the TV and run it via ssh/telnet. You should see the retroarch GUI. Let me know how this first step goes...
Good luck !
Click to expand...
Click to collapse
Great job bro. I installed through homebrew channel and add roms through sftp. Runs great. Audio can have a few hiccups here and there but nothing to complain about. I just posted below about mame. Any chance you could help me out sometime. I wanna add the mame emulator myself if i have to. Or may be explain how to add full core list to retroarch. Thanks again for this. Its amazing!
Liquidgykill said:
Hi, is this still in Development?
I installed retroarch and managed to get cores with the core downloader but I cant manage to get roms to appear in the usb or how to transfer them to the tv. Can someone help me?
Click to expand...
Click to collapse
I been using sftp to transfer to tv from my local host. Its easy and it works fine. Just make sure to extract the zip and upload the actual rom file
So this may be very helpful for all wh0 want to add cores that arent already in the app on webos
index - powered by h5ai v0.29.0 (https://larsjung.de/h5ai/)
index - powered by h5ai v0.29.0 (https://larsjung.de/h5ai/)
buildbot.libretro.com
I have a question. There is no other away apart from rooting my TV in order to put some roms in retroarch?
I plugged a pendrive into the TV with some roms, but I couldnt find the right folder in Retroarch explorer.
I don't want to root my TV
This is nice, contains every major 16bit system only one missing: TurboGrafx16 (PC engine in Japan)
Can you add the core to the online updater? There are many pc engine game for English translation nowadays, it would be nice if I actually can play them on my TV.
Kashi: read back the forum, pendrive are not working sadly, you can install winscp (telnet client) to copy game roms to the internal storage of your tv. Get the IP from the TV's network settings, username root password alpine and put the roms in the folder media/developer/apps/usr/palm/applications/com.retroarch/.config/retroarch
Kashi_ said:
I have a question. There is no other away apart from rooting my TV in order to put some roms in retroarch?
I plugged a pendrive into the TV with some roms, but I couldnt find the right folder in Retroarch explorer.
I don't want to root my TV
Click to expand...
Click to collapse
You can use the dev mode option. Install the dev add from the regular App Store on the TV and add the free dev mode option to your account. Then use this to side load retroarch to your tv. Downside there is a button in the dev app you need to read every 50 hours (I feel like John Loke in Lost) there are some automated options to renew the dev mode but I haven’t gotten them to work yet.