yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Q&A, Help & Troubleshooting] s7560m:
No, I did not factory reset my data. I highly believe that the data partition is the reason I have this terrible bootloop. I didn't wipe from my last rom, so that's my estimation on why my phone is bootlooping. The "brick" is definitely from the data leftovers from cyanogenmod interfering with stock, because I thought that the stock os would almost certainly erase the data, not knowing that it didn't (very unintelligent of me). Your pit file fails to flash in odin, meaning that I can't do anything about that. So your userdata.img would probably be the last resort. That would be great if you could make that and upload it. Sorry for sounding so desperate although.

I enter the bootanimation, and then it loops from there.
[Galaxy Ace II Q&A, Help & Troubleshooting] s7560m:
If i can get the blank userdata, then I can convert it to tar and flash with odin.
[Galaxy Ace II Q&A, Help & Troubleshooting] PhoenixBlaster1:
Tried to install your debloated, deodexed rom with CWM 5.5.0.4. However all the bloat was still there.
[Galaxy Ace II Q&A, Help & Troubleshooting] s7560m:
Well, I managed to fix my phone. It took an hour to fix it. I used various ideas and applied them towards fixing, but none of them worked. I managed to create my own userdata.img through linux and flash with heimdall-fronted. After I flashed it, I was able to boot into stock recovery! I was able to format my data and cache, 3 times as a matter of fact. I then flashed my stock rom through odin, and it worked! Now that it is settled with my phone errors, I can start developing again for this phone! Woohoo!
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
I'm really glad you were able to fix your phone. I'm also really sorry that I wasn't able to help you out sooner. Just a question: was the userdata.img the size of the data partition? I don't think it would affect the current size of the partition, I'm just curious to know if we could save storage space on our computers when making the userdata.img. You should post a tutorial on fix that type of bootloop. It would be really helpful for others. All in all, I'm very happy that you were able to fix your problem. I'm sure you learned a valuable lesson: always factory reset when using Odin to flash from a custom ROM to a stock ROM. Otherwise, things get tricky like they did for you.
[Galaxy Ace II Q&A, Help & Troubleshooting] s7560m:
I really appreciate the support! The userdata.img is NOT the size of the data partition. It was about 5MB in terms of size. Oh and trust me, I learned my lesson real hard! I will ALWAYS, and I mean ALWAYS factory reset from a custom rom to stock! Even though installing a zip with a recovery is not required for a factory reset, I will still do it anyways, but you know, making a titanium backup. Yes, I will most certainly make a thread, as none of them were able to fix it. I actually had no idea this solution would work! What I did was I made a list of sub-directories of my data partition that was on my tablet, used the dd command to create the image as well as the cp command to copy all of them to the image, and then I just flashed that with heimdall. I tried using a userdata.img with the first quarter of the sub-directories contained, and it booted with a bunch of errors (com.android.phone has stopped working, etc.), so I then realized that I should include all of the folders in the data partition! After a flash with your pit and my userdata.img, bam, back to normal! A great experience. I believe most unexperienced users will certainly look at this post as a definite guide to fix their bricked android phone!

Keep up the good work, like always!
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
Could you send me the userdata.img? I'm currently packing a modified stock ROM into a Odin-flashable tar.md5. I want to make it an all-in-one type of thing so that it can be used if people get bricks. I've added ADB and init.d support to the stock kernel, removed the stock recovery.img, and I'd like to add your userdata.img so that one less step (wiping data) is necessary when migrating from one ROM to another. I'm also going to add root to the ROM. I'll give you lots of credit since you're the only person who has stuff I'd like to use for the ROM.
[Galaxy Ace II Q&A, Help & Troubleshooting] s7560m:
sure

Of course! No problem.

========================================================

https://docs.google.com/file/d/0B4YWb1msCqNJbDV5SURtOUtOMjQ/edit

========================================================

While you're at it, a suggestion is to make it kind of like this rom for our alias phone.

http://xdaforums.com/android/development/gt-s7562-sgs5-xperience-rom-t2814159
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
Thanks, but it says I need permission to view your file. Can you change your sharing settings for that file so that it's viewable to the public?

