[G Pad 10.1 Q&A, Help & Troubleshooting] surfrock66:
So, "Progress" update?

I got a new SD card. Flashed the stock partitions exactly as they came, no twrp or anything. I put the new SD card into the tablet...and it booted to TWRP. Not only that, /sdcard/ is still populated with my stuff.

So...somehow, the sd card enables the tablet to boot from TWRP located on some partition on the tablet's storage itself, and the /sdcard/ partition on /dev/block/mmcblk0p34 is actually the device's storage. Looking at the major/minor numbers in /proc/partitions, is it possible that partitions 32-35 are actually the onboard storage, but 1-31 are the sdcard? That doesn't make sense in regard to how TWRP is booting.

I ran strings against the partitions and diff'd them, and the ones on 0p18 and 1p18 are different. Still, I'm not sure the boot order of this recovery mode here. I THINK I can flash individual .bin files to individual partitions on the onboard storage, but now I'm worried about locking myself out of twrp. What does the sdcard method of booting actually boot from?

Here's a neat log I found, I'm analyzing it:

/tmp # cat recovery.log
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 2.8.6.0 on Fri Jan 2 00:45:44 1970
(pid 174)
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
I:Found brightness file at '/sys/devices/f9925000.i2c/i2c-2/2-0036/backlight/lm3697/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
Starting the UI...Pixel format: 800x1280 @ 32bpp
Pixel format: RGBX_8888
Not using qualcomm overlay, 'mdssfb_80000'
framebuffer: fd 4 (800 x 1280)
TW_SCREEN_BLANK_ON_BOOT := true
I:Scaling the curtain width 0.740741x and height 0.666667x
=> Linking mtab
=> Processing recovery.fstab
I:Processing '/system'
I:Processing '/data'
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Processing '/cache'
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/efs1'
I:Processing '/efs2'
I:Processing '/external_sd'
I:Created '/external_sd' folder.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/LGV4806aacc2f5'
I:Settings storage is '/data/media/0'
Updating partition details...
I:Data backup size is 0MB, free: 7606MB.
...done
I:Unmounting main partitions...

Partition Logs:
/system | /dev/block/mmcblk0p32 | Size: 2012MB Used: 41MB Free: 1971MB Backup Size: 41MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p32
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/data | /dev/block/mmcblk0p34 | Size: 11420MB Used: 0MB Free: 7606MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p34
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537

/cache | /dev/block/mmcblk0p33 | Size: 888MB Used: 19MB Free: 868MB Backup Size: 19MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p33
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/boot | /dev/block/mmcblk0p17 | Size: 24MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p17
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/recovery | /dev/block/mmcblk0p18 | Size: 24MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p18
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/efs1 | /dev/block/mmcblk0p12 | Size: 3MB
Flags: Can_Be_Backed_Up Has_SubPartition IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: EFS
Storage_Name: EFS
Backup_Path: /efs1
Backup_Name: efs1
Backup_Display_Name: EFS
Storage_Path: /efs1
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/efs2 | /dev/block/mmcblk0p13 | Size: 3MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /efs1
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: efs2
Storage_Name: efs2
Backup_Path: /efs2
Backup_Name: efs2
Backup_Display_Name: efs2
Storage_Path: /efs2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/external_sd | /dev/block/mmcblk1p1 | Size: 63MB Used: 21MB Free: 42MB Backup Size: 21MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: Micro SDcard
Storage_Name: Micro SDcard
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: Micro SDcard
Storage_Path: /external_sd
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65538

I:Loading package: TWRP (/script/ui.xml)
I:Load XML directly
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:Checking resolution...
I:Scaling theme width 0.740741x and height 0.666667x, offsets x: 0 y: 0
I:Loading resources...
open_png /twres/images/twrplogo.png
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
open_png /twres/images/menu-button.png
open_png /twres/images/file.png
open_png /twres/images/folder.png
open_png /twres/images/slideout.png
open_png /twres/images/indeterminate001.png
open_png /twres/images/indeterminate002.png
open_png /twres/images/indeterminate003.png
open_png /twres/images/indeterminate004.png
open_png /twres/images/indeterminate005.png
open_png /twres/images/indeterminate006.png
open_png /twres/images/indeterminate007.png
open_png /twres/images/progress_empty.png
open_png /twres/images/progress_fill.png
open_png /twres/images/checkbox_empty.png
open_png /twres/images/checkbox_checked.png
open_png /twres/images/radio_empty.png
open_png /twres/images/radio_selected.png
open_png /twres/images/medium-button.png
open_png /twres/images/sort-button.png
open_png /twres/images/minus-button.png
open_png /twres/images/plus-button.png
open_png /twres/images/home-icon.png
open_png /twres/images/back-icon.png
open_png /twres/images/slider.png
open_png /twres/images/slider-used.png
open_png /twres/images/slider-touch.png
open_png /twres/images/unlock.png
open_png /twres/images/keyboard1.png
open_png /twres/images/keyboard2.png
open_png /twres/images/keyboard3.png
open_png /twres/images/keyboard4.png
open_png /twres/images/cursor.png
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:PageSet::CheckInclude loading filename: '/twres/portrait.xml'
I:Loading included resources...
I:Loading included variables...
I:Loading mouse cursor...
I:Loading included pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page install_image
I:Loading page flashimage_confirm
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/0/TWRP/BACKUPS/LGV4806aacc2f5'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page screen
I:Loading page Vibrate
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixperms
I:Loading page installsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands:
ro.adb.secure=0
ro.com.google.clientidbase=android-google
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.com.android.wifi-watchlist=GoogleGuest
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.boot.emmc=true
ro.boot.console=ttyHSL0
ro.boot.baseband=apq
ro.boot.hardware=e8wifi
ro.boot.serialno=LGV4806aacc2f5
ro.boot.bootdevice=msm_sdcc.1
ro.boot.dlcomplete=0
ro.omni.device=e8wifi
ro.omni.version=5.1.1-20150507-e8wifi-HOMEMADE
ro.twrp.boot=1
ro.twrp.version=2.8.6.0
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=msm8226
ro.build.id=LMY47V
ro.build.date=Thu May 7 02:29:22 CEST 2015
ro.build.date.utc=0
ro.build.host=shoxx-linux
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=shoxx
ro.build.flavor=omni_e8wifi-userdebug
ro.build.display.id=omni_e8wifi-userdebug 5.1.1 LMY47V eng.shoxx.20150507.021301 test-keys
ro.build.product=e8wifi
ro.build.version.sdk=22
ro.build.version.release=5.1.1
ro.build.version.codename=REL
ro.build.version.incremental=eng.shoxx.20150507.021301
ro.build.version.all_codenames=REL
ro.build.description=omni_e8wifi-userdebug 5.1.1 LMY47V eng.shoxx.20150507.021301 test-keys
ro.build.fingerprint=LGE/omni_e8wifi/e8wifi:5.1.1/LMY47V/shoxx05070215:userdebug/test-keys
ro.build.characteristics=default
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Argon.ogg
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.secure=1
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.name=omni_e8wifi
ro.product.board=MSM8226
ro.product.brand=LGE
ro.product.model=e8wifi
ro.product.device=e8wifi
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=LGE
ro.baseband=apq
ro.bootmode=unknown
ro.hardware=e8wifi
ro.revision=6
ro.serialno=LGV4806aacc2f5
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=OmniROM-5.1.1-20150507-e8wifi-HOMEMADE
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
init.svc.adbd=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.set_permissive=stopped
twrp.crash_counter=0
dalvik.vm.isa.arm.features=div
dalvik.vm.lockprof.threshold=500
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.root_access=1
service.adb.root=1
keyguard.no_require_sim=true

I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u:object_r:system_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/LGV4806aacc2f5'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:TWFunc::Fixup_Time: Pre-fix date and time: 1970-01-01--19-45-47
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: no ats files found, leaving untouched!
I:Enabling MTP during startup
I:Starting MTP
Starting MTP
I:Get_Max_FileSize::maxFileSize: 17592186044416
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
I:Message sent, add storage ID: 65537
I:Get_Max_FileSize::maxFileSize: 4294967296
I:sending message to add 65538 '/external_sd' 'Micro SDcard'
I:Message sent, add storage ID: 65538
MTP Enabled
I:Switching packages (TWRP)
created new mtpserver object
MtpServer::run fd: 12
mtppipe add storage 65537 '/data/media/0'
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpStorage id: 65537 path: /data/media/0
mtppipe add storage 65538 '/external_sd'
MtpStorage id: 65538 path: /external_sd