[ROM][SM-G313HU] AOSP 5.1.1 and CM12.1 for Galaxy Ace 4

Search This thread

RaghavTecki29

Member
Jun 1, 2018
28
6
I used to love this ROMand used it for daily use!(Imagine that!). But soon I faced a lot (A Lot) of problems like frozen screen but aosp with gapps pico is better , but I thought , hey this is at least better than stock KitKat that can't even run Pokémon go . But one day in mall , it fell down from my pocket to the floor and did not boot ever after!

:crying: I tried changing batteries but didn't help at all! Now I have a Xperia E3 :good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Code:
    #include 
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */
    General:
    AOSP 5.1 and CM12.1 for Samsung Galaxy Ace 4 (SM-G313HU). Note that Google apps are not included.

    What works:
    • Pretty much everything
    What does not:
    • FM Radio (removed from the firmware)

    Download:
    Downloads moved.
    CM12.1
    AOSP
    Google Apps

    Screenies:
    Screenshot_2015-12-27-10-36-01.jpgScreenshot_2015-12-27-10-36-35.pngScreenshot_2015-12-27-10-36-30.pngScreenshot_2015-12-27-10-36-45.pngScreenshot_2015-12-27-10-38-20.png

    Sources:

    Please report any bugs to this thread.

    Thanks alot to TheNikiz for a device tree and helping me with some thingies.
    2
    Did you figure out the codec issues? For example the Facebook video playback?

    Yeah, you need to patch frameworks_av like in cm12 to add YcbYCr color format, and add proper media_codecs.xml. Haven't tested facebook tho, but video recording/playing and apps like youtube work. Check out git repo.
    Tho that routing still annoys crap outta me, it tries to add route to gateway, but fails, cause gw is in another network, we need to add static route to rmnet0 address instead, i tested adding it manually and it worked.
    1
    @itigr Thanks for the ROM but isn't there any possibility of getting the mobile data thing fixed permanently?
    Also,ROM with pretty much everything working with tiltle[Experimental].
    weird. @Nikiz how did you unlock the bootloader of the almost dead Trend 2 or it wasn't locked?
    1
    @itigr Thanks for the ROM but isn't there any possibility of getting the mobile data thing fixed permanently?
    Also,ROM with pretty much everything working with tiltle[Experimental].
    weird.

    No, at least not now. And i don't want to spend one more week figuring out why it doesn't work, i will probably pause dev for indefinite period 'coz i'm tired of this.
    Yep, cause i messed with sources alot :D
    1
    @itigr ok... but...
    First of all AOSP sucks(It doesn't even have a file manager)
    There's alot more bugs i.e
    Wifi does't work (always shows exclamation even though the wifi is working good)
    Calls doesn't end(mention about the work around for this too)
    Last thing isn't there anyway that I can flash both ROM's by @Nikiz and you without editing things?
    Coz having to switch recovery is really a hard task!

    Got the bootloader unlocked by just typing "fastboot oem unlock-go" into the terminal. I just made a minimal device tree for this phone, with the partition information, TWRP settings and the fstab-file. I just built it and I was surprised that it booted on the first try. All I had to do was to fix the fstab-file, change the pixel format and add couple of recovery settings to make it fully working. Building CM12.1 now. (Luckily there was couple of officially supported, similar Huawei devices, so I just copied bunch of code from there.. :D)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone