Related
So I tried rooting the phone and it wouldn't do it. After a restart its just getting stuck at the "MY" logo
Did i brick it?
Edit: its working now but I can't get it rooted. I got the root.rar file unzipped into the sdcard/root but it says its not permited, what am I doing wrong?
That gives us nothing to go on. There are several rooting methods out there. Which are you using?
http://forum.xda-developers.com/showthread.php?t=858021&highlight=operation
That one
When i get to c. Type "sh root.sh" + enter.
it gives me an error and it tells me to restart and check if s=off but when i reboot and hold down the volume button nothing happens. It just reboots normally
That's the best guide out there and the one that I used.
Before attempting to run the script, did you successfully gain temp root using Visionary and set system to R/W?
Try the method here: http://forum.xda-developers.com/showthread.php?t=858996
It is newer and better in my opinion. Try it from the beginning step-by-step and see if it works.
TeeJay3800 said:
That's the best guide out there and the one that I used.
Before attempting to run the script, did you successfully gain temp root using Visionary and set system to R/W?
Click to expand...
Click to collapse
It asked me for super user permission so i'm pretty sure I got temp root.
I finally got something it rebooted and I checked but it still says s-on.
I'll try the script again and post what I get but this is very weird, I had no problems with my G2.
Edit:
my terminal output is
Inserting kernel module
ismod: init_module '/sdcard/root/wpx.ok' failed (Function not implemeneted)
Duplicatiing hboot
2048+0 records in
2048+0 records out
1048576 bites transferred in 0.721 secs (1454335 bytes/sec)
Synchronizing
Powerdown and reboot into hboot to check if s+off
when I reboot i get
GLACIER PVT SHIP S-ON
HBOOT-0.86.0000
MICROP-0429
RADIO-26.03.02.26_M
eMMC-boot
OK Last edit:
It seems my Hboot being 0.86.0000 had something to do with it, I tried the other method with adb and it worked I finally got S-off. This was harder to do than on my G2 that's for sure.
Thanks to those who tried helping and thanks to kmdub for suggesting the alternate method.
For some reason, you are not writing the proper hboot image. Try to re-download or find another source, because the one you are writing, according to your output, is not the right one.
OR...you could try the method I posted above, which does not require a new hboot and actually turns the radio S=OFF. Seriously though, why not use a different (read newer and better) method if the one you are using is not working?
Evofusion said:
It seems my Hboot being 0.86.0000 had something to do with it, I tried the other method with adb and it worked I finally got S-off. This was harder to do than on my G2 that's for sure.
Thanks to those who tried helping and thanks to kmdub for suggesting the alternate method.
Click to expand...
Click to collapse
While there are other rooting methods out there, there is nothing wrong with the guide you are following. Like I said, it worked great for me. The only thing I can think of is the version of Visionary you are using. r11 is supposed to work better than r14 on the MT4G. The script you run in the beginning flashes the engineering bootloader (0.85.2007), so that's way to tell if the script was successfully run. Just make sure you actually get root access after typing 'su' (so make sure Visionary gets temp root and system is set to R/W first).
Glad you finally got it working.
It seems my Hboot being 0.86.0000 had something to do with it, I tried the other method with adb and it worked I finally got S-off.
Click to expand...
Click to collapse
That's because the method you were trying first requires the ENG hboot as an essential part of the rooting process. It would have worked, but for some reason it seemed like the one you were writing was the same as what you already had. I don't know if you used the other method I posted or another "other" method, but the one I linked to actually turns the radio's security off (S=OFF) among other things, if you so choose. The older method replaces the stock bootloader with one that does not enforce/ignores the radio's set security. Whereas the newer method actually turns that security flag off, so you can use either bootloader. Both can use Visionary and effectively allow you to "root" the device, but the newer method is more permanent, so to speak.
kmdub said:
I don't know if you used the other method I posted or another "other" method, but the one I linked to actually turns the radio's security off (S=OFF) among other things, if you so choose. The older method replaces the stock bootloader with one that does not enforce/ignores the radio's set security. Whereas the newer method actually turns that security flag off, so you can use either bootloader. Both can use Visionary and effectively allow you to "root" the device, but the newer method is more permanent, so to speak.
Click to expand...
Click to collapse
So even though I have the engineering bootloader and my S status is "OFF", the radio security is still on? Does that only matter if for some reason I switch back to the stock bootloader, and as long as I keep the eng SPL the difference in methods is inconsequential?
Evofusion said:
http://forum.xda-developers.com/showthread.php?t=858021&highlight=operation
That one
When i get to c. Type "sh root.sh" + enter.
it gives me an error and it tells me to restart and check if s=off but when i reboot and hold down the volume button nothing happens. It just reboots normally
Click to expand...
Click to collapse
Just a quick FYI on this, did you uncheck Fast Boot in the settings?
So even though I have the engineering bootloader and my S status is "OFF", the radio security is still on? Does that only matter if for some reason I switch back to the stock bootloader, and as long as I keep the eng SPL the difference in methods is inconsequential?
Click to expand...
Click to collapse
That is the impression I got from reading grankin01's method at the link I posted earlier; that yes, the security flag controlling the security is still set to on. Flashing the ENG bootloader is what actually gives you a label that says S=OFF on the older methods, since that bootloader either ignores the security flag or overrides it somehow. I am not certain about exactly how this takes place. What we do know however, is that security is not enforced regardless since it does allow you to effectively root the device, and you obviously have it working with the older method. The benefit of the newer method is outlined in his post. It allows you to retain the original bootloader and truly be S=OFF. I guess one could say that the older method provides an easier return to complete stock (warranty, return, etc.), since all one would have to do is use the PD15IMG to return to a completely stock state, bootloader and all. However, with the newer method, one would have to reverse the steps done with gfree in order to return to S=ON. So I would think that as long as you have the ENG bootloader you are ok, and it may make no difference. I do not know that from experience however, since I have only ever used the newer method with stellar results.
kmdub said:
The benefit of the newer method is outlined in his post. It allows you to retain the original bootloader and truly be S=OFF. I guess one could say that the older method provides an easier return to complete stock (warranty, return, etc.), since all one would have to do is use the PD15IMG to return to a completely stock state, bootloader and all. However, with the newer method, one would have to reverse the steps done with gfree in order to return to S=ON. So I would think that as long as you have the ENG bootloader you are ok, and it may make no difference. I do not know that from experience however, since I have only ever used the newer method with stellar results.
Click to expand...
Click to collapse
Thanks for the info. My understanding of one method versus the other was pretty much what you explained, but it's good to have it clarified.
I used fastboot way back in my G1 days.....first with the original EngSPL, then HardSPL, and finally when haykuro released DangerSPL. Since I would want the engineering bootloader anyway, I suppose there's no disadvantage to using the method I used. For those that want the stock bootloader, I can see why the newer method is advantageous to them.
As it seems even if HTCdev unlock tool is going to work to unlock devices, even then S-On is going to block us from flashing kernels, and use ICS roms.
Blue6ix is quite much on this stuff, thought we could start a thread brainstorming about this, how to do it, how was it done on other devices.
Generally, as blue6ix and I see, (and i did this based on howtos for g2, downgrading the g2 to get to a version where S-off was possible - a howto: http://forum.xda-developers.com/showthread.php?t=905261 )this is how it can be done:
- Temp root or permroot (htcdev tool will work)
- Go root in terminal or adb shell
- Then somehow set the Version number in Misc partition (/dev/block/mmcblk0p31 this time) to a lower number
- Flash and older RUU (full system update exe from HTC)
- use revolutionary to perm root and s-off on the old hboot etc.
Question one: is this (mmcblk0p31) really the misc partition? I read it in our guides that it is.
Now till we will be sure how to do this, thought to start a thread. Here, i'll attach my misc partition image and quote the starting bytes of it. Otherwiset the whole misc partition is full of Zeroes, maybe somewhere there's a CRC in it as well.
My start of the image (you know i used dd to grab it):
Code:
T-MOB010 DeviceWarmBoot ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
CE Serial InUse Debug Cable Ena CE USB InUse
ClearAutoImage 1.28.531.9
I'd like to know, what this version exactly is. 1.28.531.9 . Maybe we should check new devices version. And compare the misc partitions of newer S-on devices. Also try to get knowledge if theres a CRC or not in this partition. and also, if this time it will or will not be enough to write this partition.
Pls, don't use this image in the zip, you might brick yourself.
===
UPDATE: check this, theory, but might work if someone SOn-Unlocked is brave enough to risk bricking.
http://forum.xda-developers.com/showpost.php?p=22649895&postcount=12
===
UPDATE2:
Indirect has been able to modify the misc partitions that contain version number!
http://forum.xda-developers.com/showpost.php?p=24012875&postcount=99
http://forum.xda-developers.com/showpost.php?p=24015957&postcount=100
Thanks for making the thread man.
I am out and about on my mobile, and won't be back at my dev station until midnight or tomorrow, so let me throw this out for now:
If you want to dump your partitions, what you have to do is pop open terminal or an adb shell and type:
Code:
su
...grant superuser permissions, then:
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0.img
...and give it some time to run.
This will dump all your partitions to a single image file, where individual ones can be extracted later.
The file will be on your sdcard, and be named mmcblk0.img
If you want to dump a specific partition, after superuser permissions type instead:
Code:
dd if=/dev/block/mmcblk0p31 of=/sdcard/mmcblk0p31.img
... and this will give you the partition 31 as an image on your sdcard named mmcblk0p31.img
You can find the list of partitions here:
doubleshot Partitions and Mounts
Which is post 3 of my dev reference stickied here in development.
----
I already have my S-OFF partitions from the retail launch, and the latest OTA update.
We need the partitions from an S-ON UNLOCKED device, and also from an S-ON LOCKED device.
The single image dump of everything will be big, and have things we don't need like system and data (blocks 22 and 23 respectively). It may be difficult for people to upload but the individual partitions are not so bad.
----
Getting them from an S-ON LOCKED device will be a bit more difficult but with tacoroot you might be able to get some or all of them if you don't reboot first.
----
If anyone can contribute the files we need it would help the cause tremendously and shave a lot of time off making this happen - though i've got enough for us to muck through it so far.
----
This is the sole focus of my attention until we win and get all the S-ON devices to S-OFF status - the full range of limitations for the supposedly UNLOCKED devices has been brought to my attention now and that's just not gonna cut it.
I don't know if it's something to do with the messed up unlock or what, but the UNLOCK people can't do some things right, including flashing my ROM and that's just not acceptable. If I can't bring it up to workable for S-ON devices, then those devices will just have to be made S-OFF instead.
When I get home tonight/tomorrow i'll be working on this around the clock until it breaks or I need sleep - but my whole life is for nothing but this S-ON to S-OFF victory until it's accomplished once I get back to my dev station.
Thanks in advance for any thoughts or files we don't have that can be provided, I wish I could explain more but am just about out of time for now.
Also - we will need more then just the misc partition but I don't have the two more minutes needed to list them now.
heres a source code version of misc_version tool:
http://cmw.22aaf3.com/common/misc_version_02.zip
from here http://wiki.cyanogenmod.com/wiki/HTC_Desire_HD:_Firmware_Downgrade_(Gingerbread)
going to take a peak on this c code. Might as well help us a lot.
tbalden said:
heres a source code version of misc_version tool:
http://cmw.22aaf3.com/common/misc_version_02.zip
from here http://wiki.cyanogenmod.com/wiki/HTC_Desire_HD:_Firmware_Downgrade_(Gingerbread)
going to take a peak on this c code. Might as well help us a lot.
Click to expand...
Click to collapse
relevant code:
Code:
while(!feof(fdin)) {
ch = fgetc(fdin);
if(ferror(fdin)) {
printf("Error reading backup file.\n");
exit(1);
}
// CID
if ((j>=0x0 && j<=0x7)&& (cid!=0)) {
ch = s_cid[j];
}
// VERSION
if ((j>=0xa0 && j<=0xa9)&& (set_version!=0)) {
ch = s_set_version[j-0xa0];
}
if(!feof(fdin)) fputc(ch, fdout);
if(ferror(fdout)) {
printf("Error writing output file.\n");
exit(1);
}
j++;
}
if(fclose(fdin)==EOF) {
printf("Error closing backup file.\n");
exit(1);
}
if(fclose(fdout)==EOF) {
printf("Error closing output file.\n");
exit(1);
}
Seems it simply replaces the Version number in the partitions appropriate position in the Partition. I cannot see CRC recoding, which means it was quite safe to do on the HTC desire Z/dhd/g2. Lets hope its the same with our devices Misc partition...
I will try to get the right position in the Partition image, mod the C code, and create the tool. I think then we will need brave S-on folks and the S-offable RUU exe for them...lol or if noone wants to risk bricking, maybe community could try raise money donating to blue6ix to let him buy a new phone for trying S-on -> S-off stuff. (i cannot do this, im in europe, but i will donate money to blue6ix for an S-on phone, if this method will prove viable theoretically)
basically process will be:
Unlock S-on, install Root on your official rom then command line adb:
adb shell
~ su
# misc_version -s 1.00.000.0 (maybe this version is okay, but we should look up a proper one)
Then copy the older S-offable RUU's PDxxxIMG zip to sdcard, reboot to bootloader, it should flash the older RUU and then you can use Revolutionary S-off.
Process will be rather similar to the one detailed here http://wiki.cyanogenmod.com/wiki/HTC_Desire_HD:_Firmware_Downgrade_(Gingerbread)
and on the g2 thread ive linked in OP
hey guys, i posted in the Bulletproof thread before seeing this thread, but just wanted to throw this in here:
http://htcdev.com/bootloader/faq
the htc unlocker does seem to let you write to boot, system, and recovery partitions.
What about a pd....img.zip for an soffable ruu? Does anyone have that? We will need one for this method outlined. Ill put up a misc_version tool for mt4gs soon here...experimental
sent from HTC Doubleshot pyroiced
tbalden said:
What about a pd....img.zip for an soffable ruu? Does anyone have that? We will need one for this method outlined. Ill put up a misc_version tool for mt4gs soon here...experimental
sent from HTC Doubleshot pyroiced
Click to expand...
Click to collapse
We have one, the stock restore image - I tried to modify it to be the right version for the new hboot & system to accept, but some people tried it and no dice.
I could try again, in the time between I figured another way I could try - but it'll have to wait until I get back.
( also I replied in the bulletproof thread that people can only write part of boot, it'll flash the part for insecure access but not overwrite the ramdisk, so being able to write to boot is only partially true as determined by trial and error)
Sent from my Bulletproof_Doubleshot using xda premium
Blue6IX said:
We have one, the stock restore image - I tried to modify it to be the right version for the new hboot & system to accept, but some people tried it and no dice.
I could try again, in the time between I figured another way I could try - but it'll have to wait until I get back.
( also I replied in the bulletproof thread that people can only write part of boot, it'll flash the part for insecure access but not overwrite the ramdisk, so being able to write to boot is only partially true as determined by trial and error)
Sent from my Bulletproof_Doubleshot using xda premium
Click to expand...
Click to collapse
We won't need that modified. Pls post here the zip here linked.ill post the tool misc version later today, and we can try that plus the unmodified zip. That's the point of my plan.
sent from HTC Doubleshot pyroiced
ok, got a working tool based on guhls misc_version tool that perfectly modifies the version in misc partition. soon i'll upload and we'll need someone brave with S-On unlocked, who wanna try, and we need the PD...IMG zip on this brave mans sdcard, so pls link it here. Also we need a root installable for those who have S-On unlocked.
I will be posting an image for the misc partition tonight if I'm unable to get an image of my entire phone uploaded properly. 4shared has been a huge pain in the ass and keeps disconnecting while I'm uploading.
Limewirelord said:
I will be posting an image for the misc partition tonight if I'm unable to get an image of my entire phone uploaded properly. 4shared has been a huge pain in the ass and keeps disconnecting while I'm uploading.
Click to expand...
Click to collapse
4shared if used on the !!folder!! view, upload can be continued if it disconnected. So go into My account and there use the upload
THIS IS FOR S-On Unlocked. -- WE STILL NEED THE PD...IMG.ZIP, Blue6ix will provide it here later, then ill modify this guide.
OKAY, so what I write here is all theory, but i've created a tool that really modifies the MISC partition to fake a lower version number for your device, so that older system update zip can be tried to be flashed from Bootloader on your device, downgrading to a system which can be S-Offed by the Revolutionary method.
Noone tried this yet, I only can assure that this tool worked on my MISC image, set the version number in the correct position of the MISC partition.
BUT IN ANY CASE, IF YOU ARE BRAVE ENOUGH TO TRY THIS METHOD, BE PREPARED THAT YOU MIGHT BRICK YOUR PHONE. NOONE ELSE TRIED THIS ON AN S-ON DEVICE YET.
But methods similar to this one were succesful with other HTC devices like Desire Z/DHD for downgrading...
Okay, so ...
Here's the misc_version tool modified for mt4gs. It will write directly into your /dev/block/mmcblk0p31 partition, but before it is going to create a backup of it on your sdcard.
http://www.4shared.com/zip/ZFKef2Fq/misc_version_02_mt4gs.html
First make sure that you have an SDCard with a PD...IMG.zip (soon to have the link from Blue6ix) copied onto it to its root, like this:
adb push PD...IMG.ZIP /sdcard
After that IMG.zip is in place, download this zip named misc_version_mt4gs.zip, unzip it, and push misc_version binary to you device
Code:
adb push misc_version /system/bin
adb shell
~ su
# chmod 775 /system/bin/misc_version
Then to use it actually:
Code:
adb shell
~ su
# misc_version -s 1.00.000.0
--set_version set. VERSION will be changed to: 1.00.000.0
Patching and backing up partition 31...
#
This is what you should see if everything went right.
After that you'll need the PD....IMG.zip Blue6ix might soon link here. (Read the first part where we pushed that Zip to sdcard)
So if thats in place you will need to power off, and do the boot into bootloader with Power + VolDown. Then Bootloader will see that the Zip is on the sdcard root directory, and hopefully it will patch successfully your device back to the S-Offable version. (After that take the sdcard off, possibly delete the update zip before you reinsert it to your phone.)
If the update was succesfull, start your phone, see if boots (lets hope so )) if everything is right (check About Software after booting/setting up) proceed to Revolutionary method and S-Off your device.
AGAIN I can't assure you that after running misc_version, it will boot after that modification on an S-On Unlocked device, but we all hope for that.
AGAIN, we need the pd...img.zip yet, and you must be S-On unlocked/with su installed.
ALSO IT WILL CREATE A BACKUP OF YOUR partition 31 on your sdcard, which you can 'dd' back if something went wrong. (If something went wrong but your phone is still bootable to recovery, like Clockworkmod, you can use adb shell to get to a shell and there you can 'dd' the backup to the partition, but lets hope it wont be needed)
AGAIN YOU CAN BRICK YOUR PHONE. THIS IS ALL THEORY, THAT WORKED ON HTC G2 (Desire Z) and Desire HD. Read the thread, ive linked those howtos for those other devices. (like this: http://wiki.cyanogenmod.com/wiki/HTC_Desire_HD:_Firmware_Downgrade_(Gingerbread) )
I got a replacement with S-ON and Locked, I managed to Unlock it and install the latest recovery.
If you wish for me to test something feel free to ask, just cannot risk bricking it again lol
Sinfamy said:
I got a replacement with S-ON and Locked, I managed to Unlock it and install the latest recovery.
If you wish for me to test something feel free to ask, just cannot risk bricking it again lol
Click to expand...
Click to collapse
Well, thanks! Let's see what blue6ix has to tell us about this. There's a chance of bricking, all I can say this is how its done on htc desire hd/z, and the tool is modified to work with mt4gs. We need someone who could risk this with s-on, unlocked or a community donation to get one new phon s-on for blue6ix so he can try.
sent from HTC Doubleshot pyroiced
tbalden said:
Well, thanks! Let's see what blue6ix has to tell us about this. There's a chance of bricking, all I can say this is how its done on htc desire hd/z, and the tool is modified to work with mt4gs. We need someone who could risk this with s-on, unlocked or a community donation to get one new phon s-on for blue6ix so he can try.
sent from HTC Doubleshot pyroiced
Click to expand...
Click to collapse
For the s-on ppl if you brick and have insurance just dunk that sh#t in a lake and chalk it up as lost lol
Sent from my myTouch_4G_Slide using Tapatalk
I don't know if this is of any help to anyone, but one of the problems with the HTC Unlock/S-On combo is that kernels need to be flashed separately. Basically, you need to manually push the boot.img.
Hey, taking a quick break and glad to see how it's going - I'll be getting home in about 5 hours, I'm definitely gonna sit down and start working on this asap, you can count on me for a good 12hours starting around midnight eastern.
Can't wait!
Sent from my Bulletproof_Doubleshot using xda premium
strapped365 said:
For the s-on ppl if you brick and have insurance just dunk that sh#t in a lake and chalk it up as lost lol
Sent from my myTouch_4G_Slide using Tapatalk
Click to expand...
Click to collapse
DO NOT DO THIS IT COSTS $130 TO REPLACE THROUGH INSURANCE. Why are you saying this without even knowing what you're talking about.
For people with insurance and/or premium handset replacement plan (I believe they are one and the same), try this, and if it causes a brick, it is very unlikely that t mobile would be able to ascertain what caused the brick. You can therefore call it in under normal warranty procedures and they will send you a working replacement phone for $5. Please check and confirm your plan first, before you try this.
dung8604 said:
DO NOT DO THIS IT COSTS $130 TO REPLACE THROUGH INSURANCE. Why are you saying this without even knowing what you're talking about.
For people with insurance and/or premium handset replacement plan (I believe they are one and the same), try this, and if it causes a brick, it is very unlikely that t mobile would be able to ascertain what caused the brick. You can therefore call it in under normal warranty procedures and they will send you a working replacement phone for $5. Please check and confirm your plan first, before you try this.
Click to expand...
Click to collapse
Im just giving an option, theres def no need to jump down on me like im to stupid to know what an insurane claim costs, or like im to stupid to realize tmobile WILL know why you bricked its on you tho what you do my device is s-off already, im just trying to jump in to help yall out, i have no problems keeping to myself working for myself and doing the rest of what i enjoy for my other devices community
Sent from my myTouch_4G_Slide using Tapatalk
Has anyone actually ever tried to send in a bricked phone for repair?
Maybe HTC will just go ahead and reset the phone.
A bit different, but many moons ago I sent in my Motorola Cliq rooted with a custom rom, for repair and they simply reset the device before sending it back (even though I sent it in for a hardware issue)
firstly, Im not asking for a detailed explanation of what to do here.. I can read up on various sections, but I do need steps to follow. This phone is the most complicated thing to flash, give me ODIN and a galaxy S any day.
Im trying to upgrade to the latet open Europe.HTC-SAGA 401_9 not a custom rom, my DS is the same Radio Version so thats ok.
After following the various guides, What I have so far is:
1) the Stock HTC 401_9 Rom from File Factory.
2) Ive downloaded Goldcard Helper, fitted my 2GB SD and gotten the reverse ID
3) Ive d/l'd the GoldCard Image for my DS reverse ID
4) Ive d/l'd the HexD editor for making the goldcard.
5) I know about having FastBoot OFF, USB debugging ON and the phone USB set to Disk Mode for making the Goldcard and the USB to "Charge only" when flashing.
So, now what. Can I just flash the HTC Stock 401, or do I root it first. My Hboot is 2.000.002 and its S-ON.
The phone has Virgin UK Software, but its not Locked.. Ive had both O2 and Orange sim cards in and they work fine.
I just need to know the 1, 2, 3 .. steps for flashing this stock rom
Thanks in advance
Always helps to write your full bootloader screen.
ben_pyett said:
Always helps to write your full bootloader screen.
Click to expand...
Click to collapse
Im all for protecting your product against time wasting "bricked" returns, but Whoever at HTC thought of this system wants slapped... hard, Bootloader says:
### Locked ###
SAGA PVT SHIP S-ON RL
HBOOT-2.00.0002
RADIO-3822. 10. 08. 04_M
eMMC-boot
Aug 22 2011, 15:22:11
HBOOT
Then it lists on screen:
FASTBOOT
RECOVERY
FACTORY RESET
SIMLOCK
IMAGE CRC
Hope that helps and hope you can give some steps. Seriously, Ive looked on here for days but there seems to be so many questions about different aspects and parts of the flashing, its confusing.
Thanks in advance
First of all, forget all about radios you know from Samsung.
At htc you can use every radio on every rom, there are only 3 possibilities you need to change radio:
It is shipped with a ruu you want to use
You face issues with radio related hardware
You want to be up to date
Ok, now to your question.
At HTC the bootloader version is important (only at stock roms).
If your bootloader has the same or a smaller version than the one from the ruu and your device had no branding, just reboot to bootloader plug it to your pc, enable fastboot usb and start the ruu.
If a branding is present and you want to stay with it, do the same with the fitting ruu.
If your version is higher or you want to remove a branding , you need a goldcard first and maybe the extracted rom.zip from the ruu, if the ruu fails with goldcard only, because you need to put it at the root of your sd renamed to PG88IMG.zip and flash it directly with your bootloader.
(also to change misc_version can be needed, but i guess not here because you don't want to downgrade)
For both cases are guides at the index (see my or bens signature).
Tectas said:
If your version is higher or you want to remove a branding , you need a goldcard first and maybe the extracted rom.zip from the ruu, if the ruu fails with goldcard only, because you need to put it at the root of your sd renamed to PG88IMG.zip and flash it directly with your bootloader.
(also to change misc_version can be needed, but i guess not here because you don't want to downgrade)
For both cases are guides at the index (see my or bens signature).
Click to expand...
Click to collapse
Ok I used this guide for the goldcard:
http://www.addictivetips.com/mobile...gold-card-for-htc-desire-without-hex-editing/
So, because Im not changing anything about the kernel, just debranding to an offical ROM, once I set up my Goldcard, I activate debugging, copy the RUU 401_9 to SD Root of my Goldcard, click "Image CRC" from bootloader menu and it should install it.
Is that correct?.
Ive just checked..
Wait and It detects the new ROM "update" automatically in bootloader menu
Yes?
NightOrchid said:
Ive just checked..
Wait and It detects the new ROM "update" automatically in bootloader menu
Yes?
Click to expand...
Click to collapse
Image crc just checks your rom, got nothing to do with updating.
The ruu itself is a exe, means a windows program , do the steps i described before with fastboot, the only difference is that you need to create the goldcard before, otherwise the bootloader won't allow (if your lucky) you to flash the ruu with the different branding.
If it fails that way run the ruu without attached device as far as you can go without closing, don't close it and search for the rom.zip at your temp folder, copy it to another folder and close the ruu, rename it, copy it to the root of your sd and reboot to bootloader and let it flash it directly, just to say it, you also need a goldcard before you do it this way.
One additional thing, be sure you got a ruu for the desire s, i just say it, because your goldcard guide is for the desire, what is no real problem there, but a wrong ruu will always fail and if it won't lead to a brick at worst case.
Sorry Tectas.. Just wont work.. I created my goldcard, extracted the RUU, changed the rom name from "disk1" to PG88IMG as you said, copied to root of goldcard, selected Fastboot then bootloader, but it just doesnt detect any image or file.
I am struggling a little with your english because you are telling me too many different ideas, Im confused... instead of telling me.. just 1, then do 2, then do.. 3, but Thank you for trying, i appreciate your help..
I will try again later..
Small thing the file you copy to the sd card must be called (case sensitive) PG88IMG.zip
Swyped form ym Dersie S unsig XAD Permuim
First method:
1. Create goldcard
2. plug in your device
3. Reboot to bootloader and enable fastboot
4. Start the ruu at your desktop and follow the instructions
5. Enjoy
If it fails make sure the drivers are installed, by downloading and installing htc sync, but uninstall it straight after you installed it, the drivers will still be present but the program itself can cause problems with ruus and/or adb.
If it still fails, try the second method.
Second method:
1. Create goldcard
2. Start the ruu without attached device
3. Go on till the only remaining possibility is to close the program, but don't close it
4. hit the windows button + r, a window should pop up
5. Type %TEMP% into the textbox of this window and hit enter, the explorer should open up and show your temporary folder
6. Search for the rom.zip (make sure hidden files are down if you can't find it)
7. Copy it to another folder i.e. the desktop
8. Close the ruu
9. Rename the rom.zip to PG88IMG.zip (case sensitive)
10. Copy it to the root of your sd
11. Reboot to bootloader
12. Choose bootloader
13. Confirm the update with vol +
14. Let it update
15. Reboot by hitting power
16. remove the PG88IMG.zip, otherwise it will update your device every time you access the bootloader
17. Enjoy
Thank you very much tectas for taking the time to sort and explain this. The 2nd methord worked just fine. However, at the end of the update flash, bootloader said:
"image on device is newer, update aborted"..
It does say that my virgin software is 2.13.351... the image is 2.10.401, so, in computer world, the numbers 2.13 is newer than 2.10. This may not be the case of the ROM itself, becasue the date is 22 Aug 11, but theyve engineered it that way probably so you cant flash it Open Europe.
The great thing is, youve taught me about the desire s and how the flash updater works, plus I have a 2GB goldcard out of it for future custom roms.. so all is not lost.. thanks for the lesson, its much appreciated.. Im gonna have a go at routing next.
It would be great to sticky this or copy it as a very Basic guide to flashing an HTC Rom.
Many Thanks again Tectas
This can also be solved, you need to change the misc_version for it as first step and afterwards do the same as this time.
About customs, you need to unlock or s-off your bootloader first.
For all three things are guides in the index thread.
I have now found that my phone is actually Locked to Virgin Mobile (has a Virgin media splash screen on boot up). Sorry for the confusion about that:
I followed the advice of Tectas and followed this:
http://forum.xda-developers.com/showthread.php?t=1399331
everything went great until I got to the end of the procedure and I only go the
"$" which after typing line 5: adb shell /data/local/tmp/misc_version -s
said "access denied" then mentioned "blue flames".
On page 6 or 7 of that thread, someone mentions this "blue flames" as being a new security mod that HTC have implemented to stop modding at all.
Is this true?.
Also, Virgin mobile and other places have quoted me £15 to unlock my DS. £15 seems alot of money, but would an unlock help (would it be worth it) for me being able to flash both Stock and custom ROMS.
I do enjoy the challenges of modding, so to me this is frustrating.
cheers
The $ indicates you have no root access, i must confess i never heard about the blue flame before, but also have to say, i never got deep into the downgrade stuff, because i used xtc clip to unlock my device, which made my device s-off and debranded.
If those Sellers use the same method, your good to go and spend the money, it saves you from a few traps you can run into with other methods (i paid €20 about a year ago), but you need to be aware that this is a hardware unlock which is irreversible, what can bring problems at warranty purpose (but must not).
Your second choice would be to use htcdev at first step and get root and so on afterwards, the downside here is also warranty, because your device is stated as unlocked at the htc database and if you leave it this way and won't use it to gain full s-off you also need to flash the kernel for each new ROM yourself with fastboot, because the recovery got no write permissions there.
If the seller would also use htcdev, safe the money, you can do it yourself, at xtc i can recommend it, but it's your choice.
Thanks for the advice Tectas. The guy in the street said it would take about 1 hour.. not sure if that helps to know. I suppose with Virgin, theyll be removing their own locks, so the virgin way might be better.
Also, the phone was bought from a 2nd hand shop, it was an unwanted upgrade someone just traded in without using it, the box it came in and the outer shell of the phone has no branding whatsoever.. thats why i was confused about it being locked.
Anyway, Ill have a think about who to go with and ill ask which methord they use before I hand it over.
Thanks again.
Tectas said:
This can also be solved, you need to change the misc_version for it as first step and afterwards do the same as this time.
About customs, you need to unlock or s-off your bootloader first.
For all three things are guides in the index thread.
Click to expand...
Click to collapse
Its Done.. phew.. hehe. After I got back to Virgin 1.31, just used the goldcard with rom.zip and it worked fine. 1 thing though, doing it this way flashes the rom in 7 stages, so what ever you do, when it reboots after the 1st install, do not think its repeating itself.. leave it. i Nearly did that, anyway, I sorted things using this thread:
http://forum.xda-developers.com/showthread.php?t=1443636
As long as you follow it to the letter, it all goes fine, the whole thread is really good support as well, so if anyones interested, read through the whole 13 pages (so far).
Also had access to the phones Recovery menu, so wiped Cach partition and did a factory reset, also probably not necessary, but backed up my SD card and formated it under the new OS.. I find this is always good on a new rom, for the file table and prevents app errors.
Happy i now know how to flash a rom, didnt quite root it yet, just flashed a stock RUU first.. which is what you should do if, like me, your new to this.
Anyway, Open Eu 2.10.401.9 is sweet and slick smooth.
Have a good one all, Thanks Tectas.
So there are many tutorials out there for obtaining S-OFF for the HTC ONE S for all kinds of HBOOTS. But what about those of us with the newest model and HBOOT 2.15 and so on? Well it's been solved after months of trying.
1) First thing you're going to need is an appropriate RUU for your device. Mine is "RUU_Ville_U_JB_45_S_TMOUS_3.14.531.11_Radio_1.13.50.05.31_10.30.50.08L_release_309489_signed_ICS_2"
There is a thread for obtaining the proper RUU and how to distinguish which one you need. If you're here, you probably already have the appropriate RUU.
2) Second, youre going to need THE CORRECT VERSION of Moonshine. If your device is like mine, it will look like this: HTC One S T-MOB Windows 3.14.531.11 moonshine_ville_3.14.531.11.zip. If you have a different ROM version, get that one. Same goes for the carrier. Use your RUU name for a cheat sheet if you have to. Note the similarities??
3) Probably one of the most important steps is making sure that you have FASTBOOT AND ADB both installed and running AND detecting your device!!! I can not stress enough how important these are! Without them, you're gonna have a bad time. MAKE SURE USB DEBUGGING IS ON AT ALL TIMES! Snoop05 made a fantastic tool called 15 SECONDS ADB INSTALLER 1.1. Here's the link for that http://forum.xda-developers.com/showthread.php?t=2588979
Follow his instructions in the OP for a how to if you run into a problem, which you shouldn't if you can read.
Use the terminal command " adb devices " and you should get something like this
C:\Users\C***********\Desktop>adb devices
List of devices attached
HT26TW407378 device
This means your phone is being recognized as an adb device, which is fantastic! If not, try disabling and re-enabling USB DEBUGGING.
Boot into BOOTLOADER and go back to your command prompt and enter " fastboot devices ". You should get a reply that looks something like this:
C:\Users\C***********\Desktop>fastboot devices
HT26TW407378 fastboot
CONGRATULATIONS, you're almost there!
4) Once you have ADB and FASTBOOT both running properly, it is ALMOST time to run your RUU. First we have to relock our BOOTLOADER! It is very simple. Go into your Bootloader and make sure you have FASTBOOT USB on your screen. Once you see that, open a command terminal on your PC where fastboot is located, or anywhere if you used the 15 file I have above, as it makes sets fastboot machine wide! (exciting, huh?) In the command window type in " fastboot oem lock ". Now your bootloader is relocked and you are ready to run the RUU.
Run the RUU and allow it to finish. Reboot your device. HERE IS WHERE STUFF CHANGES!! Other people would have you ROOT. All you need to do is this:
-RE-ENABLE USB debugging and set your screen to NEVER TURN OFF. Trust me, you want this for now.
-Unlock your BOOTLOADER again
-DO NOT root
-DO NOT install SU or busybox
-DO NOT flash a custom recovery
-ONLY RUN MOONSHINE, follow the prompts, answer Yes twice and let it do its magic. My phone took 4 tries to get it done, but it worked!
If you followed my instruction to the T you should be moonshine S-OFF. Your device will be turned off when it finishes. Reboot your phone into Bootloader and profit, because you are S-OFF!
>My phone took 4 tries to get it done, but it worked!
What do you mean by this? You had to run the moonshine 4 times before it worked? Why would this be?
Misconception, sorry pal
808phone said:
>My phone took 4 tries to get it done, but it worked!
What do you mean by this? You had to run the moonshine 4 times before it worked? Why would this be?
Click to expand...
Click to collapse
Allow me to clarify.
When Moonshine is running it sends your phone into bootloader and restarts the phone.
After it checked to see that ADB and fastboot were working properly, it started doing that.
It went into fastboot to adb to fastboot to adb and had a running line of "moonshining<1,2,3,4>.........." after each time.
It did this four times before moonshine actually gained S-OFF.
It went something like this:
Waiting for device..........................................................................
Device found
Moonshining<1>.........................................................
Moonshining<2>..................................................
Moonshining<3>...........................................
Moonshining<4>......................................
Waiting for ADB Device
Waiting for device
Powering off device. Unplug and reboot device (or something of that nature)
Hope you enjoyed the moonshine.
Keep in mind this is off of my memory of what the terminal said. I did NOT have to restart moonshine 4 times. I ran it once, and was done.
It took about 10-15 minutes all together.
What do I need to know about RUU to use Moonshine
Thanks for this tutorial. I have had a million problems trying to get S-Off but I'm hopeful that your technique will work since it seems like we both have the One S from Tmobile.
Can you please point me to some info about RUU? I've heard of them but not sure exactly what they are. If you have a link to a good tutorial it would be much appreciated.
p.s. Here is the link to my current thread documenting my difficulties getting s-off: http://forum.xda-developers.com/showthread.php?t=2658650
fonnae said:
Thanks for this tutorial. I have had a million problems trying to get S-Off but I'm hopeful that your technique will work since it seems like we both have the One S from Tmobile.
Can you please point me to some info about RUU? I've heard of them but not sure exactly what they are. If you have a link to a good tutorial it would be much appreciated.
p.s. Here is the link to my current thread documenting my difficulties getting s-off: http://forum.xda-developers.com/showthread.php?t=2658650
Click to expand...
Click to collapse
An RUU (recovery update utility, I believe) can be used to upgrade your device OR (in our case) return your phone to stock. There is a sticky in the development area that has a page with an RUU repository. That page should tell our exactly how to match the correct RUU with your phone. I'm sorry I don't have the link handy, I'm not on my laptop right meow.
Sent from my One S using Tapatalk
Thanks. Just a couple more quick questions. After I do moonshine:
Will I be root?
Can I simply flash cwm recovery and then restore my current nandroid backup?
fonnae said:
Thanks. Just a couple more quick questions. After I do moonshine:
Will I be root?
Can I simply flash cwm recovery and then restore my current nandroid backup?
Click to expand...
Click to collapse
You should be able to! Right after I moonshined, I went right into flashing a recovery and then flashed my ROM. It was so exciting not having to boot into bootloader and the use fastboot to flash the kernel. It was instantaneous!
Flash a recovery (I've noted having trouble with old recoveries meow)
Restore your nandroid and report back here?
I'm sure there will be another user with your question. I'll add it to the OP if all goes well. And it should go perfectly. The recovery should fix root, it'll ask you before you reboot the device.
Sent from my One S using Tapatalk
Hello,
I have an HTC One Mini (m4) and have spent approximately 3 days trying to grasp various pieces of jargon and babble of the Android community without success.
Between S-OFF, S-ON, firmware, recovery, new partition layouts, old partition layouts, OTA, Stock, kernels, custom ROMs, rumrunners, firewaters, various errors, root, adb, fastboot and other meaningless pieces of broken English, I am giving up. I have spent more time ****ing with my phone than using it in the past week.
I currently run a 'version' of Sense 5.5 made by tr1gg3r3d, on Android 4.4.2. Ultimately the only thing I wanted to achieve was to have an ordinary version of Sense but without the extraneous apps that clog it up. My phone is unlocked and 'tampered' (whatever the **** that means). What I have right now does not appear to update correctly and does not run certain apps that dislike root. The SD permissions do not work.
It is more or less useless for what I need it for.
I saw a ROM for Sense 6 here that requires 'S-OFF'... after spending 3 days jumping through hoops and following badly written instructions for 'S-OFF', and failing each time, trying around 4 different ROMs and script files that tell you nothing of what they're actually doing, I have given up trying to achieve 'S-OFF'. Do I even know what 'S-OFF' is? No.
Can someone give me simple instructions on how to achieve the following:
A phone running HTC Sense 6 (or even just 5.5) that behaves normally, isn't gimped with pointless graphics and allows the extra apps to be removed.
Preferably 'unrooted' as I use apps that dislike root.
Ideally recognised as 'official' HTC so that updates can be delivered without having to spend a week wading through 90 page forum threads.
Thanks in advance.
Your 3days of reading have obviously been a complete waste of time bud as you posted in the wrong thread [emoji33]
Maybe you should have also read and understood the implications of unlocking, rooting your phone before you done so. It is well documented that certain apps eg.. banking ones etc will not work on rooted devices.. BUT there are certain modules created that can cloak root and may allow the app to work. As for removing unnecessary apps... There as also scripts/tools available to do so. It's all here on xda!
Slating a devs Rom that they have spent countless unpaid hours to bring to the xda community (that works flawlessly) is not the way to get help, nor is slating the guides/advice that other members have taken the time to post! Seems that you want the best of both worlds. There are guides on here that will help on whatever you choose to do if you can decipher all the babble/jargon and meaningless broken English.
dlyon said:
Hello,
I have an HTC One Mini (m4) and have spent approximately 3 days trying to grasp various pieces of jargon and babble of the Android community without success.
Can someone give me simple instructions on how to achieve the following:
A phone running HTC Sense 6 (or even just 5.5) that behaves normally, isn't gimped with pointless graphics and allows the extra apps to be removed.
Preferably 'unrooted' as I use apps that dislike root.
Ideally recognised as 'official' HTC so that updates can be delivered without having to spend a week wading through 90 page forum threads.
Thanks in advance.
Click to expand...
Click to collapse
Had a similar experience myself trying to return to stock, for me I was getting cheesed off with the bugs and lack of working bank apps on custom ROMS.
I fixed it by following, and reading in between the lines, on this fellows instructions here.
http://forum.xda-developers.com/htc...m-official-stock-android-4-3-sense-5-t2837799
I posted a similar help thread myself a few days ago, someone has replied to say S-OFF isn't crucial to doing this so worth a go maybe. I however did get S-OFF by using the method detailed here.
http://forum.xda-developers.com/showthread.php?t=2573479
I should tell you I was on HBOOT2.19. Not sure how important that is.
So here it was I did to get S-OFF
You've obviously got ADB working on your device so lets skip that.
1.Download revone: http://revolutionary.io/revone and copy it into the same folder as your ADB.
2. Open a CMD prompt and type these commands:
Code:
adb push revone /data/local/tmp/
adb shell
chmod 755 /data/local/tmp/revone
Now wait a minute. I found I always got kicked out of the shell after 20 seconds or so, if you do then run adb shell once again.
3. Now type the below text. It is case sensitive so make sure that -P in the second command is uppercase:
Code:
cd /data/local/tmp
./revone -P
4.You'll get an error message, it should be "-2". This is good. Restart your phone using the power button.
5.Once you're back in open up the shell again and run the following commands:
Code:
adb shell
CD /data/local/tmp
./revone -s 0 -u
BAM! You're now in S-OFF mode.
HBOOT 2.2
I used this thread to get to HBOOT 2.22
http://forum.xda-developers.com/showthread.php?t=2584810
Whilst the instructions are fairly simple I will say it is case sensitive. So when you do
Code:
fastboot oem rebootRUU
the RUU has to be in capital letters.
How to return to stock
1. First you need to get yourself TWRP recovery from here: http://teamw.in/project/twrp2/216 and copy the .img file into the same directory as ADB and fastboot.
2. To flash the recovery you need to go into fastboot (hold the power button and the and the volume down button together from a cold boot) and type from a CMD prompt
Code:
fastboot flash recovery recovery.img
where recovery.img is the name of the download.
Mine was called openrecovery-twrp-2.7.1.1-m4.img so I'd use this text:
Code:
fastboot flash recovery openrecovery-twrp-2.7.1.1-m4.img
3. Once you've flashed the recovery go into recovery and make a backup from the backup menu.
4. Download every file from the link provided in the first post here:
http://forum.xda-developers.com/htc...m-official-stock-android-4-3-sense-5-t2837799
5. You're going to have to use WinRAR or 7Archive to unzip the RAR files. You'll get a random folder and a stock recovery.img file.
What I did (or eventually did after lots of trail and error) was attached my phone then deleted the backup content in the TWRP folder. I did NOT delete the folders. Just the files within. Then I copied the extracted content from the download folder into the backup folder I'd just emptied on the phone.
6. Now drop back into the recovery again. First make sure what we did in step 5 worked. If you go into Restore can you see the files we generated earlier? Brilliant. Wipe the cache, factory and delvik (I think Delvik is in the advanced settings, obviously don't have it to hand now i'm back on stock!)
7. Now run a restore which should take a few minutes.
8. Reboot the phone but drop straight back into the Bootloader (power and volume down button pressed)
9. If you haven't copied boot.emmc.win into the ADB folder do so now. Whilst you're at it copy the stock recovery.img file into the same folder and rename it to stockrecovery (take the space out).
From a CMD prompt type :
Code:
fastboot flash boot boot.emmc.win/
10. Now we flash the Stock recovery using:
Code:
fastboot flash recovery stockrecovery.img
11. Now relock the OEM thingy by using
Code:
fastboot oem lock
BAM! You're back to a stock albeit a really crappy version based somewhere in the Middle East. But fear not. Boot in, setup your phone and in the Settings area you can run a software update. This will take you to Android 4.3. Once you're in run another software update to go to 4.4.2 with Sense 5.5. Once you've done that do yet another Software Update to get to 4.4.2 with Sense 6.
At this point I did a factory reset from the settings menu. Not sure if it was needed but just wanted any legacy crap completely killing off.
Also you'll see a message about it being a test device. I Google'd it and people said this is because you're S-OFF. It's not important. Nothing is going to HTC, it's merely a log file thingy.
And that my friend, is how my three day headache got me from a rather buggy custom ROM back to Stock. Enjoy.
elmuziko.
Absolutely brilliant post. I can verify that your method to s-off the phone and update to 2.22 works perfectly. I did it 2 days ago.
I changed my cid using supercid. Do you think I should return my cid to its original value before attempting to return to stock or does it matter??
danapoint said:
elmuziko.
Absolutely brilliant post. I can verify that your method to s-off the phone and update to 2.22 works perfectly. I did it 2 days ago.
I changed my cid using supercid. Do you think I should return my cid to its original value before attempting to return to stock or does it matter??
Click to expand...
Click to collapse
Hiya mate
I didn't do any of that at all, although I didn't change my CID knowingly so if it did change, I didn't change it back.
Been on stock a week now with no problems whatsoever. Working like a dream.
Cheers
thank you button is not enough
elmuziko said:
And that my friend, is how my three day headache got me from a rather buggy custom ROM back to Stock. Enjoy.
Click to expand...
Click to collapse
you know what, i just registered to this site to thank you.
i followed your post step by step and BAM, i am in back to stock rom.
thank you, it feels so good
ps: i skipped S-OFF step, so it is not a must.
Help my
Not message for phone unlock bootloader unlock token chek successfully
Failed to Get S-Off
Before my Question:
My HTC ONE MINI Details:
M4_UL PVT SHIP S-ON RL
HBOOT-2.22.0000
RADIO-1.28.40e.00.24
OpenDSP-v19.2.0268.0927
OS-4.09.401.3
eMMC-boot 1024MB
Jun 24 2015, 15:21:25.0
Ok, Now, I bought this Mobile in Dubai, Middle East and while i was waiting eagerly for Lollipop Update and the HTC did the cheating, i decided to try some custom roms and in between the process i wiped my internal memory which means i lost my original stock rom. Somehow i got this M4_4.14.401.1_Stock_v3.0.0 flashed it and now my mobile works flawlessly, the thing is the mobile is "TAMPERED" "UNLOCKED" & "S-ON", i tried all the process to S-OFF, i tried sunshine but spending 25$ on something which is available free, i would not do that. Can you please suggest me what is wrong that i am doing here, because i found one more option which says i have to downgrade my HTC ONE MINI to S-Off, Pity is that to downgrade i need my mobile to be S-Off. I am really exhausted and would appreciate alot if you can help me get S-Off. There are my links which are broken, like the revone after a lots of struggle i downloaded it. i have posted 3 queries on XDA forum but none has been answered. I would Really Really appreciate if you can save me from my misery.