yashsingh1/xdaforums huggingface dataset:
[HTC One SV] Burginthorn:
Seanie280672 comes through with the fantastic help again :good:

Installed and working! :D

Is it possible now to download BusyBox Pro from the playstore and install it or should I just leave it be now that its working?

Thanks again for your help, its really appreciated.
[HTC One SV] old.splatterhand:
Make a backup in recovery and try. Updating busybox always worked for me.
[HTC One SV] Burginthorn:
I installed busybox but it crashed the phone again. tried it twice and each time its crashed the phone into auto reboot. Upon checking though it says its installed ...?
[HTC One SV] old.splatterhand:
Did you update the binaries through the app from Playstore?
[HTC One SV] Seanie280672:
Is this the one I gave you to flash through recovery ?, if that one worked then stick with it, like I said before, some of the newer HTC devices are having problems installing busybox from playstore etc and the only way to get it is by flashing the zip file through recovery.

There's a saying we have here, if it ain't broken, don't try and fix it.
[HTC One SV] zomgitsanoob:
I have root.. kinda

No adb root, and some bloatware (eg: block breaker) reappears after removing.

How do I gain adb root?
[HTC One SV] old.splatterhand:
This is because stock kernel has System write protection.

Either flash a kernel without write protection or make your phone S-Off.
[HTC One SV] :
Or you could boot a kernel vice flashing. This way you can make your necessary system write changes whether bloatware, switching system apks to user or vice versa, etc then you can just reboot when completed and your original stock kernel will still be there as well as your changes :D
[HTC One SV] Jaybell4444:
Hello All,... Just came on board with my new SV and unlocked it (htc dev site), downloaded the clockwork for JB (4.1.2) and followed instructions, (fastboot flash recovery recovery.img), but keep getting an error. I have the Superuser on my SD card but of course that won't work until I get this dam recovery installed. For some reason I also got the word "Tampered" above the word "Unlocked". I'm on Boost Mobile "K2-CL".

Any help would be greatly appreciated!!!! Happy to be on board!!!
[HTC One SV] old.splatterhand:
Welcome! Did you check the filename of recovery? Is it on the place, where fastboot.exe is?
[HTC One SV] Jaybell4444:
file name was clockwork for Jelly Bean...that's it. The IMG is in the adb, fastboot files. If there is a "TWRP" for boost mobile K2-CL, I would love to have that instead. I did check your index site and also downloaded from there. the only thing that works is the stock recovery.
[HTC One SV] old.splatterhand:
Twrp for boost is also available.

Look at this Thread: http://xdaforums.com/showthread.php?t=2357107
[HTC One SV] Jaybell4444:
Tried it and nothing. I did manage to get the phone "S-OFF" using Moonshine. All SDK files are in place, just can't get that dam recovery installed. I am on Jellybean 4.1.2, unlocked, software version 2.06.653.5 710RD.

Any ideas would be appreciated! thanx in advance!!!
[HTC One SV] russellvone:
Since you have S-Off you can flash the recovery.img via terminal emulator.

Download the twrp.img and place it on to root of your sdcard. (Internal).

Rename it to twrp.img.

Open a terminal emulator.

dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p21

Reboot your phone after complete.

Then boot back into your bootloader and choose recovery from the menu.

NOTE: mmcblk0p21

^#zero
[HTC One SV] Jaybell4444:
Okaaaay, I've been doing rooting for a long time but when it comes to the tech stuff, I'm at a loss. I really wish I knew what you are talking about as far as the emulator. :silly: If you were able to PM me on step by step instructions on how to do this then I can follow instructions easy. I really would appreciate the help and don't mind learning new things. XDA is where I learned everything so far. You guys are awesome in what you do and I appreciate you guys taking the time to help others!!! :o

