yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] stefanoscheda:
Speaking of instructions, post #1 directs to install Recovery before Kernel while on post #5635 you say Recovery must be installed after the (new) Kernel. What's the correct sequence? I installed it before as in post #1, maybe that's the reason for my failed partitioning?

I'm now running with the stock partitions and everything is fine but I'm obviously low on data.

Thanks again.
[Galaxy Ace II Android Development] pablo.see:
Recovery in latest kernel see only external sdcard as sdcard0, latest standalone recovery see internal sdcard as sdcard0, but cannot mound ext-card sdcard1.
[Galaxy Ace II Android Development] ace2nutzer:
I'm afraid it'll never work properly without a reboot... it needs to re-initialize the partitions layout.

Maybe u can try something like this:

run_program("/sbin/reboot","recovery");

Hmm ok, thx for testing ... i'll revisit this when i've more time .. something is still missing :)

it doesn't matter. Kernel installs on partition 15 .. while Recovery is on partition 17.

Only make sure to flash kernel + recovery in a row before u reboot ... otherwise Recovery will not boot and u'll need to flash ODIN Kernel.

Nope, newer kernel don't have any recovery at all ... u need to flash ONE Time the latest recovery + latest kernel ... then reboot to recovery .. then u should see working sd0 + 1 .. if not, u've also to use cwm_Stock_reparted_v1.1 + reparted_v1.2 :)
[Galaxy Ace II Android Development] pablo.see:
After this procedure recovery sees sdcard0 + 1, but cannot mount sdcard1 (state: idle-unmounted). Data wipe gives error: "unknown volume for path /sd-ext"
[Galaxy Ace II Android Development] ace2nutzer:
format sdcard0+1 as vfat in cwm.

Not an problem ...
[Galaxy Ace II Android Development] pablo.see:
Both card are formatted. System sees both cars but swapped.
[Galaxy Ace II Android Development] ace2nutzer:
Yes then swap storages in nt-app is enabled.

But it's ok ... most apps want to install on sd0.
[Galaxy Ace II Android Development] c.y.b.o.t:
First of all, thank you ace2nutzer for your great work.

I'm having the same problem with reparting as some others had in this thread lately.

So I came from GB to JB and installed your latest ROM and Kernel. I'm currently running your latest versions on stock partition layout.

Now as I'm trying to repartition, I always get stuck after the following steps:

boot to recovery

make cwm backup

flash stock reparted v1.1

flash reparted v1.2

power off

boot to recovery

After powering off the phone it always gets stuck at the Samsung logo an I cannot enter recovery anymore.

Starting point is always your latest versions on stock partition layout.

Has anybody any ideas what the problem might be? Thanks.
[Galaxy Ace II Android Development] giginski:
idk why but in my phone when i did all steps for clean installation rom and kernel novathor and gapps, when i tried install rom i couldnt and got aborted info. When i did all step without cwm backup step and restore data step i could install everything. In diskinfo got data 2.1 GB etc correct but my external SDcard is not mounted as sdcard0, to get this i need swap memory. Just tell me if i wanna do clean installation why do i have to do steps "make cwm backup" and "backup and restore"

"advanced restore from sdcard1"," restore data + system"? Also wipe data means format data in advanced option or wipedata/factory reset? And flash recovery is still same old recovery which i download in ftp server - section recovery yes ?
[Galaxy Ace II Android Development] ace2nutzer:
try this:

boot to recovery

make cwm backup

flash latest kernel

flash latest cwm recovery)

flash stock reparted v1.1

flash reparted v1.2

power off

boot to recovery

format /system

mount /system (shows then unmont /system)

format /sdcard0 as vfat

wipe data

flash recovery

backup and restore

advanced restore from sdcard1

restore data + system

flash kernel

reboot system

Open the App: NovaThorSettings and enable "swap storages" ... reboot and enjoy !!

I've added steps:

flash latest kernel

flash latest cwm recovery)

in order to make it more fail-safe ...

but usually if u was coming from older repartition v1.1 .. and u was using later the latest kernel without included recovery and u had installed cwm recovery separately and u followed the guide u've quote here, then it should NOT stuck on Samsung Logo ... once latest kernel + recovery is installed !

I hope now, it'll work for everybody :)

yes... download latest cwm package from my FTP ... as i many times said, i've re-uploaded it again with changes ... but with same file-name ... maybe that was causing some messed up with sdcards ... i'm sorry.

Of course, if u want to make clean installation then u don't need to make cwm backup .. also step "restore cwm backup" is useless then.. also advanced restore from sdcard1"," restore data + system" is useless too.

