yashsingh1/xdaforums huggingface dataset:
[X 2014 General] JulesJam:
No one has reported any other problems. And it is only when HDR is on, not when HDR is on auto AFAIK.

We don't have any other images to flash at the moment so either make do with this one or flash back to stock.

The only other images I didn't test are the stock ext4 and the stock ext4 with modified build.prop. If I have time I will test those to pinpoint where the problem was introduced.
[X 2014 General] trimax84:
Oohhh....trying now! Thanks :)
[X 2014 General] Doobski:
F**k yeah, man. I'll try it out now; thanks for making the $20 worth it!
[X 2014 General] Twistitup:
Installing now as well. Will let you know if it works out okay. About 20% done installing.
[X 2014 General] JulesJam:
3 weeks of free WiFi tether and my $20 is paid back by not having to pay Verizon for WiFi tether.
[X 2014 General] Mocha_Bean:
Just a minor question, as I do dual-boot Windows, but does Mofo work on Linux?
[X 2014 General] mikeoswego:
Yes, you need adb and fastboot just like on windows. You can do that via the SDK or much simpler do the following:

sudo add-apt-repository ppa:phablet-team/tools && sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
[X 2014 General] JulesJam:
FYI

The original stock ext4 image that Slack3r made does NOT have the HDR camera problem.

I will test the stock + tether image next.
[X 2014 General] Mayze23:
I'm having trouble extracting the xposed file. I've tried 7zip and Winzip and both say there is data missing and won't continue extracting. I've redownloaded the file twice to see if it was due to a bad download and I'm getting the same error. Anyone else having this problem and what extracting tool should i use
[X 2014 General] JulesJam:
FYI

The stock ext4 image with the modified build prop file to allow for free WiFi tether DOES have the camera HDR problem

So somehow the image either got corrupted or the modified build prop file is the issue, idk.

[MENTION=2278321]btdownloads7[/MENTION] - do you want the stock image w/o the modified build prop to test for yourself? When I tested it, the camera with HDR on worked fine. Or are you starting from scratch? Please let me know. Thanks.
[X 2014 General] JulesJam:
It extracted fine for me when I used 7zip. I would re-download it.
[X 2014 General] btdownloads7:
I decided to start from scratch because that's the only way I can be sure of what's being done to the system image. I converted the FXZ system image into a flashable ext4 one, booted it, and it has no camera problem. I then modified build.prop to enable tethering, booted it, and that has no problem either. I'm now in the process of adding root, sqlite3, and busybox to it, and once I have thwt working, I'll post the new image.
[X 2014 General] JulesJam:
Thanks, ok then somehow the image got corrupted b/t the stock image and the one with the modified build prop.
[X 2014 General] tjohnstone3:
I had the issue with HDR on auto just FYI.

But it seems that a fix is being worked on for that so probably not even worth mentioning...but too late.
[X 2014 General] trimax84:
Oh, nothing, just running Xposed on my rooted Moto X 2014!
[X 2014 General] mikeoswego:
Thanks for the report!
[X 2014 General] Haxxa:
OK Now I must ask can someone upload the image with Busybox and Xposed (so the Busybox image with Xposed added)? Also I assume none of us really like Verizon that much? - given this it would be nice to add a Stock bootanimation.zip over the standard one.

In any case great work guys :) Also I have no idea why it didn't work for me I literally did the same thing two nights ago -_- .
[X 2014 General] Doobski:
I understand, but I dont have UDP, so this is what I was mostly looking forward to :)
[X 2014 General] slappydj1:
If this means anything, I can confirm that gravitybox works without any problems.
[X 2014 General] mikeoswego:
Unless I misunderstand you, the image is linked in this post: http://xdaforums.com/showpost.php?p=60515120&postcount=422
[X 2014 General] JulesJam:
Ok I have Xposed - Now What?

Seriously - what modules should I check out?
[X 2014 General] mikeoswego:
Gravity Box for LP.. Adds options for ascending ring volume, clock centering, additional QS tiles and ordering of those tiles, pin unlock without hitting the check mark (unlocks as soon as you enter the last digit of the pin), and many, many more things. Dl and install this one from inside the Xposed installer.

If you use the Google Now Launcher, Xposed GEL settings removes the Google search bar from the home page(s) and can lock the desktop layout amongst other things. You can get this from within the Xposed installer but its best to get it from the Playstore as it has to be updated every time Google updates the launcher and the Playstore will do it automatically.

