Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Dump Lenovo B8080 boot.img/recovery.img

OP zyrill

17th June 2014, 08:23 PM   |  #1  
OP Senior Member
Thanks Meter: 54
 
102 posts
Join Date:Joined: May 2010
I'm trying to dump the boot.img in the hopes of porting CWM and, eventually, CM11 to the Lenovo B8080, better known as the Lenovo Yoga 10 HD+. But I'm at a loss how to extract the boot.img.

I've been following this guide here: http://xda-university.com/as-a-devel...o-a-new-device and am stuck at trying to extract my boot.img as the binary is missing. All I get is
Code:
$ dump_image boot /storage/sdcard1/boot.img
dump_image: not found
I've also tried using romdump but the binary that I found won't run on the b8080, wrong architecture.

Lastly, I tried
Code:
$ cat /proc/mtd
as recommended in this guide: http://www.addictivetips.com/mobile/...tition-images/
but that also doesn't work as there is no "/proc/mtd".

What I do have is the following output:
Code:
$ cat /proc/partitions
major minor  #blocks  name

   7        0      17703 loop0
 179        0   15267840 mmcblk0
 179        1      65536 mmcblk0p1
 179        2        512 mmcblk0p2
 179        3        512 mmcblk0p3
 179        4         32 mmcblk0p4
 179        5         32 mmcblk0p5
 179        6        768 mmcblk0p6
 179        7        768 mmcblk0p7
 179        8        500 mmcblk0p8
 179        9        500 mmcblk0p9
 179       10      16384 mmcblk0p10
 179       11        500 mmcblk0p11
 179       12        500 mmcblk0p12
 179       13       1024 mmcblk0p13
 179       14       1536 mmcblk0p14
 179       15       1536 mmcblk0p15
 179       16      10240 mmcblk0p16
 179       17    1572864 mmcblk0p17
 179       18      32768 mmcblk0p18
 179       19     131072 mmcblk0p19
 179       20     204800 mmcblk0p20
 179       21      16384 mmcblk0p21
 179       22       1024 mmcblk0p22
 179       23       1536 mmcblk0p23
 179       24          1 mmcblk0p24
 179       25          8 mmcblk0p25
 179       26   12646383 mmcblk0p26
 179       32       4096 mmcblk0rpmb
 254        0      17703 dm-0
 179       64   31166976 mmcblk1
 179       65   31162880 mmcblk1p1
and
Code:
$ cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=962644k,nr_inodes=182058,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 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
/dev/faccc /fac ext4 rw,seclabel,nodev,noatime,nodiratime,data=ordered 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,size=962644k,nr_inodes=182058,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=962644k,nr_inodes=182058,mode=755,gid=1000 0 0
tmpfs /mnt/asec2 tmpfs rw,seclabel,relatime,size=962644k,nr_inodes=182058,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=962644k,nr_inodes=182058,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,seclabel,relatime,discard,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/lesw /lesw ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,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/[0]com.sketchbook-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/vold/179:65 /storage/sdcard1 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:65 /mnt/secure/asec2 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
Does anybody know how to proceed from here? Thanks!
Last edited by zyrill; 17th June 2014 at 08:28 PM. Reason: Added more info
18th June 2014, 01:26 AM   |  #2  
OP Senior Member
Thanks Meter: 54
 
102 posts
Join Date:Joined: May 2010
In case anybody else is wondering, I found this wonderfully useful post that solves this problem:
http://forum.xda-developers.com/show...77&postcount=4
3rd July 2014, 01:39 AM   |  #3  
OP Senior Member
Thanks Meter: 54
 
102 posts
Join Date:Joined: May 2010
In case anybody is interested, here's the repository I'm working on:
https://github.com/zyrill/android_device_LENOVO_B8080
18th September 2014, 07:11 PM   |  #4  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Jun 2010
I am extremely interested! Nice work
Post Reply Subscribe to Thread

Tags
lenovo yoga cwm recovery b8080
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes