Dual Boot for Galaxy S5 SM-G901F - Galaxy S 5 Q&A, Help & Troubleshooting

Dual Boot your Galaxy S5 G901F
First i'm not a programmer, I am an enthusiast user who likes to use the full potential of his phone
I found a way to dual boot the G901F though there is little development support for it
(too bad despite the potential of this device)
I like to thanks @chenxiaolong for his dual boot app for the Galaxy S4 witch i used for this to happen
I also like to thanks @aukhan for his post on how to dual boot the Note4 from where i got the link for "swap roms.apk"
Now lets beggin
0. you should have a backup of your primary rom.zip and your actual kernel.zip
and of corce your device rooted
1. download and install DualBootPatcher for win 32 and android from @chenxiaolong post
http://forum.xda-developers.com/showthread.php?t=2447534
I installed DualBootPatcher.apk on the phone and for pathing i used DualBootPatcher for win32 on my pc
2. open DualBootPatcher for win32
3. on the new window hit the "chose file" tab
4. select your secondary rom.zip (eg.cm12.1 or cm13)
5. on "device" section select "trlte - SamsungGalaxyNote4(Snapdragon)"
i chose this thinking that Note4 Snapdragon has the same hardware as G901F and it could influence the instalation
6. on "install to" section select secondary
now hit the "start patching" tab and wait for the rom to be patched
7. inside the new rom_patched.zip in the "multiboot" folder you will find a file named "info.prop"
8. open it with a text editor and at the bottom you will find the line:
"mbtool.installer.ignore-codename=false"
9. change "false" to "true"
10. repeat steps 2-9 for your downloader version of gapps
11. install "swap roms.apk" from this link
https://www.dropbox.com/s/97st26iuk0jc9vc/Swap_Roms.3.apk?dl=0
but dont open it yet
12. with a file explorer on your phone go to sdcard/MultiBoot folder
13. there should be two folders "dual" and "primary"
14. if not, create them
asuming that you have both of your primary(actually installed) and secondary rom images (.zip files)
follow the next steps
15. copy boot.img from secondary patched rom to dual folder (sdcard/MultiBoot/dual)
16. copy boot.img from primary rom to primary folder (sdcard/MultiBoot/primary)
now copy rom_patched.zip and gapps_pathed.zip to your device
remember and don't forghet to edit "info.prop" from step 7 or the installation won't work
17. open DualBootPatcher installed on your device
18. hit the 3 lines menu from the top-left corner and select "roms"
19. hit the red icon on the bottom right corner, then the "+" one and install your secondary rom
after the istallation finishes install the gapps
20. after the install, exit the app
21. open "swap roms" witch you installed in step 11 and select dual
you should see a message telling that the kernel has been flashed
after it is done, click reboot
22. the device should boot to secondary rom
23. after configuring your new rom, repeat step 11 (install "swap roms.apk")
25. now to switch between roms use "swap roms" (select primary or dual depending on witch rom you are)
26. if anithing goes wrong go to recovery and flash your primary_kernel.zip
it should boot to primary rom
27. you can delete the secondary rom via DualBootPatcher->roms
For each .zip file you want to flash to your secondary rom repeat steps 2-9
I hope that you found this usefull and don't forget to press "thaks"​

Thx

@chenxiaolong at my request added full support to dual boot the G901F so use his app from this thread : http://forum.xda-developers.com/showthread.php?t=2447534

this being said it's time to close this thread

it work on g900f?

twito1992 said:
it work on g900f?
Click to expand...
Click to collapse
yes

Related

[GUIDE] Port firefox OS to Nexus 4 + Galaxy 2 Dual Boot

How To Install Firefox OS on a nexus 4 and dual boot. ​
XDA-Developers member pureexe has created an Image that will help you to port Firefox OS to your Google Nexus 4. Here is the list of what works and what doesn’t works:
What Works:
– Wi-Fi
– Data
– Phone Calls
– Contact Import
– GPS
– SMS/MMS
-Some Sensors (Light+Gyroscope+Acceleration)
-ADB
Does NOT Work:
– Camera
-MTP/PTP
– A lot of other things
How To Flash
Step 1: First connect your device to PC (desktop/laptop) via USB and make sure that USB debugging enabled on your device.
Step 2: Now to be on safe side create a Nandroid backup from recovery its because if something goes wrong then you can easily backup all your data.
Step 3: After creating backup, now download the ROM (FFOS_mako_********.zip) file and place these files on the SD card of the phone.
Step 4: Now switch off the phone and boot the phone into Recovery mode.
Step 5: Assuming you are in the Recovery mode and now you have to wipe the full data on your device. To do this, you have to click on “Wipe Data/Factory Reset” option. As soon as you click on “Wipe Data/Factory Reset” option a new screen pop-up where you have to click on “Yes” option.
Step 6: After wiping out all the data on your device you have to wipe the cache & the dalvik cache also.
Step 7: Now go to “install zip from SD card” option and click on “select zip from SD card”. After selecting the option “select zip from SD card” you have to choose the ROM file.
Step 8: After performing all the correctly in step 7 you have to clear the cache and & dalvik cache again.
Step 9: Now, go to “Install zip from SD card” option and click on “Select zip from SD card”. After selecting the option “Select zip from SD card”, you have to choose the optional file like home app or server module
Step 10 : Assuming you have performed all the steps correctly, now simply reboot your device and it will boot into Firefox OS.
Click to expand...
Click to collapse
How to dual boot: ONLY FOR GALAXY S2
Warning: This procedure doesn't really work anymore. It only works with Android 4 (Ice Cream Sandwich) and Siyah Kernel v 5.0.1. Later versions of either won't work. Consider this guide archived, and use it at your own risk.
If you want to test B2G from time to time but continue using Android as your main OS and you have a Samsung Galaxy S2, you can choose to install B2G in a separate partition (which is already present on the phone) and choose where to boot into when your device starts.
Prerequisites
In order to dual boot Android and B2G, you have to meet these prerequisites:
You have to have built B2G for the Galaxy S2
You have to download the Siyah kernel v. 5.0.1 for the Galaxy S2
You need the tool simg2img, that you get automatically if you build B2G following the guide on MDN
You need the heimdall tool, best if version 1.3.1 as you may encounter problems with version 1.3.2
One-time operations
There are several operations to do in order to get a working dual boot. The following ones need to be done the first time only.
In order to use heimdall without requiring root access, you should create a file called android.rules (the portion of the name before the .rules extension is arbitrary) and place it in /etc/udev/rules.d. The file should contain a line line the following:
Code:
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", MODE="0666"
In order to activate this rule, you should restart udev:
Code:
sudo service udev restart
and then unplug and replug in the phone. The above rule will also allow adb to access the SGS2 without requiring root privlidges.
Flashing the Siyah kernel
The Siyah kernel is mandatory for the dual boot, because it is this kernel that manages it. Once you have downloaded and decompressed the tar file, you'll be left with a file named zImage. In order to flash it on your phone you have to follow these steps:
Switch off your phone
Reboot in download mode (press together volume down + home + power buttons and then, when asked, volume up button)
Use heimdall to flash the kernel with the following command (your phone needs to be connected to your PC):
heimdall flash --kernel /path/to/zImage
Once the kernel is flashed the phone will reboot.
Preparing the B2G rom environment
Once you've installed the Siyah kernel, it's time to use its functions to prepare the environment to install your B2G image in the secondary partition. Follow these steps:
Switch off your phone
Reboot in recovery mode (press together volume up + home + power buttons)
In the CWMR Touch interface, go to dual-boot options -> Wipe 2ndROM data/cache -> Yes - Wipe. This operation will take some time
Once the operation is finished, select Go Back and then reboot system now to reboot your phone. If you check, inside the internal SD card of your phone you'll now have a .secondrom directory with inside two files named cache.img and data.img.
B2G update operations
The following operations need to be done every time you build a new version of B2G.
In order to simplify command line instructions, it's advised to copy all needed files in a same folder of your choice. These are the files that need to be copied inside the folder:
Code:
simg2img, found in B2G/out/target/product/galaxys2/system/bin/
system.img, found in B2G/out/target/product/galaxys2/
userdata.img, found in B2G/out/target/product/galaxys2/
Once you have all the files in one place, do the following:
Create a data.img file out of the sparse file userdata.img. You can do it with the following command:
Code:
simg2img userdata.img data.img
Put the data.img file on your phone's .secondrom folder. You can do this either by enabling file storage mode on your phone and connecting it to your PC or, if you have USB Debug active, you can use adb:
adb push /path/to/data.img /sdcard/.secondrom/data.img
Switch off your phone
Reboot in download mode (press together volume down + home + power buttons and then, when asked, volume up button)
Use heimdall to flash B2G firmware inside the second partition:
heimdall flash --hidden system.img
Once the flash is finished, your phone will reboot and at boot time you can boot into your second rom (the B2G one) by pressing the home button during the bootloader countdown. If everything has gone right, once you've finished booting B2G you'll have a black screen on your phone. You now have to install Gaia.
Note: Depending on how you want to test B2G, you may not want to put a new data.img file on the phone every time you update B2G, as it will wipe all of your preferences, installed applications and in general pretty much everything you've done while using B2G.
Boot operations
The following operations need to be done every time you boot inside B2G.
Unfortunately, there's no simple way to put Gaia inside the system.img B2G image, and it get lost when you switch off your phone, so you'll need to install Gaia again every time you boot inside B2G. To install Gaia, type the following on a console after you've booted your phone inside B2G (so you have a black screen) and have connected your phone to your PC:
cd B2G/gaia
GAIA_DOMAIN=foo.org make install-gaia
After the upload of Gaia is completed, on your phone's screen the B2G interface will appear.
Click to expand...
Click to collapse
Dual Boot With Nexus 4 :
Original Link Here
Text Steps :
-Download FFOS.zip file
-Go to TWRP recovery
-Go to advanced, MultiROM, add ROM
-Select android, and don't share kernel
-Select next, then select zip file
-Select the FFOS.zip file
-After that go to list ROMs, pick FFOS, select flash zip, and flash the addons you want
-Reboot to multiboot
-Select FFOS and boot it
-Wait about 2 minutes
-You're now booted to FFOS
BTW FFOS stands for firefox OS
Downloads :
FFOS image Here
Contributors + Complier
pureexefor image and steps
Mozilla (for Dual Boot 1)
Riro Zizo for dual boot 2
Me, for putting all this stuff together!
@Apph3x
I have two version of porting
- Base Jellybean 4.3
- Base Kitkat
i know Base Kitkat is bad but working fine on base Jellybean 4.3
on jellybean everything working except MTP
Please read this post http://forum.xda-developers.com/showpost.php?p=44451567&postcount=2
Thanks
@pureexe I know but I'm sparse on time will update soon. The image is your latest 1 tho ;D thanks for original guide
Updated
Removed by owner
vvvvvvvvvvvvvvvv
Updated
UPDATE BASE LAYER 4.3
What Works:
- Wi-Fi
- Data
- Phone Calls
- Bluetooth
- Camera (Rear Camera & Front Camera)
- Video Record
- GPS
- SMS/MMS
- MUSIC (Mp3 & ogg decoder working)
- USB tethering
- WIFI tethering
- Video HQ decoder
- Sensor (Light+Gyroscope+Acceleration)
- ADB
- A lot of thing
Does NOT Work:
-MTP/PTP
Download
http://forum.xda-developers.com/devd...ct/dl/?id=3793

