[Galaxy Ace II Android Development] denzelcris:
Hello,

Wanting to share my eperience with this, but this post will be too long if I describe in detail everything I've done.

So I will summarize my eperience into a fast "pseudo-log"

Log:
Objective: install overclocked CM11 from this thread custom ROM with extedned app memory tweak (sd card only)
Device and other details:
- model: GT-I8160(P/L)
- modem: I8169XXMF1
- fetched newest files from the mentioned repos at the time: 11-june-2017

Steps
- boot into stock recovery
- install temp cwm
- from temp cwm: install sd-card-only-kernel
- reboot: phone bricked (stuck at model logo, can't boot into recovery - black screen recovery)
- flashing stock recovery*
- reboot: phone boots ok now, it starts but with lots of errors (can't even open settings pannel)

(did not get the expected and described result, moving on)

- booting into stock recovery & install temp cwm
- from temp cwm: installing cm11-partition-layout (for sd-card-only)
- rebooting (from cwm recovery by selecting "power off") & try boot into recovery
- phone bricked again as above
- flasing stock recovery again
- booting into stock recovery ----> errors everywhere (unable to mount....like anything...: invalid argument)
unable to do anything also, including wipe cache, factory reset, install temp cwm ... because of these errors

(ok, totally unexpected result, was expecting to wipe cache/factory reset as described in the tutorial)

- doing a FFFF (Full Factory Firmware Flash using Odin 3.09)
- phone boots into stock recovery with same errors
- doing a FFFF again + PIT file
- same results

>>>>>PANICKING<<<<<<

- searching other threads for similar errors, finding out I need to wipe cache/ factory reset after FFFF + PIT file
- booting into stock recovery & wipe cache & factory reset
- rebooting phone: boots into recovery but with fewer errors (unable to mount /system: invalid argument)
- doing a FFFF
- phone reboots, samsung logo appears, starts setup wizzard

(phew....almost had a hard brick there)

- changing objective to: install overclocked CM11 from this thread, but with normal kernel/partition layout this time
- applying my well-known "HIT IT HARD AND ONCE"	method:
- reboot into stock recovery & install temp cwm
- from there: format almost everything (system data cache sdcard)
- ups: sdcard entry was the external sdcard ... popping sdcard out to re-copy necessary files from pc.... popping sdcard back (phone still in temp cwm recovery)
- remounting sdcard
- installing cm11 full package + others (normal-kernel swype-fix g-apps ... no particula support patches as I have simple model)
- reboot: phone starts cm11 setup wizzard .... also installs a permanent and newer cwm recovery... all good

(thinking the fault was the resetting of the temp recovery over and over.... I tried again to install cm11 with sd-card-only)

- reboot recovery & install files in order described in the tutorial including cm11-partition-layout and sd-card-only-kernel
(could format data and cache this time)
- reboot: cm11 starts but with a strange screen ("please enter password for encrypted parition" or something like that)
- long-story-short: fail again with bricked device
- did a FFFF + Pit file .... blahblahblah but with less panic ... installed cm11 with normal kernel again

*to obtain a flashable recovery-only tar.md5 for Odin, I have modified the script found in [URL="https://xdaforums.com/showthread.php?t=2446269"]this[/URL] thread.
As I needed a tar.md file named kernel inside another tar.md file for Odin, I modified the required lines to hash and obtain the final output from files like kernel.tar.md5, not recovery.img as it was expecting.

Conclusion:

It seems like, from no matter what cwm I try (the updated one or the temp one), intalling the cm11-partition-layout messes up my device...pretty badly.

Considering the above log, I find no motivation (for now) in trying the sd-card-only kernel ... at least in the near future.

Will use Link2sd / Apps2sd + hidden ext4 partition on sd card to save space ... if needed.

But for future temptations:

- has anyone successfully followed this tutorial for the sd-card-only kernel?

- if so, can you describe the steps and/or device model with what stock frimware/baseband version you used?

- is it stable? (do apps like camera, play store .... work with this mod ?)

Final thoughts:

This overclocked custom ROM is amazing in turns of performance.

Expected some kind of meltdown considering the huge overcloked values, but the phone is stable and not that hot after playing a game.

Nice job.

P.S: Rememberd my previous fails to resize paritions with an Allview P6 Quad / Gionee Dream D1 .... had similar results with bricked device, having to do a FFFF.

Don't think I will retry this any time soon.