Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

root 2.3.4,downgrade,and s-off

OP scotty1223

29th April 2012, 09:09 AM   |  #221  
Shano56's Avatar
Senior Member
Flag Seattle
Thanks Meter: 548
 
1,384 posts
Join Date:Joined: Oct 2011
More
Tried going on with the rest of the guide to get s-off and I receive error Main version is older when trying to downgrade. help anyone? Im wondering if my ICS rom has anything to do with it

./flash_image misc /sdcard/mtd0.img returns segmentation error
Last edited by Shano56; 29th April 2012 at 09:16 AM.
29th April 2012, 11:10 AM   |  #222  
Recognized Developer
Thanks Meter: 4,327
 
8,060 posts
Join Date:Joined: Jan 2011
More
Try going back to gingerbread. That should allow you to run it.

Sent from my Galaxy Nexus using Tapatalk 2
29th April 2012, 11:50 AM   |  #223  
scotty1223's Avatar
OP Senior Member
Thanks Meter: 2,420
 
2,342 posts
Join Date:Joined: Jan 2011
your ics rom does not change your main version,and shouldnt really be a factor.

the error youre getting means you didnt do something correctly with the adb commands,and the misc image didnt get rewritten with a lower main version number,to allow the "upgrade"(downgrade to froyo)

you need to start again with the adb steps,and provide a copy/paste of everything in the cmd window if it fails again.
29th April 2012, 06:21 PM   |  #224  
Shano56's Avatar
Senior Member
Flag Seattle
Thanks Meter: 548
 
1,384 posts
Join Date:Joined: Oct 2011
More
my steps: format sd card to FAT32. place place PB31IMG.zip sd:/PB31IMG.zip
eject sd card
turn off phone
insert sd card
boot phone normally
file browser on phone confirms its not .zip.zip or anything
plug in phone open cmd

Code:
C:\miniadb_inc>adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT********    device


C:\miniadb_inc>md5sums mtd0.img

MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help

[Path] / filename                              MD5 sum
-------------------------------------------------------------------------------
[C:\miniadb_inc\]
mtd0.img                                       34307be744275f1db1dd16af04c37839

C:\miniadb_inc>md5sums flash_image

MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help

[Path] / filename                              MD5 sum
-------------------------------------------------------------------------------
[C:\miniadb_inc\]
flash_image                                    0098a7dd6600b55fac34fc6645be5d7a

C:\miniadb_inc>adb push flash_image /data/local/
failed to copy 'flash_image' to '/data/local//flash_image': Permission denied

C:\miniadb_inc>adb root
restarting adbd as root

C:\miniadb_inc>adb push flash_image /data/local/
1237 KB/s (76044 bytes in 0.060s)

C:\miniadb_inc>adb push mtd0.img /sdcard/
1225 KB/s (655360 bytes in 0.522s)

C:\miniadb_inc>adb shell
root@android:/ # cd /data/local
cd /data/local
root@android:/data/local # chmod 0755 /data/local/flash_image
chmod 0755 /data/local/flash_image
root@android:/data/local # cd /data/local
cd /data/local
root@android:/data/local # ./flash_image misc /sdcard/mtd0.img
./flash_image misc /sdcard/mtd0.img
Segmentation fault
139|root@android:/data/local # exit
exit

C:\miniadb_inc>adb reboot bootloader

C:\miniadb_inc>
press power once once exits to bootloader

after some loading i get

Code:
Main Version is older!
Update Fail!
Do you want to reboot device?
29th April 2012, 07:39 PM   |  #225  
Recognized Developer
Thanks Meter: 4,327
 
8,060 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by scotty1223

your ics rom does not change your main version,and shouldnt really be a factor.

the error youre getting means you didnt do something correctly with the adb commands,and the misc image didnt get rewritten with a lower main version number,to allow the "upgrade"(downgrade to froyo)

you need to start again with the adb steps,and provide a copy/paste of everything in the cmd window if it fails again.

Actually that flash_image command does depend on the os version. The flash_image binary that works on gingerbread will not work on ics. The flash_image packed with a more recent rom manager might.

Sent from my Galaxy Nexus using Tapatalk 2
The Following User Says Thank You to tiny4579 For This Useful Post: [ View ]
29th April 2012, 08:02 PM   |  #226  
Shano56's Avatar
Senior Member
Flag Seattle
Thanks Meter: 548
 
1,384 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by tiny4579

Actually that flash_image command does depend on the os version. The flash_image binary that works on gingerbread will not work on ics. The flash_image packed with a more recent rom manager might.

Sent from my Galaxy Nexus using Tapatalk 2

so what do you suggest? should I install a gingerbread rom? or is there a flash_image that will work with ICS?
29th April 2012, 09:24 PM   |  #227  
Recognized Developer
Thanks Meter: 4,327
 
8,060 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by Shano56

so what do you suggest? should I install a gingerbread rom? or is there a flash_image that will work with ICS?

Either works. If you don't want to flash a new ROM try:

cd /data/data/com.koushikdutta.rommanager/files instead of the cd /data/local line. And then continue the instructions with the ./flash_image.

Otherwise flashing a gb rom should work.

Sent from my Galaxy Nexus using Tapatalk 2
29th April 2012, 10:44 PM   |  #228  
Shano56's Avatar
Senior Member
Flag Seattle
Thanks Meter: 548
 
1,384 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by tiny4579

Either works. If you don't want to flash a new ROM try:

cd /data/data/com.koushikdutta.rommanager/files instead of the cd /data/local line. And then continue the instructions with the ./flash_image.

Otherwise flashing a gb rom should work.

Sent from my Galaxy Nexus using Tapatalk 2

so do i do

Code:
cd /data/data/com.koushikdutta.rommanager/
chmod 0755 /data/local/flash_image

cd /data/data/com.koushikdutta.rommanager/
./flash_image misc /sdcard/mtd0.img
or

Code:
cd /data/data/com.koushikdutta.rommanager/
chmod 0755 /data/local/flash_image

cd /data/local
./flash_image misc /sdcard/mtd0.img
or what?
29th April 2012, 10:55 PM   |  #229  
Recognized Developer
Thanks Meter: 4,327
 
8,060 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by Shano56

so do i do

Code:
cd /data/data/com.koushikdutta.rommanager/
chmod 0755 /data/local/flash_image

cd /data/data/com.koushikdutta.rommanager/
./flash_image misc /sdcard/mtd0.img
or

Code:
cd /data/data/com.koushikdutta.rommanager/
chmod 0755 /data/local/flash_image

cd /data/local
./flash_image misc /sdcard/mtd0.img
or what?

Just:

cd /data/data/com.koushikdutta.rommanager/files
./flash_image misc /sdcard/mtd0.img

Sent from my Galaxy Nexus using Tapatalk 2
29th April 2012, 10:58 PM   |  #230  
Shano56's Avatar
Senior Member
Flag Seattle
Thanks Meter: 548
 
1,384 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by tiny4579

Just:

cd /data/data/com.koushikdutta.rommanager/files
./flash_image misc /sdcard/mtd0.img

Sent from my Galaxy Nexus using Tapatalk 2

i get

Code:
C:\miniadb_inc>adb shell
root@android:/ # cd /data/local
cd /data/local
root@android:/data/local # chmod 0755 /data/local/flash_image
chmod 0755 /data/local/flash_image
root@android:/data/local # cd /data/data/com.koushikdutta.rommanager/
cd /data/data/com.koushikdutta.rommanager/
root@android:/data/data/com.koushikdutta.rommanager # ./flash_image misc /sdcard
/mtd0.img
e misc /sdcard/mtd0.img                                                       <
/system/bin/sh: ./flash_image: not found
127|root@android:/data/data/com.koushikdutta.rommanager #

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes