[Q] Please help a confused Xperia Z2 owner out - Xperia Z2 Tablet General

I installed NUT's dualboot TWRP/Philz thing. I want to do the following:
1) Preserve my ability to go back to stock Sony - backup DRM keys, Bravia engine, whatever else. It may be too late for this.
2) Install CM11 or other roms.
I have rooted a few phones before, but it seems I do this once a year and forget half of what I learned. I currently have root, can boot into TWRP (assume Philz though haven't tried it yet) and have downloaded the latest CM11 nightly and gapps for the device. But I keep reading that I need an unlocked bootloader first (I thought I had one with the TWRP/Philz thing), could lose my DRM keys (if I haven't already), etc. In the past with whatever device I had, all I had to do was get it into TWRP and then could basically flash whatever I wanted. I figured I would stop her and ask if I need to do anything else or if I can just try flashing these zips.

NexusLush said:
I installed NUT's dualboot TWRP/Philz thing. I want to do the following:
1) Preserve my ability to go back to stock Sony - backup DRM keys, Bravia engine, whatever else. It may be too late for this.
2) Install CM11 or other roms.
I have rooted a few phones before, but it seems I do this once a year and forget half of what I learned. I currently have root, can boot into TWRP (assume Philz though haven't tried it yet) and have downloaded the latest CM11 nightly and gapps for the device. But I keep reading that I need an unlocked bootloader first (I thought I had one with the TWRP/Philz thing), could lose my DRM keys (if I haven't already), etc. In the past with whatever device I had, all I had to do was get it into TWRP and then could basically flash whatever I wanted. I figured I would stop her and ask if I need to do anything else or if I can just try flashing these zips.
Click to expand...
Click to collapse
Wrong place to ask questions but, 1) backup you TA with this: http://forum.xda-developers.com/showthread.php?p=41763438
2) You don´t have to unlock your bootloader to install stock base roms. For CM11 and other roms which are not stock base you need unlocked bootloader. XZDualrecovery don´t unlock your bootloader you have to do it official way or with Flashtool.

Related

[Q] Root after unlocking bootloader, retain stock rom & bootloader

I am sorry if this is a dupe of other threads but I couldn't find a complete answer to my problem anywhere else.
I have a nexus 7 (2012), on stock 4.4.2, unlocked bootloader (i think, unlocked padlock on startup).
I want to root. I gather this will not wipe? (or will it?) and what tool should i use? I already have N7 toolkit and android sdk, so i can use that most easily, otherwise any other program needed is fine. I want to use stock bootloader and stock rom and ensure ota updates will occur. (i understand i may lose root through ota updates, but i assume i can just reroot as i have unlocked the bootloader?)
Thanks
Since your tab has already gone through the bootloader unlocking process, there is neither a need nor a requirement to wipe the device.
And since you want to stay as close to Stock as possible, you can even "root" without ever flashing a recovery: you just soft-boot a recovery image rather than flashing one. That is - "fastboot boot (...etc)" instead of "fastboot flash (...etc)". That allows you to use a custom recovery every once in a while while leaving a stock recovery on the tablet. That preserves maximum compatibility with future OTAs.*
And with that soft-booted recovery, immediately take a Nandroid backup including the Stock recovery (which is still on the tablet because you soft-booted the recovery you are using). In the same session, use "adb pull" to get a copy of your 100% pure-stock Nandroid backup off the tablet. (Make sure you name it clearly so you will know exactly what it is 12 or 24 months later)
Finally, use a flashable .zip installer package for SuperSU to "flash root".
After an OTA, you can just reinstall root by soft-booting a custom recovery and using the same (or updated) flashable .zip installer method for reinstalling SuperSU. And just like above, capture a new 100% pure-stock Nandroid backup (including the new stock recovery) *before* re-rooting.
This strategy allows you to roll back to any version of stock you please at any time in the future.
good luck
* flashaholics prefer to have a recovery hard-flashed on their device so they can flash things on a whim, wherever they are. The approach here is a bit more restrictive as you have to have a PC handy in order to soft-boot a recovery in order to do any flashing. I would say that the biggest limitation of this approach is that it tends to reduce the number of Nandroid backups of your ROM personalization.
Backup are a good thing. You can always throw them away later, but you can't create a missing one that is urgently needed.

had to give back note 7 so im resurrecting my note 3 thats still on mje/4.3

