yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M4 Aqua] franello:
Hi, sorry to bother you guys, but install instructions are not clear to me.

I understand there have been some changes in ROM development, therefore involving install procedures.

I have e2303 model with 8gb, android 6.0.1.

From this starting point what should I do?

Should I just restore e2303.zip backup through twrp, or follow the entire procedure written in first post and marked as "old procedure"?

There's no clear answer neither on the first posts or in the appropriate drive folders.

Besides that, I actually don't have an external SD, do I need one to perform backup restore or what?

Thanks in advance, cheers
[Sony Xperia M4 Aqua] yhave:
I am Spanish and my English is bad.

To install this rom you have to watch the video and follow the instructions.

It's hard, it's not a comfortable rom.

I have blocked my terminal and it does not turn on anymore.

---------- Post added at 02:10 PM ---------- Previous post was at 02:10 PM ----------

It does not do anything in any way. It does not even turn on
[Sony Xperia M4 Aqua] franello:
So, I finally decided to wait no more and went installing this ROM, following these steps exactly (thanks dude for your clarity) and ended up with a nice working ROM.

Just when I was starting to be happy with the results, I discovered two bugs which I don't think have been reported, don't know if it's the proper section for this, but I feel everyone may need to know about that.

1. Camera app works fine, just clicking on the thumbnail of just taken picture has no effect. Wanna see your picture? You need to fire gallery app. No big deal ;)

2. BIG DEAL!!! (ANY HELP FIXING IT WOULD BE APPRECIATED): developer options inside this ROM are clearly bugged. I enabled them to use adb and format my sd to enable adoptive storage, which I discovered is not natively supported by this ROM itself (but I still blame Sony for this), only to discover that when I connect my pc through usb, instead of prompting fingerprint to authorize pc in dev mode, phone system ui crashes and my pc stays unauthorized. Tried many times, restarting, deleting auths, all to no avail. Thought maybe "AOSP.v2.zip" on drive may fix this, so I flashed it over and ended up bootlooping the phone. So that's that. Probably my fault in that case.

Anyhow, does anyone have anything to say about these issues. 2nd one is really pissing me off, I'm thinking I may go back to stock if I can't find a workaround for that.

Cheerio!
[Sony Xperia M4 Aqua] SUPERUSER:
I'm looking for a rom for my crippled E2303 but this is the most ghetto install tutorial i've ever seen on android..

And from I understand it has some bugs with notification, setup wizard, camera app..and what else? :(

There doesn't seem to be anything worth installing here on the forum
[Sony Xperia M4 Aqua] dimension_z:
So which are the steps for restoring backup? I put e2303.zip inside sd card and trwp doesn't recognize the backup.

---------- Post added at 12:31 AM ---------- Previous post was at 12:23 AM ----------

Any help how to restore backup? No backup files in TRWP.

---------- Post added at 12:40 AM ---------- Previous post was at 12:31 AM ----------

Reset application Data? From TRWP? Because doesn't even let me login in after the first boot. Always play the same loop about launcher and can't log in.

Do you mean Clear App Data or Reset App?
[Sony Xperia M4 Aqua] franello:
So what I did was going in twrp and make a nandroid backup, for 2 purposes: 1st, as it happened, something went wrong, so I was able to restore my phone to stock without reflashing. 2nd, it automatically creates the right directory path in your SD for restoring backups, any kind of backup. Easier way instead of building it yourself as the path contains your device ID. THEN!!! I went on my pc, UNPACKED e2303.zip and copied the folder obtained in the backup path just created in SD card. Hope that is clear. When you'll do that you will find the backup inside twrp as you start it. And as ivy.lally said you may even choose to flash system only (no data) if you wish. I don't suggest it as the rom is then missing some needed apps, even keyboard if you did a full wipe like I did. Hope this helps ;)
[Sony Xperia M4 Aqua] dimension_z:
I did exactly what you said. Maybe it doesn't like me a lot...

I'm stopping here...

Although it's not worth it for such a phone!

There are too many newer smartphones now with better android systems and specs.

Thnx anyway!
[Sony Xperia M4 Aqua] keepontrying:
First of all, thanks for this wonderful ROM, this is the best I've found so far in order to make this phone useable, as it removes bloatware and makes the "out of space" messages a thing of the past.

There are however a couple of bugs I've found that I'd like to point out, some of them have already been discussed in this thread. Just follow the bold items if you want to end up having the same as me::

1) Pixel Launcher App stops working pop-up message. This can be solved by going to the App and deleting "app data". However this means desktop distribution is lost and you've to set it again.

Here's the things I've attempted to solve the issue.

1a) Delete Pixel Launcher app using Titanium BackUp.

1b) By having a look at the apk name, I went to this thread: https://xdaforums.com/android/apps-games/app-rootless-pixel-2-launcher-google-t3688393 and tried to download the most recent version of it, then installed it in the device. However, the "app stoped working" pop-up kept appearing.

1c) I decided to give another Pixel Launcher version a try. This one: https://www.reddit.com/r/Android/comments/80gg3a/rootless_pixel_launcher_32_the_launcher_reimagined/ and is the one I am using now. So far no pop-up error messages have appeared.​

2) Second issue I found was that, upon receiving a call, the phone didn't wake its screen and it remained dark. I did some Google research and, apparently, some versions of Google Phone app had this issue. I tried to update it.

2a) Using Play Store failed with error 507. Even unlinking and linking Google account again did not help in sorting this issue out.

2b) Downloading the apk from apkmirror and attempting to install, failed as well.

2c) Here's what has worked for me. First, uninstall phone app using Titanium Backup. Then download the Google Phone app from here: https://xdaforums.com/android/apps-games/app-google-phone-v14-0-175904292-bubble-t3708218 and install the apk. Phone now wakes up on calls.​

Hope this is useful to anybody using this ROM. Feel free to share if you've discovered other ways to keep enhancing this phone life.
[Sony Xperia M4 Aqua] keepontrying:
Now that there is an "easy installation" process I'd recommend to try to follow it.

Since you're on 2303 go to the "2303" folder of the Google Drive folder link in the fist post of this thread, where it says "Link to the backups folder" (I cannot post the direct link as I do not have enough forum posts, apparently)

In that folder, there is an "important information" file that explains exactly what to do.

So:

1) You get the e2303.zip file you get from the folder

2) Unzip it to a TWRP backup folder in your SD card.

3) Boot to TWRP (holding power + volume down)

4) Restore that backup.

5) Boot to the system.

6) Reboot to TWRP again

7) Flash m4_aosp_ui.zip (or m4_aosp_ui2.zip this is the one I used) You place this file in your SD card same as before but without unzipping it.

8) Clear dalvik/cache

9) Reboot.
[Sony Xperia M4 Aqua] Sonyfanatic:
I used v2 as well and I just loe the rom

I didn't clear the catches cause it gave me a sd corrupted

---------- Post added at 06:53 AM ---------- Previous post was at 06:50 AM ----------

And when using the zip file to flash it just bootlooped

Forget about I misunderstood your quote XD
[Sony Xperia M4 Aqua] batflleck:
No notification when screen is off a long time (WhatsApp,instagram... )
[Sony Xperia M4 Aqua] Sonyfanatic:
Is it safe to formate SD as internal storage?
[Sony Xperia M4 Aqua] Gray47Maxx:
Thanks for this one! Since we are working on AOSP we don't have much time to keep a support over this thread.

I'll add your instruction in a OP.
[Sony Xperia M4 Aqua] Sonyfanatic:
No probs. Can u answer if I can format the SD as an internal storage when asked for it. And what about if I make 2 partitions. Can I use one as internal and one as usauall
[Sony Xperia M4 Aqua] Gray47Maxx:
Well, if you have a good SD card and if you really need - go for it!)
[Sony Xperia M4 Aqua] Sonyfanatic:
How about making 2 partitions ?
[Sony Xperia M4 Aqua] Gray47Maxx:
Sounds intresting, but since I don't have M4 anymore, can't help you. Sorry. But you can ask [MENTION=8399533]trpsl[/MENTION])
[Sony Xperia M4 Aqua] Sonyfanatic:
No probs. I'll try it and get back to you. So I have 2 more questions and then I'll stop bugging u.

