porting CWR

alog122

Well-known member
Aug 30, 2012
98
0
0
Just trying to get the ball rolling. All credit goes to the person in this link. http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html?m=1
 
I'm currently using my Lg Optimus V - from Virgin Mobile, until I get my Viper in the mail,... Hopefully by the end of the week. Anyways I know I've had the same Custom Recovery for 2 years now,... I think it's named,... Xionia CWMA ,... Theres a main thread over here,... http://forums.androidcentral.com/lg...covery-xionia-clockwork-cwma-v1-2518-6-a.html :D
nice! Just got mine from sprint wednesday. But unfortunately. There is no recovery for this device that doesn't cause it to brick.
 
nice! Just got mine from sprint wednesday. But unfortunately. There is no recovery for this device that doesn't cause it to brick.

I'm about to start unsupported development for this device per request of another user in the forums . I don't own one this device (SGS II E4GT) so I will depend on the community for testing?
 
Would the recovery from the LG Lucid work its model number is LG-VS840 or the one for the LG-MS840. Or would that give us a good start?

Sent from my LG-LS840 using Tapatalk 2
 
Would the recovery from the LG Lucid work its model number is LG-VS840 or the one for the LG-MS840. Or would that give us a good start?

Sent from my LG-LS840 using Tapatalk 2
The lucid recovery from cwm is what we tried starting with but its causing the brick basicaly when its flashed its changing the phones model
also lg were dicks when they set the system files up for the viper there compleatly differant and we bacicaly dont know what partions they used ect
 
I'm sorry everyone. I'm going to try to start development a soon as I get home. I'm overseas on an unspecified ship for a few days for an unspecified thing. Lol i really can't say anything, but just know I got you guys.

Sent from my Blackberry Tour using Tapatalk.
 
Is there a command that I can run in terminal to find out all the partitions? I tried busybox fdisk -l but it never did anything

Sent from my LG-LS840 using Tapatalk 2
 
You can build it online at builder.clockworkmod.com but where's the fun in that?

Sent from my SPH-D710 using Android Central Forums
 
Anyone know what partition is the recovery?

Sent from my LG-LS840 using Tapatalk 2
 

Attachments

  • uploadfromtaptalk1347574055181.jpg
    uploadfromtaptalk1347574055181.jpg
    22.6 KB · Views: 65
Did you try the command I gave you?

Yep it said cat not found
Oops spelt cat with capital c. But this is a screenshot of it the right way
y8y3atam.jpg


Sent from my LG-LS840 using Tapatalk 2
 
Hmm, that's strange. Well , I'm be buying one off contract so I can start development . But that's as soon as I'm back in the states.

Not sure if this will help or not but I ran df in terminal and got this. I ran cat /process/mounts and got all this if it helps.
$ export PATH=/data/local/bin:$PATH
$ su
# df
Filesystem Size Used Free Blksize
/dev 400M 48K 399M 4096
/mnt/asec 400M 0K 400M 4096
/mnt/obb 400M 0K 400M 4096
/mnt/extasec 400M 0K 400M 4096
/mnt/extobb 400M 0K 400M 4096
/system 1009M 344M 664M 4096
/tombstones 71M 4M 67M 4096
/firmware 1G 28M 1G 32768
/data 1G 438M 1G 4096
/persist 7M 4M 3M 4096
/cache 314M 5M 309M 4096
/LGE_RC 4M 24K 4M 4096
/mpt 15M 6M 9M 1024
/system/etc/firmware/misc_mdm 199M 22M 177M 4096
/mnt/sdcard 3G 247M 3G 32768
/mnt/secure/asec 3G 247M 3G 32768
# cat /proc/mounts
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,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/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/extasec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/extobb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p27 /system ext4 rw,relatime,barrier=0,data=ordered 0 0
/dev/block/mmcblk0p22 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,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/block/mmcblk0p29 /data ext4 rw,nosuid,nodev,noatime,resuid=1000,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p12 /persist ext4 rw,nosuid,nodev,relatime,barrier=1,nodelalloc,data=ordered 0 0
/dev/block/mmcblk0p28 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p30 /LGE_RC ext4 rw,nosuid,nodev,relatime,barrier=1,data=writeback 0 0
/dev/block/mmcblk0p31 /mpt ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p14 /system/etc/firmware/misc_mdm vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/sdcard 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
/dev/block/vold/179:33 /mnt/secure/asec 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
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
#

Sent from my LG-LS840 using Tapatalk 2
 

Attachments

  • uploadfromtaptalk1347581750601.jpg
    uploadfromtaptalk1347581750601.jpg
    24.1 KB · Views: 53
Heres the files you need,... there from Shabby's Git hub I think or he got them from an adb pull....

playfulgod-android_device_lge_ls840-3c91acd.zip

As for the CWM yeah with these files and a system recovery head over to Recovery Builder build a supposedly good version of CWM.

I also got this one being uploaded to MediaFire ,... Just got it yesterday morning and its already of the LG Open Source Site

LS840(Viper)_Android_ICS_4.0.4_r1_US_Sprint_Opensource_LS840ZVG.zip

I'll put the upload link once its fully uploaded.

~Aaron~
 
Last edited:
I JUUUUUUUUUUUUUUUSSSSSSSSSSSSSTTTTTTT Got un-Bricked with that LG-Utils P500 Method. I'm ganna try it just after i re-root my phone,...
 
I'm back in the states early.

Quick question: Do you guys want me to build it from source, or you all will just use the recovery hezx built?

- - - Updated - - -

The lucid recovery from cwm is what we tried starting with but its causing the brick basicaly when its flashed its changing the phones model
also lg were dicks when they set the system files up for the viper there compleatly differant and we bacicaly dont know what partions they used ect

I just read this, NO, NO, NO! You should NEVER, EVER, EVER, EVER, EVER use a recovery built for a different device even if it is the same model . Over in the Sprint Opti S forums we had users from the Virgin Mobile Opti V forum come and try to use our recoveries and end up with a hard brick.