superb idea, I'm going to update the tutorial now. thanks!@gabrielfrias just now i tried to do a "linux part" of installation without linux, but with bash on windows and it worked! I think you could indicate this in your instruction
superb idea, I'm going to update the tutorial now. thanks!@gabrielfrias just now i tried to do a "linux part" of installation without linux, but with bash on windows and it worked! I think you could indicate this in your instruction
Hey,3) Now you’re going to make a brand new super.img file containing all 4 files of the previous step. This is a critical and tricky step. Run Linux terminal and type:
./lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:4294967296 --group main:4293513600 --partition system:readonly:1577095168:main --image system=./system.img --partition vendor:readonly:342155264:main --image vendor=./vendor.img --partition odm:readonly:643456:main --image odm=./odm.img --sparse --output ./super.img
Note that in this code, the numbers highlighted in bold are the sizes of the 3 .img files you extracted (odm, vendor and product) in step 2 plus system.img you downloaded/renamed, IN BYTES. Update the code with YOUR files's sizes!
system:readonly:1577095168:main (size of unsparsed system.img in bytes)
vendor:readonly:342155264:main (size of vendor.img in bytes)
odm:readonly:643456:main (size of odm.img in bytes)
as @phhusson stated (thanks!), no need sto use product.img, just supress it at all
--group main:4293513600 (main partition size 1577095168+342155264+643456=2776752512)
*The size of main is the sum of the 4 .img files*
You may face two different problems here:
1) Odm.img file requested a not avaliable space. Just sum and update main’s size.
2) System.img is larger than expected. Just sum and update main’s size again.
Your original super.img file is now created, like Samsung does. Congrats!
Back in Windows:
1) Create, using 7zip, anyname.tar file cointaining just the super.img you created. Simple.
2) Open Odin, untick Auto Reboot, add anyname.tar file to AP, put your phone in Download Mode and flash it. Flash boot(NoForcedEnforce).tar the same way.
3) Reboot your phone, do a Factory Reset in original recovery.
In Android:
1) Install terminal emulator and run the following commands:
su
setenforce 0
getenforce (it should show Permissive)
Job is done.
When i was doing that instruction i just ignored this error message and it works anywayerror message:
It's won't work. this phone uses system-as-root (no ramdisk in kernel).By the way i found another way to get root but it's not tested yet:
0. Download with SamFirm the same firmware you’re running now and extract AP file from firmware archive
1. Extract boot.img.lz4 from AP file
2. Add boot.img.lz4 to .tar archive
3. Put this archive to the phone and patch it with magisk manager
4. Flash magisk_patched.tar with odin in AP
5. Then you should do factory reset and restart the phone
6. Install Magisk Manager and update environment
Of course it needs unlocked bootloader.
Sorry for my bad english, i wrote this without a translator.
I have type "A515FXXU2ATA8", so CP. Could I use this to root my phone by using ODIN, putting the package in the CP slot and then flash?AOSP 10.0 v214 arm64 A/B Gapps
This AOSP ROM only works on:
AP — A515FXXU2ATB1
CSC — A515FOXM2ATB1
CP — A515FXXU2ATA8
https://drive.google.com/file/d/1PXe5cFyZxms3Lkyo9Ne4TkJQNyZDI5SM/view?usp=sharing
I used to flash Odin 3.14.4 after flashing i did factory reset using recovery mode.
You can flash ROM only in AP .I have type "A515FXXU2ATA8", so CP. Could I use this to root my phone by using ODIN, putting the package in the CP slot and then flash?
So how would I use this super.img?You can flash ROM only in AP .
CP used to flash phone modem or something.
You need to have phone withSo how would I use this super.img?
Thanks for the help!
It fails, am I doing something wrong here?You need to have phone with
AP — A515FXXU2ATB1
CSC — A515FOXM2ATB1
CP — A515FXXU2ATA8
Then just flash tar file in AP
Someone solved this problem? Please help. :crying:Is there any way to debrand A51?
I downloaded the XEO rom (not branded), but after the flashing there are applications, old screen and the operator's logo.
I installed according to the instructions, I also tried with the pit file, but still the same.
Can anyone help?![]()
try to relock and reunlock, than flash.It fails, am I doing something wrong here?
http://prntscr.com/s2wl2z
My phone also says "Custom Binary (Super) blocked by OEM lock", but i have the boot loader unlocked.
don't know. try to leave as is and debrand when TWRP is released.Someone solved this problem? Please help. :crying:
1) don't know, but I believe they are directions to partition creation. leave as they are.Hello everyone!
many thanks! phhusson map220v gabrielfrias
1) what do these numbers mean. ./lpmake --metadata-size 65536 - super-name super -metadata-slots 2 - device super: 4294967296 --group home:. I see a description of the remaining numbers.
2) is this instruction suitable for a phone with 6/128 memory or do you need to change the numbers mentioned above?
3) do we need a patch that is next to phhusson firmware?
4) what specific GSI firmware should I choose if I need the cleanest without gapps for this phone.
5) we flash it or not (((Permissive kernel (..drive.google /file/d/1Jq8...ew?usp=sharing) -thanks to map220v
How do you boot it and flash it? Edit: Nevermind, Samsung's ****ty broken secure boot only apply on recovery not boot.img. I ... s.)))
I apologize for the many questions they arise from the difficulties associated with the translation. many thanks!
it has to be the same firmware your're currently using on your device, so it's not possible to flash the same super.imgMaybe stupid...why cant we all use the same super.img
stock Phone is the same for everybody?
Thnx for the quick replyit has to be the same firmware your're currently using on your device, so it's not possible to flash the same super.img