GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (2024)

Search This thread

Maroc-OS

Retired Recognized Developer
Mar 16, 2012
886
3,632
  • Jan 8, 2019
  • #1

Hello XDA,

After a long thinking i've decided to create a root or jailbreak tool for LG's awesome webOS, today am stating this thread to release this new root tool, but before that! am gonna ask you for some logs from webOS 3.5 and lower.

Everyone in this thread must know about webOS if not do your homework then get back again, LG did a great work on this operating system after HP and Palm's versions. they even supported Raspberry Pi module B. but webOS OSE aka Open Source Edition is really different from TV's version.

LG think about Security and frequently release updates that doesn't have anything new except some patches to close down known holes, one of my favorites was a directory traversal that can replace in tv files and binaries during install (partially closed recently).

let'stake a look at LG's partition filesystem types, on tv's they chooses to use ext4 for writable partitions (/var, some of /mnt/lg/*, /home and /media) everything else is using squashfs which is a read only compressed filesystem you cannot modify it.

If you can dump the squashfs partition unshquash it then recompress you will face another problem of hashes and crc checks (checkout the update binary for more details) if you dd it back to block device without kernel and/or bootloader patches. so this is not gonna just work easily.

What we can really do it play on the RW parts of the system, one of the design flaws on webOS is the devmode aka Developer Mode, they ship it in a Read Write partition so that's easy to be modified.

To do that you must have root access or some powerful exploits to achieve your goal.

This method is using memory access vulnerability to get root and then jailbreak the tv. i ported some parts of the other root thread even if some are not even needed.

To jailbreak connect to your tv via prisoner user after uploading GetMeIn binary into it then :

Code:

chmod +x GetMeIn./GetMeIn

if root succeed and you saw some errors do this :

Code:

mkdir -p /media/cryptofs/root/etcmkdir -p /media/cryptofs/root/lib

After that just reboot and enjoy your root with same ssh key, or use password "alpine".

there is some old pictures attached, i did some modifications after those.

Hope this is good enough.:angel:

Attachments

  • GetMeIn.zip

    436.9 KB · Views: 10,451

Last edited:

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (2)

Reactions:

bravur, wes93, brooklyn2001 and 46 others

Maroc-OS

Retired Recognized Developer
Mar 16, 2012
886
3,632
  • Jan 8, 2019
  • #2

HOW-TO

To use this GetMeIn webOS Jailbreak tool please create a developer account on LG's developer portal, install developer mode application on your TV and connect with your recently created account.

Open dev mode app please set the Dev Mode Status to ON and Key Server to ON.

grab your ssh key with ares then connect to your tv using ssh :

Code:

me@mac:~# ssh -i ~/.ssh/webOS_TV prisoner@xxx.xxx.xxx.xxx -p 9922

when you get connected you just follow the steps on the thread.

Please test and share back screen shouts and logs from tv in both cases failure or success.

I need informations from your webOS v 3.5 and lower, TV model and webOS version and some commands from the tv.

okay first of all create a dir named logs :

Code:

mkdir logs

TV Infos :

Code:

cat /var/run/nyx/device_info.json > logs/device_info.json

(delete your nduid serial number and mac addresses)

webOS Infos :

Code:

cat /var/run/nyx/os_info.json > logs/os_info.json

Code:

cat /proc/cpuinfo > logs/cpu.log

Code:

ls -arls /var/log/ > logs/logdir.log

Code:

ls -arls /usr/lib/ > logs/libsdir.log

Code:

ls -arls /proc/ > logs/procdir.log

Code:

ls -arls /dev/ > logs/devices.log

In case the jailbreak works restart and run this additional commands :

Code:

mount > logs/mounts.log

i think that's everything i need, upload the logs dir somewhere and put a link here.

Last edited:

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (4)

Reactions:

RebellionNT1, po_dMerOn, michael3dell and 6 others

Maroc-OS

Retired Recognized Developer
Mar 16, 2012
886
3,632
  • Jan 8, 2019
  • #3

