• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Rom] [Stock] Jelly Bean 4.1.2 (M040)

And I don't know how to get these
Code:
partition0.mbn
pitfile.pit
smd_hdr.mbn
The C811 M040 versions of the following files are here
I found this file backup from running device.
Code:
cd backup 
echo "Pulling partition Table, creating partition0.bin" 
c:\Python27\python ..\getpartbin.py 
echo "Pulling Bootloaders" 
adb shell su -c 'dd if=/dev/block/mmcblk0p1 of=/sdcard/smd_hdr.mbn'   
adb pull /sdcard/smd_hdr.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p2 of=/sdcard/sbl1.mbn  ' 
adb pull /sdcard/sbl1.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p3 of=/sdcard/sbl2.mbn  ' 
adb pull /sdcard/sbl2.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p5 of=/sdcard/rpm.mbn  ' 
adb pull /sdcard/rpm.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p6 of=/sdcard/sbl3.mbn' 
adb pull /sdcard/sbl3.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p7 of=/sdcard/aboot.mbn' 
adb pull /sdcard/aboot.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p9 of=/sdcard/tz.mbn' 
adb pull /sdcard/tz.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p11 of=/sdcard/pitfile.pit' 
adb pull /sdcard/pitfile.pit 
cd ..
back up.bat can find in here
Please help
 
Code:
cd backup 
echo "Pulling partition Table, creating partition0.bin" 
c:\Python27\python ..\getpartbin.py 
echo "Pulling Bootloaders" 
adb shell su -c 'dd if=/dev/block/mmcblk0p1 of=/sdcard/smd_hdr.mbn'   
adb pull /sdcard/smd_hdr.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p2 of=/sdcard/sbl1.mbn  ' 
adb pull /sdcard/sbl1.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p3 of=/sdcard/sbl2.mbn  ' 
adb pull /sdcard/sbl2.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p5 of=/sdcard/rpm.mbn  ' 
adb pull /sdcard/rpm.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p6 of=/sdcard/sbl3.mbn' 
adb pull /sdcard/sbl3.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p7 of=/sdcard/aboot.mbn' 
adb pull /sdcard/aboot.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p9 of=/sdcard/tz.mbn' 
adb pull /sdcard/tz.mbn 
adb shell su -c 'dd if=/dev/block/mmcblk0p11 of=/sdcard/pitfile.pit' 
adb pull /sdcard/pitfile.pit 
cd ..

These partition tables are wrong
in my case

mmcblk0p1 is called "modem"
mmcblk0p2 is sbl1
mmcblk0p3 is sbl2
mmcblk0p2 is sbl3 (not mmcblk0p6 that is called sbl3 there)
and
mmcblk0p6 is actually rpm.

Anyway. These are raw images and can be flashed via initialization_410_tool. But be careful with mapping names if your're going to extract them and flash by hand.
 
These partition tables are wrong
in my case

mmcblk0p1 is called "modem"
mmcblk0p2 is sbl1
mmcblk0p3 is sbl2
mmcblk0p2 is sbl3 (not mmcblk0p6 that is called sbl3 there)
and
mmcblk0p6 is actually rpm.
Can you assist for right partition for aboot, rpm, sbl1, sbl2, sbl3, tz, pitfile.pit and
smd_hdr.mbn
Anyway. These are raw images and can be flashed via initialization_410_tool. But be careful with mapping names if your're going to extract them and flash by hand.
Its .img files, or I can change into .img for .mbn file in this code?
ex: dd if=$MODEL/sbl1.mbn of=/dev$DEVICE seek=204801 count=500 bs=512 ---> dd if=$MODEL/sbl1.img of=/dev$DEVICE seek=204801 count=500 bs=512
thanx before
Code:
#!/bin/bash
#This is to dump $MODEL firmware to the phone using only system files and backups of bootloaders etc 
# Written By darkspr1te with the help of dev's from xda forums, Scotty, Adam ,E:V:A, JCSullins and more
# This is a early stage version, watch for bugs
# 
# use fdisk -l /dev/sd? to check for partitons
QDLOADID="05c6:9008"
DLOADID="05c6:9008"
SDMODE="05c6:9025"
MODEL="CA-201L"
DEVICEID=/dev/disk/by-id/usb-Qualcomm_MMC_Storage-0\:0

DEVICE=`ls -lah /dev/disk/by-id/ | grep usb\-Qualcomm_MMC | head -n 1 | awk '{ print $11 }' | sed 's/\..\/..//'`
USBNAME=`lsusb | grep Qualcomm  ` 
USBID=`lsusb | grep Qualcomm  | awk '{ print $6 }'` 
echo 
echo -e "\033[38;5;148mBrick Fix v2-0\033[39m"
echo "______________"
echo -e "By Darkspr1te, See README for thanks & References"
echo -e
echo -e "Checking For Qualcomm Device"
if test "$USBID" = "$DLOADID" 
	then 
		choice="n"
		echo -e "Device Found !!!"
		echo -e "\e[00;31mError:\e[00m device found in QDLOAD Mode, switching to QDLOAD "
		echo "see qdload.pl By JC Sullins , http://github.com/jcsullins/qdloader"
		echo 
		echo "Expected VID/PID of 05c6:9025, Instead I get :-"
		echo -e "\e[00;33m$USBNAME\e[00m"
		echo 
		echo -e "Do you wish to Upload HEX & msimage.mbn now? \e[00;31mWarning Dangerous\e[00m"
		read -n 1 choice
		if [ $choice == "y" ]
		 then
			echo
		    echo "Executing qdload "
		    #exit
			perl qdload.pl -pfile MPRG8960.bin -lfile 8960_msimage.mbn -lreset
			echo 
			echo "If HEX/MBN uploaded correctly, please allow for short delay and re-run brixfix to continue the debricking session, a screen showing device options may appear, close this new screen"
			exit 
			else
				echo
				echo "Operation cancelled at user request"
				exit 1
			fi
	else
		echo "No QDLOAD device found, checking for SD-CARD Mode "
	fi
	
#echo
# echo "read the README before using brixfix"
#echo 
#cat brixfix.sh
#exit
#echo -e "\e[00;44mTest Vars \e[00;31m"
#echo $DEVICEID
#echo $DEVICE
#echo $USBID
#echo $USBNAME
#echo
echo -e -n "\e[00m"
if test "$USBID" = "$SDMODE" 
	then
		echo -e "Device found !!!!"
		echo -e "Mode is SD-CARD/msimage mode at device node /dev$DEVICE"
		echo -e "With USB PID/VID ID of \e[00;44m$USBID\e[00;31m"
		echo -e -n "Detailed Output is "
		echo -e "\e[00;33m$USBNAME\e[00m"
		#set -x
 
		#The following Two lines write back the MBR to sector 0 and EBF to sector 208801
		# This is required to restore your partiton table so the the iROM code can find the loaders
		echo
		echo -e "Do you wish to write parititon \e[00;31mWarning Dangerous\e[00m"
		read -n 1 choice
		echo
		if [ $choice == "y" ]
			then
				echo "Writing parititon to /dev$DEVICE"
				dd  if=$MODEL/partition0.bin of=/dev$DEVICE seek=0 count=1 bs=512 
				dd  if=$MODEL/partition0.bin of=/dev$DEVICE skip=1 seek=208801 count=22 bs=512
				choice="n"
				echo 
			fi
#SMD_HDR partition is unknown to me at this time , leave commented out with the #
# dd  if=smd_hdr.mbn of=/dev/sdb  of=/dev/sdb  seek=1  count=102400 bs=512 


