how to install roms? - Honor 6X Questions & Answers

im fairly new to the rooting scene ive rooted a couple devices before but roms are a new thing to me..
how do i go about installing a rom, such as the unofficial lineage os rom that was made for the honor 6x (in these forums)?
im in the process of unlocking my bootloader and doing a basic root. how can i also acquire a stock firmware and stock rom incase something goes bad and i can restore my device?
thank youuu
*PS is a BLN-L24 model

Follow the instructions carefully mentioned in specified rom page...that should be sufficient but u should be extra careful as this is a kirrin device
Tips...
Remove fingerprints and key on stock rom
Just wipe data, system, cache... don't touch vendoe, product etc when you r going to flash LOS or AOSP
If your going los by hassan - go to advanced wipe in twrp - select data - repair or change file system - ext4 - format
If you are going to elite rom - just format data in f2fs
Rest is very clear in instructions
P.S. - ALWAYS TAKE COMPLETE BACKUP IN TWRP OR ELSE YOU WILL BE F****ED UP

i got it rooted,
now question is, i was looking to do the LOS one by hassan.. do i need to flash in a different twrp recovery other than the one i used in the guide thats posted on here, and if so how can i do so without messing something up? then, i assume hes asking to flash in a new kernel? how?

xSpartacusx said:
i got it rooted,
now question is, i was looking to do the LOS one by hassan.. do i need to flash in a different twrp recovery other than the one i used in the guide thats posted on here, and if so how can i do so without messing something up? then, i assume hes asking to flash in a new kernel? how?
Click to expand...
Click to collapse
No need to flash kernel ...It's inbuilt
Yes..u need to flash 3.1.1-1 twrp by hassan ..link provided in that rom page.
Its very easy to flash and more advanced twrp
U could google 'how to flash twrp with twrp' just needs 2 steps

can i just do
fastboot flash recovery twrp-3.1.1-0-berlin.img
but with the other file name for the correct twrp recovery?

ok another question the direction on his post for LOS say to wipe data, the two caches and system and then flash the rom... wouldnt i lose the twrp recovery when i wipe those 4 things?

xSpartacusx said:
can i just do
fastboot flash recovery twrp-3.1.1-0-berlin.img
but with the other file name for the correct twrp recovery?
Click to expand...
Click to collapse
Yes, it can be any name
Fastboot flash recovery recovery_name.img
---------- Post added at 04:56 PM ---------- Previous post was at 04:54 PM ----------
xSpartacusx said:
ok another question the direction on his post for LOS say to wipe data, the two caches and system and then flash the rom... wouldnt i lose the twrp recovery when i wipe those 4 things?
Click to expand...
Click to collapse
No it wont. There is no way to wipe TWRP from TWRP (dont clear internal and external storage)
Just follow the instructions carefully.
ALso refer this guide for backup in case you messed up (method given for backup)

ok so problem. i followed his instructions to a T, and its stuck at the boot animation i also made sure to change the data partition type to ext4

xSpartacusx said:
ok so problem. i followed his instructions to a T, and its stuck at the boot animation i also made sure to change the data partition type to ext4
Click to expand...
Click to collapse
Which ROM?

the lineage os one by hassan

xSpartacusx said:
the lineage os one by hassan
Click to expand...
Click to collapse
Did you remove encryption by formatting data with typing yes.
Which all partition you wiped before installation.

i tried that, but i wiped dalvik cache data and system, as the instructions said to

xSpartacusx said:
i tried that, but i wiped dalvik cache data and system, as the instructions said to
Click to expand...
Click to collapse
Remove boot as well

it doesnt give me the option to wipe the boot partition

xSpartacusx said:
it doesnt give me the option to wipe the boot partition
Click to expand...
Click to collapse
Which recovery are you using? Regular twrp or the one by Hassan?

twrp by hassan

Related

Very Hard Brick NEED HELP!!!

