[app][official] DUALBOOT PATCHER FOR SAMSUNG GALAXY ACE 4 ( SM-G316HU/ S DUOS 3 ) - Samsung Galaxy Ace 4

DUAL BOOT PATCHER
DualBootPatcher is an open-source app that allows multiple ROMs to be installed on a single Android device. It does its best to work with existing code and does not require explicit support from ROMs. 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.
Disclaimer:
Code:
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. Hard. A lot.
Requirements:
1. A Custom Recovery (TWRP)
2. A ROM (Supported SM-G316HU. Such as Touchwiz Galaxy J3(Lollipop) & J100H(Kitkat), CM 11, 12, 13, MIUI, FlymeOS)
3. Dual Boot Patcher app and the DualBootUtilities.zip from the download section below.
What Can Be Done:
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
How to use the App?
- Download, install and open the app.
- Swipe to the right to open the menu. Click "ROMS". Now if this is the first time you use it, it will ask you if you want to set kernel. Do so!
- After it has finished go to ROM Settings (primary ROM 3 dot menu) and select Update Ramdisk. It will update it and will ask you to reboot. Press Reboot Now, or Reboot later.
- Now Download any ROM you like and open the app again and open the menu and open Patch Zip File from the menu. Ensure that your Device is set to (greatlte) and under Partition configuration select secondary (will install 2nd ROM in /system) or data slot.
- Click continue and select where to save the patched file.
- You should see the file is being put in "Queue". Just click the confirm button to the upper right.
Note: If you want to go back, just swipe the ROM in queue to right and start over.
- The app will patch the zip. When done, go back to "ROMs".
- Click "Flash zip files" (the big pink button on the lower right). Click the pink plus button to add your previously patched zip file.
- Locate the file you have patched in step 7. Unless you have changed the name there, it should be something like ROM_name_partition_config_ID.zip (like RR-N-v5.8.3-20171004-greatlte-Unofficial_dual.zip).
- Click on that file and choose "Keep location". Now confirm the flash with the button on the upper right side.
Note: You can also install the patched zip files in recovery.
- It will now open the terminal and begin flashing the file. This requires some patience. After it has flashed the file you'll see success message in green.
- Now click back and you should see your newly installed ROM along with the Primary ROM.
Note: You can find more options by clicking on the three buttons on each ROM.
- Now reboot and wait till finishing 2nd ROM first boot. install DualBootPatcher apk so you can easily switch ROMs, there is another way to change ROMs: flash DualBootUtilities.zip and switch ROM manually.
Note: Using Bootui:
- Open app then select settings and press install (update) bootui. then Swipe to the right to open the menu. Click "ROMS" again and open secondary ROM Settings) and select Update Ramdisk, Now you can change ROMs simply using boot ui (something like grub bootloader but it works like twrp)
Partitions Configurations:
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.
How to boot to another ROM ?
This is simple . There is no reboot to primary, secondary or whatever. So all you have to do is:
1) Go to ROMs section of the App.
2) Click on the ROM you want to boot to. You should see "Switching ROM" message. After few seconds, you should see a report message saying that "ROM successfully switched".
3) Now just do a normal reboot of your device. See the magic! It should boot to the ROM you have switched on step 2.
Note: You can find more options by selecting the three buttons on each ROMs (like creating reboot widgets for directly rebooting to specific rom).
You also need to install the App to all of the ROMs you install. Otherwise, you want be able to boot to other ROMs!
Apps and Data sharing:
DualBootPatcher very recently got support for sharing apps and their data across ROMs. Maybe sharing is somewhat of a misleading term. The feature actually makes Android load the shared apps and data from a centralized location, /data/multiboot/_appsharing. So you're not sharing apps from one ROM to another per se. The ROMs are just loading the apps from one shared location. Let me make this clearer with an analogy.
Think of the people in a company office as ROMs. You want to share with your coworkers some documents (apps). Instead of telling them to come over to your desk to see those documents (sharing apps from one ROM to another), everyone goes to the conference room to look at the documents together (loading apps from a shared location). That's how app and data sharing is implemented.
To use app sharing, follow these steps in every ROM that you want to use app sharing: (doesn't work with JB ROMs)
Install the app you want to share
Open DualBootPatcher and go to "App Sharing" in the navigation drawer
Enable individual app sharing
Tap "Manage shared applications" and enable APK/data sharing for the app
Reboot
Quote:
When you uninstall an app that's shared, it simply become unshared for the current ROM. That way, other ROMs are not affected. To continue the analogy above, if you quit your job, you won't shred the documents that everybody else was looking at.
If you unshare an app's data, it will go back to using the data it had before it was shared. In other words, you leave the conference room and go back to work on your own documents at your desk.
Other How to ?
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".
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:
https://dbp.noobdev.io/downloads
Sources:
DualBootPatcher: https://github.com/chenxiaolong/DualBootPatcher
DualBootUtilities: https://github.com/chenxiaolong/DualBootZips
Galaxy ACE 4(SM-G316HU) Source:
https://github.com/chenxiaolong/DualBootPatcher/pull/1090
Known issues:
- You have to tell me !!!
Contributors
yshalsager, chenxiaolong, dbp007
Version Information
Status: Stable

[Reserved]

[Reserved]

ROMS
Which custom roms do have for this device SM-G316HU
please provide link @HWDEV
---------- Post added at 02:43 PM ---------- Previous post was at 02:07 PM ----------
can't update ramdisk
it shows 'failed to update ramdisk'

pulmit said:
Which custom roms do have for this device SM-G316HU
please provide link @HWDEV
---------- Post added at 02:43 PM ---------- Previous post was at 02:07 PM ----------
can't update ramdisk
it shows 'failed to update ramdisk'
Click to expand...
Click to collapse
Visit this link :
https://forum.xda-developers.com/ace-4/general/master-thread-samsung-galaxy-ace4-s-t3631541

HWDEV said:
Visit this link :
https://forum.xda-developers.com/ace-4/general/master-thread-samsung-galaxy-ace4-s-t3631541
Click to expand...
Click to collapse
Thats ok for roms
But what about failed to update ramdisk error

pulmit said:
Thats ok for roms
But what about failed to update ramdisk error
Click to expand...
Click to collapse
Give the screenshoots. & multiboot.log file.

HWDEV said:
Give the screenshoots. & multiboot.log file.
Click to expand...
Click to collapse
previously i was using rooted stock rom when it showed ramdisk error
then i used custom rom lineage os 14 the ramdisk updated successfully
i flashed secondary rom and it was flashed successfully
after flashing the secondary rom the device was not booting
so i wiped the system and flashed the custom rom
i will again use the app and try to resolve the issue

Related

[Q][FAQ] for [WIP][ROM][JB 4.1.2][Pa+Aokp+Cm] P.A.C All in 1 ROM

This is the FAQ section of the RAY rom P.A.C All in 1 ROM
NEW: battery saving tips in post #20
How to falsh PACman ROM: Post #2 Thank Langes
0. Do I need unlocked bootloader? YES
1. I'm going to post my question without doing a search.
Fine, but you'll just get made fun of, or infracted by one of the mods who use this mod. Searching is the first rule of XDA.
1. Search before posting.
Use one of our search functions before posting, whether you have a question or something new to share, it's very likely someone already asked that question or shared that news.
Click to expand...
Click to collapse
2. People have sometimes a bad attitude in this thread, or they ignored my question.
You broke rule #1, didn't you?
3. Why Youtube FC all the time?
Mabye it’s the latest youtube app problem. Try [APP] Youtube Apk For Ics/Jelly Bean [Version 3.5.5].
4. I didn’t hear music, ringtone, notification, etc. Why?
The steps for custom tones are:
create
sdcard\alarms
sdcard\notifications
sdcard\ringtones
At first time after the rom install if you choose rintone the ringtone is mute. Select one of the ringtones and press vol+ or vol-. The notification ringtone is mute too. Select one of the notification tone then press vol+ or vol-. The same relates to the alarm. I have only one alarm time, and my phone wakes me up every time.
In apollo if you play music at the first time, the sound is mute too. press vol+ or vol-..
5. I lost my custom ringtone/alarm/notification sound, why?
Are your custom sound int he right folder? See 4.
6. I don’t want a tablet look.
If you use pac 4.1.2 it doesnt have paranoidpreferences.apk (Search for any 4.1.2 PA rom, and extract paranoidpreferences.apk from it.)
The new 4.2.2 PAC has it, so you don't need to search for it.
Just go in setting/paranoid setting/apps select
Settings (com.android.settings) and change size to 240, layout 360px save, and hit ok.
select System UI (com.android.systemiu) and change to 240/360 px.
(setting and system ui take effect after you restart the phone)
If gmail/calendar and other apps are in hybrid mod, then change it to 240/360px too.
Or try this flashable zip: see original thread post 1519 don't forget to thank pluGinSz
7. Which gapps do i need? Can i use inverted gapps too?.
Yes.
Be sure you use the proper gapps.
for 4.1.2 roms you need "gapps-jb-20121011-signed.zip"
for 4.2.2 roms you need "gapps-jb-20130301-signed.zip"
Search xda for inverted gapps.
you can save about 30mb in the system partition by flashing the "Bexton" script (download here: http://forum.xda-developers.com/show...php?t=1831004) or you can modify justunbean's zip to remove the offending files...Bexton was good enough to list the files in his OP.
Click to expand...
Click to collapse
– Thanks to justmpm in this post: #1145
8. Why it calls Alpha, its a stable rom, rename itt to beta!
alpha status protects szl from not needed questions
Click to expand...
Click to collapse
– by coolkaas
9. I'm on wrong baseband where can i find bb77, and how to upgare it?
I would like to update baseband from .70/.72. to .77,is necessary after update do something? Or is recommend to do full wipe (or maybe reflash ROM)?
The basebands are in sirkay's kernel thread. Thans to him!
Download from dropbox link the "ST18i_8x55A-AAABQOAZM-203028G-77_baseband.ftf" Copy it to [C:/]Flashtool/firmwares folder. In flashtool select Flashmode, select de baseban ftf file. (Turn off the phone, press volume down when plug in the usb) Flash it without fota, unchecked all wipe and checked no final verification. It's only the baseband, so it affect only for network signal. After baseband flashing just start your phone.
you can also use BB85, download link Thanks Langes
I tried the bb85 and found bb77 is the best, but you can give a try too
10. Where is the kernel?
The kernel (boot.img) is inside the zip. Don't unzip it, just copy the "boot.img" to the folder, where you can find it.
If you use another kernel, be sure you downloaded kernel for right jb version.
11. Can i use the rom with other kernel?
Yes you can. Some devs made a kernel for JB. But remember, that if you use other kernel, you must probably falsh his own wifi modules. Read and search in kernel thread for possible bugs.
sirkay's xKernel: xKernel JB v1.0.2 If you use it, don't forget to thanks him.
Lupus kernel by wedgess: LuPuS-_-JB.img If you use it, don't forget to thanks him.
FlyKernel by thomas1991_12: Flykernel JellyBean. Working from P.A.C. v16 and up, older (e.g. v15) not supported If you use it, don't forget to thanks him.
12. I've flashed [MOD][ICS]Camera Mod v.4.4 Cybershot Experience /
[Driver GPU Libs] New JB Adreno Driver For ICS Increase Performance
As in the thread name is, both is for IceCreamSandwich. Please read the threads! If you found it's for ICS, so it's "maybe?" not compatible with JB rom. If you found for ICS/JB roms, then you can test it for your own risk.
13 . Play store fc?
I had the same issue with PAC 15 and Google Play. What I did:
-wipe cache
-wipe dalvic cache
-reset permissions
-re-flash gapps
Click to expand...
Click to collapse
by Langes
14. Can I use the PACman kernel in another JB ROM (FXP CM10 for example)?
Yes you can. The PACman kernel has a good selection of governors and schedulers, as well as OC/UV capability. The Wi-fi is also quite stable when compared with similar JB kernels. For any marriage to work, the wi-fi modules found within the PACman ROM zip archive (in folder: /system/lib/modules) MUST replace those within the ROM you want to pair the kernel with. If you haven’t installed the ROM the you want to use you can drag (not copy and paste) the files from the PACman ROM folder to the new ROM folder before you flash it. If you have already installed the ROM you want to use you can drag the files from the PACman ROM folder to the root of your SD card, then copy and paste them to the system/lib/modules folder on your phone using a root explorer (like ES), making sure that the system is mounted and the permissions of the files once on the phone are set correctly (i.e. check they are the same as the files you replace)… Remember to unmount system when you’ve finished and reboot.
Click to expand...
Click to collapse
- by Daniel_GT
15. my sim card is not allowed to its own provider! does anyone know what to do?
You can manually restore the APN.
or you can try and restore the apns-conf.xml by flashing the attached zip.....
if it doesn't restore automatically after rebooting, go into system settings->Wireless&Networks->More->Mobile Networks->Access Point Names
hit the menu key and then select restore default (this is also where you would find go to manually restore the APN, except you would select add new APN) attachment: see post: 1287
Click to expand...
Click to collapse
- thanks justmpm
I applied zip, but when I try to set up the apn's and go to settings --> wireless & networks --> more... --> mobile networks --> access point names it goes back to the main settings screen and so I can't set the apn's.
Make sure you turn off any sim card lock and then turn the phone off and on to make sure it is gone. Check to see if your apn sets up automatically. If that doesn't work make sure that your provider (including country) is listed in the apns-conf.xml (it is pretty legible if you open it with notebook+).
Click to expand...
Click to collapse
- thanks justmpm
16. Can I use xperia keyboard? - It's the defauld keyboard from v16 - to v19.3.
Yes you can. [APP] Xperia S Keyboard [ICS][JB] Don't forget to thank idareyoutoclickthis in his thread.
The other prefered xperia keyboard is: Xperia sx keyboard Don't forget to thank naruk
17. Can I revert back to android keyboard? Since the defauld keyboard in v16-v19.3 is xperia keyboard
Yes you can. The 4.2 android keyboard support only english, but you can copy LatinIME.apk from rom zip [in 4.1.2 roms the v15 has it (4.1.x keyboard), in 4.2.2 roms in all zips], and put with rootexplorer in system/app. Change permissions to rw-r--r--. Reboot and enjoy.
Or you can download from original thread post #1953 don't forget to thank justmpm
18. Low RAM problem?
If you want you can activate swap.
Read more and how to in this post: SWAP flashable zip.
Don't forget to thank shardul_seth!
19. TWRP recovery (pac v19.1 kernel) backup problem?
E:Unable to locate boot partition.
Click to expand...
Click to collapse
Who has this backup fail, open .twrps file from sdcard/twrp folder with text editor (root explorer or copy it to pc and edit with notepad++ and overwrite old one). In this file change "tw_backup_boot 1" to 0.
20. Themed mms/sms app Recommended :good:
Made by Adulfo, download link and instructions: [HDPI/MDPI][FXP/CM10/PAC]Inverted MMS with 471 Emoji Icons
Don't forget to thank Adulfo in oroginal thread.
more comming soon.
HOW TO USE FLASHTOOL?
Flashtool & Fastboot (XPERIADEV) or Ray Flashtool thread
HOW TO FALSH PAC ROM, IF YOU ARE A NEW ANDROID USER OR YOU UNLOCKED A BOOTLOADER FEW WEAKS AGO
Try this, slowly, carefully, exactly and in order.
1) Make sure you have a copy of the PAC ROM zip on your SD card.
2) Using Flashtool, install 4.0.4 in full, Do not exclude anything, all the wipe tick boxes checked.
3) Unplug your phone, do not turn it on.
4) On your computer, open the PAC ROM zip with WinRAR and DRAG boot.img to your desktop with your mouse. Close the ROM zip.
5) Holding volume +, plug your phone back in. The light will go blue. The Flashtool window will show connected in fastboot mode.
6) Open the Fastboot window in Flashtool and select kernel to flash. Pick the one on your desktop. Wait for it to finish (not long)
7) In the fastboot window, reboot phone into system.
8) Unplug the phone
9) The phone should start, if it doesn't then turn it on.
10) The PAC logo will appear. When the lights flash press Vol + and Vol - until the wobbly CWM recovery screen comes on.
11) do this from the menus:
Wipe data/ factory reset, then Wipe cache.
Go to advanced, wipe dalvik cache.
Hit back, go to mounts and storage, format system.
Hit back, choose zip to install, pick the PAC ROM from your SD card.
Leave the phone for about an hour alone.
Then install gapps from SD card using recovery. Pick reboot to recovery from power off menu.
You do not need xparts. The phone will go back into wobbly CWM screen. Choose zip from SD card. Choose gapps. When installed wipe data, cache, and dalvik cache again. DON'T FORMAT SYSTEM. Reboot.
The giude was made by Daniel_GT thank him in this post: #2175
How to Flash PACman ROM (first time)
1 - MAKE BACKUP
2 - download rom zip file, store it somewhere on your SD card (I have a "FlashFiles" folder)
3 - copy boot.img from zip to pc, where you can find it
4 - flash kernel in ROM zip file in fastboot mode
5 - reboot into recovery
!! did you make a backup ??
6 - flash ROM
7 - flash gapps (or inverted gapps if you want)
8 - factory reset
9 - wipe cache
10 - wipe dalvik cache
11 - flash any other zip's you need/want to (e.g. wifi modules if you usin other kernel as in the zip)
12 - reboot
13 - enjoy
14 - click on THANKS button in szl's Original Post
How to Update PACman ROM (you are already on PACman, new version is out)
1 - MAKE BACKUP
2 - download rom zip file, store it somewhere on your SD card (I have a "FlashFiles" folder)
3 - flash kernel in ROM zip file (only if a new kernel is mentioned)
4 - reboot into recovery
!! did you make a backup ??
5 - flash ROM
6 - flash gapps
7 - flash any other zip's you need/want to
8 - reboot
9 - enjoy
10 - click on THANKS button in szl's update post
If you encounter any bugs after updating ROM without wipe data process, back up your installed apps & user data using TB, go to CWM & wipe data, reboot & restore from TB
Click to expand...
Click to collapse
- by szl.kiev
For incremental updates:
How to Update PACman ROM (you are already on PACman, update is out e.g. from 15.0 to 15.1)
1 - MAKE BACKUP
2 - download update zip file, store it somewhere on your SD card (I have a "FlashFiles" folder)
3 - reboot into recovery
!! did you make a backup ??
4 - flash update zip file
5 - reboot
6 - enjoy
7 - click on THANKS button in szl's update post
The gapps doesn't include Gmail and maps, this two apps (if you want it) you must download from playstore.
Credit goes to Langes for this guide
KERNEL:
V19.3 kernel with TWRP recovery - Fixed WiFi connectivity
V19.3 kernel link: boot.img (v19.3)
Code:
MD5: aa05b6fedd97f4afaa2b69dee4081e0b *boot.img
Older kernels
v19.2.1 test kernel with TWRP
v.19.2.1 kernel link: Original thread post#2848
Code:
MD5: 68204ba4fa8dd7e2573b41c4266a19c3 *boot_v19.2.1_test.img
V19.2 kernel with TWRP recovery - Fixed TWRP backup & restore
V19.2 kernel link: boot.img (v19.2)
Code:
MD5: 46dadcb05b50ff4d1d4b6f008ff12f4b *boot.img
V19.1 kernel with TWRP recovery
V19.1 kernel link: boot.img (v19.1)
Code:
MD5: 909202c9afbd6692ce2ad2dcdf25193c *boot.img
*If you have problem with creating backup then go to post #1 19.
If you want you can use my twrp theme for pac rom: PAC twrp theme 854x480
V19 kernel
. New two-stage boot method
. Fix some lagging
. Fix dancing CWM (thank to Scritch007)
. CWM 6.0.2.5
Click to expand...
Click to collapse
V19 kernel link: boot.img (v19)
Code:
md5: 62dc729b9309bb201fbdba9f0820f149 *boot.img
V18 kernel:
V18 kernel link: boot.img (v18)
Code:
md5: 5ce2ca3297ecf6f474ca4f3e98904b1c *boot.img
this is what i'm waiting for! your awesomeness increases 100%
Sent from my ST18i using xda premium
Power saving
I added some lines to pac v16.1 build.prop to save more battery.
I maked it as flashable zip, so you don't need add lines manually to build.prop.
Download zip. Put it in sdcard root (or where you can find it on sdcard) Go in cwm, select "install zip from sdcard" select zip, reboot and enjoy.
This are the lines what i added:
Code:
# power saving
ro.ril.disable.power.collapse=0
# Saves some battery without reducing performances
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
If you want to edit/delete some lines, or add your own lines just copy wechy.sh from zip, edit it with notepad++ (add your tweak line) copy back edited one into zip, and falsh it as i wrote above. Be carefull what you add to build.prop!
And of course: flash it at your own risk, i'm not responsible if you brick your phone... etc.
Hit thanks if i helped you.
New version: View attachment Battery_saves_buildprop_addon.zip
(MD5: cedef7671603c5b2cb5d4ce6d561c5d8 *Battery_saves_buildprop_addon.zip)
Woww...Amazing....Nice and informative thread.... :good::good::good:
erro while installing
Wechy77 said:
How to Flash PACman ROM (first time)
1 - MAKE BACKUP
2 - download rom zip file, store it somewhere on your SD card (I have a "FlashFiles" folder)
3 - copy boot.img from zip to pc, where you can find it
4 - flash kernel in ROM zip file in fastboot mode
5 - reboot into recovery
!! did you make a backup ??
6 - flash ROM
7 - flash gapps (or inverted gapps if you want)
8 - factory reset
9 - wipe cache
10 - wipe dalvik cache
11 - flash any other zip's you need/want to (e.g. wifi modules if you usin other kernel as in the zip)
12 - reboot
13 - enjoy
14 - click on THANKS button in szl's Original Post
How to Update PACman ROM (you are already on PACman, new version is out)
1 - MAKE BACKUP
2 - download rom zip file, store it somewhere on your SD card (I have a "FlashFiles" folder)
3 - flash kernel in ROM zip file (only if a new kernel is mentioned)
4 - reboot into recovery
!! did you make a backup ??
5 - flash ROM
6 - flash gapps
7 - flash any other zip's you need/want to
8 - reboot
9 - enjoy
10 - click on THANKS button in szl's update post
- by szl.kiev
For incremental updates:
How to Update PACman ROM (you are already on PACman, update is out e.g. from 15.0 to 15.1)
1 - MAKE BACKUP
2 - download update zip file, store it somewhere on your SD card (I have a "FlashFiles" folder)
3 - reboot into recovery
!! did you make a backup ??
4 - flash update zip file
5 - reboot
6 - enjoy
7 - click on THANKS button in szl's update post
The gapps doesn't include Gmail and maps, this two apps (if you want it) you must download from playstore.
Credit goes to Langes for this guide
Click to expand...
Click to collapse
Im sorry for the question but I dont understand what im doing wrong...
I have unlock my bootloader, install CWM , flash my Xperia Ray with the Boot.img kernel (via flashtools) but when Im installing the .zip file via CWM I get a error message (Status 7)...
Anyone have any Idea why is this happening ???? I have download all from http://forum.xda-developers.com/showthread.php?t=1803076
Thanks
Betogil89 said:
Im sorry for the question but I dont understand what im doing wrong...
I have unlock my bootloader, install CWM , flash my Xperia Ray with the Boot.img kernel (via flashtools) but when Im installing the .zip file via CWM I get a error message (Status 7)...
Anyone have any Idea why is this happening ???? I have download all from http://forum.xda-developers.com/showthread.php?t=1803076
Thanks
Click to expand...
Click to collapse
Edited: Try Tutych method: link
Wechy77 said:
Edited: Try Tutych method: link
Click to expand...
Click to collapse
How do I open the file? every time I extract the folders it asks if I Want to replace the (because there is a File allready with that name). :/ sorry for this questions...
Betogil89 said:
How do I open the file? every time I extract the folders it asks if I Want to replace the (because there is a File allready with that name). :/ sorry for this questions...
Click to expand...
Click to collapse
copy from file (dont extarct) edith with notepad ++ and copy back to place.
Wechy77 said:
copy from file (dont extarct) edith with notepad ++ and copy back to place.
Click to expand...
Click to collapse
It gives a error message every time... says the file is corrupted or missing... :\
Ok I have done it... problem was that was doing it With 7zip instead of Winrar... Ok Im going to try it finally thaks a lot
SOLVED
Thx a lot for the additional instructions about reverted gapps ! :victory:
Xperia SX Keyboard
http://forum.xda-developers.com/showpost.php?p=33774862&postcount=1404
How to remove dot pointer? It's so annoying me, sorry for bad english
Budi Satria said:
How to remove dot pointer? It's so annoying me, sorry for bad english
Click to expand...
Click to collapse
In settings--> developer options is "Show touches" or "Pointer location" enabled?
Wechy77 said:
In settings--> developer options is "Show touches" or "Pointer location" enabled?
Click to expand...
Click to collapse
No guys, it's been unchecked but it won't be removed, how do i do?
Activate SWAP Thanks to shardul_seth
http://forum.xda-developers.com/showpost.php?p=34487502&postcount=2058
szl.kiev said:
Activate SWAP Thanks to shardul_seth
http://forum.xda-developers.com/showpost.php?p=34487502&postcount=2058
Click to expand...
Click to collapse
Added as 18.
Detailed step-by-step guide
Be sure your bootloader is unlocked
1. Download flashtool from this thread: Flashtool thread
If you don't fion the download link: http://androxyde.github.com/index.html?1353608331000 Go to "installation" and download Flashtool
2. Install flashtool.
3. Install drivers inside [C:/]flashtool/drivers restart your pc
4. Download boot.img from post #2
5. Download rom from original thread and download gapps from original thread too.
6. Copy untouched zips to sd card root.
7. Turn off your phone
8. Plug usb into Pc
9. Hold volume up when plug the other end of usb cable into phone (led lights blue)
10. Run flashtool, hit the lightning icon and select fastboot mode
11. Flash kernel YOU MUST SEE: "OKEY"
12. Disconnect usb cable
13. Turn on phone, go into recovery
And follow post #2 How to Flash PACman ROM (first time)
Battery saving tips:
1. See what's sucking the most juice. Navigate to Settings > About Phone > Battery Use to see an organized breakdown of what's consuming your phone's battery. Applications and features will display in a descending list of battery hogs. If you see an application you barely use or a feature you never use, uninstall the app or turn off the feature.
You can download BetterBatteryStats from xda
2. Turn unnecessary hardware features off It's great that today's phones have 3G, GPS, Wi-Fi, and Bluetooth, but do you really need all four activated 24 hours per day? (Use toggles and enable/disable it)
3. Dump unnecessary home screen widgets and live wallpaper. Just because they're sitting on the home screen, seemingly inactive, doesn't mean they're not consuming power. That goes for widgets that poll status updates in the background, as well as ones that just sit there but look pretty and animated—not to mention animated live wallpaper.
4. Screen rotation - use with toggle. enable it, if you really want to with toggle
5. Google play store - Do you need realy that google play looks for updates in 24 h a day? Or you can check it manually when you are at home with wifi?
In playstore settings disable Notification, Auto-update apps, Auto-add widgets and Google AdMobs Ads.
6. Are you 0/24 on net? Enable with toggle only 2g, and disable it, when you use internet browsing mail download etc.
7. Keep an eye on signal strength. If you're in an area with low signal strength, the phone will work harder to latch onto a strong-enough cellular signal. This has an adverse effect on battery life. If your phone switching all the time from 3g to 2g, then you shoul enable only 2g, then the phone doesn't look for 3g network.
8. Most of widget/apps has a update time chooser. Set weather widgets/apps update time to 1 hour.
9. Sometimes i use Google maps, but location is off by me. If you dont want share you location with others then disable it in setting (so the phone does not attempt to determine your place on the basis of transmission towers)
10. I'm almost certain, that after turning wifi off the battery drain is much higher than normally...
justmpm I think this is pretty normal...it will depend a lot on how you set up you 3g/2g settings. Syncing, location tracking, and google maps can all really burn up the battery. If you don't want to fiddle around optimizing every little network app....you can use something like Green Power from the play store. You can set this up to turn off the wifi and data network when the screen goes off....the good thing about Green Power is that you can set it up to wake up every so often to sync your emails, facebook, and whatever else you want. When I have it installed, I usually have it off for 15 minutes and then turn on to sync for 1 minute (it will keep the network open until all the traffic is done, so it won't cut things off if they take > 1 minute to download). I think the default setting for this is off for 5 minutes, on for 1. Even these settings can really extend your battery if your wifi or 3g/2g networks are causing a lot of battery drain.
Click to expand...
Click to collapse
With this settings you can reach 2 days maybe 3 with low usage.
If someone has other usefull idea, than i edit this post.

[HOW-TO] Updating NT Internal EMMC to CM11 from CM10.x

[Caveat emptor: adopt/follow this guide at your own risk].
[Important Note: this process is applicable for CM11 builds that still maintains two separate partitions for /data and /media – as in CM10.x and stock ROMs (see http://forum.xda-developers.com/showthread.php?p=48612997#post48612997 for more info). If/when these two partitions get merged in some future CM11 builds (as being contemplated by our NT CM developers – see http://forum.xda-developers.com/showthread.php?t=2560827&page=28) this "CM10 to CM11" update process will not be valid for those future builds with merged /data+media partition].
Below is the process that can be used to update your NT EMMC from CM10.x to CM11.
Download the following files to a location in your user content-media storage space on the NT:
the flashable_CWM_6.0.4.5_chrmhoffmann.zip file from https://www.mediafire.com/folder/xjwc1a482a6ll/Nook_Tablet which contains the CWM recovery v0.2 provided by Chris Hoffmann (in the first post of the XDA Official CM11 thread http://forum.xda-developers.com/showthread.php?t=2560827).
the zip file of CM11 ROM build of your choice from http://download.cyanogenmod.org/?device=acclaim (see http://www.cyanogenmod.org/blog/cm-11-m4-post-release-items for considerations in choosing nightlies vs. snapshot/stable builds)
the zip file of the Gapps package corresponding to CM11 – e.g., from http://wiki.cyanogenmod.org/w/Google_Apps
Boot into your current emmc recovery
Select install zip and install flashable CWM recovery zip file (obtained in step 1(a)).
Select reboot to boot into the new emmc recovery (flashed in the preceding step).
Select Wipe data & factory reset.
Select install zip and install CM11 zip file.
Select install zip and install Gapps zip file.
Reboot into the new CM11.
Once the NT boots up, set up the wifi connectivity and your google account info. If you had previously enabled Google backup service on your CM10.x your Google Playstore apps will be auto-downloaded (but their settings will not be auto-restored).
If the NT on occasion boots or reboots into a black screen (in lieu of CM boot animation), then you have encountered one of the "random boot crashes" – more info and potential remedies, see http://forum.xda-developers.com/showpost.php?p=48941796&postcount=94 and http://forum.xda-developers.com/showthread.php?p=48301259#post48301259.
A few additional points worth noting:
Flashing CM11 requires CWM version 6.0.4.5 or later, or TWRP version 2.6.3.0 or later. To create a flashable recovery zip file for TWRP, use an archive file manager such as 7-zip to delete and replace the recovery.img inside the flashable recovery zip file (obtained in step 1(a) above) with your choice of TWRP internal recovery image file from http://techerrata.com/browse/twrp2/acclaim (e.g., openrecovery-twrp-2.6.3.1-acclaim.img). Remember to rename the downloaded TWRP .img file to recovery.img before inserting it into the recovery zip file, and also rename the resulting new recovery zip file to some other name like flashable_TWRP_2.x.y.z.zip to avoid future mix-up.
Installing CM11 ROM and Gapps will override your NT's CM10.x boot, recovery, ROM, and Apps, so make sure that you backup all this stuff using recovery backup function, for easy in reverting to CM10.x if desired. See my post at http://forum.xda-developers.com/showthread.php?p=48612997#post48612997 for more "Info and Tips for Mitigating Risks in Rooting and Flashing Custom-ROM".
I would advise against using any other functions of the recovery without first carefully researching to understand what they really do.
My thanks to all the developers who collective work created the wonderful CM11 ROM for the NT as well as the tools and info I made use of to install it.
A day before i moved from CM 10 to CM 11 , with the help of mikeataol
Anyway Thanks a lot for this guide.
Few questions
* Any good custom kernel ? I tried Bexus but its giving me "android.phone" stopped responding error and wont allow me to do anything , it just keeps on coming even after pressing "OK"
* What happend to multi touch feature ? any ROM , way to enable it ?
* Is it only me or others too feel that the screen lags a lot wrt to touch input ? Its more evident during scrolling or reaading pdf. Also anyway to resolve it ? I desperately need a fix for this.
* I used gapps from here : http://wiki.cyanogenmod.org/w/Google_Apps
CM 11 20140105 , is it fine or i should use PA Gapps only ?
naveen_reloaded said:
...
* What happend to multi touch feature ? any ROM , way to enable it ?
Click to expand...
Click to collapse
Look for the Touch FW Flasher app on the App Drawer screens.
* Is it only me or others too feel that the screen lags a lot wrt to touch input ? Its more evident during scrolling or reaading pdf. Also anyway to resolve it ? I desperately need a fix for this.
Click to expand...
Click to collapse
Did you do wipe /data and /cache in the CM11 installation process?
* I used gapps from here : http://wiki.cyanogenmod.org/w/Google_Apps
CM 11 20140105 , is it fine or i should use PA Gapps only ?
Click to expand...
Click to collapse
The Gapps KK package you installed is fine, the PA package just has a few more apps (such as Maps and YouTube, etc. -- all of which you can get from the Google Playstore) and is more frequently updated (-> less likelihood/need for updates for the apps in the package immediately after first installation).
digixmax said:
Look for the Touch FW Flasher app on the App Drawer screens.
Did you do wipe /data and /cache in the CM11 installation process?
The Gapps KK package you installed is fine, the PA package just has a few more apps (such as Maps and YouTube, etc. -- all of which you can get from the Google Playstore) and is more frequently updated (-> less likelihood/need for updates for the apps in the package immediately after first installation).
Click to expand...
Click to collapse
Thanks , I heard that multitouch has bug which makes tablet slow at <50% battery , is it so ? also does that app work on cm 11?
Yes , i did wipe everything and installed CM 11 , still the screen is stuttering. very annoying. Is there a way to increase the fps ? or see if GPU drivers are working properly ?
The default Gapps are giving error when flashed with Bexus kernel
---------- Post added at 08:12 AM ---------- Previous post was at 07:32 AM ----------
https://play.google.com/store/apps/details?id=com.aatt.fpsm&hl=en
Used this app and saw that fps varies and it varies like from 7 - 50 during reading pdf.
On slow scrolling of pdf , it only shows 11 or so fps , which is why i think shows the stuttering effect
Used the same app on my GS3 to see the difference and it holds its FPS at 60+ and not dropping below 50.
I think if i can make this tablet to render everything at 30+ fps i might not feel this stuttering effect.
https://dl.dropboxusercontent.com/u/15488514/nooktablet.mp4
here is the video i tried to take regarding the screen lag.
its all real time , there is no , afaik any camera lag ( taken with sg3) , its pretty much how it looks . Also i have shown the FPS . You can see when i scroll slowly , the FPS drops to 20 or so making it jerky. if i do it fast , it reaches 50+ but not stable and not very responsive to my touch feedback either.
digixmax said:
[Caveat emptor: adopt/follow this guide at your own risk].
[Important Note: this process is applicable for CM11 builds that still maintains two separate partitions for /data and /media – as in CM10.x and stock ROMs (see http://forum.xda-developers.com/showthread.php?p=48612997#post48612997 for more info). If/when these two partitions get merged in some future CM11 builds (as being contemplated by our NT CM developers – see http://forum.xda-developers.com/showthread.php?t=2560827&page=28) this "CM10 to CM11" update process will not be valid for those future builds with merged /data+media partition].
Below is the process that can be used to update your NT emmc from CM10.x to CM11.
Download the following files to a location in your user content-media storage space on the NT:
the flashable_CWM_6.0.4.5_chrmhoffmann.zip file from https://www.mediafire.com/#xjwc1a482a6ll which contains the CWM recovery v0.2 provided by Chris Hoffmann (in the first post of the XDA Official CM11 thread http://forum.xda-developers.com/showthread.php?t=2560827).
the zip file of CM11 ROM build of your choice from http://download.cyanogenmod.org/?device=acclaim (see http://www.cyanogenmod.org/blog/cm-11-m4-post-release-items for considerations in choosing nightlies vs. snapshot/stable builds)
the zip file of the Gapps package corresponding to CM11 – e.g., pa_gapps-modular-mini-4.4.2-20140301-signed.zip from http://goo.im/devs/paranoidandroid/roms/gapps-mini
Boot into your current emmc recovery
Select install zip and install flashable CWM recovery zip file.
Reboot into the new emmc recovery (flashed in the preceding step).
Select Wipe data & factory reset.
Select install zip and install CM11 zip file.
Select install zip and install Gapps zip file.
Reboot into the new CM11.
Once the NT boots up, set up the wifi connectivity and your google account info. If you had previously used Google backup service your apps will be auto-downloaded (but their settings will not be auto-restored).
If the NT on occasion boots or reboots into a black screen (in lieu of CM boot animation), then you have encountered one of the "random boot crashes" – more info and potential remedies, see http://forum.xda-developers.com/showpost.php?p=48941796&postcount=94 and http://forum.xda-developers.com/showthread.php?p=48301259#post48301259.
A few additional points worth noting:
Flashing CM11 requires CWM version 6.0.4.5 or later, or TWRP version 2.6.3.0 or later. To create a flashable recovery zip file for TWRP, use an archive file manager such as 7-zip to delete and replace the recovery.img inside the flashable recovery zip file (obtained in step 1(a) above) with your choice of TWRP internal recovery image file from http://techerrata.com/browse/twrp2/acclaim (e.g., openrecovery-twrp-2.6.3.1-acclaim.img). Remember to rename the downloaded TWRP .img file to recovery.img before inserting it into the recovery zip file, and also rename the resulting new recovery zip file to some other name like flashable_TWRP_2.x.y.z.zip to avoid future mix-up.
Installing CM11 ROM and Gapps will override your NT's CM10.x boot, recovery, ROM, and Apps, so make sure that you backup all this stuff using recovery backup function, for easy in reverting to CM10.x if desired. See my post at http://forum.xda-developers.com/showthread.php?p=48612997#post48612997 for more "Info and Tips for Mitigating Risks in Rooting and Flashing Custom-ROM".
I would advise against using any other functions of the recovery without first carefully researching to understand what they really do.
My thanks to all the developers who collective work created the wonderful CM11 ROM for the NT as well as the tools and info I made use of to install it.
Click to expand...
Click to collapse
The mediafire link does work anymore. Could you reupload the zip file?
Hannibal2050 said:
The mediafire link does work anymore.
Click to expand...
Click to collapse
Link fixed.
digixmax said:
Link fixed.
Click to expand...
Click to collapse
WHen I pressed to Install zip from sd card, the screen only show the symbol of ROM Manager (a hat), and stucked.
What should I do now?
Hannibal2050 said:
WHen I pressed to Install zip from sd card, the screen only show the symbol of ROM Manager (a hat), and stucked.
What should I do now?
Click to expand...
Click to collapse
What version of CWM do you currently have on emmc?
digixmax said:
What version of CWM do you currently have on emmc?
Click to expand...
Click to collapse
Sorry, I handled this issue.
But now if I selected the ZIP file I downloaded from the first post, CWM reported that this file is BAD, and I cannot install.
I am using CWM 5.5.0.4.
I downloaded this file several times, but the issue does not disaapear
Hannibal2050 said:
Sorry, I handled this issue.
But now if I selected the ZIP file I downloaded from the first post, CWM reported that this file is BAD, and I cannot install.
I am using CWM 5.5.0.4.
I downloaded this file several times, but the issue does not disaapear
Click to expand...
Click to collapse
You need a newer version of CWM 6.0.[1-3].x to install CM10.x.
If you have a SD card handy, try the method outlined at http://forum.xda-developers.com/showpost.php?p=51377882&postcount=163.
digixmax said:
You need a newer version of CWM 6.0.[1-3].x to install CM10.x.
If you have a SD card handy, try the method outlined at http://forum.xda-developers.com/showpost.php?p=51377882&postcount=163.
Click to expand...
Click to collapse
Hi,
I did exactly like that. I tried to update CWM to 6.0.45 and the current CWM reported that the zip file of CWM 6.0.45 is BAD
Hannibal2050 said:
Hi,
I did exactly like that. I tried to update CWM to 6.0.45 and the current CWM reported that the zip file of CWM 6.0.45 is BAD
Click to expand...
Click to collapse
For CM10.x you need 6.0.[1-3].x (e.g., 6.0.2.8).
6.0.4.5 and later versions are for CM11 only.
If you follow the SD-based CWM recovery method in the referenced post the CWM recovery you'd be using (to flash the new CWM, ROM, Gapps) is provided by the file recovery.img (downloaded and copied to the SD card) rather than your current 5.5.0.4 on emmc. Make sure that you boot the NT off the SD card as prescribed in step #3 (otherwise you will end up booting emmc cyanoboot and CWM).
FYI, i'm pretty sure TWRP 2.7 (official from GooManager/TWRP site) doesn't work. if you click on the console button (square with lines in it, top) it'll say "This kernel doesn't support configuring SELinux" or something like that. i tried wiping stuff and it would just do a soft reboot. i may go file a proper report to TeamWin but i have CWM on there now and i don't particularly feel like reflashing a broken recovery.
TL;DR don't use TWRP
Hello, I'm new and trying to learn so please don't be too harsh. In following the instructions I somehow overwrote the stock rom and now duel boot CM 10.1 and 11. Any clue as in what I have done wrong?
Thanks in advance.
phrozen_flame said:
Hello, I'm new and trying to learn so please don't be too harsh. In following the instructions I somehow overwrote the stock rom and now duel boot CM 10.1 and 11. Any clue as in what I have done wrong?
Thanks in advance.
Click to expand...
Click to collapse
This thread OP is for updating the NT Internal Emmc to CM11 (from CM10.x), i.e., CM11 would be installed internally. If you were still running stock ROM internally, it wold be replaced by CM11.
good looking out
digixmax said:
[Caveat emptor: adopt/follow this guide at your own risk].
[Important Note: this process is applicable for CM11 builds that still maintains two separate partitions for /data and /media – as in CM10.x and stock ROMs (see http://forum.xda-developers.com/showthread.php?p=48612997#post48612997 for more info). If/when these two partitions get merged in some future CM11 builds (as being contemplated by our NT CM developers – see http://forum.xda-developers.com/showthread.php?t=2560827&page=28) this "CM10 to CM11" update process will not be valid for those future builds with merged /data+media partition].
Below is the process that can be used to update your NT emmc from CM10.x to CM11.
Download the following files to a location in your user content-media storage space on the NT:
the flashable_CWM_6.0.4.5_chrmhoffmann.zip file from https://www.mediafire.com/folder/xjwc1a482a6ll/Nook_Tablet which contains the CWM recovery v0.2 provided by Chris Hoffmann (in the first post of the XDA Official CM11 thread http://forum.xda-developers.com/showthread.php?t=2560827).
the zip file of CM11 ROM build of your choice from http://download.cyanogenmod.org/?device=acclaim (see http://www.cyanogenmod.org/blog/cm-11-m4-post-release-items for considerations in choosing nightlies vs. snapshot/stable builds)
the zip file of the Gapps package corresponding to CM11 – e.g., pa_gapps-modular-mini-4.4.2-20140301-signed.zip from http://goo.im/devs/paranoidandroid/roms/gapps-mini
Boot into your current emmc recovery
Select install zip and install flashable CWM recovery zip file.
Reboot into the new emmc recovery (flashed in the preceding step).
Select Wipe data & factory reset.
Select install zip and install CM11 zip file.
Select install zip and install Gapps zip file.
Reboot into the new CM11.
Once the NT boots up, set up the wifi connectivity and your google account info. If you had previously used Google backup service your apps will be auto-downloaded (but their settings will not be auto-restored).
If the NT on occasion boots or reboots into a black screen (in lieu of CM boot animation), then you have encountered one of the "random boot crashes" – more info and potential remedies, see http://forum.xda-developers.com/showpost.php?p=48941796&postcount=94 and http://forum.xda-developers.com/showthread.php?p=48301259#post48301259.
A few additional points worth noting:
Flashing CM11 requires CWM version 6.0.4.5 or later, or TWRP version 2.6.3.0 or later. To create a flashable recovery zip file for TWRP, use an archive file manager such as 7-zip to delete and replace the recovery.img inside the flashable recovery zip file (obtained in step 1(a) above) with your choice of TWRP internal recovery image file from http://techerrata.com/browse/twrp2/acclaim (e.g., openrecovery-twrp-2.6.3.1-acclaim.img). Remember to rename the downloaded TWRP .img file to recovery.img before inserting it into the recovery zip file, and also rename the resulting new recovery zip file to some other name like flashable_TWRP_2.x.y.z.zip to avoid future mix-up.
Installing CM11 ROM and Gapps will override your NT's CM10.x boot, recovery, ROM, and Apps, so make sure that you backup all this stuff using recovery backup function, for easy in reverting to CM10.x if desired. See my post at http://forum.xda-developers.com/showthread.php?p=48612997#post48612997 for more "Info and Tips for Mitigating Risks in Rooting and Flashing Custom-ROM".
I would advise against using any other functions of the recovery without first carefully researching to understand what they really do.
My thanks to all the developers who collective work created the wonderful CM11 ROM for the NT as well as the tools and info I made use of to install it.
Click to expand...
Click to collapse
Ive been trying to update for a while now and i just couldn't figure it out until i came across your thread.and as right now i am running cm 11 and its all good so far.you made my day.
Help
digixmax said:
[Caveat emptor: adopt/follow this guide at your own risk].
[Important Note: this process is applicable for CM11 builds that still maintains two separate partitions for /data and /media – as in CM10.x and stock ROMs (see http://forum.xda-developers.com/showthread.php?p=48612997#post48612997 for more info). If/when these two partitions get merged in some future CM11 builds (as being contemplated by our NT CM developers – see http://forum.xda-developers.com/showthread.php?t=2560827&page=28) this "CM10 to CM11" update process will not be valid for those future builds with merged /data+media partition].
Below is the process that can be used to update your NT emmc from CM10.x to CM11.
Download the following files to a location in your user content-media storage space on the NT:
the flashable_CWM_6.0.4.5_chrmhoffmann.zip file from https://www.mediafire.com/folder/xjwc1a482a6ll/Nook_Tablet which contains the CWM recovery v0.2 provided by Chris Hoffmann (in the first post of the XDA Official CM11 thread http://forum.xda-developers.com/showthread.php?t=2560827).
the zip file of CM11 ROM build of your choice from http://download.cyanogenmod.org/?device=acclaim (see http://www.cyanogenmod.org/blog/cm-11-m4-post-release-items for considerations in choosing nightlies vs. snapshot/stable builds)
the zip file of the Gapps package corresponding to CM11 – e.g., pa_gapps-modular-mini-4.4.2-20140301-signed.zip from http://goo.im/devs/paranoidandroid/roms/gapps-mini
Boot into your current emmc recovery
Select install zip and install flashable CWM recovery zip file.
Reboot into the new emmc recovery (flashed in the preceding step).
Select Wipe data & factory reset.
Select install zip and install CM11 zip file.
Select install zip and install Gapps zip file.
Reboot into the new CM11.
Once the NT boots up, set up the wifi connectivity and your google account info. If you had previously used Google backup service your apps will be auto-downloaded (but their settings will not be auto-restored).
If the NT on occasion boots or reboots into a black screen (in lieu of CM boot animation), then you have encountered one of the "random boot crashes" – more info and potential remedies, see http://forum.xda-developers.com/showpost.php?p=48941796&postcount=94 and http://forum.xda-developers.com/showthread.php?p=48301259#post48301259.
A few additional points worth noting:
Flashing CM11 requires CWM version 6.0.4.5 or later, or TWRP version 2.6.3.0 or later. To create a flashable recovery zip file for TWRP, use an archive file manager such as 7-zip to delete and replace the recovery.img inside the flashable recovery zip file (obtained in step 1(a) above) with your choice of TWRP internal recovery image file from http://techerrata.com/browse/twrp2/acclaim (e.g., openrecovery-twrp-2.6.3.1-acclaim.img). Remember to rename the downloaded TWRP .img file to recovery.img before inserting it into the recovery zip file, and also rename the resulting new recovery zip file to some other name like flashable_TWRP_2.x.y.z.zip to avoid future mix-up.
Installing CM11 ROM and Gapps will override your NT's CM10.x boot, recovery, ROM, and Apps, so make sure that you backup all this stuff using recovery backup function, for easy in reverting to CM10.x if desired. See my post at http://forum.xda-developers.com/showthread.php?p=48612997#post48612997 for more "Info and Tips for Mitigating Risks in Rooting and Flashing Custom-ROM".
I would advise against using any other functions of the recovery without first carefully researching to understand what they really do.
My thanks to all the developers who collective work created the wonderful CM11 ROM for the NT as well as the tools and info I made use of to install it.
Click to expand...
Click to collapse
So, will pa_gapps-modular-mini-4.4.2-20140608-signed.zip work with any cm11?
11lump said:
So, will pa_gapps-modular-mini-4.4.2-20140608-signed.zip work with any cm11?
Click to expand...
Click to collapse
Yes.
Can't seem to figure this out myself. I have Twrp 2.6.3.0 and it won't let me flash CWM or CM11. Just gives the standard flashing error. Any ideas?
Sent from my XT1058 using XDA Free mobile app

[APP] Dual Boot Patcher

Dual Boot Patcher - Dual boot any ROMs on your Galaxy Grand Prime VE
Huge thanks to @chenxiaolong for his wonderful app, bringing a new life to our device
Now let's get started!
This app 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.
Windows (GUI)
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
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.
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/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:
[LINK] Dual Boot Patcher
Source code:
DualBootPatcher: https://github.com/chenxiaolong/DualBootPatcher
Build instructions: https://github.com/chenxiaolong/DualBootPatcher/tree/master/docs
XDA:DevDB Information
Dual Boot Patcher, App for all devices (see above for details)
Contributors
doesntexits, chenxiaolong
Source Code: https://github.com/chenxiaolong/DualBootPatcher
Version Information
Status: Testing
Created 2016-12-20
Last Updated 2016-12-20
Reserved
Reserved
Thank you.

Boot multiple roms on nexus 6p using Dual boot patcher!

Haven't seen anyone else discussing this particular solution yet so figured I'd share that we can boot multiple roms using dual boot patcher by @chenxiaolong.
*The only things I'd recommend are the following:
*MAKING A BACKUP FIRST IN RECOVERY. Especially if you've never used the app, this helps in case you misunderstood something or didn't read enough or didn't think enough or the dog ate your homework.
*I recommend using TWRP version 3.0.3-0 which can be found here - https://dl.twrp.me/angler/
* I have not tried this with f2fs only ext4 so naturally I'd only recommend using ext4 partitioning on your device.
* If your device is encrypted in any way booting multiple roms will not work, which should be obvious but I'll state that anyways. Thanks @JKforUA for helping us figure this out.
*If you want to boot more than just two roms, that you use the data slot options for your roms which can be named anything you'd like and they will be stored on the phones internal storage.
* Make sure you're on the latest Radio and Bootloader for the nexus 6p, I flashed this and it works fine and is backwards compatible with Marshmallow roms.
Radio & Bootloader link -
https://forum.xda-developers.com/nexus-6p/general/nexus-6p-radio-bootloader-recovery-t3433637
* Use the patcher app to update the ramdisk and set your primary rom's kernel as Primary before patching or flashing anything.
*If you use the fingerprint scanner you'll have to delete the file /data/system/locksettings.db in each multi boot directory, this disables getting an incorrect pin error when switching roms.
*If using a marshmallow and nougat rom you'll need to flash the appropriate vendor image in recovery before boot.
*Vendor images should not be patched.
This process is fairly simple to me because I've been using it for years but if you have any questions feel free to ask in this thread and hit thanks if I helped ya.
* Before reporting errors I would suggest you try the following steps-
1. Make sure you're using this version of the patcher app because it is the one I have been using without issue -
Version 9.1.0r80-
https://dbp.noobdev.io/files/9.1.0....atcherAndroid-9.1.0.r80.gd5920b2-snapshot.apk
2. Make sure you have enough free space to have two of the zips you want to use because that is what you will have after you patch.
3. Make sure your path to the zip is correct when browsing for the zip, go through internal storage to the directory where the zip is.
4. If you get any error patching, uninstall the patcher app, re-download it, and reinstall it.
5. There is also a Windows version you can try if you prefer.
*If you are still having issues we can discuss it here, and if nobody can seem to come up with a fix in this thread then errors can further be reported by following instructions here - https://dbp.noobdev.io/downloads/
Credits - @chenxiaolong for the patcher app!
Links :
Dual boot patcher (All versions) - https://dbp.noobdev.io
Original forum - https://forum.xda-developers.com/showthread.php?t=2447534
* Screen shots of my current setup attached below for additional guidance if desired.
Status - sharing, using, in some cases testing, always learning (^_-)...
Thanks for sharing, I've never heard of this before. A few questions;
How similar/dissimilar to multirom is this?
Do I need a specific kernel, or will it with with any kernel?
I briefly read through the original thread, am I creating a zip that flashes two Roms, or is the zip something that flashes alongside the ROM I currently have?
Thanks for sharing. Used this on my further G4. Didn't know that our device is supported. So no need to wait until multirom is working on 7.1.1. Gonna play around now.
Where do we report errors? I was about to patch several files and the app crashed. I have a couple log files.
DaringDomino3s said:
Thanks for sharing, I've never heard of this before. A few questions;
How similar/dissimilar to multirom is this?
Do I need a specific kernel, or will it with with any kernel?
I briefly read through the original thread, am I creating a zip that flashes two Roms, or is the zip something that flashes alongside the ROM I currently have?
Click to expand...
Click to collapse
I actually prefer it because it's what I'm used to, you can patch whatever kernel you choose and flash it in recovery, reboot into that rom, open the patcher app, set kernel, profit.
Basically you patch the rom zip you want to flash as secondary, or in my case data slot, naming them 2 and 3 because the Multislot options won't flash anything for me but using data slots works fine. Patch rom, patch gapps, patch whatever kernel, flash all in the whatever succession recommended by the rom op, and you'll automatically boot into the newly flashed rom when you reboot.
OmegaBlaze said:
Where do we report errors? I was about to patch several files and the app crashed. I have a couple log files.
Click to expand...
Click to collapse
Hmmm I found this
https://forum.xda-developers.com/showpost.php?p=64727670&postcount=8259
I would try re-downloading the app because I haven't had it crash in any roms I've used yet, I just grabbed the latest build, installed, opened, granted root when prompted, updated the ramdisk if needed which is indicated the app, rebooted when prompted, set kernel, and done.
If it's still crashing for you there's the usual force closing the app from your roms settings and clearing the apps cache and data but you probably already tried that?
t83wood said:
I actually prefer it because it's what I'm used to, you can patch whatever kernel you choose and flash it in recovery, reboot into that rom, open the patcher app, set kernel, profit.
Basically you patch the rom zip you want to flash as secondary, or in my case data slot, naming them 2 and 3 because the Multislot options won't flash anything for me but using data slots works fine. Patch rom, patch gapps, patch whatever kernel, flash all in the whatever succession recommended by the rom op, and you'll automatically boot into the newly flashed rom when you reboot.
Click to expand...
Click to collapse
I'm gonna play with this over the weekend, I like new stuff!
So whatever fkashable zip I patch will be designated during the flash as secondary (or whatever) and won't overwrite my current ROM allowing it to exist along side it?
DaringDomino3s said:
I'm gonna play with this over the weekend, I like new stuff!
So whatever fkashable zip I patch will be designated during the flash as secondary (or whatever) and won't overwrite my current ROM allowing it to exist along side it?
Click to expand...
Click to collapse
Correct, so long as you don't patch it as Primary. It will tell you where it's flashing to in recovery. You can also use the dual boot patcher recovery zip for things like switching roms from recovery and wiping roms, wiping multiboot files will get rid of a rom in its entirety if you wanted to replace it with something else. I've always installed the patcher app in my other roms after first boot and used it to set the kernel for that rom too.
t83wood said:
Correct, so long as you don't patch it as Primary. It will tell you where it's flashing to in recovery. You can also use the dual boot patcher recovery zip for things like switching roms from recovery and wiping roms, wiping multiboot files will get rid of a rom in its entirety if you wanted to replace it with something else. I've always installed the patcher app in my other roms after first boot and used it to set the kernel for that rom too.
Click to expand...
Click to collapse
If I'm patching for the data partition, am I correct in making all zips (ROM, Gapps, and su) to the same name? (Ex. I named the ROM zip slot "rom2", and then used the same name for the other zips)
DaringDomino3s said:
If I'm patching for the data partition, am I correct in making all zips (ROM, Gapps, and su) to the same name? (Ex. I named the ROM zip slot "rom2", and then used the same name for the other zips)
Click to expand...
Click to collapse
Yep looks good!
t83wood said:
Yep looks good!
Click to expand...
Click to collapse
Awesome, thanks, I'll see what happens :good:
Edit: it worked! It's a little more involved than multirom, but it seems to be fine! Easier than I thought.
I've not yet switched between the two, but the app on the secondary (data slot) recognizes the primary
Wow great. Running great on data-slot. Even magisk is supported. Good to have a new playground. Happy to have the 128 GB variant. Gonna do some test with Viper.
How do I switch roms
All perfect. Viper running with magisk. Every rom i tried booting without any problem. So atm the perfect tool to test other rom!
---------- Post added at 11:45 AM ---------- Previous post was at 11:43 AM ----------
DEVILOPS 007 said:
How do I switch roms
Click to expand...
Click to collapse
Install dualpatcher app and choose rom in 'ROMs'. Then reboot. Or run utulities in twrp (install).
What do I do? It says failed error code - 1 tried doing cortex rom and selecting data. Is there something I need to do?
DEVILOPS 007 said:
What do I do? It says failed error code - 1 tried doing cortex rom and selecting data. Is there something I need to do?
Click to expand...
Click to collapse
Cortex also flashes the vendor. Maybe this gives the error because in dualboot all roms use the same vendor partition (could be a problem to flash vendor through dualpatcher...). All other roms i tried vendor was not included to flash (only rom und gapps separately). I am just trying cortex too (just ready to flash). Gonna report, if i succeed.
Donric13 said:
Cortex also flashes the vendor. Maybe this gives the error because in dualboot all roms use the same vendor partition (could be a problem to flash vendor through dualpatcher...). All other roms i tried vendor was not included to flash (only rom und gapps separately). I am just trying cortex too (just ready to flash). Gonna report, if i succeed.
Click to expand...
Click to collapse
Okay thanks Bro, I might try out lineage. Also open gaps failed for me bit do I need the rom first or do I need to use dynamic gaps? I appreciate the help!
DEVILOPS 007 said:
What do I do? It says failed error code - 1 tried doing cortex rom and selecting data. Is there something I need to do?
Click to expand...
Click to collapse
Cortex rom running fine on multiboot on my device. So no problem with vendor in multiboot. I can also switch back to another rom. As gapps i suggest you to use only dynamic gapps (banks gapps). I always use mini dynamic gapps. Opengapps give many problems.... On primary i got rr oms-release from 12.01. ATM running with 3 different rom all on internal sd card. Just pay attention to give always the same name when patching a zip file in dualpatcher.
Donric13 said:
Cortex rom running fine on multiboot on my device. So no problem with vendor in multiboot. I can also switch back to another rom. As gapps i suggest you to use only dynamic gapps (banks gapps). I always use mini dynamic gapps. Opengapps give many problems.... On primary i got rr oms-release from 12.01. ATM running with 3 different rom all on internal sd card. Just pay attention to give always the same name when patching a zip file in dualpatcher.
Click to expand...
Click to collapse
What do you mean by same name? I am on pimps rr oms and whenever I flash any rom it says error code - 1. Any idea what I can do?
DEVILOPS 007 said:
What do you mean by same name? I am on pimps rr oms and whenever I flash any rom it says error code - 1. Any idea what I can do?
Click to expand...
Click to collapse
Did you flash in twrp (3.0.3.0)? I only use twrp to flash a new multiboot rom. Before flashing a new rom just make sure, you patch all necessary zip files (rom, gapps, etc.). Same name means u choose where (on angler i always choose Data slot - this is internal sd card). Then you give the name (no capital letters) and choose the directory to save the patched file. This you do with every zip file for the rom u gonna flash. The new zip file have the original name and the text "....._data-slot-namegiven.zip" (example for data-slot). The part "data-slot-namegiven" should appeir in every name of the patched zip file. I think with our device it's goot to use the data-slot if you have enough space on your internal sd-card. Using Multi Slot could lead to space problems on system partition of the device. Then just flash the patched files one after another in twrp. Don't forget to flash also patched supersu.zip oder magisk.zip to get root (if it's not in the rom included). You need to patch gapps and supersu or magisk for each slot separately. The name of the patched file just says the path for the multiboot rom. So twrp flashes the patched zip to the right place. Sorry if i wrote to much. Hope it's gonna give you some help. More information you find in the original thread of multiboot.

[PATCHER] DualBootPatcher for J510

WELCOME​
Dual Boot Patcher​
I am proud to present to you, Dual Boot Patcher for j510!​
Code:
Disclaimer:
I am not responsible for any bricked devices lost data or national disasters. Use at your own risk
Features:
Run two or more roms on your device at the same time!
Able to patch rom zips, custom kernels, gapps, supersu zips etc
Clean Material UI
Boot UI which allows you to select ROM at boot
App Sharing between Roms
Backup and Restore roms
Note: If the app is saying that this device is not supported and you have j510, edit your build.prop to set ro.build.product and ro.product.device to "j5xnlte". Then reboot. The app should be working. Do this only if you have j510. If you set the values improperly, installing a dual boot zip will hard brick your device.
TUTORIAL:
NOTE:Make a full nandroid backup before proceeding!!
Install your first ROM normally(from TWRP). It is recommended that if you want to multiboot an AROMA ROM, you should install it first(as primary). If you want to make your current rom as primary, skip this step.
Download and install the apk provided in the attachments.
Download the second rom.
Open the Dual Boot Patcher app, in the left swipe-in menu, select ROM section
It will ask you to set the kernel for Primary Rom. press Ok
Then go to "Patch zip file" menu, and click on the red "add" button
Then select "Add flashable zip". It will ask you to select a rom zip. Browse to your downloaded ROM and long-press to select it.
It will then ask you where to install it. You can Either Install it in "Secondary" which will install the Rom in system partition(use this if you have enough space on your system partition( at least 1.1 GB for AOSP roms and 1.8 GB for Touchwiz Roms). If you dont have enough space on your system partition, install it in Data or ext sd slot.(Note that installing in Data will take up space from your internal memory. DO not select the "multi slots"! they are for other devices
Click on OK. it will ask you the location of target file, just click on select to use defaults.
if you have any additional zips(such as gapps or supersu) patch them all using the above method. Select the same setting you used for the ROM!
After you have added all your zips, Click on the tick in the upper right corner and the patching will begin!
After Patching is done, reboot to recovery. DO NOT WIPE ANYTHING. Just install the zips you just patched(they will have "Dual" or "Data slot" written in front of their names.
After installation is complete, click reboot, and it will reboot to your newly installed ROM. Set up the rom normally. After setup is complete, install the DualBootPatcher apk.
Now you can select whichever ROM you want in the app. Just select it and restart!
From now onwards patch every zip with dual boot patcher before installing!
Boot UI
If you want Boot ui, follow these steps:
Go to roms section of the app. Press the 3 dots next to your first rom then scroll down and select update ramdisk. then press ok. It will ask you to reboot. just press reboot later
Repeat the same with other roms
Then go to settings and select install Boot ui.
Download Apk
DualBootUtilities
If anything goes wrong with the DualBoot keep the utilities zip in your sdcard. You can flash it in recovery(AROMA only). It allows you to wipe any rom installed on your device or switch to any rom.
Download Utilities
UPDATES
Update1:
Performance Improvements
Now you can restore backup to primary and secondary locations too(previously gave error)
Update2:
Added j5xnltexx to supported device codenames
Performance improvements
This app is not mine. I added support for dual boot on J5 2016.
This app is licensed under GPL. As per its requirements, here is the source code:
https://github.com/RIPT1DE/DualBootPatcher
Hello. I looked at your GitHub, and you have made no changes to it.
You should do that, as currently the GitHub is a fork with absolutely no changes to the original one.
Boot ui not supported ?
Wizardlysense said:
Boot ui not supported ?
Click to expand...
Click to collapse
This not work either
Moshifan100 said:
Hello. I looked at your GitHub, and you have made no changes to it.
You should do that, as currently the GitHub is a fork with absolutely no changes to the original one.
Click to expand...
Click to collapse
No changes to the master branch as I am keeping it in sync with the original developer's master. The changes are in branch j510fn_support.
Wizardlysense said:
Boot ui not supported ?
Click to expand...
Click to collapse
Bro change ro.build.product and ro.product.device in build. Prop to j5xnlte.
Wizardlysense said:
This not work either
Click to expand...
Click to collapse
Also if the above doesn't work send me the update.log
__riptide__ said:
Also if the above doesn't work send me the update.log
Click to expand...
Click to collapse
Here
Wizardlysense said:
Here
Click to expand...
Click to collapse
Did you give storage and root permission?
__riptide__ said:
Did you give storage and root permission?
Click to expand...
Click to collapse
Yup
Wizardlysense said:
Yup
Click to expand...
Click to collapse
Ok. Then can you send me a copy of your build. Prop?
Guyz, this is perfectly working for me.
Just follow the instructions.
@Wizardlysense I have edited my post with further instructions. Try those. If it's still not working, we will and figure it out.
Work for me after edit build.prop
Boot ui auto booted to which ramdisk update last.no option for selection which one is to boot
Hello everyone !
I edit my build.prop but dont work... Help me if you can and thank you of the app
Thanks !
Incredible! Just incredible! Works fine with a5ux and lineage os!
GlitchWolf said:
Hello everyone !
I edit my build.prop but dont work... Help me if you can and thank you of the app
Thanks !
Click to expand...
Click to collapse
What is the error?
doc_elias said:
Work for me after edit build.prop
Boot ui auto booted to which ramdisk update last.no option for selection which one is to boot
Click to expand...
Click to collapse
The boot ui has a countdown timer. There are two buttons on the boot ui. Clock the left one which is "cancel". It will then give you the option to switch rom
gzdc said:
Incredible! Just incredible! Works fine with a5ux and lineage os!
Click to expand...
Click to collapse
Same here.. Great Work! Amazing!
__riptide__ said:
The boot ui has a countdown timer. There are two buttons on the boot ui. Clock the left one which is "cancel". It will then give you the option to switch rom
Click to expand...
Click to collapse
Everything working fine.

Categories

Resources