[CLOSED] Unroot after erasing all data (factory reset) - LG G7 ThinQ Questions & Answers

{Mod edit: Thread closed on request of OP}
UPDATE: I found some threads on this website that helped resolve my concern. Moderators, feel free to delete this post.
***
In the Verizon store, I was hoping to reset my rooted G710ULM phone by choosing Settings > Reset Options > Erase all data (factory reset). I am now booting to TWRP, and I don't know how to get back to factory software. According to https://www.xda-developers.com/how-to-unroot-android-phone/ I need to uninstall Magisk:
"In case you can’t boot to Android, but have access to a custom recovery like TWRP, you can still uninstall Magisk. To do so, rename the Magisk APK to uninstall.zip, boot to recovery mode, and flash it like any other ordinary flashable zip."
I can see a File Manager in Advanced, but how do I find this APK? I'm a web developer, not a phone hacker (had someone root my phone for me), so I'd prefer to just hire someone to do it right. Feel free to message me. Thanks!

Related

Backup + CyanogenMod

Hello,
I have thought about it and I want to try install CyanogenMod 12 on my LG G3 device, its an D855.
I wanted to ask how do I do that in the safest way, how do I backup everything and how do I install it from good place and if I want to go back to my stock ROM how do I do that.
I want to backup everything, pictures, music, music playlists, contacts, calendar, everything! The most of the are in my SD card, but I don't know actually how do I save playlists for example.
Furthermore, should I get CM 12? What do you think about it? why yes or why not?
Thank you!!
BrandonSIII said:
Hello,
I have thought about it and I want to try install CyanogenMod 12 on my LG G3 device, its an D855.
I wanted to ask how do I do that in the safest way, how do I backup everything and how do I install it from good place and if I want to go back to my stock ROM how do I do that.
I want to backup everything, pictures, music, music playlists, contacts, calendar, everything! The most of the are in my SD card, but I don't know actually how do I save playlists for example.
Furthermore, should I get CM 12? What do you think about it? why yes or why not?
Thank you!!
Click to expand...
Click to collapse
This type of question belongs in Q&A section.
First you want to start with rooting your device. To root it you could use:
http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
or find some other root method. Look for them here on xda LG G3 forum, or simply google it.
After rooting your device you want to flash TWRP recovery. To do that follow the instructions in this thread: http://forum.xda-developers.com/lg-g3/orig-development/recovery-twrp-touch-recovery-2-8-2-0-t2966129
After flashing TWRP either by adb or flashify, enter your recovery by powering off your phone and holding both power button and volume down button till you see LG logo, releasing them for 1 sec, then holding both of them again till you are offered to do a factory restart. Click yes if you did successfully flash your TWRP recovery. Your device wont be factory restarted, you will enter TWRP. You could also enter TWRP by using adb by typing: adb reboot recovery
After entering TWRP go to backup and do full backup of your storage(boot, system, data, modem, efs).
After finishing that go get your desired ROM. Pick one from here:
http://forum.xda-developers.com/lg-g3/development
Tastes are different, but I can reccomend you Blisspop, Resurrection ROM, etc.
It would be best if you try for yourself.
After downloading your zips, go back to TWRP and do a clean wipe. Wipe your system, data, cache and dalvik cache partitions.
Following that go back to TWRP home and install your ROM by pressing Install, then picking the zip with desired ROM and sliding up slider to flash. You will also want to flash Gapps. You get those from the same thread you found your ROM.
As for your music, photos, they wont be deleted as long as you only wipe your system, data, cache or dalvik cache.
For playlist, they will also stay, but I'm not sure you will be able to use them on new music player you get on your new ROM.
And finally callendar, contats can be backed up by synchronising them with your Google account.
NatusVincere said:
This type of question belongs in Q&A section.
First you want to start with rooting your device. To root it you could use:
http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
or find some other root method. Look for them here on xda LG G3 forum, or simply google it.
After rooting your device you want to flash TWRP recovery. To do that follow the instructions in this thread: http://forum.xda-developers.com/lg-g3/orig-development/recovery-twrp-touch-recovery-2-8-2-0-t2966129
After flashing TWRP either by adb or flashify, enter your recovery by powering off your phone and holding both power button and volume down button till you see LG logo, releasing them for 1 sec, then holding both of them again till you are offered to do a factory restart. Click yes if you did successfully flash your TWRP recovery. Your device wont be factory restarted, you will enter TWRP. You could also enter TWRP by using adb by typing: adb reboot recovery
After entering TWRP go to backup and do full backup of your storage(boot, system, data, modem, efs).
After finishing that go get your desired ROM. Pick one from here:
http://forum.xda-developers.com/lg-g3/development
Tastes are different, but I can reccomend you Blisspop, Resurrection ROM, etc.
It would be best if you try for yourself.
After downloading your zips, go back to TWRP and do a clean wipe. Wipe your system, data, cache and dalvik cache partitions.
Following that go back to TWRP home and install your ROM by pressing Install, then picking the zip with desired ROM and sliding up slider to flash. You will also want to flash Gapps. You get those from the same thread you found your ROM.
As for your music, photos, they wont be deleted as long as you only wipe your system, data, cache or dalvik cache.
For playlist, they will also stay, but I'm not sure you will be able to use them on new music player you get on your new ROM.
And finally callendar, contats can be backed up by synchronising them with your Google account.
Click to expand...
Click to collapse
Sorry about messing with the forums.
Thank you for your help, but I can't understand some things and I would like if you could explain me some of them.
What is the correct order of the things I should do to get CyanogenMod 12? Root first, next what? and after that?..
Someone gave me this guide, this is fine guide?
What do I wipe, how do I install the new ROM, where do I download the ROM? to my computer, to my phone, where do I save the zip files and how do I open them after in the installation? and do I know that the files are good?
This will wipe all my device and look like the day I bought him? with nothing in it? or it should keep my things?
And how do I get Play Store and Google applications after? and I still can use the Play Store right? with buying stuff from it?
And Im using PowerAMP for my music, so I should download it after installing the ROM and I think that the playlists will be there.
Thank you for helping!!!
BrandonSIII said:
Sorry about messing with the forums.
Thank you for your help, but I can't understand some things and I would like if you could explain me some of them.
What is the correct order of the things I should do to get CyanogenMod 12? Root first, next what? and after that?..
Someone gave me this guide, this is fine guide?
What do I wipe, how do I install the new ROM, where do I download the ROM? to my computer, to my phone, where do I save the zip files and how do I open them after in the installation? and do I know that the files are good?
This will wipe all my device and look like the day I bought him? with nothing in it? or it should keep my things?
And how do I get Play Store and Google applications after? and I still can use the Play Store right? with buying stuff from it?
And Im using PowerAMP for my music, so I should download it after installing the ROM and I think that the playlists will be there.
Thank you for helping!!!
Click to expand...
Click to collapse
You do in in the order I wrote.
Ok, step by step:
1.
Root device, use: http://forum.xda-developers.com/lg-g3/development/tool-dp-root-tool-to-root-lg-devices-t3075007
This is the direct link to the tool: https://www.androidfilehost.com/?fid=95916177934552571
Download it to your PC, of course install LG drivers to your PC before.
Enable USB debugging in Developer options on your device. To enable developer options go to about device, and click 7 times on build version. Connect your device to PC, run the tool mentioned above.
2.
Flash TWRP by using: http://forum.xda-developers.com/lg-g3/general/apk-flash-twrp-autorec-thanks-to-t3081396
Direct link to the app: https://play.google.com/store/apps/details?id=b007.autorecd855
Download the app, install it, run it.
3.
Get your desired ROM.
You said its Cyanogenmod. Get it from that guide you found: http://lgg3root.com/t-mobile-g3-roms/android-5-1-1-root-for-lg-g3-cm12-1-rom/
Direct Link:
http://downloadandroidrom.com/file/LGG3/D855roms/CM12.1/cm-12.1-20150422-UNOFFICIAL-d855.zip
Download the ROM on your external or internal SD card.
To verify if ROM is valid use md5 checker, you have it built in in ES File Explorer (which you can download from Google Play) or find some other md5 check tool.
You have md5 value in the link I gave you above.
Also get your gapps from this thread.
Direct link: http://downloadandroidrom.com/file/gapps/5.1/gapps-L-4-21-15.zip
Save them on your internal or extrernal SD card.
4.
Flash the ROM and do a backup beforehand.
For this you need to enter the recovery we flashed in step 2.
You could do it in few ways. First one is to power off the device, then power it on by holding both power button and volume down button togeather, realeasing them for a second when you see LG logo, then holding them down togeather again till you are offered a choice to do a factory restart, click yes if you did successfully install your TWRP in step 2. Your device wont be wiped, you will enter the recovery.
Second way to enter your recovery is to use adb, enter adb, and write these:
su
adb reboot recovery
or use terminal emulator (dowload it from Google Play) and write:
su
reboot recovery
Thrid way would be to download some app from Google Play which will automaticlly reboot you to your recovery.
After you enter your recovery you will go to backup and do a backup of these: boot, system, data, efs, modem.
Following that you will fully wipe your device by doing this: go to TWRP home, click to wipe, advanced wipe, check these: system, data, cache, dalvik cache.
Finally you will go back to TWRP home, go to install, find your zip (Cyanogenmode, which you downloaded before) and slide to install it. Find your Gapps zip and install these as well. Gapps stand for Google Apps so you will be able to use Google Play and other Google Services.
You Finish with this. Reboot your device, wait for dalvik cache to build, have fun.
Your music, playlists will still stay on your internal SD card, they wont be deleted. You will also have a nandroid backup in case something goes badly. If that does happen, go enter TWRP again and restore it.

Factory Resetting doesn't work somehow after rooting with Magisk...

Dear Community,
My objective is to install Cerberus (an anti theft app) as a system app.
What I did and worked fine:
*Flash TWRP (latest version)
*Root using Magisk (latest version)
*Install Magisk Manager + Systemizer module
*Use Systemizer to install Cerberus apk in /System-priv apps folder
Now I wanted to test a Factory Reset (as a thief would do obviously):
Settings -> Backup & Reset -> Factory Data Reset
When I do that the phone reboots and TWRP opens and runs some OpenRecoveryScript
Then the phone restarts and nothing seems to have changed? All user installed apps are still there etc.
I'm running the latest available update for the Oneplus 5T.
Anyone has an idea why my phone behaves like this?
And any suggestion on how to make cerberus survive factory resets?
I just installed TWRP to make cerberus a system app, I plan on using custom recovery once everything is in place (cerberus as an unwipable system app)
Greetings,
Down...
Downloading123 said:
Dear Community,
My objective is to install Cerberus (an anti theft app) as a system app.
What I did and worked fine:
*Flash TWRP (latest version)
*Root using Magisk (latest version)
*Install Magisk Manager + Systemizer module
*Use Systemizer to install Cerberus apk in /System-priv apps folder
Now I wanted to test a Factory Reset (as a thief would do obviously):
Settings -> Backup & Reset -> Factory Data Reset
When I do that the phone reboots and TWRP opens and runs some OpenRecoveryScript
Then the phone restarts and nothing seems to have changed? All user installed apps are still there etc.
I'm running the latest available update for the Oneplus 5T.
Anyone has an idea why my phone behaves like this?
And any suggestion on how to make cerberus survive factory resets?
I just installed TWRP to make cerberus a system app, I plan on using custom recovery once everything is in place (cerberus as an unwipable system app)
Greetings,
Down...
Click to expand...
Click to collapse
You already have a custom recovery installed
Dazed No More said:
You already have a custom recovery installed
Click to expand...
Click to collapse
So if I reflash stock recovery I will be able to factory reset from the phone settings menu?
And Cerberus will be kept since it's a system app right?
Factory reset clears up the data partition and it needs the default recovery in order to work. You can flash it back if you don't need the TWRP anymore but if your phone is encrypted the thief would have a hard time getting into the TWRP without a password.
Squabl said:
You can flash it back if you don't need the TWRP anymore but if your phone is encrypted the thief would have a hard time getting into the TWRP without a password.
Click to expand...
Click to collapse
This is not correct, or needs clarification. TWRP, is NOT password protected. When you are encrypted it needs a password to decrypt the data, not a password to enter TWRP. You are free to enter TWRP by hitting cancel at the password screen. From that point the "thief" could wipe the phone and your data. He could not access your data though. If your phone was not encrypted, he could easily remove your pin codes, password, and finger prints, etc, and then boot your phone and use it. This is why encryption is important.
TWRP has stated they will never have password protection as there is no point it's easy to just flash a new recovery. As a thief would do even if you flash a stock recovery.
You can protect your data, but a thief that knows what they are doing is going to wipe the device pretty easily.
OhioYJ said:
This is not correct, or needs clarification. TWRP, is NOT password protected. When you are encrypted it needs a password to decrypt the data, not a password to enter TWRP. You are free to enter TWRP by hitting cancel at the password screen. From that point the "thief" could wipe the phone and your data. He could not access your data though. If your phone was not encrypted, he could easily remove your pin codes, password, and finger prints, etc, and then boot your phone and use it. This is why encryption is important.
TWRP has stated they will never have password protection as there is no point it's easy to just flash a new recovery. As a thief would do even if you flash a stock recovery.
You can protect your data, but a thief that knows what they are doing is going to wipe the device pretty easily.
Click to expand...
Click to collapse
Thanks for the reply because I learned a few thinks, now I know that factory reset doesn't work with a custom recovery!
But will a Factory Reset with Stock Recovery work normally? Will it keep my Cerberus app in System-priv folder?
Because I don't care about my data, I would just want to recover my phone .
An unknowing thief would simply reset the phone without checking if cerberus is present as a system app. That's why my question!
EDIT:
I uninstalled Magisk and restored stock recover. I rebooted and Cerberus was still on the phone (as a System App)
After that I did a Factory Reset (from phone settings) and after the reset Cerberus was gone...
So I suppose Android Oreo (Or OxygenOS) factory reset also resets the system apps?
If that's the case, how would I have an app survive factory reset?
(I remember on previous versions I could keep cerberus even after a factory reset)
By default Cerberus could not, it would not be in the play store if it would survive a factory reset. Things like that essentially get flagged "malware" in googles eyes whether it be for "good" reasons or not. Second for it to be able to do this, it would need to have root privileges which most users would not have. Second what you are after is going to stop dumb thieves, anyone who really flashes the thing, is going to wipe out what ever you have done anyways. Granted I guess most people aren't going to go grab a factory image, or the unbrick tool and reflash it, but perhaps I'm wrong, I'm not a phone thief, so I don't know what goes on in that world.
I take it you are moving it to a system folder using a root browser? I honestly don't know how to accomplish what you are trying to do.
OhioYJ said:
By default Cerberus could not, it would not be in the play store if it would survive a factory reset. Things like that essentially get flagged "malware" in googles eyes whether it be for "good" reasons or not. Second for it to be able to do this, it would need to have root privileges which most users would not have. Second what you are after is going to stop dumb thieves, anyone who really flashes the thing, is going to wipe out what ever you have done anyways. Granted I guess most people aren't going to go grab a factory image, or the unbrick tool and reflash it, but perhaps I'm wrong, I'm not a phone thief, so I don't know what goes on in that world.
I take it you are moving it to a system folder using a root browser? I honestly don't know how to accomplish what you are trying to do.
Click to expand...
Click to collapse
Well, it has been possible because I have done it in the past, I am wondering if it is possible to do it know.
I had Cerberus installed on the Galaxy S5 of my brother (as a system app). His phone got stolen, 3 months later it shows up again.
Phone had been reset but Cerberus was still working. So I went to the police and we recovered the phone (It was like a real police thriller ).
OhioYJ said:
I take it you are moving it to a system folder using a root browser? I honestly don't know how to accomplish what you are trying to do.
Click to expand...
Click to collapse
The way I tried (as stated in OP):
I moved Cerberus to a system folder using 'Systemizer' module from Magisk.
I tried browsing the source of the factory reset code here:
https://android.googlesource.com/platform/bootable/recovery/+/android-8.0.0_r36/recovery.cpp
I can see nothing that points to the /System partition getting reset aswell.
* FACTORY RESET
* 1. user selects "factory reset"
* 2. main system writes "--wipe_data" to /cache/recovery/command
* 3. main system reboots into recovery
* 4. get_args() writes BCB with "boot-recovery" and "--wipe_data"
* -- after this, rebooting will restart the erase --
* 5. erase_volume() reformats /data
* 6. erase_volume() reformats /cache
* 7. finish_recovery() erases BCB
* -- after this, rebooting will restart the main system --
* 8. main() calls reboot() to boot main system
Maybe it's a modification brought in OxygenOS?
This topic is getting interesting
Downloading123 said:
*Install Magisk Manager + Systemizer module
*Use Systemizer to install Cerberus apk in /System-priv apps folder
Click to expand...
Click to collapse
So out of curiosity I tried this on my phone with a different method, and different app. As an experiment, I just used a terminal emulator, and moved the entire folder to the system/app location using a root browser. Then factory reset my phone with TWRP, wiped cache, and dalvik, booted back up, didn't login to anything, and the terminal emulator was still there.
OhioYJ said:
So out of curiosity I tried this on my phone with a different method, and different app. As an experiment, I just used a terminal emulator, and moved the entire folder to the system/app location using a root browser. Then factory reset my phone with TWRP, wiped cache, and dalvik, booted back up, didn't login to anything, and the terminal emulator was still there.
Click to expand...
Click to collapse
Yes, that is what I had too... (read previous posts).
But this will NOT work if you put that app in system while rooted, uninstall magisk(aka unroot) and then put back STOCK RECOVERY (else factory reset won't work from phone settings).
If you reset TWRP then only data and cache are wiped, but if you use STOCK RECOVERY and reset from phone settings, app will be gone.

Mi Max 3 6/128 SoftBrick - What to Do?

Hello,
I have a Mi Max 3 6GB/128GB which I got from the UK which arrived unlocked and with Global Stable ROM installed which actually updated to V10.3.3.0.PEDMIXM by OTA - I tested.
fastboot getvar anti shows failed, so I assume no Anti Rollback Protection, which I thought a little strange, it being MIUI 10 with (after OTA) June 2019 security patch.
I spent the last couple weeks setting up the phone to my liking (I have 300 apps installed) and finally finished yesterday.
Then I wanted to uninstall some Google/Facebook/Xiaomi bloatware using the excellent "Xiaomi ADB/Fastboot Tools".
I was pretty careful in my opinion to only remove the safe ones (the tool claims to only show you the safe ones) like Music, Video, MiPay, MiCloud, MiForum, MiSIM and all Facebook in the ADB section of the tool.
The I switched in fastboot and thought it would be a good idea to wipe Cache (nothing else).
Upon restart the Mi Max 3 first shows the black boot screen with unlock written at the bottom, then changes to the normal boot boot screen with MIU and the points at the bottom showing that it is busy booting. It stayed there for a while and I thought maybe it was rebuilding the cache and it took that long, but after 30 min still no luck.
Then I fired up the "Xiaomi ADB/Fastboot Tools" on my PC again and it told me the phone was in ADB mode, I could reboot into system mode, where the same thing happened - no progress in booting.
I cannot turn off my phone either, but I can switch from sastem boot (which gets stuck) into fastboot mode via ADB.
Would someone know what's wrong and what I can do to get my phone out of that bootloop while hopefully maintaining all my data and setups, on which I worked for weeks?
Thank you so much for your help!
P.S .: In case it could help: I could read out the phone properties of the Mi Max using the "Xiaomi ADB / Fastboot Tools" while it was softbricked, meaning the ro. init. persist. sys. and dalvik. values of the smartphone. I am happy to post them here, if requested.
Hi,
Do you have an SD card? If so, remove it, because as you cleared the cache, I think it might be a problem with encryption (lost reference).
In your case, I believe a reset will work again, but you will lose application configuration data. Via ADB you can backup files only.
If you do not have unlock bootloader, be very careful as you will not be able to flash TWRP or others.
Good luck!
Thanks, the phone came from the vendor with Global Stable ROM and unlocked. It may be an unofficial unlock, though I was able to install OTAs.
I don't have SDCard.
How can I do ADB backup?
I was able to flash official TWRP just a few minutes but it couldn't access data, maybe because it is encrypted. Now I think I will try and install latest Orange Fox r10 stable, which I think should be able to handle decryption, so that maybe I will be able to get at my date.
Any other advice?
Hi,
Now that you have TWRP, clear cache / dalvik from TWRP and try starting again, maybe start system.
About copy via adb follows a link below:
https://www.lifewire.com/use-minimal-adb-and-fastboot-4582201
in step 2
"
The command to move files from your computer to your phone is adb push.
To move files from your phone to your computer the command is adb pull.
"
Through TWRP you may also be able to back up. Go to (mount partitions) and select all partitions.
Make sure the TWRP MTP option is on, it will allow the device to be mounted via usb on your computer.
I use TWRP I use nijel8, it works very well.
https://forum.xda-developers.com/mi-max-3/development/recovery-twrp-3-2-3-1-nitrogen-t3866084
If you can't launch system, you will have to reinstall the Rom.
Good luck!
PS.
More help for adb.
https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
Thanks for your advice!
I first used the official TWRP and I was able to flash it and start it.
But then the wipe of cache and dalvik failed.
And I could not mount data etc..
When I tried to repair the file system with TWRP I got error 255 - unable to repair data from fsck.f2fs.
Then I saw in your signature that you use nijel8's TWRP and I read that thread, and I started to understand, that my TWRP errors most likely originate from TWRP not being able to decrypt my partitions.
However, towards the end of the thread it seemed that nijel8 stopped working on that project and then Xiaomi once again changed the encryption in MIUI 10/Pie and so it was recommended first to use an obscure Chinese TWRP and then to move on to Orange Fox Recovery Project, which supposedly can handle the decryption better. So that's what I got and I am just about to install it and see if I can rescue or even repair anything.
If you have any other tips for me, I would be very grateful.
You have explored the possibilities well, at the moment I dont have more options regarding current system recovery / backup.
The encryption error resolves you by formatting the user partition by TWRP, in the option to format f2fs plus the installation of a custom Rom or Xiaomi.eu.
Look for tutorials and other reviews before testing these procedures.
Remember that there is a big achance of your ARB model as well.
Good luck.
PS. You can try dirty flash. Find an recovery Rom same version, and flash via TWRP.

Lenovo P2 (P2a42) stuck mostly on blue logo screen

Hello --
I found this very nice looking phone thrown away in a bin and I guess this problem was the reason.
It would be great to get it going maybe even worth paying to get it running.
But I would appreciate any suggestions on how to do it myself.
I am not familiar with a lot of the in-depth hacks people do with phones. Words like "flash" and "ROM" are foreign to me.
But I like to try to fix things.
I have tried a few simple actions to get the phone going but it still does only three main things:
1. Shows the "Lenovo powered by Android" screen of course.
2. Volume down + Power: shows Fastboot screen with just three options: Start, Barcodes, Power off
3. Occasionally, some buttons I push get to Teamwin Recovery Project. But I do not exactly know how it happens and it is hard to repeat. It seems to come up after trying everything and then putting the phone down.
From TWRP I have selected these options:
-- Factory reset
-- Restore (I think) -- I selected just a single item displayed available for restore
-- Wiped Delvik cache and format cache
-- Reboot
I also downloaded ADB and installed it. Instructions I read said to run an .exe file but all I could find was .bat so I clicked on it and saw the RUN screen open briefly then close.
Thank you.
NickSergeant said:
Hello --
I found this very nice looking phone thrown away in a bin and I guess this problem was the reason.
It would be great to get it going maybe even worth paying to get it running.
But I would appreciate any suggestions on how to do it myself.
I am not familiar with a lot of the in-depth hacks people do with phones. Words like "flash" and "ROM" are foreign to me.
But I like to try to fix things.
I have tried a few simple actions to get the phone going but it still does only three main things:
1. Shows the "Lenovo powered by Android" screen of course.
2. Volume down + Power: shows Fastboot screen with just three options: Start, Barcodes, Power off
3. Occasionally, some buttons I push get to Teamwin Recovery Project. But I do not exactly know how it happens and it is hard to repeat. It seems to come up after trying everything and then putting the phone down.
From TWRP I have selected these options:
-- Factory reset
-- Restore (I think) -- I selected just a single item displayed available for restore
-- Wiped Delvik cache and format cache
-- Reboot
I also downloaded ADB and installed it. Instructions I read said to run an .exe file but all I could find was .bat so I clicked on it and saw the RUN screen open briefly then close.
Thank you.
Click to expand...
Click to collapse
YOU CAN CHECK IN MY SIGNATURE FOR ALL BASIC TERMS USED IN FLASHING.
Look here if you want to return to offical stock Rom
https://forum.xda-developers.com/lenovo-p2/development/fastboot-files-stock-firmware-t3649914/amp/
If you have TWRP installed , you can update TWRP and then flash a custom rom. You can hold both volume up and down and power key to boot into TWRP when phone is switched off.
Remember new custom roms need newer version of TWRP.
What you'll need to do is download a custom rom like say Havoc OS Android 10 (just search it in the forum), you will need to upgrade your TWRP.
Once this is done, you will download Havoc OS Rom and put it in your phone or sd card
You just do a factory reset and then format only system . Don't format other partitions in TWRP.
Install that room and then you will also need to install gapps. (Google open gapps , chose Android 10 version and architect as 64bit and choose nano or pico gapps)
So in your sd card, you must have rom and gapps.
Once you install rom first and then gapps, restart. If it comes with an error, it means your TWRP needs update.
To update you will choose to download TWRP (zip format will install directly while IMG format can be flashed as well by choosing install IMG while you select install in your TWRP.
Restore is only available if you already made a backup with your TWRP .
I will suggest to make a full backup (except system and data ) in TWRP before you do the above.
I will also suggest you to Google if you are not sure. Make sure to follow instructions only from XDA as they are most reliable than other sources.
Watching YouTube videos may help you as well
In short:
Update TWRP
Download Havoc Rom and Gapps pico
Put them in your sd card
Install them in this order rom and then gapps.
Restart.
If you still feel you need help, please quote me for an answer
All the best .
Hnk1 said:
Look here if you want to return to offical stock Rom
https://forum.xda-developers.com/lenovo-p2/development/fastboot-files-stock-firmware-t3649914/amp/
Click to expand...
Click to collapse
Thank you for this advice -- it worked! Finally the phone gets past the logon and is operating.
Now I have a further problem and please let me know if you think this should be a new thread for this.
I cannot sign in to Google because of anti-theft feature -- instead I get this.
“This device was reset. To continue, sign in with a Google Account that was previously synced on this device”
I see a few solutions online but not exactly for Lenovo. What would you recommend?
I'm on the same boat as Nick. Do we have to wait 15 days to unlock the bootloader? Just coz it'll be hard to be 15 days without a phone and everything wiped out. I wanna try Syberia 2.9 as the last LineageOS is not ready yet. Thank you very much.

Question Stuck on "Pixel is starting"

Had to do a factory reset, and all was good. Using LSposed with Magisk and reinstalled several mondules. Upon reboot, the screen hangs at "Pixel is starting." So I rebooted into safe mode, knowing the Magisk modules would be disabled, but the same thing happens, even in safe mode. Booted again. I can access all my settings, and adb works fine. But I'm clueless as to what I should do, even with adb and settings access.
Will appreciate any help. Everything is backed up, I'm just trying to avoid the nuisance of having to factory reset again and all that entails.
Thanks.
You can try Official Google Android Flash Tool and uncheck the wipe data option (and don't force flash all partitions, either, which will also wipe), and don't forget to uncheck the option to re-lock the bootloader.
That official site has solved many weird issues where even manually flashing the full factory image hasn't solved the problem. Good luck, let us know if that's what you do and how it goes.
my old go-to for boot issues was last_kmsg. I recentlky found abou about boot-chart, which logs what happens during boot, and may log an error for you. You will have to run this in recovery if yopu are in a non-booting state
To enable it:
Code:
mkdir -p /data/bootchart;
touch /data/bootchart/enabled;
try a reboot, which fails. Reboot to recovery and retrieve the logs
init/grab-bootchart.sh - platform/system/core - Git at Google
I havent had to use it "in anger" yet, but it will be my tool of choice.

Categories

Resources