yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] Grarak:
First at all thanks for using discussion thread

Try to remove data/dual folder

If you need to boot back to current rom, just flash a stock kernel.
[Galaxy S 4 General] muzafa:
When I try to reinstall aosp I get installation aborted
[Galaxy S 4 General] D™:
what error actually..?? Be specific.?
[Galaxy S 4 General] muzafa:
http://db.tt/hhY0WJph
[Galaxy S 4 General] lecomiquelin:
The Grarak's app is freezing my s4, why? :(

I already tried wipe cache, data, and reinstall, and everytime it's freeze, and nothing happen.

I also tried to remove permissions, but supersu app give me FC.

Heeeelp. And sorry bad english.

---EDIT---

The busybox was installed in the /sbin folder... not /xbin
[Galaxy S 4 General] Sage268:
does it matter which gaps i download?
[Galaxy S 4 General] D™:
Yes but it must be related to your Download. i.e. 4.3 Gapps if using 4.3 Android & 4.2.2 Gapps, if using 4.2.2 Android.
[Galaxy S 4 General] D™:
have you read OP carefully..?? If yes, then It clearly said that Don't wipe cache After flashing the AOSP ROM.
[Galaxy S 4 General] triopy:
can you fix GraSwitcher's link download? it has been down
[Galaxy S 4 General] muzafa:
Graswitcher is not work any more you must use rom switcher
[Galaxy S 4 General] Sage268:
Same for me any idea?:confused:
[Galaxy S 4 General] Grarak:
There are new links because of the update

Go to github/romswitchers/Downloadlinks/i9500 for the new one
[Galaxy S 4 General] nexiifan:
Whenever I try to flash the modified ROM, my CWM just says "installation aborted". I have checked the ROM and I haven't done anything wrong. Can somebody please help me?
[Galaxy S 4 General] Nasty_z:
Check if your rom zip is corrupted. If not, then you've probably messed up the updater-script when editing it.

?Sent from my Galaxy S IV Octa using Tapatalk 4 ?
[Galaxy S 4 General] Sage268:
Same for me any idea?:confused: I install then it got aborted idky
[Galaxy S 4 General] muzafa:
Me too.

Here is screen shot http://db.tt/hhY0WJph
[Galaxy S 4 General] nexiifan:
:p

I'm DEFINITELTY, 100% ABSO-POSTIVE-LUTELY SURE that there is something wrong with you updater-script.

Also, I noticed that you seem to be using TWRP. I instantly hate you now :mad::p
[Galaxy S 4 General] Nasty_z:
What's wrong with TWRP? It's actually recommended by Grarak and other devs when flashing AOSP based roms as you won't be able to see boot animation if you flashed the AOSP based roms via Cwm or philz recovery.

?Sent from my Galaxy S IV Octa using Tapatalk 4 ?
[Galaxy S 4 General] nexiifan:
SOMEBODY PLEASE HELP ME

I managed to get Pac-Man ROM working through the instructions, but now I can't boot up my phone :(

It just shows the Galaxy S4 i9500 logo and then just blank screen.

PLEASE HELP ME

UPDATE: It boots now! But it's still stuck in a bootloop.
[Galaxy S 4 General] triopy:
How can i get it? Thanks
[Galaxy S 4 General] muzafa:
[/COLOR]

Rom switcher is new version of graswitcher download https://github.com/RomSwitchers/Downloadlinks/raw/master/RomSwitcher/RomSwitcher.apk

---------- Post added at 12:34 AM ---------- Previous post was at 12:32 AM ----------

First try its work

note:im using modified pac man rom from grarak
[Galaxy S 4 General] ophirb:
Tried this with illusion rom and did not work.

I saw that illusion rom update script mounts data partion and extract data into it. I did not find any data partion in the zip file so I deleted the mount and extraction lines.

It does not work, not sure if that is the reason though.

When I try to boot the 2nd rom I only get the galaxy logo then black screen. At this point I have no recovery eitger abd I have to flash kernel via odin.

So any ideas how to solve that?
[Galaxy S 4 General] Sage268:
Aborted

same hee any help????
[Galaxy S 4 General] rahulrai:
hi guys, anyone who has updated their Touchwiz rom can please share the process, without deleting pac rom. I'm on [MENTION=333584]Arrow[/MENTION] rom which is updated to latest version & so I need to update. [MENTION=1239179]disturbed[/MENTION] buddy can u pls share your process of doing the update on touchwiz without deleting pac rom. [MENTION=4443334]Grarak[/MENTION] any help appreciated
[Galaxy S 4 General] Grarak:
backup cache partition and flash omega with wipe cache

then restore cache
[Galaxy S 4 General] rahulrai:
Thx for the swift reply buddy [MENTION=4443334]Grarak[/MENTION] i'm on ARROW rom and want to update to latest version. SO is that ok...I have already backed up everything through TWRP recovery including cache. So if I wipe cache now before installing Arrow rom & later after rom installation I can just back up the cache, am I correct buddy?
[Galaxy S 4 General] UchihaKakarot:
Goto recovery wipe cache,data ,dalvik and flash everything again from the starting.

Here are the steps:

1. Flash touchwiz rom.

2. Boot into it.

3. Goto recovery.

4. Flash aosp rom,gapps.

5. Flash perseus kernel.

6. Reboot system.
[Galaxy S 4 General] D™:
Its something else buddy.

Same question is in my mind buddy. You need to take backup of your cache partition form recovery. Then follow the steps given by Grarak buddy.

After/before flashing Arrow ROM, Wipe caches & then flash backed up cache partition from recovery.
[Galaxy S 4 General] rahulrai:
How to flash the backed up cache in twrp recovery. Unable to do that. I have installed arrow 7.1 & prior to that taken a backup of everything. Do I have to create a flashable zip of the backed up cache partition.
[Galaxy S 4 General] Zakoket2012:
me tooooooo
[Galaxy S 4 General] du_91:
Hello, I am new to rooting. I just have a doubt, once i do the dual boot and later I flash back the orginal firmware with all root removed, will I get back the warrenty? I hope my question doesnt sound too dum..
[Galaxy S 4 General] Nasty_z:
Nope. Actually, once you root your phone you won't be able to gain your warranty. There was this application that allowed us to gain back our warranty, it's called triangle away but it doesn't work on I9500.

So no, you can't get your warranty back.

?Sent from my Galaxy S⁴? Octa using Tapatalk⁴ ?
[Galaxy S 4 General] du_91:
Thanks for the prompt reply.. I read somewhere that if I flash back the orginal firmware the warrenty will be there..Unfortunately I am not able to post the complete linK though. so I just wanted to confirm.. android.gs/root-galaxy-s4-i9500-jb-4-2-2-xxubmga/
[Galaxy S 4 General] Nasty_z:
As good as it sounds, I'm afraid I have to tell you that it won't work. In the beginning, I was also under the impression that I'll be able to reflash the stock firmware and regain my warranty. However, that doesn't work because samsung keeps the information of whether the phone is rooted or not in a hidden area. Therefore, we can't access it for now. Personally, it's not that big a deal for me as the rooting benefits greatly outweigh the drawbacks. However, I can understand your concern. If it's of any help, I'm sure that the developers would figure something out soon.

?Sent from my Galaxy S⁴? Octa using Tapatalk⁴ ?
[Galaxy S 4 General] D™:
Process for backing up the 2nd (PACROM/AOSP) ROM

Guys, Seems we were away due to some technical discussion (lolzzz ;)). I would like to show, how to take backup of your 2nd ROM i.e. AOSP ROM.

Follow the procedure:

Requirement: Only TWRP Recovery.

How to backup your ROM:

1) Go to recovery & choose Backup

2) here you can choose what to backup.?, Choose Cache only

3) Then it will be done

4) reboot.​

After clearing cache for ROM 1, you need to restore the Backup taken of Cache.

1) Go to recovery & Choose Restore.

2) Select the cache backup you have taken.

3) Flash done & your ROM will be recover again.​

Limitations & NOTE: Please note that you may retain all Caches of ROM 1 too.
[Galaxy S 4 General] fopoku2k2:
safely and securely set up dual booting on i9500

Yesterday I managed to securely and safely set up dual booting on my galaxy s4 i9500.

I would share my procedure and ROMs. Thank me later.

NOTE:

1. I used the latest twrp recovery. You can Google download links for that

2. I used the latest omega ROM (I9500_Omega_v14_UBUBMH1.zip). You can also Google download links for that

3. I also used modified pac man ROM and Google apps from this thread. Pages 4-8......

4. Then I used the latest Perseus kernel (Perseus-alpha9-i9500-CWM.zip). That can also be found on Google.

PROCEDURE:

1) Flash any TW ROM (omega rom) and let it boot (if u are on TW ROM then neglect it)

2) After setting up Just reboot into recovery.

3) flash pacrom & GApps.

4) Flash Perseus kernel.

5) Reboot

6) Install the Graswitcher.apk or romswitcher.apk

Thank me later
[Galaxy S 4 General] :
Nice idea.. i wish i had an s4 to test... btw it can be for tab2 7 inch??? :)
[Galaxy S 4 General] D™:
I think one of our team Member working for it. So, lets hope for the best.
[Galaxy S 4 General] nabil alami:
Illusion Rom is considered AOSP right?

and did anyone try it?
[Galaxy S 4 General] :
forgot this one

http://imageshack.com/a/img542/6918/or11.png
[Galaxy S 4 General] D™:
Can you do one thing.? I am PMing you.
[Galaxy S 4 General] D™:
Download section updated with latest RomSwitcher App. Please download the same & have fun.
[Galaxy S 4 General] UchihaKakarot:
Will this dualboot work with stock firmware??????
[Galaxy S 4 General] D™:
yes, it must be rooted.

Thanks,

Disturbed™

? Sent from my Disturbed™ Galaxy S4 using XDA Premium 4 ?

||||||||||||||||||||||||||||||||||||||||||||||●●●●●●●●●●●||||||||||||||||||||||||||||||||||

Wait for my time, U gonna pay for what U have done. - Disturbed™
[Galaxy S 4 General] gp545:
[MENTION=4655143]Disturbed™[/MENTION]

Grarak changed app & thread name to "RomSwtcher" :p

So, hereby I demand a slight change in thread title that matches with official ;) :D

Just saying :)
[Galaxy S 4 General] jamm513:
Does the Latest app romswitcher versión allow to use same data for both Roms?

Enviado desde mi GT-I9500 usando Tapatalk 2
[Galaxy S 4 General] D™:
Updated.

Thanks,

Disturbed™

? Sent from my Disturbed™ Galaxy S4 using XDA Premium 4 ?

||||||||||||||||||||||||||||||||||||||||||||||●●●●●●●●●●●||||||||||||||||||||||||||||||||||

Wait for my time, U gonna pay for what U have done. - Disturbed™
[Galaxy S 4 General] pietergoos:
Update

Hi,

I have PAC-man ROM installed on my device with the dual boot working. I want to update my PACMAN ROM, I have changed all data like required (in the files of the zip). I have tried editing in the zip, I have tried unzipping and editing, I've even tried signing the zip.

Any help you can give me on how I can update the AOSP side of it?

In my TWRP It just says that the install failed.
[Galaxy S 4 General] UchihaKakarot:
Now can I install AOSP roms without editing the script??
[Galaxy S 4 General] NoobieUser:
Not sure if this might help but instead of zipping the extracted file. Go inside the extracted file and zip all the files inside it into 1 etc the Meta-Inf,system ...
[Galaxy S 4 General] D™:
Edit using notepad ++ and use 7 zip for zipping and unzipping the file

U need to edit it first. It's not made for dual boot.

Thanks,

Disturbed™

? Sent from my Disturbed™ Galaxy S4 using XDA Premium 4 ?

||||||||||||||||||||||||||||||||||||||||||||||●●●●●●●●●●●||||||||||||||||||||||||||||||||||

Wait for my time, U gonna pay for what U have done. - Disturbed™
[Galaxy S 4 General] UchihaKakarot:
Can u pls upload the latest version of pacman rom with editted updater script.
[Galaxy S 4 General] D™:
What.?:eek::mad:
[Galaxy S 4 General] UchihaKakarot:
Usually you upload it in the download section so why didn't you upload the latest version this time.
[Galaxy S 4 General] D™:
I never given PACROM modified ROM in Dev section buddy.;)

