• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root adb shell

InfernalByte

Android Expert
This was intended to be run via a shell;


You can use this method via adb:

1. Put the hboot.img you want to flash in the root of the sdcard.
2. In cmd run the following commands (after each command press enter):
adb devices
adb shell
su
dd if=/dev/block/mmcblk0p18 of=/sdcard/backup.img
dd if=/sdcard/hboot.img of=/dev/block/mmcblk0p18
reboot bootloader


So from Terminal Emulator I simply start from the SU? Correct?
 
Well you would do, but I'm not sure what flashign a hboot whilst android system is running would do.....
 
thats an adb command, you would need to do that via recovery in adb (if you have a custom recovery
you cant do that command from fastboot

cant you use alpharevX?
AlphaRev X - Make it your phone
their hboot surely would be superior to engineering

Well that's exactly my point, (in my head). AlphaRevX use the strapline "make it your phone" busting HTC's protection and then heavily fortify their own Bootloader so that you can't even flash an RUU! It just seems a little hipocriful!

HTC's eng has no protection.




did you make that script?

I 'm sorry but I haven't answered this, as I assumed your talking to Susan!
 
no i was talking to you

well the downgrade protection is there to stop accidently overwriting it with an RUU and why would you want to overwrite an hboot that gives you more functionality?
i suppose for desireS there is no downgrade hboot.img though right? so it would make you stuck with theirs?
 
no i was talking to you

well the downgrade protection is there to stop accidently overwriting it with an RUU and why would you want to overwrite an hboot that gives you more functionality?
i suppose for desireS there is no downgrade hboot.img though right? so it would make you stuck with theirs?

The Script was written by Murchelago.

There is no AlphaRev downgrader tool for the Desire S, and the only way to push the eng hboot is by adb. Mine appears to be broken! The only thing I can think of is that I have Desire drivers rather than Desire S drivers, (I think their the same ones though).

My phone is fine and I don't need to do it, but if something does go wrong I want to be ready.
 
thats adb so you will need to either be in recovery or into the rom
you do not have a custom recovery so you must have to do it by the rom

are you sure the desire S alpharev hboot is protected? there is no info on them
 
hmm i thought you had to be s-off to run recovery and be rooted?

i dont know enough about desireS
eitherway if you have recovery then connect device and do the commands
you might need to mount the various partitions
 
AlphaRevX gives you S-off, and an app called Gingerbreak gives you root only if you have S-off first. AlphaRev will push a Hboot 6.98 1002 which is resistant to most things, including at the moment my faulty adb.
 
you are confusing me massively

so basically you have alpharev s-off atm and are wanting to flash the eng s-off but you cannot do it via fastboot because it has flash protection on and no downgrader?

adb is not affected by hboot. adb should still work in recovery and inside android. if it doesnt then something else is up.
 
lol, yes.

The Android Debug Bridge Software on my i5 Satelite laptop is broken. Re-installing as I type.

Edit: adb working now. :D
 
Back
Top Bottom