yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
On recent HTC phones, the /system partition is read only. Write protection is in effect and any changes made will not stick after reboot.

UPDATE: system write protection is now seen on ICS as well (one VX, solved with module)

UPDATE 2: Wow, this has been going on for a while and affects many devices. Now solved on the Desire X: http://xdaforums.com/showthread.php?t=2136815

UPDATE 3: if you try to load wp_mod.ko on a custom kernel that doesn't have write protection, it may crash immediately. This is because the module is trying to change something in kernel memory that doesn't exist. This is fixed on my kernels, if you use someone else's kernels and this is a problem, ask the dev to contact me.

UPDATE 4: Had to take a slightly different approach with the new HTC One, the original module didn't work.

The stock kernel is configured with this new option:

CONFIG_MMC_MUST_PREVENT_WP_VIOLATION

This is the problem, and it's in the kernel. It affects new HTC phones (currently Droid DNA, EVO 4G LTE, One XL, One S, Desire X, One VX, One and others)

Once the kernel source code is released, it is a simple matter of unsetting this option in a custom kernel (confirmed on the Droid DNA)

In the meantime, I've created a kernel module that disables /system write protection. This is confirmed working on the One XL, One S, and EVO LTE with kernel version 3.4.10. The module also works for the One VX, but required porting to work with kernel version 3.0.21.

Download the module: http://goo.gl/tzzoA

Notes and Instructions:

The module requires no parameters, it just needs to be inserted when the system boots.

This can be done using an init script or added to init.rc in the boot.img

For example, if the module is located in /system/lib/modules, it can be inserted with the following command (as root):

insmod /system/lib/modules/wp_mod.ko

Devs are free to include this in their ROMs, please credit me and link here.

Maybe even hit the Thanks button if you benefit from this...

If you really like it,

buy me a beer

Source code: http://goo.gl/b0aAY
[AT&T, Rogers HTC One X, Telstra One XL] Red5:
Lets make this a info/WIP thread to see if we can get something working here... I dont want any "that sucks" or "damn" posts... this is still the Dev forum, not General.

And lets put this at the bottom of the sticky threads so everyone can see this and hopefully help. Ill remove the sticky after we get something going or has been figured out.

Thanks Flar for letting us know what you found. Much appreciated.
[AT&T, Rogers HTC One X, Telstra One XL] InflatedTitan:
OneX+ have this issue being its sense+/jellybean?

My little bro in law just bought one and were rooting this afternoon. Ill see if I can digg through some root files
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
I'm not sure if this affects the X+

The Droid DNA probably has this problem, since I found this in the DNA kernel source. Maybe somebody with the DNA could fill us in?
[AT&T, Rogers HTC One X, Telstra One XL] iElvis:
Can't tell for sure, but a quick perusal of the DNA forums seems to suggest that's indeed the case.
[AT&T, Rogers HTC One X, Telstra One XL] Red5:
What about the Evo LTE guys?
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
I'm going to say this is due to the 3.4.x kernel that shipped with our JB ROM. They probably all use the same bit of code for the wp, we don't have source for ours yet

http://xdaforums.com/showpost.php?p=35702092&postcount=449
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
That's what I'm saying

Look in /proc/config.gz while running in stock kernel

We need to find how/where partitions are designated wp so this kernel function doesn't prevent write access.

When we get the kernel source, it might be ad easy as unchecking the config option before compile. The DNA devs can test this theory now.
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
I was looking around this site https://www.codeaurora.org/gitweb/quic/le/?p=kernel/lk.git;a=log;h=refs/tags/M8660AAABQNLYA1075 for any info. I saw the log about them adding write protection to eMMC partitions, but other than that, I don't think it's much help
[AT&T, Rogers HTC One X, Telstra One XL] GSLEON3:
Yes it does! Unfortunately, unlocking the device (X+) also makes a few of the apps go bye bye. Well beyond that, they are not installed/loaded. Calculator, Flashlight & a few other HTC apps/widgets disappear. I think the broken signature kills certain signed system apps. Ran into this before, think I had to mod ext.jar, but that fix will not work any longer. (Then again, I haven't messed with this stuff in awhile & my notes are pretty bad to non-existent).

Until the source is out, I'd say this is a lost cause. Just when HTC starts getting their device crap together, they once again botch everything by locking crap down again. Nice job Petey Chou, ole chap.
[AT&T, Rogers HTC One X, Telstra One XL] ChongoDroid:
Agree 100% this new direction of HTC makes me puke in my mouth a little
[AT&T, Rogers HTC One X, Telstra One XL] InflatedTitan:
Yea although nice phones... They're taking an apple approach.. this will be my last HTC device...
[AT&T, Rogers HTC One X, Telstra One XL] CheesyNutz:
htcdev just tweeted that they one X+ just got kernel soruce code :/
[AT&T, Rogers HTC One X, Telstra One XL] ChongoDroid:
Tell em if WP is the new norm for their builds... the dev community is as good as gone.
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
until they release kernel source.. but by then everyone will be so angry, they won't be buying HTC phones
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
HTC added a bunch of source code today, but it's old stuff, some of it's for gingerbread still
[AT&T, Rogers HTC One X, Telstra One XL] HTC_Phone:
No worries, HTC has confirmed that they're abandoning the WP software for their phones. I think they'll just be sticking with Android. However, they need to just let us unlock, have kernel source, all that because eventually we're going to get it. They're just making it more difficult. They need to just let us do it, and have a fee for replacing phones that have been modified.
[AT&T, Rogers HTC One X, Telstra One XL] ChongoDroid:
Yes!! Man that is good news.. and I agree I'd be more then happy to pay a fee for an unlocked phone to be repaired. Motorla was really good about modded phones and warranties.. maybe HTC can get a hint.
[AT&T, Rogers HTC One X, Telstra One XL] lauterm:
Do we have a little confusion here between Write Protect and Windows Phone?
[Android Q&A, Help & Troubleshooting] ferrloz:
Hello I have this file IMG of my netbook want to modify but not too ready I in android. search roteo if it is possible. It unloads file zip N10040: http://airis.livedrive.com/item/2699d764d40c42fcbca0aa1a7f2be317
[Sony Ericsson Xperia Neo, Pro] semder:
is it possible to use the call back and quick reply sms buttons which is in aokp ms1 status bar?? if yes how?

Also i'm looking for a lockscreen like Trebuchet. I like shortcuts in lockscreen and new sms or missed call shortcuts. Thanks.
[Sony Ericsson Xperia Neo, Pro] risay07:
i'm not sure about that but you can try asking here

http://xdaforums.com/showthread.php?t=1987679
[Sony Ericsson Xperia Neo, Pro] Dev Jaskirat:
Quick reply and call back buttons not possible as its jb feature and my rom is ics based

Shortcuts in lockscreen have been added in sonic(build 4) to be released tonight at 12 when christmas starts!

And next time pls ask in the respective Q&A thread! No need to Make new thread!

Sent from my »Neo V«
[HTC One X] Danw20:
Hi, i hope i am in the right place, sorry if not.

I want to root my One X on stock ROM. I currently have 4.1.1, CID HTC_001.

Is it possible to get it rooted while keeping certain things? These things are:

Being able to receive OTA

Keeping all files when rooting

Easy to revert back if i am not able to receive OTA.

Help will be very much appreciated thanks :)
[HTC One X] Mr Hofs:
If you unlock the bootloader with htcdev.com and flash a cwm custom recovery you can make a nandroid backup of the current non rooted rom and keep it in a safe place. You can restore that backup anytime if you want to go back stock.

After that you are able to flash custom roms or just root the one you are running currently ......

You might void some warranty with blocking the bootloader !!!

Tip : ALWAYS DO A NANDROID BACKUP FROM THE STOCK ROM !!! :D
[HTC One X] Danw20:
Thank you

Thanks a lot. Just what i was looking for. I will certainly be doing this at some point. Shame you can't just root it but at least you are able to back it all up safely.
[HTC One X] Alex240188:
When following any guides

Don't flash the recovery. Just use fastboot boot recovery.img

Instead of fastboot flash recovery recovery.img

This way will leave the stock recovery on your device which is needed to apply any otaupdates
[HTC One X] Mr Hofs:
Yes with the taken nandroid you can go back anytime....the only thing you have to remember is that when you took a nandroid backup the recovery of that backup is not stock, so after the restore you have to flash back the stock recovery before you can apply a official HTC update. But you can find that easily.....i have them also :thumbup:
[HTC One X] Danw20:
That's great. OTA was something i really wanted, thanks. 4.2 is coming very soon and a possibility of 5. Just one more thing. Do you lose items on the virtual SD or does this not affect them at all?
[HTC One X] Mr Hofs:
Well do a full backup of the sd before you unlock the bootloader, it's sets the phone to its factory state and some say it wiped the sd but others say it didn't so that's a grey area for me !
[HTC One X] Danw20:
Its probably the safest option, i will do that. Is using the stock recovery just as easy as using the custom recovery too? I read stock recovery and this insecure boot thing and it has a chance of bricking. Also i know a lot of articles are with 4.0.3 and 4.0.4 and 4.1 are different. I think 4.1 is the same as 4.0.4 though.
[HTC One X] Mr Hofs:
Well to be honest i'm not a big fan of rooting the stock rom ! I always flash a custom already rooted rom to have benefits of all the hard work that developers has.put into a rom. In my opinion a custom rom is always better than a stock rooted rom. So i don't much about the insecure root things !

What i do is : flash the custom recovery and backup the stock rom (keep that in a vault ;)) and flash a custom rom to play with !

Stock recovery has no use at all for me, i only need it when i want to update the phone with official HTC releases .....like they did to update to JB

ow and yes rooting and flashing on JB 4.1 are the same as on ICS 4.04 :thumbup:
[HTC One X] Danw20:
Is it easy enough to go back to the stock recovery though if you have used the Clockwork one?
[HTC One X] Mr Hofs:
Yes it will take 3 fastboot commands while the phone is in fastboot USB menu

Fastboot erase cache

Fastboot flash recovery nameofrecovery.img

Fastboot erase cache

And the stock recovery is restored !

That's all !

Ofcourse the nandroid has to be restored before that.....you copy the nandroid backup to the phone and flash the boot.img from that nandroid (its inside the nandroid folder) after that you do a full wipe in the custom recovery and restore the nandroid, then you boot it up to see if it runs and after that you flash the stock kernel ! Easy and simple.......and you don't have to re-lock and unlock the bootloader anymore, it can stay unlocked the whole process :D
[HTC One X] Danw20:
That doesn't sound too bad... Thank you very much for the help, i will certainly be having a go. Sorry for some of the stupid questions, i am quite new to all this. Bricking is the only worry for me, if i can avoid that, i'm happy :D. Thanks again.
[HTC One X] Mr Hofs:
No problem mate ! I was already helping somebody else tonight.....multitasking it is !
[HTC One X] Danw20:
Hahaha. Well i won't be starting until i can get my hands on another laptop as my current is in a poor state. Damaged hard drive. can run very slow at times. I tried transferring SD to memory stick. But it was running at a painful speed so i stopped it Tomorrow i should be able to get another one to backup my things onto.
[Samsung Galaxy S Blaze 4G] thehumble1:
This is a thread for talking about the Directory Bind app. that is originally for the SGS II but works with the Blaze to move Camera photos (and other files) to the external SD card.

Original app thread:

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

Use this thread for discussion.

Tips:

(1) The Data and Target sources are inverted. This is really confusing. Just treat them as opposites.

Data= where you want the files to be stored

Target= where you want the files coming from.

(2) The app doesn't like the use of /storage or /mnt it wants us to use /external_sd and /sdcard

It looks like things are working now. Remember to backup your database.
[Samsung Galaxy S Blaze 4G] LiveFaster:
Thanks, works. I couldn't get it to work before I had confused the source and data. Thank you for the nice layout of information.

Sent from my SAMSUNG-SGH-T769
[Samsung Galaxy S Blaze 4G] Animosity:
I keep getting the red bind failed. Any idea on what went wrong?
[Samsung Galaxy S Blaze 4G] LiveFaster:
Actually, I ended up deleting it was not working for me, still saved in internal memory. Maybe I did something wrong though if you state it works

Sent from my SAMSUNG-SGH-T769
[Samsung Galaxy S Blaze 4G] Animosity:
I got it working =D. When you open the internal folder up top it shows the external SD card memory. Its confusing but you can get the hang of it.
[Samsung Galaxy S Blaze 4G] zero75:
LOL and the kicker...

Just showing what's possible. Good day ya'll.

Edit; After further thought (considering all the discussion on the topic). Everyone seems to think of the source and target as being reversed. This is because most look at directory bind's functions from a "write to" perspective. Whereas in the simlink and "read from" perspective, this labeling of source and target makes perfect sense.
[Galaxy Note II Q&A, Help & Troubleshooting] Sete39:
Well,my note 2 isnt charging,ive tried several chargers but it just wont charge,although it has started charging again for a few hours then stopped working again.

o and i got blank sd card when i opened it

So please help :(
[Galaxy Note II Q&A, Help & Troubleshooting] adytum:
Has it ever charged? When did it start? What have you done with the phone?
[HTC Sensation] Furionpl:
Hello.

I know that it's very difficult to help other person is such complicated problems but I beg you for help, because I really need it.

So..

I rooted my HTC Sensation this way:

http://theunlockr.com/2012/09/20/how-to-root-the-htc-sensation-on-hboot-version-1-27-0000/

I unlocked my device aswell.

And now I want to delete sim card restrictions and I simply can't!

My phone is S-ON.

The thing is - I was following this instruction:

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

Method 1

When I'm entering "SU" command in Terminal Emulator I have error : /system /bin/SH Su not found.

(I installed SU! I have even root acces, what the?)

Method 2

I'm in Bootloader menu and after 2 seconds I have info that security bla bla bla and I can only reboot my device.

Help me, I have been doing this for 5 hours.

P.S

HBOOT 1.27.0000
[HTC Sensation] malybru:
Hi,

If your are hboot 1.27,you have to follow THIS

:)
[HTC Sensation] Furionpl:
Thank you sir I owe you.

But I can't do this, it has to be S-OFF. :(
[HTC Sensation] malybru:
Hi,

S-off is HERE and HERE

:)
[HTC Sensation] rzr86:
if you really want to do it then to S-OFF see here

http://xdaforums.com/showthread.php?t=1614617
[HTC Sensation] Furionpl:
I simply cannot do this S-OFF.

Wire method made me angry, I was trying to do this for 2 hours, mostly 3.

Is there any other way to disable SIM card restrictions?

Without S-OFF.
[HTC Sensation] heavy_metal_man:
Check the sim unlock thread. Some people have been able to find the sim unlock code in the system its self. But if you cannot find it you will have to s-off.
[HTC Sensation] Furionpl:
I'm really sorry for bothering you, but about what method are you talking?

Can you link something?

I'm using search engine but I cannot find anything.
[HTC Sensation] rzr86:
i assume he is talking about this

http://xdaforums.com/showthread.php?t=1232107
[HTC Sensation] Furionpl:
Yes, thank you!

As I wrote in the first post I tried this method, but I have strange problem with it.

Method 1

(Using windows commands)

system/bin/sh: SU: Not found.

But my phone is rooted!

I'm sorry for spamming here, but I cannot write in that topic, I'm begging for your help.

And thanks for your support.
[HTC Sensation] rzr86:
maybe your su binary needs update check it

i can't think somethng else.i don't have any experience on this one:(
[HTC Sensation] Furionpl:
I'm really confused right now, because I have latest SU....

Older one is not working with my HBOOT. 1.27.
[HTC Sensation] rzr86:
hmm,

go to system/bin/sh

and check if you have that file(sh file)
[HTC Sensation] Furionpl:
I'm new on android, sorry for stupid question.

Where's the file explorer?

Or do you mean files on my SD card? (there is no folder called system on my SD)
[HTC Sensation] rzr86:
no on sdcrad memory

go to internal memory

then system/bin/sh

use any file manager to access to internal storage
[HTC Sensation] Furionpl:
Yes - I have this file.
[HTC Sensation] rzr86:
open su app and see if terminal has root access
[HTC Sensation] Furionpl:
I was trying this already but the only app that has root acces is Superuser...

I don't see any option to add terminal.
[HTC Sensation] rzr86:
if terminal is not listed for root access then probably it hasn't root access

try this

clean cache and data of terminal app and then delete it

then install it again

open it and enter su

see how it goes
[HTC Sensation] Furionpl:
Thank you, I did it.

But terminal method won't work for me, it shows date instead of unlocking code, I guess it's over for me.
[HTC Sensation] rzr86:
if i remember well in the guide says if it is showing the date

then you must follow method 2
[HTC Sensation] Furionpl:
Yup, but merhod 2 doesn't work on HBOOT 1.27. :(

Can I even change my rom without S-OFF?

HTC sense is taking all the resources, about 400mb... that's crazy.
[HTC Sensation] rzr86:
yes you can flash any rom while S-ON

see here

http://xdaforums.com/showthread.php?t=1631861
[HTC Sensation] Furionpl:
Thank you for your patience and help.

My last question is...

Do you recommend any ROM's that will make my phone rune faster?

I mean something that is not taking half of the ram memory.

I see that some ROM's can be only flashed with S-OFF.
[HTC Sensation] rzr86:
I doubt for that.any rom can be flashed in S-ON devices too

try bruce's cm10 rom or ARHD,viperS rom,elegancia.....

Actually test some of them and see what suits to you
[HTC Sensation] heavy_metal_man:
That's the one :) thanks for posting it here :)

Op. Without s-off you've pretty much had it :( try to s-off one more time? :D
[HTC Sensation] Furionpl:
So I installed Android HD.

My ram has been reducen to 584.

And I don't know what to do.

No1 is responding in their thread, I'm confused.
[HTC Sensation] heavy_metal_man:
How do you mean reduced?
[HTC Sensation] ganeshp:
The actual ram is 768 only.. But the android OS takes around 200 my for GPU... Thats why the ram available is being shown 584 (true ram).. From ics onwards
[HTC Sensation] Furionpl:
Thank you guys, after two days I can use my phone as I wanted to do.

Now I'll just wait to change my mobile operator, cause I can't do anything with sim restriction.

Cheers.
[Verizon Samsung Galaxy Note II] imablackhat:
Today I went to best buy to buy this because they price matched letstalk to 199$. The woman I delt with sighed and ughed the whole time. Really rude. I ended up adding a line. Burning a sim. And moving the phone to my main line to get the upgrade.

Now I noticed this when I got home but im disappointed in build quality. I dont know if it was me snapping the back cover back on. But the top of my screen was loose. And the bottom leaked light from the leds because well..the glue holding the screen clearly was not that good. I immediately called back and was upset and went to exchange and now im all fine.

But now im paranoid about snapping back in my back cover. How cheaply made is this thing? Anyone run into hardware issues yet? Best buy has a 30 day exchange policy. Thank god.
[Verizon Samsung Galaxy Note II] adrynalyne:
What LEDs are you referring to?
[Verizon Samsung Galaxy Note II] imablackhat:
im referring to the bottom of the phone, when the leds were lit up, you saw on the side of the phone light leakage, and on the top of the phone if you pushed down gently on any corner the screen was loose.
[Verizon Samsung Galaxy Note II] BennyJr:
Sounds like a bad device. I haven't had any problems and since there aren't many threads about it, I'd say that other users aren't having problems either.
[Verizon Samsung Galaxy Note II] imablackhat:
i just hope this isnt a common issue, i don't want it to happen to this one as well.
[Verizon Samsung Galaxy Note II] JustKuz:
They wouldn't give me a price match to letstalk :(
[Verizon Samsung Galaxy Note II] shojus:
I can assure you that this is NOT a normal issue with this phone... But, if you don't think something is right about it then you have every right to exchange! It's YOUR money and if your not happy then exchange away...
[Verizon Samsung Galaxy Note II] imablackhat:
Only reason I got is because they price matched. I told them I know its not on your list. But other best buys have done.
[Verizon Samsung Galaxy Note II] gr8fasushi:
sorry about your experience, I suppose it is expected that there are lemons in the bunch, but it just sucks to know you got one of em. Rest assured it's not a common problem. I'm sure others will testify that yours is a unique issue.
[Verizon Samsung Galaxy Note II] imablackhat:
im just gonna be super fragile and not squeeze the screen when putting on the back cover if i ever have to take it off now. >_< just precaution! i dont wanna ever have to get a refurb.
[Verizon Samsung Galaxy Note II] lostnuke:
Its ok. Crisis averted.
[Verizon Samsung Galaxy Note II] xweaponx:
Samsung's thin battery covers are reasonably robust regarding battery removal and handling. Even improperly installed, the plastic has given and snapped into place. I owned a Charge and Galaxy Nexus with similar battery covers and I have never broken a tab.

I have (3) batteries for my Note 2 and swap every other day without worry of breaking anything. Samsung knows removable covers... ;)
[Verizon Samsung Galaxy Note II] imablackhat:
Yeah ive had a nexus and s3 no issues. Note 2 day one screen lose from snapping in battery cover or something . Go figure.
[Verizon Samsung Galaxy Note II] Goldchamp:
Sounds like you already got one. Take it b ack and exchange it!
[Verizon Samsung Galaxy Note II] imablackhat:
I already exchanged it for this device ive been using five days uptime so far.
[Samsung Galaxy Nexus] dneto:
Hi fellows,

My battery has reached the end, I changed and I realized that I can no longer boot my gnex.

Was working well, stock images, bootloader unlocked, rooted and bootloader locked (using BootUnlocker App when necessary).

So, now I have my userdata totally inacessible. =/

Reprodution:

Power On ---> Google Logo -----> "Type password to decrypt storage" --> Nexus Logo (loading system) and Bootloop again....

Tried:

- fastboot mode > fastboot erase cache
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] yash88:
previously i had flashed more than 10 times.and i never had problem .all was working well but now when i flash any wp7 rom there is error at the end and process stop in between.i had tried changing sd cards but no use plz help me....i have attached screenshot plz have a look at it ...any solution??:confused::crying:
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] dxdy:
did you set magldr options right? uselast24nand and clear sd mbr?

also look tutorial from my signature...
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] yash88:
i did

steps -

1] task 29 with radio 2.15

2]magldr v1.13

3] usb flasher set

where i can get uselast24nand ?