yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
LinageOS

I have gotten a lot of requests for me to release my current version of LinageOS. I do not want to release it until I have got the GPU and radio bugs worked out.

What IS working (as of now)

Wi-Fi

Bluetooth

Screen

USB

Apps

What is SOMEWHAT working (as of now)

GPU (Crashes about every 10 seconds.)

Touchscreen (Gets misaligned every time the GPU crashes.)

What is NOT working (as of now)

Cellular Modem

Camera

If anyone would like to HELP me work out the bugs, private message me saying so and I will send you a flashable ZIP. Please do not private message me for a release unless you actually want to help work out the bugs.

I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU CAUSE TO YOUR PHONE, so please, be smart.
[Huawei Ascend XT Questions & Answers] divineBliss:
Wipe data will wipe out all my apps and data, right - thats almost a factory reset. :(

---------- Post added at 09:10 PM ---------- Previous post was at 09:06 PM ----------

@madvane20,

So it is possible to restore back to factory stock from TWRP (and maybe dd for cust) - if I understand correctly - right?

Do your apps and data also get restored by Data partition restore?
[Huawei Ascend XT Questions & Answers] dabadguycr:
Yep, all apps will be gone.

Try, EMUI Theme Editor app I got lucky once with it.

Clear credentials,

create a theme with a different lock screen (don't use magazine)

Click the new theme in themes and restart.

Download a new lock screen.

clear credentials again.

I believe it confused the system and glitches out. It tires to fix the glitch it shut offs both lockscreens and remove the password. I was lucky once doing this. I was able to go into developer and shut off screen lock.
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
Progress

Well, I have been making some great progress, almost got everything working! Everyone else seems to be working on LinageOS so I decided to go to Resurrection Remix, a ROM with more features.
[Huawei Ascend XT Questions & Answers] divineBliss:
On ZRAM:

My LG G4 which also has ZRAM enabled comes with 3GB RAM, so not just used on low RAM phones.

And another thought I had on CPU consumption is with an octacore like the XT, I bet there's plenty of extra CPU capacity unused most of the time :) . Would be interesting to know how much battery capacity ZRAM uses.
[Huawei Ascend XT Questions & Answers] clsA:
ZRAM is enabled on my H8 also but it's not noticeable.

But like any device it runs better after a reboot which dumps the Swap file.

And trust me the CPU in the H1611 is very weak and needs all the help it can get.
[Huawei Ascend XT Questions & Answers] madvane20:
nice
[Huawei Ascend XT Questions & Answers] dabadguycr:
So what do you do? Just install a ROM see what is and isn't working then try to fix the bugs?
[Huawei Ascend XT Questions & Answers] divineBliss:
That's basically how it goes from what I understand. And hard/impossible for one person to find all the little bugs, so beta testers can contribute that way.
[Huawei Ascend XT Questions & Answers] powerserge1:
There are other people working on Lineage? Had no idea.

No one else is saying anything in this thread or the dedicated thread. So Slim, RR and Lineage. Who will release theirs first :)
[Huawei Ascend XT Questions & Answers] divineBliss:
And which will have the best stability and features and fewest bugs? ;)
[Huawei Ascend XT Questions & Answers] clsA:
Best of the best in Custom Roms .. Great choice

Send it my way ASAP
[Huawei Ascend XT Questions & Answers] divineBliss:
ZRAM Disabled By Default on XT

If you have a look at the stock XT /system/etc/init.qcom.zram.sh file, that script only enables ZRAM for phones that have less than 1 GB TOTAL RAM. The XT has 2GB, so this mod is to disable ZRAM floating around is unnecessary and doesn't need to be done on our phone as it's not using the ZRAM by default. No wonder I didn't feel any improvement.
[Huawei Ascend XT Questions & Answers] dabadguycr:
Anyway to enable it or format the partition and extend our storage partition?
[Huawei Ascend XT Questions & Answers] bengfords1:
I can confirm that root works on the B150 firmware. No issues whatsoever. :)
[Huawei Ascend XT Questions & Answers] divineBliss:
Congratulations! :) Awesome news we've been waiting for. Before you start debloating and modifying, please run the following and post the results:

1. $free

2a. $su (respond to the prompt on phone for SuperSU if necessary for root shell)

2b. #cat /proc/swaps

3. #cat /proc/meminfo | grep -i swap

Thanks!

Do these from an adb prompt which you already used to get root.

Thanks!
[Huawei Ascend XT Questions & Answers] dabadguycr:
How was you able to go back to stock to update? I've tried flashing stock
[Huawei Ascend XT Questions & Answers] divineBliss:
I'm guessing they updated to B150 before rooting. It would be good to know for sure and if anyone else restores from rooted back to stock and updates to B150 successfully, please let us know.

[MENTION=6822212]dabadguycr[/MENTION],

Would you please run those same command to dump swap info I just posted and post your results.

Everyone else feel free to run the swap status commands and post your results. I will do the same later when I can. Also post your B130, B140, B150 version, and if you have Xposed, Magisk, etc. Thanks!
[Huawei Ascend XT Questions & Answers] dabadguycr:
I'll do it whenever I get back home and tell you what it says.

---------- Post added at 10:44 AM ---------- Previous post was at 10:36 AM ----------

What would happen if [MENTION=4783466]bengfords1[/MENTION] posted his backup after root, would we have 1.50b if we flashed it [MENTION=6065620]divineBliss[/MENTION]
[Huawei Ascend XT Questions & Answers] bengfords1:
That is correct. I updated to B150 before root. Working on posting results now from prompts divineBliss instructed me to run.
[Huawei Ascend XT Questions & Answers] divineBliss:
I don't know what partitions B150 updates aside from System and Cust. I would think a B150 backup of System, Cust, and Boot may get you to B150, but since I don't know what other partitions are involved, it's hard to say what would happen.

If you backup your current stuff with TWRP and dd, then if the B150 backup from bengfords1 doesn't work, you could restore and go back to where you were.
[Huawei Ascend XT Questions & Answers] dabadguycr:
If he does post the backup I'll flash it.

Only issue I can see is kernal update. Don't think that would flash.
[Huawei Ascend XT Questions & Answers] divineBliss:
I don't recall if you tried the other posted stock backups. I would try them first and if they work for you (try only if they are for the same B version you currently have), then update to B150 to make sure you get all the partitions that changed which may include modem partitions. Then only if that approach doesn't work you could, try restoring from a posted B150 backup. Just my thought on how I would do it :) .
[Huawei Ascend XT Questions & Answers] bengfords1:
Here are the prompt results for B150 firmware (no debloat, no mods; stock B150 firmware):

1. $free

shell@HWH1611-Q:/ $ free

total used free shared buffers

Mem: 1894498304 1866141696 28356608 0 20193280

-/+ buffers/cache: 1845948416 48549888

2. $su

shell@HWH1611-Q:/ $ su (prompt showed up on phone, accepted)

3. # cat /proc/swaps

root@HWH1611-Q:/ # cat /proc/swaps

Filename Type Size Used Priority

4. #cat /proc/meminfo | grep -i swap

root@HWH1611-Q:/ # cat /proc/meminfo | grep -i swap

SwapCached: 0 kB

SwapTotal: 0 kB

SwapFree: 0 kB
[Huawei Ascend XT Questions & Answers] divineBliss:
Yeah, kernel and modem and dunno what other partitions :) .
[Huawei Ascend XT Questions & Answers] dabadguycr:
I wonder if FlashFire would work to update.
[Huawei Ascend XT Questions & Answers] divineBliss:
[MENTION=4783466]bengfords1[/MENTION],

Thank you very much! :) Assuming you did not do any mods to disable ZRAM or swap (please confirm), then ....... You already said no mods so ........

you have just confirmed that there is no ZRAM or swap enabled on B150 by default, so you don't have to do anything to disable ZRAM or swap, so ignore those mods.

[MENTION=6822212]dabadguycr[/MENTION],

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

NO!!!

WARNING: Don't use FlashFire on this phone. It warns not to use it on Huawei. Just try installing FlashFire and then try to backup a partition and see what happens :) .... it's harmless, but definitely don't want to flash/write to a partition with it. If you find out I'm wrong and it works to flash on XT, let us know :) . I have used in on my LG.
[Huawei Ascend XT Questions & Answers] dabadguycr:
Uhm that's a little trouble some. I wonder why it says not to use it with hauwei. Maybe that's why I can't get back on stock.
[Huawei Ascend XT Questions & Answers] divineBliss:
What do you mean? Did you us FF on XT? The warning IIRC is like you can brick the phone :) .
[Huawei Ascend XT Questions & Answers] dabadguycr:
Nope didn't try to use it. I downloaded the app and whenever it said hard brick I said hell no.

Soft brick no big deal but I can't risk hard bricking my phone.
[Huawei Ascend XT Questions & Answers] bengfords1:
I could easily provide you all of my backup files of the non-rooted, B150 firmware, but don't know how to go about uploading all those files here on XDA? We are talking 3GB of files here, as I backed up all 6 partitions.

---------- Post added at 11:27 AM ---------- Previous post was at 11:23 AM ----------

