yashsingh1/xdaforums huggingface dataset:
[ZTE ZMAX Guides, News, & Discussion] thegrim11:
Doesn't work...
[ZTE ZMAX Guides, News, & Discussion] valve timing:
The sadness continues
[ZTE ZMAX Guides, News, & Discussion] klobster:
[MENTION=5749364]Planterz[/MENTION], lol what are you doing in this backwoods thread?
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
"/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin"

The root on the stock firmware is virtual. The root program needs to bring root to a locally allocated directory, or virtually within the sdhc parameters.

Anyone have any thoughts? other than METROPCS not unlocking bl? Or has that been done already?
[ZTE ZMAX Guides, News, & Discussion] jamesthegreat88:
You mean like using virtual box to root it?
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
That could be I don't know exactly what that application does but it sounds like it takes the directory tree and places it somewhere locally rather than on a virtual emulation where it is remotely registered and verified by the service provider.
[ZTE ZMAX Guides, News, & Discussion] jamesthegreat88:
That's how some guy rooted a zte max in the past when no one click root would exist. But it's a N model

I'll try to link to the video if I can.

Zte Max N9520 4.4.2 Kitkat Root Overview: https://youtu.be/lbJC64E8b-A
[ZTE ZMAX Guides, News, & Discussion] jamesthegreat88:
You missed the point if that guy knew how to root the zte zmax he would have the bounty. What I'm saying is to follow a similar process. Every phone is different but sometimes taking a method from the same manufacturer works on newer phones from the same manufacturer. This is a guideline not the exact method.
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
System ls has execute for u,g and o.

---------- Post added at 08:07 AM ---------- Previous post was at 08:03 AM ----------

10|u0_a138@draconis:/system/vendor $ chmod 777 /system

Unable to chmod /system: Read-only file system

10|u0_a138@draconis:/system/vendor $ chmod 777 /vendor

Unable to chmod /vendor: Read-only file system

10|u0_a138@draconis:/system/vendor $ ls

app

etc

lib

media

pittpatt

u0_a138@draconis:/system/vendor $

---------- Post added at 08:22 AM ---------- Previous post was at 08:07 AM ----------

2|u0_a138@draconis:/system/vendor $ cd /system

u0_a138@draconis:/system $ ls

app

bin

build.prop

etc

fonts

framework

lib

lost+found

media

partner-app

priv-app

tts

Okay. To obtain root the /system partition needs to be remounted to access read/write privileges. This us done with adb pseudo tunnel.

The command is # mount -o rw,remount -t yaffs2/dev/block/mtdblock3.

Then when the directory becomes accessible, use this command: chmod 777 /system.
[ZTE ZMAX Guides, News, & Discussion] jamesthegreat88:
So you are close or you have root?
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
:Also this can be more efficient: Mount -o rw,remount -t rootfs /

---------- Post added at 08:27 AM ---------- Previous post was at 08:24 AM ----------

The mount operation is not permitted in terminal emulator.

---------- Post added at 08:28 AM ---------- Previous post was at 08:27 AM ----------

---------- Post added at 08:31 AM ---------- Previous post was at 08:28 AM ----------

[/COLOR]

Pretty much after compiling code and analyzing the data.. root looks pretty easy. However, that does not mean we will be able to flash ROMS. bl is needed to be unlocked to access firmware parameters. This may have something to with the build.prop and why it is resident in /system.
[ZTE ZMAX Guides, News, & Discussion] jamesthegreat88:
So how do we perform this command command window or where on our phone do we do this?
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Adb is necessary. This will enable read and write permissions unlike we have now. When this occurs, the root is pretty much obtained at that time, then install super user and it should stick.

---------- Post added at 08:40 AM ---------- Previous post was at 08:36 AM ----------

Twitch.tv/sketchscarz come watch me play video games with my developed chat rooms and in game voice hosted 24/7!

All are welcome to park in the community chat and get in game voice with us.

---------- Post added at 08:42 AM ---------- Previous post was at 08:40 AM ----------

Dude... That root just happened.
[ZTE ZMAX Guides, News, & Discussion] King Ice:
How?
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Toor

Theoretically I had it. But the remount coding isnt working. back to the drawing board but at least I have an idea of what directories are set to what privledges.

Download All the necessary files here: http://www.mediafire.com/?or723znkep9s3o3

Unzip

Open cmd window with adb platform tools

Run Code:

adb devices

Now copy busybox, su, superuser.apk to /data/local/tmp/ using adb.

Code:

adb push busybox /data/local/tmp

adb push su /data/local/tmp

adb push Superuser.apk /data/local/tmp

All were successfully performed.

chmod 6755 /data/local/tmp/su

chmod 755 /data/local/tmp/busybox

chmod 644 /data/local/tmp/Superuser.apk

All were successfully performed.

http://www.ubuntu.com/download/ubuntu/download

I have not booted into Linux Live run but these next actions should be performed anyone willing to give it a go?

Code:

sudo nautilus

Put the phone in download mode.

Once in download mode, connect the Android device using the microusb cable to the computer.

Now using the open Nautilus window, navigate to /UserData/local/tmp/ folder and verify that you have the files you sent to the device viz. su, busybox and Superuser.apk

Move/cut-paste su and busybox to /system/bin/ using Nautilus.

Move/cut-paste Superuser.apk to /system/app/ using Nautilus.

Power off the device.

Now simply turn on your device.

You must now have root.

Verify by running:

Code:

adb shell su

You'll note that the "$" prompt will turn into a "#" and you'll be prompted by a Superuser permission notification on your

device.
[ZTE ZMAX Guides, News, & Discussion] valve timing:
So you have obtained root ?
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
I do not. But it's dam close. Review my last post.
[ZTE ZMAX Guides, News, & Discussion] jamesthegreat88:
Is there anyway this can be packaged into an apk file so it does for us.
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
I've gotta get into Linux and copy these files to other directories. But I would suggest against putting into download mode to copy files around if we can avoid it.

---------- Post added at 09:50 AM ---------- Previous post was at 09:50 AM ----------

Also this phone already has a version of busybox. So that step might even be able to be skipped.

---------- Post added at 09:57 AM ---------- Previous post was at 09:50 AM ----------

So I rebooted. All good after files were copied and permissions set.

---------- Post added at 10:14 AM ---------- Previous post was at 09:57 AM ----------

Every attempt in terminal emulator is a read only permission. Nautilus will enable the device to copy the files that were pushed subsequently to a directory that will delegate ownership. Then superuser API can be installed and utilized for root permissions to be set when using rooted programs. Let's see if the copy works... it should.

---------- Post added at 10:33 AM ---------- Previous post was at 10:14 AM ----------

I'm burning the live run Linux right now. Since the file permissions were Successfully set and I was able to write a temporary directory, I do believe Linux will oversee this file structure and I'll be able to take ownership to the Location that these files need to be copied to.
[ZTE ZMAX Guides, News, & Discussion] jamesthegreat88:
Great work I'm so lost on what's going on but it seems like you know what you are doing. I'm feeling positive you may have found root.
[ZTE ZMAX Guides, News, & Discussion] kardeef:
I am very familiar with what's going on at the system level for Dos and Windows. I was wondering if we could do something like DLL injector or putting in a system hook to get a System App that does have root access too write to the system folder . I am taking a guess cause I'm a noob with how things are handled at a system level with Android. I am doing my best to discover what's going on under the hood of android.
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
In Ubuntu

I am in Linux right now trying to put this phone in download mode because I think that is the only way Im going to be able to see system level folders and files.

I got an android recovery screen like for a second...any ideas?

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

I loaded the live run Linux but had trouble locating the files i had pushed. I'm still not seeing root in Linux either I performed apt-get sudo install root-system-bin but it wouldn't install correctly.

