Related
ROOT TO ROM IN X10 Mini PRO (from stock ROM or custom ROM)
(thanks to xda developers nobodyAtall, Spyderex, Emperor.dk and many)
updating my earlier post. The complications in installing recovery completely removed. Now it is easy as charm.
I had myself miniCM pro v21 in stock kernal in my x10 mini pro. So this post intends to do on
1. flashing back to custom sony rom
2. rooting (with busy box installing)
3. installing recovery
4. unlocking bootloader
5. flashing custom kernel
6. flashing cutom ROM and google apps
before that : there are many other steps and methods for this but many of them did not work for me. I am describing here what worked for me.
Before starting save all your needed apps using app saver or with my backup root / titanium backup (after root). Back up your account with google account or export your contacts as .vcf to sd card for later import.
You should have through out internet connection and sometimes you would have to switch off the Antivirus to get it done properly. Also allow adb.exe to connect to net through firewall when needed.
1. FLASHING TO CUSTOM ROM WITH SONY ERICSSON PC COMPANION ( if you are having a custom ROM: other wise proceed to next step of rooting)
1. download and install pc companion from here http://www.sonyericsson.com/cws/sup...ject/pccompanion/xperiax10minipro?cc=in&lc=en if you are not already having it. Then make it recognize the phone.
2. Select support and update. It may tell having the latest update but go for repair.
3. Follow the commands. This may take a while
4. correctly follow the command to connect the phone in flash mode (switched off and back switch pressed)
later you have your old blue sony rom back.
1. ROOTING
1. download superoneclik.exe from here. http://www.mediafire.com/file/x1l6n7owj7uldbl/SuperOneClick.zip The problem is that many versions do not help and this version did it for me. Unzip and run the .exe
2. Plug the phone and leave it as such (do not charg/ connect or anything)
3. click root and follow the commands when prompted (like want to test?)
4. done (donate if you feel so)
5. Check for the superuser app in menu if it have been rooted.
Then go to market and install
* busybox
* root explorer (just to be on safer side)
3. RECOVERY
found out the easy way. Thanks to devrruti and rect2049 in xda
1. Download this clockworkmod installer from here https://github.com/downloads/react2409/X10-Mini-Pro-Utilities/CWMInstaller-Windows-v4-dl.zip
2. switch on the phone and connect the phone (ensure debugging mode on)
3. unzip the downloaded zip file and run the install.bat file. Follow the instructions
4. now disconnect when finished, switch off phone
5. switch on and when sony logo comes start multiple pressing and releasing the back switch to enter recovery mode
so there is cwm recovery
4. UNLOCKING BOOTLOADER
download the flashtool from (0.5.3 -I used) here. http://androxyde.github.com/Flashtool/
1. before advancing further download the required ROM (for me miniCM7 from http://minicm.googlecode.com/files/MiniCM7-2.1.8-mimmi.zip )and google apps from http://cmw.22aaf3.com/gapps/gapps-gb-20110613-signed.zip and copy both to the root of sdcard
2. open the install location of flashtool and install the ggsetup-2.2.0.11.exe file inside and install Gordon’s Gate found in /drivers folder
3. then restart the computer, open the task manager and kill any process named adb.exe
4. donot open flashtool after this till needed.
5. Download the s1tool to confirm the unlock certificate of phone from http://db.tt/OrOQO33 and unlocking tools from here http://db.tt/0zUMR5S4
6. Unzip the s1 tool to the designated folder and run the s1.exe. Switch off the phone. Select the Do Job button and wait.
7. Connect the phone in flash mode (switched off and back button pressed)
8. proceed further only if the screen shows semc simlock certificate
9. unplug the phone, switch it phone, connect to the computer
10. run msm7227_semc.cmd in the directory you unzipped the unlocking files to and press any key to start the unlocking process.
11. If everything goes correctly the log will show press any key at the end.
5. CUSTOM KERNEL AND ROM
download the require kernel.ftf from auther’s site (for me the kernel suiting my ROM was nAa kernal from http://minicm.googlecode.com/files/U20_nAa-10_2.6.29.6-nAa-10.ftf
1. copy this to the /firmware folder in flashtool install folder
2. run the flashtool and select flash, then flashmode
3. select the desired kernel
4. switch off the phone and connect in flash mode when pop up requests
5. disconnect phone when the tool says so
6. switch on the phone and enter the recovery mode when kernel logo comes by repeatedly pressing and releasing the back switch
7. in the recovery mode, do a backup from backup and restore option (up and down by volume keys and select by middle switch)
8. do a factory wipe data
9. then flash the ROM zip by selecting the option install zip from sdcard option followed by gapps zip flashing
10. finish this and take reboot (long)
Enjoy the new experience
A guide that can be stickied for newbies. i like this.
You can even modify the thread by giving elaborate colors and headlines and make it attractive. (if you are interested in doing that so)
Appreciate your work bro!
Thanks!
Tim
Like it.. But the rooting part is gonna feel complex for newbies... There are flash file which root and install CWM recovery automatically without any complication...
unnecessary rooting and recovery installs
I appreciate what you are trying to do as SpyderX's thread can be daunting. I think it would be easier to keep people using one tool as you go around the houses a bit.
Perhaps a simpler route from stock using S1 tool and flashtool. This is just an overview as I've copied and pasted it from my blog and would need expanding with links and sufficient detail:
Backup part 1 - use apps such as SMS Backup +, Bookmark sort and backup, APN backup and restore
Check that your bootloader can be safely unlocked with S1 tool (download from here: http://forum.xda-developers.com/showpost.php?p=19624790&postcount=2)
Turn on USB debugging on the phone (in settings in the applications section)
Use flashtool to root the phone (download from the homepage http://androxyde.github.com/Flashtool/)
Backup part 2 - use a root backup app (Titanium backup or MyBackup Root)
Use flashtool to unlock the bootloader
Flash the kernel (e.g. nAa kernel) in flashtool
Boot into CWM Recovery (assuming and flash customised firmware (e.g. MiniCM7)
http://forum.xda-developers.com/showthread.php?t=1462278
SE Tweaker Tool v3.0 [26/1/12] Unlock Bootloader+Kernel Guide X10 minipro|X10 mini X8
Maybe a bit simpler but your work appreciated bro..!! Keep it up..
Sent from my U20i using xda premium
changed
updated on the complicated recovery installing
Complete clarification needed here.. Do I HAVE to have stock 2.1 or can I use my current GB rom to unlock my bootloader??
Sent from my U20i using xda premium
jimcantfixit said:
Complete clarification needed here.. Do I HAVE to have stock 2.1 or can I use my current GB rom to unlock my bootloader??
Sent from my U20i using xda premium
Click to expand...
Click to collapse
mate its not necessary it go on stock then unlock bootloader.. myself unlocked my bootloader when i was in Gintonic.SE.. also people in Ginger-dx have reported fine.. so dont worry.. ul unlock it safe!!
The drop box links in bootloader unlocking section are not working. Can you please post new links?
Now it can be done with the new version of stool and flashtool. Anyway I will update everything as soon as I get time.
Sent from my U20i using xda app-developers app
I made exactly the same thread quite ago, I was really motivated and stuff but mods just moved it and got it forgotten in the general section. It even had colors, headlines, sections, collaborators, and stuff, sorry to disappointing you but with staff like this it is impossible to help newbies.. I even explained why post it on the developers section: Strictly, it should have been posted on General, yes, but the guide is directed to new members. Most of them probably doesn't check nor even know there is that section. It got moved anyways without any warning or a single word from the one who did it..
Anyways, good luck.
[Q] ACER Z3/z130 Europ is there a CWM recovery & zip file of the original recovery
I've misteriously bicked my phone an remain locked in the boot proces....
Time to flash a new stock rom
as I'm flashing I prefer CMW as recovery above the unclear asus one (although I would like to be able to reflash the old one [warranty issues)
Can anyone give me a pointer scanned all of google (possibly the wrong way)
Thanks in advace]
dreuzel said:
I've misteriously bicked my phone an remain locked in the boot proces....
Time to flash a new stock rom
as I'm flashing I prefer CMW as recovery above the unclear asus one (although I would like to be able to reflash the old one [warranty issues)
Can anyone give me a pointer scanned all of google (possibly the wrong way)
Thanks in advace]
Click to expand...
Click to collapse
http://us.acer.com/ac/en/US/content/drivers - Click on O.S.
You'll find your stock system there. Instructions for loading it are included in the zip downloaded. I believe the EMEA Gen1 is for the generic worldwide version, but you might want to verify that. I know that the ORGFr one is for Orange France and the little "s" at the end would signify single SIM versions.
Found this guide to install recovery:
One. Loads Famaroot Just "Framaroot-1.9.1.apk" follow the link here.
http://forum.xda-developers.com/attachment.php?s=e12cbb38af7dd8a173308bb ...
The. Apk to be installed on the Z3 - Z3s / Once installed, it's ordered by phone root app Famaroot.
Two. TWRP 2.4.4.0 files stored on your SD-Card llllllll2510 to post the link here.
https://docs.google.com/file/d/0B0XQigIT17uEcDQtaDJ3U0UtOWc/edit?pli=1
PS. Files Name TWRP24Recovery_Z130_D10-02-14.img.
Do NOT paste it in a folder deep secret I do not find.
Three. Install app "[ROOT] Recovery Tools - Flasher" on the phone to me.
https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools
Then, with a flash TWRP 2.4.4.0 [ROOT] Recovery Tools - Flasher by.
Select top (Flash Recovery) and select the top (Other from Storage).
Then browse to the file TWRP24Recovery_Z130_D10-02-14.img. Flash to order
At the end of the process [ROOT] Recovery Tools - Flasher will ask you to reboot into recovery-mode or not.
I answered yes to the reboot to check the flash recovery ... we just finished it.
NOTE ***: It may cause damage to the machine. Or insurance
You must accept the risks in the operation of your own.
I found this on a forum that was in a foreign language to me and used Google Translate to get this info. You can find the original thread here:
http://droidsans.com/node/153986
For returning to stock for warranty issues, just use the original firmware you downloaded from Acer.
Tried the first part flashing the ROM using the provided stock Roms.
That failed it downloads but as soon as first real install occurs it rejects and aborts install access or accept error.
And returns the key part of the file name
I think? No expert at all ? The stock ROM updates do not match the previous ROM on my z30. Do not exactly know the specs of my original ROM proximus.... ??? Would have preferred gen ROM overriding all that stuff?
Or do I need to force adb/ fastboot only to load the system partition.???? But what is the adb/ fastboot command then exactly do I need to expand the zip a second time? After extract zip and instruction PDF?
Will delay cwm tarp after first signs of life of the phone.
Thanks for your answer
sometimes I know.
often I do not know.
Its always good to be able to ask.
GETTING YOUR ULTRA ROOTED AND
READY FOR FLASHING
This guide should in theory make your Ultra ready for flashing custom ROMs, and with that said...
...here comes the warning: If you follow the steps contained herein
Your warranty is now voided. I/we are not responsible for bricked devices, or whatever you might end up with.
TABLE OF CONTENTS
Warnings
ROOT KitKat (Android 4.4.4)
Back up TA Partition
Install Recovery
Unlock the Bootloader
Install Custom ROM
Using Flashtool
Back to Stock
Handy Links
Glossary
Misc.
Warnings:
Backup your TA partition before unlocking your bootloader - you will lose DRM keys and other stuff during the unlock
Unlocking the Bootloader will wipe your phone, so backup your stuff
Never Flash a FTF to a ZU GPe - it will kill it
Your warranty is now VOID
ROOT KitKat (Android 4.4.4):Rooting 4.4.4
FTFs
14.4.A.0.108
14.4.A.0.118
To root KitKat we have a handy tool called Easy Root by @zxz0O0. This tool will root all modern Xperia devices running KitKat. Please read the thread.
To use this tool first upgrade to one of the above FTFs or use Sony's PC companion to update the phone to Android 4.4.4
Instructions:
What you get
Root
Access to /system rw
Requirements
USB debugging enabled
Settings => About phone => Click 7 times on Android Build to unlock developer options
Unknown sources enabled
Settings => Security
adb drivers installed
How to use
Download the latest version and extract it
Start your device and plug it to your computer
Run install.bat and follow the instructions on screen
Install SuperSU by Chainfire (recommended!)
Congratulations! You should now be rooted.
Don't forget to make a donation or thank the OP in the original thread
Rooting Pre 4.4.4
Upgrade to one of the 4.4.4 FTFs listed above to save any hassle
Rooting The GPe
GPe Owners: Do not try and flash any FTFs to your device. You will BRICK it with no way to recover it.
Go to this thread and follow the steps.
Back up TA Partition:The TA partition is the "Trim Area". There are lots of things stored in here like root certs, revoked certs, DRM keys, current firmware version,... the list goes on. What we are concerned about here is with the DRM keys. Some service centres will not service a Sony device if these are missing. Unlocking the BL will erase these.
Once you lose these keys, you can't get them back, so backup the TA and upload it to your Dropbox etc
You will need Backup TA for Sony Xperia by @DevShaft Please read the thread.
Instructions:
Download the latest version of Backup TA.
Extract the ZIP file to a folder location of your choosing.
Navigate to the folder location of Backup TA.
Make sure no other script or application which is using ADB is running.
Make sure the device is booted in normal mode (the way you normally use it).
Run Backup-TA.bat
Read the last paragraph of the license before continuing.
Read the information and follow the instructions given by the tool.
Don't forget to make a donation or thank the OP in the original thread
Install Recovery:
Download the latest version of @[NUT]'s Dual Recovery
Instructions:
Make sure you have USB debugging turned ON.
download ZU-lockeddualrecovery[VERSION]-BETA.installer.zip from http://nut.xperia-files.com
Windows:
unpack at C: or somewhere you will remember!
navigate to the resulting directory and look for install.bat, double click it to run;
Linux:
unpack in your home folder with 'unzip ZU-lockeddualrecovery[VERSION]-BETA.installer.zip'
navigate to the resulting directory and 'chmod +x install.sh', then execute it, follow instructions.
Your phone WILL reboot when installation has completed and it will go into the default recovery for the first boot.
Reboot to system from recovery to allow the installer to clean up after installation (it is safe to skip this step).
Enjoy DUAL RECOVERY!
Don't forget to make a donation or thank the OP in the original thread
Unlock the Bootloader:This will wipe your phone, so backup your stuff
You only need to unlock the bootloader if you want to run either a custom kernel or a custom ROM. Most ROMs based on the Sony releases will run on a locked bootloader.
Instructions:
Go to Sony's Developer site
Request the unlock key and check your mail straight away. Email is quick these days.
Open the latest Flashtool on your computer
Click the "BLU" icon
Follow the steps and enter your unlock key
Install Custom ROM:To install a custom ROM you will have to complete the steps above (ROOT, Back up the TA Partition, and Unlock the Bootloader) you dont need to have installed recovery but it will help you make a backup of the current state of your device.
After the above are done:
Backup current software with custom recovery (TWRP or cwm - use the same recovery the the new ROM uses*)
Downlod ROM
Extract boot.img from within the .zip
Flash the boot.img (not absolutely necessary but will mean you are on a recovery that is tested to work with the ROM)
In fastboot mode use either flashtool or the fastboot commands
- If you want to use the boot.img's recovery to make a back up of the current software/state of the device use:
Code:
fastboot boot boot.img
- or if you just want to flash the kernel and recovery to flash the ROM use:
Code:
fastboot flash boot boot.img
fastboot reboot
Wipe Data
Wipe Cache
Wipe Delvik Cache
Flash ROM
Reboot
*CM based ROMs normally use CWM. Slim and Omni based normally use TWRP
Using flashtool:Please use this very good guide: Flashtool XZU
Back to Stock:
To get back to pure stock Sony there are several things that need to be done:
Make sure you have root
Backup any data/photos/etc on the phone
Restore your TA backup with the TA backup tool above
If you are on a custom kernel or ROM you ZU will not boot at this stage
Start flashtool and load a FTF
Start the flash and wait for the onscreen instructions to connect the ZU
Connect your ZU in flashmode
With the ZU powered off
Connect to PC while holding the volume down key
Flash will start
Wait for flash to complete
Handy Links:FTFs: The FTF depository thread
Flashtool: http://flashtool.net
SuperSU: https://play.google.com/store/apps/details?id=eu.chainfire.supersu&hl=en
Glossary:FTF: A flashable package of Sony's stock firmware. These can be found in The FTF depository thread
TA Partition: The TA partition is the "Trim Area" there are lots of things stored in here like root cert, revoked certs, DRM keys, current firmware,... the list goe on. What we are concerned with is the DRM keys. Some service centres will not service a Sony device if these are missing. Unlocking the BL will erase these.
Bootloader or BL: This is the thing that loads Android. To run a custom ROM (non Sony) you have to unlock this
Root: You are GOD
boot.img: The kernel and recovery (on Xperia)
XDA:DevDB Information
Z-Ultra Root Guide, Tool/Utility for the Sony Xperia Z Ultra
Contributors
blueether, H. E. Pennypacker, adfurgerson, LordManhattan, [NUT], geohot, many others
Version Information
Status: Stable
Created 2014-11-13
Last Updated 2015-01-01
Reserved
As always, very informative blueether.
Questions:
(1) Does this mean we no longer need to downgrade/upgrade/restore imei etc?
(2) Unlocking the bootloader is a requirement for installing any rom? No way around this?
(3) I understand the need for the disclaimers but rooting/unlocking BL doesn't automatically void your warranty does it?
unidentifier said:
As always, very informative blueether.
Questions:
(1) Does this mean we no longer need to downgrade/upgrade/restore imei etc?
(2) Unlocking the bootloader is a requirement for installing any rom? No way around this?
(3) I understand the need for the disclaimers but rooting/unlocking BL doesn't automatically void your warranty does it?
Click to expand...
Click to collapse
1/ was only needed on 4.2
2/ added a line
3/ ring Sony and say this: "I rooted my ZU, and now it won't boot. Can you fix it for me?" what do you think their response will be?
With the warranty question: I asked because I'm more concerned about the cracked glass issues than bricking the device because I couldn't follow instructions. Thanks again for the instructions.
I may sound dumb but if I am only interested in root just for link2sd feature & foldermount to overcome internal storage limitation by transfering to SD card then do I have to follow all steps ? or only first 2 step will do i.e. Root & install SU.
I will just root it & don't want to touch TA or Bootloader as not planning to update with custom rom. please suggest that even for rooting do I need to backup TA / unlock bootloader.
also will new update of Android Lollipop will wipe my root or will I be able to upgrade to lollipop in later on stage with Root.
please reply on this.
Nice with an updated version. Do speak up if you need some help with anything.
anandbohra said:
I may sound dumb but if I am only interested in root just for link2sd feature & foldermount to overcome internal storage limitation by transfering to SD card then do I have to follow all steps ? or only first 2 step will do i.e. Root & install SU.
I will just root it & don't want to touch TA or Bootloader as not planning to update with custom rom. please suggest that even for rooting do I need to backup TA / unlock bootloader.
also will new update of Android Lollipop will wipe my root or will I be able to upgrade to lollipop in later on stage with Root.
please reply on this.
Click to expand...
Click to collapse
My XZU hasn't arrived but my experience with other phones is that root alone should allow you to use link2sd and fouldermount.
Can't speak to OTA updates being blocked on rooted phones..
anandbohra said:
I may sound dumb but if I am only interested in root just for link2sd feature & foldermount to overcome internal storage limitation by transfering to SD card then do I have to follow all steps ? or only first 2 step will do i.e. Root & install SU.
I will just root it & don't want to touch TA or Bootloader as not planning to update with custom rom. please suggest that even for rooting do I need to backup TA / unlock bootloader.
also will new update of Android Lollipop will wipe my root or will I be able to upgrade to lollipop in later on stage with Root.
please reply on this.
Click to expand...
Click to collapse
Yes if you just need root the only go that far
OTA will probably fail with root, and flashing a FTF will wipe root when L arrives
rooting is not working. stops as there is no tr.apk included. In the guide there is nothing about tr.apk needed to be downloaded as well as that you need to donate before you can download. I dont mind to donate but I need to know it will work.
krystan said:
rooting is not working. stops as there is no tr.apk included. In the guide there is nothing about tr.apk needed to be downloaded as well as that you need to donate before you can download. I dont mind to donate but I need to know it will work.
Click to expand...
Click to collapse
Are you only wanting to root, or do you plan to install recovery also?
blueether said:
Yes if you just need root the only go that far
OTA will probably fail with root, and flashing a FTF will wipe root when L arrives
Click to expand...
Click to collapse
Thank you very much for your prompt reply.
will post my experience once I receive my piece & just plain root it.
anyhow as per google Lollipop might take another 4-5 months for Xperia Z Ultra (might be May-15)
Thanks every one.
anandbohra said:
Thank you very much for your prompt reply.
will post my experience once I receive my piece & just plain root it.
anyhow as per google Lollipop might take another 4-5 months for Xperia Z Ultra (might be May-15)
Thanks every one.
Click to expand...
Click to collapse
Just roo should be fine
We are getting close to haveing a working AOSP L, give it a few days I guess (but pleas dont clog this thread up with L stuff for now
All my previous Sumsang phones were on custom ROMs.
But with SonyXZU I just want to root, for now
krystan said:
All my previous Sumsang phones were on custom ROMs.
But with SonyXZU I just want to root, for now
Click to expand...
Click to collapse
Darn I was going to suggest using the dualrecovery installer for locked bootloaders and then flashing supersu from here.
http://forum.xda-developers.com/xpe...de-root-android-4-4-4-ver-14-4-0-108-t2801587
I have the towelroot apk that I downloaded a few days ago, but not sure what you would need to do with it.
adfurgerson said:
Darn I was going to suggest using the dualrecovery installer for locked bootloaders and then flashing supersu from here.
http://forum.xda-developers.com/xpe...de-root-android-4-4-4-ver-14-4-0-108-t2801587
I have the towelroot apk that I downloaded a few days ago, but not sure what you would need to do with it.
Click to expand...
Click to collapse
Thank you adfurgenson
If I do dualrecovery will I be able to get 5.0?
Or only manually?
krystan said:
Thank you adfurgenson
If I do dualrecovery will I be able to get 5.0?
Or only manually?
Click to expand...
Click to collapse
I am pretty certain that you have to go back to stock to receive the OTA, but I think that would apply also if you only rooted. Flashing an ftf file with flashtool without checking the boxes to wipe data is what I have seen recommended to get back to stock. I hate giving an answer I am not one hundred percent sure is correct so I will call on some experts, @blueether or @HEPennypacker can you confirm this is correct please.
adfurgerson said:
I am pretty certain that you have to go back to stock to receive the OTA, but I think that would apply also if you only rooted. Flashing an ftf file with flashtool without checking the boxes to wipe data is what I have seen recommended to get back to stock. I hate giving an answer I am not one hundred percent sure is correct so I will call on some experts, @blueether or @HEPennypacker can you confirm this is correct please.
Click to expand...
Click to collapse
meh, can't be bothered writing a reply. What you said will work if/when the OTA fails
OK more of a reply...
unless the OTA is only very minor it will normally fail even if the ZU just rooted
ADB Drivers and Sony PC Companion
ADB
Trying to prep the computer before the XZU arrives. The sticky mentions ADB drivers.
Are these the best ways to get them or are there better options?:
15 Second ADB Installer: http://goo.gl/ixQyom
Minimal ADB and Fastboot: http://goo.gl/EuGtRo
PC COMPANION
Link to Sony PC Companion
http://support.sonymobile.com/global-en/xperiazultra/tools/pc-companion/
"Safety"-Questions before installing CM12 on thor (after reading all relevant posts)
Hi there,
first: Big thx to the developers! Great work!
I'm on Thor Nexus 2.02 with unlocked bootloader (checked via idme) and TWRP 2.8.1.0 and want to try CM (for unlocked bootloader).
I have several Backups (Titanium and TWRP) on external HD and still on my Kindle SD.
Before doing this, I've got some safety-questions
1. Is my TWRP version ok (2.8.1.0) or should/must I update to 2.8.7.0?
2. Do I lose my unlocked bootloader when installing latest CM 12.1? I think I don't, right?
Guess: My bootloader stays unlocked until I only install "verified" custom roms as CM or Nexus.
I never want to install original stock rom. Is that ok then?
3. If I want to go back but update from Nexus 2.02 to 2.05 I simply need to grab the correct files and install them via TWRP (after doing a factory reset). My apps and data could be restored via Titanium Backup. Do I get this right?
4. Installing options for CM 12.1
a) I can manually enter TWRP-recovery by power+vol.up
b) from Flashify I can go to reboot (TWRP) recovery
c) directly via flashify under flash -> recovery image (as shown on youtube)
Best way I guess: Use TWRP, first make factory reset and then flash the ROM file.
5. Installing GAPPS
I want to install minimal GAPPS for 5.1 (gapps-5.1.x-20150404-minimal-edition-signed.zip) I would use for my moto e. Do you mind installing these gapps or should I use other ones? I only need the Play Store.
Now, if I don't like CM 12 I want to make sure to get safely back to where I come from.
These are my options
1. If CM works normally
a) Connect Kindle to PC and from there copy TWRP-backup-data to kindle SD (then simply enter TWRP recovery and press recovery). Question: Is that all or do I have to do s.th. special when doing a restore? I've never tested the backup function (shame on me).
2. If s.th. goes wrong
a) Connect Kindle to PC and push TWRP-Backup-Folder via adb command to Kindle SD. I made sure to have latest adb-version 1.032 as I needed it for unlocking bootloader as well as the necessary and correct windows drivers.
b) As in TWARP > 2.8.2 it's possible to adb sideload data that installs a new/old CM or Nexus Image
c) As in TWARP > 2.8 I can push) data so I could simply enter TWRP-recovery, active MTP (?) or simply connect to pc and then push files to my kindle and install them via TWRP
Is that correct or do you have any hints or tips for me?
I think at least I can adb push files to the Kindle.
As I lose all my Kindle-Backup-Data on my device when I install CM 12 I should be on the safe side as I still have TWRP and different ways to push backup-data to my device if anything goes wrong, right? Note: All backup-data are still on external HD.
Responses in brief:
Q1. Is my TWRP version ok (2.8.1.0) or should/must I update to 2.8.7.0?
A1. Always used the latest version posted (unless very new and possibly unstable)
Q2. Do I lose my unlocked bootloader when installing latest CM 12.1?
A2. In general flashing another rom has no impact on bootloader lock/unlock status
** EXCEPTION: Never flash a fully stock version of FireOS without further guidance **
Q3. [Expand section below for question]
A3. You can safely upgrade from Nexus v2.0.2 to v2.0.5; no concerns with restoration if needed.
Q4. [Expand section below for question]
A4. Correct. Take an image of your current environment first from TWRP (just in case)
Q5. I want to install minimal GAPPS for 5.1
A5. Unknown - but should work if content included is close/identical to originals
As for recovery options keep a copy of any/all images that you might want to use for recovery on the device in 'internal storage' (root of SDCARD). These files will survive a normal system flash and can be used to recover your device should something go wrong. Don't assume adb push or any form of side loading will work on a borked system.
laufen99 said:
Hi there,
first: Big thx to the developers! Great work!
I'm on Thor Nexus 2.02 with unlocked bootloader (checked via idme) and TWRP 2.8.1.0 and want to try CM (for unlocked bootloader).
I have several Backups (Titanium and TWRP) on external HD and still on my Kindle SD.
Before doing this, I've got some safety-questions
1. Is my TWRP version ok (2.8.1.0) or should/must I update to 2.8.7.0?
2. Do I lose my unlocked bootloader when installing latest CM 12.1? I think I don't, right?
Guess: My bootloader stays unlocked until I only install "verified" custom roms as CM or Nexus.
I never want to install original stock rom. Is that ok then?
3. If I want to go back but update from Nexus 2.02 to 2.05 I simply need to grab the correct files and install them via TWRP (after doing a factory reset). My apps and data could be restored via Titanium Backup. Do I get this right?
4. Installing options for CM 12.1
a) I can manually enter TWRP-recovery by power+vol.up
b) from Flashify I can go to reboot (TWRP) recovery
c) directly via flashify under flash -> recovery image (as shown on youtube)
Best way I guess: Use TWRP, first make factory reset and then flash the ROM file.
5. Installing GAPPS
I want to install minimal GAPPS for 5.1 (gapps-5.1.x-20150404-minimal-edition-signed.zip) I would use for my moto e. Do you mind installing these gapps or should I use other ones? I only need the Play Store.
Now, if I don't like CM 12 I want to make sure to get safely back to where I come from.
These are my options
1. If CM works normally
a) Connect Kindle to PC and from there copy TWRP-backup-data to kindle SD (then simply enter TWRP recovery and press recovery). Question: Is that all or do I have to do s.th. special when doing a restore? I've never tested the backup function (shame on me).
2. If s.th. goes wrong
a) Connect Kindle to PC and push TWRP-Backup-Folder via adb command to Kindle SD. I made sure to have latest adb-version 1.032 as I needed it for unlocking bootloader as well as the necessary and correct windows drivers.
b) As in TWARP > 2.8.2 it's possible to adb sideload data that installs a new/old CM or Nexus Image
c) As in TWARP > 2.8 I can push) data so I could simply enter TWRP-recovery, active MTP (?) or simply connect to pc and then push files to my kindle and install them via TWRP
Is that correct or do you have any hints or tips for me?
I think at least I can adb push files to the Kindle.
As I lose all my Kindle-Backup-Data on my device when I install CM 12 I should be on the safe side as I still have TWRP and different ways to push backup-data to my device if anything goes wrong, right? Note: All backup-data are still on external HD.
Click to expand...
Click to collapse
UPDATED to include instructions for flashing other ROMS
I've successfully unlocked, flashed TWRP, rooted, and flashed Lineage on both an XT1602 and an XT1607. I'd done this before on other devices, but had forgotten just how it all came together, so when I was done I went back and made this step-by-step guide. It's a bit shorthand.
Many thanks to squid2 for his TWRP port, to the folks who make superuser, to parrotgeek1 for superSUFixer.zip, and to spiked_mistborn for reminding me about it. And, of course, huge thanks to squid2 and Alberto97 for the killer Lineage ROM. It is far better than stock or the last Nougat CM. If I forgot anyone, or made any mistakes here, somebody please point them out. Have fun!
1. Preparation (if the links don't work, search on xdaDevelopers or with Google)
a. Backup entire phone to the extent you are able, either with a dedicated tool and/or to Google via the Android backup feature
b. Download and install Motorola Device Manager on your computer from https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481 so as to make sure you have the proper drivers
c. Download adb and fastboot tools onto your computer from
http://forum.xda-developers.com/showthread.php?t=2588979 or
http://forum.xda-developers.com/showthread.php?t=2317790d. Download TWRP for Moto G4 Play to same folder as adb and fastboot tools from http://forum.xda-developers.com/devdb/project/?id=16870#downloads
e. Depending upon whether you want to flash Lineage or stay with the stock ROM, download to the same directory on your computer either:
i. Lineage and the Lineage SU addon (if you want root) from https://forum.xda-developers.com/g4-play/development/rom-lineageos-14-1-moto-g4-play-t3544646 and Google apps (arm 7.1 micro) from http://opengapps.org/; or,
ii. superSUFixer.zip from http://forum.xda-developers.com/g4-play/development/automatic-flashable-zip-fix-supersu-t3464396 and superusersu.zip from http://www.supersu.com/download
Note: I did not find superSUFixer.zip necessary when I intially rooted, but after later installing squid's kernel it was indispensable to reinstallation of superusersu.zip.g. Attach phone to computer with USB cable, enable file transfer on phone and either copy the Lineage zip and Lineage SU addon zip and gapps.zip to your phone, OR copy superSUFixer.zip and superusersu.zip to the phone (you don't need to copy twrp)
2. Unlock bootloader
a. Enable developer options (Settings/About Phone/tap Build Number 7x)
b. Enable USB debugging on phone (Settings/Developer Options)
c. Enable OEM unlock on phone (same)
d. Open command window and change to the directory where you put adb, fastboot, and twrp
e. > adb devices (to check that you are connected - you should get a response with a device id)
f. > adb reboot bootloader
g. >fastboot oem get_unlock_data
h. On computer, go to https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a (you need to proceed through the login and to the second page)
i. Copy data returned by phone in the command window (make sure you copy all of it!)
ii. Paste that data into the Data Scrub Tool on the web page
iii. Copy scrubbed data, paste it into the box on the web page at step 6, and click the button; if it says you can't unlock your device, either you didn't copy and paste all the data, or your phone can't be unlocked and you're done; otherwise,i. Copy unlock key from email
j. > fastboot oem unlock <unique unlock key>
3. Flash TWRP
a. > fastboot flash recovery twrp.img
b. > fastboot reboot recovery
4. Flash Lineage and root, or just root -- when the phone has rebooted into recovery (you'll be in TWRP now)
a. follow prompts to make TWRP permanent or not
b. DO A FULL BACKUP OF EVERYTHING with TWRP
c. make sure you performed step b (or you may wish you had later, if something goes wrong!)
d. To flash another ROM, in TWRP
i. Wipe Data, Cache, and Dalvik. (Yes, you have to do this.)
ii. For Lineage - Install the Lineage zip file, the Lineage SU addon zip file, and the gapps zip file, one after the other, in that order, WITHOUT REBOOTING in between. TWRP will let you add all three to its queue to flash in order;
iii. For other ROMs - see instructions for those ROMs, but in general, install the ROM zip file, and then the gapps zip file, one after the other without rebooting in between. For root access, depending on the ROM, you may need superSUFixer, supersu.zip, or both; again, see the instructions for the ROM you are flashing.OR
e. To stick with the stock ROM but get root access, DO NOT WIPE, just flash superSUFixer and then supersu.zip
5. If TWRP does not automatically reboot your phone (if you unchecked the "reboot when done" box), then reboot to the System; if you left the box checked, then your device will reboot by itself once the zip files have been flashed.
6. Follow the prompts to set up your new ROM or stock Android.
7. Reboot into recovery (TWRP) and make another backup!
8. Want to get rid of the "Unlocked Bootloader!" warning screen? Flashing this file from TWRP worked for me (all the others I tried did not work):
https://forum.xda-developers.com/attachment.php?attachmentid=4065906&d=1488923356
For me, and it seems like I'm not the only person facing this issue either, I cannot unlock my boot loader on their website as it says it's not eligible. I do have the unlocked XT1607, bought it at Walmart for $150. I contacted their customer support and they said it can be unlocked and that they'd forward the boot loader string to the dev team and then follow up and email the unlock code, yet it's been almost 24hrs and no response which is saddening.
-Edit-
I did some research quickly, and it does fully quality according to their forums, as my CID value is 0x0032 and they state that devices with that CID are eligible for being unlocked. So they must be updating things in the background in their system
fireball0093 said:
For me, and it seems like I'm not the only person facing this issue either, I cannot unlock my boot loader on their website as it says it's not eligible. I do have the unlocked XT1607, bought it at Walmart for $150. I contacted their customer support and they said it can be unlocked and that they'd forward the boot loader string to the dev team and then follow up and email the unlock code, yet it's been almost 24hrs and no response which is saddening.
-Edit-
I did some research quickly, and it does fully quality according to their forums, as my CID value is 0x0032 and they state that devices with that CID are eligible for being unlocked. So they must be updating things in the background in their system
Click to expand...
Click to collapse
Any word yet on that unlock code?
loociddreemr said:
Any word yet on that unlock code?
Click to expand...
Click to collapse
After talking to their customer support, I never got an email. The next day however I decided to go online to their boot loader page and put my code in, then it worked! The data scrub tool or whatever it may be called that they have I recommend using it too.
where the twrp backups are stored? how do I transfer them to pc? (coz phone's capacity is not enough).
Thanks a ton for the guide
haher2 said:
where the twrp backups are stored? how do I transfer them to pc? (coz phone's capacity is not enough).
Click to expand...
Click to collapse
They are in a subdirectory of the TWRP directory. With the proper drivers installed on your PC you can transfer them via File Explorer. Or, 20 pounds/euros/dollars will get you a 64gb SD card.
3. Flash twrp
a. > fastboot flash recovery twrp.img
b. > fastboot reboot recovery
Click to expand...
Click to collapse
I tried to fastboot boot recovery from the bootoader but it didn't work. I rebooted the phone first and did it with: "adb reboot recovery" in windows.
Overall nice guide, works like a charm, i also flashed the unlocked bootloader warning with a custom logo.bin, no issues here and works like a charm (I flashed it with the stock logo you see when you first bought the phone with a locked bootloader)
Thank you!
Yah fastboot reboot recovery doesn't work. But very nice guide.
While in the main bootloader menu, the Power & Vol+/- buttons are active and you can go straight to recovery (and other modes) using the toggles. Perhaps this should be mentioned in the OP.
It should also be noted that after flashing recovery, one needs to go to recovery straight before rebooting to normal (system) for the TWRP/Custom Recovery to stick.
Also worth noting, Power + Volume Down will boot to bootloader/fastboot and then hardware buttons to navigate to all other modes as needed.
.
loonix said:
Yah fastboot reboot recovery doesn't work. But very nice guide.
While in the main bootloader menu, the Power & Vol+/- buttons are active and you can go straight to recovery (and other modes) using the toggles. Perhaps this should be mentioned in the OP.
It should also be noted that after flashing recovery, one needs to go to recovery straight before rebooting to normal (system) for the TWRP/Custom Recovery to stick.
Also worth noting, Power + Volume Down will boot to bootloader/fastboot and then hardware buttons to navigate to all other modes as needed.
.
Click to expand...
Click to collapse
Yes and, adding to what you said, you need to re-enable the "Allow bootloader unlocking" and "USB Debugging" in Developer Settings if you failed to flash your recovery as the device expects to be flashed. Else, you'll get a "unable to load kernel" error in the bootloader log and being rebooted again to the bootloader menu.
Great tutorial indeed, thanks a lot. Nandroid backup doesn't worked for me but i'm going on.
Edit - worked after disable sd as internal memory
I found the stock firmware for my phone here :
https://mirrors.lolinet.com/firmware/moto/harpia/official/
Is it possible to relock and revert the phone to stock after flashing twrp/Lineage/Root ?
https://forum.xda-developers.com/moto-g4-plus/help/moto-g4-plus-relock-bootloader-t3410399
does it work with g4 play ?
I want to throw something out there, because it happened to me. In newer builds of Windows 10, you are no longer able to open a command window in a folder (the only available option is Powershell). I even tried that Path thing some Android tutorials talked about, and it failed. When I went to flash TWRP, I had to put twrp.img in my User folder directly (I only figured this out because when I did t-tab it fetched the .thumbnails folder). Make sure you know what CMD is referencing BEFORE you start the process, because doing so will save you a lot of headache down the road.
hamelg said:
I found the stock firmware for my phone here :
https://mirrors.lolinet.com/firmware/moto/harpia/official/
Is it possible to relock and revert the phone to stock after flashing twrp/Lineage/Root ?
https://forum.xda-developers.com/moto-g4-plus/help/moto-g4-plus-relock-bootloader-t3410399
does it work with g4 play ?
Click to expand...
Click to collapse
In concept, I don't see any reason why you couldn't use TWRP to flash the stock ROM and then fastboot to flash the stock recovery ... or fastboot to flash both (be easier and quicker). The Moto website may have instructions for re-locking.
mkollersms said:
I want to throw something out there, because it happened to me. In newer builds of Windows 10, you are no longer able to open a command window in a folder (the only available option is Powershell). I even tried that Path thing some Android tutorials talked about, and it failed. When I went to flash TWRP, I had to put twrp.img in my User folder directly (I only figured this out because when I did t-tab it fetched the .thumbnails folder). Make sure you know what CMD is referencing BEFORE you start the process, because doing so will save you a lot of headache down the road.
Click to expand...
Click to collapse
In a command window use the cd command to change directories. For example:
C:> CD \mytopdirectory\mysubdirectory
Another link to consider about OTA update if you stick with the stock ROM :
https://forum.xda-developers.com/moto-g4-plus/how-to/guide-sucsessfull-ota-update-rooting-t3472658
Thanks again.
If your phone is from Verizon Prepaid, Moto will say the device is not eligible to be unlocked. Knowing Verizon, it's not likely to be unlocked later along down the line either. Hopefully someone comes up with a good way to bypass this restriction and install some ROMs.
Does this method work on the Verizon prepaid model, or does it have to be from moto/amazon?
Moto g play twrp IMG file not IMG it's **** IMG file please develop it
Does this works with LATAM version? XT1601?
Thanks :good: