[MOD] JMG recovery with sig check disabled. - Galaxy Tab Android Development

Someone PM'ed me about this and I finely got around to doing it. I do not have
a Galaxy Tab and when I try to test it on my Vibrant I cannot navigate the menu
buttons are not mapped correctly.
I am fairly certain that it will work, just cant test to make sure. If it turns out
that it works anyone is welcome to use it and can even use my install script
which can be found here.
http://forum.xda-developers.com/showthread.php?t=833423
if it does work you will not have to flash a modified kernel to use Clockwork.
just rename JMG_recovery to recovery and replace bin/recovery in the script
directory.
The attached file is not flashable!!!
it contains a modified JMG recovery an IDA disassembler database
file and a text file with the patch offsets and the patch data. and
is intended for testing and development purposes only.

Thank you!
Well, I tried that, or let me first explain to you what I tried.
I copied the supplied 'recovery' file, replacing the existing /system/bin/recovery .
Then I flashed RomManager's recovery. As this JMG is a EURO-based rom, and Rommanager does not support EURO ROM option for ClockWorkMod, I choosed Tmobile (which my tab is). Maybe this was the mistake.....???
Then I rebooted into recovery and it still shows Samsung Recovery 3e.
I was not sure what to do with the code you supplied and the installation process you offered - but the description was clear to only replace the recovery file, and that is what I did.
Did I miss something?
Thanks for your help anyway - let me know and I can test for you, anytime.
Hope I am not making a total fool of myself. I realized that you did not say anything about ClockWorkMod, but all the other recovery-image-replacements offer access to CWM so I assume this would to. I guess I was wrong.

bert269 said:
Well, I tried that, or let me first explain to you what I tried.
I copied the supplied 'recovery' file, replacing the existing /system/bin/recovery .
Then I flashed RomManager's recovery. As this JMG is a EURO-based rom, and Rommanager does not support EURO ROM option for ClockWorkMod, I choosed Tmobile (which my tab is). Maybe this was the mistake.....???
Then I rebooted into recovery and it still shows Samsung Recovery 3e.
I was not sure what to do with the code you supplied and the installation process you offered - but the description was clear to only replace the recovery file, and that is what I did.
Did I miss something?
Thanks for your help anyway - let me know and I can test for you, anytime.
Hope I am not making a total fool of myself. I realized that you did not say anything about ClockWorkMod, but all the other recovery-image-replacements offer access to CWM so I assume this would to. I guess I was wrong.
Click to expand...
Click to collapse
once you are in the Samsung's recovery select reinstall packages if clockwork
works like on the Vibrant then the device will appear to reboot back into the
Samsung recovery if you get this far then the posted file works, if you select
reinstall packages again then clockwork should launch assuming you have
busybox installed and every thing else works like it does on the Vibrant.

untermensch said:
once you are in the Samsung's recovery select reinstall packages if clockwork
works like on the Vibrant then the device will appear to reboot back into the
Samsung recovery if you get this far then the posted file works, if you select
reinstall packages again then clockwork should launch assuming you have
busybox installed and every thing else works like it does on the Vibrant.
Click to expand...
Click to collapse
When i select 'reinstall packages' nothing happens, it does not reboot back into Samsung recovery.
Where will Clockwork recovery come from, from the recovery file that I copied into /system/bin ?

It does not seem to work for me
untermensch said:
once you are in the Samsung's recovery select reinstall packages if clockwork
works like on the Vibrant then the device will appear to reboot back into the
Samsung recovery if you get this far then the posted file works, if you select
reinstall packages again then clockwork should launch assuming you have
busybox installed and every thing else works like it does on the Vibrant.
Click to expand...
Click to collapse
When i select 'reinstall packages' nothing happens, it does not reboot back into Samsung recovery.
Where will Clockwork recovery come from, from the recovery file that I copied into /system/bin ?

Thank you for sharing.
I guess it works.
I was not unable to flash GT-P1000-CSC-MULTI-OXXJK2 ## before, it would say "signature check failed".
I replaced the recovery in the bin folder and ran the script.
Now i am able to use above CSC file.

a1jatt said:
Thank you for sharing.
I guess it works.
I was not unable to flash GT-P1000-CSC-MULTI-OXXJK2 ## before, it would say "signature check failed".
I replaced the recovery in the bin folder and ran the script.
Now i am able to use above CSC file.
Click to expand...
Click to collapse
Thank You!
The code for the signature check is the same for all the Samsung devices I have
looked at, just the offsets are different. So once I find it I can do the mod in my
sleep.
I also just did an md5 check on the JMG and JME recovery and they are the same
so I bet this will work on most of the firmware versions out there.

