Need help root LG WebOS2 Smart TV - Android Q&A, Help & Troubleshooting

Hi,
is there someone that have experience with rooting a Smart TV from LG with WebOS.
I need to do that for mij project.
I need to make an full physical image of the memory.
Thx,
Rene

Starting Nmap 6.40 ( http://nmap.org ) at 2017-01-28 09:43 PST
Nmap scan report for LGSmartTV (192.168.1.xyz)
Host is up (0.0011s latency).
Not shown: 65525 closed ports
PORT STATE SERVICE
1029/tcp open ms-lsa
1726/tcp open unknown
1900/tcp open upnp
2005/tcp open deslogin
3000/tcp open ppp
3001/tcp open nessus
9955/tcp open unknown
9998/tcp open distinct32
18181/tcp open opsec-cvp
36866/tcp open unknown
MAC Address: DE:EZ:NU:TZ (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 4.73 seconds

Related

[Guide]Access Windows PC files directly from Android through Wi-Fi

Found this guide here. . Thought I should share as it might help someone here. Thank the original writer.
Please read the whole guide once before trying. This will help in making the process easy as most of the parts are covered in detail.
1. Introduction:
You got a file in Windows PC and you intend to transfer it to your Android device. The most common way is that we connect the device to system via USB cable. However there are alternatives such as the Bluetooth or Wi-Fi. Bluetooth is a very slow method when compared to USB and Wi-Fi. So let us take Wi-Fi as the medium. Now let me first tell you various advantages and disadvantages regarding USB when compared with WI-Fi:
Disadvantages of USB v/s Wi-Fi
1. The phone should be near to the system = you being near the system too ---- This is avoided. All you need that the PC and device to be connected to the Wi-FI network
2. Cluttering of wires ---- Avoided
3. Drivers may have to be installed ---- No drivers needs to be installed
4. In a whole way, its not very productive ---- Oh very productive
Advantages - the only one is that files transfer speed is high ---- Yes. USB has a upper hand here. Wi-Fi transfer speed is low when compared. But the difference is just a few minutes. We can live with that
So excited to start using the Wi-Fi method? Then make sure you meet the requirements.
2. Requirements:
1. Wi-Fi router - PC should be connected to this either through LAN/ Wi-Fi
2. Install ES File Explorer in your Android device (you can try other file explorers like FX File Explorer, Solid Explorer, Astro File manager). The methodology for other apps are quite similar. I will take ES File Explorer as example as I have found it to be simple and fast.
3. Windows PC with 2000/XP/Vista/7/8 (I have not tested in Windows 8 personally)
4. Administrative access for Windows PC
3. Steps:
Step 1. Install ES File Explorer
Step 2. Find IP Address, make static IP and find system name [optional]
i. Find your IP address - to do this follow the steps as below:
a. Start -> Run (or press Windows key + R)
b. Type "ncpa.cpl" (without quotes) and press enter
c. You will see the Network Connections now
d. Identify the one which is connected to the Wi-Fi router. It will be either the LAN adapter or Wireless adapter. In my case it is the Wireless adapter.
e. Double click on the connection
f. Click on details and here note down the IPv4 Address. Also make not of IPv4 Subnet Mask, Default Gateway and DNS Server.
View attachment 1343982
ii. If you are going by IP address method then it is better yet to make the IP address as static [thank you kjplasma for the tip].
An static IP address means that your system will be having the same IP address all the time and will not be changed anytime later by the router. To set static IP address:
a. Go to Network Connections
b. Double click on the connection
c. Click on properties
d. Double click on - Internet Protocol Version 4 (TCP/IPv4) and fill up the IP address as you have noted them down above.
e. Click on OK for all dialogue boxes.
View attachment 1343983
iii. You can even make note of the system name by checking the properties of “My Computer”. To do this:
a. Go to Start - Right click on My Computer [Shortcut -> Windows + Pause/Break]
b. You can find the computer name under "Computer name, domain, and workgroup settings"
View attachment 1343984
If your going by this method then it is not necessary to note down or change the IP address. However I feel that tracking your system through IP address in ES File Explorer is much more efficient and fool proof. Either the system name or IP address its okay.
Step 3.a. Windows 2000 PC
i. Open ES File Explorer in your device
ii. On top right corner tap on "Local" - select LAN
iii. Tap on "New"
iv. Here you can either scan for your system or Click on Server
v. Here in server field type the IP address (that is IPv4 Address) or the system name
vi. Type in the Username and Password which you use to access your Windows PC
vii. Give a name under "Display as" for easy identification
viii. Tap on OK.
ix. Now you will see an laptop with globe icon. Tap on it and you will see all your files/folder of the system there.
Step 3.b. Windows XP PC:
i. Firstly you will need to enable Guest account by going to Control Panel – User Accounts – Guest Account – Click on "Turn on Guest account". This is because there is no other way I found to access the files in Windows XP in Android device with actual user name and password.
ii. Share the drives or folder you want to access [Refer the Reference Note 1 below to know how to share a folder]
iii. Open ES File Explorer in your device
iv. On top right corner tap on "Local" - select LAN
v. Tap on "New"
vi. Here you can either scan for your system or Click on Server
vii. Here in server field type the IP address (that is IPv4 Address) or the system name
viii. Type in the Username and Password which you use to access your Windows PC
ix. Give a name under "Display as" for easy identification
x. Tap on OK.
xi. Now you will see an laptop with globe icon. Tap on it and you will see all your shared files/folder of the system there.
Step 3.c. Windows Vista/7/8 PC:
i. Share the drives or folder you want to access [Refer the Reference Note 1 below to know how to share a folder]
ii. Open ES File Explorer in your device
iii. On top right corner tap on "Local" - select LAN
iv. Tap on "New"
v. Here you can either scan for your system or Click on Server
vi. Here in server field type the IP address (that is IPv4 Address) or the system name
vii. Type in the Username and Password which you use to access your Windows PC
viii. Give a name under "Display as" for easy identification
ix. Tap on OK.
x. Now you will see an laptop with globe icon. Tap on it and you will see all your shared files/folder of the system there.
Note: If you are using blank password for logging into windows then follow the steps below:
a. Run - gpedit.msc to access Group Policies
b. Navigate to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options
c. Find -> Account: Limit local account use of blank passwords to console logon only
d. Double click on it and select "disable"
View attachment 1343985
Uploaded with ImageShack.us
4. Reference Note 1 - How to share folders:
On Windows XP:
a. Right click on the folder you want to share
b. Go to the sharing tab
c. Click the "If you understand the risk but still want to share the folder, click here"
d. Under "Network Sharing and Security" tick on "Share this folder on the network" and also on "Allow network users to change my files"
e. Click OK
View attachment 1343986
On Windows Vista/7/8:
a. Right click on the folder you want to share
b. Go to the sharing tab
c. Click on "Advanced Sharing"
d. In the next dialog box tick on "Share the folder"
e. Click on "Permissions" and tick on all the checkboxes under allow.
View attachment 1344010
5. Troubleshooting:
1 - The "Login Error"
View attachment 1344070
You might get a login error at times. It happens highly when you use the computer name instead of the IP address and sometimes the error pops up even when using the IP address. You can try the below troubleshooting steps:
a. Delete the connection entry
b. Make a new entry and use the IP address this time
c. If the problem still persists, then try opening it 5-6 times repeatedly by ignoring the error.
d. If the problem still persist, then delete the connection, exit ES File Explorer completely and create a new connection again by using the IP address. This time it should work.
I feel this is a bug in the app. Hope it will be fixed in future.
Note - I was using ES File Explorer before FX File Explorer came to play store. Later after trying FX File Explorer, it had not given any error at all and hence its much more reliable. But for that you will have to pay as the app is out of beta.
2 - Wrong Username/Password even when entering the correct one
This usually happens if you put the system name instead of the IP address in the app. What you can do delete the entry and then close the app and reopen it and try a new connection with the IP address itself as this will solve the issue.
6. Useful tips:
1: You can increase the transfer speed by moving near to the router. The closer you are to the router the higher speed you gain.
2: You can even make shortcut of the folder in the network and place them on the home screen of the app. Do to that on ES File Explorer simply long press on the folder and choose "Add to server list".
7. Other Notes:
1: Please note that no internet connection is required to make this possible. Everything is done through the local network. Take out the idea from your mind that Wi-Fi is only for internet.
2: There are various other apps like KiesAir, AirDroid. But that will require you to be near the PC and access the files through a WebUI. But the guide which I have laid out here works from PC to device directly. You can sit at your living room, kitchen or bedroom or where you like within the Wi-Fi network and you are good to go.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hope you find this guide useful. Please leave feedback and do post here for queries. Thanks!
Nice guide. Looks a lot like the one here.
Do you know Harsha Raj? Might want to give him some credit.
ramjet73
Thanks, but........
Isn't it a lot easier to use gmote ? , also it comes with more features , like control of pc aswell as media streaming between pc, smart phones, smart TV's and game consoles, to name a few ,
ramjet73 said:
Nice guide. Looks a lot like the one here.
Do you know Harsha Raj? Might want to give him some credit.
ramjet73
Click to expand...
Click to collapse
Yes, was about to do the same but was busy with other thread that I found in SGS2 section

[Q] there is no place like 127.0.0.1 [WORKAROUND FOUND]

hello guys,
i'm developing an automatic vulnerability scanner/exploiter for android.
i'm adding the cool feature of using the metasploit framework from our android phones, but i'm having a big issue.
i can start the MsfRpcd ( the metasploit daemon ) from a su shell an make it bind to the 127.0.0.1 address.
i can connect to the server using busybox netcat ( no Java though here ).
i can't connect to 127.0.0.1 from the android app! i got ECONNREFUSED.
uff!
after a bit of google i understood that JavaVM have a separate network and it filter out my connection to localhost/127.0.0.1.
how can i connect to a service bind to 127.0.0.1 on my phone from an android app?
this is a jail!
NOTES:
i gave a quick look at iptables -L output, maybe i can make some hack there, but probably i will break the JavaVM network.
thanks in advance!
-- tux_mind
PS:
binding on wifi ip is not an answer.
WORKAROUND:
do not use socket library, use URLConnection:
Code:
u = new URL("http", InetAddress.getLocalHost().getHostAddress(), mPort, "/api/");
huc = u.openConnection();
huc.setDoOutput(true);
huc.setDoInput(true);
huc.setUseCaches(false);
huc.setRequestProperty("Content-Type", "binary/message-pack");
huc.setReadTimeout(0);
huc.getOutputStream().close();
-1 for google

A simple library that lets you control your Raspberry Pi from the web

Hey guys, I wrote a simple library that lets you control your Raspberry Pi. It wraps popular I/O libraries like RPi.GPIO so you can use them server-side and has an easy way to build user interfaces. More information can be found here.
A full tutorial
Server side source
Client side source
Control your rpi over nat via http
The hopmsg.com allows you the make a free message channel by creating a random key for free (no registration,login,etc) which can be used to get status / send command to your rpi:
1, Simplest way to Send/Receive message from any kind of OS/browser/platform just by clicking on a link, only need to know the ID of your msg!
Example: set your message by opening a link : hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY&value=message
get your message from any device by opening: hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY
or use the Android App to get/set it.
2, Control your device inside Nat/Lan
Example: set your command by opening a link : hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY&value=command
get your command from any device by opening: hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY
or use the Android App to get/set it.
3, Basic monitoring system
Bash script checking uptime:
UP=`uptime | sed -e 's/ /_/g'`; curl "hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY&value=`echo ${UP}`"
and use the Android App or a browser to check the status of the device.
4, Get your IP address, the message source, poor man's dyndns
If you set some values, with src=1 parameter your IP and the UTC time also added to your message
Example:
hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY&value=VALUE&src=1
wget -qO- hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY > result.txt
to use with some script.
Re
on hopmsg.com now embedded keys can be used to create complex message or status report like:
ROOTKEY="My IOT dev. overview: uptime:|MY_UPTIME_KEY|, freespace:|MY_FREESPACE_KEY| end."
each key can be updated separately with https
a little bit like the pi html5 dashboard maybe ?

[GUIDE] How to connect adb over wifi

Heres how to connect to android wear using adb over wifi, theres still some issues, so ill put it here and if someone has some information please share with us:
On wear:
Go to config -> about -> tap the version umber 7 times (it will enable dev options)
Now go back to config menu
Go to developer options
Enable adb (it will also enable the option adb over bluetooth)
On phone:
Open android wear app
Tap the cog icon
Enable Debug over wifi -> Check that the host will be connected (its the android wear)
Now open cmd (you will need to have adb on your path variable):
adb forward tcp:4444 localabstract:/adb-hub
adb connect localhost:4444 // if this gives an error try replacing localhost with 127.0.0.1
adb -s localhost:4444 tcpip 5555 // if this gives an error try replacing localhost with 127.0.0.1
On phone:
Disable adb over bluetooth
Disable bluetooth
On wear:
Go to config -> developer options -> disable the option auto change wifi state
Go to wifi, connect to your wifi
still on wifi, theres an advanced options, there you can get your ip address
on cmd:
adb connect 192.168.1.3:5555 // replace 192.168.1.3 with your android wear ip
THE PROBLEM:
Android wear keeps desconnecting the wifi for a lot of reasons, some that i know:
It detect bluetooth connection (its an automatic power save feature)
But even if you disconnect from bluetooth, sometimes it keep disconnecting.
THE SOLUTION:
I have found a feature under developer options named: Enable wifi state change. This is enabled by default, so disabling it should prevent the wear from disconnecting from wifi, and it does. But sometimes android wear auto enable this feature, even if you turn it off manually. If someone know something about it, or another way to prevent wifi disconnection, please share with us.
On phone:
Open android wear app
Tap the cog icon
Enable Debug over wifi -> Check that the host will be connected (its the android wear)
==============================
Unfortunately doesn't work on my phone, cannot find the "Debug over wifi" option, only Debug over bluetooth available.
The same here!! How did you proceed?
Do you know if there is any way to figure out the port being used?
sagits2016 said:
adb connect localhost:4444 // if this gives an error try replacing localhost with 127.0.0.1
Click to expand...
Click to collapse
Thank you SO MUCH!! I have been trying to connect my watch for days!

I have many open ports on my android phone, is this normal?

Hello,
I was wondering if my android phone was hacked.
So I did an nmap of my linux computer on my android phone, result 22 ports are open between port number 1700 and 1800.
My question is: is this normal?
Here is the result of the scan:
Starting Nmap 7.80 ( https://nmap.org ) at 2022-08-16 12:19 CEST
Nmap scan report for 192.168.1.115
Host is up (0.0098s latency).
Not shown: 65513 closed ports
PORT STATE SERVICE
1716/tcp open xmsg
1739/tcp open webaccess
1740/tcp open encore
1741/tcp open cisco-net-mgmt
1742/tcp open 3Com-nsd
1743/tcp open cinegrfx-lm
1744/tcp open ncpm-ft
1745/tcp open remote-winsock
1746/tcp open ftrapid-1
1747/tcp open ftrapid-2
1748/tcp open oracle-em1
1749/tcp open aspen-services
1750/tcp open sslp
1751/tcp open swiftnet
1752/tcp open lofr-lm
1753/tcp open predatar-comms
1754/tcp open oracle-em2
1755/tcp open wms
1756/tcp open capfast-lmd
1757/tcp open cnhrp
1758/tcp open tftp-mcast
1759/tcp open spss-lm
MAC Address: (I hide my mac adrress, in order not to be found) (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 30.43 seconds
Click to expand...
Click to collapse
Thank you

Categories

Resources