And yes, on latest kernel sdcard0 is sd0 and sdcard1 is sd1 ... there is everything original ... so if u want to swap them u need to enable it on NT-APP (swap storages).

Everything normal and OK.

If u can't still install latest ROM, then u've to repartition your Phone with latest reparted_v1.2.zip ...

(see how-to on post #3 !)
[Galaxy Ace II Android Development] c.y.b.o.t:
Thanks, but that didn't work either unfortunately.

Can I go directly from JB to 20160813 or do I have to go to 20160719 first, repart and after that install 20160813? Perhaps thats the problem?
[Galaxy Ace II Android Development] shaqman89:
Yes, going directly to latest is okay as well.

I did these steps the other day

1. Flash Odin kernel

2. Boot into recovery

3. Repartition

4. Boot into recovery

5. Follow clean installation steps in post #1

6. Done
[Galaxy Ace II Android Development] ace2nutzer:
yes that should work as well.

but usually once latest kernel + recovery is installed, it's just an impossible thing that it can't boot to recovery ... if it's still not booting up to cwm, u don't have p17 partition, or smthg else if messed up with your phone.

In other words: ODIN kernel is only needed if u did something wrong !
[Galaxy Ace II Android Development] shaqman89:
Totally agree.

Since it's from JB, I believe it's easier to use Odin kernel rather using temp cwm
[Galaxy Ace II Android Development] c.y.b.o.t:
Flashing the ODIN Kernel worked, now the latest Kernel and ROM with the new partition layout are running fine. I guess something went wrong when I tried to install the newest versions directly over JB before.

Thanks very much to both of you!
[Galaxy Ace II Android Development] RyxeL:
I forget to flash recovery after flashing 0813 kernel, and now my phone can't entering recovery mode and stuck at SGA2 logo. any solution for fixing this?
[Galaxy Ace II Android Development] shaqman89:
Flash Odin kernel, boot into recovery, then flash latest kernel and recovery.
[Galaxy Ace II Android Development] Culateralligator:
I've 02/08 ROM + 06/08 kernel with reparted v1.1...

I want to install last kernel but keeping 3 GB for data... Is this modified reparted v1.2 right?:

Will I just have to modify these two reparted.sh files and flash the zip?:

And finally... If I wanted flashing CM12, CM13 or Vanir, will these ROMs fit with that memory repartition?...

Or would there be problems with their recovery or maybe it would stuck at Samsung logo?
[Galaxy Ace II Android Development] ace2nutzer:
yes, that should work.

dunno why u've 2 reparted folders.. but it's usually only one.

as for CM13, i can't say if it fits or not ... probably u've only to adapt system partition.
[Galaxy Ace II Android Development] Culateralligator:
[MENTION=5840412]ace2nutzer[/MENTION]... Are all those +600 MB System reparted zips from that thread we all know -here on XDA- compatible with newest kernel?

I say all those +600 MB reparted zips just because most of them are quite similar... basically only changing data/system memory partitions.

Sorry... but lastly I don't have much time to read everything carefully and I'm a bit confused with that...
[Galaxy Ace II Android Development] shaqman89:
Yes they are. I myself am using one with 100 MB of data.

Its basically like ace2nutzer said, it should also work with stock layout.
[Galaxy Ace II Android Development] ace2nutzer:
Yes :) Stock layout maybe works too, but actually i can't say if /system Partition is too small if we want to install FULL ROM Package .. ;)

But for other (smaller) Custom ROM's it should always fit the Stock Layout :)
[Galaxy Ace II Android Development] lace_hvc:
Anyone else having wakelocks recently when the signal of the sim card is a bit bad?

I get quite a lot recently according to betterbatterystats and it fits to the low mobile network signal (grey color instead of green in settings-battery). See screenshot.

I also added a picture of wifi on only and 1 in airplane mode.
[Galaxy Ace II Android Development] ace2nutzer:
there is probably problems with mobile internet (3G or 2G) .. try to change 2G or 3G for mobile network. or disable it completely .. and see if wakelock is away.

Sometimes i've same problems when i'm outdoor with mobile data on 2G .. i've always wakelock .. because it can't connect to 2G (overloaded network) .. then as long there is no successful connection with internet it's on wakelock. So far only quite way was to use always 3G when wifi is not present !
[Galaxy Ace II Android Development] lace_hvc:
Forgot to mention that mobile data is off. I'm only turning on the sim, not the sim's internet so only calling and SMS available (u can see in the screenshot that there is no letter next to the sim icon in status bar). And yet I get these wake locks.

Good idea though. Will take a dump and screenshot for mobile data on to compare the wake locks. There should be more I guess. I got 2G/3G enabled in quick tiles.
[Galaxy Ace II Android Development] Culateralligator:
I've flashed reparted_v1.2 modified by me just for having 3 GB for data and I've also flashed latest kernel+NT APP...

Everything right :) but performance profiles are still the same frequencies after I've modified perf.profiles.rc and restarted the phone...

Did I miss something?

With previous reparted_v1.1 + 06082016 kernel it was working...

EDIT: I had to change permissions...

Now it's working properly :good:

*The first time I also changed permissions but it wasn't working...

I've re-flashed kernel and tried again and finally it's OK...
[Galaxy Ace II Android Development] zurnetz:
since i updated from previous to 20160802 ROM i cannnot boot into recovery (samsung logo stays for round about 1 minute - and then reboots again)

Download mode seems working.

If connected to PC now its recognized as usb mass storage (SD-Card only)

Internal memory isn't shown in Android file manager.

Is there a (simple) possibility to fix the device?

Ron

Edit:

Fixed - didn't install recovery
[Galaxy Ace II Android Development] ace2nutzer:
@up

read post 1 + 3 carefully ... then u know why it doesn't work :)

yeah, i don'T use 2G/3G auto switch ... i manage this manually ... that saves a lot of battery.
[Galaxy Ace II Android Development] lace_hvc:
But only when turning on mobile data, right?

Or can it also affect battery when only using leaving internet through sim card off?

2G - Edge - mobile data on doesnt look too bad compared to mobile data off:
[Galaxy Ace II Android Development] greeceeeee:
[MENTION=5840412]ace2nutzer[/MENTION] Is there any way to help me to have bln notification on s3 mini,does it have an easy way to do it?
[Galaxy Ace II Android Development] ace2nutzer:
3G is lower power consumption . ... but if the signal is very low, then it's better to use 2G for better battery lifetime.
[Galaxy Ace II Android Development] comabanana:
I've installed latest build on my spare GTI8160 (4.1.2 stock), rom booted normally but I'm having problems with internal drive access + camera fail.

did I miss anything / any suggestions?
[Galaxy Ace II Android Development] ace2nutzer:
What did u install at all? and what had u before installed ? (rom, kernel)
[Galaxy Ace II Android Development] elojohny:
Hi i have problem with s health app... When phone is locked pedometer don't work... Why?

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] comabanana:
I was on stock JB 4.1.2. and then i installed

1. cwm.6.0.5.0

2. cm-11-20160802-UNOFFICIAL-FULL-codina

3. HDPI_mini-gapps-kk-20160526-signed

all from your FTP :confused:
[Galaxy Ace II Android Development] ace2nutzer:
go to NovaThor App ---> Display ---> enable DoubleTap2Wake.

But be aware that as long that option is checked, the phone can't use deep sleep.

so when u don't use the health app, it's better to disable dt2w wakelock, in order to avoid unnecessarily battery draining.

yes, u also need to install always latest Kernel + NovaThor App ... all in FTP....

Those packages are also in ROM.. but i'm not updating the ROM as often than kernel + NT-APP.

Anyway it's very important to use always appropriate Nt-app version to kernel ...

use always latest, then u never have problems.
[Galaxy Ace II Android Development] zurnetz:
Have installed lasted ROM + Kernel.

I' m searching the setting for USB behavior - if connected wirh PC the SD card is shown as "usb mass storage".

With former Versions - and also with stock rom - device was shown by Windows -Explorer as "GTI1860" .
[Galaxy Ace II Android Development] btb55:
[MENTION=5840412]ace2nutzer[/MENTION]

My repartitioned I8160 is using latest ROM and Kernel has stock version XXNA1, would there be any advantage updating to XXNF2 from your server?
[Galaxy Ace II Android Development] andon0v:
^up

So, yes, to get full optimization, u need to use NF2
[Galaxy Ace II Android Development] btb55:
What is the best way to update the base version when partitioned, what would be the correct procedure? I don't mind doing whatever is needed, but as I'm already partitioned ala v1.2 I don't want mess anything up.
[Galaxy Ace II Android Development] IAmLucky:
I think you have reparted you ace 2, so if you do, then you have to swap storages. This is what was happening to me aswel camera started to fail if there is no free storage, swaping storages fixes everything, and it is recommended to swap storages after repartition.

---------- Post added at 12:41 PM ---------- Previous post was at 12:36 PM ----------