I'm ultimately wanting to find the root files and copy them to the working directories of the Android OS.
[ZTE ZMAX Guides, News, & Discussion] tech_yeet:
I was thinking that to, like using the build in file manager.
[ZTE ZMAX Guides, News, & Discussion] jugjug:
Then close it!
[ZTE ZMAX Guides, News, & Discussion] tech_yeet:
He wouldn't do that now, we are close to rooting this dam thing....
[ZTE ZMAX Guides, News, & Discussion] thegrim11:
No. Stop right there. Don't push the OP to close the thread when we are working on root. Technically the OP can't get mad for general discussion happening. It does say "Discussion" the title. So everyone take a step back.
[ZTE ZMAX Guides, News, & Discussion] therealduckie:
Notice that the people that are newest to this site are the ones that are complaining the most and causing the most issues?

Carry on with your investigation into root, good people. Ignore the new kids.
[ZTE ZMAX Guides, News, & Discussion] steventechno:
You guys are workin so hard

It's insane how much hardcore Hacking is required just to obtain Superuser privileges nowadays. Since I got this phone, it's the first that I've been unable to root at all. in one word , Adware. I've never realized how "infected"Android feels when it's unrooted without AdAway available, It's kinda scary. PLEASE keep it up. You're the only hope for our world. Don't forget to take breaks. with love

- Steventechno
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
I appreciate your effort. Framaroot has something like this. It hooks into system and installs the copied su. Great idea.

---------- Post added at 08:49 PM ---------- Previous post was at 08:24 PM ----------

the privileges in Linux are just a chmod command. Once the system is not read only, you can write to it. That can be obtained with the sudo or "su" within a Linux operating system. My live run distro was unable to write sudo parameters that were indefinitely needed.
[ZTE ZMAX Guides, News, & Discussion] Rusell:
I have my Linux OS setup (Ubuntu). So how does one change the permissions for the /system? Or is it still being worked on?

Rusell
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Load into your distro copy the files by hooking the phone up to the computer. You need root in your distro to view any of the phones file system that is under read only.

I think this is going to be a busybox root. Its already built in and definitely what has the filesystem locked up.

---------- Post added at 09:29 PM ---------- Previous post was at 09:27 PM ----------

give me some good busybox spools boys.
[ZTE ZMAX Guides, News, & Discussion] StonerSteve420:
Just after I get a G2 lmao just my luck still got my Zmax so no big deal I doubt the BL will be unlocked but root will still be fun
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Im also noticing alot of the output from my busybox commands are being concealed. Some modules are actually inactive.

---------- Post added at 09:42 PM ---------- Previous post was at 09:40 PM ----------

flash_unlock is non apparent

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

The Moto G2 is da hype bruh

---------- Post added at 10:16 PM ---------- Previous post was at 09:44 PM ----------

Ive got busybox going Im trying to login to the suid but I don't know what the suid is. Anyone have any ideas?
[ZTE ZMAX Guides, News, & Discussion] DroidisLINUX:
Suid is the user I'd of the terminal user, root, world with su, and superuser.apk in data/local/tmp even if you move it, on reboot the locked boot loader can stop you from full rw, there is usually a soft reboot for the temp root options this is what will be needed to get root working on zmax, if you check terminal command: mount you can see that there are fuse mounts, these are used to keep the secure file system mounted as read-only, its like mounting an .IMG on a loop, only the only purpose of a fuse mount is to keep it read-only

If someone were to guess the name zte has for suid as user because it isn't just user or the password for root you could get root by using that, there was also a post saying there was a 4th user from what I have read online that let zte to have full access to the phone if you get that user name you might find root also,

our best bet in my opinion is a soft reboot of data/local/tmp the temp root option and try to move it into system. Threw the download mode

After reboot use root explorer and see if you have su in system/xbin or system/bin were ever you put it, because if you don't get it there you won't have root, if you do you should have root.
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Further into the unknown

It seems that busybox will use the compile-time defaults. There is no entry for the applet in the /etc/busybox.conf. It's usefulness is to further restrict access to root privs. (you can also use it to relax access like making 'cp' run as root).

There is a config file for busybox that has the information that I need but I cant find it.

---------- Post added at 10:43 PM ---------- Previous post was at 10:39 PM ----------

There is a recovery mode. There is a MTP mode or something like that as well. I see mount output in Terminal.

---------- Post added at 10:56 PM ---------- Previous post was at 10:43 PM ----------