#This next few lines are bootloader repair, all files reuired to get basic ODIN mode only
#If you know what is currupt then only flash that file
#otherwise remove the hash # in front off dd up until end of bootloader section
##
		echo -e "Do you wish to write bootloaders \e[00;31mWarning Dangerous\e[00m"
		read -n 1 choice
		echo 
		if [ $choice == "y" ]
			then
				echo "Writing bootloaders sbl1,sbl2,sbl3,rpm,aboot to /dev$DEVICE"
				dd  if=$MODEL/sbl1.mbn of=/dev$DEVICE  seek=204801 count=500 bs=512 
				dd  if=$MODEL/sbl2.mbn of=/dev$DEVICE  seek=205801 count=1500 bs=512 
				dd  if=$MODEL/rpm.mbn of=/dev$DEVICE  seek=212992 count=500 bs=512
				dd  if=$MODEL/sbl3.mbn of=/dev$DEVICE  seek=221184 count=2048 bs=512 
				dd  if=$MODEL/aboot.mbn of=/dev$DEVICE  seek=229376 count=2500 bs=512 
				choice="n"
				echo
			fi
		
# boot.img only needed if it's damaged on the device, for base ODIN/LOKE interaction you only need sbl1,2,3,rpm,tz,aboot files.
# dd  if=$MODEL/boot.img of=/dev/sdb  seek=237568 count=10240 bs=512 

			echo -e "Do you wish to write TrustZone \e[00;31mWarning Dangerous\e[00m"
			read -n 1 choice
			echo
			if [ $choice == "y" ]
				then
					echo "Writing TrustZone to /dev/$DEVICE"
					dd  if=$MODEL/tz.mbn of=/dev$DEVICE  seek=262144 count=500 bs=512 
					choice="n"
			fi

	echo 
	echo "If no errors occured then disconnect and remove/replace battery, if ANY error occured do not disconnect device, fix error and rerun or seek advice !!"
### End of bootloaders



	else
		echo -e "\e[00;31mError:\e[00m No Qualcomm Device found, pease check cables, run lsusb and verify the device is connected"
		echo "Program cannot continue, sorry."
		echo
		exit 1
	fi
	
exit



#do not use the options past here- development only --YOU HAVE BEEN WARNED --
exit
# dd  if=SSD of=/dev/sdb seek=270336 count=500 bs=512
# dd  if=$MODEL.pit of=/dev/sdb  seek=278528 count=500 bs=512 
# dd  if=param.lfs of=/dev/sdb  seek=286720 count=10240 bs=512 
# dd  if=patch/amss.bin of=/dev/sdb  seek=311296  count=100352 bs=512 
# dd  if=efs.img of=/dev/sdb  seek=516096  count=3072 bs=512 
# dd  if=MSM_STG2 of=/dev/sdb  seek=524288  count=3072 bs=512 
# dd  if=MSM_FSG of=/dev/sdb  seek=532480  count=3072 bs=512 
# dd  if=patch/mdm.bin of=/dev/sdb  seek=540672  count=100352 bs=512 
# dd  if=efsclear1.bin of=/dev/sdb  seek=745472  count=3072 bs=512 
# dd  if=efsclear2.bin of=/dev/sdb  seek=753664  count=3072 bs=512 
# dd  if=M9K_FSG of=/dev/sdb  seek=761856  count=3072 bs=512 
# dd  if=enc.img.ext4 of=/dev/sdb  seek=770048  count=10240 bs=512 
# dd  if=patch/recovery.img of=/dev/sdb  seek=794624  count=10240 bs=512 
# dd  if=patch/system.img.ext4 of=/dev/sdb  seek=843776  count=1533952 bs=512 
# dd  if=patch/cache.img.ext4 of=/dev/sdb seek=8118272 count=309248 bs=512
#set +x
 
Can you assist for right partition for aboot, rpm, sbl1, sbl2, sbl3, tz, pitfile.pit and
smd_hdr.mbn

Its .img files, or I can change into .img for .mbn file in this code?

Yes, you can change from img to mbn.
The right table is