Those are the two I use.
[X 2014 General] JulesJam:
OK got that one.

What is this lock the desktop layout useful for?
[X 2014 General] mikeoswego:
Keeps you from accidentally sliding an icon, widget or folder to a different position, you can enable a QS tile to toggle the lock if you want. There is also the ability to save and restore your desktop layout. Also "smart folders" where you can swipe up on a folder and it will launch the first app in that folder. Adjusting folder backgrounds, many more options.
[X 2014 General] Haxxa:
Ops sorry missed that, Thanks very much! :D

On a side note, does anyone know if you can simply mount the system.img then get a new bootanimation.zip and copy it over the existing one and set permissions via chmod 644 bootanimation.zip and unmount and flash. Because everytime I do this the Default Android Image is displayed and it never ends up working. Any advise on this matter would be appreciated? Or better yet, if anyone is interested in in changing the bootanimation could they upload the image(busybox+xposed) as I spent hours on this and every image I make doesn't work -.-

Here are the Bootanimations (preference 1.)

- New 5.1 Boot Animation (Regional) - https://www.mediafire.com/?8fncgcda1jdasvx

- Stock Motorola 5.0 - http://www.mediafire.com/?ami9dpbddor2dti
[X 2014 General] mikeoswego:
In addition to the chmod 644, you probably also need to do

sudo chcon u:object_r:system_file:s0 bootanimation.zip

Please try that and see if that fixes it.

Of the 2 you list, the first one (5.1 Boot) is the correct dimensions compared to the bootanimation.zip file in the image now.

---------- Post added at 02:14 AM ---------- Previous post was at 01:51 AM ----------

I just tried this with the chcon command and flashed the updated image and the new 5.1 boot animation worked fine.

If/when [MENTION=2278321]btdownloads7[/MENTION] updates his busybox/sql image, I'll do a new Xposed image with the 5.1 boot animation if that is wanted.
[X 2014 General] trimax84:
I use (and recommend) these modules....
[X 2014 General] Haxxa:
I tried this, after reinstalling Ubuntu etc. but I got "chcon: invalid context: u:object_r:system_file:s0: No such file or directory" when trying that exact command in the /system/media directory :( - But yes it would be great if you could upload image or advise on this - Thanks for your help and work :)
[X 2014 General] btdownloads7:
You don't need to do chcon -- just copy the bootanimation.zip file into /system/media and run chmod 644 on it. I've been running my own custom animation since the original rooted image without any issues.

Also, I've finished re-making the rooted image with root, busybox, and sqlite3. It's uploading now, but I'm going to sleep, so I'll post the link in the morning
[X 2014 General] Haxxa:
Tried consistently to do this it doesn't work for me :( Maybe because of something I am doing? But in any case will wait for your new upload and see if someone else can successfully add it :/
[X 2014 General] btdownloads7:
There is absolutely no reason that I can think of that you should have any issues. You need to make sure that you name the file 'bootanimation.zip', and place it directly into /system/media. There's already a bootanimation.zip there, so you need to delete it, and replace it with the new one. Then chmod 644, unmount the image, and flash it.
[X 2014 General] Haxxa:
I swear that is exactly what I am doing, I am thinking it might be to do with the way its mounted maybe, but seriously doing exactly that! -.-
[X 2014 General] btdownloads7:
That's really weird. What is it doing whn you try to flash the image? Does it just hang on the Moto logo?
[X 2014 General] Haxxa:
No it just displays default Android Boot animation after flashing and flashes fine...
[X 2014 General] btdownloads7:
That means only one of two things:

1. you're not actually replacing the file that's there now

2. The boot aimation that you're flashing is exactly the same as the one alsready on the pone

If there was a problem, the image wouldn't boot, or at the very least, you wouldn't see any bootanimation. Go into /system/media, and manually delete bootanimation.zip. Then copy the new one in there, go into /system/media, and run 'ls -l', which will list full directory contents with their timestams. the timestamp for bootanimation.zip should be different (newer) then the rest. If that's not the case, then whatever you're doing to copy the file is wrong. And if the timestamp is different, then your new animation is just a copy of the original one.

---------- Post added at 04:16 AM ---------- Previous post was at 04:13 AM ----------

Ok, here's the new image with tether, root, busybox, sqlite3, and no camera problem.

