yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend XT Questions & Answers] jg1210:
No, it didn't make it to the att logo, it would stay on the warning screen.

I know, I tried different restore combinations but it was always the same result. It's fine though, I don't really need or care for the update. I was just trying to see if the b150 update was rootable using the guide in this thread. I was just trying to be the guinea pig lol. So in case others here wanted to update to the latest version (even if it's a minimal update)and root it. If it wasn't rootable, I would be fine without root. Oh well, it didn't work for me. I'll just stay on b130 with root, and continue waiting for hopefully some custom roms. No big deal lol.
[Huawei Ascend XT Questions & Answers] divineBliss:
Were there any errors in the TWRP log or screen during your restore and what partitions are you and others restoring? Did you make sure you checked the box for System to be writable before the restore? (I'm not 100% sure if that's required, but should not hurt).
[Huawei Ascend XT Questions & Answers] madvane20:
#894 my post for stock twrp backup let me know if it works for every one
[Huawei Ascend XT Questions & Answers] jg1210:
Nope, no errors. Everything seemed to go fine until the booting up. Yes, I think checked the box. Me personally, I tried restoring all partitions. Again, this issue only happens when I try to restore the pre-root backup. My other backup which is after root, boots up just fine. One thing I noticed between rooted and pre-root backups, is the difference in size of "data.ext4.win". In the two rooted backups the sizes for that are 546 MB and 1.15 GB. Now compare to the size of the ones in the pre-root, which are both 1.00 KB. Could that be something wrong? I don't know about this stuff as much as others, but that is just something that stuck out as odd to me.

---------- Post added at 05:24 PM ---------- Previous post was at 05:22 PM ----------

Thanks, I'll give it try.
[Huawei Ascend XT Questions & Answers] divineBliss:
I'm not 100% sure, but I think we had to wipe/reformat the Data partition after installing TWRP, so basically that 1st backup has an empty Data partition backup.

I wonder if restoring the stock TWRP backup (restore System, Boot, and Cust partitions only), then restoring a non-zero Data partition only from the 2nd TWRP rooted backup will result in a booted stock phone? I'm betting it will :)

If someone tries, please let us know.

Then you would also what to restore the stock recovery if you are trying to get back to 100% stock :) .

---------- Post added at 05:32 PM ---------- Previous post was at 05:29 PM ----------

Did you try restoring with it on your phone?
[Huawei Ascend XT Questions & Answers] madvane20:
yes and made sure it was stock checked with root checker
[Huawei Ascend XT Questions & Answers] jg1210:
Ok now I'm a little confused. I didn't see an option to backup or restore a cust folder. Only data, system, efs, cache, boot, and recovery. Maybe that was my mistake lol.

Oh yea, you're right. We did wipe the data partition. That was just common sense, I was over thinking it lol. Feel like an idiot now lol.
[Huawei Ascend XT Questions & Answers] Woz2000:
She's Alive!

Thanks everyone for chiming in and Madvane for the upload.

Time to waste some more time playing with my new toy!

Quick to-do if anyone else is trying to recover using Madvane's backup:

Download his ROM from post #894

Open his RAR file and select the last subdirectory (starts with 2017-01-26...)

Extract this whole directory (including 2017-01-26...) in to your SD card under \TWRP\BACKUPS\xSERIALNOx\

*** xSERIALx will be different for every phone

Boot in to TWRP (hold power and volume up) until screen turns on

Restore his backup

Optional - wipe data

Reboot (may reboot several times)

That should be it, good luck.
[Huawei Ascend XT Questions & Answers] madvane20:
so the backup worked?
[Huawei Ascend XT Questions & Answers] jg1210:
Is it rooted or unrooted?
[Huawei Ascend XT Questions & Answers] madvane20:
its complete stock did u need a rooted and debloated one?
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
Is it an image file? (.img) If so, that would really help me in ROM development. Also, I would like y'all to know that I have not given up on this phone and that I am still working, in fact, I believe that I am really close to compiling LinageOS from source, I just have to re-sync my sources and do the steps. If all goes well, I will be able to release this weekend, but no promises.