I was wondering if someone could give me a direct answer because i cant seem to find one sifting through the forums.
I originally rooted with root master back when i got the phone. it is still on mje/4.3 stock build. things look a little more complicated then i remember, since my phone hasn't seen an update in over 3 years. I originally froze the verizon ota updates with tibackup, along with all the other bloatware.
My main questions are:
1. I would like to get a 6.0 Rom that looks like the note 7 did, can i do it all with odin and just flash a bunch of files?
2. Do I need a custom recovery like twrp or cwm?
3. I've read about an activation lock but can't find it in my menus, did it not exist yet on 4.3?
If anyone can point me in the right direction I would appreciate it, I really dont wanna brick my phone.
I'm still on MJE firmware, but using an older CM13 (temasek) ROM. So it's marshmallow but no Touchwiz or other Samsung add-ons.
Here are the MJE-specific issues:
1) You can't boot N* or O* stock kernels because of differences in the way that DTB (device tree blobs) are packed into the boot image. I've played with re-packing the boot images, but the kernels seem to run off into the weeds after a few tens of seconds.
2) TowelRoot works on MI9 through NC2(leak) but I think not thereafter - if you wanted to avoid a bootloader firmware upgrade but re-flash via Odin the MJE firmware for "starting from scratch" purposes, you have a means to re-root that does not require a PC.
3) If you retain the MJE bootloader, use the TWRP (hltevzw) -4.3 recovery; the -4.4 recovery will not boot, presumably due to issues similar to (1) above.
4) Not specific to MJE - but important - is the fact that if you want to boot either a custom kernel or custom recovery, you need to unlock your bootloader first. You can unlock your bootloader from any rooted ROM, but be aware that flashing stock firmware with Odin thereafter will re-lock the bootloader.
If you were to "start from scratch" but upgrade to more recent stock software before rooting, be aware that there is no publicly available root for NC4 or NK1; you would need to install stock OB6 or OF1, and follow that by using those "yemen" rooting tools. (Are they safe to use? I don't know frankly)
I am assuming that the N* and O* series bootloaders are backwards compatible with regard to device tree booting issues (see #1 above), because the temasek CM13 roms (having a custom kernel) boot on both OF1- and (my) MJE- bootloader phone. I guess that means it uses a "4.3" DTB packing in the boot image.
You are probably going to want to use TiBu to make important backups, and also copy everything off the phone that is important to you. You should assume that if anything goes wrong, an Odin re-install and factory reset are in the device's future.
Having said all this, I'm not sure there is such a thing as a ROM which "looks like Note7" - this is an old phone with almost no ROM developers left. There might have been more, but the bootloader unlock was achieved 2+ years after the phone's release, and most of the active developers moved on to new phones before that happened.
good luck

Z1C: First Custom-ROM

Hello,
my Sony Xperia Z1 Compact has the standard Android 5.1 version of Sony. Now I want to upgrade to a new Android version.
I need it for everyday-use and it should be relatively stable. The camera is not that important, but it should work. I use especially the browser, so the mobile datas should also work. Otherwise it should be only be stable and the battery should not discharge too fast. Is there any good build for me?
That one looks very interesting: AICP 7.1 ROM amami (I can't link the URL, because I am a new user )
Is it okay for a Custom-ROM beginner? I think I will find some instructions and tutorials how to install it. I just have to know if it is a good choice.
If there are any English mistakes, please correct me. I have to improve my English.
Thank you!
Skylac06 said:
Hello,
my Sony Xperia Z1 Compact has the standard Android 5.1 version of Sony. Now I want to upgrade to a new Android version.
I need it for everyday-use and it should be relatively stable. The camera is not that important, but it should work. I use especially the browser, so the mobile datas should also work. Otherwise it should be only be stable and the battery should not discharge too fast. Is there any good build for me?
That one looks very interesting: AICP 7.1 ROM amami (I can't link the URL, because I am a new user )
Is it okay for a Custom-ROM beginner? I think I will find some instructions and tutorials how to install it. I just have to know if it is a good choice.
If there are any English mistakes, please correct me. I have to improve my English.
Thank you!
Click to expand...
Click to collapse
Anything over LP 5.1 has an unusable camera, with one possible exception: DU Marshmallow rom with custom kernel. Read op of this thread - https://forum.xda-developers.com/sony-xperia-z1-compact/general/z1c-marshmallow-roms-t3372565 Note the addenda at the bottom.
levone1 said:
Anything over LP 5.1 has an unusable camera, with one possible exception: DU Marshmallow rom with custom kernel. Read op of this thread - https://forum.xda-developers.com/sony-xperia-z1-compact/general/z1c-marshmallow-roms-t3372565 Note the addenda at the bottom.
Click to expand...
Click to collapse
Thank you for your fast answer.
Is the camera completely unusable or just "not good"? I do not need the best quality, but it should at least work and you should be able to identify what the picture shows.
However, thank you for the link. I think I will try it. Android 6 is, I hope so, an improvement. Maybe I will then upgrade to Nougat.
There are no other options like Ubuntu Touch or Sailfish, right?
Skylac06 said:
Thank you for your fast answer.
Is the camera completely unusable or just "not good"? I do not need the best quality, but it should at least work and you should be able to identify what the picture shows.
However, thank you for the link. I think I will try it. Android 6 is, I hope so, an improvement. Maybe I will then upgrade to Nougat.
There are no other options like Ubuntu Touch or Sailfish, right?
Click to expand...
Click to collapse
Put a piece of tape over your camera lens, and turn off the lights, and shake the phone back and forth while taking a picture... That's what most of the photos will look like.
No Sailfish, and @munjeni has built Ubuntu touch for Z1c, but I couldn't get the Internet to work, (except for Ubuntu store, which downloads apps fine). - https://mega.nz/#!YEpCHLoS!tRxZpJHUSKL_cZz9wisGZvWl7igYAlYJRjwbcT_s868 Besides that, fxp has built Firefox OS, but probably hard to find at this point, and there are a few MIUI builds out there that are very good. Check here - https://forum.xda-developers.com/showpost.php?p=71329395&postcount=5 and here - https://forum.xda-developers.com/so...lopment/23-2015-miui-v6-5-5-22-d5503-t3116494
Hello again,
I decided to try out some Custom-ROMs.
Now I find many different ways how to root my phone and unlock the bootloader. Which way do you here recommend?
And how difficult is going back to the stock ROM and lock the bootloader againg, if nothing works?
Thank you!
Skylac06 said:
Hello again,
I decided to try out some Custom-ROMs.
Now I find many different ways how to root my phone and unlock the bootloader. Which way do you here recommend?
And how difficult is going back to the stock ROM and lock the bootloader againg, if nothing works?
Thank you!
Click to expand...
Click to collapse
Backup TA - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Root and recovery :
Download custom kernel to pc, and extract boot img to ADB directory - https://forum.xda-developers.com/so...rnel-advanced-14-5-0-242-kernel-v1-0-t3096060 and download twrp img to ADB directory - https://www.androidfilehost.com/?fid=457095661767147235 then use fastboot commands to flash boot and recovery. Now you have recovery, and you can either flash SuperSU zip, or flash custom rom.
Restore TA - https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893 or use Flashtool relock bl option - http://www.flashtool.net/
levone1 said:
Backup TA - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Root and recovery :
Download custom kernel to pc, and extract boot img to ADB directory - https://forum.xda-developers.com/so...rnel-advanced-14-5-0-242-kernel-v1-0-t3096060 and download twrp img to ADB directory - https://www.androidfilehost.com/?fid=457095661767147235 then use fastboot commands to flash boot and recovery. Now you have recovery, and you can either flash SuperSU zip, or flash custom rom.
Restore TA - https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893 or use Flashtool relock bl option - http://www.flashtool.net/
Click to expand...
Click to collapse
One little question: if I unlock my bootloader, my complete internal storage is wiped, right?
But if my bootloader is locked, I can not use the nandroid-backup-function of TWRP, because I can not use the custom kernel to root my phone. (Am I right? )
Currently I only have done your first step - backup the TA.
And of course, thank you again. :fingers-crossed:
Skylac06 said:
One little question: if I unlock my bootloader, my complete internal storage is wiped, right?
But if my bootloader is locked, I can not use the nandroid-backup-function of TWRP, because I can not use the custom kernel to root my phone. (Am I right? )
Currently I only have done your first step - backup the TA.
And of course, thank you again. :fingers-crossed:
Click to expand...
Click to collapse
You can root with locked bl, but your options are: 1) use Kingroot, (and it's generally preferred to not keep Kingroot, so after rooting you can replace Kingroot with SuperSU or wipe everything and flash a new rom with SuperSU), or 2) downgrade to KK and use doomlord rootkit, then flash LP prf.
levone1 said:
You can root with locked bl, but your options are: 1) use Kingroot, (and it's generally preferred to not keep Kingroot, so after rooting you can replace Kingroot with SuperSU or wipe everything and flash a new rom with SuperSU), or 2) downgrade to KK and use doomlord rootkit, then flash LP prf.
Click to expand...
Click to collapse
Okay.
I would like to avoid using Kingroot and downgrade to 4.4 is not even better.
But I found the Sony-Flashtool "Emma" for Windows. It seems to be able to restore completely the Stock-5.1-ROM. So I think I don't need a whole nandroid-backup. Am I right?
So I will unlock my bootloader, flash the custom kernel using TWRP-Tool and have a rooted phone. Then I am able to flash any custom-ROM I want to try out.
Did I misunderstand anything?
Skylac06 said:
Okay.
I would like to avoid using Kingroot and downgrade to 4.4 is not even better.
But I found the Sony-Flashtool "Emma" for Windows. It seems to be able to restore completely the Stock-5.1-ROM. So I think I don't need a whole nandroid-backup. Am I right?
So I will unlock my bootloader, flash the custom kernel using TWRP-Tool and have a rooted phone. Then I am able to flash any custom-ROM I want to try out.
Did I misunderstand anything?
Click to expand...
Click to collapse
True, Emma will restore you to stock. The backup would be if you want to restore the particular state of your phone right now.
Unlock bl, then flash the boot and recovery imgs, and you will be able to get into recovery. You'll want to have whatever rom you want to flash already downloaded on sdcard.
It works.
Now I have the AICP 12.1 7.1.2 Nightly Version.
Only the camera is not good, but better than expected. The aroma-GApps-package does not work, the GUI is hidden under the GUI of TWRP, but you can select your choice. However, after clicking install nothing was installed. After I downloaded and installed the super-GApps-package everything works fine.
If I find some issues, where can I report them? In the officiall AICP-12.1 N 7.1 amami Thread?
And at least a great thank you to levone1. :fingers-crossed:
Skylac06 said:
It works.
Now I have the AICP 12.1 7.1.2 Nightly Version.
Only the camera is not good, but better than expected. The aroma-GApps-package does not work, the GUI is hidden under the GUI of TWRP, but you can select your choice. However, after clicking install nothing was installed. After I downloaded and installed the super-GApps-package everything works fine.
If I find some issues, where can I report them? In the officiall AICP-12.1 N 7.1 amami Thread?
And at least a great thank you to levone1. :fingers-crossed:
Click to expand...
Click to collapse
https://forum.xda-developers.com/so...lopment/rom-aicp-11-0-mm-6-0-1-amami-t3428288
levone1 said:
https://forum.xda-developers.com/so...lopment/rom-aicp-11-0-mm-6-0-1-amami-t3428288
Click to expand...
Click to collapse
That is the thread I meant, but I can not post any URLs.
Best Custom ROM for Z1C
Not to open a new thread, which Custom ROM would you guys recommend to install on my Z1C?
I'm having some issues atm. It keeps restarting; I did a factory reset, it worked well for a while, now the issue is back. However, it does seem to work fine when hooked up to my PC (with the PC Companion active). Before I start shopping for a new phone, I'd like to root it first.
For this purpose, I'd like to know whick custom ROM is the most stable that you would recommend I install. Also, I'd be very helpful if you could direct to a good guide about the entire process.
Thank you in advance, I appreciate it!
levone1 said:
Backup TA - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Root and recovery :
Download custom kernel to pc, and extract boot img to ADB directory - https://forum.xda-developers.com/so...rnel-advanced-14-5-0-242-kernel-v1-0-t3096060 and download twrp img to ADB directory - https://www.androidfilehost.com/?fid=457095661767147235 then use fastboot commands to flash boot and recovery. Now you have recovery, and you can either flash SuperSU zip, or flash custom rom.
Restore TA - https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893 or use Flashtool relock bl option - http://www.flashtool.net/
Click to expand...
Click to collapse
OP's intention is different than mine but this approach looks suit me well. I would like to keep my stock (14.6.A.1.236), so can I flash kernel.sin from Stock Rom via Flashtool after restoring TA and keep root status and recovery or should I use the custom kernel henceforth?
prustr said:
OP's intention is different than mine but this approach looks suit me well. I would like to keep my stock (14.6.A.1.236), so can I flash kernel.sin from Stock Rom via Flashtool after restoring TA and keep root status and recovery or should I use the custom kernel henceforth?
Click to expand...
Click to collapse
I don't think I've ever done it that way, but I don't see why not. As long as you don't wipe your recovery, you should still be good... (if you'd rather use stock kernel for whatever reason).
levone1 said:
I don't think I've ever done it that way, but I don't see why not. As long as you don't wipe your recovery, you should still be good... (if you'd rather use stock kernel for whatever reason).
Click to expand...
Click to collapse
Thanks for the answer. Actually the whole story is, the phone belongs to my wife and she is neither techsavvy nor has patience with electronics, especially when any problem come up. I would like to remove bloatwares and have backup yet keep the phone as Stock as possible. I'm trying to keep my ROM related modifications at minimum. That's been said, I would welcome any correction on this manner as I feel you found returning the stock kernel is pointless.
prustr said:
Thanks for the answer. Actually the whole story is, the phone belongs to my wife and she is neither techsavvy nor has patience with electronics, especially when any problem come up. I would like to remove bloatwares and have backup yet keep the phone as Stock as possible. I'm trying to keep my ROM related modifications at minimum. That's been said, I would welcome any correction on this manner as I feel you found returning the stock kernel is pointless.
Click to expand...
Click to collapse
I wouldn't say pointless, but for the most part, any custom kernel is an improvement. Most of the customizations wouldn't mean anything to someone like that, but I doubt there's any harm or risk in keeping it.

Second time trying to root phone and I want to make sure I've got this 100%

Alright so I apologize in advance if this thread has been posted a million times and believe me, I've spent the last 4-5 days combing through to make sure I could get every detail of this process done correctly. So I'm not just blindly asking for instructions on how to root my phone. Apologies also if I posted this in the wrong place.
For starters, I'm using Moto G4 Plus XT1641 6.0.1 Build Number MPJ24.139-23.3. My carrier is Koodo in Canada (unsure if that's important but I'll need to being it up again for another point). The files I downloaded were from a youtube tutorial and this includes ADB program, TWRP img 3.0.2.0, supersu zip 2.46 and Motorola Drivers 2.5.4, SOME of which I think may have been outdated versions.
So Saturday night I tried to root my phone with those files. I followed some more guides, I unlocked my bootloader and I think I mostly did everything right except for getting the right supersu version as I've seen up to version 2.82. I think this may have been my first mistake but maybe someone correct me if I'm wrong? My other mistake was not making a backup in TWRP. I'd read about possible wifi problems after rooting so I grabbed the elemental package and possibly even flashed that wrong. I can't even remember the steps of what I did but I'm sure it was all wrong.
Main point, after all that I didn't have ccell service, wifi, etc. The common problems that arise when you do it wrong. I ended up just taking my phone in and getting a new phone. Exact same one, same model. And this brings me to where I am now. I've downloaded some new files and I want to make sure that I've got everything right as to avoid misunderstanding some key parts to the process.
Minimal ADB and Fastboot 1.4.2, twrp-3.1.1-0-athene.img, SuperSU-v2.82-201705271822, Motorola Drivers 2.5.4, and lastly XT1641_ATHENE-TELUS_MPJ24.139-23.3_cid50_subsidy-TELUS_CFC.xml. Notice how that last one says Telus? It's the parent company of Koodo so I'm hoping I can use that as a failsafe.
I think I've covered all the key points so to sum up:
1. Did I use the wrong supersu zip version and could that be a reason why I had no wifi/cell service? Is that also possible because I may have flashed the wrong carrier athene file?
2. Are the files I have downloaded now the correct ones I need and up to date?
3. I'm following this guide. With the files I have downloaded, is it still a correct step by step process? Are there other guides that work better?(thats not a knock on the original guide I'm refering to). https://forum.xda-developers.com/moto-g4-plus/how-to/root-systemless-rooting-supersu-2-74-2-t3405772
I think I've got the right know how and tools to root my phone but I'm just nervous of doing what I did before again and would like some reassurance that I'm doing it right. I've just come from jailbreaks, the world of root is much different. I appreciate any help or tips you guys can throw me!
Hmm, that's odd how you lost radio signal when you rooted, did you obtain radio signal back after you unrooted?
A few things I noted:
1)You may wish to update your device to a newer build, you might get an OTA inviting you to update to MPJ24-139-63 (or 139-64), which was the latest Marshmallow build. Once you've rooted, you will not be able to install OTA updates until you have unrooted and restored the stock recovery (from the same build as you currently have). If you get an OTA notification for any build beginning with NPJ, that's for Nougat.
2)If you plan to stay on Marshmallow, you don't need the ElementalX kernel - a custom kernel like ElementalX is compulsory on Nougat, whereas Marshmallow is not as strict with regards to rooting.
3) I hope the carrier ROM is okay, though from other reports, flashing the incorrect ROM can corrupt device partitions, leaving with no IMEI/no service/no FP. We have possible ways of repairing that though.
The tools you've downloaded seem to be okay and Bender's guide is still okay - even though the tools they've used are out of date - so the general procedure would be (up to you if you've updated MM at this point):
Install adb on your computer.
Boot your device to the bootloader.
Flash TWRP 3.1.1 athene (either the offficial TWRP or an unofficial build from shreps or oadam11) as directed.
Reboot to recovery (to make sure the recovery sticks).
Back up all partitions on your device, make the name descriptive.
Make another backup of the boot partition - this contains your stock kernel, useful for switching root manager.
Once the backups have been made, flash SuperSU v2.82.
Wipe cache/Dalvik
Reboot.
echo92 said:
Hmm, that's odd how you lost radio signal when you rooted, did you obtain radio signal back after you unrooted?
A few things I noted:
1)You may wish to update your device to a newer build, you might get an OTA inviting you to update to MPJ24-139-63 (or 139-64), which was the latest Marshmallow build. Once you've rooted, you will not be able to install OTA updates until you have unrooted and restored the stock recovery (from the same build as you currently have). If you get an OTA notification for any build beginning with NPJ, that's for Nougat.
2)If you plan to stay on Marshmallow, you don't need the ElementalX kernel - a custom kernel like ElementalX is compulsory on Nougat, whereas Marshmallow is not as strict with regards to rooting.
3) I hope the carrier ROM is okay, though from other reports, flashing the incorrect ROM can corrupt device partitions, leaving with no IMEI/no service/no FP. We have possible ways of repairing that though.
The tools you've downloaded seem to be okay and Bender's guide is still okay - even though the tools they've used are out of date - so the general procedure would be (up to you if you've updated MM at this point):
Install adb on your computer.
Boot your device to the bootloader.
Flash TWRP 3.1.1 athene (either the offficial TWRP or an unofficial build from shreps or oadam11) as directed.
Reboot to recovery (to make sure the recovery sticks).
Back up all partitions on your device, make the name descriptive.
Make another backup of the boot partition - this contains your stock kernel, useful for switching root manager.
Once the backups have been made, flash SuperSU v2.82.
Wipe cache/Dalvik
Reboot.
Click to expand...
Click to collapse
Thanks for the reply, it helps me feel a little more confident in what I'm doing. I didn't get my cell service back as I just took my phone into Koodo and they just gave me a new one. A few questions.
Are there some clear guides on how to recover from lost wifi and cell service? I've seen a few but it appears they all have different directions so as a newcomer to Android it does seems a bit confusing to what the right way to do it is. I'm also hoping someone can chime in on the Telus carrier IMG file as that seems to be my backup in case anything goes terribly wrong again. I'd hate to have to bring my phone back again a second time. Also, is it an easy process to make a backup of the kernel in TWRP? I've figured out how to make a backup of the normal partition, just hoping backing up the kernel is just as easy.
I think I'm near ready to take the root plunge in the coming days. It's good to see such a strong community here. Totally different from the jailbreak scene.
lemonlimejones said:
Thanks for the reply, it helps me feel a little more confident in what I'm doing. I didn't get my cell service back as I just took my phone into Koodo and they just gave me a new one. A few questions.
Are there some clear guides on how to recover from lost wifi and cell service? I've seen a few but it appears they all have different directions so as a newcomer to Android it does seems a bit confusing to what the right way to do it is. I'm also hoping someone can chime in on the Telus carrier IMG file as that seems to be my backup in case anything goes terribly wrong again. I'd hate to have to bring my phone back again a second time. Also, is it an easy process to make a backup of the kernel in TWRP? I've figured out how to make a backup of the normal partition, just hoping backing up the kernel is just as easy.
I think I'm near ready to take the root plunge in the coming days. It's good to see such a strong community here. Totally different from the jailbreak scene.
Click to expand...
Click to collapse
Hmm, I'm not aware of any guides specifically dealing with lost Wi-Fi and lost mobile signal. There are a few posts where we've had some success in getting radios back, but it involves either hex editing https://forum.xda-developers.com/showpost.php?p=72340548&postcount=98 or flashing hw, modem or fsg partitions from a working device (in this case, XT1641) The instances I've seen of lost Wi-Fi/mobile signal appear to have occurred during a stock ROM fastboot flash, but hoping someone can chime in as to whether it was just flashing the wrong region firmware or something else.
If you want to back up your kernel in TWRP:
Boot to TWRP
Tap 'Backup' on the main menu
Select only the 'boot' partition - this is the partition that contains your kernel (should be stock and clean if you've not rooted).
Rename the file to remind you it's your kernel.
Swipe to back up.
If you need to revert to this kernel, unroot first (depending on your root manager, you may have to boot and then unroot. I recall SuperSU unroots via the SuperSU app settings), then boot to TWRP.
Tap 'Restore' on the main menu
Navigate to your boot backup
Flash your boot backup
You should now have a clean stock kernel, so if you wish to switch root managers, you should be able to obtain root with your new root manager. We want a clean kernel (no modifications made) since uninstalling the old root may leave traces of root on your existing kernel, and thus may cause issues if you re-root with a different manager.
Good luck in rooting
echo92 said:
Hmm, I'm not aware of any guides specifically dealing with lost Wi-Fi and lost mobile signal. There are a few posts where we've had some success in getting radios back, but it involves either hex editing https://forum.xda-developers.com/showpost.php?p=72340548&postcount=98 or flashing hw, modem or fsg partitions from a working device (in this case, XT1641) The instances I've seen of lost Wi-Fi/mobile signal appear to have occurred during a stock ROM fastboot flash, but hoping someone can chime in as to whether it was just flashing the wrong region firmware or something else.
If you want to back up your kernel in TWRP:
Boot to TWRP
Tap 'Backup' on the main menu
Select only the 'boot' partition - this is the partition that contains your kernel (should be stock and clean if you've not rooted).
Rename the file to remind you it's your kernel.
Swipe to back up.
If you need to revert to this kernel, unroot first (depending on your root manager, you may have to boot and then unroot. I recall SuperSU unroots via the SuperSU app settings), then boot to TWRP.
Tap 'Restore' on the main menu
Navigate to your boot backup
Flash your boot backup
You should now have a clean stock kernel, so if you wish to switch root managers, you should be able to obtain root with your new root manager. We want a clean kernel (no modifications made) since uninstalling the old root may leave traces of root on your existing kernel, and thus may cause issues if you re-root with a different manager.
Good luck in rooting
Click to expand...
Click to collapse
That's perfect thank you so much. Am I right to assume that if I get into a jam then I can just restore/reflash my backups and I'll be back to normal?
To be safe, flash the ElementalX kernel before rooting.
reCoded said:
To be safe, flash the ElementalX kernel before rooting.
Click to expand...
Click to collapse
See this is where I get confused, the guy above you said ElementalX isn't needed on Marshmallow but you say i should use it anyway? I've seen a few differing opinions on what should and shouldn't be done, just not sure which one is the right answer.
lemonlimejones said:
See this is where I get confused, the guy above you said ElementalX isn't needed on Marshmallow but you say i should use it anyway? I've seen a few differing opinions on what should and shouldn't be done, just not sure which one is the right answer.
Click to expand...
Click to collapse
ElementalX v0.07 is not required on Marshmallow (provided you are planning on staying on 6.0.1), you can root the stock ROM kernel. You may wish to flash the ElementalX kernel anyway as this custom kernel gives you more control and tuning options compared to the stock kernel. On stock Nougat, because the anti-rooting kernel security is much stricter and enforced (whereas on Marshmallow I don't think it's enforced), then you need ElementalX or vegito or a custom kernel to bypass the security, by in effect replacing the stock secure kernel with a kernel that doesn't have those restrictions. Without replacing the stock kernel on stock Nougat systems, you can run into a bootloop.
As an MM kernel as mentioned before has weaker security regarding rooting, it's up to you if you choose to root the stock kernel or ElementalX.
I've rooted MM (MPJ24.139-63) in the past with SuperSU (v2.79) and only used TWRP and SuperSU.
In response to your other post, the backups should get you out of a jam, since what you're doing should only affect the partitions you've backed up previously (they in theory shouldn't go anywhere near your modem, bootloader or critical firmware). Bear in mind that the TWRP backup if restored in full will revert your messages and data to that backup. You may wish to use Titanium Backup or other tools to take occasional snapshots of your apps data that you can restore should you have to roll back.
lemonlimejones said:
See this is where I get confused, the guy above you said ElementalX isn't needed on Marshmallow but you say i should use it anyway? I've seen a few differing opinions on what should and shouldn't be done, just not sure which one is the right answer.
Click to expand...
Click to collapse
If you're on Nougat, then you should use ElementalX. If you're on Marshmallow, you don't need it.
echo92 said:
ElementalX v0.07 is not required on Marshmallow (provided you are planning on staying on 6.0.1), you can root the stock ROM kernel. You may wish to flash the ElementalX kernel anyway as this custom kernel gives you more control and tuning options compared to the stock kernel. On stock Nougat, because the anti-rooting kernel security is much stricter and enforced (whereas on Marshmallow I don't think it's enforced), then you need ElementalX or vegito or a custom kernel to bypass the security, by in effect replacing the stock secure kernel with a kernel that doesn't have those restrictions. Without replacing the stock kernel on stock Nougat systems, you can run into a bootloop.
As an MM kernel as mentioned before has weaker security regarding rooting, it's up to you if you choose to root the stock kernel or ElementalX.
I've rooted MM (MPJ24.139-63) in the past with SuperSU (v2.79) and only used TWRP and SuperSU.
In response to your other post, the backups should get you out of a jam, since what you're doing should only affect the partitions you've backed up previously (they in theory shouldn't go anywhere near your modem, bootloader or critical firmware). Bear in mind that the TWRP backup if restored in full will revert your messages and data to that backup. You may wish to use Titanium Backup or other tools to take occasional snapshots of your apps data that you can restore should you have to roll back.
Click to expand...
Click to collapse
Right on, I think I feel comfortable with this now! One more question though, with newer versions of SuperSU is it still necessary to make the command echo systemless=true or was that mostly for older versions? Also if that part is needed, should I run SuperSU from the data folder in TWRP?
lemonlimejones said:
Right on, I think I feel comfortable with this now! One more question though, with newer versions of SuperSU is it still necessary to make the command echo systemless=true or was that mostly for older versions? Also if that part is needed, should I run SuperSU from the data folder in TWRP?
Click to expand...
Click to collapse
The 'echo systemless=true', as I understand it, isn't required on SuperSU 2.79 or newer, so if you're flashing 2.82, you should be able to flash as is without having to run the command too Also makes uninstalling easier!

Noob Questions: Firmware,Bootloader, root.

Hi, i just got the moto g5 plus, i always have phones that from the moment i bought them they wouldn recive any updates, so i realy didnt care if unlocking the bootloader installing new recoverys will affect the OTA updates. So i have a couple of questions.
1- first i want to at least have a stock firmware just in case, but i cant figure out which one should i download from here
firmware.center/firmware/Motorola/Moto%20G5%20Plus/Stock/
Before i always use sammobile.com and it was really easy to found a stock firmware from Argentina. My compilation number is: npns25.137-15-11 this means that i suppose to download that one XT1681-XT1683_POTTER_BRASIL_LATAM_MEXICO_7.0_NPN25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip ?
2- it is possible to unlock the bootloader and root your phone without installing a new recovery? i was reading some post and when you change your recovery or you modify something the OTA update will stop working. they are some methods like the magisk but they seem i little bit too complex for me and i don't want to do it every time that a new update is available.
thanks for the help, and sorry for my English i am from Argentina.
1. yes, but any build will flash and run, so it doesn't really matter that much...
2. Nope. You need to flash TWRP in order to root. This is because the stock recovery will only flash signed images... You can use Magisk, after backing up a stock build. Anytime there is an OTA, just restore to that system image, Flash the original recovery via fastboot, and then take the OTA. Once you have it, flash TWRP again, and restore to your other build. Or just run a custom room like Lineage or RR, and this whole thing isn't really an issue anymore.
Karlinski said:
1. yes, but any build will flash and run, so it doesn't really matter that much...
2. Nope. You need to flash TWRP in order to root. This is because the stock recovery will only flash signed images... You can use Magisk, after backing up a stock build. Anytime there is an OTA, just restore to that system image, Flash the original recovery via fastboot, and then take the OTA. Once you have it, flash TWRP again, and restore to your other build. Or just run a custom room like Lineage or RR, and this whole thing isn't really an issue anymore.
Click to expand...
Click to collapse
yeah i know i had a samsung galaxy s3 until now, and i always have cyanogen, slimrom or now lineage, but this is the first device that i have one that will get updates (at least 1 more :S) and i want to seize that
i will start downloading that file just in case
1- ok so unlocking the bootloader doesn't affect updates only when you modify files? when the update is installing is basically comparing the files that you have with the ones that you suppose to have and if there is something different it will fail? its something like that?
2-dumb question how do you do a full backup in the stock recovery there is no option no do a nandroid backup or it will appear after i just unlock the bootloader?

Categories

Resources