Code:
/dev/block/mmcblk0p5 aboot.mbn
/dev/block/mmcblk0p8 tz.mbn
/dev/block/mmcblk0p6 rpm.mbn
/dev/block/mmcblk0p2 sbl1.mbn
/dev/block/mmcblk0p3 sbl2.mbn
/dev/block/mmcblk0p4 sbl3.mbn

But I think those offsets it seeks are be messed too. So putting the right partitions are not enough.
It will write them in wrong place.
The script needs to be rewritten for this device.

Maybe you can contact developer and give him raw images plus the table above and he could calculate the offsets for you.
 
thanks doctoror,

Now I have all mbn files, and for boot start for right place i get with fdisk. only one files I can't create..partition0.bin :confused:
I get this error partition0.jpg
successful with another phone (not casio)
I'am already ask to developer but not yet answer :(
 
This should work, but I'm not sure it woun't do any worse.

Code:
#!/bin/bash
#This is to dump $MODEL firmware to the phone using only system files and backups of bootloaders etc 
# Written By darkspr1te with the help of dev's from xda forums, Scotty, Adam ,E:V:A, JCSullins and more
# This is a early stage version, watch for bugs
# 
# use fdisk -l /dev/sd? to check for partitons
QDLOADID="05c6:9008"
DLOADID="05c6:9008"
SDMODE="05c6:9025"
MODEL="CA-201L"
DEVICEID=/dev/disk/by-id/usb-Qualcomm_MMC_Storage-0\:0

DEVICE=`ls -lah /dev/disk/by-id/ | grep usb\-Qualcomm_MMC | head -n 1 | awk '{ print $11 }' | sed 's/\..\/..//'`
USBNAME=`lsusb | grep Qualcomm  ` 
USBID=`lsusb | grep Qualcomm  | awk '{ print $6 }'` 
echo 
echo -e "\033[38;5;148mBrick Fix v2-0\033[39m"
echo "______________"
echo -e "By Darkspr1te, See README for thanks & References"
echo -e
echo -e "Checking For Qualcomm Device"
if test "$USBID" = "$DLOADID" 
    then 
        choice="n"
        echo -e "Device Found !!!"
        echo -e "\e[00;31mError:\e[00m device found in QDLOAD Mode, switching to QDLOAD "
        echo "see qdload.pl By JC Sullins , http://github.com/jcsullins/qdloader"
        echo 
        echo "Expected VID/PID of 05c6:9025, Instead I get :-"
        echo -e "\e[00;33m$USBNAME\e[00m"
        echo 
        echo -e "Do you wish to Upload HEX & msimage.mbn now? \e[00;31mWarning Dangerous\e[00m"
        read -n 1 choice
        if [ $choice == "y" ]
         then
            echo
            echo "Executing qdload "
            #exit
            perl qdload.pl -pfile MPRG8960.bin -lfile 8960_msimage.mbn -lreset
            echo 
            echo "If HEX/MBN uploaded correctly, please allow for short delay and re-run brixfix to continue the debricking session, a screen showing device options may appear, close this new screen"
            exit 
            else
                echo
                echo "Operation cancelled at user request"
                exit 1
            fi
    else
        echo "No QDLOAD device found, checking for SD-CARD Mode "
    fi
    
#echo
# echo "read the README before using brixfix"
#echo 
#cat brixfix.sh
#exit
#echo -e "\e[00;44mTest Vars \e[00;31m"
#echo $DEVICEID
#echo $DEVICE
#echo $USBID
#echo $USBNAME
#echo
echo -e -n "\e[00m"
if test "$USBID" = "$SDMODE" 
    then
        echo -e "Device found !!!!"
        echo -e "Mode is SD-CARD/msimage mode at device node /dev$DEVICE"
        echo -e "With USB PID/VID ID of \e[00;44m$USBID\e[00;31m"
        echo -e -n "Detailed Output is "
        echo -e "\e[00;33m$USBNAME\e[00m"
        #set -x
 
        #The following Two lines write back the MBR to sector 0 and EBF to sector 208801
        # This is required to restore your partiton table so the the iROM code can find the loaders
        echo
        echo -e "Do you wish to write parititon \e[00;31mWarning Dangerous\e[00m"
        read -n 1 choice
        echo
        if [ $choice == "y" ]
            then
                echo "Writing parititon to /dev$DEVICE"
                choice="n"
                echo 
            fi
#SMD_HDR partition is unknown to me at this time , leave commented out with the #
# dd  if=smd_hdr.mbn of=/dev/sdb  of=/dev/sdb  seek=1  count=102400 bs=512 


#This next few lines are bootloader repair, all files reuired to get basic ODIN mode only
#If you know what is currupt then only flash that file
#otherwise remove the hash # in front off dd up until end of bootloader section
##
        echo -e "Do you wish to write bootloaders \e[00;31mWarning Dangerous\e[00m"
        read -n 1 choice
        echo 
        if [ $choice == "y" ]
            then
                echo "Writing bootloaders sbl1,sbl2,sbl3,rpm,aboot to /dev$DEVICE"
                dd  if=$MODEL/sbl1.mbn of=/dev$DEVICE  seek=204801 count=500 bs=512 
                dd  if=$MODEL/sbl2.mbn of=/dev$DEVICE  seek=205801 count=1500 bs=512 
                dd  if=$MODEL/rpm.mbn of=/dev$DEVICE  seek=212992 count=500 bs=512
                dd  if=$MODEL/sbl3.mbn of=/dev$DEVICE  seek=221184 count=2048 bs=512 
                dd  if=$MODEL/aboot.mbn of=/dev$DEVICE  seek=229376 count=2500 bs=512 
                choice="n"
                echo
            fi
        
# boot.img only needed if it's damaged on the device, for base ODIN/LOKE interaction you only need sbl1,2,3,rpm,tz,aboot files.
# dd  if=$MODEL/boot.img of=/dev/sdb  seek=237568 count=10240 bs=512 

            echo -e "Do you wish to write TrustZone \e[00;31mWarning Dangerous\e[00m"
            read -n 1 choice
            echo
            if [ $choice == "y" ]
                then
                    echo "Writing TrustZone to /dev/$DEVICE"
                    dd  if=$MODEL/tz.mbn of=/dev$DEVICE  seek=262144 count=500 bs=512 
                    choice="n"
            fi

    echo 
    echo "If no errors occured then disconnect and remove/replace battery, if ANY error occured do not disconnect device, fix error and rerun or seek advice !!"
### End of bootloaders



    else
        echo -e "\e[00;31mError:\e[00m No Qualcomm Device found, pease check cables, run lsusb and verify the device is connected"
        echo "Program cannot continue, sorry."
        echo
        exit 1
    fi
    
exit



#do not use the options past here- development only --YOU HAVE BEEN WARNED --
exit
# dd  if=SSD of=/dev/sdb seek=270336 count=500 bs=512
# dd  if=$MODEL.pit of=/dev/sdb  seek=278528 count=500 bs=512 
# dd  if=param.lfs of=/dev/sdb  seek=286720 count=10240 bs=512 
# dd  if=patch/amss.bin of=/dev/sdb  seek=311296  count=100352 bs=512 
# dd  if=efs.img of=/dev/sdb  seek=516096  count=3072 bs=512 
# dd  if=MSM_STG2 of=/dev/sdb  seek=524288  count=3072 bs=512 
# dd  if=MSM_FSG of=/dev/sdb  seek=532480  count=3072 bs=512 
# dd  if=patch/mdm.bin of=/dev/sdb  seek=540672  count=100352 bs=512 
# dd  if=efsclear1.bin of=/dev/sdb  seek=745472  count=3072 bs=512 
# dd  if=efsclear2.bin of=/dev/sdb  seek=753664  count=3072 bs=512 
# dd  if=M9K_FSG of=/dev/sdb  seek=761856  count=3072 bs=512 
# dd  if=enc.img.ext4 of=/dev/sdb  seek=770048  count=10240 bs=512 
# dd  if=patch/recovery.img of=/dev/sdb  seek=794624  count=10240 bs=512 
# dd  if=patch/system.img.ext4 of=/dev/sdb  seek=843776  count=1533952 bs=512 
# dd  if=patch/cache.img.ext4 of=/dev/sdb seek=8118272 count=309248 bs=512
#set +x
 
hmm..skip writing partition0.bin..I will try and hope succesful
by the way, how to install gdisk? (sorry for this unnecessary question)
 

Wow, this file is very very useful, it help many my friend revert to baseband 410 from baseband M040. they did reboot to CWM then flashed both modemst.zip and initialization_tool_410.zip then reboot system, the phone had not get bootlops it work on Ca201lstock rom 410. Now they can flash any custom rom. I have already download and save this file on my site, so you can delete this file from your site or not. Thank you very much Doctoror!
 
Wow, this file is very very useful, it help many my friend revert to baseband 410 from baseband M040. they did reboot to CWM then flashed both modemst.zip and initialization_tool_410.zip then reboot system, the phone had not get bootlops it work on Ca201lstock rom 410. Now they can flash any custom rom. I have already download and save this file on my site, so you can delete this file from your site or not. Thank you very much Doctoror!
Glad it helped! Thanks for the feedback.

hmm..skip writing partition0.bin..I will try and hope succesful
by the way, how to install gdisk? (sorry for this unnecessary question)
It depends whether you run Linux or Mac and what distribution you use.
Almost every Linux distribution has it's package repository, so try to find it there or google around. Don't know how to do that in Mac.
 
Casio CA-201L
Processor :Qualcomm MSM8960 Snapdragon
AOS version: Android ICS 4.0.4


Code:
shell@android:/ $ cat /proc/partitions
major minor  #blocks  name

 
179        0   15267840 mmcblk0
 
179        1      65536 mmcblk0p1
 
179        2        128 mmcblk0p2
 
179        3        256 mmcblk0p3
 
179        4        512 mmcblk0p4
 
179        5        512 mmcblk0p5
 
179        6        512 mmcblk0p6
 
179        7      10240 mmcblk0p7
 
179        8        512 mmcblk0p8
 
179        9          1 mmcblk0p9
 
179       10       3072 mmcblk0p10
 
179       11       3072 mmcblk0p11
 
179       12       3072 mmcblk0p12
 
179       13    1310720 mmcblk0p13
 
179       14   11829248 mmcblk0p14
 
179       15       8192 mmcblk0p15
 
179       16     716800 mmcblk0p16
 
179       17      71680 mmcblk0p17
 
179       18       1024 mmcblk0p18
 
179       19      10240 mmcblk0p19
 
179       20       3072 mmcblk0p20
 
179       21          8 mmcblk0p21
 
179       22     524288 mmcblk0p22
 
179       23        128 mmcblk0p23
 
179       24        128 mmcblk0p24
 
179       25        128 mmcblk0p25
 
179       26       8192 mmcblk0p26
 
179       27     185967 mmcblk0p27
 
179       32   15558144 mmcblk1
 
179       33   15554048 mmcblk1p

Code:
shell@android:/ $ mount
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/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/mmcblk0p13 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p14 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=writeback,noauto_da_alloc 0 0

/dev/block/mmcblk0p15 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=writeback 0 0

/dev/block/mmcblk0p16 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p22 /fota ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0

/dev/block/mmcblk0p26 /log ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=writeback,noauto_da_alloc 0 0

/dev/block/mmcblk0p17 /tombstones ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=writeback 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/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/block/vold/179:33 /mnt/external_sd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,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=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/external_sd/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

Code:
shell@android:/data $ cat /proc/emmc                                           

dev: size erasesize name

mmcblk0p1: 4000000 1000 "modem"

mmcblk0p2: 20000 1000 "sbl1"

mmcblk0p3: 40000 1000 "sbl2"

