How to remove unlocked bootloader warning for almost every Samsung devices. - Samsung Galaxy M30s Guides, News, & Discussion

Bootloader warning ⚠​Have you recently unlock your bootloader and want to remove Warning Bootloader Unlock message that comes every time when your device is starting up? Then not worry this article is for you. This tutorial gives you the detail view of How to remove Warning Bootloader Unlocked message from your android devices.
What you need?​
Your device.
Terminal (termux recommended).
Magisk patched recvory (you just need root for one time).
Steps to follow to fix Bootloader Unlocked Warning issue :​
Download the Param file and move it to download folder (internal storage).
Download terminal (you can use termux).
Start terminal and gain root access using "su".
Type / copy this command into the terminal -
Code:
dd if=/storage/emulated/0/Download/up_param.tar of=/dev/block/platform/13520000.ufs/by-name/up_param
Now simply reboot to recovery or system.
Mission accomplished.
Download​(in this case the param file is only for Samsung Galaxy M30s, if you want it for your device message me on telegram or comment below)​Splash screens for other devices :
Galaxy Tab S6 lite​
Galaxy A12​
Galaxy A22
Galaxy Tab A7 Lite
If you want it for your device comment below..​
​Conclusion :​In this post I have talked about How to remove bootloader warning. Tell us What You Say About The Post by commenting and if you have any questions then comment below.
Reference : Razs Originals!

Reserved..

Hello i cant found this folder in galaxy Tab s7+

avsozi said:
Hello i cant found this folder in galaxy Tab s7+
Click to expand...
Click to collapse
1. Make folder on your desktop and Open 2 command line programme windows in that directory.
2. choose one window and run this commands
adb shell
su
dd if=/dev/block/platform/13540000.dwmmc0/by-name/PARAM of=/sdcard/PARAM.bin bs=4096
if you failed, report me I'll send you another way
3. goto second command line window and run
adb pull /sdcard/PARAM.bin

Or simply just use a root explorer, grant root permissions and navigate to root directory then find dev folder and search for the up_param file.

razs.originals said:
Bootloader warning ⚠​Have you recently unlock your bootloader and want to remove Warning Bootloader Unlock message that comes every time when your device is starting up? Then not worry this article is for you. This tutorial gives you the detail view of How to remove Warning Bootloader Unlocked message from your andriod devices.
What you need?​
Your device.
Terminal (termux recommended).
Magisk patched recvory (you just need root for one time).
Steps to follow to fix Bootloader Unlocked Warning issue :​
Download the Param file and move it to download folder (internal storage).
Download terminal (you can use termux).
Start terminal and gain root access using "su".
Type / copy this command into the terminal -
Code:
dd if=/storage/emulated/0/Download/up_param.tar of=/dev/block/platform/13520000.ufs/by-name/up_param
Now simply reboot to recovery or system.
Mission accomplished.
Download​(in this case the param file is only for Samsung Galaxy M30s, if you want it for your device message me on telegram or comment below)​Splash screens for other devices :
Galaxy Tab S6 lite​
Galaxy A12​
If you want it for your device comment below..​
​Conclusion :​In this post I have talked about How to remove bootloader warning. Tell us What You Say About The Post by commenting and if you have any questions then comment below.
Reference : Razs Originals!
Click to expand...
Click to collapse
Hi, can you make a splash screen for the A22? I'm bad at using Photoshop to make my own. Thanks in advance