you just need to edit only 4 lines.

Here I can help you for best method:

1) Install Notepad ++ & 7Zip.

2) Download latest PACROM & extract only Update-script to your PC

3) Open Update-script file using notepad++

4) Go to ROMswitcher thread & just Copy the whole line which need to be found & replace it from update-script file.

5) Do it for next 2 -3 lines.& save it.

6) Replace the update-script file from Zip using 7Zip.

Flash it. Thats it. :highfive:
[Galaxy S 4 General] UchihaKakarot:
I know that but sometime people keep asking all this so I just asked u. Anyways thanks.
[Galaxy S 4 General] satyonline:
With the new rom switcher app released on 09/09 do I still need to update scripts in aosp roms to be able to use them for dual boot?

Second, can I use the pa_gapps package with Pacman 4.3 rom by garak for dual boot?
[Galaxy S 4 General] UchihaKakarot:
No u will have to edit the updater script. And yes u can use pacman 4.3 rom with gapp as ur second rom.
[Galaxy S 4 General] pield:
Help please!

I did as following?

1) using TW room

2) Reboot into recovery.

3) flash pacrom & GApps.

4) Flash Perseus kernel.

5) Reboot

6) Install the romswitcher.apk

7) changed to pacrom and worked (can't access sd card from apps like music...)

8) installed romswitcher.apk on pacrom

BUT!! can't boot back on TW why?

I go back to pacrom always :crying:

Can some one help me?
[Galaxy S 4 General] D™:
Choose rom 1 for coming back to TW or flash Perseus kernel again.
[Galaxy S 4 General] pield:
Thanks but...

Really thanx! What I did is flashing the kernel again,

but this means I have to do the same every time I want to use TW?

I'm using romswitcher in pacrom, do I have to use other?

When I'm at TW I use romswitcher and I switch to pacrom smoothly

Thanks a lot
[Galaxy S 4 General] D™:
No buddy. On PACMAN, just select ROMswitcher & choose Android Touchwiz 4.2.2. You will be back to TW again.
[Galaxy S 4 General] pield:
thats what I'm doing but sadly it just do like a reboot... so I go back to pacman, always :(
[Galaxy S 4 General] D™:
What..?? but i can switch to TW like before. Did you download the both files..??
[Galaxy S 4 General] pield:
I downloaded the romswitcher and when starting the app, it downloads some packages. After that, I started the app again and it let me choose between TW and AOSP, but any of them returns me to TW both selections make me a reboot going back to pacman.

At the other hand, if I'm at TW, I start the romswitcher app and I chose the AOSP and then it turns off and on in pacman.

Really I don't have any idea on whats going on
[Galaxy S 4 General] Grarak:
Download supersu
[Galaxy S 4 General] pield:
Im really sorry to bother you again

With perseus kernel my camera wont work even in TW, how can i fix that?
[Galaxy S 4 General] Grarak:
Replace /sdcard/romswitcher/first.img with the kernel of your rom
[Galaxy S 4 General] pield:
I restored a back up that i had, and it worked... sadly I have to do the dualboot process again

but do you know how to do a backup of my kernel? or how can i obtain it in case i need it again?

Kernel ver. 3.4.5-460554/model number GT-I9500/Android 4.2.2/Baseband ver. I9500UBUAMDE

Thanks in advance
[Galaxy S 4 General] UchihaKakarot:
Which rom r u using??
[Galaxy S 4 General] pield:
So far i think im using the stock TW so original Android

Sent from my GT-I9500
[Galaxy S 4 General] yashvchauhan:
"Installation aborted"

Hmmm, going over the past few posts, and having faced the same problem, this is how i solved it.

So I have seen a lot of people get "installation aborted" message at recovery. This is because the .zip we make is not signed.

WAIT...don't go searching for ways to get it signed. Best method :

One requires - Notepad++ and 7zip - both freeware - google them up.

1) download the aosp ROM you want to flash

2) open with 7zip

3) DO NOT EXTRACT FILES - go to meta-inf-....-updater-script in 7zip itself.

4) EXTRACT ONLY updater-script, right click it and delete it from 7zip. DO NOT CLOSE THE 7ZIP WINDOW

5) Modify the updater-script file (from wherever you extracted it to) using Notepad++, save it once done,

6) Go back to 7zip window and click "Add" and add the modified updater-script in the same folder as it was before.

7) Close 7zip

8) Do the same with Gapps.

9) transfer to SD and you're ready to flash.

This solves the "Installation aborted" message with dual booting.

Happily Dual booting Stock TW and HaloGenMOd based on CM10.2

Thank me if I helped!

Also, can a mod please consider removing restrictions for posting (i can't post within 5 minutes :/ )
[Galaxy S 4 General] Sage268:
???

the kernel zip file?cause wen i flash the kernel and reboot it reboot in to the tw but wen i use romswitcher it goes to pac man but i can not go back to tw without flashing the kernel.
[Galaxy S 4 General] D™:
use first image of kernel file. Just extract the img file from zip and rename it with first.img
[Galaxy S 4 General] AL_IRAQI:
Yesterday I tried RomSwitcher With ColorOS

I extracted Kernel file from rom zip and renamed it to first.img and copy it to Romswitcher folder

I go in AOSP everything perfect

But when I back to ColorOS

Everything Stopped and I have to flash the rom again :)

Sent From my i9500 With ☆★Crash Rom★☆
[Galaxy S 4 General] D™:
coz colorOS isnt compatible with Romswitcher yet.
[Galaxy S 4 General] hypergamer1231:
i have omega 14 and latest unofficial cm10.2 now i followed all the steps

nandroid backup of omega

extracted cm 10.2 and gapps and edited the updater script and zipped them again

went to philz recovery flashed cm 10.2 and then gapps

when rebooted i got the cm boot logo and phone was stuck there

then went to recovery and wiped cache but same issue

please help me what am i doing wrong now

i am restoring my nandroid backup and then will give it a go again

i am attaching my gapps and cm updater script can someone plz check and tell me if i have editted it properly:(:(
[Galaxy S 4 General] yashvchauhan:
Read my post at the top of this page. You need to extract ONLY the updater-script and then delete it, and then add the modified script in the zip itself. DO NOT EXTRACT THE WHOLE FILE AND REZIP IT.

:: Thank me if I helped ::

---------- Post added at 11:30 AM ---------- Previous post was at 11:27 AM ----------

Just checked your cm updater script. Its wrong.

Mount (....mmcblkthing should be 19 not 20)

Read instructions clearly else you'll brick your cell.

Here -

mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");

Should be

mount("ext4", "EMMC", "/dev/block/mmcblk0p*****19******", "/system");

(Asterisks are only to catch your attention not actually there)

:: Thank me if I helped ::
[Galaxy S 4 General] hypergamer1231:
thanks for the reply mate i did as you suggested and am trying to install again lets see what happens please let me know if my steps are correct

i am flashing cm10.2 and gapps with modified updater script from philz directl over my tw rom and then when i reboot it will boot into tw rom right and after that i need to install the rom switcher app and do the steps.....

do i need to flash a tw kernel manually after installing aosp rom or just installing the rom and gapps with modified updater script will allow me to boot into tw thanks
[Galaxy S 4 General] yashvchauhan:
No need to flash a kernel separately. His romswitcher contains Perseus kernel alpha10. So just follow steps carefully

And yes, that's correct, except that I use cwm (Apparently philz doesn't show boot animation). And also you need busybox so don't forget to download it from play store.
[Galaxy S 4 General] rohan999:
Sorry I this question has been asked earlier but I think I searched enough pages.

Everything worked for me but now I am stuck on aosp ROM....

I select tw from the app but it still boots into aosp...
[Galaxy S 4 General] D™:
Flash Perseus kernel Alpha 10. Then you may boot in TW. Follow these points then:

1) extract the Boot.img from Perseus kernel in ROMswitcher.

2) Give it name to first.img.

3) now Switch to AOSP.

Update your ROM Switcher application too.
[Galaxy S 4 General] UchihaKakarot:
Can someone pls check if the updater script is correctly edited for dual boot with the latest pacman rom.

Here is a link to the updater script file:

https://db.tt/7I8KGtxE

Sorry for my bad English
[Galaxy S 4 General] D™:
I can but upload the same here in XDA except any clouding system. (Rename it to txt)

Also, don't modify the file, give the original.
[Galaxy S 4 General] UchihaKakarot:
Sorry but I don't get u. It is in .txt format. I just want someone to check and tell if it is correct.
[Galaxy S 4 General] D™:
It isn't. Its doesn't have any format. BTW, you can ask further to test it.
[Galaxy S 4 General] UchihaKakarot:
Download it, u will get it as .txt.
[Galaxy S 4 General] D™:
Ok then, try to upload it here. Extract it from Zip & upload here. you will see the result.:silly:
[Galaxy S 4 General] UchihaKakarot:
I cant upload files , I can only upload images.
[Galaxy S 4 General] rohan999:
Thanks buddy, i booted into tw. But the later steps that you wrote, i had to follow those steps earlier to make the app work otherwise the rom switcher app would not open. (i already did what you wrote.)
[Galaxy S 4 General] StellMonkey:
Hey people

Can anyone confirm if the app & data sharing is working? Thanks
[Galaxy S 4 General] D™:
Not yet. As [MENTION=218829]ALBERTO[/MENTION] stated in Dev thread. I think Combination of AOSP+AOSP may work. but not TW+AOSP.

BTW, Grarak is working hard on it. soon will get all exceptions.
[Galaxy S 4 General] yashvchauhan:
WHOAA!!

Okay, so I was trying to update to the latest version of CM, and as usual, whistiling, modifying my updater-script.

WHOOAAA. This is what I find :

or

https://www.dropbox.com/s/thmxqhm70ify290/whoa.png

Never really looked close enough to notice there were 2 lines :eek:. (checked other updater-scripts in previous versions, all of them have both)

So, there are two of these lines. Which of them do you guys edit?

I usually end up editing the lower one, and it usually works without an issue. But I'm sceptical.
[Galaxy S 4 General] alifarrukhsss:
bootloop

I downloaded the latest update of rom switcher.

Then Downloaded the additional files, then I enabled booth app and data sharing.

After booting into aosp rom it booted fine.Finally rebooting to tw rom the phone stucked at bootloop.

Please help.I tried replacing first img file with perseus kernel it didn't worked,tried deleting both folder romswitcher and rom switcher tmp,tried deleting second rom from media and finally installing kernel persues 10.

All of this didn't work.Help me:crying::crying::(.
[Galaxy S 4 General] UchihaKakarot:
I have an updater script for pacman rom which I edited some weeks ago . So can I just use that script for the latest pacman rom.
[Galaxy S 4 General] yashvchauhan:
Why did you delete second.IMG? That's the kernel for aosp.

See, you must have first.img (of Perseus kernel) placed and Perseus kernel flashed, if they clash, then you may be stuck in the bootloop.

Try wiping cache partition and dalvik-cache

If you have a nandroid backup, restore it or do a factory reset

And then try again making sure the kernel you are running and first.img are same

Edit - what I meant is, you should have flashed Perseus 10 earlier itself (after placing first.IMG, coz you may have been running a different kernel or diff version of it then)

:: Thank me if I helped ::
[Galaxy S 4 General] UchihaKakarot:
Nvm it is working.

The new romswitcher interface looks good and the new pacman ROM is really really amazing. And BTW app sharing is working but the data sharing is still not working.

[MENTION=2879148]garak[/MENTION] thanks a lot for is amazing work.

---------- Post added at 11:03 PM ---------- Previous post was at 10:12 PM ----------

I installed everything for the dualboot and than I boot to touchwiz everything was perfect in touchwiz installed the app everyrhimg done than I boot successfully to pacman rom(my 2nd rom) . I enabled appsharimg and data sharing . So the romswitcher app was already there and I dint have install it again so than I opened the app and than I selected touchwiz rom(crash rom v8.8) which was my 1st rom. When I selected it I got stuck on a boot loop(booting into touchwiz). How should I fix this.

Sorry for my bad English