If you flash 2.1 RUU and then install z4root, you can get temp root. Isn't it then possible to flash CWM, with Rom Manager, while you are rooted, so you can flash a custom rom and then achieve full root?
I know it is most likely not possible, but probably worth a try
Nope sorry. The lock which prevent us from flashing CR or CF is something different, deep inside the hboot. It does not care if you are root or even it does not care if you remount all partitions as read/write. hboot simply won't let you write ANYTHING on system partion, boot partition, recovery partition, etc... The "ro.secure=1" is at a higher level of security than even the root.
If you want to write something on these partitions , android first checks for root, then for ro.secure=0, i think.
Thanks for the answer I didn't expect it to work anyway, but it could be very nice to find a solution..
Related
I'm new to this rooting/flashing thing, so please go easy with me
I have a GSM Desire which I've rooted and installed ClockworkMod Recovery.
It is still S-ON.
Aim is to add a ROM with apps2sd to enable an ext partition on SD card.
So now at point where I want to flash a new ROM. Done a fair bit of searching but
still unsure whether this requires S-OFF.
Is S-OFF required to flash a ROM from recovery?
If so, any pointer to best way to do this please? Alpharev?
Or is S-OFF only required if altering the system partition when phone is running normally?
Any tips appreciated.
PeteW said:
I'm new to this rooting/flashing thing, so please go easy with me
I have a GSM Desire which I've rooted and installed ClockworkMod Recovery.
It is still S-ON.
Aim is to add a ROM with apps2sd to enable an ext partition on SD card.
So now at point where I want to flash a new ROM. Done a fair bit of searching but
still unsure whether this requires S-OFF.
Is S-OFF required to flash a ROM from recovery?
If so, any pointer to best way to do this please? Alpharev?
Or is S-OFF only required if altering the system partition when phone is running normally?
Any tips appreciated.
Click to expand...
Click to collapse
you need to s-off and alpharev is the way to go
You don't need S-off to flash a rom.
AlphaRev is the only way to S-off a GSM desire.
S-off allows write access to the system partition while booted, alternative hboob layouts, changing splash screen and some fastboot commands.
But for the things you mentioned you don't need it.
TheGhost1233 said:
hboob layouts
Click to expand...
Click to collapse
Sorry he means Hboot, FYI that typo made me LOL hard!
Just playing around...
I tried to run rageagainstthecage exploit but my adb will not reconnect. I even specified port and device name. My EVO goes unresponsive and won't completely lock screen with the lock button on top. OTA update? Or is this my Windows 7?
rageagainstthecage just not written for 2.3.3?
Anyone working on the Gingerbreak? Maybe I should be posting this in dev...
No, you can't root the OTA update yet. You'll have to wait until someone finds a new root method.
And no, you shouldn't post this in the development section.
(from... Evo/MIUI/Tapatalk)
So you're saying that this is bogus?
http://c-skills.blogspot.com/2011/04/yummy-yummy-gingerbreak.html
I'm saying it doesn't work for the Evo... at least not yet. You can always try it, but my guess is that if you can get it do anything, it'll be temp root.
I'm sure that someone will come out with a method soon enough.
(from... Evo/MIUI/Tapatalk)
temp root should be enough to gain full root, probably with a method like the zikronix method. just temp root, flash mtd-eng from toastcfh, flash rooted build, flash ur-soff, flash sprint lovers w/ amon-ra, and all should be good. might have to unroot and test. we'll see...
dkdude36 said:
temp root should be enough to gain full root, probably with a method like the zikronix method. just temp root, flash mtd-eng from toastcfh, flash rooted build, flash ur-soff, flash sprint lovers w/ amon-ra, and all should be good. might have to unroot and test. we'll see...
Click to expand...
Click to collapse
I only need long enough to flash my hboot, correct?
lil_bono said:
I only need long enough to flash my hboot, correct?
Click to expand...
Click to collapse
with temp root? only long enough to flash the mtd-eng.
gotcha
eng recovery
lil_bono said:
gotcha
eng recovery
Click to expand...
Click to collapse
no the mtd-eng. the part that controls the rules for the other partitions. you can't flash a recovery with temp root, but you can flash the mtd-eng with toast's modded version.
Sorry Im a little confused then. This overwrites the misc partition with engineering controls of some sort?
i think we're confusing eachother a bit lol. so rageagainstthecage lets you get temp root, in which you can flash toast's mtd-eng to the misc partition, allowing you to install a rooted pc36img.zip, allowing you to flash unrevoked forever by booting a recovery from your comp (also toast) which allows you to install a permanent recovery. confusing imo
okay so i updated to the new rom by ruu method and i was already rooted when i did it. So here is the deal now, im trying to use root required apps and its telling me im not rooted the su binary is not installed or it is in the wrong directory so i click okay and i launch my phone into bootloader mode and it shows revolutionary s-off hb6.16.00 and i am not able to get into recovery mode. So am i really not rooted? Did the update only make ir look like my s is off?
what i want to do? I want to be on s-off and rooted for reals instead of fakey.
First download and flash amon RA FNMA thru bootloader. In that recovery you can flash superuser and binaries. There is an option for it. U are already s-off so you r almost there.
Support TrevE !!
Hey,
Did you install a recovery when you turned s-off? I had it happen once when switching roms that something must have went wrong between the rom and super user and I had to run recovery to get it back to a previous version of super user in order for it to work and be able to manage root, even though I already had s-off.
and if you didnt flash the recovery then:
defiantly listen to the post before me, go flash the amon recovery!
Good luck let us know how you do!
Your right steve i didnt flash a recovery but because i thought i could do it in my recovery after the ruu install but it turns out that the ruu must have taken it off because i have never really use ruu just zips so is there a clockworkmod file that i can change use in the bootloader flash update method?
Where can i find that other recovery program 2nd poster?
grabbed that recovery here
http://forum.xda-developers.com/showthread.php?t=705026
then usb toggle through recovery to get the su flashed and good to go.
thank you
actually no bueno!! su app still wont update says root access failed when i try to update it and also busy box not installed and also i dl an app to check root access and it says root is not on device so what i have is a supersonic device with s-off and custom recovery working and also was able to flas su through recovery yet i still get messages from apps saying device is not rooted??? I guess i spoke to soon.
Im just going to try and flash a custom rom from recovery and hopefully the system files will load correctly i will do a nand back up for this one first of course.. ill be back.
i used energys newest release and holy kentucky durby batman it works my system files are back to root access.Maybe has to do with something then from the stock ruu bacause i went to the bootloader after putting energy back on and it says hb6.16.1002 which is what i got with the stock ruu i used, and s-off still and root access available. awsome.
popasmurfn23 said:
okay so i updated to the new rom by ruu method and i was already rooted when i did it. So here is the deal now, im trying to use root required apps and its telling me im not rooted the su binary is not installed or it is in the wrong directory so i click okay and i launch my phone into bootloader mode and it shows revolutionary s-off hb6.16.00 and i am not able to get into recovery mode. So am i really not rooted? Did the update only make ir look like my s is off?
what i want to do? I want to be on s-off and rooted for reals instead of fakey.
Click to expand...
Click to collapse
Keep in mind that having S-OFF and having root access are two different things even though they are usually together: S-OFF allows you to flash whatever you want on to the phone while having root access means that you have access to basically every aspect of the phone (application-wise) on that specific ROM. For example, it is possible to flash stock (which has no root access) and keep S-OFF which will allow you to flash anything else whenever.
When flashing the RUU it overwrites the custom recovery ( Ra - TWRP ) and also removes the ability for Superuser to do its job. So you broke your " root " .
I don't know if it will work in your case but try to re-run whatever method you used to gain root access in the first place. See if you can find a PC36IMG.zip that is already rooted. and then a PC36IMG.zip of a recovery.
You can flash both by booting into the bootloader. Remember to remove / delete the first ( rooted rom ) image from the SD card before you run the recovery PC36IMG.zip.
Man I hope that all made sense !
hboot 6.16/s-off revolutionary/stock recovery/no root
I had the same issue. hboot 6.16 revolutionary s-off but i was not rooted and on the stock recovery. i thought i was a goner because no pc36img i downloaded would flash in bootloader and ruu's wouldn't flash. I just recently started revolutionary and when i plugged my phone in revolutionary said 'you are already s-off, do you want to flash revolutionary clockwork recovery?' Once I hit Y (yes) it flashed the recovery and i was rooted again. this took a whole lot of guessing and checking so hopefully this helps someone
Hi all !
I have an HTC ONE M8 (obviously) and my phone is actualy S-OFF (sunshine) but my bootloader is Locked (because i flash a zip with bootloader).
I literaly forget that Unlock bootloader with HTC_DEV Wipe DATA !
So I want to know if I can Root / install recovery whitout HTC_DEV Unlock, I'm S-OFF so why I can't use my phone like I want ?
Thank for answer !
And sorry for my bad English I'm a French user of XDA
Take a look here:
http://forum.xda-developers.com/showthread.php?t=2708571
YOU ROCKS !
Google only find the M7 post
But I have not Root acces (Need "Su" in adb shell )
"fastboot boot <insert recovery here>.img" This not working with me
arnaudbond007 said:
YOU ROCKS !
Google only find the M7 post
But I have not Root acces (Need "Su" in adb shell )
"fastboot boot <insert recovery here>.img" This not working with me
Click to expand...
Click to collapse
Are you trying to flash the boot image or the recovery image?
Flash boot.img (or whatever the name of the file is):
Code:
fastboot flash boot boot.img
Flash recovery.img (or whatever the name of the file is):
Code:
fastboot flash recovery recovery.img
The thing is, you need to have an unlocked bootloader to do this. If you don't have root access, and you can't unlock your bootloader via HTC Dev, then I don't know if there's any other way to get it done. (Anyone can correct me if I'm wrong. Thanks!)
I'm trying to BOOT on TWRP without flash it, for just root the ROM
Nobody can help me ?
I just need a way to boot in a recovery.img
arnaudbond007 said:
Nobody can help me ?
I just need a way to boot in a recovery.img
Click to expand...
Click to collapse
If you don't want to flash TWRP or another recovery and keep your stock one, do this:
Download the latest recovery of your choice.
Place the *.img file into your fastboot folder or anywhere you can find it easily; rename it if possible with a simple name, for this example, recovery.img
Put your phone into fastboot mode and connected to your PC.
Open the windows command into your fastboot folder and make sure your devices is recognized by typing "fastboot devices" without quotations.
Once you make sure your phone is connected, type the following: fastboot boot recovery.img
Your device will restart into the TWRP recovery, then install the SuperSu file previously placed into your SDcard or internal memory.
Restart into system and that's all, you'll keep your stock recovery
.
CM17X said:
If you don't want to flash TWRP or another recovery and keep your stock one, do this:
Download the latest recovery of your choice.
Place the *.img file into your fastboot folder or anywhere you can find it easily; rename it if possible with a simple name, for this example, recovery.img
Put your phone into fastboot mode and connected to your PC.
Open the windows command into your fastboot folder and make sure your devices is recognized by typing "fastboot devices" without quotations.
Once you make sure your phone is connected, type the following: fastboot boot recovery.img
Your device will restart into the TWRP recovery, then install the SuperSu file previously placed into your SDcard or internal memory.
Restart into system and that's all, you'll keep your stock recovery
.
Click to expand...
Click to collapse
Thanks but this work only if HTC bootloader is Unlocked; so i Wiped my data to unlock my devices... I just don't understand the benefit of S-Off -> htc bootloader have to be unlocked at all
S-OFF means you can flash older RUU/firmware packages - helpful if the latest RUU isn't available. It also allows you to move from one variation of M8 to another, e.g. Developer Edition to unbranded EU
You can remain locked by flashing a ZIP with just the custom recovery in it via RUU mode - I do this and it works well for the odd time I want to try a custom ROM
arnaudbond007 said:
I just don't understand the benefit of S-Off -> htc bootloader have to be unlocked at all
Click to expand...
Click to collapse
In addition to the benefits mentioned above (and somewhat related), s-off allows access to partitions that are protected with s-on, including radio, hboot, and others. s-off isn't required for root, installing custom recovery or custom ROMs ; but is required for a number of other things.
I find S-OFF working for me only for adaway and now the Battery monitor widget, and also Cerberus App.
Adaway is not working because it can't overwrite the system partition, neither the workarounds worked for me; Cerberus keep crashing anytime i perform a change on the app and Battery monitor widget doesn't install the system app for the same reason: Can't write the partition.
At this point, at least with the M8, i realize there is no joy by just rooting, you need S-OFF or your phone will be the same as unrooted.
CM17X said:
I find S-OFF working for me only for adaway and now the Battery monitor widget, and also Cerberus App.
Adaway is not working because it can't overwrite the system partition, neither the workarounds worked for me; Cerberus keep crashing anytime i perform a change on the app and Battery monitor widget doesn't install the system app for the same reason: Can't write the partition.
At this point, at least with the M8, i realize there is no joy by just rooting, you need S-OFF or your phone will be the same as unrooted.
Click to expand...
Click to collapse
If you are having trouble with the system write protection mod; flashing just about any custom ROM (that supports your firmware) will do the trick.
redpoint73 said:
If you are having trouble with the system write protection mod; flashing just about any custom ROM (that supports your firmware) will do the trick.
Click to expand...
Click to collapse
Sorry dude, but i'm kinda confused now. Which Write protection Mod is out there? can you please link me to it?
And about custom ROM, i'll prefer to give to the Stock firmware a chance before start messing around with ROM's, once i get tire of it i'll change.
Question here is, would S-OFF grant me access to the system partition in order to install apps like the ones i've mentioned above? (Still interested on that Write protection Mod if exist)
CM17X said:
Sorry dude, but i'm kinda confused now. Which Write protection Mod is out there? can you please link me to it?
Question here is, would S-OFF grant me access to the system partition in order to install apps like the ones i've mentioned above? (Still interested on that Write protection Mod if exist)
Click to expand...
Click to collapse
When you mentioned "workarounds" I thought you were referring to the kernel mod to disable system write protection (and that it didn't work for you). But I guess you were referring to some Adaway workaround (that I am not aware of)?
Here is the kernel mod to disable system write protection (s-off is not required for this): http://forum.xda-developers.com/showthread.php?t=2701816
The OP stopped updating it, so no kernel mod for Lollipop in the top post. But if you read near the end of the responses, he says you can get the kernel module from a custom ROM (and a couple LP kernel modules are posted by other users).
redpoint73 said:
When you mentioned "workarounds" I thought you were referring to the kernel mod to disable system write protection (and that it didn't work for you). But I guess you were referring to some Adaway workaround (that I am not aware of)?
Here is the kernel mod to disable system write protection (s-off is not required for this): http://forum.xda-developers.com/showthread.php?t=2701816
The OP stopped updating it, so no kernel mod for Lollipop in the top post. But if you read near the end of the responses, he says you can get the kernel module from a custom ROM (and a couple LP kernel modules are posted by other users).
Click to expand...
Click to collapse
Yes, i was referring to the AdWay workaround which consist on make a symbolic link (Doesn't work at all).
I'll keep away from the Kernels mods for a while as well. I hope S-OFF can give me solutions for that.
I'm S-off, BL-unlocked, and rooted - and I did each in that order. As such, I can pretty much do whatever I please on my phone. (Even if ES File Explorer doesn't believe me and pops up warnings, presumably without trying and failing...) However, when I upgraded to Lollisense, I opted to do an RUU update, since I am always rooted and didn't want to risk it.
I didn't modify the stock software in any way afterwards, beyond rooting the install, and I can assure you that AdAway works fine on my phone. It was one of my first installs. All I can take away from that is that stock firmware disables certain write protections when it sees that the device is S-off.
arnaudbond007 said:
Thanks but this work only if HTC bootloader is Unlocked; so i Wiped my data to unlock my devices... I just don't understand the benefit of S-Off -> htc bootloader have to be unlocked at all
Click to expand...
Click to collapse
Unlocking the bootloader allows access to 4 partitions. S-Off gives access to all 47 partitions.
jshamlet said:
I'm S-off, BL-unlocked, and rooted - and I did each in that order. As such, I can pretty much do whatever I please on my phone. (Even if ES File Explorer doesn't believe me and pops up warnings, presumably without trying and failing...) However, when I upgraded to Lollisense, I opted to do an RUU update, since I am always rooted and didn't want to risk it.
I didn't modify the stock software in any way afterwards, beyond rooting the install, and I can assure you that AdAway works fine on my phone. It was one of my first installs. All I can take away from that is that stock firmware disables certain write protections when it sees that the device is S-off.
Click to expand...
Click to collapse
I believe the system write protection is already disabled by default on stock Developer's Edition (and the only stock ROM to have this feature).
I've got a HTC 10 incoming (international model/not US as far as I know), and I'm looking to root and install AdAway once I get it. This will be my first time with HTC, so I just wanted to make sure I've got everything right:
Unlock with htcdev (free, but voids warranty?) or s-off with Sunshine ($25). Does Sunshine s-off require me to unlock the phone with htcdev anyway? Which is more advisable, given I am planning on sticking with stock rom and only wanting AdAway on my device? Are there any other methods to allow flashing TWRP?
Flash TWRP
Make System Image backup with TWRP. Is this still valid when using Sunshine in step 1, or does Sunshine modify the system in some way?
Install Magisk and phh superuser.
Install AdAway
Should I return to stock recovery straight after rooting? Where would I get a compatible stock recovery?
And to install OTA's in the future:
Extract stock recovery img from OTA
Mount system as read-only in TWRP
Restore System Image backup (from original TWRP install procedure). Will this wipe apps/user data?
Fastboot flash stock recovery from step 1
Reboot and install OTA. Do I need to unroot before attempting to install OTA's?
Do I have anything wrong or is there anything I've missed? Anything I should be cautious of? Partial answers, tips, tricks, anything will be appreciated!
Holoryn said:
I've got a HTC 10 incoming (international model/not US as far as I know), and I'm looking to root and install AdAway once I get it. This will be my first time with HTC, so I just wanted to make sure I've got everything right:
Unlock with htcdev (free, but voids warranty?) or s-off with Sunshine ($25). Does Sunshine s-off require me to unlock the phone with htcdev anyway? Which is more advisable, given I am planning on sticking with stock rom and only wanting AdAway on my device? Are there any other methods to allow flashing TWRP?
Flash TWRP
Make System Image backup with TWRP. Is this still valid when using Sunshine in step 1, or does Sunshine modify the system in some way?
Install Magisk and phh superuser.
Install AdAway
Should I return to stock recovery straight after rooting? Where would I get a compatible stock recovery?
And to install OTA's in the future:
Extract stock recovery img from OTA
Mount system as read-only in TWRP
Restore System Image backup (from original TWRP install procedure). Will this wipe apps/user data?
Fastboot flash stock recovery from step 1
Reboot and install OTA. Do I need to unroot before attempting to install OTA's?
Do I have anything wrong or is there anything I've missed? Anything I should be cautious of? Partial answers, tips, tricks, anything will be appreciated!
Click to expand...
Click to collapse
You don't need sunshine for what you want, bootloader unlock is fine.
Sunshine doesn't change the system. Yea always make a backup before changing anything.
No need to reinstall stock recovery after root.
For OTA you need stock image and boot and recovery. Check out one of many "how to take ota" threads for detailed instructions. Restoring system image will not wipe data.
Once you restore system image/boot you will lose root, no need to unroot any further.