[Q] MIUI v6 patchrom

Deanodirector

Member
Aug 27, 2010
40
3
0
Hey all,

I'm trying to port MIUI V6 to my beloved s3 lte. I've battled through numerous errors but now I'm a bit stuck.

I've followed the instructions as per miui's git page up to 'make firstpatch'. Now i get lots of 'hunk failed' errors and I can't figure out how to use .rej files to make patches. Below is an example of part of a .rej file. I'm using cyanogenmod as my base rom.

How should I progress editing these files and what commands should I use to patch? Many thanks in advance.

*** 261,267 ****

.field mForcingShowNavBarLayer:I

! .field mGlobalActions:Lcom/android/internal/policy/impl/GlobalActions;

.field private mGlobalKeyManager:Lcom/android/internal/policy/impl/GlobalKeyManager;

--- 263,269 ----

.field mForcingShowNavBarLayer:I

! .field mGlobalActions:Lcom/android/internal/policy/impl/MiuiGlobalActions;

.field private mGlobalKeyManager:Lcom/android/internal/policy/impl/GlobalKeyManager;

***************
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone