Jump to content


Photo

Galaxy S II deodexed/zipaligned XXKH4 files

- - - - -

  • Please log in to reply
32 replies to this topic

#1
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III
Samsung Galaxy S II XXKH4 (Gingerbread v2.3.4) system/app and system/framework files deodexed and zipaligned.
This also includes an expanded power menu (see image below).

You can get the XXKH4 files from here: XXKH4 ROM Files

This is for people who want deodexed files but want to keep their stock look and feel.

PLEASE READ EVERYTHING IN THIS POST BEFORE INSTALLING.



This is NOT a complete ROM.

Assumes you have rooted your phone.

Attached File  SC20110912-113607.png   107.76KB   20 downloads

MAKE A BACKUP BEFORE YOU START IN CASE SOMETHING GOES WRONG. VERY IMPORTANT!

1. Download the XXKH4 system-deodex.zip file XXKH4 Deodexed Files
2. unzip the system-deodexed.zip file to a local drive (you should have a system folder containg: app & framework folders)
3. using adb, do the following: (note: you should create an app & framework folder on your sdcard first)

a. adb push app /sdcard/app/
b. adb push framework /sdcard/framework/
c. adb shell
d. su
e. stop
f. mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
g. cp /sdcard/app/* /system/app/
h. cp /sdcard/framework/* /system/framework/
i. rm /system/app/*.odex
j. rm /system/framework/*.odex
k. mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
l. reboot

After the reboot it could take 2-3 minutes for the phone to completely boot as it has to refresh the dalvik cache. Have some patience at this point.

Please provide feedback as I have done extensive testing with this and have had no problems.

Edited by Gary Crutcher, 23 September 2011 - 12:39 PM.

  • 1

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<


#2
Lancez

Lancez

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,093 posts
  • Gender:Male
  • Location:Los Angeles, California, U.S.A
  • Interests:My Devices:
    Galaxy Nexus
    Samsung I9100
    Samsung S8600 Bada
    Samsung I8000
    Samsung I900
    Sony Ericsson X10a
thanks buddy, will flash by copying new files into another flashable CWM zip. i'm not capable to make a cwm zip yet :P

  • 0

#3
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III

thanks buddy, will flash by copying new files into another flashable CWM zip. i'm not capable to make a cwm zip yet :P


@Lancez
You can use the attached to help make a CWM zip file.

Attached File  Update Packager.rar   519.93KB   11 downloads

  • 0

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<


#4
Lancez

Lancez

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,093 posts
  • Gender:Male
  • Location:Los Angeles, California, U.S.A
  • Interests:My Devices:
    Galaxy Nexus
    Samsung I9100
    Samsung S8600 Bada
    Samsung I8000
    Samsung I900
    Sony Ericsson X10a
so just place the files i wanted into placehere folder then run script.bat? never done it before. thanks

  • 0

#5
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III

so just place the files i wanted into placehere folder then run script.bat? never done it before. thanks


Yes...sort of...you still need to add commands to delete *.odex files in /system/app and
/system/framework

  • 0

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<


#6
>>Aragon<<

>>Aragon<<

    Newbie

  • Members
  • Pip
  • 3 posts
  • Gender:Not Telling
thank you gary for the file, everything works fine.

  • 0

#7
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III

thank you gary for the file, everything works fine.



You're welcome. Happy to hear it's working for you! :)


  • 0

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<


#8
skoda60

skoda60

    Addict

  • Members
  • PipPipPipPipPip
  • 554 posts
  • Gender:Male
  • Location:Singapore
  • Devices:S
Gary, try kh3 and kh4 all failed. on kh4 I can't go any further on "f. mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system". look like my PC evironment had problem. When I at step c: I got the $, su, nothing happen and stop as well. I still struggle and tried to figure out. I will try tonight see to see how.
I try cognition S2 ROM, it worked fine for me. But I still looking for DXKH2 with Ext power menu. So I have to learn how to installing your KH4 first.
SGS2 was very ruggled and never brick for me. Even I try until I facing no download mode and recover mode. Even I removed and placed back battery > I got the Big S. So I used the usb jig to bring back to download mode.
I have cwm and Titanium back up and saved me many time.

  • 0
Samsung Omnia2 with my own lite i8000NXXJJ1 wm6.5 by using twu2 script
Samsung Galaxy S2 Gary XWKI8 and DXKI2 ROM.
Worked great for me.

#9
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III

Gary, try kh3 and kh4 all failed. on kh4 I can't go any further on "f. mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system". look like my PC evironment had problem. When I at step c: I got the $, su, nothing happen and stop as well. I still struggle and tried to figure out. I will try tonight see to see how.
I try cognition S2 ROM, it worked fine for me. But I still looking for DXKH2 with Ext power menu. So I have to learn how to installing your KH4 first.
SGS2 was very ruggled and never brick for me. Even I try until I facing no download mode and recover mode. Even I removed and placed back battery > I got the Big S. So I used the usb jig to bring back to download mode.
I have cwm and Titanium back up and saved me many time.


I will work on KH2 sometime next week. Sorry for the delay but I have to grade final exams (writing) and it does take awhile to grade them.

Edited by Gary Crutcher, 16 September 2011 - 12:29 PM.

  • 0

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<


#10
skoda60

skoda60

    Addict

  • Members
  • PipPipPipPipPip
  • 554 posts
  • Gender:Male
  • Location:Singapore
  • Devices:S

I will work on KH2 sometime next week. Sorry for the delay but I have to grade final exams (writing) and it does take awhile to grade them.

Gary with Confirmation number:7PA39258JA001070.
DXKH2 will be my daily used ROM. Take your time. If you abled to let me have cwm zip file will be more easy to me.
Your wording in expanded power menu was nice but without an option at the topwill be more beautiful.
I tested sicopat kh3 ROM: http://forum.xda-dev...d.php?t=1183774, his power menu and KH3_odex_7_TOGGLES_stock.zip was outstanding.

  • 0
Samsung Omnia2 with my own lite i8000NXXJJ1 wm6.5 by using twu2 script
Samsung Galaxy S2 Gary XWKI8 and DXKI2 ROM.
Worked great for me.

#11
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III

Gary with Confirmation number:7PA39258JA001070.
DXKH2 will be my daily used ROM. Take your time. If you abled to let me have cwm zip file will be more easy to me.
Your wording in expanded power menu was nice but without an option at the topwill be more beautiful.
I tested sicopat kh3 ROM: http://forum.xda-dev...d.php?t=1183774, his power menu and KH3_odex_7_TOGGLES_stock.zip was outstanding.


Thanks for the donation.
Will work on it this week and upload a CWM version.

Edited by Gary Crutcher, 17 September 2011 - 02:12 PM.

  • 0

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<


#12
Lancez

Lancez

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,093 posts
  • Gender:Male
  • Location:Los Angeles, California, U.S.A
  • Interests:My Devices:
    Galaxy Nexus
    Samsung I9100
    Samsung S8600 Bada
    Samsung I8000
    Samsung I900
    Sony Ericsson X10a
based on my i8000 knowledge, DXKH2 is official singapore rom, so what are the differences?

  • 0

#13
skoda60

skoda60

    Addict

  • Members
  • PipPipPipPipPip
  • 554 posts
  • Gender:Male
  • Location:Singapore
  • Devices:S

Thanks for the donation.
Will work on it this week and upload a CWM version.

Good, DXKH2 will be bebifit for South East Asia people because it have a
all the languages and keyboard in this region.
I tried KH3, KH4 on 2.3.4, no different and any good points compare to 2.3.3. All my applications were very smoothly running on Gingerbread 2.3.3 and 2.3.4.

  • 0
Samsung Omnia2 with my own lite i8000NXXJJ1 wm6.5 by using twu2 script
Samsung Galaxy S2 Gary XWKI8 and DXKI2 ROM.
Worked great for me.

#14
skoda60

skoda60

    Addict

  • Members
  • PipPipPipPipPip
  • 554 posts
  • Gender:Male
  • Location:Singapore
  • Devices:S

based on my i8000 knowledge, DXKH2 is official singapore rom, so what are the differences?

XWKF1 was Also Singapore ROM . But when you goto change language, It was like the european ROM. but DXKH2 you can Select either Chinese, Thai, viet, Indonesia Malay and Malaysia Malay yet it came with related language's keyboard. Also it have many csc for me to select. It was a good point of DXKH2 with Gingerbread 2.3.3 and aimed for South East Asia countries.
Even samfirmware also release DXkf1 and DXKH2 at the sametime, but DXKF1 was no different to xwkf1, I was tested all this.

Edited by skoda60, 18 September 2011 - 06:41 AM.

  • 0
Samsung Omnia2 with my own lite i8000NXXJJ1 wm6.5 by using twu2 script
Samsung Galaxy S2 Gary XWKI8 and DXKI2 ROM.
Worked great for me.

#15
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III

XWKF1 was Also Singapore ROM . But when you goto change language, It was like the european ROM. but DXKH2 you can Select either Chinese, Thai, viet, Indonesia Malay and Malaysia Malay yet it came with related language's keyboard. Also it have many csc for me to select. It was a good point of DXKH2 with Gingerbread 2.3.3 and aimed for South East Asia countries.
Even samfirmware also release DXkf1 and DXKH2 at the sametime, but DXKF1 was no different to xwkf1, I was tested all this.


I have the KH2 files deodexed, but am having difficulty with the CWM file. Never made one before.
It's the deletion of the *.odex files which are not working.

Also, my first attempt at doing the extended power menu did not work. The android.policy.jar, and
framework.jar are really different from the past *.jar files I have changed. This part may take me awhile.

I still have another week of final exams plus grading, then I have a month off. I will continue work on KH2 after finals
when I have more time. Hope this is okay with you.

  • 0

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<


#16
skoda60

skoda60

    Addict

  • Members
  • PipPipPipPipPip
  • 554 posts
  • Gender:Male
  • Location:Singapore
  • Devices:S

I have the KH2 files deodexed, but am having difficulty with the CWM file. Never made one before.
It's the deletion of the *.odex files which are not working.

Also, my first attempt at doing the extended power menu did not work. The android.policy.jar, and
framework.jar are really different from the past *.jar files I have changed. This part may take me awhile.

I still have another week of final exams plus grading, then I have a month off. I will continue work on KH2 after finals
when I have more time. Hope this is okay with you.

Thank Gary, take your time. I tested cognition and sicopat rom on kh3. Both were working great. During installong their cwm zip files, it will wipe out the system filed but the installed apps and data still intake.
This afternoon I flashed to xwkf1,fellow cf root. Then I applied sicopat cwm zip then reboot. my system changed to kh3 with 7
toggle and it still worked smoothly for me.
Appreciate you help since i8000 till now.

Edited by skoda60, 18 September 2011 - 12:35 PM.

  • 0
Samsung Omnia2 with my own lite i8000NXXJJ1 wm6.5 by using twu2 script
Samsung Galaxy S2 Gary XWKI8 and DXKI2 ROM.
Worked great for me.

#17
Lancez

Lancez

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,093 posts
  • Gender:Male
  • Location:Los Angeles, California, U.S.A
  • Interests:My Devices:
    Galaxy Nexus
    Samsung I9100
    Samsung S8600 Bada
    Samsung I8000
    Samsung I900
    Sony Ericsson X10a

XWKF1 was Also Singapore ROM . But when you goto change language, It was like the european ROM. but DXKH2 you can Select either Chinese, Thai, viet, Indonesia Malay and Malaysia Malay yet it came with related language's keyboard. Also it have many csc for me to select. It was a good point of DXKH2 with Gingerbread 2.3.3 and aimed for South East Asia countries.
Even samfirmware also release DXkf1 and DXKH2 at the sametime, but DXKF1 was no different to xwkf1, I was tested all this.



interesting, i was thinking about flashing a rom with chinese on my euro imported phone. i'm assuming singapore version is the same as euro one. how did you get it rooted, chainfire dose not have DXKH2 kernel. did you use other method?

  • 0

#18
skoda60

skoda60

    Addict

  • Members
  • PipPipPipPipPip
  • 554 posts
  • Gender:Male
  • Location:Singapore
  • Devices:S

interesting, i was thinking about flashing a rom with chinese on my euro imported phone. i'm assuming singapore version is the same as euro one. how did you get it rooted, chainfire dose not have DXKH2 kernel. did you use other method?

Rooted with CF-XXKH3, used for few days without any problem.

Attached Files


Edited by skoda60, 19 September 2011 - 02:35 PM.

  • 0
Samsung Omnia2 with my own lite i8000NXXJJ1 wm6.5 by using twu2 script
Samsung Galaxy S2 Gary XWKI8 and DXKI2 ROM.
Worked great for me.

#19
Lancez

Lancez

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,093 posts
  • Gender:Male
  • Location:Los Angeles, California, U.S.A
  • Interests:My Devices:
    Galaxy Nexus
    Samsung I9100
    Samsung S8600 Bada
    Samsung I8000
    Samsung I900
    Sony Ericsson X10a
just flashed DXKH2 booted fine, but got android.process.acore force closed, caused dailer not working. have you had such problem? i flashed on top of KH3 stock,deoxed, rooted version.


  • 0

#20
skoda60

skoda60

    Addict

  • Members
  • PipPipPipPipPip
  • 554 posts
  • Gender:Male
  • Location:Singapore
  • Devices:S

just flashed DXKH2 booted fine, but got android.process.acore force closed, caused dailer not working. have you had such problem? i flashed on top of KH3 stock,deoxed, rooted version.



Goto recover mode by using 3 buttoms, wide data/factory reset. reboot and your system should be goto normal. after cf-root, installed titanium backup for your applications and data. then all your application should be back.

Edited by skoda60, 19 September 2011 - 02:57 PM.

  • 0
Samsung Omnia2 with my own lite i8000NXXJJ1 wm6.5 by using twu2 script
Samsung Galaxy S2 Gary XWKI8 and DXKI2 ROM.
Worked great for me.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users