yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
Su setenforce 0
[Huawei Ascend XT Questions & Answers] shawnchalfant:
Do you have a script run at startup?

I use Kernel Auditor, with a script that starts at boot.
[Huawei Ascend XT Questions & Answers] sweetboy02125:
I'm happy. Thank you so much.
[Huawei Ascend XT Questions & Answers] shawnchalfant:
Don't know what else to tell you. Good luck.
[Huawei Ascend XT Questions & Answers] 9000RPM:
You need something like GMD or Pie Control to replace the soft key that you disabled with "qemu.hw.mainkeys=1".

To go back, just change the 1 to a 0

or

delete the entire code.

Make sure to restart your phone after you save.
[Huawei Ascend XT Questions & Answers] sweetboy02125:
Nah, not practical for me, i'll keep the buttons. Thanks
[Huawei Ascend XT Questions & Answers] divineBliss:
Yes, you should back up before a bootloader unlock and before a ROM upgrade. Think of each as two different phases that could have a long time period in between. Bootloader instructions do say to backup. At the time we were unlocking our bootloaders, we had no TWRP.

Yes, you should spend some time in TWRP and find how to do that and other basic things :) .

Yes to both. :)

---------- Post added at 08:52 PM ---------- Previous post was at 08:17 PM ----------

[SELinux/Tutorials/Permissive versus Enforcing - Gentoo Wiki]

I found this article interesting and thought I'd share it with anyone who can benefit from this knowledge:

[SELinux/Tutorials/Permissive versus Enforcing - Gentoo Wiki]

https://wiki.gentoo.org/wiki/SELinux/Tutorials/Permissive_versus_enforcing

I'm going to try and keep my XT in Enforcing mode for as long and possible and see how it goes. :)
[Huawei Ascend XT Questions & Answers] guest_2011:
is step 7d necessary if i have nothing important to back up?
[Huawei Ascend XT Questions & Answers] sweetboy02125:
How can I change the "You phone has been unlocked and can't be trusted" boot up? I recalled we change the bootanimation.zip for other phone. Is this one the same?
[Huawei Ascend XT Questions & Answers] divineBliss:
Don't know, but the zip just shows the AT&T logo. I think message comes from boot.img.

---------- Post added at 11:04 PM ---------- Previous post was at 10:06 PM ----------

There's no 7d in post 1. Please quote or link source of any further questions. ;)
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
I have a bit of a noob question . So I cleaned out a bunch of bloatware and Huawei crap and installed open Gapps. Now my battery life is complete dirt. Anyone know what I can do or maybe just guess at what I could honestly have changed to impact battery life? At least suggest a good app that isn't full of adds to find out why lol
[Huawei Ascend XT Questions & Answers] shawnchalfant:
You guys are to paranoid. Been using permissive for years. If your told it's good for you then you believe it! And we all use UAC in Windows to because MS says it's better for you, as well as forced updates too. Hurray others think for me?

---------- Post added at 10:46 PM ---------- Previous post was at 10:41 PM ----------

Run the battery down and do a fresh charge. Mine did the same. Battery calibrations get wiped somewhere along the way. Battery apps are complete crap, Sugar pills. You need to wear your helmet, knee and elbow pads, safety glasses, sun screen and have emergency contact numbers before you go out to ride you bike.
[Huawei Ascend XT Questions & Answers] divineBliss:
You are coming across as overly opinionated with your "shawnchalfant's way or the highway" attitude and unnecessary smirky comments IMHO.

There's not just your way. This is a discussion forum. There's pros and cons to everything, so I like to keep an open mind and request you do the same please. If you don't care about security, then that's great.
[Huawei Ascend XT Questions & Answers] shawnchalfant:
Ok, Thanks for the redirection. I don't know what I was thinking. Again, Thanks.
[Huawei Ascend XT Questions & Answers] divineBliss:
I use GSAM Battery Monitor on my devices. I also use a firewall and ad blocking apps, so I don't see any ads.

Have you taken a look at the native battery stats on phone to see what's being reported as consuming all the juice?
[Huawei Ascend XT Questions & Answers] powerserge1:
I requested a dedicated forum for the Ascend XT, hope it comes soon so most of these posts can go in the Q&A section. This thread can be confusing with all the jumping around.

In other news maybe by this weekend we will have a ROM for our device? And hopefully with full root. Then it will be really hard to decide between this phone and my LG G4 :)
[Huawei Ascend XT Questions & Answers] divineBliss:
That's great and we can start now by creating different threads in the section I gave a link to that we already have.

