yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Thraxzzz:
When we switch, the apps in the original ROM will be in the other dual booted ROM?

Sent from voldemort's nose
[Xperia Z Original Android Development] venky716:
Few questions about ur CM kernel:

Undervolting possible ?

Governors available?

Min and max clock speeds?

And is there no way to use a different kernel for AOSP ?
[Xperia Z Original Android Development] mithun46:
No. But ill be working on it

No, no, stock cm

There are methods

Ask kernel Dev to add support code is out there
[Xperia Z Original Android Development] xarive:
[MENTION=4922752]mithun46[/MENTION] Everytime I switched back to stock timescape, I realised that it's necessary to flash doom kernel again for the wifi fix. I often switching between them and I find this fun. But it's annoying to flash doom kernel for every time I switch back to stock. Any workaround for this?
[Xperia Z Original Android Development] mithun46:
I'll try to fix. No idea what's the issue and I don't own the device
[Xperia Z Original Android Development] SuperHanss:
Strange, this doesn't happen with me. Are you running pure stock or a custom stock rom?
[Xperia Z Original Android Development] xarive:
I rooted [MENTION=428455]Stock[/MENTION] ROM but nothing related to lib to be modded. Just some custom theme installed Xposed framework.
[Xperia Z Original Android Development] joejoe23:
For the stock rom, is it necessary for stock ftf or can I use custom stock rom?

Sent from my C6603
[Xperia Z Original Android Development] SuperHanss:
You can use any custom stock rom.
[Xperia Z Original Android Development] Madala_ZA:
Happy to see this here :highfive: I have a few questions if ok:

1. How will this dual boot mod handle the continual merging of data and/or keeping the two Android versions in sync?

2. So in follow up to my first question, does it use the same data set?

3. If i receive a SMS on one rom, will it be available on the other rom when I boot into it?

4. Same question as above but for email - Exchange and Gmail?

Edit: and Whatsapp conversations?

Hope you don't mind my questions, and thank you for this great development for the XZ!!
[Xperia Z Original Android Development] venky716:
Both stock and Aosp will use different data sets, so your apps and msgs will not be in sync.

U'll have different copies of two ROMs.
[Xperia Z Original Android Development] venky716:
Decided to try this, right now I'm on PAC rom 4.3 so these are the steps I'm going to take could you let me know if they are right.

(I already flashed .244 ftf before switching to PAC)

1.Fastboot flash Xz Kernel http://xdaforums.com/showthread.php?t=2409003

2.Flash RomAur Rom via recovery

3.Flash Carbon(AOSP) Rom and flash Gapps.

4.Install app

I'm done,right?
[Xperia Z Original Android Development] HSD-Pilot:
Definitley nice to see Dual-Booting on the XZ, you rock :good:

Backup (Nandroid) is running, i'm on my way to test this stuff.

We started Dual-Booting similar on the RazR, by editing the Script. Good old days, one of my first How To's on XDA as lil Grasshopper

http://xdaforums.com/showpost.php?p=28505103&postcount=1

Later the Dev (Whirleyes) made all this stuff fully automatic and we flashed up to 5 Roms on our Razr by using the internal SD as virtual Rom Slots :highfive:
[Xperia Z Original Android Development] HSD-Pilot:
Edit: Works flawless here with XzKernel on Stock as first.img and CM Nightly as 2nd System.
[Xperia Z Original Android Development] venky716:
Hey, could you help me out with my previous post.

Are my steps right or could tell me how u went about flashing.

Thanks
[Xperia Z Original Android Development] HSD-Pilot:
Started with Stock .244 inkl. XzK2.0:

First edit the Update Scripts of your Rom and GApps-Package, like mentioned in the OP!

Copy the Zips & the App on your external SD

Boot in to Recovery and flash your edited Rom / GApps.zip without wipes (i used TWRP)

Reboot (into your Stock Rom)

Install and open RomSwitcher and let it download the necessary files

After the Download (around 20mb) is done, open the App again and you should now be able to choose your System > Skip it, because you're not using DoomK!

You're using the XzK, so grap the boot.img out of the Kernel.zip and rename it to first.img > Copy it into Sdcard/romswitcher and overwrite the default (DoomK) first.img, before you boot into another System.

That's all, wish you success :highfive:

Edit: After you booted your AOSP ROM, just install RomSwitcher on top of it, to switch between AOSP <> Stock
[Xperia Z Original Android Development] venky716:
I've edited the scripts and copied then to sd card already.

One major confusion, do i have to flash ftf then root then flash kernel?

