yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] alvin14:
followed all the instructions correctly. Phone booted in touchwiz, i started graswitcher and selected yes to download dualboot file, after successful download, tried starting app again but it keeps force closing.
[Galaxy S 4 i9500 Original Android Development] Grarak:
You need root and busybox
[Galaxy S 4 i9500 Original Android Development] D™:
2 night and day over dual boot channel and pacrom.

Worked well only 2 reboot which are due to over Ram utilization. Theme chooser is prefect. for camera, just switch to TW. lolzzzz.. its a perfect combination between TW and Pacrom. Perfection with smoothness and hell of options. Great Grarak buddy.

Thanks,

Disturbed™

______________________________________________________

Wait for my time, U gonna pay for what U have done. - Disturbed™
[Galaxy S 4 i9500 Original Android Development] alvin14:
Thanks. Works awesome now along with PAC-man rom
[Galaxy S 4 i9500 Original Android Development] viktorlucky:
thanks grarak for this mod.

i try it but i get boot loop on my screen after i flash your modified pac and gaps zip.

here is my step.

- currently i'm on crash rom v7 with adam v1.8 kernel.

- reboot to recovery

- flash pac rom modified zip from page 2

- flash gaps modified from page 2

- reboot

and i get bootloop on samsung logo.

any clue about this matter?

sorry for this noob question.
[Galaxy S 4 i9500 Original Android Development] skivnit:
Flash perseus after gapps
[Galaxy S 4 i9500 Original Android Development] viktorlucky:
sorry i miss that step.

after flash perseus the sistem boot again like usually, install graswitcher and try to boot into pac rom.

and WOW its work. really smooth.

really thanks grarak for this miracle.
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
I was on dualboot with crash rom v6.5 and pacman rom. So I wanted to update my rom and wanted stock kernel. So I followed these steps:-

1. Booted to touchwiz.

2. Went to recovery mode(TWRP recovery)

3. Flashed crash rom v7.

4. Booted in touchwiz(crash rom v7).

5. Went to recovery and flashed pacman rom(zip from page 7).

6. Clicked on boot to system.

When I followed these step I got a bootloop on samsung screen. So what should I do. How should I preceed.....PLS HELP!!!!

SORRY FOR MY BAD ENGLISH:(
[Galaxy S 4 i9500 Original Android Development] skivnit:
Flash perseus after pacman and gapps
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
I don't want perseus kernel I want stock kernel.
[Galaxy S 4 i9500 Original Android Development] gdonanthony:
then dont use this switcher

perseus is a requirement in order to work ...
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
Ohk. Because if perseus my phone becomes slower and battery draibs very quickly
[Galaxy S 4 i9500 Original Android Development] kenn7:
[MENTION=4443334]Grarak[/MENTION]

i've renamed and replaced the touchwiz.img with the one that i extracted from wanam's

but still in "about device" i get perseus as my kernel..

what else do i need to do?
[Galaxy S 4 i9500 Original Android Development] gdonanthony:
my TW messages are gone when switching to PA rom ...

normal or a problem ?
[Galaxy S 4 i9500 Original Android Development] noideaforusername:
You can use Adam kernel too, just switch the touchwiz.img to the Adam kernel img file in the Graswitcher folder.
[Galaxy S 4 i9500 Original Android Development] Arjav23:
To remove aosp Rom, should I delete entire dual folder or the other folders inside the dual folder
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
Nvm I managed to get stock kernel with this switcher now its perfect. Its bacj to normal. Anyways thanks for the help. :)
[Galaxy S 4 i9500 Original Android Development] Akhil:
Normal. As both ROMS share different partitions.

---------- Post added at 05:48 PM ---------- Previous post was at 05:46 PM ----------

Delete entire dual folder and your second ROM will be deleted.

---------- Post added at 05:50 PM ---------- Previous post was at 05:48 PM ----------

If you want to change the words in "about device" , you need to edit build.prop file in /system.
[Galaxy S 4 i9500 Original Android Development] Grarak:
So for all people who have problems with dualboot http://xdaforums.com/showthread.php?p=45002114#post45002114

And good news for Xperia ZL users, with help from a friend we ported this Rom Switcher to ZL
[Galaxy S 4 i9500 Original Android Development] kinng111:
Some how I messed up my UI by selecting tab ui in settings ..Now I m unable to revert back to the original theme DAT came with PAC ROM.plz can someone help
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
If you want to change your kernel than just flash the kernel that u want throught recovery.

I did the same thing and it works for me.
[Galaxy S 4 i9500 Original Android Development] croach246:
When trying to clear 2nd ROM cache for aosp ROM, I do not have the dual folder under data as the 2nd post suggests. To find the dual folder I have to go /device/1stdata/dual. Then in dual they are 2 folders "2nddata" & "cache".

Can someone please advise?
[Galaxy S 4 i9500 Original Android Development] gp545:
If you're using TWRP recovery, go to Advanced>File manager. Go to root. Enter Data/Dual folder. Select it. Then hit delete. That's it.

Then wipe cache.

You're done :)

Tip: Make sure that you booted in to TouchWhiz ROM using Grark Switcher before performing wipe AOSP ROM otherwise you'll be stuck in bootloop & you have to flash TouchWhiz ROM again if that happens to you :)
[Galaxy S 4 i9500 Original Android Development] croach246:
Thanks, will try this. Am currently on a CWM recovery so dont have that option..but want to make the switch to twrp. Will try this method when I get a chance.
[Galaxy S 4 i9500 Original Android Development] Grarak:
You can also use aroma filemanager
[Galaxy S 4 i9500 Original Android Development] gp545:
You can try it using any file manager that can access root permissions.

Enter mentioned folders mounting system R/W. Delete Dual folder. Then delete Cache folder or use Wipe Cache on CWM after.. ;) That's it. But next to to boot AOSP ROM unless you flash another ROM by making changes in script file like mentioned in OP. :)
[Galaxy S 4 i9500 Original Android Development] croach246:
---Deleted---

Sorry for all the trouble guys..my(silly) mistake. It may be worth (garak) putting into the 2nd post that you have to be in the TW ROM to access the dual folder in the said location when trying to clear cache.

If you want to be posting this great mod on the playstore, it's best to make it as idiot proof as possible...(if you think some of the people on xda are bad your in for a shock!)

Thanks for your help.

Re-flashed using TWRP and boot animation working :D :D
[Galaxy S 4 i9500 Original Android Development] croach246:
What's this switching app you speak off..?
[Galaxy S 4 i9500 Original Android Development] baungratz:
Anybody use folder mount or super mount?

I dont have sucess...

Dual folder dont appear on pacman ROM!

Any help?
[Galaxy S 4 i9500 Original Android Development] croach246:
Read my post 2 lines up! You have to boot in TW to erase aosp ROM cache.

S4 i9500 Omega v11/Perseus, GraSwitcher dualboot PACman Rom
[Galaxy S 4 i9500 Original Android Development] @xDeepS:
Is there a way to undo the whole setup after trying it out? Would restoring a nandroid backup do it?
[Galaxy S 4 i9500 Original Android Development] Nasty_z:
Restoring nandroid or wiping data/factory reset
[Galaxy S 4 i9500 Original Android Development] AL_IRAQI:
Grarak Made App To Make AOSP And TW Use Same Data Partition So You Dont Have to install apps in two roms