The link is:

https://xdaforums.com/t/huawei-ascend-xt

And I'm sure a moderator/admin can move threads we create now and put them under subsections later.

Feel free to come up with a list thread names/topics you think we should create and we could discuss that.

What do you think? :)

Like you, I have a LG G4 also :) .
[Huawei Ascend XT Questions & Answers] powerserge1:
Well we could start a Q&A thread for rooting and debloating instead of everything being in here. And another thread for recommended apps. I am working on cases and a few new ones did pop on amazon yesterday so at least there is more choice now but none of the cases are very protective. There is a thread on cases so that's a good start.

Since all the threads are in the android general section they are not so easy to find for everyone, that's the main problem. Not sure how long it takes to get a dedicated forum but I took care of the request so hopefully it happens.
[Huawei Ascend XT Questions & Answers] divineBliss:
I just created a thread for Xposed/modules on XT.

https://xdaforums.com/android/development/xposed-huawei-ascend-xt-t3536003

We should make the titles as descriptive as possible.

Maybe you can try and contact a moderator/admin once we create a few more.

I agree with the suggestions you have so far, so go for it.

Other people welcome to add suggestions or create additional threads. :)

---------- Post added at 01:27 AM ---------- Previous post was at 12:57 AM ----------

I created "Battery Performance on Huawei Ascend XT" thread:

https://xdaforums.com/android/development/battery-performance-huawei-ascend-xt-t3536013

And again, the Huawei Ascend XT section link where this and other XT threads are located is:

https://xdaforums.com/t/huawei-ascend-xt
[Huawei Ascend XT Questions & Answers] Sloogle_Flugelmann:
I believe I have found a way to remove system apps more easily (with titanium backup etc.) I think I might have obtained system root by allowing system modifications in TWRP and then I installed SuperSU. Before, titanium would say APK not found when trying to uninstall a system app. Now, I was able to uninstall just fine.
[Huawei Ascend XT Questions & Answers] divineBliss:
Can you please check SuperSU - Settings - System section and tell me what it says or screenshot it.

Mine is grayed out and reads

"System"

"Install SuperSU into /system"

"Not (currently) available in system-less mode"

Thanks :)
[Huawei Ascend XT Questions & Answers] Sloogle_Flugelmann:
Hmm. Yeah mine is actually grayed out as well. Weird. I was able to just uninstall system apps though now. Like for example I uninstalled Sim Toolkit, google drive, and a couple others and it deleted them fine.
[Huawei Ascend XT Questions & Answers] divineBliss:
Check the SELinux status: "adb shell getenforce". I'm guessing it's Permissive.

---------- Post added at 02:58 AM ---------- Previous post was at 02:51 AM ----------

This app will also tell you if adb not convenient:

https://play.google.com/store/apps/details?id=com.clivin.rootchecker
[Huawei Ascend XT Questions & Answers] dabadguycr:
"Phone will boot into TWRP. Always select Keep Read Only from first screen every time you go into TWRP."

Why should it be RO? Wouldn't we beable to have system root if we did R/W?
[Huawei Ascend XT Questions & Answers] Sloogle_Flugelmann:
It says Enforcing.
[Huawei Ascend XT Questions & Answers] 903tex:
That's the internal storage out of the box. It's all this att bloat and you can only disable
[Huawei Ascend XT Questions & Answers] blcistheking:
no one tried srsroot yet?
[Huawei Ascend XT Questions & Answers] akatietje:
I have attempted SRSRoot with the bootloader locked and again with it unlocked. While SRS seems to think it has accomplished root, it actually didn't.

Looking forward to the geniuses that will bring Root, Recovery & ROMs to this super Black Friday steal!
[Huawei Ascend XT Questions & Answers] blcistheking:
shame, at least it gives me a couple more days to head out and pick up my in store order.
[Huawei Ascend XT Questions & Answers] guest_2011:
I mean like other popular phones. I guess if there's no development there won't be a dedicated thread.
[Huawei Ascend XT Questions & Answers] dabadguycr:
I just installed both

14.56Gb

/system 3.4gb

used 2.8gb

256mb free

/data 8.4Gb

Used 3.5gb

Free 5.0gb

I guess 2.4 GB for recovery?

Ram 2gb

241mb system.

1.8gb user.
[Huawei Ascend XT Questions & Answers] dabadguycr:
[IMG="battery"]http://i.imgur.com/tC9bf6N.jpg[/IMG]

