Clean State Install of latest CyanogenMod or Cyanogen OS - ONE Q&A, Help & Troubleshooting

Hello guys,
first off: i had something to do in the past with all this stuff but my memory isnt that great anymore so please correct me if im wrong
so here's the thing: my OPO decided to not detect my SIM anymore, so i did a factory reset thru recovery. I also rooted the phone before with a video tutorial from youtube (don't know if i can link it here this is my first post^^). What it does is install SuperSU over TWRP. You then have root without erasing your data! I was kinda surprised because i read in other threads that it actually will.
But anyways back to topic. I am now on these settings:
Cyanogen OS 12.1.1-Y0G7DAS2K1
Stock Recovery
Rooted
Bootloader unlocked (not sure, but i guess otherwise it wouldnt work)
I received a message for the OTA Update to Cyanogen OS 13. Downloaded & installed it, phone reboots into recovery. Already surprised here because its not TWRP anymore but i guess it was just temporary for the root installing. Or maybe it was because i didn't unchecked the "update recovery" checkbox in developer options, i think its active on default.
But anyways, the recovery tries to install it and suddenly the menu shows up again with an android in the background (in his chest is a red warning sign). No error, just the graphical android in the background. After a restart, nothing changed still on the same version. I did a factory reset once more and also "deleted media" and wiped cache.
As i mentioned, im not up-to-date with the differences on CyanogenMod and Cyanogen OS.
What i want to do now:
Step 1: Format my OPO as clean as possible.
Is Factory Reset and wipe media etc. enough for this? Or do i have to hard reset it?
Step 2: Root Access and TWRP.
I lost both of these after an OTA update to my OPO. I guess it was when i received the Cyanogen OS update. I would like to know when exactly these two will be erased and what to do to not lose them anymore. I heard it differs between CM and Cyanogen OS.
Step 3: Decision what OS to use: CyanogenMod or Cyanogen OS?
Im willing to wait for updates as long as they're stable. And i would also prefer to just install them over OTA (when it works^^). I don't want to flash like crazy, i only want a steady, rooted, customizable OS. I searched on this forum but im not sure which are the latest versions of both and what the differences are. What would you suggest me on these preferences?
Step 4: Restoring my Data
I backed up my Apps with Titanium Backup and transfered the folder to my PC. Never used it before, so i would like to know if it can cause any problems if i restore it on a newer version of Cyangogen OS or even Cyanogenmod?
Hope i don't forget anything. Sorry for the long post & noob questions you probably read everyday

EagleJR said:
Hello guys,
first off: i had something to do in the past with all this stuff but my memory isnt that great anymore so please correct me if im wrong
so here's the thing: my OPO decided to not detect my SIM anymore, so i did a factory reset thru recovery. I also rooted the phone before with a video tutorial from youtube (don't know if i can link it here this is my first post^^). What it does is install SuperSU over TWRP. You then have root without erasing your data! I was kinda surprised because i read in other threads that it actually will.
But anyways back to topic. I am now on these settings:
Cyanogen OS 12.1.1-Y0G7DAS2K1
Stock Recovery
Rooted
Bootloader unlocked (not sure, but i guess otherwise it wouldnt work)
I received a message for the OTA Update to Cyanogen OS 13. Downloaded & installed it, phone reboots into recovery. Already surprised here because its not TWRP anymore but i guess it was just temporary for the root installing. Or maybe it was because i didn't unchecked the "update recovery" checkbox in developer options, i think its active on default.
But anyways, the recovery tries to install it and suddenly the menu shows up again with an android in the background (in his chest is a red warning sign). No error, just the graphical android in the background. After a restart, nothing changed still on the same version. I did a factory reset once more and also "deleted media" and wiped cache.
As i mentioned, im not up-to-date with the differences on CyanogenMod and Cyanogen OS.
What i want to do now:
Step 1: Format my OPO as clean as possible.
Is Factory Reset and wipe media etc. enough for this? Or do i have to hard reset it?
Step 2: Root Access and TWRP.
I lost both of these after an OTA update to my OPO. I guess it was when i received the Cyanogen OS update. I would like to know when exactly these two will be erased and what to do to not lose them anymore. I heard it differs between CM and Cyanogen OS.
Step 3: Decision what OS to use: CyanogenMod or Cyanogen OS?
Im willing to wait for updates as long as they're stable. And i would also prefer to just install them over OTA (when it works^^). I don't want to flash like crazy, i only want a steady, rooted, customizable OS. I searched on this forum but im not sure which are the latest versions of both and what the differences are. What would you suggest me on these preferences?
Step 4: Restoring my Data
I backed up my Apps with Titanium Backup and transfered the folder to my PC. Never used it before, so i would like to know if it can cause any problems if i restore it on a newer version of Cyangogen OS or even Cyanogenmod?
Hope i don't forget anything. Sorry for the long post & noob questions you probably read everyday
Click to expand...
Click to collapse
Ok so first you can not perform OTA updates with a custom recovery like TWRP. So if you want OTA updates don't install a custom recovery. You lost TWRP before even performing the OTA update don't know how but you did. So I am going to instruct you how to start fresh.
1. You need ADB and fastboot installed you can get the minimal version here http://forum.xda-developers.com/showthread.php?t=2317790 or you can get the full SDK manager which has fastboot and adb https://developer.android.com/studio/index.html but if your not planning development just go with minimal.
2. Follow this guide http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541 You don't need to do step 4 since you want to install a custom recovery. So just reboot after you flash all the stock files.
(Also make sure you download the right stock rom he has a 16gb and a 64gb listed. Or you can download the stock rom straight from cynogen os here https://cyngn.com/support
3. Next you will need the TWRP file you can get it here https://dl.twrp.me/bacon/ if you don't have ADB/Fastboot in your path just place the file in the same folder as your fastboot. Also rename the file to recovery.img make sure you don't name it recovery.img.img
4. Download SUPERSU for root get it here https://download.chainfire.eu/1003/SuperSU/SR1-SuperSU-v2.78-SR1-20160915123031.zip
5. With your phone on plug it in to your computer and transfer the SuperSU zip to the download folder on your phone.
6. Unplug your phone and reboot to fastboot then plug your phone back in
7. Open command prompt in the fastboot folder by holding shift and right click and select open command window here.
8. Type fastboot devices (This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue you must fix your drivers so that your phone is listed under fastboot devices.)
9. Type Fastboot Flash recovery recovery.img
10. Once the flash is done don't let the phone fully boot to system or it will rewrite to the stock recovery so hold the power button and volume down and it will boot into TWRP recovery. IF you let it boot into the system and it does reinstall the stock recovery you will need to re-install twrp
11. Once in twrp perform a backup of your stock rom
12. After the backup is done go back to the main menu of TWRP go to install navigate to the download file and then install SuperSU
13. Now reboot and you now have the stock rom with root and a custom recovery.
14. Difference between cynogen os and cynogenmod http://www.androidcentral.com/difference-between-cyanogen-os-and-cyanogenmod
Hope this helps and

Durso81 said:
Ok so first you can not perform OTA updates with a custom recovery like TWRP. So if you want OTA updates don't install a custom recovery. You lost TWRP before even performing the OTA update don't know how but you did. So I am going to instruct you how to start fresh.
1. You need ADB and fastboot installed you can get the minimal version here http://forum.xda-developers.com/showthread.php?t=2317790 or you can get the full SDK manager which has fastboot and adb https://developer.android.com/studio/index.html but if your not planning development just go with minimal.
2. Follow this guide http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541 You don't need to do step 4 since you want to install a custom recovery. So just reboot after you flash all the stock files.
(Also make sure you download the right stock rom he has a 16gb and a 64gb listed. Or you can download the stock rom straight from cynogen os here https://cyngn.com/support
3. Next you will need the TWRP file you can get it here https://dl.twrp.me/bacon/ if you don't have ADB/Fastboot in your path just place the file in the same folder as your fastboot. Also rename the file to recovery.img make sure you don't name it recovery.img.img
4. Download SUPERSU for root get it here https://download.chainfire.eu/1003/SuperSU/SR1-SuperSU-v2.78-SR1-20160915123031.zip
5. With your phone on plug it in to your computer and transfer the SuperSU zip to the download folder on your phone.
6. Unplug your phone and reboot to fastboot then plug your phone back in
7. Open command prompt in the fastboot folder by holding shift and right click and select open command window here.
8. Type fastboot devices (This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue you must fix your drivers so that your phone is listed under fastboot devices.)
9. Type Fastboot Flash recovery recovery.img
10. Once the flash is done don't let the phone fully boot to system or it will rewrite to the stock recovery so hold the power button and volume down and it will boot into TWRP recovery. IF you let it boot into the system and it does reinstall the stock recovery you will need to re-install twrp
11. Once in twrp perform a backup of your stock rom
12. After the backup is done go back to the main menu of TWRP go to install navigate to the download file and then install SuperSU
13. Now reboot and you now have the stock rom with root and a custom recovery.
14. Difference between cynogen os and cynogenmod http://www.androidcentral.com/difference-between-cyanogen-os-and-cyanogenmod
Hope this helps and
Click to expand...
Click to collapse
Thank you very much! I did all of your Instructions step-by-step and it worked flawless. Im now on the latest CM13 Release. I hope it was the right decision and it runs smooth and stable. And if not i got the backup I do have 2 more questions:
-TWRP asked me if i want to let them "modify my partition". It helps when you are getting official updates. Is that important for me? I guess i will just flash future updates over recovery and not over OTA anyways, so i can left this "modify" option unchecked, right?
-While i did the factory reset, it said that most of the time i will not have to delete internal storage. Does that mean it also excludes private stuff like photos, videos & also backups from titanium & TWRP (if it's the same stored location)? Thank you again for anything

EagleJR said:
Thank you very much! I did all of your Instructions step-by-step and it worked flawless. Im now on the latest CM13 Release. I hope it was the right decision and it runs smooth and stable. And if not i got the backup I do have 2 more questions:
-TWRP asked me if i want to let them "modify my partition". It helps when you are getting official updates. Is that important for me? I guess i will just flash future updates over recovery and not over OTA anyways, so i can left this "modify" option unchecked, right?
-While i did the factory reset, it said that most of the time i will not have to delete internal storage. Does that mean it also excludes private stuff like photos, videos & also backups from titanium & TWRP (if it's the same stored location)? Thank you again for anything
Click to expand...
Click to collapse
The only way you can do official updates is to follow all the steps above and flashing the newest stock ROM via fastboot and reinstalling twrp. Now if you want to flash a custom ROM like cynogenmod then you can just download the latest ROM from cynogemod and install it via twrp. As far as your pics go I would either upload them to a cloud service or your PC before switching ROMs. For your apps yes just backup with titanium backup and then just restore them when you change ROMs.

Related

[Q] Messed up trying to install lollipop for blue htc one s

hi everyone, good to finally sign up after being a long time reader here, unfortunately I have a problem.
My htc one s is rooted and I am running twrp and wanted to install the latest cm nightly so I downloaded it, googled instructions and used these instructions from a website.
Steps to Install Android 5.0.2 Lollipop on HTC One S via Official CyanogenMod 12 Nightly ROM
Boot into Recovery mode via adb or hardware buttons or use the QuickBoot app if your device is rooted.
In recovery mode, back up data on your current ROM. If using TWRP, select Backup and perform a Swipe to Back Up from the bottom of the screen.
Then select Wipe and do a Swipe to Factory Reset from the bottom of the screen.
Return to the main menu of TWRP recovery and select Install (if using CWM then choose Install Zip from SDcard.
Browse to the file where you saved the CM12 ROM zip file, select it and Swipe to Confirm Flash on the bottom of the screen. Now, wait until the flashing process completes.
After the ROM is flashed, repeat step 8 to flash the Gapps package as well.
Once both the files are flashed, return to recovery's Main menu and select Reboot > System.
I did all that and it installed fine, however, when I restarted the phone, it showed the htc logo then it just went black so I had to go back into twrp.
Instead I changed my mind and tried to install 4.1.1. jelly bean (since I needed to update anyways and couldn't because I'm running twrp and in that whole process I ended up deleting the version of jellybean and basically my phone has no jellybean or lollipop installed at all so my only option is going back into twrp.
After that, I read that my phone has to be S-off so I looked up instructions on how to install it (I'm on a mac) and apparently I'm supposed to flash the boot.img (kernel) via fast boot but in order to do that you need to have jellybean or some kind of rom running to have debugging mode on and I don't so basically this is where I'm stuck.
My apologies for the lengthy explanation but if anyone knows what to do from here that would be amazing thanks.

Where do I get Gapps without pc

I recently just rooted my phone (Nexus 6) and added custom ROM and custom back up for CM12 but when everything booted up there were no Google apps and I cannot download any apps as well bc there is no play store? How do I get Gapps on my phone without having to use a PC bc I got through this whole process without one so I need to finish it likewise and plus I do not have a computer yet.
Chessiwill said:
I recently just rooted my phone (Nexus 6) and added custom ROM and custom back up for CM12 but when everything booted up there were no Google apps and I cannot download any apps as well bc there is no play store? How do I get Gapps on my phone without having to use a PC bc I got through this whole process without one so I need to finish it likewise and plus I do not have a computer yet.
Click to expand...
Click to collapse
To avoid future confusion are you on cm12.0 or cm12.1? Gapps packages are available as a zip package which you flash in recovery just like a ROM (but over the top, after ROM install ).
If you can work out the one you want without further help from me, I recommend slim gapps. Just pick the correct one you want, download on phone to storage and flash in recovery.
Ok so I am currently running cm12.1 and I have downloaded a zip file for the gapps but of course its not compatible with any of CM12.1's stock apps. So the question is how do I correctly flash in recovery and get the gapps file unzipped.
also when I try to flash it it in recovery my twrp is not loading up. It says "cyanogen Recovery" Im not sure hwats going on but what can i do excatly
Chessiwill said:
Ok so I am currently running cm12.1 and I have downloaded a zip file for the gapps but of course its not compatible with any of CM12.1's stock apps. So the question is how do I correctly flash in recovery and get the gapps file unzipped.
Click to expand...
Click to collapse
Why would it not be compatible? All GApps are are things like sync and more surface level apps like YouTube. Link me the exact package you downloaded and I'll tell you if its ok. Just do a nandroid backup and flash, the worse that can happen is that it doesn't work and you have to restore.
HTCDreamOn said:
Why would it not be compatible? All GApps are are things like sync and more surface level apps like YouTube. Link me the exact package you downloaded and I'll tell you if its ok. Just do a nandroid backup and flash, the worse that can happen is that it doesn't work and you have to restore.
Click to expand...
Click to collapse
So when i hold down the power button its gives me the option to reboot and i choose reboot then it says recovery or bootloader and i go to recovery. Instead of Twrp its just boots to "cyanogen recovery" and when im there i pressed install update because i want to install the gapps (I have the gapps zip file in my download folder) but after i press it it just says install failed and it prompts me back to recovery screen.
so i pressed reset on accident now i do not have anything on my phone expect for the cm12.1 because I checked the file manager and all my other twrp dowloads are gone as well as everything.
SO am i screwed or can i recovery from this failure.
Mind you i have a nexus 6
Chessiwill said:
So when i hold down the power button its gives me the option to reboot and i choose reboot then it says recovery or bootloader and i go to recovery. Instead of Twrp its just boots to "cyanogen recovery" and when im there i pressed install update because i want to install the gapps (I have the gapps zip file in my download folder) but after i press it it just says install failed and it prompts me back to recovery screen.
so i pressed reset on accident now i do not have anything on my phone expect for the cm12.1 because I checked the file manager and all my other twrp dowloads are gone as well as everything.
SO am i screwed or can i recovery from this failure.
Mind you i have a nexus 6
Click to expand...
Click to collapse
So you mean you have no ROM to boot into?
I'm not familiar with Cyanogen recovery... try to see if you can flash the ROM from the "install update" option.
If this succeeds, I recommend flashing TWRP as this will present far fewer issues than Cyanogen recovery.
Will I need a computer?
Chessiwill said:
Will I need a computer?
Click to expand...
Click to collapse
For which part? If you can boot into Cyanogen recovery, and you have the ROM zip file on your phone, then flash that using "install update" in recovery then boot it. If that works I'll guide you from there.
For the TWRP part, possibly. Some phones work fine just with the TWRP app.
Okay can you boot into a working ROM or not? if you can then don't worry, it's an easy fix. Alright so since you factory reset your device you'll have to go into settings and enable developer options and enable root. Once you did that download TWRP Manager and install TWRP for your Nexus 6. Now you're rid of that useless CyanogenMod recovery (only thing you can do with that is factory reset and install CM). Then redownload whatever Gapps you had tried to flash and flash them over CM12
Blu8 said:
Okay can you boot into a working ROM or not? if you can then don't worry, it's an easy fix. Alright so since you factory reset your device you'll have to go into settings and enable developer options and enable root. Once you did that download TWRP Manager and install TWRP for your Nexus 6. Now you're rid of that useless CyanogenMod recovery (only thing you can do with that is factory reset and install CM). Then redownload whatever Gapps you had tried to flash and flash them over CM12
Click to expand...
Click to collapse
So I downloaded the apk TWRP and it would not let me install the latest version (maybe because that was the one i installed orignally before i reset the phone) but it let me download the one right before the newest one "Twrp-2.8.7.0-shamu.img" to be excat. And prior to this i had already downloaded the slim Gapps as a zip ( i used the link that "HTCDreamOn" gave me on earlier in the thread) and they are located in my downloads folder.
Boom so i reboot the phone into recovery and finally Twrp recovery pops up instead of the cm recovery so thats good news but when i pressed install to flash the gapps they were not there in fact next to internal memeory it said "0 MB". so why is it saying i have nothing in my memory. I mean the download folder didnt even show up
Can you make a backup? What I mean is, does TWRP function otherwise or does everything say 0mb? When you go into the "mount" section is data checked?
Sent from my SM-G386T1 using Tapatalk
do I just need to download cm12.1 and gapps again and just wipe and backup then flash
Blu8 said:
Can you make a backup? What I mean is, does TWRP function otherwise or does everything say 0mb? When you go into the "mount" section is data checked?
Sent from my SM-G386T1 using Tapatalk
Click to expand...
Click to collapse
yes it is checked and it keeps saying
"E: Unable to mount /data/media/TWRP/ .twrps whentrying to read settings file."
and it keeps saying unable to mount storage

HELP with installing Cyanogenmod

Hello, I've been trying to install Cyanogenmod 12 but every time Rom Manager does nothing when I flash installation or with other options I can't go into recovery mode since it just reboots every time!
I have Sony Xperia T with Android 4.3 and I need newer version to install Pokemon Go!
I have tried many guides so pls don't post me links but just write me step by step what to do or tell me what I do wrong!
1. I have unlocked bootloader on my phone, my camera still works despite what the guide said. When I go into SERVICE in phone it says it's unlocked.
2. At this point I tried installing TWRP but to my finding I need to root my phone! Wtf there was nothing about this in the guides... But okay, I look in Internet and install KingRoot that automatically unlocks the root. Now I can install apps that require root.
3. I install Twrp, it ask me if I wanna install Bombox or something like that but I press no, I go into backup and whenever I try to do it, it does nothing. I restart the app and this time I try installation without any backup. I select the zip file of CM for my phone, select to wipe the data etc and start. But it does nothing and just freezes :/
4. I try Rom Manager, I install it try to do backup but it tells me to install something but later it says my device is unsupported?! I try installing just the Rom zip but again nothing...
Whenever I try to go into recovery mode through any apps it just restarts my phone!
Pls help I don't know what to do...
Have you installed TWRP with the TWRP manager?
Sent by my iPad using Tapatalk
install latest twrp for your phone.... u can flash cm 12 easily
---------- Post added at 10:09 AM ---------- Previous post was at 10:06 AM ----------
download twrp manager app and search your device it is available there and tap on install recovery.....
joe2k01 said:
Have you installed TWRP with the TWRP manager?
Click to expand...
Click to collapse
I have TWRP Manager installed, I didn't install TWRP with this before since I thought it is the same thing?!
I just tried to install it, I selected my phone then the version to download and at the end when it tries to flash I get an error that flashing was unsuccessful and it's either because I have this installed or another error occurred. Then I have option to cancel or to reboot now but if I press it then it freezes and I can only close the app.
I have clean phone with no data, it's an old one so I'm not really scarred to lose anything just wanna get that CM12.
amakasuvi said:
I have TWRP Manager installed, I didn't install TWRP with this before since I thought it is the same thing?!
I just tried to install it, I selected my phone then the version to download and at the end when it tries to flash I get an error that flashing was unsuccessful and it's either because I have this installed or another error occurred. Then I have option to cancel or to reboot now but if I press it then it freezes and I can only close the app.
I have clean phone with no data, it's an old one so I'm not really scarred to lose anything just wanna get that CM12.
Click to expand...
Click to collapse
There are plenty of occurrences in TWRP where it will show that recovery was not successfully installed. Once TWRP Manager shows you that message, close the app and shut down your device and then try to boot to recovery using the correct button sequence. I believe for your device that the correct button sequence is as follows:
Power off your device.
Boot in*recovery mode*by pressing and holding Volume Up and Power*Button*at the same time.
Release all buttons when the Sony Xperia T screen flickers and in a few seconds the Recovery screen will appear.
Give this a try.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
There are plenty of occurrences in TWRP where it will show that recovery was not successfully installed. Once TWRP Manager shows you that message, close the app and shut down your device and then try to boot to recovery using the correct button sequence. I believe for your device that the correct button sequence is as follows:
Power off your device.
Boot in*recovery mode*by pressing and holding Volume Up and Power*Button*at the same time.
Release all buttons when the Sony Xperia T screen flickers and in a few seconds the Recovery screen will appear.
Give this a try.
[/URL]
Click to expand...
Click to collapse
I tried many options to put my phone into recovery mode but it doesn't work. It just turns on my device.
amakasuvi said:
I tried many options to put my phone into recovery mode but it doesn't work. It just turns on my device.
Click to expand...
Click to collapse
Well, I suspect that if TWRP Manager cannot install recovery on your device then you will have to download the correct TWRP from www.twrp.me and fastboot flash recovery on your device.
Sent from my Nexus 6 using XDA-Developers mobile app
astboot flash recovery on your device.
Click to expand...
Click to collapse
How do I do it? Thanks
amakasuvi said:
How do I do it? Thanks
Click to expand...
Click to collapse
Just to make sure, you can still boot the device normally into 4.3 JellyBean, right?
Okay, have you ever used ADB or fastboot?
Have you installed a program on your PC like
Minimal ADB & Fastboot or 15 Second ADB installer or the Android SDK?
To verify that your ADB & fastboot is installed and working correctly follow these steps:
Boot your device normally.
Go to Developer Options and verify you have OEM Unlock enabled and USB Debugging enabled.
Connect the device to your PC with the USB cable.
Once connected to the PC you should see a pop-up message on the device asking for authorization. If so, check the box to "always allow".
Open the Device Manager on your PC and look to see if your device is recognized. (if you see a yellow triangle or question mark the correct drivers need to be installed)
So, if your device is recognized and the correct drivers are installed, open a command prompt window and type this:
adb devices
If your ADB is setup and working and your device is properly recognized the command prompt will return with a list of attached devices and the serial number of the device.
This is where we need to start that way we know the ADB and fastboot environment is setup and working correctly.
Also, I was looking around the XDA Xperia forums and there are some good guides on how to do this just in case you want to read up on the subject.
Sent from my Nexus 6 using XDA-Developers mobile app
Thanks.
To unlock bootloader I was using some fastboot program which was in a guide and I had to go to cmd and just type fastboot.exe oem unlock boot 0xKEY or something like that and then I just installed app that rooted my phone and that's it. Nothing more. I didn't install any other things since I have problems with Internet :/
Also, I was looking around the XDA Xperia forums and there are some good guides on how to do this just in case you want to read up on the subject.
Click to expand...
Click to collapse
can give me some links with how to do it please?
amakasuvi said:
can give me some links with how to do it please?
Click to expand...
Click to collapse
Here is one I've found:
http://forum.xda-developers.com/showthread.php
Here's another:
http://forum.xda-developers.com/showthread.php
TWRP Recovery Image is here:
https://twrp.me/devices/sonyxperiat.html
Give the first two links a look. You will be able to get it done. Take your time. If there is something you don't understand, go back and read, watch a video and ask questions. If this is your only device you don't want to make a mistake that you can't recover from. Before I ever got into rooting Android, custom recoveries or ADB and fastboot I did nothing but read thread after thread and research other developers work and other users experiences. Then, I went and bought a backup device just in case I made a mistake. Let me know if you need anything.
and now a word from our sponsors....
fast69mopar said:
Here is one I've found:
http://forum.xda-developers.com/showthread.php
Here's another:
http://forum.xda-developers.com/showthread.php
TWRP Recovery Image is here:
https://twrp.me/devices/sonyxperiat.html
Give the first two links a look. You will be able to get it done. Take your time. If there is something you don't understand, go back and read, watch a video and ask questions. If this is your only device you don't want to make a mistake that you can't recover from. Before I ever got into rooting Android, custom recoveries or ADB and fastboot I did nothing but read thread after thread and research other developers work and other users experiences. Then, I went and bought a backup device just in case I made a mistake. Let me know if you need anything.
and now a word from our sponsors....
Click to expand...
Click to collapse
they dont work :/ can you paste new ones pls.
also, need a little help with sdk, might be a bit stupid but i dont know what version should i download...
1. installer_r24.4.1-windows.exe 144mb or,
2. android-sdk_r24.4.1-windows.zip
No installer 190 mb
both are on android website, is there any difference?
amakasuvi said:
they dont work :/ can you paste new ones pls.
also, need a little help with sdk, might be a bit stupid but i dont know what version should i download...
1. installer_r24.4.1-windows.exe 144mb or,
2. android-sdk_r24.4.1-windows.zip
No installer 190 mb
both are on android website, is there any difference?
Click to expand...
Click to collapse
Here are the updated links:
http://forum.xda-developers.com/showthread.php?t=2798411
http://forum.xda-developers.com/showthread.php?t=2657190
https://twrp.me/devices/sonyxperiat.html
Download the "installer_r24.4.1-windows.exe"
and now a word from our sponsors....
fast69mopar said:
Here are the updated links:
http://forum.xda-developers.com/showthread.php?t=2798411
Click to expand...
Click to collapse
I have followed this link and I have successfully booted into this recowery and have many options to choose.
Question: What do I choose (any need to backups, wipes etc?) to install the rom and gapps i have downloaded before?
amakasuvi said:
I have followed this link and I have successfully booted into this recowery and have many options to choose.
Question: What do I choose (any need to backups, wipes etc?) to install the rom and gapps i have downloaded before?
Click to expand...
Click to collapse
Quick question. Which recovery did you install? Philz or TWRP?
Good job on getting into recovery. First, I would take a backup. That way if anything goes wrong you can boot into recovery and restore your backup and have a working device again. After your backup, when you install a ROM+GAPPS you will need to perform a full wipe. This includes:
Dalvik Cache
System
Data
Cache
Do not select your internal storage unless you have your ROM + GAPPS saved on a micro SD Card or USB OTG drive. If you have your ROM+ GAPPS saved to your internal storage and you wipe it you will not have an OS to install. Just be careful when selecting partitions to wipe. Let me know if you need any help.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Quick question. Which recovery did you install? Philz or TWRP?
Good job on getting into recovery. First, I would take a backup. That way if anything goes wrong you can boot into recovery and restore your backup and have a working device again. After your backup, when you install a ROM+GAPPS you will need to perform a full wipe. This includes:
Dalvik Cache
System
Data
Cache
Do not select your internal storage unless you have your ROM + GAPPS saved on a micro SD Card or USB OTG drive. If you have your ROM+ GAPPS saved to your internal storage and you wipe it you will not have an OS to install. Just be careful when selecting partitions to wipe. Let me know if you need any help.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Hi and thanks for fast reply again,
I have successfully installed Cyanogenmode which Im grateful!
But I Have a problem, I have installed gapps but when i go into phone i can only see Cyanogenmode apps and none from google! I'm running gapps installation again, maybe it will help.
After everything is okay I can wipe whole system with internal storage right? I think it switched to TWRP after I have booted into cyanogenmode successfully.
amakasuvi said:
Hi and thanks for fast reply again,
I have successfully installed Cyanogenmode which Im grateful!
But I Have a problem, I have installed gapps but when i go into phone i can only see Cyanogenmode apps and none from google! I'm running gapps installation again, maybe it will help.
After everything is okay I can wipe whole system with internal storage right? I think it switched to TWRP after I have booted into cyanogenmode successfully.
Click to expand...
Click to collapse
I would dirty flash the ROM + GAPPS again without wiping anything and then boot normally and see if you have your Google Apps. Also, don't wipe your system unless you have another ROM ready to install. Also, don't wipe your internal storage and your system at the same time unless you have a ROM saved on a micro SD Card or USB OTG drive. The only time you should wipe the internal storage is when you are doing a completely clean installation and you want your device to be in a fully stock new state.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
I would dirty flash the ROM + GAPPS again without wiping anything and then boot normally and see if you have your Google Apps. Also, don't wipe your system unless you have another ROM ready to install. Also, don't wipe your internal storage and your system at the same time unless you have a ROM saved on a micro SD Card or USB OTG drive. The only time you should wipe the internal storage is when you are doing a completely clean installation and you want your device to be in a fully stock new state.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
1. I have installed CM 12 after i wiped everything except internal storage.
2. I powered on the device and I had only one msg that 'Settings' stopped which i just press okay and everything is working.
3. then I tried installing many different versions like aroma, full, mini but every time after successful installation whenever i power on my phone i get all those pop up messages and I cant get rid of them and do anything...
Dont know what to do anymore
amakasuvi said:
1. I have installed CM 12 after i wiped everything except internal storage.
2. I powered on the device and I had only one msg that 'Settings' stopped which i just press okay and everything is working.
3. then I tried installing many different versions like aroma, full, mini but every time after successful installation whenever i power on my phone i get all those pop up messages and I cant get rid of them and do anything...
Dont know what to do anymore
Click to expand...
Click to collapse
If you are having a lot of apps force closing I suggest finding a different ROM to install. Maybe a stock style ROM that has Gapps built in. Try several ROM's. You may find one you like better.
Sent from my Nexus 6 using XDA-Developers mobile app

Pixel 2 wouldn't boot

EDIT:
I managed to get back to stock pushing it through with fastboot!
Crisis well and truly averted.
Hi,
So I updated to the latest version of Viper4Android through Magisk Manager, and a few seconds after completion my device powered off and on again, but it couldn't boot.
I went into TWRP recovery to factory reset, this did not help. Me being an idiot I have no backups, and no roms on my system storage so I can't flash the stock firmware, and when I attempt to sideload with ADB, TWRP simply hangs on starting ADB side-load feature.
As it is, I'm thinking of updating to the latest version of TWRP available to see if this would fix the ADB sideload error, but don't want to take these steps until I get some advice from the forum.
Cheers, any help is appreciated.
Download the firmware, download TWRP, download Magisk (zip and Manager app). Start from scratch. (You can remove the -w from the fastboot line in the .bat or .sh file to keep your data.)
When it boots, set it up again - email, your apps, etc. Then make a TWRP backup and copy it to your PC. Make it a habit, if you make major changes, to do a TWRP backup and copy it to your PC. (Whatever problems I've ever had, and I've created many, I always had at least one backup I could fall back on. Maybe I had to flash twice because I did something stupid the first time, but I always ended up with the backup back on the phone. And this goes back to the beginning of TWRP. No more starting with an empty installation of the firmware - with TWRP there's no excuse.)

Can't reboot to Recovery after upgrade to Android 10

Hello everyone,
As I mentioned in the title, since I upgraded to Android 10, can't boot to recovery.
Dowloaded latest version of the Adb kit, and while issuing
adb reboot recovery
the phone reboots but goes to normal boot.
Tried manually (power + vol down etc.) and when choosing Recovery - same thing happens.
Needless to say that my laptop is authorized debug device and phone is in debug mode etc. - I have done this many times before Android 10 update.
All I try to do is to sideload the latest OTA as I did many times before because my phone is rooted and the updates do not install automatically.
Pixel (First generation)
Rooted with Magisk
Bootloader unlocked
Stock recovery (using TWRP without installing it when flashing Magisk)
Hope somebody can advise. Obviously there is something new in Android 10 which has to be set (like the need for debugging authorization for example, which I already did).
Thank you
John
Im getting a similar problem. I get stuck on th Google logo screen. I cant hard-reset, recovery mode or boot, the only things that works is th barcode.
Android 10 changed something in the ramdisk that you can't install TWRP directly on the phone. You have to boot it via PC using "fastboot boot <insert twrp image name>.img"
You can try installing twrp to ramdisk. Put twrp 3.3.1-0.img in your devices storage and then fastboot twrp 3.3.0-0 (disable pin etc first) then once it's booted go to advanced and select install to ramdisk and select the 3.3.1-0.img and it should install it. You may get a not enough storage error on 10/Q (I did) bit worth a punt. Make a back up first as usual, if no good flash a fresh factory.img and see if that cures it and then restore your apps/data etcfrom your Google back up (if you use it)
Good luck
junglism93 said:
You can try installing twrp to ramdisk. Put twrp 3.3.1-0.img in your devices storage and then fastboot twrp 3.3.0-0 (disable pin etc first) then once it's booted go to advanced and select install to ramdisk and select the 3.3.1-0.img and it should install it. You may get a not enough storage error on 10/Q (I did) bit worth a punt. Make a back up first as usual, if no good flash a fresh factory.img and see if that cures it and then restore your apps/data etcfrom your Google back up (if you use it)
Good luck
Click to expand...
Click to collapse
Thank you for the advice, however as I mentioned in my original post I don't want to install TWRP permanently , and the problem is that I cannot go to the stock recovery mode which has no connection to TWRP. There is something with Android 10 which changed since 9 and I'm interested to find what. Everything worked fine before the upgrade.
Also, the option to flash factory image and restore (I also have Titanium in addition to Google backup) is a too much of a hassle. I use this phone for real, not only to play with it.
Anyway, again thank you for your input.
John
Sorry mate, re read your OP. I just tried booting into the aosp recovery and got the same issue! My guess is its magisk as I could boot into the aosp recovery prior to installing it. Re flash or restore the previous boot.img or a stock boot.img and it should boot into aosp recovery again. Magisk must be installing to or patching the aosp recovery ramdisk and stopping it booting. Other than that just fastboot twrp and use that.
Edit: it's magisk, restored original images and it booted into aosp recovery first try.
I've had no problems installing TWRP 3.3.0.0 normally after using an *.img file to get TWRP started. EDIT: and booting into it.
junglism93 said:
Sorry mate, re read your OP. I just tried booting into the aosp recovery and got the same issue! My guess is its magisk as I could boot into the aosp recovery prior to installing it. Re flash or restore the previous boot.img or a stock boot.img and it should boot into aosp recovery again. Magisk must be installing to or patching the aosp recovery ramdisk and stopping it booting. Other than that just fastboot twrp and use that.
Edit: it's magisk, restored original images and it booted into aosp recovery first try.
Click to expand...
Click to collapse
You are right. I did open Magisk and from the uninstall options choosed "Restore images" (no need to do complete uninstall, which is the other option). After that I was able to boot in recovery etc. I guess this is what you meant in your PS. At the end re-flashed Magisk and all is back to normal.
I will alert the Magisk team about the issue (if they are not already aware).
Case closed.
Thanks again.
John
Master Cylinder said:
I've had no problems installing TWRP 3.3.0.0 normally after using an *.img file to get TWRP started. EDIT: and booting into it.
Click to expand...
Click to collapse
Please read my OP. I was clear that I DON'T want to install TWRP permanently and this was never the problem.
The problem is solved (kind of). See the other posts.
Thank you.
John
I thought TWRP wasn't compatible with Android 10 yet? I am seeing mixed things
aholeinthewor1d said:
I thought TWRP wasn't compatible with Android 10 yet? I am seeing mixed things
Click to expand...
Click to collapse
It works just fine.
Mzprx said:
It works just fine.
Click to expand...
Click to collapse
Are there steps for how to install somewhere? I keep reading that it's not working on the Pixel with Android 10. Thanks
aholeinthewor1d said:
Are there steps for how to install somewhere? I keep reading that it's not working on the Pixel with Android 10. Thanks
Click to expand...
Click to collapse
It is a mess. It works with Pixel (I have this one and can confirm) and supposedly Pixel 2. It won't work for brand new phones arriving with factory installed Android 10.
Read the following:
https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html#
After that, if you want to try, go to the page below to find instructions for your device. Note that the list is by manufacturer, so if you are looking for Pixel, it is under Google.
https://twrp.me/Devices/
Just in case - backup and have the factory image for your phone handy in case something goes wrong. For google phones you can download the image and see instructions here:
https://developers.google.com/android/images
Note that I never installed TWRP permanently, so I can't say if the permanent installation will work (I think it should, but not sure). Typically I just load TWRP and use it to flash pakages, but at the end I'm keeping the stock recovery.
Hope this helps. Good luck.
John
Mzprx said:
It is a mess. It works with Pixel (I have this one and can confirm) and supposedly Pixel 2. It won't work for brand new phones arriving with factory installed Android 10.
Read the following:
https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html#
After that, if you want to try, go to the page below to find instructions for your device. Note that the list is by manufacturer, so if you are looking for Pixel, it is under Google.
https://twrp.me/Devices/
Just in case - backup and have the factory image for your phone handy in case something goes wrong. For google phones you can download the image and see instructions here:
https://developers.google.com/android/images
Note that I never installed TWRP permanently, so I can't say if the permanent installation will work (I think it should, but not sure). Typically I just load TWRP and use it to flash pakages, but at the end I'm keeping the stock recovery.
Hope this helps. Good luck.
John
Click to expand...
Click to collapse
Thanks. Yea from what I can tell no one has had luck actually installing it on the Pixel with Android 10 yet. I'm familiar with how to fix everything if something goes wrong. I would try but others have already tried and failed. It won't install for them.
firstly, dont use whatever ****ty platform-tools you are using, get them from here.
secondly, you dont install recovery on android 10 yet, it doenst work. you have to just boot to twrp using `fastboot boot twrp.img` once you are in bootloader mode.

Categories

Resources