1 I have a Samsung Evo sdxc 128 gbcard, is it a good card.

2 when repartitioning in adb, r u partitioning it to SD or r u just adjusting partitions in the internal memory ? Just curious why I'm doin it, and how depended i am on SD after installation
[Sony Xperia M4 Aqua] Gray47Maxx:
You can even shoot 4K on that one, so... Yes, that's a good one.

Never done that, so I don't know. Main documentation helps.
[Sony Xperia M4 Aqua] Sonyfanatic:
What i asked was when doin the rm29 and rm30 r u moving partitions from internal to SD or r u just resize internal memory, basically am I dependent on SD for this room to work.
[Sony Xperia M4 Aqua] Gray47Maxx:
Exactly. But better be careful with it, and before you'll install AOSP - reflash your stock ROM)
[Sony Xperia M4 Aqua] Sonyfanatic:
Just to be clear.

1 install stock rom.

2 partition SD card. (My thought is 2 make 2 partitions)

3 all the install process of conceptify including adb editing(rm29 & 30)

4 format 1 of the partitions as internal.

I'm gonna try it and c were it takes me.

But this is how You think I should do it.

If something's go wrong it's my own fault. I won't blame u

For it XD
[Sony Xperia M4 Aqua] Gray47Maxx:
Good luck ;^)
[Sony Xperia M4 Aqua] 325i.:
How much storage space do you have after installation?
[Sony Xperia M4 Aqua] Sonyfanatic:
I installed the 2303 recovery without clearing catches. And I had near to 5 gb . I'm gonna try to do a 2 parrition before installing rom tomorrow and c if I can after that format 1 of the partitions as internal storage. The V2 flash has internal as an option
[Sony Xperia M4 Aqua] 325i.:
Thanks. Lastly, i cant seem to find any clear instructions on how to install this ROM. Normally in the past I would of root, install TWRP and then flash the rom file but this seems to be different.

Any guide?
[Sony Xperia M4 Aqua] Dutch Burdock:
Love the customisation, thank you for your efforts! Have a handful of other tricks here..

If you want this ROM to truly (and properly) pass SafetyNet, I did the following things.

Installed SkyMelon 8.1 kernel (no-root option).

https://xdaforums.com/m4-aqua/development/kernel-sky-melon-t3532944

Flashed UnSU to remove SuperSU remnants.

https://xdaforums.com/showpost.php?p=63615067&postcount=2459

Flashed latest, micro GApps for MM arm64. Did this mainly to return function for OK Google (as Google App needs to be system) and restore FaceUnlock.

Flashed Latest Magisk zip.

Wipe Dalvik/Cache, reboot.

Now both ctsProfile and basicIntegrity pass.

Hope this helps others and thanks again for the ROM!
[Sony Xperia M4 Aqua] 325i.:
To update, I have seen the video here which is very useful. https://drive.google.com/file/d/0BxYC2aYzmVvaUTd1N01OZHBQT0U/view

Although where can I download the 3 files I need?

And secondly, how do i do step 1 and 2 shown at 9:10 in the video?
[Sony Xperia M4 Aqua] Sonyfanatic:
1What files r you talking about ?

2 when doin all the installation I didn't have sim in. When I was done I registered my Google account and after that I rebooted with sim inserted and int worked

What phone r u using
[Sony Xperia M4 Aqua] Dutch Burdock:
Quickest way is do a nandroid backup of just say recovery. In the TWRP/sub/folder it created, dump the system.ext, boot.ext and data.ext files into that folder with the recovery.ext, then do a retore of System.
[Sony Xperia M4 Aqua] 325i.:
The issue is i am not sure what files to download. On the google drive link, i have the following in the E2303 folder;