@ace2nutzer hi, i wasnt here for a long time now, and im now here to update my device :D so i would like to ask, do i still need to flash kernel (as you said in your dirty installation instructions) even if it is CODINA-FULL rom? Also i would like to know what is this LCD fix folder? Thanks
[Galaxy Ace II Android Development] ace2nutzer:
U need to flash kernel + NT-APP (after ROM) if there is newer version available.

LCD Fix Kernel is only needed if your LCD has some malfunctions like waking up blackscreen, grey/colored lines, blinking screen, or u see the text all double ...
[Galaxy Ace II Android Development] IAmLucky:
Thank you ace 2 king! Rom works just fine, a little bit better than it was!

BTW: Anyone feels like ace 2 is nexus and ace2nutzer is google? :D obviously compared to kitkat days.
[Galaxy Ace II Android Development] gepel:
Hello ACe2Nutzer are there any differences between kernels (normal,lcd-fix) except the working lcd frequency ? I have ws2401. Thanks !
[Galaxy Ace II Android Development] Tree4ever:
After a dozen of attempts,no joke,now I have 20160802 Rom+20160813 Kernel+switched storage(NT1.7.7)+last gapps+XXNF2.But reparted from here didn`t work.I used from here:http://xdaforums.com/showpost.php?p=57177356&postcount=44.My storage now is(GB):2,85+29,66+0,09516.The SD is a real 32GB.Maybe it would be more easy with kernel and cwm together.I hope my device keeps on running(why not?).
[Galaxy Ace II Android Development] ace2nutzer:
Don't forget to run at first cwm_stock_reparted_V1.1 .. and then flash directly (!) any custom reparted scripts ! (like in your link)

and before u flash any reparted scripts at all, it's better to flash recovery from my FTP ... don't flash any recoveries from Chronomon... for now, because i didn't checked if it installs correctly on my partitions layout + kernel.

Nope, as long the Date is same :)

btw: video.modes Values are also slightly different. ... it's just a different LCD config ... LCD freq + video.modes .... (video.modes is used for LCD)
[Galaxy Ace II Android Development] Culateralligator:
I wasn't using Facebook and messenger since looong time ago as they spoiled the phone and they worked sooo slow...

Now I've reinstalled them and they work smooth again...

This phone looks like Benjamin Button :laugh:
[Galaxy Ace II Android Development] IAmLucky:
i have facebook and messenger and both always greenified. But they do work very well though havent used messenger for long time now, probably will be deleting it again :D but seariously, this phone is fast enough to run such apps :D
[Galaxy Ace II Android Development] stefanoscheda:
By curiosity, isn't this the same as reboot recovery on the advanced menu?

I'm puzzled about swapping. On post #3, under "Changes after this repartition", you say "Swap storages isn't needed anymore" but you added swapping as a final step. Is it needed? recommended?

TIA
[Galaxy Ace II Android Development] Culateralligator:
Reboot recovery function is buggy.

That's the reason.
[Galaxy Ace II Android Development] stefanoscheda:
No way. I made two other attempts at reparting, first one from this ROM and second from ODIN emergency kernel and both failed at booting in recovery mode. Really can't get what's going bad.

Now I'm reinstalling the phone once more with stock partitions. :eek:
[Galaxy Ace II Android Development] ace2nutzer:
Nope, it works.

But if /system is unmounted or u flashed ODIN Kernel .. then it doesn't work.

Also if a kernel is installed without modules or with modules form other kernel version ... then also it doesn't work.

but in a normal way it works always.

yes is same, but during those hardly installation steps, it doesn't work ... it will just stuck with "rebooting recovery" ...

I came to the conclusion that "swap storages" is always useful .. no matter which partitions layout u're using.

With swap storages is not needed anymore ... i just mean that the phone will work even without to swap .. i.g. Camera and apps installation.

but u'll run out of space very quickly !
[Galaxy Ace II Android Development] pablo.see:
[MENTION=5840412]ace2nutzer[/MENTION] Few days back I whose complaining about problem with mounting sdcard (external) in recovery. It turns out there is problem with sdcard. It's not faulty but nor recovery, nor system can't mount it or format it. On Win7 works OK. I can format card with vfat, fat32, exfat, ntfs. Can copy data both ways with files no corrupted. I accidentally formatted sdcard with recovery and now card is behaving this way. Partition table on card is messed up or what? I repeat, Win7 don't have problems with this card.

Enough ranting about sdcard. System is working fine but I think latest versions (kernel and system) gives less battery life. With june/july versions, phone manage to do 22 days uptime (idling) without simcard and 11 days connected to network.
[Galaxy Ace II Android Development] Showcolor:
not possible to install other roms

Dear ace2nutzer,

after installing your rom it isn't possible anymore for me to install other roms for example the above. Always getting a Status 7 error. How can I fix this?

for example it is not possible to install this roms

http://forum.android.com.pl/topic/210232-511-cyanogenmod-121-betanfcf2fs20160317/

http://xdaforums.com/showthread.php?t=2555021
[Galaxy Ace II Android Development] shaqman89:
Are you sure it's not a corrupted file?

If you are sure, try to install Chrono kernel first to use Philz or twrp recovery to install newer ROM. Cwm seems to be a bit buggy for newer ROMs.
[Galaxy Ace II Android Development] ace2nutzer:
Maybe u only need to remove assert command from updater-script ... (from ROM's u linked)
[Galaxy Ace II Android Development] Showcolor:
Seems to be a problem with the device's name. If I want to install TeamCanjincas App, i get the following:

This package is for "codinap, i8160P, GT-I8160P" devices; this is a "codina".

So I have a GT-I8160P (with NFC), but through the install of your ROM it seems to be a GT-I8160. How do I change my device's name from codina to codinap?

Thanks
[Galaxy Ace II Android Development] shaqman89:
Like [MENTION=5840412]ace2nutzer[/MENTION] says, did you tried removing the assert line in updater script?
[Galaxy Ace II Android Development] Showcolor:
Yeah then it failes without displaying an error.
[Galaxy Ace II Android Development] shaqman89:
Did you tried installing Chrono kernel like I suggested?
[Galaxy Ace II Android Development] ace2nutzer:
@up

Chrono kernel installer will recognize the phone as codina and it will install codina ramdisk ... So it wont fix the issue.

U can't change it. It's hardcoded in ramdisk.

I'm using codina for both models.

Codinap users only need to remove assert command... Then it'll innstall.

After u flash any real codinap kernel then it's again codinap. But it's only cosmetics.

U can have a codinap name by flashing any chrono kernel for codinap with odin.

Or try to flash team canjica codinap kernel with odin or dd.

But as i said, it's not needed... U only need to (properly) remove assert command.

If u still fail, just post updater script, i'll edit for u .. Or just shaqman89.
[Galaxy Ace II Android Development] Showcolor:
The script is starting with:

assert(getprop("ro.product.device") == "codinap" || getprop("ro.build.product") == "codinap" ||
getprop("ro.product.device") == "i8160P" || getprop("ro.build.product") == "i8160P" ||
getprop("ro.product.device") == "GT-I8160P" || getprop("ro.build.product") == "GT-I8160P" || abort("This package is for \"codinap,i8160P,GT-I8160P\" devices; this is a \"" + getprop("ro.product.device") + "\"."););
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");

I removed the assert command so the first line is:

mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");

but it still crashes, without displaying any error
[Galaxy Ace II Android Development] ace2nutzer:
Well, then there is another problem with your Phone or sdcard ....

normally it should work fine after removing assert.
[Galaxy Ace II Android Development] darktrixx:
sir [MENTION=5840412]ace2nutzer[/MENTION] for some reason i want to go back to stock MG2 firmware. currently im on build 7/18 rom with 7/30 kernel. and reparted. does it safe to flash MG2 directly using odin or need to do first before anything else? thanks and sorry for being noob.
[Galaxy Ace II Android Development] shaqman89:
Does that firmware also includes a pit file? If yes, remember to tick repartition and your good to go.

Alternatively, flash stock repartition first.

If you aren't sure what I mean by pit file, use any 3 parted firmware.
[Galaxy Ace II Android Development] darktrixx:
no pit file sir. only pda in xxmg2. i dont have also 3 parted firmware. where can i get stock repartition? thanks sir
[Galaxy Ace II Android Development] shaqman89:
Searching this thread gives a lot of result.

http://xdaforums.com/showpost.php?p=68110584&postcount=5617

http://xdaforums.com/showpost.php?p=68111172&postcount=5618

As for stock repartition, you could find it in ace2nutzer FTP.
[Galaxy Ace II Android Development] darktrixx:
so if i flash this "cwm_stock_

reparted_v1.1.zip" then i can flash next xxmg2 as pda only using odin? no need to download 3parted rom?
[Galaxy Ace II Android Development] shaqman89:
Yes, that should be enough

---------- Post added at 04:52 PM ---------- Previous post was at 04:52 PM ----------

Yes, that should be enough
[Galaxy Ace II Android Development] ace2nutzer:
I also think it's enough .. But so far i didn't test it if it works properly.

If not, flash first any 3parted stock jb rom.