• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] LG G4 H815 T-mobile 10H Port tests

MicroMod777

Recognized Contributor
Apr 23, 2010
7,352
4,650
113
Los Angeles
www.youtube.com
Here's the T-Mobile USA 10H Stock Rooted ROM that I'm porting to the H815 EU unlocked G4. I basically reversed the process of my previous port of H815 to H811.

Prerequisite:
**Be on H815 EU unlocked
**Want to use this for T-Mobile USA or any carrier. (Might have to add apn)
**Have TWRP installed to flash this.

Bugs: I haven't been able to test this as I don't own the H815 EU.
***????

Installation:
Step 1: Backup First
Step 2: Full Wipe
Step 3: Flash G4-H815-TMO-10H-STOCK-ROOTED-ROM.zip
Step 4: Flash G4-H815-TMO-PATCH.zip
Step 5: Reboot

Important to flash Step 3 and Step back to back.

Downloads:

Flash 1st:
G4-H815-TMO-10H-STOCK-ROOTED-ROM.zip

Flash 2nd
G4-H815-TMO-PATCH.zip

Optional to Flash if your on T-Mobile USA or US others :
G4-USA-APN.zip

XDA:DevDB Information
[ROM] LG G4 H815 T-mobile 10H Port, ROM for the LG G4

Contributors
MicroMod777
ROM OS Version: 5.1.x Lollipop

Version Information
Status: Testing

Created 2015-08-07
Last Updated 2015-08-06
 
Last edited:

galza

Senior Member
Sep 29, 2011
963
136
0
kabri
Anybody with h815 tried it? Any difference between 10c to this one? I have the international version but afraid to install this..

Thanks dev for this port..i will flash it after some feedback from other users :)
 
  • Like
Reactions: vietnam100

barcodelinux

Senior Member
May 29, 2008
305
67
0
Has it been debloated? Also, the end result might be easier if you just create a flashable wificalling.zip that has the necessary files for using tmous wifi calling on the H815.
 

MicroMod777

Recognized Contributor
Apr 23, 2010
7,352
4,650
113
Los Angeles
www.youtube.com
Anybody with h815 tried it? Any difference between 10c to this one? I have the international version but afraid to install this..

Thanks dev for this port..i will flash it after some feedback from other users :)
Are you in the USA with T-Mobile? If so, then this is for you.

Has it been debloated? Also, the end result might be easier if you just create a flashable wificalling.zip that has the necessary files for using tmous wifi calling on the H815.
OP says stock rom, not debloated. Not sure if possible or what files to use for wifi calling as its integrated into settings. For me, doing whole rom is 10000x easier.
 

NJ72

Senior Member
Feb 17, 2012
286
90
0
Wantage
Will this work on a non-US H815? I'm in the UK currently running 10C, but if there are optimisations/ changes between 10C and 10H I'd be keen to get in on the magic :)
 
  • Like
Reactions: philmidd

barcodelinux

Senior Member
May 29, 2008
305
67
0
When flashing the ROM in step 3, I get:

"Extracting system & Boot

Updating partition details...
E:Unable to mount '/system'
...done

---------- Post added at 01:30 PM ---------- Previous post was at 01:02 PM ----------

I think the partitions might be different on each device. Here's the output of df of the H815:

Filesystem Size Used Free Blksize
/dev 1.37G 96.00K 1.37G 4096
/sys/fs/cgroup 1.37G 12.00K 1.37G 4096
/mnt/asec 1.37G 0.00K 1.37G 4096
/mnt/obb 1.37G 0.00K 1.37G 4096
/system 3.92G 3.00G 938.40M 4096
/cache 1.17G 32.62M 1.13G 4096
/data 22.70G 21.73G 994.51M 4096
/persist 27.48M 64.00K 27.42M 4096
/firmware 85.95M 74.77M 11.19M 16384
/sns 3.86M 60.00K 3.80M 4096
/persist-lg 3.86M 584.00K 3.29M 4096
/mpt 27.48M 9.26M 18.22M 4096
/cust 247.97M 7.64M 240.33M 4096
/mnt/shell/emulated 22.70G 21.73G 994.51M 4096
/storage/emulated/legacy 22.70G 21.73G 994.51M 4096
/storage/emulated 1.38G 0.00K 1.38G 4096
/mnt/media_rw/external_SD 119.05G 51.99G 67.06G 131072
/mnt/secure/asec 119.05G 51.99G 67.06G 131072
/storage/external_SD 119.05G 51.99G 67.06G 131072
/storage/emulated/0 22.70G 21.73G 994.51M 4096
/storage/emulated/0/Android/obb 22.70G 21.73G 994.51M 4096
/storage/emulated/legacy 22.70G 21.73G 994.51M 4096
/storage/emulated/legacy/Android/obb 22.70G 21.73G 994.51M 4096

---------- Post added at 01:37 PM ---------- Previous post was at 01:30 PM ----------

And from mount:

rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1437396k,nr_inodes=359349,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=750,gid=1000 0 0
pstore /sys/fs/pstore pstore rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=755,gid=1000 0 0
/mnt/pstore /mnt/pstore pstore rw,relatime 0 0
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,resuid=1000,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/modem /firmware vfat ro,context=u:eek:bject_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/bootdevice/by-name/sns /sns ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/drm /persist-lg ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/mpt /mpt ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/platform/f9824900.sdhci/by-name/cust /cust ext4 ro,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/data/media /mnt/shell/emulated sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
/data/media /storage/emulated/legacy sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,size=1443540k,nr_inodes=360885,mode=050,gid=1028 0 0
/dev/block/vold/179:65 /mnt/media_rw/external_SD exfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,namecase=0,errors=remount-ro,discard,readahead_kb=512 0 0
/dev/block/vold/179:65 /mnt/secure/asec exfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,namecase=0,errors=remount-ro,discard,readahead_kb=512 0 0
/mnt/media_rw/external_SD /storage/external_SD sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=unified 0 0
/data/media /storage/emulated/0 sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
/data/media /storage/emulated/0/Android/obb sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
/data/media /storage/emulated/legacy sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
/data/media /storage/emulated/legacy/Android/obb sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
 
Last edited:

MicroMod777

Recognized Contributor
Apr 23, 2010
7,352
4,650
113
Los Angeles
www.youtube.com
When flashing the ROM in step 3, I get:

"Extracting system & Boot

Updating partition details...
E:Unable to mount '/system'
...done

---------- Post added at 01:30 PM ---------- Previous post was at 01:02 PM ----------

I think the partitions might be different on each device. Here's the output of df of the H815:

Filesystem Size Used Free Blksize
/dev 1.37G 96.00K 1.37G 4096
/sys/fs/cgroup 1.37G 12.00K 1.37G 4096
/mnt/asec 1.37G 0.00K 1.37G 4096
/mnt/obb 1.37G 0.00K 1.37G 4096
/system 3.92G 3.00G 938.40M 4096
/cache 1.17G 32.62M 1.13G 4096
/data 22.70G 21.73G 994.51M 4096
/persist 27.48M 64.00K 27.42M 4096
/firmware 85.95M 74.77M 11.19M 16384
/sns 3.86M 60.00K 3.80M 4096
/persist-lg 3.86M 584.00K 3.29M 4096
/mpt 27.48M 9.26M 18.22M 4096
/cust 247.97M 7.64M 240.33M 4096
/mnt/shell/emulated 22.70G 21.73G 994.51M 4096
/storage/emulated/legacy 22.70G 21.73G 994.51M 4096
/storage/emulated 1.38G 0.00K 1.38G 4096
/mnt/media_rw/external_SD 119.05G 51.99G 67.06G 131072
/mnt/secure/asec 119.05G 51.99G 67.06G 131072
/storage/external_SD 119.05G 51.99G 67.06G 131072
/storage/emulated/0 22.70G 21.73G 994.51M 4096
/storage/emulated/0/Android/obb 22.70G 21.73G 994.51M 4096
/storage/emulated/legacy 22.70G 21.73G 994.51M 4096
/storage/emulated/legacy/Android/obb 22.70G 21.73G 994.51M 4096

---------- Post added at 01:37 PM ---------- Previous post was at 01:30 PM ----------

And from mount:

rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1437396k,nr_inodes=359349,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=750,gid=1000 0 0
pstore /sys/fs/pstore pstore rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=755,gid=1000 0 0
/mnt/pstore /mnt/pstore pstore rw,relatime 0 0
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,resuid=1000,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/modem /firmware vfat ro,context=u:eek:bject_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/bootdevice/by-name/sns /sns ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/drm /persist-lg ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/mpt /mpt ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/platform/f9824900.sdhci/by-name/cust /cust ext4 ro,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/data/media /mnt/shell/emulated sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
/data/media /storage/emulated/legacy sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,size=1443540k,nr_inodes=360885,mode=050,gid=1028 0 0
/dev/block/vold/179:65 /mnt/media_rw/external_SD exfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,namecase=0,errors=remount-ro,discard,readahead_kb=512 0 0
/dev/block/vold/179:65 /mnt/secure/asec exfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,namecase=0,errors=remount-ro,discard,readahead_kb=512 0 0
/mnt/media_rw/external_SD /storage/external_SD sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=unified 0 0
/data/media /storage/emulated/0 sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
/data/media /storage/emulated/0/Android/obb sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
/data/media /storage/emulated/legacy sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
/data/media /storage/emulated/legacy/Android/obb sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
Can you do this and post your partition table:

adb shell

su

ls -l /dev/block/platform/f9824900.sdhci/by-name

Sent from my LG-H811 using Tapatalk
 

barcodelinux

Senior Member
May 29, 2008
305
67
0
Can you do this and post your partition table:

adb shell

su

ls -l /dev/block/platform/f9824900.sdhci/by-name

Sent from my LG-H811 using Tapatalk

lrwxrwxrwx root root 2015-02-26 17:31 DDR -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 2015-02-26 17:31 aboot -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2015-02-26 17:31 abootbak -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2015-02-26 17:31 apdp -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2015-02-26 17:31 boot -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 2015-02-26 17:31 cache -> /dev/block/mmcblk0p49
lrwxrwxrwx root root 2015-02-26 17:31 cust -> /dev/block/mmcblk0p48
lrwxrwxrwx root root 2015-02-26 17:31 devinfo -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2015-02-26 17:31 dpo -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2015-02-26 17:31 drm -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 2015-02-26 17:31 eksst -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 2015-02-26 17:31 encrypt -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 2015-02-26 17:31 factory -> /dev/block/mmcblk0p43
lrwxrwxrwx root root 2015-02-26 17:31 fota -> /dev/block/mmcblk0p44
lrwxrwxrwx root root 2015-02-26 17:31 fsc -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 2015-02-26 17:31 fsg -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 2015-02-26 17:31 grow -> /dev/block/mmcblk0p51
lrwxrwxrwx root root 2015-02-26 17:31 hyp -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2015-02-26 17:31 hypbak -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2015-02-26 17:31 keystore -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 2015-02-26 17:31 laf -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 2015-02-26 17:31 limits -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2015-02-26 17:31 misc -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2015-02-26 17:31 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2015-02-26 17:31 modemst1 -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 2015-02-26 17:31 modemst2 -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 2015-02-26 17:31 mpt -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 2015-02-26 17:31 msadp -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2015-02-26 17:31 persist -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2015-02-26 17:31 persistent -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 2015-02-26 17:31 pmic -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2015-02-26 17:31 pmicbak -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2015-02-26 17:31 raw_resources -> /dev/block/mmcblk0p45
lrwxrwxrwx root root 2015-02-26 17:31 raw_resourcesbak -> /dev/block/mmcblk0p46
lrwxrwxrwx root root 2015-02-26 17:31 rct -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 2015-02-26 17:31 recovery -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 2015-02-26 17:31 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2015-02-26 17:31 rpmbak -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2015-02-26 17:31 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2015-02-26 17:31 sbl1bak -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2015-02-26 17:31 sdi -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2015-02-26 17:31 sdibak -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2015-02-26 17:31 sec -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 2015-02-26 17:31 sns -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 2015-02-26 17:31 spare1 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2015-02-26 17:31 spare2 -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 2015-02-26 17:31 ssd -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 2015-02-26 17:31 system -> /dev/block/mmcblk0p47
lrwxrwxrwx root root 2015-02-26 17:31 tz -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2015-02-26 17:31 tzbak -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2015-02-26 17:31 userdata -> /dev/block/mmcblk0p50
 
  • Like
Reactions: MicroMod777

barcodelinux

Senior Member
May 29, 2008
305
67
0
When trying to flash the ROM, I get:

Delete Old System
Mounting system
Formatting system

Extracting System
Extracting Boot

E:Unable to mount '/system'
...done


When installing the patch file, I get:

Installing Patches...
Installation complete!
Updating partition details...
E:Unable to mount '/system'
...done


When installing the APN file, I get:

Installing files...
Installation complete!
Updating partition details...
E:Unable to mount '/system'
...done
 

barcodelinux

Senior Member
May 29, 2008
305
67
0
Odd as I used the same info in the camera script for the patch.

Sent from my LG-H811 using Tapatalk
I looked at autoprime's updater-script from here.

It uses the
Code:
package_extract_file("file.name", "/path/to/extract");
command instead of the
Code:
package_extract_dir("file.name", "/path/to/extract");
My takeaway is that since you are trying to flash system.img, which is a file, you have to use the package_extract_file command. If we had a .zip file with a compressed directory named "system", you would then use the package_extract_dir command.

Since I already have the files on my Linux lappy, I will edit the updater-script and let you know how it goes.
 

MicroMod777

Recognized Contributor
Apr 23, 2010
7,352
4,650
113
Los Angeles
www.youtube.com
I looked at autoprime's updater-script from here.

It uses the
Code:
package_extract_file("file.name", "/path/to/extract");
command instead of the
Code:
package_extract_dir("file.name", "/path/to/extract");
My takeaway is that since you are trying to flash system.img, which is a file, you have to use the package_extract_file command. If we had a .zip file with a compressed directory named "system", you would then use the package_extract_dir command.

Since I already have the files on my Linux lappy, I will edit the updater-script and let you know how it goes.
Let me know if works! Thanks

Sent from my LG-H811 using Tapatalk