yashsingh1/xdaforums huggingface dataset:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
CyanogenMod 12.1 for Samsung Galaxy A3 (SM-A300FU)

First alpha build! Bug reports welcome!

Notice:

This ROM is created for Samsung Galaxy A3 (SM-A300FU). Obviously it will not work on any other device.

Notice 2:

Uploading my files elsewhere (mirroring) is not appreciated.

If you need to add my files somewhere else, just use the links I have provided.

Disclaimer:

#include <std/disclaimer.h>
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/

If you have decided to install this ROM on your device, I cannot be held responsible for any damage done to your phone and/or for any other kind of inconveniences you may experience (bricks, late for job due to alarm clock not working etc.).

By installing this ROM, you accept this disclaimer.

What's not working / current issues:

Wifi is not working yet

Preview in stock camera app is broken

Currently the status of this ROM is PREVIEW, meaning it is not suitable for daily usage.

All Credits go to TheWhisp and Team MSM8916-Samsung!!!

Download (newest build):

https://mega.nz/#!LcQjiBJT!9ZIpVwZ_g2aeqsx6t86AFLc2hpvV4OpnNaiBRHQMxWg

Use TWRP to flash!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] dcfied:
hi! just want to ask if you will also develop this rom for a300f? i'm very interested in trying this out.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
I try ASAP and let you know how it goes for me !

Edit 1 : All right, a few things I noticed. First it boots, perfectly though.

- Text size/display size is really bigger than on stock rom, surely something about screen definition the rom estimates ? Anyway I feel like using a phone for very old people with HUGE text ;)

- Impossible to activate WiFi. It says "activation in progress" but no luck. I tried to replace wlan.ko & pronto_wlan.ko with genuine ones from stock (workaround on mygalaxya rom allowing ril to work) to see if it's better, but then noticed that there's no such files in your rom (systeme/lib/modules and system/lib/modules/pronto usually)

- Preview bug in photo app (front & rear) but pictures are fine and well taken (workaround : use another photo app is fine)

- After doing not so much, the phone is hotter than ever before in months of using stock. Something burning... CPU related I assume ?

- SMS OK but MMS not sending (I didn't dig into APN and so... maybe nothing)

- calls OK

- Google Play does not connect (says to check connection which is working 4G speed everywhere else) / I could restore my apps via Titanium and use them with no trouble

[MENTION=4978953]dcfied[/MENTION] : you'll find a pretty working build for A300F right here. Don't own the terminal but feedback sounds good !
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] zDemoox:
Going to try this in about an hour, one question: do I have do not install gapps ?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
If you need to access Google Play Store, yeah you should.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
Thanks for reports!

- Noticed the same thing with text size, set DPI to around 260 as a workaround

- Wifi is known to be broken, I'll see what i can do about it

- You mean, if you use the builtin camera app the screen is garbled but the pictures are OK?

- I dont know about phone getting hot.

- What GApps did you use?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
Hey ! I don't know (or remember...) how to change DPI, could you guide me ? In dev prefs ?

I confirm, preview in photo app is buggy, like little vertical lines all along the screen, reacting to what should be on screen. Looks like a graphic render issue, like a broken graphic card on Mac (souvenirs...)

I used GoogleApps_LL_CM12.1-20151310.zip (yeah, 13 for the month... but downloaded on nov 10th) but if you have a Gapps link to recommand I'll flash it again from scratch.

Anyway, happy to help as I'm not a dev at all, so feel free if you need anything, hoping it will falls under my jurisdiction ;)
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
You can change DPI in Settings -> Display & Lights.

So if you take a picture, is it full of vertical lines or is it normal?

Could you try OpenGapps to fix the Play Store? http://opengapps.org/
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] zDemoox:
Ok, it's stable enough, wlan.ko should work about that problem, it went in deep sleep only one time, the battery is ok [MENTION=5654666]mooon3[/MENTION], I didn't know if it crashes when building dalvik
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
- I changed DPI, much much better ;) Maybe you can put it to default on your next builds ?

- For pictures it shows disturbed preview but the result of the taken picture is all right. I tried two alternative apps and preview & capture are fine. [MENTION=6446790]mygalaxya[/MENTION] rom has the same issue and workaround. Could not guess what causes this ! You can also change the resolution of the picture (I just put 6mp in 16:9) and it displays well...

- For Gapps, my bad, maybe a time for it to put it together, without intervention it now connects and updates apps as it should...

