Soon receiving A2017. Preparing the craddle - ZTE Axon 7 Questions & Answers

Hello. all
Just preparing myself to receive a new chinese Axon and would like to prepare the "software set" and tools to perform some actions, and would like to ask the people here some questions.
1.- The first thing I woud like is to make a complete and thorough backup. Please advice me how and which tools should I use to do that. seems some mates have had problems with TWRP backups and IMEI. Would like to ask if that is already solved or not.
2.- I would like to use Xposed, so I will need to stay in Marshmallow, rooted and TWRP'd, so I would like to ask how to
a) unlock bootloader considering I will have (probably) a B13 and want to end with a B10?
b) Install TWRP (which version)?
c) Flash the downgrade (which one coming from B13?
d) root the item (superSU)
e) Flash Xposed and Gapps (advice, pls)
Could anyone put me in the right path. I a complete noob and shed some light in this. Seems there are several ways to do that (Edl, fastboot, Myflash) and since I come from a nicelly bricked Meizu and seems the TWRP backups can have some drawbacks, would like to enjoy your advice....
Regards

Related

How to properly flash a custom rom?

Hi guys,
So it's been quite a long time since I last attempted to root or flash a custom recovery/rom on an android device... So long in fact that I can only remember as far back as the Sony-Ericsson Xperia X8, and the Samsung Galaxy S2.
Since then, I've become VERY rusty because, due to the area of work I'm in, I needed an iPhone (oh jeez was that just torture).
Anyway, I'm now an owner of an 8GB Samsung Galaxy J5 (SM-J500FN) and being quite tech savvy, you can probably guess that I've already run out of the 4GB space provided. So, I've decided to try and jump back into the world of rooting and flashing custom roms/recoveries.
BUT! Because I've been out for so long, my young, naive, scared Sh*tl*ss self has re-emerged, because he's looked through LOADS of threads and guides on how to do this and has gone... NOPE!
So this is why I'm here. I'm very aware that there are loads of guides out there, but I've a few questions about it all, and hopefully with any luck, this could be turned into an AiO (All in One) guide for those just starting with this concept.
Even so. Here's a few things I'd like out of this... First, I'm very much interested in having TWRP as my recovery. I did use CWM back in the day but found it non-user friendly (but that's just me). I'd also like to have either Cyanogen 12.1 or 13 (though I've seen that there are still bugs in 13 whereas 12.1 is virtually bugless).
So here are my questions:
I've read that you need a key to unlock the Samsung Bootloader to enable you to flash TWRP. Is that true with the J5? (NOTE: I did enable OEM Unlocking in the Developer options)
If I flash TWRP, will my phone get completely wiped, or not?
Will KNOX try to interfere with the flashingof TWRP, or once TWRP is flashed, will KNOX generally bugger about with the phone? (I've heard that KNOX will prevent the device from accessing Samsung servers if it deems the device to be "Unofficial")
How likely is it to brick the phone through flashing the recovery?
I know those questions are probably really simply answered in guides but that's not the point of this, I'd rather have somewhere, one place, where people can see all the answers rather than having to go looking for hours and end up getting very scared! xD
Finally:
How do I flash TWRP onto my J5 (SM-J500FN)? (I've seen loads of guides to this all doing it in very weird and colourful ways, but all very, very different!) Please don't point me to some random guide, I'd like more of a lay-mans terms on how to do this as it's all confusing.
How do I flash Cyanogen 12.1/13? (Is this the same as CWM where you click "Install" select the .zip and then it does it for you?
As said above, this is designed mainly for piece of mind, but also a more definitive thread to how to successfully achieve this!
My experience of flashing TWRP is from using the same phone as yourself SM-J500fn and its all really simple.
Please remember that I'm just another guy who uses this site so I'm only sharing my experience of using the same phone.
You have already unlocked the OEM in the developer settings so no need to worry about bootloader like in some other phones.
Make sure that you download the most current version of the recovery that you want to use.
I had trouble with a recovery before and it was just due to the fact that the recovery was not good.
I'm pretty sure that you will lose all warranty from flashing a custom recovery but KNOX has not given me any trouble.
I didn't lose any info off my phone when I simply flashed a recovery only when I either flashed a new ROM via ODIN or a custom ROM via TWRP.
It was a really simple easy thing for me to do. Once i made sure that I had all the drivers and ODIN and TWRP downloaded then out only took a few mins.
Installation of Cm 12.1 was just a case of pressing the correct buttons but I made sure I did a full back up and good wipe before installing.
I have purposely only given you my experience of doing this no guides / downloads etc. I'm not a developer just somebody who enjoys paying around with my Android phone.
Hope that was of some help. I'm happy to share what experience I have.
John
Not sure what guides you have looking, but not the right ones.
1- No key needed to unlock bootloader, only OEM Unlocking
2- TWRP will wipe the partitions you select, but that doesn't mean more user space, the user space partition (internal data) size is fixed
3- KNOX doesn't interfere, KNOX is a system protection on Samsung ROMs
4- If you read the instructions carefully there's problem, it's not that difficult
You need a recovery based on what ROM you will install
[RECOVERY] [TWRP-3.0.2-0] Samsung Galaxy J5 [MM][Android 6.0.1]
[RECOVERY][TWRP 3.0.2-0]TWRP Recovery for Samsung Galaxy J5 (2015) [Android 5.1.1]
Each recovery has is own instructions, just follow and you should have problems, same with custom roms
[ROM][UNOFFICIAL][5.1.1]CyanogenMod 12.1 for Samsung Galaxy J5 (2015)
Thats the only build from source (til now), the others are ports, ports can have more bugs a less security updates and CM updates integration.

Need Beginner's Guide, so Custom Rom can be installed

***UPDATE***
Thanks to reply, I have now successfully done everything I set out to do, and created follow-up guide!
You can find it HERE
Original Post below:
Hello Everyone!
I'd like to start off saying I used to have a Nexus 4, with TWRP and Lollipop-based CyanogenMod. I was able to install this all by myself, and keep both TWRP and the ROM updated. I also flashed custom radio to unlock the LTE capability on that phone. My tool of choice to help customize the phone was Nexus Root toolkit.
I was able to follow guides posted long ago on these forums, to do what I wanted with the Nexus 4 back in 2013/2014, but it seems I'm not so capable these days. I've hit such a roadblock with lack of root and constant stutters/slowdowns with everyday use on my current device, the Axon 7, that I must get away from the stock software. I heard it was not so easy with other devices, and while a few devs have posted wonderful guides for users, it's just not enough for a true beginner like me. From skimming guides posted, it seems like devs already expect you to have installed custom recovery, or unlocked bootloader. Then when I try to do these things, so I can move onto custom ROM, it seems the guides are out of date or just not step-by-step enough for me to use, and I don't want to take a risk and brick my device trying things that I'm not sure about. I'm a power user through and through, but not so up-to-date or knowledgeable enough to be able to follow the guides already on the forums. Consider me 1 out of 5 on tech level for Android software.
Here's the model/software already on my device: Stock everything, from bootloader and recovery, to ROM.
Model: A2017U, Nougat 7.0 on B15 ROM
What I still need clarification on:
with my device already running on nougat, do I need to install the nougat universal bootloader/radio I saw in earlier guides?
will LineageOS have any downgrades in regard to audio quality, on either the headphone output or speakers?
will my ROM of choice have Daydream VR support? if not what would be needed?
this is not a big deal, but do I need a special app or entire custom ROM if I'm interested in a temporary unroot to use apps like Android Pay?
Here's what I want on my device: TWRP, LineageOS with root.
If anyone, expert users and devs alike, could reply with current known-good info about the following, I and a lot of other users would be eternally grateful:
unlocking the bootloader, installing TWRP, and LineageOS, in a stupidly long but simple step-by-step process.
Quick follow-up info:
What I can do so far: download current LineageOS nightly, correct version of root .zip, and TWRP from official websites
NO, I'm not good with using ADB on Windows to get things done. I had to ask a friend to help me install it on windows, the guide he sent was much easier than the one i was using, and he still had to walk me through how to use it once installed to help me unlock bootloader/root on another device, Zenphone Zoom if anyone is interested.
PLEASE, don't link me to other guides for any part of this process, if the steps are thorough and relevant, please copy here, of course with all due credit given to original poster.
Feel free to let me know if more info about my knowledge level or device is needed to help you work on my request.
Thanks for reading, here's to several years more of everyone enjoying this wonderful device!
ok there is three real steps, but it can be aheadache, mainly because you didn't unlock before going to nougat.
Step 1. Downgrade to B29 Marshmallow - go here https://www.zteusa.com/axon-7/ and on the support tab in software updates is a full B29 software package. Download it, unzip it once, then put the update.zip file on your SD card.
- on the phone, in developers options, turn on OEM unlocking (it is needed to flash from sd card)
- boot phone to recovery, choose update from sd card, pick the update.zip from the sdcard, the phone will flash the B29 software. It is a bit slow, let it do what it needs to do.
Step 2. Unlock phone and install TWRP - go here https://forum.xda-developers.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514 download the miflash program, fastboot unlock program, and twrp for B29.
- instructions are all there, just do what it says.
Step 3, Install LineageOS - https://forum.xda-developers.com/axon-7/development/unofficial-lineageos-14-1-zte-axon-7-t3545679 very straight forward. Don't forget to install first the bootloader, then the rom, then gapps.
What makes this so hard is not being easily able to unlock in nougat. Most of us here unlocked way before marshmallow
No need to downgrade to b29.
lafester said:
No need to downgrade to b29.
Click to expand...
Click to collapse
I was thinking this too. Should be as simple as the steps below
1) Flash signed twrp using axonroot tool - this pry's open the door
2) Using twrp, flash fastboot (b20_fbop or something?) - opens door wider
3) Enable usb debugging and oem unlocking in developer options
4) reboot to fastboot/bootloader mode
5) fastboot oem unlock - door is now wide open
Done.
gpz1100 said:
I was thinking this too. Should be as simple as the steps below
1) Flash signed twrp using axonroot tool - this pry's open the door
2) Using twrp, flash fastboot (b20_fbop or something?) - opens door wider
3) Enable usb debugging and oem unlocking in developer options
4) reboot to fastboot/bootloader mode
5) fastboot oem unlock - door is now wide open
Done.
Click to expand...
Click to collapse
Is that a "should work" or "does work" because I'm trying to root and install LOS also on stock non rooted nougat Axon 7 and so far I've gotten nowhere and no one seems to be able to give me a list that says Yes this works
Help needed
I followed the instructions and is apparently in a boot loop. Initially it was working but now it is not. I can't even wipe the device to start from scratch. Is there another ROM available to try?
kingoftheafro said:
Is that a "should work" or "does work" because I'm trying to root and install LOS also on stock non rooted nougat Axon 7 and so far I've gotten nowhere and no one seems to be able to give me a list that says Yes this works
Click to expand...
Click to collapse
This is exactly the reason I made my post, I need concrete answers not guesses. Glad to see someone else needs the same answers
kaiso said:
I followed the instructions and is apparently in a boot loop. Initially it was working but now it is not. I can't even wipe the device to start from scratch. Is there another ROM available to try?
Click to expand...
Click to collapse
Did you downgrade to Marshmallow B29 first or skip this step?
[email protected] said:
This is exactly the reason I made my post, I need concrete answers not guesses. Glad to see someone else needs the same answers
Click to expand...
Click to collapse
I'm praying that someone will compile the information spread about into 3 guides that are model specific so people like us won't rack our heads trying to figure out what on earth to do.
[email protected] said:
Hello Everyone!
Model: A2017U, Nougat 7.0 on B15 ROM
What I still need clarification on:
1with my device already running on nougat, do I need to install the nougat universal bootloader/radio I saw in earlier guides?
2will LineageOS have any downgrades in regard to audio quality, on either the headphone output or speakers?
3will my ROM of choice have Daydream VR support? if not what would be needed?
4this is not a big deal, but do I need a special app or entire custom ROM if I'm interested in a temporary unroot to use apps like Android Pay?
Here's what I want on my device: TWRP, LineageOS with root.
If anyone, expert users and devs alike, could reply with current known-good info about the following, I and a lot of other users would be eternally grateful:
unlocking the bootloader, installing TWRP, and LineageOS, in a stupidly long but simple step-by-step process.
Quick follow-up info:
What I can do so far: download current LineageOS nightly, correct version of root .zip, and TWRP from official websites
5NO, I'm not good with using ADB on Windows to get things done. I had to ask a friend to help me install it on windows, the guide he sent was much easier than the one i was using, and he still had to walk me through
Click to expand...
Click to collapse
Ok, I've edited your post to clear some of the clutter and numbered everything so I can answer everything.
1. No, bootloader updates are only for users who haven't updated to B15 (through official means)
2. Only audio issues are with the front facing speakers. The way they sound is if you turn them up to 100% and then push it even higher to like 140%. So if you keep it at about 71% they sound normal. Check this guide here to get even better quality on overall sound (headphones, speakers)
3.B15 and LOS both work with Daydream. I currently use LOS with my Daydream headset currently.
4.Magisk with this kernel here. Currently have fully functioning Android Pay with LOS.
5. This is a big problem. If you're not comfortable with ADB you should maybe rethink messing with this phone. EDL mode (which is how I flash TWRP and subsequently the B20 bootloader to unlock) is very similar to ADB and the tools needed to flash in EDL can brick your device. Learning how to use ADB isn't bad but it's good as a fallback so you're not relying on strangers to help you out in a pinch (which most will, I just like having the ability to do things mostly myself).
---------- Post added at 10:05 AM ---------- Previous post was at 09:55 AM ----------
nolimit78 said:
I'll keep on saying this as much as I need to, I get where you're coming from. There's a lot of data about the correct way of doing things. Best thing to do is read and search. When I got my phone B29 was the new hotness and there was a bunch of older data floating around that I had to sift through. But I did it, I sifted and found my own way and combined two different methods to get my phone rooted and flashed with LOS. Honestly, the trial and error, the searching, the sifting is totally worthwhile because while this device is /DIFFERENT/ compared to methods for HTC and Samsung products, it's not harder. It's better to get yourself properly antiquated to the device you plan on flashing/hacking/rooting because there is /always/ a chance for bricking. Then another thread will be created asking for help to unbrick. Take the time, read now, read everything, understand your device, then push forward.
Click to expand...
Click to collapse
I quoted this because this thread is like the third I've seen in the last couple days. But to offer some help, this is the guide that I've followed with two phones one running B29 stock and one running B15 Stock. It remains the same because of the use of EDL. It's also good in case you want to go back to complete stock (which at the time was speculated would brick your device) but I read between the lines and discovered that it's just not a big deal. Once you get TWRP installed, make sure your Data partition is EXT4, flash LOS, flash GApps and you're good to go.
The hardest part of the process, is getting your drivers to be recognized properly for the EDL flashing tool to work. Anti-Virus softwares tend to throw false positives with tools like the EDL Flashing tool. I installed a fresh copy of Windows 7 JUST to have a flashing station ready JIC. Once I did that, smooth sailing.
nolimit78 said:
Ok, I've edited your post to clear some of the clutter and numbered everything so I can answer everything.
1. No, bootloader updates are only for users who haven't updated to B15 (through official means)
2. Only audio issues are with the front facing speakers. The way they sound is if you turn them up to 100% and then push it even higher to like 140%. So if you keep it at about 71% they sound normal. Check this guide here to get even better quality on overall sound (headphones, speakers)
3.B15 and LOS both work with Daydream. I currently use LOS with my Daydream headset currently.
4.Magisk with this kernel here. Currently have fully functioning Android Pay with LOS.
5. This is a big problem. If you're not comfortable with ADB you should maybe rethink messing with this phone. EDL mode (which is how I flash TWRP and subsequently the B20 bootloader to unlock) is very similar to ADB and the tools needed to flash in EDL can brick your device. Learning how to use ADB isn't bad but it's good as a fallback so you're not relying on strangers to help you out in a pinch (which most will, I just like having the ability to do things mostly myself).
---------- Post added at 10:05 AM ---------- Previous post was at 09:55 AM ----------
I quoted this because this thread is like the third I've seen in the last couple days. But to offer some help, this is the guide that I've followed with two phones one running B29 stock and one running B15 Stock. It remains the same because of the use of EDL. It's also good in case you want to go back to complete stock (which at the time was speculated would brick your device) but I read between the lines and discovered that it's just not a big deal. Once you get TWRP installed, make sure your Data partition is EXT4, flash LOS, flash GApps and you're good to go.
The hardest part of the process, is getting your drivers to be recognized properly for the EDL flashing tool to work. Anti-Virus softwares tend to throw false positives with tools like the EDL Flashing tool. I installed a fresh copy of Windows 7 JUST to have a flashing station ready JIC. Once I did that, smooth sailing.
Click to expand...
Click to collapse
I've already used EDL mode from that page to put a fresh copy of stock nougat to, among other things, reduce the potential issues upgrading causes. So all I should have to do is flash B15-NEW_TWRP (Nougat) from that page and then fastboot unlock?
from there reset data/cache, flash custom ROM.
flash gapps
reboot, install apps.
?????
KyJelly69 said:
I've already used EDL mode from that page to put a fresh copy of stock nougat to, among other things, reduce the potential issues upgrading causes. So all I should have to do is flash B15-NEW_TWRP (Nougat) from that page and then fastboot unlock?
from there reset data/cache, flash custom ROM.
flash gapps
reboot, install apps.
?????
Click to expand...
Click to collapse
Yup.
kingoftheafro said:
Is that a "should work" or "does work" because I'm trying to root and install LOS also on stock non rooted nougat Axon 7 and so far I've gotten nowhere and no one seems to be able to give me a list that says Yes this works
Click to expand...
Click to collapse
In case you still need all this, I made a new guide after successfully doing everything:
https://forum.xda-developers.com/axon-7/how-to/complete-guide-to-unlocking-installing-t3561128
[email protected] said:
In case you still need all this, I made a new guide after successfully doing everything:
https://forum.xda-developers.com/axon-7/how-to/complete-guide-to-unlocking-installing-t3561128
Click to expand...
Click to collapse
Thank you for the guide, but I managed to get everything done without having to downagrade from Nougat. I was having issues with my Windows variant recognizing my phone after drivers were installed so I used Linux Mint 18.1 and everything went smooth as a whistle. I think the mods should pin your thread post.
I followed the rootjunkie YouTube videos, worked perfectly and the files were all available.
Sent from my ZTE A2017U using Tapatalk

Unbricking Zenfone 3 ZE552KL (dm-verity) AND mistakes not to make when rooting

Preamble
Hello, all.
Soooo I've never posted on this forum before. I've mainly leeched the invaluable info for my personal gain. I'm sure many a googler has come here trying to figure out how to root their phone. And I'm sure many a "swimmer" in Schitz Creek has come here via Google to figure out how to save their device from what had been perceived as an upgrade. I'm speaking, of course, of trying to root/unlock a phone and finding said phone "bricked".
Well, it’s time to give back.
Because yesterday, I was neck deep in Schitz Creek. After a series of dumb decisions and a lack of knowledge, I bricked the phone I’d bought for my wife’s birthday. I was just trying to be able to delete the Asus bloatware and install titanium backup and greenify. By the way, since when did Facebook become a system app? How is this a thing? Anyways, my wife deserves better battery life. And it’s fun to feel like Cyber MacGuyver by rooting a phone. But the situation went awry. My wife kept telling me that everything was going to be alright, but I know the limitations of my knowledge.
Brief aside: I'm decently computer/phone savvy, but I would, in no way, consider myself an advanced user. Sure, to my family, I'm a computer wizard. But that doesn't mean a whole lot. To them, opening up a command prompt in Windows is seen as an act of magic. And I haven't had my planeswalker spark yet. However, I have successfully rooted, and in most cases unlocked the bootloader, for several phones (HTC desire, Galaxy S3 [three different models over three years], Asus Zenfone 5, LG G4 [once pre-motherboard-death and once post (after a downgrade)], and now the ZE552KL). So I know how to at least fumble my way around adb, fastboot, odin, and various recoveries. As long as you’re at this level, or willing to learn, then you should be able to follow these instructions. End aside.
Mistakes not to make
Let’s get down to brass tacks. I made two big mistakes that you shouldn’t make. Both mistakes stemmed from the basic mistake of using a root method other than this one: https://forum.xda-developers.com/zenfone-3/help/guide-how-to-root-zenfone-3-ze552kl-t3471524
The problem with not using this EXACT method is that some of the files/programs which you need to use have specific versions which will ensure an easypeasy root. Honestly, if you properly follow the instructions in the above post, you will most likely not run into any problems. The only addition I can make is that instead of steps 6 and 7, you might find it easier to install SuperSU.zip through TWRP instead of pushing and sideloading.
Mistake 1: Not using the proper TWRP file and SuperSU file
For some reason, there are multiple versions of these files. Your SuperSU file should be 4.8MB. Using the wrong SuperSU will break the dm-verity. Your TWRP should NOT be the latest experimental version. It should be the one from November or earlier of 2016. Using the wrong TWRP will leave you unable to use the touchscreen. Trust me. I know from experience.
Mistake 2: KEEP TWRP READ ONLY
Disabling read only has no current benefits. It will just break the dm-verity. Your device will still be able to be written to if you keep TWRP read only. I have no idea why it’s called “read only”.
How to unbrick the phone
I’m sure some of you skipped straight to here. While I can’t blame you, please at least read the above paragraph. It will help you.
First I will describe the situation the phone was in, and then I will explain how I saved it. Before I continue, I want to give a big shout out to Niemer. Without their helpful post, I would’ve had no idea what to do. Thanks!
Situation the phone was in
--TWRP could not be used because the touchscreen wasn’t working.
--The dm-verity was messed up (i.e. “not started in enforcing mode").
Before you look at the solutions, make sure that your phone shows up in the windows device manager as an ADB device/ASUS ADB device/ADB composite device/etc. no matter which step you’re in. Google it to figure out how if you don’t already know.
The solution
Part 1 - Create and flash a system image which will restore your dm-verity
step 1. download the latest system “update” from the asus drivers website. I have a WW version of the phone, so I downloaded “WW_V13.20.10.152”. It’s a 1.76GB file, so be patient. I haven’t tested this method with other versions of the phone, but they should work in theory.
step 2. go into the updater script file (META_INF → com → google → android → updater-script). Open it with notepad ++.
step 3. delete from the beginning of the file up until the line “ui_print("Target: asus/WW_Phone/ASUS_Z012D:6.0.1/MMB29P/13.20.10.152-20161222:user/release-keys");”
The code that you are deleting checks to make sure that your phone is the proper model. But there is a good chance that it will mistakenly identify your phone as a phony. So we need to get rid of this code.
step 4. save the updater-script file
step 5. create a copy of the modified system update zip file. You should now have two 1.76GB files (or maybe slightly different if your phone is a CN, JP, or other model. Once again, I have a WW version of the phone). Name one of the files “realupdate.zip” and name the other “dmsaver.zip”. The names aren’t actually important.
step 6. enter dmsaver.zip. delete these four files: file_contexts, system.new.dat, system.patch.dat, and system.transfer.list. Exit out of the file. It should now be about 60MB.
step 7. turn on your ZE552KL and enter fastboot mode
step 8. in a cmd screen from your main folder (i.e. the one with adb, fastboot, and all the other files, including the ones you just created), type in the command “fastboot flash system dmsaver.zip”
step 9. if successful, you have just restored the dm-verity. You should now no longer get that sinister red text which has been ruining all your fun.
Part 2 - Install a proper version of TWRP
(This is only important if your version of TWRP won’t let you do anything because you can’t use your touch screen)
Download the version of TWRP that is included in the how-to-root post I linked to above. Also, you can download the oldest version (NOT the newest) from a sharing website which is linked to in a post on the ASUS website. It’s not in english though. Flash it to your phone in fastboot mode using the “fastboot flash recovery” command. Make sure you turn your phone off before turning it back on, or your recovery might not activate correctly.
Part 3 - Install a new version of your system.
Go into TWRP and install the zip file “realupdate.zip” that you created in Part 1 - step 5.
Part 4 - Root your phone
Follow the instructions in the link I posted earlier. It comes from this website, so you know it’s good. This time, though, you probably don’t need to unlock the bootloader
Part 5 - Breathe a sigh of relief
Parting words
I really hope this guide can be of assistance to you. The full procedure for fixing “my” phone wasn’t really recorded anywhere (although once again, big shout out to Niemer for their post). I went through hundreds of iterations of seemingly random fastboot, recovery, and adb actions before everything worked out. Because of this, I feel quite fortunate to have saved the phone, and I really wanted to give back. This community has been super helpful to me over the last seven years, and this is my chance to reciprocate. I sincerely hope that this post will help you.
I hope I didn’t forget anything. I have a sneaking suspicion that I did. In any event, if you have any questions, please post them, and I’ll try to be of assistance. Happy rooting!
thank you man but i start Part1 step8 "fastboot flash system dmsaver.zip" it's successful then i go into TWRP and install the zip file “realupdate.zip” dm-verity show again.
Thank again.
Raw firmware
I have the same issue. My phone was branded "tim italy". When i bought it, I flashed the WW version via asus flash tool, and I'm currently able to update till the last M version, which is the ......152.
If i try to update to Android N, my phone will not boot, giving me the corruption message and shutting down after 10 seconds. I also tried to perform the dm restore procedure; the dm error disappeared but the system is stuck on the Asus boot screen
I believe that the only solution is to flash a Nougat RAW firmware via asus Flash tool. Does Anyone have a download link for the N version ?
thank you, you helped me, now im on N
I guess the version matters then. So be careful with which firmware you download/install. If anyone has success with other versions, please share how you did it
I am stuck on Step 8. i put the 2 zips in where my adb and fastboot is located, and then proceed to type 'fastboot flash system...' and then it wont let me flash, any help?
Device Locked
When I flash the dmsaver.zip, receive the error "FAILED (remote: not allowed in locked state)". Apparently this with the bootloader locked, but I already unlocked before. Someone can help me unlock the bootloader again?
Further hyperlinks & solution ideas
Check out my solution and Ideas in those in links I posted in this thread at 4th of septembre 2017:
https://forum.xda-developers.com/ze...-zenfone-3-zoom-ze553kl-t3657239#post73661437
The hyperlinks in my post might also be useful, I hope.
Would be glad about your feedback, if it helped! :good:
how do you update the script file ..can u just post the file that u made somehow or email it or attach it to a message?
cant get it to work followed the instructions still getinf error code 7 trying to install lineage os
If you have lineage OS version not is a zip file but all the images (boot.img, system.img, ...) then you could try to flash the images through ADB...
if someone have the no verity issue, can you try a method for me please?
it consists on:
re-flash the rom kernel via fastboot
and run:
Code:
fastboot oem reset-dm-verity
Followed all the steps and twrp still has no touch function.
Tried all different twrp versions.
OS Version is a key
Hi everybody that has the same issue, I hope you read that so you can fix your problem.
So what I did was downloading old version of OS that autor mentioned "WW-13.20.10.152". It is necessary to download this version even if there are more newer versions. Then follow tutorial and you should be fine.
So again, thanks OP for posting this. You helped me a lot!

How to upgrade from 6.0.1 to 7.1.2?

Hello guys,
I'm a complete novice on rooting or flashing cellphones, I'm just a regular user of a Moto X Play XT1563 (bought in Colombia / South America) that wants to upgrade to Nougat 7.1.2.
I want the 7.1.2 just for a regular usage: apps, internet, bluetooth, NFC, camera, GPS, phone calling and of course a good battery performance.
I want to kindly ask for your guidance in all steps required for the backup and upgrade, so if you can please guide me about the whole process I will appreciate it a lot.
Thanks
jramirezdev said:
Hello guys,
I'm a complete novice on rooting or flashing cellphones, I'm just a regular user of a Moto X Play XT1563 (bought in Colombia / South America) that wants to upgrade to Nougat 7.1.2.
I want the 7.1.2 just for a regular usage: apps, internet, bluetooth, NFC, camera, GPS, phone calling and of course a good battery performance.
I want to kindly ask for your guidance in all steps required for the backup and upgrade, so if you can please guide me about the whole process I will appreciate it a lot.
Thanks
Click to expand...
Click to collapse
Hello!
In short, the process for our phone would be...
0. Backup data.
1. Unlock bootloader. This will void your warranty. Unlocking bootloader allows you to use fastboot mode to flash custom images to your phone from a computer.
2. Flash TWRP Recovery. This is done in fastboot mode. Once you have TWRP, you can flash on to or modify the system partition (and other partitions) of your phone on the go.
3. Format the /system partition to get rid of the existing ROM (stock in your case) and then flash whatever ROM you want. This is done using TWRP.
4. There's no fourth step.
Its pretty straightforward, detailed guides to each of the steps are available in this forum. You should use the Index Thread pinned on the General forum to get the links to the required guides at one place. Use the search if you encounter trouble. Then there's the forum to ask.
DragonClawsAreSharp said:
Hello!
In short, the process for our phone would be...
0. Backup data.
1. Unlock bootloader. This will void your warranty. Unlocking bootloader allows you to use fastboot mode to flash custom images to your phone from a computer.
2. Flash TWRP Recovery. This is done in fastboot mode. Once you have TWRP, you can flash on to or modify the system partition (and other partitions) of your phone on the go.
3. Format the /system partition to get rid of the existing ROM (stock in your case) and then flash whatever ROM you want. This is done using TWRP.
4. There's no fourth step.
Its pretty straightforward, detailed guides to each of the steps are available in this forum. You should use the Index Thread pinned on the General forum to get the links to the required guides at one place. Use the search if you encounter trouble. Then there's the forum to ask.
Click to expand...
Click to collapse
Thanks for your response,
I bought my cellphone two years ago so It already went out of warranty so no issues with that step, I already found the guide to "Unlock bootloader" but before I start with it I would like to ask if after that the phone will be unuseful? I mean, after unlocking the bootloader can I start the phone and continue using it? It's my only cell phone so I want to be aware if I will stay long time uncommunicated.
My second question is about the new ROM I will flash, I've no idea about what "versions" exists or where I can download them... so is there some kind of "most stable" version using Nougat 7.1.2? or some "ROM Reliable supplier"?
Thanks
jramirezdev said:
Thanks for your response,
I bought my cellphone two years ago so It already went out of warranty so no issues with that step, I already found the guide to "Unlock bootloader" but before I start with it I would like to ask if after that the phone will be unuseful? I mean, after unlocking the bootloader can I start the phone and continue using it? It's my only cell phone so I want to be aware if I will stay long time uncommunicated.
My second question is about the new ROM I will flash, I've no idea about what "versions" exists or where I can download them... so is there some kind of "most stable" version using Nougat 7.1.2? or some "ROM Reliable supplier"?
Thanks
Click to expand...
Click to collapse
Unlocking bootloader will wipe all your data (it will trigger Factory Reset on your phone). Other than that, your phone will be 100% usable.
Roms are available in Android Development and Original Android Development sections of this forum. Just check the threads that include [ROM] in their title. You have to decide for yourself which rom suits you the best - read its description and what users say in comments.
jramirezdev said:
Thanks for your response,
I bought my cellphone two years ago so It already went out of warranty so no issues with that step, I already found the guide to "Unlock bootloader" but before I start with it I would like to ask if after that the phone will be unuseful? I mean, after unlocking the bootloader can I start the phone and continue using it? It's my only cell phone so I want to be aware if I will stay long time uncommunicated.
My second question is about the new ROM I will flash, I've no idea about what "versions" exists or where I can download them... so is there some kind of "most stable" version using Nougat 7.1.2? or some "ROM Reliable supplier"?
Thanks
Click to expand...
Click to collapse
As said, after unlocking bootloader the device will be wiped- You will have to reenter your Google account and reinstall applications etc. Not a big deal.
Custom ROMs sometimes take a few iterations until some bugs here and there are ironed out. Sometimes it happens, in others one may end up switching to a complete fresh ROM. In such instances, you will usually have to make a "clean install" (i.e. a factory reset) and then reenter the Google account and reinstall everything again... It sounds irritating, but nowadays it's pretty much straight forward, and if you don't have hundreds of apps it usually is finalized in 10-15 minutes and is semi automatic.
Updating to a newer version of the same ROM sometimes can be "dirty flashed" (i.e. without wiping all your data) so in a couple of minutes you are set up and ready to go. More convenient, but if something isn't working right and you complain in the thread, certain chances are you will be politely asked to make a clean install first amd some users may flame or grill you alive for dirty flashing and complaining at that :laugh:
Most custom ROMs are usually based on either AOSP or Lineage OS (aka LOS) with some custom modifications. The first post in a ROM thread usually mentions all the rich features (or lack of), how to install (pretty much the same: make a backup in twrp, wipe data/system/cache/dalvik, flash ROM zip file, flash Google gapps zip, flash some additional optional zips such as supersu/magisk/whatever for root etc). Then some download links, faq etc.
It's good practice to read the first post (aka OP), then at least the last page to get a feel of the ROM (e.g. see what others are praising or complaining about this or that), then search for specific stuff that may concern you. For example, some ROMs had this cellular data bug that it got disconnected and required restart. You may decide this os crucial for you and choose another ROM, others may use the device for other things and couldn care less about cellular data bug...
Enjoy, it always feels good tp flash a new ROM, a new version . F!ck LeMoto for delaying the update for so long- You may have been waiting for update to Nougat as early as last year's November or October. Well, on custom ROMs it's here for many months!
On the other hand, they usually say stock ROM is more stable, and in many cases it is also true...
Now you know more or les what you're dealing with: free choice vs. waiting forever.
jaibar said:
As said, after unlocking bootloader the device will be wiped- You will have to reenter your Google account and reinstall applications etc. Not a big deal.
Custom ROMs sometimes take a few iterations until some bugs here and there are ironed out. Sometimes it happens, in others one may end up switching to a complete fresh ROM. In such instances, you will usually have to make a "clean install" (i.e. a factory reset) and then reenter the Google account and reinstall everything again... It sounds irritating, but nowadays it's pretty much straight forward, and if you don't have hundreds of apps it usually is finalized in 10-15 minutes and is semi automatic.
Updating to a newer version of the same ROM sometimes can be "dirty flashed" (i.e. without wiping all your data) so in a couple of minutes you are set up and ready to go. More convenient, but if something isn't working right and you complain in the thread, certain chances are you will be politely asked to make a clean install first amd some users may flame or grill you alive for dirty flashing and complaining at that :laugh:
Most custom ROMs are usually based on either AOSP or Lineage OS (aka LOS) with some custom modifications. The first post in a ROM thread usually mentions all the rich features (or lack of), how to install (pretty much the same: make a backup in twrp, wipe data/system/cache/dalvik, flash ROM zip file, flash Google gapps zip, flash some additional optional zips such as supersu/magisk/whatever for root etc). Then some download links, faq etc.
It's good practice to read the first post (aka OP), then at least the last page to get a feel of the ROM (e.g. see what others are praising or complaining about this or that), then search for specific stuff that may concern you. For example, some ROMs had this cellular data bug that it got disconnected and required restart. You may decide this os crucial for you and choose another ROM, others may use the device for other things and couldn care less about cellular data bug...
Enjoy, it always feels good tp flash a new ROM, a new version . F!ck LeMoto for delaying the update for so long- You may have been waiting for update to Nougat as early as last year's November or October. Well, on custom ROMs it's here for many months!
On the other hand, they usually say stock ROM is more stable, and in many cases it is also true...
Now you know more or les what you're dealing with: free choice vs. waiting forever.
Click to expand...
Click to collapse
Thanks for your thoughts,
After reading here and there I finally was able to flash AOSP Extendend v4.4 on my cellphone, it seems to be working fine.
As I said I was not looking something specific I was just annoyed of waiting so long for the official update (it seems it will never happen) and wants to be in touch with Android Nougat, maybe now I will use my piggy bank to save for a Pixel phone
Thanks guys for your guidance
jramirezdev said:
After reading here and there I finally was able to flash AOSP Extendend v4.4 on my cellphone, it seems to be working fine.
Click to expand...
Click to collapse
Hi,
How it is working? Did you found any bugs? eg. problem with battery, with mobile data, lte, camera?

Buying a Xperia z1compact

Hello can any one help. How can I purchase a z1compact from eBay with a unlockable boot loader. What am I looking for? eg. an international version, or one from a specific region. I have one already but the bootloader unlock allowed =no. It is rooted and I have twrp recovery but I want to upgrade or flash a android 7.0 custom rom .Any solutions for that. I don't want to end up with two phones with seem problem.
senortech said:
Hello can any one help. How can I purchase a z1compact from eBay with a unlockable boot loader. What am I looking for? eg. an international version, or one from a specific region. I have one already but the bootloader unlock allowed =no. It is rooted and I have twrp recovery but I want to upgrade or flash a android 7.0 custom rom .Any solutions for that. I don't want to end up with two phones with seem problem.
Click to expand...
Click to collapse
I can't answer your question directly. It's more an alternative solution which I think should work (at least you can try...).
If you've got a working TWRP you should be fine. Installing AICP/lineage/whatever shouldn't be a problem then, even with a locked BL.
Just boot to TWRP, wipe /data, /system and caches and install the firmware you'd like to have.
Only downside: If something breaks and you can't even enter TWRP you have to use the sony repair/flashtool and reinstall stock. Then repeat the rooting + TWRP installing stuff...
Make sure you've installed a recent (and working) TWRP version as for installing ROM's starting from oreo you need at least TWRP 3.2.x if I remember correctly.
BTW: Why do you want to install 7.0 / nougat? It's outdated and not updated anymore. I'd suggest using android 9
AICP 14
LineageOS 16
or android 8
LineageOS 15.1
or even android 5
LineageOS 12.1
These builds are updated at least monthly. And the first three of them also provide OTA update support which makes things very comfortable.
Thanks so much for your reply. Although I'll say it left me surprised. After researching the last couple of days ,even here on this site I was lead to believe that an unlocked bootloader was absolutely essential to flash a custom rom not based on stock firmware much less upgrade to a later version of android. However I am more than willing to take your word for it seeing that you are one of the modders for the Rom I would like to try "LoS 15 Oreo". I fully understand that the risk is totally mine. A further question, I currently run andriod 5.1.1 with dual custom recovery twrp and cwm, how do I update my current twrp version 2 . Something to the latest recommended. Do I flash the new zip with my current twrp recovery ?
senortech said:
Thanks so much for your reply. Although I'll say it left me surprised. After researching the last couple of days ,even here on this site I was lead to believe that an unlocked bootloader was absolutely essential to flash a custom rom not based on stock firmware much less upgrade to a later version of android. However I am more than willing to take your word for it seeing that you are one of the modders for the Rom I would like to try "LoS 15 Oreo". I fully understand that the risk is totally mine. A further question, I currently run andriod 5.1.1 with dual custom recovery twrp and cwm, how do I update my current twrp version 2 . Something to the latest recommended. Do I flash the new zip with my current twrp recovery ?
Click to expand...
Click to collapse
Well, at first I have to apologize for the "optimistic" answer. There's one "small" detail I forgot about. It's the boot.img signature which may cause problems. However I don't know if Sony was enforcing the verified boot / signature checking even with android L. This would mean the bootloader checks, if the boot.img was signed with Sony keys - if not: it'll enter a bootloop (or doesn't turn on at all). Unlocking the bootloader then allows you to also boot unsigned images.
But I didn't tried booting custom images with locked BL on my own
So I guess it's a try and error thing here... Most likely you'll end up unsuccessfully
However you can still give it a try. Can you post the output of
Code:
cat /proc/partitions
when you're in recovery? (TWRP has an inbuilt terminal, or you can use adb shell).
At first you need an independent recovery - which means it can boot up without needing the stock boot.img. That's your current configuration: original sony kernel boots up and you decide which ramdisk it should load by pressing vol+/-.
That's why it's actually no real recovery. If something in boot.img breaks you won't be able to reach recovery anymore.
So I think of following steps now:
Make sure you've installed the latest sony firmware
install the bootloader patch from @munjeni (he also states you need a unlockes BL, so it's not really promising Maybe he can jump in and give further clarification here?)
install TWRP (e.g. this) with dd like this (change your inputfile accordingly):
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
if you strike it lucky you'll be able to boot into the new real recovery with: poweroff device; hold VOL down and power until vibration; release power but keep holding VOL down until TWRP screen comes up (needs ~10 seconds or so)
To be honest: I lost my confidence a bit. Maybe buying a device with unlockable BL is the way to go. I suppose the devices sold with contracts by big carriers like Vodafone or Telekom (however they are called in your country) DON'T have unlockable BL's. So devices without a simlock may have a good chance to be unlockable. However - that's just a guess.
Well doing some research found an interesting Movistar forum stuff : if you unlock your phone ( free to use whatever SIM you want ) then its possible to change "bootloader allowed : no to yes" . At least thats what the spanish thread says ( https://comunidad.movistar.es/t5/So...not-allowed/m-p/2404928/highlight/true#M26138 )
1- After make your phone SIMfree it says to do a factory reset and check if allowed : yes
2- Also says that you need to send phone to sony tech fisic store
3- Or using Sony pc companion
I am not sure why it says that need to deliver the phone to sony store since online bootloader is kids game, but thats what the thread says
Finally, if you want to buy a new one, all unlocked phones ( no carrier ) will let you unlock bootloader ...... 99% sure :fingers-crossed:
ps : my english is horrible, I hope you understand it

Categories

Resources