bert269 said:
When i select 'reinstall packages' nothing happens, it does not reboot back into Samsung recovery.
Where will Clockwork recovery come from, from the recovery file that I copied into /system/bin ?
Click to expand...
Click to collapse
the recovery I asked to be tested is the Samsung recovery, when you select
reinstall packages Samsung's recovery looks for a file on the SD card called
update.zip. When/if that file is found recovery then loads a public key file from
/res/keys which is in the kernel ram file system, this is why you need to flash a
modified kernel to use Clockwork because someone has to change the key to
the same one used to sign Clockwork. once the public key is loaded Samsung's
recovery check's the signature of update.zip. if the private key used to sign the
package does not match the public key loaded from /res/keys you get the
"signature check failed" message.
Clockwork recovery is the update.zip on the SD card.
the modification I made to Samsung's recovery disables signature checking and
will allow you to install unsigned packages.

i need this file cause everytime installing CSC always failed verification signature failed
but i don't understand how to use this file
can you give me explain tut details?
i don't have recovery clockwerk
my system recovery (3e)

Very nice ! Thanks for sharing the hex-edit offsets !

Extra instructions:
http://forum.xda-developers.com/showthread.php?p=11289885#post11289885

still problem with signature
root, copy/overwrite "recovery" /system/bin
then run script
then installing CSC
but still failed
what wrong?
very2 tired work with this

I'm actually using this patched 3e recovery in my custom initramfs now
(At this stage, I'm not interested in ClockWorkMod 3.0 recovery for my self-built kernel...I tried it a few times, but didn't find it useful)

3e bricked my tab lastnight, had to return it to tmo and play it off as a battery defect.
i only tried because clockworkmod gets me stuck at the last adb command step

Related

[Q] Rom Manager - Failed to Seek

Anytime I try to do anything through Rom Manager (flash a ROM, nandroid backup, etc.) upon rebooting into recovery, I get a white triangle with an yellow exclamation point. After pressing the power button, the following text is revealed along with the Clockwork Recovery Menu.
Finding update package...
Opening update package...
Verifying update package...
E:failed to seek in /cache/update.zip (Invalid argument)
E:signature verification failed
Installation aborted.
If I select advanced->Reboot Recovery after receiving the error, the device reboots. After this second reboot, the process continues as it should have after the first reboot. I've tried downgrading the version of my Clockwork Recovery, but it seems to have no effect.
Any ideas?
...
I believe the standard array of initial questions would be:
1) Did you flash S-OFF?
2) Is your card FAT32 formatted
3) Try redownloading the file using a different browser (to ensure a cache doesn't deliver the same update.zip without trying)
jdmba said:
I believe the standard array of initial questions would be:
1) Did you flash S-OFF?
Click to expand...
Click to collapse
Yes.
jdmba said:
2) Is your card FAT32 formatted
Click to expand...
Click to collapse
Yes.
jdmba said:
3) Try redownloading the file using a different browser (to ensure a cache doesn't deliver the same update.zip without trying)
Click to expand...
Click to collapse
This failure isn't specific to any one file. Besides, I don't think it's a corruption of the file since it works when I select "reboot recovery" from the first failed attempt. In fact, this even happens when choosing "Backup ROM" from ROM Manager.
On a side note, I've tried wiping cache in ROM Manager as well.
Toggle Signature Verification and/or is d/l corrupt?
In CWM, have you tried toggling the on or off setting for the signature verification, as well as the other toggle?
Also, I read some superb advice here:http://http://forum.xda-developers.com/showthread.php?t=765930
check out the advice in post # 285 and see if that fixes you up.
Everyone seems to think my downloads are corrupt. That is definitely not the problem. If they were corrupt, they wouldn't function after the first reboot. They would continue to fail. Let me try explain my problem another way...
Here's my device setup...
Radio - 2.15.00.07.28
Kernel - King's BFS #4
ROM - SR Vanilla RC 2
CWM Version - 2.5.0.5
ROM Manager Version - 2.0.2.6
Here's a process I'm following...
1. Open ROM Manager
2. Clear Download Cache (Just to be sure!)
3. Select Backup Current ROM which causes reboot into recovery.
4. Receive the error which I outlined in my first post. *NOTE* I have not downloaded nor chosen to flash ANY update.zip files. *NOTE*
5. Open the advanced menu in CMW and choose "Reboot recovery" which causes the phone to reboot into recovery.
6. The backup progresses like it should have after the first reboot.
Again, the process above does not involve the use of any downloaded update.zip files. No ROMS, no Kernels, etc.
Does ROM Manager create it's own update.zip file stored in /cache to execute whatever function it needs to after reboot? It appears that might be the case.
I've attempted to reinstall ROM Manager and downgrade to an early version of CWM in ROM Manager. Neither seem to have helped.
I had the same problem trying to flash the latest leedroid
I entered recovery, de-selected signature verification and then flashed the rom through recovery mode.
Flashed normally and up to now it looks like it worked (waiting for first boot)
Hope this helped
Both signature verification and script asserts are toggled off. This is why the update.zip will flash after the second reboot into recovery and manually.
In recovery, is cache, data, or system mounted? If so, can you unmount any/ all, and reboot?
Sent from my ADR6300 using XDA App
I just started having this problem today, at least i noticed it today. It acts as if the signature verification is enabled the first try and disabled the second time. I can't find ANY way to fix this but reboot recovery and it works... If anyone finds a solution, please post.
*edit* I also noticed the "Fix Permissions" utility doesn't work in ROM Manager. Dont know if this is related or not.
PIYIRIO said:
I just started having this problem today, at least i noticed it today. It acts as if the signature verification is enabled the first try and disabled the second time. I can't find ANY way to fix this but reboot recovery and it works... If anyone finds a solution, please post.
Click to expand...
Click to collapse
Did you change anything today? I found someone in the SR ROM thread today that started having the same problem.
No, only an app and removed it. I dont know how long it has been broke since I haven't used it since SR 3.0rc1.. got tired of the reminder for rc3 and it wouldn't automagically run the install.zip.
Interesting.... Please post as this shakes out.
Sent from my ADR6300 using XDA App
I have this same issue, I think it's an issue with Rom Manager. No matter what I try to do from there (Reboot to Recovery, make backup, flash zip, etc.) I get that string of messages.
If I download a file from ROM manager to be flashed, I have to move the file to the root of the sd card before booting to recovery for it to flash correctly. I have just gotten used to doing it this way.
srt4mn said:
I have this same issue, I think it's an issue with Rom Manager. No matter what I try to do from there (Reboot to Recovery, make backup, flash zip, etc.) I get that string of messages.
If I download a file from ROM manager to be flashed, I have to move the file to the root of the sd card before booting to recovery for it to flash correctly. I have just gotten used to doing it this way.
Click to expand...
Click to collapse
Me as well
PIYIRIO said:
*edit* I also noticed the "Fix Permissions" utility doesn't work in ROM Manager. Dont know if this is related or not.
Click to expand...
Click to collapse
If you look in the OP for the SR ROMS, you'll see that a known issue. He includes a fix_permissions binary instead.
I've reached out to the developer. Hopefully we will hear from him soon.
Can you guys try clearing your download cache, and then reflashing recovery?
Possible workaround
Koush said:
Can you guys try clearing your download cache, and then reflashing recovery?
Click to expand...
Click to collapse
Cache wipe have been tried, see post #3.
I have some info that may be valuable:
This evening I rooted my Desire (SLCD) using Unrevoked 3.14 and recovery-clockwork-2.5.0.7-bravo.img I realize this is the incredible forum but hold on.. hear me out
I observed the _exact_ same behavior:
- Yellow eclamation + second reboot to recovery would run backup, also happened when selecting "Reboot Into recovery" in RomManager (RM)
- Tried DL cache wipe in RomManager,
- Tried reflash of recovery
This fixed it for me:
- Re-root via Unrevoked 3.14 using recovery-clockwork-2.5.0.1-bravo-slcd.img
- Re-flash CM (this may be optional, I don't know)
- Boot ROM and start RM just to have it tell me I need to install recovery (obviosly didn't detect my 2.5.0.1-bravo-slcd)
- Allow RM to flash 2.5.0.7-bravo via download
- Now "Backup ROM" and "Reboot to recovery" works as intended
- RM reports 2.5.0.7-bravo installed, recovery booted (via RM) is 2.5.0.7-bravo BUT recovery booted using HBOOT (back+power on Desire) is 2.5.0.1-bravo-slcd (!)
Note: Incredible users should _not_ use -bravo recovery images(!) just outlining how I made it work to help you find a solution
Koush said:
Can you guys try clearing your download cache, and then reflashing recovery?
Click to expand...
Click to collapse
Worked for me. Thanks Koush!
Sent from my ADR6300 using XDA App
Didn't work for me.. I've tried everything that I can think of. Different SD cards, i've formated /data/ /cache/ and reinstalled..
i'm using virtuous 2.7

FlipOut Recovery (CWM based v2.5.1.2)

this is a port of Tenfar's Defy Recovery for FlipOut. as the hijacks do not work on this model, there is used a different solution to load recovery.
it does not support mount/unmount. but all other function for backup/restore of system & data works (tested).
you can share usb storage to pc, or install unsigned update.zip files.
Credits for the apk goes to Tenfar, modifications to work on flipout with hack to boot is made by me.
It should work on all 2.1 based releses, as long as the phone is rooted.
controls in recovery are: VOL- & VOL+ for up/down and POWER to select.
There is an addon option to run adb at bootup (root based), if you put a empty file named: "adb_bootup" on root of sdcard.
Enjoy! (now lets see some mods!)
Installation instructions:
1. root it (SuperOneClick )
2. Install FlipOutRecovery.apk
3. reboot phone once
4. now enter app and press "Install recovery"
5. next you can chose to reboot recovery , normal reboot or shutdown.
Dexter_nlb said:
this is a port of Tenfar's Defy Recovery for FlipOut. as the hijacks do not work on this model, there is used a different solution to load recovery.
it does not support mount/unmount. but all other function for backup/restore of system & data works (tested).
you can share usb storage to pc, or install unsigned update.zip files.
Credits for the apk goes to Tenfar, modifications to work on flipout with hack to boot is made by me.
It should work on all 2.1 based releses, as long as the phone is rooted.
controls in recovery are: VOL- & VOL+ for up/down and POWER to select.
There is an addon option to run adb at bootup (root based), if you put a empty file named: "adb_bootup" on root of sdcard.
Enjoy! (now lets see some mods!)
Installation instructions:
1. root it (SuperOneClick )
2. Install FlipOutRecovery.apk
3. reboot phone once
4. now enter app and press "Install recovery"
5. next you can chose to reboot recovery , normal reboot or shutdown.
Click to expand...
Click to collapse
Good job!
Is there a way to install it from bootloader mode?
This is the only available mode i have right now
Thanks for the great work! Things don't get done without people like you!
Care to share your source? I have a port booting on the Motorola Charm, but it fails to reboot properly back to android. It only boots to stock recovery or clockwork mod recovery. Thanks.
Steve
Sent from my MB525 using Tapatalk
kb7sqi said:
Care to share your source? I have a port booting on the Motorola Charm, but it fails to reboot properly back to android. It only boots to stock recovery or clockwork mod recovery. Thanks.
Click to expand...
Click to collapse
my source is in the apk you got i did not have it, i use smali coding here when needed.
I see two problems and it's killing me now...
a. Format SYSTEM doesn't work unless you connect the device and say 'adb remount'
b. after you format the SYSTEM, restoring a Nandroid image will surely tell you "MD5 mismatch", it seems that the nandroid script is trying to use a tool from the /system
Darn it's killing me........
sahack said:
I see two problems and it's killing me now...
a. Format SYSTEM doesn't work unless you connect the device and say 'adb remount'
b. after you format the SYSTEM, restoring a Nandroid image will surely tell you "MD5 mismatch", it seems that the nandroid script is trying to use a tool from the /system
Darn it's killing me........
Click to expand...
Click to collapse
its not 100% , as its not made for the nand devices, and i dont have CM6 installed in a functioning matter, so i cannto recompile it atm..
okay... I see.
BTW, besides the official ROMs, are there anything else to run on the MB511?
entering at boot
is there any way to enter the recovery at boot, rather than from the app.
say as there is with the stock recovery (x and power then release power button)
nixonpjoshua said:
is there any way to enter the recovery at boot, rather than from the app.
say as there is with the stock recovery (x and power then release power button)
Click to expand...
Click to collapse
Not likely. Unless we 'flash' the recovery image to the phone's ROM. (AFAIK, that's not possible. )
so if that's not possible... then how would I effectively use the backup tool, I mean I would only need it if the phone wasn't working properly
nixonpjoshua said:
so if that's not possible... then how would I effectively use the backup tool, I mean I would only need it if the phone wasn't working properly
Click to expand...
Click to collapse
backup purposes for now.. you would backup and be able to recover..
or if someone made a mod of a rom of course..
you do not need to format anything to install and restore backups, only those experimenting will fail in their mission to mess up i think...
Again, many thanks on behalf of my wife.
Thanks dex
Thanks
Finally! i have the possibility of backup my rom!
Thank for this great work, is this can be fully uninstall?
thanks for this work!
i want to backup my flipout. do i get a sbf file and what do i have to choose in the recovery-app?
thanks
Schallstoerer said:
thanks for this work!
i want to backup my flipout. do i get a sbf file and what do i have to choose in the recovery-app?
thanks
Click to expand...
Click to collapse
no, you get a full backup of filesystems on your mobile, into a Nandroid/openrecovery/[serialnumber/date] folder which you can restore again the same way..
sbf is motorola only.
okay thank you!
i tried it in this way:
app: install recovery system -> recovery boot
boot menue: restore/backup -> backup
after a time of waiting my phone restarts.
but i dont have a "nandroid" folder on my sd card..
only a "goapkrev/backup/..."
with files cache.img, data.img, nadroid.md5, system.img
did i anything wrong?
how do i get a sbf file normaly?
Schallstoerer said:
only a "goapkrev/backup/..."
with files cache.img, data.img, nadroid.md5, system.img
Click to expand...
Click to collapse
this is correct. i was wrong... the ClockWorkMod used here uses a different folder name, but the purpose is the same.
now you should be able to make a full restore of data filesystem, which is primary i think.. /system is more or less not changed for anyone since we all use sbf's installed, but data is important to backup.

[Q] Repair platform.xml?

Hi folks,
I tried to modify the platform.xml file to enable some write permissions. As far as I can tell, the app I used to modify the file didn't write it back correctly, and now my device is what might be called "semi-bricked."
Almost everything force closes, WiFi and write permissions seem to be broken, and I can't seem to get my Galaxy Nexus to communicate with my PC via USB.
I tried booting into CWM and mounting some /system, but I'm not sure how to access it since fastboot/adb don't seem to recognize the device.
I've also booted into some sort of recovery (fastboot?) that looks like the attached image. But I can't get it to do anything except boot up into the normal OS when I click the power button.
Any suggestions on how I can get access back to my device so I can repair/replace the platform.xml file and restore functionality to my phone?
Thank you very much!
Deozaan said:
Hi folks,
I tried to modify the platform.xml file to enable some write permissions. As far as I can tell, the app I used to modify the file didn't write it back correctly, and now my device is what might be called "semi-bricked."
Almost everything force closes, WiFi and write permissions seem to be broken, and I can't seem to get my Galaxy Nexus to communicate with my PC via USB.
I tried booting into CWM and mounting some /system, but I'm not sure how to access it since fastboot/adb don't seem to recognize the device.
I've also booted into some sort of recovery (fastboot?) that looks like the attached image. But I can't get it to do anything except boot up into the normal OS when I click the power button.
Click to expand...
Click to collapse
No it is not bootloader. to access to the bootloader turn on your device long pressing power, volume up and volume down buttons together (don't use odin).
To access to cwm recovery from bootloader just press volume down button until you see "recovery" option, then press power button and it will boot in recovery.
which rom are you using?
solution: download the zip file of your rom and extract the file you modified, make a zip (if you can't make a flashable zip i'll post an attachment for you) and flash it in recovery
enryea123 said:
No it is not bootloader. to access to the bootloader turn on your device long pressing power, volume up and volume down buttons together (don't use odin).
To access to cwm recovery from bootloader just press volume down button until you see "recovery" option, then press power button and it will boot in recovery.
which rom are you using?
solution: download the zip file of your rom and extract the file you modified, make a zip (if you can't make a flashable zip i'll post an attachment for you) and flash it in recovery
Click to expand...
Click to collapse
Thanks for the reply.
I actually did manage to get my PC to recognize the device via USB/adb and I copied the file back to the way it should have been. But that didn't fix anything, so I ended up doing a wipe/factory reset. Everything works now but things still seem a bit. . . off. For instance, it takes a while after my phone boots up before the WiFi will actually connect. It used to be connected almost immediately. And it takes a while for the alarm icon to load/show up in the notification area at the top. And I can't find the option in the settings anymore to use USB debugging. There are lots of little things like that, where it works, but it just doesn't quite work like it used to. . .
And to answer your question, I'm using the stock ROM that came with the Galaxy Nexus (from Google Play Store).
Deozaan said:
Thanks for the reply.
I actually did manage to get my PC to recognize the device via USB/adb and I copied the file back to the way it should have been. But that didn't fix anything, so I ended up doing a wipe/factory reset. Everything works now but things still seem a bit. . . off. For instance, it takes a while after my phone boots up before the WiFi will actually connect. It used to be connected almost immediately. And it takes a while for the alarm icon to load/show up in the notification area at the top. And I can't find the option in the settings anymore to use USB debugging. There are lots of little things like that, where it works, but it just doesn't quite work like it used to. . .
And to answer your question, I'm using the stock ROM that came with the Galaxy Nexus (from Google Play Store).
Click to expand...
Click to collapse
first: to make the "developer settings" appear go settings/About phone and tap on build number 7 times (google has hidden it in 4.2).
said that, you can:
1) fix permissions in cwm recovery (under advanced menu)
2) download a zip of your rom and flash it in recovery
3) if your bootloader is unlocked (you see a padlock when you boot your phone) you can flash a factory image to return completely stock.
4) if your bootloader is locked you can follow the 3) method but you will lose all your sdcard data.
enryea123 said:
first: to make the "developer settings" appear go settings/About phone and tap on build number 7 times (google has hidden it in 4.2).
said that, you can:
1) fix permissions in cwm recovery (under advanced menu)
2) download a zip of your rom and flash it in recovery
3) if your bootloader is unlocked (you see a padlock when you boot your phone) you can flash a factory image to return completely stock.
4) if your bootloader is locked you can follow the 3) method but you will lose all your sdcard data.
Click to expand...
Click to collapse
Thanks again for the response.
I got developer settings to appear. Hooray! Fix Permissions is one of the first things I did to try to repair the platform.xml file when things were broken. I ran it again (but from ROM Manager rather than from CWM Recovery) and it didn't seem to have any effect on the weird sluggishness when first booting up.
My bootloader is unlocked. Will I have to root again if I flash one of those factory images? I'm currently backing up the contents of my "SD card" in case I have to completely wipe the entire thing.
Deozaan said:
Thanks again for the response.
I got developer settings to appear. Hooray! Fix Permissions is one of the first things I did to try to repair the platform.xml file when things were broken. I ran it again (but from ROM Manager rather than from CWM Recovery) and it didn't seem to have any effect on the weird sluggishness when first booting up.
My bootloader is unlocked. Will I have to root again if I flash one of those factory images? I'm currently backing up the contents of my "SD card" in case I have to completely wipe the entire thing.
Click to expand...
Click to collapse
well, you can firstly try to flash a zip of your rom (search on xda or google), it should fix.
the fastboot flash method is the google method so you won't need root (you just have to go into fastboot and connect your phone to your computer, doesn't matter if you have root, or a different rom/kernel/recovery).
If you don't know you to flash from fastboot try first to flash the rom zip.
having a backup of the sdcard is always a good idea :good:, i have 2 backups of mysdcard on 2 different hard drives of my computer and the pictures i take with the camera are automatically uploaded on my dropbox .
enryea123 said:
well, you can firstly try to flash a zip of your rom (search on xda or google), it should fix.
the fastboot flash method is the google method so you won't need root (you just have to go into fastboot and connect your phone to your computer, doesn't matter if you have root, or a different rom/kernel/recovery).
If you don't know you to flash from fastboot try first to flash the rom zip.
Click to expand...
Click to collapse
Weird things are happening. I was making a backup of the "SD Card" and partway through, things stopped copying over. And pretty much everything got erased from it. No big deal, since I'd already copied the important stuff first.
But CWM Recovery won't flash the zip file. It keeps telling me the update failed. I verified the hash on the zip I downloaded and it is the same as what is listed on Google's site. But it just won't flash in CWM.
Deozaan said:
Weird things are happening. I was making a backup of the "SD Card" and partway through, things stopped copying over. And pretty much everything got erased from it. No big deal, since I'd already copied the important stuff first.
But CWM Recovery won't flash the zip file. It keeps telling me the update failed. I verified the hash on the zip I downloaded and it is the same as what is listed on Google's site. But it just won't flash in CWM.
Click to expand...
Click to collapse
wait, are you in cwm recovery o just in stock recovery (they are different)? have you previously installed a cwm recovery using fastboot? which zip are you trying to flash?
edit: ok you know what is rom manager so i think that you are in cwm.
edit2: try this zip http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JOP40D-signed.zip
enryea123 said:
wait, are you in cwm recovery o just in stock recovery (they are different)? have you previously installed a cwm recovery using fastboot? which zip are you trying to flash?
edit: ok you know what is rom manager so i think that you are in cwm.
edit2: try this zip
Click to expand...
Click to collapse
I was in CWM Recovery. I was using the zip file that I extracted from the link you gave me for Google's stock ROMs (I can't post external links yet):
(Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet) --> Android 4.2.1 (JOP40D))
Strangely enough, after "failing" to flash the zip, I had to log into my Google account again because I had selected the option to Wipe Data and Cache, and most things seem to be working very well again. One odd thing I'm still noticing, though, is that some things don't seem to be syncing properly. For example, if I archive some of my email in the Gmail app, then log into Gmail on my PC, the mail is still unread in my inbox. My phone downloads the new mail just fine. But the changes I make on my phone (reading, archiving, deleting, etc.) don't seem to be syncing to anywhere else.
I'm downloading the zip you suggested. I'll give that a try. Thanks!
enryea123 said:
edit2: try this zip http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JOP40D-signed.zip
Click to expand...
Click to collapse
Try this one
Deozaan said:
I was in CWM Recovery. I was using the zip file that I extracted from here the link you gave me (I can't post external links yet):
(Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet) --> Android 4.2.1 (JOP40D))
Strangely enough, after "failing" to flash the zip, I had to log into my Google account again because I had selected the option to Wipe Data and Cache, and most things seem to be working very well again. One odd thing I'm still noticing, though, is that some things don't seem to be syncing properly. For example, if I archive some of my email in the Gmail app, then log into Gmail on my PC, the mail is still unread in my inbox. My phone downloads the new mail just fine. But the changes I make on my phone (reading, archiving, deleting, etc.) don't seem to be syncing to anywhere else.
I'm downloading the zip you suggested. I'll give that a try. Thanks!
Click to expand...
Click to collapse
That is not a flashable zip! It is a factory image, it must be flashed via fastboot using a computer.
enryea123 said:
That is not a flashable zip! It is a factory image, it must be flashed via fastboot using a computer.
Click to expand...
Click to collapse
Just to be sure I explained myself clearly, I downloaded that Google provided factory image (a .tgz file) and inside it I found a zip file named "image-takju-jop40d.zip" which is what I tried to flash.
That said, I've just recently finished downloading the one you just suggested to me and I will give that one a try soon. Thank you again for your help. I really appreciate it.
I got it working again. The ROM you gave me failed signature verification in CWM Recovery, but I told it to install anyway and it worked. Thank you.
The problem I was having with Gmail not syncing was that I used Titanium Backup to restore my data, but because all the data from my "SD card" got erased, Titanium Backup itself lots its settings, so my Device ID was different. I guess Gmail relies on the device ID for syncing.
Thank you so much for your help! I learned a lot from the experience.
Glad i helped you. well this is one of the reasons why i don't restore data with titanium (especially system data).
and by the way:
Deozaan said:
Just to be sure I explained myself clearly, I downloaded that Google provided factory image (a .tgz file) and inside it I found a zip file named "image-takju-jop40d.zip" which is what I tried to flash.
That said, I've just recently finished downloading the one you just suggested to me and I will give that one a try soon. Thank you again for your help. I really appreciate it.
Click to expand...
Click to collapse
To fully reset and install a clean rom using fastboot you have to extract the bootloader-blabla.img and radio-blabla.img files from the tar.gz archive and then extract the 4 .img files inside the zip (that is inside the tar.gz) and flash this 6 .img files connetting your phone in bootloader mode to your computer and using fastboot in terminal (in fact this procedure reinstall the recovery too).

[Q] Failed to flash ROM, SGW doesn't boot

Hi everybody,
sorry for bothering you, but I think I might need some help.
I tried to flash ParanoidAndroid (first try ever to flash a smartphone) but failed 'somehow'.
Initial steps to create the problem
Initial Status: Gingerbread on a Galaxy W; Pretty old and pretty messed up
Download the update.zip to root the smartphone => Becoming root worked!
Download ParanoidAndroid
Download Clockwork Recovery
Created backups using Titanium Backup as root.
Copied ParanoidAndroid to the GalaxyWs internal sd card (yes, this was my mistake)
Wipe cach partition => It said, it worked, I don't know if it did
Rebooted phone => all fine
Rebooted into recovery mode applied update from SD-Card=> Selected ParanoidAndroid.zip => ErrorMessage (I think it was something like file corrupt, sorry I'm not sure about the specific words, but it sounded like this is no updatefile or this file is not a valid zip file.
Status of the problem
Bootup shows Samsung Logo
Bootup than shows GalaxyW-Screen Logo
Bootup than shows the android recovery symbol OR directly reboots
When trying to open the recovery menu, every second time I get the message "Updating (...) Installing MultiCSC... Can't access /system/csc/DBT/system"
If opening recovery menu works, I can only acces the internal storage of the galaxy to install an update (tried the paranoidandroid several times, it doesn't work)
When plugging in the galaxy w to my USB port, I don't get an USB storage shown on my 2 laptops (1 "Windows 7", 1 "Ubuntu 14.0?" )
neither odin (4.43) nor Heimdall are able to flash any files.
So, simple question, what can I do next?
-I cannot copy clockworkmod to my smartphone
-I don't know if I can easily overwrite the kernel or the bootloader.
I searched the forum but didn't find a clear solution, so sorry if this special configuration was already asked.
Thanks for your help and best regards
FrankyDroid
FrankyDroid said:
[*]Rebooted into recovery mode applied update from SD-Card=> Selected ParanoidAndroid.zip => ErrorMessage (I think it was something like file corrupt, sorry I'm not sure about the specific words, but it sounded like this is no updatefile or this file is not a valid zip file.
Click to expand...
Click to collapse
Your ROM's download has been cut either by a connection issue or by you, That is why I always have a backup rom in my SD Card. Also For kitkat, make sure you got CWM 6.0.4.5 or higher. Personally i use PhilZ Touch Recovery. It is simple enough for me. And odin recognizes your phone only in download mode. So make sure you go to download mode then plug the phone in. And also make sure while working with odin, unplug all USBs and other phones
Hey MayB4ck,
thank you for the tips, I finally got it running Using Philz Touch Recovery. Works like hell
Best regards
FrankyDroid

[Q] Help -- CWM not working

Can't install any ROMs on G2.
Had CWM 5.0.27, I think. Couldn't install any of several ROMs. Installed CWM 6.0.4.5. Same outcome.
Aroma installer always stops at "Symlinking..." after extracting files.
Says "set_perm: some changes failed" and Status 7.
What am I doing wrong?
O's said:
Can't install any ROMs on G2.
Had CWM 5.0.27, I think. Couldn't install any of several ROMs. Installed CWM 6.0.4.5. Same outcome.
Aroma installer always stops at "Symlinking..." after extracting files.
Says "set_perm: some changes failed" and Status 7.
What am I doing wrong?
Click to expand...
Click to collapse
Well as far as I remember, the new roms were better to be installed with 4ext Recovery, because the CWM had some problems working with ext4 filesystem. Try the one I have on the web site below, that should fix it for you.
a.s.j said:
Well as far as I remember, the new roms were better to be installed with 4ext Recovery, because the CWM had some problems working with ext4 filesystem. Try the one I have on the web site below, that should fix it for you.
Click to expand...
Click to collapse
Thanks, but the zip didn't work. Put it in sdcard root and tried several times with CWM Touch 5.8.1.0 -- installation failed, every time.
I've since gotten CM10.1 and Mimicry to work with CWM, but I'm struggling with one ROM in particular no matter the recovery: coolIOS, a 4.0.4.
Tried to install it with CWM 5.0.2.7 and got the error described at top.
Tried with CWM 6.0.4.5.
Tried with CWM Touch 5.8.1.0.
Tried with TWRP 2.6.3.0.
Same error, every time. Redownloaded the ROM, but same. I'm really at a loss with that one. It worked fine on a previous G2.
O's said:
Thanks, but the zip didn't work. Put it in sdcard root and tried several times with CWM Touch 5.8.1.0 -
Click to expand...
Click to collapse
Just try to install 4EXT recovery !
http://4ext.net/
Kéno40 said:
Just try to install 4EXT recovery !
http://4ext.net/
Click to expand...
Click to collapse
I meant the only 4ext install zip I could find didn't work.
Downloaded the apk from the site and got "Cannot open file".
Yes, Unknown Sources is checked.
Thanks, anyway.
EDIT: Got 4ext working, but still no help. Had to extract the .img from the install zip, install Mimicry ROM, and use the Terminal Emulator to flash the .img. That got it working, but it only boots in safe mode. Says it can't read the cache partition, and also says this:
"If you changed hboot you should choose to format all partitions (except sdcard)".
Formatted all partitions, rebooted recovery -- still safe mode. Still says it can't read cache.
Starting to think some of the physical memory is corrupt.
But if that's the case, why do other ROMs work? Or does someone else see another plan/fix/anything here? Thanks.
O's said:
I meant the only 4ext install zip I could find didn't work.
Downloaded the apk from the site and got "Cannot open file".
Yes, Unknown Sources is checked.
Thanks, anyway.
EDIT: Got 4ext working, but still no help. Had to extract the .img from the install zip, install Mimicry ROM, and use the Terminal Emulator to flash the .img. That got it working, but it only boots in safe mode. Says it can't read the cache partition, and also says this:
"If you changed hboot you should choose to format all partitions (except sdcard)".
Formatted all partitions, rebooted recovery -- still safe mode. Still says it can't read cache.
Starting to think some of the physical memory is corrupt.
But if that's the case, why do other ROMs work? Or does someone else see another plan/fix/anything here? Thanks.
Click to expand...
Click to collapse
There is no install zip on my pages, just zipped image which should be pushed in via Fastboot. You are perhaps doing something terribly wrong my friend.
What you need to do can be achieved by several ways:
- Rename recovery.zip to PC10IMG.zip put it into your /sdcard root and start your phone to recovery (hold Vol-Down and Power to start recovery system)
- use adb to push the image to the recovery partition
- or the easiest could be to check this one: http://www.4ext.net/install.pdf
a.s.j said:
There is no install zip on my pages, just zipped image which should be pushed in via Fastboot. You are perhaps doing something terribly wrong my friend.
What you need to do can be achieved by several ways:
- Rename recovery.zip to PC10IMG.zip put it into your /sdcard root and start your phone to recovery (hold Vol-Down and Power to start recovery system)
- use adb to push the image to the recovery partition
- or the easiest could be to check this one: http://www.4ext.net/install.pdf
Click to expand...
Click to collapse
Perhaps I was unclear. I downloaded your zip and renamed it PC10IMG.zip and put it in sdcard root and started to recovery, but that did not work. I thought it would work, since the phone showed the "vertical progress bar" as if it was about to change recovery, but I didn't get the prompt to "Update recovery?" that I usually see there. So nothing happened.
I also tried to download the 4ext apk directly from the site onto my phone, but after downloading the apk, phone said "Cannot open file."
Instead, I got 4ext working by downloading the zip in the 4ext forum zip. It contains an .img that I flashed in Terminal Emulator, which got 4ext working.
Once I booted to 4ext, it said it could only load in safe mode because it couldn't read the cache. It advised to wipe the cache, so I wiped everything several times, but it still only loads in safe mode.
I'll try your zip method again, and I thank you for the assistance. I just don't get why five different recoveries work on some ROMs but not one that worked fine on a past G2.
O's said:
Perhaps I was unclear. I downloaded your zip and renamed it PC10IMG.zip and put it in sdcard root and started to recovery, but that did not work. I thought it would work, since the phone showed the "vertical progress bar" as if it was about to change recovery, but I didn't get the prompt to "Update recovery?" that I usually see there. So nothing happened.
I also tried to download the 4ext apk directly from the site onto my phone, but after downloading the apk, phone said "Cannot open file."
Instead, I got 4ext working by downloading the zip in the 4ext forum zip. It contains an .img that I flashed in Terminal Emulator, which got 4ext working.
Once I booted to 4ext, it said it could only load in safe mode because it couldn't read the cache. It advised to wipe the cache, so I wiped everything several times, but it still only loads in safe mode.
I'll try your zip method again, and I thank you for the assistance. I just don't get why five different recoveries work on some ROMs but not one that worked fine on a past G2.
Click to expand...
Click to collapse
SOLVED: Helps if I read the instructions. Thread for that ROM clearly says to have Desire Z hboot; I had G2 hboot. In all the years of using a G2, I've never had to switch hboot and was unfamiliar with it. If anyone else has same issues as this post, might try installing the Virtuous Team's PC10IMG.zip and read up on it at the Hboot thread. Thanks to all who beared with my lack of knowledge.

Categories

Resources