- [MENTION=7033281]zDemoox[/MENTION] : No issue while dalvik cache is building for me. Did you got some ?

- Also [MENTION=7033281]zDemoox[/MENTION] : I also wanted the wlan & pronto replacement to try to fix wifi... but didn't find any wlan.ko or pronto folder in system/lib/modules... ???

- And at last a very little bug (I don't know if you can call it like that) but sometimes the top panel (I don't have the english word but this menu you grab from the top of the screen) is a little buggy and difficul to grab. I need to grab it a few times, going from the very top to the very bottom for it to fall and display menu...

Edit 1 : I may have forgotten to thank you [MENTION=5197763]evilracer123[/MENTION] 'cause whatever bugs I'm reporting here as [MENTION=7033281]zDemoox[/MENTION] said, it's impressively smooth and stable for a very first release !

- Also another thing : as the vibrations of this phone are very strong, is there anyway to modulate the powerness of vibrating ? On stock rom there is something like that in sounds settings, I just put it half way... I didn't find anything like this on CM ?

Edit 2 : I got a few FCs for com.qualcomm.timeservice too
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] zDemoox:
[MENTION=5654666]mooon3[/MENTION] how do you copy wlan.ko? My file manager (MiXplorer) doesn't allow me to copy that

---------- Post added at 03:39 PM ---------- Previous post was at 02:54 PM ----------

Oh, and MTP doesn't work
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
Use adb.

And I havent found a way to make wlan work yet
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] zDemoox:
Me Neither, wlan.ko not working
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
I use ES Explorer but I guess it's more a root matter than a file manager one... You have to access system files. Obviously while you're still on stock rom, as these files will be deleted when flashing CM. But again, I didn't find the same files on the CM version, the .ko are not there, so I wasn't able to replace anything... Surely it goes somewhere else under CM operating system... but I didn't investigate so far !

And yes, no MTP for me neither but Bluetooth (with mac at least) !
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
Just a quick update: I have got wifi working! Expect a new build soon!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
I can't wait for stable!!!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Squall88uk:
Thanks for making this. Can't wait to try it out. I know how to install the custom rom and everything but I just wanted to see if anyone could answer something for me before I try to give it a go.

My handset is locked to my carrier (EE uk). When I was waiting for them to release the lollipop rom I looked into just flashing the BTU firmware onto my handset but I read somewhere that if you flash the unlocked firmware onto a locked handset it can cause issues with the modem or something like that.

The question that I have is that with the custom rom being designed to work for any handset regardless of carrier or region it is effectively an unlocked firmware so will I have the same issues when if I flash it over to my locked handset?

Hopefully someone can shed some light on this for me. I'm not worried if it won't unlock the handset for me as I'm quite happy with my current carrier, I just don't want the fact that I'm locked to a carrier to cause issues with the rom that I may end up reporting as bugs as I have no way of telling if they're being caused by my handset being locked or by the rom itself.

Thanks in advance
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
I'm sorry, but I have no experience on locked phones.

New build!

https://mega.nz/#!rRRQBADR!cuq-fQcX8sdhOE96ommLKsWs05vHIgQ9x7yd-1nBX7U

In this build, the wifi is fixed partially. To make it work, you must copy the module manually:

Install the rom

Enable ADB, Superuser and Advanced Reboot from Developer settings

Download the module: https://mega.nz/#!SAARXRyA!LQ6INnWKMZl35AaAZNmfMNzIhw95SsyTYCXyVcEJjbc

Transfer the wlan.ko file to /system/lib/modules folder, like so: (using your pc)

adb root
adb remount
adb push wlan.ko /system/lib/modules/wlan.ko