:)
[Huawei Ascend XT Questions & Answers] jg1210:
No, I'm fine, thanks. I just wanted them to confirm it, that's all lol. Well nice to hear that it worked. I'm still waiting for it to extract, so I can try it on my phone.
[Huawei Ascend XT Questions & Answers] madvane20:
i can try to pull all the partitions as img instead of twrp if u like i just gotta look something up
[Huawei Ascend XT Questions & Answers] Woz2000:
Yes, setting up the phone from scratch again! Thanks.
[Huawei Ascend XT Questions & Answers] divineBliss:
It would be nice if people provide a little feedback when they get some help and then get something working vs "it works now, see ya" :) so people don't have to ask like you had to.
[Huawei Ascend XT Questions & Answers] jg1210:
I think this question was for xx_iamxanderman_xx. Correct? I have no need for img files lol.
[Huawei Ascend XT Questions & Answers] madvane20:
yea that would be much better:)

---------- Post added at 12:41 AM ---------- Previous post was at 12:40 AM ----------

lol did i click the wrong person
[Huawei Ascend XT Questions & Answers] jg1210:
Looks like it lol
[Huawei Ascend XT Questions & Answers] madvane20:
well i cant seem to dump the partition but u can give it a go with this guidehttps://xdaforums.com/showthread.php?t=2450045
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
That would be great! Thank you! Also, all I need is a stock boot and system image file. I believe I have a boot image file that will work, but if you can provide the stock one, that would be great. Again, thank you!
[Huawei Ascend XT Questions & Answers] madvane20:
if my rom or posts help you saying thanks is ok but hitting the thanks button works as well lol

---------- Post added at 01:41 AM ---------- Previous post was at 01:16 AM ----------

um would it still work if its a rooted boot and system img forgot i rooted and removed some apps that werent needed
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
Yes, that will be just fine. I just need one that does not have Xposed installed to it.

If you are unsuccessful in dumping the system.img follow these steps:

Step 1) Boot into the TWRP recovery.

Step 2) Connect your device to your computer.

Step 3) Open a command line on your computer. (Usually Command Prompt on Windows or Terminal on macOS and Ubuntu)

Step 3) Run the following command:

adb shell

Step 4) Be careful when running this command as backspace and arrow keys do not work properly: (I recommending copying and pasting)

dd if=/dev/block/bootdevice/by-name/system of=/sdcard/system.img

Step 5) Wait for the command to complete, it will not show any progress or anything right after you press enter.
[Huawei Ascend XT Questions & Answers] madvane20:
i dunno if i can dump the partitions without root and the apps i removed didnt crash or bug the system was just facebook etc
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
Your system.img will work just fine as long as you did not install the Xposed Framework.
[Huawei Ascend XT Questions & Answers] madvane20:
oh i dumped the images while os was loaded didnt use twrp adb but they still dumped its not full stock system image but close just some apps removed and boot well is patched for su is that ok?

---------- Post added at 02:13 AM ---------- Previous post was at 02:12 AM ----------

ok then all is good waiting for it to transfer to pc then im going to rar them and upload cheers

root@HWH1611-Q:/ # dd if=/dev/block/mmcblk0p24 of=/sdcard/system.img

dd if=/dev/block/mmcblk0p24 of=/sdcard/system.img

7340032+0 records in

7340032+0 records out

3758096384 bytes transferred in 160.822 secs (23368049 bytes/sec)

also btw heres the blocks

root@HWH1611-Q:/dev/block/platform/soc.0/7824900.sdhci/by-name # ls -al

ls -al

lrwxrwxrwx root root 1969-12-31 21:59 DDR -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 1969-12-31 21:59 aboot -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 1969-12-31 21:59 boot -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 1969-12-31 21:59 cache -> /dev/block/mmcblk0p22

lrwxrwxrwx root root 1969-12-31 21:59 config -> /dev/block/mmcblk0p25

lrwxrwxrwx root root 1969-12-31 21:59 cust -> /dev/block/mmcblk0p23

lrwxrwxrwx root root 1969-12-31 21:59 erecovery -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 1969-12-31 21:59 fsc -> /dev/block/mmcblk0p19

lrwxrwxrwx root root 1969-12-31 21:59 fsg -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 1969-12-31 21:59 hyp -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 1969-12-31 21:59 log -> /dev/block/mmcblk0p17

lrwxrwxrwx root root 1969-12-31 21:59 misc -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 1969-12-31 21:59 modem -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 1969-12-31 21:59 modemst1 -> /dev/block/mmcblk0p26

lrwxrwxrwx root root 1969-12-31 21:59 modemst2 -> /dev/block/mmcblk0p27

lrwxrwxrwx root root 1969-12-31 21:59 oeminfo -> /dev/block/mmcblk0p15

lrwxrwxrwx root root 1969-12-31 21:59 pad -> /dev/block/mmcblk0p21

lrwxrwxrwx root root 1969-12-31 21:59 pad0 -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 1969-12-31 21:59 persist -> /dev/block/mmcblk0p18

lrwxrwxrwx root root 1969-12-31 21:59 recovery -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 1969-12-31 21:59 rpm -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 1969-12-31 21:59 sbl1 -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 1969-12-31 21:59 sec -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 1969-12-31 21:59 sgb -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 1969-12-31 21:59 ssd -> /dev/block/mmcblk0p20

lrwxrwxrwx root root 1969-12-31 21:59 system -> /dev/block/mmcblk0p24

lrwxrwxrwx root root 1969-12-31 21:59 tz -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 1969-12-31 21:59 userdata -> /dev/block/mmcblk0p28
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
Yes, that is okay. Thank you!
[Huawei Ascend XT Questions & Answers] madvane20:
i edited my last post if u didnt notice it yet
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
Just noticed, thanks for the help! When do you think the upload will be finished?
[Huawei Ascend XT Questions & Answers] madvane20:
id say ill have it done and uploaded in like 20 to 30 mins

---------- Post added at 02:50 AM ---------- Previous post was at 02:33 AM ----------

ok bout 10 more mins then i will post the link

---------- Post added at 03:05 AM ---------- Previous post was at 02:50 AM ----------

here ya go man https://drive.google.com/file/d/0Bx88t3CJrNjobndJYUVjVkxzeHM/view?usp=sharing
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
Thank you! This will help alot!
[Huawei Ascend XT Questions & Answers] madvane20:
no problem hope thats what you needed and it works. keep me updated i cant wait for custom rom with android 7.1.1 :) least i think thats what u were building lol. ps i can be a beta tester if u want
[Huawei Ascend XT Questions & Answers] Woz2000:
I assumed that when I thanked the others and then Madvane for the upload that people would see it was the upload that got me going. That's what I get for doing 3 things at once and rushing... all the help is appreciated and Madvane asked me in PM to put down what I did, so I edited my post. Hope that helps.
[Huawei Ascend XT Questions & Answers] divineBliss:
Very good :) ! Do you remember how long it was from the time you rebooted out of TWRP the last time until the phone was operational? When people don't see anything happening on the screen for a long time, it helps them to know how long to wait :) .
[Huawei Ascend XT Questions & Answers] Woz2000:
It wasn't very long, a couple of seconds from the 'Your device is booting' to the ATT logo. It rebooted a second time and I got the welcome screen probably 5 or 10 minutes later.
[Huawei Ascend XT Questions & Answers] divineBliss:
Okay, so this wait time goes up depending on how many apps you have installed I believe. When I wiped cache and dalvik today, it took almost 30 minutes for my phone to boot up, so something for people to keep in mind as they install more apps.
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
Status Update

I have tried to port two ROMs (LinageOS and Cosmic OS) with no success, only getting to the boot logo of the ROM. I just finished syncing the LinageOS sources and I will try to compile from source I really do hope the source compile works. If anyone here has any tips or questions feel free to let me know.
[Huawei Ascend XT Questions & Answers] divineBliss:
I'd like to learn how to build or port a ROM. Where do you suggest I start? What's the difference between porting and compiling from source? Do you happen to have a working TWRP project/source for XT?

How's your new computer? :)
[Huawei Ascend XT Questions & Answers] xx_iamxanderman_xx:
I suggest you start with reading the LinageOS Wiki, look for build instructions on there. It will teach you how to compile a ROM from source. You will need a good PC with at least 100 GB of space free on your HDD or SSD. 8 GB of RAM is recommended, 16 if you plan to use a virtual machine (give the VM 8 GB). Also, this is optional but I recommend a 1080p display as you will probably have a lot of windows open. The difference between porting and compiling from source is that porting is easier but you will need to find a device with the exact same specs. We are lucky to have kiwi (Honor 5X) but, it does not have the same screen resolution. To port a ROM you can follow this guide but you will need a lot of knowledge of the command line and the ability to solve any problem that arises when decompiling.

Click Here

After reading guides for porting and compiling from source, the difference will be obvious. I do not happen to have a TWRP project on my computer right now. I may do that after compiling LinageOS. Also my new computer is really powerful and working great for this development project.

:)
[Huawei Ascend XT Questions & Answers] divineBliss:
[MENTION=6547751]xx_iamxanderman_xx[/MENTION],