Obviously because I got the "S-OFF" working, the abd files and fastboot are working fine. Just can't figure out (yet) why I keep getting an error when trying to flash a recovery! With you guys and your input, I know it's all but a matter of time that we will get this resolved! Thanks again fellas!!!
[HTC One SV] russellvone:
[MENTION=455397]jaybe[/MENTION]ll444

Download this zip and place it on your computer. https://db.tt/Mp7RJX3P

Extract the zip into a folder on your desktop.

connect your phone to your computer with ADB enabled.

Depending on if your running ICS or JB; double click the .bat file

Meaning if your running ICS, double click the .bat file in the ICS folder

And if your running JB double click the .bat file in the JB folder.

Let it do its thing.

Now you should have root.

Download this TWRP recoveryhttps://db.tt/Z5EdKaTp

Place it on the root of your internal sd card.

Download this terminal emulator https://db.tt/jPhEIGEG

Open the terminal emulator

And type

su

(enter)

dd if=/sdcard/twrp2.img of=/dev/block/mmcblk0p21

(enter)

after It's done it should look like this.

Now reboot your device.

You can also grab 'quick boot' from the playstore and reboot directly into recovery.

Good luck.
[HTC One SV] Jaybell4444:
WOW,....Thanks so much Russell,...will be doing this as soon as I get home from work!!! Can't wait!!!!:highfive:
[HTC One SV] russellvone:
Hope everything goes well.

Oh and..... You are K2_CL, correct?

Because the recovery IMG is for boost mobile variant.
[HTC One SV] Jaybell4444:
Yes I am on K2_CL boost mobile. I just went thru the process and it said that my root was successful. I see the Superuser in my apps but when I click on it, it says there is no SU Binary installed. Superuser cannot install it! I tried the imulator (its installed in my apps) it says "not found". I made it half way thru but I got stuck on the imulator.
[HTC One SV] russellvone:
What Rom are you on? What hboot are you on?
[HTC One SV] Jaybell4444:
Stock Rom Jelly Bean 4.1.2 and H-boot 2.00

Im repeating the process 3-4 times like the instructions say. Lets see what happens

question,...My sister just told me that the phone is still not activated. Does that make a difference???

Im going to shoot her myself if it does. I am connected to wifi though and I can get online.

My device is C525c....Android 4.1.2....API 16
[HTC One SV] russellvone:
Ok, here's what we are going to do.

Even though we have S-Off, the write protection seems to still affect us every time we reboot. So....

I want you to place that TWRP.IMG that you downloaded from my post and place it in your fastboot directory on your computer.

Now boot your device into its bootloader and connect it to your computer.

When you are connected to the computer with your USB cable select fastboot with the power button, it should say 'fastboot usb' highlighted in red.

Now open a command prompt in your fastboot directory by simply holding the shift key on your keyboard, and right clicking the mouse in an empty space in the folder. The choosing 'open command prompt here'

Now type

fastboot devices

Press enter.

If it returns a serial number then your all good and it recognizes your phone. If not, make sure that your firewall isn't messing up your connection through adb ect.....

Once it recognizes your device, type

fastboot boot twrp2.img

Press enter.

This will boot the recovery.img on your device.

After It's booted go to install, and then navigate to where you have a flashable zip of superSU and swipe to install. Once installed reboot into the OS, go to the playstore and download terminal emulator, open it up ,

su

dd if=/sdcard/twrp2.img of=/dev/block/mmcblk0p21

Victory!

---------- Post added at 08:04 PM ---------- Previous post was at 07:57 PM ----------

Not being activated isn't an issue.
[HTC One SV] Jaybell4444:
HOLY CRAP.....WOOOOOT!!!!!! YOU ARE THE MAAAAAAAN!!!!! IT FREAKIN WORKED!!! :victory::highfive::D

Dude, what can I say....you seriously know your SH*T!!!! Donation definitely coming your way. Thanx so much Russ for your patience and your hard work!!!!
[HTC One SV] russellvone:
Always happy to help when I can, we got lucky to find a fix. And good luck with the rest of your journey.

Confirmation, received your donation.

Thanks
[HTC One SV] Jaybell4444:
One more question Russ, is there a zip file or RUU if I ever wanted to return this phone to stock? Thanx in advance!
[HTC One SV] russellvone:
No RUU, but I have a thread with instructions for returning to stock so you can apply OTA updates. It has a TWRP backup that is clean as out of the box.

---------- Post added at 09:43 AM ---------- Previous post was at 09:41 AM ----------

http://xdaforums.com/showthread.php?t=2450868

[TUTORIAL][K2_CL]How To Update After Moonshine S-Off
[HTC One SV] ahac85:
just managed to get s off, can someone please tell me when which recovery to flash and how, the clockworkmod jb recovery when i donwload is called trecaf, am i suppose to rename this file to recovery?? or can you guys advice me how else i may flash recovery im on k2ul

edit: guys ive got twrp recovery on, but now when i go to bootloader it says tampered, is that normal? also if i ever need to send phone for repair, can that tampered sign be reset??
[HTC One SV] old.splatterhand:
Follow the Index thread in my signature, you will find "TWRP Recovery for ALL Variants".

You rename the img to "recovery.img" and flash it with fastboot command

fastboot flash recovery recovery.img
[HTC One SV] b666:
Hi, I have Htc One Sv - JB 4.1.2 , Tampered, unlocked, Hboot 2.00.0000, Radio 1.15.40a.00.04, opendsp v.9.2.0268.1214, eMMC boot, K2-ul PVT Ship S-ON RL. Yesterday I received an update on JB 4.2.2. with Sense 5, but update will not be installed. Recovery booted me and that's all. Do you know someone write a procedure that I have officially upgraded to 4.2.2 JB. and then root again?? Please someone help me, I do not brick my phone. thank you very much
[HTC One SV] russellvone:
flash stock boot.img and stock recovery.img and

you much relock your bootloader

fastboot oem lock
[HTC One SV] b666:
Ok, and where is stock boot.img and stock recovery.img??? And how to relock my bootloader???
[HTC One SV] russellvone:
what version HTC OneSV do you have?

K2_UL?
[HTC One SV] b666:
Yes, I have K2_UL...
[HTC One SV] russellvone:
have you ever flashed custom kernel or custom recovery or custom ROM on this phone?
[HTC One SV] b666:
No, there is official Rom from OTA update and then just root...
[HTC One SV] russellvone:
ok, then all you have to do is relock your bootloader

fastboot oem lock

type this in the command prompt
[HTC One SV] b666:
...waiting for a device.. and nothing...
[HTC One SV] russellvone:
are you in fastboot mode on you phone?

it should say

fastboot usb
[HTC One SV] b666:
Yes, I have....

---------- Post added at 08:47 PM ---------- Previous post was at 08:42 PM ----------

PC say - USB Device Not Recognized
[HTC One SV] russellvone:
use a different computer

---------- Post added at 02:55 PM ---------- Previous post was at 02:54 PM ----------

locking your bootloader is all that is needed for your phone to accept OTA updates.
[HTC One SV] b666:
OK, I try...
[HTC One SV] mlesic:
Root for 4.2.2 - is possible, same as before or not possible?
[HTC One SV] simonsickle:
Any device with a recovery is rootable. Just flash the superuser.zip provided by koush
[HTC One SV] mlesic:
Stock recovery? I have stock everything. S-on. Bootloader locked. No root. 4.2.2 SV lte.

Moonshine is for 4.1.2 as i can see. I just want to remove bloat...so to get root what do i have to do now on 4.2.2? Unlock on htcdev? Then twrp and flash root?
[HTC One SV] russellvone:
you got it!
[HTC One SV] old.splatterhand:
Not so easy atm.

As long as you are S-Off, you can delete bloatware anyway.

New Software version = new kernel with write protection.

