pichlo
|
2013-07-04
, 21:59
|
|
Posts: 6,445 |
Thanked: 20,981 times |
Joined on Sep 2012
@ UK
|
#1
|
The Following 5 Users Say Thank You to pichlo For This Useful Post: | ||
|
2013-07-04
, 22:03
|
|
Posts: 1,236 |
Thanked: 1,278 times |
Joined on Aug 2011
@ Balochistan
|
#2
|
The Following User Says Thank You to panjgoori For This Useful Post: | ||
|
2013-07-04
, 23:09
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#3
|
The Following User Says Thank You to anthonie For This Useful Post: | ||
|
2013-07-05
, 01:20
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#4
|
* extract mkdir parts cd parts ../flasher-3.5 -F ../RX-51...COMBINED.bin --unpack cp rootfs.jffs2 ../rootfs.ubi # it is really a ubi image cd .. # rm -rf parts * mount rootfs su - modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa \ third_id_byte=0x00 fourth_id_byte=0x15 #/dev/mtd0 should be present, if not run "mknod /dev/mtd0 c 90 0" dd if=rootfs.ubi of=/dev/mtd0 bs=2048 modprobe ubi mtd=0 mkdir mount mount -t ubifs /dev/ubi0_0 mount * make a copy mkdir rootme rsync -a mount/. rootme/. * modify stuff -- either manually or using chroot? ... * generate new image su - mkfs.ubifs -m 2048 -e 129024 -c 2047 -r rootme rootme.ubifs * ubinize the file cat > ubi.cfg <<EOF [rootfs] mode=ubi image=rootme.ubifs vol_id=0 vol_size=200MiB vol_type=dynamic vol_name=rootfs vol_flags=autoresize vol_alignment=1 EOF ./ubinize -o rootme.ubi -p 128KiB -m 2048 -s 512 ubi.cfg * flash the image su - ./flasher-3.5 -F RX-51_2009SE_10.2010.19-1.002_PR_COMBINED_002_ARM.bin -f ./flasher-3.5 --rootfs rootme.ubi -f ./flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f
|
2013-07-05
, 01:26
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#5
|
The Following 6 Users Say Thank You to reinob For This Useful Post: | ||
|
2013-07-05
, 05:56
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#6
|
The Following 4 Users Say Thank You to michaaa62 For This Useful Post: | ||
|
2013-07-05
, 09:30
|
|
Posts: 6,445 |
Thanked: 20,981 times |
Joined on Sep 2012
@ UK
|
#7
|
|
2013-07-05
, 16:52
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#8
|
The Following 5 Users Say Thank You to vi_ For This Useful Post: | ||
|
2013-07-05
, 16:53
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#9
|
Dang, I have read the post and am using BackupMenu quite extensively, but somehow I missed the flashable rootfs image!
Good work, it is half way there!
The next step would be an image with CSSU, both fiasco and vanilla, preferably NOT nuking MyDocs.
|
2013-07-05
, 22:34
|
|
Posts: 6,445 |
Thanked: 20,981 times |
Joined on Sep 2012
@ UK
|
#10
|
What you may consider though is there is actually NOTHING in the eMMC image of any importance.
The Following User Says Thank You to pichlo For This Useful Post: | ||