Thanks! I found the LineageOS link last night and started downloading repos yesterday. I will give LineageOS a shot and will check out the other link you posted. We should create a new development thread or three :) .

---------- Post added at 09:46 AM ---------- Previous post was at 09:35 AM ----------

@enigma2446,

Would you please share your TWRP XT device.mk file with us, if not the entire project. Thanks! :)
[Huawei Ascend XT Questions & Answers] Woz2000:
That makes sense because dalvik rebuilds all the java apps, the more apps you have, the more it has to build.
[Huawei Ascend XT Questions & Answers] divineBliss:
New XT ROM Development Thread

Let's use this thread

https://xdaforums.com/android/development/custom-rom-development-huawei-ascend-xt-t3546042

to discuss general topics related to Custom ROM Development for Huawei Ascend XT H1611.

Other threads related to this phone can currently be found here in the Huawei Ascend XT H1611 Top Level:

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

Thank you! :)
[Huawei Ascend XT Questions & Answers] divineBliss:
madvane20 shared a stock TWRP backup in this new thread:

https://xdaforums.com/android/development/stock-backup-t3545720

:cool:
[Huawei Ascend XT Questions & Answers] aedelman24:
please help! didnt back up h1611 need backup file

I made the mistake of not double checking my backupfiles, twrp didn't backup all of them and when Xposed f*ed up my phone I needed to restore from backup. I cant find the stock Operating software for this phone and my backup wont work. Please help guys I don't have a phone now (Yes I know I will double check next time before I soft brick my phone again and have to ask for help) please post a stock rom for the Huawei ascend xt or a backup file for me, I really need it!
[Huawei Ascend XT Questions & Answers] divineBliss:
You should search and read a bit before posting. You didn't even read the post prior to yours?
[Huawei Ascend XT Questions & Answers] aedelman24:
Lol I know it seems like I didn't but the link in that post is broken, I'm like freaking out cause I've never had a problem like this and I don't have a phone now.. (still, I know it's my fault)
[Huawei Ascend XT Questions & Answers] divineBliss:
Hopefully the link will get fixed soon. :) Yeah, no fun when the phone gets soft bricked. Post in the Xposed thread: https://xdaforums.com/android/development/-t3536003 if you have any idea why this happened for the benefit of others. I have Xposed working on my XT ..... Seems like maybe I'm the only one :confused: .

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

This link looks good: https://docs.google.com/uc?id=0Bx88t3CJrNjobndJYUVjVkxzeHM&export=download

You should be able to fix it with restoring the System partition for that link I believe. Try restoring just the Boot partition first, then if that doesn't work, restore the System partition too. The phone may sit at the AT&T bootup logo for a while, so give it up to 30 minutes (should be less than 15 with stock I believe). Good luck.

Source: https://xdaforums.com/showpost.php?p=70747710&postcount=924 from madvane20 :)
[Huawei Ascend XT Questions & Answers] aedelman24:
I am stuck on the "Your device has been unlocked and cant be trusted screen"

I am unable to "restore" files, I can install the image files to the "boot and recovery" partitions, but system does not show up.

I'm not sure if I'm supposed to be able to restore the files or install them, I installed the boot file on the boot partition, but when I restarted TWRP said "there is no OS installed are you sure youd like to reboot"

not sure where to go from here :/

also, there's an aboot and boot file, I used the boot file to install on the boot partition
[Huawei Ascend XT Questions & Answers] divineBliss:
I'm not sure if this is it, but in TWRP trying mounting system as writable from the Mount button, then see if system.img can be installed.

You may also want to Google how to flash system.img from fastboot in case above does not work. Not sure if it's "fastboot flash system system.img" with all files in same folder as fastboot and adb on your pc.
[Huawei Ascend XT Questions & Answers] aedelman24:
Alright so I tried mounting system as writable but it wont show up in the Mount menu.

I used fastboot to write system.img and boot.img, boot wrote correctly BUT system.img did not,

system "invalid sparse file format at header magi erasing 'system'"...

I can still boot into recovery, but I have no OS installed.

anyone have a straight up back up of this phone that I can restore from? I feel screwed nothing working .
[Huawei Ascend XT Questions & Answers] madvane20:
fixed it sorry for the trouble
[Huawei Ascend XT Questions & Answers] divineBliss:
If you followed the instructions in post 1, you would have multiple TWRP backups. Are they all bad or what? Are the backup files even there? Just trying to figure out what happened that's causing this problem. :)
[Huawei Ascend XT Questions & Answers] madvane20:
as long as they follow the guide and make sure system is writable and and they have formated data with the yes prompt then add thier serial in the folder that needs renamed of my back up they should be fine if they still have issues it should work fine if they boot twrp from fastboot
[Huawei Ascend XT Questions & Answers] aedelman24:
I made only 1 backup. Not sure why it got corrupt but my device is running now with root and xposed.