S-On, you need a kernel with write protection disabled.
[HTC One SV] russellvone:
completely forgot about write protection.

I've been s-off for so long....lol

s-on with custom kernel would work

thanks for looking out old.splatterhand

:highfive:
[HTC One SV] b666:
(fastboot oem lock) - I run OTA update, the phone reboot into bootloader and shows me- Tampered,Relocked, Security Warning and nothing, what is a problém???
[HTC One SV] b666:
Helou, any help???
[HTC One SV] russellvone:
yes sorry, please explain 'security' warning?
[HTC One SV] Seanie280672:
Yes it is possible, if you falsh TWRP recovery after the sense 5 update and go into your recover, just do something in there like run a backup then clear your caches, as you exit it will say your rom is not currently rooted, would you like to install super SU now, say yes, then update it when your phone reboots.
[HTC One SV] b666:
So, I made the Windows 7 fastboot oem lock and then I wrote the bootloader - tampered, Relocked, Security Warning. Previously I had written tampered, Unlocked. Phone me started, I started OTA update, the phone will restart and the update does not start and jumped bootloader. That's all. If you give your phone in bootloader reboot and starts it all, the phone is still root and update to 4.2.2 JB does not make me ... . I'm already out of the desperate ...
[HTC One SV] mlesic:
Can you point me to which twrp is for sv (some guide how to flash twrp)? First i must unlock bootloader on htcdev. But s-off i can't get - is that true? Or i dont even need s off for root?
[HTC One SV] Seanie280672:
Why will the update not start, what error code is it giving you ?

can you also tell me if its the official OTA 4.2.2 update that you are trying to install ?

---------- Post added at 10:32 AM ---------- Previous post was at 10:13 AM ----------

http://xdaforums.com/showthread.php?t=2357107

yes you will probably have to unlock the bootloader first if you are s-on

make sure you download the correct version for your phone model

rename the download to recovery and then place it in the same folder as fastboot on your computer

plug your phone into your computer and reboot it to fastboot

open command promt on your PC as administrator and cd to where fastboot and recovery is

then type fastboot flash recovery recovery.img and hit enter, it only takes a few seconds to flash

Why cant you s-off, have you updated to 4.2.2 already ?

you can find everything you need and instructions here, old.splatterhands index thread, very helpful http://xdaforums.com/showthread.php?t=2292432
[HTC One SV] b666:
Seanie280672;47311526]Why will the update not start, what error code is it giving you ? Can you also tell me if its the official OTA 4.2.2 update that you are trying to install ?

In the phone I click to update JB 4.2.2, I click install now, the phone will restart and nothing starts the bootloader and that's it ... Not report any error, just jumps into the bootloader and that's it. Nothing has been updated. Yes I try to install the official 4.2.2 JB via wifi ...
[HTC One SV] mlesic:
I updated to 4.2.2 and moonshine is for 4.1.2

I would need to downgrade to ics or jb 4.1.2 to get s-off?

Just run RUU?

Didnt do soff and unlock bootloader because then i cant get ota update. Now i have 4.2.2 but no root and soff. For now is ok. Maybee someone do moonshine for 422... All this is risky for me to experiment... Unlock bootloader, soff, root, flashing, twrp, can get ota - cant get ota, relock bootloader...

For now is better to wait and learn more!
[HTC One SV] Seanie280672:
Yes you would probably have to downgrade to ICS then run your OTA updates just to the point of JB, then moonshine s-off, and then update again to sense 5, once you are s-off, you'll always be s-off
[HTC One SV] b666:
Help me please...
[HTC One SV] Seanie280672:
Do you have the stock recovery on your phone ? and is the jelly bean on your phone completely stock ? nothing removed
[HTC One SV] b666:
I have the original HTC ROM 4.1.2 on the phone, the phone has been rooted, now there is a new official ROM 4.2.2 with HTC Sense 5 and I do not know update! The phone is Relocked and not update, Bootloader starts and that's all ...
[HTC One SV] Seanie280672:
This is very strange, if you are on stock now it should update fine, try deleting the update off your internal memory on your phone and re-download it, maybe there is some corruption in the download.
[HTC One SV] toxic-hero:
you can write to moonshine and ask them politely if they can do it. they probably don't know about our update because they don't have every htc phone that exist.
[HTC One SV] b666:
Not work re-download!
[HTC One SV] Seanie280672:
If you are still on 4.1.2 you can moonshine s-off now, give that a try, it was built for JB
[HTC One SV] :
I got a feeling that you removed some systems apps, files, etc while still on 4.1.2 which is why you are not having any success. If so then you need to restore those if you have an available backup. Also, make sure that you have flashed back your stock recovery.img. You cannot have a custom recovery when trying to update from an OTA.

In addition, I understand that your English is not that good, but you need to try and explain better with more in depth details given your situation. :)

---------- Post added at 01:14 AM ---------- Previous post was at 01:09 AM ----------

Also, make sure that the OTA you are recieving is proper for your phone. For example, K2_CL, K2_UL, K2_U, etc. I have K2_CL, so assuming I successfully recieved an OTA to download after making some modifications on my behalf it would still be wreckless to mismatch this stuff if not knowing what you are doing. However, if this OTA you are recieving is indeed legit then fall back to my last comment.

---------- Post added at 01:20 AM ---------- Previous post was at 01:14 AM ----------

I have seen this situation before. You do not have a recovery.img on your device. Or if you do it is corrupted and will not load so it aborts and takes you to the bootloader. You need to FLASH a stock recovery image to your device through fastboot. This will resolve this particular problem you are having.
[HTC One SV] b666:
Thank you very much for your help, but my phone was sent to HTC service. I'm a beginner and my english is poor :)
[HTC One SV] b666:
Ok, I try flash recovery - adb devices, adb reboot bootloader, fastboot flash recovery recovery.img - not work!!!

writting recovery...

bootloader signature checking...

failed remote signature verify fail

finished

Where is again problem????
[HTC One SV] Seanie280672:
Was your phone in fastboot mode too or was in just in the hboot in the bootloader, sometimes the simple things cause the biggest problems.

Also, whilst you are in the bootloader, at the top of the screen it gives your device model, mine is k2_ul, can you tell me please what yours is.
[HTC One SV] b666:
My phone is K2_UL. My phone was in fastboot USB and flash recovery not work....
[HTC One SV] Seanie280672:
OK thanks, there is another thing you could try, if you download the update, then when it asks you if you would like to install now say no, then plug your phone into your computer and copy the update from your internal memory on your phone to your PC desktop, then on your PC extract firmware.zip from the update, and then extract recovery.img from the firmware.zip file.

Then place that recovery file in your fastboot directory on your PC and try and flash that one, this will be the newest recovery for your device.

This is something which I had to do when I got the update from ICS to JB for the update to work.
[HTC One SV] b666:
I also tried the latest recovery from JB 4.2.2 - it's not working!
[HTC One SV] Seanie280672:
I just noticed you relocked your bootloader, you need to unlock that to beable to flash anything other than an official RUU, this is probably why its failing the flash.

Something similar happened to me recently when I was too impatient to wait for my official sense 5 update, I managed to get my hands on a modded Russian sense 5 update and tried to flash that, it failed and got stuck on updating the system partition, it was stuck there for ages, so I pulled the battery, when the phone restarted I had no rom, the bootloader was locked and I too was unable to flash a custom recovery to restore any back-up's.

The way I got my phone working again, was to downgrade my hboot to 1.00 from old.splatterhands link and then run the ICS RUU, that's the only thing that worked. after I was back on ICS I was able to download all the updates back to JB, I then unlocked my bootloader and flashed a custome recovery, a few days later my official sense 5 update appeared.
[HTC One SV] b666:
Ok, how to unlock my relocked bootloader???? Please step by step...
[HTC One SV] Seanie280672:
The same way you unlocked it the first time.