Also, I'd rather it be that my modified Odin-flashable stock ROM will be a pure stock ROM for our device, with minimal additions. I don't want to do any theming. I hope you understand.
[Galaxy Ace II Q&A, Help & Troubleshooting] s7560m:
I did right now. I believe you're Josh? If so, then it is shared. And that's fine if there aren't any additions. It's not a big deal or anything.
[Galaxy Ace II Q&A, Help & Troubleshooting] Benik3:
Installed TWRP 2.7.1.0 on Galaxy Trend (GT-S7560) but it doesn't work properly...

While wiping it gives error and I wasn't able to find SD card...

CWM6 is working (if I don't count the screen flickering...)

EDIT: Ok, CWM6 is also not a win. After reboot to recovery from CM, I'm not able to boot the phone back. It start always back into the recovery. Had to reinstall them :(

TWRP 2.6.3.0 is working fine :)
[Galaxy Ace II Q&A, Help & Troubleshooting] s7560m:
I had the same problem with twrp. In my case, it wouldn't really detect any partiton that mattered? Cannot wipe data because it does not recognize the data partition. And it also says that there are no operating systems installed. If you can, use cwm 5 or twrp 2.6.3.0 as they are currently the only recoveries that are working at the moment.
[Galaxy Ace II Q&A, Help & Troubleshooting] Stealthz:
Thanks for all the hard work. Are there any mirrors available for downloading these recoveries (particularly TWRP) since Google Drive seems to be not allowing any more downloads right now.
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
TWRP 2.8.0.0

Was tinkering with TWRP this week and managed to get a build of a mostly working binary for 2.8.0.0.

I am putting the first test builds here github.com/draekko/kylessopen_recovery_builds/tree/master/test (for now). There is a Heimdall binary (what i use in Linux) and one for Odin (which i haven't test). From the features i tried it seems to be mostly working and haven't had any problems so far aside from the list below.

Known issues:

* mtp isn't working

* /system directory doesn't automount

* need to mount system to get in with adb

Could use some feedback. Well that's all i have time for this weekend, have a good one y'all. :)
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
TWRP 2.8.0.0 build #2

New update to yesterdays build, fixes issues with paths, and system mount problems. Adb now works properly in recovery. Issues still exists with mtp not working. Flashable with heimdall or odin (disclaimer: haven't tested the odin file).

Heimdall: github.com/draekko/kylessopen_recovery_builds/blob/master/test/heimdall/kylessopen-twrp-2.8.0.0-2-20140929-recovery.tar.gz

Odin: github.com/draekko/kylessopen_recovery_builds/blob/master/test/odin/kylessopen-twrp-2.8.0.0-2-20140929-recovery.tar.md5?raw=true

:)

ps. sorry still can't post links yet
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
Great work! If you don't mind, I've updated the main post with a link to your most recent post about TWRP 2.8.0.0! I tried it out, and it works really great, much better than my recent builds. Thank you. I now pronounce Maintainer of TWRP for Ace II X :P Does USB Mass Storage work? What's the difference between it and MTP? Also, the TWRP bootsplash is orange. I used to have a simple, one-change patch that I would apply to this file, but I cannot remember what the change was nor can I find the patch. All I know is that it had to do with the code from line 42 to line 53. Anyways, it's not really important if you fix that little issue because your build of TWRP is pretty functional for our device. It can do all the things that a recovery should need to do.
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
Thanks. :)

Weird, shows up fine here (famous developer words 'well it worked here') which is sad because i tweaked the original logo to have a bit more flair. Will see what i can do.

Also just realized that i still need to check if selinux part. USB mass storage worked here as did sideloading but MTP is still doa. I really would love to get that one going.

As for the graphics issue do you still have the file you modified? i can also do a diff with my code here and see what needs changing. If you have it can pm you my email address.

Btw which of the files did you try flashing? Haven't tested the odin one yet, i spend most of my time in Linux, unless doing photography or design work (lol).

---------- Post added at 08:44 PM ---------- Previous post was at 08:28 PM ----------

Before i forget when using USB Mass Storage, remember to eject or umount the drive in windows/mac/linux before unmounting it on the phone else you corrupt files or the filesystem.
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
No, I don't have the patch anymore or my old TWRP work :( I am using the Odin version. When you say that not unmounting the drive on your computer before unmounting it on the device will corrupt the filesystem, does that mean that it gives a RISK of corrupting it or does it corrupt it right away? What if I've finished copied files and I'm not doing any file operations with the drive? Do I still need to unmount it in that case? Thank you.
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
Its mainly due to using fat for the filesystem on most external cards as it is most prone to corruption, others (ntfs, ext2/3/4, etc..) handle it somewhat better but its better to unmount, its the nature of beast. It could happen with any other usb drive as well because of how it operates. Sadly can't find the link i used to give out which gave the details of why it could get corrupted.

Let's just say it could happen and in general safer to unmount/eject the computer to force all writes that may be left to be flushed to phone, then doing an unmount on the phone.

Which is why i would prefer to get mtp working since as i understand it; it doesn't suffer from the same issues. No idea yet on where to get started on fixing that part.

Also i just looked at the code and the tweak on the link you provided and it seems to be an issue with byte order in 16bit color depth. I'll do the mod on the next build. Hopefully that will fix your issue with the colors :)
[Galaxy Ace II Q&A, Help & Troubleshooting] rizwansouth:
s7560 trend

hi sir

my s7560 doesn't go in recovery mode but it can go in download mode please help me
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
I would need more detailed information. What version of android is installed? What recovery is on the device? If stock what version? What have you tried so far?
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
TWRP 2.8.0.0 build #3

New build update. Adds mtp support. Device encryption support added but needs much more testing.

Heimdall: https://github.com/draekko/kylessop...p-2.8.0.0-3-20141011-recovery.tar.gz?raw=true

Odin: https://github.com/draekko/kylessop...-2.8.0.0-3-20141011-recovery.tar.md5?raw=true
[Galaxy Ace II Q&A, Help & Troubleshooting] ls95:
Do you enter Recovery Mode by Vol Up+Down+Home+Power (At the same time?) and letting go of only power when the screen turns on?
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
Several problems with this build:

1. Causes my device to boot into recovery instead of the ROM

2. Internal storage is broken. I have to manually navigate to /data/media/0 to see my internal storage

So I'm sticking to your previous builds for now. They are really good.
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
I applied the latest updates from the twrp main tree, since then building it has been problematic, no idea why yet.

Also /data/media/0 is the real mount point the /sdcard is just a kind of "softmount" to simulate a card. But i figured out a way around that.

Not sure about point 1, wasn't getting that here will try to see why.

Also did mtp work for you though? also any issues trying to encrypt the phone? Note encrypting it is a one way trip :) can't reverse it without wiping.

---------- Post added at 05:04 AM ---------- Previous post was at 04:27 AM ----------

Before i forget did it fix your issues with the boot screen? I applied the fix you had mentioned, curious to see if it worked since i can't replicate the issue here.
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
What version of android are you using? I've been testing with CM 11 August build from jonypx09. So far everytime i turn on encryption something bad happens.
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
Uh no. The boot screen still looked orange to me (I think. I don't exactly remember.) I didn't try out MTP or encryption. Something I noticed though, the device only kept on booting into recovery after I installed an update to my ROM. After having reverted to your previous TWRP 2.8.0.0 build, everything was fine... So are you working on an internal storage fix?

I'm running my private beta build of OmniROM 4.4, which is not fully functional at the moment, thus explaining why it is private at the moment.
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
Yeah i am going to rebuild from a new fresh base not sure what got messed up and nothing i do seems to fix things, doing 'make recoveryimage' doesn't even build the recovery now. Pulling 22GB of data fun times lol. Hopefully having a clean source will help.

MTP works well for me, though getting outside confirmation would be great. Mainly because it is safer to use than mass storage and i may disable mass storage afterwards.

No problemo, also updating to jonypx09 build of cm11 as i saw he had a new one out from a few days ago. So far haven't been able to test encryption with it as it doesn't seem to actually do it.
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
TWRP 2.8.0.0 build #5

New build for TWRP 2.8.0.0. :)

Changes include MTP functionality, TTF font, switched to rgb 565 pixel format, encryption and most updates from the main TWRP tree as of last monday.

Note: Encryption hasn't been properly tested yet, could use some feedback on that.

HEIMDALL: https://github.com/draekko/kylessopen_recovery_builds/blob/master/test/heimdall/kylessopen-twrp-2.8.0.0-5-20141017-recovery.tar.gz?raw=true

ODIN: https://github.com/draekko/kylessopen_recovery_builds/blob/master/test/odin/kylessopen-twrp-2.8.0.0-5-20141017-recovery.tar.md5?raw=true

Enjoy
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
TWRP 2.8.0.1 Build #1

First build for TWRP 2.8.0.1.