e2303.zip

m4_aosp_ui.zip

m4_aosp_ui_v2.zip

And 260118.zip in the main folder.

Which file do I use to do the restore?
[Sony Xperia M4 Aqua] 325i.:
Finally making progress! I downloaded the E2303.zip file and extracted it to the TWRP backup folder. So I did not a restore using the file. But now the phone is not booting, it is stuck on the Xperia screen for about 40 mins. Any ideas why?

One thing to mention, before i did the restore, I did not do a wipe. Was i suppose to?
[Sony Xperia M4 Aqua] Dutch Burdock:
Flash the UI v2 zip. Wipe dalvik/cache. Reboot.
[Sony Xperia M4 Aqua] 325i.:
But the instructions say reboot phone to system after restore, then go back to recovery to flash that zip file.

Are you suggesting to flash that zip straight after the restore?
[Sony Xperia M4 Aqua] 325i.:
So did that and now its worse, phone does not boot up. Does not switch on!

Can someone please help? I followed the instructions and when I do the restore, I cannot get past the Experia boot screen.
[Sony Xperia M4 Aqua] trpsl:
it is possible through emulator, but i wouldn't recommend you to do that.
[Sony Xperia M4 Aqua] Dutch Burdock:
The instructions were clear..

Watch video to perform M4 Reduce Patch, Parted etc.

Perform a TWRP backup (to make folders TWRP will find)

Extract E2303.zip into it

Restore that backup.

Boot up

-Shutdown- Recovery

Flash UI v2

Reboot

If you bootloooped/hung on first go, you didn't follow them precisely. I had that first time, just start from point after you've parted.
[Sony Xperia M4 Aqua] 325i.:
Thank you. I think my issue is that i didnt any do any of the parted, etc steps as per video. I went straight to the restore of the E2303.zip.

So question is, on that video, up to when do I follow it? Do i have to follow it all and then follow your instructions with the first step being restore of e2303.zip? Do i just follow part of the video first?
[Sony Xperia M4 Aqua] Dutch Burdock:
I'll let you into a secret, I never did the parted bit. I only restored backup and flashed UI v2. I did however do things a little different;

SonyFreak did the best guide, link in OP.

Minus the parted bit, I retored backup. Booted up to 30 mins of bootsplash. Went into recovery and flashed UI v2. It booted into Android at this point. I made some errors trying to get magisk installed, due to kernel being rooted (installed xposed too via Magisk which sent everything mental).

Restored System only from previous step.

Flashed SkyMelon 8.1 kernel (non root)

Booted.
[Sony Xperia M4 Aqua] StiviKM:
Hello, yesterday i flashed this ROM and I am very happy with it.

I would like to report some bugs i found tho, hopefully the devs would look into them.

(Sorry if I am reposting, I am new to the forums.)

Bug #1

When changing the lockscreen/wallpaper picture, they both become the same. (Not important)

Bug #2

The mobile data. I have 2 sim cards. One old and one new i got yesterday from a new operator. The old stock 6.0.1 ROM was working flawlessly with the mobile data. 1G/2G/2.5G/3G/3.5G/4G. Everything was working ok. But on this ROM if i set the mobile network to preferred LTE sometimes i get a LTE with ! mark next to it and i do not have internet (obviously). Sometimes it works perfect. But if i do set it to WCDMA preferred i do not have any internet at all. Even the H or H+ icon does not show, only signal. Long story short, i have problems with the LTE, sometimes it works, sometimes it does not. Both sim cards have this problem. Btw 1 out of 10 times if i make WCDMA preferred i only get H and not H+ (thus indicating i have no internet). Hope you look into this as it's mandatory to have internet everywhere nowdays. (Very important)

Best regards,

StiviKM

PS:Keep up the good work!

