[Master Patch] I9505 TW based LP Roms to I9295

JASONRR

Senior Member
May 16, 2013
1,913
4,183
0
Looking at the I9505 Forums at stock based ROM's and feeling... wish I had that ROM ?
Well.... no need to feel dejected anymore


So... let's get started


What you need:

I'M NOT RESPONSIBLE FOR ANY POSSIBLE DAMAGE DONE TO YOUR DEVICE AS A RESULT OF FLASHING.
I WILL NOT TAKE ANY RESPONSIBILITY FOR BRICKED PHONES OR LOST DATA.

How to install:
  1. place custom rom , my masterpatch and my custom Kernel on your sdcard or phone memory
  2. boot into recovery
  3. Factory Reset and manually format boot
  4. flash custom rom, then masterpatch, then custom kernel
  5. flash I9295_Menu2Recents.Zip in case of S5 or S6 based ROM's (Imperium / Albe S6 Port, etc.)
  6. Reboot
  7. enjoy :)

What's working
  • Calls (most important)
  • Wifi
  • Bluetooth
  • Camera
  • GPS (took some time to connect but worked after some time)

Tested & confirmed ROM's
Imperium Rom V9
Albe S6 Port 3.0 (Phone gets too hot during first boot and recommend to keep it cool)
Let me know if you have tried any others and I will add them here

Bugs
Device name appears as I9505 ... if you want to change that make a simple build.prop edit
Same bug with Kernel - Unable to set Pin and Password on lockscreen
None that i got to know of in testing for half a day.... let me know if you find any with a logcat and I may be able to help.

Download Link:
Attached here below

Change Log:
V2
Added script to
o Change build.prop to reflect model name to GT-I9295 and name, device & model to jactivelte
o Delete SamsungCamera3 (S5 ported camera) & SamsungCamera4 (S6 ported camera)
V1
First Version

Credits:
@mythi for his original ZE masterpatch for CM based KK ROM's giving me the lead.
Myself for the Kernel and the masterpatch.

Enjoy!!! and don't forget to pass some love by pressing the Thanks button
 

Attachments

Last edited:

mythi

Senior Member
Mar 1, 2013
1,429
2,013
0
Amman
Nice work ! , you could use a bash script executed from zip's updater script included in your patch so that it uses sed to rename references of I9505 inside build.prop of choosen rom
 
Last edited:
  • Like
Reactions: JASONRR

JASONRR

Senior Member
May 16, 2013
1,913
4,183
0
Hi, can i start flashing this patch from your wizcyan or i had to flash a sammy lp firmware first and start from there?
It's not so clear.
Thanks
Yes, you can. As long as you are on the 5.0.1 firmware as stated in the requirements, you can flash over any ROM. Just follow the install steps
:D
 

sartana

Senior Member
Apr 3, 2009
163
32
0
Florence
Tested successfully on CarHDROm.

Just one questione, not related to patch, you've been able to use on imperium Rom recent apps? Cause on central hard key it launch google, i see that recent apps are launched by single tap on menu key but for me don't work .

Edit: don't mind i find an app doing what i want (All in one gesture)

Anyway really good job :D
 
Last edited:

JASONRR

Senior Member
May 16, 2013
1,913
4,183
0
Tested successfully on CarHDROm.

Just one questione, not related to patch, you've been able to use on imperium Rom recent apps? Cause on central hard key it launch google, i see that recent apps are launched by single tap on menu key but for me don't work .

Edit: don't mind i find an app doing what i want (All in one gesture)

Anyway really good job :D
It seems that CarHDROM has some customization for key layout. The hardware buttons for home and back for Active are not available in the regular S4 therefore, this is included in the masterpatch and overwrites the default keylayout from the ROM. You could manually extract /system/usr/keylayout/gpio-keys.kl from CarHDROM zip file and add
key 139 MENU
key 158 BACK
Replace your /system/usr/keylayout/gpio-keys.kl with the modified file, set the permissions and reboot. If this does not fix then you will need to check with the author of the ROM
 

JASONRR

Senior Member
May 16, 2013
1,913
4,183
0
Tested successfully on CarHDROm.

Just one questione, not related to patch, you've been able to use on imperium Rom recent apps? Cause on central hard key it launch google, i see that recent apps are launched by single tap on menu key but for me don't work .

Edit: don't mind i find an app doing what i want (All in one gesture)

Anyway really good job :D
Ignore my earlier post....

I tried Albe S6 Port 3.0 yesterday and got my phone heated up so much that it shut down twice. Finally let it cool down completely and did a factory reset, switched it off, let it cool down and powered it on keeping it in front of the A/C vent (to prevent heating) and managed to boot it up. Back to WizCyan for now...

The Long Press Home button on the S4 ROM's (Imperium & Albe S6 port) are somehow mapped to Google now which requires a smali edit to switch it back. You could alternatively try re-mapping the menu button for recents (as in S5 & S6) as below
Navigate to system/user/keylayout/Generic.kl ---> Edit Key 139 from MENU to APP_SWITCH
Navigate to system/user/keylayout/gpio-keys.kl ---> Edit Key 139 from MENU to APP_SWITCH

Alternatively you could try out the below links and see if it helps in remapping long press home to recents
http://forum.xda-developers.com/showthread.php?t=1789000
http://forum.xda-developers.com/showthread.php?t=2423661
 

JASONRR

Senior Member
May 16, 2013
1,913
4,183
0
So do all s4 roms have problems? I thought Imperion v09 is working good. Or is Wizcyan better / more stable?



Gesendet von meinem GT-I9295 mit Tapatalk
I have not tested S4 ROM's extensively. Imperium was tested for half a day bare bone (without installing any apps) and found stable. Every ROM is different, the recent apps issue with imperium & Albe S6 port can be easily fixed by re-mapping menu key as stated in the previous post (menu is activated by longpress menu key). I am not aware of any other issues and if anyone else has tested any of the S4 ROM's can advise further.
 
Last edited:

garson10

Member
Nov 27, 2014
44
5
0
medan
camera

It seems that CarHDROM has some customization for key layout. The hardware buttons for home and back for Active are not available in the regular S4 therefore, this is included in the masterpatch and overwrites the default keylayout from the ROM. You could manually extract /system/usr/keylayout/gpio-keys.kl from CarHDROM zip file and add
key 139 MENU
key 158 BACK
Replace your /system/usr/keylayout/gpio-keys.kl with the modified file, set the permissions and reboot. If this does not fix then you will need to check with the author of the ROM
succes flashing , but problem with camera , camera FC