Also, I have been unable to use Power Button + Volume Up to get back into TWRP. I have been forced to use ADB commands, which is no big deal, but a minor annoyance. Power + Volume Up gets me to stock, EMIUI recovery options even though I am rooted and have the ability to use TWRP.
[Huawei Ascend XT Questions & Answers] clsA:
Good too know

I wonder why others get this

http://cloud.tapatalk.com/s/589a03a276871/IMG_20170207_112906.jpg?

That's what my phone showed before I rooted it too...
[Huawei Ascend XT Questions & Answers] dabadguycr:
So rooting it breaks swap/Zram?

I got all zeros on swap and Zram.

I did disable swap but I did reable it.
[Huawei Ascend XT Questions & Answers] clsA:
It almost seems like once it's off it stays off.
[Huawei Ascend XT Questions & Answers] divineBliss:
I think we need more XT ZRAM/swap check/status information - especially from someone who has stock and unrooted :) .

If anyone has rooted and shows ZRAM or swap enabled (and did not do any modes to enable either), that would be good to see also.

You and have Xposed, so I was wondering if that had anything to do with it, but that's been ruled out since root is the common factor now.

---------- Post added at 01:03 PM ---------- Previous post was at 01:00 PM ----------

We can only say that if we see it on, then someone turns it off and it stays off. As mentioned before, I wonder if rooting does something that keeps swap/ZRAM off. I still got more testing to do later.
[Huawei Ascend XT Questions & Answers] dabadguycr:
We got to find someone that hasn't tempered with swap.

I don't have Xposed as of my like backup recovery just been too busy to get it again.
[Huawei Ascend XT Questions & Answers] divineBliss:
We already have that person : bengfords1 - no mods except root. :) Unless you mean find someone without root - which I said too. :)
[Huawei Ascend XT Questions & Answers] clsA:
The picture I posted is from the beta test group I'm in.. there phones have locked bootloaders and can not be rooted. So what's that tell us.

All of us that are or have been rooted show 0 swap and it can't be turned back on. Now what
[Huawei Ascend XT Questions & Answers] divineBliss:
When you SAY "swap on" do you mean swap using ZRAM?

Because I have turned swap on on my phone using a file for swap space, so swap can be turned on :) . I will provide details sometime later after I'm done testing and have time to write instructions. And of course it will be YMMV and relatively easy to disable. As you know from the 5X thread, some say turning off ZRAM makes their phone sluggish while others love it off. And then there were those in 5X thread who said it ZRAM/swap was already off on their phones.

Do you know how to make a script automatically run at startup without modifying Boot or System and without using a 3rd party app? :confused:
[Huawei Ascend XT Questions & Answers] dabadguycr:
I was able to turn it back on as well but it wasn't using the swap/zram partition. It was taking up space so I stopped using it.

We still have the files on our phone. It's in /dev/block.
[Huawei Ascend XT Questions & Answers] divineBliss:
Taking up space where? And how much space?
[Huawei Ascend XT Questions & Answers] dabadguycr:
I can't remember the app I used at first but Memoryinfo & swap info allows you to enable swap but it only lets you do 20mb. Right now I do have swap back with this app but it's only 20mb.

The other app would create a swap files any size I wanted but it wouldn't allow me to use dev/block/ where swap is located. It was create the files on storage and take up space.
[Huawei Ascend XT Questions & Answers] Mike64b:
Hi all,

I have a Huawei Ascend XT H1611 AT&T gophone that I unlocked and am using on Tmobile successfully. However, I found that trying to enable the hotspot gives a message "There is a temporary network problem that is preventing the mobile hotspot function from being enabled. Please try again later". I've tried reboot, 3rd party hotspot apps, etc same issue. Both phone data and wifi are working just fine. On all my previous phones tethering has worked fine too.

Has anyone else had this issue? Hotspot is really critical to me. Will any of the root work being done here help this?
[Huawei Ascend XT Questions & Answers] divineBliss:
Hi Mike64b,

Yes, by rooting people have been able to enable hotspot. I don't recall if anyone rooted is on TMobile here.

Can you please run these command and post your results before rooting:

https://xdaforums.com/showpost.php?p=70921550&postcount=1112

You should be able to run them all and get results without root. These commands just check the status of swap and ZRAM on your phone and won't change anything :)

Thanks!
[Huawei Ascend XT Questions & Answers] sonofdan:
Rooting helped allow me to wifi tether. I am on Public mobile in Canada, I would receive the exact issue "There is a temporary network problem that is preventing the mobile hotspot function from being enabled. Please try again later". Once rooted I deleted the huawei entitle system app with ES file explore, sure you could use whatever app you prefer. Once that is deleted reset your phone and under tethering the error should be gone.
[Huawei Ascend XT Questions & Answers] dabadguycr:
Where does the update download too? I'm thinking of downloading it and picking around on the PC. Unless someone ether has A) figured out how to go back to fully stock to allow OTA update or B) Update with root.
[Huawei Ascend XT Questions & Answers] divineBliss:
It goes in a folder "/cache/fotapkg" and you have to be rooted to get to it.
[Huawei Ascend XT Questions & Answers] dabadguycr:
I am rooted, that's how I got zram working with your help.

I'm going to try and extract it and see what's all in it and what it changes up. There maybe away to flash it.

If not I guess we got to wait until someone figures out how to go back to stock or someone makes a ROM with the update implanted.

So I was reading up and it says if we flash the stock system not boot will allow us to download OTA.

---------- Post added at 10:51 PM ---------- Previous post was at 10:09 PM ----------

This is what's inside the B1.50.

Seems like the only thing it changes is system.
[Huawei Ascend XT Questions & Answers] divineBliss:
You missed cust and you have to look inside the UPDATE.APP file I believe.
[Huawei Ascend XT Questions & Answers] dabadguycr:
I think I'm going to run how and see what I can do with it on my PC. I wonder what would happen if I flash the zip with TWRP. I know Android would check for modifcations but TWRP won't.
[Huawei Ascend XT Questions & Answers] divineBliss:
I don't think it's that easy, but you can try.
[Huawei Ascend XT Questions & Answers] dabadguycr:
I wonder how much of a risk at hard bricking my phone like this.

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

https://drive.google.com

https://www.androidfilehost.com

I believe you can upload to them. I would compress with winzip or winrar first.

If you would like to I would even upload the backup you made after flashing SuperSU.
[Huawei Ascend XT Questions & Answers] Mike64b:
Here are the results:

adb shell

shell@HWH1611-Q:/ $ free

total used free shared buffers

Mem: 1894486016 1867243520 27242496 0 12410880

-/+ buffers/cache: 1854832640 39653376

Swap: 757067776 250863616 506204160

shell@HWH1611-Q:/ $ su

/system/bin/sh: su: not found

127|shell@HWH1611-Q:/ $ cat /proc/swaps

Filename Type Size Used Priority

/dev/block/zram0 partition 739324 244980 -1

shell@HWH1611-Q:/ $ cat /proc/meminfo | grep -i swap

SwapCached: 5064 kB

SwapTotal: 739324 kB

SwapFree: 494348 kB
[Huawei Ascend XT Questions & Answers] clsA:
yeah you have 722mb of SWAP in zram [MENTION=6065620]divineBliss[/MENTION] have you figured out how too fix this on phones after being rooted and going back to stock ?
[Huawei Ascend XT Questions & Answers] divineBliss:
Yes! :) 722MB ZRAM swap on rooted:

https://xdaforums.com/showpost.php?p=70933595&postcount=28
[Huawei Ascend XT Questions & Answers] Mike64b:
So I rooted my phone and got the wifi hotspot working, but is there something else I should be doing with this ZRAM thing ? (From what I was reading it has something to do with a performance improvement?) Apologies if this is a major noob question haha.
[Huawei Ascend XT Questions & Answers] clsA:
Allot of us believe that disabling the Zram / swap gives the phone a small performance boost.

Others say it's not needed.. it's your choice to disable it or not
[Huawei Ascend XT Questions & Answers] divineBliss:
1. Can you please run those commands again like yesterday and post the results as before.

2. I would personally suggest not making any mods like the enabling ZRAM swap for a few days and just get a feel for the phone with root. That we you can better judge for yourself what effect any mods have on your phone. Just a thought :) but do what you feel is best.

You should make a backup of the cust partition with dd before messing around with debloating it and also make a TWRP backup before doing anything major. :)

---------- Post added at 12:53 PM ---------- Previous post was at 12:50 PM ----------

@Mike64b,

Your results from #1 should confirm that ZRAM swap is already disabled after you rooted, but please post them for us. Thanks!
[Huawei Ascend XT Questions & Answers] Mike64b:
Yeah i'll hold off for a week or so before messing with it if at all. Here are the results, looks like it is disabled. Thanks

shell@HWH1611-Q:/ $ free

total used free shared buffers

Mem: 1894486016 1869094912 25391104 0 8237056

-/+ buffers/cache: 1860857856 33628160

Swap: 0 0 0

shell@HWH1611-Q:/ $ su

root@HWH1611-Q:/ # cat /proc/swaps

Filename Type Size Used Priority

root@HWH1611-Q:/ # cat /proc/meminfo | grep -i swap

SwapCached: 0 kB

SwapTotal: 0 kB

SwapFree: 0 kB

---------- Post added at 07:31 PM ---------- Previous post was at 07:18 PM ----------

Does snapchat work for anyone else on root? I'm getting a failed login error, from googling it looks like this is caused on root phones with xposed but I have not installed that I don't think... Any ideas?
[Huawei Ascend XT Questions & Answers] divineBliss:
You would know if you installed Xposed, and yes, Xposed must be installed after you log into snapchat to avoid the inability to log in. If you did not install Xposed (which I did using Magisk) , then I don't know what's causing this.
[Huawei Ascend XT Questions & Answers] Mike64b:
Hmm yeah that's definitely weird, i've read installing xposed and uninstalling it worked for someone so I might try that.
[Huawei Ascend XT Questions & Answers] divineBliss:
I would not recommend that. Tried rebooting and uninstalling/reinstalling snapchat?
[Huawei Ascend XT Questions & Answers] Mike64b:
Yeah just tried the uninstall/reboot/reinstall, same issue.
[Huawei Ascend XT Questions & Answers] divineBliss:
Installing xposed framework is a big deal. Your screen may go dark for up to 30 minutes, so don't freak out if that happens and just leave the phone alone.

Maybe try restoring to stock after backing up your rooted phone.
[Huawei Ascend XT Questions & Answers] jg1210:
I just restored a stock backup and was able to login to Snapchat. Before that I tried to logon to snapchat when I was rooted and had the same issue. I also did not have xposed installed when I was rooted.
[Huawei Ascend XT Questions & Answers] divineBliss:
So the question is can anyone with root here login to Snapchat?
[Huawei Ascend XT Questions & Answers] clsA:
So this tells us that just rooting the phone disables the Swap ... how does that work ?

I did the update that [MENTION=6065620]divineBliss[/MENTION] posted on how to reenable the Zram/Swap to 722mb and it's now in the H1611_Enable_Zram_flashable.zip I uploaded here >> https://www.androidfilehost.com/?fid=817550096634744683
[Huawei Ascend XT Questions & Answers] divineBliss:
No clue ..... All I know is what I see from running things and collecting real data of what's happening. You've been following ZRAM swap a lot long than me, so you tell me.
[Huawei Ascend XT Questions & Answers] clsA:
Their is no reason why rooting would disable it... it normally has to be done manually

I'm slowly learning nothing makes sense with these Honor / Huawei phones
[Huawei Ascend XT Questions & Answers] divineBliss:
I have a Huawei Ascend Mate 2 and don't recall anything nonsensical quite like this. Do you have similar nonsensical issues with your Huawei Honor 5X to for you to make the below statement :confused: ....

And who knows, maybe this is happening because of the rooting process and nothing to do with Huawei specifically .
[Huawei Ascend XT Questions & Answers] clsA:
I'm mostly talking about the way they update the phones with the update.zip that can't be flashed by anything but the internal updater VIA OTA

while other phones like the Honor 5x and 8x have full dload firmware packages that you can return to stock with very easily
[Huawei Ascend XT Questions & Answers] Mike64b:
Alright so I was messing around with Magisk and installed Xposed framework, then I installed root switch and disabled root, and then stupidly forgot about that and had magisk uninstall the xposed framework. On reboot the device got stuck in a boot loop (I'm guessing because root was disabled by root switch). I booted back into recovery and recovered everything except data (the recoveries were from pre-root because I forgot to take ones after root).

Upon booting back up(into non-rooted phone now), I installed snapchat and logged in successfully. I then reflashed supersu zip to regain root. I again confirmed snapchat still works (however I'd assume if you logout and login again it will fail).

Things I learned:

1)Don't **** around with xposed/magisk/rootswitch when you don't know what you're doing.

2)Logging into snapchat without root and then rooting is one work around.

3)Some other work arounds that I was originally trying to do was either using the root switch app to disable root and login to snapchat OR by using supersu unroot option and then logging in. I suspect the latter option would certainly work, the former I'm not sure.
[Huawei Ascend XT Questions & Answers] divineBliss:
[MENTION=5402810]Mike64b[/MENTION],

Glad you got it figured out. Yes, don't change your password or log out of Snapshot otherwise you'll have to repeat what you just did.

So does this mean you hadn't installed/logged into Snapchat on your XT before rooting it?
[Huawei Ascend XT Questions & Answers] Mike64b:
No I don't think I did, my phone was pretty much new out of box when I did the root