yashsingh1/xdaforums huggingface dataset:
[Sprint LG G4] kmcphee:
[quote name="Alex_XV6700" post=62271487]if you would be so kind to pull full carrier folder. <br />

Or maybe just the apps folder.<br />

Thanks in advance![/QUOTE]<br />

Here is entire carrier<br />

<br />

https://www.dropbox.com/sh/6jxq0t15fxs6fty/AADrCKV1p7vwuPhEgt-dce8Va?dl=0<br />

<br />
[XDA Assist] XDA Visitor:
nither its going on recovery mode nor on down loading mode.. wat 2 do?
[XDA Assist] GuestK0087:
Hi, thanks for using XDA assist! :)

First, please create an account so you can post in other forums.

Here's the main forum area for your device:

http://xdaforums.com/galaxy-ace

After creating your account, please ask for help here:

http://xdaforums.com/galaxy-ace/s5830-help

The experts for your device are located there and will be able to help.

Good luck! :)
[Sony Xperia M] aweosomeabhijeet:
BUGs

NO BUGS as of now

LIMITATIONs

1. For MTP to work in TWRP you need to disable and enable it again.

CHANGELOG :

2015-08-13
Stable release!
Fixed minor touch issues present in the kernel by ngxson@git !

2015-08-07
Beta version
Fixed erasing primary rom with secondary
Fixed wifi

2015-08-07
Initial release!
[Sony Xperia M] aweosomeabhijeet:
DOWNLOADS

Kernels with kexec-hardboot support :

XMS-stock-Kexec.zip(To be flashed in recovery)(not yet tested)

XMD-stock-Kexec.zip(To be flashed in recovery)(not yet tested)

XM_CM_kexec-08-13-2015.zip(has touch screen issue)

Other kernels with kexec-hardboot support:

1. NUI kernel(kudos to dev.)

Instructions to use NUI kernel​

MultiROM TWRP :

recovery.img(To be flashed on fota-partition)

MultiROM-zip :

multirom-20150813-v31x-UNOFFICIAL-nicki.zip(To be flashed in recovery)
[Sony Xperia M] itsnie:
Use sdcard class 10 to boot cm11, run very smoothly :D

Great work, thang's .. :D

Sent from my waifu
[Sony Xperia M] manoj36:
Superb job [MENTION=4881390]aweosomeabhijeet[/MENTION]

And u can even add XMD in thread title bcoz it even works on it.. I am XMD user.. It's working well
[Sony Xperia M] Agu_Ra:
@aweosomeabhijeet, to prevent compatibility issues that may occur it will be better to use boot image repacking script (e.g. with unpackbootimg and mkbootimg utilities) that will inject new zImage (it is kernel file in your out/target/product/nicki folder) in boot image than flashing raw boot.img, so ramdisk will not be overridden (as far as I understand we don't need changes in ramdisk for kexec, do we? and even if we do, it will be better to replaced only changed files, not the whole ramdisk). Noel Macwan uses that thing in his kernels, I used his script as base for my old injecting CWM/TWRP script.

---------- Post added at 21:26 ---------- Previous post was at 20:57 ----------

BTW, what kernel sources did you use for your kexec-patched kernel? Are they Sony stock ones? Aren't they from CM12.1 repo?
[Sony Xperia M] kjinx01:
SUCCESS

so today i successfully flashed 3 roms on in XMD which run smoothly..the only problem i faced is patience when flashed through recovery i in usbdisk (which is obvious)..so now i dont need to wipe or format my primary rom in oder to test other builds..fabulous job [MENTION=4881390]aweosomeabhijeet[/MENTION]

Now mutlirom thread is active almost after one and half year for our xperia m...

All credits to u...
[Sony Xperia M] aweosomeabhijeet:
Indeed a very good idea, but I am worried about pure stock users. I think the script won't work, though I haven't tried.

They are from CM repo only, I am fixing some issues will push changes to my fork of CM kernel.
[Sony Xperia M] Agu_Ra:
We can make different zip for pure stock and for custom ROMs. But is now MR working on stock? Doesn't it have split screen bug? If yes, you should try using custom recovery graphics, and I am not familiar to C, so can't help. And BTW does stock work with CM kernel? I very doubt it. Even if it will work with stock ramdisk and CM zImage (which I doubt too, as CM kernel is built on CAF sources with some changes from stock kernel if I'm not wrong), it surely won't work with full CM boot image, so repacking script will be the best solution (I can even make it for you today if changes in initrd are not needed). And if stock will boot with CM zImage we will not have screen split bug anymore, and script also should work even with stock (as the command line is the same, and even if not, we can read it from unpackbootimg output by using `cat *.img-cmdline` for command line value in script). But building different kernels for stock and custom ROMs (all custom ROMs for our device share the same kernel source, difference is only in ramdisk, you can even boot CM11 with CM12.1 kernel if you will keep CM11's ramdisk) is better solution.
[Sony Xperia M] aweosomeabhijeet:
Actually you are getting it wrong!

1. We would not have any screen shift bug

2. Every ROM we boot from multirom can use it's own kernel irrespective of what kernel is installed in the device. (That's the benefit of kexec-hardboot)

3. I have a better idea for maintaing stock and all. Will upload new zip soon. I would like to use parts of your script if you don't mind.
[Sony Xperia M] Agu_Ra:
BTW, why didn't you git clone kernel repository (it would save commit history and make your fork git-compatible with original) and then apply your patches? Otherwise, it will be harder to support your patched kernel, as it has another commit history and you if I am not wrong will not be able to merge and cherry-pick commits from CM kernel to your kernel, you will have to do it manually, which is quite annoying, or leave your kernel unupdated in future.

---------- Post added at 15:49 ---------- Previous post was at 15:45 ----------

Seems that we misunderstand each other. I talk about using other ROMs as primary, not only CM. We can do this by using kexec-ed kernel. I just offer you another method installing it, which will keep original ramdisk (if kexec doesn't need changes in it) and only replace kernel itself (zImage only, not boot image).

And I don't mind using parts of this script.
[Sony Xperia M] aweosomeabhijeet:
I know it. I have forked the repo and currently cloning. It's just in beta status and is just for giving details about the patch. I'll soon be on CM kernel and would merge all its commits and kernel would be updated always.

Don't you worry about it, I have all in mind. It takes time, I am free majorly on weekends so I won't rush on things.

I understand this and I have already made installer zip which does exactly what you are trying to tell, it uses parts of your script to replace just zImage and not whole boot.img. I still have something better coming. Just wait for few days.
[Sony Xperia M] Agu_Ra:
Okay, that's nice. Sorry if I was too annoying.
[Sony Xperia M] itsnie:
Nice dev discussions :D

Sent from my waifu
[Sony Xperia M] Agu_Ra:
Dev and just-advanced-user discussion as I am not a developer. Just enthusiastic and sometimes full of curiosity user, nothing more. (BTW, we should stop OT not to make a mess in the thread)
[Sony Xperia M] kjinx01:
It's not a order or request.. A small advice or suggestions.. Can you overclock ur kernel for more smoothness
[Sony Xperia M] aweosomeabhijeet:
Please upload kernel.sin from build 15.5.A.1.5 if anyone here is having ftf of the same so that I can build for XMD stock devices. Thanks
[Sony Xperia M] manoj36:
Hey bro why does it take so long time to flash in recovery.. Any rom on sdcard takes abt 10 min to get flashed..??
[Sony Xperia M] kjinx01:
here u go for it..i uploaded kernel.sin from 15.5.A.1.5 of XMD ftf stock rom

https://www.mediafire.com/?9dobzi8nu2tqzjy
[Sony Xperia M] itsnie:
Your sdcard class is ?

Sent from my waifu
[Sony Xperia M] manoj36:
Am having SanDisk class 6 memory card of 16gb.. Not only this bro when I try to update any zip on internal storage that also take more time as compared to previous flashes... I know this is strange but am speaking truth
[Sony Xperia M] manoj36:
Hey guys.. Can anyone explain me why I am getting this error even though am having enough space to flash a complete rom.. Here is the screenshot

It is clearly shown am having free space more than the required one..
[Sony Xperia M] C25:
You need 600 mb space on internal storage!

I don't know why we need space on internal storage when we are installing secondary rom on sd card/usb otg.
[Sony Xperia M] manoj36:
Exactly.. Wt could be the reason then.. Are you sure will it work when I free that much of space in Internel memory??? . Will flash be successful??
[Sony Xperia M] C25:
Yeah try it
[Sony Xperia M] aweosomeabhijeet:
The zip file which is installed as secondary ROM needs to be temporarily extracted in /data. So minimum xxx MB are needed for each ROM for temporary storing(xxx may be different for each ROM).

I am working on an updated version, which should resolve the graphical issue, can't say for sure.
[Sony Xperia M] manoj36:
After flashing the rom can we delete that temporary data of rom which is in Internel memory or it will automatically be deleted bcoz it's temporary extraction for flashing??
[Sony Xperia M] kjinx01:
now do we expect any solution for that internal memory extraction of roms...???this issue stops me installing one of my favourite roms on sdcard
[Sony Xperia M] aweosomeabhijeet:
New downloads up on post 3 . Test and report back

Updated DPI, kexec_tools, adb.

Space needed on Internal must be temporary and should be erased on next boot. Check for this and report again.

Edit : If you find any bugs, please do support it with a log and if possible a screenshot.
[Sony Xperia M] C25:
So now on can we flash on nui kernel?

Or should be on stock cm12.1 kernel only?
[Sony Xperia M] aweosomeabhijeet:
No, features on the kernel would simple be erased.

You could be on any boot.img(it isn't kernel) and the kernel(zImage) would be replaced with new one.
[Sony Xperia M] manoj36:
OMG it was so horrible working with latest multirom.. That screen flickering issue is back and it was worse on both recovery and multirom menu... It couldn't even load my previously installed roms on usb disc.. When I took screenshots everything looks ryt..

Temporary extraction on internal memory is still present

WiFi was lost.. Network was gone.. Had to return back to previous multirom to get back to stable rom
[Sony Xperia M] manoj36:
In these screenshots u can find the displacement in Error popup from latest multirom 11th July 2015
[Sony Xperia M] aweosomeabhijeet:
Mention the ROM you are on and give logs.

Edit : There have been changes with downloads

Make sure you have the right files and have properly flashed

Give logs of recovery, last_kmsg and multirom.
[Sony Xperia M] manoj36:
I was on official cm12.1 nightly 7th July build and secondary roms are thr in above screenshots... And I downloaded and flashed the correct zip files.. The recovery was fine but when I flashed those 2 patches then issues started especially that screen flickering... Temporary internal memory extraction is still present..now am not having my usbdisc with me I will give logs in few hours
[Sony Xperia M] thichthat:
Touchscreen problem was fixed on my kernel.

Check my commit here: https://github.com/ngxson/android_kernel_sony_msm8x27/commit/07603558c59cf3d95fb6ba66e2ff72c958a6e984
[Sony Xperia M] manoj36:
Here are the logs

MediaFire link: multirom_log.txt - http://www.mediafire.com/view/x06094ytw878ptr/multirom_log.txt

MediaFire link: recovery.log - http://www.mediafire.com/download/ey8zv180a2b32dm/recovery.log
[Sony Xperia M] aweosomeabhijeet:
Throws out -Wunused at 321:12

You sure about this?
[Sony Xperia M] thichthat:
Try these commit:

https://github.com/ngxson/android_kernel_sony_msm8x27/commit/e3e842839e08d012304a888a534e973f9b8b311d

https://github.com/ngxson/android_kernel_sony_msm8x27/commit/ecea4bfae006999078f4d11f9d6d95d3ca1818c5

If it still doesn't work, please give me more information (which file or variable caused the error).

Btw, MTP in TWRP doesn't work for me. Anyone can confirm?

Edit: I've just checked the build log. I got the same error but the builder ignore it and continue to build. If you get the error again, delete these function in rmi_fw_update.c: fwu_check_version, fwu_reset_device and fwu_do_reflash.
[Sony Xperia M] aweosomeabhijeet:
Solved.

ThankYou.

Edit : I will add Nui to the list of kernels compatible.
[Sony Xperia M] manoj36:
So you got ur answer [MENTION=4881390]aweosomeabhijeet[/MENTION] .. When can we expect stable multirom build now??
[Sony Xperia M] aweosomeabhijeet:
Please DO NOT ASK for ETA(s).
[Sony Xperia M] aweosomeabhijeet:
New downloads up. Test and report if it fixes all the recent and older problems
[Sony Xperia M] manoj36:
Ya flickering issue is fixed but multirom recovery could not flash multirom-20150812-v31x-UNOFFICIAL-nicki
[Sony Xperia M] aweosomeabhijeet:
Updated. Download new file
[Sony Xperia M] C25:
Yeah same here

Attaching recovery.log
[Sony Xperia M] aweosomeabhijeet:
In updater script

run_program("/tmp/extract_multirom.sh";

change it to

run_program("/tmp/extract_multirom.sh");

I missed a bracket.

Or download the updated zip
[Sony Xperia M] manoj36:
Ya I changed that updater script and everything flashed successfully but that temporary extraction of rom in internal memory is still present..
[Sony Xperia M] aweosomeabhijeet:
It will always be there, it is a need for MultiROM. Is the touch issue fixed?
[Sony Xperia M] manoj36:
Not yet.. Still it takes 2 or 3 min for working and stable touch in multirom menu.. Everything else is fine
[Sony Xperia M] kjinx01:
Sir I want to switch to archidroid build now.. will multirom work on other roms because archidroid roms have its own modified overclocked kernel..
[Sony Xperia M] aweosomeabhijeet:
[MENTION=4929675]thichthat[/MENTION]

Checkout this commit : https://github.com/CyanogenMod/andr...mmit/907103b43eed80bd2bef89beb957d4052311ae67
[Sony Xperia M] aweosomeabhijeet:
New build has support to install ROMs to external SDCARD, let me know if you guys are able to do so.
[Sony Xperia M] manoj36:
Download link for new build is not available.. On OP the latest build is for 12th August
[Sony Xperia M] thichthat:
This file will not be built, because xm's defconfig doesn't mention it. Protocol B has already been used in touch driver. I still don't know why the touch screen issue couldn't been fix in your kernel. It works well for me.
[Sony Xperia M] aweosomeabhijeet:
I know it won't build, but if we do something similar in synaptics driver.

Well, if it works in your kernel, should I divert users to your kernel for MultiROM?
[Sony Xperia M] aweosomeabhijeet:
BUILD 4 :

I hope it resolves the touch issue.

http://d-h.st/SsKm
[Sony Xperia M] kjinx01:
will it work on base rom archidroid on internal memory???i will test and report
[Sony Xperia M] thichthat:
I added support for kexec and trampoline on my kernel, only need to flash you inject zip. Btw, don't forget to fix problem in the updater-script.
[Sony Xperia M] kjinx01:
i tested on XMD and touch issues are still present for few seconds
[Sony Xperia M] aweosomeabhijeet:
You can use NUI kernel as it supports MultiROM now and has the touch issue fixed.
[Sony Xperia M] kjinx01:
k i will try ..i will flash and report..

the steps are

1. flash nui kernel from playstore

2. flash latest mutirom twrp recovery provided by u

3. flash XM_CM_kexec-08-13-2015.zip(has touch screen issue)

4. multirom-20150812-v31x-UNOFFICIAL-nicki.zip(To be flashed in recovery)
[Sony Xperia M] aweosomeabhijeet:
Omit flashing XM_CM_kexec-xx-xx-xxxx.zip
[Sony Xperia M] Agu_Ra:
I have one idea that maybe is kind of silly. Can we make one kernel for MultiRom (for loading other ROMs, MultiRom itself and for recovery) and different for primary ROM? So we'll be able to use any ROM for primary with its own kernel (and for some ROMs, e.g. ArchiDroid, its stock kernel is preferred), it should solve even problems with stock (if these are not solved).

BTW, I didn't test MultiRom yet (as don't have a time to flash a secondary ROM for now), but I feel curios how does it work for SD and OTG? Does it create separate partitions for boot, system etc. or does it store boot image like initrd image in linux, as a file in separate folder (and system and data as just files in the storage)?
[Sony Xperia M] thichthat:
removed post, V4.8 is avaiable.
[Sony Xperia M] kjinx01:
then how do i download ur kernel with multirom support????
[Sony Xperia M] thichthat:
V4.7 hasn't support kexec yet, so you cannot install multiROM on V4.7. You have to wait for 1-2hrs (from now) for V4.8.

NUI kernel V4.8 is available.

Update to V4.8 and read this post to install MultiROM

[MENTION=4881390]aweosomeabhijeet[/MENTION] please fix updater-script in multirom-20150812-v31x-UNOFFICIAL-nicki.zip
[Sony Xperia M] aweosomeabhijeet:
Nothing to do with it [MENTION=4929675]thichthat[/MENTION], I fixed it yesterday only

Edit : MTP should work after re-enabling(i.e. disable and enable) it.
[Sony Xperia M] kjinx01:
success

You have done it..touch screen issue have been solved..

---------- Post added at 02:29 PM ---------- Previous post was at 02:15 PM ----------

[/COLOR [MENTION=4929675]thichthat[/MENTION] [MENTION=4881390]aweosomeabhijeet[/MENTION] eveything working well now...no touch screen issues ... [MENTION=4929675]thichthat[/MENTION] even a on latest kernel 4.8 its still asking me to update the kernel
[Sony Xperia M] thichthat:
Fixed in NUI v4.8_r1. Please download update from play store. [MENTION=4881390]aweosomeabhijeet[/MENTION] I've just downloaded multirom-20150812-v31x-UNOFFICIAL-nicki.zip and there's still a mistake in the zip, in this line:

run_program("/tmp/inject_boot.sh";

please fix it.
[Sony Xperia M] manoj36:
Ya mistake is thr I corrected that bracket problem myself to flash that zip file..
[Sony Xperia M] aweosomeabhijeet:
Sorry for that typo. Has been fixed now.

And tell me about the font size, is it ok? big? or small?
[Sony Xperia M] manoj36:
I feel the font size is ok
[Sony Xperia M] kjinx01:
sir [MENTION=4881390]aweosomeabhijeet[/MENTION] , that temporary extraction issue for few roms in internal memory will remain forever???
[Sony Xperia M] somenderjangra:
Mobile Hanging Problem

After installing multirom my mobile sometimes hanged and reboots again automatically
[Sony Xperia M] kjinx01:
u must have not flashed according to steps...check ur procedure and try again
[Sony Xperia M] somenderjangra:
Bro i tried all above steps after that i have flashed nui kernel then i get random reboots plz fix it
[Sony Xperia M] rahulbarai:
Working Working!! NUI kernel and this Mod of multirom is complimenting each other very well thus working like a charm. Great job done [MENTION=1897270]aweosomeabhijit[/MENTION]

I second [MENTION=5797756]manoj36[/MENTION], that thread title should be changed to XMS/XMD because my device is XMD.

Off Topic :

Can anyone suggest that, is it possible to port Ubuntu touch to XM for a dual boot or use as secondary ROM using this mod ?
[Sony Xperia M] rahulbarai:
Screenshots
[Sony Xperia M] Remorcer:
Can anyone confirm that the power button doesn't work in multirom, or is it just me? Test it by pressing on the multirom icon on the top-right edge of the rom choice screen, and then returning to the same screen with the power button.
[Sony Xperia M] somenderjangra:
Bro provide us multirom uninstaller
[Sony Xperia M] Mysteryagr:
Guys, I want to multi boot stock rom with cm11

Can someone help me with the steps?
[Sony Xperia M] manoj36:
But this works only on cm12.1 as base rom dude
[Sony Xperia M] Mysteryagr:
So if I want to dual boot any rom, cm12.1 should be my primary rom?
[Sony Xperia M] manoj36:
Ya this is ryt.. This only works when cm12.1 is primary rom and when it comes on stock rom multirom build is thr for that too but has not been tested yet
[Sony Xperia M] Mysteryagr:
What does multi rom zip at the end of downloads do???
[Sony Xperia M] manoj36:
I think it's for the multirom menu in startup of boot
[Sony Xperia M] madper:
Well, i hardly get this to work on mine, it always failing to boot to secondary rom, i should missed something,

Here is my step:

1. Flash rom (cm 12.1)

2. Flash NUI kernel

3. Flash multirom

4. Disable fota recovery

5. Add secondary rom via multirom twrp

6. Boot into secondary rom

7. Failed to boot, multirom shuted down to prevent data corruption

Anyone can point me to the right direction? Thanks.

Please do take a look my log

Multirom log https://drive.google.com/file/d/0ByqwHGVHzeiVRGhOVTJRNE9VaXc/view?usp=docslist_api

Last kmsg https://drive.google.com/file/d/0ByqwHGVHzeiVbjJkeTFrMmwyWnc/view?usp=docslist_api

Sent from my C1905
[Sony Xperia M] Mysteryagr:
Do I need to flash build with the same date?
[Sony Xperia M] manoj36:
[/COLOR]

Not necessary... U can flash latest nightly build...no problem in that.. It works fine with all builds

---------- Post added at 06:12 PM ---------- Previous post was at 06:08 PM ----------
[Sony Xperia M] madper:
Yes it does,

I've tried with latest tipsy, parallax, cyanide and octol with same results.

Flashing ArchiDroid in another hand will boot internal ROM with sdcard unmounted.

One more thing, how to delete temporary data extracted to internal storage when flashing secondary rom? I notice my internal storage get full after flashing two or three secondary rom, the only way to claim it back just with formatting Data partition and restore backup of my data.

Thanks again

Sent from my C1905
[Sony Xperia M] somenderjangra:
Bro secondary ROM are not booting showing an error occurred
[Sony Xperia M] manoj36:
Thr are few Roms which need to extracted to internal storage temporary on flashing.. For eg cyanide and parallax...Archidroid gets trouble bcoz of arome installer so u should not press reboot after flashing in aroma installer, let it come back to recovery for its further process and then reboot from multirom twrp recovery... But I don't find any problem with tipsy.. It worked smoothly and didn't need temporary data in internal storage... And when comes to temporary extraction thr has been no solution found for it so it will remain... U can read previous pages for more details on this topic.. Just hope it will be cleared on further updates
[Sony Xperia M] madper:
Just curious, where you install tipsy (internal, sdcard or usb)? And what file system you used? Also if you used vfat, how much size you give for each partition? I'll try all over again with same settings as yours. Thanks

Sent from my C1905
[Sony Xperia M] kjinx01:
[MENTION=5090384]madper[/MENTION] [MENTION=5797756]manoj36[/MENTION]

i too flashed tipsy rom on USB adn it worked charm

everything was given as default as provided in multirom
[Sony Xperia M] somenderjangra:
Plz helpe secondary ROM not booting showing an error occurred contact to developers I am using cm12.1 20150810 with nui kernel
[Sony Xperia M] gouster3:
Hi. How to install MIUI (KK) as secondary ROM?

PLS HELP. installing using zip methode gives me error.
[Sony Xperia M] itsnie:
Backup your primary rom first then install miui as primary then backup them, after that restore your primary rom atlast install miui backup as secondary rom..
[Sony Xperia M] gavinfernandes2012:
I'm no good at development but im trying to get ubuntu phone working, and I'll probably not be able to do it but whatever.

Not to make this about ubuntu touch development but on lunch, i get an error saying

---------------------------------------------------------------------------------------------------------------------------

build/core/product_config.mk:222: *** Can not locate config makefile for product "cm_nicki". Stop.

** Don't have a product spec for: 'cm_nicki'

** Do you have the right repo manifest?

-------------------------------------------------------

any help would be greatly appreciated.
[Sony Xperia M] Peter____:
Multiboot rom on Stock Device

Hello,

I'm using the 15.4.A.1.9 Rom on my Xperia M SS and want to get MultiRom support.

Sadly all the links from the first post are dead.

Perhaps someone knows where to get actual files for the xperia M.

Thanks,

Peter
[Sony Xperia M] GardenMan:
Hi ..All devhost links are broken..Can you post new links?
[HTC Pico (Explorer)] MSF Jarvis:
Working on my ROM so the Android L tutorial may be delayed a bit (actually a lot...)

Done. Check it in the forum.