I could use some help. I'm trying to do a nandroid backup in CWM recovery all goes well til the end when i get a message checking md5 sum error. And i cant use the backup. Here is my config: xylon rom, away kernel. Thanks a lot!
Sent from my GT-I9000 using xda app-developers app
i'm having the same problem
To fix this problem use the code below. Substitute the final folder name for the backup you need to fix.
Code:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
When that finishes, re-run the restore and everything should be fine.
Related
Hello all.
Initial CFRoot flash won't flash the CWM Zimage to my phone. I'm running stock 4.04 ICS with the LQ2 kernel with full root access. When I paste the CF-Root kernel Zimage into the appropriate folder and run the "already-rooted.bat" file it gives me the following :
Code:
We will try to flash CF-Root kernel now
Please watch for any errors beyond this point!
Turn on the screen and allow superuser permission when asked!
---------------------------------------------------------------
Press any key to continue . . .
--- pushing zImage
failed to copy 'zImage\zImage' to '/data/local/zImage': Permission denied
--- flashing zImage
su
dd if=/data/local/zImage of=/dev/block/mmcblk0p5 bs=4096
exit
exit
[email protected]:/ $ su
[email protected]:/ # dd if=/data/local/zImage of=/dev/block/mmcblk0p5 bs=4096
/data/local/zImage: cannot open for read: No such file or directory
1|[email protected]:/ # exit
1|[email protected]:/ $ exit
--- cleaning up
rm failed for /data/local/zImage, No such file or directory
--- rebooting
I tried running the batch file as an administrator but it made no difference. I know the zImage is in the appropriate folder and I know it is the correct version (CF-Root-SGN_XX_XEU_LQ2-v5.6-CWM5) for my LQ2 phone.
Any help / advice? Thanks.
Try CWM method to root your phone then flash CF Root kernel.
OR
First root your phone using CWM method then do what you tried.
You already need to be rooted so that
dd if=/data/local/zImage of=/dev/block/mmcblk0p5 bs=4096
can work.
Mobile.odin is easiest way.
I recommend to install busybox fro market first, then install binaries from inside busybox applicaion, once it install successfully, then flash cf root kernel.
Sent from my GT-N7000 using xda premium
dr.ketan said:
Mobile.odin is easiest way.
I recommend to install busybox fro market first, then install binaries from inside busybox applicaion, once it install successfully, then flash cf root kernel.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
I thought people were being discouraged from using odin to flash kernels because it interfered with WiFI / yellow triangle.
I got it working. I just used root explorer and manually copied over the zImage to the phone's memory and it installed fine.
Now, just to double check. If I want to restore nandroid backups, I should flash the abyss kernel first, then reboot recovery then wipe, then restore the nandroid backup.
Likewise if I want to install a custom ROM. I flash the abyss kernel, reboot recovery and then full wipe. Then I flash the ROM and reboot. Right?
I guess you guys restoring roms like i just did, and eventually got into problem/error message that md5 mismatch.
I managed to fix it without using adb shell or terminal emulator on phone etc. In case that you can not boot into rom and you want to restore previous rom.
1. Download notepad ++ (it is free)
2. Put your SD card into PC
3. Navigate to folder "clockworkmod/backup/DateWhenBackupCreated"
IMPORTANT First try to rename your backup folder without spaces, and then try to restore.
If it is already without spaces, continue
4. In notepad++ open file "nandroid.md5" , delete all content of that file (simply by selecting it and "delete") , after that "save".
5. Put SD card back to phone and try to restore again. Should work fine. :victory:
Correct me if im wrong
Will try really soon..
Thanks a lot.
Good, post result how it went :good: :fingers-crossed:
I fix it this way:
Open ADB or Terminal Emulator
Code:
adb shell(for adb) or su(for Terminal Emulator)
# cd /sdcard/clockworkmod/backup/insert backup folder name
# rm nandroid.md5
# md5sum *img > nandroid.md5
Its about fixing it easy way not complicated one but ok, your choice
Sent from my super cool HTC Wildfire using xda app-developers app
I have mis-deleted the Home.apk, and meet a black screen after unlocking the devices.
May I ask you for uploading the Home.apk in the stock 4.21?
Thanks a lot in advance.
How do you plan on installing it if you have no launcher? (its launcher.apk, not home.apk.)
NEXUS 7:
Unlock/Root
Prime D
M-Kernel
PimpMyROM
AW: [HELP]Missing the Home.apk
UltimaClaud said:
I have mis-deleted the Home.apk, and meet a black screen after unlocking the devices.
May I ask you for uploading the Home.apk in the stock 4.21?
Thanks a lot in advance.
Click to expand...
Click to collapse
You could try to download nova launcher with the play store Web interface. If that won't work, open a stock rom and search for launcher2.apk or take it from a custom rom then install it with adb install.
Sent from my Nexus 7
As the above poster said, "Launcher2", not Home.
The type of things you are doing - altering things in /system - is exactly the sort of activity that you prepare for inevitable mistakes by making full Nandroid backup of your ROM ahead of time.
Didn't make a backup? Live and Learn; now you know why they are useful.
If you have a backup, save your current ROM to a full Nandroid backup, restore the good backup, and pull the launcher2 .apk and .odex files out of the /system partition from that. Then restore your borked ROM backup and put them in place into /system using ADB and the recovery, e.g.
C:\foo> adb shell
# mount /system
# mount /sdcard
# cp /sdcard/Launcher2.apk /system/app/Launcher2.apk
# cp /sdcard/Launcher2.odex /system/app/Launcher2.odex
# chmod 644 /system/app/Launcher2*
# chown root.root /system/app/Launcher2.*
# sync
# umount /system
# exit
C:\foo> adb reboot
FWIW (nakasi JOP40D 4.2.1 stock):
[email protected]:/mnt/foo/app# ls -l Launch*
-rw-r--r-- 1 root root 12190703 2012-11-19 16:55 Launcher2.apk
-rw-r--r-- 1 root root 549816 2012-11-19 16:55 Launcher2.odex
[email protected]:/mnt/foo/app# md5sum Launcher2.*
934eb033d26cd2c7aaabc4f0759e9fa7 Launcher2.apk
73c6281e2ec601bd1181d588a72070a5 Launcher2.odex
since its rooted, I assume you have a custom recovery flashed? if so, download your exact ROM as a flash able .zip to a computer and copy that to your tablet. reboot into recovery and dirty flash it.
or do a factory reset and a advanced restore of data only.
Or you could simply flash the stock system.img in fastboot.
Sent from my Nexus 7 using Tapatalk HD
ALL IS FIXED THROUGH RUU!!! OMJ'S RUU POST SAVES LIVES. +1 TO THAT MAN.
Hi, I've recently installed clockwork mod and just wanted to try out the HD revolution roms and missed having battery percentage. I used the all-in-one toolkit. After installing the ROM through ADB sideload i rebooted my phone to having it go right back to the bootloader screen. I tried to restore my backup and it says it has a md5 mismatch. If anyone has any guidance please help!!!
Sincerely,
A lost noob
download a new rom, sideload via adb, try flashing with that.
after downloading the new rom, boot into recovery, plug device into computer, open up terminal window and type:
for linux/osx:
Code:
adb push /path/to/new/ROM /sdcard/Download/
for windows:
Code:
adb push C:\path\to\new\ROM /sdcard/Download/
You can also delete the old rom (quotes are required):
Code:
adb shell "rm -f /path/to/ROM/on/device"
treyswell said:
Hi, I've recently installed clockwork mod and just wanted to try out the HD revolution roms and missed having battery percentage. I used the all-in-one toolkit. After installing the ROM through ADB sideload i rebooted my phone to having it go right back to the bootloader screen. I tried to restore my backup and it says it has a md5 mismatch. If anyone has any guidance please help!!!
Sincerely,
A lost noob
Click to expand...
Click to collapse
Did you rename your backup to something other than the date and time? This caused me to have a md5 mismatch.
Sent from my HTC One using xda premium
If you're absolutely sure your backup is complete then type this in cmd:
Code:
adb shell
# cd /sdcard/clockworkmod/backup/2013-05-01.20.22.53 (name of your backup stored in /clockworkmod/backup )
# rm nandroid.md5
# md5sum *img > nandroid.md5
This will allow your backup to restore
Redbull I wish that was my problem.! lol. So update : I tried switching recoveries to TWRP since there was a cache recovery erroor in my CM. BUT after that I lost my nandroid. :C So I either install with CM where my phone is recognized but my cache will fail the install or TWRP where my phone isn't recognized. I also flashboot the boot.img from the rom after downloading. My also has shut off in random times.FML
2nd UPDATE: I now have TWRP working. I've been trying to use O.M.J's deoxed rom. My phone makes it to the main menu with no service and then after a minute it will say process system not responding and shut itself off and reboot. If its any constellation my twrp time is only an hour off.
Hi Guys,
I Have a rooted Galaxy s advanced. I have modified the stock rom (build I9070XXLQE) android 4.1.2. and now i'm trying to make a flashable odin pakage. after exporting the data and system block to a .img file. and putting them in a md5sum file. Odin get stuck on initializing. does someone know how how to make a working odin pakage for the i9070?
And why would you like to do that?
Isn't it easier to rather make a nand backup?
I do not respond to tech support via PM
dikkekip said:
Hi Guys,
I Have a rooted Galaxy s advanced. I have modified the stock rom (build I9070XXLQE) android 4.1.2. and now i'm trying to make a flashable odin pakage. after exporting the data and system block to a .img file. and putting them in a md5sum file. Odin get stuck on initializing. does someone know how how to make a working odin pakage for the i9070?
Click to expand...
Click to collapse
Do this in windows:
tar -H ustar -c nameofthefile.img > nameofthefile.tar
md5sum -t nameofthefile.tar >> nameofthefile.tar
rename nameofthefile.tar nameofthefile.tar.md5
You need in the same folder md5sum.exe and tar.exe
Sent from my GT-I9070
rolling out on 350 devices
Shaaan said:
And why would you like to do that?
Isn't it easier to rather make a nand backup?
I do not respond to tech support via PM
Click to expand...
Click to collapse
Naidroid backup is nice and works great. the problem is I have to roll out the modified rom on 350 i9070 android devices. so a odin package would be nice. Do I have to flash the data package with the odin files to copy everything ?
still no luck, I'm able to make a odin package now. the only problem is the device that I flash. has no system applications, problems like no keyboard and a crashing google services..
plz help ?
I'm using
adb shell
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/system.img bs=4096
dd if=/dev/block/mmcblk0p5 of=/mnt/extSdCard/userdata.img bs=4096
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/system.img bs=4096
dikkekip said:
still no luck, I'm able to make a odin package now. the only problem is the device that I flash. has no system applications, problems like no keyboard and a crashing google services..
plz help ?
I'm using
adb shell
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/system.img bs=4096
dd if=/dev/block/mmcblk0p5 of=/mnt/extSdCard/userdata.img bs=4096
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/system.img bs=4096
Click to expand...
Click to collapse
Are u missing /preload partition?
Sent from my GT-I9070 using xda app-developers app
I've solved the problem,
i have fixed the premission of the systemapps
I think the app does something like chmod 777
anyway after using the premmision fix app.
the new odin package worked good!
tnx for the feedback