Development

bigcatman

Well-known member
Nov 14, 2011
272
30
0
Visit site
Since XDA hasn't given us a dedicated forum yet, this'll have to do.

LG has posted the source for the G Pad: https://www.lg.com/global/support/opensource/opensourceList?types=NAME&search=LGV500

I haven't done a lick of development before, but because the situation with this tablet could go either way as far as custom ROMs go, I thought I'd give it a shot since I've got a strong IT background and I've always wanted to get involved.

Are there any developers here?
 

oesjmr

Well-known member
Apr 17, 2011
50
0
0
Visit site
Nice! I'm not a dev, but I think we'll need a custom recovery before we can get any ROMs working. I look forward to seeing what you may be able to cook up!
 

bigcatman

Well-known member
Nov 14, 2011
272
30
0
Visit site
Nice! I'm not a dev, but I think we'll need a custom recovery before we can get any ROMs working. I look forward to seeing what you may be able to cook up!

Yeah I know we need a custom recovery. Seeing what I can do about that. Once I'm in the stock recovery, I can't even get past the ! android screen. I've tried all the button combos but nothing is working. Hitting all three at the same time doesn't work either.
 

joshuadjohnson22

Well-known member
Oct 24, 2011
55
0
0
Visit site
Yeah I know we need a custom recovery. Seeing what I can do about that. Once I'm in the stock recovery, I can't even get past the ! android screen. I've tried all the button combos but nothing is working. Hitting all three at the same time doesn't work either.

By default LG locks down bootloaders. Just like the G2 I bet a Loki method will allow us to flash roms. Here is a guide on how to create TWRP for our device:
[DEV]How to compile TWRP touch recovery - xda-developers

We need need to hit up djrbliss over at xda to see if he can hack with loki. With the G2 he worked with a user to do this and never had the device so I think if one of you two are willing he will work with you!

If you guys are really adventurous you can try the G2 twrp to see if it will work:
http://forum.xda-developers.com/showthread.php?t=2469995 but do that at your own risk, it might just be a black screen because of the different hardware
 

bigcatman

Well-known member
Nov 14, 2011
272
30
0
Visit site
By default LG locks down bootloaders. Just like the G2 I bet a Loki method will allow us to flash roms. Here is a guide on how to create TWRP for our device:
[DEV]How to compile TWRP touch recovery - xda-developers

We need need to hit up djrbliss over at xda to see if he can hack with loki. With the G2 he worked with a user to do this and never had the device so I think if one of you two are willing he will work with you!

If you guys are really adventurous you can try the G2 twrp to see if it will work:
[Recovery] TWRP 2.6.3.2 (easy-install / no-root) - xda-developers but do that at your own risk, it might just be a black screen because of the different hardware

Excellent. Thanks man, I'll give him a shout.
 

bigcatman

Well-known member
Nov 14, 2011
272
30
0
Visit site
By default LG locks down bootloaders. Just like the G2 I bet a Loki method will allow us to flash roms. Here is a guide on how to create TWRP for our device:
[DEV]How to compile TWRP touch recovery - xda-developers

We need need to hit up djrbliss over at xda to see if he can hack with loki. With the G2 he worked with a user to do this and never had the device so I think if one of you two are willing he will work with you!

If you guys are really adventurous you can try the G2 twrp to see if it will work:
http://forum.xda-developers.com/showthread.php?t=2469995 but do that at your own risk, it might just be a black screen because of the different hardware

So he's not accepting PMs. I'm gonna try to find a way to contact him another way. I at least posted in the LOKI thread over at XDA.
 

joshuadjohnson22

Well-known member
Oct 24, 2011
55
0
0
Visit site
Last edited:

roustabout

Member
Feb 6, 2011
12
0
0
Visit site
It looks to me as if one of us with a rooted device needs to pull the aboot image from it and upload it.

We can then use the github for Loki to upload the file and make a request.

https://github.com/djrbliss/loki has instructions for pulling the file; the key command is

dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/local/tmp/aboot.img

If someone's adventurous they can try using the loki_patch utility to make their own bypass; since getting it wrong
would potentially brick the device, I tend to think upload the file and making the request via github would be saner.

the g2 bypass looks as if it was in response to a user asking for it, here:

