[TOOL][7870] Universal repartition script for vendor support - Samsung Galaxy A3, A5, A7 (2017) Themes, Apps, and

UNIVERSAL REPARTITION SCRIPT FOR THE 7870
DISCLAIMER
I am 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 me for messing up your device, I will laugh at you.
Flashing this script will delete system, vendor, cache and data partitions (including internal storage) so make a good backup first!
FEATURES
Supported devices: A3 2017, A6 2018, J6 2018, J5 2017, J7 2016, J7 2017, J7 Nxt and J7 Prime
It can be flashed being in stock or modded partitions
It will set 4096Mb for SYSTEM, 512Mb for VENDOR, 64Mb for CACHE and 128Mb for ODM in devices that support it. You can mod these values in repartition.sh script, and set the values you want.
CAUTION: FLASHING IT WILL DELETE SYSTEM, VENDOR, CACHE AND ALSO DATA PARTITION, so internal storage will be wiped too!
To revert, best way is to flash your device PIT file in ODIN
Remember: FLASH AT YOUR OWN RISK!
INSTRUCTIONS
Remember, your internal storage will be wiped flashing this!
Highly recommended to use an updated recovery
Flash the attached zip file. The script itself will reboot the phone in recovery once done
Now in recovery again, wipe system, cache and vendor and format data
That's all!
SUPPORT
Telegram group
CREDITS
@DAvinash97 for ideas and tips

How to set different partition sizes?
Open universal7870_repartitioner_V1.0.zip, and extract repartition.sh file. Then open it with a text editor and locate these lines:
SYSTEMSIZE=4096
VENDORSIZE=512
CACHESIZE=64
If you wan to change, for example, SYSTEM partition size, then mod SYSTEMSIZE and set a value in Mb. If you want 2gb, then put SYSTEMSIZE=2048
Once modded, add again repartition.sh to universal7870_repartitioner_V1.0.zip and flash it in recovery. Remember that every time you flash it, your internal stogare will be deleted.

I am seeing butter s20 experience now!!!!!!!
Astrako said:
UNIVERSAL REPARTITION SCRIPT FOR THE 7870
DISCLAIMER
I am 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 me for messing up your device, I will laugh at you.
Flashing this script will delete system, vendor, cache and partitions (including internal storage) so make a good backup first!
FEATURES
Supported devices: A3 2017, A6 2018, J6 2018, J5 2017, J7 2016, J7 2017, J7 Nxt and J7 Prime
It can be flashed being in stock or modded partitions
It will set 4096Mb for SYSTEM, 512Mb for VENDOR, 64Mb for CACHE and 128Mb for ODM in devices that support it. You can mod these values in repartition.sh script, and set the values you want.
CAUTION: FLASHING IT WILL DELETE SYSTEM, VENDOR, CACHE AND ALSO DATA PARTITION, so internal storage will be wiped too!
To revert, best way is to flash your device PIT file in ODIN
Remember: FLASH AT YOUR OWN RISK!
INSTRUCTIONS
Remember, your internal storage will be wiped flashing this!
Highly recommended to use an updated recovery
Flash the attached zip file. The script itself will reboot the phone in recovery once done
Now in recovery again, wipe system, cache and vendor and format data
That's all!
SUPPORT
Telegram group
CREDITS
@Davinash97 for ideas and tips
Click to expand...
Click to collapse
KEEP IT SAR, YOU'RE THE GUARDIAN ANGEL OF EXYNOS 7870

Awesome!

Astrako said:
UNIVERSAL REPARTITION SCRIPT FOR THE 7870
DISCLAIMER
I am 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 me for messing up your device, I will laugh at you.
Flashing this script will delete system, vendor, cache and partitions (including internal storage) so make a good backup first!
FEATURES
Supported devices: A3 2017, A6 2018, J6 2018, J5 2017, J7 2016, J7 2017, J7 Nxt and J7 Prime
It can be flashed being in stock or modded partitions
It will set 4096Mb for SYSTEM, 512Mb for VENDOR, 64Mb for CACHE and 128Mb for ODM in devices that support it. You can mod these values in repartition.sh script, and set the values you want.
CAUTION: FLASHING IT WILL DELETE SYSTEM, VENDOR, CACHE AND ALSO DATA PARTITION, so internal storage will be wiped too!
To revert, best way is to flash your device PIT file in ODIN
Remember: FLASH AT YOUR OWN RISK!
INSTRUCTIONS
Remember, your internal storage will be wiped flashing this!
Highly recommended to use an updated recovery
Flash the attached zip file. The script itself will reboot the phone in recovery once done
Now in recovery again, wipe system, cache and vendor and format data
That's all!
SUPPORT
Telegram group
CREDITS
@Davinash97 for ideas and tips
Click to expand...
Click to collapse
How will I know if this transaction has been successful?

J710X means that only 1 letter behind 710 is supported, right? so my J710FN isn't supported?

It isn't working on J7 Prime G610M trebelized using Create Vendor 2.0.
Nothing changes after flashing this zip... that's sad

Adriano-A3 said:
It isn't working on J7 Prime G610M trebelized using Create Vendor 2.0.
Nothing changes after flashing this zip... that's sad
Click to expand...
Click to collapse
Try using the latest orangefox recovery

Djkcool2910 said:
Try using the latest orangefox recovery
Click to expand...
Click to collapse
It was my first shot. As it didn't work, I installed some TWRP versions for trying... nothing works.

can i use this on samsung j7 pro j730GM variant ? plz reply

working
_DoomD_ said:
J710X means that only 1 letter behind 710 is supported, right? so my J710FN isn't supported?
Click to expand...
Click to collapse
working to me in my J710FN.

After flash, what the size of USERDATA partition?

SyntaxDroid said:
After flash, what the size of USERDATA partition?
Click to expand...
Click to collapse
It is the whole remaining available space in your device
---------- Post added at 08:36 AM ---------- Previous post was at 08:34 AM ----------
Pradeep1998 said:
can i use this on samsung j7 pro j730GM variant ? plz reply
Click to expand...
Click to collapse
If your device is j7 2017, then yes.

_DoomD_ said:
J710X means that only 1 letter behind 710 is supported, right? so my J710FN isn't supported?
Click to expand...
Click to collapse
j710fn is Supported

There is a way i can expand the internal storage? Because i used this script to flash H-ROM on my SM-G610M but now i just have 9.63GB, thank you

Pradeep1998 said:
can i use this on samsung j7 pro j730GM variant ? plz reply
Click to expand...
Click to collapse
works on.my j730gm

After trying this, I reverted it using odin and the PIT file, but when connecting my phone to my computer when my phone is on TWRP it shows as a galaxy a7 instead of j6, also installing orange fox from TWRP, it tells me "this package is for j6lte. This device (a7y17lte) is not supported". The weirdest part is that it does show up as J6 outside TWRP
How do I make it get recognized as j6lte again?

jjgvv said:
works on.my j730gm
Click to expand...
Click to collapse
Works in my j730g thanks @Astrako

تحتاج 3.6 جيجا بايت ل g610f
Rom radical quack 4.2 port note9
How i can change partition
How do I divide System size and vendor . size and cach . size

Ant4rez said:
There is a way i can expand the internal storage? Because i used this script to flash H-ROM on my SM-G610M but now i just have 9.63GB, thank you
Click to expand...
Click to collapse
edit value

Related

[Repartition][Flashable Zips] Increase GT-I9082/L Storage