A Complete Noob-Friendly Guide To Personalize Your Sony Xperia Z5 Premium Dual E6883

If you are looking to flash stock firmware, custom kernel, custom recovery, root via supersu, and remove bloatware for E6883 model only, you came to the right thread, otherwise, go away. Make sure you have at least 50% battery before proceeding. I'm assuming you are running Microsoft Windows 10 Home x64 and have installed all required Google USB Drivers, Android SDK (for fastboot), and an unlocked bootloader. If you have not done this yet, install them first so that your device will be recognized. Don't forget to enable "USB debugging" and "OEM unlocking" from the "Developer options" menu on your device. Come on, you can't be that noob. If you don't even know what that means, you don't belong here and chances are, you will end up with a bricked phone.
/* YOUR WARRANTY IS NOW VOID */
Download all necessary files, preferably the latest version.
Xperia Firmware Downloader
Sony Mobile Flasher by Androxyde
Custom Kernel - Rename the file as boot.img and move it to "C:\Android\SDK\platform-tools\boot.img"
Custom Recovery - Rename the file as recovery.img and move it to "C:\Android\SDK\platform-tools\recovery.img"
SuperSU Stable - Rename the file as supersu.zip and move it to your external SD card.
[STEP 1] Using the Xperia Firmware Downloader.
1. Run "XperiFirm.exe" as Administrator.
2. Select "Xperia Z5 Premium Satsiki" > "E6883 dual" from the list.
3. Select your preferred firmware and download.
4. DONE.
[STEP 2] Using the Sony Mobile Flasher by Androxyde.
// How to prepare a flashable .ftf file?
1. Run "Sony Mobile Flasher by Androxyde.exe" as Administrator.
2. Select "Tools" > "Bundles" > "Create" from the menu.
3. "Select source folder" where your firmware folder is located.
4. Double-click "Device" editbox and select "E68XX Sony Xperia Z5 Premium" > "E6883".
5. Fill in the "Branding" editbox.
6. Fill in the "Version" editbox.
7. Select everything from the "folder list" and move them to "Firmware Content".
8. Click on the "Create" button.
9. DONE.
// How to start flashing a .ftf file?
1. Run "Sony Mobile Flasher by Androxyde.exe" as Administrator.
2. Click on the "Thunder toolbar button" and choose "Flashmode".
3. Select your "Firmware".
4. Click on the checkboxes to wipe everything and don't exclude anything except SIMLOCK (you can't touch this).
5. Click on the "Flash" button.
6. DONE.
[STEP 3] Flashing the custom kernel.
1. Run "Command Prompt" as Administrator.
2. Go to "cd C:\Android\SDK\platform-tools"
3. Turn off your device.
4. Plug in your USB cable while holding on to the "volume-up rocker" until you see a blue LED indicator on the top left of your device. You are now ready to use the fastboot function.
5. Type "fastboot flash boot boot.img"
6. DONE.
[STEP 4] Flashing the custom recovery. - Actually, there is no need for this step. The custom kernel provided above already included TWRP 3, so this is just to show you how to flash a custom recovery. Thanks, @YasuHamed
1. Run "Command Prompt" as Administrator.
2. Go to "cd C:\Android\SDK\platform-tools"
3. Turn off your device.
4. Plug in your USB cable while holding on to the "volume-up rocker" until you see a blue LED indicator on the top left of your device. You are now ready to use the fastboot function.
5. Type "fastboot flash recovery recovery.img"
6. DONE.
[STEP 5] Flashing the SuperSU, hence rooting your device.
1. Turn off your device.
2. Turn on your device.
3. As soon as your device is powering on, press on the "volume-up rocker" continuously until you load TWRP.
4. Flash SuperSU from your SD card.
5. Reboot system.
6. DONE.
Congrats! :laugh:
Now that you have root access, the next part is to remove bloatware but I will post this later on because I need to do some more research just to confirm it won't have FCs in the future. Removing bloatware is rather self-explanatory and depends on your personal preferences. Like me, I would delete all of Google and Sony apps to bare minimum but some people prefer leaving Google Maps or Sony Smart Connect on their phone. I'll see you on the next episode, to be continued...
Reserved for battery management, tips and tricks.
cglegion said:
If you are looking to flash stock firmware, custom kernel, custom recovery, root via supersu, and remove bloatware for E6883 model only, you came to the right thread, otherwise, go away. Make sure you have at least 50% battery before proceeding. I'm assuming you are running Microsoft Windows 10 Home x64 and have installed all required Google USB Drivers, Android SDK (for fastboot), and an unlocked bootloader. If you have not done this yet, install them first so that your device will be recognized. Don't forget to enable "USB debugging" and "OEM unlocking" from the "Developer options" menu on your device. Come on, you can't be that noob. If you don't even know what that means, you don't belong here and chances are, you will end up with a bricked phone.
/* YOUR WARRANTY IS NOW VOID */
Download all necessary files, preferably the latest version.
Xperia Firmware Downloader
Sony Mobile Flasher by Androxyde
Custom Kernel - Rename the file as boot.img and move it to "C:\Android\SDK\platform-tools\boot.img"
Custom Recovery - Rename the file as recovery.img and move it to "C:\Android\SDK\platform-tools\recovery.img"
SuperSU Stable - Rename the file as supersu.zip and move it to your external SD card.
[STEP 1] Using the Xperia Firmware Downloader.
1. Run "XperiFirm.exe" as Administrator.
2. Select "Xperia Z5 Premium Satsiki" > "E6883 dual" from the list.
3. Select your preferred firmware and download.
4. DONE.
[STEP 2] Using the Sony Mobile Flasher by Androxyde.
// How to prepare a flashable .ftf file?
1. Run "Sony Mobile Flasher by Androxyde.exe" as Administrator.
2. Select "Tools" > "Bundles" > "Create" from the menu.
3. "Select source folder" where your firmware folder is located.
4. Double-click "Device" editbox and select "E68XX Sony Xperia Z5 Premium" > "E6883".
5. Fill in the "Branding" editbox.
6. Fill in the "Version" editbox.
7. Select everything from the "folder list" and move them to "Firmware Content".
8. Click on the "Create" button.
9. DONE.
// How to start flashing a .ftf file?
1. Run "Sony Mobile Flasher by Androxyde.exe" as Administrator.
2. Click on the "Thunder toolbar button" and choose "Flashmode".
3. Select your "Firmware".
4. Click on the checkboxes to wipe everything and don't exclude anything except SIMLOCK (you can't touch this).
5. Click on the "Flash" button.
6. DONE.
[STEP 3] Flashing the custom kernel.
1. Run "Command Prompt" as Administrator.
2. Go to "cd C:\Android\SDK\platform-tools"
3. Turn off your device.
4. Plug in your USB cable while holding on to the "volume-up rocker" until you see a blue LED indicator on the top left of your device. You are now ready to use the fastboot function.
5. Type "fastboot flash boot boot.img"
6. DONE.
[STEP 4] Flashing the custom recovery.
1. Run "Command Prompt" as Administrator.
2. Go to "cd C:\Android\SDK\platform-tools"
3. Turn off your device.
4. Plug in your USB cable while holding on to the "volume-up rocker" until you see a blue LED indicator on the top left of your device. You are now ready to use the fastboot function.
5. Type "fastboot flash recovery recovery.img"
6. DONE.
[STEP 5] Flashing the SuperSU, hence rooting your device.
1. Turn off your device.
2. Turn on your device.
3. As soon as your device is powering on, press on the "volume-up rocker" continuously until you load TWRP.
4. Flash SuperSU from your SD card.
5. Reboot system.
6. DONE.
Congrats! :laugh:
Click to expand...
Click to collapse
the customer kernals by @khab.bros already have recovery installed,
Correct @YasuHamed, and it's newer than the one I provided. I just want new people to know the idea of flashing custom recovery on this device. Thanks for the heads up. It's a shame there is so less development going on for Z5 Premium Dual compared to other flagship devices such as Samsung... I hope we see more custom roms port in the near future.
@cglegion
Maybe minimal adb and fastboot tool would be better than installing the entire android SDK package... It's a small utility around 2 mb only , since you're doing a noob friendly guide it might be more appropriate...
cglegion said:
Correct @YasuHamed, and it's newer than the one I provided. I just want new people to know the idea of flashing custom recovery on this device. Thanks for the heads up. It's a shame there is so less development going on for Z5 Premium Dual compared to other flagship devices such as Samsung... I hope we see more custom roms port in the near future.
Click to expand...
Click to collapse
the way sony is behind in specs, I think in upcoming days the development side of xperia will suffer the most as the sales goes down!
in 2016 we have mobiles reaching specs such as 2.2ghz with 6gb ram and the NEWEST xperia X series has 1.5gb ~ 2gb RAM ONLY~
-DM- said:
@cglegion
Maybe minimal adb and fastboot tool would be better than installing the entire android SDK package... It's a small utility around 2 mb only , since you're doing a noob friendly guide it might be more appropriate...
Click to expand...
Click to collapse
You're right @-DM-, the fact that I recommend using Android SDK was the ability to install packages automatically for example the Google USB Driver though the SDK manager and not solely for fastboot functionality. Some newbies might not even have appropriate drivers installed on their machine so their device won't be recognized hence a simple problem will lead to another problem. But of course, using minimal adb and fastboot is another noob-friendly way (which is also less in size) compared to the 100mb + Android SDK. Thanks, for the heads up too and making this thread a more noob-friendly one! :laugh:
Btw, @YasuHamed do you somehow know how to create a build.prop and updater-script for a stock firmware that I've just tweaked (delete bloatware apk and add some mods and third party apks)? I need to make it flashable via twrp but lack example for this device. Thanks!
cglegion said:
Btw, @YasuHamed do you somehow know how to create a build.prop and updater-script for a stock firmware that I've just tweaked (delete bloatware apk and add some mods and third party apks)? I need to make it flashable via twrp but lack example for this device. Thanks!
Click to expand...
Click to collapse
as far as I have studied, there is no DIRECT way doing that in MM
however for sake of argument, lets say you are using your z5 at 5.x.x
the zips can be flashed if you are REPACKING your STOCK KERNAL. (the post of Khab.bros) is actually points out to
http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
here if you have original FTF file of your z5, EXTRACT kernel.sin to kernal.els (using flashtool) then by running it through ROOTKERNELv5.0, you can add custom recovery and other flashable zips (after disabling dm-variety / SONYRIC)
but to remove BLOATWARE From your stockROM,
you must EXTRACT SYSTEM.sin, from FTF file, Dump it fully to location, RESAVE it using Ext2Explorer, now u will have APP folder, see which apk you want to remove, when you are done, repack everything to SYSTEM.sin and now MODIFIED STOCKROM has been created.
i remember doing id for my xperia C6603 back in 2013
http://forum.xda-developers.com/showthread.php?t=1931585
the tutorial was also very helpful https://www.youtube.com/watch?v=DpYxMRlBrR8
btw, I did all that just to learn, later i never did all this because some how i love the xperia stockroms and after rooting you can remove many bloatware and change system app to user app and remove them at your ease...
Command Prompt
Hi i successfully flashed the tft file and now im up to using the command prompt so i shift+right clicked and opened a command window in the platform tools folder where the boot.img and recovery.img are and entered the command "flashboot flash boot boot.img" and it comes up saying "error: cannot load boot.img"
I dont know what to do here. please help.
shaxta said:
Hi i successfully flashed the tft file and now im up to using the command prompt so i shift+right clicked and opened a command window in the platform tools folder where the boot.img and recovery.img are and entered the command "flashboot flash boot boot.img" and it comes up saying "error: cannot load boot.img"
I dont know what to do here. please help.
Click to expand...
Click to collapse
Make sure you have unlocked your bootloader before following this guide and just to inform you again this guide is for E6883.
Yeah I figured it out, the only problem was the fastboot drives weren't installed correctly for some reason windows 10 didn't allow it, also it was having trouble finding the boot.img so I just dragged the fastboot.exe and the boot.img into the command instead and it worked.
All in all great guide, thanks.
YasuHamed said:
as far as I have studied, there is no DIRECT way doing that in MM
however for sake of argument, lets say you are using your z5 at 5.x.x
the zips can be flashed if you are REPACKING your STOCK KERNAL. (the post of Khab.bros) is actually points out to
http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
here if you have original FTF file of your z5, EXTRACT kernel.sin to kernal.els (using flashtool) then by running it through ROOTKERNELv5.0, you can add custom recovery and other flashable zips (after disabling dm-variety / SONYRIC)
but to remove BLOATWARE From your stockROM,
you must EXTRACT SYSTEM.sin, from FTF file, Dump it fully to location, RESAVE it using Ext2Explorer, now u will have APP folder, see which apk you want to remove, when you are done, repack everything to SYSTEM.sin and now MODIFIED STOCKROM has been created.
i remember doing id for my xperia C6603 back in 2013
http://forum.xda-developers.com/showthread.php?t=1931585
the tutorial was also very helpful https://www.youtube.com/watch?v=DpYxMRlBrR8
btw, I did all that just to learn, later i never did all this because some how i love the xperia stockroms and after rooting you can remove many bloatware and change system app to user app and remove them at your ease...
Click to expand...
Click to collapse
Hey, bro @YasuHamed managed to make an Aroma installer for myself (learned this from scratch) but now I'm having problem making the updater-script file because I'm not sure how to mount and extract the system files also the command to patch (a repacked) boot.img kernel. From my research, dev block for E6883 are as follow:
1. /cache /data / sdcard = mmcblk0p42
2. /external_sd = mmcblk1p1
3. /system = mmcblk0p43
Can you help me? I'm very close to releasing a custom ROM based on stock firmware without bloatware. Where do I go about... I've been searching all over Google and XDA and has not found answers for E6883 specific problems.
shaxta said:
Hi i successfully flashed the tft file and now im up to using the command prompt so i shift+right clicked and opened a command window in the platform tools folder where the boot.img and recovery.img are and entered the command "flashboot flash boot boot.img" and it comes up saying "error: cannot load boot.img"
I dont know what to do here. please help.
Click to expand...
Click to collapse
use flahstool
---------- Post added at 11:15 AM ---------- Previous post was at 11:13 AM ----------
use flashtool
---------- Post added at 11:34 AM ---------- Previous post was at 11:15 AM ----------
cglegion said:
Hey, bro @YasuHamed managed to make an Aroma installer for myself (learned this from scratch) but now I'm having problem making the updater-script file because I'm not sure how to mount and extract the system files also the command to patch (a repacked) boot.img kernel. From my research, dev block for E6883 are as follow:
1. /cache /data / sdcard = mmcblk0p42
2. /external_sd = mmcblk1p1
3. /system = mmcblk0p43
Can you help me? I'm very close to releasing a custom ROM based on stock firmware without bloatware. Where do I go about... I've been searching all over Google and XDA and has not found answers for E6883 specific problems.
Click to expand...
Click to collapse
although i never liked aroma and i won't usually recommend custom roms specially for xperia... but since you have came this far,
lets say under APK foler you removed many bloatware and also updated
you must repack you SYSTEM folder (only) back to ROOM.zip (originally extracted from ftf file using ext2explorer)
then you need to apply mods,
https://www.youtube.com/watch?v=FdhUK_Ds4Fo (part 2, deleting bloatware) / finding MODS and repacking
http://forum.xda-developers.com/showthread.php?t=1363460 (tutorial about updater script modification by notepad++ )
however just remember what ever studies i did, for android 6.0.1 the prf creator wont work,
but you can try (PRF creator)
http://forum.xda-developers.com/showthread.php?t=1363460
convert your boot.img to kernel.sin and recreate your PRF creator (as mentioned above)
OR keep the custom rom ftf and BOOT.img SAPERATE as many custom roms does that
1. cynogenmod 12+
3. Miui 5 onwards
have boot+recovery file saperate and Rom saperate to flash.
the only reason i could understand is because they flash their system via recovery. if your aroma stock has xd recovery you can keep the flashable zip to install as system ORRRR keep it as FTF file to be flash and then kernal to be flashed saperate
Thanks for this guide I just wish to have root on locked BL...

[OFFICIAL][PATCHER][APP] Dual Boot Patcher For Redmi 4x

Finally Builded Dual Boot Patcher For Redmi 4x With All Fixes.
Now DBP is official for Redmi 4x
Note:- Redmi 4x/4(India) both are same.
Note:-I AM NOT RESPONSIBLE IF ANYTHING HAPPENS TO YOUR DEVICE.USE AT YOUR OWN RISK.THIS IS PERSONALLY TESTED BY ME SO IT SHOULD NOT CREATE ANY PROBLEM IF YOU FOLLOW THE STEPS ABOVE PROPERLY
ENJOY
The Requirement:
1- TWRP Latest[Recommended] ==> TWRP For Santoni
2- Decrypted Data ==> (Format Data)(Important Step or Else Rom will not boot and it will wipe internal storage so take a backup)
3- Magisk or Supersu (I used Magisk)
The Installation Steps:
1- Install the latest DBP from here ==> Dual Boot Patcher
(As this build is debug it will create another app name 'Leaks' so dont uninstall it will also uninstall DBP app)
2- Go to Settings ==>Installed apps==>All==>Documents==>Enable
3- Go to app and click on ROMs and grant it a root access.
4- Click yes to update the "Primary Kernel"
5- Go to "Patch Zip File"
6- Click on "Add flashable zip"
7- Choose the required ROM such as "YurekaOS"
8- Click "OPEN"
9- Under partition configuration choose "Data slot/Ext slot/secondary(if have enough space)"
10- Enter and ID as "Yureka or any name you like"
11- Click on "Continue"
12- Click on "SAVE"
13- Click on "Right Mark" to patch the zip file
14- Wait till the operation to finish
15- Go to "ROMs"
16- Click on "Add patched file" to flash it
17- Click on "Keep the current location"
18- Flash and wait till the operation to finish
19- Go to "ROMs" to make sure that the new second ROM is added
20- Now close the app and re-open it for refreshing
21- Adding the "Gapps Package"
22- Go to "Patch Zip File"
23- Click on "Add flashable zip"
24- Choose the required any gapps package
25- Click "OPEN"
26- Check and make sure that the ID in step 10 "Yureka or any name you like" is appeared as "Yureka or any name you like (Data slot)"
27- Repeat the steps from 11 to 18
28- Reboot
29- Install the DBP again
30- Choose the primary ROM and reboot
31- To install boot ui==>Go to settings==>click on install boot ui (it will give you option to boot to which rom on every reboot)(This step is optional)(in order to use 'boot ui' update ramsdisk of both rom)
About Partitons:
data-slot = internal storage (can be used)(recommended)
Extsd-slot = external sd card (can be used)
Primary= System Partition ( No use )
Secondary = System Partition (Only can be used if much of sytem space left)
Multi-slots = cache partition ( No use )​
What's Working:
Everything
What are not Working:
Tell me
Special thanks to:
@chenxiaolong for such an beautiful open source project
@dg28gadhavi (For guiding me the basics and helping in every manner he can)
Contributors
Nik001, dg28gadhavi, chenxiaolong
Official XDA Thread: Official Thread
Official Sources Code:https://github.com/chenxiaolong/DualBootPatcher
Sources Code:https://github.com/Nikesh001/DualBootPatcher
Plz give a thumbs up to the thread if you all like it:good:
HAPPY DUALBOOTING:good:
Nik001 said:
Finally Builded Dual Boot Patcher For Redmi 4x With All Fixes.
Note:- Redmi 4x/4(India) both are same.
Note:-I AM NOT RESPONSIBLE IF ANYTHING HAPPENS TO YOUR DEVICE.USE AT YOUR OWN RISK.THIS IS PERSONALLY TESTED BY ME SO IT SHOULD NOT CREATE ANY PROBLEM IF YOU FOLLOW THE STEPS ABOVE PROPERLY
ENJOY
The Requirement:
1- TWRP Latest[Recommended] ==> TWRP For Santoni
2- Decrypted Data ==> (Format Data)(Important Step or Else Rom will not boot and it will wipe internal storage so take a backup)
3- Magisk or Supersu (I used Magisk)
The Installation Steps:
1- Install the latest DBP from here ==> Dual Boot Patcher
(As this build is debug it will create another app name 'Leaks' so dont uninstall it will also uninstall DBP app)
2- Go to Settings ==>Installed apps==>All==>Documents==>Enable
3- Go to app and click on ROMs and grant it a root access.
4- Click yes to update the "Primary Kernel"
5- Go to "Patch Zip File"
6- Click on "Add flashable zip"
7- Choose the required ROM such as "YurekaOS"
8- Click "OPEN"
9- Under partition configuration choose "Data slot/Ext slot/secondary(if have enough space)"
10- Enter and ID as "Yureka or any name you like"
11- Click on "Continue"
12- Click on "SAVE"
13- Click on "Right Mark" to patch the zip file
14- Wait till the operation to finish
15- Go to "ROMs"
16- Click on "Add patched file" to flash it
17- Click on "Keep the current location"
18- Flash and wait till the operation to finish
19- Go to "ROMs" to make sure that the new second ROM is added
20- Now close the app and re-open it for refreshing
21- Adding the "Gapps Package"
22- Go to "Patch Zip File"
23- Click on "Add flashable zip"
24- Choose the required any gapps package
25- Click "OPEN"
26- Check and make sure that the ID in step 10 "Yureka or any name you like" is appeared as "Yureka or any name you like (Data slot)"
27- Repeat the steps from 11 to 18
28- Reboot
29- Install the DBP again
30- Choose the primary ROM and reboot
31- To install boot ui==>Go to settings==>click on install boot ui (it will give you option to boot to which rom on every reboot)(This step is optional)(in order to use 'boot ui' update ramsdisk of both rom)
About Partitons:
data-slot = internal storage (can be used)(recommended)
Extsd-slot = external sd card (can be used)
Primary= System Partition ( No use )
Secondary = System Partition (Only can be used if much of sytem space left)
Multi-slots = cache partition ( No use )
What's Working:
Everything
What are not Working:
Tell me
Special thanks to:
@chenxiaolong for such an beautiful open source project
@dg28gadhavi (For guiding me the basics and helping in every manner he can)
Contributors
Nik001, dg28gadhavi, chenxiaolong
Official XDA Thread: Official Thread
Official Sources Code:https://github.com/chenxiaolong/DualBootPatcher
Sources Code:https://github.com/Nikesh001/DualBootPatcher
Plz give a thumbs up to the thread if you all like it:good:
HAPPY DUALBOOTING:good:
Click to expand...
Click to collapse
Hey please help me i am also trying to port this but I don't have a proper idea how to
Can i have 2 rom with 16gb rom?
Hey, i have try this. Buty device going to bootlop. How dp i fix this?
randifilan said:
Hey, i have try this. Buty device going to bootlop. How dp i fix this?
Click to expand...
Click to collapse
How can you get bootloop?
When i try this. When i switch tto the secondary rom. My phone is bootloop.
Can you provide a video for me on redmi 4x? I have try many time but still bootloop. My phone is vibrate when change the rom. I try this oh R.R 5.8.4.
Install the dualboot patcher utilities, download from official thread. Try it and comment again if it success.
can i use lazy flasher for step 2
Hey Nik
The official build is out ..and I have made an Instructional thread on mi forum .
I want to know ..Why can't I use magisk in second ROM
.Where I am doing wrong .
I have tried to flash it patched ... Failed
Non patched direct through recovery ...failed .
Plz help
Wasef x said:
Hey Nik
The official build is out ..and I have made an Instructional thread on mi forum .
I want to know ..Why can't I use magisk in second ROM
.Where I am doing wrong .
I have tried to flash it patched ... Failed
Non patched direct through recovery ...failed .
Plz help
Click to expand...
Click to collapse
Can you give me the link?
randifilan said:
Can you give me the link?
Click to expand...
Click to collapse
Sure ..
Here it is
http://en.miui.com/thread-825128-1-1.html
Wasef x said:
Sure ..
Here it is
http://en.miui.com/thread-825128-1-1.html
Click to expand...
Click to collapse
I already try from this, but failed, are success do that? I try in from RR, and install AEX, when switch the rom, my phone got vibrate twice and go to twrp, i use dualboot utility and doent work. Are you success?
randifilan said:
I already try from this, but failed, are success do that? I try in from RR, and install AEX, when switch the rom, my phone got vibrate twice and go to twrp, i use dualboot utility and doent work. Are you success?
Click to expand...
Click to collapse
I have it working .
One thing ..
When you switch ROM .
Don't do it directly .
First update the ramdisk of that ROM on which you wanna switch .
Otherwise it doesn't boot
Wasef x said:
I have it working .
One thing ..
When you switch ROM .
Don't do it directly .
First update the ramdisk of that ROM on which you wanna switch .
Otherwise it doesn't boot
Click to expand...
Click to collapse
I have update the ramdisk. But still not work. Also failed.
I can't enable wifi after updating primary rom (Xiaomi. Eu). . Any solution?
How to decrypted data?
strbgs27 said:
How to decrypted data?
Click to expand...
Click to collapse
TWRP...Wipe...Format Data
What means step 29? Install the APP again?
Edit: Omg! Selected Second Rom and now it starts direct in TWRP... And i can't start Primary Rom .....
Really dont try this if u want to save time x)))))))
Not working on redmi 4 indian
Currently I am on redmi 4x global stable miui 9 rom and my device is redmi 4 64gb. Everything goes well. But when I reboot my device it vibrate 5 times and reboot in twrp. I've tried two rom resurrection remix v5.8.5 and viper os, but no any works..

