5,600,182 Members 39,337 Now Online
XDA Developers Android and Mobile Development Forum

[FIX] NO Recovery mode, No download mode, after OTA on rooted LG G2

Tip us?
 
rock187
Old
(Last edited by rock187; Yesterday at 08:04 AM.) Reason: add screenshot
#521  
Member
Thanks Meter 1
Posts: 53
Join Date: Jul 2008
Location: padoa
Default 0 internal storage!

hi guys.. my device i think is totaly brick!
0 internal storage
no download mode (i can see de screen with download but usb don't recognize it)
recovery twrp tell me i have 0 internal storage, can't mount nothing cache data system media ..

I did everything written to thread successfully but how do I partition the internal memory?
I saw in the server gpt partition.. can i use that file for repartition my internal memory?
 
Manafest
Old
#522  
Member
Thanks Meter 5
Posts: 63
Join Date: Apr 2011
Mhm.. it is not working for me. But I have the problem since i flashed the OptimusRS ROM (LG G Pro Rom ported to G2).

So here is the error which i get. It says sdb does not exist...

 
bender_007
Old
#523  
bender_007's Avatar
Senior Member
Thanks Meter 480
Posts: 930
Join Date: Dec 2010
Location: Slavonija
Quote:
Originally Posted by npzinho View Post
I received this message.

What I did wrong?
Linux is CaSe SeNsItIve m8.

/Desktop instead of /desktop
http://forum.xda-developers.com/signaturepics/sigpic3279781_2.gif
 
cfmaxima
Old
#524  
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Dec 2008
Default not returning enough line after ls /dev/sd* in ubuntu, only /dev/sda /dev/sda1 /dev

Quote:
Originally Posted by Partager.info View Post
First of all i must thank @Shelnutt2 from lg-g2 irc channel who helped me to unbrick my phone and get it back alive. The whole process described bellow came from him.
not returning enough line after ls /dev/sd* in ubuntu, only /dev/sda /dev/sda1 /dev

Description of the problem:

Your LG G2 D802 is living this situation:
1- Rooted and got OTA
2- No Download mode
3- No recovery mode
4- Secure booting error
5- LG detected as qhsusb_bulk in device manager
6- When you boot your device it shows only LG logo with secure booting error, then the screen goes black while your phone is still on.
7- Other symptoms


The only solution for you is the following.

I'll explain the solution for an LG G2 D802 10a, then you can apply it for your device model by downloading the appropriate files.
You will need to use linux.
Ubuntu is good enough to make the job. You can use a virtual machine, live cd or a bootable usb stick.

So lets start.

Files to download from here
1- sbl1.img
2- aboot.img
3- rpm.img
4- tz.img
5- openrecovery-twrp-2.6.3.2-g2d802

Now just boot into ubuntu and plug your LG G2 to the computer.

Put the downloaded files in the desktop or wherever you want. You just need to know the path to your files.
unplug any other usb device except your mouse, keyboard and lg g2.
Open terminal in ubuntu then type:

Code:
ls /dev/sd*
It should return something like this:



In this case your device is detected under sdb. you may have it under sdc. just look for the biggest number, in this case /dev/sdb36 so it is sdb.

Linux keeps poping up error message "unable to mount..."? follow this solution by @priority3


now, according to the result of the first command type the following:

Code:
gdisk -l /dev/sdb
you will get result:

Code:
Number  Start (sector)    End (sector)  Size       Code  Name
   1           32768          163839   64.0 MiB    0700  modem
   2          163840          165887   1024.0 KiB  FFFF  sbl1
   3          165888          166911   512.0 KiB   FFFF  dbi
   4          196608          197631   512.0 KiB   FFFF  DDR
   5          229376          231423   1024.0 KiB  FFFF  aboot
   6          231424          233471   1024.0 KiB  FFFF  rpm
   7          262144          294911   16.0 MiB    FFFF  boot
   8          294912          296959   1024.0 KiB  FFFF  tz
   9          296960          296961   1024 bytes  0700  pad
  10          327680          333823   3.0 MiB     FFFF  modemst1
  11          333824          339967   3.0 MiB     FFFF  modemst2
  12          339968          339969   1024 bytes  FFFF  pad1
  13          360448          393215   16.0 MiB    FFFF  misc
  14          393216          458751   32.0 MiB    0700  persist
  15          458752          491519   16.0 MiB    FFFF  recovery
  16          491520          497663   3.0 MiB     FFFF  fsg
  17          524288          525311   512.0 KiB   FFFF  fsc
  18          525312          526335   512.0 KiB   FFFF  ssd
  19          526336          526337   1024 bytes  FFFF  pad2
  20          526338          527361   512.0 KiB   FFFF  encrypt
  21          557056          573439   8.0 MiB     0700  drm
  22          573440          589823   8.0 MiB     0700  sns
  23          589824          655359   32.0 MiB    FFFF  laf
  24          655360          720895   32.0 MiB    FFFF  fota
  25          720896          786431   32.0 MiB    0700  mpt
  26          786432          787455   512.0 KiB   FFFF  dbibak
  27          787456          789503   1024.0 KiB  FFFF  rpmbak
  28          789504          791551   1024.0 KiB  FFFF  tzbak
  29          791552          791567   8.0 KiB     FFFF  rct
  30          819200         6488063   2.7 GiB     0700  system
  31         6488064         7733247   608.0 MiB   0700  cache
  32         7733248         7897087   80.0 MiB    0700  tombstones
  33         7897088         7929855   16.0 MiB    0700  spare
  34         7929856         8028159   48.0 MiB    0700  cust
  35         8028160        30703615   10.8 GiB    0700  userdata
  36        30703616        30777310   36.0 MiB    0700  grow
We will be interested by lines marked by red color here. those lines show us the partitions numbers of each file we have downloaded at the begining.
I'm talking about
1- sbl1.img
2- aboot.img
3- rpm.img
4- tz.img
5- openrecovery-twrp-2.6.3.2-g2d802

in our case the sbl1.img is located under sdb2
aboot.img under sdb5
rpm.img under sdb6
tz.img under sdb8
recovery under sdb15

now be careful and try to make it the right way.
we will use dd commands to push img files inside the right partitions.
So lets start:

if youare not logged on as root in ubuntu just open terminal and type
Code:
sudo -i
then type your password

now you must be under root access.

then type the following dd command:

Code:
dd if=/home/med/Desktop/sbl1.img of=/dev/sdb2
i put files in the desktop, so the path to the img files for me is /home/med/Desktop/. just replace this path by the appropriate path to your files. one done you will get some information about the file size you pushed and maybe time of the operation.

keep doing the samething for the other files:

Code:
dd if=/home/med/Desktop/aboot.img of=/dev/sdb5

dd if=/home/med/Desktop/rpm.img of=/dev/sdb6

dd if=/home/med/Desktop/tz.img of=/dev/sdb8

dd if=/home/med/Desktop/openrecovery-twrp-2.6.3.2-g2d802 of=/dev/sdb15
Once you finish just reboot your phone, if you did things as described you must boot into twrp recovery.

now just use twrp to flash your ROM and follow this tutorial to reboot into your ROM
http://forum.xda-developers.com/show....php?t=2451696

Good Luck.
not returning enough line after ls /dev/sd* in ubuntu, only returning: /dev/sda /dev/sda1 /dev/sdb /dev/sdc /dev/sdd /dev/sde
 
npzinho
Old
#525  
npzinho's Avatar
Senior Member
Thanks Meter 44
Posts: 225
Join Date: Aug 2012
Location: Rio de Janeiro
Quote:
Originally Posted by bender_007 View Post
Linux is CaSe SeNsItIve m8.

/Desktop instead of /desktop
Thanks.

I got it.
 
arpit.trivedi
Old
#526  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Nov 2010
Default vzw lg g2

i see all the file are bin file and i thougth you need img file how do i get it for verizon lg g2 i have done with att file by mistake now i need verizon files for for the flash which is img file
thanks


Quote:
Originally Posted by Partager.info View Post
You should download the appropriate img files to verizon. I've made the tutorial for D802. I hope you did not download the same files.
Just do it again. Download files from here: http://downloads.codefi.re/autoprime...Stock_Firmware

Just chose the right version from 11A and 10B, enter the folder and download the required files in the tutorial. push them and restart your phone it should reboot into twrp recovery.

Good luck
 
levanitit
Old
#527  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Feb 2013
Default Thanks for this post

Thanks for great post.

I need help, I have g2 ls980, I was entering all time fastboot mode, I wanted replace partitions with original images and I erase most importent partitions for replace that partitions with original img files, after erase I run reboot comand ( mistake ) for comands make efect, but after restart, my pc detecting only usb- bulk. Linux mint can not see in dev direcotory,(ls /dev/sd* just sda 1,2-5) but when run comand LSusb, linux can see my divec. Please help me, Haw can I see partitions?



Sorry for my bed english

---------- Post added at 06:47 PM ---------- Previous post was at 06:22 PM ----------

Quote:
Originally Posted by sas007 View Post

EDIT:a few more hours later i mounted root ran first command and got all 36 sdb showing

Hi, I have similar problem, can you tall me haw maunt you your G2?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes