yashsingh1/xdaforums huggingface dataset:
[Droid Ultra Original Android Development] coronanlime:
Is there a good tutorial on this? All I would love to do is:

1) add a better reboot menu

2) have toggles in the notification bar that doesnt require an icon and has the functionality typically associate with the one in roms

3) remove the sound volume warning

4) have the expanded volumes when using the volume buttons

Don't know if xposed can do all that. used to just use CarbonRom

**************************

Edit: Sorry, installed and works awesomly. It used to be included on old Carbon roms but didnt mess with it. But seems very powerful, cool, and negates ever needing a rom. Able to accomplish the things I need above except the toggles.

The modules I installed are gravity box (accomplished almst all of the above (able to mess with quick toggles drop down but not add a notification toggle)), Play store fixxes (got installed and working from the store), and swift keys goodness
[Droid Ultra Original Android Development] chevyrado14:
Gravity box is awesome. I'm also using xtheme with a port of simplex theme.

Sent from my XT1080
[Droid Ultra Original Android Development] 2THEXTRM:
I use Widgetsoid and have quick toggles in my notification drop down, it's an awesome app!

Sent from my XT1080 using Xparent Skyblue Tapatalk 2
[Droid Ultra Original Android Development] bigv5150:
Oh my god using xposed is like running a custom rom with stock rom reliability this is great.
[Droid Ultra Original Android Development] inkdaddy66:
You can also use power toggles.

Where can I grab Xposed?
[Droid Ultra Original Android Development] One2thTEXAN:
Try here> http://xdaforums.com/showthread.php?t=1574401
[Droid Ultra Original Android Development] Einsteindks:
Just checkin' in, & jus' saying booting into recovery I get no r/w in /system....apparently. No biggie; not needing it, an' stock recovery is pretty much useless anyway.
[Droid Ultra Original Android Development] jcase:
You have to remount system yourself, the recovery bootmode just bypasses write protection to system. If it didn't work, you wouldnt have su installed
[Droid Ultra Original Android Development] oliran:
Restore to stock

My phone has a randomly shutting down problem (likely hardware related) and motorola is asking me to return it to them so they can analyze the problem. However, they want it stock. Anyway to restore phone to stock? Thanks!
[Droid Ultra Original Android Development] jcase:
Download stock firmware from http://sbf.droid-developers.org/, and use fastboot to restore.

Lets keep the thread on topic
[Droid Ultra Original Android Development] Nathanjb7:
I have read a couple different responses to my question, so i thought i would just pose it directly to this thread, "Do you have to install PwnMyMoto through adb or can it be loaded like any other apk?" My apologies if this has already been answered. My bigger issue is I cannot get adb to work on my laptop.
[Droid Ultra Original Android Development] One2thTEXAN:
Download and install over device like any apk.
[Droid Ultra Original Android Development] PeterInPants:
After reading bout all those apps I got another question:

All the mentioned apps (xposed etc) require a rooted device, right? But the method we are discussing here doesn't really root the phone but only the "recovery section" of the phone, right? So keeping that in mind, are we still able to use those root-requiring apps on the "unrooted" normal boot section of the phone? (jcase said that he would use that normal boot mode for everyday use if I got that correctly)

(For explanation: I understood we got one boot mode for changing stuff and one for everyday use)

Regards
[Droid Ultra Original Android Development] One2thTEXAN:
This method overwrites the original MotoRoot apk and allows for root and you being able to boot to recovery.
[Droid Ultra Original Android Development] PeterInPants:
Yes I got that. But I thought the root only exists in that recovery mode. Isnt that right?
[Droid Ultra Original Android Development] jcase:
PwnMyMoto uses recovery bootmode to install su, it is rooted after that in any mode.

Recovery mode is onyl required when modifying system
[Droid Ultra Original Android Development] PeterInPants:
So PwnMyMoto opens the door (through the window) and su (=SuperUser? Is that an app or a mode?) keeps it open?
[Droid Ultra Original Android Development] jcase:
PwnMyMoto is an installer for su pretty much, I used SuperSu's su binary
[Droid Ultra Original Android Development] PeterInPants:
So when installed once and booted into recovery mode i can install supersu ind normal mode and dont have to go back to recovery mode for any root-requiring changes?

-> Well if that is so, cant I restore the original recovery mode after running pwnmymoto and installing su?
[Droid Ultra Original Android Development] TheWhiteChallenger:
Quick interjection. Dose PwnMyMoto only use the master key exploit to install or dose it continue to use this after the fact. The reason I ask is there is a xposed modbthat patches masterkey and I want to know if that would cause issues.
[Droid Ultra Original Android Development] bigv5150:
Yes any changes you make in recovery with write permission on will stay when you go back to normal boot. Remember your still rooted in normal boot you just don't have writer permission. That is why when you make changes to the system you have to boot into recovery. So essentially these phones are fully rooted we just have to go through two boot ups to change the system.
[Droid Ultra Original Android Development] BladeRunner:
Yes, you could, you just would lose the ability to write to /system
[Droid Ultra Original Android Development] jcase:
MotoRoot continues to use it,

PwnMyMoto does not, only for initial attack
[One (M7) Q&A, Help & Troubleshooting] olafdv:
Since I couldn't download the Emental kernel, I went with the one from TeamSeven. Was fine. Then the download for Emental worked and I downloaded that one and installed it. Wasn't stable, so I went back to Emental.

Now I have a weird problem. Though I select Logo2Sleep & Home to wake (short tap) I have to wake it by double tapping the logo and let it sleep by holding the logo for a sec or two.

What the hell is going on here?

map.prop says "selected.0=4"

What am I doing wrong?
[Moto X Accessories] SNNTEC:
*6 device Dock charger* - charge your Moto x along with anything else usb

Do you have multiple device such as, psp vita, nintendo ds, android phones, tablets, iPhones, ipods, iPads, or any usb charging device for that matter?. Well this charging station maybe the one for you. This is the "Dok 6 universal multi charging station" and it can simultaneously charge 6 usb enabled devices at once!. hope you guys enjoy. any questions? leave a comment!

https://www.youtube.com/watch?v=wjTiNvo8vN0
[Moto X Accessories] Jimmy2u:
Thanks for posting that link...it was an interesting thing to know
[Moto X Original Android Development] jcase:
The latest OTAs patch this exploit

The "Camera patch" patches the vulnerability we use to gain system user, and pwnmymoto will no longer work on devices with this update.

Warning:

I will not be responsible for damage to your device(s) by using this exploit. Antivirus software and Play services will likely detect this as potentially

malicious. It is an exploit, deal with it or don't use it. Do not mirror these applications without my permission!

Change Log:

1.4.3 detects failed su installation (0 size su) and allows reinstallation

1.4.1 adds reliability, and fixes issues for users when improper permissions are applied to su (Preventing updates).

PwnMyMoto is a replacement for my previously released MotoRoot. PwnMyMoto exploits three vulnerabilities, to gain root access, then to gain write to system. This is a traditional root, and doesn't use any 'hackery' to maintain su access unlike MotoRoot.

First we use bug 9695860 (aka second masterkey) to gain system user, then it uses a symlink attack to gain root access. After gaining root we exploit a flaw in the bootloader, allowing us to bypass the write protection applied to system. In the process we remove stock recovery, so OTAs will not be a worry.

Install PwnMyMoto by running:

Then run PwnMyMoto, depending on the current root status of your phone it will reboot 2 or 3 times, after the last reboot it will uninstall it self and su will be installed on the actual system partition. Please install SuperSu from the market after this step is done.

We have two (ok more but were not going into that) boot modes. First is normal, which boots regular Android, and in this case boots with system write protected. Second is recovery mode, normally it boots recovery without write protection. Our exploit will hijack recovery bootmode and boot Android without write protection.

After running this exploit, if you boot normally /system will be write protected. If you boot to "recovery", Android will boot without write protection. If you wish to edit system, you must boot into "recovery" to do so, any changes made will stick and will work in either bootmode. My suggestion is to make your changes in "recovery" and run the device day to day in normal mode, until we are certain "recovery" mode will be 100% stable for day to day use.

The exploit will uninstall itself after successful exploitation.

To see if write protection is applied, you can run:

If it returns '1' then write protection is applied to /system, if it returns '0' then no write protection has been applied.

In the future we will have a replacement recovery, but at this time it is still in development. Enjoy.
[Moto X Original Android Development] Indirect:
Figure I should add that this does not allow usage of custom kernels at this time because everything is still signature checked.
[Moto X Original Android Development] TeeX2.0:
"Thank You" just doesn't quite cover it. But THANK YOU!! for making all of our Moto X's more awesome!

donation is forthcoming, good sir.
[Moto X Original Android Development] _MetalHead_:
If I rooted previously with MotoRoot, should I unroot and uninstall that app first before running this one?
[Moto X Original Android Development] htowngator:
So to apply entitlement hack we'd have to write in recovery mode then reboot into normal?
[Moto X Original Android Development] Dark9781:
I didn't and it worked fine. It will also remove the app originally used to root.
[Moto X Original Android Development] jonathanphx1:
Your the man jcase, thanks a bunch I still remember back to the Eris days when you Rick Rolled a bunch of us on a ROM you put out. Lol thanks again for this exploit.

jonathanphx1
[Moto X Original Android Development] madquack:
I am in no way trying to reverse engineer your tool, as I don't have a fraction of the knowledge required to do so, however, I am becoming increasingly ripping apart things like this similar to Dan Rosenberg numerous tools. All I've got to say is dex2jar sucks donkey **** for helping me understand these things on a lower level!

The beer is flowing I hope everyone has a good night!

:good::beer:
[Moto X Original Android Development] Rask40:
So for my stupid question of the day - how does one boot into recovery on this phone? Is it Power-Up or some other combination? Presuming I need to be in "recovery" to get xposed to stick.

Answered my own question. Fastboot is Power-Down.
[Moto X Original Android Development] jcase:
No obfuscation was done to the Dex, not hiding anything. Try smali
[Moto X Original Android Development] kornklown69:
anyone else's widgets acting strange?
[Moto X Original Android Development] rmead01:
Installed no issues. This is fantastic. Just curious if there is a way to reverse it in case we needed to go to the stock recovery for any reason?
[Moto X Original Android Development] kornklown69:
just flash stock firmware if needed
[Moto X Original Android Development] bso44:
Do we have to use adb to install this or can we use any method to put the apk on the sdcard and install it from there?
[Moto X Original Android Development] COLJ04:
You can install from the apk. Just like a app. Just delete the motoroot app and reboot then download and install the pwn app. Worked for me.

Cole

Moto X+
[Moto X Original Android Development] Verttex:
Thanks jcase, working great. Was a bit scared after the 3rd reboot that it was in a boot-loop but it stopped and haven't noticed any significant changes battery, performance, or screen wise.
[Moto X Original Android Development] COLJ04:
Also guys you can use exposed to get advance boot menu and choose recovery or use any of the boot apps to achieve without the volume/power hassles.

Cole

Moto X+
[Moto X Original Android Development] thepolishguy:
I used the thanks button. But I wanted to say thank you as well. Working great.

And for others - I did not uninstall RootMyMoto first. I just installed PwnMyMoto and it took care of the rest including uninstalling RootMyMoto.
[Moto X Original Android Development] htowngator:
have you tried your fix yet for wireless tethering with the permanent write solution?
[Moto X Original Android Development] Verttex:
I didn't make that. I acutally have wireless tethering and probably will just use it from Verizon.
[Moto X Original Android Development] tw1tch175:
yes but this way you still have warranty :p

Also dev edition was designed to be ugly
[Moto X Original Android Development] htowngator:
I think they will eventually find a root exploit for 4.3, just a matter of time.
[Moto X Original Android Development] jayboyyyy:
true. there are a lot more adv/disadv that can be named. personally i think the dev looks pretty good. ive read that people think its ugly but screw the people that merely regurgitate whatever they read on the internet, i don't think the dev is ugly at all. I liked it and almost bought it. Anyway, the lesson is to read, many hours of my aggravation of anything having to do with phones has all resulted in the most simple solution, read.
[Moto X Original Android Development] jcase:
Gaining root alone on 4.3 won't be enough, more challenges will be introduced as well as the need for yet another way to work around the write protection.

Fact is, we got lucky. We had a known way to escalate to system user, I found a quick an easy route to root, and frankly pure luck on working around write protection.

I'm not even sure if I would release anything for 4.3, if i had it. I would probably wait until a phone interested me enough to burn some bugs. You will see less and less public roots, for a few reasons. Greater security, growing market for private exploits, etc

TL;DR

Buy unlockable devices in the future if root is desired
[Moto X Original Android Development] SubliminalME:
It's funny...I'd be fine without any form of root if a few things were possible:

1. I like using battery bar, and I like removing the normal battery icon. Doesn't seem to be possible without root.

2. I like playing stupid games like 'Hill Climb Racing'. I have all the cars, all the levels and a million points. I like to be able to restore from Dropbox using Titanium...can't do that without root.

3. I like to remove annoying apps like Verizon's Backup Assistant...although disabling is almost as good these days.

So far, that's really it. A stockish Android phone like this is good enough otherwise. It's a little sad to me that root seems to be going away. I guess I can understand the points made above, but being on Verizon basically means no Nexus, and I don't know who has $650 for a Developer edition...certainly not me. :)
[Moto X Original Android Development] capathy21:
So the long and short of it is basically if we want to have root on our AT&T/Verizon X, we will have to stick with 4.2.2 indefinitely?
[Moto X Original Android Development] jcase:
Didn't say that, but possible sure
[Moto X Original Android Development] emerica243:
Whats the easiest way to get the stock recovery back and unroot? I need to factory reset my phone to start fresh before i Root again. I believe PwnMyMoto make a backup of the recovery img on the phone. Can i just flash that back somehow?
[Moto X Original Android Development] jayboyyyy:
you got any estimated likelihood of a forever root type application allowing us to keep root through OTA's. I only have 10 more days before I can return the phone and I want to keep root. I might have to go dev edition if it is pretty unlikely we can keep root through OTA's
[Moto X Original Android Development] tw1tch175:
Once we have safestrap people will package up the stock ota for us to flash using it so we can keep root as long as your smart about it
[Moto X Original Android Development] SubliminalME:
I wonder if the (eventual) OTA with camera and a few other improvements would break root, or if it's still cool, because it's still 4.2..?
[Moto X Original Android Development] emerica243:
No one knows if i pull the backed up recovery.img that PwnMyMoto made, and hook the phone up and do fastboot recovery recovery.img would that throw the stock recovery back onto the phone? Does that also break root at that point? Or do i need to do a factory reset to then break root? Im trying to get my phone back to 100% stock to resolve any issues before i rerun PwnMyMoto
[Moto X Original Android Development] jcase:
flash stock firmware then
[Moto X Original Android Development] emerica243:
Are you referring to using the RSD light tutorial? Whats wrong with the method i suggested in the post? Flashing the recovery image and factory resetting?
[Moto X Original Android Development] housry23:
You can just flash the backed up recovery and factory reset. It should get you back to stock, but to be safest you should also flash the stock system.img provided in that tutorial. You can use fastboot to flash just those 2 images instead of using rsd lite to flash all the stock images.
[Moto X Original Android Development] oturn:
Will the developer edition with an unlocked bootloader be easier to root? Wouldn't root still require an exploit in 4.3?

Does the developer edition guarantee root, no matter what the version of Android? If so, please explain.
[Moto X Original Android Development] mkinney88:
With the developer edition you can gain root without finding an exploit because with the developer edition you will unlock the bootloader and flash a custom recovery and then flash the root binary and the apk onto the system partiton. When flashing in a custom recovery it will mount the system partition and write to it. For people without a unlocked bootloader they must find a exploit to gain access to the system partition and write to it to install root.

The Android version doesn't matter for gaining root, that only applies to finding a exploit to gain elevated access to install su binary and the su apk. As for unlocked bootloader you will be able to mount the system from recovery to install SU (root).
[Moto X Original Android Development] oturn:
Excellent. Thank you for the clarification.

I purchased my Moto X at full retail, and I'm within my return period. The developer edition Moto X is looking like a no-brainer at this point... If only they were in stock.
[Moto X Original Android Development] jayboyyyy:
only real decision to make is the warranty issue. Because you have to unlock bootloader through Motorola's website they know you voided your warranty. With root (assuming you can always flash back to stock firmware) you can maintain your warranty while still having a lot of tweaking functionality with your phone.

Also, I think its far easier to brick your phone with the unlocked bootloader if you are a rookie like I am. Mainly because there is so much more that you can toy with in there. But if you are careful then it shouldn't be a problem. But thats just from my experience. I don't actually know if it is easier to brick a phone that has unlocked bootloader as opposed to just rooted with locked bootloader.
[Moto X Original Android Development] mistermojorizin:
I was a rookie with the Galaxy Nexus, and unlockable phone and it felt like it was not possible to break it because I can always just make an nandroid. With Motorola with the lock bootloader it seems like I'm afraid to really touch it because I don't know if I could get back if I mess up.

Also when you root the phone with pwnmymoto it changes the qe flash status to 1/1. Early versions of root however did not.
[Moto X Original Android Development] johnny grep:
I noticed the X had qed. Is there a way to disable this?

Sent from my Moto X
[Moto X Original Android Development] jayboyyyy:
I royally screwed my motorola droid bionic up all the time to where it wouldn't even show boot screens but you almost always can get back to fastboot (always in my experience) where you can flash a stock firmware. So as long as you wait until they release a stock firmware that you can flash with fastboot then I feel like you are always in the clear.

I'm assuming the qe flash stuff has to do with them knowing the phone has been rooted. I had that with my bionic and yes they can tell but when you take it to the store (assuming you are returning it based off your manufacturers warranty) the people never check. They probably don't even know how to check. Never had a problem with it before.
[Moto X Original Android Development] oturn:
Besides root, I also want to get updates as they arrive, especially 4.3. It was just pointed out by jcase that we got lucky with 4.2. Root on the dev phone is a given with any update.
[Moto X Original Android Development] juancaperez2000:
first i just want to say thanks for you hard work, im kind of confuse because my phone show me root, xposed is installed but only works on soft boot if I do a hard boot everything go back to stock, help please to fix this problem thanks in advance
[Moto X Original Android Development] jcase:
Two boot modes

Normal and Recovery

system is not writable in normal

system is writable in recovery

Booting to recovery after pwnmymoto will actually boot andoid, but with system r/w.

Boot to recovery, apply mods whien in "recovery"
[Moto X Original Android Development] juancaperez2000:
I try to boot into recovery, but after i select recovery from fastboot send me to a blanck screen, do im doing something wrong? Coming from d2vzw so im kinda confuse with moto device
[Moto X Original Android Development] bso44:
I was wondering this same thing. To write to system, I know you have to boot to recovery. Can we use an app like Quick Boot to do it or does it have to be done the long way by powering down and booting into fastboot?
[Moto X Original Android Development] housry23:
You can use an app or power menu through xposed
[Moto X Original Android Development] krypticos:
Are you hitting power button or volume up to select recovery? Remember to read everything.

To select recovery use volume up not power

sent from my rooted at&t moto x
[Moto X Original Android Development] juancaperez2000:
Thanks, i just did it like that, even i been doing this just tough that i gonna bee seeing a regular recovery but is just boot boot in your system that aloud yoi to write then press pwn button to boot in PW and go back to regular way, thanks a lot
[Moto X Original Android Development] kornklown69:
http://www.phonearena.com/news/Othe...eived-by-T-Mobile-customers-on-Monday_id47726
[Moto X Original Android Development] :
I like the end of the article:

When in reality:

If you have opened up the SystemUI.apk of a Samsung phone you know that there are three times as many xmls, images and smali files.
[Moto X Original Android Development] glarepate:
Now that is superior service

6 minutes elapsed from post to update!!! :eek:
[Moto X Original Android Development] mh0520:
This might be a dumb question but here it goes. When this phone is updated to 4.3, will it be possible to downgrade to 4.2.2 via fastboot and use this app to achieve root, etc.?

I'm planning on getting the X but I'm holding out to see if motomaker brings a 32GB model to Verizon. I just don't want to wait too long and lose the ability to root as a result. Thanks!