I have numerous messages about a root bounty? What's this? I saw something on it but awesome hook it up yall! =P Help me live to teach children how to play music another day!

Haha just playin'. But seriously. If the su superuser.pak and su files successfully copy, since they have been successfully written in adb; then its a go.
[ZTE ZMAX Guides, News, & Discussion] thereal_antiHackmasta:
Have to achieve root first sir. I have a Linux distro ready to go with drivers install for the zmax if there is anything you want me to try I would be happy too.
[ZTE ZMAX Guides, News, & Discussion] tech_yeet:
https://www.google.com/url?sa=t&sou...FhtnxQV2otzdgqBRQ&sig2=fQ5vnHoZfXPeF-nVtwKKTA
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Not only do I forsee the root but the next thing is to copy the files in a Linux distribution, verifying that this action has been executed and that the file copy has been performed, then to ensure data integrity by rebooting the phone and enabling superuser in the operating system.

After all this process has been verified as executed and performed successfully then I will write code in apk.

---------- Post added at 11:08 PM ---------- Previous post was at 11:04 PM ----------

Review my methods in copying the files via Adb.

---------- Post added at 11:14 PM ---------- Previous post was at 11:08 PM ----------

You need to ensure that you are running full root by installing the Sudo apt-get install root-system-bin command and logging in as root within your explorer.

Little bit of Linus <3

---------- Post added at 11:19 PM ---------- Previous post was at 11:14 PM ----------

Also ensure that you have open software sources installed and that your repository lists are displayed on output correctly by enabling them as such within terminal:

Grep -v '#' /etc/apt/sources.list

If you don't have correct sources then you can set new ones up :)

Http://repogen.simplylinux.ch/

---------- Post added at 11:21 PM ---------- Previous post was at 11:19 PM ----------

That process will enable the distro in accessing the zte max in whatever mode including any other phone. :cool:

---------- Post added at 11:24 PM ---------- Previous post was at 11:21 PM ----------

I feel the weeds being pulled in my garden. Let's plant some seeds people! I love you.
[ZTE ZMAX Guides, News, & Discussion] thereal_antiHackmasta:
Awesome doing that now!

---------- Post added at 05:37 PM ---------- Previous post was at 05:26 PM ----------

I seem to have a problem running this in the command terminal.

Grep -v '#' /etc/apt/sources.list

any idea why?
[ZTE ZMAX Guides, News, & Discussion] thereal_antiHackmasta:
I followed those instructions everything worked except nautilus did not recognize the phone. Also nothing recognizes the phone once the phone is in ftm which I'm assuming is what you mean by download mode.
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Have you tried doing it in recovery mode? Also, have you verified that terminal is not outputting an error as such: "Could not create directory", when sudo nautilus is executed?

Also try it when the phone is on. Enable USB debugging and ensure that you are a developer by going menu > settings > about phone, then tap build version about 5 times. You will then become a developer.

After that test different modes of charging by selecting the radio buttons by dragging down the status bar charging mode selections, and verify that nautilus does not see the contents of the said directories before moving onto another mode of charging.
[ZTE ZMAX Guides, News, & Discussion] thereal_antiHackmasta:
Yes I have tried recovery mode and adb does not recognise the device like it does in mtp mode. I can't get nautilus to work on my setup in Linux. I got it from the depository.
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Ok if it sees the device in MTP mode then verify you can cd to the directories where the files are that you copied in adb and copy them in adb to the proposed destination.

Also try it when the phone is on. Enable USB debugging and ensure that you are a developer by going menu > settings > about phone, then tap build version about 5 times. You will then become a developer.

After that test different modes of charging by selecting the radio buttons by dragging down the status bar charging mode selections, and verify that nautilus does not see the contents of the said directories before moving onto another mode of charging.
[ZTE ZMAX Guides, News, & Discussion] thereal_antiHackmasta:
While I can use adb to to view files in the directories that I pushed them to they are only directories that have rw permissions.
[ZTE ZMAX Guides, News, & Discussion] thegrim11:
Can someone type up a proper guide on how to do what you have stated. Very confusing trying to piece together post to do this.
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
1|u0_a138@draconis:/ $ busybox su adduser sketchscarz

