yashsingh1/xdaforums huggingface dataset:
[Moto X Original Android Development] kornklown69:
try clockworkmod superuser by koush
[Moto X Original Android Development] jcase:
this wont work, issue is being fixed. Choice was either wait a couple days, or release. I picked release.
[Moto X Original Android Development] jcase:
patience, it is being addressed as time allows

Most root apps dont use it until after boot so it works fine. Dont like it, dont use it
[Moto X Original Android Development] jcase:
see OP, issue was known before release, and is being fixed. Decided to release rather than wait for proper fix.
[Moto X Original Android Development] kornklown69:
seems to work lol
[Moto X Original Android Development] terabyte128:
Didn't work :(. The DBs for com.motorola.android.provider.settings don't even have a settings.db, just a mot_settings.db which contains:

android_metadata, global, secure, sqlite_sequence, and system.
[Moto X Original Android Development] thepolishguy:
fulfilled my bounty obligation. Money well spent. and a top of the evening to Jcase for the continued investment of his time.

54W57215RB767224E
[Moto X Original Android Development] Dark9781:
It will work, but you still won't be able to write anything to system. I tried. It won't mount as R/W. Oddly enough if I try to update SuperSu's binary by clicking TWRP/CWM it will boot into recovery and then boot back up and I can then mount system as R/W. However, anything I write to it disappears after a reboot.
[Moto X Original Android Development] kornklown69:
ohhhhhhh i miss understood the issue nvm
[Moto X Original Android Development] crookx:
Will this work on the rogers moto x? Dont want to void my warranty.
[Moto X Original Android Development] n82k:
Same question about us cellular model.
[Moto X Original Android Development] jcase:
send me /system/app/PrivInit.apk and ill port it
[Moto X Original Android Development] crookx:
rogers working perfectly! thanks for the hard work!:laugh:
[Moto X Original Android Development] n82k:
Us cellular privinit.apk

https://docs.google.com/file/d/0B_53YrpvK4I_NUdkbzg2MXpIUVU/edit?usp=docslist_api
[Moto X Original Android Development] basedboii:
thank you so much for making this happen jcase and everyone involved :laugh:
[Moto X Original Android Development] jcase:
no permission to access
[Moto X Original Android Development] n82k:
http://db.tt/0gDhYMvf
[Moto X Original Android Development] Aarongauntt:
Here's sprints if you're interested. http://db.tt/UsP7leZG
[Moto X Original Android Development] solid009:
I tried looking for it too, but no luck so far.
[Moto X Original Android Development] robstunner:
I'm using superuser by chaindd and it's working just fine
[Moto X Original Android Development] ckeathley:
Did anybody notice slowed down data speeds after this or do I need to call and gripe to vzw?
[Moto X Original Android Development] :
All this app does is allow read and write privileges to /system. It has nothing to do with data speeds, so yes, you better get on the phone with vzw!
[Moto X Original Android Development] ckeathley:
Didn't think so, but wanted to make sure before I call. Thanks!
[Moto X Original Android Development] rcklss1:
Jcase works perfect man.. Like the phone the way it is just wanted root so I could throw tibu, root explorer, and call blocker on here.. Thanks again donation coning when I get paid next week !!
[Moto X Original Android Development] ckeathley:
It is Verizon! Eff you Verizon! Just let me go!! (even though I have unlimited data)
[Moto X Original Android Development] magn2o:
Bounty paid, #11977689VY466033N -- you rock!
[Moto X Original Android Development] kbohinski:
Cant Uninstall?

Hello!

First off, thanks for this method to everyone who helped, super easy!

I rooted, did what I wanted to, unrooted, but now I cant uninstall.

But now to my questions:

1) Why can't I uninstall the app?

2) Why does this app need a lot of permissions?

Thanks!
[Moto X Original Android Development] mandrsn1:
I am trying to figure that out myself. No luck so far.
[Moto X Original Android Development] ckeathley:
Same here. Found some stuff pertaining to roaming on Sprint. Which, in my opinion, is comedy. :D
[Moto X Original Android Development] Jim Barr:
Worked like a charm. Thanks!!!
[Moto X Original Android Development] capathy21:
Thanks so much JCase for your hard work on our behalf! Will be donating on payday!
[Moto X Original Android Development] :
System r/w not sticking?

[MENTION=2376614]jcase[/MENTION]

Very peculiar.

I can update the binary for Koush's SU through the Chainfire SU. No problems. I can grant SU to apps requesting it. I noticed that when I head to /system/app in Root Explorer, tap the Mount R/W button, it will ask for SU rights, after granting I still cannot mount R/W. If I use Motoroot to unroot then re-root, I can get Root Explorer to mount /system/app in R/W but that seems to not stick. I also noticed it when trying to install Xposed framework. The one time I could mount /system as R/W I was able to install the Xposed frameworks, but when the mount of /system R/W fails, I can no longer access the Xposed framework mods and drops me a write error. I'm not sure if it a SU binary issue?

I am running a Roger Moto X.

Your help would be appreciated!

edit: Friday the 13th update works like a charm. No kicking of r/w mount!
[Moto X Original Android Development] yamaha83:
YAY!!!!!!!
[Moto X Original Android Development] basedboii:
He is updating so that /system write sticks and doesn't fail.

Sent on my Flamed up Moto X
[Moto X Original Android Development] rob43:
I don't think this is true:

shell@ghost:/ $ su

root@ghost:/ # mount -o remount,rw /system

130|root@ghost:/ # echo HELLO > /system/what

root@ghost:/ # cat /system/what

HELLO

File also exists after reboot. Also, Xposed framework can be installed while booted so I would assume app_process was switched while booted.

Not sure if this is useful, but interesting file is /data/misc/qer, which seems to list out all modified files:

255|shell@ghost:/data/misc $ cat qer

system/bin/app_process : hash-mismatch (orig) 94315a0536026f5dc3623f9cc45f46a244c58f17 (now) 0a7169920466da7021d59cfee02acec098352bd9

system/bin/.ext/.su : new-addition : setuid(1) : setgid(1) : executable(1)

system/bin/app_process.orig : new-addition : executable(1)

system/xbin/su : new-addition : setuid(1) : setgid(1) : executable(1)

PROPERTY : ro.secure : 0

PROPERTY : ro.debuggable : 1

Device is Rogers Moto X, unlocked and rooted via service in init.rc
[Moto X Original Android Development] htowngator:
http://xdaforums.com/showthread.php?t=2442616

So it must be something different between the "droids" and the regular Moto X?
[Moto X Original Android Development] :
I was able to get R/W to stick one time, long enough to install Xposed. Install frameworks, modify it, soft reboot the changes. Then I wanted to the modify on of the system ui changes I made and then I lost the R/W access. I am running the Rogers Moto with locked bootloader....so I suspect that is why it crapped out my /system write changes.
[Moto X Original Android Development] terabyte128:
What do you mean the "regular" Moto X?

Yes, I guess it must be different from the droids. That's unfortunate, I'll investigate further and see what I can find...

Sent from my Moto X
[Moto X Original Android Development] ckeathley:
I'm on the Verizon Moto X and the droid way is different, fyi. None of those settings in there
[Moto X Original Android Development] terabyte128:
Perhaps with the moto x (and maybe the new droids too) Motorola changed the way that entitlement checks work. I found a folder in /data/user/0 called com.motorola.service.vzw.entitlement which seems to be related but I can't find the app anywhere to try and freeze it... any insights?

EDIT: that folder doesn't have any dbs and appears to be pretty much empty, plus there's no app in /system/app so maybe it's just a relic from older moto phones.
[Moto X Original Android Development] sravanz:
Thanks man you are super awesome
[Moto X Original Android Development] n82k:
Us cellular works great. Thanks for hooking us up.
[Moto X Original Android Development] htowngator:
That really blows. I was all excited when I heard about root but if we can't get entitlement check to go away...

:(
[Moto X Original Android Development] terabyte128:
I'm looking through the databases and seeing what I can find.

Sent from my Moto X
[Moto X Original Android Development] htowngator:
Well, I get mine tomorrow it seems so I'll look when I get it. I hope we find it.
[Moto X Original Android Development] neo1738:
Idk about you guys but my maxx has the entitlement check in Settings.db line 65 for me.

Remember use Sqlite 1.5 or higher, load it, give root go to the settings db with the wrench image and then click settings.db. Then click menu (or long press tasks if you have that option) and just search for 'entitle" you will find it. change the 1>0 hit save and reboot. Worked for me!
[Moto X Original Android Development] d70:
I just updated it to v1.1 per instructions. Still can't get MotoXposed to work yet (possibly because the Xposed framework doesn't work). Anybody has success on AT&T version?
[Moto X Original Android Development] :
Did you un-root and re-root with v1.1?

Did you install the updated SuperSu?

Did you remove any other SuperUser apps?

After the update Xposed worked fine for me. System mounts were sticking as well!
[Moto X Original Android Development] rmead01:
Yes, but I'll direct you to that thread for assistance, and not this one.
[Moto X Original Android Development] iandr0idos:
I can't find it. I'm using SQLite Editor 2 on my AT&T. Are you editing com.motorola.android.providers.settings?
[Moto X Original Android Development] d70:
I just got it to work after doing a soft reboot from the Xposed framework app. Odd that a regular reboot doesn't work. I'll now try turning it off/on and see if it sticks.

EDIT: yeah, it doesn't stick after a regular reboot. probably timing issue with su not being available immediately.
[Moto X Original Android Development] neo1738:
No.. Just open sqlite v 1.5 a simple Google for (sqlite apk) will get you a free version. Open that, scroll to setup storage and pick the one with an icon of a wrench and toolbox. Then click settings, settings.db, then line 65 or search for entitlement
[Moto X Original Android Development] iandr0idos:
Googling "sqlite apk" only gives me SQLite Editor. And the closest database I can find is com.motorola.android.providers.settings. And there's no entitlement in there :/
[Moto X Original Android Development] stephanstricker:
Works great on Moto X AT&T. I donated $5.

Thx

Stephan
[Moto X Original Android Development] geekabilly:
Well, on the XT1058 AT&T we have Settings Storage > mot_settings.db > the 5 db's, only secure db has many values, none "entitlement"...
[Moto X Original Android Development] solid009:
Under system/app there is a vzwentitlementservice.apk and odex. Is there something we can do with those? I tried renaming them, but settings crashed when I tried enabling tether. I wasn't able to find any entitlement checks where others have suggested looking. Seems as if they placed them in a different location for the moto x.
[Moto X Original Android Development] mkinney88:
Worked Perfectly Thank you!!!!!!!!!!! will donate shortly.
[Moto X Original Android Development] Squintz:
This is what I've been wondering as well
[Moto X Original Android Development] rman18:
Waiting for Version 2.0 :D
[Moto X Original Android Development] rcklss1:
Any ideas why apps I delete in titanium backup are there again after a reboot?
[Moto X Original Android Development] mattlgroff:
Because you need system RW. That is coming soon.
[Moto X Original Android Development] rcklss1:
Doh didn't even think to check when I was digging around with root explorer... Thanks
[Moto X Original Android Development] xkwwwx:
Ota on first boot.

The droid maxx has an ota at first boot. Should i accept or decline. has anyone confirmed entitlement check "0" possible yet.
[Moto X Original Android Development] rmead01:
Freezing them is working as intended though.
[Moto X Original Android Development] rcklss1:
Yeah that's what I'm doing for now too..
[Moto X Original Android Development] Droyyd:
Damn, now I'm torn between getting the ATT Motomaker version now, waiting for the Developer Edition, or waiting for the T-Mobile Motomaker w/ Wooden back.

#Firstworldproblems
[Moto X Original Android Development] htowngator:
Has to be around somewhere unless they took away entitlement altogether and have the system verify it on their end?
[Moto X Original Android Development] mattlgroff:
Always decline!
[Moto X Original Android Development] neo1738:
That is why I said to google "SQLite apk" so you don't get the other editors only apk (android package) results. I have verizon version, so if you're android is fundamentally different i'm not sure what to tell you on that one. We have Settings Storage> Settings.db> Settings > entitlement check. I guess your file system is a bit different and my method only works on the verizon version as of now. Which would make sense because verizon mobile hotspot has it's own authentication method it verifies with verizon servers. Hope someone finds it sooner than later for you guys.
[Moto X Original Android Development] mandrsn1:
This method worked on older motorola phones on AT&T (Atrix, Atrix HD); however, it does not work with the Moto X.
[Moto X Original Android Development] mkinney88:
would something like this work on the moto x ? same partitons and same chipset

http://blog.azimuthsecurity.com/2013/04/unlocking-motorola-bootloader.html
[Moto X Original Android Development] solid009:
Are you using the moto x or the maxx? Earlier you said it was there on the maxx and your model number on your screenshot does not correspond with verizon's moto x
[Moto X Original Android Development] anotherfiz:
Will this work on any Motorola model? or Just the 2013 lineup
[Moto X Original Android Development] mandrsn1:
I thought the X was using a slightly different chipset (MSM8960 vs. MSM8960DT)?
[Moto X Original Android Development] htowngator:
Yes but the point is that you are not on a Moto X, right?
[Moto X Original Android Development] thepolishguy:
there will definately be a solution for the MotoX. Guys on irc have tethering working right now. I think they are waiting to release after we can write to system.
[Moto X Original Android Development] AdhvanIt:
Huge thanks, jcase!
[Moto X Original Android Development] htowngator:
Awesome.

I saw rootzwiki tweeting about giving out a big update tonight.

Are you guys using the correct "settings storage" with the hammer icon?

---------- Post added at 07:42 PM ---------- Previous post was at 07:41 PM ----------

And now delivery pushed back to Monday for my phone.... damn :(
[Moto X Original Android Development] kydkupa:
So i used the method from last night. Should i install the new app and SuperSU from the OP and redo the process.
[Moto X Original Android Development] geekabilly:
I had 1.0 installed & just adb 1.1 over it just like the OP update described, works exactly as explained - nice work, JC
[Moto X Original Android Development] jcase:
Full r/w to system coming soon, its already proven working
[Moto X Original Android Development] jcase:
It is true for the devices the root was originally for, AT&T and Verizon
[Moto X Original Android Development] htowngator:
Awesome, does that mean you can change the entitlement hack for working tethering w/o a 3rd party app?
[Moto X Original Android Development] johnny grep:
There should be a process called Qe which diffs the system dir & logs changes. Also found in other Moto products (razr, motoactv, etc). Looks up md5sums in pds & probably reports back to Motorola?

Sent from my Moto X
[Moto X Original Android Development] wera750:
We going to be able to flash radios and boot.img
[Moto X Original Android Development] ericizzy1:
main thing for me is to be able to tether without the foxfi screen password limitation.
[Moto X Original Android Development] Verttex:
Check here.
[Moto X Original Android Development] murf43143:
Just sent ya $5.00 buddy. Thanks for helping everyone out and accepting BTC.

Blockchain confirmation- https://blockchain.info/tx/5980195444b9e2b44c49dccbca4a08287df55643567e483721539449e6184598
[Moto X Original Android Development] MajorTankz:
Thank you based jcase.
[Moto X Original Android Development] htowngator:
Nice, thanks. Can't wait for the permanent solution.
[Moto X Original Android Development] mkinney88:
[MENTION=2376614]jcase[/MENTION]

Paypal Donation Confirmation # 8VL86732XN2025336

$20.00

Keep up the good work!!
[Moto X Original Android Development] jimmypop13:
Is this a question or a statement? Bc I'm really wanting to know if we will be able to flash kernels and radios. If we can't flash kernels, won't we be fairly screwed when 4.3 or 4.4 comes out for the x? 4.3 running a 4.2 kernel would cause a lot of bugs I think
[Moto X Original Android Development] wera750:
A question

sent from my Moto X
[Moto X Original Android Development] neo1738:
I am on Maxx thought the software would be the same but apparently not. Sorry.
[Moto X Original Android Development] StefanGA:
Can this be made to work for the "RAZR i" ?

I was directed here by the article on android police, which states "virtually every major Motorola device can be rooted, and many of those can even be bootloader unlocked."

Since I am not a developer, I am curious...
[Moto X Original Android Development] iandr0idos:
I wouldn't risk it. The RAZR i is COMPLETELY different from the Moto X.
[Moto X Original Android Development] mattlgroff:
You can unlock it to root. Go to the RAZR i forums and read my pinned threads. Stay on topic please ;)
[Moto X Original Android Development] jcase:
It could, but at this point I dont have the phone and dont plan on doing it
[Moto X Original Android Development] htowngator:
Jcase, when you guys publish full root info, will we be able to hold that via ota root keeper? It won't work though if moto goes to 4.3?
[Moto X Original Android Development] jcase:
This thread and root method is no longer supported, please see the newer (better) root method allowing system r/w access here

http://xdaforums.com/showthread.php?t=2444957
[Moto X Original Android Development] _MetalHead_:
Edit: Disregard, I'm stupid.
[Moto X Original Android Development] kingy9000:
Could the OP lock this thread down so there are no more useless posts on this thread and everyone can carry their discussions to the newer thread? Just saying I think that would be a smart move and would allow people to just have to look in one place for updates instead of two.
[Moto X Original Android Development] ApriliaM3:
Thread closed at the request of the OP
[Droid Ultra Original Android Development] jcase:
Update 9/14/2013

A better solution has been released, please update using it.

http://xdaforums.com/showthread.php?p=45598648

Warning: Don't attempt to use this on a device that isn't Motorola.

Lets break this sub forum open with a good one.

See: http://www.androidpolice.com/2013/09/12/exclusive-how-to-root-moto-x-ultra-mini-and-maxx/ for the story

Bounty payouts or donations can be paypaled to jcase@cunninglogic.com, or use the donate button to the left. If its for the bounty, please reply below with confirmation number or pm me.

These files are not to be mirrored elsewhere, no included in other packages. Its simple already, no need to repackage it.

[YOUTUBE]B9aTUp_5vio[/YOUTUBE]