Can't i just start with flashing Xz kernel then RomAur ROM and then aosp from recovery.
[Xperia Z Original Android Development] HSD-Pilot:
ROMAuR should be fine, i've only tested it on Stock / rooted right now.

But why shouldn't it work? ROMAuR is rooted and busybox should be working.

I forced busybox to /xbin with busybox pro, the regular Kernel related in /sbin wasn't working (RomSwitcher crashed after Download), but that was an small issue and easy to solve.
[Xperia Z Original Android Development] Thraxzzz:
Hmmm,i dont wanna use doomkernel,possible?
[Xperia Z Original Android Development] HSD-Pilot:
Yes, i run it with XzK v2.0

Read three Posts ahead (or the OP), there's mentioned how to change the Stock Kernel and make it stick. :thumbup:
[Xperia Z Original Android Development] -totonio-:
I'm having issues... I've flashed pac rom 4.3 with edited files, all ok... Next I've installed Rom switcher, donwloaded the files, when i reopen the app my Z becomes laggy and the launcher disappears,I've selected nothing cause i cannot... BTW thanks :)

EDIT: Reinstalled the app, and now it works, but next the choice I stuck on blank screen, with backlight...

Re-EDIT: Now it works just fine!!!! Thanks!

Re-Re-EDIT: I've tried to install miui and cyanogen mod alpha with no success. The only has worked for me is PAC.
[Xperia Z Original Android Development] chiikko561:
How to go back if wanted
[Xperia Z Original Android Development] mithun46:
By go back what you mean??
[Xperia Z Original Android Development] r1c4rd0:
hi there, i allready tryed 2 time to instal pac_yuga-nightly-20130901 and edited scripts carefully but wen flashing the rom in CWM or TWRP i allways got error or failed because of the updater binary...

can u help me with this?

thanks
[Xperia Z Original Android Development] Thraxzzz:
Check your update script correctly,i do once and i can get it correctly to work ;) Do a double or maybe triple check
[Xperia Z Original Android Development] bariz143:
im trying to change this line in my aosp rom but i see 2 identical lines like this one

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

Should i replace both of them?
[Xperia Z Original Android Development] Thraxzzz:
Yes
[Xperia Z Original Android Development] bariz143:
I get installation aborted in recovery
[Xperia Z Original Android Development] r1c4rd0:
Me too, and the update script its a simple task, dont know whats happening can someone upload the modified file of last nightly version of PAC?

Thanks
[Xperia Z Original Android Development] mithun46:
Are you guys unzipping and rezipping for editing updater-script and are you using notepad++??
[Xperia Z Original Android Development] Thraxzzz:
I edit straight from the zip using notepad++ Works perfectly
[Xperia Z Original Android Development] bariz143:
im using the latest cm10.2 build.

Or is it just Pac?

As i mentioned there is 2 of the first code in my update script. Do i have to replace both of them?
[Xperia Z Original Android Development] mithun46:
Same here

Not just PAC
[Xperia Z Original Android Development] Thraxzzz:
EDIT : Everything is working fine now,thanks!
[Xperia Z Original Android Development] bariz143:
I unzip the cm10.2 rom and change update script save it then i rezipp it and i get installation aborted in recovery. Dont know why.

As i said before there is two lines of this first code that has to be replaced or ??

i gave up.

same thing just happens all the time.

did download the cm rom again and tried the same thing and it gets aborted in recovery.
[Xperia Z Original Android Development] CambaStorm:
It should work on C6602? I ask because I see in the post title C6603. Thanks.
[Xperia Z Original Android Development] Thraxzzz:
Try editing using notepad++ right from the .zip, just find the lines op asked you to delete/replace ;)

Sent from voldemort's nose
[Xperia Z Original Android Development] liliha:
I had exactly the same problem, but all is well now. You have to take your time editing the script, I left one ; which seemed to halt everything.. use notepad++
[Xperia Z Original Android Development] liliha:
I'm also having the no WiFi on stock rom after switching, flashing doomkernel fixes
[Xperia Z Original Android Development] Thraxzzz:
DoomK is not really stable now, due to the custom wifi modules, try the xzk

Sent from voldemort's nose
[Xperia Z Original Android Development] liliha:
Will try that, thanks. Looks like the XZK has got all the features I need
[Xperia Z Original Android Development] Thraxzzz:
Hey OP,if theres a wifi fix like the one in this thread

http://xdaforums.com/showpost.php?p=44094410&postcount=2

What lines must i delete in the update script?
[Xperia Z Original Android Development] xarive:
How can I switch back to stock timescape without access into AOSP ROM? I getting bootlooping in AOSP ROM and I can't switch back to timescape to delete data/2nddata for new aosp rom
[Xperia Z Original Android Development] mithun46:
fastboot flash boot doomkernel.IMG