[MENTION=5697730]maiko1[/MENTION] -- could you please remove the old link in your mofo thread and replace it with this one? Also the link you have for the image with tethering and no root is broken -- using HDR in any camera app causes a crash. You should probably remove that link, or at the very least post a warning about it.
[X 2014 General] Haxxa:
Believe me mate, I honestly have changed them, I have run ls- lah and I can see another size and its a totally different animation. The default "Android" Boot Animation loads when it cannot load the bootanimation.zip, so something is going wrong there. In any case, I would rather just wait now that we are at this stage and see if others add the boot animation and upload the image.
[X 2014 General] btdownloads7:
It can't load the default android boot animation because you've replaced the file with another one. As far as the phone is concerned, that is the default animation. So whatever is showing during boot is the file that you put in /system/media
[X 2014 General] maiko1:
Please make a thread for your images as others have done and I will link to the thread. I updated your link and removed the other broken image, thanks.
[X 2014 General] JulesJam:
Do you mean in this forum?

http://xdaforums.com/moto-x-2014/development

I think that is what you mean b/c that is what Ekkoria did in the Droid Turbo forum.
[X 2014 General] Haxxa:
You do understand when I refer to default Boot Animation I mean the white letters Android on black background, I think you are thinking I am refering to stock bootanimation, which I am not... Android loads the default boot animation in any case it cannot load the bootanimation.zip. (I used to make ROMs for the EKEN M7 Tablet back in the day). Now the file has been replaced it has the right permissions and the image has been flashed successfully, another parameter is causing the issue.
[X 2014 General] JulesJam:
Adaway

On the Droid Turbo MoFo thread, a poster got Adaway to work by making a symlink:

http://xdaforums.com/showpost.php?p=59831876&postcount=30
[X 2014 General] Haxxa:
Makes sense symlinking to data partition which is writable :) Should be a great addition to an image :)
[X 2014 General] IkeBiker:
Hey it would mean alot if you could make an updated xposed image with the 5.1 boot animation built in. Staring this verizon thing in the eye will be the death of me lol!:D

---------- Post added at 12:33 PM ---------- Previous post was at 12:24 PM ----------

I just want to give a special thanks to btdownloads7, maiko1, mikeoswego, JulesJam, and everyone else on this forum who helped with the rooting/dev process for my moto x. I know it's fun for you guys to but i don't know if you realized how many people you really helped with this forum. Keep up the great work guys!!
[X 2014 General] en_pneumati@netzero.net:
will you alos post the fixed img that is ONLY pre-rooted with tethering for those of us that do not want/need all the extra bells and whistles?
[X 2014 General] TokedUp:
OK here I go again. $25 for pre rooted, bb, SQL, and google dialer IMG. That's like getting mofo for free plus $5
[X 2014 General] joshnat:
Just a thought...when I replace boot animations on other devices I usually have to fix the permissions and the ownership. So the permissions are 0644 and the ownership is root:root. Maybe a chwon would help here?
[X 2014 General] mikeoswego:
Just curious if an "ls -lZ" shows anything useful. The reason I previously mentioned using the chcon command was due to my copying bootanimation.zip to boot2.zip in that directory and the boot2.zip file didn't inherit the correct permissions. However, when I copied the downloaded bootanimation.zip into the /system/media directory, it did inherit the correct permissions like [MENTION=2278321]btdownloads7[/MENTION] said it would.

BTW, I'll have a new xposed image up in while. :)
[X 2014 General] trottellumme:
How much longer is normal? I'm staring at the boot animation since 20 minutes now...
[X 2014 General] mikeoswego:
I've posted a new image with Xposed and the 5.1 demo boot animation. I've started a new thread for this as [MENTION=5697730]maiko1[/MENTION] requested: http://xdaforums.com/moto-x-2014/development/img-xt1096-victara-mofo-image-root-t3100145

---------- Post added at 12:44 PM ---------- Previous post was at 12:42 PM ----------

A couple minutes, definitely not 20. Did you erase or format the cache from recovery or with "fastboot erase cache"?
[X 2014 General] a1exus:
[MENTION=2278321]btdownloads7[/MENTION] - what is "busybox" and "sqlite3" for? i just want to get wifi tether to work) preferably root too (not sure if its possible yet).
[X 2014 General] mikeoswego:
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. Some root level apps like Titanium Backup require that BusyBox be installed.

SQLite3 is needed for root apps to manipulate SQL DB's that other apps create. Root won't be as useful without it. CM also includes this (and busybox.)
[X 2014 General] briosita:
New Image Stellar

New image installed fine and works great. Thanks for all the work, mikeoswego
[X 2014 General] trottellumme:
It must have been the image/flashing. I did the whole process again, now it worked. I guess I made too many changes at once (installing Xposed, changing boot animation, symlinking hosts). Now I'll do it step by step.
[X 2014 General] JulesJam:
BB and SQLite won't affect anything if you don't use apps that need them. And if you do download apps that need them in the future, well they will already be there in the image.

If you don't want Xposed, then flash btdownloads7's image. If you do want Xposed, then flash mikeoswego's image - both have root and the modified build.prop file that will give you free WiFi tether.
[X 2014 General] Caketray:
I already have tether in my plan. Trying to add tether w/ the image when I already have it isn't going to mess anything up, is it?
[X 2014 General] JulesJam:
When you are a running stock system and turn on the MHS, an entitlement check is done to see if you either have a plan with free MHS or if you don't, if you have the $30/mo MHS feature on your line. If either of those are true, then the MHS is allowed to be turned on.

When the build.prop file is modified, all that happens is that the entitlement check is not performed and so no matter what plan you have, the MHS is allowed to be turned on.
[X 2014 General] mikeoswego:
No, you just won't have that authorizing dialog, it will just turn on the tether.
[X 2014 General] ClydeDroid:
Just took the image with the camera issue fixed and readded Xposed using the script [MENTION=5849464]mikeoswego[/MENTION] posted as well as replacing /system/etc/hosts with a symlink to /data/data/hosts. Flashing now, will report back soon