Same APK should work for Maxx, Ultra and Mini. If it does not, I just need to rebuild it and need someone to test, it will work.

adb install -r <filename>

Run MotoRoot app

Press Setup

Install Supersu app

Phone will reboot, and you will be rooted as soon as device is fully booted.

Limitations:

Uninstalling the app will disable root until reinstalled

supersu is not able to update su yet, this will be fixed in an update shortly.

su is maintained in a ext4 img at /data/xbin.img and mounted over /system/xbin at BOOT_COMPLETE.

su is not available for the first few seconds of boot, im working on this.

/system is write protected, even with unlocked bootloaders you can not write to it while booted in Android.

Unroot:

Two choices, factory reset, or press the unroot menu option in the app.

Problems:

Run into a problem? try hittung unroot then re-rooting

Credits:

We use two vulns in this app, first being 9695860 to gain system user, then a symlink attack of mine to get root from system.

xIndirect (nick) for assisting me from start to finish

Whoever originally found bug 9695860

Saurik for his description of 9695860

Ryan Welton for his 9695860 tool

Dave Kover for yet another kick butt icon

and Anthony Fox/Droid-Hive for great help with getting the device to me today
[Droid Ultra Original Android Development] redpipe:
Very much appreciated.

PayPal transaction ID 4GK69936510343543.
[Droid Ultra Original Android Development] @work:
Ignore everything I said, I will send my donation :) thank you
[Droid Ultra Original Android Development] TheWhiteChallenger:
firist off thank you for all your hard work

i do have a question dose this mean we can not install apps on the system/app folder?

and dose this mean files cant be pushed with adb as a work around?
[Droid Ultra Original Android Development] meddy6407:
Confirmation number: 3FS7579230091290J

Thanks!!
[Droid Ultra Original Android Development] @work:
Confirmation 17R58863KC726802C , I didn't pledge on the bounty thread.
[Droid Ultra Original Android Development] cameyboi:
Yes!

Worked like a charm!

Been waiting for this since day one. You are a god sir.
[Droid Ultra Original Android Development] jcase:
No messing with system/app yet, just system/xbin. Will be addressing the rest of it soon, I just got my phone today. Been talking with HashCode and DBHacker about getting custom roms going, it is being looked at now.

adb works fine, su just doesnt get remounted until the BOOT_COMPLETE broadcast is sent, it means poorly written apps that does retry a root command with a delay, MIGHT fail to get root at boot. They should retry. I will be addressing this, soon.

Like I said, just got the phone about 7 hours ago.
[Droid Ultra Original Android Development] One2thTEXAN:
Thanks man!
[Droid Ultra Original Android Development] redpipe:
got adfree working, but you have to do it QUICKLY. remount /system as rw, then immediately press the update button on the adfree app. the changes will remain until reboot, but I hardly ever reboot :)

busybox mount -o remount,rw /system;
[Droid Ultra Original Android Development] benjamin1492:
Thanks...didn't expect to have root so soon. Confirmation 7PD1555899342392B - pledged over on the Droid Ultra bounty page
[Droid Ultra Original Android Development] darksizzle:
Droid Mini Confirmed! Thank you!
[Droid Ultra Original Android Development] TheWhiteChallenger:
ok kool, i dont mean to sound ungrateful thats just mainly what i use root for is fiddling with stuff of the system folder, so i was just wondering if i was permanently screwed of if was something that is atleast being working on, thanks again ill be sending my donation as soon as i remember my paypal pw, lol
[Droid Ultra Original Android Development] CrazyRussianXDA:
Should USB Debugging be enabled?
[Droid Ultra Original Android Development] TheWhiteChallenger:
is the "Transaction ID" the confirmation number?
[Droid Ultra Original Android Development] fat_tire:
Thanks! 8JG23957NE2435454

Posted from http://xdaforums.com/showthread.php?t=2431005
[Droid Ultra Original Android Development] Cincybearcatfan:
Confirmation number: 4JK07192689429602

Thanks!

So this has to be installed by adb? What if in my haste and excitement, I "accidentally" installed it without ADB? I noticed I can't uninstall it. However, when I do Root Checker, it shows I'm rooted but I can't install SU it says "Installation Failed!"
[Droid Ultra Original Android Development] CrazyRussianXDA:
Every time I start SuperSU the message "The SU binaries needs to be updated. Continue?" comes up, but when "Normal" button is pressed on the next screen (since we dont have custom recoveries) the update fails.

Should we not update SU?
[Droid Ultra Original Android Development] Cincybearcatfan:
I'm getting the exact same thing, if you push cancel it just closes the app.