I'll try to download it..
it will take a long time with my internet connections
./simg2img system.img newsys.img
[email protected]:/home/cgt/note/a# sudo ./mkuserimg.sh -s temp system.img ext4 tempdir 2048M + echo 'in mkuserimg.sh PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' in mkuserimg.sh PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + ENABLE_SPARSE_IMAGE= + '[' -s = -s ']' + ENABLE_SPARSE_IMAGE=-s + shift + '[' 5 -ne 4 -a 5 -ne 5 -a 5 -ne 6 ']' + SRC_DIR=temp + '[' '!' -d temp ']' + OUTPUT_FILE=system.img + EXT_VARIANT=ext4 + MOUNT_POINT=tempdir + SIZE=2048M + FC= + case $EXT_VARIANT in + '[' -z tempdir ']' + '[' -z 2048M ']' + '[' -n '' ']' + MAKE_EXT4FS_CMD='make_ext4fs -s -l 2048M -a tempdir system.img temp' + echo make_ext4fs -s -l 2048M -a tempdir system.img temp make_ext4fs -s -l 2048M -a tempdir system.img temp + make_ext4fs -s -l 2048M -a tempdir system.img temp ./mkuserimg.sh: line 57: make_ext4fs: command not found + '[' 127 -ne 0 ']' + exit 4
MUST READ IF YOU FLASHING XXDMF2/ME6 OR later ROM
Latest built (DMF2/ME6) reported to have new kernel which modifies your EFS partition
So How does it affect?
-Once you flash said latest ROM, your EFS partition gets modified and previously built modem will no more work.
It means once you flash this latest built, you have to stick to latest modem at least. You can downgrade to older ROM but after flashing you won't have IMEI, b'coz older ROM (modem) can't read modified EFS. So in such cases flashing latest modem (attached here at end) will solve issue.
If you have old EFS backup (made prior to flashing said latest built) then you can restore it instead of latest modem also will solve issue.
I recommend again to make EFS backup prior to flashing latest built to keep possibilities to use older ROM and modem
As well Make EFS backup post flashing latest built.
Here is different method available to make EFS backup
- Backup from device itself
- Backup with ADB tools
- Philz recovery
Here is modem(mf1) from ROM XXDMF2-XME
Extract zip will give you three files for recovery(recovery.tar.md5), Kernel(boot.tar.md5) and Modem(modem.tar.md5). [Here for purpose mentioned in this post you need only modem.tar.md5]
To flash modem, you can use PC/Mobile odin
For PC Odin, select file modem.tar.md5 for 'PHONE' tab
For Mobile odin select modem.tar.md5 for 'Modem' tab.
|no flash counter raise, pre rooted stock rom|
|Thread Tools||Search this Thread|