As of right now (at least on my end) TWRP can read encrypted partitions and properly asks for the password. Also fixed handling of the data partition to work with an encrypted device (requires formatting the data partition and rebooting to system right after. Note you will lose all the files on /data and the internal drive by doing so but will having working encryption). All other features including MTP data mode seem to be working at this time.

I would suggest using MTP over mass storage methods as it is safer way to handle file transfers (and prevent data corruption).

HEIMDALL: https://github.com/draekko/kylessopen_recovery_builds/blob/master/test/heimdall/kylessopen-twrp-2.8.0.1-1-20141018-recovery.tar.gz?raw=true

ODIN: https://github.com/draekko/kylessopen_recovery_builds/blob/master/test/odin/kylessopen-twrp-2.8.0.1-1-20141018-recovery.tar.md5?raw=true

Enjoy

:cool:
[Galaxy Ace II Q&A, Help & Troubleshooting] Hinec:
[MENTION=5231504]draekko[/MENTION]

Did you test this build?

Направлено со смартфона
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
Yes, i have it on my phone, it was how i was able to fix it so i could encrypt it.
[Galaxy Ace II Q&A, Help & Troubleshooting] hhpss:
Stupid question: How do I flash these?

Odin won't accept the recoverys with "MD5 hash value is invalid".

Heimdall on Mac gives me "failed to open temporary tar archive".

Heimdall on Windows (7 x64) won't recognise the device...

Any help appreciated...
[Galaxy Ace II Q&A, Help & Troubleshooting] kprkpr:
Your TWRP 2.8.0.1 in zip, for flash from another recovery

I upload this for people that can not flash your recovery by odin etc, but they have another recovery installed like CWM

:)

Thanks for your recovery!
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
:) nice, glad to know its helping people out.
[Galaxy Ace II Q&A, Help & Troubleshooting] gregory678:
Version 2.8.1.0 is avaliable, can u update your build? :)
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
The current build already has all the relevant updates, the only thing missing between this and the current code is the tenth of degrees for the cpu temp (we don't have that available for our device) and the build number increment. Right now even if i wanted to something is wrong with my build machine and it refuses to properly compile them. Just got done updating the OS and relevant build tools and it still is dead. When i can i will make a new with the new "build number increment" ;)
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
TWRP 2.8.1.0 Build #1

New update bump version to TWRP 2.8.1.0. Includes all the latest patches from the main, with the main one reverting exfat support to prior version.

HEIMDALL: https://github.com/draekko/kylessopen_recovery_builds/blob/master/test/heimdall/kylessopen-twrp-2.8.1.0-1-20141104-recovery.tar.gz?raw=true

ODIN: https://github.com/draekko/kylessopen_recovery_builds/blob/master/test/odin/kylessopen-twrp-2.8.1.0-1-20141104-recovery.tar.md5?raw=true

Enjoy :)
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
TWRP 2.8.1.1 Build #1

New update bump version to TWRP 2.8.1.1. Reverts USB Mass storage patch from main tree.

HEIMDALL: https://github.com/draekko/kylessopen_recovery_builds/blob/master/test/heimdall/kylessopen-twrp-2.8.1.1-1-20141107-recovery.tar.gz?raw=true

ODIN: https://github.com/draekko/kylessopen_recovery_builds/blob/master/test/odin/kylessopen-twrp-2.8.1.1-1-20141107-recovery.tar.md5?raw=true

Enjoy :)
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
When I install a new package with your latest build of TWRP 2.8.1.1, the device just gets into a recovery bootloop. It reboots to recovery mode whether I try to boot into the ROM, boot into recovery, power off and on, or even reboot using the terminal command. Luckily, I used the ADB sideload feature of TWRP to install a previous version. For now, I'm sorry to say, but I'm sticking to my last build of TWRP 2.6.3.0 because (although UMS doesn't work) it doesn't give me any other issues like bootloops. Could you look into fixing the issue please, because I'd love to be on a working 2.8.1.1. Thank you.
[Galaxy Ace II Q&A, Help & Troubleshooting] TheST4RL:
Same here!
[Galaxy Ace II Q&A, Help & Troubleshooting] Hinec:
I have the same problem. Please fix it.
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
Sorry can't right now, need to fix my dev machine and that takes money. Survival takes precedence, as does finding work or some contracts :(

I will eventually, try using 2.8.0.0 instead in the meantime. The only difference between them were the patches provided by the twrp folks.
[Galaxy Ace II Q&A, Help & Troubleshooting] Hinec:
I flashed 2.6.3.0 version and it's working :) I don't need right now the newest version of this recovery.

Направлено со смартфона
[Galaxy Ace II Q&A, Help & Troubleshooting] gregory678:
The latest version without problems is 2.8.0.1 (from that zip package posted a bit earlier). It can be safely flashed.
[Galaxy Ace II Q&A, Help & Troubleshooting] TheST4RL:
Thanks man I was looking for that!!
[Galaxy Ace II Q&A, Help & Troubleshooting] zulhafizuum88:
newbie

:) i want to ask,how can i use this recovery?can u explain step by step to use it?thanks..
[Galaxy Ace II Q&A, Help & Troubleshooting] Hinec:
Make sure you have GT-S7560M or GT-S7560.