Edit: Forgot to mention I am on E2303.
[Sony Xperia M4 Aqua] batflleck:
excellent rom! but notifications are not displayed when the screen is off for a long time. Sorry my had English. How can I resolve this situation
[Sony Xperia M4 Aqua] Sonyfanatic:
Follow the video just like he does it. Instead of restoring you backup you restore the 2303 backup. And instead of installing aosp you install the v2 version
[Sony Xperia M4 Aqua] SUPERUSER:
How much free space do you guys have on internal storage with this rom? If anyone has the 8GB model E2303 single sim.

On stock I have 540MB free with apps that cannot be moved to sdcard and I cannot update apps either because play store complaints about that..

And sd0 is empty with no personal files. All that is stored on sd1.
[Sony Xperia M4 Aqua] flaximuss:
Hi Gray

can you please explain us which ''manual'' steps we have to perform to install it on E2333 devices ?

Thanks in advance :good:

Flaximuss
[Sony Xperia M4 Aqua] batflleck:
do you have a chance to adapt stock kernel
[Sony Xperia M4 Aqua] Kakster8:
[MENTION=7561631]Gray47Maxx[/MENTION] no v4 for E2303?
[Sony Xperia M4 Aqua] trpsl:
there is v4 for every model.
[Sony Xperia M4 Aqua] Kakster8:
Then I'm blind...
[Sony Xperia M4 Aqua] trpsl:
on this link https://drive.google.com/drive/folders/1_8A3_4h3KohaRXeDIkmThsE3MHs6jfGe
[Sony Xperia M4 Aqua] Kakster8:
This is really strange, I've copied the link and in the browser I can see e2303 folder and readmes, but they don't show in Google drive app?? [MENTION=8399533]trpsl[/MENTION] thank you.
[Sony Xperia M4 Aqua] batflleck:
There are no notifications while the screen is off ... Does anyone have this problem? Is there a solution: (( concept-ify v4.1 )
[Sony Xperia M4 Aqua] ivy.lally:
As I can see it is better simply to convert some apps as "system" ones (to move them to the /system partition) rather than resize partitions.

Many applications have big folders in the /data/apps (Apk, Odex, Libs) and small data in /data/data so moving them to /system helps a lot in freeing internal storage.

Whats more some applications work then stablier, and for type of apps like system tools it is important: e.g. 3cToolBox, KernelAudiutor, SolidExplorer, AutoMagic, BetterBatteryStats, Apps2SD etc.

I moved so many applications (to /system) with Link2SD and overall feeling is good, seems phone works faster now.

It is important applicacions moved to /system are trusted. Also it's good to switch off many spurious components in these apps: Services, Receivers, Activities (e.g. Google firebase like stuff) for instance with 3cToolBox.

Except system tools, typical 'consumer' apps have been moved to /system like:

Skype-preview, Viber, AutomaticCallRecorder, Swype keyboard, Textra, NovaLauncher, various cameras like FootejCamera

Its good to move only those apps which have big files in /data/apps (Apk, Odex, Libs) and small data (in /data/data) because data stays on internal storage anyway. If an app has big data (eg Tapatalk) than it is better to move it to Adopted storage instead.
[Sony Xperia M4 Aqua] trpsl:
check out google drive folder, there's a fix uploaded. just flash it in twrp and wipe cache/dalvik cache.
[Sony Xperia M4 Aqua] batflleck:
thank you for the solution .I try now :)))
[Sony Xperia M4 Aqua] batflleck:
I still live in the same situation . O flashed fix zip and wipe data cache...
[Sony Xperia M4 Aqua] trpsl:
join our telegram group and give us more details there
[Sony Xperia M4 Aqua] MrPilot:
Hi! great ROM!

I used to have 2 options to send screen to TV; miracast and chromecast... now I can't use any :(

The miracast (screen mirror) fast toggle doesn't do anything, unlike on the original M4 ROM

Is there another way to mirror phone to computer while using your ROM?

, I really enjoy the new sony home launcher(I bought even some sony themes), I can't uninstall lean launcher. I bought a Youtube small app, but I can't see the small app drawer. can I re-download something to get it working? I know of apkmirror :)

