jeffrey-mys / cm-paz00

Automatically exported from code.google.com/p/cm-paz00
0 stars 0 forks source link

sdcard automount doesn't work on cm9-beta2-117 #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install cm_ac100_117-ota-eng.beta2.zombah.zip

What is the expected output? What do you see instead?
sdcard doesn't mount on system boot.

What version of the product are you using? On what operating system?
cm_ac100_117-ota-eng.beta2

Please provide any additional information below.
Last partition is mmcblk0p8, but android expects mmcblk0p7.
Solution: add EM2 to nvtegra_hideparts

Original issue reported on code.google.com by Andrey.D...@gmail.com on 28 Aug 2012 at 3:20

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
How to fix issue on android (from terminal app as root):

# Be careful, this procedure can broke boot image!!!

# Additional params for cmdline
echo -ne ",EM2" > /sdcard/cmdl.txt
# Save first 512-byte sector of boot image
dd if=/dev/block/mmcblk0p2 of=/sdcard/android-boot.img bs=512 count=1
# Check that cmdline ends at 161-th byte of mmcblk0p2 (last used byte is a0=160)
hexdump -C -n512 /dev/block/mmcblk0p2
# Add new params starting from 161-th byte
dd if=/sdcard/cmdl.txt of=/dev/block/mmcblk0p2 bs=1 seek=161
# Check new cmdline
hexdump -C -n512 /dev/block/mmcblk0p2

Original comment by Andrey.D...@gmail.com on 28 Aug 2012 at 3:40

GoogleCodeExporter commented 8 years ago
I'll handle this one.

Original comment by zombah on 12 Sep 2012 at 10:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed after merging all models to one build.

Original comment by zombah on 15 Oct 2012 at 10:35