[Root & Bootloader Unlock] Docomo Optimus G

Search This thread

Robobob1221

Senior Member
Feb 4, 2012
1,351
515
取手市。日本
On Docomo but another phone: Q about your root access

Hi,
Sorry for being a bit off topic but I wanted to know, with the root access, has the docomo security been completely turned off?
On Samsung's Galaxy Note 2 we have a problem with certain root apps causing restarts when granted su access. These inc. stericson's busybox, and root manager. Have any of you encountered anything like this?
 

germes81m

Senior Member
Oct 4, 2010
198
27
www.paybox.me
Hi,
Sorry for being a bit off topic but I wanted to know, with the root access, has the docomo security been completely turned off?
On Samsung's Galaxy Note 2 we have a problem with certain root apps causing restarts when granted su access. These inc. stericson's busybox, and root manager. Have any of you encountered anything like this?

On Galaxy Note 2 may be. Coze I don't have it but on Docomo Optimus G rooting with this method not call any problems with device

Sent from my L-01E using xda premium
 

Robobob1221

Senior Member
Feb 4, 2012
1,351
515
取手市。日本
Do you know how the access control was bypassed/switched off, is it something that can be disabled within the ramdisk?

Sent from my SC-02E using Xparent Skyblue Tapatalk 2
 

chevro1et

Senior Member
Oct 23, 2012
270
45
Busan
I know the security is disabled when the bootloader is unlocked using the Free Gee tool. Unsure if that tool has been updated to include the Domoco devices or not. You could ask on the IRC channel or in the Free Gee thread.

Sent from my LG-F180L using xda app-developers app
 

Misudoll

Senior Member
May 17, 2012
142
23
Beijing
You are about this post?
I'm interested too but don't know can we install this lockscreen coze we have not deoxeded rom

do you know how to decompilation an apk ?if so,I think this method will disappear the R signal
add this sentence into the framework-res .apk remember to backup at first.

<EriInfo RoamingIndicator="128" IconIndex="1" IconMode="0" EriText="your carrier" CallPromptId="0" AlertId="0" />

it's beyond my ability so i don't know how to add it
Sent from my LG-F160L using xda premium
 
Last edited:
  • Like
Reactions: germes81m

germes81m

Senior Member
Oct 4, 2010
198
27
www.paybox.me
do you know how to decompilation an apk ?if so,I think this method will disappear the R signal
add this sentence into the framework-res .apk remember to backup at first.

<EriInfo RoamingIndicator="128" IconIndex="1" IconMode="0" EriText="your carrier" CallPromptId="0" AlertId="0" />

it's beyond my ability so i don't know how to add it
Sent from my LG-F160L using xda premium

Big thanks my friend but I don't know how modify apk files.
I will wait for modificated rom with all disabled unneeded functions.

Sent from my L-01E using xda premium
 

mimicats

Member
Dec 30, 2012
27
1
Is there succeed rooting this device? I didn't read too long :p
Thx dude

I means dat who ever tried to remote the Dapps ;)
Sent from my L-01E using xda premium
 
Last edited:

zporkz

Senior Member
Aug 27, 2009
50
5
Thanks! This worked for me.
In case anyone is having troublewith the fastboot drivers, install the normal LG drivers, and follow the instructions for the root process.
WHen you get to the garbled screen, that's when you'll be able to install the fastboot drivers. Do so then, then continue with the guide.
 
  • Like
Reactions: mimicats

mimicats

Member
Dec 30, 2012
27
1
Thanks! This worked for me.
In case anyone is having troublewith the fastboot drivers, install the normal LG drivers, and follow the instructions for the root process.
WHen you get to the garbled screen, that's when you'll be able to install the fastboot drivers. Do so then, then continue with the guide.

Man, did u delete the Docomo apps after root. If yes, would u mind to proce the steps :rolleyes: BTW thx lots
Sent from my L-01E using xda premium
 

Misudoll

Senior Member
May 17, 2012
142
23
Beijing
Man, did u delete the Docomo apps after root. If yes, would u mind to proce the steps :rolleyes: BTW thx lots
Sent from my L-01E using xda premium

you may install a system app remover
or use an Root explorer enter the system/app file and delete them
remember to backup before you do this

Sent from my LG-F160L using xda premium
 

zporkz

Senior Member
Aug 27, 2009
50
5
So now that the phone has been unlocked, cab I safely flash other Optimus G roms?

Sent from my L-01E using xda app-developers app
 

germes81m

Senior Member
Oct 4, 2010
198
27
www.paybox.me
So now that the phone has been unlocked, cab I safely flash other Optimus G roms?

Sent from my L-01E using xda app-developers app
Yes phone success unlocked but you can't flash roms from other optimus g devices. If you flash you break your phone. Now I not see any custom or new roms to our device, may be in future some will crate.

Wow cool, how about the battery life after u deleted all these, is there longer or nth special? :thumbup:
Sent from my L-01E using xda premium
Yes bro after del all unneded apps battery life very good on my lgog. Only games and 3g very quickly eat battery:rolleyes:


Sent from my L-01E using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Original source: http://www.androidpolice.com/2013/01/21/exclusive-how-to-root-ntt-docomos-lg-optimus-g/

    Credits:
    adb backdoor: giantpune
    Duct tape guru: jcase
    bootloader: Team Codefire http://xdaforums.com/showthread.php?t=2001655
    Testers: Shados and germes81m

    Donations:
    For giantpune : Paypal to giantpune@gmail.com
    For jcase : http://xdaforums.com/donatetome.php?u=2376614

    Download: http://d-h.st/d6p

    Files: (Verify the MD5s before proceeding)
    MD5 (boot.img) = 175c1bdaabbbbcbd7a4b69a315057e5b
    MD5 (hotplug) = 9fbef20822281a2dd546b3e43d8c30dd
    MD5 (lk.img) = bc54a6a730658550713a0779b30bf6b7
    MD5 (unlock.sh) = 3871c2dde3d6b1d99d27ffa4021c81d3


    Fastboot Drivers (needed for windows):
    http://xdaforums.com/showthread.php?t=1996051

    Notice:
    This is an at your own risk kind of thing, if your phone becomes damaged or data lost, your
    fault not mine. This does install a unsecured (ro.secure=0) boot image in the process, this
    does potentially open your device to security risks (as do most customized firmwares.)


    Story:
    The Docomo Optimus G ships with a mandatory access control system, that prevents
    remounting system, reading boot, executing some things as root, etc general pain in the butt.

    We are using a backdoor found by giantpune (and later by Juggie). The backdoor is partially
    broken on this device due to the MAC, so it does not yield a root shell for us. However we
    can still use it with a couple extra steps to unlock the bootloader\s. We are also going to
    install a modified boot img, that removes some of the phone's security features, and allows
    us to actually have root access.

    Notes:
    Graphic glitches will occur while in the bootloader, you will have to use the bootloader 'blind'


    Follow directions exactly.

    Directions:


    Code:
    adb push lk.img /data/local/tmp/lk.img
    
    adb push unlock.sh /data/local/tmp/unlock.sh
    
    adb shell chmod 755 /data/local/tmp/unlock.sh
    
    adb shell touch /sdcard/g_security

    Disable USB Debugging, then enable usb debugging

    Code:
    adb shell id

    Should recieve an error about not executing /system/bin/sh, this is what we want. If you
    don't have the error, start over.

    Code:
    adb push hotplug /proc/sys/kernel/hotplug

    Now toggle bluetooth once, and wait for your phone to display a garbaled screen (the bootloader).
    If it displays a blank screen instead of a garbled screen, pull battery, reboot and run 'adb reboot bootloader'

    Code:
    fastboot devices

    If you see your device listed, continue. If not then find the proper drivers, and then
    continue.

    Code:
    fastboot flash boot boot.img
    fastboot reboot
    adb shell /sbin/rootme.sh

    If your phone does not reconnect to your mobile network, try rebooting it serveral times.
    If it does not still, then reflash stock firmware.

    We are using supersu, and the app https://play.google.com/store/apps/details?id=eu.chainfire.supersu
    is needed.
    3
    It failed, Docomo used a MAC (ccs-init/ccs-audit). We got the bootloader unlocked yesterday, so we can removed the access control. I'll post details in the morning.

    What does logcat say?

    Try creating a minimalistic binary

    Code:
    #include <sys/types.h>
    #include <unistd.h>
    #include <stdio.h>
    #include <errno.h>
    #include <string.h>
    
    int main()
    {
      if(setuid(0)==-1)
      {
        printf("Failed Setting Root UID : %s",strerror(errno));
      }
      else
      {
        printf("Success!\nCurrent UID : %d",getuid());
      }
    
      return 0;
    }
    1
    use the lg flash tool and .tot file.uploading complete,you may download now and make a mirror if possible.I'll post a guide on our group later.
    still cannot find the kdz file of this device...

    ---------- Post added at 09:01 AM ---------- Previous post was at 08:41 AM ----------



    it's an amazing job indeed. we're really grateful for what you've done on rooting the L-01E.:good::good::good:
    do i have the permission to reprint this thread on other bbs in my country? I'll indicate the source of course.

    THX again for rooting L-01E:fingers-crossed:
    best regards.


    Repost as you wish, would be nice to have the README stay intact, as well as linking to the source.
    1
    so looks like I am one of the first to confirm JCASE and his friends Rooting Procedure... ITS WORKING!!!!!

    but please be informed that since I had problems installing fastboot on windows... i used my Fedora to be safe... but I believe once you are sure with your fastboot drivers..then you too will not have any problems

    I know I may look redundant..but I want to share what I did so that some people can follow because I myself had some issues...

    so here goes.

    * my system was fedora 18 32bit

    1. I searched for android on the fedora package manager
    - Android Platform Tools (adb,fastboot)
    2. Downloaded the files as per sir JCASE
    3. on terminal, I followed this Commands

    adb push lk.img /data/local/tmp/lk.img

    adb push unlock.sh /data/local/tmp/unlock.sh

    adb shell chmod 755 /data/local/tmp/unlock.sh

    adb shell touch /sdcard/g_security

    4. Was kinda nervous about Disabling and Re-enabling USB DEBUGGING,

    so what I did is that I disconnected and reconnected my phone :)

    5. verified if my device is still seen by adb via this command

    adb devices

    6. once verified, then do this command

    adb shell id

    7. and I smiled when I had the error

    ---not executing /system/bin/sh

    8. next was this command

    adb push hotplug /proc/sys/kernel/hotplug

    9. Then I just Clicked the BLUETOOTH ICON in the STATUS BAR and then I did had the Screen Issue (and yup it is normal)

    10. CHecked if my device is connected via fastboot by this command

    fastboot devices

    11. Once my Device was seen, i followed these commands

    fastboot flash boot boot.img

    fastboot reboot

    12. after few seconds of reboot..I did this command


    adb shell /sbin/rootme.sh

    13. Then there was the note to install SuperSU

    14. After installation, I had some issues with network..so i restarted 2x

    15. And now I have Root, I just installed Cache Mate just to make sure and it worked


    Sorry Sir Jcase for being redundant

    anyway, this will not happen without the help of sir JCASW..so in behalf of all the L-01E Users, THANK YOU SO MUCH!!!!

    maybe this week..i will treat you with some coffee or beer.. hahahaha.. CHEERS!!!


    ***PLEASE TAKE NOTE THE COMMANDS from sir JCASE.. maybe due to my excitement, maybe i had some mixed up with the commands..

    again sir JCASE..thank you so much!!!
    1
    so at this step just click the bluetooth button once and that will do
    am I right dude ?
    congratulations you finally get the device root :D

    Sent from my LG-F160L using xda premium

    Yes toggle is turn off or on.