Reserved again.

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (6)

Reactions:

po_dMerOn and michael3dell

MishaalRahman

Retired Editor in Chief
Nov 2, 2015
1,045
2,153
www.xda-developers.com
  • Jan 9, 2019
  • #4

So this only works on webOS 3.5 and below?

Maroc-OS

Retired Recognized Developer
Mar 16, 2012
886
3,632
  • Jan 9, 2019
  • #5

MishaalRahman said:

So this only works on webOS 3.5 and below?


that's what i think yes, but you can test

MishaalRahman it's confirmed, also some lower versions are not supported like 3.3.3

BTW, can you check up your PM.

Last edited:

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (9)

Reactions:

po_dMerOn and michael3dell

B

blenni

Member
Nov 3, 2008
35
3
  • Jan 10, 2019
  • #6

Hi,

unfortunately it does not work for me, I get the following output:

Code:

--------------------------------------------------------------- MerrukTechnolog < webOS privelage escalation (www.merruk.com) ---------------------------------------------------------------GetMeIn: #* Opening memory IO!GetMeIn: #! Cannot map memory data!---------------------------------------------------------------

I already posted some logs of my LG OLED55B7D (05.80.15) in the other thread:
https://www.dropbox.com/s/ie5ix8vtscxjr3n/LG55B7D_05_80_15.zip?dl=0

Maybe some of this helps to improve your script.

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (10)

Reactions:

Maroc-OS

Maroc-OS

Retired Recognized Developer
Mar 16, 2012
886
3,632
  • Jan 11, 2019
  • #7

blenni said:

Hi,

unfortunately it does not work for me, I get the following output:

Code:

--------------------------------------------------------------- MerrukTechnolog < webOS privelage escalation (www.merruk.com) ---------------------------------------------------------------GetMeIn: #* Opening memory IO!GetMeIn: #! Cannot map memory data!---------------------------------------------------------------

I already posted some logs of my LG OLED55B7D (05.80.15) in the other thread:
https://www.dropbox.com/s/ie5ix8vtscxjr3n/LG55B7D_05_80_15.zip?dl=0

Maybe some of this helps to improve your script.

Your version is not supported by this tool, you have webos 3.8 unfortunately, and i really cannot help without access to tv with new api version, & i will need testers for newer devices.

Last edited:

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (12)

Reactions:

michael3dell

W

wybielacz

New member
Jan 13, 2010
3
1
  • Jan 13, 2019
  • #8

@Maroc-OS
WebOS has the web socket endpoints to control the TV like

Code:

ssap://tv/getChannelList

After rooting the TV is possible to find out all the available endpoints on the TV? LG unfortunately has absolutely no documentation about it except the endpoints in the examples they provide.
If it is not too much work, could you please provide a list of all the available endpoints? I guess those needs to be defined somewhere in a config file...

B

bombenbodo

Member
Jan 31, 2012
11
3
  • Jan 14, 2019
  • #9

Lg oled65g6v

Code:

/media/developer$ uname -aLinux LGwebOSTV 3.16.7-77.deua.4 #1 SMP PREEMPT Thu Jun 21 17:26:37 KST 2018 armv7l GNU/Linux/media/developer$ ./GetMeIn--------------------------------------------------------------- MerrukTechnolog < webOS privelage escalation (www.merruk.com) ---------------------------------------------------------------GetMeIn: #* Opening memory IO!GetMeIn: #! Cannot map memory data!---------------------------------------------------------------/media/developer$ cat /var/run/nyx/os_info.json{ "core_os_kernel_version": "3.16.7-77.deua.4", "core_os_name": "Rockhopper", "core_os_release": "3.3.3-3807", "core_os_release_codename": "dreadlocks-dharug", "encryption_key_type": "prodkey", "webos_api_version": "4.1.0", "webos_build_datetime": "20180621081934", "webos_build_id": "3807", "webos_imagename": "starfish-dvb-secured", "webos_manufacturing_version": "05.30.25", "webos_name": "webOS TV", "webos_prerelease": "", "webos_release": "3.3.3", "webos_release_codename": "dreadlocks-dharug"}