Sent From my i9500 With ☆★Crash Rom★☆
[Galaxy S 4 i9500 Original Android Development] kushmanek:
CAN SOME ONE KIND ENOUGH UPLOAD EDITED 'UPDATER SCRIPT' FILES FOR GAPPS AND PAC ROM :x I CANT EDIT :(
[Galaxy S 4 i9500 Original Android Development] nabil alami:
Garak has already posted it and the gapps go back on this thread its between pages 3-15 I think...search for it :D
[Galaxy S 4 i9500 Original Android Development] djigane:
Really ? Where ? Is it an update of the app posted on OP ?
[Galaxy S 4 i9500 Original Android Development] croach246:
Will be great if that means you won't have to "re-verfiy" whatsapp every time you switch ROM. Other than what's app the ability to have two different sets of apps could be useful (but if it solves whatsapp that'd b great)

S4 i9500 Omega v11/Perseus, GraSwitcher dualboot PACman Rom
[Galaxy S 4 i9500 Original Android Development] AL_IRAQI:
He's Working on it :D

Sent From my i9500 With ☆★Crash Rom★☆
[Galaxy S 4 i9500 Original Android Development] Grarak:
App switching is still a no go. It works at first boot up then after reboot all apps are gone -.-
[Galaxy S 4 i9500 Original Android Development] djigane:
As it works at first boot, I am sure, certain that you'll soon find a way to make it work permanently ... :good: ;)
[Galaxy S 4 i9500 Original Android Development] mcreokhan:
Install a mod in second rom?

How to install a Flashable MOD in the secondary AOSP Rom??
[Galaxy S 4 i9500 Original Android Development] anasnemer:
where i can find these codes ?

how i can change it and delete it ?
[Galaxy S 4 i9500 Original Android Development] Grarak:
People like you makes me really, really angry. If you guys still asking these questions I will discontinue this project. I am not kidding.
[Galaxy S 4 i9500 Original Android Development] anasnemer:
i am realy dont know

if u angry give me link for asking or close this project

someone answer me !

thanks to him
[Galaxy S 4 i9500 Original Android Development] nabil alami:
What are you talking about, do you mean the data/DUAL ?
[Galaxy S 4 i9500 Original Android Development] skivnit:
You really gonna give up on hundred of us because of 10ish people? :( you don't have to reply to these kind of questions
[Galaxy S 4 i9500 Original Android Development] Nasty_z:
It's written in the first post. The FIRST post. Come on, it would have been a lot easier if you read the first post before asking about this.

My friend I don't wanna be rude, none of us want to. But with posts like that, you don't leave us much choice.

Anyway, here, this is straight from the first post:
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
I am on dual with crash rom v7(stock kernel) and pacman rom .My musics player, video player and lockscreen freezes every time on touchwiz rom . but i didn't have this problem when i have crash rom alone . So I don't think that there is any problem with the rom. is there any solution for it......and can someone pls suggest me a good(Which is very smooth ,doesn't heat up and good battery life) kernel and a good rom for touchwiz??

Thanks in advance.:):)
[Galaxy S 4 i9500 Original Android Development] Grarak:
I've never had this problem. May you should try another kernel.
[Galaxy S 4 i9500 Original Android Development] AL_IRAQI:
Deleted
[Galaxy S 4 i9500 Original Android Development] Grarak:
Btw guys please use the discussion thread of graswitcher in the general section to ask non dev related questions
[Galaxy S 4 i9500 Original Android Development] D™:
General Discussion thread for Dualboot Kernel of GraSwitcher is here -> http://xdaforums.com/showthread.php?t=2423337
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
Which kernel should I try??I ahev tried perseus kernel it makes my phone slow and battery drains very quickly and gets heated up.

---------- Post added at 05:46 PM ---------- Previous post was at 05:43 PM ----------

Which kernel should I try??I ahev tried perseus kernel it makes my phone slow and battery drains very quickly and gets heated up.
[Galaxy S 4 i9500 Original Android Development] AL_IRAQI:
Go to this thread and post your questions

Sent From my i9500 With ☆★Crash Rom★☆
[Galaxy S 4 i9500 Original Android Development] Grarak:
Ok created an organization and we are 2 members right now.

https://github.com/RomSwitchers

You can join us if you want to port this mod to other devices.
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
Thanks.I posted it on that thread but no reply since 4 hrs.
[Galaxy S 4 i9500 Original Android Development] Grarak:
Why you post non dev releated posts here? When you do this again I will report you!
[Galaxy S 4 i9500 Original Android Development] D™:
A banner.

Thanks,

Disturbed™

______________________________________________________

Wait for my time, U gonna pay for what U have done. - Disturbed™

---------- Post added at 12:09 AM ---------- Previous post was at 12:01 AM ----------

we are in news. Thanks to [MENTION=4443334]Grarak[/MENTION] for this work and to will & smantha for writing up the news and accepting my continues PM

http://www.xda-developers.com/android/dual-boot-achieved-on-the-samsung-galaxy-s-4/

Thanks,

Disturbed™

______________________________________________________

Wait for my time, U gonna pay for what U have done. - Disturbed™
[Galaxy S 4 i9500 Original Android Development] Grarak:
My first time in news ^^

Thanks for support guys :D
[Galaxy S 4 i9500 Original Android Development] add12364:
any chance this can get a port to the Nexus devices?
[Galaxy S 4 i9500 Original Android Development] Grarak:
We need testers
[Galaxy S 4 i9500 Original Android Development] add12364:
I volunteer as tribute. I have a nexus 10.
[Galaxy S 4 i9500 Original Android Development] Kurama21:
where can i get your modified cm kernel ?
[Galaxy S 4 i9500 Original Android Development] palexis06:
Hello, you're going to develop this system to another device such as NOTE 1 for example?

Thank you for your response
[Galaxy S 4 i9500 Original Android Development] Kurama21:
I did all steps, but it gets to my aosp bootanimations and I get bootloop of cm 10.2 animation ( in my case )

how did you make it work please ?

---------- Post added at 09:56 PM ---------- Previous post was at 09:16 PM ----------

update

used both CM 10.2 alpha 17

latest PACMAN rom,

same problem at both of them, it's stuck at bootanimation for both of them

I did all steps in the right way,

what's could be causing this problem buddy ?

THANKS
[Galaxy S 4 i9500 Original Android Development] Grarak:
use the dicussion thread for this kind of questions. Your question won't get answered here
[Galaxy S 4 i9500 Original Android Development] toxicpaulution:
Well I am trying the rom Beanstalk and I do not have these lines

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

instead I have this

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

Which it is an Aosp based rom. Port to the AT&T version. Could you possibly help me with this? Also could this be because I am on an AT&T phone and not the international? I would love to get this working for the AT&T version :3 To be honest I only wanted the dual boot so I can boot back to TW easily for the camera lol :p

EDIT: here is the link to the rom :) http://xdaforums.com/showthread.php?t=2304815
[Galaxy S 4 i9500 Original Android Development] ophirb:
I can report that it is working for me. Crash v7 and PAC man.

Thanks it is great.
[Galaxy S 4 i9500 Original Android Development] Grarak:
This is for i9500
[Galaxy S 4 i9500 Original Android Development] toxicpaulution:
Blah :/ lol well if you'd like to push this for the other S4 owners I would like to offer myself as a tester :) If not then oh well lol :p
[Galaxy S 4 i9500 Original Android Development] Grarak:
Maybe later

BTW:

Ported this to Nexus 10
[Galaxy S 4 i9500 Original Android Development] Mr_Jay_jay:
volunteer

have a nexus 10 tablet willin to test..
[Galaxy S 4 i9500 Original Android Development] Grarak:
Already ported it to nexus 10. It's working
[Galaxy S 4 i9500 Original Android Development] gravedigger76:
Any chance anyone looking at porting this over to ATT I337 non MF3?
[Galaxy S 4 i9500 Original Android Development] Grarak:
Sorry I won't support the i9505g variants too many of them
[Galaxy S 4 i9500 Original Android Development] LucidSomnia:
Will it work on i9505 though?
[Galaxy S 4 i9500 Original Android Development] Nasty_z:
It won't work, please refrain from trying as it would probably lead your device to a bootloop. 100% sure this will not work for another device.
[Galaxy S 4 i9500 Original Android Development] Tyler.Boston1:
What device models does this work on and does it have to be complete stock rooted ROM to work?
[Galaxy S 4 i9500 Original Android Development] D™:
i9500 only. Pls ask anything related to General queries at general discussion thread only.

Thanks,

Disturbed™

______________________________________________________

Wait for my time, U gonna pay for what U have done. - Disturbed™
[Galaxy S 4 i9500 Original Android Development] » Arrow «:
Really nice tool Grarak :good:
[Galaxy S 4 i9500 Original Android Development] 1dog9:
So will we be able to run this with Hyperdrive or only rooted stock? Sorry i just worked 12 hours and am too sleepy to read through all kinds of posts. (Also searched for Hyperdrive in this thread and no results showed up) ty in advance
[Galaxy S 4 i9500 Original Android Development] ChadBFlores:
do you have any plans for the US variants aka the regular I9505?
[Galaxy S 4 i9500 Original Android Development] Kurama21:
and where is that dicussion thread Grarak ????
[Galaxy S 4 i9500 Original Android Development] Tha TechnoCrat:
[MENTION=4443334]Grarak[/MENTION] my friend congratz this great tool of your just got featured on The Portal!!

Congratz buddy
[Galaxy S 4 i9500 Original Android Development] D™:
Check it here -> http://xdaforums.com/showthread.php?t=2423337
[Galaxy S 4 i9500 Original Android Development] wis1152:
Hi, a friend is having problems,and asked me if i would have alook at update-script from pacman rom.

I have noticed that there are 2 lines the same do they both need changing(I guessing yes)

assert(getprop("ro.product.device") == "ja3g" || getprop("ro.build.product") == "ja3g" ||
getprop("ro.product.device") == "i9500" || getprop("ro.build.product") == "i9500" ||
getprop("ro.product.device") == "GT-I9500" || getprop("ro.build.product") == "GT-I9500");
[COLOR="Blue"]mount("ext4", "EMMC", "/dev/block/mmcblk0p19", "/system");[/COLOR]
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
[COLOR="Red"]
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");[/COLOR]
package_extract_dir("system", "/system");

Can someone comfirm

Thanks for any help;)

EDIT: This might be the reason some people are having issues.
[Galaxy S 4 i9500 Original Android Development] D™:
How to install?

You can use any AOSP rom!

Download any AOSP rom. Extract it and open META-INF/com/google/android/updater-script

Look for this line

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

and replace it with

mount("ext4", "EMMC", "/dev/block/mmcblk0p[B]19[/B]", "/system");

then delete these lines

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

and

package_extract_file("boot.img", "/dev/block/mmcblk0p9");

Above have two diff lines.

People aren't reading that's the issue buddy.
[Galaxy S 4 i9500 Original Android Development] wis1152:
I agree:) So you are saying the answer to my question is Yes:good:

Just thought i would post here as it might help others

People are only see the first line and not the second:)
[Galaxy S 4 i9500 Original Android Development] D™:
Its already been replied buddy. People need to understand that there is "Search" button in each Thread.:victory:
[Galaxy S 4 i9500 Original Android Development] wis1152:
Ok buddy, cool point taken,end of conversation:silly:

Just saying might be worth adding this point to op:)
[Galaxy S 4 i9500 Original Android Development] sif2010:
Great work.

Is there any chance to try this on i9505 ??
[Galaxy S 4 i9500 Original Android Development] Nasty_z:
NO. Can't you read the previous posts? Also, this is a development thread, post on the general discussion thread in the general section.