And am having exams so I can't respond here and all
[Xperia Z Original Android Development] MR.Samo:
First i want to thank u Mithun, i swear this is the best thing could happen to the XZ.

Sec i am on stock 244 rooted and doomed by doom kernel, I followed the steps carefully ( i had i mistakes in first couple times and installation aborted) but i did every thing again from scratch, flushed PAC and success, flashed gapps and success and after that

all i got is doom kernel boot logo tried to wipe cash, dalv, data, flashed doom kernel again but still stuck at doom kernel boot logo and keep restarting by it self . I managed to get my XZ working by flashing stock rom again.

So i really want to try this but i don't know what i have to do.

Thank u all
[Xperia Z Original Android Development] mithun46:
U sure u followed updater-script ****s properly??

Seems it flashing to /system

Sad thing is I don't have the beautiful Xperia Z :(
[Xperia Z Original Android Development] MR.Samo:
I knew u r so busy right now, so thank u very much for answering me and i wish u all the luck with your exams.

As i knew i followed the steps exactly as the says, the only thing i didn't followed is flashing stock FTF and rooting and doomed coz i already have the stoke rooted and doomed. Anyway i'll try again now just to make sure.

yes it's sad that u don't have the XZ but it's AWESOME we have u Mithun,

And with donation from here and there u will have it so come on guys :good::good:
[Xperia Z Original Android Development] mithun46:
I'm 100% sure no one will donate to me not because of all hates me but the fact that PayPal doesn't work with my cards. Am gonna get a new card in a few :)
[Xperia Z Original Android Development] marceldossantos91:
Great work!

i have tested this now on my sony xperia z c6603, stock FW aroma xz 7.3, pac-rom 4.3 nightly 8/26,

all is working,with some fighting with it i got it right, here is my bug list:

1. at first, modding the lines stated above didnt work, caused a state 6 error in CWM, figured out use notepad ++ not wordpad (lol)

2. as another user mentioned, wifi module on the stock fw dont work after using romswitcher app, this is a bug in doomkernel v12 and 13 i see (with my z at least), reflashing v11 made it work fine for me again both on the stock and cfw.

3. when switching to pac-rom i had no issue,and if i reboot back into the stock FW, there is no issue, HOWEVER, installing romswitcher on the Pac rom created an unexpected bug: it picks up the modules, and reboots into the stock FW, however after doing this, the stock FW is in a bootloop once the orange LED lights up, therefore a complete crash not being able to boot into stock or cfw.

Re-doing the above stated worked, just dont use the romswitcher app in the cfw!

3. [EDIT] if i reboot normaly it will still go into pac-rom, i have to use romswitcher to get back to stock, however redid it and somehow the bootloop is now gone, also found something else, when you click "reboot" into recovery,nothing happens,just goes to normal reboot,but rebooting to bootloader works :-S

4. ive noticed phones running little bit hotter than usual for quiet a while when it boots up, it remains hot for say the first 3mins (after successful boot), so something uses bit of CPU or GPU usage, but eventualy goes away (nothing to be concerned about i think)

this is the complete bug list ive found, other than this this is working 100%, thank you for this amazing dual boot!
[Xperia Z Original Android Development] MR.Samo:
OK... So after trying about a million time I made my XZ flash the ROM and the gapps successfully, but when I open ROM switcher App I get

SU message then when choosing allow i get FC error, so i redownloaded the app now when am trying to open it i get this message "No support for your device"

And I am sure that I don't have Nokia.:D

