Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression in sdcard partitioning menu.
1606b8a Change-Id: I110b7aee9274ddc58bc59a744d831f22e22e1336
- Loading branch information
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jelly Bean needs this:
/preload support for the nandrodi backups or they get useless backups:
nandroid.c edits
For backup:
For restore (linked to /system/app)
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/preload is not aosp standard
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line :
should be :
so menu partition sdcard is available because it allways give me "Can't partition unsafe device: mmcblk1p1" on recovery_log
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boeaja I am pretty sure that line is correct.
Can you paste your recovery.fstab?
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about his, but same issue with this one i9100/n7000
mount point fstype device
/boot emmc /dev/block/mmcblk0p5
/recovery emmc /dev/block/mmcblk0p6
/efs ext4 /dev/block/mmcblk0p1
/cache ext4 /dev/block/mmcblk0p7
/system ext4 /dev/block/mmcblk0p9
/data ext4 /dev/block/mmcblk0p10
/preload ext4 /dev/block/mmcblk0p12
/modem emmc /dev/block/mmcblk0p8 #added manually
/emmc vfat /dev/block/mmcblk0p11
/sdcard vfat /dev/block/mmcblk1p1
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm
/sdcard vfat /dev/block/mmcblk1p1
looks right.
[len - 2] == 'p' and [len - 1] == '1', so it shouldn't bail out with that error there.
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my recovery.fstab
// do not allow partitioning of a device that isn't mmcblkX or mmcblkXp1
so /sdcard is mmcblk1p1 ---> [len - 2] == 'p' and [len - 1] != '1', --->False ( no error generated , so i can partition my sdcard)
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boeaja Right, isn't that correct behavior?
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes..
The original code
(vol->device[vol_len - 2] == 'p' && vol->device[vol_len - 2] != '1') -->> true for mmcblk1p1 so error generated and menu Partition sdcard mising..
So will it be fix or i have to fix each time sync the repo...
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh I see.
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
038bd90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, now you got it
Never bothered fixing it on repo sync for my builds as I hate partition sdcards from phone. But many do complain
Thumbs up for prompt support