[HOW TO] Install Android 13 Beta on Samsung S20 Series

Hello everyone !! I recently installed the latest android 13 beta 3.3 on my Samsung Galaxy S20. I wanted to make a guide to show you the installation process. This is a GSI of android 13 ported from the google pixel 5, therefore there are a few things that don't work properly (I will list them below). If you have any questions or issues with installation please don't hesitate to ask and I'll do my best to help you !! Hope you find this guide helpful !!
Issues / Bugs
- No biometrics (No face unlock or fingerprint scannner)
- No always on display (only screen saver available)
- No auto-brightnees
- No sound on notifications
Pre-requisites
- Unlocked bootloader
- TWRP Recovery
YouTube Step by Step Tutorial
Download Installation Files:
2.7 GB folder on MEGA
32 files and 5 subfolders
mega.nz
How to Install Android 13 Beta 3.3 on Samsung S20 Series
1. Turn your phone off
2. Connect your phone to your computer via USB cable
3. Press the "power" and "volume up" buttons at the same time until you see the TWRP logo
4. Once booted into TWRP, click on "Reboot", then click on "Fastboot"
5. Wait for your phone to boot into fastboot mode
6. Go to your computer and download the folder with the necessary installation files linked above.
7. Open the folder that you downloaded and look for the "Platform Tools (Name of your OS)" folder.
8. Look for the "fastboot" file and drag it into a new terminal window
9. Leave a space and type the word "devices"
10. Hit enter
11. If you see a bunch of random numbers followed by the word "fastboot" your computer has recognized your phone
12. Go back to the "Platform Tools (Name of your OS)" folder and once again, drag the "fastboot" file into the terminal
13. Leave a space and type the words "erase system"
14. Hit enter
15. When the process is finished you should see the words "finished" and "total time" in the terminal
16. One last time, drag the "fastboot" file to the terminal
17. Leave a space and type "flash system"
18. Go to the folder that you previously downloaded (the one linked above) and look for the "Pixel 13...Beta3.3.img" file
19. Drag the file over to the command window and hit enter
20. Wait for the file to be flashed (this might take a while)
21. When flashing is finished you will again see the message "finished" and "total time" in the terminal
22. Go back to your phone
23. Click on "Reboot"
24. Click on "System"
25. Wait for your phone to restart with the new ROM
ENJOY !!!!
Great Tutorial There, Did you ever fix the issues from the pixel to s20
also is there a way to find out if my bootloader is unlocked?
Thanks again
R0YB0Y said:
Great Tutorial There, Did you ever fix the issues from the pixel to s20
also is there a way to find out if my bootloader is unlocked?
Thanks again
Click to expand...
Click to collapse
Google or YouTube, cheers
@victoriam8a, this gsi image is installable by twrp, plus gapps and magisk (individual choice), I did it a few days ago my fp was working, bluetooth streaming not working and a few more things, I'm gonna give another try and also try all the work arounds to get things going on android 13, cheers

Update Pixel Experience GSI ROM on Samsung S20 Series

Hello everyone !! I am currently using the Pixel Experience ROM as my daily driver and I came across the task of updating the ROM without losing any of my data. The ROM has an updater in the settings and allows you to install OTA updates, but for me that has not worked. Whenever I try to install OTA updates and I reboot my updated phone, it gets stuck on the boot logo. I came across a solution to this which is to manually flash the updated GSI ROM without wiping any of your data beforehand. I decided to make a YouTube tutorial on how to do that. If you have any questions please din't hesitate to ask !! I'll be happy to help !!
Pre-requisites
- Unlocked bootloader
- TWRP Recovery
YouTube Step by Step Tutorial
Downloads
Pixel Experience Latest Version: https://github.com/ponces/treble_build_pe/releases
Platform Tools for Windows and Mac: https://mega.nz/folder/LXBkjKha#2zqvR2EXg5gfupPe-xEZJQ
How to Update Pixel Experience GSI ROM on Samsung S20 Series
1. Turn off your phone
2. Connect your phone to your computer via USB cable
3. Press both power + volume up buttons at the same time until you see the TWRP logo
4. Once you boot into TWRP, click on "Reboot" and then click on "Fastboot"
5. Go to your computer and download the platform tools folders that I left above
6. Go to the website linked above and download the latest version of Pixel Experience
7. Extract both the platform tools file and the pixel experience file
8. Open a new command window or terminal window on your computer
9. Go to the extracted platform tools folder and choose the "Platform Tools (Name of your OS) folder
10.Look for the "fastboot" file and drag it into a new terminal window
11. Leave a space and type the word "devices"
12. Hit enter
13. If you see a bunch of random numbers followed by the word "fastboot" your computer has recognized your phone
14. Go back to the "Platform Tools (Name of your OS)" folder and once again, drag the "fastboot" file into the terminal
15. Leave a space and type the words "erase system"
16. Hit enter
17. When the process is finished you should see the words "finished" and "total time" in the terminal
18. One last time, drag the "fastboot" file to the terminal
19. Leave a space and type "flash system"
20. Go to the pixel experience folder you previously downloaded and extracted from the website
21. Drag the "PixelExperience.....img" file over to the terminal window
22. Hit enter and wait for the file to be flashed (this might take a while)
When flashing is finished you will again see the message "finished" and "total time" in the terminal
23. Go back to your phone
24. Click on "Reboot"
25. Click on "System"
26. Wait for your phone to restart
You should now have the latest version of Pixel Experience without losing any of your data !!
ENJOY !!!
Hi there, I have a question. Is the 120 HZ working fine? Or do the display crops?

Categories

Resources