avsozi said:
Hello i cant found this folder in galaxy Tab s7+
Click to expand...
Click to collapse
It should be at /dev/block/by-name/up_param (sometimes it's param instead of up_param)
This should be a general directory for things like the boot and recovery. The directory OP provided is specific to each device as far as I know.

Platypus Enthusiast said:
Hi, can you make a splash screen for the A22? I'm bad at using Photoshop to make my own. Thanks in advance
Click to expand...
Click to collapse
Yea sure message me on Telegram
Razs Originals!
Razs Originals! | more at @razs_redirect
t.me

Platypus Enthusiast said:
It should be at /dev/block/by-name/up_param (sometimes it's param instead of up_param)
This should be a general directory for things like the boot and recovery. The directory OP provided is specific to each device as far as I know.
Click to expand...
Click to collapse
Yes that's the right path

razs.originals said:
Yea sure message me on Telegram
Razs Originals!
Razs Originals! | more at @razs_redirect
t.me
Click to expand...
Click to collapse
Should have sent this yesterday, but I couldn't sign up to Telegram because I don't have a phone number (anymore).

Platypus Enthusiast said:
Should have sent this yesterday, but I couldn't sign up to Telegram because I don't have a phone number (anymore).
Click to expand...
Click to collapse
Oh okay then I'll download the firmware

Hi, I'm using A70, which has a Snapdragon chip, I did notice the devices you mentioned has Exynos/MTK. Can it work on SD?
I did pull param (there's no up_param), but I have no idea what to do to patch it (you did not complete your tutorial at #4 comment). So should I upload it or something?

Mohamedkam000 said:
Hi, I'm using A70, which has a Snapdragon chip, I did notice the devices you mentioned has Exynos/MTK. Can it work on SD?
I did pull param (there's no up_param), but I have no idea what to do to patch it (you did not complete your tutorial at #4 comment). So should I upload it or something?
Click to expand...
Click to collapse
Extract it using a tool for opening archives (WinRAR, 7Zip, etc.), you will end up with a bunch of picture files. Edit these using a program like PhotoShop and repack the files into one archive, make sure you did not change the dimensions and that there are no folders inside. Opening the repacked archive should show the pictures directly and not having to open a folder inside the archive. Use dd or Odin to replace the existing param. If you're using Odin, ensure it is named exactly what partition you're replacing inside the archive or it will end up with the "Unassigned file" error.

As an experiment, I filled the boot_warning.jpg black and the svb_orange.jpg was replaced by a copy of logo.jpg but resized to the dimensions of the originally svb_orange (1800x936). I only get a black screen at boot with the words vbmeta and boot in the top left corner, and skips to logo.jpg without anything between (still booted fine, though). No idea what went wrong.

Mohamedkam000 said:
Hi, I'm using A70, which has a Snapdragon chip, I did notice the devices you mentioned has Exynos/MTK. Can it work on SD?
I did pull param (there's no up_param), but I have no idea what to do to patch it (you did not complete your tutorial at #4 comment). So should I upload it or something?
Click to expand...
Click to collapse
Unfortunately I don't think there's a way to remove the bootloader waring in snapdragon devices.

Platypus Enthusiast said:
As an experiment, I filled the boot_warning.jpg black and the svb_orange.jpg was replaced by a copy of logo.jpg but resized to the dimensions of the originally svb_orange (1800x936). I only get a black screen at boot with the words vbmeta and boot in the top left corner, and skips to logo.jpg without anything between (still booted fine, though). No idea what went wrong.
Click to expand...
Click to collapse
Send me your param file I'll edit it

razs.originals said:
Send me your param file I'll edit it
Click to expand...
Click to collapse

Okay got it will send you the edited param in some time

I have a galaxy tab a 2019 model (sm-t510). Would someone able to alter the param file for mine and let me know which one to use? Thanks!

Hey can you help me out with tab a7 lite it Would be helpful thanks

Related

Help unlock Bootloader D618 20b

I follow the steps on this post: http://forum.xda-developers.com/g2-mini/development/bootloader-d620-d618-t3127819
but when I put the commands in the terminal , it appears: "No such file or directory". How i can fix it? Thanks.
You probably mistyped something.
Vagelis1608 said:
You probably mistyped something.
Click to expand...
Click to collapse
I try copying it directly from the post and still shows the same error
Acritura said:
I follow the steps on this post: http://forum.xda-developers.com/g2-mini/development/bootloader-d620-d618-t3127819
but when I put the commands in the terminal , it appears: "No such file or directory". How i can fix it? Thanks.
Click to expand...
Click to collapse
Copy it to internal storage and make sure, that you write commands correctly.
Don't forget the unpack and don't forget the "su" before you try the "dd".
Zaaap72 said:
Don't forget the unpack and don't forget the "su" before you try the "dd".
Click to expand...
Click to collapse
Yes, I'm sure I have not forgotten . It's safe to try putting the file on internal storage and see if it works well ? It would be the same command ?
Acritura said:
Yes, I'm sure I have not forgotten . It's safe to try putting the file on internal storage and see if it works well ? It would be the same command ?
Click to expand...
Click to collapse
You actually have to put it in internal storage with that command.
Cafi96 said:
You actually have to put it in internal storage with that command.
Click to expand...
Click to collapse
Installation:
1 - Unzip the file. E.g. using 7zip.
2 - Copy the extracted file to /sdcard on your phone.
3 - Start a shell using a terminal or ADB
4 - Get root rights: su
5 - Install the bootloader using dd
Says in the instructions must be copied to the SD , now I 'm confused.
----------------------------------------------------------------------------------
Ok , you were right and I was able to unlock the bootloader. But now I have another problem , I flash the CWM.img with flashify, and when reboot the phone i got a green screen "TZ Crash - DemiGod Crash Handler" how i can fix it? thanks.
Acritura said:
Installation:
1 - Unzip the file. E.g. using 7zip.
2 - Copy the extracted file to /sdcard on your phone.
3 - Start a shell using a terminal or ADB
4 - Get root rights: su
5 - Install the bootloader using dd
Says in the instructions must be copied to the SD , now I 'm confused.
----------------------------------------------------------------------------------
Ok , you were right and I was able to unlock the bootloader. But now I have another problem , I flash the CWM.img with flashify, and when reboot the phone i got a green screen "TZ Crash - DemiGod Crash Handler" how i can fix it? thanks.
Click to expand...
Click to collapse
Can you boot up the phone? If yes, flash TWRP instead.
Cafi96 said:
Can you boot up the phone? If yes, flash TWRP instead.
Click to expand...
Click to collapse
Yeah, by luck i can boot it. I will try flashing TWRP from: http://forum.xda-developers.com/g2-mini/development/recovery-lg-g2-mini-d618-v10c-t2854493 to see if it works.
------------------------------------------------------------------------------
It worked perfectly , millions of thanks! o/
prefered from here http://forum.xda-developers.com/g2-mini/development/recovery-twrp-2-8-7-0-t3147675 download 2.8.7.0 TWRP

Rooting the Alcatel Ideal 4060A & Replacing Kingroot With SuperSU

I have about 30 of these phones and people have been asking me how I get SuperSU on them:
https://youtu.be/qkik4q5ERaU
NitroKoS said:
I have about 30 of these phones and people have been asking me how I get SuperSU on them:
https://youtu.be/qkik4q5ERaU
Click to expand...
Click to collapse
In the video, you said Kingroot 4.5
There is new:
Kingroot V5.0.4 should I get it instead?
Handsome Jack said:
In the video, you said Kingroot 4.5
There is new:
Kingroot V5.0.4 should I get it instead?
Click to expand...
Click to collapse
Successfully rooted the Alcatel Streak with KingRoot. But my cell phone won't boot after I applied the KingRoot/SuperSu replacement.
Here is thread on requesting ROM to recover from the issue. Obviously another person had same issue as I did:
https://forum.xda-developers.com/android/help/requesting-alcatel-4060-o-cricket-stock-t3578896
I have uploaded all the partition dd image at mediafire.com excepect /system witch is big file and i have low bandwidth
Note, the recovery image is compressed zip us unzip before dd back
kdm6389 said:
I have uploaded all the partition dd image at mediafire excepect /system witch is big file and i have low bandwidth
Note, the recovery image is compressed zip us unzip before dd back
Click to expand...
Click to collapse
I see many dd files with one particular zip file in mediafire. How can I use these files to flash my Alcatel Streak ROM? I have never done this before and I am newbie here.
Thanks,
jxzz said:
I see many dd files with one particular zip file in mediafire. How can I use these files to flash my Alcatel Streak ROM? I have never done this before and I am newbie here.
Thanks,
Click to expand...
Click to collapse
You need "adb"
use following cmd to replace using,
adb shell
su
dd if=/sdcard/backup/pationno.img of=/the/pation/where/you/want/to/restore
beware!
dd is very lethal in wrong hand, I recommend not use until you are knowing what are you doing, we dont have any TWRP so to save your device.
kdm6389 said:
You need "adb"
use following cmd to replace using,
adb shell
su
dd if=/sdcard/backup/pationno.img of=/the/pation/where/you/want/to/restore
beware!
dd is very lethal in wrong hand, I recommend not use until you are knowing what are you doing, we dont have any TWRP so to save your device.
Click to expand...
Click to collapse
I am quite comfortable handling linux command line shells. However, since my Alcatel Streak phone is stuck at boot, not sure how I can get the adb shell?
After several rounds of factory reset, cache reset, no mater what, the phone simply won't boot and it is stuck with "google " or "android" welcome picture.
I noticed a a guideline of using cygwin in windows PC to run dd for backing up the phone partition image. Is it possible that I copy all your dd files into a cygwin in window 10 PC, then use USB cable to move the files into the phone or flash the phone?
jxzz said:
I am quite comfortable handling linux command line shells. However, since my Alcatel Streak phone is stuck at boot, not sure how I can get the adb shell?
After several rounds of factory reset, cache reset, no mater what, the phone simply won't boot and it is stuck with "google " or "android" welcome picture.
I noticed a a guideline of using cygwin in windows PC to run dd for backing up the phone partition image. Is it possible that I copy all your dd files into a cygwin in window 10 PC, then use USB cable to move the files into the phone or flash the phone?
Click to expand...
Click to collapse
nothing will work unless u have /system image, or working ROM.zip,
Since you have corrupted /system, and your model is different then mine is pop445
i did not uploaded /system bc its wqy more size then recovery
kdm6389 said:
nothing will work unless u have /system image, or working ROM.zip,
Since you have corrupted /system, and your model is different then mine is pop445
i did not uploaded /system bc its wqy more size then recovery
Click to expand...
Click to collapse
Thanks for the information. I searched the web and found many stock ROM for download for many Alcatel models except this model.
Alcatel Streak (model 40600) is dedicated for Cricket and it appears that neither Cricket nor Alcatel releases the ROM for this model.
jxzz said:
Thanks for the information. I searched the web and found many stock ROM for download for many Alcatel models except this model.
Alcatel Streak (model 40600) is dedicated for Cricket and it appears that neither Cricket nor Alcatel releases the ROM for this model.
Click to expand...
Click to collapse
share the stock ROM
I have figured out a way to root easier, I have flashed twrp (with some graphical issues... Working on it) flashed Xposed framework on it, and got native tethering working.
This thread is obsolete now,
for rooting read https://forum.xda-developers.com/android/general/super-guide-alcatel-one-touch-4060a-t3621525
Latest Stock ROM we have | https://forum.xda-developers.com/showpost.php?p=74529924&postcount=205

Get PARAM.bin File (Samsung)

What You Need?
1. Your Mobile [Rooted]
2. Computer
3. USB Cable
How?
if you need PARAM.bin file that means you know how things work, so i'm not gonna explain every little step.
1. Make folder on your desktop and Open 2 command line programme windows in that directory.
2. choose one window and run this commands
adb shell
su
dd if=/dev/block/platform/13540000.dwmmc0/by-name/PARAM of=/sdcard/PARAM.bin bs=4096
Block Path in above dd command can be different in your device. if you failed to open renamed zip file, you need to Find Correct Block and replace that in dd command
3. goto second command line window and run
adb pull /sdcard/PARAM.bin
4. To Extract Files from bin Just rename .bin file to zip (param.bin.zip)
Done.
Thanks,but how do i extract this file?
already tried with "tar xf " but gives me nothing
AndroidSamsungFreak said:
Thanks,but how do i extract this file?
already tried with "tar xf " but gives me nothing
Click to expand...
Click to collapse
same problem with me
AndroidSamsungFreak said:
Thanks,but how do i extract this file?
already tried with "tar xf " but gives me nothing
Click to expand...
Click to collapse
Just rename it to zip (param.bin.zip)
wings110 said:
same problem with me
Click to expand...
Click to collapse
Just rename it to zip (param.bin.zip)
AUPMA said:
Just rename it to zip (param.bin.zip)
Click to expand...
Click to collapse
my device is g9300 cpu is 820 rename zip can not be opened
wings110 said:
my device is g9300 cpu is 820 rename zip can not be opened
Click to expand...
Click to collapse
Seems Like your block is different. So you need to Find Correct block and replace that on dd command
Samsung A50 booting on logo
AUPMA said:
What You Need?
1. Your Mobile [Rooted]
2. Computer
3. USB Cable
How?
if you need PARAM.bin file that means you know how things work, so i'm not gonna explain every little step.
1. Make folder on your desktop and Open 2 command line programme windows in that directory.
2. choose one window and run this commands
adb shell
su
dd if=/dev/block/platform/13540000.dwmmc0/by-name/PARAM of=/sdcard/PARAM.bin bs=4096
Block Path in above dd command can be different in your device. if you failed to open renamed zip file, you need to Find Correct Block and replace that in dd command
3. goto second command line window and run
adb pull /sdcard/PARAM.bin
4. To Extract Files from bin Just rename .bin file to zip (param.bin.zip)
Done.
Click to expand...
Click to collapse
hello sir i have Samsung galaxy A50 (505F)my phone was ok and i kept it on my bed after using and went to do some work when i came back & saw my phone was restarting automatically whereas no body touched it, it does not happened before then i thought its ok maybe some reason it happen but after restarting my phone its continuously booting on Samsung logo and some strange lines are coming behind the logo every time its not getting on properly only restarting, so after that i tried soft rest even hard rest\wipe data factory rest but same issue is there and i tried software with latest stock firmware with latest and different version of Odin its just stuck on CM software not starting even i tried combination file but stuck on boot i tried PIT file also it passed but nothing is happened
(Bootloader lock by OEM) And In
Recovery Mode on top
BIN MODE (By Param) (not sure BIN or Something else because of curved screen)
Cause: BL:Recovery Mode Set by Key,
Even i visit to Samsung service center and they tried to do software but unable to do and they just simply said it will change the board but i know its some kind of software issue and i'm not able to spend so much money in this situation :crying: please give me some solution i want to share some pictures of my device with you please give me your mail Id so i can share with you please help and give some solution
Note:-there is not any third party app installed in my device still it happen....please give me solution
I think this does not work anymore with the latest Android 10 Updates.
Funciona en Android 10 para S9+ Snapdragon? Alguien lo probó?No logro sacar el paran.bin, ayuda porfa.
AUPMA said:
Seems Like your block is different. So you need to Find Correct block and replace that on dd command
Click to expand...
Click to collapse
my parab file is mmcblk0p12. it did not open with tar or zip. i aleardy use custom rom, there's any chance install custom rom by some how encrypt the file so i can not open it. did i should reflash the stock rom then try change the logo image?
my phone is j5

[MOTOROLA ONE] About Multi-user increase over 5 accounts without rooting

Hello guys, im facing this problem and maybe u all can help me,
actually i got motorola one (not power) and i noticed this function multi-user with up to 5 users isollated. so i wanna increase this number of accounts up to 10, i know its possible, but can i do it without rooting?
or if only rooting is possible, is there a way to unroot 100%? because some apps detect im rooting.
can i acess "build.pro" and edit it without rooting too?
i also own a samsung j7 prime and followed tutorial below and worked very well with a little downsides, its detectable by some apps including banks apps
Any help is welcome
https://forum.xda-developers.com/galaxy-j7/how-to/multi-user-samsung-galaxy-j7-j5-t3217939
Step 1. Open FileExplorer (Es file explorer, preferable)
Step 2. Go to "Device"
.
Search for "build.prop"
Edit and add the below string at the end of the editor and save and reboot !
fw.max_users=10
fw.show_multiuserui=1
You'll need root to edit build.prop.
Amaterasus said:
Hello guys, im facing this problem and maybe u all can help me,
actually i got motorola one (not power) and i noticed this function multi-user with up to 5 users isollated. so i wanna increase this number of accounts up to 10, i know its possible, but can i do it without rooting?
or if only rooting is possible, is there a way to unroot 100%? because some apps detect im rooting.
can i acess "build.pro" and edit it without rooting too?
i also own a samsung j7 prime and followed tutorial below and worked very well with a little downsides, its detectable by some apps including banks apps
Any help is welcome
https://forum.xda-developers.com/galaxy-j7/how-to/multi-user-samsung-galaxy-j7-j5-t3217939
Step 1. Open FileExplorer (Es file explorer, preferable)
Step 2. Go to "Device"
.
Search for "build.prop"
Edit and add the below string at the end of the editor and save and reboot !
fw.max_users=10
fw.show_multiuserui=1
Click to expand...
Click to collapse
Yes you need root to find build.prop. But you can extract build prop using adb pull location in twrp and edit it on PC, then reinstall firmware *DONT UNROOT VIA MAGISK ALMOST HARDBRICKED MY MOTO ONE* when your done reinstalling firmware then use adb push location build.prop
borksek said:
Yes you need root to find build.prop. But you can extract build prop using adb pull location in twrp and edit it on PC, then reinstall firmware *DONT UNROOT VIA MAGISK ALMOST HARDBRICKED MY MOTO ONE* when your done reinstalling firmware then use adb push location build.prop
Click to expand...
Click to collapse
"But you can extract build prop using adb pull location in twrp and edit it on PC, then reinstall firmware *DONT UNROOT VIA MAGISK ALMOST HARDBRICKED MY MOTO ONE* when your done reinstalling firmware then use adb push location build.prop"
With this method root is needed? is there any tutorial so i can follow your instruction and put it to work? i know how to use adb and insert commands at cmd.
Baseband: M8953_16.15.02.19R DEEN_LATAMDSDS_CUST
Product/Variant: DEEN XT1941-3 64GB PVT1
i found this firmware https://www.getdroidtips.com/motorola-one-android-pie-update/ , this one is the correct for my mobile. can i edit this rom (build.prop) and flash it to work with above 5 users? what you think?
with my searchs i found the pull push command, https://www.**********.com/push-pull-files-android-using-adb-commands/
so basically, run adb look for the build.prop and pull it to adb folder, edit the file into pc to 10 users (fw.max_users=10) save, adb push command and done, reboot? thats right ?
Amaterasus said:
"But you can extract build prop using adb pull location in twrp and edit it on PC, then reinstall firmware *DONT UNROOT VIA MAGISK ALMOST HARDBRICKED MY MOTO ONE* when your done reinstalling firmware then use adb push location build.prop"
With this method root is needed? is there any tutorial so i can follow your instruction and put it to work? i know how to use adb and insert commands at cmd.
Baseband: M8953_16.15.02.19R DEEN_LATAMDSDS_CUST
Product/Variant: DEEN XT1941-3 64GB PVT1
Click to expand...
Click to collapse
If your rooted, please search using es file explorer for build prop location since idk where it is located but I know the command
borksek said:
If your rooted, please search using es file explorer for build prop location since idk where it is located but I know the command
Click to expand...
Click to collapse
i dunno if its safe to root my mobile, is there a tutorial for my model? can be unrooted? if not using magisk?
Solved with pull/push command though adb.
@Close Request
Amaterasus said:
Solved with pull/push command though adb.
@Close Request
Click to expand...
Click to collapse
See if you wanna close the thread, report it as non-urgent then say close thread.
Thread closed by OP request

How To Guide Automated GSI build script (Linux/WSL)

I've spent last day automating the guide at https://forum.xda-developers.com/t/guide-t220-t225-flash-a-gsi-on-the-a7-lite-without-twrp.4456821/ into a bash script (linux only)!
Here it is releasing it for anyone that needs it
Code:
I am not responsible whatever happens to your device
by using this script, i have tested it on my own device
and it worked but it may or may not work for you.
I will do my best to help you but that may be limited
as i have other responsibilities in life
Before starting read the third post
Usage​Download the your desired firmware from somewhere like samfw.com and extract it
Download your desired GSI image and extract it
Download otatools-mini, gsi-build script and vbmeta image, place them all together inside one directory (extract the otatools-mini next to the script)
Download patched odin
Run this in Linux or WSL!
Code:
$ ./build-gsi.sh <PATH TO YOUR AP FILE .tar.md5> <PATH TO GSI .img>
And let it do the work, may take a while depending on your PC
You may get something like this in the process, ignore it
Code:
Invalid sparse file format at header magic
Then go into download mode (VOLUME UP and DOWN when plugging in USB) and flash the CUSTOM_AP file you got from the script and BL, CSC from the firmware you used, DO NOT USE HOME_CSC
Reboot into recovery and factory reset (VOLUME UP while booting)!
If you are getting dm-verify error then flash the vbmeta_disabled_R (it needs to be .tar, extract it) in odin as AP and try rebooting again into recovery
Downloads​I used to provide one archive but it was large and i couldnt change the script without reuploading it so i am going to use gist for the script and provide other files separately
ota-tools-mini
build-gsi.sh
Getting Help​If you want me to help you ALWAYS post full output from the script, and make sure to use the latest script from the gist
I've spent a lot of time trying to make it work with all GSIs but i could not get it to work consistently
By default it works for all smaller GSIs, if you get the following error
Code:
ERROR: Output image is bigger than original super image, rerun the script with correct super image size
Then you will have to manually provide the new super size which i cannot help you with try to guess but it has to be divisible by 512
Not enough free space to expand partition: vendor
error while repacking
i have a lot of space . but it shows me like that
lpmake E 01-15 23:22:16 100 100 builder.cpp:698] [liblp]Not enough free space to expand partition: vendor
i am using debian wsl
Please post full script log in a spoiler or pastebin
sandorex said:
Please post full script log in a spoiler or pastebin
Click to expand...
Click to collapse
Could you try normal AP file not the magisk patched, i do not know how it modifies it
Also from my experience you do not need to patch whole AP file for magisk, you just need to patch the boot.img, zip it then flash it
OK . i will try
i tried with original ap file but same error
dxsyrz said:
i tried with original ap file but same error
Click to expand...
Click to collapse
It seems for some reason your gsi is too big, i managed to reproduce it, ill see if i can fix it
@dxsyrz can you test this one, it should work now
EDIT: i've updated the gist so you can just use that instead
good util but test more.
tom.android said:
good util but test more.
Click to expand...
Click to collapse
It worked for me, i would not release it if it did not work
sandorex said:
It worked for me, i would not release it if it did not work
Click to expand...
Click to collapse
OK sorry to write that message.
sandorex said:
It worked for me, i would not release it if it did not work
Click to expand...
Click to collapse
Well, something did not work in my case:
:: Uncompressing super image
super.img.lz4 : decoded 5637366988 bytes
:: Running simg2img
./build-gsi.sh: line 79: /mnt/c/Users/Zero/Desktop/otatools-mini/otatools-mini/simg2img: No such file or directory
^ Despite the files actually existing. You tell me cuz I've no idea (do note I do know how to do this manually, was just trying your script to simplify everything).
nirogu325 said:
Well, something did not work in my case:
:: Uncompressing super image
super.img.lz4 : decoded 5637366988 bytes
:: Running simg2img
./build-gsi.sh: line 79: /mnt/c/Users/Zero/Desktop/otatools-mini/otatools-mini/simg2img: No such file or directory
^ Despite the files actually existing. You tell me cuz I've no idea (do note I do know how to do this manually, was just trying your script to simplify everything).
Click to expand...
Click to collapse
You need to place otatools-mini in folder next to the script not together with the script
hi i have this problem
izimen said:
hi i have this problem
View attachment 5814501
Click to expand...
Click to collapse
You havs a space in your path, its actually a bug but you can jist move the files to somewhere without spaces
EDIT: Fixed it on gist
sandorex said:
You havs a space in your path, its actually a bug but you can jist move the files to somewhere without spaces
EDIT: Fixed it on gist
Click to expand...
Click to collapse
ok i try
bro it worked thank you I managed to make it work with a GSI and when I try with another I have this error

Categories

Resources