Code:
#include
/*
* Your warranty is now void.
*
* I am 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 File
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Flashable Zips to increase Storage For GT-I9082
Important Notes :
This will delete all your data [ Including your ROM ] BACK THEM UP FIRST
You can't flash any stock-based ROM after re-partitioning unless you go back to stock-partition table ( see post #4 )
Instructions
1. Backup Your EFS , Read More Here
2. Copy <Partition-Size>.Zip and Ex2-Ex4 To your SD card
3. Boot to Recovery [Don't use TWRP] [ CWM 6.0.5.0 Recommened ]
4. Flash <Partition-Size>.Zip [ The Recovery Should Reboot Automatically ]
5. Flash Ex2-Ex4.Zip
6. Flash your ROM / Restore Your ROM Backup (Nandroid)
7. Flash GApps [Optional]
8. Reboot
MUST READ
1. You won't be able to install Lollipop and above ROMs after you flash 6.475GB ( But You will be able to flash Kitkat and lower normally )
2. Don't use Ex2-F2FS.zip unless you know what is F2FS [See The FAQ], And you know a Kernel / Rom That Supports it [K2wl's Cosmic4.4.4 ROM For Example], If you know a kernel then flash it after flashing the ROM immediately otherwise you will get stuck in a bootloop ( or on Samsung Galaxy grand Logo )
Downloads
5.975GB
6.175GB
6.275GB
6.375GB
Ex2-Ex4
Use this one with Caution:
6.475GB
Changelog
20-7-2015 :
Re-added Ex2-Ex4 [ Because Partitions didn't get converted correctly after the merge ]
Cleaned Ex2-Ex4 Code
18-7-2015 :
Re-named The Zips to : 5.975GB, 6.175GB, 6.275GB, 6.375GB And 6.475GB .
Merged Ex2-Ex4.Zip with 5.975GB, 6.175GB, 6.275GB, 6.375GB And 6.475GB ( Now You don't need to Flash EX2-Ex4 )
Cleaned The Code
Removed Ex2-F2FS
30-5-2015:
Named the partitions
29-5-2015:
Added Ex2-F2FS.zip
25-5-2015
Fixed Error (status 127) while Flashing Ex2-Ex4.Zip file
24-5-2015:
Added:
GT-I9082-IncreaseStorage-6.18GB.Zip
GT-I9082-IncreaseStorage-6.28GB.Zip
GT-I9082-IncreaseStorage-6.38GB.Zip
GT-I9082-IncreaseStorage-6.48GB.Zip
24-5-2015:
Initial Release
Frequently Asked Questions
1. Can i use this on Stock android ?
Yes but all your data will be deleted anyway [Including the Stock/Custom ROM] so you'll need to flash a Custom ROM after applying this file and you can't go back to stock android unless you Reset partition Table
2. I want to reset partitions table and go back to stock android
Refer to http://forum.xda-developers.com/showpost.php?p=60931021&postcount=4
3. After i flashed <Partition-Size>.Zip my phone Stuck at Galaxy grand Duos Logo
A. Remove the Battery
B. Put it in the phone again
C. Boot to recovery and Flash Ex2-Ex4 and then flash your ROM
4. I'm getting insufficient storage when i try to install Gapps, what should i do ?
Try to install a Gapps that doesn't use much Space in System Partition
5. Why are there different Files ?
Every file is different in how much it increase the Storage and every file's name is the Final Data Partition Size ( E.g. <Partition Size>.Zip )
6. Why don't i get the Right Storage Size [ E.g when i flash 6.375 i get 5.84 ]
> ROM and GApps take some space from data partition So it appears as 5.84
7. What is F2FS ?
> F2FS (Flash-Friendly File System) is a flash file system created by Kim Jaegeuk at Samsung for the Linux operating system kernel. The motive for F2FS was to build a file system that from the start takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.
More interesting improvment by f2fs described here [Must Read]
8. After i flashed Ex2-F2FS.Zip Nothing Happens, Why ?
> You Can't use any Recovery Except Phliz by @k2wl because he Modified it to flash the Zip correctly
9. Why can't i use TWRP to flash this Zip ?
> Because TWRP lacks of “parted” binary required for repartitioning.
Credits
@k2wl For His Guide
@Irwenzhao For His Zip
XDA:DevDB Information
Increase GT-I9082/L Storage, Tool/Utility for the Samsung Galaxy Grand Duos i9082
Contributors
ym123, k2wl, irwenzhao
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2015-05-29
Beta Release Date: 2015-05-24
Created 2015-05-24
Last Updated 2015-07-20
Reserved
Reserved
How to restore a bricked device or how to restore the device if something goes wrong?
FILES REQUIRED : baffin.pit https://basketbuild.com/filedl/devs?dev=rutvikrvr&dl=rutvikrvr/i9082/restore/baffin.pit
Any stock ROM (link for mk3) : https://docs.google.com/file/d/0B80jsFgYZGOhRHJoY200Zktyekk/edit
ODIN: http://forum.xda-developers.com/attachment.php?attachmentid=1751204&d=1361535462
STEP 1 : In the PIT option add .. the baffin.pit AND IN THE PDA OPTION PUT THE FIRMWARE
STEP 2 : HIT START AND ONCE ITS COMPLETE YOUR PHONE SHOULD WORK FINE ...THEN YOU CAN ROOT YOUR DEVICE AND TRY THIS PROCEDURE AGAIN
Not working.Error(status 2)
billclinton70 said:
Not working.Error(status 2)
Click to expand...
Click to collapse
Ext2-Ext4 or GT-I9082-IncreaseStorage ?
Yousef Mohamed said:
Ext2-Ext4 or GT-I9082-IncreaseStorage ?
Click to expand...
Click to collapse
GT-I9082-IncreaseStorage
billclinton70 said:
GT-I9082-IncreaseStorage
Click to expand...
Click to collapse
Did you try the recommended recovery ?
if you didn't please try it and tell me the result
Yousef Mohamed said:
Did you try the recommended recovery ?
if you didn't please try it and tell me the result
Click to expand...
Click to collapse
Yes I did.
I followed the steps 1 to 4
billclinton70 said:
Yes I did.
I followed the steps 1 to 4
Click to expand...
Click to collapse
OP Updated Sorry for making you wait
you might face error status 127 after "done" in Ex2-Ex4
don't freak out its nothing
Yousef Mohamed said:
OP Updated Sorry for making you wait
you might face error status 127 after "done" in Ex2-Ex4
don't freak out its nothing
Click to expand...
Click to collapse
It's working fine now.Increased storage to 5.48GB
Thanks
billclinton70 said:
It's working fine now.Increased storage to 5.48GB
Thanks
Click to expand...
Click to collapse
Its 5.9 originally but ROM and GAPPs take some space from data partition so it appears as 5.48 , anyway I will upload 2 new Zip files one will be 6.1 and the other will be 6.2 or bigger
Yousef Mohamed said:
Its 5.9 originally but ROM and GAPPs take some space from data partition so it appears as 5.48 , anyway I will upload 2 new Zip files one will be 6.1 and the other will be 6.2 or bigger
Click to expand...
Click to collapse
Yes ,I know that.
Will try the other two files:good:
After flashing ur 2 zip files can I restore my back from recovery??
Mehul.S said:
After flashing ur 2 zip files can I restore my back from recovery??
Click to expand...
Click to collapse
Yes you can,that's what I did
billclinton70 said:
Yes you can,that's what I did
Click to expand...
Click to collapse
Ok.. Back up means nandroid back right??
Sent from my GT-I9082 on Resurrection Remix Rom
Mehul.S said:
Ok.. Back up means nandroid back right??
Sent from my GT-I9082 on Resurrection Remix Rom
Click to expand...
Click to collapse
Yes
billclinton70 said:
Yes
Click to expand...
Click to collapse
Well thanks for the help and quick answers.. Sorry to irritate you if I did.. [emoji14]
Sent from my GT-I9082 on Resurrection Remix Rom
Mehul.S said:
Well thanks for the help and quick answers.. Sorry to irritate you if I did.. [emoji14]
Sent from my GT-I9082 on Resurrection Remix Rom
Click to expand...
Click to collapse
It's OK.No problem
Mehul.S said:
Ok.. Back up means nandroid back right??
Sent from my GT-I9082 on
Resurrection Remix Rom
Click to expand...
Click to collapse
You can Make an Nandroid
Or backup them with Titanium Backup
Making Nandroid is better for those who don't want much fuss after flashing Repartition Zip ( if they don't have an Nandroid they will need to set up their phones again and then restore apps from TB/Google Play store which take long time )

[Flashable][GT-I9070] EMMC repartition

Hello, am new here so if I did something wrong please correct me OK
-presentation:
we all love running latest android versions and install big a** games like asphalt 8 and have all the Google apps that we love
But in Janice it's some kind of impossible to do all of that ( come on its only 4 years old!!)
As they say no impossible under the sun now you can easily increase system or data or what ever partition your want just by flashing a Lil file and without losing a single file
-Warning:
Me and XDA are not responsible for any soft hard leaks or what ever you are doing this by your self!!!
Make a full backup(system data boot) before starting..
DO NOT USE THIS FILE WITH ROMS THAT USE CACHE (CM10.2)
-Requirements:
1. Janice or Janice-p(not tested)
2. TWRP Recovery (Any Version)
3. The attached file
Instruction:
1. Download the repartition file
-rename the file with your favorite partition sizes like "lanchon-repit-20160317-system=1-data=max-cache=0.03125 wipe-preload=min wipe-fota=min wipe ext4-sdcard=2-janice.zip" which means 1gb system 2gb sdcard and the rest will go to data partition so you will be able to install more apps
2. Boot into TWRP and make a backup
3. Flash the repartition file of your desire
4. Take a nap or watch big bang theory just waste some time
5. When the script finish restore your backup and reboot
6. Enjoy your games or what ever
-Credit:
1. @Lanchon
2. @madkita
If you want a file with your own sizes just write or in comments and i'll do my best to offer it to you
hi,
thanks for the guide! a couple of comments:
1) i suggest people get REPIT from its main site:
https://github.com/Lanchon/REPIT
the files posted here are already very old, i've updated REPIT several times.
also, i only provide support for the latest version. older versions are unsupported.
2) if you download the files from here, they will not work.
(XDA messes with the filenames changing = for -)
3) you don't need to backup anything unless you want to revert the flashing of the kernel.
4) you don't need to flash any particular kernel to run REPIT, you just need a recent TWRP build.
5) TWRP with gparted is not needed anymore: REPIT now bundles gparted and other tools.
6) the configurations proposed here are incorrect. you should use:
a) if you want 3GB data and rest as internal sdcard:
-system=1.0-data=3.0-cache=0.03125+wipe-preload=min+wipe-fota=min+wipe+ext4-sdcard=max.zip
b) if you have an external sdcard, and want 6GB data and a very small internal sdcard:
-system=1.0-data=max-cache=0.03125+wipe-preload=min+wipe-fota=min+wipe+ext4-sdcard=0.0625+wipe.zip
then your internal sdcard will be useless. so you need to swap internal and external sdcards as detailed here:
http://forum.xda-developers.com/gal...ment/mod-internal-memory-repartition-t2863629
these configurations will keep contents of system and data. if you don't care about their contents, configure wiping (add '+wipe') for those partitions and REPIT will repartition much faster then.
7) read REPIT manual before using!
https://github.com/Lanchon/REPIT
Lanchon said:
hi,
thanks for the guide! a couple of comments:
1) i suggest people get REPIT from its main site:
https://github.com/Lanchon/REPIT
the files posted here are already very old, i've updated REPIT several times.
also, i only provide support for the latest version. older versions are unsupported.
2) if you download the files from here, they will not work.
(XDA messes with the filenames changing = for -)
3) you don't need to backup anything unless you want to revert the flashing of the kernel.
4) you don't need to flash any particular kernel to run REPIT, you just need a recent TWRP build.
5) TWRP with gparted is not needed anymore: REPIT now bundles gparted and other tools.
6) the configurations proposed here are incorrect. you should use:
a) if you want 3GB data and rest as internal sdcard:
-system=1.0-data=3.0-cache=0.03125 wipe-preload=min wipe-fota=min wipe ext4-sdcard=max.zip
b) if you have an external sdcard, and want 6GB data and a very small internal sdcard:
-system=1.0-data=max-cache=0.03125 wipe-preload=min wipe-fota=min wipe ext4-sdcard=0.0625 wipe.zip
then your internal sdcard will be useless. so you need to swap internal and external sdcards as detailed here:
http://forum.xda-developers.com/gal...ment/mod-internal-memory-repartition-t2863629
these configurations will keep contents of system and data. if you don't care about their contents, configure wiping (add ' wipe') for those partitions and REPIT will repartition much faster then.
7) read REPIT manual before using!
https://github.com/Lanchon/REPIT
Click to expand...
Click to collapse
Thus settings are right this is the same file I used and it worked perfectly and I told you I created this threat for noobs who can't understand github and there download section is not working for me it says "try again in 30 minutes" that's why I use old files
madkita said:
Thus settings are right this is the same file I used and it worked perfectly and I told you I created this threat for noobs who can't understand github and there download section is not working for me it says "try again in 30 minutes" that's why I use old files
Click to expand...
Click to collapse
lol no, without the '-sdcard=...' specifier those files won't work, trust me.
Lanchon said:
lol no, without the '-sdcard=...' specifier those files won't work, trust me.
Click to expand...
Click to collapse
Yeah thank you updated OP
first of all thank you both
just to be sure, i have a couple of questions:
- how much space does a full backup take?
- what is the limit to the repartition? right now i'd like to add one gigabyte to system for apps, which numbers do i need to write in the zip name?
- what does the "wipe preload" and "wipe fota" strings do?
TheSteve87 said:
first of all thank you both
just to be sure, i have a couple of questions:
- how much space does a full backup take?
- what is the limit to the repartition? right now i'd like to add one gigabyte to system for apps, which numbers do i need to write in the zip name?
- what does the "wipe preload" and "wipe fota" strings do?
Click to expand...
Click to collapse
In TWRP it will be around 500-600mb with compression
lanchon-repit-20160317-system=1-data=max-cache=0.03125 wipe-preload=min wipe-fota=min wipe ext4-sdcard=2-janice.zip
Just rename the file to this and your will have 1gb system 2gb SD card and the rest well go to data if you want to edit a partition size for example the number 1 after system means the system will be 1gb and the number 2 in front of SD card means the SD card will be 2gb and max in front of data means the rest well go to data partition
Preload and fota are partition used in only stock ROMs and stock based ROMs so if you are running a custom ROM this will give you more space in the partition your set to max
thanks to both devs, i have one question is it compatible with cm13 ?
will i be able to re-size F2fs or i need a EXT4 to use this tool .
i just did everything but i'm not sure it worked
i used this name for the flashable zip
lanchon-repit-20160317-system=1-data=max-cache=0.03125 wipe-preload=min wipe-fota=min wipe ext4-sdcard=2-janice
but in system info it still says that data is 3.91GB, and i have 1.84GB for SDcard
maybe i should have gone further and give 3GB to SDcard?
TheSteve87 said:
i just did everything but i'm not sure it worked
i used this name for the flashable zip
lanchon-repit-20160317-system=1-data=max-cache=0.03125 wipe-preload=min wipe-fota=min wipe ext4-sdcard=2-janice
but in system info it still says that data is 3.91GB, and i have 1.84GB for SDcard
maybe i should have gone further and give 3GB to SDcard?
Click to expand...
Click to collapse
Yup it works if your wanna check system download a small app called disk info
If you want 3gb on sdcard change the 2 number in front of it this will give you 2gb on data
DaksAnkit said:
thanks to both devs, i have one question is it compatible with cm13 ?
will i be able to re-size F2fs or i need a EXT4 to use this tool .
Click to expand...
Click to collapse
Yup 100%
Make a backup first and when resizing all partitions will be formated to ext4 then restore your backup it will automatically format them to f2fs
ayt man thanks , trying it right away !!
edit : getting error 1 in twrp 3.0.0 on cm13 rom I THOUGHT IT WAS compatible with repit , as said on the GITHUB
also i tried flashing zip from github page of lanchon , that zip also did not worked it said something like couldn`t find meta-inf lanchon REPIT.
??? where did i went wrong i just flashed the zip from twrp it did nt worked i moved the file to /tmp then tried there also same error .
DaksAnkit said:
ayt man thanks , trying it right away !!
edit : getting error 1 in twrp 3.0.0 on cm13 rom I THOUGHT IT WAS compatible with repit , as said on the GITHUB
also i tried flashing zip from github page of lanchon , that zip also did not worked it said something like couldn`t find meta-inf lanchon REPIT.
??? where did i went wrong i just flashed the zip from twrp it did nt worked i moved the file to /tmp then tried there also same error .
Click to expand...
Click to collapse
Cm13 recovery doesn't have parted script you have to use the recovery I provided in first post just follow it
madkita said:
Cm13 recovery doesn't have parted script you have to use the recovery I provided in first post just follow it
Click to expand...
Click to collapse
nope , it says error 1
invalid partition configuration ,.. sdcard : sdcard=max.zip
i flashed the kernel then renamed the file attached to ..
-system=1.0-data=3.0-cache=0.03125+wipe-preload=min+wipe-fota=min+wipe+ext4-sdcard=max.zip
something is not right can you please help , i would like to have 1 gb system n 2 or 3gb in data partitions correct me if i am wrong if the size configuration is wrong ?? what should i do.
also so i have to now restore my backup to get back to cm13 coz i am stuck at recovery ? any shortcut,like(flashing cm13 kernel) to go back to system as it was before or i have to restore the backup ?
DaksAnkit said:
nope , it says error 1
invalid partition configuration ,.. sdcard : sdcard=max.zip
i flashed the kernel then renamed the file attached to ..
-system=1.0-data=3.0-cache=0.03125+wipe-preload=min+wipe-fota=min+wipe+ext4-sdcard=max.zip
something is not right can you please help , i would like to have 1 gb system n 2 or 3gb in data partitions correct me if i am wrong if the size configuration is wrong ?? what should i do.
Click to expand...
Click to collapse
Use this and don't miss with it
lanchon-repit-20160317-system=1-data=2-cache=0.03125+wipe-preload=min+wipe-fota=min+wipe+ext4-sdcard=max-janice.zip
madkita said:
Use this and don't miss with it
lanchon-repit-20160317-system=1-data=2-cache=0.03125+wipe-preload=min+wipe-fota=min+wipe+ext4-sdcard=max-janice.zip
Click to expand...
Click to collapse
Thanks man , i sorted it out the problem was silly , i had checked option in windows to
HIDE EXTENSION NAMES OF KNOWN FILE TYPES , so i was just copying and the .zip kepton adding twice
.zip.zip and that is what was happening anyhow the device has started reparting , so one last question after when this process is over , i just install my backup and that is it ? right !!
DaksAnkit said:
Thanks man , i sorted it out the problem was silly , i had checked option in windows to
HIDE EXTENSION NAMES OF KNOWN FILE TYPES , so i was just copying and the .zip kepton adding twice
.zip.zip and that is what was happening anyhow the device has started reparting , so one last question after when this process is over , i ust install my backup and that is it ? right !!
Click to expand...
Click to collapse
Yup just restore your backup and you're done ?
madkita said:
yup just restore your backup and you're done
Click to expand...
Click to collapse
alrighty then !!
:good:
I`ll post how did it go later in the thread .
you have a good day bro enjoy sunday .. cheers
Can someone here confirm that the kernel cm12.1 (OP) can be installed in the latest CM11 ROM by epirex? And if repit could work after 12.1 Kernel installed in CM11 ROM? Thanks in advance.
TPD-21 said:
Can someone here confirm that the kernel cm12.1 (OP) can be installed in the latest CM11 ROM by epirex? And if repit could work after 12.1 Kernel installed in CM11 ROM? Thanks in advance.
Click to expand...
Click to collapse
First make a backup with your cm11's kernel then flash cm12.1 kernel then flash the script and the kernel doesn't t care about your current rom so it should work every where

[PATCHER] [APP] Dual Boot Patcher For Galaxy J2 [j2lte] [j23g]

Hey there, I'm proud to present the first dual boot project for the Galaxy J2 (all variants).
This will allow any number of ROMs to be installed at the same time. It works by patching the secondary ROM's installation scripts and boot image to load the ROM files from an alternate location (/system/multiboot, /cache/multiboot, and /data/multiboot). Because of the way this is implemented, no changes to the primary ROM are necessary
So, first things first :
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/
Click to expand...
Click to collapse
It patches...
Custom kernels for dual boot support
ROMs so that they can be installed as secondary
Google Apps packages for AOSP-based ROMs
SuperSU so that it can be used in the secondary ROM
NOTE: If you want to dualboot a TouchWiz ROM, I highly recommend installing TW as the primary ROM. Otherwise, any mods will need to be patched before flashing.
How to use the patcher
Code:
[B]Android
[/B]
Download the patcher apk and run it. Tap "Patch Zip File" from the navigation drawer and choose the file you want to patch.
[B]Windows (GUI)[/B]
Double click DualBootPatcher.exe and choose the file you want to patch.
--------
After patching the zip file, a new file, like some_rom_dual.zip file will be created. For example, patching ktoonsez's
Romname_dual.zip
would create a new
Rom_name_dual.zip
Instructions for dual booting
Before doing anything, download the Dual Boot Patcher app and the DualBootUtilities.zip from the download section below.
The patcher offers several locations for installing ROMs:
Primary: This is normally used for installing a zip to the primary ROM. It is not required, but is strongly recommended because it has code to prevent the zip from inadvertently affecting other ROMs.
Dual: Dual/Secondary is the first multiboot installation location. It installs to the system partition. This is a good spot for installing a second ROM because it doesn't take any space away from the internal storage.
Multi-slots: There are 3 multislots: multi-slot-1, multi-slot-2, multi-slot-3. These install to the cache partition. This is specifically for devices, like the Galaxy S4, that have a massive cache partition.
Data-slots: There can be an unlimited number of data slots. These install to the data partition and eat up space on the internal storage. This is useful for devices where the system partition is nearly full and the cache partition is tiny. These slots are named "data-slot-[id]", where "id" is something you provide in the app.
Extsd-slots: There can be an unlimited number of extsd slots. These install to the external SD card, which is useful as it keeps the ROMs off of the internal storage. Note that the ROM's data files are still stored on the data partition.
With that said, let's get to the "how to"!
First, boot into your primary ROM and install the Dual Boot Patcher app
Open the app and go to "Roms" in the navigation drawer. It will ask if you want to set the kernel. Make sure that you do.
Go to "Patch zip file" in the navigation drawer and patch the ROM or zip you want to install. You can select one of the installation locations described above.
There are two ways of flashing the patched zip file. You can either flash it normally from recovery or flash it using the in-app flashing feature. Both methods are explained below.
Flashing from recovery
To flash from recovery, just flash the patched zip file like you would for any other zip. Nice and simple.
In-app flashing
To use in-app flashing, go to "Roms" in the navigation drawer, tap the floating button on the bottom right, and add the zips you want to install. You can queue multiple zips and they will all be flashed in one go. Once you've added all the zips you want to flash, click the check mark in the action bar and they will be flashed right away.
A normal backup from recovery will backup every ROM. If you would like to back up ROMs individually, please see @rlorange's awesome tool: http://forum.xda-developers.com/show....php?t=2491299
Switch the ROM if something doesn't work properly?
You can flash the DualBootUtilities zip from recovery. It will provide a menu interface that allows switching to the various ROMs.
If you have TWRP, you can also switch manually by tapping Install -> Images (bottom right) -> Go to /sdcard/MultiBoot/[Your ROM]/ -> flash boot.img.
Wipe /cache, /data, /system, or dalvik-cache?
The easiest way is to do it from the app while booted in another ROM. Just go to "Roms" in the navigation drawer, tap the 3 dots options menu for the ROM you want to wipe, and tap "Wipe ROM".
Alternatively, flash the DualBootUtilities zip from recovery, which will also allow you to wipe a ROM.
NOTE: Don't use the recovery's built-in wiping abilities as that may delete non-primary ROMs!
Update the primary ROM?
Patch the zip for primary and flash it. The "primary" installation target is designed so that other ROMs won't be affected when you want to flash something for the primary ROM.
Update a non-primary ROM?
Patch and flash the zip exactly like how you did it the first time.
Flash a mod or custom kernel for the primary ROM?
Patch it for primary before flashing. If the zip does not wipe /cache, it is also safe to flash it directly.
Flash a mod or custom kernel for a non-primary ROM?
Just patch and flash it
Downloads :
Click here to download!!
reserved
Update:don't work j2 prime
Not working on my J200y
erkin98 said:
Update:don't work j2 prime
Click to expand...
Click to collapse
Ya, it's actually for j2lte and j23g, i.e j200g/gu/h/f

[Unofficial] [PATCHER] [APP] DualBoot Patcher APP for Exynos7870 and 7880

I'm proud to present the first dual boot project for the all Exynos7870 and Exynos7880-based Samsung devices. This project started off as a feature in my ROM, but not anymore. This will allow any number of ROMs to be installed at the same time. It works by patching the secondary ROM's installation scripts and boot image to load the ROM files from an alternate location (/system/multiboot, /cache/multiboot, and /data/multiboot). Because of the way this is implemented, no changes to the primary ROM are necessary
Donators
A huge thanks goes out to all of the donators for supporting this project! I if forgot to add you (and you want to be added), please send me a quick PM.
See all of our supporters here
It patches...
Custom kernels for dual boot support
ROMs so that they can be installed as secondary
Google Apps packages for AOSP-based ROMs
SuperSU so that it can be used in the secondary ROM
NOTE: If you want to dualboot a TouchWiz ROM, I highly recommend installing TW as the primary ROM. Otherwise, any mods will need to be patched before flashing.
How to use the patcher
Android
Download the patcher apk and run it. Tap "Patch Zip File" from the navigation drawer and choose the file you want to patch.
After patching the zip file, a new file, like some_rom_dual.zip file will be created. For example, patching ktoonsez's
KT-SGS4-JB4.3-AOSP-TMO-08.28.2013.zip
would create a new
KT-SGS4-JB4.3-AOSP-TMO-08.28.2013_dual.zip
Instructions for dual booting
Before doing anything, download the Dual Boot Patcher app and the DualBootUtilities.zip from the download section below.
The patcher offers several locations for installing ROMs:
Primary: This is normally used for installing a zip to the primary ROM. It is not required, but is strongly recommended because it has code to prevent the zip from inadvertently affecting other ROMs.
Dual: Dual/Secondary is the first multiboot installation location. It installs to the system partition. This is a good spot for installing a second ROM because it doesn't take any space away from the internal storage.
Multi-slots: There are 3 multislots: multi-slot-1, multi-slot-2, multi-slot-3. These install to the cache partition. This is specifically for devices, like the Galaxy S4, that have a massive cache partition.
Data-slots: There can be an unlimited number of data slots. These install to the data partition and eat up space on the internal storage. This is useful for devices where the system partition is nearly full and the cache partition is tiny. These slots are named "data-slot-[id]", where "id" is something you provide in the app.
Extsd-slots: There can be an unlimited number of extsd slots. These install to the external SD card, which is useful as it keeps the ROMs off of the internal storage. Note that the ROM's data files are still stored on the data partition.
With that said, let's get to the "how to"!
First, boot into your primary ROM and install the Dual Boot Patcher app
Open the app and go to "Roms" in the navigation drawer. It will ask if you want to set the kernel. Make sure that you do.
Go to "Patch zip file" in the navigation drawer and patch the ROM or zip you want to install. You can select one of the installation locations described above.
Well, Just flash the patched zip file via recovery (Custom Recovery, like TWRP of course)
A normal backup from recovery will backup every ROM. If you would like to back up ROMs individually, please see @rlorange's awesome tool: http://forum.xda-developers.com/showthread.php?t=2491299
How do I...?
Switch the ROM if something doesn't work properly?
You can flash the DualBootUtilities zip from recovery. It will provide a menu interface that allows switching to the various ROMs.
If you have TWRP, you can also switch manually by tapping Install -> Images (bottom right) -> Go to /sdcard/MultiBoot/[Your ROM]/ -> flash boot.img.
Wipe /cache, /data, /system, or dalvik-cache?
The easiest way is to do it from the app while booted in another ROM. Just go to "Roms" in the navigation drawer, tap the 3 dots options menu for the ROM you want to wipe, and tap "Wipe ROM".
Alternatively, flash the DualBootUtilities zip from recovery, which will also allow you to wipe a ROM.
NOTE: Don't use the recovery's built-in wiping abilities as that may delete non-primary ROMs!
Update the primary ROM?
Patch the zip for primary and flash it. The "primary" installation target is designed so that other ROMs won't be affected when you want to flash something for the primary ROM.
Update a non-primary ROM?
Patch and flash the zip exactly like how you did it the first time.
Flash a mod or custom kernel for the primary ROM?
Patch it for primary before flashing. If the zip does not wipe /cache, it is also safe to flash it directly.
Flash a mod or custom kernel for a non-primary ROM?
Just patch and flash it
Downloads
Here is the latest build : https://www.androidfilehost.com/?fid=962021903579496224
XDA:DevDB Information
DualBoot Patcher APP, Device Specific App for the Samsung Galaxy A Series 2017 A3, A5, A7
Contributors
lzzy12
Source Code: https://github.com/Mysteryagr/DualBootPatcher
Version Information
Status: Beta
Created 2017-12-03
Last Updated 2017-12-03
thanks bro ,Great Work
Wow Good Work Bro It Will Be Very Useful For Us Bro
??
Great
got error 1 when flashing lineage as second rom
Tried it. It works if I flash the ROM from recovery but if I want to switch to primary using DualBoot utilities it doesn't work. Fortunately I had made a buk up...
One more thing : The secondary ROM detects the SD card as corrupted and needs formatting if installed to external storage :/
Can anybody help my?
I want to install second ROM on sd card, it will be perfect on ext4 separete partition.
I'v tried it.
I install second ROM on sd card (now it have only one partition vfat), but it cycle rebooting. Helps only restore from TWRP recovery.
DualBootUtilities..zip dont work and have an ERROR 1 in TWRP both 3.2.1.0 and 3.1.1.0.
My primary ROM is last oficial Android 6.0.1. , second ROM is [ROM] Stockrom Lite SM-A520F
Primary ROM rooted SuperSu, CSC - BTU, bootloader - A520FXXU4BRC4, PDA - A520FXXS2AQH1, Radio - A520FXXU4BRC1, ROM - A520FXXS4CRE1/A520FOXA4CRD3/A520FXXU4CRD3, Kernel 3.18.14-10911830 [email protected] #1 32-bit
Here is recovery log file
---------- Post added at 12:02 PM ---------- Previous post was at 11:56 AM ----------
May be it is the reason?:
I:Legacy property environment initialized.
mount: mounting /dev/block/mmcblk0p20 on /cache failed: Device or resource busy
mount: mounting /dev/block/mmcblk0p25 on /data failed: Device or resource busy
Click to expand...
Click to collapse
I have this problem when I go to roms. Anybody know what's wrong?
iloveoreos said:
I have this problem when I go to roms. Anybody know what's wrong?
Click to expand...
Click to collapse
You need root for this to work. Do you have that?
sheepkill15 said:
You need root for this to work. Do you have that?
Click to expand...
Click to collapse
Yes, I'm rooted with magisk. I wonder if it matters what version I am running. I am running stock 8.0 on an A520W.
iloveoreos said:
Yes, I'm rooted with magisk. I wonder if it matters what version I am running. I am running stock 8.0 on an A520W.
Click to expand...
Click to collapse
Oh right. I don't know if op patched something about this, but originally touchwiz roms don't work with DualBoot, not even Hades.
Or, at least, I couldn't get it to work.
sheepkill15 said:
Oh right. I don't know if op patched something about this, but originally touchwiz roms don't work with DualBoot, not even Hades.
Or, at least, I couldn't get it to work.
Click to expand...
Click to collapse
Ok, that makes sense, I tried a different version on my note5 and it didn't work either. The OP said to set Tw rom as primary though, is there a way to do that?
Edit: Would it work to flash lineage os, install dualboot, and then flash touchwiz as primary?
Do ROMs boot normally from an SD card? Or are they a bit slow?
iloveoreos said:
Do ROMs boot normally from an SD card? Or are they a bit slow?
Click to expand...
Click to collapse
Depends on the SD Card ;p
But, in my experience, SD is slower than internal memory
Where to get the DualBootUtilities? Cant find them in this thread. Can I use the official ones from the website? Or can I just install the App and im fine?
iloveoreos said:
Do ROMs boot normally from an SD card? Or are they a bit slow?
Click to expand...
Click to collapse
Did you fixed the error when going to ROMs? Im having the same error and I dont know what to do. Im rooted with magisk on Stock ROM 8.0
simon151102 said:
Did you fixed the error when going to ROMs? Im having the same error and I dont know what to do. Im rooted with magisk on Stock ROM 8.0
Click to expand...
Click to collapse
Try a custom ROM like lineage os and it should fix that error. However, when I updated ramdisk through dual boot on lineage os 16, my internal storage would quit showing up in stock file manager and downloads would fail. Haven't tried on any other ROM s though.
DualBootUtilities.zip?
lzzy12 said:
Before doing anything, download the Dual Boot Patcher app and the DualBootUtilities.zip from the download section below.
Click to expand...
Click to collapse
Great job ,thanks. I did'nt find the download link "DualBootUtilities.zip"
I am getting an error 1 while flashing a patched ROM. It looks like the ROMs aren't compatible by looking at the logs. Don't know if that is the correct verdict though.

How to make GSI Flasher for Samsung Galaxy A51 Super Partition Image

How to convert a gsi image so that it can be installed on a dynamic partition or super image partition. It may be work for other Android devices. This tool will help you to install gsi image on Dynamic Partition or Super Image Partition.
PC/Laptop
1. Extract GSI_Flasher.zip (or GSI_Flasher_SDCard if you want install GSI from SDCard) >> 3 folder gsi, META-INF, and Scripts
2. Extract Havoc-OS-v3.12-20201230-Official-arm64-ab.img.xz (your GSI file image)
3. Rename gsi to system.img (it must be rename to system.img, if you don"t rename, your phone get bootloop after reboot system)
4. Put <system.img> in gsi folder
5. Repack this 3 folder gsi, META-INF, and Scripts to zip (you can name it, whatever you want)
Credit
@redymedan
@soulr344
@phhusson
@topjohnwu
@ianmacd
Gsi flasher does not work for me, it does not go past the device logo
I am making an application that does this process automatically. Can I publish? I will put due credits
gsuzeda said:
I am making an application that does this process automatically. Can I publish? I will put due credits
Click to expand...
Click to collapse
Fell free to share
Very Good my friend
This option sd card
If system start from sd is possible dual boot?
Create New thread havoc starting from sd this option is usefull for no Format internal sd?
Sorry i read GSI flash from SD no in sd
Edit: moved my comment to main post here: https://forum.xda-developers.com/t/...si-android-10-for-samsung-galaxy-a51.4214501/
LichtEstarossx said:
Gsi flasher does not work for me, it does not go past the device logo
Click to expand...
Click to collapse
Same for me.
I made a zip containing the latest /e/ OS GSI from https://images.ecloud.global/dev/treble_arm64_bvN/ on a Samsung Galaxy S21 (SM-G991B) but no luck : the phone keeps bootlooping.
Here's the displayed message :
Code:
--------------------------------------------------
GSI Flasher
--------------------------------------------------
Extracting script..
-------------------------------------------------- GSI Flasher-------------------------------------------------- Extracting script..Extracted file "/tmp/scripts/script.sh"
Extracted 1 file(s)
Extracting GSI Image..
Extracting GSI Image..Extracted file "/sdcard/.gsi/system.img"
Extracted 1 file(s)
Flashing GSI..
about to run program [/sbin/sh] with 3 args
Flashing GSI..INFO: Successfully flashed sparse image
--------------------------------------------------
Successfully flashed GSI!
NOTE: please wipe data
to avoid issues.
--------------------------------------------------
-------------------------------------------------- Successfully flashed GSI! NOTE: please wipe data to avoid issues.--------------------------------------------------script succeeded: result was [--------------------------------------------------]
Full recovery log is attached.
gsuzeda said:
I am making an application that does this process automatically. Can I publish? I will put due credits
Click to expand...
Click to collapse
Hi gsuzeda ? could you send your app ? thank u so much !!
Thank you so much. worked flawlessly on my Samsung Tab S7+
CVLover said:
Большое спасибо. работал безупречно на моем Samsung Tab S7+
Click to expand...
Click to collapse
CVLover said:
Большое спасибо. работал безупречно на моем Samsung Tab S7+
Click to expand...
Click to collapse
CVLover said:
Thank you so much. worked flawlessly on my Samsung Tab S7+
Click to expand...
Click to collapse
Hello, how does the firmware show itself in use over time?

Categories

Resources