Edit: Image flashed successfully and booted. Everything seemed to be working fine, so I installed AdAway and installed a hosts file to /data/data/hosts. Upon rebooting and opening Chrome, every single app running began to force close in rapid succession (and I noticed that an ad still loaded on the webpage). After a while my screen became completely unresponsive and I had to reboot. Would not recommend flashing 0/10 :(
[X 2014 General] Twistitup:
Did you clear your cache in recovery right after flashing? That usually happens until you clear the cache after a new flash.
[X 2014 General] ClydeDroid:
Yep, I wiped cache both before and after flashing. It's really weird, because everything including Xposed is working, and it even says that my system/etc/hosts is linked to /data/data/hosts. But I'm still getting ads in Chrome. The force closes have stopped, though.
[X 2014 General] JulesJam:
I still get ads in Chrome when I use MinMinGuard in Xposed.
[X 2014 General] ClydeDroid:
AFAIK MinMinGuard can't block ads embedded in webpages. Apps that modify the hosts file should be able to block ads in any app because they block IPs known to serve up advertisements.
[X 2014 General] Slack3r:
Thanks for fixing it, I'm not sure how the original image got corrupted since all I did was mount/unmount it after making changes. I guess this is what MD5s are for :o

I can confirm this works. If anyone wants to do this you'll need to:

1. Mount the image in linux for editing

2. Rename the old hosts file as a backup (or just delete it)

3. Create a symlink to /data/data/hosts:

sudo ln -s /data/data/hosts [system]/etc/hosts

4. Chcon the symlink (didn't work for me until I did this):

sudo chcon -h u:object_r:system_file:s0 [system]/etc/hosts

5. Unmount/flash image with mofo

6. Install adaway 3.0 from here

7. Go into Preferences > Target hosts file and change it to /data/data/hosts

8. Run/update as normal, it will survive a reboot since the file is not located in /system anymore.

If you still see ads in Chrome afterwards, make sure the "Data Saver" option is turned off.
[X 2014 General] ClydeDroid:
Ah, that was the step I missed. Thanks!

Edit: OMG it works!!!!!! I am finally ad free!!!! It has been so long since I've seen a clean webpage on my phone!

Uploading my image now to share with everyone!
[X 2014 General] trimax84:
But all of the bells and whistles are fun!

As you can see from my screenshot....

-home button represents battery life

-changed icons which have also been resized to smaller

-status bar mods including center clock, sharp icons, traffic speed monitor, custom text

-resize any widget (for an oversized clock)

-Google search bar transparency

And there's a bunch that your can't see like a boot manager, changed progress bar animation, navigation bar tweaks, deleting screenshots right from the notification panel (more useful than it sounds), and lots more!
[X 2014 General] Caketray:
So these symlinks basically let you write to system even though write protection is enabled?
[X 2014 General] JulesJam:
No - you cannot write to system as long as write protection is enabled.

A symlink is just a pointer. So as I understand it, what they are doing is copying the host files from the system partition to the data partition and then replacing the host files on the system partition with a pointer that points to where the host files have been copied to on the data partition.
[X 2014 General] trimax84:
Sounds right. (well, not that it let's you actually write to it, but more so that the system sees it as such)

Does this mean you can symlink any file (say, build.prop) to /data and then make edits that will stick?
[X 2014 General] Caketray:
OK, so its pushing data from system to data, not vice versa
[X 2014 General] en_pneumati@netzero.net:
sorry, you didn't sell me with those. i guess i'll just stay with the broken camera HDR function :( not that i use it that much anyways... as long as wifi tether is working and nothing else is broken or malfunctioning...
[X 2014 General] ClydeDroid:
Alright, ladies and gents. Here it is: a rooted, tether-enabled, Busybox, sqlite, Xposed, and hosts symlinked image hot off the presses and ready for flashing. Be sure to wipe cache before and after flashing, and enable the symlink to /data/data/hosts in Adaway.

Image: https://mega.co.nz/#!bdI3lTQb!kO7D4UXDAV-sddrgbpBazW7HJuDpM9wj5RPfpNamuHQ

AdAway 3.0: http://xdaforums.com/showthread.php?t=2190753

Bonus: My favorite Xposed module you can't find in the repository, Pandora Patcher.

http://forum.mobilism.org/viewtopic.php?f=438&t=1077442
[X 2014 General] JulesJam:
Do you want root or just WiFi tether? IOW, do you want just Wife tether or root + Wifi tether?
[X 2014 General] JulesJam:
Hmm, interesting. It does seem like it. Any app that goes to read the file on the system partition will instead be given the data in the file on the data partition due to the symlink.
[X 2014 General] JulesJam:
Right, a symlink is a pointer. So when an app goes to read the information on the system partition, it gets returned the data in the file on the data partition.
[X 2014 General] JulesJam:
If you make a thread in this forum for your image,

http://xdaforums.com/moto-x-2014/development

then notify maiko1, he will link to the thread in the OP of his MoFo thread. That is how they are doing it with the Droid Turbo too.
[X 2014 General] trimax84:
Yes, this ^

This concept could reach beyond just editing a build.prop (which would be handy in and of itself). Like, would the bootanimation.zip follow the same rules? Then it could be user defined if we just edited the system file to point to a bootanimation.zip on the data partition!
[X 2014 General] JulesJam:
I don't know enough about linux to answer but maybe someone else does.

I know how it works if an app or process is going to read or write to file, but I don't know how it works if the file is an executable file. The bootanimation is executable, no?
[X 2014 General] JulesJam:
Yes, if you know enough about how the apps are coded, it seems that you could constructively disable write protection.

Another thing I was wondering is if [MENTION=5697730]maiko1[/MENTION] has the ability to make a mofo.exe that can flash unsigned images to the recovery partition so that we could install TWRP. And of course the same with unsigned boot.img. IME, as long as you don't eff with the partition table and bootloader, you should not brick if you have the stock image to flash back to.
[X 2014 General] en_pneumati@netzero.net:
i flashed the first 5.0 pre-rooted with wifi tether enabled image that was posted in the Mofo/Turbo X/Moto X 2014 thread

XT1096_5.0_22.21.11_rooted

but then it turned out there was the camera HDR problem.

not sure if this is a sign of something deeper wrong with the XT1096_5.0_22.21.11_rooted img, but i also notice a force close when i was using Titanium Backup. Select Menu > Help/Licensing > About and then try to select Titanium Track Support Team... this gives a "Unfortunately Titanium Backup has stopped" error... could the camera HDR error and this be related?

so, i guess i was just hoping for a replacement for the XT1096_5.0_22.21.11_rooted img, minus the camera problem.
[X 2014 General] JulesJam:
Ti B/U is working fine for me and I haven't gotten around to flashing the newer images w/o the HDR camera bug.

But do you want root in your image or not? I couldn't tell from what you wrote. Is it just free WiFi tether that you want or do you want root too?
[X 2014 General] JulesJam:
OK so you want root + free Wifi tether (modified build.prop). I would think btdownloads7 would have a copy of that b/c he had to get root first, then add busy box, etc. I would ask him if he can give you that image.
[X 2014 General] Jah Ruggz:
Just curious...can the AOSP Based 5.1.1 Nexus Experience Victara rom be applied to this exploit or is that a difficult hoop to jump through?
[X 2014 General] en_pneumati@netzero.net:
well, i kinda thought that was what i was asking about back in post #466 on page 47 ;) i expected the original XT1096_5.0_22.21.11_rooted to just be replaced with the fixed one...