I notice a change in battery life whenever I dropped the DPI from 320 to 240. It seems like it will save more battery and give you more screen. That little spike was me changing the DPI. You can notice a slight difference from a big drop to a slightly lessor of a drop. That's all screen time as well. I have been on my phone for around an hour since changing it and I've only dropped around 6℅ of battery while before an hour was 10-12℅ battery

Also strangly my ram is improved by doing this. I'm getting around 850MB free with Facebook Slickdeals chrome and another app open. Normally I would be around 600-650mb free.

XT owners may want to lower your DPI and see what you think.
[Huawei Ascend XT Questions & Answers] Sloogle_Flugelmann:
He's talking about the category, rather than posting a thread in Android General.
[Huawei Ascend XT Questions & Answers] G247:
Great Thread
[Huawei Ascend XT Questions & Answers] akatietje:
Where did you find a DPI setting?
[Huawei Ascend XT Questions & Answers] dabadguycr:
http://www.androidbeat.com/2015/07/how-to-change-dpi-of-android-device-without-root/

Type out the command don't copy paste.

320dpi is stock

I'm using 280dpi and it looks amazing. Font maybe a little small but you can fix that without adb.
[Huawei Ascend XT Questions & Answers] divineBliss:
I tried 320 to 240 on my Huawei Ascend Mate 2 6".

Font was too small for my eyes :).

If anyone tries, take a screenshot before and after to share the results in this thread for others to see. I didn't think to do that plus my phone is different. XT still in the box waiting for root method ;) .
[Huawei Ascend XT Questions & Answers] dabadguycr:
You can adjust the fonts size after changing DPI. I played around with it for like an hour until I found one I liked.
[Huawei Ascend XT Questions & Answers] Sloogle_Flugelmann:
Ugh. Still no root ?
[Huawei Ascend XT Questions & Answers] shawnchalfant:
Need AT&T to release source, then compile TWRP would be a great start. Sucks to be boot loader unlocked and without root.
[Huawei Ascend XT Questions & Answers] divineBliss:
Would the source for the XT come from/get released by Huawei or AT&T, I wonder? Unless there's another Huawei phone similar to this model with wider distribution, I don't know if we'll see TWRP, root, or ROM development for this phone, but I hope that is not the case.
[Huawei Ascend XT Questions & Answers] Nachitoo:
The Honor 5x has similar hardware to this phone, but has a different screen size and a different resolution.
[Huawei Ascend XT Questions & Answers] shawnchalfant:
I think Huawei will release it on their site. They have this model listed there. Looked under the downloads, not there yet. I have a feeling it will be release in due time. Yeah I got to thinking about my post. Code would come from manufacturer not the provider. My goof.

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

Surprisingly AT&T allowed the boot loader to be unlocked, they almost always lock it down tight. We will see TWRP soon, My local Wal-Mart sold out of these fast and still continue to sell them as stock gets replenished. I'm sure the right person picked one up, it's just a matter of time.
[Huawei Ascend XT Questions & Answers] divineBliss:
Calling all Huawei ascend XT users!!! by 903tex thread:

http://xdaforums.com/general/general/calling-huawei-ascend-xt-users-t3511057
[Huawei Ascend XT Questions & Answers] enigma2446:
Finally got it unlocked lol

"Mvno Master"
[Huawei Ascend XT Questions & Answers] guest_2011:
I'm rooted. Can't uninstall bloatware. Don't see anything in t w r p.
[Huawei Ascend XT Questions & Answers] divineBliss:
Mmmm, I'm puzzled :confused: .

You rebooted and the things you debloated are really gone or frozen?

---------- Post added at 08:14 AM ---------- Previous post was at 08:13 AM ----------

I need specifics on how you are trying to debloat.

---------- Post added at 08:18 AM ---------- Previous post was at 08:14 AM ----------

For the installation instructions I wrote, it seemed appropriate to stay r/o to remain system-less.

Now depending on what you are trying to do, you can go into TWRP without staying r/o. Just be careful what you do :) .
[Huawei Ascend XT Questions & Answers] guest_2011:
I use Rom toolbox to uninstall apps. Most of bloatware is system apps. Unable to remove. Until h1611 i had no trouble uninstalling system or non-system bloatware with rom toolbox. Checked suspersu pro but there's nothing in there i need to do that i can think of. Nothing to enable/disable in TWRP. Root uninstaller also unable to remove system apps.
[Huawei Ascend XT Questions & Answers] divineBliss:
From adb, "su", "getenforce". It will probably return "Enforcing". Now type "setenforce 0" and try debloating. Type "setenforce 1" to return to Enforcing. Let me know if it works. :)
[Huawei Ascend XT Questions & Answers] guest_2011:
returned permissive. i typed "setenforce 0". then "getenforce". still returned permissive. ...."sh: su: not found" .... but i have root?
[Huawei Ascend XT Questions & Answers] divineBliss:
Did toolbox ask for root and you granted it?

Tell me one app you can't debloat and I'll check my XT.
[Huawei Ascend XT Questions & Answers] guest_2011:
yes, i granted root access to romtoolbox. i'm still in twrp terminal in case i need to reflash supersu.zip again. i can't remove any att apps. in terminal "su not found"
[Huawei Ascend XT Questions & Answers] divineBliss:
Get out of TWRP recovery and try from adb on PC or phone terminal.
[Huawei Ascend XT Questions & Answers] guest_2011:
PC is glitching, not detecting device. I tried in phone terminal setenforce 0 - couldn't set enforcing status to 0: permission denied
[Huawei Ascend XT Questions & Answers] divineBliss:
su first from adb. If you tell me you already did, I'm out of ideas.
[Huawei Ascend XT Questions & Answers] guest_2011:
when i type SU

# su

#[exit] 0

not sure what it means
[Huawei Ascend XT Questions & Answers] divineBliss:
Actually install Root Checker and post a screeshot. My recent post has a link because one popular checker claims I don't have root :confused: .
[Huawei Ascend XT Questions & Answers] guest_2011:
hah root checker says selinux enforcing, supersuadb root enabled. i can post screenshots later if you still want to see.
[Huawei Ascend XT Questions & Answers] divineBliss:
Is SuperSU setting Mount namespace separation checked? Also in SU settings what does it say under System section? Deep sea fishing on this now :) .
[Huawei Ascend XT Questions & Answers] guest_2011:
namesapce separation was unchecked. Under system not (currently) available in system-less root mode. Checked namespace sep, rebooted, still can't remove apps.
[Huawei Ascend XT Questions & Answers] divineBliss:
I'm :confused: . Will the native phone app manager let you disable or uninstall any of the bloatware you want to get rid of?

Is su from terminal still not working?
[Huawei Ascend XT Questions & Answers] guest_2011:
Phone app manager doesn't allow uninstall of bloat apps, only stop/disable. In terminal i type SU, get

#[exit] 0

In terminal

$ getenforce

Enforcing

$[exit] 0

If nobody else this problem maybe i should backtrack and start over. I followed the steps.
[Huawei Ascend XT Questions & Answers] sweetboy02125:
I was able remove all att app with tibu and root explorer app
[Huawei Ascend XT Questions & Answers] guest_2011:
tibu?
[Huawei Ascend XT Questions & Answers] sweetboy02125:
Titanium Backup
[Huawei Ascend XT Questions & Answers] guest_2011:
i never had trouble with rom toolbox so i figured if it can't do it, root uninstaller can't, tibu won't do it.
[Huawei Ascend XT Questions & Answers] sweetboy02125:
Tibu can't but root explorer can, changed the permission to R/W and remove folders, those apps were long gone
[Huawei Ascend XT Questions & Answers] divineBliss:
I was able to freeze/disable bloatware without a machete. Just saying it can be done :) . I had to use adb to set SELinux to Permissive first. Rebooting sets it back to Enforcing on my XT.

I did not do anything specific to have this behavior, as I installed based on the instructions I wrote.

Would be nice to have a complete understanding of the variations we're experiencing try to debloat. I started with B140 update already on my XT.

---------- Post added at 12:43 PM ---------- Previous post was at 12:36 PM ----------

New thread for debloating the XT:

Debloating the Huawei Ascend XT/ https://xdaforums.com/android/development/debloating-huawei-ascend-xt-t3536345
[Huawei Ascend XT Questions & Answers] shawnchalfant:
Mr bliss, your taking credit for information I put out there first. That's not very admirable. Go back and read the posts.

---------- Post added at 01:42 PM ---------- Previous post was at 01:33 PM ----------

Root will not function correctly on this phone when installed into system partition. It must be systemless at this point. I followed a guide I found researching and followed to the T. Supersu will install into the system, but the app will not find it. Root will ask for root permissions but will not fully grant them properly. The reason is that the boot image has to be patch. When patch it is as systemless. I restored the original boot image and installed SuperSu as system install. But kernel will not boot. If you leave boot image patched and install SuperSu as system, phone will boot, but as I said SuperSu app fails to initialize root properly. So systemless seems to be our only option at this point on stock ROM. This is for those curious ones.

---------- Post added at 01:53 PM ---------- Previous post was at 01:42 PM ----------

If you want to change boot/shutdown animation they can be found here "cust/att/us/media/". BE SUCH TO RENAME THE ORIGINALS AS AN EXAMPLE "bootanimation.zip.bak". Then copy over the new file. Permissions must be set to "644". Also use animations for 1280x720 res. I'm using Pixel boot animation, better than At&t. Kept stock shutdown.
[Huawei Ascend XT Questions & Answers] divineBliss:
Mr chalfant,

No idea what your vague whine is referring to.

Would you like to put your name next to everything you claim is yours, so we all know? Just lay it all out in one big post so we can all see it and know, okay?
[Huawei Ascend XT Questions & Answers] shawnchalfant:
Others will understand my "vague whine". Information is put out there for all to use. Somehow don't think you will ever get it. Probably just part of your character makeup. I'm dropping this.
[Huawei Ascend XT Questions & Answers] divineBliss:
Terrific! Thank you :) .
[Huawei Ascend XT Questions & Answers] sweetboy02125:
Guys, I need to flash back to stock. My battery draining like crazy because I think I delete apps that i should not do too after rooted. It keeps my phone "AWAKE" most of the time when the screen is off. Where is the stock recovery for this?

Thanks
[Huawei Ascend XT Questions & Answers] guest_2011:
I d/l root explorer and titanium. In titaniun nameapace separation message pops up saying it won't work properly if checked in sipersu. Im sure sure what namespace thing does i've never had to do this before. Terrible :'-(
[Huawei Ascend XT Questions & Answers] guest_2011:
I'm not interested in freezing/disabling. Debloating is the only way to free up space.

---------- Post added at 06:07 PM ---------- Previous post was at 06:05 PM ----------

Where can i find those bloatware apps?

---------- Post added at 06:12 PM ---------- Previous post was at 06:07 PM ----------

So this is the reason why none of the system files uninstalling apps work? I have root but permissions not granted properly? This root is useless?
[Huawei Ascend XT Questions & Answers] shawnchalfant:
Root works correctly, what I was saying is root can install one of two ways. First being systemless with means it patched the boot image to give you root access. Second being root installs directly into the system partition of your device. Some prefer not to touch Thier system partition, others like myself like myself enjoy the traditional method. What I did was to attempt a system direct install. With Android 6 and above this method is not welcome as well with all the new security features they introduced, SELinux being one of them SeLinux is not new it was just required given the later versions of Android. No you have root. SELinux has a lot to do with maintaining your system integrity, aka protecting system partitions.
[Huawei Ascend XT Questions & Answers] guest_2011:
i guess my SU isn't working properly. Should i reflash?
[Huawei Ascend XT Questions & Answers] divineBliss:
I don't know what the state of your phone is, but I have system-less root with Enforcing and I am able to freeze/disable user and system apps without the need to delete any folders.

Frozen/disabled apps use zero RAM, so deleting the bloatware vs freezing/disabling won't decrease RAM usage.

I would be interested to know how much free user available internal storage your XT has once you gut it out the way you want to by deleting the user and system bloatware, so please post that.

---------- Post added at 06:32 PM ---------- Previous post was at 06:31 PM ----------

I would try reflash SuperSU zip, yes.
[Huawei Ascend XT Questions & Answers] guest_2011:
In TWRP? Select Read-only? I renamed that supersu file posted in the first page to "supersu.zip". Probably makes no difference when flashing.
[Huawei Ascend XT Questions & Answers] shawnchalfant:
For you guys with SElinux issues. Download Kernel Auditor, then under "Custom Controls" down load the SELinux script. This will give you a toggle that you can turn on/off SELinux so changes can be made, then security turn right back on for your protection. There are other apps that do the same. I just prefer Kernel Auditor for other robust options available once we have custom kernels/ROMs.
[Huawei Ascend XT Questions & Answers] shawnchalfant:
Here is my example of my setup. I removed all bloatware and replaced default apps with Gapps. I have systemless root and set to permissive. It can be done with the wealth of information provided here. I only have one small issue that's no deal breaker. Battery life is fantastic. But I use govtuner script with balance option. Just ask we are here to provide help.
[Huawei Ascend XT Questions & Answers] divineBliss:
That's how I rooted mine, other than renaming the file. I don't think renaming matters. Look at the TWRP log and make sure there are no errors, warnings, etc when you do this.