And lastly, you need to install the module. This has to be done on every reboot. (if anyone knows how to automate this I'm open for suggestions!)

(adb shell) insmod /system/lib/modules/wlan.ko

After this you should be able to enable Wifi. If not, long press power button and select Soft Reboot.

Sounds complicated, right? Actually it isn't :D
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Squall88uk:
Ok no problem. If no one is able to tell me whether or not it's going to work with a locked handset then I'll just wait until I get it unlocked. I just don't want to install it and end up with bugs that I falsely report believing to be issues with the rom and then complicate matters for you. Thanks for developing this though.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
Wow impressive work [MENTION=5197763]evilracer123[/MENTION] ! I did not updated yet and as I don't have any PC for a while I won't be able to try the adb workaround you offer for wifi.

Nevertheless I found another little issue on your first build : when I'm in call, when I put the phone to my hear it shut down the screen but seems to not deactivate totally the touch detection as I open often some apps like calendar or mail... It seems to me that my hear touch the screen and affect what should appear on it regardless the screen display is off... Not sure but I always find myself in hazardous menu and apps when I finish my calls!

But it's really smooth and stable, I use it since this morning and don't want any minute to come back to stock ROM now!!! Thanks thousands times!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
I want to ask, is this rom good for daily use? LTE, WIFI, camera and so on..?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
I private messaged you, did you get it?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
Just did ! Thanks a lot ! I let you know if it make my phone boot first on system ASAP by editing this message !
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Lte, wifi work great in calls presses buttons, u need CPU awake due to sod, camera has distorted but can be fixed by using cameramx and changing the resolution to 2560x. But yes, great as a daily driver just hope the issues will be fixed
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
So is it worth to void warranty and flash this rom? And then i just need to download cpu awake and that camera app thing?

p.s. And could you write me a installation guide, so i could normally use it? About installing, and setting up. Please! ;)
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Yes so long as you don't using workarounds. The ROM is pretty much stable apart from those this I mentioned. Just note you cannot reset Knox when you trip it, but if your rooted etc its already void anyways

---------- Post added at 08:12 PM ---------- Previous post was at 08:11 PM ----------

Have you ever installed a custom rom before?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
yup, but only on sony, not samsung..
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Ah right. I have a Sony can't unlock bootloader :(