mmcblk0p4: 80000 1000 "sbl3"

mmcblk0p5: 80000 1000 "aboot"

mmcblk0p6: 80000 1000 "rpm"

mmcblk0p7: a00000 1000 "boot"

mmcblk0p8: 80000 1000 "tz"

mmcblk0p9: 400 1000 "pad"

mmcblk0p10: 300000 1000 "modemst1"

mmcblk0p11: 300000 1000 "modemst2"

mmcblk0p12: 300000 1000 "nvbackup"

mmcblk0p13: 50000000 1000 "system"

mmcblk0p14: 2d2000000 1000 "userdata"

mmcblk0p15: 800000 1000 "persist"

mmcblk0p16: 2bc00000 1000 "cache"

mmcblk0p17: 4600000 1000 "tombstones"

mmcblk0p18: 100000 1000 "misc"

mmcblk0p19: a00000 1000 "recovery"

mmcblk0p20: 300000 1000 "fsg"

mmcblk0p21: 2000 1000 "ssd"

mmcblk0p22: 20000000 1000 "fota"

mmcblk0p23: 20000 1000 "ftm"

mmcblk0p24: 20000 1000 "crash"

mmcblk0p25: 20000 1000 "f3"

mmcblk0p26: 800000 1000 "log"

mmcblk0p27: b59be00 1000 "grow"
 
Always failed using gdisk on CA-201l initialization_410:confused:

Please help, anyone can post result from code below?

Code:
adb remount
adb shell "su" "" "mount -o remount,rw /system"
adb push gdisk /system/bin/gdisk
adb shell
su
chmod 0777 /system/bin/gdisk
# gdisk -l /dev/block/mmcblk0
I cant get Start Number Start (sector) End (sector) Size Code Name

View attachment gdisk.zip
 