Go here and follow the instructions: http://www.htcdev.com/bootloader
[HTC One SV] b666:
Ok, I have my unlock_code files from first unlock, I can unlock with it or do I have to newly???
[HTC One SV] Seanie280672:
Never tried it, but I don't see why it shouldn't work
[HTC One SV] b666:
Ok, if I have the unlock code so what is the procedure?? I do not remember ...
[HTC One SV] Seanie280672:
I don't remember either, its been a long time since I unlocked my bootloader, but as far as I can remember, you just place the token file you have in the fastboot folder and flash it to the phone the same way you would if you were flashing a custom recovery, with a fastboot flash command and you phone in fastboot USB mode.
[HTC One SV] b666:
OK, tomorrow I'll try and write here in the forum. Thanks for your help ...
[HTC One SV] Seanie280672:
In the command prompt type: fastboot flash unlocktoken Unlock_code.bin (I Copied this from the HTC Dev Site)

To be sure, run command promt as administrator
[HTC One SV] b666:
OK, thanx, I try...
[HTC One SV] b666:
Seanie280672 - Thank you very much for your help and time devoted to me. I have a JB 4.2.2, everything works beautifully! Super! Now I needed a root, I want to let official ROM, just need Root and I fear brick my phone :)
[HTC One SV] old.splatterhand:
You have already TWRP recovery?

- Yes, then flash latest SuperSU.zip

- No, then install recovery with fastboot
[HTC One SV] Seanie280672:
Glad to help, thats what we are here for.

When you install TWRP recovery, do a full backup in recovery, when its finished and you decide to reboot your phone, TWRP will say your rom is not rooted, would you like to root now, just say yes and it will install SuperSU files required for you, when the phone is back on, open SuperSU and update the binary file and also update the app through playstore.

Its one added beauty of TWRP
[HTC One SV] b666:
Old.splatterhand and Seanie - what is TWRP??? I've used in the past CWM. TWRP is better???
[HTC One SV] Seanie280672:
I prefer TWRP recovery myself. theres a link to it here, just flash it the same way you do any other recovery, make sure you download the correct one for you phone model, in your case K2_UL, link below thanks to old.splatterhand. Download version 2.6

http://xdaforums.com/showthread.php?t=2292432

Wish there was a ext4 recovery for our device though.
[HTC One SV] b666:
Ok, I have downloaded this file - TWRP2.6-92113.img - and now what is next step? Sorry, I am total amater:)
[HTC One SV] Seanie280672:
Rename that file to recovery.img and put it in your fastboot directory on your PC, plug your phone into the computer and reboot it to fastboot USB mode in the bootloader.

In your fastboot folder, hold the shift key and right click in any clear space, select open command window here.

type: fastboot flash recovery recovery.img and wait for it to finish, only takes a couple of seconds.

p.s YOUR BOOTLOADER MUST BE UNLOCKED FOR IT TO WORK
[HTC One SV] b666:
Ok, I try and write to this forum:)
[HTC One SV] old.splatterhand:
Please use the twrp which i linked for you. It is made fit for Android 4.2.2.
[HTC One SV] Seanie280672:
Sorry mate I didnt realize there was another new one, just downloading it myself now, thanks
[HTC One SV] b666:
Ou, I flashed files from link Seanie!!!! What now??? I am now in bootloader, at the moment without restart...
[HTC One SV] russellvone:
Use what old.splatterhand posted

TWRP recovery

- SuperSU.zip
[HTC One SV] b666:
Flash I new TWRP again?? And what can I do with previous TWRP from Seanie?? I have to uninstall it?
[HTC One SV] russellvone:
no it will just flash over

no problem

but if you want to erase old one first

fastboot erase recovery