doubt about flashing a custom rom - Lenovo P2 Guides, News, & Discussion

guys,i am currently using lineage os 15.1 official..if i have to flash another custom rom , which twrp i have to use..whether the offical twrp or lineage based twrp

dharun005 said:
guys,i am currently using lineage os 15.1 official..if i have to flash another custom rom , which twrp i have to use..whether the offical twrp or lineage based twrp
Click to expand...
Click to collapse
Lineage based is fine, I was on 15.1 official , then switched to Aex with same twrp with no problem whatsoever.

thnks fr ur reply.i installed lineage without changing it to ext4.so my doubt is if i have to change it frm f2f to ext4,can i use lineage based twrp to format data or i have to switch back to original twrp to do the process.

dharun005 said:
thnks fr ur reply.i installed lineage without changing it to ext4.so my doubt is if i have to change it frm f2f to ext4,can i use lineage based twrp to format data or i have to switch back to original twrp to do the process.
Click to expand...
Click to collapse
Lineage based causes issue with formatting data many a times. But in my case if u first change data to ext4 ,then wipe data then all is fine.
But users have also reported bootloops and decryption issues with formatting data with LOS twrp. So for safety, formatting data with official twrp is best but in my case former worked for me.

Hi
I'm currently on crdroid . can i flash los or aex with dirty flash?

mysteres said:
Hi
I'm currently on crdroid . can i flash los or aex with dirty flash?
Click to expand...
Click to collapse
Man, dont dirty flash one rom over other. The pain of clean flash is way less than dirty flash with problems.

dharun005 said:
guys,i am currently using lineage os 15.1 official..if i have to flash another custom rom , which twrp i have to use..whether the offical twrp or lineage based twrp
Click to expand...
Click to collapse
I couldn't get the Lineage OS TWRP to work as it couldn't mount the data partition even though it re-formated it to ext4.
Official TWRP worked first time.
Hope this helps.
Good luck!

Related

OnePlus One Bootloop with CM14 based ROMs

I have wiped the data, cache, dalvik cache and system partition and format them to ext4 (recovery TWRP 3.0.3-2 by TugaPower). After that I have flashed the ROMS and the mini GApps. Then when I tries to boot, and it takes more then 20 minutes to boot (and the OS still doesn't booted).
I tried the unofficial LineageOS, RR 5.8, AICP but I stuck in bootloop in every Nougat ROM. The Marshmallow version of each is working, just the Nougat have bootloop issues.
Only the AOSP Nougat for OnePlus One succeeded to boot...
How can I solve this? Why all the CM14 based ROMs are not booting in my phone?
I'm having the exact same issue. Tried Lineage and Tugapower. Had to revert back to Sultan's CM13.
I tried with nano gapps for cm14.1 & pico gapps for tuga 13.1 works fine.
ppp99 said:
I have wiped the data, cache, dalvik cache and system partition and format them to ext4 (recovery TWRP 3.0.3-2 by TugaPower). After that I have flashed the ROMS and the mini GApps. Then when I tries to boot, and it takes more then 20 minutes to boot (and the OS still doesn't booted).
I tried the unofficial LineageOS, RR 5.8, AICP but I stuck in bootloop in every Nougat ROM. The Marshmallow version of each is working, just the Nougat have bootloop issues.
Only the AOSP Nougat for OnePlus One succeeded to boot...
How can I solve this? Why all the CM14 based ROMs are not booting in my phone?
Click to expand...
Click to collapse
nuuro said:
I'm having the exact same issue. Tried Lineage and Tugapower. Had to revert back to Sultan's CM13.
Click to expand...
Click to collapse
I had a similar problem with all the ROMs you mentioned failing to boot too when coming from CM13. What worked for me was to first flash a nightly from this thread.
http://forum.xda-developers.com/oneplus-one/development/lineageos-unofficial-nightly-t3528587
Afterwards I was able to flash and boot into AICP and TugaPower. Don't know if it will work for you guys, but give it a try.

Stuck on boot animation!!!

I was using Resurrection Remix 5.8 on my Nexus 5 after that I installed first ever rom 8.1 oreo by restoring method in TWRP recovery and after that I tried to install Resurrection Remix 6.0 unofficial (wiped all data excluding internal storage) after that my phone was not booting up and stuck on boot animation after that had I tried all roms of Android 8.1 Oreo all roms were having the same problem stucking on boot animation.
I also updated my TWRP recovery to 3.2 THEN ALSO SAME PROBLEM.
I also faced this issues a week ago. I just flashed stock Rom using fastboot method, then reflash TWRP & DU Rom (8.1)
asp_007 said:
I was using Resurrection Remix 5.8 on my Nexus 5 after that I installed first ever rom 8.1 oreo by restoring method in TWRP recovery and after that I tried to install Resurrection Remix 6.0 unofficial (wiped all data excluding internal storage) after that my phone was not booting up and stuck on boot animation after that had I tried all roms of Android 8.1 Oreo all roms were having the same problem stucking on boot animation.
I also updated my TWRP recovery to 3.2 THEN ALSO SAME PROBLEM.
Click to expand...
Click to collapse
Check and see what your partitions are formatted to. Try formatting them except internal to EXT4. I'm pretty sure first ever is f2fs and I think Resurrection Remix 6.0 needs to be EXT4 (I could be wrong).
kingd421 said:
Check and see what your partitions are formatted to. Try formatting them except internal to EXT4. I'm pretty sure first ever is f2fs and I think Resurrection Remix 6.0 needs to be EXT4 (I could be wrong).
Click to expand...
Click to collapse
Ya, it's f2fs
asp_007 said:
Ya, it's f2fs
Click to expand...
Click to collapse
Try formatting to EXT4. That's how I got DU 12 to boot, and I haven't had any trouble flash any Oreo Rom.
kingd421 said:
Try formatting to EXT4. That's how I got DU 12 to boot, and I haven't had any trouble flash any Oreo Rom.
Click to expand...
Click to collapse
Can I flash Resurrection remix 6.0 on RR 5.8
asp_007 said:
Can I flash Resurrection remix 6.0 on RR 5.8
Click to expand...
Click to collapse
Clean flash be your best bet.

Stable gsi for honor 6x 8.1.0

You need to be in stock emui 8 with unlocked bootloader.
If you are in elemental rom come back to stock emui 8 then flash this rom.
If you are in another gsi you can proceed directly (flash below recovery then do factory reset then flash gsi los rom via fastboot then again reboot to stock recovery do factory reset)
If you are in stock emui 8 do not wipe anything just flash it via fastboot and do factory reset.
first flash this recovery
https://mega.nz/#!cbJFAIQD!qvp1KnZ0qxlg6nHDFmpM5qyZ9QUVIDe5PoZE0BQf8fs
Fastboot command: fastboot flash recovery_ramdisk name of recovery.img
Then download
https://openkirin.net/download/
Fastboot command: fastboot flash system name of image.img
Los or RR rom and flash via fastboot (no need to wipe anything) then reboot to recovery do factory reset. You will have oreo 8.1 with gapps ,full signal bars,face unlock and stock camera.
If you are experiencing no sound its not gsi problem you didn't flashed stock completely so first flash this twrp recovery (only if you are in oreo not for emui5)
https://mega.nz/#!a81EDZAR!2-9yPFh3reghkGcfSl3nRIJhHGkP8fqDsgUG66ewjkk
Then flash stock emui 8 via huru
https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
If huru only flased update.zip and gave you error no update_full_hw.zip and no update_data_full_public.zip not found in sd card then you need to rename them and flash again without wiping anything.
If stock emui 8 taking more than 5 minutes to boot then flash stock recovery mentioned above and do factory reset then it will boot with in 5 minutes.
If you don't have network or imei then you need to root. Then use any root explorer then go to cust/cn/all/localprop and change the line ro_config full network support=ture to false then reboot your network and imei will come back. You can do this in stock or in gsi.
RR ROM has great battery life with tons of customizations.
For emui8 flashing instructions,root and sound mod follow these instructions
https://forum.xda-developers.com/ho...si-honor-6x-8-1-0-t3809004/page5#post76981105
For telegram support of openkirin join this group
https://t.me/joinchat/HUf8EBJUJZQD281E59MdDw
Hell yess, thanks to open kirin team and you for mentioning it, the rom is excellent in use all bugs (the ones i faced in other gsi) fixed in this one and the availability of stock camera is just a cherry on top ?
Im newbie not familiar with this term
what is "gsi"?
need help
How to install emui 8 on bln-l21c432
jlan007 said:
Im newbie not familiar with this term
what is "gsi"?
need help
Click to expand...
Click to collapse
Generic system image. Read about project treble.
jlan007 said:
Im newbie not familiar with this term
what is "gsi"?
need help
Click to expand...
Click to collapse
Gsi means generic system image. In oreo custom roms will be available in system image formate we don't need twrp to flash custom roms just flash it via fastboot and factory reset.
Gsi roms will give you latest android os updates same as pixel devices getting so we don't need to wait for hauwei to release updates. If android p releases these gsi roms will give u update same as google devices getting. Oreo is game changer for every device.
If u want to flash gsi rom follow the emui8 upgrade method
https://forum.xda-developers.com/honor-6x/how-to/guide-update-to-emui-8-t3807806
Then follow instructions on openkirin support section.
--ahmed said:
How to install emui 8 on bln-l21c432
Click to expand...
Click to collapse
https://forum.xda-developers.com/honor-6x/how-to/guide-update-to-emui-8-t3807806
Follow that guide you will be on oreo in 10mins or less
If we rebrand to Chinese then update to Oreo and flash gsi..can we rebrand to our original variant or is there need to?
Which gsi redirection rom , carbon rom or los 15 ???
johnscrub said:
If we rebrand to Chinese then update to Oreo and flash gsi..can we rebrand to our original variant or is there need to?
Click to expand...
Click to collapse
Yes we can rebrand to original variant using hwota8
Khan ubaid said:
Which gsi redirection rom , carbon rom or los 15 ???
Click to expand...
Click to collapse
Go for Los 15 which is more stable and updated one.
Resurrection remix has huawei stock camera inbuilt....
Why flash stock recovery ? For those who are on Twrp ?
Great post. Hope you share some more experiences.
Trying to use the Google Play store it's telling me that my device isn't certified and I can't do anything..
NVM: For anyone else wondering I installed Magisk then the Magiskhide module and changed fingerprint.
Khan ubaid said:
Resurrection remix has huawei stock camera inbuilt....
Click to expand...
Click to collapse
Los is also had hauwei stock camera but rr in initial buid and los got 4 updates.
Nollie8969 said:
Why flash stock recovery ? For those who are on Twrp ?
Great post. Hope you share some more experiences.
Click to expand...
Click to collapse
Because you can't perform factory reset from twrp it can't do it correctly finally you will ended up in bootloop. You can flashctwrp right after doing factory reset but openkirin doesn't support twrp.
whateven12 said:
Trying to use the Google Play store it's telling me that my device isn't certified and I can't do anything..
NVM: For anyone else wondering I installed Magisk then the Magiskhide module and changed fingerprint.
Click to expand...
Click to collapse
So before flashing magdisk did playstore worked for you? Or did you flashed magdisk when flashing os? For me playstore works perfectly.
Ramesh006 said:
So before flashing magdisk did playstore worked for you? Or did you flashed magdisk when flashing os? For me playstore works perfectly.
Click to expand...
Click to collapse
Play store or any Google app wouldn't work for me before I install Magisk and the Module to change the fingerprint to a certified device.
No solution, but in the meantime you can use Aptoide as store: http://en.aptoide.com
whateven12 said:
Play store or any Google app wouldn't work for me before I install Magisk and the Module to change the fingerprint to a certified device.
Click to expand...
Click to collapse
Did you flashed los or rr? Try reflash.

Constant Reboot

I had the official Lineage 15.1 installed with gapps pico, it was upgraded from 14.1 lineage with gapps pico + magisk 16 . Today I wanted to downgrade back to 14.1 so I flashed the latest 14.1 lineage with gapps 7.1
After booting it shows com.android.phone has stopped working and it restarts again to show the same thing.
I am able to get into TWRP recovery , can anyone please suggest me what should I do?
I dont have previous backup
Mmodi said:
I had the official Lineage 15.1 installed with gapps pico, it was upgraded from 14.1 lineage with gapps pico + magisk 16 . Today I wanted to downgrade back to 14.1 so I flashed the latest 14.1 lineage with gapps 7.1
After booting it shows com.android.phone has stopped working and it restarts again to show the same thing.
I am able to get into TWRP recovery , can anyone please suggest me what should I do?
I dont have previous backup
Click to expand...
Click to collapse
I did a factory reset using TWRP . Lost all the data but the phone started, able to use it now
Mmodi said:
I did a factory reset using TWRP . Lost all the data but the phone started, able to use it now
Click to expand...
Click to collapse
Always do a clean wipe (wipe everything except internal/external storage). Always back up your previous system just in case. Sometimes it is better to flash Gapps right after flashing the ROM, sometimes it's better to flash the ROM, boot and then flash the Gapps.

Are there other gsl rom support for this device?

I was thinking of installing HavocOS on my redmi s2/y2.There are so many builds on the HavocOS website but I don't know if any of them are for the s2/y2.I would like to know if there is any build of HavocOS and if there is one then which one.
Thanks in advance
parthibratan said:
I was thinking of installing HavocOS on my redmi s2/y2.There are so many builds on the HavocOS website but I don't know if any of them are for the s2/y2.I would like to know if there is any build of HavocOS and if there is one then which one.
Thanks in advance
Click to expand...
Click to collapse
this one base on arm64 PIE
https://sourceforge.net/projects/ha...90914-phhgsi_arm64_a-Official.img.xz/download
and this one base on arm32 PIE
https://sourceforge.net/projects/ha...0190914-phhgsi_arm_a-Official.img.xz/download
note: GSI rom not custom rom
I have tried havoc android 10 gsi but it didn't work
mohitdabas07 said:
I have tried havoc android 10 gsi but it didn't work
Click to expand...
Click to collapse
booted properly on YSL arm64 Android 10
Baim alif said:
booted properly on YSL arm64 Android 10
Click to expand...
Click to collapse
Is this havoc rom?
Can you give rom link and steps because mine didn't bootup and please provide review of this if you can i am dying to drying out android 10 rom
mohitdabas07 said:
Is this havoc rom?
Can you give rom link and steps because mine didn't bootup and please provide review of this if you can i am dying to drying out android 10 rom
Click to expand...
Click to collapse
yups.. havoc
but I think this is an initial release so it can't be used as a daily driver yet
Baim alif said:
yups.. havoc
Click to expand...
Click to collapse
Based on android 10?
Please give steps too and rom link
mohitdabas07 said:
Based on android 10?
Please give steps too and rom link
Click to expand...
Click to collapse
1.install custom rom base on arm64 that fully treble support. (i used lineage 15.1 oreo)
2.do factory reset
3.install image... gsi rom
4.do factory reset
5.reboot...
this one
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Baim alif said:
1.install custom rom base on arm64 that fully treble support. (i used lineage 15.1 oreo)
2.do factory reset
3.install image... gsi rom
4.do factory reset
5.reboot...
this one
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Click to expand...
Click to collapse
I tried dot os as base which is treble supported and used havoc os android 10 gsi(arm 64 a only) by express luke but after doing all steps when I try to boot up the screen lights up and then lights off this is happening continously nothing else
mohitdabas07 said:
I tried dot os as base which is treble supported and used havoc os android 10 gsi(arm 64 a only) by express luke but after doing all steps when I try to boot up the screen lights up and then lights off this is happening continously nothing else
Click to expand...
Click to collapse
I've tried all the custom ROMs that are currently available but only Lineage OS 15.1 oreo fully treble support..
so dot os give me same result.. bootloop
note: Sorry ... from whom you know that dot os fully treble support?
Baim alif said:
I've tried all the custom ROMs that are currently available but only Lineage OS 15.1 oreo fully treble support..
so dot os give me same result.. bootloop
Click to expand...
Click to collapse
Thnx bro you help is much appreciated please give me lineage os 15.1 link too
mohitdabas07 said:
Thnx bro you help is much appreciated please give me lineage os 15.1 link too
Click to expand...
Click to collapse
you are welcome...
https://forum.xda-developers.com/redmi-s2/development/rom-lineageos-15-1-ysl-t3892569
Baim alif said:
you are welcome...
https://forum.xda-developers.com/redmi-s2/development/rom-lineageos-15-1-ysl-t3892569
Click to expand...
Click to collapse
Sorry to bother you again but same bootloop problem after using lineage os 15.1 as base too
mohitdabas07 said:
Sorry to bother you again but same bootloop problem after using lineage os 15.1 as base too
Click to expand...
Click to collapse
very sorry to hear that, maybe I missed something. Try this, I hope it works for you..
i share my Redmi S2 vendor
https://mega.nz/#!aqBWRQTZ!xulAkn1pB8WLfdQ9Sl3qbL_ZHvZqREY4GXSlt_93MS8
1. extract and place the folder in your twrp backup directory
2. reboot to recovery
3.do factory reset
4.restore vendor partition
5.do factory reset
6.flash image Havoc 3.0
7.do factory reset
8.reboot to system
9.done..
have a nice day....
hi @baim ! us this the twrp you used to flash the android 10 gsi: BR-ysl-S-1.5.0-20190825-UNOFFICIAL.zip ?
aeoi said:
hi @baim ! us this the twrp you used to flash the android 10 gsi: BR-ysl-S-1.5.0-20190825-UNOFFICIAL.zip ?
Click to expand...
Click to collapse
yes...
---------- Post added at 06:18 AM ---------- Previous post was at 06:08 AM ----------
flash gsi rom ... Havoc 3.0 Android 10 arm64
1.backup your custom rom ( i use aex as daily driver)
2.do factory reset
3.install lineage 15.1 oreo arm64
4.booted to system
5.reboot to recovery
6.do factory reset
7.backup your lineage 15.1
7.wipe all except internal storage and external storage
8.restore boot partition from your daily driver
9.restore vendor partition from lineage 15.1
10.flash image. Havoc 3.0
11.do factory reset
12.flash magisk-phh.zip
13.reboot to system
14.done..
Baim alif said:
yes...
---------- Post added at 06:18 AM ---------- Previous post was at 06:08 AM ----------
flash gsi rom ... Havoc 3.0 Android 10 arm64
1.backup your custom rom ( i use aex as daily driver)
2.do factory reset
3.install lineage 15.1 oreo arm64
4.booted to system
5.reboot to recovery
6.do factory reset
7.backup your lineage 15.1
7.wipe all except internal storage and external storage
8.restore boot partition from your daily driver
9.restore vendor partition from lineage 15.1
10.flash image. Havoc 3.0
11.do factory reset
12.flash magisk-phh.zip
13.reboot to system
14.done..
Click to expand...
Click to collapse
How much time first boot need?
LacitheBeast said:
How much time first boot need?
Click to expand...
Click to collapse
about 2-3 minutes..
Baim alif said:
about 2-3 minutes..
Click to expand...
Click to collapse
Stuck on android logo for more than 20 minutes
What should i do?
LacitheBeast said:
Stuck on android logo for more than 20 minutes
What should i do?
Click to expand...
Click to collapse
Have you installed Magisk-phh?
( not an ordinary magisk, but magisk-phh)
what is your custom rom as a daily driver?

Categories

Resources