You need to flash it through Odin 3.07. Run your phone in download mode (VOL DOWN + HOME + POWER) and plug to computer. Run Odin, chceck ONLY F. reset time, Auto Reboot and PDA. Rename recovery file to recovery.tar, load It to PDA section and press start. When it end flashing, your phone will start to vibrate and restart. Unplug phone. You have custom recovery on your phone :)

If you want to use It, turn off phone and press simultaneously VOL UP, VOL DOWN (press on the centre of button), HOME and POWER.
[Galaxy Ace II Q&A, Help & Troubleshooting] s7560m:
You do not need to flash via odin; it depends on whether you have root or not. If you already have root, then you could extract the tar file and flash the .img file via flashify or recovery tools. If you don't have root, then you must use odin. You could use heimdall, and with a pit file, you could flash the img onto the recovery partition, but that's a bit too advanced.
[Galaxy Ace II Q&A, Help & Troubleshooting] Hinec:
I deduced he is totally newbie, so I tried to good describe It.
[Galaxy Ace II Q&A, Help & Troubleshooting] KlinkOnE:
Would be nice if someone could make a version with full f2fs support. I am running my device with data and cache formatted as f2fs. Unfortunately twrp cant mount it so i am unable to make a backup. Formatting f2fs is possible with 2.8.0.1.

Gesendet von meinem GT-S7562
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
A page or two back, there should be a build of 2.8.0.1 that someone built. Try it out please. If it doesn't work for you, I'll see if I can get a build of 2.8 booting. F2FS custom ROMs would be really nice and probably really useful for getting Lollipop speedier.
[Galaxy Ace II Q&A, Help & Troubleshooting] KlinkOnE:
Ive used twrp 2.8.0.1 to format data and cache partition to f2fs. Everything is working fine. But once formatted f2fs twrp cant mount it anymore.

It is booting and working normal with f2fs modified kernel and init.rc.

Gesendet von meinem GT-S7562
[Galaxy Ace II Q&A, Help & Troubleshooting] Codename13:
Stock ROM with f2fs or which custom ROM did you modify? I personally would implement f2fs into my builds of OmniROM, but I read up on it this morning here and it sounds dangerous. By that, I mean that it seems like it has better file system performance compared to other file systems at the risk of data corruption/loss. For that reason, I don't want to work with it. Perhaps once it gets more mainstream and more evolved, I'll look into implementing it. But for now, I'll probably stay away from it.
[Galaxy Ace II Q&A, Help & Troubleshooting] Torrentwin:
Please delete this post
[Galaxy Ace II Q&A, Help & Troubleshooting] KlinkOnE:
Stock rom only data and cache formatted as f2fs. Formatting system too is a bit complicated atm. After one week usage no error or corruption appeared. As of performance improvements i cant tell atm. Stupidly ive missed to make benchmark tests before when on ext4 ;).

Gesendet von meinem GT-S7562
[Galaxy Ace II Q&A, Help & Troubleshooting] KlinkOnE:
Twrp 2.8.4.0 unfortunately bootloops like previous release too.

Hope [MENTION=5231504]draekko[/MENTION] can fix it.

Gesendet von meinem GT-P3110
[Galaxy Ace II Q&A, Help & Troubleshooting] draekko:
It work for my phone without encryption but bootlooped when encrypted. No idea why it does that will try again at some point. 2.8.0.1 works still though.

When you get the bootloop what is really happening is that for whatever reason the system files are gone. but the sdcard (int/ext) are fine. All you need to do is reinstall 2.8.0.1 and reflash the rom and gapps over whatever is there and it should be fine.