Hi guys i need a big help
I'll try to explain all but i'm not good in English
i bricked my honor 8 L09
it happened when I tried to restore a twrp backup. Twrp can't continue the restore because "cust" can't be extracted
So i tried to restore the backup deselecting cust part
And this was my error
Bootloop
So i tried:
-restored others backup -FAILED-
-used Huawei eRecovery : "getting Package from server failed" -FAILED-
-flashed roms, aosp and emui based, marshmallow and nougat based: can't flash -FAILED-
-flashed boot.img, system.img, recovery.img nothing worked -FAILED-
-extracted cust.img and flashed via adb folllowing this guide: https://forum.xda-developers.com/honor-5x/help/how-restore-cust-partition-t3356769/page2 flashed but nothing works -FAILED-
But now is worse, because i can't get into twrp but only in eRecovery (that doesn't work), and adb flash don't work
What can i do?
Maybe a huawei/honor repair shop can help me?
Follow this guide https://forum.xda-developers.com/honor-8/how-to/guide-honor-8-to-frd-l19-t3632220.
it helps to rebrick also
venugopalu007 said:
Follow this guide https://forum.xda-developers.com/honor-8/how-to/guide-honor-8-to-frd-l19-t3632220.
it helps to rebrick also
Click to expand...
Click to collapse
i can't reboot in twrp now, only in erecovery that doesn't work
Rodiandrea said:
Hi guys i need a big help
I'll try to explain all but i'm not good in English
i bricked my honor 8 L09
it happened when I tried to restore a twrp backup. Twrp can't continue the restore because "cust" can't be extracted
So i tried to restore the backup deselecting cust part
And this was my error
Bootloop
So i tried:
-restored others backup -FAILED-
-used Huawei eRecovery : "getting Package from server failed" -FAILED-
-flashed roms, aosp and emui based, marshmallow and nougat based: can't flash -FAILED-
-flashed boot.img, system.img, recovery.img nothing worked -FAILED-
-extracted cust.img and flashed via adb folllowing this guide: https://forum.xda-developers.com/honor-5x/help/how-restore-cust-partition-t3356769/page2 flashed but nothing works -FAILED-
But now is worse, because i can't get into twrp but only in eRecovery (that doesn't work), and adb flash don't work
What can i do?
Maybe a huawei/honor repair shop can help me?
Click to expand...
Click to collapse
Is your bootloader is in unlocked state?
venugopalu007 said:
Is your bootloader is in unlocked state?
Click to expand...
Click to collapse
yes
Rodiandrea said:
yes
Click to expand...
Click to collapse
which version of emui are you on? before brick
venugopalu007 said:
which version of emui are you on? before brick
Click to expand...
Click to collapse
Before break i was in emui 5.0, but i tried to restore 4.1 twrp nandroid backups too when i tried to solve the brick
Rodiandrea said:
Before break i was in emui 5.0, but i tried to restore 4.1 twrp nandroid backups too when i tried to solve the brick
Click to expand...
Click to collapse
flash this twrp https://www.androidfilehost.com/?fid=24588232905723836
and follow the guide which was given above
how can I flash it? can't flash through recovery or adb...
Edit: now are disappeared the charging screen and animation too, it goes on eRecovery
Rodiandrea said:
how can I flash it? can't flash through recovery or adb...
Edit: now are disappeared the charging screen and animation too, it goes on eRecovery
Click to expand...
Click to collapse
Go to fastboot bro
For fastboot make sure your device is power off now hold the volume down button and insert the usb cable connected to pc , u will boot to bootlader and flash the image.later flash above which i mentioned
venugopalu007 said:
Go to fastboot bro
For fastboot make sure your device is power off now hold the volume down button and insert the usb cable connected to pc , u will boot to bootlader and flash the image.later flash above which i mentioned
Click to expand...
Click to collapse
flashed twrp and i can enter in recovery
but can't wipe nor mount anything
All are invalid argument
I think i messed sometthing following the guide i linked before
Do you know how i can go back and revert changes?
EDIT: Tried to flash aniway the stock rom you linked, but is stuck on write update.app...
Rodiandrea said:
flashed twrp and i can enter in recovery
but can't wipe nor mount anything
All are invalid argument
I think i messed sometthing following the guide i linked before
Do you know how i can go back and revert changes?
EDIT: Tried to flash aniway the stock rom you linked, but is stuck on write update.app...
Click to expand...
Click to collapse
Bro what are you steps taken?
---------- Post added at 06:52 PM ---------- Previous post was at 06:51 PM ----------
Dont care about mount errors
venugopalu007 said:
Bro what are you steps taken?
---------- Post added at 06:52 PM ---------- Previous post was at 06:51 PM ----------
Dont care about mount errors
Click to expand...
Click to collapse
i'm assuming you are talking about what you suggested
So I:
-entered in rescuemode
-used the package you linked and flashed twrp via fastboot
-entered in twrp
-tried to wipe but can't wipe and mount nothing
-tried to flash the stock rom linked in your guide but it flash only oeminfo
If u are talking about the guide I linked, I did all steps (my bad, I think that this is the problem, because the modified file in this guide block me from wipe)
EDIT: just tried to flash via fastboot all the .img one for flash but every single time it says "failed. Command not allowed"
Bro go to twrp > advance wipe (all )
If error again reboot again and format data and again advance wipe.
Now flash this link https://drive.google.com/file/d/0BwXB-CJiljwpS1o4UXo5b1JlRjQ/view
After that do a reset and reboot ,you will be successfully unbricked
Rommco05 said:
I don't read whole post but if flash full firmware zips what happened, you don't need nothing wipe just flash right firmware https://forum.xda-developers.com/honor-8/how-to/to-emui5-custom-roms-tested-openkirin-t3638445 check first post
edit: this try if method above don't work provided by venugopalu007
Click to expand...
Click to collapse
My method will work because he wiped the cust .
But your links wont work because of blank cust and vendor files
venugopalu007 said:
Bro go to twrp > advance wipe (all )
If error again reboot again and format data and again advance wipe.
Now flash this link https://drive.google.com/file/d/0BwXB-CJiljwpS1o4UXo5b1JlRjQ/view
After that do a reset and reboot ,you will be successfully unbricked
Click to expand...
Click to collapse
free to not believe me
i was navigating in twrp for wiping and the phone rebooted for its will
it notified me that the ecryption process (wtf????) was interrupted and he asked to reset the phone
i tapped reset and the phone perfomed the classic wipe and now it works
i'm setting now the first info and i think it's on emui 4.1
idk what happened but now work
will update this reply when i'm sure all works
EDIT: confirmed that is emui 4.1 stock and all works
idk what happened but i'm happy
Rodiandrea said:
free to not believe me
i was navigating in twrp for wiping and the phone rebooted for its will
it notified me that the ecryption process (wtf????) was interrupted and he asked to reset the phone
i tapped reset and the phone perfomed the classic wipe and now it works
i'm setting now the first info and i think it's on emui 4.1
idk what happened but now work
will update this reply when i'm sure all works
Click to expand...
Click to collapse
Great now download this http://www.hihonor.com/uk/support/details/index.html?DOC_ID=92101 and copy the update.app to the sd card and make a floder name "dload", and power off the phone and press and hold all three buttons after vibrate release press key ,later it will update , all features will work100% and with locked bootloader , smells as new
---------- Post added at 07:36 PM ---------- Previous post was at 07:34 PM ----------
Rodiandrea said:
free to not believe me
i was navigating in twrp for wiping and the phone rebooted for its will
it notified me that the ecryption process (wtf????) was interrupted and he asked to reset the phone
i tapped reset and the phone perfomed the classic wipe and now it works
i'm setting now the first info and i think it's on emui 4.1
idk what happened but now work
will update this reply when i'm sure all works
EDIT: confirmed that is emui 4.1 stock and all works
idk what happened but i'm happy
Click to expand...
Click to collapse
You flashed my zip , it worked lol
venugopalu007 said:
Great now download this http://www.hihonor.com/uk/support/details/index.html?DOC_ID=92101 and copy the update.app to the sd card and make a floder name "dload", and power off the phone and press and hold all three buttons after vibrate release press key ,later it will update , all features will work100% and with locked bootloader , smells as new
---------- Post added at 07:36 PM ---------- Previous post was at 07:34 PM ----------
You flashed my zip , it worked lol
Click to expand...
Click to collapse
I'm not interested in locking the bootloader for now
i was interested in obtain root and install viper4android and xposed but for some reason i can't flash recovery via fastboot
But i think that after all of this adventure, i will not mod my phone until i'll buy a new model XD
Thanks for all the help, you saved me 300 euros
Rodiandrea said:
I'm not interested in locking the bootloader for now
i was interested in obtain root and install viper4android and xposed but for some reason i can't flash recovery via fastboot
But i think that after all of this adventure, i will not mod my phone until i'll buy a new model XD
Thanks for all the help, you saved me 300 euros
Click to expand...
Click to collapse
You are welocome , do adventure but make a full back up first:good:
venugopalu007 said:
You are welocome , do adventure but make a full back up first:good:
Click to expand...
Click to collapse
I had 3 full backups, but all of 3 had the cust problem that originated all this matters
In the past i swapped over 200 roms for my gs4, i had more than 20 full backups
But this is the first time that they doesn't work

[HOW-TO]Successfully Flash Any Custom ROMS without ERRORS!

Make sure your Bootloader is Unlocked
Reboot to Bootloader (Hold Power + Volume down) until you see Fastboot Image
Dowload latest TWRP by Mohancm https://www.androidfilehost.com/?fid=818070582850498337 copy to ADB folder
Goto your ADB folder (hold shift + right click) open with CMD / Powershell
Type Fastboot boot re (press tab for recovery shortcut)
Press enter don't close your window
In TWRP Allow Modification
Goto to Wipe > Advance wipe > check System/cache/data/internal and swipe to wipe
Don't reboot yet > goto reboot option and choose Bootloader
Goto CMD/Powershell just press Up arrow key and enter
Copy the ROM/GAPPS/MAGISK to you device
Flash ROM
Reboot to Bootloader
Goto CMD/Powershell just press Up arrow key and enter
Flash GAPPS/MAGISK
Reboot to System
Profit!
Great. Much appreciated :good:
In step 3 after flashing rom , what about reboot to recovery instead of reboot to bootloader and flash twrp again?
EDIT
------
Sorry. We r just booting TWRP. I did not noticed that :silly:
Rajeev said:
Great. Much appreciated :good:
In step 3 after flashing rom , what about reboot to recovery instead of reboot to bootloader and flash twrp again?
EDIT
------
Sorry. We r just booting TWRP. I did not noticed that :silly:
Click to expand...
Click to collapse
The TWRP 3.2.1.1 (fixed by DroidMester) can be installed permanently. No problems!
ydd0ras said:
The TWRP 3.2.1.1 (fixed by DroidMester) can be installed permanently. No problems!
Click to expand...
Click to collapse
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
t0per666 said:
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
Click to expand...
Click to collapse
Yeah, that's right. For flashing the ROM itself only the deadman. For other actions the usual TWRP can be flashed!
t0per666 said:
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
Click to expand...
Click to collapse
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
Yes but it also installs the OS as well. You want a clean slate completely, if possible, so best to wipe it again before flashing a custom ROM.
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
May be it has to do something with files written when you boot N 1st time. Like temp files.
Can't flash gapps error 64
Can't flash gapps error 64
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
Its for the encryption. So if you flash custom roms it doesnt show "data is encrypted" in your first boot. Thats what i've read.
You can always try flashing without wiping internal and see.
akshaygalaxystarmod said:
Can't flash gapps error 64
Click to expand...
Click to collapse
Did you follow instruction carefully?
t0per666 said:
Did you follow instruction carefully?
Click to expand...
Click to collapse
I did
akshaygalaxystarmod said:
I did
Click to expand...
Click to collapse
What twrp did you use? What version of gapps?
t0per666 said:
What twrp did you use? What version of gapps?
Click to expand...
Click to collapse
deadman twrp
arm 64 7.1 pico
Noobish question: Internal memory wiping is necessary? Data wiping will delete app+their data. Formatting internal only erase media like music n videos.
akshaygalaxystarmod said:
deadman twrp
arm 64 7.1 pico
Click to expand...
Click to collapse
Its either you didnt follow instructions correctly or the rom have a problem when you flashed it.
SwastikAcharya said:
Noobish question: Internal memory wiping is necessary? Data wiping will delete app+their data. Formatting internal only erase media like music n videos.
Click to expand...
Click to collapse
You can leave it if you want but im not recommending to not wipe internal.
Good day! Never failed to flash the rom in this way, the rollback to the nougat is made, the necessary recovery is loaded - an error 1. Tell me what might be the matter?
first, can i flash rom on both partion a and b ?
why after flash and rebooting to twrp again pation change to B?
why not flash magisk and gapps on same partion with first installation?
gazzly said:
first, can i flash rom on both partion a and b ?
why after flash and rebooting to twrp again pation change to B?
why not flash magisk and gapps on same partion with first installation?
Click to expand...
Click to collapse
-Do not flash it on both slots.
-The reason it switches between A and B, is because the rom gets installed on the second partition and not the partition you are on when you flash it (i think).
-And you can't flash magisk or gapps because, like what i've said before, the rom gets flashed on the other slot.
Im not 100% sure that's how it works, so don't quote me.
I've flashed viperos having no issues. I had flashed nougat firmware before that. Now in order to flash another rom, do I have to flash stock nougat firmware again or is it ok that I just clean wipe and flash new rom?

Please give me a working twrp for J7 nxt/core (J701F/DS).

All the twrp available for J7 nxt/core has a bug I think?
TWRP > REBOOT > SYSTEM (Infinite boot-loop)
I tried lzzy12's final twrp and it does the same.
THANKS IN ADVANCE
Recovery twrp 3.2.1
romtester0.1 said:
All the twrp available for J7 nxt/core has a bug I think?
TWRP > REBOOT > SYSTEM (Infinite boot-loop)
I tried lzzy12's final twrp and it does the same.
THANKS IN ADVANCE
Click to expand...
Click to collapse
RECOVERY TWRP 3.2.1
qasimsansi3 said:
RECOVERY TWRP 3.2.1
Click to expand...
Click to collapse
I tried the twrp you provided. Still the same issue. Every time I go to reboot option and go to system it automatically starts to boot-loop.
romtester0.1 said:
I tried the twrp you provided. Still the same issue. Every time I go to reboot option and go to system it automatically starts to boot-loop.
Click to expand...
Click to collapse
did you even format data after flashing through odin?
Jbgamer04 said:
did you even format data after flashing through odin?
Click to expand...
Click to collapse
You mean wipe? Yes I wiped the data and cache.
romtester0.1 said:
You mean wipe? Yes I wiped the data and cache.
Click to expand...
Click to collapse
i mean format data in advanced wipe menu
Jbgamer04 said:
i mean format data in advanced wipe menu
Click to expand...
Click to collapse
Welp, the problem with the current twrp is getting worse. Now I can't even advance wipe data because it says /data not mounted something like that.
G
Sent from my Samsung SM-J710F using XDA Labs
install stock rom and then make hard reset .
romtester0.1 said:
Welp, the problem with the current twrp is getting worse. Now I can't even advance wipe data because it says /data not mounted something like that.
Click to expand...
Click to collapse
you need to install stock firmware and stock recovery (without CSC) problem is with PIT ( partition table ) .
qasimsansi3 said:
you need to install stock firmware and stock recovery (without CSC) problem is with PIT ( partition table ) .
Click to expand...
Click to collapse
Thanks I'll try that.
romtester0.1 said:
Thanks I'll try that.
Click to expand...
Click to collapse
Dude just boot to twrp -> Wipe -> format Phone -> type yes -> DONE! Now reboot twrp again and flash magisk. Ano it should boot fine. It's because of Samsung's DM-Verity and force encrypt.
PS: Formatting phone will delete all ur data on the phone including files on internal storage like pictures, downloads, etc. So keep a backup.