Xposed installed via recovery and was stuck on the AT&T logo for 25 minutes
[Huawei Ascend XT Questions & Answers] divineBliss:
Maybe others will learn from this to not rely on one backup and keep backup copies in at least two places. Xposed does take that long to install - I'd love to know what's involved that makes it take so long on this phone.
[Huawei Ascend XT Questions & Answers] madvane20:
well to anywho cant get thier phone working look at my sig the link in there takes u to my stock backup
[Huawei Ascend XT Questions & Answers] dabadguycr:
I made Multiple backups. 3. One before root, One after TWRP flash, One after Super U.

The one before Root is only Recovery and Boot. The other two are all 6.
[Huawei Ascend XT Questions & Answers] divineBliss:
It's cheap insurance when something bad happens, as you already discovered when you had to restore from trying to install Xposed Framework. If I recall correctly, you had no problem restoring from your backup, right? :)
[Huawei Ascend XT Questions & Answers] dabadguycr:
I just found out you can put 64Gb Sd Cards in the phone and they work fine.

https://xdaforums.com/android/development/psa-huawei-ascend-xt-h1611-64gb-sd-card-t3547334

Is there away to format it as internal so I can place apps on the card?
[Huawei Ascend XT Questions & Answers] divineBliss:
I'm using a 64GB also and would like to know the largest anyone here is successfully using.

I would strongly recommend against adoptable storage until you do so research and understand the risks. Start with this:

Read these for starters:

https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/109134/p/1449,9582

http://m.androidcentral.com/inside-marshmallow-adoptable-storage

I won't do adoptable storage - too much risk and you might not run into problems in the short term, so it might look good now.
[Huawei Ascend XT Questions & Answers] dabadguycr:
The only problem I had restoring was trying to find the backup.

I fixed it by.

1. Booting into TWRP.

2. Created a Random Backup of the Cache so it would create the Backup Folder I needed.

3. Place the SD Card into my computer Deleted the new backup I created and replaced it with my good backup.

4. Restored my phone without and issue.

I was stuck at AT&T Logo for around 15mins.

---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------

I've been thinking about buying a 128Gb whenever they go on sale again. I've seen them as low as $25 for a Samsung.
[Huawei Ascend XT Questions & Answers] divineBliss:
If you see 128GB Samsung for $25 from a reputable seller like Amazon, please post. I should have bought one from Amazon during BF 2016 :) .
[Huawei Ascend XT Questions & Answers] dabadguycr:
I will do. I got my 64gb for like $8.

I got a Question above swap. I did disable it but I enabled it with the Yes_swap. Just downloaded a Checker and it said swap was disabled. Read up on it and it says swap uses a partition on a SD card.... I've never had this partition. So do we even have swap on our phones?
[Huawei Ascend XT Questions & Answers] divineBliss:
Man, you lost with with this post ....... besides the $8 card :) ? $8 for 64GB sounds like a free lunch that's too good to be true. Google h2testw - I run that on every SD card I buy now because them free lunch SD cards are usually fakes.
[Huawei Ascend XT Questions & Answers] dabadguycr:
I'm serious,. I got it at walmart (in store), It's a Samsung 64GB Evo+. They go on sale about 3/4 times a year for cheap! $8 is the lowest I've seen them. I believe they are $16 right now.

To the other part of my post:. I'm talking about the Zram Swap. I disabled it from a post I seen in this thread. I turned swap back on but whenever I did check it said it's disabled. I'll find the link maybe it will help you understand what I'm talking about.

https://xdaforums.com/honor-5x/development/script-disable-enable-swap-honor-5x-kiw-t3308321
[Huawei Ascend XT Questions & Answers] divineBliss:
Sounds like wild cowboy stuff again disabling Zram swap. How can I check mine to see if it's disabled on enabled to let you know?
[Huawei Ascend XT Questions & Answers] dabadguycr:
I honestly don't believe we even have it on our device since there was no partition for it on the SD card nor internal before and after rooting.

The guide was for 5x.

I posted about disabling it earlier saying that my phone was a lot faster then it was before.... I honestly think I may have been under the placebo effect.

I used Memoryinfo & Swap Checker.