su: must be suid to work properly

1|u0_a138@draconis:/ $ busybox adduser

adduser: permission denied (are you root?)

1|u0_a138@draconis:/ $

this is interesting
[ZTE ZMAX Guides, News, & Discussion] Rusell:
Yes, I have set up unbuntu with adb and proper drivers. But don't understand what to do after that. The instructions must be specified in one post for more clarification. Anyone willing to do this it will be greatly appreciated :cool:
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
This is all development stages. You would need to refer to all the entries and the last segment that i final draft edited. As of now weer needing a super user open source distrobution or a way to copy the pushed files to a particular directory successfully. In this action the files will be viewable on a root explorer on the phone.

Thanks for noting Im not proper.

and by the way fyi, this is the most proper itll get buddy. I'm definitely educated in this area Sir.
[ZTE ZMAX Guides, News, & Discussion] thegrim11:
Yeah. I have Ubuntu with Gnome setup and I get as far as assigning permissions with chmod but don't know where to go from there. I tried to copy them but i get the r/w error.
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
I have done ALL the foot work! All you have to do now is verify that you can see the directories that you pushed su, superuser.apk and busybox too, then move them or cp the files to the directories Ive listed which are the destination directories,. Its protocol Linux. there are other instances where if the method doesn't work... Ive covered for you other areas of opportunity that might delegate to you the root access you so desire!

To understand a solution to a problem you must understand it fully. You must read to learn how to manipulate these parameters there is a lot right now and its not compiled and consolidated into a small code a lamen cannot understand, respectively.

If you don't understand something try asking questions. It's alot better than discrediting someone that has spent a lot of hardwork on something like this by saying "will someone put this in order", when it has none as of now anyway. Thank you. If you are interested in testing different distributions as demonstrated and instructed, or feel inclined to take part instead of sitting there complaining that the instructions aren't in order when I am in the middle of the development process. Please freel free to be a part of the community development.

---------- Post added at 04:24 AM ---------- Previous post was at 04:05 AM ----------

As I have stated before you must enable the highest state of superuser in your distribution and verify that your repositories are open source. You may need to try different distros with different phone modes or charging modes.

---------- Post added at 04:27 AM ---------- Previous post was at 04:24 AM ----------

If someone has any knowledge of pivot_root command i can try rooting the phone straight from terminal emulator if I am able to busybox su adduser
[ZTE ZMAX Guides, News, & Discussion] thegrim11:
Sorry but that doesn't help very much :/
[ZTE ZMAX Guides, News, & Discussion] Rusell:
As for today I have not had enough time today to overview the instructions, opps :o

Tomorrow I'm going to overview everything and verify if it works, I will gladly help. You will get the credit for showing process :good:

If you have successfully written on the /system then you have taken one big step into rooting, Thanks for being a developer working on our device :laugh:
[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
I love you. No thanks needed. I appreciate you. Encompass the gnome.

---------- Post added at 04:41 AM ---------- Previous post was at 04:34 AM ----------

I have successfully written the su, superuser.app and busybox to:

/data/local/tmp/su with chmod 6755

/data/local/tmp/busybox with chmod 755

And,

/data/local/tmp/Superuser.apk with chmod 644

chmod 777 -R to all said directories should be performed, which is a test to verify all methods of privilege execute successfully.

To do this you must have an open source elevated shell.
[ZTE ZMAX Guides, News, & Discussion] therealduckie:
Is anything stopping me from doing all this in Mac OS Terminal? It shares some *nix compatibility, but I noticed you mentioned using Nautilus Filebrowser. As Finder would not see android files/directories I can only assume that it would not work. Correct?
[ZTE ZMAX Guides, News, & Discussion] tech_yeet:
I would like to say think you a lot for your work on this device, you can add 15$ on that bounty which way you like to be payed google wallet? Mail? Gift card? Pay pal?
[ZTE ZMAX Guides, News, & Discussion] jamesthegreat88:
We have to confirm this gives us root first.
[ZTE ZMAX Guides, News, & Discussion] Xt51:
You should add me on league lol