5,815,022 Members 39,711 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Cannot flash recovery or rsd anything on unlocked xt907

Tip us?
 
ATTACK
Old
#41  
ATTACK's Avatar
Recognized Themer
Thanks Meter 1,635
Posts: 1,225
Join Date: Jan 2012
@jamminjon82

Code:
adb shell
Code:
su
Code:
mount -o rw,remount /dev/block/platform/msm_sdcc.1/by-name/system
If no errors, check if the /system is mounted as R/W

Code:
mount | grep system
You should see this output (hopefully)

Code:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 rw,seclabel,relatime,data=ordered 0 0
If all goes well, you can do as @thewraith420 suggested and use dd commands to push recovery from adb. But setup the dd commands requirements first.
SCORPION MINI
AOSPIFIED 4.4.2
DEV-HOST
The Following User Says Thank You to ATTACK For This Useful Post: [ Click to Expand ]
 
thewraith420
Old
#42  
Senior Member
Thanks Meter 33
Posts: 226
Join Date: Sep 2011
@ATTACK Just thinking.... If the commands posted above are successful couldn't /data be remounted in the same way then install flashify and use it to install a recovery.

Also wondering about why remounting system is nessasary to dd the recovery.. Sorry just thinking out loud. I'm always looking for new tips n tricks to add to my arsenal
 
ATTACK
Old
(Last edited by ATTACK; 24th July 2014 at 10:10 PM.)
#43  
ATTACK's Avatar
Recognized Themer
Thanks Meter 1,635
Posts: 1,225
Join Date: Jan 2012
Quote:
Originally Posted by thewraith420 View Post
@ATTACK Just thinking.... If the commands posted above are successful couldn't /data be remounted in the same way then install flashify and use it to install a recovery.

Also wondering about why remounting system is nessasary to dd the recovery.. Sorry just thinking out loud. I'm always looking for new tips n tricks to add to my arsenal
I believe his system is stuck in read only. Which is why mfastboot, RSD lite and adb are not working.
SCORPION MINI
AOSPIFIED 4.4.2
DEV-HOST
 
thewraith420
Old
#44  
Senior Member
Thanks Meter 33
Posts: 226
Join Date: Sep 2011
Quote:
Originally Posted by ATTACK View Post
@jamminjon82


If all goes well, you can do as @thewraith420 suggested and use dd commands to push recovery from adb. But setup the dd commands requirements first.
I understood that system is in read only but not why that would stop dd from writing recovery
 
jamminjon82
Old
#45  
Senior Member - OP
Thanks Meter 249
Posts: 782
Join Date: Mar 2012
Location: Gloucester
Well guys it's over,woke up this morning and it was dead(which is strange because it was charging last time I checked) . Not even responsive to fastboot cable and button combinations

Sent from my VS980 4G using Tapatalk
 
ATTACK
Old
#46  
ATTACK's Avatar
Recognized Themer
Thanks Meter 1,635
Posts: 1,225
Join Date: Jan 2012
Quote:
Originally Posted by thewraith420 View Post
I understood that system is in read only but not why that would stop dd from writing recovery
Correct me if i'm wrong but when pushing recovery doesn't /system need to be mounted as r/w.

---------- Post added at 02:18 PM ---------- Previous post was at 02:16 PM ----------

Quote:
Originally Posted by jamminjon82 View Post
Well guys it's over,woke up this morning and it was dead(which is strange because it was charging last time I checked) . Not even responsive to fastboot cable and button combinations

Sent from my VS980 4G using Tapatalk
Annnddd...That sucks.
SCORPION MINI
AOSPIFIED 4.4.2
DEV-HOST
The Following User Says Thank You to ATTACK For This Useful Post: [ Click to Expand ]
 
thewraith420
Old
#47  
Senior Member
Thanks Meter 33
Posts: 226
Join Date: Sep 2011
Quote:
Originally Posted by jamminjon82 View Post
Well guys it's over,woke up this morning and it was dead(which is strange because it was charging last time I checked) . Not even responsive to fastboot cable and button combinations

Sent from my VS980 4G using Tapatalk
Hmm.. I wonder if this was a hardware problem the whole time... I thought it was odd it all started out of just normal use right?

---------- Post added at 10:33 PM ---------- Previous post was at 10:22 PM ----------

[QUOTE=ATTACK;54378340]Correct me if i'm wrong but when pushing recovery doesn't /system need to be mounted as r/w.[COLOR="Silver"]

Ahh.. Maybe.. I thought dd was different
 
ATTACK
Old
(Last edited by ATTACK; 24th July 2014 at 11:10 PM.)
#48  
ATTACK's Avatar
Recognized Themer
Thanks Meter 1,635
Posts: 1,225
Join Date: Jan 2012
Quote:
Originally Posted by thewraith420 View Post
Hmm.. I wonder if this was a hardware problem the whole time... I thought it was odd it all started out of just normal use right?[COLOR="Silver"]

---------- Post added at 10:33 PM ---------- Previous post was at 10:22 PM ----------

Quote:
Originally Posted by ATTACK View Post
Correct me if i'm wrong but when pushing recovery doesn't /system need to be mounted as r/w.
Ahh.. Maybe.. I thought dd was different
The first part of my post was to see if his system would mount as r/w, if it didn't, it wouldn't matter if recovery was installed because he wouldn't be able to flash any ROMs or factory reset as /system not writable. If it did mount to r/w, then he would be able too and dd'ing recovery would be a option.

EDIT:
You are correct /system does not need to be r/w to dd recovery.

For anyone passing through, here are the commands
Code:
adb shell
Code:
su
Code:
dd if=/sdcard/<recovery name>.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
SCORPION MINI
AOSPIFIED 4.4.2
DEV-HOST
 
jamminjon82
Old
#49  
Senior Member - OP
Thanks Meter 249
Posts: 782
Join Date: Mar 2012
Location: Gloucester
[QUOTE=thewraith420;54378473]Hmm.. I wonder if this was a hardware problem the whole time... I thought it was odd it all started out of just normal use right?

---------- Post added at 10:33 PM ---------- Previous post was at 10:22 PM ----------

Quote:
Originally Posted by ATTACK View Post
Correct me if i'm wrong but when pushing recovery doesn't /system need to be mounted as r/w.[COLOR="Silver"]

Ahh.. Maybe.. I thought dd was different
Yeah it was playing music at the time it started fcing

Sent from my VS980 4G using Tapatalk
 
Coolbilal
Old
#50  
Member
Thanks Meter 2
Posts: 31
Join Date: Aug 2014
Quote:
Originally Posted by ATTACK View Post
I just wanted to see if your phone was properly connected to your PC. Which it seems to be.
Ummm... I'm kinda stumped. Your phone is connected, mfastboot works, no errors and nothing writes.

You could try to erase the partitions and then re-flash them.

Code:
mfastboot erase boot
mfastboot erase system
mfastboot erase data
mfastboot erase cache
Then

Code:
mfastboot flash modem NON-HLOS.bin
mfastboot flash system system.img
mfastboot flash boot boot.img
mfastboot reboot
ok i m going to try it if it works i will be very thankful

The Following User Says Thank You to Coolbilal For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes