yashsingh1/xdaforums huggingface dataset:
[HTC One X] wwwalex:
hmmm.. what is you get into 'adb shell' then run su to gain root rights and then dump misc patition:

dd if=/dev/block/mmcblk0p17 of=/data/local/misc.img

(ensure file is there by runing 'ls -la')

chmod 777 /data/local/misc.img

exit to windows cmd and run adb pull /data/local/misc.img
[HTC One X] Tiersten:
/data is mounted with the nosuid flag.
[HTC One X] wwwalex:
all partitions except /system are mounted with "nosuid" flag which doesn't allow use suid bit.. changing the way how /data is mounted requires changes in /system :) agin we stuck with S-ON
[HTC One X] ali3nfr3ak:
ok that worked.. attached
[HTC One X] perivarlura:
.. of course it is, why should they make it that simple :(

thanks for the answer anyway :)
[HTC One X] Rekoil:
rekoil@bullen:HTC EndeavorU → adb shell dd if=/dev/block/mmcblk0p17 | hexdump -C
00000000 62 6f 6f 74 2d 72 65 63 6f 76 65 72 79 00 00 00 |boot-recovery...|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000040 72 65 63 6f 76 65 72 79 0d 0a 00 00 00 00 00 00 |recovery........|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000023f0 00 00 00 00 00 00 00 00 00 00 00 00 00 46 4e 4f |.............FNO|
00002400 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |C...............|
00002410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00007000 00 4e 6f 6e 65 00 00 00 00 00 00 00 00 00 00 00 |.None...........|
00007010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
...

Nothing interesting.
[HTC One X] wwwalex:
there are some interesting flags in this partition. For instance, I suppose you ran adb commands after rebooting in recovery mode, did you? First flag is "DeviceWarmBoot" in my dump as I rebooted phone via 'adb shell reboot'.

I never seen GiftDone flag on unlocked phones.

Next.. both yours and ali3nfr3ak's misc.img has 'None' at address 0x7000

Mine has '1.1204.103.14' (Radio version) probably, because of recent OTA upgrade.

This partition never being wiped by RUU and contains non-violate flags which won't be disturbed by factory reset or reboot.

If RUU doesn't set boot into LOCKED state that means relevant flag must be saved somewhere like misc partition.
[HTC One X] tids2k:
this is what i have on 00007000

0007000 2e31 3231 3430 392e 2e30 3331 0000 0000
0007010 0000 0000 0000 0000 0000 0000 0000 0000

and the first fifty blocks

0000000 202a 6164 6d65 6e6f 6e20 746f 7220 6e75
0000010 696e 676e 202e 7473 7261 6974 676e 6920
0000020 2074 6f6e 2077 6e6f 7020 726f 2074 3035
0000030 3833 2a20 2a0a 6420 6561 6f6d 206e 7473
0000040 7261 6574 2064 7573 6363 7365 6673 6c75
0000050 796c 2a20 000a
0000055

NB: Phone is unlocked via HTC DEV
[HTC One X] wwwalex:
Please dump with hexdump -C

Cheers
[HTC One X] JeckyllHavok:
wwwalex, you should come in irc on #htc-one-x, there you get faster replies

by the way just to go on HTCs nerves, post here about unlocked bootloaders:

http://blog.htc.com/2012/04/your-phone-your-thoughts-tell-us-what-you-think/
[HTC One X] forelli:
Done, under Dantius Palpatine, my twitter name.

f.
[HTC One X] f4flake:
They're getting hammered, hahahahaha
[HTC One X] pdagenius:
Perhaps we should post this link more prominently and encourage as many as possible on XDA to do this.
[HTC One X] :
That why I have put it on my sig and been trying to post in different thread/sections for people to see :D
[HTC One X] SB13X:
I have also voiced my concern under SB13X :D
[HTC One X] KrisPerry:
We are fighting a losing battle
[HTC One X] Evil-Dragon:
What makes you say that? This is only the beginning. With enough people we can turn the tide, it just needs everyone to get on board and write something. People can feel free to use what I wrote on the s-off thread if they want to.
[HTC One X] f4flake:
had a reply from Simonsimons. He's broken his computer and needs me to raise money so he can look at our problem.

:rolleyes:
[HTC One X] ossy1337:
Are you ****in kidding me???? Everyone tries to get money from the community now?!
[HTC One X] f4flake:
Seriously, I wondered if the pm had come from Nigeria.
[HTC One X] nikorette:
So your really not joking? Wow that's low
[HTC One X] Arkaknio:
ROLF, nigerian letters.

P.D: I can develop an exploit to gain S-OFF in the One X but I need some money from the community to buy an Audi S3 that will help me a lot with the development, lol.
[HTC One X] f4flake:
I'll speak to my local audi dealer but in the meant time perhaps I could simply send you my account details so that you might help your self.
[HTC One X] nikorette:
It's ok I recently inherited a sum of $30 000 000 USD from my uncle Peter Smyth and left me as the only beneficiary. I am still waiting for the funds to be deposited (6 months later mind you) into my bank account by HJP Holdings from Nigeria. Once it arrives ill have a V12 R8 delivered to your address I only need you bank account in return so I can... ;)
[HTC One X] theliquid:
Haha #epicfail ...

Tell him to buy a Raspberry Pi for only $35 :D

http://www.raspberrypi.org/faqs

That little board is enough for programming :D

By starting a S-OFF bounty and supporting kernel developers with donations (<- fail) now everyone tries to get money out of the community...
[HTC One X] abc27:
We all should link to the HTC Blog in our signatures and give them a piece of our mind.
[HTC One X] Appsdroid:
Ive added mine mate theres over 200 complaints on there now and not one response from HTC. Stupid really as this time last year the CEO stated they were not locking bootloaders anymore.
[HTC One X] simonkingit:
Hi

I have a locked Verizon phone. I am now in South Africa and I've found out that my phone will not work on any or their network carriers.

If I root my Samsung Galaxy will the root allow me to use one of their local carriers, like Vodacom or MTN?

Many Thanks
[HTC One X] eddyedwards007:
Why you asking about a Samsung in the One X forums?
[HTC One X] rn9215:
http://onexroot.com/one-x-root/root-any-htc-one-x-windowsmaclinuxattinternationalone-click-method/

Has anybody tried this method to root the phone.It says we dontt need S-Off to achieve root!;)
[HTC One X] xmoo:
Won't work. Is the Tacoroot method, which only works for S4 chipset.

http://xdaforums.com/showpost.php?p=26703498&postcount=2283
[HTC One X] Stix0rz:
I've got a raging clue, it's pointing to the link address.
[HTC One X] schnurzelat:
Hmmmm, i tried the commands step by step. I think the problem seems to be, that if /system is mounted ro again, all changes are gone.
[HTC One X] :
Wrong forum. And no, Verizon is a CDMA carrier and as far as I know, none of their Samsung devices are "global" phones.
[HTC One X] BlueJack22:
Flash this misc

Can someone without htcdev unlock try this:

Flash the misc.img from Post 87 (unlocked one) by doing

adb push 'misc.img /data/local/misc.img'

adb shell 'chmod 777 /data/local/misc.img'

adb shell su dd if=/data/local/misc.img of=/dev/block/mmcblk0p17

adb reboot bootloader
[HTC One X] johncore:
/data is mounted nosuid, btw, so this is pointless, but:

adb shell su dd if=/data/local/misc.img of=/dev/block/mmcblk0p17

/system/bin/sh: su: not found
[HTC One X] BlueJack22:
Try without su

If it isn't working check how to get temp-root and try it again with su

I'm currently working to get this misc and simonsimons34 tools working together
[HTC One X] BlueJack22:
This is Simons' tool for HTC ONE X for Linux. I made a few changes and hope that it's working now. If your bootloader is still locked, then try to update hboot and when it works the bootloader is now unlocked

Someone without htcdev unlock can try it?

In next.sh I think it isn't

adb shell 'mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

on the HTC ONE X

I think you need to run

adb-mac shell "mount -o remount,rw -t ext4 /dev/block/mmcblk0p12 /system

Right?
[HTC One X] KrisPerry:
Give me instructions and I'll try it
[HTC One X] Squirrels:
I thought it was already mentioned that tacoroot doesn't work (at least for tegra 3) or maybe my memory is scrambled.
[HTC One X] KrisPerry:
Yes but it has been modified
[HTC One X] Squirrels:
Interesting, I'll let someone braver than I be the guinea pig though. :)
[HTC One X] KrisPerry:
I'll happily do it if someone can give me step by step
[HTC One X] Kickasskev:
No windows version?
[HTC One X] miniudavid:
Only linux. I'll try try it if I get the chance to root without HTC dev
[HTC One X] glukosio:
if someone will write a step by step guide i'll try it on my hox... i have linux and i want root :D
[HTC One X] nighty2k:
i don't have a linux machine at the moment, but i looked into the files in an editor.

it seems to me, that it should be quite simple:

1. plug your phone over usb to your machine

2. enable usb-debugging (skip, if already done)

3. run file 'run_first.sh' - this file should install adb drivers on your machine. if they are already installed and working, you can skip this point

4. run file 'next.sh' - this one should do everythind needed to get your HOX rooted. it will inform about what it's doing

small comment from my side: i tried paul o brian's root method - it failed, because my HOX is getting very fast in a state, where adb recognizes it as being 'offline'. this leads to stop these rooting tools everytime when it tries to do the command 'adb wait-for-device'.

Hopefully this one works for you folks! I hope on week-end i can get a linux machine to try it out - it looks promising ;)
[HTC One X] Gibeon:
I'm willing to try it, but will it erase all my data just as at HTCDev?
[HTC One X] glukosio:
yes, and if so, what data will be erased?
[HTC One X] karoodee:
Guys... Just use adb backup ( http://xdaforums.com/showthread.php?t=1420351 ) and then try the script. If it does not work chances are that all your data will be untouched...
[HTC One X] miniudavid:
Can't we just make a batch file for Windows of the steps and run it in adb folder?
[HTC One X] wph:
No one tried it yet?

I created a Virtual Box with Linux Mint, but the phone doesn't get recognized, so it's not working for me.
[HTC One X] glukosio:
i will do it now if my linux will not give me problems

---------- Post added at 01:07 AM ---------- Previous post was at 12:28 AM ----------

not working for me... i have some questions about next.sh:

why is

adb-mac shell

and not simply

adb shell

like others?

and then, it's writing me during the process:

Unable to chmod /data/local/tacoroot.sh: No such file or directory
Ignore tacoroot commands, I'm doing everything
/system/bin/sh: /data/local/tacoroot.sh: not found
Not frozen waiting for device
/system/bin/sh: /data/local/tacoroot.sh: not found
/system/bin/sh: /data/local/tacoroot.sh: not found
mount: Operation not permitted
mount: Operation not permitted
/system/bin/sh: cannot create /system/bin/btool: Read-only file system
/system/bin/sh: cannot create /system/bin/dump_image: Read-only file system
/system/bin/sh: cannot create /system/bin/flash_image: Read-only file system
Unable to chmod /system/bin/flash_image: No such file or directory
Unable to chmod /system/bin/dump_image: No such file or directory
Unable to chmod /system/bin/btool: No such file or directory
rm failed for /data/local/misc.img, No such file or directory
Android Debug Bridge version 1.0.29

so... i think that tacoroot.sh and other files are in other folders and not in /data/local/... and it can't mount because it doesn't have permission, for same reason it can't write in system...

maybe if we change /data/local/ to our personal directory, we will be able to mount and do other things... i'll try now..

STAY TUNED ;)

EDIT: what is

/data/local/btool

maybe is bool because i can't find btool

---------------------------------------

EDIT_2: i changed directories, but now when i'm trying to launch ./next.sh from terminal, it answers me that permission is denied :(
[HTC One X] kb0n:
* it's "adb-mac" because someone used it on a MacOS machine and forgot to change the command back ;) so just manually change it into "adb" and it should be fine

* "/data/local" is fine, that's where at the first step of the script the files are pushed to ("adb push ...")

* saying "tacaroot.sh" not found means, that the aforementioned "push" somehow failed.

=> chain effect, the rest also fails, because i.e. can't run tacaroot -> can't remount "/system" -> can't write to "/system" etc.

Look at the script and manually run the lines to see where (and why) it causes problems. The commands are not really complicated

"btool" is also correct. 1st action is to push local file "bool" to "/data/local/btool" on HOX, so it should be there if push was successful (which seems not to be the case, as "tacaroot.sh" is also not found)

[edit]And run "run_first" only if you don't have adb and fastboot already isntalled! Otherwise just run "next.sh".

And if you run it, fix this bug, first "sudo ln -s" line should look like this:

sudo ln -s 51-android.rules /etc/udev/rules.d/51-android.rules
[HTC One X] glukosio:
i have to add this line in the beginning of script?

i 've tried to put files from terminal and not from script, and i launched tacoroot.sh, my phone reboot in recovery but i haven't got it, and on the screen appears only a small phone with a red triangle

EDIT: ok, when i touched volume keys recovery appears, i rebooted, it went again to recovery, and in terminal:

rm failed for /data/data/recovery/log, Permission denied
link failed File exists

then reboot again with 3 keys, then

Rebooting into root.
/data/local/tacoroot.sh[53]: cannot create /data/local.prop: Permission denied

then it is trying to mount and push something to system/bin but it's read only.
[HTC One X] glukosio:
yes, actually our problem is permissions... :(
[HTC One X] wph:
I appreciate you tried it for us. Seems like it's just the known Tacoroot which doesn't work for the international One X. I don't get it why people keep posting this, at least try it for yourself and then come back to there. My Linux and scripting knowledge is very limited, but even I saw that the script couldn't work in a milion years, if you can't even get the commands right in a script, why post anyway? He said he modified the script, but if you make such basic errors, I don't believe you are capable of this kind of stuff.

---------- Post added at 12:09 PM ---------- Previous post was at 12:06 PM ----------

Yes, but that's the whole problem, only with an exploit you get that permissions. The Tacoroot exploit doesn't work, so you don't get the permissions. I think you wasted your time with it, if it was this simple, the guys in the S-Off topic would have found it weeks or months ago.
[HTC One X] miniudavid:
So we need s off first to get the permissons.. But if someone will record usb traffic when unlocking via htc dev. Would that help in someway?
[HTC One X] wph:
When you have S-Off you have permissions. But that's not the point, you need some kind of exploit to get root or S-Off. And that's the challenge, finding an exploit, a weakness in the system.
[HTC One X] kb0n:
As already mentioned, if it was this easy then ppl would've already figured it out. But can't blame ppl for trying, may it be just out of curiosity.

I just checked the "tacaroot.sh" script. Doesn't do that much, but what can be seen is that each step requires reboot into recovery. Then root should be achieved, partitions mounted and then the rest of "next.sh" list. Anyway, as already figured out, with HOX and Tegra3 all the stuff gets reset at a reboot -> can't use it this way.

Well, there is not much modificated except mounting a different part as "/system", and commenting out a line with "dump_image ..." (which I don't get yet). So can't really blame him much ^^
[HTC One X] BenPope:
Yes, traffic could be recorded. It could even be replayed. And work. For each individual phone.

You might as well publish the file HTC send you for the unlock, I can assure you, it's easier then intercepting the USB traffic, but you know what? It's specific to each device. Shocker!
[HTC One X] miniudavid:
Ok. I Know that. But isn't it possible to take those files from more then one user and their imei and probably calculate an algorithm to generate those codes or keys for others?

Just a thought.. ;)
[HTC One X] miniudavid:
Correct me if I'm wrong but wasn't there a way to get temp root but with unstable device? Maybe we can get the permissions with that no matter if it stays for long..
[HTC One X] N3m3515:
http://www.modaco.com/topic/353986-...r-windows-mac-linux/page__st__40#entry1978824

over here someone got it to root his phone with unstable results.
[HTC One X] BlueJack22:
Temp-root isn't the problem. The problem is that after rebooting all the changes made on the system partition are lost as long as we don't have S-Off or the bootloader isn't unlocked.

Here's how to get temp-root:

./adb kill-server

./adb wait-for-device

echo "ro.kernel.qemu=1" > local.prop

./adb shell "rm /data/local.prop"

./adb push local.prop /data/local.prop

./adb shell "chmod 755 /data/local.prop"

echo "Reboot"

./adb reboot

./adb wait-for-device

Now we have root. You have to copy all files until your device has booted up (home screen) because once it has booted, it'll reboot -> bootloop until you do this:

./adb shell "rm /data/local.prop"

./adb reboot

Use my attached scripts.

Someone should run it but before the last reboot we need to dump the system partition with dd to the sd card. Then we write it back with dd to the system partition and if we have luck we got a rooted device with a locked bootloader :D
[HTC One X] chithe:
* daemon not running. starting it now *

* daemon started successfully *

Rooting your device without flashing anything, so that HTC doesn't know you got

root. Works only with S-OFF or HTCDev Unlock

Push files

1808 KB/s (837916 bytes in 0.452s)

1151 KB/s (91980 bytes in 0.078s)

1552 KB/s (570342 bytes in 0.358s)

rm failed for /data/local.prop, No such file or directory

failed to copy 'local.prop' to '/data/local.prop': Permission denied

Unable to chmod /data/local.prop: No such file or directory

"Rebooting..."

mount: Operation not permitted

mount: Operation not permitted

/system/bin/sh: cannot create /system/xbin/busybox: Read-only file system

Unable to chmod /system/xbin/busybox: No such file or directory

/system/bin/sh: /system/xbin/busybox: not found

/system/bin/sh: busybox: not found

/system/bin/sh: busybox: not found

Unable to chmod /system/xbin/su: No such file or directory

Unable to chmod /system/xbin/su: No such file or directory

Unable to chmod /system/app/Superuser.apk: No such file or directory

rm failed for /data/local.prop, No such file or directory

'#' is not recognized as an internal or external command,

operable program or batch file.

'#' is not recognized as an internal or external command,

operable program or batch file.

"Rebooting..."

Hi BlueJack22 , i try dosen't work help me to check how u get temp root,

Thanks
[HTC One X] BlueJack22:
That's strange

Works perfectly on my HTC One X Tegra 3 with Mac

What system do you use? Linux, Mac, Windows and which Firmware has your device?
[HTC One X] schnurzelat:
I got temp root with 1.26 Vodafone UK Firmware. I think, since firmware 1.28 this doesn't work anymore.
[HTC One X] BlueJack22:
It worked for my on 1.28

Did you turn on USB-Debugging
[HTC One X] wph:
Doesn't work for me either on 1.29. USB Debugging is on. But why does the script say: "Rooting your device without flashing anything, so that HTC doesn't know you got root. Works only with S-OFF or HTCDev Unlock" Wasn't the purpose of this script to get temp-root WITHOUT S-Off or HTCdev unlock?
[HTC One X] KrisPerry:
Yeah I'm confused what is the purpose of this
[HTC One X] fi3ry_icy:
lol....

im confused as hell as well now..
[HTC One X] f4flake:
If you can get temp root without unlocking the bootloader then its part of the battle to get s-off or at least permanent root.
[HTC One X] wph:
Yes I do understand that. But that's not the point. That script was supposed to give temp-root on locked phones. But in the script itself it says it's only for S-Off or HTCdev unlocked phones. But getting root on unlocked phones is already possible and the guy who wrote (or modified) the script said it was for locked phones, but it doesn't work on locked phones. So that's the cause of the confusion.
[HTC One X] KrisPerry:
Couldn't have said it better myself
[HTC One X] ChronoWerX:
From schnurzelat an MoDaCo Forum
[HTC One X] BenPope:
But won't you be writing to a shadowed partition; the edits gone after reboot?
[Galaxy S II Q&A, Help & Troubleshooting] LOGMD:
in my quest to get a better battery life out of my phone (seen people saying 2 days battery life) i have tried 6-8 roms, 3 kernels and 5 modems. all of which give me less then 10-14hrs usage (i know thats fairly average for some of us)

IS there an app that can change cpu speeds based on what app is on the foreground?

my regular usage is:

1200mhz,

ondemand,

3g enabled all time,

~40mins talk time

~100sms

~45mins gaming/video (for train journey =D)

~5mins gps (to check for my bus home)

Push exchange emails

auto brightness

haptic feedback

Tablet-Mode

I have tested that for 70% of my daily usage this works fine for me:

500mhz,

lulzactive,

3g enabled all time,

manual exchange mail sync

but in testing games such as temple run i would need max 1ghz

(have yet to test with music yet... 720p video runs fine @ 800mhz and 1080p @ 1ghz)

i have seen there is a way to inject 3g to 2g toggle when screen is off, is there any way to do it without injecting into the zip? or inject directly into rom?

i think then i could run push emails without much problem. then my phone will really be ON DEMAND!

during 500mhz i notice a slight reduction in battery consumption (not as much as i thought however)

i am running D4ROM v10 with siyahkernel 3.1.2 with resurrection remix as dual booted rom. will prob be getting the 1900mah anker battery heard its decent and fits in normal cover, so yes please let me know if you do get longer then a day, and also if what i need is available (i have searched)
[Galaxy S II Q&A, Help & Troubleshooting] bala_gamer:
There is no need for such applications mate because android by itself handles the load balancing. The load increase/decrease is basically dynamic and hence you cant predict that.

Overriding that will only consume more battery.
[Galaxy S II Q&A, Help & Troubleshooting] LOGMD:
well from the last 2 years of using android underclocking has always increased my battery quite a bit... even right now its consuming 2-3%/hr compared to 5/6% from 500mhz and 1200mhz in sleep, at the end it adds up!
[Galaxy S II Q&A, Help & Troubleshooting] Deleted member 4038153:
I imagine Tasker could achieve your odd request, though I haven't checked.
[Galaxy S II Q&A, Help & Troubleshooting] LOGMD:
I have got the tasker 7 day trial and i can honestly say it is amazing! takes android to a whole new level!

got 2g and underclock & screent timeout 20secs when screen off, then when i use dolphin it connects to 3g, when i play games it clocks to 1ghz 10mins screen timeout. when i plug in OTG usb stick it opens mx video player ;)!

only problem i have is when the screen times out it underclocks (say if ive opened a game) then when i wake the device and unlock again, - the profile says it should clock to 1ghz... but it is staying at 800mhz (which is the screen off max clock speed...) - temporarily just pressing home going to recent apps and opening the game again

p.s. using around 2-3% on sleep/hr and 4-5%/hr with moderate usage (few texts, browsing, play store)
[Sprint HTC EVO 4G LTE] pdappcgeek:
I've got concerns about not having a keyboard..

Does anyone who has owned a keyboard phone ever made the switch to one of these large screens?

I'd love to hear about the transition..
[Sprint HTC EVO 4G LTE] PsiPhiDan:
I had a physical keyboard for all my phones until the EVO 4G. I thought it was going to be a brutal transition - but it wasn't. I'd never want another physical keyboard again actually.

Suggestion: Pay for Swiftkey X. It is amazing keyboard. It learns your typing habits and has incredible predictive capabilities. I have OFTEN missed every single letter of a word, and it still has the correct word ready for me, haha. Worth every penny.