Are you rooted and have twrp installed?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
Im only rooted
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
There's a tutorial in the a series thread on how to install a custom recovery, you have to download and flash twrp through odin.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
ok, after i install that recovery, i download the rom from first page and flash it.. then what`s next?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Flash gapps for 5.1.1 then you can srmtrat up the ROM and install CPU awake and cameramx and all your other apps. https://www.androidfilehost.com/?fid=24052804347840453

There's the link for gapps.

Make sure do a backup of your current os. You can do that in twrp.

There's also a handy app to back up SMS contacts and apps etc its called super backup you can get it in the play store
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
ok, thanks for info! :)
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Happy to help
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
ok, flashed the rom and its working good, but i want to change emoji with emoji switcher, and it says that there was a problem getting root access. Do i need to root my phone again?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Oh damn yes u was many to say you need to download supersu v 2.56 and flash through odin
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
uuuumm, can i download it now and flash, without reinstalling? :D
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Yes

---------- Post added at 09:44 PM ---------- Previous post was at 09:41 PM ----------

https://drive.google.com/file/d/0B-EIjdUr7hC8bnYxR2N5RHhIY1E/view?usp=docslist_api

There's the link
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
thanks!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
Hello there just wondering if you'd kindly share your recovery link. I have the same prob. My phone boots to recovery rather than system . Many thanks
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
http://dfiles.eu/files/9qy6e998d

Download and flash with odin, then reflash twrp, go back to touchwiz before you flash original recovery. Make sure u make an os back up through twrp first
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
hey thanks , I just tried to download ,but file doesn't exist when I try the link !

Please confirm. thank you
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
[MENTION=5197763]evilracer123[/MENTION] are you any closer to fixing sod. CPU awake must be draining battery....either that or its the ROM in general.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
Here is a working link for original recovery, A300FU only.

http://dfiles.eu/files/9qy6e998d

Is [MENTION=5197763]evilracer123[/MENTION] all right? I have the feeling he didn't write a thing for days now... Hope you're in Bahamas in vacation or something like that mate!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
hello there , the link doesnt work , it borks! please try your link to confirm if it works , thank you
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
I'll find the file on my external HD then upload it to cloud and I'll share the link
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
many thanks!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
Oups... my bad. Do you know a free and inscription-free service I could use to upload it ?

Edit // Found one : http://uplea.com/dl/4B0752E3097C565
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
many thanks Mooon3 , it worked !!

First I flashed the stock recovery you kindly uploaded then then booted up the phone , it still went via the recovery pathway before fully booting.

Next I put the phone back into bootloader mode and flashed twrp this time (ensuring I'd unchecked auto reboot ). then simulated a battery pull .

After several tests ( system reboot and also powering up from complete shut downs) I can confirm the system startup ( sans recovery pathway) now works

many thanks for the file

Also a bunch of thanks to ozzfan1989 for his hep!!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Did you get it sorted? I'm uploading the file u need now, but if you have it already no point in me uploading it
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
Hello ozzfan1989 , yes yes got it sorted , many thanks for your help too!!

Just wondering where is the "thanks button" on here?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Its the thumbs up up button is the thank you button
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
No, I'm not on a vacation. I'm in Finland (that's where I live), there is 3ft of snow outside and I have tons of schoolwork to do. And it is not easy at all to try to debug the SODs :p
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
As long as you're all right ;) I'm deeply sorry I couldn't help that's way long from my very little skills...
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] AlexisXDA:
Any fix for wi fi?

Inviato dal mio SM-G920F utilizzando Tapatalk
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] zDemoox:
[MENTION=6114446]assandryou[/MENTION] wifi is working in the latest version of the rom, the first post isn't updated
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
Today i noticed a problem with camera. Wanted to open camera app and phone soft rebooted. Later opened snapchat and it happened again. Camera till now worked. :(
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
This isn't a problem for me. I even have camera preview working with cameramx
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
All was working fine, but like i said, today tried to open camera, and - reboot. Unninstalled and downloaded again - worked, but then again - reboot. Reflashed the rom and now is working ok.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Yeah, I hope all will be fixed soon, cause CPU awake drains the battery
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
I don't know why but I used for a couple of days the [MENTION=6446790]mygalaxya[/MENTION] trick with his app to put in priv-app to sense the cpu. As I found it a bit to much battery consumer I deleted the app preferring a few SOD. And now I don't have SOD any more, nor cpu awake running. The rom just work fine, not a lot more battery drain than stock rom. Only trouble I find is touch buttons still working when screen is off or while calling...
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Can you give me instructions on how to add it to privapp and do I have to install it when it put there?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
You just have to download the apk kindly disposed by mygalaxya on this very forum a few pages before to /system/priv-app and reboot. It will auto load on start up.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
And then just delete it afterwards, and no sod??
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Do I have to install when you move it over?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] mooon3:
No, keep it in priv-app, it will load at startup and work in background all day long...
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
It didn't work, still sod ?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] CPJames:
After I've installed this ROM do I need to install GAPPS and SuperSU?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Yes
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] CPJames:
Thank you for the quick response. Can I install these? https://www.androidfilehost.com/?w=files&flid=40235 or do you have a link for GAPPS and SuperSU?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Yeah they should work fine, you CPU awake as well. You can get it from the play store
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] CPJames:
So i wiped davlik cache, system, data, internal storage and cache. Installed this and everything else. Really like it. Most apps work though I noticed a news and weather app makes the system reboot and camera doesn't work. Otherwise everything works great including greenify

---------- Post added at 08:00 PM ---------- Previous post was at 07:30 PM ----------

What's the best settings for cpu awake?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] zDemoox:
Don't use cpu awake, use instead wakelock
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
What's the difference? For CPU awake I just put unlimited and start on boot
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] zDemoox:
Wait, I'm going to link the app

---------- Post added at 04:27 PM ---------- Previous post was at 04:26 PM ----------

https://play.google.com/store/apps/details?id=eu.thedarken.wl

Here it is

This drain less battery
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] CPJames:
I don't know where to bug report but I noticed when connecting mobile to laptop it doesn't show up in My PC. Noticed you don't need to install SuperSU when installing CM12.1 because root access is in the developer options. Also noticed you can change the multi windows button to settings like my good old S4 mini.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
What the best setting for this one?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] zDemoox:
Partial_wake_lock
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] gustliks:
ehh.... having a lot soft reboots by just entering some daily apps...
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Thanks, I'll check it out. I'm back on touchwiz for the time being.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
For some reason this rom is now turning the wakelocks off. And randomly rebooting
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
Just a quick update, started building new version. :D
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Did you get the sod and stuff fixed?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
Too early to say at this point. There is hope though :fingers-crossed:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
It will be awesome if its the case.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Sorry was meant to ask, this is more curiosity, how long does it take to build?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
Something like 3-4 hours
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Wow that's not bad. Keep up the good work
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] evilracer123:
Here's the newest build:

https://mega.nz/#!OcJ0BKKQ!hkQN4SnzY-40tm9v79vzP_erZxIxtpa0_jPwMvLQaiU
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ozzfan1989:
Can I dirty flash this?