yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
yeah but then u had swapped storages .. i'm right ? (because sd0 is only 1MB)

Nope, it doesn't fit at all, and it's just too much wasteful on space (unused space)

i Guess we'll end up by using 1GB for sd0 .. and 2GB for /data .. maybe better. swap storages is then not needed so far. And move Apps to sd is probably also almost not needed .. only if /data gets full.

But u'll need from time to time to move apps or data from sd0 to sd1 ... otherwise sd0 gets full, and then u can't install apps anymore .... i think this is the best solution for now ....

New Builds are coming very soon ! :)
[Galaxy Ace II Android Development] Dr360r:
I think it started to work that way with 160718.
[Galaxy Ace II Android Development] gepel:
[MENTION=5840412]ace2nutzer[/MENTION], as I said and before with 3007 kernel and repart v1.1 I could move an app to SD(the real one) without the need of any extra app like link2sd. This is not possible anymore with your latest kernel, so I return back to 3007 and move to SD is working again.
[Galaxy Ace II Android Development] ace2nutzer:
New Builds are Up !!

Changelog:

20160809:

Re-added mount point for sdcard0

Move /ramdisk from p8 to p9

Updated recovery package

Uploaded cwm_reparted_v1.2

No need to swap storages

Fixed: Some Apps failed to install

Be aware !

Re-uploaded new cwm recovery package !

Reparted V1.2:

2GB /data

1GB /sdcard0

INSTALLATION:

BE AWARE:

Make sure to move all your Music, foto and video files and so on .. to your real sdcard !

Changes after this repartition:

internal sdcard0 will be added with 1GB Size.

/data is 2GB

Swap storages isn't needed anymore

Should Fix all Issues with Apps installations

Here we go !!

boot to recovery

make cwm backup

flash stock reparted v1.1

flash reparted v1.2

power off

boot to recovery

format system

mount system (shows then unmont /system)

wipe data

flash recovery

backup and restore

advanced restore from sdcard1

restore data + system

flash kernel

reboot system

Open the App: NovaThorSettings and disable "swap storages" ... reboot and enjoy !!
[Galaxy Ace II Android Development] NocheLuz:
Hi, I just registered to post this reply!!

First, I want to thank you Ace2Nutzer for this great Kernel/Rom. It it really helping me upgrade my Galaxy Ace 2. I didn't know someone still trying very hard to support this old phone. For that, I'm really grateful.

Now the main part, I don't know about other. But I install this over a JB stock Rom. It's work great!! But as I install using stock Rom I have to use temp CWM Recovery. After I successfully install and using it. I want to try using the repartitions of the internal sd cards. First, I try out entering recovery mode by power+Vol up+Home. But it just disappear and restart the phone into normal boot up.

After some tried, I now entering recovery mode by using CM restart into recovery mode (using restart into recovery mode option). Now is the sad part, I soft brick my phone because it cannot enter recovery mode. It stay on restarting back and fought without entering recovery mode or normal boot up. I was desperate and wait about 30 mins of phone restarting.

I now try to enter Download Mode, which is success!! I try flashing new recovery via Odin but just remember I didn't enable USB debugging before hand. The flash failed and now my phone not even starting up. It try to tell me to use Kies, which didn't help at all (I cannot use emergency recovery). As I have stock GB Rom with me (I did try to use GB before this Rom), I try to flash this Rom over and reset everything. Which is a way I unbrick my phone.

Now my phone is running in GB Rom and I was about to upgraded it to JB and try again. Now that I know I cannot enter recovery mode. I'll try not to touch that. But as I cannot enter recovery mode. It is mean I cannot upgrade Kernel/Rom if something new came up. If someone know why and how to solve this issue please tell me.

PS. Also I did see a lot of late update say 'No need to swap storages' But since I cannot enter recovery mode to do anything with internal storage. Can I enable it in NovaThor setting? is it gonna swap my External SD card with internal storage? if that happen can I download app larger then 2 GB? (I have 32 GB SD card)

PS2. Sorry for my bad English. I'm not a native speaker "OTL.

Edit : Status Update.

After using Kies to update from GB to JB. I did feel that the phone is doing so much better. It is a lot smooth compare to before I install the Kernel. Is flashing stock Rom did not reverse the Kernel changed? IDK. But I'll try to using stock JB a bit more if it is slow I will install this Kernel/Rom again.
[Galaxy Ace II Android Development] lab34:
Hello Ace2Nutzer,

I'm a bit confused. :confused:

Since 02 May, I was using CWM_ReParted_SY650_CA10_DA3080_SD100_EXT4 (so, 100 Mb on sdcard0) and was happy.

Since 31 July, I am using Reparted_v1.1 and I'm happy

but now, we are rolling back to 2Gb/1Gb, and I cannot because I have only 800MB free on / Data :(

and I'm not sure I want/need it :rolleyes:

Will I be able to install further kernel and rom and keep my current repartition with no sdcard0 ? Or maybe using the 3080/100 instead of 2000/1000 ?
[Galaxy Ace II Android Development] forthal:
I am pretty sure that I am doing something wrong (all the time bootlooping after repartition ;(). BTW, does anybody have a working link for 3part rom GB? I think, I have to start over from scratches or maybe there is another way to "clean" my phone?

[MENTION=5840412]ace2nutzer[/MENTION] "flash stock reparted v1.1" by this you mean that file: "cwm_stock_reparted_v1.1.zip"?

"flash reparted v1.2" is that file: "reparted_v1.2.zip".

After repartition to 1.2 I tried to install CM11 08/02, but still - bootlooping ;(
[Galaxy Ace II Android Development] andon0v:
i think u get bootloops, because u need to restore only system+data, but when u flash a whole rom u broke the repartition and thats why u get bootloop, in the instructions its says to make cwm backup, not to flash a rom, and here 3 part rom http://d-h.st/AZN

Btw i also think 1000 mb is too much for internal, can it be 100 or 200 mb?
[Galaxy Ace II Android Development] forthal:
Hm, I forgot to mention - I tried to restore data+system, but same effect. Thanks for link.

Hmm, proper actions to start from scratches:

1. Instal GB via odin + re-partition "checked"

2. Install JB via odin

3. Temp cwm

4. Install CM11 08/02

5. Install kernel 08/09

6. Install GAPPS

7. Repartition 1.2

Is it the right order or I have missed something? Do I have to boot into system before repartition?
[Galaxy Ace II Android Development] andon0v:
u cant flash newer kernels from 30/07 if previously not done repartition (for the latest kernel u need 1.2 repart), u need to install 4.4 rom and then 19/07 kernel or cm11 with this kernel integrated (u should look), then u need to bakckup the rom, make the repartition, restore and then u can flash the latest kernel/rom
[Galaxy Ace II Android Development] forthal:
Geez, thanks for the info! I shouldn't update the ROM ;(
[Galaxy Ace II Android Development] UmurMaden:
Ace2Nutzer, I think you should make a guide for who wants install Stock ROM. I just tried and Stock ROM doesn't work. I fixed that installed your ROM and Kernel again. Why doesn't Stock ROM work, because re-repartition. I wanted to you know this. May it be easy. :good:
[Galaxy Ace II Android Development] andon0v:
yea, u need to flash a stock rom with pit file to get it work....and he told this many times
[Galaxy Ace II Android Development] UmurMaden:
So, does a stock rom which is Ace2Nutzer's archive, have a pit file?
[Galaxy Ace II Android Development] Dr360r:
No. You need a 3 part stock ROM for the pit file (for example XXMF1). You unpack it, you get 3 files, including the pit file.
[Galaxy Ace II Android Development] andon0v:
No, do u see a pit file inside it? U need to flash either 3 part Gingerbread I8160XXLK6 or 3 part JellyBean I8160XXMB4
[Galaxy Ace II Android Development] UmurMaden:
Sorry about if I was doing spam. But I want to ask it. How can I find a 3 PART ROM to use?
[Galaxy Ace II Android Development] Dr360r:
Use a search engine, search for i8160XXMF1, or, as andon0v pointed out, i8160XXMB4 (if you want Jelly Bean ROMs).

---------- Post added at 04:35 PM ---------- Previous post was at 03:56 PM ----------
[MENTION=5840412]ace2nutzer[/MENTION]

I think you forgot to mention to format sdcard0 as vfat after repartition is done. (at least if switching from reparted v1.1 to reparted v1.2, as in my case)
[Galaxy Ace II Android Development] [-GuTi-]:
3part XXMF1
[Galaxy Ace II Android Development] Cursed Chico:
I did post 3 steps. I installed cwm and reoartitioning. i had only gb sd card and 29 gb and 1 gb internal. I wrote before this to confirm if i made true.

in post 3, i did not do this and steps after that

UNLOCK some Space on /data and /system partition

- This will remove the reserved Space for system and data ... approx 5 - 10%

i haad cwm while i was installing rom. Then as i said, i wiped only wiped cache and rebooted into cwm and insstalled zip but before 10 seconds, it was completed. saying some warninnigs. Probbly installed wrong.

So i rebooted. i saw my desktop and rebooted again and now it cant load anything.

i have ubntu now, there is no odin. , i downloaded heimdall https://github.com/Benjamin-Dobell/Heimdall/tree/master/Linux

from here. I went into downlading mode wih volume up (after starting volume down home power). but heimdal couldnt detect phone while in dwnloding mode

Also in windows, 3 days ago pc couldnot detect the phone :(

if i cnnect to ac or usb, it tries restarting despite it is closed. So, i cant see folders of phone when i connectand also cant detect.

So it goes into resstart loop.

the only option seems dwnloaad mode but pc cant see.
[Galaxy Ace II Android Development] shadowman3333:
Is any way to flash the newest kernel without repart and swap storages? I don't have an external sdcard.
[Galaxy Ace II Android Development] gepel:
In which step I have to format sd0 as vfat, because right now its not possible to format it and when I'm trying to move an app to SD I get a message for not enough storage.
[Galaxy Ace II Android Development] Dr360r:
I'd say this would be the last step. CWM won't let you mount sdcard0 (the internal sd, originally called sdcard0, i mean) if you don't format it after you've done reparting.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=4166898]Cursed Chico[/MENTION]

For Heimdall guide look here: http://xdaforums.com/galaxy-ace/ace-2-general/guide-heimdall-installation-stock-rom-t3431597
[Galaxy Ace II Android Development] _eMDy_:
Hey guys!

I made a more detailed instructions on installing this ROM and repartioning it. I do hope you'll like it :)
[Galaxy Ace II Android Development] Cursed Chico:
my phone cant be detected by pc linux or windows :(

[MENTION=7332124]beardedpanda[/MENTION]
[Galaxy Ace II Android Development] _eMDy_:
Have you tried installing this USB Drivers? http://samsungusbdriver.com/download/samsung-driver-v1-5-60-0
[Galaxy Ace II Android Development] forthal:
[MENTION=7646419]_eMDy_[/MENTION]

Wow, thanks! I will try your method for sure because mine gave me something like this (rom 08/02; kernel 08/09):

u0_a49@codina:/ $ df
Filesystem Size Used Free Blksize
/ramdisk 968.0K 24.0K 944.0K 4096
/recovery 15.5M 5.4M 10.1M 4096
/dev 314.9M 136.0K 314.8M 4096
/dev/shm 314.9M 0.0K 314.9M 4096
/sys/fs/cgroup 314.9M 12.0K 314.9M 4096
/mnt/asec 314.9M 0.0K 314.9M 4096
/mnt/obb 314.9M 0.0K 314.9M 4096
/mnt/fuse 314.9M 0.0K 314.9M 4096
/system 576.7M 531.0M 45.7M 4096
/modemfs 15.7M 4.4M 11.4M 4096
/efs 9.8M 4.6M 5.3M 4096
/data 2.0G 1019.9M 1.0G 4096
[B]/mnt/.lfs: Function not implemented
/mnt/media_rw/sdcard1: Permission denied[/B]
/storage/sdcard1 14.8G 9.7G 5.1G 8192
[B]/mnt/media_rw/sdcard0: Permission denied
/mnt/secure/asec: Permission denied[/B]
/storage/sdcard0 951.8M 13.9M 937.9M 4096
[Galaxy Ace II Android Development] _eMDy_:
Yours are fine... well, it's the same as mine so I guess everything is right and there's no need to try my set of instructions (It's basically a more elaborate version of Ace2Nutzer for newbie people, like me haha). We even have the same size of sdcard1 lol
[Galaxy Ace II Android Development] forthal:
[MENTION=7646419]_eMDy_[/MENTION]

Yeah, but what about the bolded lines? There is totally no issue with them?
[Galaxy Ace II Android Development] shaqman89:
Good job. It might be a help for some who needs more detailed instruction. Just an idea, also include the links for the mentioned files, or at least the ftp link so people would know where to search
[Galaxy Ace II Android Development] NocheLuz:
Well, IDK if any one can see my question in my last reply (that full of my story of installing and flash failed). So, I'll ask again and with more precise question. If I install this Rom and Kernel, will my recovery still be the stock one? or is it changed to CWM? This is all I want to know. I did see the install CWM recovery in Developer menu but after I check it I still cannot enter recovery mode.

If you want to know the detail I think my last post have most of the detail. But, IDK if that can help verify the problem.

PS. Also I want to know if the latest Rom (160802) can use Xposed framework? Do I need to enter recovery mode to use it? I need some module to install some of the games because it detected 'Root' and will not allow me to run at all cost.
[Galaxy Ace II Android Development] shaqman89:
The latest kernel does not include a recovery. You must flash a recovery afterwards or you won't be able to enter recovery.

And yes, xposed works. Just install it normally, and xposed is ready to go.
[Galaxy Ace II Android Development] Dr360r:
If i'm not mistaken the lack of recovery is the reason the latest three kernels are much smaller in size, right?
[Galaxy Ace II Android Development] shaqman89:
Yes. That should be the reason.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=4166898]Cursed Chico[/MENTION]

On Windows install USB drivers. On Linux try to use other USB ports and cable. It should detect the device as soon as you plug it in.
[Galaxy Ace II Android Development] NocheLuz:
Thank you for the Recovery. Because the posting #1 to #3 didn't say anything about not having recovery anymore (atleast the latest note did not say it). And installation guide that posted on #1 did not say anything about needed of recovery either (maybe because it too old?). Also, I did read about 2-3 latest page (about 557-559) before I flash this new Rom and Kernel (atleast I try to understand what is going on lately). But there was no mention about not having recovery (or I just didn't found it).

Either way, I did really appreciated your help! I'll try to flash new CWM recovery to my phone. Hopefully I did not f**k up and brick my phone again lol.
[Galaxy Ace II Android Development] Dr360r:
I don't think it's a matter of brain. I think that everyone, including me, has been a newbie to everything once in their lives. When i came upon your ROMs and kernels i just flashed everything without too much caution (but still after some serious research about what a brick is and how it can be reversed depending upon its degree). Now i think i'm a lot more "veteran" than before with unofficial software, but it's pretty normal.
[Galaxy Ace II Android Development] ace2nutzer:
It was also written in changelog that i've removed/moved recovery from boot.img.

But lets forget about this.
[Galaxy Ace II Android Development] _eMDy_:
Not sure if ace2nutzer is against me for that another set of instructions... I think its pretty useful and well-formatted (almost) and it could (maybe, I hope so) help stop repeatitive questions.

I got to admit though, I'm a newbie when it comes to that partitioning part. But now, I feel confident because now I understand such thing like that.

I made those another set of instructions that isn't really going away from ace2nutzer's instructions. Its just a more detailed/almost precise set of instructions for newbies.

So, yeah. I'll take it out if ace2nutzer is against it since I believe there's already a lot of instructions lying around here somewhere...
[Galaxy Ace II Android Development] ace2nutzer:
Don't get me wrong, but we've already too much instructions. Anyway thx.

And i've to admit, making errors, is not that bad since u'll better understand how things works. Anyway i've updated post 1 & 3.

Now it should be easy enough.
[Galaxy Ace II Android Development] Cursed Chico:
as soon as i connect, it goes into restart loop. except downlading mode. you meant there?

those are steps

Download ROM you want to flash and extract it to the one folder

Download the attachment and extract the binaries to /usr/local/bin/

Install the prerequisites: sudo apt-get install build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev

Open terminal window and type: sudo heimdall-frontend

Change tab to Flash and load the pit file

Click on Add to add partition to flash and corresponding files to them (!! MBR,GPT partition is use to repartition our device, so you have to put a .pit.md5 file to it when you want repartition your device !!)

Put your phone into Download mode and connect it to the PC using USB cable

In Heimdall Frontend click Start and wait

Enjoy :)

---

for heimdall, i downloaded

ideaIU-2016.2.tar.gz as acenut suggested. also i extraxted and it was kernel.bin.md5

in heimdall, i choose flash-pit-browse but cant see file.

but when i go t the load package, ic an load that package but i cant click anywhere. when i click detect, after 2 usb port changed, it cant sometiimes detect but only writes detected t doesnot show which phone is connected or anything.

what cann i do now, where is pit file?

when i cliclk print, those are results

Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna

http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is

encouraged.

If you appreciate this software and you would like to support future

development please consider donating:

http://www.glassechidna.com.au/donate/

Initialising connection...

Detecting device...ERROR: Protocol initialisation failed!

Releasing device interface...

Claiming interface...

Setting up interface...

Initialising protocol...

---------- Post added at 08:05 PM ---------- Previous post was at 08:04 PM ----------

yes itried in wndows but not in linux.

---------- Post added at 08:08 PM ---------- Previous post was at 08:05 PM ----------

i think i did not install this flash cwm step but i could use cwm not stock recovery.
[Galaxy Ace II Android Development] ace2nutzer:
@up

Stop testing with heimdall, u'll soft brick your phone then even download mode will not work anymore. I can tell u later a command for flashing kernel with heimdall in terminal not fronted.

Edit:

So u don't have windows ?

If u've only Linux, then try this:

Download Heimdall (not fronted version) V1.4.0

install it, (i hope u know how to) ;)

then

download this ODIN/Heimdall kernel:

http://d-h.st/C0yG

unpack it, then put the kernel image file to your home folder:

for example in my case it's:

/home/ace2nutzer

now press on the phone: Volume down, Home + Power till an menu appear, press Volume Up.

Connect the Phone with USB cable to your PC.

now open an terminal window, and type:

sudo heimdall detect

it should show:

Device detected

if so, u can continue to flash kernel, if not, u need to install needed usb-lib drivers.

install needed usb libs:

sudo apt-get update
sudo apt-get install libusb-0.1-4 libusb-1.0-0 usbutils

Flash kernel:

type:

sudo heimdall flash --Kernel kernel.bin.md5 --no-reboot

After u'll see an full Line on your Phone, it's done, and u can long press Volume up, Home + Power in order to boot into Recovery.

Now u can Follow usual Installation Steps for flashing ROM or kernel ... and don't forget to flash recovery too.
[Galaxy Ace II Android Development] btb55:
I could do with a little help please.

I was updating ROM and Kernel from previous versions, the phone was already successfully repartitioned. I followed instructions in first post for dirty flash, flashing ROM, Kernel, CWM, NovaThor settings and GAPPS in the order instructed. Everything was a success and rebooted to system. All was good except on the next reboot I now have boot loop and can only access Download mode.

I could use Odin to flash stock firmware, repartitioning back to stock at the same time, and begin again, but wanted to ask if there anything else I can try before going down that road.

EDIT 1: I see my problem is like the one above, I will try solution suggested!

EDIT 2: My problem was not understanding the repartition process, I was on repartition v1.1 before dirty flashing the new ROM. So to get working again I flashed the kernel in ODIN, and was then able to get to CWM recovery, from there I followed the instructions on post 3 for repartitioning and now phone is booting up and all is back to working.
[Galaxy Ace II Android Development] heml0ck:
i update this morning in this kernel version.. im in cm11 latest version and 0802 kernel version.. everthing looks fine.. but when i go to gallery it says no external storage available.. is it normal? can't make screenshot because of no storage..
[Galaxy Ace II Android Development] ace2nutzer:
Make sure u've latest cwm package then reboot to recovery and format sdcard0 as vfat
[Galaxy Ace II Android Development] heml0ck:
can't find sdcard0 in mounts and storage menu.. only sdcard1..
[Galaxy Ace II Android Development] ace2nutzer:
re-download again cwm recovery .. and flash it ... then reboot to recovery and check if sdcard0 is present.

if not, u've to repartitioning your phone with reparted_v1.2

(follow steps first from Post #3 and then #1)
[Galaxy Ace II Android Development] Cursed Chico:
when i do detect, i t says ERROR: Failed to detect compatible download-mode device.

laptop has 3 usb and i tried all in downloading mode.7

edit:it wrked after changing to root.

I had cwm backup for 15 july rom or something else in that month. Should i clean install that rom, than repartition(because i had reoartoned it) and then restore that backup? THen i can go to latest rom with dirty install but latest rom doesnot need repoartition? Should i not repartition it? it would be good if i can restore that backup.

i have 32 gb external but in that rom, 29 gb was internal.

latest edit: i went to recovery, installed 15.07.2016 rom which was my rom. then i installed cwm 6.5 cwm (this was not mine. then i rebooted and now all my system, apps, app data are back. phone is some slower but.

Now how can i move to august rom 02082106 latest without keeping apps? becase changelog says

No need to swap storages

first dirty installation then repart1.2? but if i do dirty, i have ld repart there?
[Galaxy Ace II Android Development] Mlody7455:
When i wiped data (after mount system) i got error: E:format_volume: make_extf4fs failed on dev/block/mmcblk0p5

Now i can't boot system (stuck on cm logo).

I tried wipe via latest cwm recovery but the same error.
[Galaxy Ace II Android Development] ace2nutzer:
U Guys need Repartition v1.2 ! Also follow steps properly !

Still don't quite understand why u always try to develop your own installations steps ... and then u're wondering that it isn't working properly.

@up u probably didn't repartition properly ... u've to run as mentioned first, cwm_stock_reparted_v1.1 .. and then cwm_reparted_v1.2 ... and then u need to power off the phone ... and reboot to cwm again... last steps u skipped most probably.