yashsingh1/xdaforums huggingface dataset:
[HTC One SV] triagony:
AW: [GUIDE] Root for HTC One SV

Are you sure, that you are connected to your phone through adb?
[HTC One SV] neni96:
Still the same

i get still the same problem...
[HTC One SV] bkcokota:
Re: [GUIDE] Root for HTC One SV

Ok, his having issues with drivers, can you please have a look into device manager for me and tell me if the phone is listed as myhtc or unknown device, if it is listed as unknown can you please check the device ID, it should be the same as what we've posted earlier but if it's different it could be an issue.
[HTC One SV] old.splatterhand:
@ Dabman

I don't know if it could help you, but i have a jelly bean "test rom" for k2_ul.

If you wanna try it, i will send you the link.
[HTC One SV] Dabman:
fastboot:

fastbootRUU:

any idea?
[HTC One SV] old.splatterhand:
This is not for fastboot, this is for flashing in cwm recovery.
[HTC One SV] Dabman:
man thanks alot, this one help me! now i will try update this phone to regular jb again :)
[HTC One SV] old.splatterhand:
So, this rom booted for you and work without errors?

Yeah, post number 500 :D:D
[HTC One SV] Dabman:
work great, but now i reflash recovery using old recovery.ima and i can't update over OTA

Someone can extract recovery and boot from last OTA and Share?
[HTC One SV] old.splatterhand:
Here recovery please. Give it a try.

And now of to bed, its late. ;)
[HTC One SV] Dabman:
OTA update :)

http://youtu.be/RPXxPgkHTTI
[HTC One SV] old.splatterhand:
[ROM] Jelly Bean Stock Odexed k2_u & k2_ul (cwm flashable)
[HTC One SV] Dabman:
now we only need TWRP and CM port for this unit.

Admin reate One SV section!

edit:

in /dev/block/mmcblk0p6

offset 8874 is mediaid, when i chenge it from PL801**** to PL8010000

was still media id fail. but i also checked fastboot getvar all and still was PL801****

i check from mmcblk0p1 to mmcblk0p13 but only in mmcblk0p6 was PL801**** so i was change it but without resultat.

edit2:

now i don't undestand...
[HTC One SV] jmz:
Can I get a cricket user to test this kernel? I included stock kernel in case it doesn't boot for some reason

reboot into fastboot and run the command

fastboot flash boot boot.img

Test kernel -- https://dl.dropboxusercontent.com/u/28491940/boot.img

Stock kernel -- https://dl.dropboxusercontent.com/u/28491940/bootstock.img
[HTC One SV] Seanie280672:
Cricket ? is that the K2_UL 4g LTE version of the phone, so many different versions and codenames for this phone about im loosing track. if so I will test when I get home later from work, could you tell me what the changes are please ?
[HTC One SV] El Queson:
No.. Cricket is K2PLC_CL

K2_UL (Europe LTE)

K2_U (Europe Non-LTE)

K2_CL (Boost Mobile)

I think. Please someone correct me if im wrong.
[HTC One SV] Seanie280672:
I don't think boost mobile is K2_UL, there's loads of kernels floating around for the boost mobile version of this phone that arnt compatible with mine which is also K2_UL Europe.
[HTC One SV] jmz:
Boost is K2_CL
[HTC One SV] swes013:
Alright i tried the test kernel. It did not get all the way through to the phones home screen. It locked the phone with a wait or OK window box saying the process was not responding. I am a Cricket service provider user located in San Antonio Texas. Lets keep up the development people. Make sure you share your experiences and ideas! That's what it is all about people!!! Thank you jmztaylor for all your tireless work.
[HTC One SV] shawn328:
I did the super cid method..haven't pushed it yet because the original mmcblk0p4 file is reading 1 kb where as the mmcblk0p4MOD file is reading 1016 kb ...The tutorial reads that the file has to be same size. So do i push or am i saving it wrong?
[HTC One SV] old.splatterhand:
There i would be careful, it must be same size!!!
[HTC One SV] shawn328:
Thanks I'm not going to push it yet I saw where somebody hard bricked because there hxd wasn't set to overwrite so it appended to it which I think is why my saved file is a little bigger
[HTC One SV] shawn328:
For us cricket users. If you use hxd to edit mmcblk0p4 make sure you wirte 11111111 on notepad and copy. Then highlight the cricket001. Right click over the highlighted text chose "insert write". If you delete the original cid then put in the supercid it will change the file size. But I'm happy to say I am now S-OFF:D
[HTC One SV] neroinc:
Hi

How to remove the root please?

I tried to delete the files manually, but it does not work, the phone restarts with superuser.

I'm on the latest release, S-ON
[HTC One SV] old.splatterhand:
Try to flash Superuser.zip, but remove Superuser.apk and su files from it before.
[HTC One SV] bkcokota:
I am looking for someone with a k2_ul to give me a hand with something that may take a while, if anyone has one and wants to help, send me a pm and I'll get back to you with what I need. Sorry about the lack of activity as of late, I've been busy with a couple of other things which have come up.
[HTC One SV] old.splatterhand:
Nice to have you still around here!

I'm sad i can not help you with my k2u, i really would do.

Hope you find somebody soon!
[HTC One SV] bkcokota:
Well it looks like a lot has happened in my absence, and I appreciate the offer, I'm hoping I can use a workaround to having a second person anyway.
[HTC One SV] Matlevo12:
Wilco, sir.

Salut Neroinc :)

Try "Universal Unroot", it works well, I just tried it.

Edit : Sorry I was wrong, su comes back after reboot.
[HTC One SV] Seanie280672:
I have the K2_UL welcome to PM me if you like, im in the UK though so messages will be 12 hours ish apart.
[HTC One SV] bkcokota:
Thanks to everyone who sent me a PM offering to help, I'll get back to you ASAP about what I need.
[HTC One SV] robdevil:
I cant get supercid :( every time wehen i flash moded block it comes back to normal orange uk
[HTC One SV] old.splatterhand:
Are you on Jelly Bean?
[HTC One SV] jmz:
AWell I'm in the market for a one sv. I'm interested in the k2ul only. Anyone know of a good place to buy one around $250?
[HTC One SV] old.splatterhand:
You mean k2ul, don't you?

Or is there another version of One SV floating round?
[HTC One SV] Matlevo12:
Adb in recovery

Q : Is there a way to run adb commands outside of a "normally booted phone" ? In CWM ? Stock recovery ? Tempory something ?

I tried in a couple of different ways but it didn't work out.

Thanks !
[HTC One SV] jmz:
Yeah typo
[HTC One SV] old.splatterhand:
Normally it should work in cwm but in this build i could not get it to work.
[HTC One SV] bkcokota:
I've been looking into that too, it did work initially when I first started doing recovery builds however I think the latest couple of usb driver updates from HTC may have changed something, I'm still actually looking further into what's causing it as I can't see anything obvious.

Quick edit, it does seem to work intermittently depending on something, it seems like sometimes when I'm in recovery it works, other times it doesn't. Well that's odd. Sideload works perfectly though.
[HTC One SV] jmz:
Use the script that is in the sbin dir of this repo. Should fix your adb issues. https://github.com/jmztaylor/android_device_htc_totemc2
[HTC One SV] bkcokota:
Thanks jmz, I'll merge that into my source.

EDIT: here is a build with the fix for adb recovery included, it is just a quick update and doesn't include all the latest changes as there are a couple of nasty bugs which have been causing builds to not work as intended. recovery.img
[HTC One SV] Matlevo12:
YEAH !

ADB seem to work perfectly well with this recovery, according to what I tested.

I had to install the latest version of HTC drivers (included with the latest HTC Sync) to get my "android phone" installed properly by windows, and get a result to "adb devices".

EDIT........................................

In case some of you wonder, I tried to change my CID using ADB in redovery. Since there is no need for "su" there, I (hopefully) thought that might work. It didn't... haha. My original CID came back after rebooting. Logical !

I think It'll be useful if you're somehow stuck with an ICS phone not being able to boot on anything and you want to change CID to flash a ICS RUU, for a start, but there are probably a lot of different ways to use this.

THANKS !
[HTC One SV] old.splatterhand:
k2u & k2ul are now supported by TURBO BOOST - Triple Swap Space in Cache/Data/System

Hey guys, why it is so silent here :D

Time to break this and get a little bit color in your life, lol.

Ok, back to reality.

HTC One SV k2u and k2ul are now supported by this mod:

TURBO BOOST - Triple Swap Space in Cache, Data, System

Read it, try it and lets talk about it...

Cheers!
[HTC One SV] old.splatterhand:
Updated the first two posts of my Mods threat

- All mods are made for k2_ul too (with Softwareversion 2.14.401.6)

- Downloads moved to Dropbox

- Added Md5 Sum

- Flashable also for HTCdev unlocked users (who are on the same base)
[HTC One SV] sakax:
did someone have succes with disabling the kernel write protection by loading below module?

http://xdaforums.com/showpost.php?p=35737237&postcount=1

we urgently need to defeat the kernel write protection... what a dishonest practice by HTC. providing bootloader unlocking guidelines while using a write protecting kernel. the HTC One SV device only has 4 gb internal storage which requires us to exclude the bloat asap.
[HTC One SV] jmz:
Which variation
[HTC One SV] sakax:
not sure if I fully understand your question but i have a blue European HTC One SV

android version: 4.1.2

software number: 2.14.401.107

kernel version: 3.4.10-gcfac810
[HTC One SV] jmz:
If you s-off you won't have that wp issue anymore
[HTC One SV] old.splatterhand:
Most people don't have S-Off.

Some are not brave enough and others upgraded to jelly bean before thinking about other possible (and important) solutions.

No offense.
[HTC One SV] jmz:
Ok then. Do you have the jb boot.img for k2u and k2ul?
[HTC One SV] old.splatterhand:
Yes, both.
[HTC One SV] sakax:
could someone explain what's meant with S-off, k2u and k2ul

if someone can guide me i will be able to provide you jelly bean's boot.img

i right now have a rooted HTC One SV device with CWM recovery
[HTC One SV] jmz:
Can you send them to me along with lcd.ko from each Rom? It will save me the hassle of downloading both roms
[HTC One SV] old.splatterhand:
Where can i find it?
[HTC One SV] jmz:
System/lib/modules
[HTC One SV] old.splatterhand:
Uploading...

---------- Post added at 08:00 PM ---------- Previous post was at 07:54 PM ----------

....done.

https://dl.dropboxusercontent.com/u/47058905/boot_lcd.rar
[HTC One SV] Matlevo12:
When you boot into bootloader (vol- + power), it'l be said in the first lines.

One SV (K2) exist in different versions, U, UL, CL, etc.

S-OFF is ... the opposite of S-ON :)

Can't wait for what's coming.

Thanks you already !
[HTC One SV] sakax:
i have a K2_U... thanks for clarifying this one :D the other one still doesnt make sense... where does S-ON stand for? thanks
[HTC One SV] jmz:
here you go. let me know how it works

http://teamdirt.me/showthread.php?133-Disable-Write-Protection-to-system-on-JB-K2U-amp-K2UL
[HTC One SV] sakax:
i did some reading regarding S-off

would it be safe for my K2_U european version?

CWS__001 is HTC__E11 for my version... would it be safe for changing it in 11111111 to obtain superCID (no idea what CID means.. if someone could clarify this one too?)
[HTC One SV] old.splatterhand:
You are on Jelly Bean and as far as i know the method to change CID to SuperCID does not work on JB.

So no S-Off for you atm.
[HTC One SV] sakax:
it went bad... i think my phone is broken. its in a constant loop and shows bootloader with recovery warnings in red on white background

i flashed the zip archive for 2KU through recovery and restarted the phone... not abnormal. went straight to home screen. i then issued the fastboot command from step 4 and its stuck in a loop.

1. Download below

2. Flash in recovery

3. Extract boot.img from zip

4. Issue command fastboot flash boot boot.img

5. Profit

how can i recover my phone? i need to reflash original boot.img but i dont have backup? please help :( i need this phone for work tomorrow
[HTC One SV] jmz:
Ok first, are you on jb firmware or ics?
[HTC One SV] sakax:
jb
[HTC One SV] jmz:
There is no reason that should have happened. Download the file below. Open it up and extract boot.img from the k2u folder. Reboot to fastboot and fastboot flash boot boot.img

https://dl.dropboxusercontent.com/u/47058905/boot_lcd.rar
[HTC One SV] sakax:
again working :good: thank you so much

i noticed that the boot.img which you let me flash first is a lot smaller than this last one which recovered my phone... is it possible that you mixed up both variants?
[HTC One SV] jmz:
No. Technically either will boot either phone. I have zero explanation on why the one i posted caused a bootloop.
[HTC One SV] sakax:
maybe i did something wrong?

is it allowed to reboot between flashing the zip archive in recovery and the flashboot command? as flashboot doenst work in recovery I rebooted the phone and it first went back in jelly bean home screen. then i rebooted into bootloader to execute the flashboot command...
[HTC One SV] old.splatterhand:
For me the k2u.zip booted without a problem.

Can't test wp cause i'm S-off.
[HTC One SV] sakax:
after flashing the zip in recovery... did you execute the flashboot command too? then it went wrong for me
[HTC One SV] jmz:
he is s-off. so flashing just the zip is flashing the boot.img also
[HTC One SV] old.splatterhand:
With S-off there is no need for fastboot. All i need is in the zip and flashed through cwm.

Only htcdev unlocked users must use fastboot to flash boot.img.
[HTC One SV] sakax:
screw HTC... last time i bought a device from them. why do they allow us to unlock the bootloader if they keep the kernel write protected? screw you HTC!

---------- Post added at 09:36 PM ---------- Previous post was at 09:30 PM ----------

maybe my root is not correctly done... i just noticed that adaway doesnt - after reboot it is always disabled

---------- Post added at 10:33 PM ---------- Previous post was at 09:36 PM ----------

which options do we have left to get S-off? the public kernel sources by HTC... are these 100% complete? could anyone compile these without the write protection enabled and reflash his device?
[HTC One SV] Matlevo12:
Same problem here.

Tried it this morning.

Flashed with cwm, rebooted into fastboot and flashed boot.img from zip and got into bootloop.

Got things back with cwm restore with associated boot.img flash.

I didn't try just flashing new boot.img (or mine from cwm backup) after bootloop, but could it work ? Would I still have system wp ?

Sakax, are you able to write system now ?

Is it possible that the boot.img from wpfix.zip is corrupted ? I confirm it's smaller than the other boot.img I have.

Thanks !
[HTC One SV] Aurore:
Tried to extract the wp_mod.ko from the archive on my sdcard and to insmod it directly...

It caused my phone (k2_ul) to reboot, so I think this explains the bootloop.

No.

The new boot.img contains a script to do at startup what I tried to do manually, so the flash in cwm alone does nothing (the kernel module must be loaded with the "insmod" command), and the boot.img alone does nothing because it has no kernel module to load.
[HTC One SV] jmz:
Wow. That's interesting. I wonder what they changed on the SV?
[HTC One SV] old.splatterhand:
Boost mobile Users have an kernel without wp: http://androidforums.com/one-sv-all-things-root/705583-boost-mobile-one-sv-kernel-development.html

Maybe it can help to take a look at it or on the github sources.
[HTC One SV] sakax:
yes i also think that a custom kernel with disabled write protection will be the best solution :D if just someone would have the dedication and experience to compile it :cowboy:

in the meantime... is someone able to make a modified stock rom without all the bloatware for my K2U device but with root included so it still will work after a reboot? a stock rom without EA crap, facebook, .... and other bloat would be nice to play with in the meantime.
[HTC One SV] titin83:
I am interested of deleting some app than my mobile has ( facebook , google+ , etc). Can i do it following this guide? I mean , after get root access , could i do it even thougt i can´t get S-OFF , or have i to flash another rom before?? i have JB and HBOOT 2.00.0000. my mobile is Vodafone Spain.

Thanks in advance.
[HTC One SV] sakax:
old.splatterhand was so generous to create a 1:1 backup of the official rom. right now this is the only solution to get rid of unwanted apps for devices which cannot s-off yet (just delete apk's in the zip archive and reflash from recovery). there is only 1 downside.... there is an issue with bluetooth right now... it doesnt turn on.

http://xdaforums.com/showthread.php?t=2254384
[HTC One SV] titin83:
So if i understood fine , i have to get root access following this guide and then , flash that rom after delete all apk´s that i don´t need. Am i right? I also soppose that i can follow this guide to get root despite being JB , don´t i??

thanks
[HTC One SV] old.splatterhand:
You need to remove the apps from the zip (don't unzip it), before flashing.

But as long the ROM isn't fully working, think twice if you can live without bluetooth!
[HTC One SV] sakax:
how did you make the zip archive? did you use a specific backup app or was is manually done?
[HTC One SV] old.splatterhand:
A system dump and dsixas kitchen.
[HTC One SV] rollon76:
If you want firmware for k2_ul without any bloatware and security, full deodex, with volume wake and turbo boost mod - take ithere

boot.img from rom is a custom kernel with many goodies( also with all security off, fastcharge,otg and many more.Link to Github) . Can work on k2_u and k2_ul version.

The new TWRP Recovery for our device is here http://4pda.ru/forum/index.php?s=&showtopic=439253&view=findpost&p=21464762

We have a very big topic for the ONE SV device.

For details http://4pda.ru/forum/index.php?showtopic=439253
[HTC One SV] bkcokota:
This sounds very interesting, unfortunately it seems like the download link for the recovery is broken, can anyone else download it or is it just me?
[HTC One SV] rollon76:
Here is another link for you
[HTC One SV] titin83:
what a mess... everything in in russian and the google translation is not very good... :rolleyes::rolleyes:
[HTC One SV] old.splatterhand:
It's really hard to download it ;)

What can work for k2u? Recovery, Rom, or kernel?

Anyway, thanks for sharing and keep us informed if there is more we can use!
[HTC One SV] rollon76:
Recovery and kernel works fine.May be rom working too.
[HTC One SV] old.splatterhand:
Any chance for sharing the kernel only?

I'm only on mobile now and the whole rom is to big.

And a question for recovery: any bugs or anything which don't work?
[HTC One SV] rollon76:
Everything work fine in TWRP.No bugs found at all

Here is a kernel only
[HTC One SV] jmz:
can someone ask the person that did the working twrp for the device folder?
[HTC One SV] Matlevo12:
WOOOOOOOHOOOOOO

It's christmas :)

Thanks for all the links to test, can't wait !

In case anyone is interested, I modded old.splatterhand stock rom to create a "light" version, here's the link :

[HTC One SV][Rom] JBStocklight (K2_UL) [work in progress]

Feel free to test and give feedback !
[HTC One SV] old.splatterhand:
First impression k2_u (only flashed kernel), stock rom is booting, wlan don't work.
[HTC One SV] Matlevo12:
Same here, no wifi.

BUT it does remove wp, I'm on Jb and S-On, and I did remove a system app.

So... I'll probably be able to go SuperCid and S-Off !

Rollon66, any idea about that ?

From what you know, is it possible to go S-off with Hboot 2.00 and this fantastic kernel ?
[HTC One SV] old.splatterhand:
Have you tried the whole rom or only boot.img?

Maybe some libs or modules missing, which are in the rom?
[HTC One SV] rollon76:
Yes! Copy it from /system/lib/module from my rom

Here is a link to kernel with modules.

Install it from recovery

I have S-OFF, but i dont know anybody who make s-off from h-boot 2.0.

I made downgrade to hboot 1.0 and back to 2.0, but i have s-off.
[HTC One SV] old.splatterhand:
I don't think, system write protection and hboot write protection are the same (but correct me if i'm wrong).

I read a lot in Desire X section and about S-Off for Wildfire S/HTC Explorer, as far as i understand, hboot wp is there in another way.

@ rollon76

Thanks for the kernel, will try it. Is it overclockable?

Is it ok for you and the TWRP dev if i open a thread on xda for discussing?
[HTC One SV] rollon76:
I made kernel without overclock. The one of the feature of this kernel is a low power consumption.

But it is a possible to add overclock about 1.4-1.6 Ghz.You need to change a few files in source.

I don't mind for TWRP discussing.

---------- Post added at 07:26 PM ---------- Previous post was at 07:20 PM ----------

And whats about one sv thread on xda?

Who know when we have our thread on forum?

I think that we have more than enough developments

P.S Here is a link to toolchain from my kernel on github
[HTC One SV] old.splatterhand:
If you can build an oc kernel, would be great! Maybe think about an extra kernel thread to keep discussion, where it belongs. Thats why i want to open a TWRP thread. I think we will get a forum, if we can show discussion and development threads. The most discussion is in this thread and things get mixed and hard to find. Also a reason for my signature, but i think we really need a "Roadmap" Guide for all important things.

Had a look at 4pda the last hour (its not new for me, was there in HTC HD mini times), and it seems our Russian friends have done many "funny" things for our device. :D
[HTC One SV] sakax:
Do we now have a fully working custom kernel for k2u? :)
[HTC One SV] old.splatterhand:
I flashed the zip some minutes ago, wifi is working and everything seems fine as far i could see in this short time.

Tried USB OTG, but usb stick needs to be charged. But it recognises that there is something.

Great work!
[HTC One SV] rollon76:
Kernel is the same for both devices.The differences in rom only
[HTC One SV] swes013:
Is there anyone out there willing to do some development work for a custom kernel for cricket users here in the us that are k2
[HTC One SV] old.splatterhand:
So i posted a thread for TWRP Recovery, to discuss and keep things clear.

It should not be mixed with the recovery from here, so please people take the other thread to talk about!

As in respect for bkcokota i don't post the link here, look in profil or in my signature.
[HTC One SV] sakax:
Do I understand it correctly that k2ul kernel works on k2u?
[HTC One SV] old.splatterhand:
Yes, this kernel works, i have also k2u.
[HTC One SV] MasterDL:
May I ask how you downgraded to hboot 1.00
[HTC One SV] titin83:
Why can´t we delete system app using titanium backup if we are not S-OFF?? with my old HTC Legend i could do it despite be S-ON...

If i get root , can i change the kernel after flashing the ROM??

thanks

---------- Post added at 10:08 PM ---------- Previous post was at 10:02 PM ----------

i am also interested in that. if i am able to downgrade my hboot , perhaps i can get S-OFF...
[HTC One SV] rollon76:
If you want to get s-off you need аn official RUU with CID and MID of yours device with hboot 1.0 inside.

For now we have only for RUU_K2_U_ICS_40_HTC_Europe_1.17.401.3 or the same for K2_UL.

If you have supercid than you wil be able to get s-off on hboot 2.0.

To change hboot you will need a PL80IMG.zip on sdcard with android-info.txt and hboot.img inside it.

reboot to bootloader and flash.
[HTC One SV] Seanie280672:
So just to make things clear, this Rom and kernel is for the k2_ul 4g LTE right ?

Has anyone flashed both yet ? Could u give me some feedback on the experience.

I love this phone and don't want to brick it as much as j want a custom Rom of it too, I'm always a bit weary in the begining, this is still very early days of kernals and roms for this phone

Tia
[HTC One SV] rollon76:
Yes it s for k2_ul 4g LTE, but working on K2-U too.

This build is working 2 weeks on my device.Everything all right.