Iam guessing that i didn't flash the rom correctly even that i am getting flashing success in recovery and i am guessing that coz i cant find the dual folder in my data folder ???
[Xperia Z Original Android Development] muphetz:
same with me
[Xperia Z Original Android Development] chiikko561:
This is nice kind of like Multirom
[Xperia Z Original Android Development] Madala_ZA:
Is there any way of getting phone, sms and Whatsapp to sync when switching roms?
[Xperia Z Original Android Development] mithun46:
Seems its a error with build.prop, Without the device in hand its hard to debug :( . Please Check Google Hangouts man :p . Maybe [MENTION=4983940]Drummerjed[/MENTION] can help you as I have a Xperia ZL not a Z :(

Thanks :D

Working on it already ;)

GUYS: My PayPal is working now. If you guys want to donate to me all info is in signature
[Xperia Z Original Android Development] Madala_ZA:
Nice1! If you manage to get data sync'd or shared between roms I think this mod would be untouchable!
[Xperia Z Original Android Development] Karim Kahale:
I see that this mod/kernel is specific to the xperia zl, is there anyway to use it for the xperia z ?
[Xperia Z Original Android Development] SuperHanss:
It was originally for the ZL, but Mithun ported it to the Z.

What do you think this thread is about? Just follow the steps in the 1st post :p
[Xperia Z Original Android Development] mithun46:
Guys I won't be online for 20 or more days. Returning to my home country India ☺
[Xperia Z Original Android Development] Thraxzzz:
Take care mate!
[Xperia Z Original Android Development] MR.Samo:
Hello guys,

Anyone can confirm that he got this working on c6602, coz i tried everything but nothing worked.

Thank u all
[Xperia Z Original Android Development] venky716:
It does work on c6602.

Replace the lines from OP carefully and use notepad+ .

And replace all duplicate lines mentioned in OP not just one, search for them properly cos there are more than one line with same script.
[Xperia Z Original Android Development] Maddhouse:
The 6602 is the same as 6603 but just without LTE/4G support
[Xperia Z Original Android Development] Madala_ZA:
Most nb feature request upon your return :fingers-crossed: getting phone, sms and Whatsapp to sync when switching roms :highfive:
[Xperia Z Original Android Development] MR.Samo:
Thank you guys, I knew that c6602 is the sa me as c6603 but I am asking coz I tried like a million time without a success.

I'd flashed slthe stock then rooted the doomed, and I edit the scripts with note++.

And when am flashing PAC ROM and gapps I don't get any error, and I get success for the both.

But when I open ROM switcher app I get no support for your device.

:eek::eek::eek:
[Xperia Z Original Android Development] mithun46:
Even if its capable its a "no-support" for now. I'll add it when am back in 10 or 15 days. [MENTION=4429939]MR.Samo[/MENTION] will help me on testing
[Xperia Z Original Android Development] muphetz:
Its happen to me too,no work with c6602 by ROm NUT,just flashed with Rom NUT c6603, its Work!,
[Xperia Z Original Android Development] MR.Samo:
Dear Mithun, I can confirm that with C6602 roms and rom switcher will give u " No support " error.

But i tried to flash MonxDIFIED rom (it's C6603 rom) after that i flashed PAC and GAPPS, then i open rom switcher and guess what?

It WORKS:victory::victory:

So i guess that the problem with rom switcher is this app does not support C6602.

Thank u Mithun and all.
[Xperia Z Original Android Development] mithun46:
The problem is in code!!

See this! - Line 88

if (device.equals("yuga") || device.equals("C6603")) {

it should be

if (device.equals("yuga") || device.equals("C6603") || device.equals("C6602")) {

To support C6602 too. I'll add support after a month

Moral: DON'T BE LAZY WHILE ADDING DEVICES OR CODING
[Xperia Z Original Android Development] MR.Samo:
Ohh..... get it , waiting for testing.

Just let me know ;)

Thank u boss.
[Xperia Z Original Android Development] mithun46:
Try now with the latest app from download link for app
[Xperia Z Original Android Development] MR.Samo:
OK I'll try tomorrow morning coz here its the bed time now

Thx anyway mate

_____________________________________________________________________________

Edit: Great work Dear Mithun, I can confirm now that i don't get any error when using rom switcher app.

Thank u very much, waiting to test data sharing between roms ;)
[Xperia Z Original Android Development] liliha:
Any chance you could use a modified meow kernel in your next release for the CM side?
[Xperia Z Original Android Development] mithun46:
NO. MEOW Devs [me] will not make a Dual-Boot MEOW edition
[Xperia Z Original Android Development] mithun46:
Am Stopping all development. NO MORE XDA. Flashing a stock .ftf and locking bootloader now :) , It's an honor serving with y'all. Personal life is too much for xda now
[Xperia Z Original Android Development] Thraxzzz:
That's sad to hear :/
[Xperia Z Original Android Development] liliha:
I think I'll do the same :laugh:
[Xperia Z Original Android Development] mithun46:
<removed>
[Xperia Z Original Android Development] Madala_ZA:
Hey dude, I would donate if your mod switcher could sync data between roms. I was watching this thread for data sync after you said you would sort it, and then everything was put on hold and then dev stopped. Without data sync between roms it's pretty useless for me.. but I have great respect, as always, for devs like you. I always donate when I find a rom/mod useful. Much respect, and thanks for all your efforts!! :highfive:
[Xperia Z Original Android Development] mithun46:
I can make it happen with just editing a few lines but I am in a personal matter for the next 1 week. After that a new update will follow :)
[Xperia Z Original Android Development] MR.Samo:
The Boss Is Back...:cyclops:
[Xperia Z Original Android Development] Madala_ZA:
Hi how are these few lines coming on? :fingers-crossed:
[Xperia Z Original Android Development] mithun46:
PC dead :@
[Xperia Z Original Android Development] CambaStorm:
What link did you used? I downloaded the apk from first post and it says: "No support for your device"
[Xperia Z Original Android Development] fedevd:
No support in next builds for C6602?
[Xperia Z Original Android Development] mithun46:
I've dropped all dev projects for sony
[Xperia Z Original Android Development] matique:
Awh I loved it. Which phones are you working on nowadays?
[Xperia Z Original Android Development] mithun46:
Nexus5
[Xperia Z Original Android Development] fedevd:
And no way to release the source to make it available for C6602 properlly?

Enviado desde mi C6602 mediante Tapatalk
[Xperia Z Original Android Development] Mahesh124:
Hey !!! Mithun Ur doing great work...But Can you Do it for Sony Xperia ZR please, The Doomkernel for ZR was uploaded by someone on Zr's thread see If u can make use of that. Thanks in advance
[Xperia Z Original Android Development] elias234:
When I open rom switcher I got : no support for your device

I have c6603 .2.67 doom kernel v19
[Xperia Z Original Android Development] elias234:
[MENTION=4922752]mithun46[/MENTION]

please bro , can u bring this back to life and make you apk support our device ?
[Xperia Z Original Android Development] veryjo:
Update please...

This version does not work for me.

Can we hope for further development?
[Xperia Z Original Android Development] fedevd:
Already said like 10 times, [MENTION=4922752]mithun46[/MENTION] dropped all 'fusion3' projects.. That's why this tool wasn't fixed/updated.. I want it too, tried to use it too but no way and he will not release the source or a new build of this app (as far as I know/understood) )=

Enviado desde mi C6603 mediante Tapatalk
[Xperia Z Original Android Development] mithun46:
Guys. I know you want this. But I don't own the phone and nor the money for it.

So, please. Stop the PMs. Sorry :(
[Android Software/Hacking General [Developers Only]] davis the droid:
Step 1. Copy SystemUI.apk to the sdcard

Step 2. Rename SytemUI.apk to SytemUI1.zip

Step 3. Change the icons i what ever folder they are in. Eg.(Wifi status icons)

Step 4: Rename File Back to SystemUI.apk

Step 5. Install

Step 6. Reboot & Enjoy

NOTE: Attention!! I am NOT Responsible For the Damage or Data loss

Also This Way of Doing so May Be Dangerous

Good Day :)

d

p.s if you do it wrong will it not reboot at all?? thx
[Android Software/Hacking General [Developers Only]] LeParkour012:
But how do you get the apk without root in the first place?
[Android Software/Hacking General [Developers Only]] Vagelis1608:
Use adb:

adb pull /system/app/SystemUI.apk

Sent from my GT-I5500 [CM7.2]
[Android Software/Hacking General [Developers Only]] davis the droid:
Well all i have to do is use root explorer and go to the system/app/systemui.apk and copy it and paste to sd
[Android Software/Hacking General [Developers Only]] Vagelis1608:
None should even try this!!!

'Root' explorer? Really?

To use 'root explorer' you need root.

Rename SystemUI.zip to SystemUI.apk??? Really?

And install SystemUI as user app??? Really?

Do you know anything about android and apps???

Sent from my GT-I5500 [CM7.2]
[Android Software/Hacking General [Developers Only]] oldslowdiver:
+1
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Pretty sure root is needed to even explore the /system partition, also im not sure if adb can gain root access if the device isnt rooted?
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
Sure it worx,have done it month ago.

@OP:How shall it work without root and "ROOTEXPLORER"?You know ROOTEXPLORER :rolleyes:;)

GREEEEETZ!!!!
[Android Software/Hacking General [Developers Only]] Vagelis1608:
Root browsers request root at (their) startup.

adb can pull from system partition but to push it needs root in order to remount /system as rw.

Sent from my GT-I5500 [CM7.2]
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Just tried, you are correct, says failed to mount /system as rw when pushing the file
[Android Software/Hacking General [Developers Only]] davis the droid:
:)

Actually YES :) where it has like the wifi icons replace them in the "res" folder and rename to an apk and update the system ui apk
[Android Software/Hacking General [Developers Only]] Vagelis1608:
Sorry for been so rough with you before :) .

But

1. You should replace the first step in the OP with the following command (done in PC)

adb pull /system/app/SystemUI.apk

2. Add in the OP that your method can be dangerous.

Sent from my GT-I5500 [CM7.2]
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
if it fails to book that's a hard brick...