[Galaxy S II Themes and Apps] likeicare:
Hey can anybody help me? Trying to get this to work on my Sgs2 with 4.1.2. I have rooted the phone. When i run the patch it comes to a point where it says:

Cleaning up ...

Waiting for USB connection...

Checking device...

Model: GT-I9100, build JZO54K.I9100XWLSD, android 4.1.2 (API Level 16)

/system mounted on /dev/block/mmcblk0p9, mode ro

checking root access. root uid: 0, secure: no, busybox: yes

Pulling app(s) ...

Can't find Email app. Enter the name of your Email apk or press <Enter> to exit:

When i enter SecEmail.apk and SecExchange.apk for email app and exchange app then it says:

cant find .apk or something like that.

But i looked in the system folder and the two apks are there!

plz help!

---------- Post added at 03:44 PM ---------- Previous post was at 03:01 PM ----------

Ok now i did all this:

pharaohseti

Quote:

Originally Posted by h4rr0d View Post

...

And you are done. Just need to reboot your phone and you should have security policy free email app. I did remove and add back my Exchange account, but I'm not sure that is required.

Nope, this didn't work for me also. Hacking is fine. But after restarting the phone and removing adding back the Exchange account it gets stuck in "getting account information" step.

Update: It worked after putting the new SecEmail.apk and SecExchange.apk files into system/app via FX. It did not work with adb. Thanks for step by step guide and for this great fix.

16th May 2013 12:26 PM

h4rr0d	Ok, so after hacking around my SGS2 for about an hour I managed to get it done. Here's full step by step how to on latest (as of 16.5.2013) stock ROM from http://xdaforums.com/show....php?t=1544487

0) Flash the 4.1.2 Stock ROM

1) Root using method 1 here: http://xdaforums.com/show....php?t=1746794 (I used Root_Superuser_3.1.3_Busybox_1.20.2-Update1-signed.zip)

2) start command line in the folder where you extracted this hack.

Connect to phone with USB debugging enabled (see OP)

3) lib\adb kill-server

4) lib\adb wait-for-device

Now you should be connected to your phone (you can verify it by typing 'lib\adb shell ls' without the quotes. If it works, list of items should appear on the console)

We need to change the file systems from read only to write enabled

5) lib\adb shell

6) su

7) mount -o rw,remount -t yaffs2 /dev/block/mmcblk0p9 /system

8) mount -o rw,remount -t yaffs2 /dev/block/mmcblk0p12 /preload

9) exit

10) exit (now you should be out of the shell, back in the command prompt)

Now you need to download all the files needed for patching from phone

11) mkdir work (unless the work is already there)

12) cd work

13) ..\lib\adb pull /preload/symlink/system/app/SecEmail.apk

14) ..\lib\adb pull /preload/symlink/system/app/SecEmail.odex

15) ..\lib\adb pull /preload/symlink/system/app/SecExchange.apk

16) ..\lib\adb pull /system/app/SecExchange.odex

17) ..\lib\adb pull /system.framework/

(optional: you might want to backup the apk and odex files for possible restoration)

18) cd ..

And run the patch

19) patch-manual.cmd work 16 SecEmail.apk SecExchange.apk

Push the modified apks to mobile (not to their final destination yet)

20) cd work

21) ..\lib\adb push SecEmail.apk /sdcard/SecEmail.apk

22) ..\lib\adb push SecExchange.apk /sdcard/SecExchange.apk

Now you will delete old files from your phone

23) ..\lib\adb shell

24) su

25) rm /preload/symlink/system/app/SecEmail.apk

26) rm /preload/symlink/system/app/SecEmail.odex

27) rm /preload/symlink/system/app/SecExchange.apk

28) rm /system/app/SecExchange.odex

Finally put the modified files to where they belong

29) dd if=/sdcard/SecEmail.apk of=/preload/symlink/system/app/SecEmail.apk

30) dd if=/sdcard/SecExchange.apk of=/preload/symlink/system/app/SecExchange.apk

And you are done. Just need to reboot your phone and you should have security policy free email app. I did remove and add back my Exchange account, but I'm not sure that is required.

But now my phone also is stuck at getting account information =((( what can i do?