New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Soumik84
Old
(Last edited by Soumik84; 7th February 2012 at 04:10 PM.) Reason: more details
#1  
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jul 2011
Question [Q] Defy restoring itself to old ROM automatically!!!

Hi All,

I am new here and this is my first post. But i have been reading this forum for quite sometime and know that u guys are now my final stone. I am a proud owner of a Motorola Defy. And I am having this strange behavior, which is effectively rendered the phone almost useless. The phone is acting like its got a restore point in itself, and every time i restart.. it gets back to that point in time.
This includes app installs, uninstalls, stuff placed in system through adb push, theme, everything in the OS. I tried installing a different ROm through clockworkmod, but its not taking effect. Its saying install success but as soon as it restarts, its going back to the old ROM. (takes time to load, so i guess it reinstall back/restored the old version)

Details of device : I am from India and the phone was manufactured in India in around April/May 2011. Its a red lens Defy and and came with Eclair. I updated it officially to the first Froyo release for SEA region. After that i rooted the phone with superone click, and installed WIUI rom. I have been updating the ROM with newer versions around each month. The last one was 1.11.18 though as i waiting for a good ICS version to flash.
The problem occurred after i started installing some gold apps from getJar. It restated in between and install... and that point is kind of acting like a restore point even now.

Things I did: Tried installing different rom by CWM method. Reinstalling second init and CM, both old and new version. Tried restoring nandroid backup of my official ROM. Tried fixed and full sbf flash through rsdlite 4.9.5.2 and now 5.6. First 3 things reset as soon as i restart. For RSDLite, it gives checksum error for each and every ROM i tried. I tried all SEA releases, JORDN_U3_97.21.51, Defy Plus Rom 2.3.6, 2.21 first eclair rom, everything gives the same error. From the RSDLite logs, i could see that there is something wrong as.. say the last successful CG was 33, and the error came for 34, the log says its expecting the checksum on the sbf to be equal to that of CG 33. Its taking the last successful checksum validation and expecting that for all the CGs henceforth. its not showing what the device actually has.
I atlast could somehow, but trial and error, removed all the CGs which were throwing error, and recompiled the sbf to make it pass the RSDLite flash. The CGs present in the ROM (JRDNEM_U3_3.4.3-36-1.7) were 32, 34, 42, 53, 61, 64, 65. And as soon as it booted, it restored back to the checkpoint. Even after i formatted by card and put it in, the app shortcuts remained on the home screen, but as the apps on the card were gone, they are just junk and doesnt open anything.

Thanks in advance. Please let me know what you need from me to help me resolve this issue.
 
Soumik84
Old
#2  
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jul 2011
Any help... Anyone?
 
Soumik84
Old
#3  
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jul 2011
Can someone please suggest something?
This is what i got from some people. I am not sure how far this is possible, but somehow the theme i installed just before this all happened, from MIUI market.. somehow managed to change something inside phone's kernel, past the locked bootloader? I am totally a noob in this and just a wild imagination?

Or may be some sort of cache wipe is happening everytime the phone boots up, So even when i install the ROM, when it boots up, it gets back the old ROM.. like what would probably happen if i do a factory reset soon after i instal a rom before the restart..?

I would really appreciate it if anyone could help me out with this...
The Following User Says Thank You to Soumik84 For This Useful Post: [ Click to Expand ]
 
kapil_dheer
Old
#4  
Senior Member
Thanks Meter 32
Posts: 130
Join Date: Sep 2011
Checksum errors were for me also.
I tried my office computer for flashing and instantly flash was done. The checksum error occurred 7 times on my good computer before that.
Reflashing froyo must take care of all errors happening
The Following User Says Thank You to kapil_dheer For This Useful Post: [ Click to Expand ]
 
Soumik84
Old
#5  
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jul 2011
Thanks Kapil fr the response. Are you from india? Which sbf did u flash? And waht all did u install in the office pc? I have a pc of my friend where i can try to reflash if you tell me the exact steps that u took in the fresh pc.

Also, can anybody tell me how to use adb commands in CWM mode? Its recognizing my phone in normal mode but as soon as it boots in Moto recovery of CWM, its not recognizing anymore. Want to use adb format commands from recovery.
 
Soumik84
Old
#6  
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jul 2011
Hi I was able to use adb in CWM, but format commands were not working. How can i format the system partition? please help me with this.
 
Soumik84
Old
#7  
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jul 2011
Is there anyone here who know how to restore a nandroid backup manually using adb commands for MB525???!!!!!
 
darshanonline
Old
#8  
darshanonline's Avatar
Senior Member
Thanks Meter 31
Posts: 152
Join Date: Oct 2011
Sounds weird and impossible. Try this. Wipe everything though cwm and flash new rom. Try ms2ginger.
Motorola Defy || Bayer module || 1100 MHz
ROM - ICS 4.0.4 / JB 4.1.1
 
Soumik84
Old
#9  
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jul 2011
Thanks darshanonline for the suggestion. I tried to wipe everything.. factory reset+cache+dalvik cache wipe. And then tried to install cyanogenmod 7.1 as well as 3 different wiui builds. Everytime it shows that the install was successful, ut as soon as i restart, it would go back to the old ROM.
Is there any checkpoint system in android, seeing the init.rc, i can see comments on something about saving a checkpoint. Is there any particular condition under which this checkpoint may be getting used on very restart?
Also.. is there any way for RSDLite to skip the chksum validations and get the install anyways?.. Some sort of a hack into it?
 
Soumik84
Old
#10  
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jul 2011
Ok.. Found something else thats happening. I dont need to shutdown for the system to revert back. Say i install a few things new after a reboot.. After some time.. 1 day at max, i am not able to open them, and neither am i able to open manage applications or market. Everything force closes. I have Ti Backup installed, and i opened it, and i didnt find the new apps to back up. I connected the device and checked through adb, and they were not present in the app folder. They just vanished... So basically after a certain point of tiime, the new stuff just gets deleted on its own.
Guys i know i may sound dumb and stupid with my questions, but i really couldnt find any solution on the net for this. Please tell me waht i should do, and i'll do it. But tell me something. Dont ignore please!