https://github.com/djrbliss/loki/issues/8

(later)
I went ahead and pulled aboot and uploaded it.

The file's at http://www.mediafire.com/download/gfrqxi1p6xexg1y/lg.8.3.aboot.img if anyone knows the tools well enough to take a run.
 
Last edited:

the_crevis

Member
Nov 15, 2013
5
0
0
Visit site
I have downloaded the cyanogenmod source, forked the flo device specific files (Nexus 7 2013) as I believe this to be the closest to our hardware. I then edited some files and such so I should be ready for testing as soon as we get past the locked bootloader! First thing I shall do is try and get a working clockworkmod recovery image, then no soft bricking!

Posted via Android Central App
 

the_crevis

Member
Nov 15, 2013
5
0
0
Visit site
Loki support has just been added!! I have to return my device cause of a blue line issue, hopefully my new one shall be better and development can start!

Posted via Android Central App
 

jcben

New member
Nov 20, 2013
4
0
0
Visit site
Hi,

I've grabed some informations probably usefull.

[[ link removed by moderator ]]

result of mount command :
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,nosuid,nodev,relatime,nodelalloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/drm /persist-lg ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/mpt /mpt ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/factory /factory ext4 rw,nosuid,nodev,relatime,nodelalloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/sns /sns ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/mmcblk0p1 /firmware vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/radiotime.player-2 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.mxtech.videoplayer.pro-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/vold/179:33 /storage/external_SD vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,nosuid,nodev,relatime,nodelalloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/drm /persist-lg ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/mpt /mpt ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/factory /factory ext4 rw,nosuid,nodev,relatime,nodelalloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/sns /sns ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/mmcblk0p1 /firmware vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/radiotime.player-2 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.mxtech.videoplayer.pro-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/vold/179:33 /storage/external_SD vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/proc/partitions
major minor #blocks name

7 0 17703 loop0
7 1 21861 loop1
179 0 15388672 mmcblk0
179 1 65536 mmcblk0p1
179 2 512 mmcblk0p2
179 3 512 mmcblk0p3
179 4 2048 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 24576 mmcblk0p7
179 8 512 mmcblk0p8
179 9 1 mmcblk0p9
179 10 3072 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 780 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 8192 mmcblk0p15
179 16 8192 mmcblk0p16
179 17 8 mmcblk0p17
179 18 16384 mmcblk0p18
179 19 16384 mmcblk0p19
179 20 8192 mmcblk0p20
179 21 512 mmcblk0p21
179 22 512 mmcblk0p22
179 23 2195456 mmcblk0p23
179 24 819200 mmcblk0p24
179 25 8192 mmcblk0p25
179 26 262144 mmcblk0p26
179 27 24576 mmcblk0p27
179 28 3072 mmcblk0p28
179 29 8 mmcblk0p29
179 30 32768 mmcblk0p30
179 31 32768 mmcblk0p31
259 0 512 mmcblk0p32
259 1 512 mmcblk0p33
259 2 8 mmcblk0p34
259 3 16384 mmcblk0p35
259 4 11788288 mmcblk0p36
259 5 4079 mmcblk0p37
179 32 1993728 mmcblk1
179 33 1993604 mmcblk1p1
254 0 17703 dm-0
254 1 21861 dm-1
 
Last edited by a moderator:

bigcatman

Well-known member
Nov 14, 2011
272
30
0
Visit site
I was able to build the kernel from LG's source. What I wasn't able to do was find out which WiFi modules it uses, so I just took out the wlan.ko from system/lib/modules. I emailed them about it to find out because I felt like I cheated :p

Working on building the stock ROM currently just so we can have that ready once we get CWM working. I'll be tackling that after I get the stock stuff figured out. It's definitely a learning experience but I feel like I'm starting to get it.
 

jcben

New member
Nov 20, 2013
4
0
0
Visit site
Your tablet must be rooted.
adb shell
su (to become root)
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/data/local/tmp/boot.img

(obviously be extra careful what you do once connected as root although recovering is possible)

adb pull /data/local/tmp/boot.img /home/myhome/boot.img


You can probably find it (and lot of useful stuff in the rom kdz : Application for download Original LG Firmware - xda-developers
But i still havent investigated this part.