I used this command to get super.img from super.img.lz4
lz4 -d super.img.lz4 super.img
Could you tell how you used lpmake to repack the image? It's always creating an empty image in my case.
I used this command to get super.img from super.img.lz4
lz4 -d super.img.lz4 super.img
Could you tell how you used lpmake to repack the image? It's always creating an empty image in my case.![]()
I used this command to get super.img from super.img.lz4
lz4 -d super.img.lz4 super.img
still having no success at all. this is what I did:
1) downloaded firmware file.zip using Frija
2) extracted the AP_file.tar.md5 from firmware file.zip using 7zip
3) extracted the super.img.lz4 file from the Ap_file.tar.md5 using 7zip
4) tried to extract the super.img from super.img.lz4 using the command "lz4.exe -d super.img.lz4 super.img" using lz4 1.9.2
in this step I get the super.img, but I can't do anything with it. I try to mount using Diskinternals Linux Reader, but it returns unallocated space; try to open it using ext2explore, nothing happens.
I also tried to unpack the .lz4 file in Linux using lpunpack I downloaded from https://drive.google.com/file/d/1mgEnQqFOajLnRBX2YYsLL11J2-osPKD_/view, it gives me that error I told you before.
I tried to convert the super.img, extracted from the .lz4 file using lz4.exe, with sgs2toext4.jar, no success, I can't open or mount it too.
It seems to be easy steps, but I can't figure out what I'm missing.
thank you for your support.
After using lz4 and simg2img(sgs2toext4.jar?) you need to use lpunpack.
Also super.img not using ext4 filesystem so it's impossible to mount.
I manage to install the AOSP 10, thank you so much! It was very hard and I would not achieve this without your help, so, I'll make a tutorial to help others later. But, there is a last problem: my SU is not working. When Android starts, the app shows a messagem from the SU telling me to update it, but when I click, nothing happens. Do you know how to fix it and root it? Thanks!
I manage to install the AOSP 10, thank you so much! It was very hard and I would not achieve this without your help, so, I'll make a tutorial to help others later. But, there is a last problem: my SU is not working. When Android starts, the app shows a messagem from the SU telling me to update it, but when I click, nothing happens. Do you know how to fix it and root it? Thanks!
kindly make a tutorial thread for newbies like me. Thank youI manage to install the AOSP 10, thank you so much! It was very hard and I would not achieve this without your help, so, I'll make a tutorial to help others later. But, there is a last problem: my SU is not working. When Android starts, the app shows a messagem from the SU telling me to update it, but when I click, nothing happens. Do you know how to fix it and root it? Thanks!
How do you boot it and flash it? Edit: Nevermind, Samsung's ****ty broken secure boot only apply on recovery not boot.img. Idiots.HOW TO ROOT A51 (WORKING EVEN WITH BINARY 3)
Permissive kernel (https://drive.google.com/file/d/1Jq8JeEnzBPCDBjC_ewVxbWjhJ9q4G21G/view?usp=sharing) -thanks to map220v
Just remove product partition, it isn't used at all when running GSIproduct:readonly:1516761088:main (size of product.img in bytes)
How do you boot it and flash it? Edit: Nevermind, Samsung's ****ty broken secure boot only apply on recovery not boot.img. Idiots.
Just remove product partition, it isn't used at all when running GSI
@gabrielfrias Man, I was like refreshing XDA every day to get news from.
IMPRESSIVE JOB !! Honestly U shall do another thread for this.
Shame haven't no linux gnu ready to try with. And yh it seems definitely tricky ! So I guess I'll wait for TWRP then... Hope u'll still here :highfive:
Nice start for some custom rom (•‿•)
@gabrielfrias Thank you very much for tutorial and thanks @map220v for everything you did. It's really great!
By the way, @gabrielfrias, can't you send your "anyname.tar" file so as not to waste time for all those steps?
Agree with you, in my opinion the region does not affect anything2) I have the original Thailand firmware installed. it has less junk than the firmware for my region. phone released for another region. It works much better than for the native region. There are no problems. bootloader third. I suspect that all firmware are the same. the only difference is the set of additional applications for a particular region. I don't need regional trash. can we use the file you received - if there is no difference in the firmware?
If you were able to, you could, but it's not possibleplease tell me. 1) why should we follow your instructions, we can not just flash gsi from phhusson?
If you were able to, you could, but it's not possible
You're supposed to flash my gsi on "system" partition, but Odin only sees "super" partition which contains all of system,vendor,product,odm. And for GSI to work you need to keep origin vendor and odm partition.
All other devices with "super" partition just have a recovery with a special fastbootd integrated in the recovery.
But Samsung decided they are special, so they disabled fastbootd from their recovery (it's still there though)!
Other Samsung devices went on with it by using a custom recovery, which is what I was planning to do, but Galaxy A51 is special, and won't let you boot custom recovery.
So uh. Yeah their instructions are correct.
As for 2), yeah region doesn't matter, but vendor version does. You must pick the one that match what's already on your device.
Please be respectful of all XDA rules, and other members as well.4. Use the English language.
We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.
Could you tell how you used lpmake to repack the image? It's always creating an empty image in my case.![]()