---------- Post added at 11:25 AM ---------- Previous post was at 11:06 AM ----------

@Grarak maybe you can add the discussion thread link to the top of the OP saying all non dev related discussions are to be done in that thread?
[Galaxy S 4 i9500 Original Android Development] boostermbkking:
it work on gti9505?
[Galaxy S 4 i9500 Original Android Development] D™:
No. :crying:

Edit: Check Grarak buddy reply below my post.:D
[Galaxy S 4 i9500 Original Android Development] Grarak:
A member of us will get the i9505 and he will port it, be patient
[Galaxy S 4 i9500 Original Android Development] burakg:
Hope you do this for the galaxy s4 i9505
[Galaxy S 4 i9500 Original Android Development] footsouljah:
Not sure if this has been answered but could you dual boot two touchwiz roms?
[Galaxy S 4 i9500 Original Android Development] HearMeWhisper:
Bump. I would assume that most of the US versions would be the same. Like the sch-sph-sgh-sgh models. I can't wait though
[Galaxy S 4 i9500 Original Android Development] D™:
Doesn't have enough memories to handle 2 TW rom.
[Galaxy S 4 i9500 Original Android Development] Grarak:
I removed some files from the server.

So you cannot download anything yet. I will fix this in some minutes
[Galaxy S 4 i9500 Original Android Development] Grarak:
Please download the new app