If I can be of any help to get this working on LG's 2016 OLED models gladly I would help...

Attachments

  • logs_OLED65G6V.zip

    14.4 KB · Views: 344

ramsesht

Member
Aug 23, 2011
48
9
Miami
OnePlus 9 Pro
  • Jan 14, 2019
  • #10

Thank you for this awesomely fun opportunity to get into my panel! While I understand this is in its infancy, would you know a way of downgrading OS version? (Im on 4.x.x.x)

I hope sideload and extract creds in the best future. Thank you one again for the time and sharing of this. ?

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (14)

Reactions:

goo.

L

lucaterpirla

Senior Member
Feb 29, 2016
255
93
  • Jan 14, 2019
  • #11

What would be a good reason to root a smart tv? What can I do afterward?

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (15)

Reactions:

Venomphone, matteoivand, Tunisian dude and 11 others

Sage

Senior Member
Dec 12, 2005
2,083
529
AU
Xiaomi Mi 11
  • Jan 15, 2019
  • #12

now THIS is interesting! well done! GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (17)

mlock420

Senior Member
Aug 6, 2013
2,143
724
  • Jan 15, 2019
  • #13

Same will we be able to download apps like Showbox or shadow tech(cloud gaming service)? After rooting we are all familiar with root on the phone side but rooting tv is definitely a first

MarcTremonti

Senior Member
Dec 16, 2010
740
360
OnePlus 5T
  • Jan 15, 2019
  • #14

lucaterpirla said:

What would be a good reason to root a smart tv? What can I do afterward?

thats what i'm asking myself too.GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (20)
or was this the first step and now homebrew apps will rise?
please enlighten me someone. :laugh:

L

LGMAN2

New member
Jan 15, 2019
3
0
  • Jan 15, 2019
  • #15

Sorry if this is a dumb question, but does this mean that Android TV could be ported over? That would be fantastic.

T

TheUndertaker21

Senior Member
Jul 11, 2011
3,325
548
Brooklyn
Xposed Modules
  • Jan 15, 2019
  • #16

f*cking crazy
I'm about to root today after work.
Hope we get Android apps soon

S

Silvers91

Senior Member
Jun 28, 2014
392
70
Rabat
  • Jan 15, 2019
  • #17

This is awesome! and coming from someone from my home country. Genius!
Would it be possible to install Android TV after using this method?
Thank you very much!

L

LGMAN2

New member
Jan 15, 2019
3
0
  • Jan 15, 2019
  • #18

I haven't tried the jailbreak yet, but here are the logs from two of my LG TVs:
LG EF9500: mediafire.com/file/8da335aynddi4se/LG_EF9500_Logs.zip
LG UF6400: mediafire.com/file/8045q0d0o6j8453/LG_UF6400_Logs.zip

XDA wont let me add hyperlinks so you'll have to copy and paste.

Maroc-OS

Retired Recognized Developer
Mar 16, 2012
886
3,632
  • Jan 16, 2019
  • #19

Wow seems there is some reactions to this topic.

first of all thank you for testing and reacting to this subject.
i will replay to every post one by one after this post.

thanks for you all.

Last edited:

  • GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (22)

Reactions:

Germano.Mosconi

Maroc-OS

Retired Recognized Developer
Mar 16, 2012
886
3,632
  • Jan 16, 2019
  • #20

wybielacz said:

@Maroc-OS
WebOS has the web socket endpoints to control the TV like

Code:

ssap://tv/getChannelList

After rooting the TV is possible to find out all the available endpoints on the TV? LG unfortunately has absolutely no documentation about it except the endpoints in the examples they provide.
If it is not too much work, could you please provide a list of all the available endpoints? I guess those needs to be defined somewhere in a config file...

Interesting. i did not knew about this, i will let you know once check this out.

You must log in or register to reply here.

GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's (2024)

References

Top Articles
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 6510

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.