Netflix isn't showing up in play store, neither EDGE Browser.
[Sony Xperia M4 Aqua] trpsl:
screen casting will be fixed in v4.5 (later today), and small apps are removed to free some more space.
[Sony Xperia M4 Aqua] Onur1355:
lean launcher stopped

I installed the installer but the launcher was stopped, I got the error, I also installed the fix file, but the screen did not open and was left as black screen. i can not open. help me my devices e2303
[Sony Xperia M4 Aqua] MrPilot:
Is there a way to get the small apps working? I mean what apk's do I need to install to use small apps again? the benefit of some of the small apps is huge for me, and the few mb's it takes is worth it for me.

I'm glad you're getting chromecast/miracast working! This will be a great update! Thanks!
[Sony Xperia M4 Aqua] ivy.lally:
Yes, I join Your request about small apps. Especially screenshot with crop was very useful!

What about USB-OTG, is it working on your devices?
[Sony Xperia M4 Aqua] MrPilot:
Otg didn't seem to work
[Sony Xperia M4 Aqua] trpsl:
m4 doesn't support usb otg on neither of available kernels for stock rom.
[Sony Xperia M4 Aqua] ivy.lally:
And is it software or hardware disability? Question inspired by TWRP recovery which is unaware of usb pendrive too.
[Sony Xperia M4 Aqua] MrPilot:
hi! Thanks for this update!

The phone runs cooler now with the new kernel! The screen mirror to the computer isn't working, but the other, chromecast, maybe will.

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

Thanks for the update, the new kernel seem to run phone cooler. That's great!

1. The screen mirror doesn't work still. Clicking on the shortcut does nothing.

2. I will test the chromecast tomorrow.

3. What is "stock teal" ? I see no difference from 4.1?

4. In the "about phone", the concept-ify version still shows 4.1, not 5.0 (Did I not update?)

5. What do I need to download in order to get small apps working again?

This is great work!
[Sony Xperia M4 Aqua] trpsl:
1. i will check it out

2. let us know if it works

3. stock teal zip has accent color like nexus phones

4. download patch from google drive folder

5. unfortunately, small apps are not supported
[Sony Xperia M4 Aqua] MrPilot:
1 - There's an app on my Z5 Compact that handles screen mirroring (miracast), not present on your ROM. Maybe that's the problem?2. Yeah! I couldn't wait, so I tried it, and it worked. Not at first, but after a reboot the cast is working 100% with sound and all.

3. Thanks, now I know! :D

4. Will do.

5. Bummer, I will have to deal with it

Thanks for the replies! And even more for your effort! I will see if I can resurrect the M4 as my daily driver after over a year with the Z5C... excellent XD
[Sony Xperia M4 Aqua] batflleck:
Thanks for uptade :) With the new update the phone is getting warmer. But the phone is constantly restarting. Phone do random reboot.Is there a solution for this? I entered the Skymelon forum and could not find a solution (E2303 model)
[Sony Xperia M4 Aqua] trpsl:
check the downloads section of the thread, there's sky melon 8 there, maybe that will resolve you problem. :)

---------- Post added at 10:32 AM ---------- Previous post was at 10:28 AM ----------

what's the name of the app from yours z5c? i will include it in future update.

thank you for your kind words. :)
[Sony Xperia M4 Aqua] batflleck:
The problem continues with the Skymelon 8 kernel. Can I build a stock kernel?
[Sony Xperia M4 Aqua] trpsl:
kernel must have ui fix (removal of systemui.apk@classes.dex on every boot). if you have boot.img from stock, send it to me and i'll make ui fix. :)
[Sony Xperia M4 Aqua] MrPilot:
No problem!

The name of the screen sharing apk is translated from Swedish into English as "screen mirroring" or something close to it.

I have downloaded sony home and after an hour or so the folders are shown only as round white circles, no matter what theme or icon pack I use. I have now uninstalled pixel launcher, and converted home as system app, I deleted all the caches, and then both dalvik and cache within TWRP and still, all the theme elements works EXCEPT the folder appearance. When this problem happened the background turned into some space image, no idea where from.