http://d-h.st/FdJ

No OTA anymore and delete the old app
[Galaxy S 4 i9500 Original Android Development] noideaforusername:
Thank you very much :)

Which one is the Touchwiz kernel and which one is the AOSP kernel?
[Galaxy S 4 i9500 Original Android Development] Grarak:
/sdcard/romswitcher/first.img is touchwiz

second.img is aosp
[Galaxy S 4 i9500 Original Android Development] rl421403:
File Not Found
[Galaxy S 4 i9500 Original Android Development] Grarak:
http://d-h.st/TIg
[Galaxy S 4 i9500 Original Android Development] rl421403:
Thanks. This one is working. :)

Great work
[Galaxy S 4 i9500 Original Android Development] palexis06:
Hello, someone you tested (worn) this on the Galaxy Note N7000?

Thank you for your answers
[Galaxy S 4 i9500 Original Android Development] D™:
Also, [MENTION=4443334]Grarak[/MENTION]: buddy, I didn't feel Reboot sometimes like for 7-8 hrs, but when I use it highly(like playing games & listening music), it reboots.

[MENTION=1443062]iamsachin[/MENTION] suggest its not RAM utilization, then what is that..?? Just curious..

Edit:eek:ppsss, I m OT now.
[Galaxy S 4 i9500 Original Android Development] Grarak:
Currently we are not sure what could be the problem

iamsachin said it has to do with permissions

I think it's rather hwcomposer
[Galaxy S 4 i9500 Original Android Development] iamsachin:
Generally when the RAM goes full, the background processes are killed by the Android OS. In that case, for example if you are playing a game and getting back to the launcher by pressing the home button, it loads (redraws) the screen again. In any case, it doesn't cause a reboot.
[Galaxy S 4 i9500 Original Android Development] Nottach:
Getting a NPE when starting the app and making the HttpGet request:

08-29 10:26:32.145: E/AndroidRuntime(8207): Caused by: java.lang.NullPointerException

08-29 10:26:32.145: E/AndroidRuntime(8207):	at java.net.URI.parseURI(URI.java:353)

08-29 10:26:32.145: E/AndroidRuntime(8207):	at java.net.URI.<init>(URI.java:204)

08-29 10:26:32.145: E/AndroidRuntime(8207):	at java.net.URI.create(URI.java:725)

08-29 10:26:32.145: E/AndroidRuntime(8207):	at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:75)

08-29 10:26:32.145: E/AndroidRuntime(8207):	at com.grarak.romswitchers.utils.Utils$DownloadWebPageTask.doInBackground(Utils.java:200)

08-29 10:26:32.145: E/AndroidRuntime(8207):	at com.grarak.romswitchers.utils.Utils$DownloadWebPageTask.doInBackground(Utils.java:1)

Just me?
[Galaxy S 4 i9500 Original Android Development] footsouljah:
Ah okay, was just wondering if Google Edition ROM + TouchWiz ROM was do-able. Oh well.