Please help, anyone can post result from code below?
Code:
GPT fdisk (gdisk) version 0.8.4

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/block/mmcblk0: 30535680 sectors, 14.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Partition table holds up to 28 entries
First usable sector is 34, last usable sector is 30535646
Partitions will be aligned on 2-sector boundaries
Total free space is 1192396 sectors (582.2 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1          131072          335871   100.0 MiB   0700  modem
   2          393216          393471   128.0 KiB   FFFF  sbl1
   3          393472          393983   256.0 KiB   FFFF  sbl2
   4          393984          395007   512.0 KiB   FFFF  sbl3
   5          395008          396031   512.0 KiB   FFFF  aboot
   6          396032          397055   512.0 KiB   FFFF  rpm
   7          524288          544767   10.0 MiB    FFFF  boot
   8          655360          656383   512.0 KiB   FFFF  tz
   9          656384          656385   1024 bytes  FFFF  pad
  10          656386          662529   3.0 MiB     FFFF  modemst1
  11          662530          668673   3.0 MiB     FFFF  modemst2
  12          668674          674817   3.0 MiB     FFFF  nvbackup
  13          786432         3407871   1.2 GiB     8300  system
  14         3538944        26411007   10.9 GiB    8300  userdata
  15        26411008        26427391   8.0 MiB     8300  persist
  16        26427392        27860991   700.0 MiB   8300  cache
  17        27918336        28061695   70.0 MiB    8300  tombstones
  18        28061696        28063743   1024.0 KiB  FFFF  misc
  19        28180480        28200959   10.0 MiB    FFFF  recovery
  20        28200960        28207103   3.0 MiB     FFFF  fsg
  21        28311552        28311567   8.0 KiB     FFFF  ssd
  22        28442624        29491199   512.0 MiB   FFFF  fota
  23        29491200        29491455   128.0 KiB   FFFF  ftm
  24        29491456        29491711   128.0 KiB   FFFF  crash
  25        29491712        29491967   128.0 KiB   FFFF  f3
  26        29491968        29508351   8.0 MiB     FFFF  log
  27        29622272        30535646   446.0 MiB   FFFF  extres
  28        30146560        30146559   0 bytes     8300  grow
 
Hi,

I bought this phone in Korea and I brought it to the UK. It had a android 4.0.4 LG U+. But I wanted to upgrade to jelly beans, so I followed the instructions on this post.

All went fine and that Verizon ROM is really what I wanted. But now, after changing ROM, the phone has no network. It doesn't recognize any UK network. It seems as if the GSM modem is dead.

I reverted back to the backed up images, the korean image, but still there is no service.

Hardware version is 0.3, and I wiped all cached and dalvik partitions.

Can you guys point me on how to restore GSM functionality ?

Thanks
 
Can you guys point me on how to restore GSM functionality ?

Thanks

You must have installed "baseband_M8960A-1.5.38_C811M040.zip". You had to follow instructions for CA-201L users, which says you have to install only C811_M040_system_boot.zip

Seems like installing baseband M040 on CA-201L breaks it.
Backup will not restore baseband. To restore it, install
One
Twohttps://drive.google.com/file/d/0Bw4z78Q7Eys6QkZRS2FKVEVjM0k/edit?usp=sharing

Then you can try installing M040 (only system_boot)
 
I think I screwed myself on this one. I misunderstood simple directions and installed the modemst and baseband listed above for the 201L on my 811. I then followed the instructions in the OP and the ROM (including WiFi) works great, but it boots to emergency calls only mode, then stays at "searching for service"... basically I cant get phone service, and the 4g wont work either. Is there anything I can do! Help! Thanks.
 
I think I screwed myself on this one. I misunderstood simple directions and installed the modemst and baseband listed above for the 201L on my 811. I then followed the instructions in the OP and the ROM (including WiFi) works great, but it boots to emergency calls only mode, then stays at "searching for service"... basically I cant get phone service, and the 4g wont work either. Is there anything I can do! Help! Thanks.
It was modemst.zip that screwed your setup.
I've created modemst_C811_M040.zip from my device, it should fix the problem.
 
I have the update file if someone wants to make an update.zip from it. I'm sending it to my dropbox and will post a link shortly.

https://www.dropbox.com/s/ky0urjwd2yctlin/ipth_package.bin
https://www.dropbox.com/s/uj366j517ip0q8z/ipth_package.bin.dd

Are you rooted? I can't make the ROM from that patches, so I need already-patched ROM.

Code:
su
dd if=/dev/block/mmcblk0p19 of=/mnt/sdcard/recovery.img
dd if=/dev/block/mmcblk0p1 of=/mnt/sdcard/modem.img
dd if=/dev/block/mmcblk0p5 of=/mnt/sdcard/aboot.img
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/tz.img
dd if=/dev/block/mmcblk0p7 of=/mnt/sdcard/boot.img
dd if=/dev/block/mmcblk0p6 of=/mnt/sdcard/rpm.img
dd if=/dev/block/mmcblk0p2 of=/mnt/sdcard/sbl1.img
dd if=/dev/block/mmcblk0p3 of=/mnt/sdcard/sbl2.img
dd if=/dev/block/mmcblk0p4 of=/mnt/sdcard/sbl3.img
dd if=/dev/block/mmcblk0p13 of=/mnt/sdcard/system.img
 
I don't have the update installed. I have the CWM recovery so the update won't run on my phone, and last time it was a total disaster when I tried to reinstall the stock recovery.
 
How did they get pins info? Any info on that?

Spent time for two month to searching file for JTAG and no result:confused:
so I bring running other phone and they backup and inject to my phone.
I dont know the pin info but maybe this photos can figured it
attachment.php

Maybe the result not perfect because I get some bugs
1. I get my phone running well with rom C811 M040, but always bootlop when I change to other rom (Fixed by reflash modems)
2. All driver installed perfectly on my computer (including ADB) except MTP (not fix yet) - How to fix that? Try to reinstall but some result
 

Attachments

  • casio jtag.jpg
    casio jtag.jpg
    55.2 KB · Views: 793
Back
Top Bottom