G2 Lollipop 순정 루팅

For many foreigners.
First of all, thank you for visiting my blog. However below description is written in Korean. Perhaps, it is hard to understand. Threrfore, I recommand you to read these article

[Working][How To] Lollipop Root from LGG3


http://forum.xda-developers.com/android/development/guide-root-method-lg-devices-t3049772
thanks for translation to Unjustified Dev.

 

아래는 순정 G2(F320S), 30D 의 루팅과정을 안내한다.
아름다운 건축자재가 만들어 질 수 도 있으나 모든 책임은 엔터치는사람이…
LG는 루팅하면 소프트웨어뿐만아니라 하드웨어 게런티 까지 모두 Void 됨을 명심!

필요한 파일 :
http://download.chainfire.eu/supersu에서 UPDATE-SuperSU-v2.45.zip
rooting require 에 들어있는 busybox, g2_root.sh, Push_File.exe, Send_Command.exe
USB드라이버는 필요가 아니라 필수다.

Step1
MTP 모드로 연결하면 LGE Mobile USB Serial Port(v:1004,p:633E)로 잡는다
포트번호를 알아내야한다(생략)

Step2
Send_Command를 실행한다음 “ENTER”를 입력하면 폰이 다운로드 모드로 간다.
(ex: Send_Command.exe \\.\COM5)

Step3
Push_File로 g2_root.sh와 busybox, UPDATE-SuperSU-v2.45.zip 를 적당한 위치(/data)에 집어넣는다.(정상적으로 파일이 들어갔는지 확인해야한다!)
(ex: Push_File.exe \\.\COM5 g2_root.sh /data/g2_root.sh)

Step2
Push_File.exe로 파일전송시 에러율이 높아 adb로 전송해놓고 루팅과정을 시작한다.
adb push g2_root.sh /data/local/tmp/
adb push busybox /data/local/tmp/
adb push UPDATE-SuperSU-v2.45.zip /data/local/tmp/
(thanks for this idea to Unjustified Dev)

Step3
Send_Command를 실행한다음 “ENTER”를 입력하면 폰이 다운로드 모드로 간다.
(ex: Send_Command.exe \\.\COM5)

Step4
Send_Command를 실행시키면 루트쉘이 떠있다.
“sh /data/local/tmp/g2_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.45.zip /data/local/tmp/busybox” 를 입력해준다. (뭔가 주르륵 뜰것이다.)

Setp5
Send_Command창에 LEAVE 를 입력해주면 재부팅 되며 루팅이 되어있을것이다.

ps.
/data에 넣은 파일들은 직접 지워줘야된다(놔둬도 용량얼마안되지만).
커맨드가 잘 안먹힐 가능성이 높다. 반복하다보면 된다.(하지만 업데이트는 없다)
큰 용량은 PushFile로 안들어간다(대충 15mb 까지)
테스트는 winxp, F320s로 해봄.

If it helped you, please support my works
[paypal-donation purpose=”Support”]

 

qcdlcomm just for a mirror

80 thoughts on “G2 Lollipop 순정 루팅”

  1. 드라이버, rooting require 등 모든 걸 완벽하게 했고 PORT도 알았는데 계속 Couldn’t open the port COM42 ( 42번 포트로 지정했습니다.) 라고만 뜨고 Send_Command 나 Push_File 다 안되네요. 어떻게 해야 하나요?

    1. 저도 왠지는 모르겠지만 “\\.\COMXX” 이런식으로 해줘야 되더라구요

  2. 이거진짜 국내판 g2롤리팝 루팅인가요
    다른분은전부 다운그레이드해서 플래싱해야된다하시던데

    1. 네 G2롤리팝 정펌 올린상태에서 가능한 방법입니다.
      기존에 다운그레이드 -> 리커버리에서 파일시스템만 올리는 방법이랑은 다릅니다.

  3. 커맨드가 실행이 전혀안되는데 제발 업데이트좀해주세요…..ㅠㅠㅠㅠㅠㅠㅠㅠ

    1. 앞서 몇분 테스트 해주셨는데 문제없이 루팅 된것으로 확인했습니다.

  4. 커맨트파일은 그냥 클릭하면되는건가요? 아니면 cmd해서 실행방식으로해야되나요 도저히 클릭으러만은 실행이안되는데

  5. 아 궁금한게너무많네요ㅠㅠ 포트번호도 장치관리자 가서보면더ㅣ는거죠
    롤리팝이후로 컴퓨터연결시 방식이 사라진거같은데ㅠㅠ혹시 카톡으로연락가능하신가요

  6. 윈도우 xp사용중인데
    운영체제때문일까요?
    프로그램 실행이 불가능합니다 실행시 꺼지네요 ㅠ

    1. VC2010 런타임 없어서 그런거 같습니다 한번 확인해보세요 ^^; XP에서 만든 프로그램입니다

  7. Push_File.exe \\.\COM5 g2_root.sh /data/g2_root.sh 작성했는데 아래에 “UNLK : “만 뜨고 아무 반응이 없네요..

    이럴때는 그냥 꺼 주면 되나요?

    1. 아, Step3까지는 완료했습니다. 문제는 Step4인데..

      #에 sh /data/g2_root.sh dummy 1 /data/UPDATE-SuperSU-v2.45.zip /data/busybox 쳐 줘도 아무것도 안뜨고 다시 #만 뜨네요

      왜 그런지 알 수 있을까요..

      1. 이게 실행이 잘 안될때가 있어요 ~_~ 그래서 완전자동화 만드는건 포기했답니다 ^^;
        여러번 하다보면 되거나 아니면 command프로그램을 다시 실행해보세요~

  8. 커맨드파일이 실행안될땐 위에서 말하신 런타임을 설치하면되나요?

  9. vc2010설치를 다시해도안되네요 vc2013까지 설치되잇는거같은데….커맨드파일이 열리질않습니다 다른 게또잇나요

  10. 성공습니다.

    G2

    롤리팝은 루팅이 안된다는 기사도 많았는데 결국 때가 되니 다 뚫리는 군요.

    특히 이 방법은 초기화 안하고 할 수 있어서 마음에 드네요.

  11. 제 입장에는 엄청 쉽게 했네요

    역시 메인이 리눅스라 그런듯 ㅎㅎ

  12. 덕분에 수월하게 막 루팅 성공했습니다. SK기기구요 (F320S 5.0.1, 30e)

    첫 시도에서 STEP3 진행이 안되길래 확인해보니 폰이 정상으로 켜진 상태에서 COM3로 잘 잡히더니만, 다운로드 모드 들어간 뒤로 드라이버가 제대로 작동을 안해서 PC와 붙지를 않아서 생긴 문제더군요.. PC 재부팅하고 2차 시도하니, 다운로드 모드에서도 폰과 PC가 정상적으로 잘 붙었습니다. 2차 시도에서는 두 모드에서 모두 COM5로 붙었습니다.

    덕분에 쉽게 루팅했어요. 감사합니다.

  13. 마지막부분 sh /data/g2_root.sh dummy 1 /data/UPDATE-SuperSU-v2.45.zip /data/busybox 이거쳣는데Fail이라고나오는데 실패한거져? ㅋㅋㅋ

      1. 문제가 있는 것이 아니라
        님이 너무 좋은 자료를 공개해 주셔서 많은 분들이 감사하고 있다는 의미입니다.^^

        1. 아 그렇군요 ^^; 저또한 제가 만든프로그램(?)을 써주시는거에 대해서 감사합니다ㅎㅎ

  14. 안녕하세요, 늦었지만 질문하고 싶은 것이 있어서 코멘트를 올립니다.
    F320S 30e 펌웨어에서 루팅을 시도하려하는데, 이경우에 문제가 생길 수 있나요?

      1. 비장한 마음으로 방금전에 다시 한번 시도해봤는데, 무한 로고현상이 나타나는군요…LTE A만 반짝반짝 ㅜㅜ
        내일까지 계속 반짝거리고 있으면 또다시 AS센터로 가봐야겠군요. 그래도 이렇게 알려주셔서 감사합니다 :)

        1. 혹시 이전방법으로 하셨나요?
          수정한 방법(adb)으로하면 루팅안되더라도 무한부팅은 없을텐데…

          다운로드모드로 다시 롬올려보세요 “

          1. adb를 잘 몰라서 그냥 했거든요, 으음. 그것때문에 이런 문제가 생긴걸지도 모르겠군요.
            다운로드모드로 진입하여 다시 시도하면 괜찮을까요?

          2. Push_File로 파일전송이 잘안된상태에서 루팅을 시도하면 무한부팅하는거같더라구요…
            스크립트 부분에서 파일을 다 확인하도록 만들었어야되는데…

  15. 정말 염치없고 죄송한 부탁이지만, 저같은 실수를 하는 사람들을 위하여 adb 부분에 대한 주의를 글에 올려주실 수 있나요?

  16. Hello. As I understand this is for lg2. Can I safely use it on my LG G3 ? Thanks.

    1. I only tested with my LG G2(F320S)
      However, many people have already tested that and any problem was not reported

      I hope you can get your g3 rooted with this method

  17. Thanks for the guide. Do you know if it is possible to send shell command from the Linux machine? Execution of send_command.exe is the only step in the guide which requires windows. It would be great if it could be done in Linux.

    1. Actually, it is kind of prototype the exe files.
      As a debian user, I am considering making a ruby script but the time doesnt allow… ㅠㅠ
      I will make it and release someday hopefully.

      1. Dear Only(?),

        many thanks for sharing the root method for LG devices. Just bought a G3, and want to gain control over it. However, I have no physical Windows machine, and moreover I want to know what is sent to my phone. Hence, I follow Yuri and kindly ask you if you could reveal what command is sent to the serial port? (Or even better, the source code to Send_Command.exe). Then I would be happy to try to replicate it with e.g. python or C++.

        Best regards
        Niklas

        1. Thanks for leaving a comment
          First of all, I am too shy to open the source code…
          Recently, I am quite busy doing something else… However, trying to make what you want but it will be ruby code ;)
          I am working on it in my spare time. So you will meet that sooner or later through this page.

          1. I will be waiting, ever so patiently then ;) Ruby is of course as good as any. Just to explain and excuse myself: I can of course use windows to root my phone, but I am quite reluctant to push unknown commands to it. I want to know what’s going on. I know, LG, google (and hence probably NSA) is all over my phone and there are lots of things that have no control over, but still…

            Thank you very much for replying and no hurry :)
            Cheers
            Niklas

          2. I would also like to thank you for this method, and echo the concern of others that I prefer to know exactly what and how my phone is getting rooted.
            Last phone I rooted I did completely from scratch on the command line, and that’s the way I like it. :p

          3. I want to know what you guys want to have.

            source code or working on linux machine?

            I just got some results but it seems much more difficult and dangerus than working in windows machine.
            It needs root permission to replace a kernel module and I don’t know how to deal with it. I can do it manually. The thing is making an automated script…

          4. Well really I think we would like to see source code, although I can only speak for myself. :)

            I am more than happy doing manual commands either way. I have already written my own script (installs CM superuser.apk instead of superSU) to send to the phone once the root exploit takes hold, just missing the one step of how the exploit happens. :)

          5. Hi!

            First of all, do this only if you think its fun(!)

            I am not looking for a one click thing either. I am just very interested in understanding how these things work… Source code usually is a very good start for that, but you have my understanding if you’d like to keep it; and I know well how time consuming it can be to clean up code, before I feel it’s OK to show to others.

            I’m surprised the process seems less robust under linux than windows, and now I’m even more curious ;-)
            However, I’ve been using and administrating linux since ’98, so a rough description/method is very much OK. Maby I can be of help streamlining it.

            (Just recently I was almost about to root the windows way, but the USB bridge, or whatever, in Virtualbox seem to disagree enormously with the LG drivers. Neverf seen Windows crash so quickly.)

            best regards
            N

  18. 제가 용어들을 잘 몰라서 그러는데 1번 포트잡는거는 대충 알겠는데 2번부터 무슨말인지 잘 모르겠네요
    쉽게 설명 가능한가요?

  19. Thank you for the method! Nice work on L90!
    I have bricked L9. In this phone flash memory must be partitioned. It can be conected to PC at fastboot mode and PC see it as com-device on special com-port.
    I want to try to partition memory by “Send Command.exe” or similar programm. Do you think this is possible?
    Thank you!

    1. Well… I have no idea coz I don’t have other LG devices except G2.
      I wish you luck but if I were you, I wouldn’t try that…

  20. 포트번호에 \\.\ com2 이런식으로해줘야되는거였네여. 그리고 순정복구땜에 41로되있는거 안되서 2번으로해주니되네요.
    감사합니다.

  21. Hi, I am also interested in porting this method to Linux.

    I tried a few things my self, but the only thing I am able to send and get results are AT commands for the modem.
    Can you share the port settings you are using? (baud rate, parity etc.)
    And the commands you send to enter and leave download mode?

    Also, I noticed that on Ubuntu (maybe other Linux distros too), to show the serial port while system is running (not in download mode) you need to switch USB configuration.
    This also enables ADB when device is set to MTP (usually ADB only available under PTP).

    I can share the code that does this if you want.
    It’s C using libusb, no root privileges needed.

  22. Do you have a file downloader utility for this (phone –> pc ) ? Or better, a little piece of source code to get an idea where to begin? Thanjs

Leave a Reply to jjp Cancel reply

Your email address will not be published. Required fields are marked *