TWRP unable to mount storage

I'm finish unlock bl and i want to install custom rom. I already flash TWRP and it have no storage
so I go to wipe and format data (type "yes") now i have TWRP storage.
The problem is when i finish flash rom and i want to go back to TWRP to flash SuperSU, My TWRP storage is gone again.
Xperia XZ E8332
Muciarago said:
I'm finish unlock bl and i want to install custom rom. I already flash TWRP and it have no storage
so I go to wipe and format data (type "yes") now i have TWRP storage.
The problem is when i finish flash rom and i want to go back to TWRP to flash SuperSU, My TWRP storage is gone again.
Xperia XZ E8332
Click to expand...
Click to collapse
please read the instructions carefully for the flashing boot.img and the twrp. i guess you still don't have a patched kernel for your problem.
donedos said:
please read the instructions carefully for the flashing boot.img and the twrp. i guess you still don't have a patched kernel for your problem.
Click to expand...
Click to collapse
How to get the kernel?
check my guide here...
https://forum.xda-developers.com/xp...omo-s0-01j-t3892124/post78724154#post78724154
Use other twrp
---------- Post added at 02:51 PM ---------- Previous post was at 02:51 PM ----------
Don't use official ones

[RECOVERY] [UNOFFICIAL] TWRP 3.3.1-0 for Galaxy A20e (A202F)

Team Win Recovery Project for Galaxy A20e (A202F)
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
BUGS:
- ADB
This recovery is only for Android 9, if u updated A20E to Android 10 u can't flash this recovery.
According to some users it can work on Android 10 but I don't guarantee booting to your stock system but u can install straight GSI
1. Make sure u have rooted phone, if not check this guide https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root or/also this https://forum.xda-developers.com/galaxy-a20/how-to/root-samsung-galaxy-a20-rooting-guide-t3954872
2. You gonna lose all of data.
3. Make sure u have checked OEM unlock in settings
4. Reboot phone to android/stock recovery (u can use: adb reboot recovery), wipe data/cache and straight after this select "Reboot to bootloader"
5. Plug telephone to computer, start Odin(use v. 3.13.x) add recovery.tar to AP slot, click start and immediately click and hold POWER and VOLUME UP until TWRP logo pop up.
6. Format Data (not just wipe) - don't restart (idk if needed but do it for safety)
7. Use MTP to put Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip and flash it, system should start normaly. (i didnt checked on stock, i straight installed GSI)
Now u can flash GSI ROM(use only A/B): https://forum.xda-developers.com/galaxy-a20/how-to/gsi-galaxy-a20-t3964546
Flash .img and after this flash GSI_Fix_boot.zip, wipe cache and restart to system.
AND NOW MOST IMPORTANT PART:
Find your build number in software information.
A202FXXU3ASL4 means U3
A202FXXU2ASJ3 means U2
IF U HAVE U3/S3 BOOTLOADER FLASH THIS TAR:
https://mega.nz/folder/LTZlUKyI#oxxVc5zj8tP4bNQBIo8AlA
IF U HAVE U2/S2 BOOTLOADER:
u need to compare alphabetically 3 last characters of build number(NOT CSC!) with A202FXXU2ASJ3
for example your build number is A202FXXS2ASI3 so last 3 characters are ASI and u need to compare it with ASJ -> first and second letter are the same, so go to third, letter I in alphabet is before J, so u have older firmware and u need flash this tar(eg. ASH, ASG, ASF):
https://mega.nz/folder/nDZUwS5A#_FQKWL_1QUHN8_wXgqdGBw
if u have at least A202FXXU2ASJ3 or newer(eg. ASK, ASL, ASM) or firmware flash this tar:
https://mega.nz/folder/7bZ20IAY#ewz5ZZzWxTJfAbcnEJgAZA
I DIDN'T TESTED NEWER U2 AND U3 BUT IT SHOULD WORK FOR 99%
Crashes on teamwin splash screen.
How did you compile? When I make one, it bootloops. Can you tell me how you did it?
ert69 said:
Crashes on teamwin splash screen.
Click to expand...
Click to collapse
If it stucks on splash screen it means that ur device have still data encryption, did u before flashing wiped data/cache in stock recovery?
Royna said:
How did you compile? When I make one, it bootloops. Can you tell me how you did it?
Click to expand...
Click to collapse
U need to do twrp device tree, u can use prebuilt kernel or straight from source, and u need dtbo image if ur bulding on android 9+. I too get bootloops but key is to use right version of kernel appropriate for ur bootloader version. There is massive difference beetween old U2 and new U2 and maybe that why ur twrp gets bootloop. Also u need fix for himax touchscreen to work in recovery mode. I make public sources of my work also with commits.
famouzkk said:
U need to do twrp device tree, u can use prebuilt kernel or straight from source, and u need dtbo image if ur bulding on android 9+. I too get bootloops but key is to use right version of kernel appropriate for ur bootloader version. There is massive difference beetween old U2 and new U2 and maybe that why ur twrp gets bootloop. Also u need fix for himax touchscreen to work in recovery mode. I make public sources of my work also with commits.
Click to expand...
Click to collapse
Thank you for answering. Are there no plans for developing for android 10 a20e? When I install ur u3 bootloader twrp, it shows twrp logo. And its stuck there. Can you make one using android 10 sources? Or you don't want to take risks not testing it, can you share ur files like ueventd.rc , boardconfig.mk? So I can make one. I am not so sure about my flags and ueventd.rc files...
Royna said:
Thank you for answering. Are there no plans for developing for android 10 a20e? When I install ur u3 bootloader twrp, it shows twrp logo. And its stuck there. Can you make one using android 10 sources? Or you don't want to take risks not testing it, can you share ur files like ueventd.rc , boardconfig.mk?
Click to expand...
Click to collapse
Samsung didin't for now make public any android 10 kernel sources for A20e, if they do it public i gonna try. Oh, if u get splash screen it means u have still data encryption, did u before flashing twrp wiped in stock recovery data/cache, if it boots to splash screen its really big chance it gonna work for you and also for others.
uevent.rc just pick up from any exynos7885 device tree, also BoardConfig.mk are really the same, as a10 or a30.
famouzkk said:
Samsung didin't for now make public any android 10 kernel sources for A20e, if they do it public i gonna try. Oh, if u get splash screen it means u have still data encryption, did u before flashing twrp wiped in stock recovery data/cache, if it boots to splash screen its really big chance it gonna work for you and also for others.
uevent.rc just pick up from any exynos7885 device tree, also BoardConfig.mk are really the same, as a10 or a30.
Click to expand...
Click to collapse
Wow. It worked. You can edit that it works for android 10 too. One question. Why the system partition is mounted read-only and can't be changed? I want to re-partition /system to install google r preview gsi
Edit: Search: On android Q, We can't mount /system rw.....
Royna said:
Wow. It worked. You can edit that it works for android 10 too. One question. Why the system partition is mounted read-only and can't be changed? I want to re-partition /system to install google r preview gsi
Edit: Search: On android Q, We can't mount /system rw.....
Click to expand...
Click to collapse
https://android.stackexchange.com/q...m-partition-locked-to-read-only-in-android-10
Android 10 is formatted with EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS which is blocking to mount system partition as rw.
Royna said:
Wow. It worked. You can edit that it works for android 10 too. One question. Why the system partition is mounted read-only and can't be changed? I want to re-partition /system to install google r preview gsi
Edit: Search: On android Q, We can't mount /system rw.....
Click to expand...
Click to collapse
Can u also give ur build number? I mean A202FXU3xxx?
famouzkk said:
can u also give ur build number? I mean a202fxu3xxx?
Click to expand...
Click to collapse
a202fxxu3btd1
---------- Post added at 01:04 PM ---------- Previous post was at 01:03 PM ----------
Now trying to downgrade to android 9 gsi and re-partiton there
---------- Post added at 01:05 PM ---------- Previous post was at 01:04 PM ----------
P.S. Does re-partition work?
famouzkk said:
Team Win Recovery Project for Galaxy A20e (A202F)
BUGS:
- ADB
This recovery is only for Android 9, if u updated A20E to Android 10 u can't flash this recovery.
According to some users it can work on Android 10 but I don't guarantee booting to your stock system but u can install straight GSI
1. Make sure u have rooted phone, if not check this guide https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root or/also this https://forum.xda-developers.com/galaxy-a20/how-to/root-samsung-galaxy-a20-rooting-guide-t3954872
2. You gonna lose all of data.
3. Make sure u have checked OEM unlock in settings
4. Reboot phone to android/stock recovery (u can use: adb reboot recovery), wipe data/cache and straight after this select "Reboot to bootloader"
5. Plug telephone to computer, start Odin(use v. 3.13.x) add recovery.tar to AP slot, click start and immediately click and hold POWER and VOLUME UP until TWRP logo pop up.
6. Format Data (not just wipe) - don't restart (idk if needed but do it for safety)
7. Use MTP to put Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip and flash it, system should start normaly. (i didnt checked on stock, i straight installed GSI)
Now u can flash GSI ROM(use only A/B): https://forum.xda-developers.com/galaxy-a20/how-to/gsi-galaxy-a20-t3964546
Flash .img and after this flash GSI_Fix_boot.zip, wipe cache and restart to system.
AND NOW MOST IMPORTANT PART:
Find your build number in software information.
A202FXXU3ASL4 means U3
A202FXXU2ASJ3 means U2
IF U HAVE U3/S3 BOOTLOADER FLASH THIS TAR:
https://mega.nz/folder/LTZlUKyI#oxxVc5zj8tP4bNQBIo8AlA
IF U HAVE U2/S2 BOOTLOADER:
u need to compare alphabetically 3 last characters of build number(NOT CSC!) with A202FXXU2ASJ3
for example your build number is A202FXXS2ASI3 so last 3 characters are ASI and u need to compare it with ASJ -> first and second letter are the same, so go to third, letter I in alphabet is before J, so u have older firmware and u need flash this tar(eg. ASH, ASG, ASF):
https://mega.nz/folder/nDZUwS5A#_FQKWL_1QUHN8_wXgqdGBw
if u have at least A202FXXU2ASJ3 or newer(eg. ASK, ASL, ASM) or firmware flash this tar:
https://mega.nz/folder/7bZ20IAY#ewz5ZZzWxTJfAbcnEJgAZA
I DIDN'T TESTED NEWER U2 AND U3 BUT IT SHOULD WORK FOR 99%
Click to expand...
Click to collapse
Can you pls make a Recovery for android 10? Because I already have Android 10 ? Or can it also work with Android 10? I don't want to brick my phone ? that's the reason why I ask
famouzkk said:
Samsung didin't for now make public any android 10 kernel sources for A20e, if they do it public i gonna try. Oh, if u get splash screen it means u have still data encryption, did u before flashing twrp wiped in stock recovery data/cache, if it boots to splash screen its really big chance it gonna work for you and also for others.
uevent.rc just pick up from any exynos7885 device tree, also BoardConfig.mk are really the same, as a10 or a30.
Click to expand...
Click to collapse
for what do you actually need the device tree?
donut boyyyyyy said:
Can you pls make a Recovery for android 10? Because I already have Android 10 Or can it also work with Android 10? I don't want to brick my phone that's the reason why I ask
Click to expand...
Click to collapse
Can you please read post carefully? Ye it can work on android 10 but i dont guarantee booting to your stock system(but after flashing dm verfiy zip it should work) also u can just flash gsi
famouzkk said:
Can you please read post carefully? Ye it can work on android 10 but i dont guarantee booting to your stock system(but after flashing dm verfiy zip it should work) also u can just flash gsi
Click to expand...
Click to collapse
sry was so happy that finally a recovery for my device because the device is already 1 year and Before there was no Recovery I am so grateful that there is finally one
---------- Post added at 03:07 PM ---------- Previous post was at 03:00 PM ----------
famouzkk said:
Can you please read post carefully? Ye it can work on android 10 but i dont guarantee booting to your stock system(but after flashing dm verfiy zip it should work) also u can just flash gsi
Click to expand...
Click to collapse
Should I downgrade and then flash recovery? ?What would you advise me as a developer?
donut boyyyyyy said:
sry was so happy that finally a recovery for my device because the device is already 1 year and Before there was no Recovery I am so grateful that there is finally one
---------- Post added at 03:07 PM ---------- Previous post was at 03:00 PM ----------
Should I downgrade and then flash recovery? ?What would you advise me as a developer?
Click to expand...
Click to collapse
Do not downgrade it gonna brick ur telephone, just straight install twrp but CAREFULLY read instruction.
famouzkk said:
Do not downgrade it gonna brick ur telephone, just straight install twrp but CAREFULLY read instruction.
Click to expand...
Click to collapse
So should I do it in Android 10? And one thing what do you mean with step four...Do you have to do that in recovery or download mode or do you have to wipe the data and cache in stock recovery and then flash it in Odin Have the latest security update in German its 1.6.2020 Which file do I need?
donut boyyyyyy said:
So should I do it in Android 10? And one thing what do you mean with step four...Do you have to do that in recovery or download mode or do you have to wipe the data and cache in stock recovery and then flash it in Odin Have the latest security update in German its 1.6.2020 Which file do I need?
Click to expand...
Click to collapse
Yes you need to do this because of data encryption and if u dont do that u gonna get stuck at splash screen. Just pick up U3 recovery.
famouzkk said:
Yes you need to do this because of data encryption and if u dont do that u gonna get stuck at splash screen. Just pick up U3 recovery.
Click to expand...
Click to collapse
But in stock ? ? Have watched videos since they only formatted it in custom recovery
donut boyyyyyy said:
But in stock ? ? Have watched videos since they only formatted it in custom recovery
Click to expand...
Click to collapse
Ehh, enable debugging in programming options, then connect to computer and write in cmd: adb reboot recovery(if u dont have adb - install it), after wipe cache/data click reboot to bootloader and follow the instruction.

Categories

Resources